project file.docx

101
CHAPTER-1 INTRODUCTION 1.1 Introduction of Brake Failure Indicator Brake Failure Indicator circuit is a circuit that constantly monitors the condition of the brake and gives an audio-visual indication. Now a days we can see accidents in every nook and corner of the world and most of them are due to brake failures. In this brake failure indicator, when brake is applied, the green LED blinks and the piezobuzzer beeps for around one second if the brake system is intact. If the brake fails ,the red LED glows and the buzzer stops beeping. In hydraulic brake systems of vehicles, a brake switch is mounted on the brake cylinder to operate the rearbrake lamps. The brake switch is fluid –operated and doesn’t function if the fluid pressure drops due to leakage. The fluid leakage cannot be detected easily unless there is a severe pressure drop in the brake pedal. This circuit senses the chance of brake failure by monitoring the brake switch and reminds you of the condition of the brake every time the brake is applied. The circuit uses an op-amp IC CA3140 as a voltage comparator and timer NE555 in monostable configuration for alarm. The comparator senses the voltage level approx the brake switch according to that the LED’s blinks. The main advantage of this 1

Upload: ritu-nain

Post on 07-Nov-2014

133 views

Category:

Documents


3 download

DESCRIPTION

metro train using smart card

TRANSCRIPT

CHAPTER-1 INTRODUCTION 1.1 Introduction of Brake Failure IndicatorBrake Failure Indicator circuit is a circuit that constantly monitors the condition of the brake and gives an audio-visual indication. Now a days we can see accidents in every nook and corner of the world and most of them are due to brake failures. In this brake failure indicator, when brake is applied, the green LED blinks and the piezobuzzer beeps for around one second if the brake system is intact. If the brake fails ,the red LED glows and the buzzer stops beeping. In hydraulic brake systems of vehicles, a brake switch is mounted on the brake cylinder to operate the rearbrake lamps. The brake switch is fluid operated and doesnt function if the fluid pressure drops due to leakage. The fluid leakage cannot be detected easily unless there is a severe pressure drop in the brake pedal. This circuit senses the chance of brake failure by monitoring the brake switch and reminds you of the condition of the brake every time the brake is applied. The circuit uses an op-amp IC CA3140 as a voltage comparator and timer NE555 in monostable configuration for alarm. The comparator senses the voltage level approx the brake switch according to that the LEDs blinks. The main advantage of this circuit is that it can be covered from the vehicles battery does not depend upon the petrol level of the vehicle. Also the availability of components having lesser cost is of importance A brake failure indicator circuit that constantly monitors the condition of the brake and gives an audio-visual indication. When the brake is applied, the green LED blinks and the piezobuzzer beeps for around one second if the brake system is intact. If the brake fails, the redLED glows and the buzzer stops beeping. The circuit will work only in vehicles with negative grounding. It also gives an indication of brake switch failure.

In hydraulic brake systems of vehicles, a brake switch is mounted on the brake cylinder to operate the rear brake lamps. The brake switch is fluid-operated and doesnt function if the fluid pressure drops due to leakage. The fluid leakage cannot be detected easily unless there is a severe pressure drop in the brake pedal. This circuit senses the chance of a brake failure by monitoring the brake switch and reminds you of the condition of the brake every time the brake is applied.1

The circuit uses an op-amp IC CA3140 (IC2) as voltage comparator and timer NE555 (IC3) in monostable configuration for alarm. Voltage comparator IC2 senses the voltage level across the brake switch. Its non-inverting input (pin 3) gets half the supply voltage through potential divider resistors R3 and R4 of 10 kilo-ohms each. The inverting input (pin 2) of IC2 is connected to the brake switch through diode D1, IC 7812 (IC1) and resistor R2. It receives a higher voltage when the brake is applied.

Normally, when the brake is not applied, the output of IC2 remains high and the red LED (LED1) glows. The output of IC2 is fed to trigger pin 2 of the monostable through coupling capacitor C2. Resistor R1 is used for the input stability of IC2. IC1 and C1 provide a ripple-free regulated supply to the inverting input of IC2.

IC3 is wired as a monostable to give pulse output of one second. Timing elements R7 and C4 make the output high for one second to activate the buzzer and LED2. Usually, the trigger pin of IC3 is high due to R6 and the buzzer and LED2 remain off. When the brake pedal is pressed, pin 2 of IC2 gets a higher voltage from the brake switch and its output goes low to switch off the red LED. The low output of IC2 gives a short negative pulse to the monostable through C2 to trigger it. This activates the buzzer and LED2 to indicate that the brake system is working. When there is pressure drop in the brake system due to leakage, LED1 remains on and the buzzer does not sound when the brake is applied.

The circuit can be assembled on any general-purpose PCB or perforated board. Connect point A to that terminal of the brake switch which goes to the brake lamps. The circuit can be powered from the vehicles battery.

The circuit requires well-regulated power supply to avoid unwanted triggering while the battery is charging from the dynamo. IC4, C6 and C7 provide regulated 12V to the circuit. The power supply should be taken from the ignition switch and the circuit ground should be clamped to the vehicles body. A bicolour LED can be used in place of LED1 and LED2 if desired.

2

CHAPTER 2 Literature Review2.1 Idea of originThe IC design was proposed in 1970 by Hans R. Camenzind and Jim Ball. After prototyping, the design was ported to the Monochip analogue array, incorporating detailed design by Wayne Foletta and others from Qualidyne Semiconductors. Signetics (later acquired by Philips) took over the design and production, and released the first 555s in 1971. Depending on the manufacturer, the standard 555 package includes over 20 transistors, 2 diodes and 15 resistors on a silicon chip installed in an 8-pin mini dual-in-line package (DIP-8).[2] Variants available include the 556 (a 14-pin DIP combining two 555s on one chip), and the 558 (a 16-pin DIP combining four slightly modified 555s with DIS & THR connected internally, and TR is falling edge sensitive instead of level sensitive). The NE555 parts were commercial temperature range, 0 C to +70 C, and the SE555 part number designated the military temperature range, 55 C to +125 C. These were available in both high-reliability metal can (T package) and inexpensive epoxy plastic (V package) packages. Thus the full part numbers were NE555V, NE555T, SE555V, and SE555T. It has been hypothesized that the 555 got its name from the three 5 k resistors used within, but Hans Camenzind has stated that the number was arbitrary. Low-power versions of the 555 are also available, such as the 7555 and CMOS TLC555. The 7555 is designed to cause less supply glitching than the classic 555 and the manufacturer claims that it usually does not require a "control" capacitor and in many cases does not require a decoupling capacitor on the power supply. Such a practice should nevertheless be avoided, because noise produced by the timer or variation in power supply voltage might interfere with other parts of a circuit or influence its threshold voltages.

3

The purpose of this device is to provide a new vehicle overheat voice indicator apparatus which has many of the advantages of the overheat indicators and some added novel features. It comprises a temperature sensor situated within an engine of a vehicle which is adapted to transmit an output voltage directly proportional to the temperature within the engine of the vehicle. user control over the temperature is provided using a potentiometer. Its first terminal is connected to a constant voltage source and second terminal connected to ground.It has a third terminal where the potentiometer is adapted to supply a user selected, adjustable voltage.There is also an operational amplifier having a positive terminal input connected to the output of the temperature sensor and a negative terminal input connected to the third terminal of the potentiometer which provides an activation signal at the output according to the voltage at the positive terminal and the voltage at the negative terminal(functions as a comparator). a test switch is coupled between the constant voltage source and a resistor which is then grounded. Thus the the switch can transmit an activation signal on its closing. There is an OR gate having the first input connected to the output of the operational amplifier and the second input connected between the test switch and the resistor.It transmits the signal if either or both the inputs are active. A nonretriggerablemonostablemultivibrator is provided having an input connected to the output of the OR gate. On recieving the activation signal from the OR gate, the multivibrator transmits the signal to the output. a voice play back mechanism is connected between a speaker and the multivibrator which can recite a verbal warning via the speaker only during the receipt of the activation signal.

4

CHAPTER -3 Project work3.1 Circuit Diagram of Brake Failure Indicator:The circuit uses an op-amp ICCA3140 (IC2) as voltage comparator and timer NE555 (IC3) in monostable configuration for alarm. Voltage comparator IC2 senses the voltage level across the brake switch. Its non-inverting input (pin 3) gets half the supply voltage through potential divider resistors R3 and R4 of 10 kilo-ohms each.

Fig. 3.1 circuit diagram of brake failure indicator The inverting input (pin 2) of IC2 is connected to the brake switch through diode D1, IC 7812 (IC1) and resistorR2. It receives a higher voltage when the brake is applied. Normally, when the brake is not applied, the output of IC2 remains high and the red LED (LED1) glows. The output of IC2 is fed to trigger pin2 of the monostable through coupling capacitor C2. Resistor R1 is used for the input stability of IC2. IC1 and C1 provide a ripple-free regulated supply to the inverting5

