The utility model belongs to the technical field of automatic measurement, in particular to a wheel speed measuring device based on a AVR single chip microcomputer. The utility model comprises a power supply module, a AVR single chip microcomputer, a switch type Holzer sensor, an over range alarm module and an upper computer communication module. AVR microcontroller as the measurement system of data processing and control core; the output of the switch Holzer sensor is a single pulse, directly connected to the AVR microcontroller, using AVR MCU input function calculation of two adjacent pulse time difference between, and combined with the diameter of the wheel, you can through a simple operation to calculate the angular velocity and line the speed of wheels; the results can be uploaded to the LABVIEW PC terminal display, at the same time the host computer can send control commands to the AVR microcontroller, such as parameter setting, switch control; when the measured result exceeds the threshold value when the driving sound light alarm. The utility model can be used for measuring wheel speed conveniently, and is suitable for wheels of various diameters; the utility model has the alarming function, is portable and economical and practical.
【技术实现步骤摘要】
基于AVR单片机的车轮测速装置
本技术属于自动测量
,特别涉及一种基于AVR单片机的车轮测速装置。
技术介绍
在日常生活和一些生产工艺流程中,通常需要获得诸如车轮等旋转体的角速度或者线速度,而开关型霍尔传感器的特点很适合于这些物理量的测量。因此,为了方便、经济地测量车轮的角速度或者线速度,本技术以AVR单片机为控制核心,结合霍尔传感器设计了一种简单、快捷的车轮测速装置。这套装置配以简洁友好的人机交互界面,能够非常方便地测量出车轮的速度。
技术实现思路
本技术的目的是提供一种基于AVR单片机的车轮测速装置。本技术通过以下技术方案来实现:硬件部分,各部分的连接关系为:电源模块向AVR单片机、开关型霍尔传感器和超量程报警模块提供工作电源;开关型霍尔传感器的输出直接接至AVR单片机的输入单元;AVR单片机通过特定的I/O接口与超量程报警模块相连接;AVR单片机的串口和上位机相连接。所述AVR单片机为ATmegal28最小系统,包括电源电路、复位电路、ISP下载接口电路以及I/o单元。AVR单片机处理开关型霍尔传传感器的输出脉冲,当开关型霍尔传感器产生输出脉冲时,AVR单片机的输入捕捉模块便能及时的捕捉到该输入;通过测量两个相邻的脉冲之间的时间间隔,以及与开关型霍尔传感器配套使用的磁极个数,便能计算出车轮的角速度,结合车轮的直径,可进一步得出车轮的线速度。所述电源模块的输出电压为5V/DC,由一个简单的DC/DC模块提供。所述开关型霍尔传感器的型号为AH04E,其工作电压范围为3.8V?30V/DC,本技术采用5V直流供电。所述超量程报警模块为一个简单的蜂 ...
【技术保护点】
一种基于AVR单片机的车轮测速装置,其特征在于:包括电源模块、AVR单片机、开关型霍尔传感器、超量程报警模块、上位机通信模块;各部分的连接关系为:电源模块向AVR单片机、开关型霍尔传感器和超量程报警模块提供工作电源;开关型霍尔传感器的输出直接接至AVR单片机的输入单元;AVR单片机通过特定的I/O接口和超量程报警模块相连接;AVR单片机的串口和上位机相连接;各个模块协同工作,共同完成车轮测速工作。
【技术特征摘要】
1.一种基于AVR单片机的车轮测速装置,其特征在于:包括电源模块、AVR单片机、开关型霍尔传感器、超量程报警模块、上位机通信模块;各部分的连接关系为:电源模块向AVR单片机、开关型霍尔传感器和超量程报警模块提供工作电源;开关型霍尔传感器的输出直接接至AVR单片机的输入单元;AVR单片机通过特定的I/O接口和超量程报警模块相连接;AVR单片机的串口和上位机相连接;各个模块协同工作,共同完成车轮测速工作。2.根据权利要求1所...
【专利技术属性】
技术研发人员:李卫国,曹文彬,高兴军,皇甫羽飞,陈艳,刘骁,
申请(专利权)人:华北电力大学,
类型:实用新型
国别省市:
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。