Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Need help understanding this circuit

Status
Not open for further replies.

scsTiger

New Member
This question is probably Electronics 101. I am not sure if questions this basic should be asked in this forum. If there is another site that is more appropriate, please point the way.


Attached is a solar path light schematic that I'm having a hard time understanding. In this circuit during daylight hours, the solar cell is charging the batteries and the LED is turned off. When the solar cell is no longer providing current, the LED comes on with the batteries providing current.

What I don't understand is why the transistor Q2 does not come on (and it shouldn't because we don't want the LEDs on during daylight hours) when the solar cell is providing current. I don't see why there's not enough current through Q2's emitter and base to turn that transistor on. Isn't there current through the emitter, base, through R3 and back to the solar panel?

Now don't get me wrong, I'm not saying the circuit is not correct. I am ONLY saying I don't understand why it works. Here is the website's explanation which I'm having trouble grasping:

Anybody might ask, "What keeps the LEDs from turning on during the day?"
The answer is that the current provided by the Solar CD seeks out any open path. Most of the current flows directly from the Solar CD and into the batteries. But a small amount of current flows through 2.2k resistor R1, where it meets the higher resistance of 10k resistor R2. An even smaller amount of current flows through R2; the rest of this current flows into the "base" lead of transistor Q1, which "turns on" Q1, creating an open path for current to flow through 2.2k resistor R3 and then through Q1 from collector to emitter. This prevents current from flowing into the base of transistor Q2. If current flowed into the base of Q2, the LEDs would turn on.

Apparently I need to be spoon-fed this explanation because I still do not see why "this prevents current from flowing into the base of transistor Q2.
 

Attachments

  • schematic1led.gif
    schematic1led.gif
    31.6 KB · Views: 224
the key here is the diode.

Q1 Q2 are PNP transistors.

In order to turn on a PNP transistor you need a LOW at the Base.

When there is no sunlight the base of Q1 is LOW since, NO battery voltage is allowed pass the diode. The base Q2 is also LOW via Q1. Now the LED is on since Q2 is on allowing current flow.

When there is sunlight the base of Q1 is Hi, sunlight causes the Solarpanel to produce 4.5V. Which causes the base of Q1 to be Hi, Q1 is off. Now the base Q2 is high due to R3 and q2 is off aswell, therefore stopping current flow throught the led. 3.9V is applied to the batteries to charge.

Anything else ? did I miss something ?
 
Strada916 said:
Q1 Q2 are PNP transistors.
No they are not! They are NPN.

Anything else ? did I miss something ?
You missed EVERYTHING.

The solar panel turns on Q1 through R1 when there is light. Then Q1 turns off Q2 and the LED. The diode passes current from the solar panel to charge the battery.

When it is dark then Q1 is off which allows Q2 to be turned on through R3. Then Q2 lights the LED.
The diode blocks the battery from turning on Q1.

The LED doesn't have a current-limiting resistor in series so I wonder what stops it from burning out.
 
Strada916 said:
the key here is the diode.

Q1 Q2 are PNP transistors.

Oh god! How could you miss this one?

Some of the symbols are a little wonky...
 
The LED doesn't have a current-limiting resistor in series so I wonder what stops it from burning out.
A few years ago I traced out the circuit of my garden lights and they use the exactly same circuit. I guess the LED survives due to the fact that the two NICADs have a nominal voltage of 2.4V and they are using a yellow LED with a Vf of around 2.3V or so. Couple that with the fact that the transistor will not fully saturate, and the LED lives to glow another night.
 
Sorry but I am a complete noob to electronics.

Why during daylight does the solar cell not turn on Q2? It seems like the current passes through the emitter and base of Q2 and then through resistor R3 and on through the diode. I don't understand how Q1 has anything to do with this (though I know it must).

Sorry guys I know this is something simple, elementary, and fundamental. I just don't know a better place to ask the question.
 
scsTiger said:
Why during daylight does the solar cell not turn on Q2? It seems like the current passes through the emitter and base of Q2 and then through resistor R3 and on through the diode. I don't understand how Q1 has anything to do with this (though I know it must).
When Q1 is turned on by the solar cell then it shorts the base to the emitter of Q2 so Q2 doesn't have any base viltage or base current and therefore it is off.

When there is no light then Q1 is off and the current in R3 turns on Q2.
 
Audioguru has explained it well. Maybe you need a picture:
 

Attachments

  • SolarLight.GIF
    SolarLight.GIF
    25.4 KB · Views: 196
Last edited:
@audioguru
Thank you for putting it into easy to understand language.

@kchriste
A picture is worth a thousand words. Thank you for taking the time to annotate that diagram. It gives me more information to learn and understand what is going on in what is probably a simple circuit to most (but definitely not to me).
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top