Charge Pump block

This block realizes the function of an ideal discrete charge pump.

The two regular inputs are boolean (0 or 1) vectors of commands of the two current sources.

That block computes the following regular outputs :

and are the logical levels of charge pump inputs,

the constant output current and a constant leakage current.

**Output current [A]**

The maximum output current of the charge pump.

Type 'vec' of size -1.**Mean of Leakage current [A] (0:No constant leakage)**

The mean of the noisy current or the constant leakage current.

Type 'vec' of size -1.**Variance of leakage current [A] (0:No variance)**

The variance of the noisy current.

Type 'vec' of size -1.**Inherit (no:0, yes:1)**

Herits events by its regular input ports (disable the event input port).

Type 'vec' of size 1.

**always active:**no**direct-feedthrough:**yes**zero-crossing:**no**mode:**no**regular inputs:**

**- port 1 : size [1,1] / type 1**

**- port 2 : size [1,1] / type 1****regular outputs:**

**- port 1 : size [1,1] / type 1****number/sizes of activation inputs:**0**number/sizes of activation outputs:**0**continuous-time state:**no**discrete-time state:**no**object discrete-time state:**no**name of computational function:***pompecharge*

- MODNUMCOS/macros/scicos_blocks/Pll/CHARGEPUMP_f.sci [view code]

- MODNUMCOS/routines/pll/pompecharge.c (Type 4) [view code]

- CPF_f - Tri-state Phase/Frequency Comparator block (Scicos Block)
- PFD_f - Phase/Frequency tristate Detector block (Scicos Block)