Pig farm environment control system and method

By matching the pig growth status characteristics and data in the library, and adjusting the air conditioner opening temperature in combination with the air conditioner and pig house status data, the problem of improper control of the air conditioner in the pig house is solved, improving breeding benefits and reducing costs.

CN119396231AInactive Publication Date: 2025-02-07四川德康农牧食品集团股份有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411512151.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2025-02-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When the air conditioner in the pig house is turned on, improper temperature control may affect the health and growth of the pig, increase breeding costs and reduce breeding benefits.

Method used

By obtaining the growth status characteristics of the pigs in the target pig house and matching them with the growth status feature library, the target ambient temperature is determined; the air conditioner's opening temperature is determined based on the target ambient temperature and the actual ambient temperature; obtaining the air conditioner and pig house status data, and calculating Temperature influence coefficient, and adjust the air conditioner turn-on temperature according to the coefficient and target ambient temperature.

Benefits of technology

Ensure the appropriate temperature in the pig house, reduce the negative impact of heat stress on pigs, improve breeding efficiency, and reduce breeding costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396231A_ABST
    Figure CN119396231A_ABST
Patent Text Reader

Abstract

The invention discloses a pig farm environment control system and method, and particularly relates to the technical field of pig farm environment control. Pig growth state characteristics of a target pig house are obtained, the pig growth state characteristics are matched with a growth state characteristic library, and the target environment temperature of the target pig house is determined; determining a first starting temperature of the corresponding air conditioner according to the target environment temperature and the actual environment temperature of the target hog house; air conditioner state data and hog house state data of the target hog house are obtained, a temperature influence coefficient is obtained according to the air conditioner state data and the hog house state data, a second starting temperature of the air conditioner is obtained according to the temperature influence coefficient and the target environment temperature, and starting of the air conditioner corresponding to the target hog house is controlled according to the second starting temperature; therefore, when the air conditioner of the pig house is started actually, the temperature of the air conditioner can be controlled according to actual conditions, health and growth of pigs are ensured, the breeding cost is reduced, and the breeding benefits are increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of pig farm environment control, and in particular to a pig farm environment control system and method. Background Art

[0002] A pig farm is a place dedicated to raising pigs, mainly including feeding areas, breeding areas, feed areas, water source areas, sewage systems, disease prevention and control areas, and office areas. It provides a suitable environment and facilities to ensure the healthy growth and efficient production of pigs. Scientific management and technology application are essential in pig farms to improve breeding efficiency and economic benefits; Among them, the feeding area is a more important area for pig farming, especially in summer. In order to cope with the impact of high temperature on pigs, environmental control in the feeding area is particularly important. High temperature can cause heat stress in pigs, affecting their appetite, health and production performance. Therefore, in summer, the management of the feeding area needs to pay special attention to the implementation of cooling measures. Some pig farms will turn on the air conditioner to cool down the pig house to ensure that the temperature in the pig house is kept at a suitable level. Appropriate temperature control measures can effectively reduce the negative impact of heat stress on pigs, maintain their normal feed intake and growth rate, and thus improve breeding efficiency.

[0003] However, when the air conditioning in the actual pig house is turned on, if the air conditioning temperature is not properly controlled, it may affect the health and growth of the pigs, increase breeding costs, and reduce breeding benefits. Summary of the invention

[0004] The purpose of the present invention is to solve the problem and to propose a pig farm environment control system and method.

[0005] In the first aspect of the present invention, a method for controlling the environment of a pig farm is first proposed, the method comprising: Obtain the growth status characteristics of the pigs in the target pig house, and match the growth status characteristics of the pigs with the growth status characteristic library to determine the ambient temperature corresponding to the target pig house as the target ambient temperature; Determine the first opening temperature of the corresponding air conditioner according to the target ambient temperature and the actual ambient temperature of the target pig house; Acquire the air conditioning status data and the pig house status data of the target pig house, and obtain the temperature influence coefficient according to the air conditioning status data and the pig house status data; The second opening temperature of the air conditioner is obtained according to the temperature influence coefficient and the target ambient temperature, and the opening of the air conditioner of the corresponding target pig house is controlled according to the second opening temperature.

