Showing posts with label Basic Electronics. Show all posts
Showing posts with label Basic Electronics. Show all posts

Sensors and Transducers


Sensors and Transducers

Simple stand alone electronic circuits can be made to repeatedly flash a light or play a musical note, but in order for an electronic circuit or system to perform any useful task or function it needs to be able to
communicate with the "real world" whether this is by reading an input signal from an "ON/OFF" switch or by activating some form of output device to illuminate a single light. In other words, an electronic circuit or system must be able to "do" something and Transducers are the perfect component for this.
The word "Transducer" is the collective term used for both Sensors which can be used to sense a wide range of different energy forms such as movement, electrical signals, radiant energy, thermal or magnetic energy etc, and Actuators which can be used to switch voltages or currents.
There are many different types of both analogue and digital input and output devices available to choose from. The type of input or output transducer being used, really depends upon the type of signal or process being "Sensed" or "Controlled" but we can define a transducer as a device that converts one physical quantity into another.
Devices which perform an "Input" function are commonly called Sensors because they "sense" a physical change in some characteristic that changes in response to some excitation, for example heat or force and covert that into an electrical signal. Devices which perform an "Output" function are generally called Actuators and are used to control some external device, for example movement or sound.
Electrical Transducers are used to convert energy of one kind into energy of another kind, so for example, a microphone (input device) converts sound waves into electrical signals for the amplifier to amplify (a process), and a loudspeaker (output device) converts these electrical signals back into sound waves and an example of this type of simple Input/Output (I/O) system is given below.

Simple Input/Output System using Sound Transducers

Input Output Block Diagram

There are many different types of transducers available in the marketplace, and the choice of which one to use really depends upon the quantity being measured or controlled, with the more common types given in the table below.

Common Transducers

Quantity being
Measured
Input Device
(Sensor)
Output Device
(Actuator)
Light LevelLight Dependant Resistor (LDR)
Photodiode
Photo-transistor
Solar Cell
Lights & Lamps
LED's & Displays
Fibre Optics
TemperatureThermocouple
Thermistor
Thermostat
Resistive temperature detectors (RTD)
Heater
Fan
Force/PressureStrain Gauge
Pressure Switch
Load Cells
Lifts & Jacks
Electromagnet
Vibration
PositionPotentiometer
Encoders
Reflective/Slotted Opto-switch
LVDT
Motor
Solenoid
Panel Meters
SpeedTacho-generator
Reflective/Slotted Opto-coupler
Doppler Effect Sensors
AC and DC Motors
Stepper Motor
Brake
SoundCarbon Microphone
Piezo-electric Crystal
Bell
Buzzer
Loudspeaker

Input type transducers or sensors, produce a voltage or signal output response which is proportional to the change in the quantity that they are measuring (the stimulus). The type or amount of the output signal depends upon the type of sensor being used. But generally, all types of sensors can be classed as two kinds, either passive or active.
Active sensors require some form of external power to operate, called an excitation signal which is used by the sensor to produce the output signal. Active sensors are self-generating devices because their own properties change in response to an external effect producing for example, an output voltage of 1 to 10v DC or an output current such as 4 to 20mA DC.
A good example of an active sensor is a strain gauge which is basically a pressure-sensitive resistive bridge network. It does not generate an electrical signal itself, but by passing a current through it (excitation signal), its electrical resistance can be measured by detecting variations in the current and/or voltage across it relating these changes to the amount of strain or force being applied.
Unlike an active sensor, a passive sensor does not need any additional energy source and directly generates an electric signal in response to an external stimulus. For example, a thermocouple or photodiode. Passive sensors are direct sensors which change their physical properties, such as resistance, capacitance or inductance etc. As well as analogue sensors, Digital Sensors produce a discrete output representing a binary number or digit such as a logic level "0" or a logic level "1".

Analogue and Digital Sensors

Analogue Sensors

Analogue Sensors produce a continuous output signal or voltage which is generally proportional to the quantity being measured. Physical quantities such as Temperature, Speed, Pressure, Displacement, Strain etc are all analogue quantities as they tend to be continuous in nature. For example, the temperature of a liquid can be measured using a thermometer or thermocouple which continuously responds to temperature changes as the liquid is heated up or cooled down.

