Switching current limiter for safe charging of large capacitors, and short circuit protection

In a previous post about minimizing spikes on a square wave push-pull=20 transformer drive, my simulations discovered a very large and probably=20 destructive current surge due to the large capacitor load on the output = of=20 the step-up transformer and FWB. I proposed using a brute force linear=20 current regulator, but the SOA of the transistors would be exceeded. I = need=20 an output of at least 1500 watts, and the energy storage in the = capacitors=20 (6600uF at 300V, or 990 watt-seconds) was such that I would need to use=20 multiple power transistors and also a controlled charge current with a = long=20 time constant to be reasonable.

But I realized that a switching regulator would be much more efficient = and=20 better for many reasons, so I endeavored to make one using LTSpice. The=20 basic premise was to apply the battery voltage to an inductor and read = the=20 current, and then switch off the drive when it became a certain maximum=20 value, such as 100A, and then turn on again when it dropped to about =

80A. I=20 found that a reasonable value was 4.7 uH and I found a commercially=20 available model good for 60A for about $13.
formatting link

At first I tried using a PMOS but the standard models did not have one = that=20 was suitable. I also had difficulty finding a good gate driver, and the = ones=20 I tried to concoct from op-amps were too slow and caused peak power=20 dissipation of many kW in the MOSFET, for a significant period of time. = So I=20 changed the design to use an NMOS and a high-side driver:

formatting link

So my simulation shows a peak current of about 90A and the voltage at = the=20 transformer stabilizes within about 1.5 mSec with a 2200 uF capacitor. = Then=20 I turn on the gate drives to the MOSFETs for the transformer, and the=20 current limit goes into effect again, with a maximum current of 150A, = while=20 the series MOSFET dissipates about 35 watts. The circuit oscillates at = about=20

220 kHz. It stabilizes by 90 mSec at which point the battery is = supplying=20 1.15 kW and the output resistor load is 1.06 kW, for an efficiency of = 92%.=20 This includes the current limiter which is about 10W, the switching=20 transistors which are 20W each, 6W in the inductor, and 15W in the two=20 output capacitors which are still charging.

Following is the ASC file. I'll have to give this a try before I do any = more=20 testing with the DC-DC converter. And I can probably do the same thing,=20 essentially, by modulating the gate drives of the transformer driver=20 MOSFETs. In that case, I will probably need to leave the inductor in the =

center tap of the transformer to the battery. But for now, the current=20 limiter seems to work well, and it may be a good device to make as a=20 stand-alone current limiter for working with batteries.

Paul

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D

