Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Thread Tools Display Modes
Old 10th July 2008, 01:00 AM   (permalink)
Default

The poor high-side drive isn't unique to Atmel, it's a 'feature' of the 8051 family. So the Atmel 8051 clones are true to the family's features.

The Atmel AVR family does it right. Symmetrical drives like the PIC.
mneary is offline   Reply With Quote
Old 10th July 2008, 01:37 AM   (permalink)
Default

Thanks for all the replies .

Roff , why you made a voltage driver using the 10k and the 200 ohm , after calculating the output voltage ,it will be approx 4.9 V , what's the wise for that ?
ahmedragia21 is offline   Reply With Quote
Old 10th July 2008, 01:46 AM   (permalink)
Default

Quote:
The poor high-side drive isn't unique to Atmel, it's a 'feature' of the 8051 family. So the Atmel 8051 clones are true to the family's features.
The original 8051 could sink 16mA though, so it isn't true to the design.
The AT89Cx051 chips can sink 20mA.
colin mac is offline   Reply With Quote
Old 10th July 2008, 02:02 AM   (permalink)
Default

Quote:
Originally Posted by ahmedragia21 View Post
Roff , why you made a voltage driver using the 10k and the 200 ohm , after calculating the output voltage ,it will be approx 4.9 V , what's the wise for that ?
The base voltage of the TIP120 darlington is a high of only 1.3V, not 4.9V. R1 isn't even needed since the darlington has it built-in.
The 200 ohm resistor R2 applies a base current of 18mA to the darlington to make sure it saturates.
__________________
Uncle $crooge
audioguru is offline   Reply With Quote
Old 10th July 2008, 02:45 AM   (permalink)
Default

Quote:
Originally Posted by audioguru View Post
The base voltage of the TIP120 darlington is a high of only 1.3V, not 4.9V. R1 isn't even needed since the darlington has it built-in.
The 200 ohm resistor R2 applies a base current of 18mA to the darlington to make sure it saturates.
I forgot about the internal resistor to GND.
I was using the presumably worst-case numbers mentioned previously: Vbe=2.5V@Ic=3A, and setting forced beta=250.
3A/250=12mA
(5V-2.5V)/12mA~200 ohms.
__________________
Ron


Last edited by Roff; 10th July 2008 at 02:46 AM.
Roff is offline   Reply With Quote
Old 10th July 2008, 03:46 AM   (permalink)
Default

what's the purpose of R1 in the darlington ? and what is its use in Roff's circuit ?
ahmedragia21 is offline   Reply With Quote
Old 10th July 2008, 04:12 AM   (permalink)
Default

Quote:
Originally Posted by ahmedragia21 View Post
what's the purpose of R1 in the darlington ? and what is its use in Roff's circuit ?
It is good engineering practice to provide a path for collector-base leakage current, and to discharge base capacitance, providing more rapid turn-off of the Darlington pair when the base current drive is removed.
__________________
Ron

Roff is offline   Reply With Quote
Old 10th July 2008, 04:21 AM   (permalink)
Default

I've two questions 1st but that scheme will make a voltage divider when the PNP is on , hence there will be a 4.9V on the base of the TIP121 correct ? but how the current will be calculated ?
2nd one is how a uC like 89S52 source and sink two different currents using only one output pin , is it not a simple transistor ?
ahmedragia21 is offline   Reply With Quote
Old 10th July 2008, 04:37 AM   (permalink)
Default

Quote:
Originally Posted by ahmedragia21 View Post
I've two questions 1st but that scheme will make a voltage divider when the PNP is on , hence there will be a 4.9V on the base of the TIP121 correct ? but how the current will be calculated ?
2nd one is how a uC like 89S52 source and sink two different currents using only one output pin , is it not a simple transistor ?
Audioguru explained the first question. The typical Vbe(on) is around 1.3V (see fig. 2 in the Fairchild TIP120 datasheet). With the PNP driver in saturation (Vce(sat)~0.1V), the current through the 200 ohm resistor will be
Ib=(5-0.1-1.3)/200=18mA,
which will ensure saturation of the TIP120. This is more than the 12mA required, but as I explained previously, was chosen assuming the worst case Vbe(on) is 2.5V, as specified in the datasheet.
Regarding your second question, the 89S52 is a CMOS part, so it has a push-pull output stage. The N-channel pulldown transistor obviously (to me) is a much larger geometry device than the P-channel pullup (the "push" transistor). Larger geometry devices have more drive capability (lower on resistance). A second factor is that, for equal-sized devices, N-channel parts have about twice the drive capability of P-channel. This is why it can sink much more current than it can source.

