ModuleIII A SignalConditioning
ModuleIII A SignalConditioning
Topics to be covered
Signal Representation
Using physics-based laws and ordinary differential equations (ODEs) relationships between inputs
and outputs can be expressed easily for continuous time systems.
Based on measured outputs and inputs various signal characteristics is assessed and analyzed.
Analog Signal
An analog signal is any continuous signal for which the time-varying feature of the signal is a
representation of some other time-varying quantity, i.e., analogous to another time-varying signal.
Digital Signal
A digital signal is a signal that is constructed from a discrete set of waveforms of a physical quantity so as
to represent a sequence of discrete values.
Multiplication by a scalar
Notice 0y is always the “zero” signal, where 0(t) = 0 for all t ∈ R, and 0[k] = 0 for all k ∈ Z, and
1y = y.
Let u and v be two signals of the same kind (i.e., both in continuous or discrete time).
The signal u + v is defined as:
The computer may then modify the system by outputting control signals. The digital control signals
are converted to analog signals using a digital-to-analog converter (DAC).
The analog signals are conditioned (e.g. amplified and filtered) appropriately for an actuator.
The actuator interacts with the system to give the desired response.
Engineering signals are continuous: voltage that varies over time; a chemical reaction rate that
depends on temperature, etc.
Analog-to-Digital Conversion (ADC) and Digital-to-Analog Conversion (DAC) allow digital
computers to interact with these signals.
Converting the stored number to the binary number, which typically consists of an n-bit binary
output word length.
Fig: If a signal is sampled at less than two times its maximum frequency component, aliasing can result.
Dr. Jagat Jyoti Rath Mechatronics 19 / 34
Analog to Digital Conversion
Quantization
Quantizing is defined as the transformation of a continuous analog input into a set of discrete output states.
Coding is the assignment of a digital code word or number to each output state.
The stair-step signal represents the states of a digital signal generated by sampling a linear ramp analog
signal.
ADC
An analog-to-digital converter (ADC) is an electronic device that converts an analog voltage to a digital
code.
The output of the A/D converter can be directly interfaced to digital devices such as microcontrollers and
computers.
Resolution of an ADC
The resolution of an A/D converter is the number of bits used to digitally approximate the analog value of
the input.
The precision of the ANALOG to DIGITAL conversion process determines how small a voltage change
(i.e. output) can be detected. In other words, it defines the resolution of the entire process.
Fig: The number of bits (resolution) of ADC determines the precision i.e. 2n .
The analog quantization size (or resolution) Q is defined as the full-scale range of the ADC divided by the
number of output states:
Vmax − Vmin
Q=
2n
Ex: A 3-bit D/A converter is set for a 0 to 10 V output range. Map all of the possible digital input values to
their corresponding analog output values. What can you comment about the resolution?
What?
Often we need to reverse the process of A/D conversion by changing a digital value to an analog voltage.
This is called digital-to-analog (D/A) conversion.
A D/A converter allows a computer or other digital device to interface with external analog circuits and
devices.
Ex: An 8-bit R-2R DAC has a Vref of 10 Volts. The binary input is 10011011. Find the analog output
voltage.
What?
Any computer with proper I/O interface devices (digital and analog I/O) and software tools can be
used as a controller.
An embedded computer uses only the necessary hardware and software components and is much
smaller than a non-embedded computer, such as a desktop PC.
What?
The microprocessor, which is the brain of modern computers, is an integrated circuit (or a chip) that has a
processor which consists of many digital circuits.
Systems using microprocessors basically have three parts: a central the processing unit (CPU) to recognize
and carry out program instructions (this is the part that uses the microprocessor), input and output
interfaces to handle communications between the microprocessor and the the outside world (the term port
is used for the interface), and memory to hold the program instructions and data.
What?
It is a single-chip device that contains a processor along with memory and interface devices on the same
integrated circuit chip. The microcontroller uses an internal bus to communicate with memory and other
devices on the chip.
Some examples of the popular microcontroller are 8051, AVR, PIC series of microcontroller.
Microcontrollers:
Contains a processor core, ROM, RAM, and I/O pins dedicated to performing various tasks.
Used in projects and applications that require direct control by users.