. |
PID with Gain Table Mechaware API Documentation > Filter
OverviewOverviewThis block computes a servo algorithm with Proportional, Integral, and Derivative (PID) filter transformation and Feed Forwards. The integration sum is limited (MovingImax and RestImax) and the derivative may be filtered (Ksm). The block supports up to five different values for each parameter. The parameter values are loaded as text-based parameter files. At run-time, the block parameters can be simultaneously changed at any time by updating the Gain Index input to the PID_GT block. Example The following example demonstrates the PID with Gain Table block usage in a simple model. The application can write into the Memory User Buffer location to change the Gain Index.
The coefficients for this block are as follows:
Matlab/Simulink
C++ APIPID_GTBlockDeclaration Public Method
Description This block represents the standard PID algorithm as used on the ZMP-SynqNet controller including the Gain Tables and Feed Forward parameters. The only exception is the addition of Ksm value for smoothing. Each Parameter must have corresponding .txt file containing structure with five (5) Coefficient values. Individual parameters can be modified using the API functions below.
Methods Remarks The PID with Reset block is an alternate PID block without gain tables or feed forward terms. |
| | Copyright © 2001-2012 Motion Engineering |