Version 4 SHEET 1 880 680 WIRE 0 -32 -352 -32 WIRE -352 0 -352 -32 WIRE -160 0 -272 0 WIRE -352 80 -352 64 WIRE -272 80 -272 64 WIRE -272 80 -352 80 WIRE -352 96 -352 80 WIRE -272 96 -272 80 WIRE 256 96 224 96 WIRE 256 128 256 96 WIRE 320 128 256 128 WIRE 432 128 384 128 WIRE 528 128 432 128 WIRE 544 128 528 128 WIRE 560 128 544 128 WIRE 592 128 560 128 WIRE -160 144 -160 0 WIRE 96 144 -160 144 WIRE 128 144 96 144 WIRE -1008 160 -1088 160 WIRE -960 160 -1008 160 WIRE -896 160 -960 160 WIRE -704 160 -896 160 WIRE -592 160 -608 160 WIRE -1008 176 -1008 160 WIRE -352 176 -352 160 WIRE -320 176 -352 176 WIRE -272 176 -320 176 WIRE 224 192 224 96 WIRE -1088 208 -1088 160 WIRE 320 208 288 208 WIRE 432 208 432 128 WIRE 432 208 384 208 WIRE 528 208 528 192 WIRE 528 208 464 208 WIRE 592 208 592 128 WIRE -688 224 -688 208 WIRE -688 224 -752 224 WIRE -656 224 -688 224 WIRE -752 240 -752 224 WIRE -752 240 -896 240 WIRE -592 240 -592 160 WIRE -464 240 -512 240 WIRE -448 240 -464 240 WIRE -320 240 -320 176 WIRE -320 240 -448 240 WIRE 128 240 128 224 WIRE 128 240 -320 240 WIRE 128 256 128 240 WIRE 544 256 544 128 WIRE 544 256 496 256 WIRE 288 272 288 208 WIRE 288 272 224 272 WIRE 320 272 288 272 WIRE 416 272 384 272 WIRE -1008 288 -1008 256 WIRE -928 288 -1008 288 WIRE -320 288 -384 288 WIRE -80 288 -256 288 WIRE 496 288 496 256 WIRE -512 304 -512 240 WIRE -912 320 -1216 320 WIRE -848 320 -848 288 WIRE -656 320 -656 304 WIRE -912 336 -912 320 WIRE -384 336 -384 288 WIRE -256 336 -256 288 WIRE 0 336 0 -32 WIRE 112 336 0 336 WIRE 128 336 112 336 WIRE -1216 352 -1216 320 WIRE -944 352 -960 352 WIRE -768 352 -768 320 WIRE -720 352 -768 352 WIRE -592 352 -592 240 WIRE -848 368 -848 320 WIRE -848 368 -880 368 WIRE -720 368 -720 352 WIRE -464 368 -464 240 WIRE 256 368 256 128 WIRE 320 368 256 368 WIRE 416 368 416 272 WIRE 416 368 384 368 WIRE 464 368 464 208 WIRE 464 368 416 368 WIRE 496 368 496 352 WIRE 496 368 464 368 WIRE 592 368 592 288 WIRE 592 368 496 368 WIRE -1008 384 -1008 288 WIRE -944 384 -1008 384 WIRE -160 384 -160 144 WIRE 0 384 0 336 WIRE 592 384 592 368 WIRE -1008 400 -1008 384 WIRE -80 416 -80 288 WIRE -1088 432 -1088 288 WIRE -912 432 -912 400 WIRE -912 432 -1088 432 WIRE -768 432 -912 432 WIRE -656 432 -656 416 WIRE -656 432 -768 432 WIRE -960 448 -960 352 WIRE -752 448 -960 448 WIRE -960 464 -960 448 WIRE -320 464 -320 288 WIRE -240 464 -320 464 WIRE -208 464 -240 464 WIRE -80 464 -80 416 WIRE -48 464 -80 464 WIRE -1216 528 -1216 432 WIRE -1136 528 -1216 528 WIRE -1088 528 -1088 432 WIRE -1088 528 -1136 528 WIRE -1008 528 -1008 480 WIRE -1008 528 -1088 528 WIRE -960 528 -1008 528 WIRE -880 528 -960 528 WIRE -752 528 -800 528 WIRE -592 528 -592 416 WIRE -592 528 -752 528 WIRE -544 528 -592 528 WIRE -512 528 -512 368 WIRE -512 528 -544 528 WIRE -464 528 -464 432 WIRE -464 528 -512 528 WIRE -384 528 -384 416 WIRE -384 528 -464 528 WIRE -320 528 -384 528 WIRE -256 528 -256 416 WIRE -256 528 -320 528 WIRE -240 528 -256 528 WIRE -80 528 -240 528 WIRE -1136 560 -1136 528 WIRE -240 560 -240 528 WIRE -160 560 -160 480 WIRE -96 560 -160 560 WIRE 0 560 0 480 WIRE 0 560 -96 560 WIRE -544 608 -544 528 FLAG -1136 560 0 FLAG 592 384 0 FLAG 560 128 Vout FLAG -448 240 in FLAG 96 144 m1 FLAG 112 336 m2 FLAG -960 160 batt FLAG -240 464 g1 FLAG -80 416 g2 FLAG -96 560 src SYMBOL ind2 112 128 R0 SYMATTR InstName L1 SYMATTR Value 180=B5 SYMATTR Type ind SYMATTR SpiceLine Rser=3D100u SYMBOL ind2 112 240 R0 WINDOW 0 45 35 Left 2 WINDOW 3 41 61 Left 2 SYMATTR InstName L2 SYMATTR Value 180=B5 SYMATTR Type ind SYMATTR SpiceLine Rser=3D100u SYMBOL ind2 240 176 M0 WINDOW 0 21 -5 Left 2 WINDOW 3 -9 113 Left 2 SYMATTR InstName L3 SYMATTR Value 32m SYMATTR Type ind SYMATTR SpiceLine Rser=3D10m SYMBOL nmos -208 384 R0 SYMATTR InstName M1 SYMATTR Value IRFZ44N SYMBOL nmos -48 384 R0 SYMATTR InstName M2 SYMATTR Value IRFZ44N SYMBOL voltage -1088 192 R0 WINDOW 123 0 0 Left 2 WINDOW 39 -32 107 Left 2 WINDOW 3 -16 55 Left 2 SYMATTR SpiceLine Rser=3D8m SYMATTR InstName V1 SYMATTR Value 24 SYMBOL diode 384 288 M270 WINDOW 0 32 32 VTop 2 WINDOW 3 0 32 VBottom 2 SYMATTR InstName D2 SYMATTR Value MUR460 SYMBOL diode 320 224 R270 WINDOW 0 32 32 VTop 2 WINDOW 3 0 32 VBottom 2 SYMATTR InstName D3 SYMATTR Value MUR460 SYMBOL polcap 480 288 R0 WINDOW 3 24 64 Left 2 SYMATTR Value 220=B5 SYMATTR InstName C1 SYMATTR Description Capacitor SYMATTR Type cap SYMATTR SpiceLine V=3D400 Irms=3D30 Rser=3D0.016 Lser=3D0 SYMBOL res 576 192 R0 SYMATTR InstName R1 SYMATTR Value 75 SYMBOL voltage -384 320 R0 WINDOW 123 0 0 Left 2 WINDOW 39 -43 57 Left 2 WINDOW 3 228 271 Left 2 SYMATTR SpiceLine Rser=3D100 SYMATTR Value PULSE(0 10 0.5u 10n 10n 499u 1000u 350) SYMATTR InstName V2 SYMBOL voltage -256 320 R0 WINDOW 123 0 0 Left 2 WINDOW 39 -43 57 Left 2 WINDOW 3 100 298 Left 2 SYMATTR SpiceLine Rser=3D100 SYMATTR Value PULSE(0 10 500.5u 10n 10n 499u 1000u 350) SYMATTR InstName V3 SYMBOL diode 320 144 R270 WINDOW 0 32 32 VTop 2 WINDOW 3 0 32 VBottom 2 SYMATTR InstName D1 SYMATTR Value MUR460 SYMBOL diode 384 384 M270 WINDOW 0 32 32 VTop 2 WINDOW 3 0 32 VBottom 2 SYMATTR InstName D4 SYMATTR Value MUR460 SYMBOL polcap -480 368 R0 WINDOW 3 24 64 Left 2 SYMATTR Value 2200=B5 SYMATTR InstName C2 SYMATTR Description Capacitor SYMATTR Type cap SYMATTR SpiceLine V=3D25 Irms=3D20 Rser=3D100m Lser=3D0 SYMBOL polcap 512 128 R0 WINDOW 3 24 64 Left 2 SYMATTR Value 220=B5 SYMATTR InstName C3 SYMATTR Description Capacitor SYMATTR Type cap SYMATTR SpiceLine V=3D400 Irms=3D30 Rser=3D0.016 Lser=3D0 SYMBOL cap -528 304 R0 SYMATTR InstName C5 SYMATTR Value .47=B5 SYMATTR SpiceLine V=3D250 Rser=3D100u SYMBOL schottky -576 416 R180 WINDOW 0 24 64 Left 2 WINDOW 3 -17 -52 VRight 2 SYMATTR InstName D5 SYMATTR Value MBRB2545CT SYMATTR Description Diode SYMATTR Type diode SYMBOL res -144 544 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R3 SYMATTR Value .001 SYMBOL cap -336 464 R0 SYMATTR InstName C6 SYMATTR Value .047=B5 SYMATTR SpiceLine V=3D250 Rser=3D100u SYMBOL cap -96 464 R0 SYMATTR InstName C7 SYMATTR Value .047=B5 SYMATTR SpiceLine V=3D250 Rser=3D100u SYMBOL diode -288 0 R0 SYMATTR InstName D6 SYMATTR Value MUR460 SYMBOL diode -336 0 M0 SYMATTR InstName D7 SYMATTR Value MUR460 SYMBOL cap -368 96 R0 SYMATTR InstName C10 SYMATTR Value 2.7=B5 SYMBOL res -288 80 R0 SYMATTR InstName R6 SYMATTR Value 1K SYMBOL res -784 512 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R2 SYMATTR Value 0.002 SYMBOL res -912 144 R0 SYMATTR InstName R4 SYMATTR Value 100 SYMBOL res -768 432 R0 SYMATTR InstName R5 SYMATTR Value 220 SYMBOL pmos -608 208 M270 SYMATTR InstName M3 SYMATTR Value Si4401DY SYMBOL Opamps\\LT1630 -912 304 R0 SYMATTR InstName U1 SYMBOL res -672 208 R0 SYMATTR InstName R7 SYMATTR Value 100 SYMBOL npn -720 320 R0 SYMATTR InstName Q1 SYMATTR Value 2N2222 SYMBOL res -752 304 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R8 SYMATTR Value 1K SYMBOL res -1024 384 R0 SYMATTR InstName R9 SYMATTR Value 10 SYMBOL res -992 272 R180 WINDOW 0 36 76 Left 2 WINDOW 3 36 40 Left 2 SYMATTR InstName R10 SYMATTR Value 2.4k SYMBOL res -944 304 R270 WINDOW 0 32 56 VTop 2 WINDOW 3 0 56 VBottom 2 SYMATTR InstName R11 SYMATTR Value 20k SYMBOL ind -608 256 R270 WINDOW 0 32 56 VTop 2 WINDOW 3 5 56 VBottom 2 SYMATTR InstName L5 SYMATTR Value 4.7=B5 SYMATTR SpiceLine Ipk=3D62 Rser=3D0.00094 Rpar=3D350 Cpar=3D6.13p SYMBOL res -784 336 R0 WINDOW 0 -34 54 Left 2 SYMATTR InstName R12 SYMATTR Value 220 SYMBOL cap -976 464 R0 SYMATTR InstName C4 SYMATTR Value 0.47=B5 SYMATTR SpiceLine V=3D250 Rser=3D100u SYMBOL voltage -1216 336 R0 WINDOW 123 0 0 Left 2 WINDOW 39 -32 107 Left 2 WINDOW 3 -14 53 Left 2 SYMATTR SpiceLine Rser=3D8m SYMATTR InstName V4 SYMATTR Value 10 TEXT 32 88 Left 2 !K1 L1 L2 L3 0.998 TEXT -536 576 Left 2 !.tran 0 400m 0 2u startup TEXT 216 -24 Left 2 ;Primary 2x8 turns 2V/turn at 600 Hz=20

