A ventilation and heat preservation synergistic optimization control method for yak calf incubation
By constructing a multidimensional thermal stress characteristic space and a scenario-physiology coupling model, and dynamically adjusting ventilation and insulation parameters, the problems of single thermal environment assessment and insufficient dynamic model adaptability in yak calf nurseries were solved, achieving precise environmental control and energy consumption optimization, and improving the safety and efficiency of control.
Patent Information
- Application Number
- CN202611315486.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies for environmental control in yak calf nurseries suffer from limited thermal environment assessment dimensions, insufficient adaptability of dynamic models, inability to accurately predict the lag effect of fans and heaters on perceived temperature, difficulty in balancing online optimization efficiency and safety, insufficient precision in control decisions, and issues such as cold stress risk and high energy consumption.
By constructing a multidimensional thermal stress feature space, establishing a dynamic response model of equivalent somatosensory temperature for cubs with scene-physiology coupling, generating an energy consumption-risk mapping library related to scene-age, and combining multi-objective rolling optimization and physiological tolerance boundary, the ventilation and heat preservation control parameters are dynamically adjusted to achieve precise regulation.
It achieves dynamic adaptation to different external disturbances and larval age, improves the accuracy of thermal environment assessment and online optimization efficiency, reduces computational load, ensures the safety and economy of control, and avoids cold stress and high temperature overshoot.
Smart Images

