期刊文献+

基于单片机的酒驾检测系统设计 被引量:10

Design of Drunk Driving Detection System Based on SCM
下载PDF
导出
摘要 为增加酒精传感器测量点数,同时监测传感器是否损坏,基于UCOS操作系统和STM32F4单片机,设计实现了多通道实时酒精测量与数据存储系统。传感序列共可连接10个MQ-3酒精传感器,并为每个传感器预留了DS18B20温度检测接口,实时监测传感器温度变化。传感序列任务设置相同优先级为10,采用时间片轮转调度实现序列任务间的切换。配置LCD触摸屏实现人机交互,基于STemWin设计制作了系统图形化界面,设置启动与停止按钮实现系统的启停,定义任务标志寄存器TASK_FLAG记录序列任务的运行状态。配置SD卡与FATFS文件系统实时存储酒精与温度数据,预留串口总线可与车载上位机进行通讯,提高系统扩展性。通过开发板试验可知,系统功能良好、运行稳定,可应用于多种酒精检测场合。 In order to increase the number of alcohol sensor measurement points and monitor the sensor damage, based on UCOS operating system and STM32F4 microcontroller,multi-channel real-time alcohol measurement and data storage system is designed.A total of 10 MQ- 3 alcohol sensors can be connected to the sensing sequence, and the DS18B20 temperature detection interface is reserved for each sensor to monitor the sensor temperature change in real time.The sensing sequence task has the same priority level of 10,and uses time slice rotation scheduling to realize switching between sequence tasks.The LCD touch screen is configured to realize human- computer interaction.The system graphical interface is designed based on STemWin.The start and stop buttons are set to realize the start and stop of the system,and the running status of the task flag register TASK_FLAG record sequence task is defined.The SD card and the FATFS file system are configured to store alcohol and temperature data in real time,and the serial port bus can be reserved for communication with the vehicle host computer to improve system scalability.Through the development board test,the function of the system is stable and can be applied to a variety of alcohol detection occasions.
作者 李明 熊奥运 王成鹏 LI Ming;XIONG Ao-yun;WANG Cheng-peng(The Department of Experiment and Practical Training Management,Lu’an 237012,China;Faculty ofElectrical and Opto-Electronic Engineering West Anhui University,Lu’an 237012,China)
出处 《江苏理工学院学报》 2019年第2期22-32,共11页 Journal of Jiangsu University of Technology
基金 皖西学院校级青年项目“医用镍钛记忆合金的电解抛光机理与抛光性能研究”(WXZR201916) 皖西学院2018国家级大学生创新创业训练计划项目“防酒驾智能安全控制系统”(201810376014)
关键词 UCOS操作系统 STM32单片机 温度传感器 STemWin FATFS UCOS operating system STM32 singlechip temperature sensor STemWin FATFS
  • 相关文献

参考文献13

二级参考文献81

共引文献109

同被引文献63

引证文献10

二级引证文献21

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部