检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:温洪昌[1] 张信禹[1] WEN Hongchang;ZHANG Xinyu
机构地区:[1]宜宾职业技术学院
出 处:《计量与测试技术》2022年第8期15-18,共4页Metrology & Measurement Technique
基 金:宜宾职业技术学院院级科研项目(项目名称:白酒灌装生产线实训系统的智能化改造研究,项目编号:ybzysc20-72)。
摘 要:在单片机与计算机串口通信时,由于单片机串口缓冲区小,速度相对慢,出现单片机接收的数据有时不稳定、畸变、丢帧等情况,造成系统不稳定,因此采用CRC校验方法可以提高数据传输的准确性。文中设计了一个温度测控系统,以AT89C51为下位机,通过虚拟串口将采集的热电偶数据传送到LabVIEW构建的上位机平台显示、保存;上位机传送指令数据时加入CRC校验码,下位机对接收的数据通过CRC校验后进行显示。仿真表明,该系统可以提高系统的稳定性。In the serial communication between the SCM and the computer,the buffer of the SCM is small,and the speed is relatively slow,the data received by the SCM is sometimes unstable,distorted,frame loss and so on,resul-ting in the system instability.CRC method can improve the accuracy of data transmission.In this paper,a tempera-ture measurement and control system is designed.AT89C51 is used as the lower computer,and the thermocouple da-ta collected are transmitted to the upper computer platform constructed by LabVIEW to display and store through virtual serial port.CRC code is added when the upper computer transmits command data,and the received data through CRC are displayed on the lower computer.Simulation results show that the stability of the system can be im-proved.
分 类 号:TP21[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.143