automatic piglet feeding control system and control method thereof

文档序号:1714175 发布日期:2019-12-17 浏览:20次 中文

阅读说明:本技术 一种猪仔自动喂养控制系统及其控制方法 (automatic piglet feeding control system and control method thereof ) 是由 侯玉婷 陈璐瑶 蔡成炜 陈晓磊 刘乃宇 于 2019-10-18 设计创作,主要内容包括:本发明公开了一种猪仔自动喂养控制系统及其控制方法,包括MCU控制系统、键盘与存储模块、称重传感器、AD转换电路模块、水位传感器、加水装置、第一电磁阀、排水装置、第二电磁阀、加奶粉装置、第三电磁阀、搅拌装置、温度传感器、加热装置、数显模块、WIFI模块、云平台、TF卡/Flash、语音模块、扬声器、LED系统状态指示灯、蜂鸣器、摄像头、继电器控制模块、APP/微信小程序和电源,本系统采用STC15单片机为控制核心,利用微控制器、传感器、声音模拟等技术实现猪仔的自动喂养功能,以此来解决传统母猪喂养中存在的不足,系统能实现奶粉按比例冲调功能、水位报警功能、自动搅拌功能、自动恒温控制功能及各种数显指示功能。(The invention discloses an automatic piglet feeding control system and a control method thereof, and the system comprises an MCU control system, a keyboard, a storage module, a weighing sensor, an AD conversion circuit module, a water level sensor, a water adding device, a first electromagnetic valve, a water discharging device, a second electromagnetic valve, a milk powder adding device, a third electromagnetic valve, a stirring device, a temperature sensor, a heating device, a digital display module, a WIFI module, a cloud platform, a TF card/Flash, a voice module, a loudspeaker, an LED system state indicator lamp, a buzzer, a camera, a relay control module, an APP/micro-letter small program and a power supply, the system adopts an STC15 single chip microcomputer as a control core, and utilizes the technologies of a microcontroller, a sensor, sound simulation and the like to realize the automatic piglet feeding function, so as to solve the defects existing in the traditional sow feeding, and can realize the function of proportionally adjusting milk powder water level, the function of alarming and the, Automatic stirring function, automatic constant temperature control function and various digital display indicating functions.)

1. the utility model provides an automatic control system that feeds of porkling, a serial communication port, including MCU control system, keyboard and storage module, weighing sensor, AD converting circuit module, level sensor, add water installation, first solenoid valve, drainage device, the second solenoid valve, add milk powder device, the third solenoid valve, agitating unit, temperature sensor, heating device, digital display module, the WIFI module, the cloud platform, TF card Flash, voice module, speaker, LED system status indicator lamp, bee calling organ and power, wherein:

The keyboard and storage module is electrically connected with the MCU control system and is used for manually setting system working parameters by a user and storing the set system working parameters;

the weighing sensor is electrically connected with the MCU control system and is used for controlling the amount of added milk powder;

The AD conversion circuit module is electrically connected with the weighing sensor and the MCU control system and is used for converting analog signals of the amount of the added milk powder into digital signals through A/D (analog/digital) and sending the digital signals to the MCU control system;

the water level sensor is electrically connected with the MCU control system and is used for detecting the water level of the milk in real time;

The water adding device is electrically connected with the MCU control system through the first electromagnetic valve and is used for adding water in time when the water level sensed by the water level sensor is too low; or, when the system is in an automatic cleaning starting state, water adding treatment is carried out;

the water draining device is electrically connected with the MCU control system through the second electromagnetic valve and is used for draining water in time when the water level sensed by the water level sensor is too high; or, when the system is in the automatic cleaning ending state, the drainage treatment is carried out;

the milk powder adding device is electrically connected with the MCU control system through the third electromagnetic valve and is used for adding milk powder according to the milk-water ratio when the system is in an automatic milk feeding state;

the stirring device is electrically connected with the MCU control system and is used for automatically stirring the added water and milk powder when the system is in an automatic milk feeding state; or, when the system is in an automatic cleaning state, automatic stirring cleaning treatment is carried out;

the temperature sensor is electrically connected with the MCU control system and is used for detecting the temperature of the milk in real time;

