Resistors purpose. - Page 1
Forum section: electronics / beginners

author: sureshot
author_rank: Regular Contributor
timestamp: July 19, 2018, 01:28:35 am
content: Found this schematic on the web, but unsure of the 10 ohm 3 watt resistor on the output of the lm317. It's between the emitter, base and volts out. Any ideas would be really appreciated as to the roll this resistor plays. And do you think this circuit can deliver 5 Amps ? I'm not so sure.Thanks for any help.

author: Relayer
author_rank: Contributor
timestamp: July 19, 2018, 01:53:03 am
content: Hello sureshot,The 10resistor is there to supply enough base current tothe 2N3055 pass transistor, though its usually placed on the input sideof the LM317 regulator.With enough heat-sinking and provided the transformer can deliver morethan 5 Amps, I can't see why it wouldn't work.Though I would put at least a 6800uF or a 4700 and a 1000uF in place ofthe 3300uF that the schematic shows. Its a tad low for my liking.Regards,Relayer

author: rstofer
author_rank: Super Contributor
timestamp: July 19, 2018, 01:56:15 am
content: The 10 Ohm resistor provides the base-emiter voltage for the 2N3055. As more current flows to the load through the resistor, the voltage between the base and emitter increases, increasing the amount of current flowing through the transistor.Take 35V AC and rectify it to get about 50 VDC. Now, consider what happens when you try for an output of 1.2V at 5A. The transistor has to drop about (50V - 1.2V) or 48.8 V @ 5A or around 244 Watts. Somehow I don't see this turning out well.I know, the numbers aren't exact. I didn't account for the 1.4V drop across the bridge rectifier and I didn't account for the current contributed by the voltage regulator but it's close enough to show that it isn't likely to work at low voltages.At 30V it still won't work. (50-30) or 20V @ 5A is about 100 Watts. I don't think so. See Figure 1 and the following table where it talks about 1.52 deg C per Watt temperature increase:http://www.onsemi.com/pub/Collateral/2N3055-D.PDFTake 100 W and see from Figure 1 that the case temperature can't be higher than about 48 deg C.See Maximum Rating of 115W @ 25 deg C - that's a Maximum and it depends on the heatsink keeping the device at 25 deg C.I probably messed up the thermal numbers but they are close enough. This thing isn't close to working.In my view, the transformer is seriously over-voltage. Even then, it is good to have a tapped secondary so that lower voltages can be selected when lower output voltage is desired.

author: bson
author_rank: Unknown
timestamp: July 19, 2018, 02:34:44 am
content: The output resistor doesn't need to be 3W; at around 0.7V the 2N3055 will fully bypass the regulator and resistor. P=U2/R = 0.7*0.7/10 = 50mW = 1/21W. So even an 0402 1/16W resistor is perfectly fine here, or any 1/8W or 1/4W TH garden variety.The main problem with this circuit though is it uses a regulator instead of an op amp, and the regulator will be managing the output voltage, which is the base voltage - not the actual output. Replace the regulator with an op amp and the 10ohm resistor with a 1k or 2k one and use the actual output for feedback, and now it controls the output by adjusting the base voltage (and for very small loads drives it directly with the transistor off, through the resistor) rather than controlling the base.

author: JS
author_rank: Frequent Contributor
timestamp: July 19, 2018, 02:58:11 am
content: Quote from: bson on July 19, 2018, 02:34:44 amAnd you are likely to have a very unstable circuit, not to consider that the opamp needs to provide quite a high current to drive the 2N3055 base. Then, a darlington, but the stability problem is still there which should be addressed with a more suitable feedback loop.JS

author: romons
author_rank: Contributor
timestamp: July 19, 2018, 05:48:55 am
content: The resistor is there to create a Vbe for the pass transistor. As the output current rises, the Vbe drop increase until the outboard pass transistor turns on and starts diverting current around the regulator.The real problem is that the regulator won't really be able to keep regulation. As the current draw increases, the output will droop until the pass transistor is turned on. At that point, it'll stay pretty much at 0.6V below whatever the regulator is set for. There is no current limiting on the pass transistor, so it'll just pass more and more current until it burns up. The irony is that a much larger resistor will prevent the droop by turning on immediately. That'll allow you to control the output voltage with the two pots (although it will still not be the best regulation)If you move the 10 ohm resistor and base of the transistor to BEFORE the regulator, then it'll regulate much better. It still doesn't have any current limiting.All of this is explained in detail in Art of Electronics. I have the 2nd edition. If you can find it, look at figure 6.36 and 6.37. The section is named "Outboard pass transistors". Figure 6.37 shows a couple of current limited uses of pass transistors, which they call 'outboard transistor boosters'Regards

