# Help with simple circuit

Discussion in 'General Electronics Chat' started by dsp_redux, Apr 3, 2010.

1. ### dsp_redux Thread Starter Active Member

Apr 11, 2009
182
5
Hi,

I am trying to build this circuit. The problem is, LTSpice gives me 17V on the DC rail but in real life I get 22V. I tried putting lowering the voltage with diodes in series but I got instead 16V on output of the rectifier and 7V after the serie of diode (wich was supposed to give me a drop of 7V and give me 15V at the other end of those diodes). So I taught my problem was else where. I tried testing from DC ground to the emitter of the 2n2222, and a spark came off and I burned the BJT... anyone can help me?

File size:
14.9 KB
Views:
57
2. ### SgtWookie Expert

Jul 17, 2007
22,183
1,728
You are using the default diode in LTSpice.

Change them to the diodes that you are actually using.

I don't know what it is that you are trying to simulate, but at this moment it does not look very promising.

3. ### dsp_redux Thread Starter Active Member

Apr 11, 2009
182
5
Thanks for the reply. I tried with me diodes and I get the same thing. Why are you saying it doesn't look promising? I'm trying to get a regulated 12V rail on the last rail. R 3.04k is in fact a potentiometer.

4. ### ifixit Distinguished Member

Nov 20, 2008
639
110
Here are some possibilities...
• I don't like your transformer. It's way too lossy, you're losing power in it because of the 10Ω(R2) in the primary input.
• To simulate a small 5 VA transformer for 60Hz, 120VAC input, use an 11 Henry inductor on the primary, and try 0.196H for secondary for a nominal 16VAC RMS, 22V peak, on the sec..
• A turns ratio of 7.5:1 needs an inductance ratio of 7.5^2:1 (56.25:1). Therefore the secondary inductance is 11H/56.25=0.1955H.
• Set V1 to the peak line voltage i.e. to get 120VAC RMS: 120 X 1.414=170V.
• Winding resistance(series R) estimate: 300Ω primary, 10Ω secondary.
• If you need more power, just reduce the Inductors internal resistance. You can leave the inductance as is, but in the real world inductance goes down as VA goes up.
Good Luck,
Ifixit

dsp_redux likes this.
5. ### kkazem Active Member

Jul 23, 2009
160
27
Hi,
Good luck.
Regards,
Kamran Kazem

• ###### LTSPICEIV_Simulation-Modified.PNG
File size:
51.9 KB
Views:
33
dsp_redux likes this.
6. ### dsp_redux Thread Starter Active Member

Apr 11, 2009
182
5
Thanks to all of you. I'll try de zener method. I can't get why the BJT burns down. I tried another MOS I had (rated 100V 800mA) and it returned to dust also. If I have 22V and want to regulate the emitter to 12V, I need to set R7 but in no way I should be over 1A (max current for a 2N2222)? Almost no current in the MOS, so you have 4K||40k||40k so an approximate of 4K load. 12V/4K = 3mA.

7. ### SgtWookie Expert

Jul 17, 2007
22,183
1,728
A 2N2222 transistor is rated for 800mA current, but 500mA is a realistic limit when Ib=Ic/10.

However, that's when it's being used as a saturated switch. When used as a saturated switch, Vce is quite low (say, around 0.2v or less) so power dissipation is also low.
P=EI, so P = 0.2v*.5A = 100mW; well within the 625mW power rating of a TO-92 package.

You're not using it as a saturated switch. Vce is much higher.

dsp_redux likes this.
8. ### dsp_redux Thread Starter Active Member

Apr 11, 2009
182
5
So I should use a NPN which is (22V-12V)*0.5 = 5W in the current case (80% of the max rating) or 1.5W in the case I use the 15V Zener. Am I right? Do you know of any BJT which would fit in there?

9. ### SgtWookie Expert

Jul 17, 2007
22,183
1,728
You might use a 2N3055. Unless I'm mistaken, Radio Shack still carries these.

Some of them are in the steel case TO-3 package. These have a pretty low thermal resistance from the junction to the package at 1.52°C/1W.

A TIP3055 is a similar type in a TO-218 package (similar to TO-220) with a thermal resistance of 1.4°C/1W. You might be better off using one of these, unless you have a suitable TO-3 heat sink available.

With either type, you'll need to use a good-sized heat sink, or one cooled by a fan. For a TO-218 or TO-220 package, you can make a pretty decent heat sink from an older copper Pentium heat sink that has a fan; just drill a hole for a self-tapping screw for the tab. Make certain to use heat sink compound (Radio Shack stocks it in a small tube). Don't forget to power the fan with 10v-12v DC.