Académique Documents
Professionnel Documents
Culture Documents
Everyday things like automatic door openers in stores, motion sensors in security
systems, and seat-belt warning systems are implemented with digital electronics.
All these digital electronic systems require data to be presented to them in a digital
format (i.e., the data have to be digitally conditioned).
The use of computers is in automobiles, washing machines, airplanes, and a vast host
of other examples.
You should realize that there is no greater accuracy in using digital techniques to
represent data; in fact, accuracy is usually lost.
But digital data are much more immune from spurious influences that would cause
subsequent inaccuracy, such as noise, amplifier gain changes, power supply drifts,
and so on.
Use of computers in control systems is particularly valuable for a number of other
reasons, however:
1. A computer can control multivariable process-control systems.
2. Nonlinearities in sensor output can be linearized by the computer.
3. Complicated control equations can be solved quickly and modified as needed.
4. Networking of control computers allows a large process-control complex to operate
in a fully integrated fashion.
These devices are particularly suited to the solution control problems associated with
Boolean equations and binary logic problems in general.
https://www.analogictips.com/faq-use-op-amp-comparator/
https://www.analog.com/en/analog-dialogue/articles/amplifiers-as-comparators.html#
Open-Collector Comparators
advantages
If the signal voltage has noise or approaches the reference value too slowly. The
comparator output may “jiggle” back and forth between high and low as the reference
level is reached.
This problem can often be solved by providing a dead band or hysteresis window to the
reference level around which output changes occur.
Once the comparator has been triggered high, the reference level is automatically
reduced so that the signal must fall to some value below the old reference before the
comparator goes to the low state.
Need of Sine Pulse Width Modulation (SPWM)
2-level SPWM
3-level SPWM
3.2 Digital-to-Analog Converters (DACs)
Bipolar DAC
Conversion Resolution
Q: Find the reference voltage required to obtain a full 10 V output from the
DAC!
DAC Structure
Generally speaking, a DAC is used as a black box.
No knowledge of the internal workings is required.
There is some value, however, in briefly showing how the conversion is implemented.
The simplest conversion uses a series of op amps for input for which the gains have
been selected to provide an output as given earlier.
The most common variety uses a resistive ladder network to provide transfer function.
DAC Characteristics
Offset Because the DAC is usually implemented with op amps, there may be the
typical output offset voltage with a zero input.
Data latch Many DACs have a data latch built into their inputs. When a logic command
is given to latch data, whatever data are on the input bus will be latched into the DAC,
and the analog output will be updated for that input data.
Conversion time A DAC performs the conversion of digital input to analog output
virtually instantaneously. From the moment that the digital signal is placed on the
inputs to the presence of the analog output voltage is simply the propagation time of
the signal through internal amplifiers.
Discussion on Mid-Term
(NEED PRACTICE!)
• Q-1: Sensitivity and Zero Drift. (59%)
– (a) Sensitivity at 2 temperatures. Slope for linear.
– (b) Zero and sensitivity drift @ 35ºC. Subtract.
– (c) Drift/kg/ºC. Divide by temperature difference.
• Q-2: V = K1K2P. Likely max error in pressure. (63%)
– P = V/K1K2. Error in Product (K1K2). Then Error in
Quotient. Max possible error (V/K1K2)(E1+E2+E3) while
like max error = (E12+E22+E32)1/2. Considered both!
• Q-3: Same as question 2. (38%)
Discussion on Mid-Term
• Q-4: Main difference in digital storage and digital
sampling oscilloscope. Affected parameter. (24%)
– Location of ADC and Op-Amp is swapped.
– Frequency bandwidth is affected.
– Op-amp limits bandwidth. If ADC 1st, better bandwidth
• Q-5: DC bridge with a distant (100 m away)
sensor. (90%)
– Had to multiply the distance by 2 to calculate the total
wire resistance. Deducted 0.5 marks for single side.
Discussion on Mid-Term
• Q-6: Design band-pass filter with specified
attenuations for different frequencies. (37%)
– Slide 46, Example 15. Similar covered in class.
– First find fL using formula for HPF and 0.2 attenuation
– Then find fH using LPF formula and 0.1 attenuation
– Formulae were not given but you did not need to
memorize them, they can be derived in 5 minutes.
– Then assume CL and find RL using RLCL = 1/(2*pi*fL)
– Then find RH using given “r”, & then find CH like above
– Then find signal attenuation using given formula
Discussion on Mid-Term
• Q-7: Design signal conditioning circuit. (61%)
– Pressure range 50-150 psi => Voltage 5-15 V (100mV/psi)
– Needed voltage output = 0-2.5 V
– Gives us two equations: 0=5m+Vo and 2.5=15m+Vo
– We find (Gain) m = 0.25 and (offset) Vo = -1.25 V
– Vout = 0.25Vin – 1.25 or Vout = 0.25(Vin – 5)
– Can use any of the above two equations to make circuit
– Have to consider output impedance of the sensor (2.5k)
in the design
• Can use a voltage follower to eliminate its effect on the circuit
• Or can use it as the input resistance to calculate gain of opamp
Analog-to-Digital Converters (ADCs)
The ADC will find a fractional binary number that gives the closest approximation to the
fraction formed by the input voltage and reference.
Then a negative slope is generated and the counter starts with negative slope and stops when
the negative slope becomes zero and so on…
No need to go into the details of construction of these ADC types.
And, there are other types but we don’t need to get into details of each and every one.
Conversion-Time Consequences
If the input is changing while conversion is taking place, errors will occur.
Consequently, the ADC output will be in error if the magnitude of the input voltage
changes by more than one LSB voltage, del V , during the time of conversion, τc.
Converting the sensor signal into a variable frequency and then using this frequency
as input to a counter for a fixed interval of time.
The output of the counter is then a measure of the frequency and thus sensor signal.
1. A resistor or capacitor in the above circuit can be replaced by a resistive or capacitive sensor.
2. Usually sensors with output in terms of change in capacitance are interfaced with this. WHY?
3. Measuring frequency using a microcontroller is much cheaper and easier than capacitance!
DATA-ACQUISITION SYSTEMS
conversion” flag
Sampling Rate
Measurement Signal Transmission
Alan S. Morris, Chapter 10.
10.2 Electrical Transmission
As most signals already exist in an electrical form as varying analogue voltages, the
simplest mode of transmission is to maintain the signals in the same form.
However, electrical transmission suffers problems of signal attenuation and also
exposes signals to corruption through induced noise.
Special measures have to be taken to overcome these problems.
Signal amplification for high SNR Shielding of the signal wires against noise
10.2.2 Current Loop Transmission
Pneumatic transmission has the advantage of being intrinsically safe, and it provides
similar levels of noise immunity to current loop transmission.
Disadvantage of using air as the transmission medium is that the transmission speed is
much slower than electrical or optical transmission.
Fiber-optic cables are used for signal transmission in three distinct ways.
First, relatively short fiber-optic cables are used as part of various instruments to
transmit light from conventional sensors to a more convenient location for processing.
Second, longer fiber-optic cables are used to connect remote instruments to controllers
in instrumentation networks.
Third, even longer links are used for data transmission systems in telephone and
computer networks.
Wireless Transmission
Wireless telemetry allows signal transmission to take place without laying down a
This can be achieved using either radio or light waves to carry the transmitted signal
Point-to-point telemetry uses a narrowly focused, fine beam of light (usually laser),
Directed telemetry transmits a slightly divergent beam of light that is directed toward
reflective surfaces, such as walls and ceilings in room. Max distance 20 m. TV Remote
Diffuse telemetry is similar to directed telemetry but the beam is even more divergent.
This increases the area of coverage but reduced transmission speed and range.
10.6 Radiotelemetry (Radio Wireless Transmission)
Radiotelemetry is normally used over transmission distances up to 400 miles, although
this can be extended by special techniques to provide communication through space
over millions of miles.
10.7 Digital Transmission Protocols
reduced greatly.
1. IEEE LAN
2. CDMA in telecommunication
3. SERIAL (UART/USART)
4. I2C
5. SPI
6. CAN etc.