author: Zero999
author_rank: Super Contributor
timestamp: July 19, 2018, 09:05:46 am
content: It will work without the resistor, which is there to allow the LM317 to take some of the current.This is a bad circuit. Use the standard PNP pass transistor configuration.https://www.eevblog.com/forum/beginners/building-a-13-8-volt-linear-power-supply/msg1281765/#msg1281765

author: Ian.M
author_rank: Super Contributor
timestamp: July 19, 2018, 09:34:01 am
content: .... and if all you've got is NPN high power transistors, use aSziklai pairwith a medium power PNP to get a composite high power high gain PNP equivalent pass device.A base resistor is advisable so it doesn't fuse the base:emitter junction on sudden load increases.If you add an emitter resistor to the pass transistor, and put it and the LM317 on the same heatsink, you can get reasonable over-current and thermal overload protection. As the current through the pass transistor increases, its base drive decreases, so the pass transistor emitter resistor sets the maximum current through the pass transistor when the LM317 enters current limiting (at about 2.5A at 25 deg C - its not well specified and due to its thermal protection, it can only reach 2.5A transiently).

author: sureshot
author_rank: Regular Contributor
timestamp: July 19, 2018, 09:41:48 am
content: Thank you for the replys. I have put together a few variants of the pnp versions of this circuit with single, and up to four transistors with good results. I've been looking for an npn variety of the same circuit with limited parts count (That's the attraction to it for me) I've not got round to the LM723 circuits yet, but will in the near future. From what I've seen so far, the best option for an npn final is driven by a more modest pnp transistor. Is there a circuit out there that can use an npn as the current supplier, whilst retaining reasonable regulation ? Any protection i add on as a final, normally a thyristor crow bar circuit. Thanks again for all the replys. I do try to keep the margin for input to output as close as possible to avoid excessive heat. Generally the pnp variaty work ok. So the 10 ohm 3 watt resistor is of little use ? Thank you again for the help.

author: sureshot
author_rank: Regular Contributor
timestamp: July 19, 2018, 10:10:57 am
content: Sometimes things come back to me of circuits I've seen on the web. I'm not 100% sure, but i can vaguely remember seeing a circuit where an npn power transistor was on the negative volts side of the supply rails. As said i can't be certain, but is that an option worth exploring ? Just a thought.

author: Ian.M
author_rank: Super Contributor
timestamp: July 19, 2018, 10:22:55 am
content: Sure, use a LM337 negative regulator and you can use a NPN pass transistor. Just take the classic circuit Hero999 posted above and flip it for negative Vin and negative Vout.However, simplicity comes at a price. None of the circuits above compare favourably to a LM723 based regulator.

author: Zero999
author_rank: Super Contributor
timestamp: July 19, 2018, 10:37:13 am
content: Quote from: Ian.M on July 19, 2018, 09:34:01 amI agree.QuoteHere's another idea which uses sense resistors to detect when the LM317 is current limiting and cuts the drive to the pass transistor. It also shows how the current can be spread across multiple pass transistors.When the LM317 is not current limiting and the current is low, the volt drop across R3 is too low to turn on Tr1 and it operates as an ordinary LM317 circuit.If the current through the LM317 exceeds about 600mA, the voltage drop on R3 becomes high enough to turn on Tr1, which turns on Tr2, causing current to be diverted around the LM317 circuit. Any increase in current increases the voltage drop on R3, causing Tr1 to turn on harder and more current to flow around it.When the LM317 starts to current limit, the voltage across R3 stops increasing, which keeps the voltage across it constant, therefore the base voltage on Tr1 the same, so the current through R3 also is fixed. The voltage drop across R4 is approximately double that of R3 and is also stable, thus keeping the voltage on Tr2's base and the voltage drop on REthe constant. Because the voltage across REis constant, the current is also constant.https://www.eevblog.com/forum/beginners/building-a-13-8-volt-linear-power-supply/msg1281994/#msg1281994

