Dairy cow precision feeding system and method

The precision dairy cow feeding system uses RFID and sensors combined with AI models to dynamically adjust the cows' feeding area and feed formula, solving the problem of feed delivery uncertainty in traditional feeding methods and improving the cows' growth efficiency and resource utilization.

CN123147464APending Publication Date: 2026-11-24HEBEI AGRICULTURAL UNIV.
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611181747.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-05
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Traditional artificial feeding methods result in uncertain feed amounts, which can easily lead to overfeeding or underfeeding, affecting livestock growth and development, and also resulting in resource waste.

Method used

The precision dairy cow feeding system utilizes components such as RFID reading devices, weight sensors, and environmental monitoring sensors, combined with AI models, to dynamically adjust the dairy cows' feeding areas and feed formulations, providing precise feeding based on the cows' growth, health status, and reproductive stage.

Benefits of technology

It enables precision feeding of dairy cows, improves feeding efficiency and scientific rigor, ensures that each dairy cow can grow in the most suitable environment and feed formula, and reduces resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123147464A_ABST
    Figure CN123147464A_ABST
Patent Text Reader

Abstract

This invention patent applies to the field of animal husbandry technology, providing a precision dairy cow feeding system and method. In this system, an RFID reader identifies and determines the cow number of a cow approaching the access control system. The access control system opens the corresponding channel based on the cow information, with each channel corresponding to a feeding area. Each feeding area has a feed trough equipped with an RFID reader and a weight sensor. The electronic device establishes a dataset based on time information, including cow number, channel information, real-time weight, feed trough identification, temperature, humidity, and air quality. It calculates the cow's feeding efficiency based on the amount and duration of feed in different feed troughs, updates the cow information based on the feeding efficiency, and adjusts the channel allocation strategy for the cow's next passage through the access control system, guiding it to a feeding area with high feeding efficiency. An AI model is trained based on the dataset to accurately measure the cow's production performance, environment, and health. This application can improve the efficiency and scientific nature of dairy cow feeding, and increase the growth and production efficiency of dairy cows.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of feeding technology, specifically to a precision feeding system and method for dairy cows. Background Technology

[0002] In recent years, animal husbandry has gradually evolved from traditional free-range farming to intensive, factory-scale breeding. During this process, workers need to feed the livestock regularly. However, traditional manual feeding relies on experience to control the amount of feed, which, due to its inherent uncertainty, results in inconsistent feed amounts each time, easily leading to overfeeding or underfeeding. Overfeeding leads to waste, while underfeeding is detrimental to livestock growth and development. Therefore, there is a need to research a system capable of precision feeding. Summary of the Invention

[0003] In view of this, embodiments of this application provide a precision feeding system and method for dairy cows, which can precisely feed dairy cows based on information such as their growth and physical condition, thereby improving feeding efficiency and scientific rigor.

[0004] To achieve the above objectives, this application adopts the following technical solution:

[0005] In a first aspect, embodiments of this application provide a precision dairy cow feeding system, including an identification device, a first RFID reader, a second RFID reader, a weight sensor, an environmental monitoring sensor, an access control system, and electronic equipment;

[0006] The identification device is installed on each cow;

[0007] The first RFID reader is installed in a passage close to the access control system to identify cows that are close to the access control system and send the identified cow number to the access control system.

[0008] The access control system is used to determine the cow information based on the first cow number, and open the corresponding channel according to the cow information. Each channel corresponds to a feeding area. The feeding area is divided according to the cow's production status, health status and reproductive stage. Each feeding area is equipped with multiple feeding troughs. Each feeding trough is equipped with a second RFID reader and a weight sensor. The cow information includes the cow's feed intake, feeding time and weight.

[0009] The second RFID reader is used to read the second cow number of the dairy cow feeding in the trough, and send the second cow number and the trough identifier to the electronic device;

[0010] The weight sensor is installed at the bottom of the feed trough to acquire real-time weight data of the feed in the feed trough and send the real-time weight data and feed trough identification to the electronic device.

[0011] The environmental monitoring sensors are installed in each breeding area to collect environmental data of the breeding area and send the environmental data to the electronic device. The environmental data includes temperature, humidity and air quality.

[0012] The electronic device is configured to: establish a dataset based on time information, including the first cow number, channel information, second cow number, real-time weight data, trough identification, temperature and humidity, and air quality; calculate the individual feeding efficiency of each cow based on the amount of feed and feeding time in different troughs; update the cow information based on the individual feeding efficiency; dynamically adjust the channel allocation strategy when the cow passes through the access control system next time, guiding it to the feeding area with the highest feeding efficiency; and train an AI model based on the dataset to accurately measure the cow's production performance, environment, and health.

[0013] Based on the first aspect, in some embodiments, the second RFID reader reads data once every preset time interval and sends the second cow number and reading time to an electronic device; wherein, if there is a cow eating at the trough, the second RFID reader reads the second cow number; if there is no cow eating at the trough, the second RFID reader reads no data.

[0014] The weight sensor is installed at the bottom of the feeding trough to acquire the weight data of the feeding trough in real time and send the reading time and weight data to the electronic device.

[0015] The electronic device is used to determine the individual cow feeding in the trough, the amount of feed consumed, and the feeding time based on the second cow number and reading time sent by the second RFID reader in the same trough, as well as the weight data and reading time sent by the weight sensor.

[0016] Based on the first aspect, in some embodiments, the access control system includes a PLC controller and multiple hydraulic doors, each hydraulic door corresponding to a feeding area. The PLC controller controls a certain hydraulic door to open according to the cow information and preset rules, so that the cow can enter the corresponding feeding area to eat.

[0017] A weighing system is also installed on the ground in front of the access control system. The weighing system reads the weight of the cow and sends it to the electronic device. The electronic device records the weight change data of each cow over time based on the cow's weight and the first cow number.

