> Like:
>  pid.N.error float out
>               The difference between command and feedback.
>
> This, on my G0704 seems to be a constant zero at any gain setting

This is the goal of all controllers - to drive this number to zero.
If it is actually zero then the controller is doing its job

The best way to understand PID is to forget about all the LunuxCNC
related implementation.   The PID algorithm was invented back in 1911
before there were computers   The goal was to build an autopilot for a
ship.

You can understand the algorithm without need to know anything about
computers or software.   After all the guy who invented it had never
seen an electronic computers.

The basic theory is pretty simple it is best to study it and only
then, look at how it is implemented in LinuxCNC

Ok, it is this error that drives the entire algorithm. It takes
corrective action based n the size of the error.   Ideally the error
is zero and we are right were we want to be.


-- 

Chris Albertson
Redondo Beach, California

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to