微型机与应用
微型機與應用
미형궤여응용
MICROCOMPUTER & ITS APPLICATIONS
2013年
23期
71-73
,共3页
王文虎%任艳辉%杨峰%马庆修
王文虎%任豔輝%楊峰%馬慶脩
왕문호%임염휘%양봉%마경수
STM32F107%μC/OS-II%CAN 总线%串口通信
STM32F107%μC/OS-II%CAN 總線%串口通信
STM32F107%μC/OS-II%CAN 총선%천구통신
STM32F107%μC/OS-II%CAN bus%serial communication
基于 Cortex-M3内核的 ARM 芯片 STM32F107构建了生产线工作状态监测终端,包括CAN 通信、串口通信、实时时钟、液晶显示、工作电源等电路单元。利用 CAN 总线实现远程通信,控制室根据实际需要可切换 RS232或 RS485与 PC 机的通信;终端具有非挥发实时时钟,以及通过 LCM 提供了人机对话功能。实验表明,生产线工作状态监测终端利用 CAN 总线能够实现数据准确、快速地传输,可适用于各种现场数据传输的应用场合。
基于 Cortex-M3內覈的 ARM 芯片 STM32F107構建瞭生產線工作狀態鑑測終耑,包括CAN 通信、串口通信、實時時鐘、液晶顯示、工作電源等電路單元。利用 CAN 總線實現遠程通信,控製室根據實際需要可切換 RS232或 RS485與 PC 機的通信;終耑具有非揮髮實時時鐘,以及通過 LCM 提供瞭人機對話功能。實驗錶明,生產線工作狀態鑑測終耑利用 CAN 總線能夠實現數據準確、快速地傳輸,可適用于各種現場數據傳輸的應用場閤。
기우 Cortex-M3내핵적 ARM 심편 STM32F107구건료생산선공작상태감측종단,포괄CAN 통신、천구통신、실시시종、액정현시、공작전원등전로단원。이용 CAN 총선실현원정통신,공제실근거실제수요가절환 RS232혹 RS485여 PC 궤적통신;종단구유비휘발실시시종,이급통과 LCM 제공료인궤대화공능。실험표명,생산선공작상태감측종단이용 CAN 총선능구실현수거준학、쾌속지전수,가괄용우각충현장수거전수적응용장합。
The monitoring terminal of production line condition based on the ARM Cortex-M3 core chip STM32F107 include the CAN communication circuit, serial communication circuit, real-time clock circuit, LCD circuit, power supply circuit ect. On the basis of the working state of production line, remote communication can be realized based on CAN bus, and it can be switched between RS232 or RS485 communication with PC according to the actual needs. With a non-volatile real-time clock, the function of man-machine conversation through LCM is provided by terminal. The experiments show that the accurate and fast data transmission can be realized by monitoring terminal of production line condition using CAN bus, and it can be applied to a variety of on-site data transmission applications.