An intelligent monitoring system for piglet heating and healthy breeding based on Wi-Fi socket
By designing an intelligent monitoring system based on Wi-Fi sockets, the health problems caused by cold and humidity of piglets and the fire risks caused by electric heating equipment are solved, and the intelligent management and safety of piglet environments are achieved.
Patent Information
- Application Number
- CN202011075608.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-10
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2040-10-10
AI Technical Summary
The prior art cannot effectively warn and prevent piglets from having health problems caused by cold and humidity, and the long-term use of electric heating equipment leads to line aging and fire risks.
A smart monitoring system for piglet heating and health breeding based on Wi-Fi sockets is designed, including an intelligent detection terminal platform, an actuator platform and a monitoring terminal platform. It adopts an environmental monitoring sensor group, power consumption detection module and overload protection circuit module to realize dynamic monitoring of piglets, remote detection and control of environmental parameters, as well as overload protection and disaster pre-alarm functions.
It reduces the fires and line aging problems caused by the long-term work of electric heating equipment, improves the survival rate of winter piglets, provides a safe and high-quality environment for piglets, and reduces the economic losses of farmers.
Smart Images

Figure CN112088781B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent livestock breeding, and in particular to an intelligent monitoring system for piglet heating and healthy breeding based on a Wi-Fi socket. Background Art
[0002] The floor of the pig house of rural pig farmers in my country is mostly paved with cement. When the weather is cold, the temperature in the pig house is low and humid. Especially for piglets born in winter in the north, due to the large difference between the body temperature of the sow and the ambient temperature of the pig house and the poor cold resistance of the piglets themselves, they often suffer from diarrhea and loose stools due to cold stress, and their body condition declines rapidly until they die of exhaustion, which brings great economic losses to farmers. At present, most rural farmers lay a thick layer of flammable straw or dry leaves in a simple wooden box or brick house, cover the box with some wooden boards, oilcloth, quilts, etc., and combine traditional infrared lamp heating to solve the problem of dampness and coldness. However, this method is not only troublesome, unhygienic, and has poor heating effect, but also because the pig farm uses electricity for a long time in winter to keep warm, the heating lamp wires are burned, and the pig farm wires are aging and the contact points of the wires are rusted. As a result, the tragic news of pigs being burned to death or pigs being electrocuted by leakage and short circuit often occurs every year, which brings huge economic losses to breeding enterprises. How to enable rural pig farmers to provide a safe, high-quality and comfortable environment for piglets with the help of smart sockets, perception sensors, heating and other related equipment has become an urgent problem to be solved, so as to effectively solve the problem of cold and damp piglet houses in winter, and provide guarantees for further improving the survival rate of piglets and increasing the economic benefits of farmers. Summary of the invention
[0003] In view of the technical problem that the existing devices cannot inform the farmers of the information in advance, resulting in piglets being burned, burned to death, overheated to death and frozen to death, the present invention proposes an intelligent monitoring system for piglet heating and healthy breeding based on Wi-Fi sockets, which has functions such as overload protection, rapid power supply cut-off and disaster early warning, and can also realize dynamic monitoring of piglets and remote detection and regulation of environmental parameters, thereby reducing the probability of piglets being burned to death by fire due to long-term operation of electric heating equipment and scorching, or piglets being frozen to death without the knowledge of the farmer due to the burning of the heating filament, thereby improving the survival rate of piglets in winter and providing a reference for the intelligent management level of electric heating for piglets.
[0004] To solve the above technical problems, the present invention adopts the following technical solutions: an intelligent monitoring system for piglet heating and healthy breeding based on Wi-Fi sockets, comprising an intelligent detection terminal platform, an actuator platform and a monitoring terminal platform; the intelligent detection terminal platform comprises a detection module, the detection module comprises an environmental monitoring sensor group, a power consumption detection module and an overload protection circuit module, and the environmental monitoring sensor group is installed in the piglet insulation electric heating house, the power consumption detection module is arranged in the socket, and the overload protection circuit module is arranged at the front end of the socket; the actuator platform comprises an actuator device and a control circuit for controlling the actuator device, and the actuator device is connected to the control circuit; the environmental monitoring sensor group, the power consumption detection module, the overload protection circuit module and the control circuit are all connected to a control board, and the control board is connected to the monitoring terminal platform through a wireless communication module.
[0005] A single-phase electric measurement chip is provided in the power consumption detection module, and the output end of the single-phase electric measurement chip is connected to the control board, and the input end is respectively connected to the current acquisition circuit and the voltage acquisition circuit; a constantan resistor is provided in the current acquisition circuit as a sampling resistor, and the two ends of the constantan resistor are respectively connected to the single-phase electric measurement chip through the first protection circuit, and the two ends of the constantan resistor are respectively connected to the first load terminal, and the neutral line of the first load terminal is grounded through the protective grounding resistor; a voltage transformer is provided in the voltage acquisition circuit, and the input end of the voltage transformer is connected to the power input terminal through the first current limiting resistor, and the output end of the voltage transformer is connected to the isolation resistor, and a resistor-capacitor filter circuit is connected in parallel to the isolation resistor, and the output end of the resistor-capacitor filter circuit is connected to the single-phase electric measurement chip.
[0006] The first protection circuit includes a first resistor, a first capacitor, a second resistor and a second capacitor, one end of the constantan resistor is connected to the single-phase electrical measurement chip through the first resistor, and the other end is connected to the single-phase electrical measurement chip through the second resistor, the first resistor and the first capacitor are connected in parallel, one end of the first capacitor is grounded, and the other end is connected to the input end of the single-phase electrical measurement chip, one end of the second capacitor is connected to the second resistor, and the other end is grounded; the resistor-capacitor filtering circuit includes a third resistor, a fourth resistor, a third capacitor and a fourth capacitor, one end of the isolation resistor is connected to the single-phase electrical measurement chip through the third resistor, and the other end is connected to the single-phase electrical measurement chip through the fourth resistor, one end of the third capacitor is connected to the third resistor, and the other end is grounded, and one end of the fourth capacitor is connected to the fourth resistor, and the other end is grounded.
[0007] The overload protection circuit module is respectively provided with a power supply circuit, a control circuit and a voltage stabilizing circuit, and the power supply circuit is provided with an AC-DC power supply module, the input end of the AC-DC power supply module is connected to the power supply input terminal, and the output end is respectively connected to the control circuit and the voltage stabilizing circuit; the control circuit includes a relay and a photoelectric coupler, the light emitting diode of the photoelectric coupler is connected in series with the output end of the control board, the phototransistor of the photoelectric coupler is connected to the relay through a common-emitter amplifier circuit, the input end of the relay and the collector of the phototransistor are both connected to the AC-DC power supply module, and the output end of the relay is connected to the second load terminal; the voltage stabilizing circuit is provided with a voltage stabilizing module, the input end and the output end of the voltage stabilizing module are respectively connected in parallel with a filter capacitor group, and the input end of the voltage stabilizing module is connected to the AC-DC power supply module, and the output end of the voltage stabilizing module is connected to the control board through a second current limiting resistor.
[0008] The common-emitter amplifier circuit includes an S0805 transistor, the base of the S0805 transistor is connected to the emitter of the phototransistor through a seventh resistor, the collector of the S0805 transistor is connected to a relay, and the emitter is grounded; the light-emitting diode is grounded through a fifth resistor, and the emitter of the phototransistor is grounded through a sixth resistor; the filter capacitor group includes a fifth capacitor, a sixth capacitor, a first electrolytic capacitor and a second electrolytic capacitor, the fifth capacitor and the first electrolytic capacitor are connected in parallel, the sixth capacitor and the second electrolytic capacitor are connected in parallel, and the fifth capacitor and the first electrolytic capacitor are both connected in parallel to the input end of the voltage stabilizing module, and the sixth capacitor and the second electrolytic capacitor are both connected in parallel to the output end of the voltage stabilizing module.
[0009] A first rectifier diode is connected in series to the output end of the AC-DC power supply module, a second rectifier diode is connected in parallel to the relay, and a first light emitting diode is connected in parallel to the output end of the voltage stabilizing module.
[0010] The execution equipment includes a humidifying device, a heating device and a ventilation device, and the humidifying device, the heating device and the ventilation device are all connected to the control panel through a regulating circuit; the regulating circuit is connected to a display through a display circuit, and the display is installed in the piglet insulation electric heating house; the regulating circuit is also connected to an alarm through an alarm circuit.
[0011] The monitoring terminal platform includes a remote monitoring device and / or a mobile terminal, and the control board is connected to the remote monitoring device and / or the mobile terminal via a wireless communication module; the remote monitoring device includes a monitoring machine, and the control board is connected to the monitoring machine via a wireless communication module; the monitoring machine is provided with a GPRS module, and the GPRS module is connected to the control board via the wireless communication module.
[0012] The remote monitoring device comprises an infrared remote controller, an infrared receiving sensor is installed on a control panel, and the control panel is connected to the infrared remote controller via the infrared receiving sensor.
[0013] The wireless communication module includes a Wi-Fi module and a OneNET Internet of Things platform. The Wi-Fi module is arranged on the intelligent detection terminal platform, and the control board is connected to the Wi-Fi module via a serial port. The Wi-Fi module is connected to the OneNET Internet of Things platform via an Internet of Things chip. The mobile terminal is connected to the OneNET Internet of Things platform, and the monitoring machine is connected to the OneNET Internet of Things platform via an RS232 serial port or a GPRS module.
[0014] The present invention can detect the current and voltage flowing through the socket of the piglet insulation electric heating equipment when the electric heating equipment is using electricity with the help of the current and voltage acquisition circuit carried by the smart Wi-Fi socket, and then judge whether the power of the electric heating equipment is too high. It has the functions of overload protection, rapid power supply cut-off and disaster early warning, and can realize the dynamic monitoring of piglets and remote detection and regulation of environmental parameters at the same time, reduce the probability of fires causing piglets to be burned to death due to long-term operation of electric heating equipment and aging of lines, or freezing to death of piglets by farmers without knowing it due to burning of heating filaments, improve the survival rate of piglets in winter, and provide a reference for the intelligent management level of piglet insulation electric heating. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 is a system structure diagram of the present invention;
[0017] Figure 2 is a circuit diagram of the power consumption detection module of the present invention;
[0018] Figure 3 It is a circuit diagram of the overload protection circuit module of the present invention.
[0019] In the figure, 1 is the intelligent detection terminal platform, 2 is the actuator platform, 3 is the monitoring terminal platform, 4 is the control board, 5 is the infrared receiving sensor, 6 is the panoramic high-definition camera, 7 is the temperature and humidity sensor, 8 is the light sensor, 9 is the CO2 sensor, 10 is the audio sensor, 11 is the smoke sensor, 12 is the humidification equipment, 13 is the heating equipment, 14 is the ventilation equipment, 15 is the display, 16 is the alarm, 17 is the monitoring machine, and 18 is the infrared remote control. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] Embodiment 1, as Figure 1 As shown, the present invention provides a smart monitoring system for piglet heating and healthy breeding based on a Wi-Fi socket, including an intelligent detection terminal platform 1, an actuator platform 2 and a monitoring terminal platform 3, wherein the intelligent detection terminal platform 1 includes a detection module, and the detection module includes an environmental monitoring sensor group, a power consumption detection module and an overload protection circuit module. The environmental monitoring sensor group is installed in the piglet insulation electric heating house, and is used to monitor the environment and pig status in the pig house in real time and realize functions such as fire warning detection. The power consumption detection module is arranged in the socket, which is an intelligent Wi-Fi socket. The current and voltage flowing through the socket when the piglet insulation electric heating equipment is using electricity are detected by the current and voltage acquisition circuit configured by the intelligent Wi-Fi socket, and then it is determined whether the power of the electric heating equipment is too high, and functions such as disaster warning are realized. The overload protection circuit module is arranged at the front end of the socket. By setting the overload protection circuit module, it can be realized that when the heating actuator has an overvoltage or overcurrent situation, the power supply can be cut off in time to protect the equipment from damage and prevent emergencies such as fire.
[0022] The actuator platform 2 includes an actuator device and a control circuit for controlling the actuator device, and the actuator device is connected to the control circuit. In this embodiment, the actuator device includes a humidifying device 12, a heating device 13 and a ventilation device 14, wherein the humidifying device 12 uses a humidifying lamp, the heating device 13 uses a heating lamp, and the ventilation device 14 uses a ventilation fan. The humidifying lamp, the heating lamp and the ventilation fan are all installed in the piglet insulation electric heating house, and are respectively used to adjust the temperature and humidity in the pig house and to ventilate the inside of the pig house, so as to provide the best growth environment for the healthy growth of piglets.
[0023] The environmental monitoring sensor group, power consumption detection module, overload protection circuit module and control circuit are all connected to the control board 4, which uses an STM32F103ZET6 single-chip microcomputer to receive data information monitored by the environmental monitoring sensor group and the power consumption detection module, and output control signals to the overload protection circuit module and the control circuit to control the power supply on and off of the socket and the start and stop of the control execution device. The control board 4 is connected to a power module, which can convert the 220V alternating current for breeding into the 5V or 3.3V direct current required by the analog digital circuit and the control board 4, thereby powering the entire monitoring system. The control panel 4 is connected to the monitoring terminal platform 3 via a wireless communication module, that is, the monitoring terminal platform 3 and the control panel 4 communicate in real time via the wireless communication module. The control panel 4 transmits the data information monitored by the environmental monitoring sensor group and the power consumption detection module to the monitoring terminal platform 3, so that the farmer can grasp the environment and pig status in the pig house in real time and check the power consumption status of the heating equipment. At the same time, the farmer can also send instructions to the control panel 4 through the monitoring terminal platform 3 to control the power on and off of the socket and the start and stop of the execution equipment, etc., to realize the functions of dynamic monitoring of piglets, environmental parameter detection and regulation, etc.
[0024] Specifically, the environmental monitoring sensor group includes a panoramic high-definition camera 6, a temperature and humidity sensor 7, a light sensor 8, a CO2 sensor 9, an audio sensor 10 and a smoke sensor 11. The panoramic high-definition camera 6, the temperature and humidity sensor 7, the light sensor 8, the CO2 sensor 9, the audio sensor 10 and the smoke sensor 11 are all installed in the piglet insulation electric heating house and are all connected to the control panel 4. The panoramic high-definition camera 6 uses the DS-2DE5220IW-A panoramic camera, which is used to monitor the situation in the entire pig house in real time; the temperature and humidity sensor model is DHT-21, the light sensor model is GY-301, and the CO2 sensor model is MG811CO2, which are used to detect the temperature and humidity, light intensity and CO2 concentration of the pig house environment respectively; the smoke sensor model is MQ-2, which can realize the fire warning detection function; the audio sensor model is MP34DT01TR, which is used to collect the panting intensity and coughing frequency of piglets, and identify the types of abnormal sounds such as hunger, drinking water, eating, coughing, etc. emitted by pigs, so that technicians can deal with abnormal pig sounds in time, realize early warning of respiratory diseases, reduce disease transmission and mortality, and improve the economic benefits of breeding enterprises. The control panel 4 receives the data information detected by the above environmental monitoring sensor group and transmits it to the monitoring terminal platform 3, so that the farmer can grasp the environmental conditions in the pig house and the conditions of individual pigs in real time. The farmer inputs the adjustment threshold of the environmental parameters in the pig house to the control panel 4 through the monitoring terminal platform 3. When the temperature and humidity environmental parameters and CO2 gas concentration in the pig house are not within the set threshold range, the control panel 4 will control the humidification lamp, heating lamp, and ventilation fan to operate, thereby adjusting the temperature and humidity, ventilating the pig house, etc., to provide the best growth environment for the healthy growth of piglets.
[0025] This embodiment uses a panoramic high-definition camera, temperature and humidity sensors, light sensors, CO2 sensors, audio sensors and smoke sensors to observe and analyze abnormal situations in detail, and wirelessly feeds back to the monitoring terminal platform. The monitoring terminal platform combines the status of the execution equipment, the PC database in the monitoring room, the experience of piglet breeding experts and breeding technicians, etc. to conduct a comprehensive diagnosis of abnormal situations such as fire warning, overheating, overcooling and piglet group living, ensure the safe operation of the heating equipment, explore the changes in the health status of piglets, and provide a scientific basis for piglet breeders to early discover the hidden dangers of heating equipment and abnormal conditions in the breeding process.
[0026] Further, the control circuit is connected to a display 15 through a display circuit, and the display 15 is installed in the piglet insulation electric heating house. The control board 4 can output the data information detected by the environmental monitoring sensor group to the display 15 through the control circuit so that the farmer can view it. The control circuit is also connected to an alarm 16 through an alarm circuit. The alarm 16 is an audible and visual alarm, and its model is TGSG-07. The alarm 16 can be installed in the monitoring room. The farmer inputs the alarm threshold of the environmental parameters in the pig house to the control board 4 through the monitoring terminal platform 3. When the temperature and humidity environmental parameters and CO2 gas concentration parameters in the pig house exceed the alarm threshold, and when the smoke sensor 11 is triggered, the control board 4 will drive the alarm 16 to sound an alarm through the control circuit, and promptly notify the farmer of the alarm information to prevent the piglets from suffocating or freezing to death due to excessively high or low temperatures, and fires caused by aging of the lines and excessively dry straw in the house.
[0027] The power consumption detection module is provided with a single-phase power measurement chip, the output end of the single-phase power measurement chip is connected to the control board 4, and the input end is respectively connected to the current acquisition circuit and the voltage acquisition circuit. The single-phase power measurement chip adopts the ATT7053AU power metering chip, the V1P pin and V1N pin of the power metering chip are connected to the current acquisition circuit, the V3N pin and V3P pin are connected to the voltage acquisition circuit, and are directly connected to the analog end power supply through the voltage and current transformer, and the voltage and current information consumed by the infrared heating lamp, humidification lamp, ventilation fan and other electrical equipment is sampled and transmitted to the single-phase power measurement chip, the control board and the SPI communication port of the single-phase power measurement chip complete the voltage and current data transmission, and then the ADC module of the control board 4 performs analog-to-digital conversion and processes the converted data to determine the power consumption of the equipment.
[0028] Specific as Figure 2As shown, a 100mΩ constantan resistor R4 is used as a sampling resistor in the current acquisition circuit. The constantan resistor has the advantages of small temperature drift coefficient, reliable current detection, and high precision. The two ends of the constantan resistor R4 are respectively connected to the V1P pin and the V1N pin of the single-phase electrical measurement chip through the first protection circuit, and the two ends of the constantan resistor R4 are respectively connected to the first load terminal P2. The neutral line of the first load terminal P2 is grounded through the protective grounding resistor R3. The protective grounding resistor R3 is connected in series between the neutral line of the socket and the ground, and its resistance is less than or equal to 10Ω, which is used to ensure that the load is well grounded, prevent equipment leakage, load short circuit and burn equipment, and protect personal safety. The first protection circuit includes a first resistor R1, a first capacitor C1, a second resistor R2 and a second capacitor C2, the resistance values of the first resistor R1 and the second resistor R2 are both 1KΩ, the first capacitor C1 and the second capacitor C2 are both 33nF, one end of the constantan resistor R4 is connected to the V1N pin of the single-phase electrical measurement chip through the first resistor R1, and the other end is connected to the V1P pin of the single-phase electrical measurement chip through the second resistor R2, the first resistor R1 and the first capacitor C1 are connected in parallel, one end of the first capacitor C1 is grounded, and the other end is connected to the V1N pin of the single-phase electrical measurement chip, one end of the second capacitor C2 is connected to the second resistor R2, and the other end is grounded. In this structure, the voltage outputted by the V1N pin of the electric energy metering chip can be set to U1, the voltage flowing through the constantan resistor R4 is U2, the voltage flowing through the first resistor R1 is U3, and the voltage flowing through the second resistor R2 is U4. The sampling line lengths at both ends of the constantan resistor R4 are set to be equal, and the wire core materials are the same, that is, U3 and U4 are equal in size. According to the KVL law, U2+U4=U1+U3 can be obtained. Since U3=U4, it can be obtained that U1=U2, which ensures the accuracy of signal sampling. At the same time, by connecting the first resistor R1, the second resistor R2, the first capacitor C1 and the second capacitor C2 at both ends of the constantan resistor R4 to resist aliasing, the sampling signal distortion can be prevented.
[0029] The voltage acquisition circuit is provided with a voltage transformer, whose model is ZMPT107. The input end of the voltage transformer is connected to the power input terminal P1 through the first current limiting resistor R8, and the output end of the voltage transformer is connected to the isolation resistor R6. The isolation resistor R6 is connected in parallel with a resistance-capacitance filter circuit, and the output end of the resistance-capacitance filter circuit is respectively connected to the V3N pin and the V3P pin of the single-phase electrical measurement chip. Specifically, the 1st pin of the voltage transformer is connected to the neutral line of the power input terminal P1, the 2nd pin of the voltage transformer is connected to the live line of the power input terminal P1, the first current limiting resistor R8 is connected in series between the 2nd pin of the voltage transformer and the 2nd pin of the power input terminal P1, and the resistance value of the first current limiting resistor R8 is 200KΩ, which can convert the measured voltage into a working current of about 1mA and output it to the voltage transformer. The isolation resistor R6 is connected between the 3rd and 4th pins of the voltage transformer, and its resistance is 1KΩ. The voltage transformer can output the input working current of about 1mA in a 1 / 1 ratio, and complete the output voltage acquisition through the isolation resistor R6 to achieve isolation and conversion measurement from high voltage to low voltage. The resistance-capacitance filter circuit includes a third resistor R5, a fourth resistor R7, a third capacitor C3 and a fourth capacitor C4, and the resistance values of the third resistor R5 and the fourth resistor R7 are both 1KΩ, and the third capacitor C3 and the fourth capacitor C4 are both 104 capacitors. One end of the isolation resistor R6 is connected to the V3P pin of the single-phase electrical measurement chip through the third resistor R5, and the other end is connected to the V3N pin of the single-phase electrical measurement chip through the fourth resistor R7. One end of the third capacitor C3 is connected to the third resistor R5 and the other end is grounded, and one end of the fourth capacitor C4 is connected to the fourth resistor R7 and the other end is grounded. By setting up a resistor-capacitor filter circuit, interference signals can be eliminated and the reliability, accuracy and safety of collected voltage data can be improved, which is beneficial to reducing voltage detection failures caused by resistor short circuits or circuit board burnout caused by capacitor short circuits due to long-term use.
[0030] like Figure 3As shown, the overload protection circuit module is respectively provided with a power supply circuit, a control circuit and a voltage stabilizing circuit. The power supply circuit is connected to the control board 4 through the voltage stabilizing circuit to supply power to the control board 4; the input end of the control circuit is respectively connected to the power supply circuit and the control board 4, and the output end of the control circuit is connected to the second load terminal P4, and the 1st pin of the second load terminal P4 is connected to the neutral line of the power input terminal P1, and the 2nd pin of the second load terminal P4 is connected to the 2nd pin of the power input terminal P1, and the 2nd pin of the power input terminal P1 is connected to the 220V live wire and the 1st pin is connected to the 220V neutral line. The power supply circuit is provided with an AC-DC power supply module, and the input end of the AC-DC power supply module is connected to the power input terminal P1, and the output end is respectively connected to the control circuit and the voltage stabilizing circuit. The AC-DC power supply module realizes the conversion of the 220V alternating current for breeding into the 5V or 3.3V direct current required for the analog, digital circuit, Wi-Fi module or control board, which is used to drive the above circuits or chips. Specifically, the pin 1 of the AC-DC power module is connected to the live wire of the power input terminal P1, the pin 2 of the AC-DC power module is respectively connected to the neutral wire of the power input terminal P1 and the pin 1 of the second load terminal P4, the pin 3 of the AC-DC power module is grounded, and the pin 4 is respectively connected to the control circuit and the voltage stabilizing circuit. The AC-DC power module adopts the HLK_PM01 chip, which can convert 220V AC power into 5V DC power, and supply power to the control circuit and the voltage stabilizing circuit respectively, wherein the voltage stabilizing circuit converts the 5V power into 3.3V power to supply power to the control board 4.
[0031] The control circuit includes a relay and a photoelectric coupler. The model of the photoelectric coupler is TP521. The light-emitting diode of the photoelectric coupler is connected to the third load terminal P3. The pin 1 of the third load terminal P3 is grounded. The pin 2 of the third load terminal P3 is the IO port output end of the control board 4, that is, the light-emitting diode of the photoelectric coupler is connected to the IO output end of the control board 4 to prevent the relay from generating high voltage to affect the control board during the on-off process. The phototransistor of the photoelectric coupler is connected to the relay through a common-emitter amplifier circuit. The input end of the relay and the collector of the phototransistor are both connected to the AC-DC power supply module. The output end of the relay is connected to the pin 2 of the second load terminal P4. The coil K1 of the relay is respectively connected to the pin 2 of the power input terminal P1 and the pin 2 of the second load terminal P4. The second load terminal P4 is connected to the electrical socket. The relay and the coil K1 of the relay are connected in series at the front end of the electrical socket and constitute an overload protection module. When the heating and other execution equipment have overvoltage or overcurrent, the power supply can be cut off in time to protect the equipment from damage and prevent emergencies such as fire. The light emitting diode is connected to a fifth resistor R10, the emitter of the phototransistor is connected to a sixth resistor R11, and both the fifth resistor R10 and the sixth resistor R11 are grounded. The common emitter amplifier circuit includes a S0805 transistor, the base of the S0805 transistor is connected to the emitter of the phototransistor through a seventh resistor R12, the collector of the S0805 transistor is connected to a relay, and the emitter is grounded. The signal output by the control board 4 is amplified by the S0805 transistor in the common-emitter amplifier circuit and then controls the on and off of the relay. When the output end of the control board is at a high level, the S0805 transistor is turned on, the relay is energized, the switch of the coil K1 is closed, the 2nd pin of the power input terminal P1 is connected to the 2nd pin of the second load terminal P4, and the neutral line is connected through the 1st pin of the second load terminal P4, and the electrical appliance starts to work; when the output end of the control board is at a low level, the transistor S0805 is cut off, the relay is de-energized, the switch of the coil K1 is disconnected, the 2nd pin of the power input terminal P1 and the 2nd pin of the second load terminal P4 are disconnected, and the electrical appliance stops working, so that when the executing equipment has an overvoltage or overcurrent, the system can automatically and timely cut off the power supply to protect the equipment from damage and prevent emergencies such as fire.
[0032] Furthermore, in order to eliminate the reverse voltage generated by the relay coil K1 when the power is connected or disconnected, which may burn out the S0805 transistor, a diode D2 of model 1N4007 is connected in parallel to the relay to play a role in freewheeling protection. In order to ensure that the current direction of the phototransistor of the power supply, relay, and optocoupler is the direction of the 5V power supply, and to prevent the reverse electromotive force of the relay coil K1 from interfering with the 5V power supply and reversely breaking down the AC-DC power supply module, a diode D1 of model 1N4007 is connected in series between the 5V power supply and the relay. At the same time, in order to prevent the circuit board from being interfered with by the 220V AC power, when designing the PCB, the connection between the live wire and the relay should be hollowed out to form a "U"-shaped groove.
[0033] The voltage stabilizing circuit is provided with a voltage stabilizing module, whose model is AMS1117. The input end of the voltage stabilizing module is connected to the AC-DC power module, and the output end of the voltage stabilizing module is connected to the control board 4 through the second current limiting resistor. Specifically, pin 1 of the voltage stabilizing module is connected to pin 4 of the AC-DC power module, and pin 2 is connected to pin 1 of the first load terminal P2, and pin 1 of the first load terminal P2 is connected to the control board 4, so as to supply power to the control board 4. Pin 3 of the voltage stabilizing module is connected to pin 2 of the first load terminal P2, and pin 2 of the first load terminal P2 is grounded. The input and output ends of the voltage stabilizing module are respectively connected in parallel with a filter capacitor group, which includes a fifth capacitor C5, a sixth capacitor C8, a first electrolytic capacitor C6 and a second electrolytic capacitor C7. The fifth capacitor C5 and the first electrolytic capacitor C6 are connected in parallel, the sixth capacitor C8 and the second electrolytic capacitor C7 are connected in parallel, and the fifth capacitor C5 and the first electrolytic capacitor C6 are both connected in parallel with the input end of the voltage stabilizing module, and the sixth capacitor C8 and the second electrolytic capacitor C7 are both connected in parallel with the output end of the voltage stabilizing module. The fifth capacitor C5 and the sixth capacitor C8 are both 104 capacitors, which are used to eliminate high-frequency ripples in the input and output voltages and prevent self-excited oscillation; the first electrolytic capacitor C6 and the second electrolytic capacitor C7 are both 10uF, wherein the first electrolytic capacitor C6 is connected in parallel to the input end of the voltage stabilizing module, mainly filtering low-frequency ripples to prevent input voltage interference, and the second electrolytic capacitor C7 is connected in parallel to the output end of the voltage stabilizing module, and its function is to ensure that the output end obtains a 3.3V stable voltage with load capacity to power the control board 4. The output end of the voltage stabilizing module is connected in parallel with a first light emitting diode LD1, and the light emitting diode LD1 is connected in series with a second current limiting resistor R9 with a resistance of 1KΩ to provide an indication of the normal operation of the power supply. When the power consumption detection module detects that there is an overvoltage or overcurrent in the power supply circuit, the socket relay will automatically cut off the power, and the light emitting diode LD1 will light up as a warning. At the same time, the system starts a timer for 10S to detect whether the danger of excessive voltage or current is eliminated. If it is eliminated, it will return to normal state, otherwise it will remain in an alarm state. This process is controlled and executed by the control board 4. The alarm information can be transmitted to the monitoring terminal platform 3 through the wireless communication module, and the farmer can cut off the socket power supply by remote control or on-site manual method to avoid fire and other dangers in time.
[0034] In this embodiment, the monitoring terminal platform 3 includes a remote monitoring device and / or a mobile terminal, and the control board 4 is connected to the remote monitoring device and / or the mobile terminal through a wireless communication module to realize the data transmission function. The remote monitoring device includes a monitoring machine 17, the control board 4 is connected to the monitoring machine 17 through a wireless communication module, and the monitoring machine 17 is provided with a GPRS module, the GPRS module is connected to the control board 4 through the wireless communication module, so that the monitoring machine 17 can directly transmit data with the control board 4 through the wireless communication module when there is a wireless network. When the wireless network is interrupted, the monitoring machine 17 can realize data communication through the GPRS module. The wireless communication module includes a Wi-Fi module and a OneNET Internet of Things platform, and the mobile terminal is connected to the OneNET Internet of Things platform. The Wi-Fi module is arranged on the intelligent detection terminal platform, and the control board 4 is connected to the Wi-Fi module through a serial port, the Wi-Fi module is connected to the OneNET Internet of Things platform through an Internet of Things chip, and the monitoring machine 17 is connected to the OneNET Internet of Things platform through an RS232 serial port or a GPRS module. The Wi-Fi module uses the ESP8266 chip. The data information received by the control board can be transmitted to the Wi-Fi module through its TX port and RX port. The Wi-Fi module completes the connection to the OneNET IoT platform through the wireless router, and transmits the current voltage, electrical current and power of the heating equipment socket to the OneNET IoT platform through the MQTT protocol. The OneNET IoT platform processes and stores the received data. At the same time, farmers can remotely query the piglet status, temperature and humidity in the heating piglet house, air quality and other environmental information, as well as the power consumption and operation status of the heating equipment through a remote monitoring machine or mobile terminal. When the piglet heating pig house suddenly short-circuits or overheats, the system can automatically cut off the power supply and immediately alarm to notify the user to take timely countermeasures, providing a scientific basis for reducing the huge economic losses caused to farmers by piglets burned to death or frozen to death.
[0035] Embodiment 2, the present invention provides a piglet heating and healthy breeding intelligent monitoring system based on Wi-Fi socket, the remote monitoring device includes an infrared remote controller 18, an infrared receiving sensor 5 is installed on the control board 4, and the control board 4 is connected to the infrared remote controller 18 through the infrared receiving sensor 5. In the absence of Wi-Fi network and data network, when an emergency occurs, the infrared remote controller can be used to send a signal to the control board to control the start and stop of various detection sensors and execution devices in the heating house.
[0036] The other structures are the same as those in Example 1.
[0037] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An intelligent monitoring system for piglet heating and healthy breeding based on Wi-Fi socket, characterized by: It includes an intelligent detection terminal platform (1), an actuator platform (2) and a monitoring terminal platform (3); The intelligent detection terminal platform (1) comprises a detection module, which comprises an environment monitoring sensor group, a power consumption detection module and an overload protection circuit module, wherein the environment monitoring sensor group is installed in the piglet insulation electric heating house, the power consumption detection module is arranged in the socket, and the overload protection circuit module is arranged at the front end of the socket; The actuator platform (2) comprises an actuator device and a control circuit for controlling the actuator device, wherein the actuator device is connected to the control circuit; The environmental monitoring sensor group, the power consumption detection module, the overload protection circuit module and the control circuit are all connected to the control board (4), and the control board (4) is connected to the monitoring terminal platform (3) via the wireless communication module; The power consumption detection module is provided with a single-phase power measurement chip, the output end of the single-phase power measurement chip is connected to the control board (4), and the input end is respectively connected to the current acquisition circuit and the voltage acquisition circuit; the current acquisition circuit is provided with a constantan resistor as a sampling resistor, and the two ends of the constantan resistor are respectively connected to the single-phase power measurement chip through a first protection circuit, the two ends of the constantan resistor are respectively connected to a first load terminal, and the neutral line of the first load terminal is grounded through a protective grounding resistor; the voltage acquisition circuit is provided with a voltage transformer, the input end of the voltage transformer is connected to the power input terminal through a first current limiting resistor, the output end of the voltage transformer is connected to an isolation resistor, a resistor-capacitor filter circuit is connected in parallel to the isolation resistor, and the output end of the resistor-capacitor filter circuit is connected to the single-phase power measurement chip; The first protection circuit includes a first resistor, a first capacitor, a second resistor and a second capacitor, one end of the constantan resistor is connected to the single-phase electrical measurement chip through the first resistor, and the other end is connected to the single-phase electrical measurement chip through the second resistor, the first resistor and the first capacitor are connected in parallel, one end of the first capacitor is grounded, and the other end is connected to the input end of the single-phase electrical measurement chip, one end of the second capacitor is connected to the second resistor, and the other end is grounded; the resistance-capacitance filtering circuit includes a third resistor, a fourth resistor, a third capacitor and a fourth capacitor, one end of the isolation resistor is connected to the single-phase electrical measurement chip through the third resistor, and the other end is connected to the single-phase electrical measurement chip through the fourth resistor, one end of the third capacitor is connected to the third resistor, and the other end is grounded, and one end of the fourth capacitor is connected to the fourth resistor, and the other end is grounded; The overload protection circuit module is provided with a power supply circuit, a control circuit and a voltage stabilizing circuit respectively, and the power supply circuit is provided with an AC-DC power supply module, the input end of the AC-DC power supply module is connected to the power supply input terminal, and the output end is respectively connected to the control circuit and the voltage stabilizing circuit; the control circuit comprises a relay and a photoelectric coupler, the light emitting diode of the photoelectric coupler is connected in series with the output end of the control board (4), the phototransistor of the photoelectric coupler is connected to the relay via a common-emitter amplifier circuit, the input end of the relay and the collector of the phototransistor are both connected to the AC-DC power supply module, and the output end of the relay is connected to the second load terminal; the voltage stabilizing circuit is provided with a voltage stabilizing module, the input end and the output end of the voltage stabilizing module are respectively connected in parallel with a filter capacitor group, and the input end of the voltage stabilizing module is connected to the AC-DC power supply module, and the output end of the voltage stabilizing module is connected to the control board (4) via a second current limiting resistor.
2. The intelligent monitoring system for piglet heating and healthy breeding based on Wi-Fi socket according to claim 1 is characterized in that: The common-emitter amplifier circuit includes an S0805 transistor, the base of the S0805 transistor is connected to the emitter of the phototransistor through a seventh resistor, the collector of the S0805 transistor is connected to a relay, and the emitter is grounded; the light-emitting diode is grounded through a fifth resistor, and the emitter of the phototransistor is grounded through a sixth resistor; the filter capacitor group includes a fifth capacitor, a sixth capacitor, a first electrolytic capacitor and a second electrolytic capacitor, the fifth capacitor and the first electrolytic capacitor are connected in parallel, the sixth capacitor and the second electrolytic capacitor are connected in parallel, and the fifth capacitor and the first electrolytic capacitor are both connected in parallel to the input end of the voltage stabilizing module, and the sixth capacitor and the second electrolytic capacitor are both connected in parallel to the output end of the voltage stabilizing module.
3. The intelligent monitoring system for piglet heating and healthy breeding based on Wi-Fi socket according to claim 2 is characterized in that: A first rectifier diode is connected in series to the output end of the AC-DC power supply module, a second rectifier diode is connected in parallel to the relay, and a first light emitting diode is connected in parallel to the output end of the voltage stabilizing module.
4. The intelligent monitoring system for heating and healthy breeding of piglets based on Wi-Fi socket according to any one of claims 1 to 3, characterized in that: The execution device comprises a humidifying device (12), a heating device (13) and a ventilation device (14), and the humidifying device (12), the heating device (13) and the ventilation device (14) are all connected to the control panel (4) via a control circuit; the control circuit is connected to a display (15) via a display circuit, and the display (15) is installed in a piglet insulation electric heating house; the control circuit is also connected to an alarm (16) via an alarm circuit.
5. The intelligent monitoring system for heating and healthy breeding of piglets based on Wi-Fi socket according to claim 4 is characterized in that: The monitoring terminal platform (3) comprises a remote monitoring device and / or a mobile terminal, and the control panel (4) is connected to the remote monitoring device and / or the mobile terminal via a wireless communication module; the remote monitoring device comprises a monitoring machine (17), and the control panel (4) is connected to the monitoring machine (17) via a wireless communication module; the monitoring machine (17) is provided with a GPRS module, and the GPRS module is connected to the control panel (4) via the wireless communication module.
6. The intelligent monitoring system for piglet heating and healthy breeding based on Wi-Fi socket according to claim 5 is characterized by: The remote monitoring device comprises an infrared remote controller (18). An infrared receiving sensor (5) is installed on the control panel (4). The control panel (4) is connected to the infrared remote controller (18) via the infrared receiving sensor (5).
7. The intelligent monitoring system for piglet heating and healthy breeding based on Wi-Fi socket according to claim 5 or 6, characterized in that: The wireless communication module comprises a Wi-Fi module and a OneNET Internet of Things platform. The Wi-Fi module is arranged on the intelligent detection terminal platform, and the control board (4) is connected to the Wi-Fi module via a serial port. The Wi-Fi module is connected to the OneNET Internet of Things platform via an Internet of Things chip. The mobile terminal is connected to the OneNET Internet of Things platform. The monitoring machine (17) is connected to the OneNET Internet of Things platform via an RS232 serial port or a GPRS module.
Citation Information
Patent Citations
Single return circuit electrical fire monitoring extension with extensible functions
CN103065418A
Single-phase electric energy meter measuring circuit
CN204008845U
Piglet heating healthy breeding intelligent monitoring system based on Wi-Fi socket
CN213343836U
Electric Fire Prevention Smart Controller for Cattle Shed
KR1020190130894A
KR20200054707A