A cloud-edge collaborative intelligent pig raising production process management and control system

By using a cloud-edge collaborative smart pig farming system, environmental data is calculated in real time and equipment start-up and shutdown are adjusted, which solves the problems of lag and frequency deviation in pig house environmental control and achieves refined and stable management of the breeding process.

CN122172909APending Publication Date: 2026-06-09YUNNAN HUADA AGRICULTURAL DEVELOPMENT CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
YUNNAN HUADA AGRICULTURAL DEVELOPMENT CO LTD
Filing Date
2026-03-13
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Existing technologies lack sufficient correlation between data collection and interval judgment in pig house environments, resulting in delayed or off-frequency equipment responses, making it difficult to achieve precise control. Furthermore, cloud-based analysis lacks a dynamic convergence mechanism, affecting the stability of the breeding process.

Method used

The environmental acquisition module calculates temperature, humidity, and ammonia data in real time to generate an environmental range offset list. The edge response module triggers equipment start-up and shutdown. The cloud coordination module analyzes the trigger frequency. The range distribution module adjusts the control range, forming a closed-loop cloud-edge collaborative management and control system.

Benefits of technology

It achieves precise matching between environmental conditions and equipment responses, and the correspondence between equipment actions and actual needs of the pigsty, improving the flexibility and stability of regulation, avoiding ineffective actions, and ensuring the continuous coordination of the breeding process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122172909A_ABST
    Figure CN122172909A_ABST
Patent Text Reader

Abstract

This invention relates to the field of intelligent pig farming management technology, specifically a cloud-edge collaborative intelligent pig farming production process control system. The system includes an environmental acquisition module that collects the voltage of temperature and humidity sensors and the current of ammonia sensors in the pigsty, converts them into degrees Celsius, relative humidity percentage, and ammonia gas integral, and compares them with the upper and lower boundaries of the environmental control intervals during the feeding stage to determine the interval position and generate an environmental interval offset list. This invention, based on real-time conversion and interval offset identification of raw electrical signals such as temperature, humidity, and ammonia, enables the environmental state to be accurately mapped to the needs of the feeding stage. After identifying the offset, it simultaneously verifies the start-up and shutdown status of on-site equipment and conducts centralized analysis based on trigger frequency patterns, establishing a correspondence between control actions and the actual performance of the pigsty. This facilitates a shift in the response mode from single triggering to trend recognition, thereby improving the detail of environmental judgment and the matching degree of control rhythm, and avoiding ineffective actions caused by short-term fluctuations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart pig farming management technology, and in particular to a smart pig farming production process control system based on cloud-edge collaboration. Background Technology

[0002] The field of smart pig farming management technology includes livestock and poultry breeding information management systems, agricultural Internet of Things application technologies, and network-based production scheduling and process control technologies. Its core content lies in establishing a digital monitoring data collection, transmission, storage, analysis, and control system around the entire pig farming process. This includes specific aspects such as connecting breeding environment monitoring equipment to standardized data collection protocols, remote centralized operation and maintenance platforms, production batch management, growth indicator recording, disease prevention and control information registration, feed consumption statistics, and breeding process scheduling and control. By constructing a system architecture that covers on-site terminal edge computing nodes in pig houses and remote cloud platforms, it achieves unified organization and management of breeding production activities under a networked architecture.

[0003] Among them, the cloud-edge collaborative smart pig farming production process control system refers to deploying temperature and humidity sensors, ammonia concentration sensors, light intensity sensors, video acquisition equipment, electronic ear tag readers, and automatic feeding controllers on-site in the pigsty. The collected environmental parameters, growth data, and behavioral data are transmitted to edge computing nodes via wired Ethernet or 4G / 5G communication networks. Within the edge computing nodes, data format conversion, data cleaning, rule comparison, and threshold judgment are performed. The sorted structured data is then uploaded to the cloud server. In the cloud database, breeding records are established, production batches are registered, feed ratios are recorded, immunization records are recorded, and production plans are arranged. Based on the preset breeding cycle table and environmental parameter control standards, the system issues start / stop commands for ventilation equipment, control commands for spray equipment, adjustment commands for heating equipment, and automatic feeding time setting commands to the on-site control terminal. This system enables full-process control of environmental regulation, feeding management, health information recording, and production rhythm arrangement during pig farming.

