Friday, December 27, 2013
Simple linear Regulator Circuit Diagram

Thursday, December 26, 2013
LDR Based 12V White LED Driver for up to 30 LEDs
![]() |
| 30 White LEDs Driver Circuit Diagram |
Instead of around 1.8V to 2V or thereabouts, they normally require more than 3V to produce their rated brightness. In fact, if you are driving a bunch of them you need to drive them all at constant current otherwise their individual brightness tends to vary markedly. However, if you only have a 12V supply available, you can only put two or maybe three LEDs in series together with a constant current source and this leads to poor efficiency.

The approach in this circuit is to boost the 12V supply to something around 21V and this means that we can have groups of five LEDs, each in series with their own current source transistors. The result is a single PC board with the drive circuitry and 30 white LEDs. It can be used for lighting in caravans and recreational vehicles, emergency lighting or whatever application you can think of. Current drain is around 190mA at 12V.
Circuit description
Now let’s have a look at the circuit of Fig.1. It uses just one IC (a 4093 quad NAND Schmitt trigger gate package), a few transistors and diodes, 30 white LEDs and not much else. So where is the familiar boost converter circuit? Answer: there isn’t one or least not one with an inductor switched by a Mosfet. Instead, there is a charge pump inverter, comprising IC1c, transistors Q2 & Q3, Schottky diodes D1 & D2 and a few capacitors. It works as follows:

IC1c is connected as an inverter oscillator and its running frequency of about 30kHz is determined mainly by the 6.8kΩ resistor between pins 8 & 10 together with the 4.7nF capacitor at pin 8. This produces a rectangular waveform (not quite square but pretty close) at pin 10 to drive complementary switching transistors Q2 & Q3.
The waveform at their commoned emitters drives a diode pump consisting of two 100μF capacitors and Schottky diodes D1 & D2. The waveform generated by the circuit can be seen in the scope photo of Fig.2.
RS flipflop
Oscillator IC1c is controlled by an RS (Reset/Set) flipflop comprising the two NAND gates IC1a & IC1b and this is controlled by pushbutton switches S1 and S2. Normally, this has its pin 4 low and pins 1 & 6 are pulled high via 470kΩ resistors. Momentarily closing S1 (ON) pulls pin 6 low, causing the flipflop to change state so that pin 4 now goes high to enable IC1c which now oscillates at 30kHz.

The 30kHz waveform produced by transistors Q2 & Q3 drives the diode pump referred to earlier and this develops about 21V to drive the LED columns. Each column of five white LEDs is driven by its own current source transistor which has a 33Ω emitter resistor. The bases of all six current source transistors (Q4-Q9) are driven from pin 4 of IC1b via a 6.8kΩ resistor and clamped to a maximum of +1.2V by diodes D3 & D4.
Subtract the 0.6V between the base and emitter of each transistor and you are left with 0.6V across each 33Ω resistor, thus setting the LED drive current to 18mA. Switching the circuit off is accomplished by pushing the OFF switch, S2. This momentarily pulls pin 1 low to toggle the RS flipflop, thus causing pin 4 to go low. This disables IC1c, Q2 & Q3 and also turns off the current source transistors.
Note that there is an interesting wrinkle to this drive circuit, because there is no On/Off switch. This means that the current source transistors must be turned off otherwise they would continue to draw current from the 12V supply even when the circuit is nominally off. The current path may not be obvious but it is via the boost circuit’s diodes, D1 & D2.
Auto on/off
As well as using the pushbutton switches S1 & S2 to turn the circuit on and off, there is also a facility to automatically turn the circuit on and off depending on ambient light levels. Links L1 & L2 can be used to provide Auto On and Auto Off respectively and these features can be used separately or together.