[0018] Based on the first aspect, in some embodiments, the step of calculating the individual feeding efficiency of each cow based on the amount of feed and the duration of feeding in different troughs, updating the cow information based on the individual feeding efficiency, and dynamically adjusting the channel allocation strategy when the cow passes through the access control system next time, guiding it to the feeding area with the highest feeding efficiency, includes:

[0019] Extract the second cow number, single feed amount, and feeding duration corresponding to each feed trough from the dataset. Classify the cows based on the feed amount and feeding duration of the same second cow number in different feed troughs, and calculate the feeding rate of the cow in each feed trough. The feeding rate = single feed amount / feeding duration.

[0020] Based on the feeding rate of the same cow in each trough and the cow's historical weight change data, the individual feeding efficiency index of the cow in each trough is calculated. The individual feeding efficiency index is positively correlated with the feeding rate and the weight gain rate corresponding to the trough.

[0021] The individual feeding efficiency index of the cow in each feeding trough is compared to determine the feeding area corresponding to the feeding trough with the highest individual feeding efficiency index. The channel allocation parameters of the cow in the access control system are then updated.

[0022] When the cow arrives at the access control system again, the access control system opens the channel corresponding to the feeding area with the highest individual feeding efficiency index according to the updated channel allocation parameters.

[0023] Based on the first aspect, in some embodiments, calculating the individual feeding efficiency index of the cow in each feeding trough based on the cow's feeding rate in each trough and the cow's historical weight change data includes:

[0024] Calculate the average feeding rate V of the same cow in the target feed trough based on its feeding records for each feeding session. ij , Where i is the cow's ID, j is the trough ID, k is the number of feeding sessions, and W... ijk Let T be the amount of feed that the i-th cow takes in the k-th feeding at the j-th trough. ijk This corresponds to the eating duration;

[0025] The weighing system records the cow's weight during its entry into the feeding area containing the target feed trough and after its departure from the feeding area. The system then calculates the cow's rate of weight change per unit time within the feeding area containing the target feed trough. ,in Let be the weight change of the i-th cow during the feeding area where the j-th trough is located. The duration corresponding to the weight change;

[0026] Calculate the individual feeding efficiency index of the cow in the target trough. , where F ij Let F be the feeding frequency of the i-th cow in the j-th trough. ij It equals the total number of times the cow ate at the target feed trough divided by the total time the cow stayed at the target feed trough. , , For the preset weighting coefficients, and .

[0027] Based on the first aspect, in some embodiments, the electronic device trains an AI model based on the dataset to accurately measure the dairy cow's production performance, environment, and health, specifically including:

[0028] Feeding behavior features, environmental correlation features, temporal features, and cattle status features are extracted from the dataset. The feeding behavior features include single feed intake, average daily feeding frequency, and feeding interval patterns. The environmental correlation features include the correlation between temperature and feed intake and the influence coefficient of humidity fluctuations. The temporal features include historical feed intake trends and periodic pattern recognition. The cattle status features include feed intake change rate and weight gain index.

[0029] AI models are trained based on feeding behavior characteristics, environmental correlation characteristics, temporal characteristics, and cattle status characteristics. The trained AI models are then used to accurately measure the production performance, environment, and health of each dairy cow.

[0030] Based on the first aspect, in some embodiments, the electronic device is specifically used for:

[0031] The nutritional requirements for dairy cow growth and milk production are calculated based on each cow's growth or production stage, weight, and production data.

[0032] Based on the growth and nutritional needs of dairy cows, the nutritional needs of milk production, current feed inventory and feed prices, determine the feed formula with the lowest cost and feed the dairy cows with this feed formula.

