文件名称:PIC_motorbicycle
介绍说明--下载内容来自于网络,使用问题请自行百度
//电动车双闭环程序,采用双闭环方式控制电机,以得到最好的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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.