An LDR (light dependent resistor) is used to monitor the ambient light level. When light falls upon it, it pulls the base of Q1 low, causing pins 12 & 11 of IC1d to go low and its pin 11 to go high. When darkness falls (or the room lights go out), the process is reversed. Depending on whether you have one or both links connected, you can use the pushbuttons to turn the circuit on and off and have it turn on and/off automatically as well.
Q1 also drives a red high brightness LED (LED1) at very low current, via a 470kΩ resistor. This is a bit of a gimmick but it does have the benefit of showing that this part of the circuit is working, if you have to trouble-shoot it.
Note:
Pins 1 & 2, 5 & 6 and 8 & 9 of IC1 on the circuit are all swapped. The PC board overlay diagram is correct.
- Source
- SiliconChip Online
Simple Multivoltage Power Supply Circuit Diagram
Multivoltage Power Supply Circuit Diagram

Wednesday, December 25, 2013
Two Wire Temperature Sensor
Remote temperature measurements have to be linked by some sort of cable to the relevant test instrument. Normally, this is a three-core cable: one core for the signal and the other two for the supply lines. If the link is required to be a two-core cable, one of the supply lines and the signal line have to be combined. This is possible with, for instance, temperature sensors LM334 and LM335. However, these devices provide an output that is directly proportional to absolute temperature and this is not always a practical proposition.
Circuit diagram :
Two-Wire Temperature Sensor Circuit Diagram
If an output signal that is directly proportional to the celsius temperature scale is desired, the present circuit, which uses a Type LM45 sensor, offers a good solution. The LM45 sensor is powered by an alternating voltage, while its out-put is a direct voltage.
The supply to the sensor is provided by a sine-wave generator, based on A 1 and A 2 (see diagram). The alternating volt-age is applied to the signal line in the two-core cable via coupling capacitor C 6 .
The sensor contains a volt-age-doubling rectifier formed by D 1 -D 2 -C 1 -C 2 . This network converts the applied alternating voltage into a direct voltage. Resistor R 2 isolates the output from the load capacitance, while choke L 1 couples the output signal of the sensor to the signal line in the cable. Choke L 1 and capacitor C 2 protect the output against the alternating voltage present on the line.
At the other end of the link, network R 3 -L 2 -C 4 forms a low-pass section that prevents the alternating supply voltage from combining with the sensor out-put. Capacitor C 5 prevents a direct current through R 3 , since this would attenuate the temper-ature-dependent voltage.
The output load should have a high resistance, some 100 kΩ or even higher. The circuit draws a current of a few mA.
Simple UPS Power Supply
This circuit is a simple form of the commercial UPS, the circuit provides a constant regulated 5 Volt output and an unregulated 12 Volt supply. In the event of electrical supply line failure the battery takes over, with no spikes on the regulated supply.
Notes:
This circuit can be adapted for other regulated and unregulated voltages by using different regulators and batteries. For a 15 Volt regulated supply use two 12 Volt batteries in series and a 7815 regulator. There is a lot of flexibility in this circuit.
TR1 has a primary matched to the local electrical supply which is 240 Volts in the UK. The secondary winding should be rated at least 12 Volts at 2 amp, but can be higher, for example 15 Volts. FS1 is a slow blow type and protects against short circuits on the output, or indeed a faulty cell in a rechargeable battery. LED 1 will light ONLY when the electricity supply is present, with a power failure the LED will go out and output voltage is maintained by the battery. The circuit below simulates a working circuit with mains power applied:
Note that in all cases the 5 Volt regulated supply is maintained constantly, whilst the unregulated supply will vary a few volts.
Standby Capacity
The ability to maintain the regulated supply with no electrical supply depends on the load taken from the UPS and also the Ampere hour capacity of the battery. If you were using a 7A/h 12 Volt battery and load from the 5 Volt regulator was 0.5 Amp (and no load from the unregulated supply) then the regulated supply would be maintained for around 14 hours. Greater A/h capacity batteries would provide a longer standby time, and vice versa.
Tuesday, December 24, 2013
Variable Zener Diode Circuit Diagram

Simple Battery Temperature Sensing Nicad Charger