[0033] Among these, the energy requirement for dairy cow growth is the sum of maintenance energy, growth energy, and production energy; maintenance energy is calculated as a × BW. 0.75 +b×(T min -T comfort The calculations show that 'a' is a preset coefficient, 'BW' is the cow's weight, 'b' is the cold stress coefficient, and 'T' is the temperature stress coefficient. min The lowest ambient temperature, T comfort For comfortable temperature in dairy cows; growth energy through 0.049 × BW 0.75 ×ADG 1.097 / 0.96 is calculated, ADG is the target daily weight gain; production energy is obtained through Milkyield Milk is calculated as (0.0929×Fat%+0.0547×Protein%+0.0395×Lactose%). yield The target daily milk production weight is defined as follows: Fat% represents the percentage of fat in milk, Protein% represents the percentage of protein in milk, and Lactose% represents the percentage of lactose in milk. The nutritional requirements for dairy cow growth are the sum of maintenance nutrition, growth nutrition, and production nutrition. Maintenance nutrition is achieved through 3.8 × BW. 0.75 The growth nutrients were calculated using ADG × (268 − 29.4 × NEG / ADG), where NEG is the growth energy, and the production nutrients were calculated using Milk. yield The result is calculated as ×(Protein%×1.15+0.05).

[0034] Based on the first aspect, in some embodiments, determining the lowest-cost feed formulation based on the dairy cow's growth and nutritional requirements, milk production nutritional requirements, current feed inventory, and feed prices includes:

[0035] Set the target function The constraints are , and C i Let X be the unit price of raw material i in the feed. i For the amount of raw material i, NE m,i NE provides the nutrients that raw material i can provide for the growth of dairy cows. m,rep MP i MP provides the nutrients that raw material i can provide for dairy cow milk production. rep For the total nutritional requirements of dairy cows for milk production, X min X is the minimum amount of raw material i used. max This represents the maximum amount of raw material i used.

[0036] Based on the objective function and the constraints, the proportions and weights of various raw materials in the feed formulation are determined.

[0037] Based on the first aspect, in some embodiments, the electronic device is further used for:

[0038] The temperature and humidity index is calculated based on the temperature and humidity of the breeding area. The calculation formula is: THI=(1.8×T+32)−(0.55−0.0055×RH)×(1.8×T−26), where THI is the temperature and humidity index, T is the temperature, and RH is the relative humidity.

[0039] If the temperature and humidity index is less than 68 and there is no heat stress, then the feed formula is a conventional feed formula.

[0040] If the temperature and humidity index is greater than or equal to 69 and less than 79, and the dairy cow is experiencing mild heat stress, then add 5% electrolytes and 10% vitamin E to the feed formula.

[0041] If the temperature and humidity index is greater than or equal to 79, and the dairy cow is experiencing severe heat stress, then 10% of electrolytes and 15% of fat should be added to the feed formula.

[0042] Secondly, embodiments of this application provide a method for precise dairy cow feeding, which is applied to an electronic device in the precise dairy cow feeding system described in any one of the first aspects, comprising:

[0043] Obtain the first cow number and weight of the dairy cows entering each feeding area;

[0044] Obtain the real-time weight of feed in each trough, trough identification, and the second cow number of the feeding cow;

[0045] Acquire environmental data of the breeding area, including temperature, humidity, and air quality;

[0046] A dataset was created based on time information, including the first cow number, weight, feeding area, second cow number, real-time weight data, feed trough identification, temperature and humidity, and air quality.

[0047] The frequency, amount, duration and weight of dairy cows feeding in each trough were analyzed, and the cows with high feed utilization efficiency were identified by combining the milk production data.

[0048] Feeding behavior features, environmental correlation features, temporal features, and cattle status features are extracted from the dataset. The feeding behavior features include single feed intake, average daily feeding frequency, and feeding interval patterns. The environmental correlation features include the correlation between temperature and feed intake and the influence coefficient of humidity fluctuations. The temporal features include historical feed intake trends and periodic pattern recognition. The cattle status features include feed intake change rate and weight gain index.

[0049] AI models are trained based on feeding behavior characteristics, environmental correlation characteristics, temporal characteristics, and cattle status characteristics. The trained AI models are then used to accurately measure the production performance, environment, and health of each dairy cow.

[0050] The beneficial effects of the embodiments of this application compared with the prior art include:

[0051] In this embodiment, when a cow arrives at the access control system, a first RFID reader near the system reads the cow's identification number and sends it to the system. The access control system determines the cow's information based on the cow's identification number and then determines which channel to open, allowing the cow to enter the corresponding feeding area. The access control system sends the cow's identification number and the opened channel information (i.e., the feeding area) to an electronic device. Before entering the feeding area through the access control system, the cow is weighed by a weighing system, and its weight is sent to the electronic device. The electronic device can determine the weight of the cow corresponding to the cow's identification number and the feeding area it entered based on the cow's identification number, the opened channel information, the weight, and the timestamp.

[0052] After entering the feeding area, the cows select a specific trough to eat. A second RFID reader installed on the trough can read the cow's second identification number. A weight sensor at the bottom of the trough monitors the weight of the feed in real time. The second RFID reader sends the trough identifier and the read cow number to an electronic device, while the weight sensor sends the trough identifier and the real-time feed weight to the electronic device. Based on the cow number, feed weight, trough identifier, and timestamp, the electronic device can determine the feeding time and amount of feed for the cow corresponding to the second cow number.

[0053] This application's embodiments divide dairy cows into multiple feeding areas based on their production status, health condition, and reproductive stage. The feed formula in the troughs of each feeding area is determined based on the cows' production status, health condition, and reproductive stage. Cows with similar production status, health condition, and reproductive stage are introduced into the same feeding area to provide the most favorable feed for the growth, production, and reproduction of cows of the same type, thereby improving the growth and production efficiency of dairy cows. Furthermore, the cows feeding in each trough are monitored to obtain information such as feed intake, feeding duration, feeding frequency, and weight for each cow. Based on this information, precise feeding is implemented to improve the efficiency and scientific nature of dairy cow husbandry. Attached Figure Description

[0054] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0055] Figure 1 This is a schematic diagram illustrating an application scenario of an embodiment of this application;

[0056] Figure 2 This is a schematic diagram of the structure of the precision feeding system for dairy cows according to an embodiment of this application. Detailed Implementation

[0057] The present application will be described more clearly below with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the function of the present application, but do not limit the present application in any way. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application. These all fall within the protection scope of the present application.

[0058] To make the objectives, technical solutions, and advantages of this application clearer, the following description will be provided in conjunction with the accompanying drawings and specific embodiments.

[0059] See Figure 1 In this embodiment, the feeding areas include multiple areas, which can be divided according to the cow's production status, health condition, and reproductive stage. For example, cows with the same production status, health condition, and reproductive stage can be introduced into the same feeding area. Multiple feeding areas are connected to an access control system. When a cow arrives at the access control system, a first RFID reader near the system reads the cow's identification number and sends it to the system. The access control system then determines which channel to open based on the cow's identification number, allowing the cow to enter the corresponding feeding area. A weighing system is also installed before the access control system. Before entering the feeding area through the access control system, the cows are weighed using this system. The weighing system, in conjunction with the first RFID reader, determines the weight of each cow. For example, the data sent by the weighing system includes weight and a first timestamp, while the data sent by the first RFID reader includes cow identification number, RFID device identifier, and a second timestamp. By associating the cow identification number with the same or closest first and second timestamps with the weight, the weight of each cow can be determined.

[0060] Each feeding area is equipped with multiple feed troughs containing feed. The feed formula for each feeding area can be different; for example, the formula for each feeding area can be set according to the dairy cow's production status, health condition, and reproductive stage. A weight sensor can be installed at the bottom of each feed trough to measure the real-time weight of the feed. Each feed trough is also equipped with a second RFID reader to read the cow number of the dairy cow feeding in that trough. In addition, environmental monitoring sensors are installed in the feeding area to obtain information such as temperature, humidity, and air quality.

[0061] This embodiment also includes an electronic device that communicates with the access control system, weighing system, weight sensor, and environmental monitoring sensor mentioned above to acquire data from these systems and sensors for managing dairy cow feeding and achieving precision feeding of dairy cows. Please refer to the following content for details.

[0062] See Figure 2The precision dairy cow feeding system provided in this application embodiment may include an identification device, a first RFID reader, a second RFID reader, a weight sensor, an environmental monitoring sensor, an access control system, and electronic equipment.

