Re: PID question



hondgm@xxxxxxxxx wrote:
John Popelish wrote:
hondgm@xxxxxxxxx wrote:
John Popelish wrote:
hondgm@xxxxxxxxx wrote:

Well, not really. I was going to have only one DAC that provides the
ref voltage for the regulator, then use that, along with the current
sense value, to limit current. Remember the PID is being done in a
micro, and the only analog I/O is one DAC out and one A/D measuring
load current.

I lost some of those details.

So the DAC provides the analog signal representing the
output of low selector, (the setpoint for the analog PID
current controller), and the ADC provides the load voltage
measurement into the software PID voltage controller.
You will still need an analog current measurement to provide
feedback for the analog PID current controller.

The only question left in my mind is whether or not the
micro has the bandwidth to perform the PID voltage
controller and low selector with adequate response.

Actually, I have an ADC that reads the load current. I also have one
that reads load voltage, which is a little redundant.

The one that reads current cannot be involved in the analog current regulation, without slowing it down, though it is fine to use it for monitoring the average current for other purposes. You will have to use the analog signal it digitizes as the feedback for the analog PID current regulator.

The micro is 16
bit, with a 100ksps A/D and a some DSP type functionality. It seems to
handle it ok; it's just that some loads causes the voltage output to
jump all over the place. For example, pure resistive loads are fine.
If I put a small motor on as a load with some current limiting, it has
problems. The voltage output jumps all over.

Every regulator has an upper frequency limit. You have to decide what is fast enough. If you add capacitance across the output, it can help stabilize the voltage for frequencies higher than the regulator can keep up with, but then you lose the high frequency response with the current limit. This is a trade off.
.



Relevant Pages

  • Re: PID question
    ... ref voltage for the regulator, then use that, along with the current ... load current. ... So the DAC provides the analog signal representing the ... (the setpoint for the analog PID ...
    (sci.electronics.design)
  • Re: PID question
    ... The one that reads current cannot be involved in the analog ... digitizes as the feedback for the analog PID current regulator. ... The only analogue regulator in his setup is for the voltage. ...
    (sci.electronics.design)
  • Re: PID question
    ... An analog input on the micro will monitor load current. ... controlling the set voltage. ... Since you are dealing with a loop you should analyse it ... Ki is an integrator which means its response falls at 20dB/decade and it has ...
    (sci.electronics.design)
  • Re: What is this cirquit used for?
    ... power supply to 5.5V and went up to 9V like the 6V rated spare wall ... wart I have outputs without load. ... Behind the formentioned regulator cirquit the voltage drop get's a bit ...
    (sci.electronics.basics)
  • Re: About some parts on logical circuits
    ... volts with a low dropout 5V regulator, ... but it might drop out on low line voltage. ... Better would be to diode double it to 14 and, ... plus the low load bump, ...
    (alt.guitar.amps)