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.
标签: speed programme is control
上传时间: 2014-11-22
上传用户:jyycc
包含了四位计数器等基本数字模块的的verilog HDL程序代码,该功能实现,可以直接利用DC进行综合,得到硬件电路,亦能够转换成VHDL语言进行综合
上传时间: 2013-12-19
上传用户:hopy
超低速的光纤一体发接收发送器,同于以前的光纤一体化接头都只适用于2M以上的通讯,如需将232等低速信号用光纤传输出,需要加复杂的调制解调电路,网动光电新生产的这款光纤头主要针对低速信号,可以传送DC-500KPS的信号,极大地简化了硬件设计.
上传时间: 2016-08-11
上传用户:qwe1234
s5,s7用link与软PLC通信的例程,很难得。
上传时间: 2013-12-27
上传用户:dongbaobao
s5,s7用link与软PLC通信的例程,很难得
上传时间: 2013-12-18
上传用户:iswlkje
s5,s7用link与软PLC通信的例程,很难得
上传时间: 2013-12-26
上传用户:wxhwjf
汇编用的MASM LINK DEBUG
上传时间: 2016-08-15
上传用户:LouieWu
这时一个计算数独游戏的console程序。使用搜索算法剪枝中最为强大的dance link(可参考knuth论文),并用STL-set优美实现。
上传时间: 2016-08-23
上传用户:ghostparker
FPGA-based link layer chip S19202 configuration
标签: configuration FPGA-based S19202 layer
上传时间: 2013-12-27
上传用户:z1191176801
mentor wg 2004 dc-dv介绍了从库,原理图到PCB板的详细过程,这个是个教程,以后会加入自己所做的库,共大家学习下载
上传时间: 2014-05-28
上传用户:sssl