input of IC2.IC3 is wired as a monostable to give pulse output of one second. Timing elements R7 and C4 make the output high for one second to activate the buzzer and LED2. Usually, the trigger pin of IC3 is high due to R6 and the buzzer and LED2 remain off. When the brake pedal is pressed, pin 2 of IC2 gets a higher voltage from the brake switch and its output goes low to switch off the red LED. The low output of IC2 gives a short negative pulse to the monostable through C2 to trigger it. This activates the buzzer and LED2 to indicate that the brake system is working. When there is pressure drop in the brake system due to leakage, LED1remains on and the buzzer does not sound when the brake is applied. The circuit can be assembled on any general-purpose PCB or perforated board. Connect point A to that terminal of the brake switch which goes to the brake lamps. The circuit can be powered from the vehicles battery. The circuit requires well-regulated power supply to avoid unwanted triggering while the battery is charging from the dynamo. IC4, C6 and C7 provide regulated 12V to the circuit. The power supply should be taken from the ignition switch and the circuit ground should be clamped to the vehicles body. A bicolour LED can be used in place of LED1 and LED2 if desired.

3.2 COMPONENT USED TABLE 3.1 LIST OF COMPONENTS COMPONENTSIC NE555 IC CA3140 IC 7812 Resistors Capacitors Diodes LED Battery Brake Switch Ignition Switch6

QUALITY1 1 2 9 7 2 2 1 1 1

Piezo buzzer

1

3.3 DETAILS OF COMPONENTS 3.3.1 IC NE555 TIMER

Fig. 3.2 555 timer ICOne of the most versatile linear ICs is the 555 timer which was first introduced in early 1970 by Signetic Corporation giving the name as SE/NE 555 timer. This IC is a monolithic timing circuit that can produce accurate and highly stable time delays or oscillation. Like other commonly used op-amps, this IC is also very much reliable, easy to use and cheaper in cost. It has a variety of applications including monostable and astable multivibrators, dc-dc converters, digital logic probes, waveform generators, analog frequency meters and tachometers, temperature measurement and control devices, voltage regulators etc. The timer basically operates in one of the two modes either as a monostable (one-shot) multivibrator or as an astable (free-running) multivibrator.The SE 555 is designed for the operating temperature range from 55C to 125 while the NE 555 operates over a temperature range of 0 to 70C.

The important features of the 555 timer are :

It operates from a wide range of power supplies ranging from + 5 Volts to + 18 Volts supply voltage.

Sinking or sourcing 200 mA of load current.

7

The external components should be selected properly so that the timing intervals can be made into several minutes Proper selection of only a few external components allows timing intervals of several minutes along with the frequencies exceeding several hundred kilo hertz.

It has a high current output; the output can drive TTL. It has a temperature stability of 50 parts per million (ppm) per degree Celsius change in temperature, or equivalently 0.005 %/ C.

The duty cycle of the timer is adjustable with the maximum power dissipation per package is 600 mW and its trigger and reset inputs are logic compatible.

Fig. 3.3 555 Timer IC Pin ConfigurationThe 555 has three operating modes:

Monostable mode: in this mode, the 555 functions as a "one-shot" pulse generator. Applications include timers, missing pulse detection, bouncefree switches, touch switches, frequency divider, capacitance measurement, pulsewidth modulation (PWM) and so on.

Astable free running mode: the 555 can operate as an oscillator. Uses include LED and lamp flashers, pulse generation, logic clocks, tone generation, security alarms, pulse position modulation and so on. Selecting a thermistor as timing resistor allows the use of the 555 in a temperature sensor: the period of the output pulse is determined by the temperature. The use of a microprocessor based circuit can then convert the pulse period to temperature, linearize it and even provide calibration means.8

Bistable mode or Schmitt trigger: the 555 can operate as a flip-flop, if the DIS pin is not connected and no capacitor is used. Uses include bounce free latched switches.

3.3.1.1. Monostable

Fig 3.4 Schematic of a 555 in monostable modeThe relationships of the trigger signal, the voltage on C and the pulse width in monostable mode. In the monostable mode, the 555 timer acts as a one-shot pulse generator. The pulse begins when the 555 timer receives a signal at the trigger input that falls below a third of the voltage supply. The width of the output pulse is determined by the time constant of an RC network, which consists of a capacitor (C) and a resistor (R). The output pulse ends when the voltage on the capacitor equals 2/3 of the supply voltage. The output pulse width can be lengthened or shortened to the need of the specific application by adjusting the values of R and C. While using the timer ic as a monostable the main disadvantage is that the time span between the two triggering pulses must be greater than the RC time constant.

3.3.1.2 BistableIn bistable mode, the 555 timer acts as a basic flip-flop. The trigger and reset inputs (pins 2 and 4 respectively on a 555) are held high via Pull-up resistors while the threshold input (pin 6) is simply grounded. Thus configured, pulling the trigger momentarily to ground acts as a 'set' and transitions the output pin (pin 3) to Vcc (high state). Pulling the reset input to ground acts as a 'reset' and transitions the output pin to ground (low state). No capacitors are required in a

9

bistable configuration. Pin 5 (control) is connected to ground via a small-value capacitor (usually 0.01 to 0.1 uF); pin 7 (discharge) is left floating.

3.3.1.3 Astable

fig. 3.5 Standard 555 Astable CircuitIn astable mode, the 555 timer puts out a continuous stream of rectangular pulses having a specified frequency. Resistor R1 is connected between VCC and the discharge pin (pin 7) and another resistor (R2) is connected between the discharge pin (pin 7), and the trigger (pin 2) and threshold (pin 6) pins that share a common node. Hence the capacitor is charged through R1 and R2, and discharged only through R2, since pin 7 has low impedance to ground during output low intervals of the cycle, therefore discharging the capacitor. In the astable mode, the frequency of the pulse stream depends on the values of R1, R2 and C:

The high time from each pulse is given by

and the low time from each pulse is given by

10

where R1 and R2 are the values of the resistors in ohms and C is the value of the capacitor in farads.

Note 1: The power capability of R1 must be greater than

.

Note 2: particularly with bipolar 555s, it is essential to avoid low values of R1 as the discharge current capability of the IC is limited. If the limit is reached, the discharging output DIS will not be saturated (ie not essentially at GND as assumed for the timing calculations), so the capacitor voltage will not discharge from 0.67*Vcc towards 0, and the output low time will be greater than as given in the above equation. To achieve a duty cycle of less than 50% a diode can be added in parallel with R2 towards the capacitor. This bypasses R2 during the high part of the cycle so that the high interval depends only on R1 and C.

SpecificationsThese specifications apply to the NE555. Other 555 timers can have different specifications depending on the grade (military, medical, etc). Supply voltage (VCC) Supply current (VCC = +5 V) Supply current (VCC = +15 V) Output (maximum) Maximum dissipation Power Consumption Power current 4.5 to 15 V 3 to 6 mA

10 to 15 mA

200 mA

600 mW 30 mW@5V, 225 mW@15V 0 to 70 C

(minimum operating) Operatingtemperature

11

Features: Turn-off time less than 2 ms Max. operating frequency greater than 500 kHz Timing from microseconds to hours Operates in both astable and monostable modes High output current Adjustable duty cycle TTL compatible Temperature stability of 0.005% per C

Applications: Precision timing Pulse generation Sequential timing Time delay generation Pulse width modulation

3.3.2 IC CA3140The CA3140 are integrated circuit operational amplifiers that combine the

advantages of high voltage PMOS transistors with high voltage bipolar transistors on a single monolithic chip. The CA3140A and CA3140 BiMOS operational amplifiers feature gate protected MOSFET (PMOS) transistors in the input circuit to provide very high input impedance, very low input current, and high speed performance. The CA3140A and CA3140 operate at supply voltage from 4V to 36V (either single or dual supply). These operational amplifiers are internally phase compensated to achieve stable operation in unity gain follower operation, and additionally, have access terminal for a supplementary external capacitor if additional frequency roll-off is desired. Terminals are also provided for use in applications requiring input offset voltage nulling. The use of PMOS field effect transistors in the input stage results in common mode input voltage capability down to 0.5V below the negative supply terminal, an important attribute for single supply applications. The output stage uses bipolar transistors and includes

12

built-in protection against damage from load terminal short circuiting to either supply rail or to ground. The CA3140A and CA3140 are intended for operation at supply voltages up to 36V (18V).

FIG. 3.6 PINOUT

3.3.2.1 Block Diagram of IC CA3140As shown in the block diagram, the input terminals may be operated down to 0.5V below the negative supply rail. Two class A amplifier stages provide the voltage gain, and a unique class AB amplifier stage provides the current gain necessary to drive low-impedance loads. A biasing circuit provides control of cascoded constant current flow circuits in the first and second stages. The CA3140 includes an on chip phase compensating capacitor that is sufficient for the unity gain voltage follower configuration.

FIG.3.7 Block Diagram of IC CA3140

13

3.3.2.1.1 Input StageThe schematic diagram consists of a differential input stage using PMOS fieldeffect transistors (Q9, Q10) working into a mirror pair of bipolar transistors (Q11, Q12) functioning as load resistors together with resistors R2 through R5. The mirror pair transistors also function as a differential-to-single-ended converter to provide base current drive to the second stage bipolar transistor (Q13). Offset nulling, when desired, can be effected with a 10k potentiometer connected across Terminals 1 and 5 and with its slider arm connected to Terminal. The base biasing circuit for the constant current source is described subsequently. The small diodes D3, D4, D5 provide gate oxide protection against high voltage transients, e.g., static electricity.

