文件名称:PIC_motorbicycle
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [WORD]
- 上传时间:
- 2012-11-26
- 文件大小:
- 13kb
- 下载次数:
- 0次
- 提 供 者:
- kk***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
//电动车双闭环程序,采用双闭环方式控制电机,以得到最好的zh转速性能,并且可以
//限制电机的最大电流。本应用程序用到两个CCP部件,其中CCP1用于PWM输出,以控
//制电机电压;CCP2用于触发AD,定时器TMR2、TMR1,INT中断,RB口电平变化中断,
//看门狗以及6个通用I/O口
-//Double loop electric vehicle program, using double-loop control the motor speed zh to get the best performance, and can// limit the maximum motor current. This application uses two CCP components, which CCP1 PWM output is used to control// system of the motor voltage CCP2 used to trigger AD, the timer TMR2, TMR1, INT interrupt, RB port change interrupt// to see watchdog and the six general purpose I/O port
//限制电机的最大电流。本应用程序用到两个CCP部件,其中CCP1用于PWM输出,以控
//制电机电压;CCP2用于触发AD,定时器TMR2、TMR1,INT中断,RB口电平变化中断,
//看门狗以及6个通用I/O口
-//Double loop electric vehicle program, using double-loop control the motor speed zh to get the best performance, and can// limit the maximum motor current. This application uses two CCP components, which CCP1 PWM output is used to control// system of the motor voltage CCP2 used to trigger AD, the timer TMR2, TMR1, INT interrupt, RB port change interrupt// to see watchdog and the six general purpose I/O port
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PIC单片机C语言编程实例十一.doc