Font Size: a A A

Design Of Intelligent Monitoring System For Piggery Environment Based On CAN Bus

Posted on:2019-05-30Degree:MasterType:Thesis
Country:ChinaCandidate:S G HuangFull Text:PDF
GTID:2428330548976343Subject:Electronic Science and Technology
Abstract/Summary:PDF Full Text Request
With the development of intensification and industrialization,the influence of environment is attracting more and more attention.The application of pig farm monitoring system can effectively reduce labor costs,improve the quality of meat production,increase production efficiency and increase economic effect.On the basis of reading relevant literatures,this paper clarifies the environmental impact factors and regulation measures of piglets in the breeding industry.After investigating the development status of environmental monitoring system at home and abroad,this paper combined with the Internet of things technology designs a multi node environment monitoring system based on CAN bus combined.The paper mainly designs the local terminal of the whole system,includes the upper computer and the intelligent monitoring node on the pig farm.The intelligent control node is responsible for collecting the piggery's environmental factors and sending them to the upper computer by transmission nodes.The upper computer displays in real time through the display screen.Inside the monitoring node,the calculated rule table is built.The fuzzy control algorithm can be used to control the field equipment automatically by the look-up table method.The user can also choose to send manual control commands to realize manual control.The upper computer push the data to the cloud and order the intelligent monitoring node to achieve remote control function.In this paper,STM32 is selected as the main control chip of the monitoring node,and the design and connection of the peripheral functional modules are realized.The monitoring node carries on the field network through the CAN bus.The software has realized the adaptation of Mbed OS system,device driver development and application software compilation.The device driver using C++ for encapsulation and development,increasing reusability and security.The application is designed to have two business logic and is dispatched by the operating system.The upper computer is developed by Qt,and websocket is used for data pushing,and Sqlite is used to store data.Compared with the existing products,in this paper,aiming at a variety of environmental factors in piggery the phenomenon of mutual coupling,to redesign the fuzzy controller,can realize the complex environment contains six kinds of environmental factors for automatic control.After testing,the system developed in this paper meets the technical requirements of the subject,and can effectively control the environmental factors involved and improve the environmental condition.
Keywords/Search Tags:fuzzy control, CAN bus, mbed OS, environmental factors
PDF Full Text Request
Related items