Reply to
P E Schoen
Loading thread data ...

On a sunny day (Sun, 17 Jun 2012 04:05:13 -0400) it happened "P E Schoen" wrote in :

Since you are a PIC user, a current and voltage regulated supply:

formatting link

For more current use bigger inductors (physicaly), and bigger MOSFETS, and a real MOSFET driver.

I have used this as lab supply now for more than year, and it is absolutely the greatest,

Reply to
Jan Panteltje

I see about 24V of HF hash at M3 drain. Apparently due to L5 resonating with various capacitances.

BTW, what was the thinking behind specifying both series *and* parallel parasitic resistances for L5? They're each just a different way of specifying the same quantity. If the 350 ohms is a physical damping resistor, it should ideally show on the circuit.

Any reason why you restricted the number of cycles of drive to M1 and M2, rather than letting it run for the full simulation time?

Why not just use a simple precharge resistor, switched out with a contactor, or maybe a triac? That's the way the VFD guys do it.

Otherwise, your suggestion of PWM-ing the gate drives would work. There are driver ICs available that current limit in just that way.

Please, pretty please, get rid of that Greek "mu" (Control Panel - Netlist Options).

--
"For a successful technology, reality must take precedence 
over public relations, for nature cannot be fooled."
                                       (Richard Feynman)