author: sureshot
author_rank: Regular Contributor
timestamp: July 19, 2018, 10:47:54 am
content: So as i want a positive output, the negative rails not the way to go. I was thinking it could some how be posative output with an npn transistor on the negative rail of a positive voltage regulator. Thanks for posting those schematics, they look very interesting. That base resistor is quite a large resistance for TR1 does it need to be that high ?

author: sureshot
author_rank: Regular Contributor
timestamp: July 19, 2018, 11:00:33 am
content: So with the pnp to npn drive circuit, are R1 to R5 0.5 watt resistors, I'm familiar with R1 and R2 or a potentiometer. But are all other resistors half watt values. In the circuit you posted I've posted below.

author: Zero999
author_rank: Super Contributor
timestamp: July 19, 2018, 12:52:15 pm
content: Quote from: sureshot on July 19, 2018, 10:47:54 amThe current through R5 is small, so the voltage drop is low. If Tr2 has an Hfe of 20 and the output current is 3A, the current through Tr1 will be about 150mA and if it has an Hfe of 200, the base current will be 750µA, giving a volt drop of 750mV across R5. It can be reduced, to 100R, if the extra volt drop is unacceptable.Quote from: sureshot on July 19, 2018, 11:00:33 amYes, 0.5W is more than enough for the resistors in that circuit.R2 doesn't have to be a potentiometer. It can be a fixed resistor. The formula for calculating R1 and R2 can be found on the LM317 data sheet.http://www.ti.com/lit/ds/symlink/lm317.pdf

author: StillTrying
author_rank: Super Contributor
timestamp: July 19, 2018, 01:44:30 pm
content: For a bit less overshoot I think the 2N3055's base-emitter turn-off resistor should be about 1k, rather than 10k, and definitely not 0.47R as in reply#11.

author: bson
author_rank: Unknown
timestamp: July 19, 2018, 02:52:56 pm
content: Quote from: JS on July 19, 2018, 02:58:11 amThis is true for capacitive loads, and the easiest is to use external compensation to stabilize an op amp based regulator, but then it's no longer a beginner project.

author: Zero999
author_rank: Super Contributor
timestamp: July 19, 2018, 04:18:45 pm
content: Quote from: StillTrying on July 19, 2018, 01:44:30 pmI agree.QuoteThere was a reason for the extremely low value in that circuit. Please read the description more carefully and study the schematic more. Hint: it's part of the current limiting circuitry.

author: wraper
author_rank: Unknown
timestamp: July 19, 2018, 04:47:18 pm
content: Quote from: bson on July 19, 2018, 02:34:44 amThe problem is that 220 ohm resistor is placed incorrectly. It should be connected after 2N3055, not directly at the output of LM317. No opamps needed.

author: sureshot
author_rank: Regular Contributor
timestamp: July 19, 2018, 06:12:11 pm
content: Thank you for the explanations, I'm trying to make sense of it. I don't see a labelled 220 ohm resistor, I guess it's R1 I normally use 120 ohm resistor for R1. Yes I've had a play with an lm317 / 338 calculator on the REUK website. There's a big difference between R4 being 0.47 ohm and 1K. So RE resistors are ballast resistors, something like 0.1 ohm 5 watts ? I'm only assuming they are.

author: borghese
author_rank: Regular Contributor
timestamp: July 19, 2018, 06:26:09 pm
content: The maximum input-output differential voltage of the LM317 is 40V so the output voltage must never fall below 10V assuming an input voltage of 50V

author: sureshot
author_rank: Regular Contributor
timestamp: July 19, 2018, 06:27:16 pm
content: Correction, yes I see the 220 ohm resistor in the picture I posted opening post. I normally use 120 ohm for that, the voltage doesn't drift as much.

author: David Hess
author_rank: Super Contributor
timestamp: July 19, 2018, 06:35:10 pm
content: Quote from: StillTrying on July 19, 2018, 01:44:30 pm10k or even 1k is way too high.0.47 ohms is low but it depends on how much current should be passed around the 2N3055. If the ratio of current between the pass transistor and regulator is adjusted correctly, then the regulator's current limiting and thermal protection can also protect the pass transistor as discussed below.

