Difference between revisions of "Signal path of motor drive"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
(Setpoint signal path)
Line 3: Line 3:
 
[[Setpoint]] signal path converts user setpoint to ''internal setpoint''.  
 
[[Setpoint]] signal path converts user setpoint to ''internal setpoint''.  
  
;Signal path consists following main parts
+
===Setpoint signal path===
 +
Main parts are:
 
*Input multiplier. Purpose of this is to increase resolution of input setpoint to allow more fine grained velocity & acceleration control in trajectory planner. By default [[MUL]] value is 50.
 
*Input multiplier. Purpose of this is to increase resolution of input setpoint to allow more fine grained velocity & acceleration control in trajectory planner. By default [[MUL]] value is 50.
 
*Setpoint smoothing filter. If enabled, applies low pass filter to signal reducing jitter and roughness of signal but also introduces about some delay. By default the filter has 100% attenuation at 250Hz.
 
*Setpoint smoothing filter. If enabled, applies low pass filter to signal reducing jitter and roughness of signal but also introduces about some delay. By default the filter has 100% attenuation at 250Hz.
Line 11: Line 12:
 
*Input divider. This divides setpoint signal by [[DIV]] to give desired output scale for ''internal setpoint''. Combination of multiplier and divider can be used change total scaling of setpoint signal.
 
*Input divider. This divides setpoint signal by [[DIV]] to give desired output scale for ''internal setpoint''. Combination of multiplier and divider can be used change total scaling of setpoint signal.
  
;Internal setpoint matches feedback signals in position and velocity modes. The scale of feedback signals are
+
===Internal setpoint===
 +
Internal setpoint equals the scale of feedback signals in position and velocity modes. The scale of feedback signals are:
 
*Position feedback: position sensor [[Quadrature|counter]] raw value
 
*Position feedback: position sensor [[Quadrature|counter]] raw value
 
*Velocity feedback: number of feedback device [[Quadrature|counts]] per one [[control cycle]]. Obtained by calculating the difference of position feedback values at every control cycle.
 
*Velocity feedback: number of feedback device [[Quadrature|counts]] per one [[control cycle]]. Obtained by calculating the difference of position feedback values at every control cycle.
 
*Torque: hardware specific scale, however '''Torque scaler''' knows the hardware scale and scales internal setpoint so that value of +/-16384 represents full torque scale (i.e. internal setpoint value 16384 outputs configured peak current [[MMC]] and 8192 outputs [[MMC]]/2)
 
*Torque: hardware specific scale, however '''Torque scaler''' knows the hardware scale and scales internal setpoint so that value of +/-16384 represents full torque scale (i.e. internal setpoint value 16384 outputs configured peak current [[MMC]] and 8192 outputs [[MMC]]/2)
 +
 +
 
[[File:Driveblockdiagram setpoint v1.png|900px]]
 
[[File:Driveblockdiagram setpoint v1.png|900px]]
  
 
==Controller==
 
==Controller==
 
The default controller type of GD drives is cascaded type where each controlled variable has it's own PI or P controller. In position mode such structure is called as PIV controller.
 
The default controller type of GD drives is cascaded type where each controlled variable has it's own PI or P controller. In position mode such structure is called as PIV controller.
 +
 +
 
[[File:Driveblockdiagram controller.png|800px]]
 
[[File:Driveblockdiagram controller.png|800px]]
  
 
[[Category:Argon user guide]]
 
[[Category:Argon user guide]]
 
[[Category:Development]]
 
[[Category:Development]]

Revision as of 12:50, 7 April 2014

In Granite Devices drives the torque, velocity and position limits and setpoints are defined as integer numbers. The vales are represented "hardware" scale which are described below.

Setpoint signal path

Setpoint signal path converts user setpoint to internal setpoint.

Setpoint signal path

Main parts are:

  • Input multiplier. Purpose of this is to increase resolution of input setpoint to allow more fine grained velocity & acceleration control in trajectory planner. By default MUL value is 50.
  • Setpoint smoothing filter. If enabled, applies low pass filter to signal reducing jitter and roughness of signal but also introduces about some delay. By default the filter has 100% attenuation at 250Hz.
  • Trajectory planner. This limits rate of change of setpoint signal based on CVL and CAL parameters. Output rate maximum rate of change:
    • Velocity changes max CAL nubmer of units per control cycle (control cycle is 400µs in most GD drives)
    • Velocity maximum value is limited to CVL
  • Input divider. This divides setpoint signal by DIV to give desired output scale for internal setpoint. Combination of multiplier and divider can be used change total scaling of setpoint signal.

Internal setpoint

Internal setpoint equals the scale of feedback signals in position and velocity modes. The scale of feedback signals are:

  • Position feedback: position sensor counter raw value
  • Velocity feedback: number of feedback device counts per one control cycle. Obtained by calculating the difference of position feedback values at every control cycle.
  • Torque: hardware specific scale, however Torque scaler knows the hardware scale and scales internal setpoint so that value of +/-16384 represents full torque scale (i.e. internal setpoint value 16384 outputs configured peak current MMC and 8192 outputs MMC/2)


Driveblockdiagram setpoint v1.png

Controller

The default controller type of GD drives is cascaded type where each controlled variable has it's own PI or P controller. In position mode such structure is called as PIV controller.


Driveblockdiagram controller.png