This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430 PID CONTROLLER

Other Parts Discussed in Thread: MSP430G2553

We have msp430 launch pad and program for pid controller, We didn't know what the output is? and how to use it to control the speed?

  • Hi Parthasarathy!

    I'm very sorry, but there is almost no information in your request. Don't know which launchpad. What is your input? Is there a given PID software or do you want to write it? What kind of output do you expect to control which device/application? And which speed? A motor?

    You have to provide much more information, otherwise helping you will be impossible.

    Dennis
  • Dennis, I have a detective story book written in a language I don't understand. Can you tell me on which page I can find the name of the murderer?
  • Indeed - it is 42!
  • Indeed 42 is ultimate answer if someone asks for _any_ number :D

    If you don't know how to use PID, then you shall learn about PID. As simple as that.

    There's lot of books about process control systems, wikipedia en.wikipedia.org/.../PID_controller and many articles, just one of them I usually suggest to start with: www.embedded.com/.../PID-without-a-PhD
  • The problem is that 42 was the answer, but it obviously wasn't correct. So apparently something was missing.
    Here it is too. And a big something.

    Learning about PID is one thing. However, if understanding PID is the problem, this is the wrong forum. This is no introduction class to control theory.
    The MSP does not have a hardware PID controller where one could ask how to use it.
    The MSP has hardware to interface with external signals, and a CPU to do calculations. If one of these calculations is an PID algorithm, fine. But it could be something else and this is the wrong forum to askt for implementing an PID algorithm.
    It is the place to ask about how to get an input value you might need for a PID algorithm, or how to forward the output value of a PID algorithm to an external hardware. While giving information of what this external hardware will be.
  • Jens-Michael Gross said:
    Learning about PID is one thing. However, if understanding PID is the problem, this is the wrong forum.

    Well yes and no. After all he mentioned msp430 :D I have no problem to give initial push in right direction. Kinda discount for novices

  • Ilmars said:
    Well yes and no. After all he mentioned msp430 :D I have no problem to give initial push in right direction. Kinda discount for novices

     Uh.. Hi Illmars I am a novice, I wrote my PID loop interrupt based to control a DC motor using PWM @22KHz and loop @10Khz, please can you help me tune it on tracking the speed of another process? Processor is msp430G2553, tracking come from rs485.

     I just need some hint how to set gain and ID of  position, speed acceleration and jerk to avoid too sharp stop...

     opps I forgot about current for torque too ;)

     Do you wish a youtube movie  of how it work now?

  • This seems to be one of the threads where the opener never comes back after not getting the correct answer immediately :-\

    PARTHASARATHY, are you still there? Problem solved?
  • Roberto Romano said:
    please can you help me tune it on tracking the speed of another process?

    You shall familiarize with PID more, especially about tuning. Good place to start

    I don't know about TI motor control or PID appnotes, but one I always suggest to begin with: Atml appnote AVR221

  • The AppNote Ilmars recommended is really good! I once read it, too.
  • Dennis Eichmann said:
    The AppNote Ilmars recommended is really good! I once read it, too.

     Yes I read too and I like them, I got some idea on how to teach to new generation control theory.

     If you like control get an eye also to this in simple form or do search about Kalman filter too.

    bilgin.esme.org/.../KalmanFilterforDummies.aspx

     About motor control I was joking, it is tunable from panel and it work perfectly, it separately measure current from acceleration and braking bridge leg to compute all 4 derivative loop control plus torque both measuring and limiting. It is controlled in an asymmetric loop, acceleration is smooth but not decelerating profile where a sharp stop is imposed limiting vibration of transport too.

  • Roberto Romano said:
     About motor control I was joking

    Bad joke then

**Attention** This is a public forum