3.3.2.1.2 Second StageMost of the voltage gain in the CA3140 is provided by the second amplifier stage, consisting of bipolar transistor Q13 and its cascode connected load resistance provided by bipolar transistors Q3, Q4. On-chip phase compensation, sufficient for a majority of the applications is provided by C1. Additional Miller-Effect compensation (roll off) can be accomplished, when desired, by simply connecting a small capacitor between Terminals 1 and 8. Terminal 8 is also used to strobe the output stage into quiescence. When terminal 8 is tied to the negative supply rail (Terminal 4) by mechanical or electrical means, the output Terminal 6 swings low, i.e., approximately to Terminal 4 potential.

3.3.2.1.3 Output StageThe CA3140 Series circuits employ a broad band output stage that can sink loads to the negative supply to complement the capability of the PMOS input stage when operating near the negative rail. Quiescent current in the emitter-follower cascade circuit (Q17, Q18) is established by transistors (Q14, Q15) whose base currents are mirrored to current flowing through diode D2 in the bias circuit section. When the CA3140 is operating such that output Terminal 6 is sourcing current, transistor Q18 functions as an emitter-follower to source current from the V+ bus (Terminal 7), via D7, R9, and R11. Under these conditions, the collector potential of Q13 is sufficiently high to permit the necessary flow of base current to emitter follower Q17 which, in turn, drives Q18. When the CA3140 is operating such that output Terminal 6 is sinking current to the V- bus, transistor Q16 is the current sinking element. Transistor Q16 is mirror connected to D6, R7,14

with current fed by way of Q21, R12, and Q20. Transistor Q20, in turn, is biased by current flow through R13, zener D8, and R14. The dynamic current sink is controlled by voltage level sensing. For purposes of explanation, it is assumed that output Terminal 6 is quiescently established at the potential midpoint between the V+ and V- supply rails. When output current sinking mode operation is required, the collector potential of transistor Q13 is driven below its quiescent level, thereby causing Q17, Q18 to decrease the output voltage at Terminal 6. Thus, the gate terminal of PMOS transistor Q21 is displaced toward the V- bus, thereby reducing the channel resistance of Q21. As a consequence, there is an incremental increase in current flow through Q20, R12, Q21, D6, R7, and the base of Q16. As a result, Q16 sinks current from Terminal 6 in direct response to the incremental change in output voltage caused by Q18. This sink current flows regardless of load; any excess current is internally supplied by the emitter-follower Q18. Short circuit protection of the output circuit is provided by Q19, which is driven into conduction by the high voltage drop developed across R11 under output short circuit conditions. Under these conditions, the collector of Q19 diverts current from Q4 so as to reduce the base current drive from Q17, thereby limiting current flow in Q18 to the short circuited load terminal.

3.3.2.1.3 Bias Circuit Quiescent current in all stages (except the dynamic current sink) of the CA3140 is dependent upon bias current flow in R1. The function of the bias circuit is to establish and maintain constant current flow through D1, Q6, Q8 and D2. D1 is a diode connected transistor mirror connected in parallel with the base emitter junctions of Q1, Q2, and Q3. D1 may be considered as a current sampling diode that senses the emitter current of Q6 and automatically adjusts the base current of Q6 (via Q1) to maintain a constant current through Q6, Q8, D2. The base currents in Q2, Q3 are also determined by constant current flow D1. Furthermore, current in diode connected transistor Q2 establishes the currents in transistors Q14 and Q15.

15

FIG. 3.8 Schematic Diagram of IC CA3140

16

Typical ApplicationsWide dynamic range of input and output characteristics with the most desirable high input impedance characteristics is achieved in the CA3140 by the use of an unique design based upon the PMOS Bipolar process. Input common mode voltage range and output swing capabilities are complementary, allowing operation with the single supply down to 4V. The wide dynamic range of these parameters also means that this device is suitable for many single supply applications, such as, for example, where one input is driven below the potential of Terminal 4 and the phase sense of the output signal must be maintained a most important consideration in comparator applications.

Absolute Maximum RatingsDC Supply Voltage (Between V+ and V- Terminals) . . . . . . . . . 36V Differential Mode Input Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . 8V DC Input Voltage . . . . . . . . . . . . . . . . . . . . . . (V+ +8V) To (V- -0.5V) Input Terminal Current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1mA Output Short Circuit Duration (Note 2) . . . . . . . . . . . . . . Indefinite Operating Conditions Temperature Range . . . . . . . . . . . . . . . . . . . . . . . . . -55oC to 125Oc

17

Table 3.2 Electrical Specifications

18

19

Features: MOSFET Input Stage - Very High Input Impedance (ZIN) -1.5T (Typ) - Very Low Input Current (Il) -10pA (Typ) at 15V - Wide Common Mode Input Voltage Range (VlCR) - Can be Swung 0.5V Below Negative Supply Voltage Rail - Output Swing Complements Input Common Mode Range Directly Replaces Industry Type 741 in Most Applications Pb-Free Plus Anneal Available (RoHS Compliant)

Applications

Ground-Referenced Single Supply Amplifiers in Automobile and Portable Instrumentation

Sample and Hold Amplifiers Long Duration Timers/Multivibrators (seconds-Minutes-Hours) Photocurrent Instrumentation Peak Detectors Active Filters Comparators Interface in 5V TTL Systems and Other Low Supply Voltage Systems All Standard Operational Amplifier Applications Function Generators Tone Controls Power Supplies Portable Instruments Intrusion Alarm Systems

3.3.3 IC 78127812 is a famous IC which is being widely used in 12V voltage regulator circuits. Truly speaking it is a complete standalone voltage regulator. We only need to use two capacitors, one on the input and second one on the output of 7812 in order to achieve clean voltage output and even these capacitors are optional to use. To achieve 12V 1A current, 7812 should be mounted on a good heatsink plate.20

Thanks to the transistor like shape of 7812 which makes it easy to mount on a heat sink plate.7812 has built in over heat and short circuit protection which makes it a good choice for making power supplies.

FIG 3.9 7812 circuit diagramIn electronics markets, 7812 is sold under various names such as 7812a, 7812act, 7812t and lm7812. All of them are almost identical with a little to no differences at all. 7812 input voltage range is 14V to 35V. Exceeding the voltage range may damage the IC. Given bellow is 7812 pin diagram to make the pinout connections clear in case you want to do some experiments.

FIG 3.10 7812 pin diagram

21

If you hold upside down (pins up) and the IC number is facing you then the left pin will be the voltage regulator output, the center pin will be ground and the right pin will be the voltage input pin. Under my experience, the maximum safe current you can get from one 7812 IC is 1A. If you need more power then there are a few ways to do so.

More than one 7812 can be used in parallel in order to achieve more than 1A current but output voltage of each 7812 can slightly vary resulting in unbalanced load on all of them. This can result in load balancing issues and can damage the IC carrying most current. However there is a way to overcome this problem. I have given bellow a schematic diagram in which two 7812 ICs are attached together and both of them are carrying almost equal load. At least the current difference is not too much to damage any IC.

FIG 3.11 7812 in parallel circuit diagramPlease note that in this circuit diagram, I have used resistors for load balancing purpose so the output of this voltage regulator circuit may slightly inaccurate. Both resistors should be minimum 15 Watt or above. If you dont find such resistors in your area then you can make them using 32 gauge or thinner copper wire. This parallel 7812 circuit will provide 12V and approximately 2A current. You can increase number of 7812 but each additional 7812 will require a resistor on its output.

Following is the link to a simple but complete power supply circuit diagram developed using 7812.22

3.3.3.1 voltage regulatorA voltage regulator is an electrical regulator designed to automatically maintain a constant voltage level. A voltage regulator may be a simple "feed-forward" design or may include negative feedback control loops. It may use an electromechanical mechanism, or electronic components. Depending on the design, it may be used to regulate one or more AC or DC voltages. Electronic voltage regulators are found in devices such as computer power supplies where they stabilize the DC voltages used by the processor and other elements. In automobile alternators and central power station generator plants, voltage regulators control the output of the plant. In an electric power distribution system, voltage regulators may be installed at a substation or along distribution lines so that all customers receive steady voltage independent of how much power is drawn from the line.

FIG 3.12 7812

Measures of regulator qualityThe output voltage can only be held roughly constant; the regulation is specified by two measurements:

load regulation is the change in output voltage for a given change in load current (for example: "typically 15mV, maximum 100mV for load currents between 5mA and 1.4A, at some specified temperature and input voltage").

line regulation or input regulation is the degree to which output voltage changes with input (supply) voltage changes - as a ratio of output to input change (for23

example "typically 13mV/V"), or the output voltage change over the entire specified input voltage range (for example "plus or minus 2% for input voltages between 90V and 260V, 50-60Hz").Other important parameters are:

Temperature coefficient of the output voltage is the change in output voltage with temperature (perhaps averaged over a given temperature range), while...

Initial accuracy of a voltage regulator (or simply "the voltage accuracy") reflects the error in output voltage for a fixed regulator without taking into account temperature or aging effects on output accuracy.