The heating device is electrically connected with the MCU control system and is used for automatically heating the milk when the temperature of the milk sensed by the temperature sensor is too low;

the digital display module is electrically connected with the MCU control system and is used for displaying the set value of the working parameter of the system and the temperature and the water level of the milk;

the WIFI module is in bidirectional communication connection with the MCU control system and is used for transmitting milk temperature and water level information to the cloud platform and receiving a control command transmitted by the cloud platform so as to transmit the milk temperature and water level information to the MCU control system through a serial port;

the TF card/Flash is electrically connected with the voice module and used for storing voice files;

the voice module is electrically connected with the MCU control system and used for receiving a control instruction of the MCU control system and reading a corresponding voice file in the TF card/Flash through the SPI;

The speaker is electrically connected with the voice module and is used for playing the voice file stored in the TF card/Flash;

the LED system state indicator lamp is electrically connected with the MCU control system and is used for displaying the working state of the system;

the buzzer is electrically connected with the MCU control system and used for alarming when the temperature of the milk is too high and/or the water level is too high or too low;

The power supply is electrically connected with the MCU control system, the keyboard, the storage module, the weighing sensor, the water level sensor, the temperature sensor, the digital display module, the WIFI module, the voice module, the LED system state indicator lamp and the buzzer and is used for providing a working power supply for the MCU control system, the keyboard, the storage module, the weighing sensor, the water level sensor, the temperature sensor, the digital display module, the WIFI module, the voice module, the LED system state indicator lamp and the buzzer.

2. the automatic piglet feeding control system according to claim 1, wherein the LED system status indicator lamps comprise a heating indicator lamp, a stirring indicator lamp, a power indicator lamp, a temperature indicator lamp and a water level indicator lamp, and are used for displaying milk heating condition, stirring condition, power working condition, milk temperature condition and milk water level condition in real time.

3. the automatic piglet feeding control system according to claim 1, wherein the water level sensors comprise a first water level sensor, a second water level sensor and a third water level sensor, and the first water level sensor, the second water level sensor and the third water level sensor are respectively arranged at three different height positions of high, middle and low, and are used for adjusting the ratio of milk powder and water to adapt to different proportions of milk powder and water required by piglets at different periods.

4. the automatic piglet feeding control system according to claim 1, further comprising a camera electrically connected to the MCU control system for remotely monitoring piglet feeding and sending the piglet feeding to the MCU control system for storage.

5. the automatic piglet feeding control system according to claim 4, further comprising a relay control module, wherein the relay control module is electrically connected with the MCU control system, the camera, the milk powder adding device, the stirring device, the heating device, the water adding device and the water discharging device respectively, and is used for controlling shooting, milk powder adding, stirring, heating, water adding and water discharging operations.

6. the automatic piglet feeding control system according to claim 4, further comprising an APP/WeChat applet, wherein the APP/WeChat applet is arranged in a mobile terminal of a user and is in communication connection with the MCU control system through the cloud platform and the WIFI module, and the APP/WeChat applet is used for receiving and displaying system working parameters manually set by the user in real time, or the user directly sets the system working parameters in the APP/WeChat applet, or remotely calls piglet feeding conditions shot by the camera stored in the MCU control system.

7. the automated piglet feeding control system of claim 1, wherein the system operating parameters include milk-water ratio, agitation interval, agitation hold time, heating temperature, return difference temperature, milk feeding occurrence interval, milk feeding time, and high temperature alarm value.

8. The automatic piglet feeding control system according to claim 1, wherein the digital display module adopts an LCD12864 display screen; and/or the presence of a gas in the gas,

the MCU control system adopts an STC15W4K60S4 singlechip; and/or the presence of a gas in the gas,

The keyboard module adopts a 4X4 matrix keyboard; and/or the presence of a gas in the gas,

The storage module adopts an EEPROM chip; and/or the presence of a gas in the gas,

The WIFI module adopts an ESP8266 patch type WIFI module.

9. an automatic piglet feeding control method, which is characterized in that the automatic piglet feeding control system of any one of claims 1 to 8 is used for controlling, and comprises the following specific steps:

