VoltagePWL
Voltage Source
Library
Spice/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 | Repeat sequence checkbox allows to repeat the signal until the end of the simulation. | Number | 0 |
sp_timepoints | Pair values of Time Voltage. | Paired values of Time - Voltage. <p> R only needed to repeat a sequence. | Matrix of size Mx2 | |
sp_Spice | Additional Spice Parameters | For more details, see the section | String |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
use_ac | Use AC | Check this parameter to set the AC parameters | Number | 0 |
ac_magnitude | AC Magnitude | Value of the AC voltage source | Scalar | |
ac_phase | AC Phase | Value of the AC phase | Scalar |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
V+ | implicit | Positive pin | input | 1 |
V- | implicit | Negative pin | input | 2 |