Dropout voltage is the minimum difference between input voltage and output voltage for which the regulator can still supply the specified current. A Low Drop-Out (LDO) regulator is designed to work well even with an input supply only a Volt or so above the output voltage. The input-output differential at which the voltage regulator will no longer maintain regulation. Further reduction in input voltage will result in reduced output voltage. This value is dependent on load current and junction temperature.

Absolute maximum ratings are defined for regulator components, specifying the continuous and peak output currents that may be used (sometimes internally limited), the maximum input voltage, maximum power dissipation at a given temperature, etc.

Output noise (thermal white noise) and output dynamic impedance may be specified as graphs versus frequency, while output ripple noise (mains "hum" or switch-mode "hash" noise) may be given as peak-to-peak or RMS voltages, or in terms of their spectra.

Quiescent current in a regulator circuit is the current drawn internally, not available to the load, normally measured as the input current while no load is connected (and hence a source of inefficiency; some linear regulators are, surprisingly, more efficient at very low current loads than switch-mode designs because of this).

Transient response is the reaction of a regulator when a (sudden) change of the load current (called the load transient) or input voltage (called the line transient) occurs. Some regulators will tend to oscillate or have a slow response time which in some cases might lead to undesired results. This value is different from the regulation parameters, as that is the stable situation definition. The transient response shows the behaviour of the regulator on a change. This data is usually24

provided in the technical documentation of a regulator and is also dependent on output capacitance.

3.3.4 Resistor

FIG 3.13 ResistorA linear resistor is a linear, passive two-terminal electrical component that implements electrical resistance as a circuit element. The current through a resistor is in direct proportion to the voltage across the resistor's terminals. Thus, the ratio of the voltage applied across a resistor's terminals to the intensity of current through the circuit is called resistance. This relation is represented by Ohm's law:

Resistors are common elements of electrical networks and electronic circuits and are ubiquitous in most electronic equipment. Practical resistors can be made of various compounds and films, as well as resistance wire (wire made of a highresistivity alloy, such as nickel-chrome). Resistors are also implemented within integrated circuits, particularly analog devices, and can also be integrated into hybrid and printed circuits. The electrical functionality of a resistor is specified by its resistance: common commercial resistors are manufactured over a range of more than nine orders of magnitude. When specifying that resistance in an electronic design, the required precision of the resistance may require attention to the manufacturing tolerance of the chosen resistor, according to its specific application. The temperature coefficient of the resistance may also be of concern in some precision applications. Practical resistors are also specified as having a maximum power rating which must exceed the anticipated power dissipation of that resistor in a particular circuit: this is mainly of concern in power electronics25

applications. Resistors with higher power ratings are physically larger and may require heat sinks. In a high-voltage circuit, attention must sometimes be paid to the rated maximum working voltage of the resistor. Practical resistors have a series inductance and a small parallel capacitance; these specifications can be important in high-frequency applications. In a low-noise amplifier or pre-amp, the noise characteristics of a resistor may be an issue. The unwanted inductance, excess noise, and temperature coefficient are mainly dependent on the technology used in manufacturing the resistor. They are not normally specified individually for a particular family of resistors manufactured using a particular technology. [1] A family of discrete resistors is also characterized according to its form factor, that is, the size of the device and the position of its leads (or terminals) which is relevant in the practical manufacturing of circuits using them.

3.3.4.1 UnitsThe ohm (symbol: ) is the SI unit of electrical resistance, named after Georg Simon Ohm. An ohm is equivalent to a volt per ampere. Since resistors are specified and manufactured over a very large range of values, the derived units of milliohm (1 m = 103 ), kilohm (1 k = 103 ), and megohm (1 M = 106 ) are also in common usage. The reciprocal of resistance R is called conductance G = 1/R and is measured in Siemens (SI unit), sometimes referred to as a mho. Hence, Siemens is the reciprocal of an ohm: S = 1

. Although the concept of conductance is often

used in circuit analysis, practical resistors are always specified in terms of their resistance (ohms) rather than conductance.

3.3.4.2 Theory of operationThe behavior of an ideal resistor is dictated by the relationship specified by Ohm's law:

26

Ohm's law states that the voltage (V) across a resistor is proportional to the current (I), where the constant of proportionality is the resistance (R). Equivalently, Ohm's law can be stated:

This formulation states that the current (I) is proportional to the voltage (V) and inversely proportional to the resistance (R). This is directly used in practical computations. For example, if a 300 ohm resistor is attached across the terminals of a 12 volt battery, then a current of 12 / 300 = 0.04 amperes (or 40 milliamperes) occurs across that resistor.

3.3.4.3 Series and parallel resistorsIn a series configuration, the current through all of the resistors is the same, but the voltage across each resistor will be in proportion to its resistance. The potential difference (voltage) seen across the network is the sum of those voltages, thus the total resistance can be found as the sum of those resistances:

As a special case, the resistance of N resistors connected in series, each of the same resistance R, is given by NR. Resistors in a parallel configuration are each subject to the same potential difference (voltage), however the currents through them add. The conductances of the resistors then add to determine the conductance of the network. Thus the equivalent resistance (Req) of the network can be computed:

27

The parallel equivalent resistance can be represented in equations by two vertical lines "||" (as in geometry) as a simplified notation. For the case of two resistors in parallel, this can be calculated using:

As a special case, the resistance of N resistors connected in parallel, each of the same resistance R, is given by R/N. A resistor network that is a combination of parallel and series connections can be broken up into smaller parts that are either one or the other. For instance,

However, some complex networks of resistors cannot be resolved in this manner, requiring more sophisticated circuit analysis. For instance, consider a cube, each28

edge of which has been replaced by a resistor. What then is the resistance that would be measured between two opposite vertices? In the case of 12 equivalent resistors, it can be shown that the corner-to-corner resistance is 56 of the individual resistance. More generally, the Y- transform, or matrix methods can be used to solve such a problem. One practical application of these relationships is that a non-standard value of resistance can generally be synthesized by connecting a number of standard values in series and/or parallel. This can also be used to obtain a resistance with a higher power rating than that of the individual resistors used. In the special case of N identical resistors all connected in series or all connected in parallel, the power rating of the individual resistors is thereby multiplied by N.

Power dissipationThe power P dissipated by a resistor (or the equivalent resistance of a resistor

network) is calculated as: The first form is a restatement of Joule's first law. Using Ohm's law, the two other forms can be derived. The total amount of heat energy released over a period of time can be determined from the integral of the power over that period of time:

Practical resistors are rated according to their maximum power dissipation. The vast majority of resistors used in electronic circuits absorb much less than a watt of electrical power and require no attention to their power rating. Such resistors in their discrete form, including most of the packages detailed below, are typically rated as 1/10, 1/8, or 1/4 watt. Resistors required to dissipate substantial amounts of power, particularly used in power supplies, power conversion circuits, and power amplifiers, are generally referred to as power resistors; this designation is loosely applied to resistors with29

power ratings of 1 watt or greater. Power resistors are physically larger and tend not to use the preferred values, color codes, and external packages described below. If the average power dissipated by a resistor is more than its power rating, damage to the resistor may occur, permanently altering its resistance; this is distinct from the reversible change in resistance due to its temperature coefficient when it warms. Excessive power dissipation may raise the temperature of the resistor to a point where it can burn the circuit board or adjacent components, or even cause a fire. There are flameproof resistors that fail (open circuit) before they overheat dangerous.

3.3.4.4. Variable resistorsA resistor may have one or more fixed tapping points so that the resistance can be changed by moving the connecting wires to different terminals. Some wirewound power resistors have a tapping point that can slide along the resistance element, allowing a larger or smaller part of the resistance to be used. Where continuous adjustment of the resistance value during operation of equipment is required, the sliding resistance tap can be connected to a knob accessible to an operator. Such a device is called a rheostat and has two terminals.

PotentiometersA common element in electronic devices is a three-terminal resistor with a continuously adjustable tapping point controlled by rotation of a shaft or knob. These variable resistors are known as potentiometers when all three terminals are present, since they act as a continuously adjustable voltage divider. A common example is a volume control for a radio receiver. Accurate, high-resolution

panel-mounted potentiometers (or "pots") have resistance elements typically wirewound on a helical mandrel, although some include a conductive-plastic resistance coating over the wire to improve resolution. These typically offer ten turns of their shafts to cover their full range. They are usually set with dials that include a simple turns counter and a graduated dial. Electronic analog computers used them in quantity for setting coefficients, and delayed-sweep oscilloscopes of recent decades included one on their panels.30

3.3.5 Capacitor

FIG 3.14 Capacitor

