Renesas RA6T2 Application Note page 38

Vector control for permanent magnetic synchronous motor with encoder - ab incremental type encoder
Hide thumbs Also See for RA6T2:
Table of Contents

Advertisement

RA6T2
Vector control for permanent magnetic synchronous motor with encoder - AB incremental type encoder
Table 3-11 List of Functions Executed in 500[µs] Interrupt (2/2)
File name
librm_motor_speed.a
R01AN6208EJ0101 Rev.1.01
Oct 18, 2022
Function name
rm_motor_speed_first_order_lpf
Input : (motor_speed_lpf_t *) p_lpf / First order LPF structure
(float) f4_omega / Natural frequency
(float) f4_ctrl_period / Control period
Output : None
rm_motor_speed_fluxwkn_set_vamax
Input : (motor_speed_flux_weakening_t *) p_fluxwkn / The pointer to
flux weakening structure
(float) f4_va_max / maximum magnitude of voltage vector
Output :None
rm_motor_speed_fluxwkn_run
Input : (motor_speed_flux_weakening_t *) p_fluxwkn / The pointer to
flux weakening structure
(float) f4_speed_rad / The electrical speed of motor
(const float *) p_f4_idq / The pointer to the measured current vector
in format d/q
(float *) p_f4_idq_ref / The pointer to the reference current vector in
format d/q
Output :None
Process overview
First Order LPF
Sets
the
maximum
magnitude of voltage vector
Executes
the
flux-
weakening module
Page 38 of 71

Advertisement

Table of Contents
loading

Table of Contents