Showing posts with label Discrete-Circuits. Show all posts
Showing posts with label Discrete-Circuits. Show all posts

## Monday, June 05, 2017

### Constant Current Source for LED

This article will explain the way a simple transistor based current source is designed, this will give an idea on how some components can be used in a practical way to make the circuit do some function, the objective is not design but to become familiar with the basic ideas.

Design of a Constant Current Source

In the circuit the LED is used as a reference so to keep it cool a 2.2K is chosen. (20V - 1.6V) / 2.2K = 8.3mA on the high side and when voltage is 10V the current will be 3.8mA min.

You should know that the LED forward drop can change with ambient light as it is photo sensitive and will vary with temperature.

The circuit can be improved by using a zener in place of the LED or better still a temperature compensated reference like LM336.

Operating Current of LM336 is 400uA to 10mA, 20V The max. voltage 20V / 3.3K = 6mA. so within limits. Then you can compute the rest, wire it up to see if your design works.

## Monday, August 15, 2016

### LED Voltage Level Indicator

This circuit is derived from a Siemens Application Note 1974. This circuit uses common components of today.

The circuit is here as it is of high educational value. I have not tested it. You can 'simulate and test' or 'wire it up and try' and let me know how it worked. The Circuit is also a simple analog to digital converter. You can use optos in place of LEDs.

Battery Level Indicator

T1 and T2 make a differential amplifier. T3, T4 and T5 driving the LEDs are comparators.  When input voltage is increased T1 is turned on which leads to more base current for T3 which Lights LED1. When input voltage is less T2 turns on as it gets a better base current from P3 which turns on LED2 via T4. When both LEDs are off T5 gets biased as no drop across R5 which lights the LED3 thru T5 hopefully.

What you need to know is a small current Ib thru the base-emitter path in the direction of the emitter arrow will lead to a large Current Ic thru the emitter-collector path in direction of arrow. Ic = B * Ib where B - beta is the DC current gain, it could be 100-400

Fluid or Water Level with Reed Relays

Beta is different in each transistor you buy and varies with the test conditions and even with temperature and age. The LED1 and LED2 will indicate above or below Limits set by P2 and P1. The Limit Threshold itself is set at P3 i think. LED3 will light when Hi LED and Lo LED both are off.

The applications of this circuit are FM tuning indicator, Stereo Balance Indicator (Wire T2 like T1 then we get two channel inputs) and battery level indicator.

## Monday, September 21, 2015

### FET Current Source and MOSFET

This is a constant current source using a FET. This is the most simple replacement to series resistor to limit current. The N-Channel FET BF256C can give 15mA current.

Simple Methods

Before you get to use chips, experiment with some methods, which will help you learn about the LEDs better. The first is just One Resistor in series. This is to Limit the max current in a Series LED Chain. If you have a Regulated Supply with a Fixed Voltage, then you can use this method.

Let us take a 12V SMPS, Each HB White LED has a drop of around 3.2 (please see datasheet). If you put 3 LEDs in series it is a drop of 3 X 3.2 = 9.6 V.

12V - 9.6V = 2.4 V. This is the drop across the Resistor, let us keep the current at 20mA for a Long life for LED. Some LEDs will get damaged at 30mA some take more that that. We now have LED Modules which can take even 1 or 2 A.

V/I = R as per OHM. 2.4V/20mA = 120 E or Ohms.

How Hot? W = VI Power in Watts. 20mA x 2.4V = 48mW. This is where you lose the Money. Keep it low, else the Green Goblin will frown. Unless you want LED Lighting to double up as a Room Heater, Nice idea if you are in the Artic.

Now you have a chain of 3 LED with one R, make many such chains and put it in parallel to around 70% of SMPS capacity. If you have 20 Strips of 3 LEDs each, 20 X 20mA = 400mA. You will need a 12V 600mA SMPS .

MOSFET Drive for LED Constant Current

Let us assume, you have a supply that is varying and not stable. Then use a SMPS and Resistor as shown above. Closely matching the LED Chain to the SMPS voltage to keep the heat loss minimum. At Low voltages the above idea may not work. So you can try a MOSFET circuit shown.

You can use Transistors too but The Heat is more, as the Drop is more. When you use batteries, you cannot afford to lose even 0.5V. So the MOSFET is the answer.

This circuit is a nice design idea about LED drive with low voltage and watts burden. In combination with a Joule Thief - and PWM you can make many White LED utilities like Lanterns and Flashlights. PWM is to modulate brightness and also Extend LED Life.

The Essence is The LED has to have a long life, constant current is the answer. The Efficiency has to be High, Switching MOSFET is the answer. For just a LED or Two, you do not need to bother about Efficiency, but Constant Current, No Compromise. Why? Because it is in the Absolute Maximum Rating.

"You do not cross the road, when the light is RED. You do not Drive Faster, than the Speed Limit. You do not Eat, more than you can Digest.You do not Stress the Absolute Max in the Ratings."

The Elektrik Jedi

## Wednesday, December 03, 2014

### Isolated dual power supply from 5V

This is a unregulated supply for low power circuits. You may be able to regulate the outputs with zeners or small regulators like 78L05.

The transformer can be hand wound in a mini ferrite pot core. you can use 2N2222 or any other fast transistor. The transformer should have 1KV isolation. The dot polarity of TR1 should be properly observed, else it may fail to oscillate or give output.

Diode should be fast recovery type, for less than 100mA use 1N4148. transformer, pri-20-20, sec-60-60, a SWG-AWG to suit the current you

design for, any fast switching transistor would work, no regulation, use regulators like 78L12 if you want, circuit like multivibrator used for flashing LED lights.

The Source file in CadSoft EAGLE format is here del00010.zip

## Circuits by Application

 Analog Circuits SCR and Triac Mains Power Digital Circuits Measureall DMM Mixed Circuits 555 Circuits Discrete Circuits Opamp Circuits Power Electronics uC and uP Instrumentation Circuits Process Control