Feedbacks
The Servo Drive can be connected to a maximum of 4 feedback devices at the same time that might be used for commutation and/or velocity/position control purposes. These devices are connected in the P5 connector of the board with the following pin definitions:
Feedback port | P5 connector pins | Allowed feedbacks |
---|---|---|
8, 10, 12 | Digital Halls with open collector or push-pull outputs. | |
21, 23, 25, 27 | SSI absolute encoder, Single BISS-C, Dual BiSS-C in daisy chain topology (up to 2) | |
22, 24, 26, 28 | SSI absolute encoder, Single BISS-C | |
3, 5, 7, 9, 11, 13 | Quadrature incremental encoder |
Powering the feedbacks
A 5 V 400 mA output (+5V_FB) is provided to power the feedback sensors. This 5 V supply has undervoltage, overvoltage and overcurrent protections.
If it is not used, and the sensor is powered externally, always remember to connect the ground or reference voltage to the Servo Drive.
Digital Halls
The Hall sensors are Hall effect devices that are built into the motor to detect the position of the rotor magnetic field. Usually, motors include 3 Hall sensors, spaced 120º (electrical degrees) apart that are in phase with the stator position. Using these 3 signals, the drive is capable to detect the position, direction, and velocity of the rotor. The Halls effect sensors are a good way to detect the phasing of the motor and avoid "wake and shake" movements. In an application without feedback safety, the Servo Drive can use digital Hall sensors alone to drive the motor with trapezoidal commutation, but not with sinusoidal commutation due to the improper total resolution that the hall effect sensors have in comparison with other devices such as an incremental encoder.
Next figures show the typical waveforms of the digital Halls signals.
Velocity control with Halls
Due to the inherent low resolution of motor mounted Hall sensors, they are not recommended for velocity feedback in low speed applications.
Next figure illustrates how to connect the digital Halls to the Servo Drive and a simplified input schematic.
This interface accepts 0 ~ 5 V level signals. Inputs are pulled up to 3.3 V with 1 kΩ, so industry-standard open collector (preferred) and push-pull output Hall effect sensors can be connected. Next table summarizes digital Halls inputs main features:
Specification | Value |
---|---|
Type of inputs | Single ended with pull-up and low pass filter |
Number of inputs | 3 |
ESD capability | IEC 61000-4-2 (ESD) ±15 kV (air), ± 8 kV (contact) |
Maximum voltage range | -0.5 ~ 5.5 V |
1st order filter cutting frequency (-3dB) | 16 kHz |
Type of sensors | Open collector |
Pull-up resistor value | 1 kΩ |
Absolute Encoders
The Servo Drive absolute encoders can be used as position, velocity, and commutation feedback device. This sensor generates digital data that represent the encoder actual position. From the position information, speed and direction of motion is calculated. The position is not lost even if the encoder is powered down, which means that it is not necessary to move to a reference position as with incremental type encoders. The following table shows the absolute encoder inputs electrical specifications.
Specification | Value |
---|---|
Type of inputs | Differential / Single ended |
ESD capability | IEC 61000-4-2 (ESD) ±15 kV (air), ±12 kV (contact) |
Maximum operating voltage range | -0.5 ~ 5.5 V |
Operating frequency | 100 kHz to 10 MHz (user configurable) |
Differential input signal threshold voltage | ≤ ± 200 mV (DATA+ - DATA-) |
Receiver hysteresis | typ 150 mV (DATA+ - DATA-) |
Single ended input signal threshold voltage | VIL ≤ 1.3 V |
Termination | 220 Ω differential on data line |
Fail safe bias resistors | ENC_x+ (positive input) 1 kΩ to 3.3 V ENC_x- (negative input) 667 Ω to 2.2 V (equivalent) |
Absolute Encoder 1
Next Figure shows how to connect a single SSI or BISS-C absolute encoder to the Servo Drive.
For single-ended devices, connect the positive pins of CLK+ and DATA+ and leave the other pins unconnected.
For dual daisy-chain BISS-C use the following connection. Dual BISS-C can be used for redundancy or to read the position of the rotor before and after a gearbox. Further details on this interface can be found here Primary Absolute Slave 2 (daisy chain).
In the case that the encoder has a current consumption higher than 400 mA (maximum current output of the +5V_FB pin of the Servo Drive) or that the encoder has an input supply > 5 V, an external power supply will need to be used in order to power the encoder and in this case some wiring changes need to be taken into account (this applies to both the differential and single-ended encoders, both incremental and absolute):
Data and clock connections remain the same between the encoder and the drive
+5V_FB pin of the drive is not connected
The input voltage pin of the encoder is connected to the input voltage of the additional power supply
The GND of the additional power supply is connected to both GND pins of the encoder and the drive in order to have a proper reference for the encoder signals
Absolute Encoder 2
The next figure shows how to connect an absolute encoder to the secondary interface of the Servo Drive.
Incremental Encoder
The Servo Drive can use single-ended or differential digital incremental encoder inputs (also known as quadrature incremental encoders) for velocity and/or position control, as well as for commutation purposes. The encoder provides incremental position feedback that can be extrapolated into precise velocity or position information. Using high-resolution encoders allows the Servo Drive to perform sinusoidal commutation. Channel A and channel B signals should have a phase shift of 90 degrees, indicating the rotation direction. The drive has an optional index signal input. Index signal (Z) is a single pulse per revolution signal that can be used to know absolute positions and for homing operations. The following table illustrates the digital encoder inputs main features.
Specification | Value |
---|---|
Type of inputs | Non-isolated |
Number of inputs | 3 (A, B and Index) |
ESD capability | IEC 61000-4-2 (ESD) ± 12 kV (air), ± 6 kV (contact) |
Maximum voltage range | -0.5 ~ 5.5 V |
Maximum recommended working frequency | 10 MHz (differential) |
Maximum readable pulse frequency | 50 MHz |
Differential input signal threshold voltage | VIL ≤ -200 mV VIH ≥ -50 mV |
Receiver hysteresis | typ 25 mV |
Single ended input signal threshold voltage | VIL ≤ 1.3 V |
Termination resistor | 220 Ω (between ENC_x+ and ENC_x-). |
Fail safe bias resistors | ENC_x+ (positive input) 1 kΩ to 3.3 V ENC_x- (negative input) 667 Ω to 2.2 V (equivalent) |
The wiring of a single-ended encoder to the Servo Drive is shown next:
Sometimes encoders require different supply voltages than 5 V or need more than the maximum current provided by the drive. In those cases, the connection from the external power source should be as shown next:
Feedback wiring recommendations
Signal distortion and electrical noise is a common problem in feedback signals. These problems can result in a bad position or velocity calculation for both digital feedbacks (gain or loss of counts) and analog feedbacks (wrong voltage levels). To minimize these problems some wiring recommendations are shown:
Use differential signals whenever is possible. That is, connect both positive and negative signals of differential feedback sensors. Use a twisted pair for each differential group of signals and another twisted pair for the +5 V supply and GND.
Twisted-pairs help in elimination of noise due to electromagnetic fields by twisting the two signal leads at regular intervals. Any induced disturbance in the wire will have the same magnitude and result in error cancellation.
Connect the Servo Drive and encoder GND signals even if the encoder supply is not provided by the drive.
The connection between the Servo Drive and the motor metallic housing is essential to provide a low impedance path and minimize noise coupling to the feedback. For further information, seeProtective Earth wiring.
For better noise immunity, use shielded cables. The best shielding strategy is highly dependant on the specific application. For robotics, connecting the shield to GND in the drive side will usually be an adequate solution.
It is essential to keep feedback wiring as far as possible from motor power, AC power and all other power wirings.