Step 1: after the piglet automatic feeding control system is powered on, firstly, initializing an external module, reading set parameters in an EEPROM (electrically erasable programmable read-only memory) and displaying the set parameters on an LCD12864 display screen, simultaneously transmitting the working parameters of the system to a cloud platform and an APP/WeChat small program through WIFI (wireless fidelity), entering a system working parameter setting interface by pressing a menu key on a keyboard, selecting options to be set through an up key and a down key, inputting numerical values and pressing a determination key, then storing the set system working parameters into the EEPROM, setting default working parameters to be the last set values when the piglet automatic feeding control system is powered on next time, and automatically restoring the system working parameters to factory set values if the determination key is pressed for more than 5 seconds;

Step 2: after the working parameters of the system are set, the system enters an automatic feeding mode, firstly, water and milk powder are added according to the amount of milk to be added in proportion, then, a stirring device and a heating device are turned on, and after stirring and heating are finished, a loudspeaker is turned on to play the sound of the sow to start feeding;

and step 3: monitoring the temperature and the water level of the milk in real time by using a temperature sensor and a water level sensor, displaying the current temperature and the current water level of the milk on an LCD12864 display screen, and sending data to a cloud platform and an APP/WeChat applet through WIFI;

and 4, step 4: the singlechip collects the data of the temperature sensor in real time and controls the temperature of the milk, the current temperature value is T, the temperature value is T, the return difference temperature value is d, the high temperature alarm value is A, if the current temperature value T-d of the milk is less than T and less than T + d, the temperature of the milk is normal, the temperature indicator lamp is on green, if the current temperature value T of the milk is less than T-d, the temperature of the milk is too low, a heating device needs to be started to heat the milk, when the milk is heated to the set reading value, the heating is stopped, the operation is repeated in such a way to ensure that the temperature of the milk is relatively constant, if the current temperature value T + d of the milk is less than T and less than A, the temperature of the milk is higher, the temperature indicator lamp lights a yellow lamp, if the current temperature value T of the milk is larger than or equal to the high-temperature alarm value A, the temperature of the milk is too high, the temperature indicator lamp lights the red light to flash, the buzzer starts to alarm, and the heating is stopped immediately as long as the current temperature value T of the milk is larger than the high-temperature alarm value A;

And 5: the water level of the milk is continuously reduced along with the continuous feeding of piglets, when the water level sensor W1 is at a high level, the current milk is sufficient, the water level indicator lamp is green, if the water level sensor W1 is at a low level, the water level of the milk is too low, no matter how much the temperature of the milk is, the heating device is prohibited to be started, if the milk is required to be continuously fed, water and milk powder can be added according to a milk feeding key to continuously feed the milk, the milk feeding is automatically finished after one minute is not operated, and the device enters a standby state to wait for the next milk feeding.

10. the method as claimed in claim 9, wherein in step 1, the system operation parameter setting interface includes milk ratio setting, stirring interval setting, stirring maintaining time setting, heating temperature setting, return difference temperature setting, feeding occurrence interval setting, feeding time setting, and high temperature alarm value setting.

Technical Field

the invention relates to the technical field of breeding, in particular to an automatic piglet feeding control system and a control method thereof.

Background

in recent years, the domestic breeding industry is rapidly developed along with the development of computers and modern electronic technologies, intelligent breeding methods are increasingly needed in the existing breeding industry, and various problems encountered by more and more breeding farmers in traditional breeding are urgently needed to be solved by equipment modification of new technologies.

in the case of pig raising, feeding of piglets is a relatively difficult problem. At present, part of pig farm enterprises are still in the traditional mode of feeding by manual feeding, the pig farm enterprises generally adopt the process of 'freely feeding dry powder feed' for feeding, the problems of poor palatability, large dust, damage to gastrointestinal tracts of piglets, serious waste and the like exist, the appetite is not fully mobilized by freely feeding, the feed intake is low, the healthy growth of the pigs is influenced by the problems, manpower and feed are wasted, certain difficulty is brought to management, the feeding cost is improved, the work and rest time are irregular due to the fact that scientific time feeding is not available, the appetite of the pigs is not fully mobilized, the growth speed of the pigs is reduced, the environment of a pigsty is severe, and the survival rate of the piglets is reduced.

