Wednesday, February 26, 2014

Clipping Indicator For Audio Amplifiers

A clipping indicator is a useful accessory on any audio amplifier. It indicates when the amplifier has reached its limit and is clipping the peaks of the audio signal. In practice, quite a lot of clipping can occur before you can hear it. So why is it necessary to know when an amplifier is clipping if you cant notice it? The answer is that clipping "squares up" the waveform and square waves contain lots of higher-frequency harmonics which can easily damage the tweeters in loudspeaker systems. This circuit is a true clipping indicator as opposed to the level indicators that are commonly used in preamplifier stages.

The problem with level indicators is that an amplifiers maximum output power is not constant. Thats because the amplifiers supply rails are not regulated and so the maximum power available at any given instant varies, depending on the applied signal. The circuit is quite simple and is based on two BD140 PNP transistors and zener diode ZD1. During normal operation, Q1 is turned on via ZD1 and R1. As a result, Q2 is held off (since its base is pulled high) and so LED1 is also off. However, if the output signal subsequently rises to within 4.7V of the positive supply rail, Q1 turns off since it no longer has any forward bias on its base.

Circuit diagram:
clipping-indicator-for-audio amplifiers
Clipping Indicator Circuit Diagram

As a result Q2s base is now pulled low via R2 and so Q2 turns on and lights LED1. (Note: the 0.6V drop across Q1s base/emitter is ignored here because ZD1 conducts before its rated voltage due to the very low current involved). Why choose 4.7V below the power rail as the turn-on point? The reason is that, due to the drive limitations and the nature of emitter followers, they can be expected to have at least 4V across them when they saturate (ie, clip). ZD1 can be increased to a 5V or 6.2V type if the circuit is to be used with a monster amplifier.

The value of R3 should be customized according to the amplifiers supply rail, so that LED1 operates with the correct brightness. To do that, first measure the amplifiers positive supply voltage, then use Ohms Law (R = V/I) to calculate the value of R3 for a current of about 20mA. As it stands, this circuit can only be used to monitor the positive-going half-cycles of the audio waveform. If you want to monitor the negative half-cycles as well, you will have to build a second circuit with the following changes: (1) reverse both LED1 and ZD1; and (2) use BD139 (NPN) transistors for Q1 & Q2. Note that, in both cases, you should use the earth inside the amplifier, as the speaker negative may not be earth (such as in a bridged output).


Author: Philip Chugg - Copyright: Silicon Chip Electronics Magazine
Read More..

Speech Filter

In communications receivers and microphone amplifiers for transmitting equipment, there is frequently a need for a narrow, low-frequency band-pass filter that lets only the voice band through. This band is usually defined to be the portion of the audio frequency spectrum between approximately 300 Hz and 3300 Hz. In order to implement such a filter, we have calculated the values for two fifth-order Butterworth filters having these corner frequencies and connected them in series. The result is a band-pass filter for the desired pass-band with a skirt steepness of 100 dB/decade.  The first opamp (IC1) acts as a buffer.
Speech Filter Image :
image
The circuit can be powered by a unipolar supply voltage between 5 V and 18 V, which is a broad enough range that it should always be possible to find a suitable voltage when building the filter into existing equipment. The current consumption of the filter is only a few milliampères, which should rarely pose a problem. There is fairly wide selection of suitable candidates for the opamps, since the circuit is not critical in this regard. In addition to the indicated OP27A, you could consider using a TL081N or even an old-fashioned 741.
Circuit diagram : 
Speech-Filter-Circut-Diagram
Speech Filter Circuit Diagram
Due to unavoidable spreads in component values, the pass-band curve of the filter will never be completely perfect in actual practice. However, the deviations will be very small and in any case inaudible. In the pass-band region, the gain is approximately unity. The printed circuit board design shown here allows the speech filter to be built in a very compact form, which can be an important factor if it must be fitted into existing equipment. You can quickly check the fully assembled circuit by momentarily measuring the voltages at the inputs and out-puts of the three opamps. Half of the supply voltage should be present at all of these locations.
PCB Layout :
Pcb Lyout
Parts LIST:
Resistors:
R1.R2 = 22kΩ
R3,R11,R12,R18,R19 = 100kΩ
R4 = 470Ω
R5 = 150Ω
R6 = 10kΩ
R7 = 18kΩ
R8 = 15kΩ
R9 = 33kΩ
R10 = 82kΩ
R13-R17 = 3kΩ3
Capacitors:
C1,C8,C14,C15 = 100nF
C2 = 1µF MKT
C3-C7,C11 = 22nF
C9 = 33nF
C10 = 18nF
C12 = 10nF
C13 = 4nF7
C16,C17 = 10µF 16V
Semiconductors:
IC1,IC2,IC3 = OP27A, TL081CN
Miscellaneous:
Bt1 = 9-V battery
Author: G.Baars
Read More..

Mains Manager

Very often we forget to switch off the peripherals like monitor, scanner, and printer while switching off our PC. The problem is that there are separate power switches to turn the peripherals off. Normally, the peripherals are connected to a single of those four-way trailing sockets that are plugged into a single wall socket. If that socket is accessible, all the devices could be switched off from there and none of the equipment used will require any modification. 