Figure CN123147453A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of intelligent control technology for livestock breeding environment, specifically relating to a method for coordinated optimization control of ventilation and heat preservation for the care of yak calves. Background Technology
[0002] Yaks are a core and distinctive livestock breed in high-altitude pastoral areas. The health and survival rate of calves during the nursery stage directly determine the efficiency of livestock production and the reproductive capacity of the herd. Yak calves' thermoregulation mechanisms are not yet fully developed, making them highly sensitive to environmental changes. The thermal environment within the nursery is strongly coupled and time-varying due to the combined effects of external weather fluctuations and internal heating and ventilation equipment. The actual thermal comfort of the calves is determined by dry-bulb temperature, wind speed at the roosting level, equivalent radiative temperature difference, and the calves' age. Simultaneously, the thermal inertia of the enclosure structure and the lag in equipment operation result in significant nonlinear, time-delayed, and time-varying characteristics in the impact of control inputs on the calves' perceived temperature. Therefore, nursery environment control needs to achieve synergistic optimization between cold stress risk prevention and equipment energy consumption reduction, and the control strategy needs to be dynamically adapted to the calves' age and external disturbance scenarios.
[0003] Current environmental control schemes for yak calf nurseries mainly fall into two categories: fixed threshold on / off control and conventional PID closed-loop regulation. Some studies have attempted to introduce multi-objective optimization algorithms, but several core shortcomings remain: First, the thermal environment assessment is limited to a single dimension, relying heavily on a single dry-bulb temperature threshold. It fails to comprehensively consider the coupled effects of wind speed and cooling, radiative heat transfer, and calf age, and also neglects the cumulative exposure effect of low temperatures. This makes it difficult to distinguish the differentiated physiological risks brought about by different thermal histories and disturbance patterns at the same temperature, resulting in insufficient precision in control decisions. Second, the dynamic model lacks adaptability, relying on conventional fixed parameters for stable... The current model does not establish a dynamic mapping relationship between control and thermal state that varies with the scenario and age, making it unable to accurately predict the hysteretic effects of fans and heaters on perceived temperature under different operating conditions. The prediction accuracy is limited and it is difficult to support fine-grained control. Thirdly, it is difficult to balance efficiency and safety in online optimization. Existing solutions often directly conduct real-time global searches without offline prior guidance for scenario-age matching. This results in heavy computational burden and slow convergence, making it difficult to adapt to the real-time control requirements of low-cost hardware. Furthermore, it does not embed physiological tolerance boundaries into the optimization process, making it impossible to effectively avoid the risks of high-temperature overshoot and cold stress accumulation, resulting in insufficient control reliability. Summary of the Invention
[0004] To address the technical problems mentioned above, this invention provides a method for the coordinated optimization control of ventilation and heat preservation for the care of yak calves.
[0005] The technical solution of this invention is as follows: A method for synergistic optimization control of ventilation and heat preservation for yak calf rearing includes the following steps: S1. Simultaneously collect internal environmental parameters, external meteorological parameters, equipment operating parameters, and the age of yak calves in the nursery, and form a historical operating sample set after time alignment; S2. Construct a multidimensional cold and heat stress feature space for yak calves. Calculate the dynamic index of the calves’ equivalent somatic temperature based on internal environmental parameters and the calves’ age and extract the cold stress risk index. Divide typical external meteorological disturbance scenarios and determine the current scenario label to jointly constitute multidimensional cold and heat stress features. S3. Establish a dynamic response model of equivalent somatosensory temperature of cubs with scene-physiology coupling. Its autoregressive coefficient, control input gain and intercept term dynamically take values with the current scene label and cub age, realizing the dynamic mapping between control input and cub thermal state. Based on this model, offline simulation of candidate control sequences under different scenes and ages is performed to generate a scene-age related energy consumption-risk mapping library. S4. Based on the current multidimensional cold and heat stress characteristics, the scenario-age-related energy consumption-risk mapping library is invoked to guide multi-objective rolling optimization. The ventilation and heat preservation control parameters are optimized in combination with the dynamic response model, and the candidate control sequences are corrected and screened through the physiological tolerance boundary. S5. Convert the control command into a device execution signal and send it out for execution. In the next control cycle, re-acquire the status and perform rolling optimization. At the same time, store the running data into the historical running sample set to form a closed-loop control.
[0006] Furthermore, in step S2, the dynamic index of the cub's equivalent perceived temperature and the cold stress risk index are obtained through the following methods: The dynamic index of equivalent somatosensory temperature for juveniles is calculated based on dry-bulb temperature, plus a wind-cooling correction for wind speed at the juvenile habitat level and an age-weighted radiation correction for equivalent radiative temperature difference. The calculation formula is as follows: in, Indicates the first The dynamic index of equivalent somatosensory temperature of cubs at each sampling time; For the first Dry bulb temperature at each sampling time; The coefficient of performance is the air-cooling factor. Wind speed at the level where the calves live; This represents the wind speed power exponent, with a value ranging from 0.5 to 1.0; This is the equivalent radiation temperature difference; The day-response constant; Age of yak calves; Represents the natural exponential function; The cold stress risk index is calculated as follows: The lower limit temperature for the current age of the yak calf is calculated, and the portion of the dynamic index of the yak calf's equivalent somatic temperature that is lower than the lower limit temperature for its age is taken as the cold stress temperature deviation. A time weight is applied to the index based on the distance between the sampling time and the end of the control period, and these weights are accumulated to obtain the cold stress risk index. The calculation formula is as follows: in, Indicates the cold stress risk index; express Cold stress temperature deviation at the sampling time; Indicates the exponential forgetting factor; Represents the natural exponential function; To control the total number of sampling points within a period; This is the sampling time sequence number.
[0007] Furthermore, in step S2, the method for classifying typical disturbance scenarios and determining the current scenario label is as follows: (1) Read the ambient temperature, ambient humidity, natural wind speed and solar radiation from the historical operation sample set, and form a multivariate external meteorological sequence according to the sampling time order; (2) The variable statistical range of historical training data is used to perform minimum-maximum normalization on the multivariate external meteorological series, according to the preset sliding window length. Multiple external meteorological sliding window sequences are continuously extracted from the normalized multivariate external meteorological sequence; (3) Preset the total number of typical disturbance scenarios Furthermore, offline clustering was performed on the external meteorological sliding window sequence using dynamic time-warped distance to obtain... A typical disturbance scenario and the corresponding centroid sequence for each typical disturbance scenario; (4) When running online, capture the most recent The external meteorological data at each sampling time is used to obtain the current external meteorological variable sliding window sequence. The dynamic time warping distance between the current external meteorological variable and each centroid sequence is calculated, and the scene category with the smallest distance is determined as the current scene label.
[0008] Furthermore, in step S3, the dynamic response model of the cub's equivalent perceived temperature is an autoregressive model with exogenous inputs. The model inputs include past data. The equivalent perceived temperature change of the cubs at each sampling time, and the past The normalized control input vector at each sampling time is used to output the model as the predicted value of the equivalent somatic temperature change of the yak at the current sampling time. The model's autoregressive coefficients, two-dimensional control input gain vector, and intercept term are all dynamically assigned according to the current scene label and the yak calf's age.
[0009] Furthermore, in step S3, the model parameters are identified in the following way: Historical running samples are grouped by scene label. For samples in the same scene, a weight is set based on the target age, with samples closer to the target age having a higher weight. We obtain a complete set of model parameters corresponding to the current scene and the target age by weighted least squares fitting, so that the model parameters change continuously with the age of the yak calves.
[0010] Furthermore, in step S3, the scenario-age-related energy consumption-risk mapping library is generated offline through scenario simulation and constraint propagation, specifically as follows: (1) Determine the initial state of offline simulation corresponding to the typical disturbance scenario and the age of yak calves; Discretize and normalize the fan frequency and the heater duty cycle, and combine them to obtain multiple candidate control input sequences; (2) For each typical disturbance scenario and each target age, the corresponding dynamic response model is called to perform offline simulation of the candidate control sequence to obtain the cub equivalent somatosensory temperature prediction sequence, and the cold stress risk target and cumulative energy consumption target are calculated respectively. (3) The physiological tolerance boundary corresponding to the age of yak calves is transmitted to the control input feasible region through constraint propagation based on the physiological tolerance boundary. After removing sequences with heat stress risk by checking the upper limit temperature of age, the energy consumption-risk Pareto front is obtained through multi-objective non-dominated sorting. (4) Store the Pareto fronts corresponding to all scenario-age combinations to form a scenario-age-related energy consumption-risk mapping library.
[0011] Furthermore, in step S4, multi-target scrolling optimization is achieved in the following way: (1) Based on the current scene label and the age of the yak calf, extract the corresponding energy consumption-risk Pareto front from the scene-age-related energy consumption-risk mapping library; when there is no Pareto front corresponding to the current age in the mapping library, read the Pareto front of the adjacent age and interpolate according to the age distance to obtain the initial candidate normalized control input range corresponding to the current scene and age. (2) Select the low cold stress risk non-dominated solution, the low cumulative energy consumption non-dominated solution and the compromise non-dominated solution between the two in the mapping library as the initial population. At the same time, shift the optimal normalized control input sequence of the previous control cycle forward by one sampling time, and add it to the initial population after supplementing the terminal control quantity. (3) The Chebyshev decomposition method is used to decompose the multi-objective optimization problem of cold stress risk and cumulative energy consumption into multiple single-objective sub-problems. Each sub-problem corresponds to the risk priority, energy consumption priority and risk-energy consumption trade-off preference direction respectively. New candidate control sequences are generated and optimized by simulating binary crossover, polynomial mutation and neighborhood replacement iteration.
[0012] Furthermore, in step S4, the candidate normalized control input sequences are corrected and screened using the physiological tolerance boundary corresponding to the age of yak calves. This is achieved through a physiological constraint projection operation, specifically as follows: (1) The candidate normalized control input sequences generated by evolution are superimposed with cold stress correction terms and high temperature overshoot correction terms respectively; the cold stress correction term is corrected in the direction of reducing the normalized fan frequency and increasing the normalized heater duty cycle; the high temperature overshoot correction term is corrected in the direction of increasing the normalized fan frequency and reducing the normalized heater duty cycle; the corrected control quantity is constrained within the range of values that the equipment can execute. (2) After the correction is completed, the juvenile equivalent somatosensory temperature dynamic response model is called again to calculate the juvenile equivalent somatosensory temperature prediction sequence, cold stress risk target and cumulative energy consumption target corresponding to the corrected sequence; candidate sequences that still have heat stress risk after correction are removed, and candidate sequences with low temperature exposure are retained and their risk level is quantified by cold stress risk target. (3) When the optimization iteration reaches the preset termination condition, select the corresponding control scheme from the final non-dominated candidate solution according to the current cold stress level.
[0013] Furthermore, in step S5, only the first control instruction in the optimal control sequence is executed in each control cycle, and the remaining control sequences are only used as the initial reference for optimization in the next cycle; the dynamic response model parameters, the centroid sequence of typical disturbance scenarios, and the energy consumption-risk mapping library are updated periodically using newly added historical running samples.
[0014] Accordingly, the present invention provides a ventilation and heat preservation synergistic optimization control system for yak calf rearing, characterized in that it includes: The data acquisition module is used to synchronously collect internal environmental parameters, external meteorological parameters, equipment operating parameters, and the age of yak calves in the nursery, and form a historical operating sample set after time alignment; The feature construction module is used to construct a multidimensional cold and heat stress feature space for yak calves. Based on internal environmental parameters and the age of the calves, it calculates the equivalent somatic temperature dynamic index and extracts the cold stress risk index. It also classifies typical external meteorological disturbance scenarios and determines the current scenario label, which together constitute the multidimensional cold and heat stress features. The modeling and mapping module is used to establish a dynamic response model of the calf's equivalent somatosensory temperature that is coupled with the scene and physiology. The model parameters change dynamically with the current scene label and the age of the yak calf, mapping the dynamic relationship between the control input and the calf's thermal state. Based on this model, candidate control sequences under different scenes and ages are simulated offline to generate a scene-age-related energy consumption-risk mapping library. The rolling optimization module is used to guide multi-objective rolling optimization by calling the scenario-age-related energy consumption-risk mapping library based on the current multi-dimensional cold and heat stress characteristics, combining the dynamic response model to optimize ventilation and heat preservation control parameters, and correcting and screening candidate control sequences through physiological tolerance boundaries. The closed-loop execution module is used to convert control commands into equipment execution signals and issue them for execution. In the next control cycle, the status is re-acquired and continuously optimized. At the same time, the running data is stored in the historical running sample set to form closed-loop control.
[0015] Compared with the prior art, the beneficial effects of the present invention are reflected in the following aspects: (1) The thermal environment assessment is more comprehensive and the physiological risk characterization is more accurate. By constructing a multidimensional thermal stress characteristic space, wind speed and wind cooling effect, radiative heat transfer difference, pup age development pattern and low temperature cumulative exposure effect are all incorporated into the thermal state evaluation system. This breaks through the assessment limitations of a single dry-bulb temperature threshold and can effectively distinguish the differentiated physiological risks of different thermal history processes and different external disturbance modes under the same temperature conditions, providing accurate state basis for refined regulation.
[0016] (2) The dynamic model has stronger adaptability and significantly improved online optimization efficiency. A scene-physiology coupled dynamic response model of perceived temperature is established to realize the dynamic adaptation of model parameters with external disturbance scene and larval age. It can accurately depict the hysteresis effect of fans and heaters on perceived temperature under different working conditions, and the prediction accuracy is better than the traditional fixed parameter steady-state model. The offline generated scene-age-related energy consumption-risk mapping library provides prior search guidance for online optimization, greatly compresses the invalid search space, effectively reduces the online computing load, accelerates the algorithm convergence speed, and can adapt to the real-time control requirements of low-cost hardware in breeding sites.
[0017] (3) The multi-objective trade-off is more reasonable and the control safety and reliability are higher. The proposed multi-objective collaborative rolling optimization decision-making method guides population construction with an offline mapping library to improve optimization efficiency. At the same time, it embeds the physiological tolerance boundary of the offspring into the optimization iteration process through the physiological constraint projection mechanism. It can actively correct candidate control sequences that are prone to cold stress accumulation or high temperature overshoot. Under the premise of ensuring that the control scheme meets the physiological safety boundary of the offspring, it achieves the optimal synergy between cold stress risk prevention and energy consumption reduction, taking into account both conservation safety and breeding economy. Attached Figure Description
[0018] In the attached diagram: Figure 1 This is a schematic diagram of the overall process of the synergistic optimization control method for ventilation and heat preservation in yak calf care according to the present invention; Figure 2 This invention provides a spatial schematic diagram of the multidimensional cold and heat stress characteristics of yak calves. Figure 3This is a schematic diagram of the dynamic time warping alignment path and cumulative cost matrix; Figure 4 A schematic diagram illustrating the dynamic response model of the equivalent somatosensory temperature of yak calves, which integrates scene tags with the age of yak calves according to the present invention. Figure 5 A diagram showing the comparison between the predicted and actual values of the equivalent perceived temperature change of cubs; Figure 6 This is a schematic diagram illustrating the offline generation of the energy consumption-risk Pareto front based on scenario simulation and constraint propagation according to the present invention. Figure 7 A schematic diagram comparing the energy consumption-risk Pareto fronts under different typical disturbance scenarios and the age of yak calves. Detailed Implementation
[0019] Example 1: See Figure 1 This invention proposes a method for the coordinated optimization control of ventilation and heat preservation for the care of yak calves, the main contents of which are as follows: S1. Multi-source monitoring data collection and synchronization in yak calf nursery This step involves collecting multi-source data on the nursery's internal and external environment, equipment operation, and cub-related data. After synchronization and alignment, a standardized historical operational sample set is constructed. This provides a data foundation for subsequent clustering of typical disturbance scenarios, modeling of cubs' equivalent perceived temperature dynamic response, and generation of a scenario-age-related energy consumption-risk mapping library. The specific implementation process is as follows: Four types of data were collected synchronously at a uniform sampling interval: Internal environmental parameters of the nursery: dry bulb temperature, wind speed at the cub habitat, and equivalent radiant temperature difference; External meteorological parameters of the nursery: ambient temperature, ambient humidity, natural wind speed, and solar radiation; Equipment operating parameters: actual operating frequency of the fan, actual duty cycle of the heater; Calves growth parameters: current age of yak calves.
[0020] Dry-bulb temperature was collected by temperature sensors placed in the main activity area of yak calves, away from direct infrared heating lamps; wind speed on the calves' habitat was collected by wind speed sensors placed near the average height of the calves' backs, reflecting the actual airflow speed formed by the combined effects of natural wind and fan-driven air; the equivalent radiation temperature difference was calculated by combining infrared radiation measurements with the positional relationship of the yak calves relative to the infrared heating lamps and the nursery enclosure structure, reflecting the combined correction effect of the positive radiation from the infrared heating lamps and the cold radiation from the low-temperature enclosure structure on the yak calves' thermal perception. For example, the surface temperature of the enclosure structure and heating lamps was first measured using an infrared thermal imager, then the average radiation temperature was calculated by combining the relative position of the calves with each surface, and finally the dry-bulb temperature was subtracted; the outside air temperature, outside humidity, natural wind speed, and solar radiation were collected by meteorological sensors placed outside the nursery, avoiding local heat sources and obstructions; the yak calves' age was calculated based on the birth date in the calving record and the current date. The actual operating frequency of the fan is obtained from the inverter feedback signal or the fan speed sensor, and is used to reflect the fan's current actual air delivery capacity, in units of 1000 m / s. The actual duty cycle of the heater is calculated based on the ratio of the heater's energization time to the total duration of the control cycle. It is used to reflect the current average heating power output ratio of the heater, is dimensionless, and ranges from 0 to 1.
[0021] It should be noted that the calculation of the equivalent radiation temperature difference is a conventional technique in the field. Those skilled in the art can calculate it based on the surface temperature of the enclosure structure, the radiation intensity of the heating lamp, and the angular coefficient of the cub's position. This invention does not impose any special limitations.
[0022] In this embodiment, the preferred sampling interval is 30 seconds or 1 minute, and a single control cycle can be 10 to 30 minutes. If the sampling times of different sensors are not completely consistent, linear interpolation is performed according to a unified timestamp to ensure that the internal environmental data, external meteorological data, and environmental control equipment operation data corresponding to the same sampling time have a consistent time index.
[0023] All aligned multi-source monitoring data were combined chronologically to form a historical operational sample set. Each historical operational sample included dry-bulb temperature, wind speed at the calf habitat, equivalent radiative temperature difference, ambient air temperature, ambient humidity, natural wind speed, solar radiation, normalized fan frequency, normalized heater duty cycle, and yak calf age at multiple consecutive sampling times. These data were used for subsequent scene clustering, model identification, and mapping library generation. S2. Construct a multidimensional cold and heat stress feature space for yak calves. See Figure 2This step calculates the dynamic index of the yak calf's equivalent somatosensory temperature based on dry-bulb temperature, wind speed at the calf's habitat, equivalent radiative temperature difference, and the calf's age, and extracts the cold stress risk index within the control period. Simultaneously, dynamic time-warping clustering is performed on the historical time-series data of external meteorological variables to obtain typical disturbance scenarios and their corresponding scenario labels, thus forming a multidimensional cold and heat stress characteristic of yak calves that simultaneously includes the current thermal state, cumulative physiological risk, and external disturbance patterns. The specific steps are as follows: S201, Extraction of dynamic index of equivalent somatosensory temperature of cubs and cold stress risk characteristics Dry-bulb temperature, wind-cooling correction, equivalent radiative temperature difference, and yak calf age are all incorporated into the dynamic index of calf equivalent somatosensory temperature. A cold stress risk index is calculated based on the extent and duration by which the dynamic index of calf equivalent somatosensory temperature falls below the age-appropriate lower limit. This comprehensively reflects the actual thermal state and physiological risks of yak calves in the current environment. The specific steps are as follows: (1) According to the unified sampling interval, read the dry bulb temperature, calf habitat wind speed and equivalent radiation temperature difference in the current control period from the multi-source monitoring data, and read the current yak calf age.
[0024] The total number of sampling points within one control cycle is denoted as: Its value is determined by the ratio of the control period length to the sampling interval; for example, when the control period length is 30 minutes and the sampling interval is 1 minute, The sampling time index is denoted as , The value range is 1 to The first The dry-bulb temperature at each sampling time is denoted as The unit is ; will the first The wind speed at the cub habitat at each sampling time was recorded as follows: The unit is ; will the first The equivalent radiation temperature difference at each sampling time is denoted as The unit is Record the current age of the yak calf as ; The unit is days.
[0025] For example, equivalent radiative temperature difference This is a temperature correction factor with positive and negative directions. When the effective radiant heat provided by the infrared heating lamp is greater than the cold radiation loss caused by the low-temperature enclosure structure, the equivalent radiant temperature difference is... It is a positive value; when cold radiation loss is dominant, the equivalent radiation temperature difference is... It is a negative value.
[0026] (2) Based on the current age of the yak calves Calculate the lower limit temperature for age , This refers to the method used to determine age. The temperature baseline for determining whether yak calves are at risk of cold stress is as follows: the younger the yak calves, the higher the lower limit temperature for their age.
[0027] In one implementation, the lower limit temperature for age is... The calculation method is expressed as follows: in, This represents the lower limit temperature for baseline age, used to determine the initial cold stress assessment benchmark for young yak calves. For example, a value of [value to be filled in] is used. ; This represents the maximum temperature range by which the lower limit of temperature decreases as the yak calf grows older; for example, it takes the value... ; This represents the rate of change coefficient of the lower limit temperature based on age, used to control the rate at which the lower limit temperature of yak calves tends to stabilize as they grow older. The unit is 1. It is acceptable ; This represents the natural exponential function.
[0028] When the yak calf is old When the temperature is relatively low, the lower limit of the day-old temperature is... Temperature close to the lower limit of the baseline age As the yak calves grow older... Increase, lower limit temperature for age Gradually decrease and approach. Based on this, it can reflect the physiological characteristics of young yak calves, which have a weaker ability to regulate body temperature and are more sensitive to low-temperature environments.
[0029] (3) Based on the first Dry bulb temperature at each sampling time Combined with wind speed at the calf's habitat Corresponding air-cooling correction and equivalent radiative temperature difference The corresponding age-weighted radiation correction was used to obtain the dynamic index of the equivalent perceived temperature of the cubs. The calculation formula is: in, Indicates the first The dynamic index of equivalent somatosensory temperature of yaks at each sampling time refers to the actual thermal sensation value of yak calves obtained by comprehensively considering dry-bulb temperature, wind speed at the calves' habitat, equivalent radiative temperature difference, and the age of the yak calves. The unit is 1. ; The wind speed power exponent is used to describe the nonlinearity of the wind-cooling response as the wind speed changes at the juvenile habitat. The value ranges from 0.5 to 1.0, and for example, it is 0.7. The wind cooling coefficient is used to adjust the intensity of the influence of wind speed on the dynamic index of the equivalent somatic temperature of the cubs' habitat. Its unit is based on the wind speed power exponent. The unit for ensuring air-cooled correction is determined to be... For example, if If we take 0.7, then The unit is For example, the value is ; This represents the age-response constant, used to control the rate at which the age-weighted coefficient stabilizes as the yak calf grows older. For example, it takes the value... sky; This represents the natural exponential function.
[0030] It should be noted that, Indicates the first Wind-cooling correction at each sampling time, wind speed at the juvenile habitat. The larger the value, the greater the air-cooling correction, and the lower the dynamic index of the equivalent perceived temperature of the cubs. Indicates the first Age-weighted radiation correction at each sampling time, age-weighted coefficient As the yak calf grows older The increase in radiation temperature difference leads to different effective somatic corrections for the same equivalent radiant temperature difference under different age conditions of yak calves.
[0031] (4) The first Dynamic index of equivalent somatosensory temperature of cubs at each sampling time Lower limit temperature for age By comparing and extracting the portion of temperature below the age-limited lower limit, the cold stress temperature deviation is obtained. , can be represented as: in, Indicates the first Cold stress temperature deviation at each sampling time, in units of ; This represents the function that takes the maximum value.
[0032] When the cub's equivalent perceived temperature dynamic index Temperature below the lower limit for age At that time, cold stress temperature deviation Equal to the difference between the two; when the cub's equivalent perceived temperature dynamic index Temperature not lower than the lower limit for age At that time, cold stress temperature deviation The value is 0. Based on this, the interference of normal and slightly higher temperature ranges on the calculation of cold stress risk can be eliminated, so that the cold stress temperature deviation can directly reflect the intensity of low temperature exposure experienced by yak calves at the corresponding sampling time.
[0033] (5) According to the distance between the sampling time and the end time of the current control cycle, the cold stress temperature deviation at each sampling time is calculated. By applying an exponential time weight and summing the weighted results, a cold stress risk index is obtained. The calculation method is expressed as follows: in, The cold stress risk index refers to the cumulative cold stress intensity experienced by yak calves within a control period due to insufficient dynamic index of calves' equivalent somatosensory temperature. This represents the exponential forgetting factor, used to control the rate at which historical cold stress temperature deviations decay over time; it can be set to 0.05. This represents the natural exponential function.
[0034] The closer a cold stress temperature deviation is to the end of the current control cycle, the closer its exponential time weight is to 1; conversely, the farther a cold stress temperature deviation is from the end of the current control cycle, the smaller its exponential time weight is. Based on this, the cold stress risk index retains both the cumulative low-temperature exposure information within the current control cycle and enhances the impact of recent low-temperature events on the risk assessment results, making the cold stress risk index more suitable as a basis for dynamic adjustment in the next control cycle.
[0035] It should be noted that the dry-bulb temperature, wind speed at the juvenile habitat, and equivalent radiation temperature difference in step S201 must use the same time reference. If the update period of the equivalent radiation temperature difference is longer than the sampling period of the dry-bulb temperature, linear interpolation can be performed between two adjacent equivalent radiation temperature difference measurements to avoid non-realistic abrupt changes in the dynamic index of the juvenile's equivalent somatosensory temperature due to time misalignment.
[0036] S202, Classification of Typical Disturbance Scenarios Based on Clustering of External Meteorological Time Series Patterns This step uses dynamic time warping distance to compare the temporal similarity between the sliding window sequence of external meteorological variables and the centroid sequences of each typical disturbance scenario. The typical disturbance scenario with the smallest dynamic time warping distance is identified as the current scenario label. This allows continuously changing external meteorological conditions to be summarized into a finite number of typical disturbance patterns, providing a basis for subsequent model parameter scheduling and targeted control based on scenarios. The specific steps are as follows: (1) Read the ambient temperature, ambient humidity, natural wind speed and solar radiation from the historical operation sample set, and form a multivariate external meteorological sequence according to the sampling time order.
[0037] Specifically, the first The vector of external meteorological variables at each sampling time is denoted as... , is represented as: in, Indicates the first The ambient temperature at each sampling time; Indicates the first The ambient humidity at each sampling time; Indicates the first Natural wind speed at each sampling time; Indicates the first Solar radiation at each sampling time; This represents the transpose operation of a vector.
[0038] External temperature, external humidity, natural wind speed, and solar radiation have different dimensions and numerical ranges. Before performing dynamic time-warped distance calculation, the statistical ranges of the corresponding variables in historical training data are used for min-max normalization. Subsequently, the normalization parameters saved in the offline clustering stage are used, and the normalization range is not recalculated based on the current sliding window sequence of a single external meteorological variable, thus ensuring that the dynamic time-warped distance between different time windows has a consistent scale.
[0039] (2) According to the preset sliding window length Multiple external meteorological sliding window sequences are continuously extracted from the normalized multivariate external meteorological sequence.
[0040] The preset sliding window length This represents the number of sampling points contained in a single external meteorological sliding window sequence. In this embodiment, the value is 30; when the sampling interval is 1 minute, This corresponds to a 30-minute external weather change process. Each external weather sliding window sequence simultaneously retains the numerical levels, directions of change, and durations of external temperature, external humidity, natural wind speed, and solar radiation within the window.
[0041] Optionally, adjacent external meteorological sliding window sequences can be truncated in steps of 2 to 5 sampling points to increase the coverage of historical typical disturbance patterns.
[0042] (3) Preset the total number of typical disturbance scenarios Furthermore, offline clustering was performed on the external meteorological sliding window sequence using dynamic time-warped distance to obtain... A typical perturbation scenario and the corresponding centroid sequence for each typical perturbation scenario.
[0043] This represents the total number of typical disturbance scenarios, which can be determined based on historical external meteorological change types and cluster evaluation results. In this embodiment, a value of 4 is acceptable. At that time, the four typical disturbance scenarios can be respectively identified as strong wind and cooling type, sustained low temperature at night type, rapid attenuation of solar radiation type, and stable external weather type. The first... The centroid sequence corresponding to a typical perturbation scenario is denoted as . , It refers to the first Typical temporal variation trajectories of external temperature, external humidity, natural wind speed, and solar radiation under typical disturbance scenarios; among them... This represents the index of a typical disturbance scenario, with values ranging from 1 to... .
[0044] First, the K-Means++ algorithm is used to select from the external meteorological sliding window sequence. An initial centroid sequence is generated; then, the multivariate dynamic time warping distance between each external meteorological sliding window sequence and each initial centroid sequence is calculated. When calculating the multivariate dynamic time warping distance, the Euclidean distance between the normalized external meteorological variable vectors corresponding to two time positions is used as the local matching cost, and the time warping path with the minimum cumulative local matching cost is searched while keeping the sampling order unchanged.
[0045] Further, each external meteorological sliding window sequence is assigned to the category with the smallest dynamic time warping distance; then, the external meteorological sliding window sequences within the same category are aligned according to their respective optimal time warping paths, and the external meteorological variable vectors aligned to the same centroid position are averaged to update the centroid sequence of the corresponding category. This category assignment and centroid sequence update process is repeated until the category assignment result no longer changes, or until a preset number of iterations is reached. Optionally, the preset number of iterations can be 100.
[0046] In one embodiment, for example, if the total number of typical disturbance scenarios is preset... The clustering process is as follows: First, randomly select one from all external meteorological sliding window sequences as the first centroid sequence. Next, calculate each remaining window sequence to The dynamic time-warped distance is used to determine the next centroid. The greater the distance, the higher the probability of it being selected as the next centroid. The second centroid sequence is selected based on probability. Repeat this process to calculate the centroids of each window sequence for all selected centroids. , Find the shortest distance between the centroids and the third centroid sequence based on probability. This process continues until all four initial centroids are selected. Then, an iterative optimization phase begins, assigning each window sequence to the category of its nearest centroid; averaging the aligned window sequences within each category yields new centroids; this assignment and update process is repeated until the categories of all window sequences no longer change, completing the clustering. The final four centroid sequences may represent four typical perturbation scenarios: "strong wind and cooling type," "persistent low nighttime temperature type," "rapid solar radiation decay type," and "stable external weather type."
[0047] In one embodiment, such as Figure 3 The diagram shows the dynamic time warping alignment path and cumulative cost matrix, displaying the local cost accumulation matrix between the current external meteorological sliding window sequence and the centroid sequence of a typical disturbance scenario, as well as the optimal time warping path obtained through searching. The horizontal axis represents the centroid sequence time index (dimensionless), and the vertical axis represents the current window sequence time index (dimensionless). The colors in the diagram, from blue to yellow, indicate that the cumulative cost increases from small to large. The white broken line and scatter points indicate the optimal warping path. Experiments show that even if the two sequences have offsets in local time positions, the optimal warping path can still capture the overall similar change trajectory.
[0048] It should be noted that dynamic time warping distance allows for local stretching or compression of the time axis of two external meteorological variable window sequences without changing the sampling order. Therefore, even if the start time or duration of two strong wind and cooling events differ, as long as they have similar trends, they can still be classified into the same typical disturbance scenario.
[0049] (4) During online operation, based on the current sampling time Use the window endpoint as the truncation point. The external temperature, humidity, wind speed, and solar radiation at each sampling time are used to obtain the current sliding window sequence of external meteorological variables. , Used to characterize current external meteorological conditions over a recent period (i.e., the [number]th period) From the sampling time to the... The continuous variation pattern (at each sampling time).
[0050] Furthermore, the sliding window sequence of the current external meteorological variables is calculated separately. With each centroid sequence The dynamic time warp distance between them is used to determine the index of the typical perturbation scene with the smallest dynamic time warp distance, and the current scene label is determined from the index of the typical perturbation scene with the smallest dynamic time warp distance. The calculation formula is: in, Indicates the first The current scene label at each sampling time, whose value belongs to the set. ; Represents a multivariable dynamic time-warped distance function; This indicates the selection of typical perturbation scenario indexes that minimize the dynamic time-warped distance.
[0051] (5) The dynamic index of the equivalent somatosensory temperature of the cubs at the current sampling time. Cold stress risk index during the current control period Current scene tags and the current age of yak calves These characteristics collectively represent the multidimensional cold and heat stress features of yak calves during the current control cycle.
[0052] Among them, the dynamic index of equivalent perceived temperature of cubs Used to characterize the thermal state of yak calves at the current moment; cold stress risk index Used to characterize the cumulative degree of low-temperature exposure that has occurred within the current control period; current scene label A typical disturbance model used to characterize the current external weather conditions; current age of yak calves. Used to characterize the physiological tolerance boundary of yak calves.
[0053] By analyzing the multidimensional cold and heat stress characteristics of yak calves during the current control period, we can distinguish between operational states where "the calves have the same dynamic index of equivalent somatic temperature but different historical low-temperature exposure levels", "the calves have the same cold stress risk index but different external weather change patterns", and "the yaks have the same external weather conditions but different ages".
[0054] S3. Establish a multi-objective mapping model of dynamic response and energy consumption of equivalent somatic temperature of cubs in a scenario-physiology coupled manner. This step establishes an auto-regressive (ARX) model with exogenous input, where model parameters vary with the current scene label and the age of the yak calves. It maps the normalized fan frequency and normalized heater duty cycle to the dynamic index of the calves' equivalent perceived temperature at multiple future sampling times. Then, it uses the calves' equivalent perceived temperature dynamic response model to perform offline simulations on different typical disturbance scenarios, different yak calf ages, and different candidate normalized control input sequences, generating a scene-age-related energy consumption-risk mapping library. The specific steps are as follows: S301. Dynamic response modeling of yak calf equivalent somatosensory temperature by integrating scene tags with yak calf age. Considering the input time lag and thermal inertia characteristics of the internal thermal processes in the nursery, this step employs an autoregressive model with exogenous input to describe the dynamic changes in the equivalent somatosensory temperature index of the pups. The model parameters are dynamically adjusted according to scene labels and pup age, thereby establishing a scene-physiological coupling dynamic mapping relationship between environmental control inputs and pup thermal states. This model can predict the differentiated thermal responses of pups to control actions under different external disturbance patterns and at different ages. The model architecture is described in [reference needed]. Figure 4 The specific implementation steps are as follows: (1) Calculate the change in the equivalent somatosensory temperature of the cubs between adjacent sampling times based on the dynamic index of the equivalent somatosensory temperature of the cubs obtained by continuous sampling.
[0055] Among them, the first The change in the equivalent perceived temperature of the cubs at each sampling time is denoted as . , can be represented as: in, Used to characterize the From the sampling time to the... The direction and magnitude of the equivalent perceived temperature change of the cubs between sampling times; Indicates the first The dynamic index of equivalent perceived temperature of the cubs at each sampling time. When, it indicates that the dynamic index of the cub's equivalent perceived temperature increases; when At this time, it indicates that the dynamic index of the equivalent perceived temperature of the cubs has decreased.
[0056] (2) The first The normalized fan frequency and normalized heater duty cycle at each sampling time constitute the normalized control input vector. The expression is: in, Indicates the first The normalized control input vector at each sampling time has a dimension of 2; Indicates the first The normalized fan frequency at each sampling time ranges from 0 to 1; Indicates the first The normalized heater duty cycle at each sampling time, with a value ranging from 0 to 1; This represents the transpose operation of a vector.
[0057] In this embodiment, the normalized fan frequency is obtained by minimum-maximum normalization based on the minimum and maximum allowable frequencies of the actual fan operating frequency; the normalized heater duty cycle is determined based on the ratio of the actual conduction time of the heater to the total duration of the control cycle within a control cycle.
[0058] (3) Based on the past The equivalent perceived temperature change of the cubs at each sampling time, and the past Using the normalized control input vector at each sampling time, an autoregressive model with exogenous input is established, and the predicted value of the equivalent somatosensory temperature change of the cubs at the current sampling time is calculated. The calculation method is expressed as follows: in, Indicates the first Predicted value of equivalent somatosensory temperature change of cubs at each sampling time; The autoregression order refers to the number of historical cub equivalent somatosensory temperature changes used in the model; for example, it is set to 2. The order of the exogenous control input refers to the number of historical normalized control input vectors used by the model; for example, it is 3. This represents the current scene label, used to index different typical disturbance scenes. Its value is the typical disturbance scene index determined in step S202, i.e. . This represents the lag index of the autoregressive term, with values ranging from 1 to... ; Indicates the first The equivalent somatic temperature change of the cubs at each sampling time; The scene label is And the yak calves are [age missing] days old The first time The autoregressive coefficient is used to describe the degree to which historical thermal states affect the current equivalent perceived temperature change of the cub. This represents the lag index of the exogenous control input, with a value range of 1 to... ; Indicates the first Normalized control input vector at each sampling time; The scene label is And the yak calves are [age missing] days old The first time Two-dimensional control input gain vector, Representing vectors The transpose of ; the first element in the two-dimensional control input gain vector is used to describe the hysteresis effect of the normalized fan frequency on the equivalent somatosensory temperature change of the pups, in units of The second element describes the hysteresis effect of the normalized heater duty cycle on the change in the pup's equivalent somatosensory temperature, in units of... . The scene label is And the yak calves are [age missing] days old The intercept term is used to compensate for the average thermal offset under the current typical disturbance scenario that is not directly represented by the historical cub equivalent perceived temperature change and the normalized control input vector, with units of [missing information]. .
[0059] It should be noted that, The historical thermal state memory term, i.e., the autoregressive term, is used to characterize the thermal inertia of the nursery enclosure structure and the temperature change inertia caused by the heat generated by the cubs themselves. This is the hysteresis control response term, i.e., the exogenous input term, used to characterize the hysteresis effect of fan and heater operating commands on temperature changes; The term is the intercept term, used to characterize the persistent average heat loss or gain trend in this scenario, for example, the steady-state heat loss of a building envelope under sustained low temperatures. For the... The centroid sequence of a typical disturbance scenario. , Used to determine scene labels And by scene tags Call the corresponding autoregressive coefficients, two-dimensional control input gain vector, and intercept term.
[0060] During model calculation, the past The historical thermal state memory term is obtained by multiplying the equivalent perceived temperature change of the cubs at each sampling time by the corresponding autoregressive coefficient; the historical thermal state memory term is calculated separately for each sampling time. The dot product of the normalized control input vector at each sampling time and the corresponding two-dimensional control input gain vector yields the hysteresis control response term formed by the operating states of the fan and heater. Then, the historical thermal state memory term, the hysteresis control response term, and the intercept term are added together to obtain the predicted value of the equivalent perceived temperature change of the juveniles. .
[0061] In one embodiment, for example, if the model order , The current sampling time is The current scene is tagged as The yak calf is [age missing] days If the temperature change at the previous moment The previous moment control input The corresponding parameters are , , The predicted value of the temperature change at the current moment. .
[0062] (4) Identify the autoregressive coefficients corresponding to different scene labels and different ages of yak calves offline based on historical operation samples. Two-dimensional control input gain vector and intercept term .
[0063] First, historical running samples are grouped according to scene labels, so that the same group of historical running samples corresponds to the same typical disturbance scene. Then, for scene labels... Based on historical operating samples, a regression input vector is constructed according to each valid sampling time. , is represented as: in, Indicates the first The regression input vector corresponding to each sampling time; Representing vectors The transpose of the term; the last element 1 is used to identify the intercept term. ; This represents the transpose operation of a vector.
[0064] Furthermore, based on the target yak calf's age... As a continuous covariate, age proximity weights are assigned to each historical running sample based on the difference between the age of the yak calves corresponding to the historical running samples and the age of the target yak calves. The age-adjacent weights of each historical running sample It can be represented as: in, It refers to the first A historical operational sample for the target yak calf's age The impact of identifying the corresponding model parameters; Indicates the first The age of yak calves corresponding to each historical operational sample; The age-bandwidth parameter is used to control the effective range of historical running samples near the age of the target yak calf. It can be taken as... (sky); This represents the natural exponential function.
[0065] The age proximity weights of each historical operational sample were used as the weights for the weighted regression, with the actual change in the larvae's equivalent somatosensory temperature as the weight. As the regression target, the regression input vector Perform weighted least squares fitting to obtain scene labels. and the age of the target yak calf The corresponding autoregressive coefficients, two-dimensional control input gain vector, and intercept term.
[0066] In one embodiment, for example, it is necessary to identify scene labels. Target yak calf age The model parameters for each day. First, collect all scene labels. The historical operating samples, which may correspond to different actual ages (e.g., samples with ages of 1, 3, 5, 7, and 9 days), are used to set the age-bandwidth parameter. Day. Calculations show that for samples with an age of 3 days, the age proximity weight is... The weight of samples with an age of 9 days is relatively high; while the weight of samples with an age of 9 days is relatively low. The weights are relatively low. Then, a weighted least squares regression is performed on all selected historical sample data using the calculated age-adjacent weights. The target value of the regression is the actual... The input features are the regression input vectors of each sample. Finally, the model coefficients are obtained through fitting, which are the coefficients relative to the target age. Model parameters that match the sky .
[0067] It should be noted that this parameter identification method does not require building independent models for each yak calf's age. Instead, the model parameters change continuously with the yak calf's age. If the current scene label changes, the model parameters corresponding to the typical perturbation scene are used; if the yak calf's age changes, the model parameters matching the current yak calf's age are obtained through age-adjacent weighted results.
[0068] (5) When conducting recursive predictions for future multi-sampling times, the current actual cub equivalent somatosensory temperature dynamic index and the most recent The change in equivalent perceived temperature of the cubs at each sampling time, and the most recent Using the normalized control input vector at each sampling time and the future candidate normalized control input sequence as initial data, the predicted value of the equivalent somatic temperature change of the cub at each future sampling time is calculated sequentially.
[0069] Record the current sampling time as For the first At a future sampling time, the predicted equivalent somatic temperature of the cubs at that future sampling time is first calculated using a dynamic response model. Then, the predicted value of the change in the cub's equivalent perceived temperature is added to the predicted value of the cub's equivalent perceived temperature at the previous sampling time to obtain the predicted value of the cub's equivalent perceived temperature at the future sampling time, which can be expressed as: in, This represents the index of a future sampling time, with a value ranging from 1 to... ; Indicates the first The nth future sampling time (i.e., the nth future sampling time) Predicted equivalent somatosensory temperature of cubs at each sampling time; Indicates the first The nth future sampling time (i.e., the nth future sampling time) Predicted equivalent somatosensory temperature of cubs at each sampling time; Indicates the first The nth future sampling time (i.e., the nth future sampling time) The predicted value of the equivalent somatosensory temperature change of the cubs at each sampling time; when season Equivalent to the current actual pups' dynamic perceived temperature index .
[0070] After completing all After recursive calculation of each future sampling time, the predicted sequence of the larvae's equivalent somatosensory temperature for the future control cycle is obtained. This recursive process maintains the continuity of the state between adjacent sampling times and can reflect the thermal inertia and input time delay that gradually take effect after the fan and heater control commands are applied, thereby identifying short-term low-temperature overshoot and high-temperature overshoot that are difficult for steady-state models to reflect.
[0071] In one embodiment, see Figure 5 This study analyzes the comparison between the actual and predicted values of the equivalent perceived temperature change in pups, demonstrating the predictive performance of the autoregressive model with exogenous input on the equivalent perceived temperature change in pups. The horizontal axis represents the sampling time index (dimensionless), and the vertical axis represents the equivalent perceived temperature change in pups (unit: ). In the figure, the blue solid line represents the actual change and the red dashed line represents the model predicted change. The experiment shows that the trend of the predicted sequence is basically consistent with that of the actual sequence, proving that the autoregressive model with exogenous input can effectively predict the dynamic response characteristics of the thermal state of cubs in the nursery.
[0072] S302. Offline generation of energy-risk Pareto frontier based on scenario simulation and constraint propagation. See Figure 6 This step, based on the dynamic response model of the calf's equivalent somatosensory temperature established in step S301, conducts offline simulations on candidate normalized control input sequences under various typical perturbation scenarios and combinations of yak calf age. It calculates the cold stress risk target and the cumulative energy consumption target, respectively. Through multi-objective non-dominated sorting, it generates a scenario-age-related energy consumption-risk Pareto front, providing initial search guidance and decision-making basis for online optimization that accurately matches the scenario and age, effectively reducing the online computational load. The specific implementation steps are as follows: (1) Determine typical disturbance scenarios Age of yak calves Corresponding offline simulation initial state For the For each typical disturbance scenario, read the corresponding centroid sequence. With centroid sequences of typical perturbation scenarios The corresponding scene index serves as the scene tag. And select the age of the yak calves to be mapped. The autoregressive coefficients identified in step S301 are called. Two-dimensional control input gain vector and intercept term We construct an equivalent dynamic response model of perceived temperature for cubs in the current scenario and at the current age.
[0073] Furthermore, the initial cub equivalent somatosensory temperature dynamic index and the historical cub equivalent somatosensory temperature change in the offline simulation can be taken from the scene label as The median of the historical operating samples at the beginning of the window is used to reduce the impact of a small number of abnormal temperature measurements on the offline Pareto front position.
[0074] In one embodiment, as an example, for scenario and age In a 10-day simulation scenario, all historical operational samples belonging to Scenario 2 and with an age of 10 days were collected. The dynamic index of the equivalent somatic temperature of the cubs at the start of each sample window was extracted, and the median was taken as the initial somatic temperature for the simulation. At the same time, historical data before the start of these sample windows were also collected. For each temperature change, the median is calculated and used as the initial sequence of historical changes for simulation.
[0075] (2) According to the distance from the walking distance The normalized fan frequency and the normalized heater duty cycle are discretized separately, and the two types of discrete control values are combined to obtain multiple candidate normalized control input vectors.
[0076] Among them, the distance from the walk This represents the interval between two adjacent discrete control values; for example, in this embodiment, the value is 0.05. When the normalized fan frequency and the normalized heater duty cycle are both within the range... , a long walk At that time, a single type of control variable corresponds to 21 discrete values, and after combining the two types of control variables, 441 candidate normalized control input vectors are obtained.
[0077] In one implementation, the same candidate normalized control input vector is continuously used within a single control cycle during the offline phase, meaning the normalized fan frequency and heater duty cycle remain constant throughout the entire control cycle; this candidate normalized control input vector is then used in the future... The sampling times are repeatedly arranged to form a candidate normalized control input sequence. , is represented as: in, This represents the candidate normalized control input sequence within a control cycle. Indicates the first Candidate normalized control input vectors for each future sampling time.
[0078] It should be noted that in this step, the candidate normalized control input sequence is kept constant in order to facilitate the construction of the scene-age-related energy consumption-risk mapping library with a small amount of computation in the offline stage; in the online stage of the subsequent step S4, the evolutionary algorithm will use crossover, perturbation and neighborhood replacement to obtain a refined control sequence that can vary independently at each sampling time based on the initial population formed by this constant candidate solution.
[0079] (3) Normalize the candidate control input sequence Input the current scene label and the dynamic response model of the yak calf's equivalent somatosensory temperature corresponding to the current age of the calf, and recursively calculate the calf's equivalent somatosensory temperature prediction sequence according to the future sampling time sequence.
[0080] The recursive process is as follows: The dynamic index of the equivalent somatosensory temperature of a cub, representative of the current scenario, is used as the starting point for the recursion; the candidate normalized control input sequence is then used... The normalized fan frequency and normalized heater duty cycle are read sequentially according to the time sequence; the corresponding autoregressive coefficients, two-dimensional control input gain vector and intercept term are called to calculate the predicted value of the equivalent somatic temperature change of the cubs at each future sampling time; the predicted value of the equivalent somatic temperature change of the cubs is gradually accumulated to obtain the complete prediction sequence of the equivalent somatic temperature of the cubs.
[0081] In one embodiment, for example, if the recursion starting point Control cycle The candidate normalized control input vector is The predicted values of the changes in the next three steps were obtained through model calculation. , , The predicted sequence is: , , .
[0082] It should be noted that through this recursive calculation, each candidate normalized control input sequence corresponds to a specific calf equivalent somatosensory temperature prediction sequence, thereby establishing a direct mapping relationship between typical disturbance scenarios, yak calf age, environmental control equipment operating status and yak calf thermal state.
[0083] (4) Calculate the cold stress risk target based on the cub equivalent somatosensory temperature prediction sequence. .
[0084] In one implementation, the future... The predicted equivalent somatosensory temperature of the cubs at each sampling time is denoted as . According to the cold stress temperature deviation and exponential time weighting method in step S201, the cold stress risk target is calculated. The calculation method is expressed as follows: in, This refers to the cumulative cold stress intensity corresponding to the current typical perturbation scenario, the current age of the yak calf, and the current candidate normalized control input sequence. The smaller the value, the stronger the ability of the candidate normalized control input sequence to suppress the risk of low temperature. Indicates the first candidate normalized control input sequence under the action of the control input sequence. Predicted equivalent somatic temperature of cubs at a future sampling time; This represents the function that takes the maximum value. This represents the natural exponential function.
[0085] (5) Based on candidate normalized control input sequence The cumulative energy consumption target is calculated based on the normalized fan frequency and normalized heater duty cycle at each future sampling time. The calculation formula is: in, It refers to the cumulative energy consumption evaluation value of the candidate normalized control input sequence within one control cycle. The smaller the value, the lower the energy consumption of the environmental control equipment corresponding to the candidate normalized control input sequence; This represents the unit energy consumption coefficient corresponding to the normalized fan frequency, and for example, it is set to 0.3; This represents the unit energy consumption coefficient corresponding to the normalized heater duty cycle, and for example, it is taken as 0.7.
[0086] Unit energy consumption coefficient and Used to convert the normalized control quantities of fans and heaters to a unified energy consumption evaluation scale, it can be calibrated according to the rated power of the fan, the rated power of the heater, and the control cycle.
[0087] (6) Based on the age of the yak calves Calculate the upper limit temperature for age , This refers to the method used to determine age. The temperature baseline for determining whether yak calves are at risk of heat stress is calculated as follows: in, This represents the upper limit temperature for the baseline age; for example, it takes the value... ; This represents the maximum temperature range by which the upper limit of temperature increases with the age of the yak calf. For example, it takes the value of... ; This represents the rate of temperature change at the upper limit of age, in units of... It is acceptable ; This represents the natural exponential function.
[0088] As the yak calves grow older Increase, upper limit temperature for age Gradually increasing, used to reflect the changing trend of yak calves' thermoregulation ability gradually increasing with growth. Lower limit temperature for age. and the upper limit temperature for age Together, they define the appropriate range of thermal states for yak calves of the corresponding age.
[0089] (7) Perform a feasibility check on each candidate normalized control input sequence.
[0090] First, check if the normalized fan frequency and the normalized heater duty cycle are within the range specified. Within the range; then check hourly whether the cub's equivalent perceived temperature prediction sequence exceeds the upper limit temperature for its age. If any control variable exceeds its numerical range, the candidate sequence is determined not to meet the device constraints; if any predicted perceived temperature exceeds the age-limited temperature, the sequence is determined to have a risk of heat stress and is removed from the candidate set of offline non-dominated sorting.
[0091] Furthermore, for cubs, the predicted equivalent perceived temperature is lower than the lower limit temperature for their age. The candidate normalized control input sequences are not directly eliminated, but instead processed through cold stress risk targets. By continuously quantifying the magnitude and duration of temperatures below the lower limit of day age, it is possible to preserve the continuous trade-off relationship from low-energy-consumption high-cold-stress risk to high-energy-consumption low-cold-stress risk, thus avoiding excessive reduction of offline feasible solutions due to strict lower limit constraints.
[0092] (8) Taking the simultaneous minimization of the cold stress risk objective and the cumulative energy consumption objective as the optimization direction, perform multi-objective non-dominated ranking on the candidate normalized control input sequences that have passed the feasibility check. The optimization objective can be expressed as: in, Indicates the candidate normalized control input sequence Let be the decision variables, and find the objective functions that satisfy them. and Simultaneously minimize the Pareto optimal solution set.
[0093] The rule for determining dominance is as follows: For any two candidate normalized control input sequences, if the cold stress risk target and cumulative energy consumption target of the first candidate normalized control input sequence are both no greater than those of the second candidate normalized control input sequence, and at least one target is strictly smaller than that of the second candidate normalized control input sequence, then the first candidate normalized control input sequence is determined to dominate the second candidate normalized control input sequence.
[0094] By retaining the candidate normalized control input sequences that are not dominated by other candidate normalized control input sequences, we obtain the energy consumption-risk Pareto front corresponding to the current typical perturbation scenario and the current age of the yak calves. No non-dominated solution in the energy consumption-risk Pareto front can continue to improve the cold stress risk target or the cumulative energy consumption target on its own without worsening the other target.
[0095] (9) Arrange the non-dominated solutions in the energy consumption-risk Pareto front in ascending order of cold stress risk target, and store the scenario label, yak calf age, cold stress risk target, cumulative energy consumption target and candidate normalized control input sequence corresponding to each non-dominated solution.
[0096] For two adjacent non-dominated solutions, record the endpoint values of their cold stress risk target and cumulative energy consumption target, and use piecewise linear interpolation to describe the energy consumption-risk relationship between adjacent endpoints, forming a scenario-age-related energy consumption-risk mapping library.
[0097] In one embodiment, for example, for scene tags and age The combination of days has two adjacent non-dominated solutions on the Pareto front, solution 1 is... Solution 2 is If the online query requires a control scheme with a risk value of 15, then by using piecewise linear interpolation, the corresponding energy consumption value between solutions 1 and 2 can be calculated to be approximately 15.
[0098] During online query, the corresponding energy consumption-risk Pareto front is read based on the current scene label and the current age of the yak calf. Then, based on the target cold stress risk level or the target cumulative energy consumption level, linear interpolation is performed between adjacent non-dominated solutions to obtain the candidate normalized control input range or initial candidate solution used for online optimization.
[0099] It should be noted that, since the scenario-age-related energy consumption-risk mapping library stores the energy consumption-risk Pareto fronts corresponding to different typical disturbance scenarios and different yak calf ages, the typical disturbance scenario of continuous low temperature at night can correspond to higher heat preservation energy consumption requirements, and the yak calf of young age can correspond to a smaller low-risk feasible area, thus providing an initial search range with scenario-specific and physiological-specific characteristics for online rolling optimization.
[0100] In one embodiment, see Figure 7 This study analyzes the Pareto front plots of energy consumption and risk under different scenarios and ages, showing the Pareto fronts formed by the cold stress risk target and the cumulative energy consumption target corresponding to the feasible candidate control input sequences under two typical perturbation scenarios and two yak calf ages. The horizontal axis represents the cold stress risk target (dimensionless), and the vertical axis represents the cumulative energy consumption target (dimensionless). Scatter points of different colors and shapes in the figure represent candidate solutions for different scenario-age combinations, and the same-colored broken lines indicate the Pareto fronts under the corresponding conditions. The experiment shows that the low cold stress risk end corresponds to high energy consumption, and the low energy consumption end is accompanied by high cold stress risk, and there is a clear separation between the front positions of different scenarios and ages.
[0101] S4. Multi-objective collaborative rolling optimization decision-making Environmental control in nursery pens presents a multi-objective conflict between cold stress risk prevention and equipment energy consumption management, and the optimal control strategy dynamically changes with the age of yak calves and external disturbance scenarios. This paper proposes a multi-objective collaborative rolling optimization decision-making method. During the online control phase, based on the current scenario label, current yak calf age, current calf equivalent somatosensory temperature dynamic index, and current cold stress risk index, the scenario-age-related energy consumption-risk mapping library is queried. Combined with the calf equivalent somatosensory temperature dynamic response model, the normalized fan frequency and normalized heater duty cycle are rolled for optimization within the next control cycle. During the rolling optimization process, the common objectives are reducing cold stress risk and cumulative energy consumption. The candidate normalized control input sequences are corrected and screened using the physiological tolerance boundary corresponding to the yak calf age. The specific steps are as follows: S401, Decomposition and Optimization Population Construction Guided by Scene-Age Association Mapping Performing large-scale global search optimization directly online involves significant computational costs, making it difficult to meet the real-time requirements of livestock and poultry farming environmental control. This step utilizes an offline-generated mapping library to provide a good initial solution and search range for online optimization. The energy consumption-risk multi-objective optimization problem is decomposed into multiple single-objective sub-problems for collaborative solution, inheriting the optimization results from the previous cycle. This ensures that the initial population incorporates global prior knowledge of the scenario and age, while maintaining the temporal continuity of control, thereby accelerating convergence and improving online optimization efficiency. The specific steps are as follows: (1) Read the current scene label and the current age of the yak calf, and extract the corresponding energy consumption-risk Pareto front from the scene-age-related energy consumption-risk mapping library. If the mapping library does not store a Pareto front that completely corresponds to the current calf age, read the Pareto front corresponding to the adjacent age, and perform interpolation operation based on the distance between the current age and the adjacent age to obtain the initial candidate normalized control input range under the current scene and age.
[0102] (2) The low-cold-stress-risk non-dominated solutions, low-cumulative-energy-consumption non-dominated solutions, and the compromise non-dominated solutions between the two in the mapping library are used as the core components of the initial population. At the same time, the optimal normalized control input sequence output from the previous control cycle is shifted forward by one sampling time along the time sequence and added to the initial population of the current control cycle. For control input bits missing at the end of the sequence, the control input at the end of the previous cycle or the compromise non-dominated solution in the mapping library is used to fill in the missing bits. This population construction method can simultaneously utilize the scenario-age-energy-risk patterns mined offline and the state continuity between adjacent control cycles, effectively reducing the ineffective search space of online optimization.
[0103] (3) The Tchebyshev decomposition method is adopted to decompose the cold stress risk objective and the cumulative energy consumption objective into multiple mutually adjacent optimization sub-problems according to different preference directions. Among them, some sub-problems focus on reducing cold stress risk, some sub-problems focus on reducing equipment energy consumption, and the remaining sub-problems are used to search for a trade-off between cold stress risk and energy consumption. Each optimization sub-problem interacts with neighboring sub-problems to generate candidate normalized control input sequences. New candidate normalized control input sequences are generated through simulated binary crossover, polynomial mutation, and neighborhood replacement operations.
[0104] The core principle of the Chebyshev decomposition method is as follows: assign a weight vector to each optimization subproblem, and take minimizing the maximum weighted distance between each optimization objective and the ideal reference point as the optimization objective, thereby transforming the multi-objective optimization problem into a set of single-objective optimization subproblems to be solved separately.
[0105] Specifically, simulated binary crossover is applied to the corresponding time-time control vectors of two parent candidate control sequences to generate offspring candidate sequences; polynomial mutation is used to randomly perturb the control quantities at some time points in the offspring sequence; neighborhood replacement refers to performing individual replacement if the single objective function value corresponding to the newly generated offspring sequence is better than the worst individual in the current subproblem population.
[0106] During the iterative optimization process, neighborhood replacement is performed as follows: a neighborhood range is predefined for each single-objective subproblem. For example, the neighborhood of a single subproblem includes itself and its N neighboring subproblems. When generating a new candidate control sequence, two parent candidate sequences are randomly selected from the neighborhood of the current subproblem, and simulated binary crossover and polynomial mutation are performed sequentially to generate a new candidate control sequence. If the performance of the newly generated candidate sequence is better than the original sequence under the objective function corresponding to the subproblem, the solution replacement in the neighborhood is completed.
[0107] In one embodiment, for example, if there are 20 sub-problems, sub-problem 1 focuses on minimum risk, sub-problem 20 focuses on minimum energy consumption, and a neighborhood size is set. If the neighborhood of subproblem 5 is {3, 4, 5, 6, 7}, then when generating a new solution for subproblem 5, two control sequences are randomly selected from its neighborhood, and simulated binary crossover and polynomial mutation are performed to obtain a candidate sequence of offspring. The objective function value of the candidate sequence of offspring for subproblem 5 is calculated. If it is better than the current solution, the current solution is replaced by the candidate sequence of offspring to update the solution.
[0108] (4) For each newly generated candidate normalized control input sequence, the dynamic response model of the calf equivalent somatosensory temperature corresponding to the current scene label and the current age of the yak calf is called to recursively obtain the calf equivalent somatosensory temperature prediction sequence for the next control cycle, and the corresponding cold stress risk target and cumulative energy consumption target are calculated. The control sequences with target performance better than the original candidate solutions are initially retained, and then corrected and checked for feasibility through physiological constraint projection operation.
[0109] S402. Candidate Control Sequence Correction and Decision Output under Physiological Constraint Projection Operation Considering the cumulative effect of low-temperature exposure in yak calves, and the potential for localized high temperatures due to continuous heater operation, non-dominated ranking based solely on cold stress risk and cumulative energy consumption targets can easily generate two types of infeasible candidate control sequences: one type consists of sequences with low current energy consumption but unable to promptly mitigate accumulated cold stress, and the other type carries a risk of high-temperature overshoot in the future. Therefore, this step introduces a physiological constraint projection operation during the evolutionary search process. This incorporates the cold stress risk already established in the current control cycle, the future cold stress risk corresponding to the candidate control sequence, and the age-limited temperature into the correction criteria for the candidate control input. This ensures that the final output control sequence conforms to the physiological tolerance boundary of yak calves, generating safe and feasible equipment control commands. The specific implementation method is as follows: In one implementation, the candidate normalized control input sequence generated by the evolutionary algorithm is denoted as... , of which The two-dimensional normalized control input vector at each future sampling time is denoted as... The corrected normalized control input vector is obtained through physiological constraint projection operation, and the calculation method is expressed as follows: in, Indicates the first The two-dimensional normalized control input vector after physiological constraint projection operation correction at each future sampling time; This represents the index of a future sampling time in the candidate normalized control input sequence. ; This indicates that the correction results for the normalized fan frequency and normalized heater duty cycle are limited to... Within the scope of the device's capabilities; The calculation methods for the cold stress correction term and the high temperature overshoot correction term are as follows: in, This represents the cold stress correction step size, used to control the correction strength of cold stress risk to candidate control inputs, and can be set to 0.1. Represents the candidate normalized control input sequence In the current scene tag and the current age of yak calves The corresponding future cold stress risk targets under the given conditions; Indicates the age of yak calves in days A corresponding cold stress risk reference scale is used to prevent the risk correction ratio from being too large, and can be adopted. ; Indicates the current scene label and the current age of yak calves The corresponding cold stress correction direction vector can be determined based on the control change direction between the current candidate solution and the adjacent low-risk non-dominated solution in the scenario-age-related energy consumption-risk mapping library. Its first component corresponds to the direction of reducing the normalized fan frequency, which can be -1.0, and its second component corresponds to the direction of increasing the normalized heater duty cycle, which can be +1.0. This represents the high-temperature boundary correction step size, used to control the correction strength of high-temperature overshoot on candidate control inputs, and can be set to 0.1. Indicates the first candidate normalized control input sequence under the action of the control input sequence. Predicted equivalent somatic temperature of cubs at a future sampling time; This indicates that only the portion exceeding the high temperature limit (greater than 0) will be retained. The temperature reference scale used to represent the high-temperature over-limit correction can be taken as follows: ; Indicates the current scene label and the current age of yak calves The corresponding high-temperature boundary correction direction vector has a first component that corresponds to the direction of increasing the normalized fan frequency, which can be taken as +1.0, and a second component that corresponds to the direction of decreasing the normalized heater duty cycle, which can be taken as -1.0.
[0110] Through the above correction mechanism, if there is a current cumulative risk of cold stress... Or the risk of future cold stress caused by the current control sequence The cold stress correction term can generate along the Directional correction control commands (i.e., reducing fan frequency and increasing heater duty cycle) are used to enhance insulation and suppress cold stress; if the predicted future temperature sequence contains temperatures exceeding the age limit... The risk of high-temperature overshoot correction term is that it generates a period along the line. Directional correction control commands (i.e., increasing fan frequency and reducing heater duty cycle) are used to enhance ventilation and cooling and avoid heat stress.
[0111] After correction, the juvenile equivalent somatosensory temperature dynamic response model is invoked again to calculate the juvenile equivalent somatosensory temperature prediction sequence, cold stress risk target, and cumulative energy consumption target corresponding to the corrected sequence. If the corrected prediction sequence still has sampling times exceeding the upper limit temperature for age, the corresponding candidate normalized control input sequence is directly removed; if the prediction sequence is below the lower limit temperature for age, its low-temperature exposure magnitude and duration are further evaluated through the cold stress risk target, and it is not directly removed.
[0112] Furthermore, when the optimization iteration meets the preset termination conditions, an online control scheme is selected from the final non-dominated candidate solutions. The preset termination conditions include: reaching a preset number of evolution generations, or the candidate solution set showing no significant performance improvement for multiple consecutive generations; for example, the preset number of evolution generations can be 100 generations, the number of consecutive generations without improvement can be 10 generations, and the performance improvement criterion is that the change in the average value of the objective function is less than 1%.
[0113] The selection rules are as follows: if the current cold stress risk is high, the candidate solution closer to the low-risk end of the mapping library is preferred; if the current cold stress risk is low and the cub equivalent somatic temperature prediction sequence remains between the upper and lower limits of age, the compromise candidate solution with lower cumulative energy consumption is selected.
[0114] The first normalized fan frequency and the first normalized heater duty cycle of the selected candidate normalized control input sequence are used as the control decision for the current control cycle, and the remaining control inputs are used as the reference sequence for the initial population of the next control cycle.
[0115] S5, Online Closed-Loop Control of Yak Calves Nursery This step integrates data acquisition, status identification, rolling optimization, command execution, and database updates into an online closed-loop control process. It achieves adaptive regulation from sensing and decision-making to execution in response to environmental changes. Through a closed-loop mechanism of "sensing-decision-execution-feedback," it continuously ensures the thermal comfort of the yak calf nursery and effectively reduces energy consumption. The specific steps are as follows: After the yak calf nursery is put into operation, the internal environmental sensors, external meteorological sensors, fan operation status acquisition devices, and heater operation status acquisition devices are activated first. Dry bulb temperature, wind speed at the calf's habitat, equivalent radiative temperature difference, outside air temperature, outside humidity, natural wind speed, solar radiation, actual fan operating frequency, and actual heater duty cycle are continuously collected at uniform sampling intervals. Simultaneously, the current yak calf age is updated based on calving records, and data from different sources are aligned with a unified timestamp to form complete multi-source monitoring data corresponding to the current control cycle.
[0116] At the end of each control cycle, the dynamic index of the calf's equivalent somatic temperature and the cold stress risk index are calculated based on the dry-bulb temperature, wind speed at the calf's habitat, equivalent radiative temperature difference, and the calf's age within the current control cycle. Furthermore, the current scenario label is determined by comparing the changes in ambient temperature, ambient humidity, natural wind speed, and solar radiation within the most recent external meteorological sliding window with the centroid sequences of typical disturbance scenarios stored offline. This results in an online control state composed of the current thermal state, cumulative cold stress risk, external disturbance patterns, and the calf's age.
[0117] Subsequently, based on the current scene label and the current age of the yak calf, the corresponding dynamic response model for the calf's equivalent somatosensory temperature is invoked, and the corresponding energy consumption-risk Pareto front and initial candidate normalized control input range are retrieved from the scene-age-related energy consumption-risk mapping library. Then, multi-objective collaborative rolling optimization is performed, using the dynamic response model to predict the change in the calf's equivalent somatosensory temperature over a future control cycle under different candidate control inputs. The cold stress risk and cumulative energy consumption corresponding to each candidate control input are compared, and candidate control inputs that may lead to prolonged low-temperature exposure or high-temperature overshoot are corrected through physiological constraint projection operations.
[0118] The online controller executes only the first control command in the preferred normalized control input sequence: It performs an inverse normalization operation on the normalized fan frequency based on the minimum and maximum allowable fan frequencies to obtain the actual operating frequency of the fan; it converts the normalized heater duty cycle into the actual on-time of the heater based on the total duration of the current control cycle. The controller then sends the converted control commands to the fan frequency converter and the heater on / off control, driving the fan and heater to operate according to the target state in the current control cycle.
[0119] During the execution of control commands, data on the internal environment of the nursery, external weather conditions, and the actual operating status of environmental control equipment continue to be collected. Upon entering the next control cycle, the recursive initial state of the dynamic response model is updated using the newly collected dynamic index of the actual pups' equivalent somatosensory temperature, the actual cold stress risk index, and the actual equipment operating status, and the current scene label is re-identified. Candidate control inputs that were not executed in the previous control cycle are only used as initial references for the next round of optimization and are not directly used as equipment control commands for the next control cycle, thereby avoiding the continuous accumulation of control deviations caused by changes in external weather or pups' thermal state.
[0120] When the actual perceived temperature of the calf approaches the upper limit for its age, the online controller prioritizes reducing the heater output and appropriately increases the fan operating frequency based on the current wind speed. When the risk of cold stress continues to increase, the online controller prioritizes increasing the heater duty cycle and limits the fan operating frequency that may exacerbate the wind-cooling effect. When some sensor data is missing, the current scene label cannot be reliably determined, or the dynamic response model cannot be called normally, the controller temporarily adopts a conservative safety control state corresponding to the current age of the yak calf and maintains an alarm for abnormal data to avoid equipment malfunctions due to abnormal optimization results.
[0121] The multi-source monitoring data generated in each control cycle, the current scene label, the dynamic index of the calf's equivalent somatosensory temperature, the cold stress risk index, the predicted temperature sequence, the optimized control results, and the actual execution status of the equipment are all stored in the historical operation sample set. After accumulating a certain number of new operation samples, the parameters of the dynamic response model under different scenarios and different ages are re-identified using the new data, and the centroid sequence of typical disturbance scenarios and the scenario-age-related energy consumption-risk mapping library are updated regularly. This forms a continuous cycle of data acquisition, status identification, rolling optimization, equipment execution, and operation feedback, realizing online closed-loop control of the yak calf nursery.
[0122] In one embodiment, for example, consider a yak calf nursery where the current external scenario is "continuously low nighttime temperature." The nursery houses 20 calves with an average age of 7 days. The system monitors that the calves' equivalent somatosensory temperature remains consistently below the lower limit for their age, resulting in a high calculated cold stress risk index. During online optimization, the Pareto front corresponding to the scenario and age is extracted from the mapping library and guided to the initial population for decomposition optimization. After 100 generations of evolutionary search and correction through physiological constraint projection operations, the system selects a compromise solution from a set of non-dominated solutions that significantly reduces the cold stress risk while keeping the cumulative energy consumption within an acceptable range. The corresponding control command for this solution is to reduce the fan frequency to 15Hz and increase the heater duty cycle to 75%. One hour after the system executes this command, the calves' equivalent somatosensory temperature returns to a suitable range, the cold stress risk is eliminated, and the calves' health is effectively protected.
[0123] Example 2: This invention also provides a ventilation and heat preservation synergistic optimization control system for yak calf rearing, the system comprising: The data acquisition module is used to receive raw multi-source data on internal environmental parameters of the nursery, external meteorological parameters, equipment operating parameters, and the age of yak calves. After performing unified timestamp alignment processing, it outputs a set of historical operating samples. The feature construction module takes the internal environmental parameters, calf age and external meteorological time series data in the historical operation sample set as input to construct a multidimensional cold and heat stress feature space for yak calves, calculates the equivalent somatic temperature dynamic index and cold stress risk index, divides typical external meteorological disturbance scenarios and outputs the current scenario label, which together constitute the multidimensional cold and heat stress features. The modeling and mapping module takes historical running samples with scene labels and target calf age data as input to establish a scene-physiological coupled calf equivalent somatosensory temperature dynamic response model. The model parameters change dynamically with the current scene label and the yak calf age, mapping the dynamic relationship between control input and calf thermal state. Based on this model, offline simulations are performed on candidate control sequences under different scenes and ages, and the model outputs a scene-age-related energy consumption-risk mapping library. The rolling optimization module takes the current multidimensional cold and heat stress characteristics, the dynamic response model, and the energy consumption-risk mapping library as inputs, calls the mapping library to guide multi-objective rolling optimization, optimizes ventilation and heat preservation control parameters in combination with the dynamic response model, performs correction and feasibility screening on candidate control sequences through physiological tolerance boundaries, and outputs the optimal normalized control input sequence. The closed-loop execution module takes the optimal normalized control input sequence as input, converts it into an executable signal for the device, and sends it to the field device. In the next control cycle, the operating status is re-acquired and iteratively optimized, while the actual operating data is fed back and stored in the historical operating sample set to form closed-loop control.
Claims
1. A method for synergistic optimization control of ventilation and heat preservation for yak calf rearing, characterized in that, Includes the following steps: S1. Simultaneously collect internal environmental parameters, external meteorological parameters, equipment operating parameters, and the age of yak calves in the nursery, and form a historical operating sample set after time alignment; S2. Construct a multidimensional cold and heat stress feature space for yak calves. Calculate the dynamic index of the calves’ equivalent somatic temperature based on internal environmental parameters and the calves’ age and extract the cold stress risk index. Divide typical external meteorological disturbance scenarios and determine the current scenario label to jointly constitute multidimensional cold and heat stress features. S3. Establish a dynamic response model of equivalent somatosensory temperature of cubs with scene-physiology coupling. Its autoregressive coefficient, control input gain and intercept term dynamically take values with the current scene label and cub age, so as to realize the dynamic mapping between control input and cub thermal state. Based on this model, offline simulations of candidate control sequences under different scenarios and ages were conducted to generate an energy consumption-risk mapping library associated with scenario and age. S4. Based on the current multidimensional cold and heat stress characteristics, the scenario-age-related energy consumption-risk mapping library is invoked to guide multi-objective rolling optimization. The ventilation and heat preservation control parameters are optimized in combination with the dynamic response model, and the candidate control sequences are corrected and screened through the physiological tolerance boundary. S5. Convert the control command into a device execution signal and send it out for execution. In the next control cycle, re-acquire the status and perform rolling optimization. At the same time, store the running data into the historical running sample set to form a closed-loop control.
2. The method for synergistic optimization control of ventilation and heat preservation for yak calf rearing according to claim 1, characterized in that, In step S2, the dynamic index of equivalent perceived temperature and the cold stress risk index of the cubs are obtained through the following methods: The dynamic index of equivalent somatosensory temperature for juveniles is calculated based on dry-bulb temperature, plus a wind-cooling correction for wind speed at the juvenile habitat level and an age-weighted radiation correction for equivalent radiative temperature difference. The calculation formula is as follows: in, Indicates the first The dynamic index of equivalent somatosensory temperature of cubs at each sampling time; For the first Dry bulb temperature at each sampling time; The coefficient of performance is the air-cooling factor. Wind speed at the level where the calves live; This represents the wind speed power exponent, with a value ranging from 0.5 to 1.0; This is the equivalent radiation temperature difference; The day-response constant; Age of yak calves; Represents the natural exponential function; The cold stress risk index is calculated as follows: The lower limit temperature for the current age of the yak calf is calculated, and the portion of the dynamic index of the yak calf's equivalent somatic temperature that is lower than the lower limit temperature for its age is taken as the cold stress temperature deviation. A time weight is applied to the index based on the distance between the sampling time and the end of the control period, and these weights are accumulated to obtain the cold stress risk index. The calculation formula is as follows: in, Indicates the cold stress risk index; express Cold stress temperature deviation at the sampling time; Indicates the exponential forgetting factor; Represents the natural exponential function; To control the total number of sampling points within a period; This is the sampling time sequence number.
3. The method for synergistic optimization control of ventilation and heat preservation for yak calf rearing according to claim 1, characterized in that, In step S2, the method for classifying typical disturbance scenarios and determining the current scenario label is as follows: (1) Read the ambient temperature, ambient humidity, natural wind speed and solar radiation from the historical operation sample set, and form a multivariate external meteorological sequence according to the sampling time order; (2) The variable statistical range of historical training data is used to perform minimum-maximum normalization on the multivariate external meteorological series, according to the preset sliding window length. Multiple external meteorological sliding window sequences are continuously extracted from the normalized multivariate external meteorological sequence; (3) Preset the total number of typical disturbance scenarios Furthermore, offline clustering was performed on the external meteorological sliding window sequence using dynamic time-warped distance to obtain... A typical disturbance scenario and the corresponding centroid sequence for each typical disturbance scenario; (4) When running online, capture the most recent The external meteorological data at each sampling time is used to obtain the current external meteorological variable sliding window sequence. The dynamic time warping distance between the current external meteorological variable and each centroid sequence is calculated, and the scene category with the smallest distance is determined as the current scene label.
4. The method for synergistic optimization control of ventilation and heat preservation for yak calf rearing according to claim 1, characterized in that, In step S3, the dynamic response model of the cub's equivalent perceived temperature is an autoregressive model with exogenous inputs. The model inputs include past data. The equivalent perceived temperature change of the cubs at each sampling time, and the past The normalized control input vector at each sampling time is used to output the model as the predicted value of the equivalent somatic temperature change of the yak at the current sampling time. The model's autoregressive coefficients, two-dimensional control input gain vector, and intercept term are all dynamically assigned according to the current scene label and the yak calf's age.
5. The method for synergistic optimization control of ventilation and heat preservation for yak calf rearing according to claim 4, characterized in that, In step S3, the model parameters are identified in the following way: Historical running samples are grouped by scene label. For samples in the same scene, a weight is set based on the target age, with samples closer to the target age having a higher weight. We obtain a complete set of model parameters corresponding to the current scene and the target age by weighted least squares fitting, so that the model parameters change continuously with the age of the yak calves.
6. The method for synergistic optimization control of ventilation and heat preservation for yak calf rearing according to claim 1, characterized in that, In step S3, the scenario-age-related energy consumption-risk mapping library is generated offline through scenario simulation and constraint propagation, specifically as follows: (1) Determine the initial state of offline simulation corresponding to the typical disturbance scenario and the age of yak calves; Discretize and normalize the fan frequency and the heater duty cycle, and combine them to obtain multiple candidate control input sequences; (2) For each typical disturbance scenario and each target age, the corresponding dynamic response model is called to perform offline simulation of the candidate control sequence to obtain the cub equivalent somatosensory temperature prediction sequence, and the cold stress risk target and cumulative energy consumption target are calculated respectively. (3) The physiological tolerance boundary corresponding to the age of yak calves is transmitted to the control input feasible region through constraint propagation based on the physiological tolerance boundary. After removing sequences with heat stress risk by checking the upper limit temperature of age, the energy consumption-risk Pareto front is obtained through multi-objective non-dominated sorting. (4) Store the Pareto fronts corresponding to all scenario-age combinations to form a scenario-age-related energy consumption-risk mapping library.
7. The method for synergistic optimization control of ventilation and heat preservation for yak calf rearing according to claim 1, characterized in that, In step S4, multi-target scrolling optimization is achieved in the following way: (1) Based on the current scene label and the age of the yak calf, extract the corresponding energy consumption-risk Pareto front from the scene-age-related energy consumption-risk mapping library; when there is no Pareto front corresponding to the current age in the mapping library, read the Pareto front of the adjacent age and interpolate according to the age distance to obtain the initial candidate normalized control input range corresponding to the current scene and age. (2) Select the low cold stress risk non-dominated solution, the low cumulative energy consumption non-dominated solution and the compromise non-dominated solution between the two in the mapping library as the initial population. At the same time, shift the optimal normalized control input sequence of the previous control cycle forward by one sampling time, and add it to the initial population after supplementing the terminal control quantity. (3) The Chebyshev decomposition method is used to decompose the multi-objective optimization problem of cold stress risk and cumulative energy consumption into multiple single-objective sub-problems. Each sub-problem corresponds to the risk priority, energy consumption priority and risk-energy consumption trade-off preference direction respectively. New candidate control sequences are generated and optimized by simulating binary crossover, polynomial mutation and neighborhood replacement iteration.
8. The method for synergistic optimization control of ventilation and heat preservation for yak calf rearing according to claim 1, characterized in that, In step S4, the candidate normalized control input sequences are corrected and screened using the physiological tolerance boundary corresponding to the age of yak calves. This is achieved through a physiological constraint projection operation, specifically as follows: (1) The candidate normalized control input sequences generated by evolution are superimposed with cold stress correction terms and high temperature overshoot correction terms respectively; the cold stress correction term is corrected in the direction of reducing the normalized fan frequency and increasing the normalized heater duty cycle; the high temperature overshoot correction term is corrected in the direction of increasing the normalized fan frequency and reducing the normalized heater duty cycle; the corrected control quantity is constrained within the range of values that the equipment can execute. (2) After the correction is completed, the juvenile equivalent somatosensory temperature dynamic response model is called again to calculate the juvenile equivalent somatosensory temperature prediction sequence, cold stress risk target and cumulative energy consumption target corresponding to the corrected sequence; Candidate sequences that still pose a risk of heat stress after correction are removed, while candidate sequences that have low-temperature exposure are retained and their risk level is quantified using cold stress risk targets. (3) When the optimization iteration reaches the preset termination condition, select the corresponding control scheme from the final non-dominated candidate solution according to the current cold stress level.
9. The method for synergistic optimization control of ventilation and heat preservation for yak calf rearing according to claim 1, characterized in that, In step S5, only the first control instruction in the optimal control sequence is executed in each control cycle, and the remaining control sequences are only used as the initial reference for optimization in the next cycle; the dynamic response model parameters, the centroid sequence of typical disturbance scenarios, and the energy consumption-risk mapping library are updated periodically using newly added historical running samples.
10. A ventilation and heat preservation synergistic optimization control system for yak calf rearing, characterized in that, include: The data acquisition module is used to synchronously collect internal environmental parameters, external meteorological parameters, equipment operating parameters, and the age of yak calves in the nursery, and form a historical operating sample set after time alignment; The feature construction module is used to construct a multidimensional cold and heat stress feature space for yak calves. Based on internal environmental parameters and the age of the calves, it calculates the equivalent somatic temperature dynamic index and extracts the cold stress risk index. It also classifies typical external meteorological disturbance scenarios and determines the current scenario label, which together constitute the multidimensional cold and heat stress features. The modeling and mapping module is used to establish a scene-physiology coupled dynamic response model of the calf's equivalent somatosensory temperature. The model parameters change dynamically with the current scene label and the yak calf's age, mapping the dynamic relationship between the control input and the calf's thermal state. Based on this model, offline simulations of candidate control sequences under different scenarios and ages were conducted to generate an energy consumption-risk mapping library associated with scenario and age. The rolling optimization module is used to guide multi-objective rolling optimization by calling the scenario-age-related energy consumption-risk mapping library based on the current multi-dimensional cold and heat stress characteristics, combining the dynamic response model to optimize ventilation and heat preservation control parameters, and correcting and screening candidate control sequences through physiological tolerance boundaries. The closed-loop execution module is used to convert control commands into equipment execution signals and issue them for execution. In the next control cycle, the status is re-acquired and continuously optimized. At the same time, the running data is stored in the historical running sample set to form closed-loop control.
