spc ut-3 ppt
spc ut-3 ppt
Signal means ?
Any quantity that can vary over space or time can
be used as a signal to share messages between
observers
A signal may also be defined as any observable
Introduction to Signal Communication change in a quantity over space or time, even if it
does not carry information
1
In human engineering, signals are typically provided
In nature, signals can be actions done by an
by a sensor, and often the original form of a signal is
organism to alert other organisms, ranging from the
converted to another form of energy using
release of plant chemicals to warn nearby plants of
a transducer.
a predator
For example, a microphone converts an acoustic
To sounds or motions made by animals to alert
signal to a voltage waveform, and a speaker does
other animals of food. the reverse.
Signaling occurs in all organisms even at cellular
A signal is an electromagnetic or electrical current
levels, with cell signaling.
that is used for carrying data from one system or
Signaling theory, in evolutionary biology, proposes network to another. The signal is a function that
that a substantial driver for evolution is the ability of conveys information about a phenomenon. In
animals to communicate with each other by electronics and telecommunications, it refers to any
developing ways of signaling. time-varying voltage that is an electromagnetic wave
which carries information.
2
What is a Digital Signal?
A digital signal is a signal that is used to represent data as a
sequence of separate values at any point in time. It can only
take on one of a fixed number of values. This type of signal
represents a real number within a constant range of values.
3
4
5
Signal Communication
Types- Synchronous,
Asynchronous, Serial, Parallel
6
• Serial transmission is cheaper than parallel for two
main reasons:
• less wires needed
• much less complex and size in transmitting and
receiving interfaces
• Serial transmission is much more reliable over long
distance without suffering from "skew". "Skew" can develop
in parallel transimission due to slightly different properties in
each parallel wire, which could result in different bits travel
at different speeds.
• In parallel transmission, a signal transmitted on one wire
could create an undesired effect in another wire, resulting in
the phenomenon called "crosstalk". This is particularly
prominent when using high frequency.
• Serial transmission can transmit data at a higher
frequency (high bit rate) without suffering "crosstalk".
7
Bandwidth
Protocol
The amount of data that can be transmitted from one point to another
in a given time period (usually a second).
Bandwidth is usually expressed in bits per second (bps)
•Protocol is a set of standardized rules used for governing
Modern networks typically have speeds measured in the millions of
communications between devices.
bits per second (megabits per second, or Mbps) or billions of bits per •Standardized rules allow communications between
second (gigabits per second, or Gbps). different devices possible.
•Those rules can include:
Latency •speed
Latency is the delay from the start of the transmission to the time the •data format
data transmitted arrive at the destination. •error detection and correction
Latency is the wait time introduced by the signal travelling the •mode of transmission
geographical distance as well as over the various pieces of •physical connections, cabling
communications equipment.
Even fiber optics are limited by more than just the speed of light, as
the refractive index of the cable and all repeaters or amplifiers along
their length introduce delays.
Synchronous Transmission
8
Asynchronous Transmission
• Signals are sent in an agreed pattern of bits and if both ends are
agreed on the pattern then communication can take place.
• Bits are grouped together and consist of both data and control
bits.
• If the signal is not synchronized, the receiver will not be able to
distinguish when the next group of bits will arrive. To overcome
this the data is preceded by a start bit, usually binary 0, the byte
is then sent and a stop bit or bits are added to the end.
• In addition to the control data, small gaps are inserted between
each chunk to distinguish each group.
• Each bit remains timed in the usual way. Therefore, at bit level
the transmission is still synchronous (timed).
• Asynchronous transmission is relatively slow due to the
increased number of bits and gaps. It is a cheap and effective
form of serial transmission and is particularly suited for low speed
connections such as keyboard and mouse.
9
A continuous signal or an analog signal can be represented in
the digital version in the form of samples. Here, these samples
are also called as discrete points.
In sampling theorem, the input signal is in an analog form of
signal and the second input signal is a sampling signal, which is
a pulse train signal and each pulse is equidistance with a period
of “Ts”.
This sampling signal frequency should be more than twice of the
input analog signal frequency. If this condition satisfies, analog
signal perfectly represented in discrete form else analog signal
may be losing its amplitude values for certain time intervals.
How many times the sampling frequency is more than the input
analog signal frequency, in the same way, the sampled signal is
going to be a perfect discrete form of signal. And these types of
discrete signals are well performed in the reconstruction process
for recovering the original signal.
10
Sampling Output Waveforms
If the sampling frequency (Fs) equals twice the
input signal frequency (Fm), then such a
condition is called the Nyquist Criteria for
sampling. When sampling frequency equals twice
the input signal frequency is known as “Nyquist
rate”.
Fs=2Fm
As per Nyquist
Theorem :
fs 2 fc
11
Aliasing
12
If a signal is sampled with a 32 KHz sampling rate, any
frequency components above 16 KHz – Nyquist frequency,
create an aliasing.
Any frequency component above SR/2 is indistinguishable from
a lower-frequency component, called an alias, associated with
one of the copies.
The Fourier transfom of the signal creates a symetrical image.
The energy above the Nyquist frequency is transfered below this
frequency.
The blue signal is bandlimited and properly sampled. The images do not overlap.
13
Data acquisition system (DAS) The data acquisition system can be divided into two types:
• Analog data acquisition system
• Digital data acquisition system
Data acquisition system (DAS) is a computerized system that
collects data from the real world, converts it into the form of The analog data acquisition system gives an analog output
electrical signals and do required processing on it for storage, whereas the digital data acquisition system gives a digital output.
and presentation on computers. Analog DAS is used when wide frequency width is required or
The complete system is controlled and operated by a software when lower accuracies can be tolerated.
application. This software application is developed by using Digital DAS is used when physical quantity being monitored has
general-purpose high-level programming languages like C, C++, a narrow bandwidth (i.e. when the quantity varies slowly). Also,
java, etc. high accuracy and low per channel cost are required. These are
These systems are used in industrial and commercial fields. more complex than analog DAS.
They are used for collecting, storing and processing of data.
14
The function of each block of DAS: Signal Conditioning Unit: The signal produced by the
transducers may or may not be very suitable for our
Transducers: They are converting physical quantities (such as
temperature, pressure, etc.) into electrical quantities, or measuring
system to work properly. It may be very weak, very strong
electrical quantities directly. They collect data from the physical or may have some noise.
world.
The most commonly used transducers are: To convert this signal into the most suitable form,
• RTDs, thermocouples, and thermistors for temperature measurements.
amplification, and filtration is done respectively by signal
• Photosensors for light measurements.
conditioning unit. So the signal conditioning unit converts
electrical signals in the most suitable form.
• Strain gauges, piezoelectric transducers for force and pressure
measurements.
• Microphone for sound measurements.
• Potentiometer, LVDT, optical encoder for position and displacement
measurements.
Multiplexer: The multiplexer receives multiple analog inputs and Objectives of Data Acquisition System
provides a single output signal according to the requirements.
If a separate channel is used for each quantity, the cost of installation, • It must collect the necessary data at the correct speed.
maintenance, and periodic replacement becomes high. Therefore, a • It must use all the data efficiently to inform the operator about the
single channel is used which is shared by various quantities. state of the system.
• It must monitor the complete system operation to maintain on-line
Analog to Digital (A/D) Converters: The data is converted into digital optimum and safe operations.
form by A/D converters. • It must be able to summarize and store data for the diagnosis of
After the conversion of data into digital form, it is displayed with the operation and record purpose.
help of oscilloscopes, numerical displays, panel meters to monitor the • It must be flexible for future requirements.
complete system. • It must be reliable and not have a downtime of more than 0.1%.
Also, the data can be either permanently or temporarily stored or • It must provide an effective communication system.
recorded according to the requirement. The data is recorded on
optical, ultraviolet, stylus or ink recorders for future use.
15
Applications of Data Acquisition System Interfacing of Sensor / Actuator to DAQ
Data Acquisition
Actuators System
16
Steps in DAQ Important in DAQ
• The sensor measures behavior of system • Resolution (bits) & bit width
• The output from the sensor is conditioned (amplified, filtered, etc.).
• Precision of ANALOG to DIGITAL conversion process is
• The conditioned analog signal is digitized using an analog-to-digital
converter (ADC) dependent upon the number (n) of bits the ADC of DAQ is
• The digital information is acquired, processed and recorded by the used.
computer.
• The computer may then modify the system by outputting control • The higher the resolution, the higher the number of division
signals. The digital control signals are converted to analog signals
the voltage range is broken into (2n), and therefore, the
using a digital-to-analog converter (DAC).
• The analog signals are conditioned (e.g. amplified and filtered) smaller detectable voltage changes.
appropriately for an actuator
• The actuator interacts with the system to give desired response
Resolution Example
1-bit analog to
digital conversion
2-bit analog to
digital conversion
3-bit analog to
digital conversion
17
How does ADC Work?
Analog to digital conversion is a two-step process:
state
Vmax Vmin • This code is fed into the DAC, which then
Q supplies the analog equivalent of this
2n digital code into the comparator circuit for
comparison with the sampled input
where
voltage.
(Vmax – Vmin) is range of the ADC
• If this analog voltage exceeds Vin the
comparator causes the SAR to reset this
bit; otherwise, the bit is left a 1.
n is bit of ADC
• Then the next bit is set to 1 and the same
test is done, continuing this until every bit
in the SAR has been tested.
• The resulting code is the digital
approximation of the sampled input
SAR type ADC voltage
18
SAR ADC 1) Successive approximation is one of the most widely and popularly
used ADC technique. It uses an efficient “code search” strategy to
complete n-bit conversion in just n-clock periods. Thus it takes much
shorter conversion time than counter type ADC.
2) Figure 1 shows the block diagram of successive approximation DAC.
An four bit converter would require eight clock pulses to obtain a digital
output.
3) To start conversion “SOC” input is made 1. As soon as “SOC” input is
1, SAR will set MSB to 1 and all other bits to 0 so that trial code output
of SAR is D1,D2,D3,D4 = 1000.
4) The output of SAR is then applied to DAC. The corresponding output
DAC VDVD is applied to comparator.
5) If VD< Va i.e trial code is less than the correct digital representation
then output goes high which is applied to SAR.
6) In response to high comparator output, MSB D1 is maintained at 1
and the next bit D2 is made 1. The trial code at the SAR output now
becomes 1100. The corresponding DAC output is compared with Va and
the process continues.
7) However for the first trial code, VD>Va, then the comparator output will go
low i.e. 0. The SAR will respond to it by reseting its MSB bits D1 to 0 and next bit
D2=1 so that the new trial code is 0100.
8) The procedure is repeated for all the subsequent bit one at a time, until all bit
position are tested. When all the bit positions are tested, end of conversion
(EOC) output goes high to indicate conversion is over.
9) The complete conversion sequence for 4-bit successive approximation ADC is
shown in Figure 2. It can be seen that the DAC output voltage becomes
successively closer to the actual analog input voltage. It requires n pulses
equivalent to n bits to establish the accurate output regardless of the value of
the analog input.
•The conversion time is equal to “n” clock cycle period for n-bit ADC. Thus
conversion time is very short for example, for 12-bit ADC with clock frequency
of 1MHz, the conversion time will be 12×1µs=12µs only.
19
20
21
R-2R Digital -Analog Conversion Digital - Analog Converter
Example
An 8-bit DAC has a Vref of 10 V. The binary input is
10011011. Find the analog output voltage.
22
Voltage Amplifier
• A non-inverting type voltage amplifier
• Amplified output voltage
• Voltage input is applied to non-inverting terminal
• Gain is positive and greater than unity
• Consists of feedback resistor, Rf, to give stable, self-correcting and un-
saturated output
R
Vout Vin 1 f
R2
23
Current Amplifier A current amplifier circuit is a circuit which amplifies the input current
by a fixed factor and feeds it to the succeeding circuit.
A current amplifier is somewhat similar to a voltage buffer but the
• Amplifies current in a step by step process
difference is that an ideal voltage buffer will try to deliver whatever
current required by the load while keeping the input and output
• Realized using multiple transistors
voltages same, where a current amplifier supplies the succeeding stage
with a current that is a fixed multiple of the input current.
• β is the gain of the transistor= collector current / base current = IC/IB
A current amplifier can be realized using transistors. The schematic of a
• Output current is the product of input current and the gain, β current amplifier circuit using transistors is shown in the above figure.
Two transistors are used in this circuit. β1 and β2 are the current gains
of transistors Q1 and Q2 respectively. Iin is the input current, Iout is the
output current and +Vcc is the transistor T2’s collector voltage The
equation for the output current is Iout=β1β2Iin
Thank You
24