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 tt for time,


u(t)={0,t<0,1,t>0.u(t)=\begin{cases}0,&t<0,\\1,&t>0.\end{cases}


Its value exactly at zero is unnecessary for the calculations here. The shifted expression u(t−a)u(t-a) starts at t=at=a, where aa 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 V6\ \text{V} at t=2 st=2\ \text{s} contains the term (6 V)u(t−2 s)(6\ \text{V})u(t-2\ \text{s}). A later decrease requires a negative step. To create a constant pulse of amplitude AA between times aa and bb, write


v(t)=A[u(t−a)−u(t−b)],b>a.v(t)=A\left[u(t-a)-u(t-b)\right],\qquad b>a.


Before aa, neither step contributes. Between aa and bb, only the positive step contributes. After bb, their contributions cancel.



Ramps describe changes in slope

The unit ramp is


r(t)=t u(t).r(t)=t\,u(t).


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


v(t)=∑kΔvk u(t−tk)+∑kΔmk r(t−tk).v(t)=\sum_k\Delta v_k\,u(t-t_k) +\sum_k\Delta m_k\,r(t-t_k).


Here, Δvk\Delta v_k is the jump in voltage at event time tkt_k, while Δmk\Delta m_k 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

Δv u(t−a)\Delta v\,u(t-a)

V

Change in slope

Δm r(t−a)\Delta m\,r(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\ \text{V/s}, −1 V/s-1\ \text{V/s} and zero. Its slope changes are therefore +1+1, −2-2 and +1 V/s+1\ \text{V/s}:


v(t)=(1 V/s)r(t−1 s)−(2 V/s)r(t−3 s)+(1 V/s)r(t−5 s).v(t)=(1\ \text{V/s})r(t-1\ \text{s}) -(2\ \text{V/s})r(t-3\ \text{s}) +(1\ \text{V/s})r(t-5\ \text{s}).


A voltage rises linearly from zero, falls linearly back to zero, and remains zero afterward.


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)f(t) begins at zero, a delayed copy is


f(t−a)u(t−a).f(t-a)u(t-a).


The factor u(t−a)u(t-a) switches it on, while t−at-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)(9\ \text{V})e^{-(t-a)/\tau}u(t-a) begins its decay from 9 V9\ \text{V} at time aa, where τ\tau is a time constant. By contrast, (9 V)e−t/τu(t−a)(9\ \text{V})e^{-t/\tau}u(t-a) begins from the already reduced value (9 V)e−a/τ(9\ \text{V})e^{-a/\tau}.


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−at-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=0t=0, jumps to 3 V3\ \text{V}, rises linearly from 3 V3\ \text{V} to 7 V7\ \text{V} between 2 s2\ \text{s} and 4 s4\ \text{s}, stays at 7 V7\ \text{V} until 6 s6\ \text{s}, and then returns to zero. Values exactly at jumps are not needed.


Let u(t)u(t) be the unit step and r(t)=tu(t)r(t)=tu(t) the unit ramp.


A source voltage jumps to 3 V, rises from 3 V to 7 V between 2 s and 4 s, remains at 7 V until 6 s, and then drops to zero.


a) Find the voltage at t=3 st=3\ \text{s}.


The rising segment has constant slope


m=7 V−3 V4 s−2 s=2 V/s.m=\frac{7\ \text{V}-3\ \text{V}}{4\ \text{s}-2\ \text{s}}=2\ \text{V/s}.


At 3 s3\ \text{s}, the elapsed time since the rise began is ________. The corresponding voltage increase is ________, obtained by multiplying the slope by the elapsed time:


Δv=(2 V/s)(3 s−2 s)=2 V.\Delta v=(2\ \text{V/s})(3\ \text{s}-2\ \text{s})=2\ \text{V}.


Add this increase to the starting level:


v(3 s)=3 V+2 V=5 V.v(3\ \text{s})=3\ \text{V}+2\ \text{V}=5\ \text{V}.


