U S E R M A N U A L
10
Jan 26, 2015, AN709-00011-1v0-E
The relationship between each layer is shown as the diagram in Figure 4-3.
Figure 4-3: Servo motor FW Architecture
4.3
Files Description
The detailed descriptions for each file are shown as Table 4-3.
Table 4-3: File Description of Project
Folder
File
Description
s01_global
N/A
No files temporarily.
S02_driver
N/A
No files temporarily.
s03_module
coordinate_transfrom.c
FOC axis convert
filter.c
One order low pass filter
math.c
The math module including the function such as
SQRT,COS,SIN
User Layer
App Layer
Module Layer
Drive Layer
Global Layer
Coordinate transformation
SVPWM
PID Regulator
Math
Filter
Motor Start-up
Brake
Motor Speed Set
Speed Calculation
Voltage Protect
A/D Offset Protect
Over Current Protect
Lock Rotor Protect
Voltage and Current Limit
User interface
Main program entrance
Interrupt vectors
Initialization
Int. event
Current sample
Field-weaken
Encoder zero check
Dead-time compensation