VoltagePWL
Voltage Source PWL (voltage source by linear interpolation in a table)
Library
Analog/Basic
Description
The Voltage PWL block generates a voltage source by linear interpolation in a PieceWise Linear table (PWL).
The time points and voltage values are defined as paired values, where the first given parameter contains the first time point and the second contains the data for the first voltage to be interpolated.
The table interpolation has the following properties:
- The time points need to be monotonically increasing.
- The values outside of the table range are not computed by extrapolation through the last or first two points of the table, but from the last given point.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
sp_PWL | PWL | String | ||
sp_R | Repeat sequence | Select the checkbox to repeat the signal to the end of the simulation. | Number | 0 |
sp_timepoints | Pair values of Time Voltage. | Pair values of Time - Voltage. Entered as: T0,V0;T1,V1; .. Tn,Vn R. R only needed to repeat a sequence. | Matrix of Size Mx2 | |
sp_Spice | Additional Spice Parameters | For more details, see Additional Spice Parameters. | String |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
V+ | implicit | Positive pin | 1 | |
V- | implicit | Negative pin | 2 |