mechatronic-design

Find. Learn. Apply.

"Knowing is not enough; we must apply."

- Leonardo da Vinci

Tuning servomotors with PID loops

This flowchart describes an autotuning procedure used in conjunction with PID controllers and uses three phases.  The first derives a value for <em>D</em> by applying a method like zone-based tuning.  The second phase derives values for <em>P</em> and <em>I</em> using the relay-test approach.  And the third lets users apply system information to hand-optimize results.

This flowchart describes an autotuning procedure used in conjunction with PID controllers and uses three phases. The first derives a value for D by applying a method like zone-based tuning. The second phase derives values for P and I using the relay-test approach. And the third lets users apply system information to hand-optimize results.

Many modern servo filters provide some facility for frequency dependant filtering. That is, filtering that affects only certain domains of the overall operational frequency spectrum. This is useful for compensating for mechanical systems that have a resonance at a certain frequency or speed, or to reduce high-frequency noise.

To calculate a biquad filter's output, one must combine user-programmed coefficients A1, A2, B0, B1, B2, and K with current and previous input and output values.

To calculate a biquad filter's output, one must combine user-programmed coefficients A1, A2, B0, B1, B2, and K with current and previous input and output values.

The most common implementation of such a filter is known as a biquad. Biquads are common in digital control systems because they are flexible and easy to implement. They can be programmed to operate as notch, bandpass, band reject, or high or low-pass filters. Combining user-programmed coefficients A1, A2, B0, B1, B2, and K with current and previous inputs and outputs generates a biquad's output.

Selecting filter coefficients that meet desired characteristics is not exactly straightforward. For help, designers can visit informative websites such as www.octave.org, which provide tools to calculate these values. A biquad filter is represented as:

Yn = K(B0Xn + B1Xn-1 + B2Xn-2 + A1Yn-1 + A2Yn-2)

where: Yn is the filter's output at time n
Xn is the filter's input at time n
K is a positive scalar
B0, B1, B2, A0, A1 are programmable biquad coefficients.

Want to use this article? Click here for options!
© 2012 Penton Media Inc.



Videos and Webcasts


The Latest Videos from EngineeringTV.com


Email Newsletter Signup

Stay on top of the intertwined world of mechanical and electronic systems with the new Mechatronics Design newsletter from the editors of Machine Design, Electronic Design and Motion System Design. Each issue, delivered right to your desktop, covers into the latest news and technical articles on topics such as servocontrols and control theory, mechanical drives, information technology, and electronics.

>Click here to Sign Up!
Click here to view our recent eNewsletters

Brought to You By

Machine Design MSD Electronic Design

Back to Top