aiming at the situation, the automatic piglet feeding control system is designed, and the design requirements are as follows:

1. the functions of self-help milk brewing and automatic stirring are realized according to the proportion;

2. automatic constant temperature heating control, and the heating temperature and the temperature return difference can be automatically set;

3. The function of the sow for feeding and sounding can set the interval time of the feeding and sounding;

4. the functions of high-temperature alarm, over-low water level and sensor fault alarm can be realized;

5. And (4) an automatic cleaning function.

Disclosure of Invention

in order to overcome the defects in the prior art, the invention provides an automatic piglet feeding control system and a control method thereof, wherein an STC15 single chip microcomputer is used as a control core, and the automatic piglet feeding function is realized by utilizing technologies such as a microcontroller, a sensor, sound simulation and the like, so that the defects in the traditional sow feeding are overcome, and the system can realize a milk powder proportional brewing function, a water level alarm function, an automatic stirring function, an automatic constant temperature control function and various digital display indication functions.

In order to achieve the above purpose, the technical solution for solving the technical problem is as follows:

the invention discloses an automatic piglet feeding control system which comprises an MCU (microprogrammed control Unit) control system, a keyboard and storage module, a weighing sensor, an AD (analog-to-digital) conversion circuit module, a water level sensor, a water adding device, a first electromagnetic valve, a water discharging device, a second electromagnetic valve, a milk powder adding device, a third electromagnetic valve, a stirring device, a temperature sensor, a heating device, a digital display module, a WIFI (wireless fidelity) module, a cloud platform, a TF (Transflash)/Flash, a voice module, a loudspeaker, an LED (light-emitting diode) system status indicator lamp, a buzzer and a power supply, wherein:

the keyboard and storage module is electrically connected with the MCU control system and is used for manually setting system working parameters by a user and storing the set system working parameters;

the weighing sensor is electrically connected with the MCU control system and is used for controlling the amount of added milk powder;

The AD conversion circuit module is electrically connected with the weighing sensor and the MCU control system and is used for converting analog signals of the amount of the added milk powder into digital signals through A/D (analog/digital) and sending the digital signals to the MCU control system;

The water level sensor is electrically connected with the MCU control system and is used for detecting the water level of the milk in real time;

The water adding device is electrically connected with the MCU control system through the first electromagnetic valve and is used for adding water in time when the water level sensed by the water level sensor is too low; or, when the system is in an automatic cleaning starting state, water adding treatment is carried out;

the water draining device is electrically connected with the MCU control system through the second electromagnetic valve and is used for draining water in time when the water level sensed by the water level sensor is too high; or, when the system is in the automatic cleaning ending state, the drainage treatment is carried out;

the milk powder adding device is electrically connected with the MCU control system through the third electromagnetic valve and is used for adding milk powder according to the milk-water ratio when the system is in an automatic milk feeding state;

The stirring device is electrically connected with the MCU control system and is used for automatically stirring the added water and milk powder when the system is in an automatic milk feeding state; or, when the system is in an automatic cleaning state, automatic stirring cleaning treatment is carried out;

The temperature sensor is electrically connected with the MCU control system and is used for detecting the temperature of the milk in real time;

the heating device is electrically connected with the MCU control system and is used for automatically heating the milk when the temperature of the milk sensed by the temperature sensor is too low;

the digital display module is electrically connected with the MCU control system and is used for displaying the set value of the working parameter of the system and the temperature and the water level of the milk;

The WIFI module is in bidirectional communication connection with the MCU control system and is used for transmitting milk temperature and water level information to the cloud platform and receiving a control command transmitted by the cloud platform so as to transmit the milk temperature and water level information to the MCU control system through a serial port;

The TF card/Flash is electrically connected with the voice module and used for storing voice files;

the voice module is electrically connected with the MCU control system and used for receiving a control instruction of the MCU control system and reading a corresponding voice file in the TF card/Flash through the SPI;

the speaker is electrically connected with the voice module and is used for playing the voice file stored in the TF card/Flash;

the LED system state indicator lamp is electrically connected with the MCU control system and is used for displaying the working state of the system;

the buzzer is electrically connected with the MCU control system and used for alarming when the temperature of the milk is too high and/or the water level is too high or too low;

