Unit 1: Introduction to Signals
1. Introduction: Signals and Information Processing
In electrical, electronic, communications, and robotics engineering, a signal is formally defined as a mathematical function of one or more independent variables that carries information about the state or behavior of a physical system.
Common physical examples of signals include:
- The time-varying voltage measured across a circuit capacitor or sensor load,
- The acoustic pressure variation picked up by a robot microphone,
- The discrete pixel luminance matrix captured by a machine vision camera sensor,
- The joint angular position sampled by an optical shaft encoder at clock cycles .
A system is a physical device or mathematical operator that takes an input signal (excitation) and transforms it into an output signal (response):
CODE+---------------------------------------------------------------------------------------------------+ | THE GENERAL SIGNAL & SYSTEM ARCHITECTURE | +---------------------------------------------------------------------------------------------------+ | PHYSICAL EXCITATION SYSTEM OPERATOR T{.} PROCESSED RESPONSE | | Input Signal x(t) or x[n] ===> [ Filter / Modulator / Controller ] ===> Output Signal y(t) | | | | CONTINUOUS-TIME (CT): DISCRETE-TIME (DT): SAMPLING INTERFACE: | | t in R (Continuum) n in Z (Integers) x[n] = x(n * T_s) | | Analog Voltages, Accelerations Microcontroller Digital Registers Analog-to-Digital (ADC) | +---------------------------------------------------------------------------------------------------+
2. Continuous-Time (CT) vs. Discrete-Time (DT) Signals
Signals are fundamentally categorized based on the nature of their independent variable:
2.1 Continuous-Time (CT) Signals
A signal is continuous-time if its independent variable is continuous, taking values across a continuum of real numbers . The signal value is defined at every infinitesimal instant of time. Physical voltages, currents, biological EEG/ECG signals, and acoustic sound waves are inherently continuous-time.
2.2 Discrete-Time (DT) Signals
A signal is discrete-time if its independent variable takes values only from a discrete, countable set of integers .
- By universal convention, discrete signals are written with square brackets .
- A discrete-time signal is often generated by uniformly sampling a continuous-time signal at a sampling period :
- Notice that is strictly undefined for non-integer values of (e.g. is mathematically meaningless).
3. Transformations of the Independent Variable
Signal processing frequently modifies the time axis of signals via three elementary operations: time shifting, time reflection (reversal), and time scaling.
CODE+---------------------------------------------------------------------------------------------------+ | ELEMENTARY TIME-AXIS TRANSFORMATIONS OF x(t) | +-------------------+-----------------------+-------------------------------------------------------+ | TRANSFORMATION | MATHEMATICAL FORM | PHYSICAL EFFECT / INTERPRETATION | +-------------------+-----------------------+-------------------------------------------------------+ | Time Shifting | x(t - t_0) | Right-shift (Delay) if t_0 > 0; Left-shift if t_0 < 0 | | Time Reflection | x(-t) | Mirror flip about vertical axis t = 0 (Time Reversal) | | Time Compression | x(a * t), |a| > 1 | Signal plays faster; compressed by factor |a| | | Time Expansion | x(a * t), 0 < |a| < 1 | Signal plays slower; stretched out by factor 1/|a| | +-------------------+-----------------------+-------------------------------------------------------+
3.1 Composite Transformations:
When applying combined scaling and shifting to evaluate , the order of mathematical operations is critical:
- Method 1 (Shift then Scale):
- First shift by to obtain intermediate signal .
- Then scale the time variable by : .
- Method 2 (Scale then Shift - Factored Form):
Factor out : .- First scale by to form .
- Then shift by the effective amount : .
Example: To construct , factor as . The signal is first compressed horizontally by a factor of 2, and then shifted to the left by 2 units.
4. Signal Classifications: Energy, Power, Periodicity, and Symmetry
4.1 Energy and Power Signals
The physical energy dissipated by a voltage signal across a resistor over interval leads to the definitions of total energy and average power :
-
Continuous-Time Energy & Power:
-
Discrete-Time Energy & Power:
-
Classification Categories:
- Energy Signal: A signal with finite total energy (). Its average power is necessarily zero (). Examples: Single finite-duration pulses, exponentially decaying transients ().
- Power Signal: A signal with finite, non-zero average power (). Its total energy is infinite (). Examples: Periodic sinusoids , unit step function , constant DC signals.
- Neither Energy nor Power: Signals whose energy and power both diverge to infinity ( and ). Examples: Growing ramps , exponentially growing signals ().
4.2 Periodic vs. Aperiodic Signals
-
Continuous-Time Periodicity:
A signal is periodic if there exists a positive real constant such that:
The smallest positive value satisfying this condition is the fundamental period. The fundamental angular frequency is (or cyclic frequency ).- The sum of two continuous periodic signals and with periods and is periodic if and only if the ratio of their periods is a rational number:
The fundamental period of the composite signal is the Least Common Multiple: .
- The sum of two continuous periodic signals and with periods and is periodic if and only if the ratio of their periods is a rational number:
-
Discrete-Time Periodicity (Crucial Contrast):
A discrete-time sequence is periodic if there exists a positive integer such that:
- Key Difference from Continuous Time: A continuous sinusoid is always periodic for any real frequency . However, a discrete sinusoid is periodic if and only if its frequency is a rational multiple of :
If this condition is met, the fundamental period is where is the smallest integer making an integer. If is irrational (e.g. ), the sequence is strictly aperiodic!
- Key Difference from Continuous Time: A continuous sinusoid is always periodic for any real frequency . However, a discrete sinusoid is periodic if and only if its frequency is a rational multiple of :
4.3 Even and Odd Symmetry
-
Definitions:
- Even Signal: Symmetric about the vertical axis:
- Odd Signal: Antisymmetric about the origin:
Property: For any continuous odd signal, .
- Even Signal: Symmetric about the vertical axis:
-
Even-Odd Decomposition:
Every arbitrary signal can be uniquely decomposed into the sum of an even component and an odd component :
where:
-
Definite Integral Properties:
5. Elementary Standard Signals
5.1 The Continuous-Time Unit Impulse (Dirac Delta)
The Dirac delta is not a conventional function in the classical sense, but a generalized function (distribution) defined by its operational effect under an integral:
CODE+---------------------------------------------------------------------------------------------------+ | THE SIFTING PROPERTY OF delta(t) | +---------------------------------------------------------------------------------------------------+ | x(t) ^ | | | x(t_0) * delta(t - t_0) | | | ^ | | | | Area = x(t_0) | | | .-------*-----------|----------. | | | .- | | -. True Signal x(t) | | | .- | | -. | | +----+------------+-----------+---------------+---------------------> Time t | | -inf 0 t_0 +inf | | | | Mathematical Formula: int_{-inf}^{+inf} x(t) * delta(t - t_0) dt = x(t_0) | +---------------------------------------------------------------------------------------------------+
- Fundamental Operational Properties:
- Sifting (Sampling) Property:
- Product Property:
- Time-Scaling Property:
- Even Symmetry:
- Unit Doublet (Derivative of Impulse):
- Sifting (Sampling) Property:
5.2 The Discrete-Time Unit Impulse (Kronecker Delta)
Unlike the continuous Dirac delta, the discrete impulse is a true, simple function:
- Discrete Sifting Property:
5.3 The Unit Step Function and
-
Continuous-Time Unit Step:
- Relationship with Impulse:
- Relationship with Impulse:
-
Discrete-Time Unit Step:
- Relationship with Discrete Impulse:
- Relationship with Discrete Impulse:
5.4 The Unit Ramp Function and
6. Exponential and Sinusoidal Signals
6.1 Real Exponential Signals:
- Decaying Exponential (): Energy signal (). Models passive RC circuit discharge or robot joint damping decay.
- Growing Exponential (): Neither energy nor power signal. Models unstable open-loop systems.
- Constant DC Signal (): Power signal with .
6.2 Complex Exponential Signals:
Let :
- If : , representing pure, undamped harmonic oscillation with fundamental period and average power .
- If : Exponentially damped sinusoid (stable underdamped physical response).
- If : Exponentially growing sinusoid (unstable flutter/resonance).
6.3 Discrete-Time Complex Exponentials:
- Periodicity in Frequency:
Unlike continuous-time signals where different always yield distinct signals, discrete complex exponentials are identical when their frequencies differ by any integer multiple of .- All unique discrete frequencies lie within a fundamental interval of length , typically or .
- Low frequencies occur near .
- Highest frequency of oscillation occurs at .
7. Summary Comparison of Signal Classifications
CODE+---------------------------+-----------------------------------+-----------------------------------+ | CHARACTERISTIC | CONTINUOUS-TIME (CT) | DISCRETE-TIME (DT) | +---------------------------+-----------------------------------+-----------------------------------+ | Independent Variable | t in R (Continuum) | n in Z (Integers) | | Unit Impulse | Dirac delta(t) (Infinite height) | Kronecker delta[n] = 1 at n = 0 | | Step-Impulse Relation | delta(t) = d/dt [u(t)] | delta[n] = u[n] - u[n-1] | | Total Energy E | int_{-inf}^{+inf} |x(t)|^2 dt | sum_{n=-inf}^{+inf} |x[n]|^2 | | Average Power P | lim 1/(2T) int_{-T}^{+T} |x(t)|^2 dt| lim 1/(2N+1) sum_{-N}^{+N} |x[n]|^2| | Sinusoid Periodicity | ALWAYS periodic for any omega_0 | Periodic ONLY if omega_0/(2pi) in Q| | Distinct Frequencies | Distinct for all real omega_0 | Identical for omega_0 + 2*pi*k | | Highest Rate of Oscil. | Approaches infinity as omega -> inf| Occurs at omega_0 = +/- pi | | Even / Odd Decomposition | x(t) = x_e(t) + x_o(t) | x[n] = x_e[n] + x_o[n] | +---------------------------+-----------------------------------+-----------------------------------+