[0006] Optionally, matching the pig growth status characteristics with the growth status characteristic library to determine the ambient temperature corresponding to the target pig house includes: Pre-process the actual growth status characteristics of each pig in the target pig house; For each growth state in the growth state feature library, extract all corresponding feature data; Construct and calculate a distance matrix, in which each element represents the distance between the characteristic data point of the actual growth state of the pig and the characteristic data point corresponding to each growth state in the growth state characteristic library; Use dynamic programming algorithm to calculate the shortest path in the distance matrix; According to the calculated shortest path, the actual growth status data sequence of the pigs is aligned with the feature sequence corresponding to each growth status in the growth status feature library; Calculate the similarity between the aligned actual growth status data sequence of the pigs and the feature sequence corresponding to each growth status in the growth status feature library; When the similarity is greater than a preset threshold, the growth state in the growth state feature library that best matches the actual growth state feature of the pigs in the target pig house is selected; The ambient temperature corresponding to the growth state is taken as the preliminary target temperature; Calculate the mean of the preliminary target temperatures for each pig in the target pig house and use it as the target ambient temperature.

[0007] Optionally, determining the first opening temperature of the corresponding air conditioner according to the target ambient temperature and the actual ambient temperature of the target pig house includes: When the target ambient temperature of the target pig house is not less than the actual ambient temperature, there is no need to turn on the air conditioner; When the target ambient temperature of the target pig house is lower than the actual ambient temperature, the target ambient temperature is used as the first opening temperature.

[0008] Optionally, the air conditioning state data includes a refrigeration efficiency reduction coefficient, and the refrigeration efficiency reduction coefficient is obtained by: The inlet and outlet temperature difference and air volume of the target pig house air conditioner are obtained to calculate the actual cooling capacity. The calculation formula is: , where is the actual cooling capacity, , , and They are the specific heat capacity of air (usually 1.005 kJ / (kg·K)), air volume, and inlet and outlet temperatures; The actual cooling capacity Divide by the rated cooling capacity , and the refrigeration efficiency reduction coefficient is obtained , the calculation formula is: .

[0009] Optionally, the pig house status data includes a pig house coefficient, and the method for obtaining the pig house coefficient is: Obtain the current pig house density and standard pig house density in the target pig house, and divide the current pig house density by the standard pig house density to obtain the pig house density coefficient. The calculation formula is: , where is the pig house density coefficient, and They are the current pig house density and the standard pig house density; Get the current pig house humidity and standard pig house humidity in the target pig house, and divide the current pig house humidity by the standard pig house humidity to get the pig house humidity coefficient. The calculation formula is: , where is the humidity coefficient of the pig house, and They are the current pig house humidity and the standard pig house humidity respectively; Calculate the pig house coefficient, the calculation formula is: ; In the formula, is the pig house coefficient, are the preset proportional coefficients of the pig house density coefficient and the pig house humidity coefficient, respectively, and Both are greater than 0.

[0010] Optionally, the temperature influence coefficient obtained according to the air conditioning status data and the pig house status data includes: The air conditioning status data includes a cooling efficiency reduction coefficient, and the pig house status data includes a pig house coefficient. The temperature influence coefficient is obtained according to the cooling efficiency reduction coefficient and the pig house coefficient. The calculation formula is: ; In the formula, is the temperature influence coefficient, are preset proportional coefficients for the cooling efficiency reduction coefficient and the pig house coefficient, respectively, and Both are greater than 0.

[0011] Optionally, obtaining the second opening temperature of the air conditioner according to the temperature influence coefficient and the target ambient temperature includes:

[0012] In the formula, is the second opening temperature, is the target ambient temperature, is the temperature influence coefficient.

[0013] In a second aspect of the present invention, a pig farm environment control system is provided, the system comprising: Target ambient temperature module: obtains the growth status characteristics of the pigs in the target pig house, matches the growth status characteristics of the pigs with the growth status characteristic library, and determines the ambient temperature corresponding to the target pig house as the target ambient temperature; First opening temperature module: determines the first opening temperature of the corresponding air conditioner according to the target ambient temperature and the actual ambient temperature of the target pig house; Temperature influence module: obtain the air conditioning status data and pig house status data of the target pig house, and obtain the temperature influence coefficient according to the air conditioning status data and pig house status data; Air conditioning start module: obtains the second start temperature of the air conditioner according to the temperature influence coefficient and the target ambient temperature, and controls the start of the air conditioner of the corresponding target pig house according to the second start temperature.

