Reverse engineering CCW PID instruction Micro800 Micro810 Micro820 Micro830 Micro850

Summary

The [PID] instruction in CCW for Micro8xx PIC uses the Dependent Gains form of a PID algorithm. However, the [PID] instruction does not work as advertised. Specifically, the tuning parameter members of the PID_GAINS object used by [PID] are not all consistent the with the canonical/conventional meanings of their names. If pidgains is a tag in CCW of data type PID_GAINS, then its members have the following meanings:
  • pidgains.Kc - Controller gain, units of dCV/dError
  • pidgains.Ti - Integral time, units of seconds (s)
  • pidgains.Td - Factor for calculating a first-order filter time constant, units of seconds-squared (s**2)
  • pidgains.FC - Derivative time, units of seconds (s)
    the product (pidgains.Td * pidgains.FC) is the CV output filter time constant
Note specifically that
  • the .FC member of PID_GAINS is not the filter constant that the CCW documentation claims it to be;
  • the .Td member of PID_GAINS is not the derivative time that the CCW documentation claims it to be.

Refer to the link in Post #1 for more detail.
 

Similar Topics

Hi all, I am a young apprentice who knows a very little amount of PLC and don't know how a system works properly yet. my task I have been given...
Replies
19
Views
5,377
1) perfectly legit. Company out of business and hardware dying and customers left hanging. 2) This is hard as heck w/o descriptions (ladder...
Replies
7
Views
3,199
I am reverse engineering an old PanelBuilder App (don’t ask!). On some programming screens, the function key tags are shown to me matching the...
Replies
3
Views
2,367
Do you know any simple ways to trace out logic and document it in an easily digestible way? I just spent about 3weeks tracing out logic in...
Replies
12
Views
5,824
I have a customer that wants to convert about 7 to 10 1398 Servos to 2098. They have both PDM and DDM versions. They would like to standardize...
Replies
1
Views
2,998
Back
Top Bottom