You never answered this question, which I asked previously:
Quote:
Ahmedragia21, how many of these are you going to build? A good engineering solution is not required for a one-off. If you are going into manufacturing, then your concern is valid. However, if you are going into manufacturing, you shouldn't be concerned about your inability to find a local source.
__________________
Ron


Last edited by Roff; 10th July 2008 at 04:48 AM.
Roff is offline   Reply With Quote
Old 10th July 2008, 11:52 AM   (permalink)
Default

Roff, for your question i didnt understand it completley ,im not going to manfucture this product , its just a graduation project and yea we dont have local sources for most electronics parts in the egyptian market .
ahmedragia21 is offline   Reply With Quote
Old 12th July 2008, 09:04 PM   (permalink)
Default

Roff , how did you calculate the base resistor (3.9K) ?

i think it should be 2.25/1.6mA =1.4Kohm
ahmedragia21 is offline   Reply With Quote
Old 13th July 2008, 02:29 PM   (permalink)
Default

Quote:
Originally Posted by ahmedragia21 View Post
Roff , how did you calculate the base resistor (3.9K) ?

i think it should be 2.25/1.6mA =1.4Kohm
The 89S52 can sink 1.6mA. You are not required to run it at that current. The 2N3906 collector current is about 18mA. It is a high beta transistor, and will easily saturate with the ≈1mA of base drive provided by the 3.9k. It will also work with 1.4k, but you will just be wasting power.
__________________
Ron


Last edited by Roff; 13th July 2008 at 02:40 PM.
Roff is offline   Reply With Quote
Old 16th July 2008, 11:44 AM   (permalink)
Default

thanks , i got this question in my , how the 89S52 sinks current like 1.6mA at 0.4VCC and it should output VOL is zero volt then at the base resistor there should be zero volt so that the PNP turns on , if this is true then how did you estimate your base resistor , you assumed that the base voltage is 0.4VCC should it be 0 volt ?

thanks
ahmedragia21 is offline   Reply With Quote
Old 16th July 2008, 02:12 PM   (permalink)
Default

Quote:
Originally Posted by ahmedragia21 View Post
thanks , i got this question in my , how the 89S52 sinks current like 1.6mA at 0.4VCC and it should output VOL is zero volt then at the base resistor there should be zero volt so that the PNP turns on , if this is true then how did you estimate your base resistor , you assumed that the base voltage is 0.4VCC should it be 0 volt ?

thanks
The exact amount of base drive current to the PNP isn't critical, so it is not important whether VOL is zero, or 0.4V, or somewhere in between. I just assumed the resistor has about 4V across it, and that about 1mA would be sufficient base drive. You could use any value between 2.4k and 4.7k and it should still work. Electronics is almost never an exact science.
__________________
Ron

Roff is offline   Reply With Quote
Old 16th July 2008, 05:41 PM   (permalink)
Default

I just assumed the resistor has about 4V across it

how did you assume that and there's a zero volt in the base ?
im so confused
ahmedragia21 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Help with transistor as switch sabotaged General Electronics Chat 7 10th March 2008 04:16 AM
Transistor Switch Digger7 Electronic Projects Design/Ideas/Reviews 14 7th June 2007 03:12 PM
Transistor Switch.... NJ Roadmap General Electronics Chat 9 21st April 2007 12:37 PM
Using a transistor as a switch Mike18 Electronic Projects Design/Ideas/Reviews 3 28th February 2004 12:22 PM
Transistor switch hantto General Electronics Chat 6 26th April 2003 01:53 AM



All times are GMT. The time now is 11:16 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.