[0004] Existing technologies lack sufficient correlation between environmental data collection and interval judgment. In situations where pig house environments fluctuate frequently or demand changes significantly during different periods, it is difficult to form precise interval judgments. This leads to equipment actions relying on fixed threshold triggers, resulting in response lags or frequency deviations. Furthermore, cloud-based analysis of pig house performance is mostly limited to data aggregation. When the control load is unevenly distributed among different pig houses, it is difficult to identify concentrated deviations in a timely manner. This causes the control strategy to maintain preset parameters for a long time without a dynamic convergence mechanism, further leading to a disconnect between the control boundary and the actual environment, affecting the continuous stability control effect. Summary of the Invention

[0005] The purpose of this invention is to address the shortcomings of existing technologies by proposing a smart pig farming production process control system based on cloud-edge collaboration.

[0006] To achieve the above objectives, the present invention adopts the following technical solution: a smart pig farming production process control system based on cloud-edge collaboration, the system including an environmental acquisition module, which acquires the voltage of the pig house temperature and humidity sensor and the current of the ammonia sensor, converts them into degrees Celsius, relative humidity percentage and ammonia gas integral, and compares them with the upper and lower boundaries of the environmental control interval during the feeding stage to determine the interval position and generate an environmental interval offset list. The edge response module determines the relationship between the environmental category and the axial flow fan, wet curtain cooling, electric heating and spray ammonia removal device based on the environmental range offset list, reads the operating current of each device to identify start and stop, and triggers relay action by comparing with the environmental category, generating a field trigger sequence list. The cloud-based coordination module statistically analyzes the triggering frequency of axial flow fans and electric heating devices in each pig house in the on-site triggering sequence list, compares the triggering frequency with the feeding stage, selects pig house numbers with concentrated triggering frequencies as key points, and generates a centralized list of pig houses for control. The interval distribution module automatically adjusts the upper and lower boundaries of the corresponding pig house environmental control intervals according to the centralized list of pig house control, associates the adjusted intervals with the pig house numbers, writes them into the control command data frame and distributes them to the field, generating a pig house control interval distribution record. The production closed-loop module compares the adjusted control interval with the real-time collected temperature, relative humidity, and ammonia gas integral, and associates it with the relay triggering status of each actuator to generate cloud-edge collaborative smart pig farming production process control results.

[0007] As a further aspect of the present invention, the environmental range offset list includes environmental parameter category markers, range offset direction information, and offset level evaluation results.

[0008] As a further embodiment of the present invention, the field trigger sequence table includes a field environment category index, an execution device control object, and a relay action sequence.

[0009] As a further aspect of the present invention, the centralized list of pig houses for regulation includes a centralized pig house code, a corresponding production stage label, and a priority of regulation resources.

[0010] As a further aspect of the present invention, the pigsty control zone distribution record includes control zone setting parameters, target pigsty identifier, and control command data index.

[0011] As a further aspect of the present invention, the cloud-edge collaborative smart pig farming production process control results include environmental control effect evaluation, equipment operation coordination status, and production process safety early warning information.

[0012] Compared with the prior art, the advantages and positive effects of the present invention are as follows: In this invention, based on the real-time conversion and interval offset identification of raw electrical signals such as temperature, humidity, and ammonia, the environmental state can be accurately mapped to the needs of the feeding stage. After the offset is identified, the start-up and shutdown status of on-site equipment is checked simultaneously and a centralized analysis is carried out in combination with the trigger frequency pattern. This makes the control action correspond to the actual performance of the pig house, and promotes the transformation of the response mode from single trigger to trend identification. This improves the detail of environmental judgment and the matching degree of control rhythm, and avoids invalid actions caused by short-term fluctuations. In this invention, the parameter settings are dynamically converged with the performance of the pig house by timely adjustment of the environmental control range. During the continuous comparison process, environmental changes and equipment actions are associated and a closed loop is formed, so that the control boundary continuously conforms to the actual needs during operation. As a result, the equipment response is more in line with the range change trend, the range setting is more flexible, the overall control is more stable, and the coherent coordination between environmental deviation identification and parameter correction is achieved. Attached Figure Description

[0013] Figure 1 This is a system flowchart of the present invention. Detailed Implementation

[0014] The technical solution of the present invention will now be described with reference to the accompanying drawings.

[0015] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.

[0016] In the embodiments of this invention, the terms "image" and "picture" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning. Similarly, the terms "of," "corresponding (relevant)," and "corresponding" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning.

[0017] In this embodiment of the invention, sometimes a subscript such as W1 may be written in a non-subscript form such as W1. When the difference is not emphasized, the meaning they express is the same.

[0018] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.

[0019] Please see Figure 1This invention provides a technical solution: a smart pig farming production process control system based on cloud-edge collaboration, the system comprising: The environmental data acquisition module analyzes the voltage of the temperature sensor, humidity sensor, and ammonia sensor in the pigsty and converts them into degrees Celsius, relative humidity percentage, and ammonia gas integral, respectively. It then compares the degrees Celsius, relative humidity percentage, and ammonia gas integral with the upper and lower boundaries of the corresponding environmental control intervals for the feeding stage to determine the interval position of the degrees Celsius, relative humidity percentage, and ammonia gas integral, and generates a list of pigsty environmental interval offsets. The list of environmental interval offsets includes environmental parameter category labels, interval offset direction information, and offset level assessment results. First, the system reads sensor signals from key monitoring points deployed inside the pigsty in parallel via a multi-channel analog input interface. For the pigsty temperature sensor, the system reads its output analog voltage signal, and sets the effective acquisition range of the voltage signal to be... to The corresponding physical range is to When the collected real-time voltage value is At that time, the system calls the linear transformation logic to calculate the real-time temperature in degrees Celsius. The calculation process follows For example, when the voltage is collected for At that time, the current temperature was calculated to be... Similarly, for humidity sensors, their readings are also... to The voltage signal corresponds to a relative humidity range of 0 to 100. If the voltage is collected... for Then through The calculated relative humidity percentage is For the ammonia sensor, the system reads its output. to Current signal, set the corresponding measurement range as to If the current is collected in real time for Then according to The integral of ammonia gas is calculated as follows: The system then retrieves the preset environmental control range for the "nursery period" feeding stage and sets the upper and lower boundaries of the suitable temperature range for this stage as follows: The suitable range of relative humidity is The upper limit boundary of the ammonia gas integral number is The system will compare the real-time calculated values ​​with the above boundaries, for example, for temperature. ,because The temperature was determined to be in the "low" range, and the humidity was... ,because The humidity was determined to be within the "suitable" range for ammonia. ,because The system determines that ammonia levels are in the "high" range. Based on this determination, it constructs environmental parameter category labels. For parameters deviating from the suitable range, it calculates their offset, such as temperature offset. The ammonia offset is And according to the preset offset level threshold, such as temperature offset Level 1 If the current temperature offset is determined to be level two (too low) and the ammonia offset to be level one (too high), the parameter names, the direction information of being too low or too high, and the level result of level two or one are written into the data structure to generate a list of pig house environment range offsets.

[0020] The edge response module determines the correspondence between the environmental categories listed in the pigsty environmental range offset list and the axial flow fan, wet curtain cooling device, electric heating device, and spray ammonia removal device. It reads the operating current of the axial flow fan, wet curtain cooling device, electric heating device, and spray ammonia removal device and identifies their start and stop status. It compares the start and stop status with the environmental categories listed in the pigsty environmental range offset list, triggers the corresponding relay action, and generates a pigsty on-site trigger sequence table. The on-site trigger sequence table includes the on-site environmental category index, the control object of the execution device, and the relay action timing. The system analyzes the environmental categories "low temperature" and "high ammonia" listed in the inventory list. It then queries a pre-stored equipment function mapping table, which defines the relationships as follows: "low temperature" corresponds to turning on the electric heating device or turning off the evaporative cooling pad; "high ammonia" corresponds to turning on the axial flow fan or the ammonia spray system; and "high relative humidity" corresponds to turning on the axial flow fan. Based on the aforementioned inventory list, the system identifies the controlled objects as the electric heating device, the axial flow fan, and the ammonia spray system. Subsequently, the system reads the real-time operating current of these devices using current transformers and sets a threshold value for determining the device's operating current. If the axial flow fan reading is If the reading of the electric heating device is determined to be in a stopped state, it is considered to be in a stopped state. If the system determines the device is in an operational state, it logically compares the current start / stop status of the equipment with the environmental requirements. For the "low temperature" requirement, if the electric heating device is found to be operational, the system maintains the status quo or increases the heating power level according to the offset level. For the "high ammonia" requirement, if the axial flow fan is found to be stopped, the system determines that it needs to be triggered. Based on the offset level "Level 1 High," the system selects a low-level ventilation strategy and generates the corresponding relay closing command. Simultaneously, for the situation of "suitable humidity" but "high ammonia," to avoid increasing humidity due to ammonia removal spraying, the system temporarily blocks the triggering of the ammonia removal spraying device according to logical interlocking rules, only triggering the axial flow fan relay, and recording the relay's action timestamp from opening to closing. and the corresponding device code The environmental category index "ammonia exceeding the standard", the actuator object "No. 1 axial flow fan", the relay action "engagement", and the time information are written into the log in sequence to generate a pigsty on-site trigger sequence table. The cloud-based coordination module analyzes the triggering frequency of axial flow fans and electric heating devices in each pig house in the on-site triggering sequence list. It compares the triggering frequency of each pig house with the feeding stage, filters the pig house numbers with concentrated triggering frequencies, and generates a centralized list of pig houses for control. The centralized list of pig houses for control includes the code of the centralized pig house for control, the corresponding production stage label, and the priority of control resources. The system performs time window slicing analysis on the trigger sequence list of the pigsty, setting the statistical time window to the past hour. It iterates through all records within this time window, counting the number of relay actions for the axial flow fan and electric heating device under each pigsty number. For example, in... to During the specified period, statistics were obtained. The axial flow fan in pigsty No. 1 was triggered 15 times, and the electric heating device was triggered 8 times. The axial flow fan in pig house No. 1 was triggered 3 times, and the electric heating device was triggered 2 times. The system retrieved the configuration parameters for the corresponding feeding stage of each pig house, as shown in Table 1. The standard control frequency benchmark for the "nursery period" is 6 times / hour for the fan and 4 times / hour for the heater. The system calculated the trigger frequency deviation rate for... Pigsty fan, deviation rate For heaters, deviation rate The system sets the frequency anomaly filtering threshold to be [value]. ,because The deviation rates of two devices in pig house No. 1 exceeded the threshold. The system determined that the environmental control of this pig house was in a state of fluctuation, and included it in the screening range. Simultaneously, a comparison was made... Pig pens numbered [number] had all negative deviation rates, indicating stability; therefore, they were not included. The system will then screen out [number] [pens]. Pig houses are marked as the focus of regulation, and their priorities are ranked according to the deviation rate. The higher the deviation rate, the higher the priority. The "nursery period" tag is associated with them to generate a list of pig houses for regulation.

[0021] Table 1. Equipment Trigger Frequency Reference Table during Feeding Stage Feeding stage Axial flow fan reference frequency (times / hour) Reference frequency of electric heating device (times / hour) Spraying device reference frequency (times / hour) conservation period 6 4 2 Early fattening stage 8 3 3 Late fattening stage 10 2 4 Table 1 lists the standard triggering frequency baseline values ​​for each environmental control device under different feeding stages, which are used to assess the frequency of operation of the field equipment.

[0022] The interval distribution module adjusts the upper and lower boundaries of the pig house environmental control interval corresponding to the centralized list of pig house control, maps the adjusted interval to the pig house number and writes it into the control command data frame, and generates a pig house control interval distribution record. The pig house control interval distribution record includes control interval setting parameters, distribution target pig house identifier, and control command data index. Read the list of centralized pig house control measures The "nursery period" label for pig house number [number] and the corresponding upper and lower boundaries of the environmental control zone; the current temperature range is [temperature range]. To address the high-frequency triggering of the equipment in this pigsty, the system executes an interval relaxation algorithm to reduce control sensitivity, setting the temperature range adjustment step size to [value missing]. Lower the lower limit of temperature to The upper limit has been raised to This creates a new temperature control range. Similarly, for the upper limit of ammonia control, an adjustment coefficient of 1.1 is set, adjusting the original upper limit. Adjusted to The system packages the adjusted parameter set and constructs a control command data frame. The data frame structure includes a start symbol. Target pigsty Parameter type identifier (Represents the range parameter), new lower limit of temperature (Corresponding to 21.5), new upper temperature limit (Corresponding to 26.5), new ammonia upper limit (Corresponding to 22) and the check code CRC, the system sends the data frame to the edge controller through the IoT gateway, and records the sending time, target object and specific parameter changes, and generates a pig house control zone sending record.

