PI controller implementation problems

Hi,

I need to use PI controller together with the manually tuned input. PI is implemented by the TI concerto DSP. But my tuning speed influences the integrator. If I increase the input fast, then it may result in the overshot, and the voltage goes over the limit. If I tune the input slow, then the integrator may integrate too much, and cannot actually control. Does anyone have a good solution of this? Or anyone has ever encountered this problem (PI controller with manually tuned input)?

by minnieyue
March 06, 2017

1 Answer

Answer by mrobbins

Two thoughts:

  1. Do you have reasonable limits on your integrator? If you do, then the system will be able to recover reasonably quickly once the input imbalance is corrected.
  2. Could you manually reset the integrator when appropriate? If you only adjust the manual setpoint occasionally, that could be a good time to reset the integrator to some central value. This could be a button the user could press, or could be detected by your DSP when the user stops turning the knob.
+1 vote
by mrobbins
March 06, 2017

Your Answer

You must log in or create an account (free!) to answer a question.

Log in Create an account


Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

Search Questions & Answers


Ask a Question

Anyone can ask a question.

Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.


About This Site

CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.

We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.

Acceptable Questions:

  • Concept or theory questions
  • Practical engineering questions
  • “Homework” questions
  • Software/hardware intersection
  • Best practices
  • Design choices & component selection
  • Troubleshooting

Unacceptable Questions:

  • Non-English language content
  • Non-question discussion
  • Non-electronics questions
  • Vendor-specific topics
  • Pure software questions
  • CircuitLab software support

Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.