虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

您现在的位置是:虫虫下载站 > 资源下载 > DSP编程 > This programme is to control DC motor in a certain speed using PWM. The target speed is "r", it is

This programme is to control DC motor in a certain speed using PWM. The target speed is "r", it is

  • 资源大小:3 K
  • 上传时间: 2014-11-22
  • 上传用户:car_bike2000000
  • 资源积分:2 下载积分
  • 标      签: speed programme is control

资 源 简 介

This programme is to control DC motor in a certain speed using PWM. The target speed is "r", it is the speed in 1s. The sample rate is 0.1s, so the actual speed target is "rc"=r/10. The "r" and "rc" are integer, and the range of "r" is from 50 to 100. Keep rc=r/10!!! The array "speed1" and "speed2" are the control result, in 0.1s and 1s. The length of "speed1" is 2400, and "speed2" is 240. The "pw" and "nw" are the parameters of PWM. The test will last 4 min.

相 关 资 源