摘要
介绍一种以Microchip PIC16F877A微控制器、MCP2510独立CAN总线控制器和PCA82C250收发器为核心组成的CAN总线智能超声波测距系统及其硬件和软件的设计方法。在分析超声波测距误差原因的基础上,为了提高系统的测量精度,增加了超声波测距系统的温度校正模块。试验结果表明:该测量系统测量数据准确、精度高,数据传递效率和利用率高,能够满足分布式控制系统中相关距离测量和数据传输的要求。
An approach of hardware and software for intelligent ultrasonic distance measurement system based on CAN bus with PIC16F877A, stand-alone CAN bus controller MCP2501 and PCA82C250 was introduced. The temperature correcting module was provided for improving the precision of measurement system according to analyzing the error reason of ultrasonic distance measurement. The experiment result shows that the distance data measured by the system was accurate,the efficiency of data transmission is high and the data measured and transferred by the system can meet the requirement of distributed control system accordingly.
出处
《仪表技术与传感器》
CSCD
北大核心
2007年第12期34-36,共3页
Instrument Technique and Sensor
基金
北京市教育委员会科技发展计划面上项目(KM200611232002)
关键词
CAN总线
超声波测距
温度校正
单片机
CAN bus
ultrasonic distance measurement
temperature correction
MCU