[0063] The identification device is installed on each cow.

[0064] The first RFID reader is installed near the access control system to identify cows that are close to the access control system and to send the identified cow number to the access control system.

[0065] The access control system is used to determine the cow information based on the first cow number, and open the corresponding channel according to the cow information. Each channel corresponds to a feeding area. The feeding area is divided according to the cow's production status, health status and reproductive stage. Each feeding area is equipped with multiple feeding troughs. Each feeding trough is equipped with a second RFID reader and a weight sensor. The cow information includes the cow's feed intake, feeding time and weight.

[0066] The second RFID reader is used to read the second cow number of the cow feeding in the trough and send the second cow number and the trough identifier to the electronic device.

[0067] The weight sensor is used to acquire real-time weight data of the feed in the trough and send the real-time weight data and the trough identifier to the electronic device.

[0068] The environmental monitoring sensors are installed in each breeding area to collect environmental data of the breeding area and send the environmental data to the electronic device. The environmental data includes temperature, humidity and air quality.

[0069] The electronic device is configured to: establish a dataset based on time information, including the first cow number, channel information, second cow number, real-time weight data, trough identification, temperature and humidity, and air quality; calculate the individual feeding efficiency of each cow based on the amount of feed and feeding time in different troughs; update the cow information based on the individual feeding efficiency; dynamically adjust the channel allocation strategy when the cow passes through the access control system next time, guiding it to the feeding area with the highest feeding efficiency; and train an AI model based on the dataset to accurately measure the cow's production performance, environment, and health.

[0070] In some embodiments, the second RFID reader reads data once every preset time interval and sends the second cow number and reading time to an electronic device; wherein, if there is a cow eating at the trough, the second RFID reader reads the second cow number; if there is no cow eating at the trough, the second RFID reader reads no data.

[0071] The weight sensor is installed at the bottom of the feeding trough to acquire the weight data of the feeding trough in real time and send the reading time and weight data to the electronic device.

[0072] The electronic device is used to determine the individual cow feeding in the trough, the amount of feed consumed, and the feeding time based on the second cow number and reading time sent by the second RFID reader in the same trough, as well as the weight data and reading time sent by the weight sensor.

[0073] In some embodiments, the access control system may include a PLC controller and multiple hydraulic doors, each hydraulic door corresponding to a feeding area. The PLC controller controls a specific hydraulic door to open based on the cow information and preset rules, allowing the cow to enter the corresponding feeding area to feed.

[0074] A weighing system is also installed on the ground in front of the access control system. The weighing system reads the weight of the cow and sends it to the electronic device. The electronic device records the weight change data of each cow over time based on the cow's weight and the first cow number.

[0075] In this embodiment, when a cow arrives at the access control system, a first RFID reader near the system reads the cow's identification number and sends it to the system. The access control system determines the cow's information based on the cow's identification number and then determines which channel to open, allowing the cow to enter the corresponding feeding area. The access control system sends the cow's identification number and the opened channel information (i.e., the feeding area) to an electronic device. Before entering the feeding area through the access control system, the cow is weighed by a weighing system, and its weight is sent to the electronic device. The electronic device can determine the weight of the cow corresponding to the cow's identification number and the feeding area it entered based on the cow's identification number, the opened channel information, the weight, and the timestamp.

[0076] After entering the feeding area, the cows select a specific trough to eat. A second RFID reader installed on the trough can read the cow's second cow number. This second cow number may be the same as or different from the first cow number mentioned earlier; the distinction is made for ease of description. A weight sensor at the bottom of the trough continuously monitors the weight of the feed. The second RFID reader sends the trough identifier and the read second cow number to an electronic device. The weight sensor sends the trough identifier and the real-time feed weight to the electronic device. Based on the second cow number, the feed weight, the trough identifier, and the timestamp, the electronic device can determine the feeding time and amount of feed for the cow corresponding to the second cow number.

[0077] For example, the PLC controller can determine the current production status, health status and reproductive stage of a dairy cow through cow information, and then control the hydraulic gate corresponding to the feeding area corresponding to the current production status, health status and reproductive stage of the dairy cow to open, so that the dairy cow can enter the feeding area to eat.

[0078] In some embodiments, the electronic device is also used to analyze the number of times the cows eat, the amount of feed they consume, the duration of their feeding, and their weight in each feeding trough, and to determine the optimal feeding trough for the cows. The optimal feeding trough is the one in which the cows eat the most times, have the highest feeding efficiency, and the fastest weight gain.

[0079] By analyzing the number of times each dairy cow eats, the amount of feed it consumes, the duration of its feeding, and its weight in each trough, we can determine the feeding area and trough corresponding to the cow that eats the most, has the highest feeding efficiency, and gains the fastest weight. The feed formula can then be determined based on the feeding area.

[0080] In some embodiments, the above-mentioned calculation of the individual feeding efficiency of each cow based on the amount of feed consumed and the duration of feeding in different troughs, updating the cow information based on the individual feeding efficiency, and dynamically adjusting the channel allocation strategy when the cow passes through the access control system next time to guide it to the feeding area with the highest feeding efficiency may include:

[0081] Extract the second cow number, single feed amount, and feeding duration corresponding to each feed trough from the dataset. Classify the cows based on the feed amount and feeding duration of the same second cow number in different feed troughs, and calculate the feeding rate of the cow in each feed trough. The feeding rate = single feed amount / feeding duration.

[0082] Based on the feeding rate of the same cow in each trough and the cow's historical weight change data, the individual feeding efficiency index of the cow in each trough is calculated. The individual feeding efficiency index is positively correlated with the feeding rate and the weight gain rate corresponding to the trough.

[0083] The individual feeding efficiency index of the cow in each feeding trough is compared to determine the feeding area corresponding to the feeding trough with the highest individual feeding efficiency index. The channel allocation parameters of the cow in the access control system are then updated.