Reply to
Fred Abse

f=20

ed=20

s=20

=20

ng=20

d=20

=20

e=20

=20

I=20

at=20

nes=20

o I=20

=20

en=20

le=20

out=20

=20

.=20

ore=20

=20

=20

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D

Haven't looked at the sim yet but I know right off that I wouldn't even con= sider this approach. Since the actual current limit is not that critical, I= would monitor the VDS drop across the RDS of the on MOSFET and ground the = gate drive at IDS of approximately 60A. All you need is some HCT logic work= ing in conjunction with your PIC, UCC27321(?) drivers, and a dual comparato= r. Then hang a slo-blow fuse off the BATT(+) to kill everything in the even= t of a hard failure.

Reply to
bloggs.fredbloggs.fred

Why not just soft-start the inverter that you already have?

Why not use smaller caps?

Reply to
John Larkin

snip

looked at something like a IR2086 ?

-Lasse

Reply to
langwadt

That may be a good candidate, but it's not recommended for new designs.=20 However, there are similar parts. I found a reference design for a 300W=20 DC-DC converter:

formatting link

This is mostly a conceptual design. Actually an SG3526 would probably = work=20 well enough. But I'd like to use a PIC so I can combine other features. = I'm=20 using a PIC16F684 for the PWM drive now (with gate drivers), but its PWM = is=20 not suited for push-pull except at 50% duty cycle. Also its internal=20 comparator conflicts with the PWM module. The PIC16F616 has a different=20 comparator module so it might be suited to use as a hardware-based=20 current-limited start-up. But I may also consider using something like = the=20 PIC18F2331 which has the three-phase motor control module.

Another candidate might be

formatting link
It is a = low=20 noise push-pull device with integrated MOSFET drivers, programmable slew =

rate, overcurrent protection, and other goodies. I'm not fond of the = tiny=20 package with 0.65mm pitch, but I have worked with them in prototypes. No =

problem for automated production assembly, however.

Thanks,

Paul=20

Reply to
P E Schoen

That looks like a nice unit. But I'm not sure about using a SEPIC to = boost=20 the voltage from 12, 24, 36 or 48VDC to 320 or 640VDC. That's a really = hefty=20 inductor, and I think it would be bigger and heavier and more difficult = to=20 design than a transformer. And I really don't need output adjustment or=20 regulation. All I want is basically a DC transformer about 15/1 ratio.

Thanks,

Paul=20

Reply to
P E Schoen

any=20

thing,

the

current

parallel

Those were just from a model that I chose from the inductor menu. Then I =

changed the resistance and inductance to match a larger one that I = found. It=20 would probably simulate more quickly by removing those parasitic values.

M2,

It was taking like 1/2 hour to run 100 mSec, so I usually stopped it = once it=20 seemed to settle.

That may be a viable option. I figure I would need about 0.5 ohms for 50 =

amps at 24V. About 1200 watts to start. Or I could put it on the output, =

which is about 300V and 4A, so a 75 ohm will work. With the original =

6600 uF=20 the TC would be 0.5 seconds, so about 2.5 seconds until it reaches full =

voltage. I could use an SPDT relay which would first just charge the=20 capacitors and then remove the resistance and apply the voltage to the = VF=20 drive. But if I don't use the doubler I can just use the VFD's internal=20 capacitors, which are probably about 200 uF. I could still monitor its = bus=20 voltage and keep the resistor in the circuit until it reaches about =

250V,=20 and then kick it out. The VFD draws only about 200 mA or less without a=20 motor load.

That's probably the easiest thing to do now, just to get something = working.=20 Since I already have the PIC, I can monitor the output voltage and just = keep=20 the current limit resistor on until it comes up. Maybe I can use a = MOSFET or=20 my original choice of a power darlington on the input side, and use like = a 5=20 ohm resistor to charge the 2200 uF capacitor to 24V. Then I could use a=20 fairly small relay for the output capacitor charging. I'll have to work = out=20 the details, and see how it responds to a short circuit failure. = Hopefully I=20 can switch it to current limit mode before it reaches extreme levels, = but=20 high enough to trip the breaker quickly enough. And of course a fuse for =

apocalyptic situations :)

I will look into those before I make a final design. My purposes now are =

more to get something working so I can determine just how much power I = need=20 for my tractor under various conditions.

Netlist

I thought I had done that. But maybe I updated LTSpice since then. And I =

also found that, to take effect, I had to change something in the = schematic=20 and then save again. Sorry...

Thanks,

Paul=20

Reply to
P E Schoen

