Signal Decomposition
Building Signals from Steps and Ramps
Signal decomposition lets you describe a complicated circuit input as a sum of simpler signals. Instead of writing a separate formula for every time interval, you introduce a correction whenever the waveform changes. This representation is especially useful when preparing an input for Laplace-domain analysis. Here, the task is to represent the input itself; calculating a circuit's response is a separate step.
Steps describe jumps in value
The unit step switches from zero to one at its starting time. Using t for time,
Its value exactly at zero is unnecessary for the calculations here. The shifted expression u(t−a) starts at t=a, where a is the delay. Multiplying by an amplitude gives the size and sign of the jump.
For example, a voltage that rises from zero to 6 V at t=2 s contains the term (6 V)u(t−2 s). A later decrease requires a negative step. To create a constant pulse of amplitude A between times a and b, write
Before a, neither step contributes. Between a and b, only the positive step contributes. After b, their contributions cancel.
Ramps describe changes in slope
The unit ramp is
It is zero before its starting time and increases linearly afterward. When time has units of seconds, the ramp has units of seconds. A voltage ramp therefore needs a coefficient with units of volts per second.
For a piecewise-linear signal that is initially zero, the governing construction is
Here, Δvk is the jump in voltage at event time tk, while Δmk is the new slope minus the old slope. Include only the terms needed at each event.
Waveform change | Added term | Coefficient units for voltage |
|---|---|---|
Jump in value | Δvu(t−a) | V |
Change in slope | Δmr(t−a) | V/s |
Jump and slope change together | Both terms | V and V/s, respectively |
Example: The plotted voltage has successive slopes of zero, +1 V/s, −1 V/s and zero. Its slope changes are therefore +1, −2 and +1 V/s:
Notice that flattening a ramp requires another ramp with the opposite slope. A step changes the level but cannot cancel a continuing slope.
Delay the whole waveform
If a waveform f(t) begins at zero, a delayed copy is
The factor u(t−a) switches it on, while t−a measures elapsed time since switching. Switching on an expression and delaying that expression are different operations.
For example, (9 V)e−(t−a)/τu(t−a) begins its decay from 9 V at time a, where τ is a time constant. By contrast, (9 V)e−t/τu(t−a) begins from the already reduced value (9 V)e−a/τ.
Check any decomposition interval by interval: identify active terms, simplify their sum, and compare its value and slope with the intended waveform.
What to remember
- Steps encode jumps in value; ramps encode changes in slope.
- Keep earlier terms active and add corrections at later events.
- A delayed waveform uses elapsed time t−a inside its formula.
- Verify units, interval values and the final slope.
Example: Decomposing a Programmed Test Voltage
A programmable source supplies the voltage shown during an electronics test. Use signal decomposition, the representation of one waveform as a sum of simpler signals, to describe its output. The voltage is zero before t=0, jumps to 3 V, rises linearly from 3 V to 7 V between 2 s and 4 s, stays at 7 V until 6 s, and then returns to zero. Values exactly at jumps are not needed.
Let u(t) be the unit step and r(t)=tu(t) the unit ramp.
a) Find the voltage at t=3 s.
The rising segment has constant slope
At 3 s, the elapsed time since the rise began is ________. The corresponding voltage increase is ________, obtained by multiplying the slope by the elapsed time:
Add this increase to the starting level:
The voltage is 5 V, halfway between the endpoint voltages as expected.
b) Write one expression for the complete voltage using shifted steps and ramps.
The jump at zero introduces (3 V)u(t). At 2 s, the slope changes from zero to ________, so introduce (2 V/s)r(t−2 s).
At 4 s, the slope changes from 2 V/s back to zero. Add −(2 V/s)r(t−4 s) to cancel the rising slope. Cancel the slope without erasing the voltage already accumulated.
At 6 s, the voltage jump is ________, because the new level minus the old level is 0−7=−7 V. Add the corresponding negative step. The complete expression is
Between 4 s and 6 s, the ramp terms combine to give
Together with the initial 3 V step, they give the required 7 V plateau. After 6 s, the last step makes the total voltage 3+4−7=0 V.
c) Calculate the voltage-time integral from zero to 6 s.
Split the interval into the initial constant segment, the linear rise and the final plateau. The initial segment contributes
For a linear rise, the average voltage is the mean of the two endpoint voltages. The rising segment contributes ________:
The final plateau contributes ________:
Adding the three contributions gives
The voltage-time integral is 30 V⋅s. The instantaneous jumps contribute no area because they occupy no time interval.
A continuous source voltage is zero before t=0, follows the straight segments shown, and remains at −4 V after 5 s. Its decomposition is
where r(t)=tu(t) is the unit ramp. Determine B and C in V/s, each to one decimal place.
A test generator produces zero voltage before 3 s. Immediately after switching on, its output is 8 V and then decays exponentially with a time constant of 2 s. Which expression represents the specified output, with u denoting the unit step?