Font Size: a A A

Design Of PROFINET IO Application Platform Based On STM32

Posted on:2020-12-07Degree:MasterType:Thesis
Country:ChinaCandidate:Z R ZhangFull Text:PDF
GTID:2428330572983637Subject:Control engineering
Abstract/Summary:PDF Full Text Request
In foreign countries,Industrial Ethernet represented by PROFINET has been replacing fieldbus.However,limited by the scarcity of Chinese materials and related products,the application of PROFINET is not extensive in China.If there is a localized PROFINET platform,the promotion of this technology will certainly be accelerated.Three aspects were considered in transplanting operating system,designing protocol stack,and optimizing communication performance.The design process of the PROFINET IO application platform based on STM32 platform is introduced,and the availability of the application platform is verified.Firstly,device selection and circuit module design are carried out through performance requirements and cost control.The application platform selects the main control chip of STM32F407VET6 model,the network port module chip of DP83848IVV model.The platform test network system selects PLC S7-1500 and the sw tch of SCALANCE X208.Secondly,several mainstream embedded real-time operating systems are compared.FreeRTOS is selected and the key steps of transplanting it to STM32F407 platform are elaborated.The PROFINET IO protocol stack is studied,and the method of real-time communication optimization of PROFINET is analyzed.Based on this,a protocol stack suitable for the new hardware platform and the new operating system is designed.Thirdly,aiming at the frequent congestion of switches in the communication process,the routing method is improved,and an optimization model of queuing system based on this is established.Then the effectiveness of the optimization strategy is proved through calculation.Finally,a PROFINET 10 device test system is built.After the application platform is connected to the network,it is configured by TIA Portal and monitored by putty as a super terminal.The test results show that the application platform can use PROFINET protocol as 10 device for data transmission and communication,and achieves the expected results.This design addresses the problem of the lack of easy-to-use PROFINET platform in China.The replacement of the hardware platform and operating system is adopted,the protocol stack is redesigned,and the communication process is optimized.The low-cost,easy-to-learn and easy-to-use PROFINET 10 application platform is designed to achieve the PROFINET specification and the development of the upper layer is promising,which is conducive to the popularization of PROFINET technology in China.
Keywords/Search Tags:Industrial Ethernet, PROFINET IO, STM32, FreeRTOS, LwIP, Queuing Theory
PDF Full Text Request
Related items