[0014] Beneficial effects of the present invention: The present invention proposes a pig farm environment control system and method, which obtains the growth status characteristics of pigs in a target pig house and matches the growth status characteristics of the pigs with a growth status characteristic library to determine the target ambient temperature of the target pig house, and then determines the first opening temperature of the corresponding air conditioner according to the target ambient temperature of the target pig house and the actual ambient temperature; then obtains the air conditioning status data and the pig house status data of the target pig house, obtains the temperature influence coefficient according to the air conditioning status data and the pig house status data, obtains the second opening temperature of the air conditioner according to the temperature influence coefficient and the target ambient temperature, and controls the opening of the air conditioner of the corresponding target pig house according to the second opening temperature; in this way, when the air conditioner of the actual pig house is turned on, the air conditioning temperature can be controlled according to the actual situation to ensure the health and growth of the pigs, reduce breeding costs, and increase breeding benefits. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The present invention will be further described below in conjunction with the accompanying drawings.

[0016] Figure 1 A flow chart of a pig farm environment control method is provided for an embodiment of the present invention; Figure 2 A framework diagram of a pig farm environment control system is provided for an embodiment of the present invention. DETAILED DESCRIPTION

[0017] 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.

[0018] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative work shall fall within the scope of protection of the present invention.

[0019] The embodiment of the present invention provides a method for controlling the environment of a pig farm. Figure 1 , Figure 1 A flow chart of a pig farm environment control method provided by an embodiment of the present invention. The method comprises the following steps: Obtain the growth status characteristics of the pigs in the target pig house, and match the growth status characteristics of the pigs with the growth status characteristic library to determine the ambient temperature corresponding to the target pig house as the target ambient temperature; Determine the first opening temperature of the corresponding air conditioner according to the target ambient temperature and the actual ambient temperature of the target pig house; Acquire the air conditioning status data and the pig house status data of the target pig house, and obtain the temperature influence coefficient according to the air conditioning status data and the pig house status data; The second opening temperature of the air conditioner is obtained according to the temperature influence coefficient and the target ambient temperature, and the opening of the air conditioner of the corresponding target pig house is controlled according to the second opening temperature.

[0020] A pig farm environment control method provided by an embodiment of the present invention obtains the growth status characteristics of the pigs in the target pig house, matches the growth status characteristics of the pigs with a growth status characteristic library, determines the target ambient temperature of the target pig house, and then determines the first opening temperature of the corresponding air conditioner according to the target ambient temperature of the target pig house and the actual ambient temperature; then obtains the air conditioning status data and the pig house status data of the target pig house, obtains the temperature influence coefficient according to the air conditioning status data and the pig house status data, obtains the second opening temperature of the air conditioner according to the temperature influence coefficient and the target ambient temperature, and controls the opening of the air conditioner of the corresponding target pig house according to the second opening temperature; in this way, when the air conditioner in the actual pig house is turned on, the air conditioning temperature can be controlled according to the actual situation to ensure the health and growth of the pigs, reduce breeding costs, and increase breeding benefits.

[0021] In one embodiment, matching the pig growth status characteristics with the growth status characteristic library to determine the ambient temperature corresponding to the target pig house includes: Preprocess the actual growth status characteristics of each pig in the target pig house; this includes data cleaning, normalization and organization to ensure data consistency and accuracy.

[0022] Construct a distance matrix: For each growth state in the growth state feature library, extract all corresponding feature data; Construct and calculate a distance matrix, in which each element represents the distance between the characteristic data point of the actual growth state of the pig and the characteristic data point corresponding to each growth state in the growth state characteristic library; these distances can be expressed in metrics such as Euclidean distance and Manhattan distance; Dynamic programming to calculate the shortest path: Use a dynamic programming algorithm (such as the dynamic time warping (DTW) algorithm) to calculate the shortest path in the distance matrix. This step aims to find the shortest path between the actual growth status data sequence of the pig and all feature sequences corresponding to each growth status in the growth status feature library; Align data sequences: According to the calculated shortest path, the actual growth status data sequence of the pigs is aligned with the feature sequence corresponding to each growth status in the growth status feature library; this step allows the two sequences to be aligned in time for accurate comparison; Calculate similarity: Calculate the similarity between the aligned actual growth status data sequence of the pigs and the feature sequence corresponding to each growth status in the growth status feature library; the similarity can be calculated by methods such as cosine similarity and Pearson correlation coefficient; Determine target growth status: When the similarity is greater than a preset threshold, the growth state in the growth state feature library that best matches the actual growth state feature of the pigs in the target pig house is selected; The ambient temperature corresponding to the growth state is taken as the preliminary target temperature; Calculate the target ambient temperature: Calculate the mean of the preliminary target temperatures for each pig in the target house and use it as the target ambient temperature.

