Professional Documents
Culture Documents
28. Direct sensing Content 28.1 Sensing devices 28.2 The ideal operational amplifier 28.3 Operational amplifier circuits 28.4 Output devices Learning outcomes Candidates should be able to: (a) show an understanding that an electronic sensor consists of a sensing device and a circuit that provides an output voltage (b) show an understanding of the change in resistance with light intensity of a light-dependent resistor (LDR) (c) sketch the temperature characteristic of a negative temperature coefficient thermistor (d) show an understanding of the action of a piezo-electric transducer and its application in a simple microphone (e) describe the structure of a metal-wire strain gauge (f) relate extension of a strain gauge to change in resistance of the gauge (g) show an understanding that the output from sensing devices can be registered as a voltage
(h) recall the main properties of the ideal operational amplifier (op-amp) (i) deduce, from the properties of an ideal operational amplifier, the use of an operational amplifier as a comparator (j) show an understanding of the effects of negative feedback on the gain of an operational amplifier (k) recall the circuit diagrams for both the inverting and the non-inverting amplifier for single signal input (l) show an understanding of the virtual earth approximation and derive an expression for the gain of inverting amplifiers (m) recall and use expressions for the voltage gain of inverting and of non-inverting amplifiers (n) show an understanding of the use of relays in electronic circuits (o) show an understanding of the use of light-emitting diodes (LEDs) as devices to indicate the state of the output of electronic circuits (p) show an understanding of the need for calibration where digital or analogue meters are used as output devices.
Direct sensing
This topic deals with how circuits incorporating sensing device/s that detect changes in the physical properties produce output voltages that will operate an output An electronic sensor or circuit may be thought of as made up of 3 parts namely; a sensing device, into a processing unit and to an output device
piezoelectric
Sensing devices
There are simple sensors and complex sensors Simple sensors e.g. those detecting temperature in a thermostat or a sensor detecting light levels in an automatic switch for a lamp Complex sensors e.g. those detecting whether a car wheel is skidding in a braking system and the circuit controlling not only the brakes but also to stop the skidding and to stop further skidding The sensing device is the 1st stage of any electronic sensor and is the means by which whatever is to be detected or monitored is converted into an electrical signal i.e. a voltage Ideally, the generated voltage should be proportional to the external change causing it Sensing devices detect many different types of changes e.g. changes in length, mass, weight, force, velocity, acceleration, current, voltage, light intensity, temperature, sound level, humidity, pressure, strain, magnetic field We shall consider 4 sensing devices light dependent resistor(LDR), thermistor, piezo-electric transducer and the metal wire strain gauge
6
LDR properties
Resistance
Lux
Symbol is as above It consists of 2 metal grids or electrodes that intersect each other whose space between is filled with a semiconductor material e.g. cadmium sulphide doped with copper When light is incident on the semiconductor material, the number of electrons in the semiconductor that are free to conduct increases Light intensity is measured in lux which is a unit used to measure the light power incident per unit area of a surface The higher the intensity of light on the LDR, the greater the number of electrons that can move freely hence as intensity of light increases, the resistance of the LDR decreases i.e. more current, same p.d. R decreases Typical LDR data: (a) normal room lighting 450 lux, LDR resistance 900 ohms (b) sunlight 28000 lux, LDR resistance 100 ohms
7
Thermistor
Symbol is as above Resistance of most metals increases to a certain extent with rise in temperature i.e. positive temperature coefficient(ptc) Resistance of thermistor also changes with temperature but with negative temperature coefficient(ntc) Thermistors manufactured in various shapes and sizes including rods, discs and beads, are of 2 types (i) positive temp coefficient, ptc - R increases with temp rise (ii) negative temp coefficient, ntc - R decreases with temp rise Ptc made of ceramic or semiconductor Ntc made of semiconductor and metal oxides Typical thermistor data: (a) 20C thermistor resistance - 1800 ohms (b) 40C thermistor resistance - 900 ohms
9
Thermistor
10
Thermistor
Linear or non-linear? Variation with temperature of a typical thermistor is non-linear and in fact is approximately exponential over a limited range of temperature Which part of the graph shows resistance changes more with temperature?
11
Piezo-electric effect
Piezo-electric devices contain a crystal which can expand and compress when external pressure is varied e.g. quartz The crystals structure is such that the centre of positive charges coincides with the centre of negative charges when not stressed When expanded, both centres will not coincide. When compressed, the centres will be in the opposite direction as compared to under expansion. The separation results in a voltage across the crystal surface and this effect is known as the piezo-electric effect
12
Piezo-electric effect
13
Piezo-electric transducer
A piezo-electric device/transducer is a sensor that detects differences in pressure (sound wave) Variation in pressure will result in an a.c voltage The magnitude of the voltage generated depends on the magnitude of the pressure on the crystal and the polarity depends on whether the crystal is compressed or expanded i.e. whether the pressure is greater than or less than the ambient pressure A transducer is any device that converts energy from one form to another The piezoelectric transducer converts mechanical energy (vibration) into electrical energy in the form of a.c voltages It also can convert electrical voltages back to vibration. Hence it acts as a receiver as well as an emitter. To detect the voltages, opposite faces of the crystal are coated with a metal (silver) and electrical connections are made to these metal films and since the voltages are very small they are amplified The crystal and its amplifier may be used as a simple microphone for converting sound signals into electrical signals
14
Strain Gauge
In engineering, it is frequently required to test for the strains experienced in different parts of structures This is achieved by using a length of very fine wire embedded and sealed into a small rectangle of thin plastic known as a strain gauge, as shown below Its resistance changes when the gauge is stretched. The wire since it is strained increases in length together with the plastic. As the length increases the cross sectional area decreases causing an increase in the electrical resistance of the wire
15
Strain Gauge
16
Strain Gauge
R = L/A If the wire increases in length by only a small amount L, then the change in the cross-sectional area can be assumed to be negligible and the new resistance is given by
(R + R) = (L +L) /A,
By subtracting the above 2 expressions, the change in resistance R is given by R = L/A hence R L since it is assumed that A is a constant and is also a constant Since strain is proportional to the extension, then the strain is also proportional to the change in resistance
17
Processing units
The change in the physical property of a sensing device must be processed in some way before the change can be displayed or measured or is used to control This is carried out by the processing unit which is some form of an electrical circuit that is connected to the sensing device which provides a voltage at its output If the voltage is small, it is usually necessary to amplify it or it may require further processing before the voltage can be used to control an output device 2 such circuits are the potential divider circuit and the operational amplifier circuit
18
19
Example
A potential divider consists of a battery of e.m.f. 6.00 V and negligible internal resistance connected in series with a resistor of resistance 120 ohms and a variable resistor of resistance 0 to 200 ohms. Determine the range of potential difference that can be obtained across the fixed resistor. Solution When the variable resistor is 0 ohm, p.d. across fixed resistor is = 6.00 V When the variable resistor is 200 ohms, p.d. across fixed resistor is = 120/(120 + 200) x 6.00 = 2.25 V Hence the range of potential difference across the fixed resistor is = 2.25 V to 6.00 V
20
Any small change in voltage can be amplified using an electrical circuit incorporating a circuit called an operational amplifier (op-amp). It is referred to as an operational amplifier because the circuit can easily be made to carry out different operations e.g. acting as a switch, amplifying direct voltages, amplifying alternating voltages, comparing 2 voltages A key component in electronics is the transistor, which is a semiconductor. It can amplify or act as a switch An integrated circuit(IC) is a package that may have thousands of transistors and other components formed on a single chip of silicon An op-amp contains about 24 transistors together with resistors and capacitors. It is referred to as an integrated circuit because all the components are formed on a small slice of a semiconductor(e.g. silicon or germanium) with external connections to enable the op-amp to be connected into a circuit and the whole assembly is encapsulated An op-amp and some of its connections or terminals and its symbol is as shown below:
21
22
23
24
cont
The power supply for an op-amp is a 3-terminal DC supply made up of 0 V earth and typically +/- 9 V. This a called a dual, or split, power supply. The op-amp is powered by the dual power supply. Current that flows within the op-amp comes from the power supply, not from inputs to the op-amp input terminals Power supply lines connect to the power supply
The common link between the two sets of batteries or power supplies is termed the zero-volt, or earth line. This forms the reference line from which all input and output voltages are measured
25
cont
Output terminal connects to any output device, e.g. LED, relay, bulb
26
27
Input impedance
Impedance is similar to resistance but it is more than that. While a capacitor does not have resistance in a d.c. circuit, in an a.c. circuit it has reactance (similar to resistance, also in ). The combined resistance of a resistor and reactance of a capacitor is known as impedance (in ). Input impedance refers to the impedance between the two input terminals
28
29
Output impedance
Output impedance refers to the impedance inside the op-amp near the output terminal An ideal op-amp should have zero output impedance so that all the output voltage is seen across the load connected to the output This is analogous to a battery of zero internal resistance where all the voltage supplied by the battery should fall across the external circuit In reality, the output impedance is about 102 ohms
30
Gain
Gain is defined as the ratio of output voltage to input voltage and the symbol is A i.e. how many times the output is greater than the input e.g. if the output is 9V and the input is 0.1 V, gain A = 9/.1 = 90 The way an op-amp is connected in a circuit will produce 2 different types of gain (a) open loop gain, symbol Ao and (b) closed loop gain, A Open-loop Closed-loop
31
Bandwidth
When a.c. voltage is connected to the two inputs of an op-amp, the output voltage is different for different frequencies of the ac voltage. The gain varies with the frequency, f Below is a graph of open-loop gain Ao versus frequency f
The range of frequencies over which the gain is constant is known as the bandwidth
33
Infinite bandwidth
Infinite bandwidth means that all frequencies of the input are amplified equally This means that if an ac signal is applied to the input, then the output will have the same frequency but a larger amplitude In reality, the bandwidth is finite and not infinite
34
Slew rate
When the input signal is changed, the output signal will also change The output voltage may not be in sync with the input voltage. When the input voltage has changed with time, the output voltage may not have changed yet An ideal op-amp should have infinite slew rate meaning no delay between changes in the input and consequent changes in the output. A high slew-rate implies a short time delay In reality, the slew-rate is about 10 V s-1 i.e. 107 V s-1
35
Op-amp characteristics
36
An op-amp actually amplifies the difference between the two inputs to the op-amp, (V+ - V- ). That is why it is sometimes known as a differential amplifier. So Ao = Vout / (V+ - V- ) hence Vout = Ao (V+ - V- ) Consider the case where the non-inverting input V+ is 0.95 V, the inverting input V- is 0.94 V, open-loop gain A0 = 105, and the supply voltages at 6 V Using Vout = Ao (V+ - V- ) = 1000 V which from energy considerations is impossible as the output voltage can never exceed the power supply voltage. This means that the amplifier is saturated and the output voltage will be + 6 V, so if V+ > V- the output is + Vsupply and if V- > V+ the output is Vsupply Because this circuit compares the voltages applied to the non-inverting 37 and the inverting inputs and then gives an output it is called a comparator
comparator
When a circuit incorporating an op-amp is used as a comparator, it is usual to connect each of the inputs to a potential divider +6V 10 k RR - -+ +
R R -6V
output
The 2 resistors of equal resistance provide an input voltage of 3 V at the inverting input When the LDR is in darkness its resistance is greater than 10 k, hence the voltage at the non-inverting input is greater than 3 V and the output will be at 6 V. In daylight the resistance of the LDR will be less than 10 k and the voltage at the noninverting input will be less than 3 V and the output will switch to - 6 V The output therefore depends on the level of light illumination and the values of the resistors in the potential divider. In practice one of the 2 resistors would be a variable 38 resistor
Feedback
Feedback is a process whereby a fraction of the output of any device is fed back to the input so as to assist in the control of the device As humans, much of our learning is through feedback; e.g to pick up an object we stretch out our hand and at the same time look at the hand and object, and the visual signal is fed back to the brain to provide control for the hand This is a continuous process of refining the position of the hand relative to the object
Vin
add
gain Ao
Vout
feedback fraction 39
40
41
42
Current in Rin= current in Rf , hence p.d. across Rin = p.d. across Rf Rin Rf where Rin and Rf are the resistances The potential at P is zero (since virtual earth) and so Vin 0 = 0 Vout Rin Rf Hence the overall voltage gain of the amplifier circuit is given by Voltage gain A = Vout = - Rf or Vout = - Vin Rf Vin Ri n Rin The gain does not depend on the characteristics of the op-ampbut only on the 2 resistors, and since the output is the inverse of the input, the amplifier is referred to as an inverting op-amp and the output voltage is 180o out of phase() with the input voltage 43
+
Vf
Rf
Vin
Vout
R1
44
Now substituting (1) into (4), we get R1/(Rf + R1)Vout = Vin V0/A0 Rearranging, Vin = V0(R1/(R1 + Rf)) + V0/A0 = V0[(R1/(R1 + Rf) + 1/A0] since A0 > 105, 1/A0 is negligible Therefore A = V0/Vin = (R1 + Rf)/R1 = 1 + Rf/R1
45
Example
The magnitude of the gain of an inverting amplifier is 25. The supply voltage to the operational amplifier is 9 V and the non-inverting input is at earth potential. Calculate the output voltage of the amplifier circuit for an input voltage at the inverting input of: (a) + 40 mV (b) - 80 mV (c) - 1.2 V
Solution (a) - 1.0 V (b) + 2.0 V (c) + 9.0 V (amplifier is saturated)
46
47
cont..
In a mixer for example, several input from microphones, guitars and keyboards can be added in a summing op-amp and amplified to produce a sound track. Three input voltages V1, V2 and V3 send currents I1, I2 and I3 through three resistances R1, R2 and R3 respectively. I1 = V1/R1, I2 = V2/R2 and I3 = V3/R3 If = 0 Vout = - Vout Rf Rf Since current does not flow into the op-amp If = I1 + I2 + I3 Vout / Rf = V1/R1 + V2/R2 + V3/R3 hence the output is the sum of the 3 input voltages i.e. a summing circuit or an adder circuit
Output devices
Circuits incorporating op-amps produce an output voltage If this output voltage is connected across some form of resistor, there will be a current from the output of the op-amp to the resistor, which can then be used to operate output devices such as relays, warning lamps e.g LEDs, digital/analogue meters, motors etc. Output current usually cannot exceed about 25 mA otherwise the op-amp would be destroyed. Op-amps ICs are designed and built to contain an output resistor so that, should the output be shorted, the op-amp will not be damaged.
49
50
51
Example
A LED can take a current of 0.01 A, which produces a 2 V drop across it. If an op-amp circuits output voltage is 9 V, what is the value of the protection resistor that should be used?
Solution
R = 7/0.01 = 700 ohms
Question
54
Exercise
The LED's L1 and L2 emit light when the output from the appropriate operational amplifier is positive and high. When the thermistor T, which has a negative temperature coefficient, is at 70C, the potential difference across the resistor R is 3.5 V. (i) Explain why, when the thermistor is at 70 C, L1 emits light and L2 does not. (ii) The temperature of the thermistor is raised and there is a change of state of one or more of the LED's. State and explain what change is observed. (iii) Suggest one use for the above circuit
55