Thermocouple used to produce an Analogue Signal

Analogue Signal Output
Analogue sensors tend to produce output signals that are changing smoothly and continuously over time. These signals tend to be very small in value from a few mico-volts (uV) to serveral milli-volts (mV), so some form of amplification is required. Then circuits which measure analogue signals usually have a slow response and/or low accuracy. Also analogue signals can be easily converted into digital type signals for use in microcontroller systems by the use of analogue-to-digital converters, or ADC's.

Digital Sensors

As its name implies, Digital Sensors produce a discrete output signal or voltage that is a digital representation of the quantity being measured. Digital sensors produce a Binary output signal in the form of a logic "1" or a logic "0", ("ON" or "OFF"). This means then that a digital signal only produces discrete (non-continuous) values which may be outputted as a single "bit", (serial transmission) or by combining the bits to produce a single "byte" output (parallel transmission).

Light Sensor used to produce an Digital Signal

Digital Signal Output

In our simple example above, the speed of the rotating shaft is measured by using a digital LED/Opto-detector sensor. The disc which is fixed to a rotating shaft (for example, from a motor or robot wheels), has a number of transparent slots within its design. As the disc rotates with the speed of the shaft, each slot passes by the sensor inturn producing an output pulse representing a logic "1" or logic "0" level.
These pulses are sent to a register of counter and finally to an output display to show the speed or revolutions of the shaft. By increasing the number of slots or "windows" within the disc more output pulses can be produced for each revolution of the shaft. The advantage of this is that a greater resolution and accuracy is acheived as fractions of a revolution can be detected. Then this type of sensor arrangement could also be used for positional control with one of the discs slots representing a reference position.
Compared to analogue signals, digital signals or quantities have very high accuracies and can be both measured and "sampled" at a very high clock speed. The accuracy of the digital signal is proportional to the number of bits used to represent the measured quantity. For example, using a processor of 8 bits, will produce an accuracy of 0.195% (1 part in 512). While using a processor of 16 bits gives an accuracy of 0.0015%, (1 part in 65,536) or 130 times more accurate. This accuracy can be maintained as digital quantities are manipulated and processed very rapidly, millions of times faster than analogue signals.
In most cases, sensors and more specifically analogue sensors generally require an external power supply and some form of additional amplification or filtering of the signal in order to produce a suitable electrical signal which is capable of being measured or used. One very good way of achieving both amplification and filtering within a single circuit is to use Operational Amplifiers as seen before.

Signal Conditioning

As we saw in the Operational Amplifier tutorial, op-amps can be used to provide amplification of signals when connected in either inverting or non-inverting configurations. The very small analogue signal voltages produced by a sensor such as a few milli-volts or even pico-volts can be amplified many times over by a simple op-amp circuit to produce a much larger voltage signal of say 5v or 5mA that can then be used as an input signal to a microprocessor or analogue-to-digital based system. Therefore, an amplification of a sensors output signal has to be made with a voltage gain up to 10,000 and a current gain up to 1,000,000 with the amplification of the signal being linear with the output signal being an exact reproduction of the input, just changed in amplitude.
Then amplification is part of signal conditioning. So when using analogue sensors, generally some form of amplification (Gain), impedance matching, isolation between the input and output or perhaps filtering (frequency selection) may be required before the signal can be used and this is conveniently performed by Operational Amplifiers.
Also, when measuring very small physical changes the output signal of a sensor can become "contaminated" with unwanted signals or voltages that prevent the actual signal required from being measured correctly. These unwanted signals are called "Noise". This Noise or Interference can be either greatly reduced or even eliminated by using signal conditioning or filtering techniques as we discussed in the Active Filter tutorial.
By using either a Low Pass, or a High Pass or even Band Pass filter the "bandwidth" of the noise can be reduced to leave just the output signal required. For example, many types of inputs from switches, keyboards or manual controls are not capable of changing state rapidly and so low-pass filter can be used. When the interference is at a particular frequency, for example mains frequency, narrow band reject or Notch filters can be used to produce frequency selective filters.