As the asc file doesn't include the modifications mentioned, specifically in the inrush limiting section, you shouldn't expect this proposed schematic to be much use to others. As the load doesn't look like a battery and is fixed resistive - the simulation does not illustrate the the battery charging condition or loading effects. Supposedly you intend to controll these things at some point, reflecting the mfr's charge and float recommendations for the batteries used.

It's probably not a good idea to let the RC values of the current sensor set the switching frequency. This is actually the source of the first single cycle surge at turn-on, in the posted asc file, as the C in this sensor's filter charges to an initial value that is not related to actual switch current. How you handle this as the driver changes (removing a known fixed hysterisis and altering the threshold to larger logic levels) is not indicated.

The integrated driver mentioned will not respond nicely to load values less than the peak limit, as it's gate drive bootstrap source requires periodic refreshing.

The choice of unsynchronized frequencies can be an issue, as may be the audible frequency intended for the DC-DC transformer section. The former introduces a periodic flux imbalance in the downstream transformer. The latter will just be annoying.

To get a better idea of snubbing energy losses in switching the DC-DC section, you might apply more realistic coupling coefficients, as the high power coupler is unlikely to aproach 0.998 .

It's not a wise idea to have two voltage sources (ie capacitive storage or batteries) on both sides of a DC-DC transformer. At some time this will look like a short circuit, resulting in incontrollable current peaks in the switches at both switching and control frequencies.

RL

Reply to
legg

even

some

and

I have updated the sim file to change the Greek mu to "u" and it's = posted=20 at:

formatting link

I have receive a lot of good ideas here and I just need to look at what = is=20 easiest to get this working, first, and then for a possibly commercially =

viable, reliable design. Such a device may be very useful for EVs,=20 especially smaller ones like tractors, where it will enable the use of=20 standard three phase motors and controllers with just a few 12V deep = cycle=20 batteries which are easily available and well-suited to tractors, = because=20 weight is not a problem and cost is much less than lithium. For a = tractor,=20 if it is used only once or twice a week, the batteries should last up to =

5=20 years. For cars, however, the lithium cells may be more cost-effective = over=20 the long run.

Thanks,

Paul=20

Reply to
P E Schoen

I may do that. But for now I'm trying to avoid a major redesign.

The two 3300 uF capacitors were used for my doubler circuit, where I = used=20

12VDC to get 300VDC. But for 24VDC I used a simple FWB, and I have a=20 position on my switch to leave these capacitors out. Then I will still = have=20 the capacitors inside the VFD, but I think they are probably about 200 = uF=20 and much less problem than 6600 uF. :)

Thanks,

Paul=20

Reply to
P E Schoen

Why not just do something like this?

formatting link

Obviously you'll need something a lot slower, 494 should be okay at KHz though. The loop components need to be slower of course.

Also, notice the output choke. Forgetting to include it (and a current limit or soft start) destroys power supplies in exactly the way your simulations have shown.

The 100uF 50V Vpeak snub cap probably needs film caps in parallel with it.

Tim

-- Deep Friar: a very philosophical monk. Website:

formatting link

"P E Schoen" wrote in message news:jrk33q$18u$ snipped-for-privacy@dont-email.me... In a previous post about minimizing spikes on a square wave push-pull transformer drive, my simulations discovered a very large and probably destructive current surge due to the large capacitor load on the output of the step-up transformer and FWB. I proposed using a brute force linear current regulator, but the SOA of the transistors would be exceeded. I need an output of at least 1500 watts, and the energy storage in the capacitors (6600uF at 300V, or 990 watt-seconds) was such that I would need to use multiple power transistors and also a controlled charge current with a long time constant to be reasonable.

But I realized that a switching regulator would be much more efficient and better for many reasons, so I endeavored to make one using LTSpice. The basic premise was to apply the battery voltage to an inductor and read the current, and then switch off the drive when it became a certain maximum value, such as 100A, and then turn on again when it dropped to about 80A. I found that a reasonable value was 4.7 uH and I found a commercially available model good for 60A for about $13.

formatting link

At first I tried using a PMOS but the standard models did not have one that was suitable. I also had difficulty finding a good gate driver, and the ones I tried to concoct from op-amps were too slow and caused peak power dissipation of many kW in the MOSFET, for a significant period of time. So I changed the design to use an NMOS and a high-side driver:

formatting link

So my simulation shows a peak current of about 90A and the voltage at the transformer stabilizes within about 1.5 mSec with a 2200 uF capacitor. Then I turn on the gate drives to the MOSFETs for the transformer, and the current limit goes into effect again, with a maximum current of 150A, while the series MOSFET dissipates about 35 watts. The circuit oscillates at about

220 kHz. It stabilizes by 90 mSec at which point the battery is supplying 1.15 kW and the output resistor load is 1.06 kW, for an efficiency of 92%. This includes the current limiter which is about 10W, the switching transistors which are 20W each, 6W in the inductor, and 15W in the two output capacitors which are still charging.

Following is the ASC file. I'll have to give this a try before I do any more testing with the DC-DC converter. And I can probably do the same thing, essentially, by modulating the gate drives of the transformer driver MOSFETs. In that case, I will probably need to leave the inductor in the center tap of the transformer to the battery. But for now, the current limiter seems to work well, and it may be a good device to make as a stand-alone current limiter for working with batteries.

