Re: PID question



John Popelish wrote:

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.

John, I think there is a misunderstanding here. The OP *doesn't have* and analogue PID current regulator! He wants to do it in s/w with the PIC. The only analogue regulator in his setup is for the voltage. He has *one* DAC to provide the voltage set point to the analogue voltage regulator, and reads the current through an ADC. He wants to use that ADC's reading to limit the current digitally by modifying the voltage set point of the analogue voltage regulator using a PID algorithm in s/w. I hope this is now clearer.

--
Regards,
Costas
_________________________________________________
Costas Vlachos Email: c-X-vlachos@xxxxxxxxxxxxxx
SPAM-TRAPPED: Please remove "-X-" before replying
.



Relevant Pages

  • Re: PID question
    ... You will have to use the analog signal it digitizes as the feedback for the analog PID current regulator. ... The only analogue regulator in his setup is for the voltage. ... He wants to use that ADC's reading to limit the current digitally by modifying the voltage set point of the analogue voltage regulator using a PID algorithm in s/w. ...
    (sci.electronics.design)
  • Re: PID question
    ... digitizes as the feedback for the analog PID current regulator. ... The only analogue regulator in his setup is for the voltage. ... What I meant was that you should tune your PID so that the speed of response of the current limiter is such that there are several samples spread along the transition curve ...
    (sci.electronics.design)