Design and implementation of management system of automatic feeding
- Author
- XuLi
- Advisor
- XuZhiLiang , HuangCheng
- School
- Nanjing University of Technology and Engineering
- Major
- Control Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 113
- Citations
- 0
Abstract
This paper establishes an automated pig breeding management system suitable for modern pig enterprises. To develop this system, the paper relies on a pig enterprise and analyses the raising process and individual information management. This system provides a good example for the automated feeding model in our country.This management system uses a distributed control structure, mainly composed of automatic breeding subsystem and information management subsystem. The automatic breeding subsystem mainly completes the functions of pig identification, forage adding, feeding information collection, human-computer interaction and subsystems communication. The information management subsystem is mainly used for the remote observation of pig slate as well as forage use, to provide a basis to improve the forage efficiency and reduce the costs.The development of automatic breeding subsystem includes the design of hardware and software of the controller and human-computer interaction. The hardware of controller consists of MSP430F149MCU module, information storage module, real-time modue and analog signal acquisition module, while the software involves driver and application program using IAR development environment. Development of human-computer is to design the corresponding control screen of MD204L using configuration software TP200.The development of information management subsystem primarily bases on the access of other subsystem and feasibility and stability of engineering. C++is used as the development language, while MFC framework class is adopted to design the control interface, SQL Server as the back-end database. At the same time, the multi-threading technology, the Windows timing technology, the ADO access technology and serial communication technology is combined to realize the function of information management of pigs.At present, test run of the system is performing in the field. The test results show the consistency with control indicators while hardware and software of the system work stably. So, the system realizes the function of automated breeding and information management and meets the needs of the users well.
Table of contents
Summary 3-4
Abstract 4-8
1 Introduction 8-14
1.1 topic background and significance 8-10
1.1.1 subject background 8-9
1.1.2 significance 1.2 Status domestic development 9-10
10-12 <br / > 1.2.1 Status overseas development 10
1.2.2 domestic development status 10-11
1.2.3 modern pig technology 11-12 <br / > 1.3 and the main research work 12-13
1.4 This paper is organized as 13-14
2 overall system design 14-20
2.1 system Overview 14-15
2.2 system functional requirements analysis 15-16
2.3 overall design 16-19
2.3.1 automatic feeding child system design 16-18
2.3.2 information Management subsystem design 18-19
2.4 Summary 19-20
3 automatic feeding Hey subsystem development 20-44
3.1 controller hardware development 20-26
3.1.1 master chip select 20-21
3.1 .2 controller hardware architecture 21
3.1.3 control module circuit design 21-23
3.1.4 information storage module circuit design 23-24
3.1.5 Real Time Clock module circuit design 24
3.1.6 serial expansion module circuit design 24-25
3.1.7 analog signal acquisition module circuit design 25-26
3.1.8 other modules 26
3.2 interactive interface development 26-31
3.2.1 HMI MD204L 26-27
3.2.2 configuration software TP200 27
3.2.3 screen design 27-30
3.2.4 communication protocol selection 30-31
3.3 controller software development 31-42
3.3.1 software development environment 31-32
3.3.2 driver design for each module 32-39
3.3.3 application design 39-42
3.4 Summary 42-44
4 information management subsystem development 44-60
4.1 development tools introduced 44
4.2 management system framework 44-45
4.3 based on functional design multithreading technology 45 -49
4.3.1 multithreading technology 46
4.3.2 data storage thread 46-48
4.3.3 download data polling thread 48-49
4.4 serial communication module design 49-50
4.5 Windows timed technical 50-51
4.6 system interface development 51-59
4.6.1 common Module features 52-58
4.6.2 other modules features 58-59
4.7 Summary 59-60
5 system database development 60-68
5.1 SQL server database 60
5.2 database access methods 60-62
5.2.1 ADO database access technology 60-61
5.2.2 database connection steps 61-62
5.3 database design 62-67
5.3.1 data sheet design 62-64
5.3.2 database creation 64-65
5.3.3 data Management 65-67
5.3.4 information Display design 67
5.4 summary 67-68
6 summary and Outlook 68-74
6.1 functional Test 68-72 <br / > 6.1.1 management system functional testing 68-70
6.1.2 feeding station portion of functional testing 70-72
6.1.3 actual production data analysis 72
6.2 summary 72-73
6.3 system outlook 73-74
Thanks 74-76
References 76-80
Appendix 80
Related dissertations
- Research on Fault Location System of Power Distribution Network Based on GPRS
- The Design and Implementation of the Automation System for Water Conservation
- The Study of Accurate Irrigation and Fertilization Automatic Control System
- Control System Design for Brake Rod Automatic Production Line
- Document Automatic System Based on OLE and MFC Framework Technology
- Study on Application of Lean Production Theory in Large Polymer Battery New Line of LS Company
- Study on the Construction of Agricultural Information Service System
- Study on the Integration and Application of the Second Land Survey Data
- Study on Database Construction and Application Research of Township Overall Land Use Planning
- Countermeasure Research on the Development of Digital Library Integrated Retrieval System in China
- The Design and Development of Unattended Remote Measurement and Monitoring System in Steel Business
- Design and Implementation on Three-dimensional Monitoring System of Data Center
- Large Network Monitoring System Based on ARM
- The Research on Fire-fighting Based on Image Processing in Large Space
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Excogitation and Implementation of Monitor System for the Greenhouse’s Host Machine
- Design of Circuit Testing System of Vehicle Fuse Box Based on LabVIEW
- Battery Sorting Detect System Design and Application
- The Reliable Data Transmission System in the Maternal and Child Health Information Platform
- Design and Realization of CS-50Catalyst Production Control System Based on CAN Bus