A capacitor (formerly known as condenser) is a passive two-terminal electrical component used to store energy in an electric field. The forms of practical capacitors vary widely, but all contain at least two electrical conductors separated by a dielectric (insulator); for example, one common construction consists of metal foils separated by a thin layer of insulating film. Capacitors are widely used as parts of electrical circuits in many common electrical devices. When there is a potential difference (voltage) across the conductors, a static electric field develops across the dielectric, causing positive charge to collect on one plate and negative charge on the other plate. Energy is stored in the electrostatic field. An ideal capacitor is characterized by a single constant value, capacitance, measured in farads. This is the ratio of the electric charge on each conductor to the potential difference between them. The capacitance is greatest when there is a narrow separation between large areas of conductor, hence capacitor conductors are often called "plates," referring to an early means of construction. In practice, the dielectric between the plates passes a small amount of leakage current and also has an electric field strength limit, resulting in a breakdown voltage, while the conductors and leads introduce an undesired inductance and resistance. Capacitors are widely used in electronic circuits for blocking direct current while allowing alternating current to pass, in filter networks, for smoothing the output of power supplies, in the resonant circuits that tune radios to particular frequencies and for many other purposes

31

A capacitor consists of two conductors separated by a non-conductive region. The non-conductive region is called the dielectric. In simpler terms, the dielectric is just an electrical insulator. Examples of dielectric mediums are glass, air, paper, vacuum, and even a semiconductor depletion region chemically identical to the conductors. A capacitor is assumed to be self-contained and isolated, with no net electric charge and no influence from any external electric field. The conductors thus hold equal and opposite charges on their facing surfaces, and the dielectric develops an electric field. In SI units, a capacitance of one farad means that one coulomb of charge on each conductor causes a voltage of one volt across the device. The capacitor is a reasonably general model for electric fields within electric circuits. An ideal capacitor is wholly characterized by a constant capacitance C, defined as the ratio of charge Q on each conductor to the voltage V between them:

Sometimes charge build-up affects the capacitor mechanically, causing its capacitance to vary. In this case, capacitance is defined in terms of incremental

3.3.5.1 Energy storageWork must be done by an external influence to "move" charge between the conductors in a capacitor. When the external influence is removed the charge separation persists in the electric field and energy is stored to be released when the charge is allowed to return to its equilibrium position. The work done in establishing the electric field, and hence the amount of energy stored, is given by:

32

3.3.5.2 DC circuits

A simple resistor-capacitor circuit demonstrates charging of a capacitor. A series circuit containing only a resistor, a capacitor, a switch and a constant DC source of voltage V0 is known as a charging circuit. If the capacitor is initially uncharged while the switch is open, and the switch is closed at t = 0, it follows from Kirchhoff's voltage law that

Taking the derivative and multiplying by C, gives a first-order differential equation,

At t = 0, the voltage across the capacitor is zero and the voltage across the resistor is V0. The initial current is then i (0) =V0 /R. With this assumption, the differential equation yields

where 0 = RC is the time constant of the system. As the capacitor reaches equilibrium with the source voltage, the voltage across the resistor and the current through the entire circuit decay exponentially. The case of discharging a charged capacitor likewise demonstrates exponential decay, but with the initial capacitor voltage replacing V0 and the final voltage being zero.33

3.3.5.3 AC circuitImpedance, the vector sum of reactance and resistance, describes the phase difference and the ratio of amplitudes between sinusoidally varying voltage and sinusoidally varying current at a given frequency. Fourier analysis allows any signal to be constructed from a spectrum of frequencies, whence the circuit's reaction to the various frequencies may be found. The reactance and impedance of a capacitor are respectively

where j is the imaginary unit and is the angular frequency of the sinusoidal signal. The - j phase indicates that the AC voltage V = Z I lags the AC current by 90: the positive current phase corresponds to increasing voltage as the capacitor charges; zero current corresponds to instantaneous constant voltage, etc. Impedance decreases with increasing capacitance and increasing frequency. This implies that a higher-frequency signal or a larger capacitor results in a lower voltage amplitude per current amplitudean AC "short circuit" or AC coupling. Conversely, for very low frequencies, the reactance will be high, so that a capacitor is nearly an open circuit in AC analysisthose frequencies have been "filtered out". Capacitors are different from resistors and inductors in that the impedance is inversely proportional to the defining characteristic, i.e. capacitance. Non-ideal behaviour Capacitors deviate from the ideal capacitor equation in a number of ways. Some of these, such as leakage current and parasitic effects are linear, or can be assumed to be linear, and can be dealt with by adding virtual components to the equivalent circuit of the capacitor. The usual methods of network analysis can then be applied. In other cases, such as with breakdown voltage, the effect is nonlinear and normal (i.e., linear) network analysis cannot be used, the effect must be dealt with separately. There is yet another group, which may be linear but34

invalidate the assumption in the analysis that capacitance is a constant. Such an example is temperature dependence. Finally, combined parasitic effects such as inherent inductance, resistance, or dielectric losses can exhibit non-uniform behavior at variable frequencies of operation. Breakdown voltage Above a particular electric field, known as the dielectric strength Eds, the dielectric in a capacitor becomes conductive. The voltage at which this occurs is called the breakdown voltage of the device, and is given by the product of the dielectric strength and the separation between the conductors, Vbd = Edsd The maximum energy that can be stored safely in a capacitor is limited by the breakdown voltage. Due to the scaling of capacitance and breakdown voltage with dielectric thickness, all capacitors made with a particular dielectric have

approximately equal maximum energy density, to the extent that the dielectric dominates their volume. For air dielectric capacitors the breakdown field strength is of the order 2 to 5 MV/m; for mica the breakdown is 100 to 300 MV/m, for oil 15 to 25 MV/m, and can be much less when other materials are used for the dielectric. The dielectric is used in very thin layers and so absolute breakdown voltage of capacitors is limited. Typical ratings for capacitors used for general electronics applications range from a few volts to 1 kV. As the voltage increases, the dielectric must be thicker, making high-voltage capacitors larger per capacitance than those rated for lower voltages. The breakdown voltage is critically affected by factors such as the geometry of the capacitor conductive parts; sharp edges or points increase the electric field strength at that point and can lead to a local breakdown. Once this starts to happen, the breakdown quickly tracks through the dielectric until it reaches the opposite plate, leaving carbon behind causing a short circuit. The usual breakdown route is that the field strength becomes large enough to pull electrons in the dielectric from their atoms thus causing conduction. Other scenarios are possible, such as impurities in the dielectric, and, if the dielectric is of a crystalline nature, imperfections in the crystal structure can result in an35

avalanche breakdown as seen in semi-conductor devices. Breakdown voltage is also affected by pressure, humidity and temperature.

Fig3.15 Equivalent circuit Two different circuit models of a real capacitor .An ideal capacitor only stores and releases electrical energy, without dissipating any. In reality, all capacitors have imperfections within the capacitor's material that create resistance. This is specified as the equivalent series resistance or ESR of a component. This adds a real component to the impedance:

As frequency approaches infinity, the capacitive impedance (or reactance) approaches zero and the ESR becomes significant. As the reactance becomes negligible, power dissipation approaches PRMS = VRMS /RESR. Similarly to ESR, the capacitor's leads add equivalent series inductance or ESL to the component. This is usually significant only at relatively high frequencies. As inductive reactance is positive and increases with frequency, above a certain frequency capacitance will be canceled by inductance. High-frequency engineering involves accounting for the inductance of all connections and components. If the conductors are separated by a material with a small conductivity rather than a perfect dielectric, then a small leakage current flows directly between them. The capacitor therefore has a finite parallel resistance, and slowly discharges over time (time may vary greatly depending on the capacitor material and quality).

36

3.3.5.4 Capacitor typesPractical capacitors are available commercially in many different forms. The type of internal dielectric, the structure of the plates and the device packaging all strongly affect the characteristics of the capacitor, and its applications. Values available range from very low (picofarad range; while arbitrarily low values are in principle possible, stray (parasitic) capacitance in any circuit is the limiting factor) to about 5 kF supercapacitors. Above approximately 1 microfarad electrolytic capacitors are usually used because of their small size and low cost compared with other technologies, unless their relatively poor stability, life and polarised nature make them unsuitable. Very high capacity supercapacitors use a porous carbon-based electrode material.

FIG 3.16 Types of capacitorsCapacitor materials. From left: multilayer ceramic, ceramic disc, multilayer polyester film, tubular ceramic, polystyrene, metalized polyester film, aluminum electrolytic. Major scale divisions are in centimetres.Most types of capacitor include a dielectric spacer, which increases their capacitance. These dielectrics are most often insulators. However, low capacitance devices are available with a vacuum between their plates, which allows extremely high voltage operation and low losses. Variable capacitors with their plates open to the atmosphere were commonly used in radio tuning circuits. Later designs use polymer foil dielectric between the moving and stationary plates, with no significant air space between them In order to maximise the charge that a capacitor can hold, the dielectric material needs to have as high a permittivity as possible, while also having as high a breakdown voltage as possible. Several solid dielectrics are available, including paper, plastic, glass, mica and ceramic materials. Paper was used extensively in older devices and offers relatively high voltage performance. However, it is susceptible to water absorption, and has been largely replaced by plastic film capacitors. Plastics offer better stability and aging performance, which makes them useful in timer circuits, although they may be limited to low37

