Font Size: a A A

Postuer Deteciton Of Pigs Based On Micro Inertial Sensor

Posted on:2016-08-28Degree:MasterType:Thesis
Country:ChinaCandidate:Z LiFull Text:PDF
GTID:2308330470951562Subject:Control Science and Engineering
Abstract/Summary:PDF Full Text Request
Posture detection is an important part of behavior analysis, behavioranalysis play an important part in welfare cultivation and healthy breeding.Automation research of livestock breeding changes from group monitoring toindividual study. This paper uses micro inertial sensor as research tool, present amethod to identify posture of pigs, combine multiple sensors to detection pigpostures. This paper also presents hardware circuit and software algorithm, putsforward abnormal behavior analysis method based on the posture detection. Thismethod can help the livestock farm raising automation level and reducing therequirement of the human resources, help the breeder do better ondisease prevention and find the epidemic infectious disease ealier than before.Firstly, this paper introduces the current domestic and foreign researchstatus and research methods on abnormal behavior decections of livestock andpoultry. Among sensor technology, image processing technology and audiodetection technology, sensor technology is selected as research direction.Common postures of pigs are analyzed to find the feature of different postures. And detection method of postures is presented. The detection principle ofcommon sensors is studied. The common coordinate system and the euler anglewith three methods are introduced.Secondly, the hardware model should be selected to design the posturedetection system of pigs. This system chooses MPU6050and HMC5883L asdetection sensors. CC2530is used to build Zigbee communication network.Then, data is transmitted to STM32and the attitude algorithm is executed. Andthe abnormal behavior is judged by the upper computer with data fromSTM32.This detection system can be divided into information transmission unit,information receiving unit and host computer. According to the schematicdiagram and the required extension for receiving unit and transmission unit,PCB circuit board is made.In the design of software system, the detection error of sensors andadjustment are analyzed. It has restriction to complete the attitude algorithmonly using GYRO or acceleration sensor or geomagnetic sensor. Two data fusionalgorithms, complementary filter and Kalman filter, are proposed. In the system,the parameters should be initialized firstly, gyroscope’s angular velocity iscollected, acceleration sensor and geomagnetic sensor are used to correct thedata, the attitude algorithm is computed by quaternion. Attitude angle andcomponent of velocity are used to design posture detection method. Simulationswhich are got under the environment of laboratory are used to analyze.Finally, abnormal behavior can be analyzed by posture data. The durations of each posture are recorded. Compared with the average data of pigs aroundand the data of this pig during the last10days, the abnormal level could be got.Then the warning level could be got with the abnormal level through analysis.The abnormal level of the pig can be evaluated. This method can be used inmany environments, and various factors are taken to judge the abnormalsituation, which can provide references for breeders to make further judgment.
Keywords/Search Tags:MPU6050, HMC5883L, quaternion, attitude algorithm, complementary filter, abnormal judgment
PDF Full Text Request
Related items