The power supply is electrically connected with the MCU control system, the keyboard, the storage module, the weighing sensor, the water level sensor, the temperature sensor, the digital display module, the WIFI module, the voice module, the LED system state indicator lamp and the buzzer and is used for providing a working power supply for the MCU control system, the keyboard, the storage module, the weighing sensor, the water level sensor, the temperature sensor, the digital display module, the WIFI module, the voice module, the LED system state indicator lamp and the buzzer.

further, LED system status indicator lamp includes heating pilot lamp, stirring pilot lamp, power indicator lamp, temperature indicator lamp and water level indicator lamp for show milk heating condition, stirring condition, power operating condition, milk temperature condition and milk water level condition in real time.

Furthermore, the water level sensor comprises a first water level sensor, a second water level sensor and a third water level sensor, wherein the first water level sensor, the second water level sensor and the third water level sensor are respectively arranged at three different height positions of high, medium and low and are used for adjusting the proportion of milk powder and water so as to adapt to the milk powder and water with different proportions required by piglets in different periods.

further, still include the camera, the camera with MCU control system electric connection for the feeding condition of remote monitoring porkling and send it to MCU control system saves.

further, still include relay control module, relay control module respectively with MCU control system, camera, add milk powder device, agitating unit, heating device, add water installation and drainage device electric connection for control is shot, is added milk powder, is stirred, is heated, is added water and the drainage operation.

Further, still include APP/believe applet a little, in user's mobile terminal is placed in to APP/believe applet a little, and pass through cloud platform and WIFI module with MCU control system communication connection for receive in real time and show user's manual setting's system operating parameter, or, the user is direct be in set up system operating parameter in the APP/believe applet a little, or, long-range retrieval the piglet that the camera was shot feeds the condition.

Further, the system working parameters comprise milk-water ratio, stirring interval, stirring maintaining time, heating temperature, return difference temperature, milk feeding occurrence interval, milk feeding time and high-temperature alarm value.

Preferably, the digital display module adopts an LCD12864 display screen; and/or the presence of a gas in the gas,

The MCU control system adopts an STC15W4K60S4 singlechip; and/or the presence of a gas in the gas,

the keyboard module adopts a 4X4 matrix keyboard; and/or the presence of a gas in the gas,

the storage module adopts an EEPROM chip; and/or the presence of a gas in the gas,

The WIFI module adopts an ESP8266 patch type WIFI module.

the invention also discloses a control method for the automatic feeding of piglets, which utilizes the automatic feeding control system for controlling piglets and comprises the following specific steps:

step 1: after the piglet automatic feeding control system is powered on, firstly, initializing an external module, reading set parameters in an EEPROM (electrically erasable programmable read-only memory) and displaying the set parameters on an LCD12864 display screen, simultaneously transmitting the working parameters of the system to a cloud platform and an APP/WeChat small program through WIFI (wireless fidelity), entering a system working parameter setting interface by pressing a menu key on a keyboard, selecting options to be set through an up key and a down key, inputting numerical values and pressing a determination key, then storing the set system working parameters into the EEPROM, setting default working parameters to be the last set values when the piglet automatic feeding control system is powered on next time, and automatically restoring the system working parameters to factory set values if the determination key is pressed for more than 5 seconds;

step 2: after the working parameters of the system are set, the system enters an automatic feeding mode, firstly, water and milk powder are added according to the amount of milk to be added in proportion, then, a stirring device and a heating device are turned on, and after stirring and heating are finished, a loudspeaker is turned on to play the sound of the sow to start feeding;

and step 3: monitoring the temperature and the water level of the milk in real time by using a temperature sensor and a water level sensor, displaying the current temperature and the current water level of the milk on an LCD12864 display screen, and sending data to a cloud platform and an APP/WeChat applet through WIFI;

