Engee documentation

Capacitor (Advanced)

Linear or non-linear capacitor, accounting for capacitance error.

capacitor

Description

The Capacitor block allows modelling of linear, non-linear (specified by tabular characteristics) and frequency-dependent capacitors, accounting for error.

When a linear capacitor is modelled and capacitance error is not taken into account, the component behaviour is identical to the block Capacitor.

In its simplest form, the Capacitor block models a linear capacitor described by the following equation:

Where:

  • - current.

  • - capacitance.

  • - voltage.

  • - time.

To model a non-linear or polar capacitor, set Capacitance model to Lookup table and fill in the voltage-capacitance table:

  • For polar capacitors, this reference table is asymmetric with respect to the applied terminal voltage, uncheck the box for the Symmetric C-V table parameter.

  • For other types of nonlinear capacitors, the symmetry of the capacitance table with respect to the applied terminal voltage is ensured by selecting the checkbox for Symmetric C-V table.

To model a frequency-dependent capacitor with ohmic and dielectric losses, set the Capacitance model parameter to Dielectric relaxation (Debye). The Debye relaxation model considers a set of non-interacting dipoles in the frequency domain. The result is expressed in terms of the complex dielectric constant. The real ( ε ) and imaginary ( ε ) parts of the complex permittivity are given by Eqs:

εεεεωτ

εεεωτωτ ,

Where:

  • ω - radial frequency.

  • ε - real permeability at very high frequency.

  • ε - real permeability at low frequency.

  • τ - relaxation time constant.

In the time domain, the characteristic equation for the capacitor in the Debye model is as follows

τατνν ,

where

  • - is the low-frequency capacitance.

  • αεε .

  • - charge.

  • - current.

  • ν - capacitor voltage.

Most specifications do not explicitly state the complex permittivity and relaxation time values, but the dissipation angle tangent of the dielectric loss at two frequencies is often given. The parameters α and τ can be derived from these values as described in Eqs:

τωωωωωωωωωωωωωω

αωτωτωτ ,

Where:

  • ω and ω are two different frequencies.

  • and are dissipation coefficients calculated at the indicated frequencies, respectively.

For correct tuning in the Debye model, the square root argument must be positive.

Errors

You can add an error to the nominal value specified for the Capacitance parameter. Technical descriptions usually specify such an error. The table shows how the block applies the error and calculates the capacitance depending on the selected Tolerance application.

Tolerance application parameter value Inductance value

None - use nominal value

Random tolerance

Uniform distribution:

Normal distribution:

Apply maximum tolerance value.

Apply minimum tolerance value

In the table:

  • - nominal capacity, Capacitance value.

  • - error, Capacitance tolerance (%)/100.

  • - parameter value Number of standard deviations for quoted tolerance.

  • and - standard functions for generation of random numbers with uniform and normal distribution.

Ports

Non-directional

+ - positive
electricity

Electrical port, represents the positive terminal.

- represents the negative terminal
electricity

Electrical port, represents the negative terminal.

Parameters

Main

Capacitance model - capacitor type
Constant (By default) | Lookup table | Dielectric relaxation (Debye)

Select the type of capacitor:

  • Constant is a linear capacitor with the nominal capacitance given by the Capacitance value.

  • Lookup table - non-linear capacitor, where the nominal capacitance value varies depending on the value of the applied voltage at the terminals.

  • Dielectric relaxation (Debye) - frequency dependent capacitor with ohmic and dielectric losses.

Capacitance - rated capacitance value
1e-6 F (by default) | positive | scalar

Nominal capacitance value for a linear capacitor or low-frequency capacitance in Debye parameterization.

Dependencies

To use this parameter, set the Capacitance model parameter to Constant or Dielectric relaxation (Debye).

