Vous êtes sur la page 1sur 3

Automobile Interior Lights Fader

This circuit is similar to the fading eyes circuit above and is used to slowly brighten and fade interior lights of older cars. The circuit is based around the LM324 low power opamp which draws around 3mA of current, so it won't bother the battery if left connected for extended periods. The top two opamps (pins 1,2,3 and 5,6,7) form a triangle wave oscillator running at about 700Hz while the lower opamp (pins 8,9,10) produces a linear, 5 second ramp, that moves up or down depending on the position of the door switch. The two transistors and associated resistors serve to limit the ramp voltage to slightly more and less than the upper and lower limits of the triangle waveform. These two signals (700 hZ. triangle wave and 5 second ramp) are applied to the inputs of the 4th opamp (pins 12,13,14) that serves as a voltage comparator and generates a varying duty cycle square wave that controls the IRFZ44 MOSFET and lamp brightness. The 5 second fade time can be adjusted with the 75K resistor connected to the door switch. A larger value will increase the time and a smaller value will speed it up. When the door switch is closed (car door open) the voltage on pin 8 slowly rises above the negative peaks of the triangle wave producing a short duty cycle output and a dim light. As the ramp moves farther positive, a greater percentage of the triangle wave will be lower than the ramp voltage producing a wider pulse and brighter light. This process continues until the ramp is 100% above the positive peaks of the triangle wave and the output is maximum. When the door switch is open, the reverse action takes place and the lamps slowly fade out. The IRFZ44 shouldn't require a heat sink if the total load is 50 watts or less but the temperature of the MOSFET should be monitored to insure it doesn't overheat. The on-state resistance is only 0.028 ohms so that 4 amps of current (48 watts) is only around 100mW. For larger loads, a small heat sink can be added to keep the MOSFET cool.

Automatic 12 Volt Lamp Fader


This circuit is similar to the "Fading Red Eyes" circuit (in the LED section) used to fade a pair of red LEDs. In this version, the lamps are faded by varying the duty cycle so that higher power incandescent lamps can be used without much power loss. The switching waveform is generated by comparing two linear ramps of different frequencies. The higher frequency ramp waveform (about 75 Hz.) is produced from one section of the LM324 quad op-amp wired as a Schmitt trigger oscillator. The lower frequency ramp controls the fading rate and is generated from the upper two op-amps similar to the "fading eyes" circuit. The two ramp waveforms at pins 9 and 1 are compared by the 4th op-amp which generates a varying duty cycle rectangular waveform to drive the output transistor. A second transistor is used to invert the waveform so that one group of lamps will fade as the other group brightens. The 2N3053 will handle up to 500 milliamps so you could connect 12 strings of 4 LEDs each (48 LEDs) with a 220 ohm resistor in series with each group of 4 LEDs. This would total about 250 milliamps. Or you can use three 4 volt, 200 mA Xmas tree bulbs in series. For higher power 12 volt automobile lamps, the transistor will need to be replaced with a MOSFET that can handle several amps of current. See the drawing below the schematic for possible hookups.

1.5 Hour Lamp Fader (Sunset Lamp)


Similar to the one above, the sunset lamp comes on at full brightness and then slowly fades out over 1.5 hours time and stays off until power is recycled.

Sunrise Lamp
In this circuit, a 120VAC lamp is slowly illuminated over a approximate 20 minute period. The bridge rectifier supplies 120 DC to the MOSFET and 60 watt lamp. A 6.2K, 5 watt resistor and zener diode is used to drop the voltage to 12 volts DC for the circuit power. The bridge rectifier should be rated at 200 volts and 5 amps or more. In operation, a 700 Hz triangle waveform is generated at pin 1 of the LM324 and a slow rising voltage is obtained at pin 8. These two signals are compared at pins 12 and 13 to produce a varying duty cycle rectangular waveform at pin 14, which controls the MOSFET and brightness of the 60 watt lamp. When power is applied, the lamp will start to illuminate within a minute or so, and will slowly brighten to full intensity in about 20 minutes. You can make that longer or shorter with adjustments to the 270K resistor at pin 9. The 2.2 ohm resistor and .015uF cap connected to the lamp serve to supress RFI. The diode at pin 9 and 10K resistor on pin 8 are used to discharge the 3300uF cap when power is removed. Power should be off for a few minutes before re-starting. Caution: This circuit is connected directly to the AC line and presents a hazard if any part is touched while connected to the line. Use caution and do not touch any parts while the circuit is connected to the AC line. You may want to use a 9 volt battery connected across the 12 volt zener to check the basic operation. The DC voltage at pins 1,2,3,5,6,7 will all be around 4.3 volts if the circuit is working correctly. If the DC voltages are all correct, you can use a variac to slowly apply the full line voltage and check for proper operation.

Vous aimerez peut-être aussi