Typical Op-amp Filters

Operational amplifier filters

Were some random noise still remains after filtering it may be necessary to take several samples and then average them to give the final value so increasing the signal-to-noise ratio.Either way, both amplification and filtering play an important role in interfacing microprocessor and electronics based systems to "real world" conditions.

Proximity Sensor


Inductive Proximity Sensor



Inductive Proximity Sensors 

Inductive proximity sensors operate under the electrical principle of
inductance. Inductance is the phenomenon where a fluctuating current, which by definition has a magnetic component, induces an electromotive force (emf) in a target object. To amplify a device’s inductance effect, a sensor manufacturer twists wire into a tight coil and runs a current through it. An inductive proximity sensor has four components; The coil, oscillator, detection circuit and output circuit. The oscillator generates a fluctuating magnetic field the shape of a doughnut around the winding of the coil that locates in the device’s sensing face. When a metal object moves into the inductive proximity sensor’s field of detection, Eddy circuits build up in the metallic object, magnetically push back, and finally reduce the Inductive sensor’s own oscillation field. The sensor’s detection circuit monitors the oscillator’s strength and triggers an output from the output circuitry when the oscillator becomes reduced to a sufficient level.







































Ultrasonic level measurement


Liquid Level Sensors



Non-contact ultrasonic level measurement is ideal for simple standard applications, both for liquids and for solids.

Measuring principle of ultrasonic level measurement

The ultrasonic sensor emits ultrasonic pulses in the direction of the medium, which then reflects them back.
The elapsed time from emission to reception of the signals is proportional to the level in the tank.

The advantages of ultrasonic level measurement

The non-contact measurement with ultrasonic sensors is independent of product properties and provides for maintenance-free operation.

VEGASON 61


Application area

The VEGASON 61 is an ultrasonic sensor for continuous level measurement of liquids or bulk solids. Typical applications are the measurement of liquids in storage tanks or open basins. The sensor is also suitable for the detection of bulk solids in small vessels or open containers. The non-contact measuring principle is independent of product features and allows a setup without medium.

Advantages

  • Non-contact measurement
  • Reliable measurement independent of product features
  • Price-favourable solution for simple applications

Technical data

Measuring range
in liquids: 0.25 … 5 m
in bulk solids: 0.25 … 2 m
Process fitting
thread G1½, 1½ NPT
Process temperature
-40 … +80 °C
Process pressure
-0,2 … +2 bar
(-20 … +200 kPa)
Accuracy
+/- 10 mm
SIL qualification
optionally up to SIL2








VEGASON 62

Application area

The VEGASON 62 is an ultrasonic sensor for continuous level measurement of liquids and bulk solids. Typical applications are the measurement of liquids in storage vessels or open basins. The sensor is also suitable for the detection of bulk solids in small vessels or silos. Application areas can be found in all industries. The non-contact measuring principle is unaffected by product features and allows a setup without medium.

Advantages

  • Non-contact measurement
  • Reliable measurement independent of product features
  • Price-favourable solution for simple applications

Technical data

Measuring range
in liquids: 0.4 … 8 m
in bulk solids: 0.4 … 3.5 m
Process fitting
thread G2, 2 NPT
Process temperature
-40 … +80 °C
Process pressure
-0,2 … +2 bar(-20 … +200 kPa)
Accuracy
+/- 10 mm
SIL qualification
optionally up to SIL2







VEGASON 63







Application area

The VEGASON 63 is an ultrasonic sensor for continuous level measurement of liquids and bulk solids. Typical applications are the measurement of liquids in storage tanks and open basins. The sensor is suitable for continuous level measurement of bulk solids in small up to average-size vessels. The non-contact measuring principle is independent of product features and allows a setup without medium.

Advantages

  • Non-contact measurement
  • Reliable measurement, independent of product features
  • Proven measurement technology for standard applications

Technical data

Measuring range
in liquids: 0.6 … 15 m
in bulk solids: 0.6 … 7 m
Process fitting
compression flange DN 100
mounting strap
Process temperature
-40 … +80 °C
Process pressure
-0,2 … +1 bar
(-20 … +100 kPa)
Accuracy
+/- 10 mm
SIL qualification
optionally up to SIL2