Here is a mains manager circuit that allows you to turn all the equipment on or off by just operating the switch on any one of the devices; for example, when you switch off your PC, the monitor as well as other equipment will get powered down automatically. You may choose the main equipment to control other gadgets. 

The main equipment is to be directly plugged into the master socket, while all other equipment are to be connected via the slave socket. The mains supply from the wall socket is to be connected to the input of the mains manager circuit. The unit operates by sensing the current drawn by the control equipment/load from the master socket. On sensing that the control equipment is on, it powers up the other (slave) sockets.

The load on the master socket can be anywhere between 20 VA and 500 VA, while the load on the slave sockets can be 60 VA to 1200 VA. During the positive half cycle of the mains AC supply, diodes D4, D5, and D6 have a voltage drop of about 1.8 volts when current is drawn from the master socket. Diode D7 carries the current during negative half cycles. Capacitor C3, in series with diode D3, is connected across the diode combination of D4 through D6, in addition to diode D7 as well as resistor R10. Thus current pulses during positive half-cycles, charge up the capacitor to 1.8 volts via diode D3. 

This voltage is sufficient to hold transistor T2 in forward biased condition for about 200 ms even after the controlling load on the master socket is switched off. When transistor T2 is ‘on’, transistor T1 gets forward biased and is switched on. This, in turn, triggers Triac 1, which then powers the slave loads. Capacitor C4 and resistor R9 form a snubber network to ensure that the triac turns off cleanly with an inductive load.

Circuit diagram:
mains-manager circuit diagram
Mains Manager Circuit Diagram

LED1 indicates that the unit is operating. Capacitor C1 and zener ZD1 are effectively in series across the mains. The resulting 15V pulses across ZD1 are rectified by diode D2 and smoothened by capacitor C2 to provide the necessary DC supply for the circuit around transistors T1 and T2. Resistor R3 is used to limit the switching-on surge current, while resistor R1 serves as a bleeder for rapidly discharging capacitor C1 when the unit is unplugged. LED1 glows whenever the unit is plugged into the mains. Diode D1, in anti-parallel to LED1, carries the current during the opposite half cycles. Don’t plug anything into the master or slave sockets without testing the unit.

If possible, plug the unit into the mains via an earth leakage circuit breaker. The mains LED1 should glow and the slave LED2 should remain off. Now connect a table lamp to the master socket and switch it ‘on’. The lamp should operate as usual. The slave LED should turn ‘on’ whenever the lamp plugged into slave socket is switched on. Both lamps should be at full brightness without any flicker. If so, the unit is working correctly and can be put into use.

Note:
  1. The device connected to the master socket must have its power switch on the primary side of the internal transformer. Some electronic equipment have the power switch on the secondary side and hence these devices continue to draw a small current from the mains even when switched off. Thus such devices, if connected as the master, will not control the slave units correctly. 
     
  2. Though this unit removes the power from the equipment being controlled, it doesn’t provide isolation from the mains. So, before working inside any equipment connected to this unit, it must be unplugged from the socket.


http://www.ecircuitslab.com/2011/05/mains-manager.html
Read More..

Multitasking Pins Circuit

It’s entirely logical that low-cost miniature microcontrollers have fewer ‘legs’ than their bigger brothers and sisters – sometimes too few. The author has given some consideration to how to economise on pins, making them do the work of several. It occurred that one could exploit the high impedance feature of a tri-state output. In this way the signal produced by the high impedance state could be used for example as a CS signal of two ICs or else as a RD/ WR signal. 

Circuit diagram:
multitasking pins circuit diagram Multitasking Pins Circuit Diagram

All we need are two op-amps or comparators sharing a single operating voltage of 5 V and outputs capable of reaching full Low and High levels in 5-V operation (preferably types with rail-to-rail outputs). Suitable examples to use are the LM393 or LM311.The resistances in the voltage dividers in this circuit are uniformly 10 kilo ohms. Consequently input A lies at half the operating voltage (2.5 V), assuming nothing is connected to the input – or the microcontroller pin connected is at high impedance. 

The non-inverting input of IC1A lies at two thirds and the inverting input of IC1B at one third of the operating voltage, so that in both cases the outputs are set at High state. If the microcontroller pin at input A becomes Low, the output of IC1B becomes Low and that of IC1A goes High. If A is High, everything is reversed.
Read More..

Fuel Reserve Indicator For Vehicles

Here is a simple circuit for monitoring the fuel level in vehicles. It gives an audiovisual indication when the fuel level drops alarmingly below the reserve level, helping you to avoid running out of petrol on the way. Nowadays vehicles come with a dash-mounted fuel gauge meter that indicates the fuel levels on an analogue display. The ‘reserve’ level is indicated by a red marking in some vehicles, but the needle movement through the red marking may be confusing and not precise. This circuit monitors the fuel tank below the reserve level and warns through LED indicators and audible beeps when the danger level is approaching. 

Circuit diagram :
Fuel Reserve Indicator For Vehicles Circuit diagram
Fuel Reserve Indicator For Vehicles Circuit Diagram