operating temperatures and frequencies. Ceramic capacitors are generally small, cheap and useful for high frequency applications, although their capacitance varies strongly with voltage and they age poorly. They are broadly categorized as class 1 dielectrics, which have predictable variation of capacitance with temperature or class 2 dielectrics, which can operate at higher voltage. Glass and mica capacitors are extremely reliable, stable and tolerant to high temperatures and voltages, but are too expensive for most mainstream applications. Electrolytic capacitors and supercapacitors are used to store small and larger amounts of energy, respectively, ceramic capacitors are often used in resonators, and parasitic capacitance occurs in circuits wherever the simple conductor-insulator-conductor structure is formed unintentionally by the configuration of the circuit layout. Electrolytic capacitors use an aluminum or tantalum plate with an oxide dielectric layer. The second electrode is a liquid electrolyte, connected to the circuit by another foil plate. Electrolytic capacitors offer very high capacitance but suffer from poor tolerances, high instability, gradual loss of capacitance especially when subjected to heat, and high leakage current. Poor quality capacitors may leak electrolyte, which is harmful to printed circuit boards. The conductivity of the electrolyte drops at low temperatures, which increases equivalent series resistance. While widely used for power-supply conditioning, poor high-frequency characteristics make them unsuitable for many applications. Electrolytic capacitors will self-degrade if unused for a period (around a year), and when full power is applied may short circuit, permanently damaging the capacitor and usually blowing a fuse or causing arcing in rectifier tubes. They can be restored before use (and damage) by gradually applying the operating voltage, often done on antique vacuum tube equipment over a period of 30 minutes by using a variable transformer to supply AC power. Unfortunately, the use of this technique may be less satisfactory for some solid state equipment, which may be damaged by operation below its normal power range, requiring that the power supply first be isolated from the consuming circuits. Such remedies may not be applicable to modern high-frequency power supplies as these produce full output voltage even with reduced input. Tantalum capacitors offer better frequency and temperature characteristics than aluminum, but higher dielectric absorption and leakage.[24] OS-CON (or OC38

CON) capacitors are a polymerized organic semiconductor solid-electrolyte type that offer longer life at higher cost than standard electrolytic capacitors. Several other types of capacitor are available for specialist applications. Supercapacitors store large amounts of energy. Supercapacitors made from carbon aerogel, carbon nanotubes, or highly porous electrode materials, offer extremely high capacitance (up to 5 kF as of 2010) and can be used in some applications instead of rechargeable batteries. Alternating current capacitors are specifically designed to work on line (mains) voltage AC power circuits. They are commonly used in electric motor circuits and are often designed to handle large currents, so they tend to be physically large. They are usually ruggedly packaged, often in metal cases that can be easily grounded/earthed. They also are designed with direct current breakdown voltages of at least five times the maximum AC voltage. 3.3.5.5 Structure

fig 3.17 structure of capacitor Capacitor packages: SMD ceramic at top left; SMD tantalum at bottom left; through-hole tantalum at top right; through-hole electrolytic at bottom right. Major scale divisions are cm. The arrangement of plates and dielectric has many variations depending on the desired ratings of the capacitor. For small values of capacitance (microfarads and less), ceramic disks use metallic coatings, with wire leads bonded to the coating. Larger values can be made by multiple stacks of plates and disks. Larger value capacitors usually use a metal foil or metal film layer deposited on the surface of a dielectric film to make the plates, and a dielectric film of impregnated paper or plastic these are rolled up to save space. To reduce the series resistance and inductance for long plates, the plates and dielectric are staggered so that connection is made at the common edge of the39

rolled-up plates, not at the ends of the foil or metalized film strips that comprise the plates. The assembly is encased to prevent moisture entering the dielectric early radio equipment used a cardboard tube sealed with wax. Modern paper or film dielectric capacitors are dipped in a hard thermoplastic. Large capacitors for high-voltage use may have the roll form compressed to fit into a rectangular metal case, with bolted terminals and bushings for connections. The dielectric in larger capacitors is often impregnated with a liquid to improve its properties.

FIG. 3.18 Several axial-lead electrolytic capacitors.Capacitors may have their connecting leads arranged in many configurations, for example axially or radially. "Axial" means that the leads are on a common axis, typically the axis of the capacitor's cylindrical body the leads extend from opposite ends. Radial leads might more accurately be referred to as tandem; they are rarely actually aligned along radii of the body's circle, so the term is inexact, although universal. The leads (until bent) are usually in planes parallel to that of the flat body of the capacitor, and extend in the same direction; they are often parallel as manufactured. Small, cheap discoidal ceramic capacitors have existed since the 1930s, and remain in widespread use. Since the 1980s, surface mount packages for capacitors have been widely used. These packages are extremely small and lack connecting leads, allowing them to be soldered directly onto the surface of printed circuit boards. Surface mount components avoid undesirable high-frequency effects due to the leads and simplify automated assembly, although manual handling is made difficult due to their small size. Mechanically controlled variable capacitors allow the plate spacing to be adjusted, for example by rotating or sliding a set of movable plates into alignment with a set of stationary plates. Low cost variable capacitors squeeze together40

alternating layers of aluminum and plastic with a screw. Electrical control of capacitance is achievable with varactors (or varicaps), which are reverse-biased semiconductor diodes whose depletion region width varies with applied voltage. They are used in phase-locked loops, amongst other applications.

Applications of Capacitors:This mylar-film, oil-filled capacitor has very low inductance and low resistance, to provide the high-power (70 megawatt) and high speed (1.2 microsecond) discharge needed to operate a dye laser. Capacitors have many uses in electronic and electrical systems. They are so common that it is a rare electrical product that does not include at least one for some purpose. Energy storage A capacitor can store electric energy when disconnected from its charging circuit, so it can be used like a temporary battery. Capacitors are commonly used in electronic devices to maintain power supply while batteries are being changed. (This prevents loss of information in volatile memory.) Conventional capacitors provide less than 360 joules per kilogram of energy density, while capacitors using developing technologies could provide more than 2.52 kilojoules per kilogram. In car audio systems, large capacitors store energy for the amplifier to use on demand. Also for a flash tube a capacitor is used to hold the high voltage. Pulsed power and weapons Groups of large, specially constructed, low-inductance high-voltage capacitors (capacitor banks) are used to supply huge pulses of current for many pulsed power applications. These include electromagnetic forming, Marx generators, pulsed lasers (especially TEA lasers), pulse forming networks, radar, fusion research, and particle accelerators. Large capacitor banks (reservoir) are used as energy sources for the explodingbridgewire detonators or slapper detonators in nuclear weapons and other specialty weapons. Experimental work is under way using banks of capacitors as

41

power sources for electromagnetic armour and electromagnetic railguns and coilguns

FIG. 3.19 Power Conditioning A 10 millifarad capacitor in an amplifier power supply Reservoir capacitors are used in power supplies where they smooth the output of a full or half wave rectifier. They can also be used in charge pump circuits as the energy storage element in the generation of higher voltages than the input voltage. Capacitors are connected in parallel with the power circuits of most electronic devices and larger systems (such as factories) to shunt away and conceal current fluctuations from the primary power source to provide a "clean" power supply for signal or control circuits. Audio equipment, for example, uses several capacitors in this way, to shunt away power line hum before it gets into the signal circuitry. The capacitors act as a local reserve for the DC power source, and bypass AC currents from the power supply. This is used in car audio applications, when a stiffening capacitor compensates for the inductance and resistance of the leads to the lead-acid car battery. Power factor correction In electric power distribution, capacitors are used for power factor correction. Such capacitors often come as three capacitors connected as a three phase load. Usually, the values of these capacitors are given not in farads but rather as a reactive power in volt-amperes reactive (VAr). The purpose is to counteract inductive loading from devices like electric motors and transmission lines to make the load appear to be mostly resistive. Individual motor or lamp loads may have capacitors for power factor correction, or larger sets of capacitors (usually with42

automatic switching devices) may be installed at a load center within a building or in a large utility substation. Supression and coupling

FIG.3.19 Signal Coupling Polyester film capacitors are frequently used as coupling capacitors. Because capacitors pass AC but block DC signals (when charged up to the applied dc voltage), they are often used to separate the AC and DC components of a signal. This method is known as AC coupling or "capacitive coupling". Here, a large value of capacitance, whose value need not be accurately controlled, but whose reactance is small at the signal frequency, is employed. Signal processing The energy stored in a capacitor can be used to represent information, either in binary form, as in DRAMs, or in analogue form, as in analog sampled filters and CCDs. Capacitors can be used in analog circuits as components of integrators or more complex filters and in negative feedback loop stabilization. Signal processing circuits also use capacitors to integrate a current signal. Tuned circuits Capacitors and inductors are applied together in tuned circuits to select information in particular frequency bands. For example, radio receivers rely on variable capacitors to tune the station frequency. Speakers use passive analog crossovers, and analog equalizers use capacitors to select different audio bands. The resonant frequency f of a tuned circuit is a function of the inductance (L) and capacitance (C) in series, and is given by:

43

where L is in henries and C is in farads.

3.3.6 DIODE

Fig. 3.21

Closeup of a diode, showing the square shaped

semiconductor crystal (black object on left).

Figure 3.22 Various semiconductor diodes. Bottom: A bridge rectifier.In most diodes, a white or black painted band identifies the cathode terminal, that is, the terminal that conventional current flows out of when the diode is conducting.

44

