矿业工程研究
礦業工程研究
광업공정연구
MINERAL ENGINEEERING RESEACH
2012年
4期
71-74
,共4页
单片机%可编程逻辑控制器%串行通信%CRC
單片機%可編程邏輯控製器%串行通信%CRC
단편궤%가편정라집공제기%천행통신%CRC
microprocessor%programmable logic controller%serial communication%CRC
矿用机车传统的试验电源是通过单片机控制电动调压器和整流桥输出相应的直流电压,在实际应用中,这种传统试验电源存在的缺点是通信效果不好、误码率高、系统响应速度慢.针对传统试验电源存在的问题,提出了在矿用小机车试验电源系统中采用抗干扰性强的FX2N系列可编程逻辑控制器与STCl2CSA60S2单片机实现串行通信的方法,阐述了自由通信方式的串行通信和CRC实现,给出了串行通信硬件结构图和部分程序.通信模块在新型电源的实际运行当中工作可靠,通信效果良好.
礦用機車傳統的試驗電源是通過單片機控製電動調壓器和整流橋輸齣相應的直流電壓,在實際應用中,這種傳統試驗電源存在的缺點是通信效果不好、誤碼率高、繫統響應速度慢.針對傳統試驗電源存在的問題,提齣瞭在礦用小機車試驗電源繫統中採用抗榦擾性彊的FX2N繫列可編程邏輯控製器與STCl2CSA60S2單片機實現串行通信的方法,闡述瞭自由通信方式的串行通信和CRC實現,給齣瞭串行通信硬件結構圖和部分程序.通信模塊在新型電源的實際運行噹中工作可靠,通信效果良好.
광용궤차전통적시험전원시통과단편궤공제전동조압기화정류교수출상응적직류전압,재실제응용중,저충전통시험전원존재적결점시통신효과불호、오마솔고、계통향응속도만.침대전통시험전원존재적문제,제출료재광용소궤차시험전원계통중채용항간우성강적FX2N계렬가편정라집공제기여STCl2CSA60S2단편궤실현천행통신적방법,천술료자유통신방식적천행통신화CRC실현,급출료천행통신경건결구도화부분정서.통신모괴재신형전원적실제운행당중공작가고,통신효과량호.
Test power about traditional mine locative outputs corresponding DC voltage through microprocessor, controlling electric pressure regulator and rectifier bridge. In practical application, this test power about traditional mine locative has some questions : the communication performance is not good, bit error rate is high, and response is slow. To solve these problems, the implementation of serial communication between the high anti - interference performance FX2N programmable logic controller and the STC12C5A60S2 microprocessor in advanced test power about mine locomotive is proposed. The paper elaborates realization of free communication and CRC, and presents the sketch map and program to carry out the serial communication for programmable logic controller and microprocessor. The practice of test power about mine locomotive indicates that the communication performance is good and high reliable