Paul

=========================================================

Version 4 SHEET 1 880 680 WIRE 0 -32 -352 -32 WIRE -352 0 -352 -32 WIRE -160 0 -272 0 WIRE -352 80 -352 64 WIRE -272 80 -272 64 WIRE -272 80 -352 80 WIRE -352 96 -352 80 WIRE -272 96 -272 80 WIRE 256 96 224 96 WIRE 256 128 256 96 WIRE 320 128 256 128 WIRE 432 128 384 128 WIRE 528 128 432 128 WIRE 544 128 528 128 WIRE 560 128 544 128 WIRE 592 128 560 128 WIRE -160 144 -160 0 WIRE 96 144 -160 144 WIRE 128 144 96 144 WIRE -1008 160 -1088 160 WIRE -960 160 -1008 160 WIRE -896 160 -960 160 WIRE -704 160 -896 160 WIRE -592 160 -608 160 WIRE -1008 176 -1008 160 WIRE -352 176 -352 160 WIRE -320 176 -352 176 WIRE -272 176 -320 176 WIRE 224 192 224 96 WIRE -1088 208 -1088 160 WIRE 320 208 288 208 WIRE 432 208 432 128 WIRE 432 208 384 208 WIRE 528 208 528 192 WIRE 528 208 464 208 WIRE 592 208 592 128 WIRE -688 224 -688 208 WIRE -688 224 -752 224 WIRE -656 224 -688 224 WIRE -752 240 -752 224 WIRE -752 240 -896 240 WIRE -592 240 -592 160 WIRE -464 240 -512 240 WIRE -448 240 -464 240 WIRE -320 240 -320 176 WIRE -320 240 -448 240 WIRE 128 240 128 224 WIRE 128 240 -320 240 WIRE 128 256 128 240 WIRE 544 256 544 128 WIRE 544 256 496 256 WIRE 288 272 288 208 WIRE 288 272 224 272 WIRE 320 272 288 272 WIRE 416 272 384 272 WIRE -1008 288 -1008 256 WIRE -928 288 -1008 288 WIRE -320 288 -384 288 WIRE -80 288 -256 288 WIRE 496 288 496 256 WIRE -512 304 -512 240 WIRE -912 320 -1216 320 WIRE -848 320 -848 288 WIRE -656 320 -656 304 WIRE -912 336 -912 320 WIRE -384 336 -384 288 WIRE -256 336 -256 288 WIRE 0 336 0 -32 WIRE 112 336 0 336 WIRE 128 336 112 336 WIRE -1216 352 -1216 320 WIRE -944 352 -960 352 WIRE -768 352 -768 320 WIRE -720 352 -768 352 WIRE -592 352 -592 240 WIRE -848 368 -848 320 WIRE -848 368 -880 368 WIRE -720 368 -720 352 WIRE -464 368 -464 240 WIRE 256 368 256 128 WIRE 320 368 256 368 WIRE 416 368 416 272 WIRE 416 368 384 368 WIRE 464 368 464 208 WIRE 464 368 416 368 WIRE 496 368 496 352 WIRE 496 368 464 368 WIRE 592 368 592 288 WIRE 592 368 496 368 WIRE -1008 384 -1008 288 WIRE -944 384 -1008 384 WIRE -160 384 -160 144 WIRE 0 384 0 336 WIRE 592 384 592 368 WIRE -1008 400 -1008 384 WIRE -80 416 -80 288 WIRE -1088 432 -1088 288 WIRE -912 432 -912 400 WIRE -912 432 -1088 432 WIRE -768 432 -912 432 WIRE -656 432 -656 416 WIRE -656 432 -768 432 WIRE -960 448 -960 352 WIRE -752 448 -960 448 WIRE -960 464 -960 448 WIRE -320 464 -320 288 WIRE -240 464 -320 464 WIRE -208 464 -240 464 WIRE -80 464 -80 416 WIRE -48 464 -80 464 WIRE -1216 528 -1216 432 WIRE -1136 528 -1216 528 WIRE -1088 528 -1088 432 WIRE -1088 528 -1136 528 WIRE -1008 528 -1008 480 WIRE -1008 528 -1088 528 WIRE -960 528 -1008 528 WIRE -880 528 -960 528 WIRE -752 528 -800 528 WIRE -592 528 -592 416 WIRE -592 528 -752 528 WIRE -544 528 -592 528 WIRE -512 528 -512 368 WIRE -512 528 -544 528 WIRE -464 528 -464 432 WIRE -464 528 -512 528 WIRE -384 528 -384 416 WIRE -384 528 -464 528 WIRE -320 528 -384 528 WIRE -256 528 -256 416 WIRE -256 528 -320 528 WIRE -240 528 -256 528 WIRE -80 528 -240 528 WIRE -1136 560 -1136 528 WIRE -240 560 -240 528 WIRE -160 560 -160 480 WIRE -96 560 -160 560 WIRE 0 560 0 480 WIRE 0 560 -96 560 WIRE -544 608 -544 528 FLAG -1136 560 0 FLAG 592 384 0 FLAG 560 128 Vout FLAG -448 240 in FLAG 96 144 m1 FLAG 112 336 m2 FLAG -960 160 batt FLAG -240 464 g1 FLAG -80 416 g2 FLAG -96 560 src SYMBOL ind2 112 128 R0 SYMATTR InstName L1 SYMATTR Value 180µ SYMATTR Type ind SYMATTR SpiceLine Rser=100u SYMBOL ind2 112 240 R0 WINDOW 0 45 35 Left 2 WINDOW 3 41 61 Left 2 SYMATTR InstName L2 SYMATTR Value 180µ SYMATTR Type ind SYMATTR SpiceLine Rser=100u SYMBOL ind2 240 176 M0 WINDOW 0 21 -5 Left 2 WINDOW 3 -9 113 Left 2 SYMATTR InstName L3 SYMATTR Value 32m SYMATTR Type ind SYMATTR SpiceLine Rser=10m SYMBOL nmos -208 384 R0 SYMATTR InstName M1 SYMATTR Value IRFZ44N SYMBOL nmos -48 384 R0 SYMATTR InstName M2 SYMATTR Value IRFZ44N SYMBOL voltage -1088 192 R0 WINDOW 123 0 0 Left 2 WINDOW 39 -32 107 Left 2 WINDOW 3 -16 55 Left 2 SYMATTR SpiceLine Rser=8m SYMATTR InstName V1 SYMATTR Value 24 SYMBOL diode 384 288 M270 WINDOW 0 32 32 VTop 2 WINDOW 3 0 32 VBottom 2 SYMATTR InstName D2 SYMATTR Value MUR460 SYMBOL diode 320 224 R270 WINDOW 0 32 32 VTop 2 WINDOW 3 0 32 VBottom 2 SYMATTR InstName D3 SYMATTR Value MUR460 SYMBOL polcap 480 288 R0 WINDOW 3 24 64 Left 2 SYMATTR Value 220µ SYMATTR InstName C1 SYMATTR Description Capacitor SYMATTR Type cap SYMATTR SpiceLine V=400 Irms=30 Rser=0.016 Lser=0 SYMBOL res 576 192 R0 SYMATTR InstName R1 SYMATTR Value 75 SYMBOL voltage -384 320 R0 WINDOW 123 0 0 Left 2 WINDOW 39 -43 57 Left 2 WINDOW 3 228 271 Left 2 SYMATTR SpiceLine Rser=100 SYMATTR Value PULSE(0 10 0.5u 10n 10n 499u 1000u 350) SYMATTR InstName V2 SYMBOL voltage -256 320 R0 WINDOW 123 0 0 Left 2 WINDOW 39 -43 57 Left 2 WINDOW 3 100 298 Left 2 SYMATTR SpiceLine Rser=100 SYMATTR Value PULSE(0 10 500.5u 10n 10n 499u 1000u 350) SYMATTR InstName V3 SYMBOL diode 320 144 R270 WINDOW 0 32 32 VTop 2 WINDOW 3 0 32 VBottom 2 SYMATTR InstName D1 SYMATTR Value MUR460 SYMBOL diode 384 384 M270 WINDOW 0 32 32 VTop 2 WINDOW 3 0 32 VBottom 2 SYMATTR InstName D4 SYMATTR Value MUR460 SYMBOL polcap -480 368 R0 WINDOW 3 24 64 Left 2 SYMATTR Value 2200µ SYMATTR InstName C2 SYMATTR Description Capacitor SYMATTR Type cap SYMATTR SpiceLine V=25 Irms=20 Rser=100m Lser=0 SYMBOL polcap 512 128 R0 WINDOW 3 24 64 Left 2 SYMATTR Value 220µ SYMATTR InstName C3 SYMATTR Description Capacitor SYMATTR Type cap SYMATTR SpiceLine V=400 Irms=30 Rser=0.016 Lser=0 SYMBOL cap -528 304 R0 SYMATTR InstName C5 SYMATTR Value .47µ SYMATTR SpiceLine V=250 Rser=100u SYMBOL schottky -576 416 R180 WINDOW 0 24 64 Left 2 WINDOW 3 -17 -52 VRight 2 SYMATTR InstName D5 SYMATTR Value MBRB2545CT SYMATTR Description Diode SYMATTR Type diode SYMBOL res -144 544 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R3 SYMATTR Value .001 SYMBOL cap -336 464 R0 SYMATTR InstName C6 SYMATTR Value .047µ SYMATTR SpiceLine V=250 Rser=100u SYMBOL cap -96 464 R0 SYMATTR InstName C7 SYMATTR Value .047µ SYMATTR SpiceLine V=250 Rser=100u SYMBOL diode -288 0 R0 SYMATTR InstName D6 SYMATTR Value MUR460 SYMBOL diode -336 0 M0 SYMATTR InstName D7 SYMATTR Value MUR460 SYMBOL cap -368 96 R0 SYMATTR InstName C10 SYMATTR Value 2.7µ SYMBOL res -288 80 R0 SYMATTR InstName R6 SYMATTR Value 1K SYMBOL res -784 512 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R2 SYMATTR Value 0.002 SYMBOL res -912 144 R0 SYMATTR InstName R4 SYMATTR Value 100 SYMBOL res -768 432 R0 SYMATTR InstName R5 SYMATTR Value 220 SYMBOL pmos -608 208 M270 SYMATTR InstName M3 SYMATTR Value Si4401DY SYMBOL Opamps\\LT1630 -912 304 R0 SYMATTR InstName U1 SYMBOL res -672 208 R0 SYMATTR InstName R7 SYMATTR Value 100 SYMBOL npn -720 320 R0 SYMATTR InstName Q1 SYMATTR Value 2N2222 SYMBOL res -752 304 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R8 SYMATTR Value 1K SYMBOL res -1024 384 R0 SYMATTR InstName R9 SYMATTR Value 10 SYMBOL res -992 272 R180 WINDOW 0 36 76 Left 2 WINDOW 3 36 40 Left 2 SYMATTR InstName R10 SYMATTR Value 2.4k SYMBOL res -944 304 R270 WINDOW 0 32 56 VTop 2 WINDOW 3 0 56 VBottom 2 SYMATTR InstName R11 SYMATTR Value 20k SYMBOL ind -608 256 R270 WINDOW 0 32 56 VTop 2 WINDOW 3 5 56 VBottom 2 SYMATTR InstName L5 SYMATTR Value 4.7µ SYMATTR SpiceLine Ipk=62 Rser=0.00094 Rpar=350 Cpar=6.13p SYMBOL res -784 336 R0 WINDOW 0 -34 54 Left 2 SYMATTR InstName R12 SYMATTR Value 220 SYMBOL cap -976 464 R0 SYMATTR InstName C4 SYMATTR Value 0.47µ SYMATTR SpiceLine V=250 Rser=100u SYMBOL voltage -1216 336 R0 WINDOW 123 0 0 Left 2 WINDOW 39 -32 107 Left 2 WINDOW 3 -14 53 Left 2 SYMATTR SpiceLine Rser=8m SYMATTR InstName V4 SYMATTR Value 10 TEXT 32 88 Left 2 !K1 L1 L2 L3 0.998 TEXT -536 576 Left 2 !.tran 0 400m 0 2u startup TEXT 216 -24 Left 2 ;Primary 2x8 turns 2V/turn at 600 Hz