Logic Signals



  There are a number of different systems for representing binary information in physical systems.  Here are a few.


  • A voltage signal with zero (0) corresponding to 0 volts and one (1) corresponding to five or three volts.
  • A sinusoidal signal with zero corresponding to some frequency, and one corresponding to some other frequency.
  • A current signal with zero corresponding to 4 milliamps and one corresponding to 20 milliamps.
  • And one last way is to use switches, OPEN for "0" and CLOSED for "1".
  • (And there are more ways!)

What is Phase, Neutral and Earth?

1. load current flows through neutral, but in normal operation, no load current will ever flow through earth (In some countries it is also called Ground, but usually Ground is related to DC).

2. It can be stated that Neutral can be grounded, but Ground is not neutral.

3. From the Generation side, the Neutral and Earth have the same common point.

4. Neutral/Earth in this case would act as the return path of the supply.

5. From the Distribution side, we start to run the Neutral lines.

6. Neutral in this case would be the return path of the supply.

7. Earth is still available but normally there will be no current flowing, only during supply leakage.

In Home, neutral is the return path of the current to the transformer and Earthing is for avoiding the shock.

However in Distribution side both have the same meaning and using as the return path of the current. ie, they are using the Earth as the return path of electricity rather than using a Separate wire.

Advantages of DC over AC

However there are some advantages for DC over AC


DC power maintains a constant direction of current. One advantage of DC power is there is no reactance in the line. 


This allows higher power transfer capability, higher capacity utilization of generators, and less of a voltage drop along the line. 

DC also has a lower line resistance than AC because of the “skin effect” in AC. This is when charge is carried mostly near the outside of the wire.

In the DC system, power is just the real component. This means that the transmission system operator need not worry about the sufficiency of reactive power to maintain the security and stability of the system.

In DC, there is no frequency, so generators connected to the transmission grid do not need to be synchronized.

The DC system does not introduce susceptance along the line thus removing the effect of changing current and over voltages in the system.

Analysis of DC systems only involves real numbers, while AC systems involve complex numbers. (Think about a world without AC; How easy will be the calculations in Electrical Engineering :-) )

The main Reasons for use of AC in Power Distribution System are


1. When Electricity passes through a Conductor, there is Transmission loss in the form of Heat. It is also known as Ohmic Loss.


Power Loss = I^2 Rt
Where I  = Current
           R = Resistance of the Conductor
            t = time

So if we transmit larger currents, the loss will be more.
However, in AC, there is a relation for the Transformers
I1V1=I2V2
ie, when the Voltage at one end of the transformed increases, Current decreases.
This is because, we have to keep the product of Current and Voltage constant.

So if we can transmit the Current at Higher Voltage, it will reduce the current through the Conductor and in effect the Ohmic Power loss will decrease.

2. Long distance Power Transmission is possible with Higher voltage. This can be easily achieved using the Transformers in AC, However Stepping up and Stepping Down using Transformers are not possible in DC.

What is War of Currents?


Why mostly the Power Distribution systems uses AC over DC?


Actually, at the time of development in Electrical Systems and Electrical Distribution, Both AC and DC were used for the Power Distribution.



Thomas Edison Promoted DC Power Distribution System and Nikola Tesla and George Westinghouse, promoted the AC Power Distribution System.
This is known as War of currents! (1880s)

Finally AC won over the DC Power Distribution System.


TRANSISTORS

The Ideal Bipolar Junction Transistor



