Electronics > Projects, Designs, and Technical Stuff
0-10V DAC or 0-5V DAC and opamp for gain - Meeting specs close to supply rails.
petemate:
Hi guys, I'd like to remote control a PSU via its "analog programming voltage", which are two 0-10V signals that controls voltage and current. I plan to make a small PCB with an STM32F103 and power everything through USB. The PSU has a 10V output that can be used as supply/"reference" for the DAC and I would like to use this voltage to produce the 0-10V signals to the PSU, since that would mean that i won't have to include a 5V-to-10V boost converter on the PCB. This also means that the analog part of the design will be a unipolar supply.
I will need a 16 bit DAC to produce a ~1mV resolution to the PSU(its a 60V PSU) and it is hard to find a 2-channel 16 bit DAC that allows 0-10V operation from a 10V input voltage. Its much easier to find a 5V-compatible 2-channel 16 bit DAC, but then I would have to gain up the signal. Not a problem in itself, even though linearity, offset voltage, etc does have an influence. This can however compensated for via feedback. The real problem is the unipolar supply, because i need to keep the 1mV resolution when i'm close to 0V and 10V. Even a nice rail-to-rail opamp will only go a few millivolts within its rails typically, with worst-case being 10s of millivolts. In addition to this, the DACs also suffer from this problem of not being able to put out "true 0mV", as they also have some offset or zero error. some DACs do have a siwtchable "pull-down" resistor that could be enabled to get true 0V, but its kind of a hack that I'd like to avoid.
is there really no way around implementing a real bipolar supply to fix this problem?
David Hess:
--- Quote from: petemate on July 16, 2020, 04:38:55 pm ---is there really no way around implementing a real bipolar supply to fix this problem?
--- End quote ---
That covers it; somehow you need to implement supply voltages less than and greater than 0 and 10 volts.
magic:
What does the input impedance of the PSU look like?
What about some simple single-ended class A output stage controlled by a precision opamp? Say, 10kΩ to ground and a common source p-MOS with RDS(on)<1Ω to make 9.999V possible?
OM222O:
Easiest solution would be a charge pump. If you have a 5V supply, you can create a -5v rail and by doubling the 10v reference, you can get 20v. It will not be symmetric, but should cover the voltage range you need. For the oscillator, easiest solution is using a hex NOT gate (preferably cmos) and either making an RC oscillator with one of the gates or feeding a single PWM to the first one. If the input impedance was low and the pump couldn't sustain the voltage, you can increase the current capability using external fets for switching.
mawyatt:
If you don't want to create a + supply >10 volts and a - supply < 0 volts, which is the best approach IMO, then consider a discrete CMOS inverter as an output buffer for a rail to rail op-amp. Compensate the loop since you've added additional gain, and the phase is reversed because of the inverter. Some small footprint SOT23 FETs have very low Rdson, under 0.5 ohms, so the output will pull to 10 volts and ground with under 0.5 ohms effective output impedance.
This approach will cause heavy current draw from the 10 volt source for the mid output voltage ranges tho, so this needs to be considered. Also consider selecting FETS with higher threshold voltages and low Rdson. We use this discrete CMOS inverter approach to switch between rail outputs with very accurate output levels (used in precision voltage divider).
Best,
Navigation
[0] Message Index
[#] Next page
Go to full version