Hi all,
I'm designing a precision power supply and would appreciate any feedback. The schematic of the analog section is attached. I'll post anything else that's requested.
The design specs are:
28 V, 2.2 A, constant voltage (with settable current limit), constant current (with settable voltage limit), single range (I'd rather not have to dissipate 60 W at low voltage / high amperage but it's difficult to find a multi-output transformer; also, how the heck do you handle the voltage/current drops caused by range switching), sense terminals, 1 mV and 1 mA setting steps, 1mV and 100uA read back resolution, isolated of course, ground terminal on front along with +V, -V, +S, -S.
It will be digitally controlled and feature a touch-screen (A Nextion screen with a built-in processor to handle all the intensive graphics so that I can control the rest with an AVR, which I have experience with) and a physical number pad (with V, mV, A, mA buttons for easy setting). I think that I can handle the digital design and I can definitely handle the programming but feature suggestions are welcome.
What I do need help with is the analog design. Specifically: Is the design overly complicated? Is this how it's done? Also, I'm having stability issues; are my LTSpice stability models correct?
I'm using the Art of Electronics as a guide where I can: the current balance circuit on the paralleled power transistors; the AC to DC supply; the transformer selection (which is toroidal, whoo); etc.
Alrighty, thanks if you've gotten this far. I'm going to go over what's happening in the attached schematic. This is gonna be long winded but I'd rather avoid confusion.
First, all of the op amps are driven by a separate supply that provides +8V and -8V relative to the ground on the schematic.
Starting at the top left, the sense terminals and main input terminals go to differential amps that divide by 12, to get the full scale reading in range of the ADC and DAC.
The output of these two op amps go to an analog switch (DG419) which selects an input. The rest of the circuitry on the top half of the schematic is just for deciding which input is selected (main or sense). This is controlled by the CRL input on the DG419, High on CRL selects the main terminals, Low on CRL selects the sense terminals. On the top, far right is a FET whose gate is connected to the microcontroller (uC); when the gate is high, that FET turns off the FET that it's connected to, which prevents the sense terminals from being selected. If the gate is low, there are two further requirements for the sense terminals to be selected. First, the op amp to the right of the sense-input-divide-by-12 op amp compares the main and sense voltages (both divided by 12); selection of the sense input is blocked if the sense voltage is higher than the main input terminal voltage (prevents funny business, there should be voltage drop). Second, the amount of voltage drop between the main terminals and the sense terminals is compared to a value that is set by the 8-bit DAC that is below the divide-by-12 op amps. If the amount of voltage drop exceeds the set threshold, then selection of the sense terminals is blocked (this prevents more funny business. for instance, if 4-wire mode is selected but the sense terminals aren't connected yet).
The description is unfinished and I haven't posted the LTSpice data yet; but happily, I've already gotten a couple of replys with lists of problems. So, I'm going to address those first and then update everything with the up-to-date information. Feel free to keep adding suggestions.
Thank you for any suggestions, corrections or guidance,
Matthew