PLECS 3.4 Online Help

Variable Capacitor

Purpose

Capacitance controlled by signal

Library

Electrical / Passive Components

Description

pict

This component models a variable capacitor. The capacitance is determined by the signal fed into the input of the component. The current through a variable capacitance is determined by the equation

    d          d
i =--C ⋅v+ C ⋅ -v
   dt          dt

Since v   is the state variable the equation above must be solved for ddvt  . The control signal must provide the values of both C   and dC
dt   in the following form: [C1 C2 ...Cn -dC1 d-C2...d-Cn ]
           dt   dt     dt . It is the responsibility of the user to provide the appropriate signals for a particular purpose (see further below).

If the component has multiple phases you can choose to include the capacitive coupling of the phases. In this case the control signal vector must contain the elements of the capacitance matrix (row by row) and their derivatives with respect to time. The control signal thus has a width of 2 ⋅n2  , n   being the number of phases.


Note  The momentary capacitance may not be set to zero. In case of coupled capacitors, the capacitance matrix may not be singular.

There are two common use cases for variable capacitors, which are described in detail below: saturable capacitors, in which the capacitance is a function of the voltage and electrostatic actuators, in which the capacitance is a function of an external quantity, such as a capacitor with movable plates.

Saturable Capacitor Modeling

When specifying the characteristic of a saturable capacitor, you need to distinguish carefully between the total capacitance C  (v) = Q∕v
 tot   and the differential capacitance C  (v) = dQ ∕dv
 diff  .

With the total capacitance Ctot(v) = Q∕v   you have

i =   dQ-
      dt
  =   d-(C   ⋅v)
      dt  tot
  =   Ctot ⋅ dv+ dCtot ⋅v
           dt    dt
  =   Ctot ⋅ dv+ dCtot ⋅ dv⋅v
      (    dt    dv ) dt
  =    Ctot + dCtot⋅v ⋅ dv ,
              dv       dt

which can be implemented as follows:

pict

With the differential capacitance Cdiff(v) = dQ ∕dv   you have

i =   dQ-
      dt
  =   dQ-⋅ dv
      dv  dt
  =   Cdiff ⋅ dv ,
           dt

which can be implemented as follows:

pict

Note that in both cases the d-C
dt  -input of the Variable Capacitor is zero!

Actuator Modeling

In an electrostatic actuator the capacitance is determined by an external quantity such as the distance x   between the movable plates of a capacitor: C = C(x)  . Therefore you have

         dv-  dC-
i =   C ⋅dt + dt ⋅v
         dv-  dC- dx-
  =   C ⋅dt + dx ⋅dt ⋅v  ,

which can be implemented as follows:

pict

Note that x   is preferably calculated as the integral of dx ∕dt   rather than calculating dx∕dt   as the derivative of x  .

Parameters

Capacitive coupling
Specifies whether the phases should be coupled capacitively. This parameter determines how the elements of the control signal are interpreted. The default is off.
Initial voltage
The initial voltage of the capacitor at simulation start, in volts (V). This parameter may either be a scalar or a vector corresponding to the implicit width of the component. The positive pole is marked with a "+". The initial voltage default is 0.

Probe Signals

Capacitor voltage
The voltage measured across the capacitor, in volts (V). A positive voltage is measured when the potential at the terminal marked with "+" is greater than the potential at the unmarked terminal.
Capacitor current
The current flowing through the capacitor, in amperes (A).