Because the current gain is typically unknown or varies greatly with temperature, time, collector–emitter
potential, and other factors, good designs should not depend on it. In this laboratory, we assume that is
sufficiently large (i.e.,amplification ≫ 1, where amplification ≈ 100 in our laboratory) so that
iB ≈ 0 and iC ≈ iE.
These simple rules are similar to the rules we use with operational amplifiers. The analysis approach usually
follows these steps:
1. Calculate the transistor base potential vB by assuming that no current enters the base (i.e., iB ≈ 0).
2. Calculate the potential vE at the emitter of the transistor using vB. For an npn transistor,
vE = vB − 0.65V,
and for a pnp transistor,
vE = vB + 0.65V.
3. Calculate the emitter current iE using the emitter voltage vE and the rest of the circuit.
4. Assume that iC ≈ iE and analyze the rest of the circuit.
• Because we know vE, we usually know iE as well. So our iE dictates what iC should be.
However, keep these notes in mind.
• For an npn transistor, active mode requires vC − vE > 0.2V. For a pnp transistor, active mode
requires vE − vC > 0.2V. If this condition is violated, the transistor is saturated, and the analysis
cannot continue using these simple rules. In design problems, change parameters (e.g., resistors, supply
rails, etc.) to prevent saturation.
• Sometimes it’s easier to find vE first and use it to calculate vB.
• How “small” iB must be to neglect its effect depends on the circuit. In particular, iB × RB must be
very small, where RB is the the Th´evenin equivalent resistance looking out of the transistor base.


Bipolar Junction Transistor Model

A bipolar junction transistor (BJT) can be in three modes:

Transistor acts like an open switch between collector and emitter (i.e.,
collector–emitter “resistance” is infinite).


Transistor acts like a dynamic resistor between collector and emitter that
adjusts its resistance in order to keep collector current at a set level (i.e.,

collector–emitter resistance is finite and positive).

Transistor acts like a closed switch between collector and emitter (i.e.,
collector–emitter “resistance” is very low).


In the active mode, the transistor adjusts the collector current to be a version of the base current amplified
by some constant > 0. If the base current falls to 0, the transistor enters cutoff mode and shuts off. When
the base current rises too far, the transistor loses its ability to decrease the collector–emitter resistance
to linearly increase the collector current. In this case, the transistor enters saturation mode. To keep the
transistor out of saturation mode, the collector and emitter should be separated by at least 0.2V.
A simple model for the operation of a transistor in active mode is shown in Figure. It requires knowing
the current gain in order to design the circuit. In both of these models,
iC = iB and iE = ( + 1)iB,
and the emitter is separated from the base by a diode. In order for this diode to conduct current, it must
be forward biased with 0.65V1.





TRANSISTORS

Transistors can be regarded as a type of switch, as can many electronic components. They are used in a variety of circuits and you will find that it is rare that a circuit built in a school Technology Department does not contain at least one transistor. They are central to electronics and there are two main types; NPN and PNP. Most circuits tend to use NPN. There are hundreds of transistors which work at different voltages but all of them fall into these two categories.

Diode

LED


A Light-Emitting Diode (LED) in essence is a P-N junction solid-state semiconductor
diode that emits light when a current is applied though the device.[1] By scientific

definition, it is a solid-state device that controls current without the deficiency of having
heated filaments. How does a LED work? White LEDs ordinarily need 3.6 Volts of Direct
Current (DC) and use approximately 30 milliamps (mA) of current and has a power
dissipation of approximately 100 milliwatts (mW). The positive power is connected to one
side of the LED semiconductor through the anode and a whisker and the other side of the
semiconductor is attached to the top of the anvil or the negative power lead (cathode). It is
the chemical composition or makeup of the LED semiconductor that determines the color of
the light that the LED produces as well as the intensity level. The epoxy resin enclosure
allows most of the light to escape from the elements and protects the LED making it virtually
indestructible. Furthermore, a light-emitting diode does not have any moving parts, which
makes the device extremely resistant to damage due to vibration and shocks. These

Photodiode




A photodiode is a diode working in reverse polarization and having a window where the light

can enter and hit directly the pn junction. As in the case of the LED, the energy level of the
impurities has been chosen in order to allow electrons to jump from valence to conduction

Rectifier diodes


A rectifier is a dispositive that ideally transforms the AC input voltage into a DC voltage
(voltage is always positive or zero). These diodes have the largest ratings and sometime

can be quite big in volume. As a rule of thumb, the bigger the diode (more pn surface
junction available for heat dissipation), the higher the ratings.

Half-wave rectifier


A half-wave rectifier is composed of a single diode that connects an AC source to a load. In
figure 3 the load is represented by a resistor. The diode conducts on AC voltage only when
its anode is positive with respect to the cathode (i.e. greater than 0.7 V for a silicon diode).
The output has therefore only a positive component with an average value:

