aaah.. how to tackle with these resistors....????

Thread Starter

onlyvinod56

Joined Oct 14, 2008
369
Hello....

Every time when i work with transistors, fets, LED circuits, i am facing problems with current limiting resistors or biasing resistors.

This time i want to get it clear.
How to select a proper resistor when using with these components.??

I am attaching some pictures.

when using LEDs: for 12v supply R=1K; for 5v supply R=330 ohm.

When using transistors: from 12v analog IC, base resistor =1K
from 5V microcontroller, resistor = 330 or 220 ohm

when using optocouplers: diode side 1K for 12v, 330 for 5v
transistor side 1K for 12v for any mosfet.

99 percent i'll get positive results.
but sometimes not. Here is an example.

Consider the LDR circuit shown in the attachment. the output leds are responding to the LDR status. but not driving the relay. Tested with 741 and 358 also.

can anybody give me some suggestions.??
 

Attachments

bertus

Joined Apr 5, 2008
22,276
Hello,

What happens with the relays?
Is it always powered?
What current does the relays need?

The base current of the transistor should be about 1/10 of the collector current,
for full saturation of the transistor.

Bertus
 

Thread Starter

onlyvinod56

Joined Oct 14, 2008
369
Hello bertus,

The relay is at normally open condition. Whenever the circuit powered up, the contacts get closed. When the LDR status is changed, the LEDs are responding but the relay continues to be in closed position.

The current rating of the relay is not mentioned. But the coil resistance is 400 ohm. So, the relay takes 30mA. According to your statement, the base requires 1/10th of Ic. So, base requires 3mA. Right..?.

How can I pump 3mA into the transistor?

Does the 1/10th logic valid for all the transistors?. If not how can I get that ratio info?
 

wayneh

Joined Sep 9, 2010
17,498
Does the 1/10th logic valid for all the transistors?
It's valid, because it's sort of preparing for the worst case scenario. Just about any functioning transistor (BJT, anyway) will be fully on when the base has 10% of the collector current. This will be certain to saturate it and turn it fully on. Often this could be nearly accomplished with far less current, but you cannot count on that in a design. Hence the 10% rule of thumb.

The base current is calculated with Ohm's law just like you would for a resistor. You choose the resistor by assuming essentially zero ohms from base to emitter. The only wrinkle is that a drop of ~0.7V will occur from base to emitter regardless of current. So with 5V on the base, the ∆V for your ohm's law calculation is 4.3V.
 

tubeguy

Joined Nov 3, 2012
1,157
As Bertus stated, the transistor is not turning off.
Measure the voltage between ground and the op-amp output when the top LED is on (op-amp output low, the transistor should be off). If it's not less than 0.5 volts or so the transistor will begin to turn on.
In this state the op-amp is sinking about 10ma which is probably pulling it's output up enough to keep the transistor on.

EDIT: I think the 741 output (with single supply) can't get that close to ground any way.

A simple fix would be a pull-down resistor on the base and/or a diode or two in series with the base to drop the excess voltage.
 
Last edited:

Thread Starter

onlyvinod56

Joined Oct 14, 2008
369
The base current is calculated with Ohm's law just like you would for a resistor. You choose the resistor by assuming essentially zero ohms from base to emitter. The only wrinkle is that a drop of ~0.7V will occur from base to emitter regardless of current. So with 5V on the base, the ∆V for your ohm's law calculation is 4.3V.
That means, for 12v, considering Vbe as 0.7, the ΔV = 11.3.
accoriding to 1/10th thumb rule, the base current required is 3mA. so, the required resistance is 11.3/3m = 3.7K.

am i correct?
 

Thread Starter

onlyvinod56

Joined Oct 14, 2008
369
As Bertus stated, the transistor is not turning off.
Measure the voltage between ground and the op-amp output when the top LED is on (op-amp output low, the transistor should be off).
its 1V.

EDIT: I think the 741 output (with single supply) can't get that close to ground any way.
Now I am using 358.

A simple fix would be a pull-down resistor on the base and/or a diode or two in series with the base to drop the excess voltage.
I"ll try and update. thanks.
 

Thread Starter

onlyvinod56

Joined Oct 14, 2008
369
A simple fix would be a pull-down resistor on the base and/or a diode or two in series with the base to drop the excess voltage.
Hi tubeguy.

as you said,

1) i used a pull down resistor.the transistor base voltage is 0.4v(with light) and 0.83v(without light).

2) used a diode to drop the voltage. the transistor base voltage is 0.63v(with light) and 0.83v(without light).

Its working.

Thankyou Tubeguy.
 
Top