Description: Procedures where the directory: ex_PWM
Opened, the following steps:
1. Project-> Open, open the project file directory.
2. Project-> Rebuild ALL, the compiler links
3. File-> Load Program
4. Debug-> Run
Motor rotation can be seen beginning. The routines in the frequency of PWM are 1KHZ, are two-way output of the PWM waveform with dead right. Users only need to change the parameters XPWM can change the motor speed and direction. The parameter settings are as follows:
XPWM = 2400 Maximum 2500
When xpwm = 0-900, anti-clockwise rotation, the smaller the value, the faster the speed
When xpwm = 1600-2500, clockwise rotation, the value the greater the speed the faster the
When xpwm = 900-1600, the electrical voltage is too low, basically not enough to be transferred.
To Search:
- [lab0407-SAMotor] - the programme for stepping motor
- [ASM] - Motor speed sensorless vector control to
File list (Check if you may need any files):
ex8_PWM
.......\CC_BUILD.LOG
.......\cc_build_Custom.log
.......\Custom.lkf
.......\Custom.lkv
.......\Define.asm
.......\Define.obj
.......\DSP.CMD
.......\EX.MAK
.......\EX.MAP
.......\EX.OBJ
.......\EX.OUT
.......\EX.paf
.......\EX.pjt
.......\F2407REGS.H
.......\GLOBAL.C
.......\GLOBAL.OBJ
.......\LF2407.GEL
.......\LF2407A.H
.......\Main.c
.......\Main.obj