Position Controller Tuning Guide: Difference between revisions

From Phidgets Support
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Tuning Video==
The [[Phidget Control Panel | Phidget Control Panel on Windows]] features a built-in tuning application for Position Controllers. This application makes it easy to experimentally determine the best control parameters for your system.
<center>{{#ev:youtube|IRSW9H2y4kw|rel=0}}</center>
==Motion Profiling==
==Motion Profiling==
Trapezoidal motion profiling combined with a proportional-integral-derivative (PID) controller is used in order to accurately track position. This allows for advanced control and improved repeatability of your system.
Trapezoidal motion profiling combined with a proportional-integral-derivative (PID) controller is used in order to accurately track position. This allows for advanced control and improved repeatability of your system.
Line 10: Line 16:


====Velocity Limiting====
====Velocity Limiting====
It is important to note that the velocity limit referenced above is a '''soft limit''' that will be exceeded if the error between the current and target position grows too large.  
It is important to note that the velocity limit referenced above is a '''soft limit''' that will be exceeded if the error between the current and expected/target position grows too large.
 
====DCC1020, DCC1120====
Newer controllers will more cautiously exceed the velocity limit, scaling back as the error grows larger. A Velocity Controller is also available on these devices if a hard velocity limit is required for your application.
 
==Tuning Video==
The [[Phidget Control Panel | Phidget Control Panel on Windows]] features a built-in tuning application  for Position Controllers. This application makes it easy to experimentally determine the best control parameters for your motor system.
 
 
<center>{{#ev:youtube|ZmvA3kMr0ZA|rel=0}}</center>


=====DCC1020, DCC1120=====
These controllers will cautiously exceed the velocity limit. As the limit is surpassed, additional power is exponentially reduced, ensuring more controlled motion even in cases of significant error.


Once tuning is complete, you can save the parameters to a file for later use with the Phidget Control Panel or set the values directly in your program's attachment handler.
If your application requires a hard velocity limit, a Velocity Controller is available on these devices.


===Resources===
===Resources===

Latest revision as of 22:11, 9 December 2024

Tuning Video

The Phidget Control Panel on Windows features a built-in tuning application for Position Controllers. This application makes it easy to experimentally determine the best control parameters for your system.


Motion Profiling

Trapezoidal motion profiling combined with a proportional-integral-derivative (PID) controller is used in order to accurately track position. This allows for advanced control and improved repeatability of your system.

How It Works

Trapezoidal motion profiling is named for the trapezoidal shape of the Velocity-Time graph (shown below in orange).

Motion profile position.png

Unlike traditional PID loops where a target is set and the controller approaches (often aggressively), Phidget position controllers will intelligently plot a series of target positions between the current and desired position. This is shown as the Expected Position in the graph above. The controller will follow the user-specified acceleration and velocity limit to plot these points. A PID loop is then employed to precisely follow this trajectory, ensuring smooth and controlled motion.

Velocity Limiting

It is important to note that the velocity limit referenced above is a soft limit that will be exceeded if the error between the current and expected/target position grows too large.

DCC1020, DCC1120

These controllers will cautiously exceed the velocity limit. As the limit is surpassed, additional power is exponentially reduced, ensuring more controlled motion even in cases of significant error.

If your application requires a hard velocity limit, a Velocity Controller is available on these devices.

Resources