Reply to
Tim Williams

formatting link
r.png

current=20

it.

Yes, the peak snubber was suggested by Fred Bloggs and it seems to work=20 well. It might be possible to capture the energy otherwise lost by = replacing=20 the 50 ohm 5W resistor with a DC-DC converter and use it to charge the=20 batteries.

I'd probably use an SG3526 which can drive MOSFET gates directly. But = even=20 better may be the LT1683. Also I think the TC to the CL input on the = circuit=20 you show is too large to be effective. 1 mSec even on a 2kHz converter = may=20 allow several pulses to happen before it shuts down. I'd rather have=20 cycle-by-cycle monitoring and PWM foldback.

Thanks,

Paul=20

Reply to
P E Schoen

On a sunny day (Sun, 17 Jun 2012 17:42:56 -0400) it happened "P E Schoen" wrote in :

Use a transformer. You know, less turns primary, more turns secundary, to up the voltage? I was not giving you a ready design, just some hints on 'current limiting' and programming. Sorry if that confused you.

Reply to
Jan Panteltje

You don't, actually. Cycle by cycle control almost always leads to instability. In fact, the classic peak-current-mode flyback (e.g., UC3842) is a classical instance of the logistic function: it exhibits chaos with all the trimmings.

Continuous mode current limiting is subject to all the normal stability criteria but that's just a choice of R and C. There's no way to combat chaos.