[0023] It should be noted that the above steps are illustrated by examples: Pre-process the actual growth status characteristics of each pig in the target pig house; Example: Assume there are three pigs in the target pig house, and record their actual growth status characteristics, including weight (kg), age (weeks) and health score (1-10). Preprocess these data, for example: Data cleaning: remove missing values ​​or outliers.

[0024] Normalization: Weight data is standardized to a range of 0 to 1, and health scores are adjusted proportionally.

[0025] Arrangement: Integrate the preprocessed data into a unified format to facilitate subsequent calculations.

[0026] Construct a distance matrix: Example: There are three growth states in the growth state feature library, and each growth state has feature data of weight, age and health score. For each growth state, extract these feature data and calculate the distance between the actual growth state feature data points of the pig and these feature data points. For example: Growth status A: weight (30-35 kg), age (12-16 weeks), health score (6-8); Growth status B: weight (25-30 kg), age (8-12 weeks), health score (5-7); Growth status C: weight (35-40 kg), age (16-20 weeks), health score (7-9); Calculate the distance of the actual data of the pig (such as weight 32kg, age 14 weeks, health score 7). Use Euclidean distance calculation: ; ; ; , , is the Euclidean distance of weight, age, and age; Dynamic programming to calculate the shortest path; Example: Use the dynamic time warping (DTW) algorithm to calculate the shortest path. Assume that the distance matrix is ​​as follows: Distance matrix D: ; Calculate the shortest path between the actual growth state data sequence of the pig and each growth state in the growth state feature library. For example, determine the shortest matching path between the pig growth state sequence and growth state A through dynamic programming.

[0027] Align data sequences: Example: Align the actual growth status sequence of pigs with the feature sequence of growth status A according to the shortest path. Assume that the aligned data is as follows: Weight after alignment: 32kgvs32.5kg; Age after alignment: 14 weeks vs 14 weeks; Health score after alignment: 7vs7.5; Calculate similarity: Example: Calculate the similarity between the aligned data sequence and growth state A. Use cosine similarity for calculation:

[0028] The above calculation result is approximately 1.0002, which may indicate that the actual growth state of the pigs is more similar to growth state A; Determine target growth status: Example: Assume that the calculation result shows that the similarity with growth state A is greater than a preset threshold (e.g., 0.8). Therefore, growth state A is selected as the target growth state, and its corresponding ambient temperature (e.g., 22°C) is selected as the preliminary target temperature.

[0029] Calculate the target ambient temperature: Example: If the actual growth status characteristics of multiple pigs in the target pig house all match growth status A, then the target ambient temperature is the temperature corresponding to growth status A. If there are different preliminary target temperature values, take the average of these temperatures as the target ambient temperature. For example: Initial target temperature for pig 1: 22°C; Initial target temperature for pig 2: 22°C; Initial target temperature for pig 3: 22°C; The target ambient temperature is calculated to be 22°C; Through the above steps, the ambient temperature of the target pig house can be determined to ensure that the pigs grow in a suitable environment and improve breeding efficiency.

[0030] In one implementation, accurate adjustment of the ambient temperature is ensured by matching the actual growth status characteristics of the pigs in the target pig house with various characteristics in the growth status feature library. Through data preprocessing, distance matrix calculation, dynamic programming alignment and similarity calculation, the growth state that best matches the growth state of the target pig house can be effectively identified. The advantage of this method is that it comprehensively considers the matching degree between historical data and current growth status, ensures accurate setting of ambient temperature, and thus improves the controllability of pig health and production efficiency. At the same time, the target ambient temperature obtained by mean calculation can effectively balance individual differences and provide a more stable breeding environment.

[0031] In one embodiment, determining the first opening temperature of the corresponding air conditioner according to the target ambient temperature and the actual ambient temperature of the target pig house includes: When the target ambient temperature of the target pig house is not less than the actual ambient temperature, there is no need to turn on the air conditioner; When the target ambient temperature of the target pig house is lower than the actual ambient temperature, the target ambient temperature is used as the first opening temperature.

[0032] It should be noted that this method uses a simple temperature comparison to determine whether the air conditioner needs to be turned on and to set the initial start-up temperature of the air conditioner. When the target ambient temperature has reached or exceeded the actual ambient temperature, the temperature conditions in the pig house have met the growth needs and there is no need to turn on the air conditioner. However, when the actual ambient temperature exceeds the target ambient temperature, the temperature must be lowered by air conditioning. At this time, the target ambient temperature is directly set as the first start-up temperature of the air conditioner to ensure that the ideal temperature conditions can be quickly reached, thereby ensuring the comfort and healthy growth of the pigs.

[0033] In one embodiment, the air conditioning state data includes a refrigeration efficiency reduction coefficient, and the method for obtaining the refrigeration efficiency reduction coefficient is: The inlet and outlet temperature difference and air volume of the target pig house air conditioner are obtained to calculate the actual cooling capacity. The calculation formula is: , where is the actual cooling capacity, , , and They are the specific heat capacity of air (usually 1.005 kJ / (kg·K)), air volume, and inlet and outlet temperatures; The actual cooling capacity Divide by the rated cooling capacity , and the refrigeration efficiency reduction coefficient is obtained , the calculation formula is: .

[0034] It should be noted that the inlet and outlet temperature difference and air volume of the target pig house air conditioner can be directly obtained from historical data records; in addition, the rated cooling capacity can be directly obtained through the production manual of the air conditioner, or other methods, which are not specifically limited.

[0035] It should be noted that the cooling efficiency reduction coefficient refers to the difference between the actual cooling capacity of the air conditioner and the rated cooling capacity; the greater the difference between the actual cooling capacity and the rated cooling capacity of the air conditioner, the more it is necessary to appropriately lower the temperature at which the air conditioner in the target pig house is turned on, because if the actual cooling capacity of the air conditioner is significantly lower than its rated cooling capacity, it means that the performance of the air conditioner has declined or is affected by some external factors, resulting in it being unable to effectively reduce the temperature in the pig house. In this case, in order to make up for the lack of cooling capacity, the set temperature of the air conditioner must be appropriately lowered. This is because when the cooling efficiency is reduced, even if the air conditioner is set within the usual temperature range, it may not be able to provide enough cold air to maintain the ideal ambient temperature of the pig house. By lowering the set temperature of the air conditioner, the cooling time can be extended or the cooling effect can be enhanced to a certain extent, thereby ensuring that the pigs grow in a suitable temperature environment, avoiding stress reactions caused by excessively high temperatures, and ultimately ensuring breeding benefits.

[0036] In one embodiment, the pig house status data includes a pig house coefficient, and the method for obtaining the pig house coefficient is: Obtain the current pig house density and standard pig house density in the target pig house, and divide the current pig house density by the standard pig house density to obtain the pig house density coefficient. The calculation formula is: , where is the pig house density coefficient, and They are the current pig house density and the standard pig house density; Get the current pig house humidity and standard pig house humidity in the target pig house, and divide the current pig house humidity by the standard pig house humidity to get the pig house humidity coefficient. The calculation formula is: , where is the humidity coefficient of the pig house, and They are the current pig house humidity and the standard pig house humidity respectively; Calculate the pig house coefficient, the calculation formula is: ; In the formula, is the pig house coefficient, are the preset proportional coefficients of the pig house density coefficient and the pig house humidity coefficient, respectively, and Both are greater than 0.

[0037] It should be noted that the standard pig house density and standard pig house density are set by professionals according to actual conditions, and no specific restrictions or elaborations are made. It is also set by professionals according to the actual situation. Generally, The sum of is 1, for example They can be 0.5, 0.5, or other numbers respectively, and are not specifically limited.

[0038] It should be noted that the current pig house density can be directly obtained based on the staff's records, or it can be obtained by other means, without specific limitation; the current pig house humidity can be directly obtained through the humidity sensor in the target pig house, or it can be obtained by other means, without specific limitation.

[0039] It should be noted that the pig house coefficient refers to the difference between the current pig house density and the standard pig house density of the target pig house, as well as the difference between the current pig house humidity and the standard pig house humidity; if the current pig house density is greater than the standard pig house density, and the current pig house humidity is greater than the standard pig house humidity, it indicates that the target pig house air conditioner opening temperature needs to be appropriately lowered, because in a high-density and high-humidity environment, pigs are prone to heat stress, which will affect their growth and health. Appropriately lowering the opening temperature of the air conditioner can more effectively remove excess heat and moisture in the pig house, thereby creating a more comfortable growth environment, reducing the incidence of disease, and improving the overall production performance of the pig herd.

