摘要
随着无线电遥控技术的迅猛发展,日常生活已经越来越离不开无线电遥控,如遥控监视、报警、航模等。在实际应用时,航模遥控器将操作者的指令以脉位调制信号的形式发出,而后解析成对应通道的脉宽调制信号来实现舵机的控制,从而完成航模基本功能控制。因此,脉宽调制信号中高电平的幅度和占空比的测量精度直接影响了航模的控制精度。文章通过研究给出了Arduino内置pulseIn()函数的测试方法,并借助示波器得到了各通道脉宽调制信号实测结果,通过算法测量与实测结果对比,验证了pulseIn()函数测试算法,对后续应用有一定的指导意义。
With the rapid development of radio remote control technology, daily life has become more and more inseparable from radio remote control, such as: remote monitoring, alarm, model, and so on. In practice, the model remote controller sends out the operator’s instruction in the form of pulse-position modulation signal, and then analyzes the pulse-position modulation signal of the corresponding channel to realize the control of the steering gear and complete the basic function control of the model. therefore, the measurement accuracy of the amplitude and duty cycle of the high level in the pulse-width modulation signal directly affects the control accuracy of the navigation mode. The test method of Arduino built-in pulseIn() function is given. The measured results of pulse-width modulationtion signal are compared with the measured results, and the pulseIn() function test algorithm is verified, which has certain guiding significance for the subsequent application.
作者
景蕾
Jing Lei(Xianyang Vocational Technical College,Xianyang 712000,China)
出处
《无线互联科技》
2019年第20期123-124,共2页
Wireless Internet Technology
基金
陕西省教育厅2019年度科学研究计划项目立项课题
项目编号:19JK0935