Sensorless vector control for permanent magnetic
synchronous motor - 1shunt current detection
2.3.2 Module configuration
Module configuration of the software is described below.
Application Layer (User Application)
Middle Layer (Motor Control Process)
Control Module
Device Layer
MCU Module
R01AN6840EJ0100 Rev.1.00
May 23, 2023
Main
mtr_main.c
Interface Module
rm_motor_sensorless
rm_motor_current
rm_motor_estimate
Set PWM duty
ADC
Output PWM Signal
H/W Layer (MCU / Inverter)
Figure 2-26 Module Configuration
For Renesas Flexible Motor Control Series
User Interface Module
r_mtr_ics.c
Set User Command to Buffer
Set Control Gain & Command
rm_motor_driver
rm motor speed
Get Voltage, Current & Angle/Speed
AGT
GPT
Get A/D Converter Data & Sensor Signal
POEG
Page 30 of 73