# Solid State Switch for magnet DC Generator

I'm using a flywheel-driven permanent magnet DC generator to charge up a bank of supercapacitors, 35 farad rated to 25V. For safety I limit the max charge to 22V via a comparator and a zener reference. Because I have no stable reference voltage at all in in this system, I rely on the zener for a reference.

This small generator, at my max. RPM, puts out 120V open-circuit and 2.5A short-circuit. Charging up from cap bank at zero volts, indeed 2.5A flows into the cap bank and voltage climbs. When the voltage on the cap bank reaches 22V, comparator U1 goes high. U2 serves to invert this signal and turn on PNP Q3. I want to use the signal at Q3's collector to drive some kind of switch to disconnect the charging current from the DC generator, in order to avoid over charging the cap bank.

My question is on Q1 and Q2, my hypothetical switch. Does this approach make sense? Starting from zero volts on the cap, I expect Q1 to be on as its gate is connected to is drain through the 1M resistor. As soon as Q3 pulls up Q2's Vg ~ 10V, I expect Q2 to pull down Q1's Vg to near ground and effectively shut off charging current to C1. Due to feedback R7 & C2, U1 will not flip back again until ~ 20V.

Let's say that after charging C1 to 22V, Q1 goes into cutoff. Also, the DC generator is at a stop, so Vds = -22V Also, Vgs = -22V . I'm not sure if this condition will wreak havoc with Q1/Q2. The part number ( IP8107N20N3 G ) is spec'd for Vds = 200V and Vgs = +/- 30V but I'm not comfortable with that negative Vds on Q1.

Maybe I am going about this switching completely the wrong way. I've already burned out an SSR, which used to be in place of Q1, because my amateur experience forgot that when the load is removed from the generator, its open-circuit voltage climbs to 120V and my DC SSR was rated to switch only 60V.

NEW VERSION (3/28/2013):

Incorporated the suggestions in the comments ( thank you Dave ) Updated circuit (3/28/2013) works better now with the following limitations:

-- When cap bank C1 is completely discharged, it presents a very large load to the DC permanent magnet generator. Consequently, when Rs1 was not present, Vaa never climbed above ~8V at full RPM and thus Q1 never turns on fully; Q1 dissipates enough heat to get smoking hot in a few seconds w/o heatsink. I'm getting around this problem for the moment with a very large heat sink; the part will survive 175C but I really don't want to get anywhere near that hot in the final design.

-- Added Rs1, 3 ohm power resistor. With this load in place, Vaa climbs almost immediately to ~17V when generator is at speed. ( Generator is load-dependent & RPM dependent current and voltage source.) So Q1 turns fully on. But the tradeoff is now Rs1 limits the available current to the cap bank. The charge time has increased for Vbb 0V-->5V by about factor of 2. Not nice.

-- I needed to add D3 to counteract Q1's built in body diode. I am only 95% sure I need D3, but I didn't want to risk frying my power mosfet here. If the cap bank voltage Vbb is limited to 22V ( by U1 & U2, working OK ) , and the generator is at standstill, that'll give me -22V looking from Vbb to Vaa, effectively reverse biasing the power PFET.

My next test will be to develop a subcircuit to short-out Rs1 once the cap bank reaches a charge level which will keep Vaa > 15V. At this point I'm thinking another power NFET across Rs1's terminals.

• I may misunderstand something, but can't you reverse the inputs to the first opamp and do without the secondary? Mar 12, 2013 at 20:32
• As Dave says - Q1 drive is fatally bad and must be changed. A small high voltage PNP transistor or a P Channel MOSFET would be much better. An N Chanel FET could be used there with proper design but there is no need to use one unless it;'s all that is available. Mar 12, 2013 at 23:33

## 1 Answer

I'm not sure using an N-channel MOSFET for Q1 makes a lot of sense in this application. For one thing, you're going to have to be careful that you don't exceed the maximum gate-source voltage — pulling the gate to +120V while the source is held at less than +22V is almost certainly too much. Any pulling the gate all the way to ground with +22V on the source may also be too much.

You'd probably be better off to use a P-channel MOSFET in this application, connecting its source to the generator, putting a 15V zener diode between the source and gate, and then pulling the gate down through a resistor when you want to enable (rather than disable) the charging.

• Dave ... thank you very much for your idea! After googling around a bit, I found: vishay.com/docs/70611/70611.pdf describing exactly what you mention above. I would have never thought to create such an circuit. The only issue now is, there is no external source to drive the nfet on start-up. The high-side pfet should be on as soon as the generator starts turning, & if the cap bank is at 0V intitially I have nowhere to derive this voltage. I use the cap bank voltage to power everything else. Perhaps: derive 5V at the nfet gate using a zener ... & somehow pull it down? Mar 13, 2013 at 19:33
• Yes, that would be a good approach. Connect a resistor directly from the +120V bus to the NFET gate, with another zener from there to ground. When the control logic detects the maximum voltage on the +22V bus, it pulls the gate low. A simple voltage comparator with an open-collector output, such as the LM397 would be the simplest solution. See Figure 2 in that datasheet for the general idea. Mar 13, 2013 at 20:40
• Finally got parts in, tested out the following circuit: i.imgur.com/ErbY1b9.png Initially tested this circuit using a load resistor of 10ohms instead of the 25F cap bank. Circuit works perfectly! Then, went on to use the cap bank. Circuit fails, Q1 dissipating high power. Since the cap bank at full discharge appears as extreme low impedance to the source ( generator ), and since the DC generator is a load-dependent voltage/current source ... when I put the cap bank in line with Q1's drain, Vin never goes above ~ 8V and Q1 never goes linear. Mar 22, 2013 at 14:48
• I thought to add Q4 to counter the effect of Q1's built-in body diode. Didn't want C1 to discharge through there, though I'm not entirely sure its necessary due to the blocking action of the bridge. Didn't want to risk it anyway ;) I know that I can keep Vin higher than 8V if I use a typical 2-BJT cross-coupled current limiting circuit, but then I am taking a big hit in efficiency / cap charging time by not using the full 2.5A available from the generator. Thought of using a power NPN as the pass switch, but I can't find a BJT with Vebo > 7V. In my case, Vebo >= 22 full charge. Mar 22, 2013 at 14:50
• You should edit this additional material back into the original question as a follow-up. Obviously, for the initial charge of the capacitor bank, you're going to have to limit the current to the point where the generator can provide sufficient headroom to keep the control circuit operating. There's no way around the fact that in current-limiting mode, you're going to be dissipating power, but once the capacitor voltage gets high enough, the amount of power wasted will be minimal. Mar 22, 2013 at 15:48