Arithmetic¶
Appearance¶

Description¶

Arithmetic performs the following processing on the two input voltages depending on Mode
| Mode | Processing | Arithmetic expression |
|---|---|---|
| Addition | Addition | |
| Subtraction | Subtraction | |
| Multiplication | Multiplication | |
| Division | Division | |
| Min | Minimum value |
refers to whichever of or is smaller. |
| Max | Maximum value |
refers to whichever of or is larger. |
| Modulo | Remainder | Outputs the remainder of . |
| power | Power |
You can also set upper and lower limits on the output voltage with Minimum Voltage and Maximum Voltage.
Note
Arithmetic performs an average sample-and-hold operation.
At the end of each main period, the average value of the input voltage is sampled and the calculation is performed.
The resulting output voltage V is held during the next main period.
Therefore, this operator cannot follow a signal with a high variation frequency, and we recommend that the variation frequency of the input voltage be one tenth of the main frequency.
Spec¶
| Parameter | Description | Parameter name |
|---|---|---|
| Gain | Gain | Gain |
| Minimum Voltage | Minimum voltage | Vmin |
| Maximum Voltage | Maximum voltage | Vmax |
| Mode | Mode | - |
| Input Inversion | Inversion of the input terminals | - |
Output variables¶
| Parameter | Description | Output argument |
|---|---|---|
| Input1 Voltage | Input voltage | symbol name.Vi1 |
| Input2 Voltage | Input voltage | symbol name.Vi2 |
| Output Voltage | Output voltage | symbol name.Vo |