Torque feedforward control
The torque feedforward control is activated if the scPar.lrTrqCtrlGain parameter > 0 and the xTrqCtrlActive output is set to TRUE. The scPar.lrTrqCtrlGain parameter is the multiplicative gain factor of the feedforward control value.
The feedforward control value is calculated in the axis by multiplying the inertia with the acceleration / deceleration of the sealing roller.
The inertia of the sealing roller is defined via the scPar.lrMInertia parameter in kg/cm².
The feedforward control value is provided via the lrSetMotorPreCtrlTrqOut output.
The acceleration / deceleration of the sealing roller is calculated from the cam information. The temporal difference with which the acceleration / deceleration is calculated is specified in seconds with the scPar.lrTrqCtrlRateTime parameter.
If the scPar.lrTrqCtrlRateTime parameter is set to 0, the current setpoint values of the acceleration / deceleration of the sealing roller are used.
The real time calculation of the feedforward control value allows flexible changes to the parameters for the torque feedforward control during the cutting process.
All changes become effective immediately. This means that the feedforward control values can be adjusted and optimised during the cutting process.
Outputs relevant for the function
-
lrSetMotorPreCtrlTrqOut
Parameters relevant for the function
-
scPar.lrTrqCtrlGain , initial value: 0
-
scPar.lrTrqCtrlRateTime , initial value: 0
-
scPar.lrMInertia , initial value: 0 [kg/cm²]