Optocoupler
A dynamic model (or behavioral model) of an optocoupler consisting of an LED, a current sensor, and a controlled current source.
blockType: AcausalElectricPowerSystems.Semiconductors.Optocoupler
Path in the library:
|
Description
Block Optocoupler It is an optocoupler consisting of the following components:
-
An exponential LED connected in series with an input current sensor;
-
Controlled output current source.
The output current flows from the collector to the emitter. It is equal to , where – the value of the current transmission coefficient, and – diode current.
Use the block Optocoupler for interfacing two electrical circuits without direct galvanic connection. For example, if two circuits operate at different voltage levels.
| Each electrical circuit must have its own block Electrical Reference. |
If there is a phototransistor at the output of the optocoupler, the values of the parameter Current transfer ratio usually make up 0.1-0.5. If the output of the optocoupler is represented by a Darlington pair (composite transistor), the parameter value is Current transfer ratio could be much higher than that. Value Current transfer ratio may vary depending on the LED current, but this effect is not simulated in the unit Photodiode.
Some manufacturers specify the maximum data transfer rate for optocouplers. In practice, the maximum data transfer rate depends on the following parameters:
-
Photodiode capacity and control circuit type;
-
The design of the phototransistor and its corresponding capacity.
In the block Optocoupler it is possible to set the capacitance of only the light-emitting diode. You can use the parameter Junction capacitance to set your own capacitance data between collector and emitter.
Block Optocoupler allows you to simulate the temperature dependence of the base diode. For more information, see Diode.
Assumptions and limitations
-
The section of the circuit at the output of the optocoupler is modeled as a controlled current source. Thus, it only correctly approximates a bipolar transistor operating in its normal active region. To create a more detailed model, connect the optocoupler output directly to the base of the NPN bipolar transistor unit and adjust the parameters so as to maintain the correct overall value of the current transfer coefficient. If you need to connect the optocouplers in series, use this approach to avoid the unacceptable topology of two series-connected current sources.
-
The temperature dependence of the current transfer coefficient is not modeled. Usually, the temperature dependence of this parameter is much less than the temperature dependence of the voltage-ampere characteristic (VAC) of an optical diode.
-
To prevent problems with numerical simulation, the usage of non-zero values of ohmic resistance and junction capacitance may be required, but numerical calculation can go faster if these values are set to zero.
Ports
Conserving
#
+
—
positive
electricity
Details
The electrical port connected to the positive terminal.
| Program usage name |
|
#
-
—
negative
electricity
Details
The electrical port connected to the negative terminal.
| Program usage name |
|
#
With
—
collector
electricity
Details
The electrical port connected to the collector terminal of the transistor.
| Program usage name |
|
#
E
—
The emitter
electricity
Details
The electrical port connected to the transistor emitter terminal.
| Program usage name |
|
#
H
—
thermal port
warm
Details
Thermal non-directional port.
Dependencies
To enable this port, check the box Enable thermal port.
| Program usage name |
|
Parameters
Main
# Current transfer ratio — current transmission ratio
Details
The output current flowing from the collector to the emitter of the transistor is equal to the product of the current transfer coefficient and the current of the LED.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Parameterization —
parameterization of the model
Use I-V curve data points | Use parameters IS and N
Details
Choose one of the following methods for parameterizing the model:
-
Use I-V curve data points— set the measured data at two points of the curve of the volt-ampere characteristic of the diode. -
Use parameters IS and N— set the saturation current ( ) and the emission coefficient ( ).
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
#
Currents [I1 I2] —
vector of current values at two points
A | pA | nA | uA | mA | kA | MA
Details
The vector of current values at two points of the curve of the volt-ampere characteristic of the diode, which the unit uses to calculate the saturation current (IS) and the emission coefficient (N).
Dependencies
To use this parameter, set for the parameter Parameterization meaning Use I-V curve data points.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Voltages [V1 V2] —
vector of voltage values at two points
V | uV | mV | kV | MV
Details
The vector of voltage values at two points of the curve of the volt-ampere characteristic of the diode, which the unit uses to calculate the saturation current ( ) and the emission coefficient ( ).
Dependencies
To use this parameter, set for the parameter Parameterization meaning Use I-V curve data points.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Saturation current, IS —
saturation current
A | pA | nA | uA | mA | kA | MA
Details
The amount of current that the ideal diode equation approaches asymptotically for very large levels of reverse bias.
Dependencies
To use this parameter, set for the parameter Parameterization meaning Use parameters IS and N.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Emission coefficient, N — diode emission coefficient
Details
Diode emission coefficient or ideality coefficient.
Dependencies
To use this parameter, set for the parameter Parameterization meaning Use parameters IS and N.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Ohmic resistance, RS —
diode resistance
Ohm | mOhm | kOhm | MOhm | GOhm
Details
Serial ohmic resistance of the diode.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Measurement temperature —
Measurement temperature
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR
Details
The temperature at which the saturation current was measured ( ) or the volt-ampere characteristic of the diode.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
Junction Capacitance
#
Capacitance —
simulation of the diode junction capacitance
Fixed or zero junction capacitance | Use C-V curve data points | Use parameters CJ0, VJ, M & FC
Details
Select one of the following options for modeling the capacitance of the diode junction:
-
Fixed or zero junction capacitance— set the transition capacity as a fixed value; -
Use C-V curve data points— set the measured data at three points of the C-V curve of the diode; -
Use parameters CJ0, VJ, M & FC— set the transition capacity at zero displacement, the contact potential difference of the transition, the coefficient that takes into account the smoothness of the transition, and the coefficient of nonlinearity of the barrier capacity of the transition at forward displacement.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
#
Junction capacitance —
transfer capacity
F | pF | nF | uF | mF
Details
Fixed value of the transition capacity.
Dependencies
To use this parameter, set for the parameter Capacitance meaning Fixed or zero junction capacitance.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Zero-bias junction capacitance, CJ0 —
transition capacity at zero offset
F | pF | nF | uF | mF
Details
The value of the capacitance connected in parallel with the exponential diode.
Dependencies
To use this parameter, set for the parameter Capacitance meaning Use parameters CJ0, VJ, M & FC.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Junction potential, VJ —
contact potential difference of the transition
V | uV | mV | kV | MV
Details
The contact potential difference of the junction.
Dependencies
To use this parameter, set for the parameter Capacitance meaning Use parameters CJ0, VJ, M & FC.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Grading coefficient, M — a coefficient that takes into account the smoothness of the transition
Details
A coefficient that quantifies the smoothness of the p-n transition.
Dependencies
To use this parameter, set for the parameter Capacitance meaning Use parameters CJ0, VJ, M & FC.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Reverse bias voltages [VR1 VR2 VR3] —
reverse displacement stress vector
V | uV | mV | kV | MV
Details
The vector of reverse bias voltage values at the three points C-V of the diode curve, which the unit uses to calculate , and .
Dependencies
To use this parameter, set for the parameter Capacitance meaning Use C-V curve data points.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Corresponding capacitances [C1 C2 C3] —
the vector of capacitances corresponding to the vector of reverse displacement stresses
F | pF | nF | uF | mF
Details
The vector of capacitance values at three points on the C-V curve of the diode, which the unit uses to calculate , and .
Dependencies
To use this parameter, set for the parameter Capacitance meaning Use C-V curve data points.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Capacitance coefficient, FC — coefficient of non-linearity of the barrier capacity of the junction at forward displacement
Details
A coefficient that quantifies the decrease in discharge capacity with applied voltage.
Dependencies
To use this parameter, set for the parameter Capacitance meaning Use parameters CJ0, VJ, M & FC or Use C-V curve data points.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
Temperature Dependence
#
Parameterization —
parameterization of temperature dependence
None - Use characteristics at parameter measurement temperature | Use an I-V data point at second measurement temperature | Specify saturation current at second measurement temperature | Specify the energy gap, EG
Details
Choose one of the following methods for parameterizing the temperature dependence:
-
None - Use characteristics at parameter measurement temperature— the temperature dependence is not modeled, the measurement temperature is used for modeling Measurement temperature. -
Use an I-V data point at second measurement temperature— when selecting this value, you need to specify the temperature of the second measurement, as well as the values of current and voltage at this temperature. The model uses these values together with the parameter values at the temperature of the first measurement to calculate the value of the band gap. -
Specify saturation current at second measurement temperature— when this value is selected, the temperature of the second measurement and the saturation current value at this temperature are set. The model uses these values together with the parameter values at the temperature of the first measurement to calculate the value of the band gap. -
Specify the energy gap, EG— the value of the forbidden zone width is set manually.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
#
Saturation current, IS, at second measurement temperature —
saturation current at the temperature of the second dimension
A | pA | nA | uA | mA | kA | MA
Details
Specify the saturation current value at the temperature of the second dimension.
Dependencies
To use this parameter, set for the parameter Parameterization meaning Specify saturation current at second measurement temperature.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Current I1 at second measurement temperature —
current I1 at the temperature of the second measurement
A | pA | nA | uA | mA | kA | MA
Details
Specify the current value on the diode, when the voltage is , at the temperature of the second dimension.
Dependencies
To use this parameter, set for the parameter Parameterization meaning Use an I-V data point at second measurement temperature.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Voltage V1 at second measurement temperature —
voltage V1 at the temperature of the second measurement
V | uV | mV | kV | MV
Details
Specify the voltage value on the diode, when the current is equal to , at the temperature of the second dimension.
Dependencies
To use this parameter, set for the parameter Parameterization meaning Use an I-V data point at second measurement temperature.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Second measurement temperature —
the temperature of the second measurement
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR
Details
Specify the value for the temperature of the second measurement.
Dependencies
To use this parameter, set for the parameter Parameterization meaning Use an I-V data point at second measurement temperature or Specify saturation current at second measurement temperature.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Energy gap parameterization —
parameterization of the band gap width
Use nominal value for silicon (EG=1.11eV) | Use nominal value for 4H-SiC silicon carbide (EG=3.23eV) | Use nominal value for 6H-SiC silicon carbide (EG=3.00eV) | Use nominal value for germanium (EG=0.67eV) | Use nominal value for gallium arsenide (EG=1.43eV) | Use nominal value for selenium (EG=1.74eV) | Use nominal value for Schottky barrier diodes (EG=0.69eV) | Specify a custom value
Details
Select a restricted area width value from the list of preset parameters or specify a custom value.:
-
Use nominal value for silicon (EG=1.11eV)— default value; -
Use nominal value for 4H-SiC silicon carbide (EG=3.23eV); -
Use nominal value for 6H-SiC silicon carbide (EG=3.00eV); -
Use nominal value for germanium (EG=0.67eV); -
Use nominal value for gallium arsenide (EG=1.43eV); -
Use nominal value for selenium (EG=1.74eV); -
Use nominal value for Schottky barrier diodes (EG=0.69eV); -
Specify a custom value— if you select this value, the parameter will appear Energy gap, EG, which allows you to specify a value for .
Dependencies
To use this parameter, set for the parameter Parameterization meaning Specify the energy gap, EG.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
#
Energy gap, EG —
the width of the forbidden zone
J | mJ | kJ | MJ | mW*hr | W*hr | kW*hr | MW*hr | eV | cal | kcal | Btu_IT
Details
Specify a custom value for the width of the restricted area.
Dependencies
To use this parameter, set for the parameter Energy gap parameterization meaning Specify a custom value.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Saturation current temperature exponent parameterization —
parameterization of the temperature index of the saturation current
Use nominal value for pn-junction diode (XTI=3) | Use nominal value for Schottky barrier diode (XTI=2) | Specify a custom value
Details
Select one of the following parameters to set the saturation current temperature value:
-
Use nominal value for pn-junction diode (XTI=3); -
Use nominal value for Schottky barrier diode (XTI=2); -
Specify a custom value— if you select this value, the parameter will appear Saturation current temperature exponent, XTI — temperature indicator of the saturation current, which allows you to set a custom value for .
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
# Saturation current temperature exponent, XTI — temperature indicator of saturation current
Details
Specify the value for the saturation current temperature indicator .
Dependencies
To use this parameter, set for the parameter Saturation current temperature exponent parameterization meaning Specify a custom value.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Device simulation temperature —
Device temperature
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR
Details
Specify the temperature value at which the device operation will be simulated.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
Thermal Port
# Enable thermal port — turning on the heat port
Details
Select this option to use the thermal port of the unit and simulate the effect of the generated heat and the temperature of the device.
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
#
Thermal network —
choosing an internal thermal model
Specify junction and case thermal parameters | Cauer model | Cauer model parameterized with Foster coefficients | External
Details
Choose an internal thermal model:
-
Specify junction and case thermal parameters; -
Cauer model; -
Cauer model parameterized with Foster coefficients; -
External.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
#
Junction-case and case-ambient (or case-heatsink) thermal resistances, [R_JC R_CA] —
the vector of thermal resistances
K/W
Details
Vector [R_JC R_CA] of the two values of thermal resistance. The first value R_JC — this is the thermal resistance between the junction and the housing. The second value, R_CA — this is the thermal resistance between the H port and the device body.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Specify junction and case thermal parameters.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Thermal resistances, [R1 R2 ... Rn] —
the vector of thermal resistances for the Kauer model
K/W
Details
Vector from the values of the thermal resistances represented by the Kauer elements in the heating network. All these values must be greater than zero.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Cauer model.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Thermal resistances, [R1 R2 ... Rn] —
the vector of thermal resistances for the Foster model
K/W
Details
Vector from the values of thermal resistances represented by the coefficients of the Foster model in the heating network. All these values must be greater than zero.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Cauer model parameterized with Foster coefficients.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Thermal mass parameterization —
parameterization of heat capacity
By thermal time constants | By thermal mass
Details
Choose a method for setting the heat capacity:
-
By thermal time constants— parameterization of heat capacity in terms of thermal time constants. This value is used by default. -
By thermal mass— setting the heat capacity values.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Specify junction and case thermal parameters, Cauer model or Cauer model parameterized with Foster coefficients.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
#
Junction and case thermal masses, [M_J M_C] —
vector of heat capacity values for the Kauer model
J/K | kJ/K
Details
Vector [M_J M_C] of the two values of the heat capacity. The first value M_J — this is the heat capacity of the transition. The second value, M_C — this is the heat capacity of the case.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Specify junction and case thermal parameters, and for the parameter Thermal mass parameterization meaning By thermal mass.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Thermal masses, [M1 M2 ... Mn] —
vector of heat capacity values for the Kauer model
J/K | kJ/K
Details
Vector from values of heat capacities, where this is the number of coefficients of the Kauer model in the heat network. All these values must be greater than zero.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Cauer model, and for the parameter Thermal mass parameterization meaning By thermal mass.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Thermal masses, [M1 M2 ... Mn] —
the vector of heat capacity values for the Foster model
J/K | kJ/K
Details
Vector from values of heat capacities, where this is the number of Foster elements in the heating network. All these values must be greater than zero.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Cauer model parameterized with Foster coefficients, and for the parameter Thermal mass parameterization meaning By thermal mass.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Junction and case thermal time constants, [t_J t_C] —
vector of thermal time constants
s | ns | us | ms | min | hr | d
Details
Vector [t_J t_C] of the two values of the thermal time constants. The first value t_J — this is the thermal constant of the transition time. The second value, t_C — this is the thermal time constant of the hull.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Specify junction and case thermal parameters, and for the parameter Thermal mass parameterization meaning By thermal time constants.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Thermal time constants, [t1 t2 ... tn] —
vector of thermal time constants for the Kauer model
s | ns | us | ms | min | hr | d
Details
Vector from values of thermal time constants, where this is the number of Kauer elements in the heating network. All these values must be greater than zero.
The value of the heat capacity is calculated as , where , and — heat capacity, thermal time constant and thermal resistance for - the go element of the Cowera.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Cauer model, and for the parameter Thermal mass parameterization meaning By thermal time constants.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Thermal time constants, [t1 t2 ... tn] —
vector of thermal time constants for the Foster model
s | ns | us | ms | min | hr | d
Details
Vector from values of thermal time constants, where this is the number of coefficients of the Foster model in the heating network. All these values must be greater than zero.
The value of the heat capacity is calculated as , where , and — heat capacity, thermal time constant and thermal resistance for - the go element of the Cowera.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Cauer model parameterized with Foster coefficients, and for the parameter Thermal mass parameterization meaning By thermal time constants.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Junction and case initial temperatures, [T_J T_C] —
vector of thermal time constants
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR
Details
Vector [t_J t_C] of the two values of the thermal time constants. The first value t_J — this is the thermal constant of the transition time. The second value, t_C — this is the thermal time constant of the hull.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Specify junction and case thermal parameters, and for the parameter Thermal mass parameterization meaning By thermal time constants.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Thermal masses initial temperatures, [T1 T2 ... Tn] —
initial temperature vector for the Kauer model
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR
Details
The vector of temperature values. It corresponds to the temperature difference for each heat capacity in the model.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Cauer model.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Initial node temperatures, [T1 T2 ... Tn] —
the initial temperature vector for the Foster model
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR
Details
The vector of absolute temperature values of each element of the Foster model.
Dependencies
To use this parameter, set for the parameter Thermal network meaning Cauer model parameterized with Foster coefficients.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |