Documentation Home Page eHS Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Block


Table of Contents

Description

This block implements a capacitor differential equation, as Vc(t) = integral(Ic(t)/C).

The differential equation is solved using the backward-Euler integration technique.


Mask


Inputs

Ic(n): This input must be a single-precision signal (Xfloat8_24). It corresponds to the capacitor current, used to compute the voltage it.

reset: This input must be a Bool signal. When active, the voltage across the capacitor is reset to its initial value.

Sync: This input must be a Bool signal. It should be a pulse train whose period is equal to the sample time deltaT provided by the deltaT/C input.

deltaT/C: This input must be a Xfloat8_24 signal. It should be the numerical quotient deltaT/C, where deltaT is the sample time of the block (in seconds) and C is the capacitor capacitance (in Farads).

Vc_init: This input must be a single-precision signal (Xfloat8_24). It corresponds to the initial voltage across the capacitor.


Outputs

Vc: This output is a vector, each element being the voltage computed across a capacitor, in a single floating point format (Xfloat8_24).


Characteristics and limitations

The differential equation is solved using the backward-Euler integration technique, that is Vc(n) = Vc(n-1)+Ic(n-1)*Ts/C.

Sample time: The block minimum sample time is 5 ns. The computation total latency is 80 ns.

Direct FeedthroughNO
Discrete sample timeYES
XHP supportN/A
Work offlineYES


If you require more information, please contact https://www.opal-rt.com/contact-technical-support/.

  • No labels