[0084] When the cow arrives at the access control system again, the access control system opens the channel corresponding to the feeding area with the highest individual feeding efficiency index according to the updated channel allocation parameters.

[0085] Specifically, the electronic equipment extracts the second cow number, single feed intake, and feeding duration data corresponding to each trough from the established multidimensional time-series dataset. For the same cow, all its feeding records in each trough are categorized and grouped according to the trough identifier, forming a dataset corresponding to the cow and each trough. Based on the categorized data, the feeding rate of the cow in each trough is calculated. For the target trough, the feed intake of the cow in that trough is summed to obtain the total feed intake, and the feeding duration of all feeding records is summed to obtain the total feeding duration. The total feed intake divided by the total feeding duration is the feeding rate of the cow in that trough. This feeding rate reflects the amount of feed the cow consumes per unit time in that trough and is a basic indicator for measuring its feeding enthusiasm and efficiency in that trough.

[0086] Subsequently, the electronic equipment acquires the cow's historical weight data recorded by the weighing system, extracts the cow's weight change information for corresponding time periods in each feeding area, and calculates the cow's weight change per unit time in each feeding area, which is taken as the weight gain rate for that feeding trough. For the same cow in the same feeding trough, the electronic equipment calculates the cow's individual feeding efficiency index for that feeding trough based on the cow's feeding rate and the corresponding weight gain rate. This index comprehensively reflects the efficiency level of the cow in converting feed intake into weight gain in that feeding trough.

[0087] For each cow, the electronic system ranks and compares its individual feeding efficiency index across all troughs, determining the feeding area corresponding to the trough with the highest individual feeding efficiency index. This highest value indicates that the cow exhibits optimal feed intake and weight gain in the trough of that feeding area, meaning the feed formulation and feeding environment of that area are most suitable for the individual cow. The electronic system then updates the access control system's channel allocation parameters for that cow, setting them to the channel identifier of the feeding area corresponding to the trough with the highest individual feeding efficiency index.

[0088] When a cow leaves the feeding area after finishing a feeding session, and then re-enters the access control system, the system reads the cow's number and queries its channel allocation parameters. It then directly opens the channel corresponding to those parameters, guiding the cow to the feeding area with the highest individual feeding efficiency index. This achieves the technical effect of dynamically optimizing the allocation of feeding areas based on individual feeding efficiency.

[0089] For example, the above calculation of the individual feeding efficiency index of a cow in each trough based on its feeding rate and historical weight change data can be:

[0090] Calculate the average feeding rate V of the same cow in the target feed trough based on its feeding records for each feeding session. ij , Where i is the cow's ID, j is the trough ID, k is the number of feeding sessions, and W... ijk Let T be the amount of feed that the i-th cow takes in the k-th feeding at the j-th trough. ijk This corresponds to the eating duration;

[0091] The weighing system records the cow's weight during its entry into the feeding area containing the target feed trough and after its departure from the feeding area. The system then calculates the cow's rate of weight change per unit time within the feeding area containing the target feed trough. ,in Let be the weight change of the i-th cow during the feeding area where the j-th trough is located. The duration corresponding to the weight change;

[0092] Calculate the individual feeding efficiency index of the cow in the target trough. , where F ij Let F be the feeding frequency of the i-th cow in the j-th trough. ij It equals the total number of times the cow ate at the target feed trough divided by the total time the cow stayed at the target feed trough. , , For the preset weighting coefficients, and .

[0093] Specifically, each dairy cow exhibits different feeding behaviors and growth responses depending on the feeding trough. To quantify these differences, a comprehensive individual feeding efficiency index can be constructed as a core indicator to measure the degree of fit between the cow and the feeding trough. This individual feeding efficiency index is calculated based on three dimensions: average feeding rate, rate of weight change, and feeding frequency.

[0094] First, the electronic equipment calculates the average feeding rate of a cow in a specific feed trough based on all its feeding records. The total feed intake of the cow in that trough is calculated by summing up the total amount of feed consumed each time; the total feeding time is also summed up to obtain the total feeding time. Dividing the total feed intake by the total feeding time gives the cow's average feeding rate in that trough. This indicator reflects the cow's feeding capacity per unit time in that feed trough; a higher feeding rate indicates better adaptability of the cow to the feed in that trough.

[0095] Secondly, the electronic equipment acquires the cow's weight data recorded by the weighing system when it enters the feeding area of ​​the target trough and when it leaves the feeding area, and calculates the cow's weight change per unit time during its time in the feeding area. This indicator reflects the impact of the feed formulation and feeding environment corresponding to the target trough on the actual growth of the cow; the higher the weight gain rate, the more significant the promoting effect of the feeding conditions of the trough on the cow.

[0096] Next, the electronic device counts the total number of times the cow feeds in the target trough and the total time it stays in the trough. The total number of feedings divided by the total time spent in the trough is the cow's feeding frequency in that trough. This indicator reflects the cow's behavioral preference for that trough; a higher feeding frequency indicates that the cow is more inclined to feed in that trough.

[0097] Finally, the electronic device multiplies each of the three indicators by its respective preset weighting coefficient and then sums them to calculate the individual feeding efficiency index of the cow in the target trough, with the sum of the three weighting coefficients equal to 1. By adjusting the relative magnitudes of the three weighting coefficients, the influence of average feeding rate, weight change rate, and feeding frequency on the individual feeding efficiency index can be flexibly configured.

[0098] This individual feeding efficiency index integrates three dimensions: feeding behavior efficiency, actual growth effect, and behavioral preference, objectively quantifying the fit between an individual dairy cow and its feeding trough. A higher index indicates higher overall feeding efficiency for the cow at that trough, and a more suitable rearing area for that cow. By comparing the individual feeding efficiency indices of the same cow at different troughs, the optimal rearing area for that cow can be determined, providing a scientific basis for subsequent channel allocation.