[0040] In one embodiment, the temperature influence coefficient is obtained according to the air conditioning status data and the pig house status data, including: The air conditioning status data includes a cooling efficiency reduction coefficient, and the pig house status data includes a pig house coefficient. The temperature influence coefficient is obtained according to the cooling efficiency reduction coefficient and the pig house coefficient. The calculation formula is: ; In the formula, is the temperature influence coefficient, are preset proportional coefficients for the cooling efficiency reduction coefficient and the pig house coefficient, respectively, and Both are greater than 0.

[0041] It should be noted that It is set by professionals according to the actual situation. Generally, The sum of is 1, for example They can be 0.5, 0.5, or other numbers respectively, and are not specifically limited.

[0042] In one embodiment, obtaining the second opening temperature of the air conditioner according to the temperature influence coefficient and the target ambient temperature includes:

[0043] In the formula, is the second opening temperature, is the target ambient temperature, is the temperature influence coefficient.

[0044] In one implementation method, through the above method, when the air conditioner in the actual pig house is turned on, the air conditioner temperature can be controlled according to the actual situation to ensure the health and growth of the pigs, reduce breeding costs, and increase breeding benefits.

[0045] Based on the same inventive concept, the present invention also provides a pig farm environment control system. Figure 2 , Figure 2 A framework diagram of a pig farm environment control system provided by an embodiment of the present invention includes: Target ambient temperature module: obtains the growth status characteristics of the pigs in the target pig house, matches the growth status characteristics of the pigs with the growth status characteristic library, and determines the ambient temperature corresponding to the target pig house as the target ambient temperature; First opening temperature module: determines the first opening temperature of the corresponding air conditioner according to the target ambient temperature and the actual ambient temperature of the target pig house; Temperature influence module: obtain the air conditioning status data and pig house status data of the target pig house, and obtain the temperature influence coefficient according to the air conditioning status data and pig house status data; Air conditioning start module: obtains the second start temperature of the air conditioner according to the temperature influence coefficient and the target ambient temperature, and controls the start of the air conditioner of the corresponding target pig house according to the second start temperature.

[0046] A pig farm environment control system provided based on an embodiment of the present invention obtains the growth status characteristics of the pigs in the target pig house and matches the growth status characteristics of the pigs with a growth status characteristic library to determine the target ambient temperature of the target pig house, and then determines the first opening temperature of the corresponding air conditioner according to the target ambient temperature of the target pig house and the actual ambient temperature; then obtains the air conditioning status data and the pig house status data of the target pig house, obtains the temperature influence coefficient according to the air conditioning status data and the pig house status data, obtains the second opening temperature of the air conditioner according to the temperature influence coefficient and the target ambient temperature, and controls the opening of the air conditioner of the corresponding target pig house according to the second opening temperature; in this way, when the air conditioner in the actual pig house is turned on, the air conditioning temperature can be controlled according to the actual situation to ensure the health and growth of the pigs, reduce breeding costs, and increase breeding benefits.

[0047] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A method for controlling the environment of a pig farm, characterized in that: The following steps are involved: Obtain the growth status characteristics of the pigs in the target pig house, and match the growth status characteristics of the pigs with the growth status characteristic library to determine the ambient temperature corresponding to the target pig house as the target ambient temperature; Determine the first opening temperature of the corresponding air conditioner according to the target ambient temperature and the actual ambient temperature of the target pig house; Acquire the air conditioning status data and the pig house status data of the target pig house, and obtain the temperature influence coefficient according to the air conditioning status data and the pig house status data; The second opening temperature of the air conditioner is obtained according to the temperature influence coefficient and the target ambient temperature, and the opening of the air conditioner of the corresponding target pig house is controlled according to the second opening temperature.