The fuel sensor system consists of a tank-mounted float sensor and a current meter (fuel meter), which are connected in series. The float-driven sensor attached to an internal rheostat offers high resistance when the tank is empty. When the tank is full, the resistance decreases, allowing more current to pass through the meter to give a higher reading. The fuel monitoring circuit works by sensing the voltage variation developed across the meter and activates the beeper when the fuel tank is almost empty. Its point A is connected to the input terminal of the fuel meter and point B is connected to the body of the vehicle. The circuit consists of an op-amp IC CA3140 (IC1), two 555 timer ICs (IC2 and IC3) and decade counter CD4017 (IC4). 

Op-amp IC CA3140 is wired as a voltage comparator. Its inverting input (pin 2) receives a reference voltage controlled through VR1. The non-inverting input (pin 3) receives a variable voltage tapped from the input terminal of the fuel meter through resistor R1. When the voltage at pin 3 is higher han at pin 2, the output of IC1 goes high and the green LED (LED1) glows. This condition is maintained until the voltage at pin 3 drops below that at pin 2. When this happens, the output of IC1 swings from high to low, sending a low pulse to the trigger pin of the monostable (usually held high by R3) via C1. The monostable triggers and its output goes high for a predetermined time based on the values of R5 and C2. With the given values, the ‘on’ time will be around four minutes. 

The output of IC2 is used to power the astable circuit consisting of timer 555 (IC3) via diode D2. Oscillations of IC3 are controlled by R6, R7, VR2 and C4. With the given values, the ‘on’ and ‘off’ time periods are 27 and 18 seconds, respectively. The pulses from IC3 are given to the clock input (pin 14) of decade counter CD4017 (IC4) and its outputs go high one by one. When the circuit is switched on, LED1 and LED2 glow if your vehicle has sufficient petrol in the tank. 

When the fuel goes below the reserve level, the output of IC1 goes low, LED1 turns off and a negative triggering pulse is received at pin 2 of IC2. The output of IC2 goes high for around four minutes and during this time period, clock pin 14 of IC4 receives the clock pulse (low to high) from the output of IC3. For the first clock pulse, Q0 output of IC4 goes high and the green LED (LED2) glows for around 50 seconds. On receiving the second clock pulse, Q1 goes high to light up the yellow LED (LED3) and sound the buzzer for around 45 seconds. This audio-visual signal warns you that the vehicle is running out of fuel. On receiving the third clock pulse, LED3 and the buzzer go off. There is a gap of around two-and-a-half minutes before Q5 output goes high.

By the time Q5 goes high and the red LED (LED4) glows, four minutes elapse and the power supply to IC3 is cut off. The output state at Q5 will not change unless a low-to-high clock input is received at its pin 14. Thus LED4 will glow continuously along with the beep. The continuous glowing of the red LED (LED4) and the beep from the buzzer indicate that the vehicle will run out of fuel very shortly. Q6 output of IC4 is connected to its reset pin 15 via diode D3. This means that after ‘on’ state of Q5, the count will always start from Q0. Capacitor C5 provides power-on reset to IC4 when switch S1 is closed. The output of IC1 is also connected to reset pin of IC4 via diode D1 (1N4148). So when your vehicle is refueled above the reserve level, LED2 glows to indicate that the tank has sufficient fuel.

IC5 provides regulated 12V DC for proper functioning of the circuit even when the battery is charged to more than 12V. The circuit can be assembled on a perforated board. Adjust VR1 until the voltage at pin 2 of IC1 drops to 1.5V. When point A is connected to the fuel meter (fuel gauge) terminal that goes to the fuel sensor, green LEDs (LED1 and LED2) glow to indicate the normal fuel level. VR2 can be varied to set the ‘on’ time period of IC3 at around 20 seconds. Enclose the circuit in a small case and mount on the dashboard using adhesive tape. The circuit works only in vehicles with negative grounding of the body.

Author : D. Mohan Kumar
Read More..

Sunday, February 9, 2014

Headphone amplifier circuit

Headphone amplifier circuit with op amp ic OPA134, 2134, NE5532, 5534.
Headphone amplifier circuit
Headphone amplifier circuit with op amp
Read More..

Low ripple power supply schematic

Simple schematic above is a circuit of power supply that can operate at high current with very small ripple voltage. How it works similiar to the high power class AB amplifiers, with the same quality. T1,T2 ,and R2 can also be called a power NPN-Darlington transistor. ZD1 and R1 as a supplier of voltage on the transistor base and filtered by C2. ZD1 can be slected with formulated (Figure 1.0) . For the C2 can be selected in accordance with the degree of smoothness as its value is effectively combined with the multiplied gain of the Transistor T1 and T2, assumsing minimum hfe for T1 and T2 , C=100x15(T1) x 25 (T2) = 37,000uF, adjust the voltage C2 with the input voltage, but must be higher than input voltage.
Low ripple power suplly regulator
Part List :
R1 = 2K2
R2 = 56R
R3 = 10K
C1 = 1500uF
D1-D4 = Didode 6A
T1 = 2N3054
T2 = 2N3055
rumus tegangan ripple
Figure 1.0
Read More..