[0099] In some embodiments, the electronic device is also used to generate a feeding statistics report for each cow based on data on the number of times each cow eats, the amount of feed consumed, the duration of feeding, and changes in weight at each feeding trough. The report also converts the relationship between each cow's feed consumption and the feeding trough and time into a graphical table. By generating feeding statistics reports for each cow and graphical tables showing the relationship between feed consumption and feeding trough and time, staff can more intuitively analyze the correlation between cows, feeding areas, feeding troughs, and feed consumption and time, thereby enabling further optimization and control of the feeding process.

[0100] In some embodiments, the electronic device trains an AI model based on the dataset to accurately measure dairy cow productivity, environment, and health, specifically including:

[0101] Feeding behavior features, environmental correlation features, temporal features, and cattle status features are extracted from the dataset. The feeding behavior features include single feed intake, average daily feeding frequency, and feeding interval patterns. The environmental correlation features include the correlation between temperature and feed intake and the influence coefficient of humidity fluctuations. The temporal features include historical feed intake trends and periodic pattern recognition. The cattle status features include feed intake change rate and weight gain index.

[0102] AI models are trained based on feeding behavior characteristics, environmental correlation characteristics, temporal characteristics, and cattle status characteristics. The trained AI models are then used to accurately measure the production performance, environment, and health of each dairy cow.

[0103] For example, the AI ​​model can be a model composed of XGBoost, LSTM and neural network. The feeding behavior features, environmental correlation features and cattle status features are processed in a structured manner and input into XGBoost. The time series features are input into LSTM. Then, the data output by XGBoost and the data output by LSTM are input into the neural network to obtain the production performance score, environmental score and health score of each dairy cow.

[0104] In some embodiments, the electronic device is specifically used for:

[0105] The growth and milk production nutritional requirements of each dairy cow are calculated based on its growth or production stage, weight, and production data.

[0106] Based on the growth and nutritional needs of dairy cows, the nutritional needs of milk production, current feed inventory and feed prices, determine the feed formula with the lowest cost and feed the dairy cows with this feed formula.

[0107] Among these, the growth nutrition requirements of dairy cows consist of the sum of growth maintenance energy and growth energy; maintenance energy is obtained through a×BW. 0.75 +b×(T min -T comfort The calculations show that 'a' is a preset coefficient, 'BW' is the cow's weight, 'b' is the cold stress coefficient, and 'T' is the temperature stress coefficient. min The lowest ambient temperature, T comfort For comfortable temperature in dairy cows; growth energy through 0.049 × BW 0.75 ×ADG 1.097 Calculated at / 0.96, ADG represents the target daily weight gain; the nutritional requirements for dairy cows' milk production are the sum of maintenance nutrition, growth nutrition, and production nutrition; maintenance nutrition is calculated as 3.8 × BW. 0.75 The growth nutrients were calculated using ADG × (268 − 29.4 × NEG / ADG), where NEG is the growth energy, and the production nutrients were calculated using Milk. yield The result is calculated as ×(Protein%×1.15+0.05).

[0108] In some embodiments, the above-mentioned determination of the lowest-cost feed formulation based on the dairy cow's growth and nutritional requirements, milk production nutritional requirements, current feed inventory, and feed prices may include:

[0109] Set the target function The constraints are , and C i Let X be the unit price of raw material i in the feed. i For the amount of raw material i, NE m,i NE provides the nutrients that raw material i can provide for the growth of dairy cows. m,rep MP i MP provides the nutrients that raw material i can provide for dairy cow milk production. rep For the total nutritional requirements of dairy cows for milk production, X min X is the minimum amount of raw material i used. max This represents the maximum amount of raw material i used.

[0110] Based on the objective function and the constraints, the proportions and weights of various raw materials in the feed formulation are determined.

[0111] In this embodiment, the above equation can be solved using Python's PuLP or SciPy libraries, or specialized feed formulation software (such as Brill or Format). Through the aforementioned objective function and constraints, feeding costs can be minimized while meeting the nutritional requirements for dairy cow growth and milk production.

[0112] In some embodiments, the system can also determine whether dairy cows will experience heat stress based on the temperature and humidity of the feeding area, thereby adjusting the feed formulation accordingly to address the effects of heat stress on dairy cows. Specifically, the electronic device is also used for:

[0113] The temperature and humidity index is calculated based on the temperature and humidity of the breeding area. The calculation formula is: THI=(1.8×T+32)−(0.55−0.0055×RH)×(1.8×T−26), where THI is the temperature and humidity index, T is the temperature, and RH is the relative humidity.

[0114] If the temperature and humidity index is less than 68 and there is no heat stress, then the feed formula is a conventional feed formula.

[0115] If the temperature and humidity index is greater than or equal to 68 and less than 79, and the dairy cow is experiencing mild heat stress, then add 5% electrolytes and 10% vitamin E to the feed formula.

[0116] If the temperature and humidity index is greater than or equal to 79, and the dairy cow is experiencing severe heat stress, then 10% of electrolytes and 15% of fat should be added to the feed formula.

[0117] Based on the aforementioned precision dairy cow feeding system, this application also provides a precision dairy cow feeding method, applied to the electronic equipment in the aforementioned precision dairy cow feeding system, comprising the following steps:

[0118] Obtain the first cow number and weight of the dairy cows entering each feeding area;

[0119] Obtain the real-time weight of feed in each trough, trough identification, and the second cow number of the feeding cow;

[0120] Acquire environmental data of the breeding area, including temperature, humidity, and air quality;

[0121] A dataset was created based on time information, including the first cow number, weight, feeding area, second cow number, real-time weight data, feed trough identification, temperature and humidity, and air quality.

[0122] The individual feeding efficiency of each cow is calculated based on the amount of feed and the duration of feeding in different troughs.

[0123] Based on the individual feeding efficiency, the channel allocation strategy for the cow when it passes through the access control system next time is dynamically adjusted to guide it to the feeding area with the highest feeding efficiency.

[0124] The frequency, amount, duration and weight of dairy cows feeding in each trough were analyzed. Combined with milk production data, cows with high feed utilization efficiency were identified, providing data support for the selection of core cow herds and culling of cattle in the ranch.

[0125] Feeding behavior features, environmental correlation features, temporal features, and cattle status features are extracted from the dataset. The feeding behavior features include single feed intake, average daily feeding frequency, and feeding interval patterns. The environmental correlation features include the correlation between temperature and feed intake and the influence coefficient of humidity fluctuations. The temporal features include historical feed intake trends and periodic pattern recognition. The cattle status features include feed intake change rate and weight gain index.

[0126] AI models are trained based on feeding behavior characteristics, environmental correlation characteristics, temporal characteristics, and cattle status characteristics. The trained AI models are then used to accurately measure the production performance, environment, and health of each dairy cow.

[0127] The electronic device in this application embodiment may include a processor and a memory, wherein the memory stores a computer program that can run on the processor, such as a precision dairy cow feeding program. When the processor executes the computer program, it implements the steps in the above-described precision dairy cow feeding method embodiment.

[0128] Electronic devices can be computing devices such as desktop computers, laptops, handheld computers, and cloud servers. Electronic devices may include, but are not limited to, processors and memory. For example, electronic devices may also include input / output devices, network access devices, buses, etc.

[0129] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0130] Memory can be an internal storage unit of an electronic device, such as a hard drive or RAM. Memory can also be an external storage device, such as a plug-in hard drive, SmartMedia Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, memory can include both internal and external storage units. Memory is used to store computer programs and other programs and data required by the electronic device. Memory can also be used to temporarily store data that has been output or will be output.