2. A pig farm environment control method according to claim 1, characterized in that: Matching the pig growth status characteristics with the growth status characteristic library to determine the corresponding environmental temperature of the target pig house includes: Pre-process the actual growth status characteristics of each pig in the target pig house; For each growth state in the growth state feature library, extract all corresponding feature data; Construct and calculate a distance matrix, in which each element represents the distance between the characteristic data point of the actual growth state of the pig and the characteristic data point corresponding to each growth state in the growth state characteristic library; Use dynamic programming algorithm to calculate the shortest path in the distance matrix; According to the calculated shortest path, the actual growth status data sequence of the pigs is aligned with the feature sequence corresponding to each growth status in the growth status feature library; Calculate the similarity between the aligned actual growth status data sequence of the pigs and the feature sequence corresponding to each growth status in the growth status feature library; When the similarity is greater than a preset threshold, the growth state in the growth state feature library that best matches the actual growth state feature of the pigs in the target pig house is selected; The ambient temperature corresponding to the growth state is taken as the preliminary target temperature; Calculate the mean of the preliminary target temperatures for each pig in the target pig house and use it as the target ambient temperature.

3. A pig farm environment control method according to claim 1, characterized in that: Determining the first opening temperature of the corresponding air conditioner according to the target ambient temperature and the actual ambient temperature of the target pig house includes: When the target ambient temperature of the target pig house is not less than the actual ambient temperature, there is no need to turn on the air conditioner; When the target ambient temperature of the target pig house is lower than the actual ambient temperature, the target ambient temperature is used as the first opening temperature.

4. A pig farm environment control method according to claim 1, characterized in that: The air conditioning state data includes a refrigeration efficiency reduction coefficient, and the refrigeration efficiency reduction coefficient is obtained by: The inlet and outlet temperature difference and air volume of the target pig house air conditioner are obtained to calculate the actual cooling capacity. The calculation formula is: , where is the actual cooling capacity, , , and They are the specific heat capacity of air (usually 1.005 kJ / (kg·K)), air volume, and inlet and outlet temperatures; The actual cooling capacity Divide by the rated cooling capacity , and the refrigeration efficiency reduction coefficient is obtained , the calculation formula is: .

5. A pig farm environment control method according to claim 1, characterized in that: The pig house status data includes a pig house coefficient, and the method for obtaining the pig house coefficient is: Obtain the current pig house density and standard pig house density in the target pig house, and divide the current pig house density by the standard pig house density to obtain the pig house density coefficient. The calculation formula is: , where is the pig house density coefficient, and They are the current pig house density and the standard pig house density; Get the current pig house humidity and standard pig house humidity in the target pig house, and divide the current pig house humidity by the standard pig house humidity to get the pig house humidity coefficient. The calculation formula is: , where is the humidity coefficient of the pig house, and They are the current pig house humidity and the standard pig house humidity respectively; Calculate the pig house coefficient, the calculation formula is: ; In the formula, is the pig house coefficient, are the preset proportional coefficients of the pig house density coefficient and the pig house humidity coefficient, respectively, and Both are greater than 0.

6. A pig farm environment control method according to claim 1, characterized in that: The temperature influence coefficients obtained based on the air conditioning status data and the pig house status data include: The air conditioning status data includes a cooling efficiency reduction coefficient, and the pig house status data includes a pig house coefficient. The temperature influence coefficient is obtained according to the cooling efficiency reduction coefficient and the pig house coefficient. The calculation formula is: ; In the formula, is the temperature influence coefficient, are preset proportional coefficients for the cooling efficiency reduction coefficient and the pig house coefficient, respectively, and Both are greater than 0.

7. A pig farm environment control method according to claim 1, characterized in that: The second opening temperature of the air conditioner is obtained according to the temperature influence coefficient and the target ambient temperature, including: In the formula, is the second opening temperature, is the target ambient temperature, is the temperature influence coefficient.

8. A pig farm environment control system, characterized in that: The system comprises: Target ambient temperature module: obtains the growth status characteristics of the pigs in the target pig house, matches the growth status characteristics of the pigs with the growth status characteristic library, and determines the ambient temperature corresponding to the target pig house as the target ambient temperature; First opening temperature module: determines the first opening temperature of the corresponding air conditioner according to the target ambient temperature and the actual ambient temperature of the target pig house; Temperature influence module: obtain the air conditioning status data and pig house status data of the target pig house, and obtain the temperature influence coefficient according to the air conditioning status data and pig house status data; Air conditioning start module: obtains the second start temperature of the air conditioner according to the temperature influence coefficient and the target ambient temperature, and controls the start of the air conditioner of the corresponding target pig house according to the second start temperature.