User Manual

Table Of Contents
Closed Loop Count Position Mode
156 Advanced Digital Motor Controller User Manual V2.0 July 8, 2019
Sensor Types and Mounting
In position mode, best results are achieved with encoders directly mounted on the motor
shaft. Encoders can be:
Quadrature encoders
Hall Sensors built-in brushless motors
Other rotor sensors built-in brushless motors
It is not advised to mount encoders at the output of a geared motor as the gear box often
introduces backlash. If the encoder must be mounted at the output, then it must typically
have a higher count to compensate the lower speed rotation at that location.
Quadrature encoders typically provide the highest resolution since they can be ordered
with a line resolution of several hundred or thousands of counts per revolution. Hall
encoders built in brushless motors give a relatively low, but often adequate count of 6*
NumberOfPoles per mechanical resolution. SSI digital sensors give a pole resolution equal
to their SSI sensor resolution. Other brushless rotor sensors, such as sin/cos or resolver
sensors will give up to 512 counts per pole and can therefore be used instead of encoders.
Encoder Home reference
Beware that encoders do not give an absolute position information. It is therefore neces-
sary to perform a search of the zero reference position at least once after every power up.
This is typically achieved by moving the motor up to a limit switch and loading the counter
with a fixed value at that location. A home search sequence can easily be implemented
using a MicroBasic script. The search and counter loading must be done while the motor
is operated in an open loop.
SSI Sensor Home reference
When SSI sensors are used as relative encoders, it is as well necessary to perform a search
of the zero reference position, as stated above.. When SSI sensors are used as absolute en-
coders (Absolute Feedback), Home reference is used as an offset to the SSI Counter.
Important Warning
Changing the counter with value while the motor is operated in a closed loop can cause
violent and dangerous jumps. Always revert to open loop to change the counter value.
Preparing and Switching to Closed Loop
To enter this mode you will first need to configure the encoder so that it is used as feed-
back for motor1, and feedback for motor2 on the other encoder in a dual motor system.
On brushless motors, selecting Other” in Closed Loop Feedback Sensor, the encoder or
the SSI sensor, if either present and properly configured, will be used as feedback. Select-
ing “Internal Sensor”, Hall, sin/cos or resolver sensor, depending on which is configured,
will be used as feedback.
Use the PC Utility to set the default acceleration, deceleration and position mode velocity
in the motor menu. These values can then be changed on the fly if needed.
While in Open Loop, enable the Speed channel in the Roborun Chart Recorder. Move the
slider in the positive direction and verify that the measured speed polarity is also positive.