damped_sin()
Returns the damped sin value at time point as a real number
Syntax
damped_sin(time, Offset, Amplitude, Freq, Delay, Damping, Phase)
Arguments
| Name | Description | Range | Type | Default | Required |
|---|---|---|---|---|---|
| time | program time variable | (0, ∞) | real | yes | |
| Offset | initial offset | (-∞, ∞) | real | 0.0 | no |
| Amplitude | amplitude of sinusoidal wave | (-∞, ∞) | real | 1.0 | no |
| Freq | frequency of sinusoidal wave | (0, ∞) | real | Fstop † | no |
| Delay | time delay | [0, ∞) | real | 0.0 | no |
| Damping | damping factor in Hertz | (-∞, ∞) | real | 0.0 | no |
| Phase | initial phase value in degrees | (-∞, ∞) | real | 0.0 | no |
| † Fstop is 1/(Transient StopTime or Envelope Stop) | |||||
Examples
This example assumes that a transient simulation is performed using:
StartTime = 0, StopTime = 3ns, MaxTimeStep = 50ps
- This expression creates a damped sine pulse repeating periodically every 1ns:
DsineValue = damped_sin(time, 0, 2, 1e9, 0.05, 0.5, 0) - This expression creates one damped sine pulse using default values for the arguments not listed in the function:
DsineValue = damped_sin(time)
Offset=0, Amplitude=1, Freq=1/3ns, Delay=0.0, Damping=0.0, Phase=0
This example assumes that a transient simulation is performed using:
StartTime = 0, StopTime = 10ns, MaxTimeStep = 10ps
DsineValue=damped_sin(time, 0.5 V, 2 V, 1.2 GHz, 0.8 ns, 0.2 GHz, 15 _deg)
The output of this example is shown in Example damped_sin() Output below.
See Also
cos_pulse(), erf_pulse(), exp_pulse(), pulse(), pwl(), pwlr(), ramp(), step()
Notes/Equations
This expression creates a time-periodic sinusoidal waveform at a specified frequency and phase, including turn-on characteristics. It can be used to create a current or voltage damped sinusoidal wave using the ItUserDef or VtUserDef time domain sources. Alternately, the built-in time domain current or voltage source component, ItSine or VtSine can be used.
The output is calculated as follows:


Example damped_sin() Output
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()