Integrated circuit multiplier
Simscape / Electrical / Integrated Circuits
The Multiplier block models an integrated circuit multiplier. The block implements the following equation, which defines the voltage applied to the output port:
where X1, X2, Y1, Y2, Z1, Z2 are the voltages presented at the input ports, A is the gain, and K is the scale factor.
In a typical multiplication circuit, the output is fed back into input Z1, which results in the following gain (assuming that A is large):
The value of the scale factor K is usually altered by an external resistor bias network. The Multiplier block implements K as an internal gain, and the external bias network is not necessary for system simulation. A typical value for K is 10, with a typical adjustment down to 3.
You can use the Multiplier block to implement a number of other functions, as well as multiplication. Examples include division, squares, and square roots. For example circuits, consult manufacturer datasheets.
The following figure shows the internal model structure of the Multiplier block. It includes the Band-Limited Op-Amp block to model finite bandwidth and slew-rate limiting.
The next figure shows one of the differential subsystem blocks. All three differential subsystem blocks are identical in structure.
Assumptions and Limitations
Only differential limiting of the inputs is implemented. You must ensure that the absolute values of the inputs you use keep the actual device operating in its linear region.
Output current is such that the integrated circuit is operating in the linear I-V region, which can be approximated by a voltage source plus a series output resistance.
Input offset voltage is not modeled, and the input voltage-current relationship is treated as linear within the differential signal voltage range.
X1 — X-input non-inverting input
Electrical conserving port associated with the multiplier X1 non-inverting input.
X2 — X-input inverting input
Electrical conserving port associated with the multiplier X2 inverting input.
Y1 — Y-input non-inverting input
Electrical conserving port associated with the multiplier Y1 non-inverting input.
Y2 — Y-input inverting input
Electrical conserving port associated with the multiplier Y2 inverting input.
Z1 — Z-input non-inverting input
Electrical conserving port associated with the multiplier Z1 non-inverting input.
Z2 — Z-input inverting input
Electrical conserving port associated with the multiplier Z2 inverting input.
~ — Multiplied output signal
Electrical conserving port associated with the multiplier output port.
Scaling factor, K — Scaling factor
The scaling factor K in the equation that defines output voltage. Datasheets sometimes refer to it as the scale factor, or SF.
Gain, A — Gain
The gain of the internal operational amplifier, corresponding to the gain A in the equation that defines output voltage.
Differential resistance, Rin — Differential resistance
Each of the differential inputs is approximated as a linear resistor with value Rin. Set this value to the datasheet value for differential resistance.
Differential signal voltage range — Differential signal voltage range
This value, Vdiff_max, is used to limit the magnitude of each of the three differential input voltages. Set this value to the datasheet value for differential signal voltage range.
Output resistance, Rout — Output resistance
The multiplier output stage is modeled as a voltage source plus series resistor inside the Band-Limited Op-Amp block. This parameter specifies the value of this series resistor.
Minimum output, Vmin — Minimum output
The lower limit of the output voltage.
Maximum output, Vmax — Maximum output
The upper limit of the output voltage.
Maximum slew rate, Vdot — Maximum slew rate
The maximum positive or negative rate of change of output voltage magnitude.
Bandwidth, f — Bandwidth
The bandwidth of the Band-Limited Op-Amp block.
Initial output voltage, V0 — Initial output voltage
The value of the initial Multiplier block output if the Start simulation from steady-state option is not selected in the Solver block.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2010b