Tim

--
Deep Friar: a very philosophical monk.
Website: http://webpages.charter.net/dawill/tmoranwms
Reply to
Tim Williams

That isn't *quite* what I meant. I meant a precharge resistor in series with C1 and C3, since that's where the excessive load on startup is. That will reduce the current capability requirement for your switching device, contactor or triac, and probably make for more reliable starting.

--
"For a successful technology, reality must take precedence 
over public relations, for nature cannot be fooled."
                                       (Richard Feynman)
Reply to
Fred Abse

last time I looked ferrite E-I cores for the transformeres with layered windings on a bobbin and rod and toroid cores for the filter inductors.

--
?? 100% natural

--- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net
Reply to
Jasen Betts

That would be excellent for a DYI project because scrapped PC power supplies are ubiquitous. Except in some countries the electronic waste recyclers won't sell back to the public or are prohibited to. But that would affect laminated toroids even more because they are less prevalent and expensive. You can only find those in older high-end audio gear.

--
Regards, Joerg

http://www.analogconsultants.com/
Reply to
Joerg

You can also use the cores from burned-up Powerstats.

I have, somewhere, ferrite cores and bobbins good for about 2000 watts. = I=20 got them on eBay years ago when I first had this idea. I should find out = the=20 cost for new units, and maybe just plan on supplying them, since they=20 (Lodestone Pacific) usually have a high minimum order. But the real = problem=20 may be what sort of wire (or copper strip) to use. It gets tricky with = such=20 high currents. And multiple windings are also a PITA.

I think I can get bare toroid cores from

formatting link
for about = $30-$50=20 each.

Another source for toroids is current transformers. They usually have a =

5=20 amp secondary. So a 250:5 would have 250 turns and two windings of 8 = turns=20 each should produce about 300V.

Paul=20

Reply to
P E Schoen

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.