Fig. 3.23 Structure of a vacuum tube diode.The filament may be bare, or more commonly (as shown here), embedded within and insulated from an enclosing cathode In electronics, a diode is a type of twoterminal electronic component with a nonlinear currentvoltage characteristic. A semiconductor diode, the most common type today, is a crystalline piece of semiconductor material connected to two electrical terminals.[1] A vacuum tube diode (now rarely used except in some high-power technologies) is a vacuum tube with two electrodes: a plate and a cathode. The most common function of a diode is to allow an electric current to pass in one direction (called the diode's forward direction), while blocking current in the opposite direction (the reverse direction). Thus, the diode can be thought of as an electronic version of a check valve. This unidirectional behavior is called rectification, and is used to convert alternating current to direct current, and to extract modulation from radio signals in radio receiversthese diodes are forms of rectifiers. However, diodes can have more complicated behavior than this simple onoff action. Semiconductor diodes do not begin conducting electricity until a certain threshold voltage is present in the forward direction (a state in which the diode is said to be forward-biased). The voltage drop across a forward-biased diode varies only a little with the current, and is a function of temperature; this effect can be used as a temperature sensor or voltage reference. Semiconductor diodes have nonlinear electrical characteristics, which can be tailored by varying the construction of their PN junction. These are exploited in special purpose diodes45

that perform many different functions. For example, diodes are used to regulate voltage (Zener diodes), to protect circuits from high voltage surges (avalanche diodes), to electronically tune radio and TV receivers (varactor diodes), to generate radio frequency oscillations (tunnel diodes, Gunn diodes, IMPATT diodes), and to produce light (light emitting diodes). Tunnel diodes exhibit negative resistance, which makes them useful in some types of circuits. Diodes were the first semiconductor electronic devices. The discovery of crystals' rectifying abilities was made by German physicist Ferdinand Braun in 1874. The first semiconductor diodes, called cat's whisker diodes, developed around 1906, were made of mineral crystals such as galena. Today most diodes are made of silicon, but other semiconductors such as germanium are sometimes used.

Semiconductor diodes

Fig 2.24: Typical diode packages in same alignment as diode symbol.A modern semiconductor diode is made of a crystal of semiconductor like silicon that has impurities added to it to create a region on one side that contains negative charge carriers (electrons), called n-type semiconductor, and a region on the other side that contains positive charge carriers (holes), called p-type semiconductor. The diode's terminals are attached to each of these regions. The boundary within the crystal between these two regions, called a PN junction, is where the action of the diode takes place. The crystal conducts a current of electrons in a direction from the N-type side (called the cathode) to the P-type side (called the anode), but not in the opposite direction. However, conventional current flows from anode to cathode in the direction of the arrow (opposite to the electron flow, since electrons have negative charge). Another type of semiconductor diode, the Schottky diode, is formed from the contact between a metal and a semiconductor rather than by a pn junction.46

Currentvoltage characteristicsA semiconductor diodes behavior in a circuit is given by its currentvoltage characteristic, or IV graph (see graph below). The shape of the curve is determined by the transport of charge carriers through the so-called depletion layer or depletion region that exists at the pn junction between differing semiconductors. When a pn junction is first created, conduction-band (mobile) electrons from the N-doped region diffuse into the P-doped region where there is a large population of holes (vacant places for electrons) with which the electrons "recombine". When a mobile electron recombines with a hole, both hole and electron vanish, leaving behind an immobile positively charged donor (dopant) on the N side and negatively charged acceptor (dopant) on the P side. The region around the pn junction becomes depleted of charge carriers and thus behaves as an insulator. However, the width of the depletion region (called the depletion width) cannot grow without limit. For each electronhole pair that recombines, a positively charged dopant ion is left behind in the N-doped region, and a negatively charged dopant ion is left behind in the P-doped region. As recombination proceeds more ions are created, an increasing electric field develops through the depletion zone that acts to slow and then finally stop recombination. At this point, there is a "built-in" potential across the depletion zone. If an external voltage is placed across the diode with the same polarity as the built-in potential, the depletion zone continues to act as an insulator, preventing any significant electric current flow (unless electron/hole pairs are actively being created in the junction by, for instance, light. see photodiode). This is the reverse bias phenomenon. However, if the polarity of the external voltage opposes the built-in potential, recombination can once again proceed, resulting in substantial electric current through the pn junction (i.e. substantial numbers of electrons and holes recombine at the junction). For silicon diodes, the built-in potential is approximately 0.7 V (0.3 V for Germanium and 0.2 V for Schottky). Thus, if an external current is passed through the diode, about 0.7 V will be developed across the diode such that the Pdoped region is positive with respect to the N-doped region and the diode is said to be "turned on" as it has a forward bias. A diodes 'IV characteristic' can be approximated by four regions of operation.47

Fig. 3.25 IV characteristics of a PN junction diodeAt very large reverse bias, beyond the peak inverse voltage or PIV, a process called reverse breakdown occurs that causes a large increase in current (i.e., a large number of electrons and holes are created at, and move away from the pn junction) that usually damages the device permanently. The avalanche diode is deliberately designed for use in the avalanche region. In the Zener diode, the concept of PIV is not applicable. A Zener diode contains a heavily doped pn junction allowing electrons to tunnel from the valence band of the p-type material to the conduction band of the n-type material, such that the reverse voltage is "clamped" to a known value (called the Zener voltage), and avalanche does not occur. Both devices, however, do have a limit to the maximum current and power in the clamped reverse-voltage region. Also, following the end of forward conduction in any diode, there is reverse current for a short time. The device does not attain its full blocking capability until the reverse current ceases. The second region, at reverse biases more positive than the PIV, has only a very small reverse saturation current. In the reverse bias region for a normal P N rectifier diode, the current through the device is very low (in the A range). However, this is temperature dependent, and at sufficiently high temperatures, a substantial amount of reverse current can be observed (mA or more). The third region is forward but small bias, where only a small forward current is conducted. As the potential difference is increased above an arbitrarily defined "cut-in voltage" or "on-voltage" or "diode forward voltage drop (Vd)", the diode current becomes appreciable (the level of current considered "appreciable" and the value48

of cut-in voltage depends on the application), and the diode presents a very low resistance. The currentvoltage curve is exponential. In a normal silicon diode at rated currents, the arbitrary cut-in voltage is defined as 0.6 to 0.7 volts. The value is different for other diode types Schottky diodes can be rated as low as 0.2 V, Germanium diodes 0.25 to 0.3 V, and red or blue light-emitting diodes (LEDs) can have values of 1.4 V and 4.0 V respectively. At higher currents the forward voltage drop of the diode increases. A drop of 1 V to 1.5 V is typical at full rated current for power diodes.

Applications of dioides Radio demodulationThe first use for the diode was the demodulation of amplitude modulated (AM) radio broadcasts. The history of this discovery is treated in depth in the radio article. In summary, an AM signal consists of alternating positive and negative peaks of a radio carrier wave, whose amplitude or envelope is proportional to the original audio signal. The diode (originally a crystal diode) rectifies the AM radio frequency signal, leaving only the positive peaks of the carrier wave. The audio is then extracted from the rectified carrier wave using a simple filter and fed into an audio amplifier or transducer, which generates sound waves. Power conversion Rectifiers are constructed from diodes, where they are used to convert alternating current (AC) electricity into direct current (DC). Automotive alternators are a common example, where the diode, which rectifies the AC into DC, provides better performance than the commutator or earlier, dynamo. Similarly, diodes are also used in CockcroftWalton voltage multipliers to convert AC into higher DC voltages. Over-voltage protection Diodes are frequently used to conduct damaging high voltages away from sensitive electronic devices. They are usually reverse-biased (non-conducting)49

under normal circumstances. When the voltage rises above the normal range, the diodes become forward-biased (conducting). For example, diodes are used in (stepper motor and H-bridge) motor controller and relay circuits to de-energize coils rapidly without the damaging voltage spikes that would otherwise occur. (Any diode used in such an application is called a flyback diode). Many integrated circuits also incorporate diodes on the connection pins to prevent external voltages from damaging their sensitive transistors. Specialized diodes are used to protect from over-voltages at higher power (see Diode types above). Logic gates Diodes can be combined with other components to construct AND and OR logic gates. This is referred to as diode logic. Ionizing radiation detectors In addition to light, mentioned above, semiconductor diodes are sensitive to more energetic radiation. In electronics, cosmic rays and other sources of ionizing radiation cause noise pulses and single and multiple bit errors. This effect is sometimes exploited by particle detectors to detect radiation. A single particle of radiation, with thousands or millions of electron volts of energy, generates many charge carrier pairs, as its energy is deposited in the semiconductor material. If the depletion layer is large enough to catch the whole shower or to stop a heavy particle, a fairly accurate measurement of the particles energy can be made, simply by measuring the charge conducted and without the complexity of a magnetic spectrometer, etc. These semiconductor radiation detectors need efficient and uniform charge collection and low leakage current. They are often cooled by liquid nitrogen. For longer-range (about a centimetre) particles, they need a very large depletion depth and large area. For short-range particles, they need any contact or un-depleted semiconductor on at least one surface to be very thin. The back-bias voltages are near breakdown (around a thousand volts per centimetre). Germanium and silicon are common materials. Some of these detectors sense position as well as energy. They have a finite life, especially when detecting heavy particles, because of radiation damage. Silicon and germanium are quite different in their ability to convert gamma rays to electron showers. Semiconductor detectors for high-energy particles are used in large numbers.50

Because of energy loss fluctuations, accurate measurement of the energy deposited is of less use. Temperature measurements A diode can be used as a temperature measuring device, since the forward voltage drop across the diode depends on temperature, as in a Silicon bandgap temperature sensor. From the Shockley ideal diode equation given above, it appears the voltage has a positive temperature coefficient (at a constant current) but depends on doping concentration and operating temperature (Sze 2007). The temperature coefficient can be negative as in typical thermistors or positive for temperature sense diodes down to about 20 kelvins. Typically, silicon diodes have approximately 2 mV/C temperature coefficient at room temperature.

3.3.7 L.E.D

FIG. 3. 26 Parts of an LED.

Although not directly labeled, the flat bottom surfaces of the anvil and post embedded inside the epoxy act as anchors, to prevent the conductors from being forcefully pulled out from mechanical strain or vibration.

51

A light-emitting diode (LED) is a semiconductor light source. LEDs are used as indicator lamps in many devices and are increasingly used for other lighting. Introduced as a practical electronic component in 1962, early LEDs emitted lowintensity red light, but modern versions are available across the visible, ultraviolet, and infrared wavelengths, with very high brightness. When a lightemitting diode is forward-biased (switched on), electrons are able to recombine with electron holes within the device, releasing energy in the form of photons. This effect is called electroluminescence and the color of the light (corresponding to the energy of the photon) is determined by the energy gap of the semiconductor. LEDs are often small in area (less than 1 mm2), and integrated optical components may be used to shape its radiation pattern LEDs present many advantages over incandescent light sources including lower energy consumption, longer lifetime, improved robustness, smaller size, and faster switching. LEDs powerful enough for room lighting are relatively expensive and require more precise current and heat management than compact fluorescent lamp sources of comparable output.

3.3.7.1 Types of L.E.D

Fig 3.27 Types of ledsLEDs are produced in a variety of shapes and sizes. The 5 mm cylindrical package (red, fifth from the left) is the most common, estimated at 80% of world production. The color of the plastic lens is often the same as the actual color of light emitted, but not always. For instance, purple plastic is often used for infrared LEDs, and most blue devices have clear housings. There are also LEDs in SMT packages, such as those found on blinkies and on cell phone keypads (not shown).

52

Application-specific variations

Flashing LEDs are used as attention seeking indicators without requiring external electronics. Flashing LEDs resemble standard LEDs but they contain an integrated multivibrator circuit that causes the LED to flash with a typical period of one second. In diffused lens LEDs this is visible as a small black dot. Most flashing LEDs emit light of one color, but more sophisticated devices can flash between multiple colors and even fade through a color sequence using RGB color mixing.

FIG. 3. 28 LED display, 1970s.

Bi-color LEDs are two different LEDs in one case. They consist of two dies connected to the same two leads antiparallel to each other. Current flow in one direction emits one color, and current in the opposite direction emits the other color. Alternating the two colors with sufficient frequency causes the appearance of a blended third color. For example, a red/green LED operated in this fashion will color-blend to emit a yellow appearance.

Tri-color LEDs are two LEDs in one case, but the two LEDs are connected to separate leads so that the two LEDs can be controlled independently and lit simultaneously. A three-lead arrangement is typical with one common lead (anode or cathode).[citation needed]

RGB LEDs contain red, green, and blue emitters, in general using a four-wire connection with one common lead (anode or cathode). These LEDs can have either common positive or common negative leads. Others however, have only two leads (positive and negative) and have a built in tiny electronic control unit.

Alphanumeric LED displays are available in seven-segment and starburst format. Seven-segment displays handle all numbers and a limited set of letters. Starburst displays can display all letters. Seven-segment LED displays were in widespread53

use in the 1970s and 1980s, but rising use of liquid crystal displays, with their lower power needs and greater display flexibility, has reduced the popularity of numeric and alphanumeric LED displays

3.3.7.2 Advantages

Efficiency: LEDs emit more light per watt than incandescent light bulbs.[85] Their efficiency is not affected by shape and size, unlike fluorescent light bulbs or tubes.

Color: LEDs can emit light of an intended color without using any color filters as traditional lighting methods need. This is more efficient and can lower initial costs.

Size: LEDs can be very small (smaller than 2 mm2[86]) and are easily populated onto printed circuit boards.

On/Off time: LEDs light up very quickly. A typical red indicator LED will achieve full brightness in under a microsecond.[87] LEDs used in communications devices can have even faster response times.

Cycling: LEDs are ideal for uses subject to frequent on-off cycling, unlike fluorescent lamps that fail faster when cycled often, or HID lamps that require a long time before restarting.

Dimming: LEDs can very easily be dimmed either by pulse-width modulation or lowering the forward current.

Focus: The solid package of the LED can be designed to focus its light. Incandescent and fluorescent sources often require an external reflector to collect light and direct it in a usable manner.

3.3.7.3 Disadvantages

High initial price: LEDs are currently more expensive, price per lumen, on an initial capital cost basis, than most conventional lighting technologies. As of 2010, the cost per thousand lumens (kilolumen) was about $18. The price is expected to reach $2/kilolumen by 2015.[91] The additional expense partially stems from the relatively low lumen output and the drive circuitry and power supplies needed.

54

Temperature dependence: LED performance largely depends on the ambient temperature of the operating environment. Over-driving an LED in high ambient temperatures may result in overheating the LED package, eventually leading to device failure. Adequate heat sinking is needed to maintain long life. This is especially important in automotive, medical, and military uses where devices must operate over a wide range of temperatures, and need low failure rates.

Voltage sensitivity: LEDs must be supplied with the voltage above the threshold and a current below the rating. This can involve series resistors or currentregulated power supplies.

Light quality: Most cool-white LEDs have spectra that differ significantly from a black body radiator like the sun or an incandescent light. The spike at 460 nm and dip at 500 nm can cause the color of objects to be perceived differently under cool-white LED illumination than sunlight or incandescent sources, due to metamerism, red surfaces being rendered particularly badly by typical phosphorbased cool-white LEDs. However, the color rendering properties of common fluorescent lamps are often inferior to what is now available in state-of-art white LEDs.

Area light source: LEDs do not approximate a point source of light, but rather a lambertian distribution. So LEDs are difficult to apply to uses needing a spherical light field. LEDs cannot provide divergence below a few degrees. In contrast, lasers can emit beams with divergences of 0.2 degrees or less.

Electrical Polarity: Unlike incandescent light bulbs, which illuminate regardless of the electrical polarity, LEDs will only light with correct electrical polarity.

Blue hazard: There is a concern that blue LEDs and cool-white LEDs are now capable of exceeding safe limits of the so-called blue-light hazard as defined in eye safety specifications such as ANSI/IESNA RP-27.105: Recommended Practice for Photobiological Safety for Lamp and Lamp Systems.

Blue pollution: Because cool-white LEDs (i.e., LEDs with high color temperature) emit proportionally more blue light than conventional outdoor light sources such as high-pressure sodium vapor lamps, the strong wavelength dependence of Rayleigh scattering means that cool-white LEDs can cause more light pollution than other light sources. The International Dark-Sky Association55

discourages using white light sources with correlated color temperature above 3,000 K.

Droop: The efficiency of LEDs tends to decrease as one increases current.

3.3.8 Battery (electricity)

Fig 3.29 Various cells and batteriesAn electrical battery is one or more electrochemical cells that convert stored chemical energy into electrical energy. Since the invention of the first battery (or "voltaic pile") in 1800 by Alessandro Volta and especially since the technically improved Daniell cell in 1836, batteries have become a common power source for many household and industrial applications. According to a 2005 estimate, the worldwide battery industry generates US$48 billion in sales each year, with 6% annual growth. There are two types of batteries: primary batteries (disposable batteries), which are designed to be used once and discarded, and secondary batteries (rechargeable batteries), which are designed to be recharged and used multiple times. Batteries come in many sizes, from miniature cells used to power hearing aids and wristwatches to battery banks the size of rooms that provide standby power for telephone exchanges and computer data centers.

56

3.3.8.1 History Of Battery:

The symbol for a battery in a circuit diagram. It originated as a schematic drawing of the earliest type of battery, a voltaic pile. In strict terms, a battery is a collection of multiple electrochemical cells, but in popular usage battery often refers to a single cell. For example, a 1.5-volt AAA battery is a single 1.5-volt cell, and a 9-volt battery has six 1.5-volt cells in series. The first electrochemical cell was developed by the Italian physicist Alessandro Volta in 1792, and in 1800 he invented the first battery, a "pile" of many cells in series. The usage of "battery" to describe electrical devices dates to Benjamin Franklin, who in 1748 described multiple Leyden jars (early electrical capacitors) by analogy to a battery of cannons. Thus Franklin's usage to describe multiple Leyden jars predated Volta's use of multiple galvanic cells.It is speculated, but not established, that several