RA6T1
120-degree conducting control of permanent magnetic synchronous motor
using hall sensors
Summary
This application note describes the sample program for a permanent magnetic synchronous motor drive with
120- degree conducting method using hall sensors based on Renesas RA6T1 microcontroller. This
application note also describes how to use the motor control development support tool, 'Renesas Motor
Workbench'.
The targeted software for this application is only to be used as reference purposes only and Renesas
Electronics Corporation does not guarantee the operations. Please use this after carrying out a thorough
evaluation in a suitable environment.
Operation checking device
Operations of the sample programs have been checked by using the following device.
・ RA6T1 (R7FA6T1AD3CFP)
Contents
1.
Overview ................................................................................................................................. 3
1.1
Development environment ...................................................................................................................... 3
2.
System overview ..................................................................................................................... 4
2.1
Hardware configuration ........................................................................................................................... 4
2.2
Hardware specifications .......................................................................................................................... 5
2.2.1
User interface ........................................................................................................................................ 5
2.2.2
Peripheral functions ............................................................................................................................... 7
2.3
Software structure ................................................................................................................................. 13
2.3.1
Software file structure .......................................................................................................................... 13
2.3.2
Module configuration ........................................................................................................................... 14
2.4
Software specifications .......................................................................................................................... 15
2.5
Interrupt priority ..................................................................................................................................... 16
3.
Descriptions of the control software ....................................................................................... 17
3.1
Contents of control ................................................................................................................................ 17
3.1.1
Motor start / stop.................................................................................................................................. 17
3.1.2
A/D converter ....................................................................................................................................... 17
3.1.3
Speed control ...................................................................................................................................... 18
3.1.4
Voltage control by PWM ...................................................................................................................... 19
3.1.5
State transition..................................................................................................................................... 21
3.1.6
Start-up method ................................................................................................................................... 22
3.1.7
Sytem protection function .................................................................................................................... 23
3.1.8
AD triggers ........................................................................................................................................... 24
3.2
Function specifications of 120-degree conducting control software using hall sensors software ......... 25
3.3
Contents of control ................................................................................................................................ 36
R01AN6258EJ0100 Rev.1.00
Dec.17.2021
APPLICATION NOTE
Page 1 of 56
Need help?
Do you have a question about the RA6T1 and is the answer not in the manual?
Questions and answers