[0131] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0132] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A precision feeding system for dairy cows, characterized in that, Includes identification devices, a first RFID reader, a second RFID reader, a weight sensor, an environmental monitoring sensor, an access control system, and electronic equipment; The identification device is installed on each cow; The first RFID reader is installed in the passage near the access control system to identify cows that are close to the access control system and send the identified cow number to the access control system. The access control system is used to determine the cow information based on the first cow number, and open the corresponding channel according to the cow information. Each channel corresponds to a feeding area. The feeding area is divided according to the cow's production status, health status and reproductive stage. Each feeding area is equipped with multiple feeding troughs. Each feeding trough is equipped with a second RFID reader and a weight sensor. The cow information includes the cow's feed intake, feeding time and weight. The second RFID reader is used to read the second cow number of the dairy cow feeding in the trough, and send the second cow number and the trough identifier to the electronic device; The weight sensor is used to acquire real-time weight data of the feed in the trough and send the real-time weight data and the trough identifier to the electronic device. The environmental monitoring sensors are installed in each breeding area to collect environmental data of the breeding area and send the environmental data to the electronic device. The environmental data includes temperature, humidity and air quality. The electronic device is configured to: establish a dataset based on time information, including the first cow number, channel information, second cow number, real-time weight data, trough identification, temperature and humidity, and air quality; calculate the individual feeding efficiency of each cow based on the amount of feed and feeding time in different troughs; update the cow information based on the individual feeding efficiency; dynamically adjust the channel allocation strategy when the cow passes through the access control system next time, guiding it to the feeding area with the highest feeding efficiency; and train an AI model based on the dataset to accurately measure the cow's production performance, environment, and health.

2. The precision dairy cow feeding system according to claim 1, characterized in that, The second RFID reader reads data once every preset time interval and sends the second cow number and reading time to the electronic device; wherein, if there is a cow eating at the trough, the second RFID reader reads the second cow number; if there is no cow eating at the trough, the second RFID reader reads no data. The weight sensor is installed at the bottom of the feeding trough to acquire the weight data of the feeding trough in real time and send the reading time and weight data to the electronic device. The electronic device is used to determine the individual cow feeding in the trough, the amount of feed consumed, and the feeding time based on the second cow number and reading time sent by the second RFID reader in the same trough, as well as the weight data and reading time sent by the weight sensor.

3. The precision dairy cow feeding system according to claim 1, characterized in that, The access control system includes a PLC controller and multiple hydraulic doors. Each hydraulic door corresponds to a feeding area. The PLC controller controls the opening of a hydraulic door according to the cow information and preset rules, so that the cow can enter the corresponding feeding area to eat. A weighing system is also installed on the ground in front of the access control system. The weighing system reads the weight of the cow and sends it to the electronic device. The electronic device records the weight change data of each cow over time based on the cow's weight and the first cow number.

4. The precision dairy cow feeding system according to claim 1, characterized in that, The process of calculating the individual feeding efficiency of each cow based on its feed intake and feeding duration in different troughs, updating the cow's information based on the individual feeding efficiency, and dynamically adjusting the channel allocation strategy for the cow's next passage through the access control system to guide it to the feeding area with the highest feeding efficiency includes: Extract the second cow number, single feed amount, and feeding duration corresponding to each feed trough from the dataset. Classify the cows based on the feed amount and feeding duration of the same second cow number in different feed troughs, and calculate the feeding rate of the cow in each feed trough. The feeding rate = single feed amount / feeding duration. Based on the feeding rate of the same cow in each trough and the cow's historical weight change data, the individual feeding efficiency index of the cow in each trough is calculated. The individual feeding efficiency index is positively correlated with the feeding rate and the weight gain rate corresponding to the trough. The individual feeding efficiency index of the cow in each feeding trough is compared to determine the feeding area corresponding to the feeding trough with the highest individual feeding efficiency index. The channel allocation parameters of the cow in the access control system are then updated. When the cow arrives at the access control system again, the access control system opens the channel corresponding to the feeding area with the highest individual feeding efficiency index according to the updated channel allocation parameters.

