![]() |
|
|
Thread Tools | Display Modes |
![]() |
#1 |
Shock Therapist
Join Date: Sep 2016
City & State: Victorville, CA
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hardcore Geek
Posts: 517
|
![]() I need a FET or a transistor ... don't care really, I'm going to use it to source current to three LEDs at three different levels of brightness (meaning I'm going to drive the transistor at three different voltage levels). It needs to be able to handle 850 milliamps and be fully saturated at around 3.3 volts ...
Is there a way to search for a FET or a transistor based on parameters like this? Thank you, Mike
__________________
|
![]() |
![]() |
![]() |
#2 |
Great Sage 齊天大聖
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 24,066
|
![]() well fets need variable voltage, and transistors need variable current.
most fets dont like being part-on(linear mode) and get hot. you dont say your led drive voltage, but i think you need to use darlington transistors. maybe a ztx602 |
![]() |
![]() |
![]() |
#3 |
Solder Sloth
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 5,477
|
![]() No transistor likes being part on (linear mode), they all get hot whether BJT or FET.
All depends on how the heat can and is being dissipated. If you want (nearly) linear voltage (or current) to current translation, you have to use a BJT. MOSFETs are not linear to Vgs and... (broken record...) YOU NEED NEGATIVE FEEDBACK to get a linear response using a MOSFET. You can see people *do* use MOSFETs for audio amplifier final stages, and you do see they have negative feedback in order to get this to work. |
![]() |
![]() |
![]() |
#4 | |
Shock Therapist
Join Date: Sep 2016
City & State: Victorville, CA
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hardcore Geek
Posts: 517
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#5 |
Solder Sloth
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 5,477
|
![]() But where's the transistorized portion, that's a huge part of the circuit missing!
Do also keep in mind that BJTs have a saturation voltage that may drop the voltage below 3.2 volts, and you may need to use MOSFETs with op amps, possibly with charge pumps, to get the gate drive high enough to fully turn on. Last edited by eccerr0r; 01-21-2021 at 11:38 PM.. |
![]() |
![]() |
![]() |
#6 |
Great Sage 齊天大聖
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 24,066
|
![]() or use pwm.
|
![]() |
![]() |
![]() |
#7 |
Shock Therapist
Join Date: Sep 2016
City & State: Victorville, CA
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hardcore Geek
Posts: 517
|
![]() ... so ... looking at the datasheet for that transistor ... am I reading this right? Would this not fully saturate long before it hits 3.3 Volts?
![]() |
![]() |
![]() |
![]() |
#8 |
Shock Therapist
Join Date: Sep 2016
City & State: Victorville, CA
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hardcore Geek
Posts: 517
|
![]() |
![]() |
![]() |
![]() |
#9 |
Great Sage 齊天大聖
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 24,066
|
![]() i meant pwm and a fet
as for saturation, like i said - your driving it with variable current - not voltage. |
![]() |
![]() |
![]() |
#10 | |
Shock Therapist
Join Date: Sep 2016
City & State: Victorville, CA
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hardcore Geek
Posts: 517
|
![]() Quote:
Take for instance, this schematic, and the transistor is the ztx602... ![]() Based on what I see in the datasheet, once the pin at the base of the transistor hits 1.7 volts, those LEDs will be on as bright as they ever could be in this circuit, meaning that my options for "medium" and "low" light intensity will have to be achieved by telling the attiny pin to drive the transistor at two different voltage levels below 1.7. Correct? Which gives me a lot less headroom for resolution, which is fine, as long as the transistor will do what I'm needing it to do. But I don't know how to drive a transistor with current because to me, current happens when you apply voltage to a circuit but it's not an option, in this case, to say "Im going to drive this transistor with x number of milliamps" because in an Arduino, I can only adjust voltage levels on pins. |
|
![]() |
![]() |
![]() |
#11 |
Solder Sloth
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 5,477
|
![]() ![]() Last edited by eccerr0r; 01-22-2021 at 02:44 PM.. |
![]() |
![]() |
![]() |
#12 |
I see dead caps
Join Date: Oct 2007
City & State: Hiding inside a plated-through hole
My Country: New Zealand
Line Voltage: 230VAC 50Hz
I'm a: Hobbyist Tech
Posts: 4,667
|
![]() That circuit takes the small current available from the micro-controller pin, and amplifies it with the transistor to drive the LEDs.
This will turn them on full. But PWM turns them on and off quickly, and varies the duration for which they are on vs off. By doing so it can control the brightness as we perceive it with our eyes due to persistence of vision. So there is no need to control the current linearly. With a more advanced micro-controller, you can output an analog signal using the onboard DAC, then amplify that with a transistor to control the LEDs but then you will need a transistor with a heatsink so it does not overheat. PWM is more efficient as the transistor is either on or off. The only other option is to have multiple transistors switching in different resistor values for your different brightness levels but this increases the cost and complexity greatly.
__________________
"Tantalum for the brave, Solid Aluminium for the wise, Wet Electrolytic for the adventurous" -David VanHorn |
![]() |
![]() |
![]() |
#13 |
Badcaps Veteran
Join Date: Feb 2010
City & State: S.F. Bay area
My Country: USA
Line Voltage: 120V 60Hz
I'm a: Knowledge Seeker
Posts: 39,102
|
![]() Quote:
You should have the Transistor or the MOSFET on the low side of the circuit and then PWM the MOSFET to control the current through the LED and you also need the current monitor feedback to maintain constant current through the LEDs. Your circuit is the Voltage source not current source, so if you have fixed Voltage feeding the LED, but since LED Vf will vary with temperature so the current through the LED will change which will cause the LED brightness to change, that is why you need to use constant current source to drive the LED so if the LED Vf varies the circuit will try to maintain constant current through the LED thus maintaining the steady brightness.
__________________
Never stop learning Basic LCD TV and Monitor troubleshooting guides. http://www.badcaps.net/forum/showthr...956#post305956 Voltage Regulator (LDO) testing: http://www.badcaps.net/forum/showthr...999#post300999 Inverter testing using old CFL: http://www.badcaps.net/forum/showthr...er+testing+cfl Tear down pictures : Hit the ">" Show Albums and stories" on the left side http://s807.photobucket.com/user/budm/library/ TV Factory reset codes listing: http://www.badcaps.net/forum/showthread.php?t=24809 Last edited by budm; 01-23-2021 at 04:27 PM.. |
![]() |
![]() |
![]() |
#14 |
Solder Sloth
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 5,477
|
![]() Correct, need a common emitter or common source for mosfets. So that means low side, or use a p channel/pnp transistor. OP can use n channel/npn on the high side if they make a driver for them, which may complicate the circuit considerably.
I'm facepalming because we're seeing the same problems that needs to be solved as the magnetic stirrer problem. Nothing learned... Insisting the final driver must be driven by an analog signal... |
![]() |
![]() |
![]() |
#15 |
Shock Therapist
Join Date: Sep 2016
City & State: Victorville, CA
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hardcore Geek
Posts: 517
|
![]() |
![]() |
![]() |
![]() |
#16 |
Shock Therapist
Join Date: Sep 2016
City & State: Victorville, CA
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hardcore Geek
Posts: 517
|
![]() OK, so in terms of learning, I have no idea what "on the low side of the circuit" means at all ... also, "current monitor feedback" - no idea what that is either.
|
![]() |
![]() |
![]() |
#17 |
Shock Therapist
Join Date: Sep 2016
City & State: Victorville, CA
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hardcore Geek
Posts: 517
|
![]() |
![]() |
![]() |
![]() |
#18 |
Solder Sloth
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 5,477
|
![]() Since electricity can be interrupted anywhere in the circuit, there's a choice to be made. Low side control means controlling the "low" or ground/negative side of the device that needs to be turned on/off. High side = "high" or power/positive side of the device. Choice needs to be made, devices need to then follow suit.
If you chose devices before side then circuit topologies are more limited due to device physics. Last edited by eccerr0r; 01-24-2021 at 10:14 AM.. |
![]() |
![]() |
![]() |
#19 | |
Shock Therapist
Join Date: Sep 2016
City & State: Victorville, CA
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hardcore Geek
Posts: 517
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#20 |
Solder Sloth
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 5,477
|
![]() Well, clearly now you don't have a low side control of the load. What you do have is 'high side' where the transistor switch element is controlling the positive rail to your device as it blocks the electrons after it flows through your load(LED) (or described by classical electrical flow, current is blocked before it goes through the load).
I have to leave it up as an exercise to the reader to convert this to a 'low' side control. Thank you for putting the correct polarity/channel semiconductor in the schematic. Very important when dealing with the drive needed to turn on low/high side semiconductor switches. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|