Renesas RA6T2 Application Note page 45

Sensorless vector control for permanent magnetic synchronous motor - 1shunt current detection
Hide thumbs Also See for RA6T2:
Table of Contents

Advertisement

Sensorless vector control for permanent magnetic
synchronous motor - 1shunt current detection
Table 3-9 List of Functions Executed in Current Control Period Interrupt (3/4)
File name
rm_motor_current.c
R01AN6840EJ0100 Rev.1.00
May 23, 2023
Function name
motor_current_angle_cyclic
Input : (motor_current_instance_t *) p_instance / The pointer to current
control module control instance
Output :None
RM_MOTOR_CURRENT_SpeedPhaseSet
Input : (motor_current_ctrl_t * const) p_ctrl / Pointer to control structure
(float const) speed / Rotational speed
(float const) phase / Rotor phase
Output : fsp_err_t / Execution result
RM_MOTOR_CURRENT_CurrentReferenceSet
Input : (motor_current_ctrl_t * const) p_ctrl / Pointer to control structure
(float const) id_reference / D-axis current Reference
(float const) iq_reference / Q-axis current Reference
Output : fsp_err_t / Execution result
RM_MOTOR_CURRENT_PhaseVoltageGet
Input : (motor_current_ctrl_t * const) p_ctrl / Pointer to control structure
(motor_current_get_voltage_t * const) p_voltage / Pointer to get
Voltages
Output : fsp_err_t / Execution result
motor_current_pi_calculation
Input : (motor_current_instance_ctrl_t *) p_ctrl / The pointer to the
FOC current control structure
Output :None
motor_current_pi_control
Input : (motor_current_pi_params_t *) pi_ctrl / The pointer to the PI
control structure
Output : float / PI control output value
motor_current_limit_abs
Input : (float) f4_value / Target value
(float) f4_limit_value / Limit
Output : float / Limited value
motor_current_decoupling
Input : (motor_current_instance_ctrl_t *) p_ctrl / The pointer to the
FOC current control instance
(float) f_speed_rad / The electrical speed
(const motor_current_motor_parameter_t *) p_mtr / The pointer to the
motor parameter data structure
Output :None
motor_current_voltage_limit
Input : (motor_current_instance_ctrl_t *) p_ctrl / The pointer to the
FOC current control structure
Output :None
For Renesas Flexible Motor Control Series
Process overview
Angle/Speed Process in
Cyclic Process of
Current Control
Set Current Speed &
rotor phase Data.
Set Current Reference
Data
Gets the set phase
voltage.
Calculates the output
voltage vector from
current vector
command and actual
current vector
PI control
Limit with absolute
value
Decoupling control
Limit voltage vector
Page 45 of 73

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ra6t3Ra4t1

Table of Contents