Servosila-Device-Reference-0xA020192
Table Of Contents
- Servosila Device Reference
- Configuration Parameters
- Configuration - Datasheet
- Configuration - Control Laws
- Configuration - Features
- Configuration - Brake
- Configuration - Work Zone
- Configuration - Fault Management
- Configuration - Peripheral: GPIO
- Configuration - Peripheral: Hall Sensors
- Configuration - Peripheral: Quadrature Encoder
- Configuration - Peripheral: SSI/BISS-C Encoder
- Configuration - Peripheral: SPI Encoder
- Configuration - Peripheral: PWM Encoder
- Configuration - Peripheral: Gate Driver
- Configuration - Networking
- Configuration - Product Activation
- Telemetry Parameters
- Telemetry - System Status
- Telemetry - Field Oriented Control (FOC)
- Telemetry - Direct Drive Control
- Telemetry - Sensorless Observer
- Telemetry - Hall Sensors Observer
- Telemetry - Peripheral: ADC
- Telemetry - Peripheral: Hall Sensors
- Telemetry - Peripheral: Quadrature Encoder
- Telemetry - Peripheral: SSI/BISS-C Encoder
- Telemetry - Peripheral: SPI Encoder
- Telemetry - Peripheral: PWM Encoder
- Telemetry - Peripheral: GPIO
- Telemetry - Peripheral: Inverter (PWM)
- Telemetry - Peripheral: Gate Driver
- Telemetry - Networking
- Telemetry - Device Information
- Commands
- Command - Electronic Speed Control (ESC), Hz
- Command - Electronic Speed Control (ESC), RPM
- Command - Servo
- Command - Servo Stepper
- Command - Current Control / Field Oriented Control (FOC)
- Command - Electronic Torque Control (ETC)
- Command - Direct Field Control: Rotation
- Command - Direct Field Control: Electrical Position
- Command - Kickstart
- Command - Reset
- Command - Reset Work Zone
- Command - Brake
- Command - Stop
- Command - Off
- Command - GPIO: PWM output
- Command - Testing: Field Oriented Control (FOC)
- Command - Testing: Electronic Speed Control (ESC)
- Command - Testing: Servo Control
- Command - Brushed: Open Loop Control (1-2 motors)
- Command - Autoconfiguration: Brushless Motor
- Command - Autoconfiguration: Brushed Motor
- Command - GPIO: Generic Output
- Telemetry Mappings (TPDO)
- Configuration Parameters
inverted taken from the encoder's datasheet. 0x3014,
0x2F,
rw
Configuration - Peripheral: PWM Encoder
This section needs to be configured only if either "Motor Encoder" or "Servo Encoder" parameter in the "Datasheet"
section is set to "PWM Encoder". Otherwise leave this section unchanged.
Absolute encoders with PWM output deliver position information to the controller by increasing or decreasing duty
cycle of continuously sent PWM pulses. The duty cycle changes in a linear proportion to the measured position. The
pulses are sent at a constant frequency, but the pulses' duty cycle changes along with absolute position measured by the
encoder. The controller on its end measures the duty cycle of received pulses and knowing the resolution of the
encoder, uses a mathematical proportion to extract the absolute position readings.
# Parameter Units Description CANopen
1
counts per
revolution
counts The parameter defines a maximum resolution of the encoder. This parameter
is to be taken from the encoder's datasheet.
UINT32,
0x3012,
0x02,
rw
2
encoder bias vs.
electrical position
counts This parameter needs to be set only if the encoder is used for motor control
(a "Motor Encoder"). Otherwise keep this parameter as 0.
This parameter specifies a zero offset of the encoder's mechanical
installation vs. an electrical position defined by an order in which the
motor's phase lines are connected to the controller.
The bias can be experimentally determined as the following:
• Positively energize phase "A".
• Negatively energize both phases "B" and "C".
• Let the motor's rotor settle at a position.
• The encoder's reading at that position is the bias.
The procedure needs to be performed after correcting for a possible
inversion of mechanical installation of the encoder (see "inverted
installation" parameter).
UINT32,
0x3012,
0x03,
rw
3
inverted
installation
0 or 1 The direction of the motor's rotation should match the direction of the
encoder's rotation. If that's not the case due to a way the encoder is
mechanically installed, this parameter helps correct the mismatch.
BOOL,
0x3012,
0x04,
rw
4
pulse period sec or
clocks
This parameter specifies the period of the PWM pulses sent by the encoder
to the controller. The period should be taken from the encoder's datasheet.
FLOAT32,
0x3012,
0x10,
rw
5 max pulse width
(angle=360 deg)
sec or
clocks
This parameter specifies the duty cycle that corresponds to MAXIMUM
position reported by the encoder. This parameter should be taken from the
FLOAT32,
0x3012,
36 www.servosila.com