SS Notes
Complete study of the ramp signal — definition, mathematical representation, relationship to step and impulse, properties, and engineering applications.
Introduction
The ramp signal is one of the fundamental building blocks in signals and systems theory. It represents a linearly increasing function that starts from zero at the origin — think of it as a car accelerating at a constant rate from rest, or water filling a tank at a steady flow rate. While simpler than exponentials or sinusoids, the ramp signal is essential because it forms the bridge in the hierarchy of basic signals: the impulse, step, and ramp are all related through differentiation and integration.
As a B.Tech student, you will encounter ramp signals in control systems (as a standard test input for determining steady-state error), in circuit analysis (capacitor voltage during constant-current charging), and as a building block for constructing more complex waveforms through superposition.
Mathematical Definition
Continuous-Time Unit Ramp
The continuous-time unit ramp function is defined as:
$$r(t) = \begin{cases} t & t \geq 0 \\ 0 & t < 0 \end{cases}$$
This can be written more compactly as:
$$r(t) = t \cdot u(t)$$
where $u(t)$ is the unit step function. The ramp starts at zero when $t = 0$ and increases linearly with a slope of 1 for all $t > 0$.
A general ramp with slope $a$ is: $x(t) = a \cdot t \cdot u(t) = a \cdot r(t)$
Discrete-Time Unit Ramp
The discrete-time ramp is:
$$r[n] = \begin{cases} n & n \geq 0 \\ 0 & n < 0 \end{cases} = n \cdot u[n]$$
This produces the sequence: $\{\ldots, 0, 0, 0, 1, 2, 3, 4, 5, \ldots\}$
Relationship to Other Basic Signals
The unit impulse, unit step, and unit ramp form a family related through calculus operations:
Differentiation Chain
$$\frac{d}{dt}r(t) = u(t)$$
$$\frac{d}{dt}u(t) = \delta(t)$$
So the ramp is the integral of the step, and the step is the integral of the impulse:
Integration Chain
$$r(t) = \int_{-\infty}^{t} u(\tau) \, d\tau$$
$$u(t) = \int_{-\infty}^{t} \delta(\tau) \, d\tau$$
This hierarchy is fundamental: impulse → step → ramp → parabolic → ... Each successive function is the integral of the previous one and one degree smoother.
Discrete-Time Relationships
$$r[n] = \sum_{k=-\infty}^{n} u[k] = \sum_{k=0}^{n} 1 = n+1 \text{ for } n \geq 0$$
Wait, let me be more careful. Actually:
$$r[n] = \sum_{k=-\infty}^{n-1} u[k] = \sum_{k=0}^{n-1} 1 = n \text{ for } n \geq 1$$
And in the difference operator: $r[n] - r[n-1] = u[n]$ for the running sum relationship.
Properties of the Ramp Signal
Neither Even nor Odd
The ramp function is neither even nor odd. It can be decomposed into even and odd components:
$$r_e(t) = \frac{r(t) + r(-t)}{2} = \frac{t \cdot u(t) + (-t) \cdot u(-t)}{2} = \frac{|t|}{2}$$
$$r_o(t) = \frac{r(t) - r(-t)}{2} = \frac{t \cdot u(t) - (-t)u(-t)}{2} = \frac{t}{2}$$
Energy and Power
The unit ramp is neither an energy signal nor a power signal in the usual sense. Its energy is infinite:
$$E = \int_0^{\infty} t^2 \, dt = \infty$$
And its average power is also infinite:
$$P = \lim_{T \to \infty} \frac{1}{2T} \int_{-T}^{T} |r(t)|^2 dt = \lim_{T \to \infty} \frac{1}{2T} \cdot \frac{T^3}{3} = \infty$$
However, a truncated ramp $r(t)[u(t) - u(t-T)]$ has finite energy: $E = \int_0^T t^2 dt = T^3/3$.
Laplace Transform
$$\mathcal{L}\{r(t)\} = \mathcal{L}\{t \cdot u(t)\} = \frac{1}{s^2}, \quad \text{Re}(s) > 0$$
This follows from the general formula $\mathcal{L}\{t^n u(t)\} = n!/s^{n+1}$ with $n = 1$.
Fourier Transform
The Fourier transform of $r(t)$ can be found using the relationship with $u(t)$:
$$\mathcal{F}\{r(t)\} = \frac{-1}{\omega^2} + j\pi\delta'(\omega)$$
This exists in the distributional sense because the ramp is not absolutely integrable.
Constructing Signals with Ramps
The ramp function is extremely useful for constructing piecewise-linear signals. By combining shifted and scaled ramps, you can create any waveform made of straight-line segments.
Example: Triangular Pulse
A triangular pulse of height 1 and base width 2 centered at origin:
$$\text{tri}(t) = r(t+1) - 2r(t) + r(t-1)$$
Breaking this down:
- $r(t+1)$ starts rising at $t = -1$
- $-2r(t)$ subtracts double the ramp at $t = 0$, creating the peak and downward slope
- $r(t-1)$ brings the signal back to zero at $t = 1$
Example: Sawtooth Wave
A single period of a sawtooth wave from $t = 0$ to $t = T$:
$$x(t) = \frac{A}{T}[r(t) - r(t-T)] - A \cdot u(t-T)$$
Worked Examples
Example 1: Express the signal $x(t) = t$ for $1 \leq t \leq 3$ and zero elsewhere.
Solution: $x(t) = r(t-1) - r(t-3) - 2u(t-3)$
Verification: At $t = 2$: $r(1) - r(-1) - 0 = 1 - 0 = 1$... Actually, let me redo this.
$x(t) = (t)$ for $1 \leq t \leq 3 = t\cdot[u(t-1) - u(t-3)]$
Using ramp: $x(t) = r(t-1) + u(t-1) - r(t-3) - 3u(t-3)$
Check at $t = 2$: $r(1) + u(1) - r(-1) - 3u(-1) = 1 + 1 - 0 - 0 = 2$ ✓ Check at $t = 3$: $r(2) + u(2) - r(0) - 3u(0) = 2 + 1 - 0 - 3 = 0$... Hmm, we want $x(3) = 3$.
Let me reconsider: $x(t) = t[u(t-1) - u(t-3)]$ is the cleanest expression.
Example 2: Find the Laplace transform of $x(t) = 3r(t-2)$.
Solution: Using time-shifting property: $\mathcal{L}\{r(t-2)u(t-2)\} = \frac{e^{-2s}}{s^2}$
Therefore: $X(s) = \frac{3e^{-2s}}{s^2}$
Example 3: If $x(t) = r(t) - 2r(t-1) + r(t-2)$, describe and sketch the signal.
Solution: This creates a triangular pulse:
- From $t=0$ to $t=1$: ramp goes up with slope 1
- At $t=1$: $-2r(t-1)$ subtracts slope 2, net slope becomes -1
- At $t=2$: $+r(t-2)$ adds slope 1, net slope becomes 0
Result: Triangle with peak value 1 at $t = 1$, zero at $t = 0$ and $t = 2$.
Applications in Engineering
- Control systems: Ramp input tests a system's ability to track a constantly changing reference (steady-state error for ramp input is $1/K_v$, where $K_v$ is the velocity error constant)
- Capacitor charging: Constant current into a capacitor produces a ramp voltage: $v(t) = \frac{I}{C}t$
- DAC output: Digital-to-analog converters produce staircase approximations to ramps
- Signal construction: Any piecewise-linear waveform is built from superposition of shifted ramps
- Integration operation: The ramp output is the result of integrating a step input
Key Takeaways
- The unit ramp $r(t) = t \cdot u(t)$ is a linearly increasing signal starting at the origin
- It relates to other basic signals: $\delta(t) \xrightarrow{\int} u(t) \xrightarrow{\int} r(t)$
- The Laplace transform of $r(t)$ is $1/s^2$ — one integration deeper than the step ($1/s$)
- Piecewise-linear signals are constructed by combining shifted, scaled ramps and steps
- The ramp is a standard test input in control theory for evaluating tracking performance
- The ramp has infinite energy and infinite average power — it is neither an energy nor power signal
Exam Focus
Revise definitions, diagrams, examples, and short-answer points for Ramp Signal.
Interview Use
Prepare one clear explanation, one practical example, and one common mistake for this Signals & Systems topic.
Search Terms
signal-systems, signals & systems, signal, systems, basic, signals, ramp, ramp signal
Related Signals & Systems Topics