基于STM32的中央空调控制策略通信方法与实现  被引量:2

Method and Realization of Central Air Conditioning Control Strategy Communication Based on STM32

在线阅读下载全文

作  者:严良文[1] 赖雪峰[1] 韩涛[1] 张在房[1] 

机构地区:[1]上海大学机电工程与自动化学院,上海200072

出  处:《机械与电子》2014年第9期63-65,80,共4页Machinery & Electronics

基  金:国家自然科学基金资助项目(51205242);上海市科委科技创新行动计划资助项目(13111102900)

摘  要:采用Modbus通信协议,以西门子S7-200PLC和上位机组态王为主站,设计开发了基于STM32F103C8T6单片机的从站。介绍了两者之间的RS485/RS232方式的通信协议的建立和程序的设计,详细描述了单片机与PC之间、单片机与PLC之间的通讯调试,从而实现了基于RTU模式Modbus协议的串行通信。该系统应用于中央空调控制系统中,其控制策略和主要控制算法由STM32从站计算,能取得较好的控制效果。With the Siemens S7-200 PLC and upper computer KingView being the master,a slave station of STM32F103C8T6 microcontroller is developed based on Modbus protocol.The establishment and program designing of communication protocol using RS485/RS232 between master and slave is introduced firstly.Then the process of debugging between the microcontroller and PC,the microcontroller and the PLC is elaborated.Thus serial communication is implemented based on Modbus protocol in RTU mode.The system will be applied in central air-conditioning control system.A good control effect will be obtained as the controlling strategy and main algorithm can be computed in the STM32 slave station.

关 键 词:STM32F103单片机 通信 MODBUS协议 中央空调 

分 类 号:TP206[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象