author: sureshot
author_rank: Regular Contributor
timestamp: July 19, 2018, 07:11:12 pm
content: Thanks for the replys. So looking at that it would be 75 ohm for R4 ? I've been looking at 100 ma versions of the LM317, and L7812 voltage regulators. But to use a T092 package devise calls for little work load from the regulator. Say something like 0.030 mA or there about. I've not used an 78L12 or LM317L yet, but plan to try these lower power regulators.

author: David Hess
author_rank: Super Contributor
timestamp: July 19, 2018, 08:36:16 pm
content: Quote from: sureshot on July 19, 2018, 07:11:12 pmIt depends a little on the drive requirements. If drive is limited, I usually figure on diverting 1/10th of the current away from the base-emitter junction so with 100mA from a 78L12 or LM317LZ, I might go with 0.6V Vbe / 10mA or 60 ohms which is close enough to 75 ohms. In practice up to 4 times that or 300 ohms would work just as well; the value is not that critical.In small signal applications, 1 to 10k or even higher could be suitable.

author: sureshot
author_rank: Regular Contributor
timestamp: July 19, 2018, 08:54:53 pm
content: I've like the idea of little in and larger out, quite fascinating the a regulator the size of a T092 package regulator, with the help of a Darlington power transistor can delivery up to 5 Amps of usable current. Or idle on mA or even uA. I need to learn more circuit analysis really. My maths in an engineering application is not to bad, I just struggle with some equations.

author: David Hess
author_rank: Super Contributor
timestamp: July 19, 2018, 10:05:59 pm
content: Quote from: sureshot on July 19, 2018, 08:54:53 pmThe TO-92 parts are pretty limited in power dissipation and the 78L05 and LM317LZ have a pretty high quiescent current in milliamps. For the LM317LZ this current flows out the output pin so it can at least power the load but for the 78L05, it travels out the common pin so for lower power applications, a different regulator is needed. It has been a while but I used to use the LP2950 (75 microamps instead of a couple milliamps) in place of the 78L05 where low power was needed.

author: JS
author_rank: Frequent Contributor
timestamp: July 20, 2018, 01:22:25 am
content: Quote from: bson on July 19, 2018, 02:52:56 pmIt's pretty common to load a supply with a board with plenty decoupling capacitance, so you want a stable circuit for that condition.I'm struggling on the simulator to get a good one, not hard for voltage only but quite hard for voltage and current for a lab psu. I could share one for voltage only, with three feedback paths gets quite stable in for almost any load and keep precission, once you introduce current it gets really tricky to get the best performance, I'm considering using independent power devices for current and voltage to get the best performance on both cases, but I'm trying to avoid that. I did got to a really nice dummy load circuit, fast and stable in CC and CV modes.JS

author: David Hess
author_rank: Super Contributor
timestamp: July 20, 2018, 01:59:08 am
content: Quote from: JS on July 20, 2018, 01:22:25 amThe wiring inductance and resistance between the output of the regulator and decoupling capacitors is usually high enough that decoupling capacitors should have no effect on stability. The bulk decoupling capacitor close to the regulator is another matter.Integrated regulators can cheat to provide stability for low ESR output capacitors close to the regulator by tapping AC feedback from the output transistor structure. This is the equivalent of adding a series resistor to the output, tapping AC feedback before it, and then tapping DC feedback after it; now the resistor is in series with the low ESR output capacitor raising its ESR as far as stability is concerned. They cheat!Note that it is often bad idea or at best useless to put a ceramic decoupling capacitor directly at the output of a regulator.

author: JS
author_rank: Frequent Contributor
timestamp: July 20, 2018, 02:16:41 am
content: Quote from: David Hess on July 20, 2018, 01:59:08 amLT3080 suggest a MLCC at the output...Adding an output resistor and inductor, maybe parallel, maybe series is one of the things I'm considering for mine.JS

author: sureshot
author_rank: Regular Contributor
timestamp: July 20, 2018, 02:34:51 am
content: I thought about this, and to get good results I was considering a multi tap transformer and relay switching windings in and out for different voltage ranges. The benefit being no large voltage differential between high and low voltage ranges. Sound good in theory, but more tricky in practice.

author: JS
author_rank: Frequent Contributor
timestamp: July 20, 2018, 02:46:21 am
content: Quote from: sureshot on July 20, 2018, 02:34:51 amThe tricky part is to go back up fast and smooth when going from CC to CV for a shorted output and a high set voltage, but not really a deal stopper, many done using just a few parts, usually a center tap transformer is good enough and easy to get. SMPS pre regulator is ideal keeping constant differential voltage and smooth transition between levels.JS

