RX62T YROTATE-IT-RX62T Motor Control Kit
UM-YROTATE-IT-RX62T Rev.1.00
Page 47 of 51
Jan 15, 2014
21. List of variables used in the file name: “motorcontrol.c”
The file called “motorcontrol.c” includes the motor control algorithm routines. Please find below the description of
the variables used in this file.
Label(s)
Type
Description
Unit
ium_off, ivm_off,
iwm_off
float
A/D conversion offsets of measured u, v, w phase currents; the
value is around 2048, that corresponds to one half of the A/D
converter supply voltage (5Vdc) (12bit A/D).
vol_ref
float
A/D conversion result of the reading of the reference voltage
(4.25V); used for compensate the effects of the power supply
variations in the A/D conversions; the ideal value is 870 (10bit
A/D), if the A/D converter supply voltage is exactly 5V.
kadi, kadv
float
Current and voltage conversion constants; they are corrected
on the grounds of vol_ref, and they are used to convert the A/D
results in the used measurement units; multiplying the A/D
result by the conversion constant, the current (voltage) in
Ampere (Volt) is obtained (ex.: iu=kadi*(iuad-ium_off))
r_sta
float
Stator resistance
ohm
l_sync
float
Synchronous inductance
henry
c_poli
float
Number of polar couples
krpmocp,
ukrpmocp
float
Conversion constant between mechanical speed and electrical
speed, and its reciprocal (ukrpmocp=1/krpmocp).
(rad/s)/rpm,
rpm/(rad/s)
vstart
float
Startup voltage in single shunt operation; during startup, first a
voltage ramp at zero speed is performed, then a voltage and
speed ramp; vstart is the actual value.
volt
vs_off
float
Offset startup voltage in single shunt operation; vs_off is the
total starting value (total voltage at zero speed).
volt
vs_inc
float
It is the quantity added at every zero speed ramp step to obtain
vs_off.
volt
vs_del
float
Total voltage quantity added during startup in single shunt
operation; added to vs_off, it gives the voltage applied when
the voltage and speed ramp is finished.
volt
vs_dela
float
Voltage quantity added at every voltage and speed ramp step
during startup in single shunt operation.
volt
istart
float
Startup current in three shunts operation; during startup, first a
current ramp at zero speed is imposed, then a speed ramp with
constant current (istart).
ampere
is_inc
float
Startup current increment at every step.
ampere
Содержание YROTATE-IT-RX62T
Страница 13: ...RX62T YROTATE IT RX62T Motor Control Kit UM YROTATE IT RX62T Rev 1 00 Page 13 of 51 Jan 15 2014 ...
Страница 29: ...RX62T YROTATE IT RX62T Motor Control Kit UM YROTATE IT RX62T Rev 1 00 Page 29 of 51 Jan 15 2014 ...
Страница 52: ...Revision History Rev Date Description Page Summary 1 00 Jan 15 2014 First Edition ...