[0023] The production closed-loop module compares the adjusted range listed in the control zone distribution record of the pig house with the real-time collected temperature, relative humidity percentage, and ammonia gas integral. It then associates the comparison results with the relay triggering status of the axial flow fan, wet curtain cooling device, electric heating device, and spray ammonia removal device to generate cloud-edge collaborative smart pig farming production process control results. These results include environmental control effect evaluation, equipment operation coordination status, and production process safety early warning information.

[0024] The system acquires the adjusted temperature range of 21.5℃ to 26.5℃ and the ammonia upper limit of 22ppm for pig house No. 001 from the control zone distribution record in real time. Simultaneously, it collects the current real-time environmental data for that pig house. Assuming the current real-time temperature is 21.8℃ and the real-time ammonia concentration is 21ppm, the system compares these real-time values ​​with the new range. It determines that the temperature of 21.8℃ falls between 21.5℃ and 26.5℃, which is within the "suitable" range, and that the ammonia concentration of 21ppm is less than 22ppm, which is within the "qualified" range. The system then checks the current relay status of the axial flow fan and electric heating device. If both relays are currently in the off state... This indicates that the equipment did not malfunction, and the control logic was consistent with the environmental judgment results. The system calculates the control effect evaluation index. If the number of equipment triggers drops to 0 within 10 minutes after adjustment, the evaluation is "excellent". If there are still triggers, the evaluation is "poor". In the case mentioned above, the equipment stopped frequently starting and stopping, and the evaluation result is "excellent". At the same time, the system checks the equipment operation coordination status and confirms that the fan was not turned on at the same time when the temperature was at the lower limit (to avoid heat loss). The coordination status is judged as "conflict rate 0%". The system integrates the above environmental compliance status and the equipment no longer oscillating operation status to generate the cloud-edge collaborative smart pig farming production process control results.

[0025] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of protection of the described technical solutions.

Claims

1. A smart pig farming production process control system based on cloud-edge collaboration, characterized in that, The system includes: The environmental data acquisition module collects the voltage of the temperature and humidity sensor and the current of the ammonia sensor in the pigsty, converts them into degrees Celsius, relative humidity percentage and ammonia gas integral, and compares them with the upper and lower boundaries of the environmental control zone during the feeding stage to determine the zone position and generate an environmental zone offset list. The edge response module determines the relationship between the environmental category and the axial flow fan, wet curtain cooling, electric heating and spray ammonia removal device based on the environmental range offset list, reads the operating current of each device to identify start and stop, and triggers relay action by comparing with the environmental category, generating a field trigger sequence list. The cloud-based coordination module statistically analyzes the triggering frequency of axial flow fans and electric heating devices in each pig house in the on-site triggering sequence list, compares the triggering frequency with the feeding stage, selects pig house numbers with concentrated triggering frequencies as key points, and generates a centralized list of pig houses for control. The interval distribution module automatically adjusts the upper and lower boundaries of the corresponding pig house environmental control intervals according to the centralized list of pig house control, associates the adjusted intervals with the pig house numbers, writes them into the control command data frame and distributes them to the field, generating a pig house control interval distribution record. The production closed-loop module compares the adjusted control interval with the real-time collected temperature, relative humidity, and ammonia gas integral, and associates it with the relay triggering status of each actuator to generate cloud-edge collaborative smart pig farming production process control results.

2. The intelligent pig farming production process control system based on cloud-edge collaboration according to claim 1, characterized in that: The environmental range offset list includes environmental parameter category markers, range offset direction information, and offset level evaluation results.

3. The intelligent pig farming production process control system based on cloud-edge collaboration according to claim 1, characterized in that: The field trigger sequence table includes a field environment category index, the control object of the actuator, and the relay action timing.

4. The intelligent pig farming production process control system based on cloud-edge collaboration according to claim 1, characterized in that: The centralized list of pig houses for regulation includes the code of the centralized pig houses, the corresponding production stage label, and the priority of the regulation resources.

5. The intelligent pig farming production process control system based on cloud-edge collaboration according to claim 1, characterized in that: The control zone distribution record for the pigsty includes control zone setting parameters, target pigsty identifier, and control command data index.

6. The intelligent pig farming production process control system based on cloud-edge collaboration according to claim 1, characterized in that: The cloud-edge collaborative smart pig farming production process control results include environmental control effect evaluation, equipment operation and coordination status, and production process safety early warning information.