author: sureshot
author_rank: Regular Contributor
timestamp: July 20, 2018, 10:34:05 am
content: I would like to try building a smps, but think its above my skill level at the moment. When i get to grips with circuit analysis in its entirety then i might be ready for that.

author: David Hess
author_rank: Super Contributor
timestamp: July 20, 2018, 11:52:59 am
content: Quote from: JS on July 20, 2018, 02:16:41 amThe LT3080 being a modern integrated regulator likely cheats as I described. Good datasheets say what the acceptable output capacitor ESR is.QuoteThat works outside of the feedback loop.Audio power amplifiers often include a parallel RL network in series with the output (after the point of feedback) and a controlled series RC network in parallel for the same reasons that regulators use them even if they are not explicitly shown.

author: JS
author_rank: Frequent Contributor
timestamp: July 20, 2018, 05:33:36 pm
content: Jensen has an output isolator for audio line drivers, it's basucally a 33Ω with something like 30 turns around it, so it's los impedance for audio but capacitive load of long lines doesn't make it oscillateJS

author: bson
author_rank: Unknown
timestamp: July 30, 2018, 09:52:17 am
content: Quote from: JS on July 20, 2018, 01:22:25 amReally? Here's a quick simulation using an ideal opamp with ro=20ohm (but no internal poles and ridiculous bandwidth - hence one prone to oscillating like mad)...At lower currents (e.g 2-3A) the op amp can drive the 2SC5242 directly, but at >3A or so the base currents get a little overwhelming. The 2N3904 can be replaced with something with higher max Ic and good hfe for higher load currents. Even a BD135. (The 2SC5242 will dissipate > 100W in TO-3P with a suitable heatsink.)I've attached the LTspice .asc... if you want to try to experiment without Ccomp or see how far out you dare move the compensation pole.The forum software doesn't like the extension .raw, so here are URLs for the files:http://www.rockgarden.net/download/eevblog/opamp_reg.aschttp://www.rockgarden.net/download/eevblog/opamp_reg.rawBy the way, I think the lack of a flat Vout is a simulation artifact. I see no reason why it should happen since the ideal opamp has no input bias currents. It shouldn't be possible in that circuit.Edit: I think it's a rounding error in LTspice; it should just show spikes during the load switching. If KiCAD's simulation UI were mature enough to have multiple plot panes I'd use that and ngspice-28 instead...But anyway, it's just a simulation.

author: sureshot
author_rank: Regular Contributor
timestamp: July 30, 2018, 10:33:53 am
content: The only time i had a linear regulator oscillate was when i put two smps in series to get 24 Volts to power the circuit. The voltage was jumping up a volt down a volt. As soon as i powered it from a transformer it was fine. I'm yet to use an op amp in a power supply circuit.

author: JS
author_rank: Frequent Contributor
timestamp: July 31, 2018, 03:21:45 am
content: @bson: that looks voltage only, as I said that isn't a problem, voltage and current at the same time is harder. Also, changing the load from very inductive to a very capacitive load can change dramatically the conditions. While switching from CC to CV or back, for a load change like a short circuit getting in and out, avoiding overshoot and keeping a fast response is hard, and if you want to add remote voltage sensing you are facing a harder and harder problem. All those should be specs of a reliable lab psu and that's what I'm struggling with, not just a stable voltage or current regulator for a particular load.I've made a dummy load and then improve it in simulations so a second itteration should be good enough. They are very similar but dealing with PSRR, line regulation and swapping the voltage feedback to regulate the voltage in the load not in the supply makes the device as it is not a straight forward conversion.I haven't touch it in a while, when I get some time I might as I do want to build one but rock solid and being able to adapt the design for different power levels and precission would be nice, once you get one scaling might be fine if it's carefully designed.JS

author: ayman adel
author_rank: Newbie
timestamp: February 15, 2023, 04:38:49 pm
content: how do you know that after rectify it to get about 50 VDC ??

author: wasedadoc
author_rank: Super Contributor
timestamp: February 15, 2023, 04:50:51 pm
content: Quote from: ayman adel on February 15, 2023, 04:38:49 pmHint: Peak of a sine wave is sqrt(2) times the RMS value.