Intelligent analysis of growth curve of meat duck and optimized feeding method
By constructing a ternary control database and a growth curve model, real-time monitoring and precise control of the growth status of meat ducks were achieved, solving the problems of delayed detection of growth deviations, coarse environmental control, and weak feed conversion ratio optimization capabilities, thereby improving the efficiency and economic benefits of meat duck farming.
Patent Information
- Application Number
- CN202611208998.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-11
- Publication Date
- 2026-11-24
AI Technical Summary
Existing methods for raising meat ducks suffer from delayed detection of growth deviations, coarse environmental control, lack of standardized growth curves, and weak ability to optimize feed conversion ratios, making it difficult to accurately grasp growth status and refine feeding programs.
By constructing a ternary control database, using a weight estimation model and environment-growth correlation analysis, growth status labels are generated and environmental regulation is carried out to optimize the feed conversion ratio, achieve dynamic weighing calibration and economic clustering, and conduct marginal benefit analysis to optimize the feeding program.
It enables real-time monitoring and precise control of the growth status of meat ducks, improves growth uniformity and feed conversion ratio optimization, and reduces environmental stress and breeding costs.
Smart Images

Figure CN123159732A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of poultry farming management technology, and in particular to a method for intelligent analysis of growth curves and optimized feeding of meat ducks. Background Technology
[0002] In the field of large-scale duck farming, accurately grasping the growth status of ducks and dynamically optimizing feeding programs are the core keys to improving farming efficiency and reducing farming costs.
[0003] There is a method for raising meat ducks: Before the ducklings arrive, the temperature and humidity ranges for the three stages of brooding, growing, and fattening are set based on experience, along with conventional pelleted feed and feeding equipment. The ducks' feeding and mental state are observed manually at fixed times each day. Each week, 5-10 ducks are randomly selected, weighed on a scale, and their weight is recorded manually. The average weight is compared with experience to roughly determine whether growth is normal, slow, or fast. If growth is slow, more nutrition is added or the brooding period is extended; if growth is fast, no adjustments are made or feed is slightly reduced. Temperature, humidity, light, and ammonia levels are monitored and regulated. If feed intake decreases or mortality increases, a veterinarian is contacted for medication. If growth deviations are significant, the feed is adjusted. The ducks are sold based on their fixed weight, and a fattening feed is introduced one week before slaughter. At slaughter, the ducks are sold at the average weight of the entire flock.
[0004] Existing methods offer advantages such as simple operation, low initial investment, stable experience, and low maintenance costs, making them suitable for small-scale or free-range farming. However, existing methods still have some problems: First, the detection of growth deviations is delayed; weekly random weighing results in small sample sizes, making it difficult to detect abnormal growth in individuals or subgroups in a timely manner. Second, environmental control is rudimentary; temperature, humidity, ammonia, and light rely on manual experience, leading to slow responses and uncertainty about the actual impact of each factor on growth. Third, there is no standardized growth curve, lacking age-to-standard weight and fluctuation ranges, making it impossible to quantify the degree of deviation and potentially delaying intervention. Fourth, the ability to optimize feed conversion ratio is weak; without group feeding, underweight and overweight ducks consume the same feed, resulting in a high overall feed conversion ratio. Therefore, existing methods still need optimization. Summary of the Invention
[0005] This invention addresses the problems in the prior art, such as delayed detection of growth deviations, coarse environmental control, lack of standardized growth curves, and weak ability to optimize feed conversion ratio. It proposes an intelligent analysis and optimization feeding method for duck growth curves.
[0006] To achieve the above objectives, the present invention provides the following technical solution: a method for intelligent analysis and optimized feeding of meat duck growth curves, comprising the following steps:
[0007] Before the ducklings arrive, data collection standards are defined and the standard growth curve model of the target breed is completed. After the model is verified, a ternary control database containing weight sequence, image sequence and feeding parameter sequence is constructed based on the model. Then the equipment is deployed and the initial parameters are set.
[0008] Based on a ternary control database and standard growth curves of target varieties, body weight estimation, dynamic weighing calibration, growth deviation calculation, and environment-growth correlation analysis were performed.
[0009] Based on the growth deviation calculation results and the environment-growth correlation analysis results, the growth status label is determined by the deviation judgment level, environmental control instructions are generated by the early warning decision, and the environmental control instructions are executed.
[0010] Based on growth status labels and standard weight reference tables, we conduct standard assessment and feed conversion ratio calculation, followed by economic grouping, pre-market formula switching, and marginal benefit analysis.
[0011] When the preset triggering conditions are met, the economic strategy execution verification is performed. If the verification result is invalid, the model correction is triggered. If the verification result is valid, the strategy locking is triggered.
[0012] Optionally, the defined data collection standards include determining the target species, the feeding parameter collection items, and the data quality standards. The feeding parameter collection items include temperature, humidity, light duration, feed amount, and ammonia concentration. The data quality standards include missing value tolerance and outlier judgment threshold.
[0013] The weight sequence includes duck ID, age in days, measured weight, deviation from standard value, and collection timestamp; the image sequence table includes image ID, duck ID, age in days, shooting angle, shooting location, file path, and name; the feeding parameter sequence table includes record ID, timestamp, temperature, humidity, light duration, feed amount, and ammonia concentration; the initial parameters include sensor sampling interval, image naming rule prefix, outlier detection threshold, and missing value tolerance.
[0014] Optionally, the standard growth curve modeling of the target variety includes the following steps:
[0015] Retrieve historical aquaculture data for the target species, and remove outliers and fill in missing values according to the defined data quality standards;
[0016] Age and weight are extracted from the processed target breed breeding data. The Gompertz model and the Logistic model are used as candidate models. The parameters of the two candidate models are fitted with age as the independent variable and weight as the dependent variable. R², AIC and MAPE are calculated. If the R² and MAPE of the two candidate models meet the expectations, the model with the smaller AIC value is selected as the target growth curve model. If the R² and MAPE of only a single candidate model meet the expectations, the candidate model that meets the expectations is directly selected as the target growth curve model. If neither candidate model meets the expectations, different processing measures are taken based on the reasons for failure.
[0017] After determining the target growth curve model, a series of standard body weight reference values by age are generated;
[0018] Output the model file, the selected model type, model parameters, and a standard weight reference table, which includes age, corresponding standard weight, and corresponding allowable fluctuation range.
[0019] Optionally, the weight estimation includes the following steps:
[0020] When a new image is matched with the image naming rule prefix, the latest image is retrieved from the file path according to the image naming rule prefix. It is confirmed that the shooting angle and shooting part meet the standard. If they meet the standard, the next step is taken. If they do not meet the standard, they are marked as invalid images and skipped.
[0021] The standard-compliant images are input into the pre-trained weight estimation model, which outputs the estimated weight and estimated confidence score with the standard curve of the target variety as a regularization constraint.
[0022] Add estimated weight and estimated confidence levels to the weight series;
[0023] The dynamic weighing calibration includes the following steps:
[0024] Dynamic weighing calibration is initiated when the measured weight data is completed or the estimated confidence level is below the threshold during regular spot checks.
[0025] Extract paired data of measured weight and estimated weight for ducks with the same ID and age;
[0026] Calculate the calibration coefficient, which is the ratio of the measured weight to the estimated weight. If the calibration coefficient is within the expected range, the subsequent estimated value is corrected using the calibration coefficient. If the calibration coefficient exceeds the expected range, the moving average calibration coefficient is calculated using a sliding window, and the calibration bias term of the estimation model is updated.
[0027] Record calibration logs and write back the calibration coefficients, updated estimated model parameters, and calibration logs to the estimated model file.
[0028] Optionally, the growth deviation calculation includes the following steps:
[0029] After obtaining weight data each time, refer to the standard weight reference table based on age to obtain the corresponding standard weight;
[0030] Calculate the absolute deviation and the relative deviation rate. The absolute deviation is the difference between the obtained weight data and the standard weight. The relative deviation rate is the ratio of the absolute deviation to the standard weight. If the obtained weight data includes a measured weight, the measured weight is used for calculation. If the obtained weight data does not include a measured weight, the estimated weight is used for calculation.
[0031] The calculated absolute and relative deviation rates are added to the weight series.
[0032] Optionally, the environment-growth association analysis includes the following steps:
[0033] Periodically trigger environment-growth correlation analysis;
[0034] When triggering environment-growth association analysis, the Pearson correlation coefficients of temperature, humidity, light, feed amount, ammonia and daily weight gain are calculated using age as the window.
[0035] The environmental parameters are sorted from high to low according to the absolute value of the Pearson correlation coefficient, and the top 3 influencing factors and their directions of influence are output.
[0036] The top 3 influencing factors, their directions of influence, and their corresponding correlation coefficients were added to the feeding parameter sequence.
[0037] Optionally, determining the growth status label through deviation judgment level includes the following steps:
[0038] Consult the standard weight reference table based on your age to obtain the corresponding standard weight and the corresponding allowable fluctuation range;
[0039] The upper limit of the absolute value of the relative deviation rate is calculated based on the upper and lower limits of the allowable fluctuation range and the standard weight.
[0040] The absolute value of the relative deviation rate calculated from the growth deviation is compared with the upper limit of the absolute value of the relative deviation rate. If the calculated absolute value of the relative deviation rate is less than or equal to the upper limit of the absolute value of the relative deviation rate, it is judged as normal. If the calculated absolute value of the relative deviation rate is greater than the upper limit of the absolute value of the relative deviation rate but less than 1.5 times the upper limit of the absolute value of the relative deviation rate, it is judged as a warning. If the calculated absolute value of the relative deviation rate is greater than or equal to 1.5 times the upper limit of the absolute value of the relative deviation rate, it is judged as an alarm. A growth status label is generated and the growth status label is written into the weight sequence.
[0041] Optionally, the step of generating control decision instructions through early warning decision-making includes the following steps:
[0042] A warning decision is triggered when the growth status label is warning or alarm; the warning decision is skipped when the growth status label is normal.
[0043] Retrieve growth status labels, top 3 influencing factors, direction of influence, corresponding correlation coefficients, and corresponding lagged correlations;
[0044] If only one of the top three influencing factors is strongly correlated with growth deviation, then that influencing factor will be used as the target control parameter to generate environmental control instructions. If multiple influencing factors are strongly correlated with growth deviation, then environmental control instructions will be executed according to the priority of environmental control driven by growth deviation early warning or alarm being greater than that driven by environmental parameter anomaly. Within the same priority, the instructions will be executed in descending order of the absolute value of the correlation coefficient of the top three influencing factors.
[0045] An environmental control instruction is generated, which includes an action type, a target control parameter, a target value, and an execution priority. The target value is the result of multiplying the current value by 1 and adding the product of the correlation coefficient and the adjustment coefficient.
[0046] Optionally, the compliance determination includes the following steps:
[0047] Extract all duck IDs and estimated weights, and refer to the standard weight reference table to obtain the standard weight corresponding to the minimum slaughter age and the corresponding allowable fluctuation range.
[0048] If a duck's age is greater than or equal to the minimum slaughter age and its estimated weight is within the allowable fluctuation range corresponding to the standard slaughter weight, the duck is considered to be up to standard. If a duck's age is greater than or equal to the minimum slaughter age and its estimated weight is less than the lower limit of the allowable fluctuation range corresponding to the standard slaughter weight, the duck is considered to be underweight. If a duck's age is greater than or equal to the minimum slaughter age and its estimated weight is greater than the upper limit of the allowable fluctuation range corresponding to the standard slaughter weight, the duck is considered to be overweight.
[0049] Output a list of ducks that have met the standards, which includes the duck ID, the judgment result, the age in days, and the weight.
[0050] The feed conversion ratio is the ratio of cumulative feed intake to cumulative weight gain;
[0051] The economic grouping is based on the compliance list, which divides the duck flock into compliant duck flocks, underweight duck flocks, and overweight duck flocks. The standard feeding amount is applied to the compliant duck flocks, and the underweight feeding amount and overweight feeding amount are calculated for the underweight duck flocks and overweight duck flocks, respectively. The underweight feeding amount is the product of the standard feeding amount and the underweight adjustment coefficient, and the overweight feeding amount is the product of the standard feeding amount and the overweight adjustment coefficient.
[0052] The formula switching before slaughter is triggered when the ducks reach the target. If the difference between the slaughter age and the current age is in the first slaughter range, it switches to a high-energy fattening formula. If the difference between the slaughter age and the current age is in the second slaughter range, it switches to a water and feed control formula.
[0053] The marginal benefit analysis calculates the marginal benefit and marginal profit rate per duck.
[0054] Optionally, the preset triggering conditions include duck flock slaughter, feed conversion ratio increasing for three consecutive days, and marginal profit rate decreasing for three consecutive days and falling below a preset value. The execution verification of the economic strategy is triggered when any one of the three conditions is met.
[0055] The verification of the economic strategy implementation includes the following steps:
[0056] Extract the initial feed conversion ratio, initial marginal benefit per duck, initial marginal profit rate, final feed conversion ratio, final marginal benefit per duck, and final marginal profit rate from the feeding parameter sequence.
[0057] Feed efficiency, absolute profitability, and profitability efficiency are verified separately. The feed efficiency verification compares the feed conversion ratio (FCR) at the end of the cycle with the FCR at the beginning of the cycle. If the FCR at the end is less than or equal to a preset ratio of the initial FCR, it is considered valid; otherwise, feed efficiency needs to be improved. The absolute profitability verification subtracts the initial marginal benefit per duck from the marginal benefit per duck at the end of the cycle. If the difference is greater than 0, it is considered valid; otherwise, it is considered invalid. The profitability efficiency verification compares the marginal profit rate at the end of the cycle with the initial marginal profit rate. If the marginal profit rate at the end of the cycle is greater than 0 and greater than or equal to a preset ratio of the initial marginal profit rate, it is considered valid; otherwise, profitability efficiency needs to be improved. Among the verification results, the absolute profitability verification result has the highest priority, while the feed efficiency and profitability efficiency verification results have the same priority.
[0058] Output the judgment results and supplement the feeding parameter sequence. The judgment results include feed efficiency verification judgment results, absolute profitability verification judgment results, profitability efficiency verification judgment results, and priority output results.
[0059] Compared with the prior art, the present invention includes at least one of the following beneficial technical effects:
[0060] First, addressing the issue of delayed detection of growth deviations in existing technologies, this invention outputs the estimated weight of the duck flock based on a weight estimation model. Dynamic weighing calibration is initiated when periodic sampling of measured weight data is completed or the estimated confidence level falls below a threshold. Paired data of measured and estimated weights for the same duck ID and age are extracted. A calibration coefficient is calculated, which is the ratio of measured weight to estimated weight. If the calibration coefficient is within the expected range, subsequent estimates are corrected using the calibration coefficient. If the calibration coefficient exceeds the expected range, a moving average calibration coefficient is calculated using a sliding window, and the calibration bias term of the estimation model is updated. This allows for high-frequency (even daily) acquisition of individual weights, real-time calculation of absolute and relative deviation rates, and timely detection of growth deviations.
[0061] Secondly, to address the problem of coarse environmental control in existing technologies, this invention periodically triggers environment-growth correlation analysis. When triggering environment-growth correlation analysis, using age as a window, the Pearson correlation coefficients of temperature, humidity, light, feed amount, ammonia, and daily weight gain are calculated. The environmental parameters are sorted from high to low according to the absolute value of the Pearson correlation coefficients, and the Top 3 influencing factors and their directions of influence are output. When the growth status label is a warning or alarm, a warning decision is triggered. The growth status label, Top 3 influencing factors, directions of influence, corresponding correlation coefficients, and corresponding lag correlations are retrieved. If only one of the Top 3 influencing factors is strongly correlated with growth deviation, then that influencing factor is used as the target control parameter to generate an environmental control instruction. If multiple of the Top 3 influencing factors are strongly correlated with growth deviation, then the environmental control instruction is executed according to the priority of environmental control driven by growth deviation warning or alarm being greater than that driven by abnormal environmental parameters. Within the same priority, the Top 3 influencing factors are sorted from high to low according to the absolute value of their correlation coefficients before the environmental control instruction is generated. This can effectively reduce environmental stress.
[0062] Third, to address the problem of the lack of standardized growth curves in existing technologies, this invention uses historical data to model with Gompertz or Logistic models to generate standard weight reference values and allowable fluctuation ranges. Based on the deviation, the growth status is determined and subsequent adjustments are made, which can effectively ensure the uniformity of weight in the duck flock.
[0063] Fourth, addressing the weakness of existing technologies in optimizing feed conversion ratio, this invention extracts all duck IDs and estimated weights, consults a standard weight reference table to obtain the standard weight corresponding to the minimum slaughter age and the corresponding allowable fluctuation range. Ducks are deemed to meet the standard if their age is greater than or equal to the minimum slaughter age and their estimated weight is within the allowable fluctuation range corresponding to the standard slaughter weight. Ducks are deemed underweight if their age is greater than or equal to the minimum slaughter age and their estimated weight is less than the lower limit of the allowable fluctuation range corresponding to the standard slaughter weight. Ducks are deemed overweight if their age is greater than or equal to the minimum slaughter age and their estimated weight is greater than the upper limit of the allowable fluctuation range corresponding to the standard slaughter weight. Based on the compliance list, the duck flock is divided into compliant, underweight, and overweight flocks. Standard feeding amounts are applied to compliant flocks, while underweight and overweight feeding amounts are calculated separately for underweight and overweight flocks, effectively reducing the feed conversion ratio. Attached Figure Description
[0064] Figure 1 A flowchart illustrating the steps for intelligent analysis and optimization of duck growth curves and feeding methods. Detailed Implementation
[0065] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0066] like Figure 1 As shown in the figure, this embodiment provides a method for intelligent analysis and optimized feeding of duck growth curves, including the following steps:
[0067] Before the ducklings arrive, data collection standards are defined and the standard growth curve model of the target breed is completed. After the model is verified, a ternary control database containing weight sequence, image sequence and feeding parameter sequence is constructed based on the model. Then the equipment is deployed and the initial parameters are set.
[0068] Based on a ternary control database and standard growth curves of target varieties, body weight estimation, dynamic weighing calibration, growth deviation calculation, and environment-growth correlation analysis were performed.
[0069] Based on the growth deviation calculation results and the environment-growth correlation analysis results, the growth status label is determined by the deviation judgment level, environmental control instructions are generated by the early warning decision, and the environmental control instructions are executed.
[0070] Based on growth status labels and standard weight reference tables, we conduct standard assessment and feed conversion ratio calculation, followed by economic grouping, pre-market formula switching, and marginal benefit analysis.
[0071] When the preset triggering conditions are met, the economic strategy execution verification is performed. If the verification result is invalid, the model correction is triggered. If the verification result is valid, the strategy locking is triggered.
[0072] Furthermore, the defined data collection standards include identifying the target species, the feeding parameter collection items, and the data quality standards. The feeding parameter collection items include temperature, humidity, light duration, feed amount, and ammonia concentration. The data quality standards include missing value tolerance and outlier judgment threshold.
[0073] The weight sequence includes duck ID, age in days, measured weight, deviation from standard value, and collection timestamp; the image sequence table includes image ID, duck ID, age in days, shooting angle, shooting location, file path, and name; the feeding parameter sequence table includes record ID, timestamp, temperature, humidity, light duration, feed amount, and ammonia concentration; the initial parameters include sensor sampling interval, image naming rule prefix, outlier detection threshold, and missing value tolerance.
[0074] In this embodiment, it should be specifically noted that the defined data acquisition standards also include determining weight acquisition standards, image acquisition standards, feeding parameter acquisition items, and data quality standards. The weight acquisition standards include acquisition frequency, acquisition method, unit, and accuracy requirements. The image acquisition standards include shooting angle (top view / side view), resolution, lighting conditions, shooting location (full body, partial), and naming rules (date-batch-serial number). The data quality standards also include data format specifications and uniqueness constraints. The data format specifications are that the duck ID is uniformly set as breed-batch-serial number, and the uniqueness constraint is that the duck ID + age combination key is unique, and the latest timestamp is used when collecting data repeatedly.
[0075] In this embodiment, it is specifically necessary to explain that deploying the device and setting initial parameters includes the following steps:
[0076] The camera equipment is deployed according to the image acquisition standard, that is, the top / side view is fixed, the resolution and supplementary lighting are configured, the coverage of the shooting area is calibrated, and environmental sensors are deployed, including temperature sensors, humidity sensors and ammonia concentration sensors. The sampling frequency is set according to the feeding parameter acquisition items, and the weighing equipment is deployed, and the accuracy and acquisition triggering method are set according to the weight acquisition standard.
[0077] Connect all devices to the database and write initial parameters, which include sensor sampling interval, image naming rule prefix (date-batch), outlier detection threshold (from data quality standards), and missing value tolerance (from data quality standards).
[0078] Conduct joint debugging tests, that is, simulate a complete data link (collection → transmission → storage) to confirm that the three data elements can be correctly associated;
[0079] Output a list of deployed devices (device type, location, parameter configuration), an initial parameter configuration table (sampling frequency, threshold, naming rules, etc.), and a report on successful joint debugging and testing.
[0080] Furthermore, the standard growth curve modeling of the target variety includes the following steps:
[0081] Retrieve historical aquaculture data for the target species, and remove outliers and fill in missing values according to the defined data quality standards;
[0082] Age and weight are extracted from the processed target breed breeding data. The Gompertz model and the Logistic model are used as candidate models. The parameters of the two candidate models are fitted with age as the independent variable and weight as the dependent variable. R², AIC and MAPE are calculated. If the R² and MAPE of the two candidate models meet the expectations, the model with the smaller AIC value is selected as the target growth curve model. If the R² and MAPE of only a single candidate model meet the expectations, the candidate model that meets the expectations is directly selected as the target growth curve model. If neither candidate model meets the expectations, different processing measures are taken based on the reasons for failure.
[0083] After determining the target growth curve model, a series of standard body weight reference values by age are generated;
[0084] Output the model file, the selected model type, model parameters, and a standard weight reference table, which includes age, corresponding standard weight, and corresponding allowable fluctuation range.
[0085] In this embodiment, it should be specifically noted that if the R² of both candidate models is less than 0.95, the Richards model is selected for replacement. The Richards model is a generalization of the Gompertz and Logistic models, and it has one more shape parameter than the Gompertz and Logistic models, allowing it to fit more curve shapes. After selecting the Richards model, R², AIC, and MAPE are recalculated. If the Richards model meets expectations, it is output and the process ends. If the Richards model still does not meet expectations, the process jumps to the case where R² is greater than or equal to 0.95 but MAPE is greater than 5%. For cases where R² meets the standard but MAPE is greater than 5%, the handling measures include expanding the tolerance for missing values, using moving average smoothing, and relaxing the MAPE threshold to 8%. Expanding the tolerance for missing values means, for example, relaxing it from the original standard of less than or equal to 10% to less than or equal to 15%, and refitting after supplementing more data points. Moving average smoothing involves performing a 3-day moving average on the weight series to eliminate abnormal daily fluctuations before refitting. Relaxing the MAPE threshold to 8% means that if the MAPE is still between 5% and 8% after smoothing, a downgrade scheme is accepted, and the accuracy level is marked as Level B (MAPE = 5%–8%) in the model file. For cases where AIC is extremely high and close, historical data from different farms of the same breed are merged. If the merged data passes, a merged data version of the model is output; if the merged data fails, a downgraded model (R² ≥ 0.90, MAPE ≤ 8%) is forcibly output. The downgrade must be marked and the reason recorded, and then continuously corrected using actual farming data.
[0086] In this embodiment, it should be specifically noted that the model verification includes the following steps:
[0087] Retrieve actual aquaculture data from no fewer than three historical batches as a validation set;
[0088] The age of the validation set is substituted into the model to calculate the deviation between the predicted weight and the actual weight;
[0089] Calculate the evaluation indicators, namely RMSE and MAPE, and compare the calculated evaluation indicators with preset thresholds.
[0090] If it fails, return to adjust the model parameters; if it succeeds, lock the model.
[0091] After locking the model, output the model validation report, model file, selected model type, model parameters, and standard weight reference table. The standard weight reference table includes age, corresponding standard weight, and corresponding allowable fluctuation range.
[0092] Furthermore, the weight estimation includes the following steps:
[0093] When a new image is matched with the image naming rule prefix, the latest image is retrieved from the file path according to the image naming rule prefix. It is confirmed that the shooting angle and shooting part meet the standard. If they meet the standard, the next step is taken. If they do not meet the standard, they are marked as invalid images and skipped.
[0094] The standard-compliant images are input into the pre-trained weight estimation model, which outputs the estimated weight and estimated confidence score with the standard curve of the target variety as a regularization constraint.
[0095] Add estimated weight and estimated confidence levels to the weight series;
[0096] The dynamic weighing calibration includes the following steps:
[0097] Dynamic weighing calibration is initiated when the measured weight data is completed or the estimated confidence level is below the threshold during regular spot checks.
[0098] Extract paired data of measured weight and estimated weight for ducks with the same ID and age;
[0099] Calculate the calibration coefficient, which is the ratio of the measured weight to the estimated weight. If the calibration coefficient is within the expected range, the subsequent estimated value is corrected using the calibration coefficient. If the calibration coefficient exceeds the expected range, the moving average calibration coefficient is calculated using a sliding window, and the calibration bias term of the estimation model is updated.
[0100] Record calibration logs and write back the calibration coefficients, updated estimated model parameters, and calibration logs to the estimated model file.
[0101] In this embodiment, it should be specifically noted that due to the limited amount of data in aquaculture scenarios, pure CNNs are prone to overfitting and cannot utilize existing standard growth curves of the target species as prior knowledge. Traditional body size formula coefficients require manual calibration, resulting in poor generalization. Different species require refitting. The YOLO / DETR direct regression weight detection framework has significant overhead and slow inference, and its bounding box regression weight accuracy is inferior to the keypoint + MLP approach. Therefore, the weight estimation model used is a two-stage cascaded regression model. The structure of the weight estimation model includes a keypoint detection network, a regularization constraint layer, and a weight regression head. The keypoint detection network model is HRNet-W32. During inference, it locates five keypoints in the duck image: beak tip, neck root, left end of chest width, right end of chest width, and rump end, and outputs five sets of geometric features: body length, chest width, body height, shank length, and neck length. The regularization constraint layer model is a loss function term embedded with a standard growth curve. During inference, it uses the Gompertz / Logistic / Richards standard curve as a prior constraint to narrow the distance between the estimated value and the standard weight for that age, preventing out-of-range output. The weight regression head model is a 3-layer MLP. During inference, it takes the five sets of geometric features output by the keypoint detection network as input, passes through two fully connected + ReLU nonlinear mappings, and outputs a single scalar, namely the estimated weight.
[0102] In this embodiment, it should be specifically noted that the configuration parameters of the weight estimation model used include, but are not limited to, the input image resolution (recommended value is 224×224 or 384×384), the effective shooting angle (recommended value is 0°~15° from top view or 85°~95° from front and side view), the effective shooting area (recommended value is the whole body), the estimation confidence threshold (recommended value is 0.75), the expected range of the calibration coefficient (recommended value is greater than or equal to 0.95 and less than or equal to 1.05), the sliding window size (recommended value is the last 7 days), and the sensor sampling interval (consistent with the initial settings, directly used).
[0103] In this embodiment, it should be specifically noted that the model parameters of the weight estimation model used include trainable parameters, hyperparameters, and dynamic parameters. The trainable parameters include the convolutional layer weight matrix and bias vector of the HRNet-W32 backbone network, the heatmap regression layer weights of the HRNet-W32 keypoint detection head, the first hidden layer weight matrix and bias vector, the second hidden layer weight matrix and bias vector, and the output layer weight matrix and bias vector of the MLP regression head. The hyperparameters include regularization constraint weights, input image resolution, number of keypoints, geometric feature dimension, MLP hidden layer dimension, estimation confidence threshold, expected range of calibration coefficients, and sliding window size. The dynamic parameters include calibration coefficients, calibration bias terms, estimated confidence, and effective image count.
[0104] Furthermore, the growth deviation calculation includes the following steps:
[0105] After obtaining weight data each time, refer to the standard weight reference table based on age to obtain the corresponding standard weight;
[0106] Calculate the absolute deviation and the relative deviation rate. The absolute deviation is the difference between the obtained weight data and the standard weight. The relative deviation rate is the ratio of the absolute deviation to the standard weight. If the obtained weight data includes a measured weight, the measured weight is used for calculation. If the obtained weight data does not include a measured weight, the estimated weight is used for calculation.
[0107] The calculated absolute and relative deviation rates are added to the weight series.
[0108] Furthermore, the environment-growth association analysis includes the following steps:
[0109] Periodically trigger environment-growth correlation analysis;
[0110] When triggering environment-growth association analysis, the Pearson correlation coefficients of temperature, humidity, light, feed amount, ammonia and daily weight gain are calculated using age as the window.
[0111] The environmental parameters are sorted from high to low according to the absolute value of the Pearson correlation coefficient, and the top 3 influencing factors and their directions of influence are output.
[0112] The top 3 influencing factors, their directions of influence, and their corresponding correlation coefficients were added to the feeding parameter sequence.
[0113] Furthermore, the step of determining the growth status label through deviation judgment level includes the following steps:
[0114] Consult the standard weight reference table based on your age to obtain the corresponding standard weight and the corresponding allowable fluctuation range;
[0115] The upper limit of the absolute value of the relative deviation rate is calculated based on the upper and lower limits of the allowable fluctuation range and the standard weight.
[0116] The absolute value of the relative deviation rate calculated from the growth deviation is compared with the upper limit of the absolute value of the relative deviation rate. If the calculated absolute value of the relative deviation rate is less than or equal to the upper limit of the absolute value of the relative deviation rate, it is judged as normal. If the calculated absolute value of the relative deviation rate is greater than the upper limit of the absolute value of the relative deviation rate but less than 1.5 times the upper limit of the absolute value of the relative deviation rate, it is judged as a warning. If the calculated absolute value of the relative deviation rate is greater than or equal to 1.5 times the upper limit of the absolute value of the relative deviation rate, it is judged as an alarm. A growth status label is generated and the growth status label is written into the weight sequence.
[0117] Furthermore, the process of generating control decision instructions through early warning decision-making includes the following steps:
[0118] A warning decision is triggered when the growth status label is warning or alarm; the warning decision is skipped when the growth status label is normal.
[0119] Retrieve growth status labels, top 3 influencing factors, direction of influence, corresponding correlation coefficients, and corresponding lagged correlations;
[0120] If only one of the top three influencing factors is strongly correlated with growth deviation, then that influencing factor will be used as the target control parameter to generate environmental control instructions. If multiple influencing factors are strongly correlated with growth deviation, then environmental control instructions will be executed according to the priority of environmental control driven by growth deviation early warning or alarm being greater than that driven by environmental parameter anomaly. Within the same priority, the instructions will be executed in descending order of the absolute value of the correlation coefficient of the top three influencing factors.
[0121] An environmental control instruction is generated, which includes an action type, a target control parameter, a target value, and an execution priority. The target value is the result of multiplying the current value by 1 and adding the product of the correlation coefficient and the adjustment coefficient.
[0122] Specifically, in this embodiment, when executing environmental control commands, the commands are sorted from highest to lowest priority; each command's target value is checked to see if it exceeds the defined outlier threshold; if it does, it is truncated to the threshold boundary and recorded; commands are executed in priority order, with the adjustment range not exceeding 20% of the target value per hour to avoid drastic environmental fluctuations; the current parameters are compared with the target value in real time, and if the deviation is less than or equal to 5%, it is marked as met; if it is greater than 5%, the adjustment continues; the execution result, the actual achieved value, and the execution time are written into the feeding parameter sequence.
[0123] Furthermore, the compliance determination includes the following steps:
[0124] Extract all duck IDs and estimated weights, and refer to the standard weight reference table to obtain the standard weight corresponding to the minimum slaughter age and the corresponding allowable fluctuation range.
[0125] If a duck's age is greater than or equal to the minimum slaughter age and its estimated weight is within the allowable fluctuation range corresponding to the standard slaughter weight, the duck is considered to be up to standard. If a duck's age is greater than or equal to the minimum slaughter age and its estimated weight is less than the lower limit of the allowable fluctuation range corresponding to the standard slaughter weight, the duck is considered to be underweight. If a duck's age is greater than or equal to the minimum slaughter age and its estimated weight is greater than the upper limit of the allowable fluctuation range corresponding to the standard slaughter weight, the duck is considered to be overweight.
[0126] Output a list of ducks that have met the standards, which includes the duck ID, the judgment result, the age in days, and the weight.
[0127] The feed conversion ratio is the ratio of cumulative feed intake to cumulative weight gain;
[0128] The economic grouping is based on the compliance list, which divides the duck flock into compliant duck flocks, underweight duck flocks, and overweight duck flocks. The standard feeding amount is applied to the compliant duck flocks, and the underweight feeding amount and overweight feeding amount are calculated for the underweight duck flocks and overweight duck flocks, respectively. The underweight feeding amount is the product of the standard feeding amount and the underweight adjustment coefficient, and the overweight feeding amount is the product of the standard feeding amount and the overweight adjustment coefficient.
[0129] The formula switching before slaughter is triggered when the ducks reach the target. If the difference between the slaughter age and the current age is in the first slaughter range, it switches to a high-energy fattening formula. If the difference between the slaughter age and the current age is in the second slaughter range, it switches to a water and feed control formula.
[0130] The marginal benefit analysis calculates the marginal benefit and marginal profit rate per duck.
[0131] In this embodiment, it should be specifically noted that the first slaughter interval is [2,10], which physically means 2 to 10 days until slaughter, and the second slaughter interval is [0,2], which physically means 0 to 2 days until slaughter. The marginal benefit per duck is the difference between duck meat revenue and feed cost, environmental control cost, and formula switching cost; the marginal profit rate is the ratio of marginal benefit to feed cost.
[0132] Furthermore, the preset triggering conditions include duck flock slaughter, feed conversion ratio increasing for three consecutive days, and marginal profit rate decreasing for three consecutive days and falling below a preset value. The execution verification of the economic strategy is triggered when any one of the three conditions is met.
[0133] The verification of the economic strategy implementation includes the following steps:
[0134] Extract the initial feed conversion ratio, initial marginal benefit per duck, initial marginal profit rate, final feed conversion ratio, final marginal benefit per duck, and final marginal profit rate from the feeding parameter sequence.
[0135] Feed efficiency, absolute profitability, and profitability efficiency are verified separately. The feed efficiency verification compares the feed conversion ratio (FCR) at the end of the cycle with the FCR at the beginning of the cycle. If the FCR at the end is less than or equal to a preset ratio of the initial FCR, it is considered valid; otherwise, feed efficiency needs to be improved. The absolute profitability verification subtracts the initial marginal benefit per duck from the marginal benefit per duck at the end of the cycle. If the difference is greater than 0, it is considered valid; otherwise, it is considered invalid. The profitability efficiency verification compares the marginal profit rate at the end of the cycle with the initial marginal profit rate. If the marginal profit rate at the end of the cycle is greater than 0 and greater than or equal to a preset ratio of the initial marginal profit rate, it is considered valid; otherwise, profitability efficiency needs to be improved. Among the verification results, the absolute profitability verification result has the highest priority, while the feed efficiency and profitability efficiency verification results have the same priority.
[0136] Output the judgment results and supplement the feeding parameter sequence. The judgment results include feed efficiency verification judgment results, absolute profitability verification judgment results, profitability efficiency verification judgment results, and priority output results.
[0137] Specifically, in this embodiment, the absolute profitability verification has the highest priority, while the feed efficiency and profitability verification have the same priority. That is, if the absolute profitability verification result is invalid, even if both the feed efficiency and profitability verification results are valid, their priority output result will still be invalid. If the absolute profitability verification result is valid, even if both the feed efficiency and profitability verification results are invalid, their priority output result will be valid and both feed efficiency and profitability need to be improved. If the absolute profitability verification result is valid, the feed efficiency verification result is valid, and the profitability verification result is invalid, their priority output result will be valid and profitability needs to be improved. If the absolute profitability verification result is valid, the feed efficiency verification result is invalid, and the profitability verification result is valid, their priority output result will be valid and feed efficiency needs to be improved.
[0138] In this embodiment, it is specifically necessary to explain that when the verification result is invalid, the model correction is triggered, including the following steps:
[0139] Mark the entire data as a correction-triggered data packet and attach an invalid reason label;
[0140] The data packet is sent back to the first step, which is to define the data collection standard and complete the modeling of the standard growth curve of the target breed before the ducklings enter the farm. After the model is verified, a ternary control database containing weight sequence, image sequence and feeding parameter sequence is constructed based on the model. Then the equipment is deployed and the initial parameters are set.
[0141] The standard growth curve model is refitted according to the correction process, the standard weight reference table and fluctuation range are updated, and when the absolute profitability verification result is invalid, the feed cost parameters and the slaughter weight judgment threshold are corrected. When it is determined that feed efficiency needs to be improved, the mapping relationship between feed conversion ratio and weight is corrected. When it is determined that profitability efficiency needs to be improved, the timing of formula switching and the feeding amount coefficient are corrected. The correction priority is consistent with the judgment priority.
[0142] Record the model version number before and after the correction, the reason for the correction, and the correction date, and write them into the ternary comparison database.
[0143] In this embodiment, it is specifically necessary to explain that triggering policy locking when the verification result is valid includes the following steps:
[0144] The generated economic clustering rules and recipe switching rules are locked as verification-passed strategies;
[0145] The validated strategies, initial feed conversion ratio, initial marginal benefit per duck, and initial marginal profit rate will be added to the ternary control database as a benchmark for the next cycle.
[0146] When the next batch of ducklings arrives, the first step is to load the revised model (if any) or maintain the current model and start a new cycle.
[0147] In this embodiment, it should be noted that the preset values, thresholds, weights, and coefficients without specific definitions and calculation methods are selected based on actual needs and are not subject to specific value limitations.
[0148] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for intelligent analysis of meat duck growth curve and optimization of feeding, characterized in that, Includes the following steps: Before the ducklings arrive, data collection standards are defined and the standard growth curve model of the target breed is completed. After the model is verified, a ternary control database containing weight sequence, image sequence and feeding parameter sequence is constructed based on the model. Then the equipment is deployed and the initial parameters are set. Based on a ternary control database and standard growth curves of target varieties, body weight estimation, dynamic weighing calibration, growth deviation calculation, and environment-growth correlation analysis were performed. Based on the growth deviation calculation results and the environment-growth correlation analysis results, the growth status label is determined by the deviation judgment level, environmental control instructions are generated by the early warning decision, and the environmental control instructions are executed. Based on growth status labels and standard weight reference tables, we conduct standard assessment and feed conversion ratio calculation, followed by economic grouping, pre-market formula switching, and marginal benefit analysis. When the preset triggering conditions are met, the economic strategy execution verification is performed. If the verification result is invalid, the model correction is triggered. If the verification result is valid, the strategy locking is triggered.
2. The intelligent analysis and optimization feeding method of meat duck growth curve according to claim 1, characterized in that, The defined data collection standards include identifying the target species, the feeding parameters to be collected, and the data quality standards. The feeding parameters to be collected include temperature, humidity, light duration, feed amount, and ammonia concentration. The data quality standards include tolerance for missing values and threshold for outlier detection. The weight sequence includes duck ID, age in days, measured weight, deviation from standard value, and collection timestamp; the image sequence table includes image ID, duck ID, age in days, shooting angle, shooting location, file path, and name; the feeding parameter sequence table includes record ID, timestamp, temperature, humidity, light duration, feed amount, and ammonia concentration; the initial parameters include sensor sampling interval, image naming rule prefix, outlier detection threshold, and missing value tolerance.
3. The intelligent analysis and optimization method of meat duck growth curve according to claim 2, characterized in that, The modeling of the standard growth curve of the target variety includes the following steps: Retrieve historical aquaculture data for the target species, and remove outliers and fill in missing values according to the defined data quality standards; Age and weight are extracted from the processed target breed breeding data. The Gompertz model and the Logistic model are used as candidate models. The parameters of the two candidate models are fitted with age as the independent variable and weight as the dependent variable. R², AIC and MAPE are calculated. If the R² and MAPE of the two candidate models meet the expectations, the model with the smaller AIC value is selected as the target growth curve model. If the R² and MAPE of only a single candidate model meet the expectations, the candidate model that meets the expectations is directly selected as the target growth curve model. If neither candidate model meets the expectations, different processing measures are taken based on the reasons for failure. After determining the target growth curve model, a series of standard body weight reference values by age are generated; Output the model file, the selected model type, model parameters, and a standard weight reference table, which includes age, corresponding standard weight, and corresponding allowable fluctuation range.
4. The intelligent analysis and optimization method of meat duck growth curve according to claim 3, characterized in that, The weight estimation includes the following steps: When a new image is matched with the image naming rule prefix, the latest image is retrieved from the file path according to the image naming rule prefix. It is confirmed that the shooting angle and shooting part meet the standard. If they meet the standard, the next step is taken. If they do not meet the standard, they are marked as invalid images and skipped. The standard-compliant images are input into the pre-trained weight estimation model, which outputs the estimated weight and estimated confidence score with the standard curve of the target variety as a regularization constraint. Add estimated weight and estimated confidence levels to the weight series; The dynamic weighing calibration includes the following steps: Dynamic weighing calibration is initiated when the measured weight data is completed or the estimated confidence level is below the threshold during regular spot checks. Extract paired data of measured weight and estimated weight for ducks with the same ID and age; Calculate the calibration coefficient, which is the ratio of the measured weight to the estimated weight. If the calibration coefficient is within the expected range, the subsequent estimated value is corrected using the calibration coefficient. If the calibration coefficient exceeds the expected range, the moving average calibration coefficient is calculated using a sliding window, and the calibration bias term of the estimation model is updated. Record calibration logs and write back the calibration coefficients, updated estimated model parameters, and calibration logs to the estimated model file.
5. The intelligent analysis and optimization method of meat duck growth curve according to claim 4, characterized in that, The calculation of the growth deviation includes the following steps: After obtaining weight data each time, refer to the standard weight reference table based on age to obtain the corresponding standard weight; Calculate the absolute deviation and the relative deviation rate. The absolute deviation is the difference between the obtained weight data and the standard weight. The relative deviation rate is the ratio of the absolute deviation to the standard weight. If the obtained weight data includes a measured weight, the measured weight is used for calculation. If the obtained weight data does not include a measured weight, the estimated weight is used for calculation. The calculated absolute and relative deviation rates are added to the weight series.
6. The intelligent analysis and optimization method of meat duck growth curve according to claim 5, characterized in that, The environment-growth correlation analysis includes the following steps: Periodically trigger environment-growth correlation analysis; When triggering environment-growth association analysis, the Pearson correlation coefficients of temperature, humidity, light, feed amount, ammonia and daily weight gain are calculated using age as the window. The environmental parameters are sorted from high to low according to the absolute value of the Pearson correlation coefficient, and the top 3 influencing factors and their directions of influence are output. The top 3 influencing factors, their directions of influence, and their corresponding correlation coefficients were added to the feeding parameter sequence.
7. The intelligent analysis and optimization method of meat duck growth curve according to claim 6, characterized in that, The process of determining the growth status label through deviation judgment level includes the following steps: Consult the standard weight reference table based on your age to obtain the corresponding standard weight and the corresponding allowable fluctuation range; The upper limit of the absolute value of the relative deviation rate is calculated based on the upper and lower limits of the allowable fluctuation range and the standard weight. The absolute value of the relative deviation rate calculated from the growth deviation is compared with the upper limit of the absolute value of the relative deviation rate. If the calculated absolute value of the relative deviation rate is less than or equal to the upper limit of the absolute value of the relative deviation rate, it is judged as normal. If the calculated absolute value of the relative deviation rate is greater than the upper limit of the absolute value of the relative deviation rate but less than 1.5 times the upper limit of the absolute value of the relative deviation rate, it is judged as a warning. If the calculated absolute value of the relative deviation rate is greater than or equal to 1.5 times the upper limit of the absolute value of the relative deviation rate, it is judged as an alarm. A growth status label is generated and the growth status label is written into the weight sequence.
8. The intelligent analysis and optimization method of meat duck growth curve according to claim 7, characterized in that, The process of generating control decision instructions through early warning decision-making includes the following steps: A warning decision is triggered when the growth status label is warning or alarm; the warning decision is skipped when the growth status label is normal. Retrieve growth status labels, top 3 influencing factors, direction of influence, corresponding correlation coefficients, and corresponding lagged correlations; If only one of the top three influencing factors is strongly correlated with growth deviation, then that influencing factor will be used as the target control parameter to generate environmental control instructions. If multiple influencing factors are strongly correlated with growth deviation, then environmental control instructions will be executed according to the priority of environmental control driven by growth deviation early warning or alarm being greater than that driven by environmental parameter anomaly. Within the same priority, the instructions will be executed in descending order of the absolute value of the correlation coefficient of the top three influencing factors. An environmental control instruction is generated, which includes an action type, a target control parameter, a target value, and an execution priority. The target value is the result of multiplying the current value by 1 and adding the product of the correlation coefficient and the adjustment coefficient. 9.The method according to claim 8, wherein, The criteria assessment includes the following steps: Extract all duck IDs and estimated weights, and refer to the standard weight reference table to obtain the standard weight corresponding to the minimum slaughter age and the corresponding allowable fluctuation range. If a duck's age is greater than or equal to the minimum slaughter age and its estimated weight is within the allowable fluctuation range corresponding to the standard slaughter weight, the duck is considered to be up to standard. If a duck's age is greater than or equal to the minimum slaughter age and its estimated weight is less than the lower limit of the allowable fluctuation range corresponding to the standard slaughter weight, the duck is considered to be underweight. If a duck's age is greater than or equal to the minimum slaughter age and its estimated weight is greater than the upper limit of the allowable fluctuation range corresponding to the standard slaughter weight, the duck is considered to be overweight. Output a list of ducks that have met the standards, which includes the duck ID, the judgment result, the age in days, and the weight. The feed conversion ratio is the ratio of cumulative feed intake to cumulative weight gain; The economic grouping is based on the compliance list, which divides the duck flock into compliant duck flocks, underweight duck flocks, and overweight duck flocks. The standard feeding amount is applied to the compliant duck flocks, and the underweight feeding amount and overweight feeding amount are calculated for the underweight duck flocks and overweight duck flocks, respectively. The underweight feeding amount is the product of the standard feeding amount and the underweight adjustment coefficient, and the overweight feeding amount is the product of the standard feeding amount and the overweight adjustment coefficient. The formula switching before slaughter is triggered when the ducks reach the target. If the difference between the slaughter age and the current age is in the first slaughter range, it switches to a high-energy fattening formula. If the difference between the slaughter age and the current age is in the second slaughter range, it switches to a water and feed control formula. The marginal benefit analysis calculates the marginal benefit and marginal profit rate per duck.
10. The intelligent analysis and optimization method of meat duck growth curve according to claim 9, characterized in that, The preset triggering conditions include duck flock slaughter, feed conversion ratio increasing for 3 consecutive days, and marginal profit rate decreasing for 3 consecutive days and falling below the preset value. The execution verification of the economic strategy will be triggered if any one of the three conditions is met. The verification of the economic strategy implementation includes the following steps: Extract the initial feed conversion ratio, initial marginal benefit per duck, initial marginal profit rate, final feed conversion ratio, final marginal benefit per duck, and final marginal profit rate from the feeding parameter sequence. Feed efficiency, absolute profitability, and profitability efficiency are verified separately. The feed efficiency verification compares the feed conversion ratio (FCR) at the end of the cycle with the FCR at the beginning of the cycle. If the FCR at the end is less than or equal to a preset ratio of the initial FCR, it is considered valid; otherwise, feed efficiency needs to be improved. The absolute profitability verification subtracts the initial marginal benefit per duck from the marginal benefit per duck at the end of the cycle. If the difference is greater than 0, it is considered valid; otherwise, it is considered invalid. The profitability efficiency verification compares the marginal profit rate at the end of the cycle with the initial marginal profit rate. If the marginal profit rate at the end of the cycle is greater than 0 and greater than or equal to a preset ratio of the initial marginal profit rate, it is considered valid; otherwise, profitability efficiency needs to be improved. Among the verification results, the absolute profitability verification result has the highest priority, while the feed efficiency and profitability efficiency verification results have the same priority. Output the judgment results and supplement the feeding parameter sequence. The judgment results include feed efficiency verification judgment results, absolute profitability verification judgment results, profitability efficiency verification judgment results, and priority output results.
