The modeling and the equations used in the NLB components are not compatible with the POP analysis. Hence the POP analysis and the AC analysis, which depends on the successful conclusion of the POP analysis, are both disabled when NLB components are present. Both the PWM Multipliers and PWL Multipliers are compatible with the POP and AC analyses.
The NLB components implement multiply and divide functions. Multipliers and Dividers are available with various input combinations described in the next table. In each model name, NLB_MULTIx_DIVy means the output of the particular component is normally equal to the product of x number of inputs in the numerator divided by the product of y number of inputs in the denominator.
In this topic:
Model Name: | Non-Linear Multiplier/Divider | |
Simulator: | This device is compatible with the SIMPLIS simulator | |
Parts Selector Menu Location: |
|
|
Symbol Library: | SIMPLIS_NLB.sxslb | |
Model File: | SIMPLIS_NLB.lb | |
Symbol Names: |
|
|
Subcircuit Names: |
|
|
Example Symbol: | ||
Multiple Selections: | Only one POP Trigger device is permitted on a schematic. |
To configure the NLB Multiplier/Divider, follow these steps:
Parameter Label | Units | Description |
Gain | The gain, as applied to the output of the multiplier. | |
Output high voltage limit | V | The maximum voltage allowed at the output pin. The output is limited to voltages less than this parameter value or the instantaneous voltage on the HLIM pin, which ever is less. |
Output low voltage limit | V | The minimum voltage allowed at the output pin. The output is limited to voltages greater than this parameter value or the voltage on the REF pin, which is normally zero volts, whichever is greater. |
Frequency of low-pass filter | Hz | Each NLB block has a low pass filter, with the corner frequency of the filter set by this parameter. |
Initial condition | V | The initial condition of the output in volts. |
Exponent of numerator input #n | The exponent applied the nth
numerator input. Each numerator can have exponents of
|
|
Exponent of denominator input #n | The exponent applied the nth
denominator input. Each denominator can have exponents of
|
Each non linear block multiplier/divider have the following attributes:
In addition to the common attributes of all multipliers and dividers, each input signal can be raised to be raised to the power of:
to compute the output voltage For example, if an 2 Multiplicand and 2 Divisor Multiplier is configured as follows:
the following mathematical equation is implemented:
\[ \text{1.2345} \times \frac{V_{N1} \times \sqrt{V_{N2}}}{V_{D1}^2 \times V_{D2}} \]
where VN1 and VN2 are the voltage of the “numerator” input pins N1 and N2 with respect to the reference pin, respectively, and VD1 and VD2 are the voltage of the “denominator” input pins D1 and D2 with respect to the reference pin, respectively. Since raising a negative number to non-integral powers is undefined, the signal is considered to be zero when such conditions occur. Hence, in this example, if VN2 is less than zero, the output of the particular NLB component is set to zero
This multiplier/divider implements the multiplier block used in the UC3854 PFC controller.
\[\frac{\left(A-1 \right) \times B}{C^2}\]
The B input of the UC3854 multiplier/divider component corresponds to the IAC input of the UC3854 PFC controller. Although the IAC input of UC3854 is a current-sensing input, the B input of the UC3854 multiplier/divider is a voltage-sensing input like any other input pins in the entire family of NLB components. Hence, the user needs to be aware of such differences in using the UC3854 multiplier/divider component to model any PFC controller similar to the UC3854 controller.
You can download this example here: simplis_079_four_quad_nlb_multiplier_example.sxsch
There are designs where a multiplier with 4-quadrant multiplication capability is needed. Since the NLB multipliers/dividers can only produce non-negative outputs, shifting of the inputs and outputs can be carried out to accomplish the 4-quadrant multiplication. In this example, a multiplier with two multiplicands will be shown with the following mathematical equation:
\[ \text{Output} = V_A \times V_B \]
The inputs are shifted by the positive voltages ???MATH???V_{A0}???MATH??? and ???MATH???V_{B0}???MATH???, where ???MATH???V_{A0} \geq |V_A|???MATH??? and ???MATH???V_{B0} \geq |V_B|???MATH???.
\[ \text{Output} = \left( V_A + V_{A0} \right) \times \left( V_B + V_{B0} \right) - \left( V_A \times V_{B0} + V_B \times V_{A0} + V_{A0} \times V_{B0} \right)\]
In the above equation, ???MATH???V_A???MATH??? and ???MATH???V_B???MATH??? are the input signals to the multiplier and ???MATH???V_{A0}???MATH??? and ???MATH???V_{B0}???MATH??? are constant offsets. If ???MATH???V_{A0}???MATH??? and ???MATH???V_{B0}???MATH??? are properly sized so that both ???MATH???\left( V_A + V_{A0} \right)???MATH??? and $\left( V_B + V_{B0} \right)$ are always positive, then either the NLB_MULTI or NLB_MULT2_DIV0 component can be used to perform the multiplication of $\left( V_A + V_{A0} \right) \times \left( V_B + V_{B0} \right)???MATH???. The terms ???MATH???V_A \times V_{B0}???MATH??? and ???MATH???V_B \times V_{A0}$ each involve one signal and one constant and they can each be accomplished through a simple voltage-controlled voltage source. Finally, the ???MATH???V_{A0} \times V_{B0}???MATH??? term only involves constants and it can be modeled by a DC voltage source. Hence, the “4- quadrant multiplier” schematic is as follows:
In this case the source value of the voltage source V_HLIM is set to ???MATH???4 \times V_{A0} \times V_{B0}???MATH???. This voltage guarantees that the output will not have any clipping as long as the input voltages and offset voltages satisfy these conditions:
The constant voltages ???MATH???V_{A0}???MATH??? and ???MATH???V_{B0}???MATH??? are set in the schematic's F11 window.
Normally, simulation involving the NLB components would run at simulation speeds typical of a SIMPLIS simulation. The simulation speed time would increase tremendously if one of the “denominator” inputs is either very close to zero, or making either a positive-to-negative transition or a negative-to-positive transition. Proper limiting of the “denominator” inputs may eliminate such a slow simulation.