5. The precision dairy cow feeding system according to claim 4, characterized in that, The calculation of the individual feeding efficiency index of the same dairy cow in each trough, based on the cow's feeding rate in each trough and its historical weight change data, includes: Calculate the average feeding rate V of the same cow in the target feed trough based on its feeding records for each feeding session. ij , Where i is the cow's ID, j is the trough ID, k is the number of feeding sessions, and W... ijk Let T be the amount of feed that the i-th cow takes in the k-th feeding at the j-th trough. ijk This corresponds to the eating duration; The weighing system records the cow's weight during its entry into the feeding area containing the target feed trough and after its departure from the feeding area. The system then calculates the cow's rate of weight change per unit time within the feeding area containing the target feed trough. ,in Let be the weight change of the i-th cow during the feeding area where the j-th trough is located. The duration corresponding to the weight change; Calculate the individual feeding efficiency index of the cow in the target trough. , where F ij Let F be the feeding frequency of the i-th cow in the j-th trough. ij It equals the total number of times the cow ate at the target feed trough divided by the total time the cow stayed at the target feed trough. , , For the preset weighting coefficients, and .

6. The precision dairy cow feeding system according to claim 1, characterized in that, The electronic device trains an AI model based on the dataset to accurately measure dairy cow productivity, environment, and health, specifically including: Feeding behavior features, environmental correlation features, temporal features, and cattle status features are extracted from the dataset. The feeding behavior features include single feed intake, average daily feeding frequency, and feeding interval patterns. The environmental correlation features include the correlation between temperature and feed intake and the influence coefficient of humidity fluctuations. The temporal features include historical feed intake trends and periodic pattern recognition. The cattle status features include feed intake change rate and weight gain index. AI models are trained based on feeding behavior characteristics, environmental correlation characteristics, temporal characteristics, and cattle status characteristics. The trained AI models are then used to accurately measure the production performance, environment, and health of each dairy cow.

7. The precision dairy cow feeding system according to claim 1, characterized in that, The electronic device is specifically used for: The growth and milk production nutritional requirements of each dairy cow are calculated based on its growth or production stage, weight, and production data. Based on the growth and nutritional needs of dairy cows, the nutritional needs of milk production, current feed inventory and feed prices, determine the feed formula with the lowest cost and feed the dairy cows with this feed formula. Among these, the growth nutrition requirements of dairy cows consist of the sum of growth maintenance energy and growth energy; maintenance energy is obtained through a×BW. 0.75 +b×(T min -T comfort The calculations show that 'a' is a preset coefficient, 'BW' is the cow's weight, 'b' is the cold stress coefficient, and 'T' is the temperature stress coefficient. min The lowest ambient temperature, T comfort For comfortable temperature in dairy cows; growth energy through 0.049 × BW 0.75 ×ADG 1.097 Calculated at / 0.96, ADG represents the target daily weight gain; the nutritional requirements for dairy cows' milk production are the sum of maintenance nutrition, growth nutrition, and production nutrition; maintenance nutrition is calculated as 3.8 × BW. 0.75 The growth nutrients were calculated using ADG × (268 − 29.4 × NEG / ADG), where NEG is the growth energy, and the production nutrients were calculated using Milk. yield The result is calculated as ×(Protein%×1.15+0.05).

8. The precision dairy cow feeding system according to claim 7, characterized in that, The process of determining the lowest-cost feed formulation based on the dairy cow's growth and nutritional requirements, milk production nutritional requirements, current feed inventory, and feed prices includes: Set the target function The constraints are , and C i Let X be the unit price of raw material i in the feed. i For the amount of raw material i, NE m,i NE provides the nutrients that raw material i can provide for the growth of dairy cows. m,rep MP i MP provides the nutrients that raw material i can provide for dairy cow milk production. rep For the total nutritional requirements of dairy cows for milk production, X min X is the minimum amount of raw material i used. max This represents the maximum amount of raw material i used. Based on the objective function and the constraints, the proportions and weights of various raw materials in the feed formulation are determined.

9. The precision dairy cow feeding system according to claim 7, characterized in that, The electronic device is also used for: The temperature and humidity index is calculated based on the temperature and humidity of the breeding area. The calculation formula is: THI=(1.8×T+32)−(0.55−0.0055×RH)×(1.8×T−26), where THI is the temperature and humidity index, T is the temperature, and RH is the relative humidity. If the temperature and humidity index is less than 68 and there is no heat stress, then the feed formula is a conventional feed formula. If the temperature and humidity index is greater than or equal to 68 and less than 79, and the dairy cow is experiencing mild heat stress, then add 5% electrolytes and 10% vitamin E to the feed formula. If the temperature and humidity index is greater than or equal to 79, and the dairy cow is experiencing severe heat stress, then 10% of electrolytes and 15% of fat should be added to the feed formula.

10. A method for precise dairy cow feeding, applied to an electronic device in the precise dairy cow feeding system as described in any one of claims 1 to 9, characterized in that, include: Obtain the first cow number and weight of the dairy cows entering each feeding area; Obtain the real-time weight of feed in each trough, trough identification, and the second cow number of the feeding cow; Acquire environmental data of the breeding area, including temperature, humidity, and air quality; A dataset was created based on time information, including the first cow number, weight, feeding area, second cow number, real-time weight data, feed trough identification, temperature and humidity, and air quality. The individual feeding efficiency of each cow is calculated based on the amount of feed and the duration of feeding in different troughs. Based on the individual feeding efficiency, the channel allocation strategy for the cow when it passes through the access control system next time is dynamically adjusted to guide it to the feeding area with the highest feeding efficiency. The frequency, amount, duration and weight of dairy cows feeding in each trough were analyzed, and the cows with high feed utilization efficiency were identified by combining the milk production data. Feeding behavior features, environmental correlation features, temporal features, and cattle status features are extracted from the dataset. The feeding behavior features include single feed intake, average daily feeding frequency, and feeding interval patterns. The environmental correlation features include the correlation between temperature and feed intake and the influence coefficient of humidity fluctuations. The temporal features include historical feed intake trends and periodic pattern recognition. The cattle status features include feed intake change rate and weight gain index. AI models are trained based on feeding behavior characteristics, environmental correlation characteristics, temporal characteristics, and cattle status characteristics. The trained AI models are then used to accurately measure the production performance, environment, and health of each dairy cow.