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
speed.
6
UNIT
DISTANCE:
Divider CCPS
0-7 This parameter is used in "UNIT DISTANCE" method of computing speed.
When computing speed using the UNIT DISTANCE method, the controller has
to precisely measure time as explained above. The way the controller's silicon
peripheral measures the time is by counting ticks of the CPU clock using a
16bits counter. The ticks arrive at the frequency of CPU which is 90 MHz
(double-check this for your controller). The frequency is then divided by a
prescaler circuit configured here in the following silicon-specific way:
PRESCALER = 2^CCPS
For example, if CCPS is 7, then PRESCALER is 2^7 = 128. This translates to
counter's frequency of 90 000 00 / 128 = 703125 Hz.
The reason the pre-scaler is needed is because the 16bit counter in silicon that
measures time might overflow if the CPU ticks are routed to it at the full CPU
frequency. Note that if the encoder's speed is too low, it takes the encoder longer
time to travel the UNIT DISTANCE, thus there is a risk that the counter might
overflow within that longer time. Thus the need for this pre-scaler parameter.
UINT16,
0x3011,
0x14,
rw
7
UNIT TIME sec This parameter is used in "UNIT TIME" method of computing speed. The
controller records a distance (measured in encoder counts) that the encoder
travels in a UNIT TIME period. By dividing the recorded distance by the UNIT
TIME, the controller arrives to an estimate of speed. This method of computing
speed gives reliable results at higher speeds. However, at lower speeds the
number of edges counted within the UNIT TIME could be too small thus
creating a quantization issue.
ATTENTION: UNIT TIME must be equal or less than 1/Max_speed, where
Max_speed is the maximum expected speed to be measured by the encoder,
expressed in revolutions per second.
FLOAT32,
0x3011,
0x12,
rw
8
speed selection
threshold
Hz The threshold tells when to dynamically switch from UNIT DISTANCE ("lower
speeds") to UNIT TIME ("higher speeds") method.
• If the speed is lower than the threshold, then the controller uses the
"UNIT DISTANCE" method.
• If the speed is higher than the threshold, then the controller uses the
"UNIT TIME" method.
FLOAT32,
0x3011,
0x15,
rw
9 incremental
encoder
0 or 1 • 0: an absolute encoder with an index signal ("I" or "Z" signal is present)
• 1: an incremental encoder (no index signal)
BOOL,
0x3011,
0x16,
rw
27 www.servosila.com