and 4, step 4: the singlechip collects the data of the temperature sensor in real time and controls the temperature of the milk, the current temperature value is T, the temperature value is T, the return difference temperature value is d, the high temperature alarm value is A, if the current temperature value T-d of the milk is less than T and less than T + d, the temperature of the milk is normal, the temperature indicator lamp is on green, if the current temperature value T of the milk is less than T-d, the temperature of the milk is too low, a heating device needs to be started to heat the milk, when the milk is heated to the set reading value, the heating is stopped, the operation is repeated in such a way to ensure that the temperature of the milk is relatively constant, if the current temperature value T + d of the milk is less than T and less than A, the temperature of the milk is higher, the temperature indicator lamp lights a yellow lamp, if the current temperature value T of the milk is larger than or equal to the high-temperature alarm value A, the temperature of the milk is too high, the temperature indicator lamp lights the red light to flash, the buzzer starts to alarm, and the heating is stopped immediately as long as the current temperature value T of the milk is larger than the high-temperature alarm value A;

And 5: the water level of the milk is continuously reduced along with the continuous feeding of piglets, when the water level sensor W1 is at a high level, the current milk is sufficient, the water level indicator lamp is green, if the water level sensor W1 is at a low level, the water level of the milk is too low, no matter how much the temperature of the milk is, the heating device is prohibited to be started, if the milk is required to be continuously fed, water and milk powder can be added according to a milk feeding key to continuously feed the milk, the milk feeding is automatically finished after one minute is not operated, and the device enters a standby state to wait for the next milk feeding.

further, in step 1, the system working parameter setting interface includes milk-water ratio setting, stirring interval setting, stirring maintaining time setting, heating temperature setting, return difference temperature setting, milk feeding occurrence interval setting, milk feeding time setting and high temperature alarm value setting.

Due to the adoption of the technical scheme, compared with the prior art, the invention has the following advantages and positive effects:

the invention relates to an automatic piglet feeding control system, which is characterized in that the proportion of milk flushing is set through a keyboard circuit, a water inlet valve is opened, the amount of added water is judged through a water level sensor, a stirring device is started, heating is carried out according to the set heating temperature, after the preset temperature is reached, constant temperature control is carried out, then the function of sounding for feeding the sows is opened, piglet feeding is carried out, after feeding is finished, the automatic cleaning function can be selected to enter through the switching of a water inlet valve and a water outlet valve according to the actual situation, and a digital display module is used for displaying a set value and a working state value. The automatic feeding system fully utilizes technologies such as a microcontroller, a sensor, sound simulation and the like to realize the automatic feeding function of the piglets, so that the defects existing in the traditional sow feeding are overcome, and the system can realize the functions of proportionally mixing milk powder, alarming water level, automatically stirring, automatically controlling constant temperature and various digital display indication functions. The system has the advantages of simple structure, low cost, stable work and high efficiency, can meet the requirements of practical application, and has good market prospect.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:

Fig. 1 is an overall system block diagram of an automatic piglet feeding control system according to the present invention;

FIG. 2 is a schematic circuit diagram of a keyboard and a memory module in the automatic piglet feeding control system according to the present invention;

FIG. 3 is a schematic circuit diagram of an AD conversion circuit module in the automatic piglet feeding control system according to the present invention;

FIG. 4 is a schematic diagram of a sensor circuit in an automatic piglet feeding control system according to the present invention;

FIG. 5 is a schematic circuit diagram of a WTFI module in the automatic piglet feeding control system according to the present invention;

FIG. 6 is a schematic circuit diagram of a voice module in an automatic piglet feeding control system according to the present invention;

FIG. 7 is a schematic diagram of a power circuit in the automatic piglet feeding control system according to the present invention;

FIG. 8 is a schematic diagram of an alarm and display circuit in an automatic piglet feeding control system according to the present invention;

FIG. 9 is a schematic diagram of a relay control circuit of the automatic piglet feeding control system according to the present invention;

FIG. 10 is a schematic diagram of an MCU control circuit in the automatic piglet feeding control system according to the present invention;

fig. 11 is an overall circuit schematic diagram of an automatic piglet feeding control system according to the present invention;

fig. 12 is a flow chart of an automatic feeding control method for piglets according to the present invention.

Detailed Description

while the embodiments of the present invention will be described and illustrated in detail with reference to the accompanying drawings, it is to be understood that the invention is not limited to the specific embodiments disclosed, but is intended to cover various modifications, equivalents, and alternatives falling within the scope of the invention as defined by the appended claims.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:动物识别装置、动物识别装置的控制方法以及程序

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!