The output peak voltage is the AC source minus the voltage drop of the diode, that in most
cases can be neglected.







Full-wave rectifier

In half-wave rectifiers, half of the power provided by the source is not used. To solve this
problem, we have to use full-wave rectifiers. The minimum full-wave rectifier is composed
of two diodes, but it requires a center tapped transformer. Figure  shows a bridge rectifier,
composed of four diodes, that can use a “normal” transformer.

The AC current, according to its direction, flows either in the top or in the bottom part
of the bridge in each half-cycle. In the output voltage we will have a component for both
negative and positive parts of the input voltage. In both cases the current passes through
two forward-biased diodes in series, what produces a voltage drop of 1.4 V.
The average voltage of a full-wave rectifier is:


 Full wave rectifier. In this case the voltage drop, not shown in the graphic, will be
1.4 V because two diodes are cros.sed.

Types of diodes


We can distinguish the following types of diodes:

• Rectifier diodes are typically used for power supply applications. Within the power
supply, you will see diodes as elements that convert AC power to DC power;

• Switching diodes have lower power ratings than rectifier diodes, but can function better
in high frequency application and in clipping and clamping operations that deal with
short-duration pulse waveforms;


• Zener diodes, a special kind of diode that can recover from breakdown caused when
the reverse-bias voltage exceeds the diode breakdown voltage. These diodes are
commonly used as voltage-level regulators and protectors against high voltage surges;

• Optical diodes;

• Special diodes, such as varactors (diodes with variable capacity), tunnel diodes or
Schottky diodes.

General Diode Specifications


There are four diode ratings that apply in one way or another to all types of diodes and
applications:

1. Forward voltage drop VF : is the forward-conducting junction level ( 0.7 V for Si diodes
and 0.3 V for Ge diodes)1.
2. Average forward current IF : is the maximum amount of forward current that the diode
can carry for an indefinite period. If the average current exceeds this value, the diode
will overheat and, eventually, will be destroyed.
3. Peak reverse voltage VR, or reverse breakdown voltage. This is the largest amount of
reverse-bias voltage the diodes’s junction can withstand for an indefinite period of time.
If a reverse voltage exceeds this level, the voltage will punch through the depletion layer
and allow current to flow backwards through the diode, which is a destructive operation
(except for the case of a Zener diode).
4. Maximum power dissipation P. The actual diode power dissipation is calculated multiplying
the forward voltage drop and the forward current. Exceeding the maximum
power dissipation will result in thermal breakdown of the diode.
Excessive forward current and reverse breakdown voltage are the most common causes
of diode failure. In both cases the diode gets very hot, what destroys the pn junction. Occasional
peaks of voltage or current exceeding these rates for very short times (few milliseconds)
may not overheat the junction, but repeated peaks may fatigue the junction. By
design, diodes are selected with ratings that exceed two or three times the expected peaks
in the circuit.

Diode equation


Reverse Bias


When the diode is reverse-biased, a very small drift current due to thermal excitation flows
across the junction. This current (reverse saturation current, I0) is given, according to the
Boltzmann equation, by the formula:




where K0 is a constant depending on the pn junction geometry and V0 is the built-in voltage
of the diode (see chapter “Semiconductor Materials: pn junction”).


Forward Bias

When the diode is forward-biased through a voltage V , a small drift current flows again
across the junction. In that case, however, there is an additional component, the diffusion
current Vd, given by the formula:

These two currents have opposite directions, the total current is therefore given by:




Introduction




A diode is a dispositive made of a semiconductor material, which has two terminals or electrodes

(di-ode), that act like an on-off switch. When the diode is “on”, it acts as a short circuit
and passes all current. When it is “off”, it behaves like an open circuit and passes no current.
The two terminals are different and are marked as plus and minus in figure 1. If the polarity
of the applied voltage matches that of the diode (forward bias), then the diode turns “on”.
When the applied voltage polarity is opposite (reverse bias), it turns “off”. Of course this is
the theoretical behaviour of an ideal diode, but it can be seen as a good approximation for a
real diode.