The voltage is 5 V5\ \text{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)(3\ \text{V})u(t). At 2 s2\ \text{s}, the slope changes from zero to ________, so introduce (2 V/s)r(t−2 s)(2\ \text{V/s})r(t-2\ \text{s}).


At 4 s4\ \text{s}, the slope changes from 2 V/s2\ \text{V/s} back to zero. Add −(2 V/s)r(t−4 s)-(2\ \text{V/s})r(t-4\ \text{s}) to cancel the rising slope. Cancel the slope without erasing the voltage already accumulated.


At 6 s6\ \text{s}, the voltage jump is ________, because the new level minus the old level is 0−7=−7 V0-7=-7\ \text{V}. Add the corresponding negative step. The complete expression is


v(t)=(3 V)u(t)+(2 V/s)r(t−2 s)−(2 V/s)r(t−4 s)−(7 V)u(t−6 s).v(t)=(3\ \text{V})u(t)+(2\ \text{V/s})r(t-2\ \text{s})-(2\ \text{V/s})r(t-4\ \text{s})-(7\ \text{V})u(t-6\ \text{s}).


Between 4 s4\ \text{s} and 6 s6\ \text{s}, the ramp terms combine to give


(2 V/s)[(t−2 s)−(t−4 s)]=4 V.(2\ \text{V/s})[(t-2\ \text{s})-(t-4\ \text{s})]=4\ \text{V}.


Together with the initial 3 V3\ \text{V} step, they give the required 7 V7\ \text{V} plateau. After 6 s6\ \text{s}, the last step makes the total voltage 3+4−7=0 V3+4-7=0\ \text{V}.


c) Calculate the voltage-time integral from zero to 6 s6\ \text{s}.


Split the interval into the initial constant segment, the linear rise and the final plateau. The initial segment contributes


I1=(3 V)(2 s)=6 V⋅s.I_1=(3\ \text{V})(2\ \text{s})=6\ \text{V·s}.


For a linear rise, the average voltage is the mean of the two endpoint voltages. The rising segment contributes ________:


I2=3 V+7 V2(2 s)=10 V⋅s.I_2=\frac{3\ \text{V}+7\ \text{V}}{2}(2\ \text{s})=10\ \text{V·s}.


The final plateau contributes ________:


I3=(7 V)(2 s)=14 V⋅s.I_3=(7\ \text{V})(2\ \text{s})=14\ \text{V·s}.


Adding the three contributions gives


∫06 sv(t) dt=6+10+14=30 V⋅s.\int_0^{6\ \text{s}}v(t)\,dt=6+10+14=30\ \text{V·s}.


The voltage-time integral is 30 V⋅s30\ \text{V·s}. The instantaneous jumps contribute no area because they occupy no time interval.

An ideal voltage source produces the pulse shown: zero before 1 s1\ \text{s}, 5 V5\ \text{V} between 1 s1\ \text{s} and 4 s4\ \text{s}, and zero afterward. Which expression represents this voltage away from the switching instants? Let uu denote the unit step.


A voltage is zero before 1 s, equals 5 V between 1 s and 4 s, and is zero afterward.


Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A continuous source voltage is zero before t=0t=0, follows the straight segments shown, and remains at −4 V-4\ \text{V} after 5 s5\ \text{s}. Its decomposition is


v(t)=(1 V/s)r(t)+B r(t−2 s)+C r(t−5 s),v(t)=(1\ \text{V/s})r(t)+B\,r(t-2\ \text{s})+C\,r(t-5\ \text{s}),


where r(t)=tu(t)r(t)=tu(t) is the unit ramp. Determine BB and CC in V/s, each to one decimal place.


A voltage rises from zero at 0 s to 2 V at 2 s, falls to negative 4 V at 5 s, and then remains constant.


Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A test generator produces zero voltage before 3 s3\ \text{s}. Immediately after switching on, its output is 8 V8\ \text{V} and then decays exponentially with a time constant of 2 s2\ \text{s}. Which expression represents the specified output, with uu denoting the unit step?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors