This function is a multiplier block with 2 input ports. Individual gains and offsets can be applied to each input and to the output. Each input is added to its respective offset and then multiplied by its gain. The results are multiplied along with the output gain and are added to the output offset.
The process can be expressed mathematically as follows:
Output = (((inA + inA_offset) * inA_gain) * ((inB + inB_offset) * inB_gain) * out_gain) + out_offset
This model operate in DC, AC and Transient analysis modes. However, in AC analysis it is important to remember that results are invalid unless only one input of the multiplier is connected to a node which bears an AC signal (this is exemplified by the use of a multiplier to perform a potentiometer function: one input is DC, the other carriers the AC signal).
Parameters
Parameter | Description | Default |
---|---|---|
inA_offset | A input offset. | 0 |
inB_offset | B input offset. | 0 |
inA_gain | A input gain. | 1 |
inB_gain | B input gain. | 1 |
out_gain | Output gain. | 1 |
out_offset | Output offset. | 0 |