Capacitance values is a vector of capacitance values
[1e-05, 1e-06] F (by default) | `positive vector'.

Vector of capacitance values to search the table by the corresponding voltage value. The length of the vector must be the same as the length of the vector of voltage values.

Dependencies

To use this parameter, set the Capacitance model parameter to Lookup table.

Corresponding voltage values - input vector of voltage values
[0, 10] V (by default).

Input vector of voltage values for table-based capacitance calculation. The vector length must be greater than or equal to 2 and the values must be strictly monotonic, either increasing or decreasing.

Dependencies

To use this parameter, set the Capacitance model parameter to Lookup table.

Symmetric C-V table - table data
On (By default) | Off

Specify how to use the table data:

  • on - to ensure symmetry of the capacitance with respect to the applied terminal voltage.

  • off - value for modelling polar capacitors. For example, with the By default parameter values for table capacitance, an applied voltage of -10 V will give a nominal capacitance of 1e-6 F. However, if the Symmetric C-V table flag is cleared, the resulting capacitance value will be 1e-5 F as the block uses the nearest input value for extrapolation.

Dependencies

To use this parameter, set the Capacitance model parameter to Lookup table.

Frequencies for specifying dissipation factors [f1 f2] - frequencies for calculating the dissipation angle tangent.
[1, 10] kHz (by default)

Frequencies at which dissipation factor tangents [DF1 DF2] are calculated, in kHz.

Dependencies

To use this parameter, set Capacitance model to Dielectric relaxation (Debye).

Dissipation factors (%) at f1 and f2 [DF1 DF2] - dielectric loss factors
[0.8, 1.2] (By default)

The ratio between the equivalent series resistance and the capacitive reactance, or loss angle tangent. Dielectric loss coefficients are a common metric for capacitors.

Dependencies

To use this parameter, set the Capacitance model parameter to Dielectric relaxation (Debye).

Tolerance (%) is the capacitance error
5 (By default).

Capacitance error specified in the data sheet. For capacitors whose characteristics are specified in a table, this error is applied to the whole table at once.

Tolerance application - error application
None - use nominal value (by default) | Random tolerance | Apply maximum tolerance value | Apply minimum tolerance value.

Select how the error is applied during modelling:

  • None - use nominal value - the block does not apply tolerance, it uses the nominal value of the capacitance.

  • Random tolerance - the block applies a random offset to the capacitance value within the error. You can select uniform or normal distribution to calculate the random number using the *Tolerance distribution` parameter.

  • Apply maximum tolerance value - the capacitance is increased by the specified tolerance value.

  • Apply minimum tolerance value - the capacity is decreased by the specified tolerance value.

Tolerance distribution - type of error distribution
Uniform (by default) | Gaussian.

Select the distribution type:

  • Uniform - uniform distribution.

  • Gaussian - normal distribution.

Dependencies

To use this parameter, set the Tolerance application parameter to Random tolerance.

Number of standard deviations for quoted tolerance - used to calculate normally distributed random numbers
4 (By default).

Number of standard deviations for calculating normally distributed random numbers .

Dependencies

To use this parameter, set the Tolerance distribution parameter to Gaussian.

Series resistance - series resistance
1e-6 ohms (by default).

Modelling some circuits may require a small series resistance. The equivalent series resistance (ESR) is sometimes listed on manufacturers' datasheets. If it is not available, you can determine this resistance for a linear capacitor through the dissipation factor (DF) tangent of the dielectric loss angle, which is also listed in many specifications. This ratio looks like this: π , where is the signal frequency. For a Debye capacitor, the Dissipation factors (%) at f1 and f2 [DF1 DF2] are adjusted for this additional series resistance before calculating 𝛼 and 𝜏.

Parallel conductance is the parallel conductance
0 (By default)

Parallel conductance of the capacitor. For capacitors connected in series, having a small parallel conductance can help with convergence.

Averaging period for power logging - averaging period for power logging
`0 s (By default).

Averaging period for power logging, in sec.

If this parameter is set to 0, the output will be instantaneous power.

Dependencies

To use this parameter, set the Capacitance model parameter to Dielectric relaxation (Debye).