mycnc:closed_loop_configuration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mycnc:closed_loop_configuration [2018/10/09 11:29] – skirillov | mycnc:closed_loop_configuration [2018/10/09 14:02] – skirillov | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== MyCNC closed loop configuration ===== | ===== MyCNC closed loop configuration ===== | ||
- | A proportional–integral–derivative controller (PID controller) is a control loop feedback mechanism widely used in industrial control systems and a variety of other applications requiring continuously modulated control. A PID controller continuously calculates an error value E(t) as the difference between | + | A proportional–integral–derivative controller (PID controller) is a control loop feedback mechanism widely used in industrial control systems and a variety of other applications requiring continuously modulated control. A PID controller continuously calculates an error value E(t) as the difference between |
Line 40: | Line 40: | ||
For Analogue closed loop system this ratio should be " | For Analogue closed loop system this ratio should be " | ||
- | * Adjust DAC offset ratio to get " | + | * Adjust DAC offset ratio to get " |
* Fill Encoder channel for each PID (Motor#). \\ {{mycnc: | * Fill Encoder channel for each PID (Motor#). \\ {{mycnc: | ||
* To test selected channel, check " | * To test selected channel, check " | ||
Line 48: | Line 48: | ||
* Turn ON PID all " | * Turn ON PID all " | ||
* Select the channel for a scope widget to control and tune PID controller ratios. \\ {{mycnc: | * Select the channel for a scope widget to control and tune PID controller ratios. \\ {{mycnc: | ||
- | * Check which Axis the PID controller attached to. | + | * Check which Axis the PID controller attached to (Y axis for the screenshot below). \\ {{mycnc: |
- | * Jog buttons can be used to move the axis and tune PID coefficients. | + | * Jog buttons can be used to move the axis and tune PID coefficients. |
- | * An analogue servo driver normally has a linear function of rotation speed depends on input voltage. A linear coefficient of this function depends on Servo driver and motor, gears, ball-screw. PID **K** value represent this coefficient. The value can be tuned manually. If rotate a motor shaft with speed more than 20 turn/sec, the controller calculates real Speed/ | + | * An analogue servo driver normally has a linear function of rotation speed depends on input voltage. A linear coefficient of this function depends on Servo driver and motor, gears, ball-screw. PID **K** value represent this coefficient. |
==== Servo ON handling ==== | ==== Servo ON handling ==== |
mycnc/closed_loop_configuration.txt · Last modified: 2019/11/05 08:54 by ivan