文件名称:ex8_PWM
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:23.31kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
程序所在目录:ex_PWM
打开,进行如下操作:
1. Project->Open ,打开该目录中的工程文件。
2. Project->Rebuild ALL,编译链接
3. File->Load Program
4. Debug->Run
可以看到电机开始转动。本例程中PWM的频率是1KHZ ,输出的是两路带死去的PWM波形对。用户只需更改参数XPWM即可改变电机的转速和方向。该参数设置如下:
XPWM=2400 最大值2500
When xpwm=0-900, 逆时针方向旋转,值越小,转速越快
When xpwm=1600-2500, 顺时针方向旋转,值越大,转速越快
When xpwm=900-1600,电机两端电压太低,基本上不足以起转。
-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.
打开,进行如下操作:
1. Project->Open ,打开该目录中的工程文件。
2. Project->Rebuild ALL,编译链接
3. File->Load Program
4. Debug->Run
可以看到电机开始转动。本例程中PWM的频率是1KHZ ,输出的是两路带死去的PWM波形对。用户只需更改参数XPWM即可改变电机的转速和方向。该参数设置如下:
XPWM=2400 最大值2500
When xpwm=0-900, 逆时针方向旋转,值越小,转速越快
When xpwm=1600-2500, 顺时针方向旋转,值越大,转速越快
When xpwm=900-1600,电机两端电压太低,基本上不足以起转。
-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.
相关搜索: 电机
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ex8_PWM/CC_BUILD.LOG
ex8_PWM/Custom.lkf
ex8_PWM/Custom.lkv
ex8_PWM/DSP.CMD
ex8_PWM/Define.asm
ex8_PWM/Define.obj
ex8_PWM/EX.MAK
ex8_PWM/EX.MAP
ex8_PWM/EX.OBJ
ex8_PWM/EX.OUT
ex8_PWM/EX.paf
ex8_PWM/EX.pjt
ex8_PWM/F2407REGS.H
ex8_PWM/GLOBAL.C
ex8_PWM/GLOBAL.OBJ
ex8_PWM/LF2407.GEL
ex8_PWM/LF2407A.H
ex8_PWM/Main.c
ex8_PWM/Main.obj
ex8_PWM/cc_build_Custom.log
ex8_PWM
ex8_PWM/Custom.lkf
ex8_PWM/Custom.lkv
ex8_PWM/DSP.CMD
ex8_PWM/Define.asm
ex8_PWM/Define.obj
ex8_PWM/EX.MAK
ex8_PWM/EX.MAP
ex8_PWM/EX.OBJ
ex8_PWM/EX.OUT
ex8_PWM/EX.paf
ex8_PWM/EX.pjt
ex8_PWM/F2407REGS.H
ex8_PWM/GLOBAL.C
ex8_PWM/GLOBAL.OBJ
ex8_PWM/LF2407.GEL
ex8_PWM/LF2407A.H
ex8_PWM/Main.c
ex8_PWM/Main.obj
ex8_PWM/cc_build_Custom.log
ex8_PWM
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.