An intelligent pet box temperature control system based on environment self-adaptation

CN123010931APending Publication Date: 2026-10-30深圳市宏图洋展通讯有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611187541.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-06
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

然而,实际使用中发现,宠物在不同代谢状态(如睡眠、静卧、走动、兴奋等)下,其体表温度与产热量存在显著差异,对舒适温度的需求并非恒定值,现有系统无法根据宠物实时的代谢活动动态调整目标温度,导致加热或制冷过度或不足,此外,现有温控系统仅依赖箱内环境温度与固定目标温度的偏差进行控制,未考虑外部环境温度对箱内温度变化的物理辅助或阻碍作用,导致控制输出功率与实际情况不匹配,大大降低了对智能宠物箱内温度的调控效果;

Benefits of technology

[0024]本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在本申请文件中所特别指出的结构来实现和获得。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123010931A_ABST
    Figure CN123010931A_ABST
Patent Text Reader

Abstract

The application discloses an environment self-adaptive intelligent pet box temperature control system, and relates to the technical field of temperature control, comprising: a data acquisition module for acquiring the temperature of the environment in the box, the temperature of the environment outside the box, the temperature of the surface of the pet, the motion acceleration, the real-time heart rate and the breathing frequency; a temperature difference determination module for determining the environmental temperature difference and the surface temperature difference between the surface temperature and the preset comfortable temperature; a temperature control decision module for determining the current metabolic state based on the motion acceleration, the heart rate and the breathing frequency when the absolute value of the surface temperature difference is greater than the preset threshold, correcting the preset comfortable temperature to obtain a dynamic target temperature, and generating a temperature rising or falling instruction according to the deviation between the surface temperature and the dynamic target temperature; and a temperature control execution module for dynamically controlling the output power duty cycle of the heating or refrigeration element based on the instruction and the direction of the environmental temperature difference. The response speed, accuracy and stability of temperature control are significantly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of temperature control technology, and in particular to an intelligent pet carrier temperature control system based on environmental adaptation. Background Technology

[0002] Currently, traditional pet carriers typically rely on natural ventilation or simple heating / cooling pads to regulate their internal temperature during transportation or daily use. While some existing smart pet carriers have introduced temperature control functions, most of them use the following method: setting a fixed target temperature, detecting the ambient temperature inside the carrier through a temperature sensor, activating the heating element when the ambient temperature is lower than the target temperature, and activating the cooling element when it is higher than the target temperature. However, in actual use, it has been found that pets have significant differences in body surface temperature and heat production under different metabolic states (such as sleeping, lying still, walking, excited, etc.), and their need for comfortable temperature is not constant. Existing systems cannot dynamically adjust the target temperature according to the pet's real-time metabolic activity, resulting in overheating or undercooling. In addition, existing temperature control systems only rely on the deviation between the ambient temperature inside the box and the fixed target temperature for control, without considering the physical assistance or resistance of the external ambient temperature to the temperature change inside the box, resulting in a mismatch between the control output power and the actual situation, which greatly reduces the effect of temperature regulation inside the smart pet box. Therefore, in order to overcome the above-mentioned defects, the present invention provides an intelligent pet carrier temperature control system based on environmental adaptation. Summary of the Invention

[0003] This invention provides an intelligent pet carrier temperature control system based on environmental adaptation, which significantly improves the response speed and accuracy of temperature regulation, effectively ensures the comfort of pets in different activity states, and reduces energy consumption, realizing intelligent, personalized and energy-saving temperature control management.

[0004] To achieve the above objectives, the first aspect of this invention proposes an environmentally adaptive intelligent pet carrier temperature control system, comprising: The data acquisition module is used to collect the internal and external ambient temperatures of the smart pet carrier, as well as the pet's body surface temperature, movement acceleration, real-time heart rate, and real-time respiratory rate data inside the smart pet carrier. The temperature difference determination module is used to determine the ambient temperature difference based on the internal and external ambient temperatures, and to determine the body surface temperature difference between the body surface temperature and the preset comfort temperature, wherein the preset comfort temperature is a fixed body surface temperature reference value that the pet feels comfortable. The temperature control decision module is used to determine the pet's current metabolic state based on movement acceleration, real-time heart rate data and real-time respiratory rate data when the absolute value of the body surface temperature difference is greater than the preset temperature difference threshold. It then corrects the preset comfort temperature based on the current metabolic state to obtain the dynamic target temperature. At the same time, it generates a heating command or a cooling command based on the deviation between the body surface temperature and the dynamic target temperature. The temperature control execution module is used to dynamically adjust the duty cycle of the output power of the heating or cooling element of the smart pet box based on heating or cooling commands and the positive or negative direction of the ambient temperature difference.

[0005] Based on this possible implementation method, by collecting data on internal and external ambient temperatures, pet body surface temperature, and movement acceleration, intelligent temperature control can be achieved by comprehensively considering the ambient temperature difference and the pet's real-time metabolic state. When the body surface temperature deviates from the preset comfortable temperature and exceeds the threshold, the pet's current metabolic level is determined based on movement acceleration, and the target temperature is dynamically adjusted to avoid overheating or undercooling caused by a fixed target value. At the same time, the output power duty cycle of the heating or cooling elements is adjusted in conjunction with the positive and negative directions of the ambient temperature difference, making full use of the physical assistance or inhibition effect of the external environment on the temperature inside the enclosure. This ensures that the controlled power matches the actual needs, significantly improving the response speed and accuracy of temperature regulation, effectively ensuring the pet's comfort in different activity states, and reducing energy consumption, thus achieving intelligent, personalized, and energy-saving temperature control management.

[0006] In one possible implementation, the data acquisition module includes: An ambient temperature acquisition unit is used to activate the first temperature sensor inside the smart pet box based on a preset sampling frequency to acquire the internal ambient temperature, and simultaneously activate the second temperature sensor outside the smart pet box to acquire the external ambient temperature. The body surface temperature acquisition unit is used to trigger the power supply to the non-contact infrared sensor for the pet's body surface temperature inside the smart pet carrier based on the acquisition results of the internal and external ambient temperatures, and to acquire the pet's body surface temperature based on the triggering results. The motion acceleration acquisition unit is used to simultaneously acquire the pet's motion acceleration using an accelerometer while the non-contact infrared sensor acquires the body surface temperature. The physiological data acquisition unit is used to activate the portable physiological monitoring sensor on the pet while collecting motion acceleration, and to collect the pet's real-time heart rate and real-time respiratory rate data based on the activation result.

[0007] Based on this possible implementation method, on-demand activation and time alignment of multi-source data are achieved, which not only reduces the overall power consumption of the sensor, but also ensures the consistency of body surface temperature and motion state in time sequence, providing a reliable data foundation for subsequent precise temperature control.

[0008] In one possible implementation, the temperature difference determination module includes: The ambient temperature difference determination unit is used to obtain the internal and external ambient temperatures of the smart pet box, and calculate the difference between the internal and external ambient temperatures to obtain the ambient temperature difference. The body surface temperature difference determination unit is used to obtain the pet's body surface temperature and preset comfort temperature, and to calculate the difference between the pet's body surface temperature and preset comfort temperature to obtain the body surface temperature difference.

[0009] Based on this possible implementation method, by calculating the temperature difference between the inside and outside of the enclosure and the temperature difference between the pet's body surface temperature and the preset comfort temperature, the direction of the physical influence of the environment on temperature control and the degree of deviation of the pet's actual temperature are clarified. This provides a direct and clear basis for determining whether to activate metabolic correction and duty cycle regulation, thereby improving the responsiveness of the temperature control system.

[0010] In one possible implementation, the temperature control decision module includes: Motion acceleration analysis unit, used for: The collected motion acceleration is obtained, where the motion acceleration is a discrete time sequence output by the triaxial accelerometer at continuous sampling time, and each sampling time corresponds to a triaxial acceleration vector; The vector magnitude of the triaxial acceleration vector at each sampling time is calculated to obtain the magnitude sequence; The amplitude sequence is divided into windows based on a preset time window length and a preset overlap ratio, wherein adjacent windows share a data region with a preset overlap ratio, resulting in N consecutive amplitude windows. The multi-dimensional acceleration characteristics of each amplitude window are determined, including the amplitude mean, amplitude standard deviation, amplitude zero crossing rate, the ratio of peak amplitude to mean amplitude, and the autocorrelation coefficient of the amplitude sequence. The metabolic state determination unit is used for: The multi-dimensional acceleration features within the same value window are combined to obtain a feature vector. The feature vector is then analyzed based on a convolutional neural network to output the probability values ​​of the pet being in a low metabolic state, a medium metabolic state, and a high metabolic state. The metabolic state corresponding to the maximum probability value is taken as the current initial metabolic state. Simultaneously, the system acquires the pet's real-time heart rate and respiratory rate data, and corrects the initial metabolic state based on the real-time heart rate and respiratory rate data to obtain the pet's final metabolic state.

[0011] Based on this possible implementation method, it is possible to effectively avoid event loss caused by window boundary truncation and misjudgment caused by single motion signals, which significantly improves the accuracy and robustness of identifying low, medium and high metabolic states of pets, thereby providing a more reliable physiological basis for dynamically adjusting the target temperature and making temperature control more in line with the pet's real needs.

[0012] In one possible implementation, the temperature control decision module includes: The correction amount determination unit is used to obtain the current metabolic state and determine the corresponding temperature correction amount based on the current metabolic state. The high metabolic state corresponds to a negative temperature correction amount, the medium metabolic state corresponds to a zero temperature correction amount, and the low metabolic state corresponds to a positive temperature correction amount. Temperature correction unit, used for: The preset comfort temperature is added to the temperature correction amount to obtain the dynamic target temperature. The negative temperature correction amount lowers the preset comfort temperature, the positive temperature correction amount raises the preset comfort temperature, and the zero temperature correction amount keeps the preset comfort temperature unchanged.

[0013] Based on this possible implementation method, personalized temperature control tailored to the actual thermal needs of pets is achieved, which not only improves comfort but also reduces unnecessary heating or cooling energy consumption.

[0014] In one possible implementation, the temperature control decision module includes: Instruction generation unit, used for: The temperature deviation is obtained by subtracting the body surface temperature from the dynamic target temperature, and the sign of the temperature deviation is determined. When the temperature deviation is positive, it is determined that the body surface temperature is higher than the dynamic target temperature, and a pending cooling command is generated based on the determination result; otherwise, it is determined that the body surface temperature is lower than the dynamic target temperature, and a pending heating command is generated. The absolute value of the temperature deviation is determined and compared with a preset dead zone threshold. The preset dead zone threshold is a pre-set positive temperature value used to determine whether the deviation between the body surface temperature and the dynamic target temperature reaches the reference value for outputting a heating or cooling command. When the absolute value of the temperature deviation is greater than the preset dead zone threshold, the pending heating or cooling command is determined as the final heating or cooling command; when the absolute value of the temperature deviation is less than or equal to the preset dead zone threshold, no command is output.

[0015] Based on this possible implementation method, frequent start-stop of the temperature control element is effectively avoided, reducing switching losses and energy consumption, while ensuring the stability of the pet's body surface temperature and avoiding over-regulation.

[0016] In one possible implementation, the temperature control execution module includes: The adjustment direction determining unit is used for: The positive and negative directions of the ambient temperature difference are obtained. When the ambient temperature difference is positive, the internal temperature is higher than the external temperature, and when the ambient temperature difference is negative, the internal temperature is lower than the external temperature. If the received instruction is a heating instruction, the heating element is started, and the direction of adjustment of the duty cycle of the heating element's output power is determined based on the positive or negative direction of the ambient temperature difference. If the received instruction is a cooling instruction, the refrigeration element is started, and the direction of adjustment of the duty cycle of the refrigeration element's output power is determined based on the positive or negative direction of the ambient temperature difference. The duty cycle adjustment unit is used to accumulate or subtract the current duty cycle of the heating element output power or the duty cycle of the cooling element output power with a preset step increment based on a determined adjustment direction to obtain a temporary duty cycle. The temperature control unit is used to constrain the temporary duty cycle to a preset minimum duty cycle and a preset maximum duty cycle range to obtain the final duty cycle, and to generate a control signal for the duty cycle of the output power of the heating element or the cooling element based on the final duty cycle, and to control the duty cycle of the output power of the heating element or the cooling element based on the control signal.

[0017] Based on this possible implementation method, the direction of adjustment of the heating or cooling duty cycle is intelligently determined according to the positive or negative direction of the ambient temperature difference, so that the temperature control execution is adapted to the physical reality, avoiding ineffective reverse adjustment. The duty cycle is smoothly adjusted by step accumulation or subtraction, and the result is constrained within a safe range. This not only prevents overshoot and over-overshoot, but also ensures the working stability of the heating or cooling elements, significantly improving the response stability and system safety of the temperature control process.

[0018] In one possible implementation, the temperature control unit includes: The data re-acquisition subunit is used to re-acquire the pet's current body surface temperature after each output duty cycle and a control cycle, and recalculate the new temperature deviation between the pet's current body surface temperature and the dynamic target temperature based on the same dynamic target temperature. Temperature tracking subunit, used for: The new temperature deviation is compared with the temperature deviation of the previous control cycle to obtain the change in deviation. At the same time, the final output duty cycle of the current control cycle is compared with the final output duty cycle of the previous control cycle to obtain the change in duty cycle. The deviation change is used as an error signal input to a preset proportional-integral controller for correction analysis to obtain the duty cycle correction amount. The duty cycle correction amount is then added to the final output duty cycle of the current control cycle to obtain the updated output duty cycle. The updated output duty cycle replaces the final output duty cycle of the current control cycle, and a control signal is output to the heating element or cooling element. The cycle is iteratively updated until the absolute value of the temperature deviation is less than or equal to the preset dead zone threshold.

[0019] Based on this possible implementation method, closed-loop iterative optimization was achieved until the deviation converged to within the dead zone threshold, effectively eliminating steady-state error, accelerating temperature response speed, avoiding overshoot and oscillation, and significantly improving the tracking accuracy and stability of the temperature control system.

[0020] In one possible implementation, the temperature control unit includes: The environmental effect coefficient determination subunit is used to obtain the positive and negative directions of the ambient temperature difference and the adjustment direction of the duty cycle of the output power of the heating element or cooling element. At the same time, it accesses the preset environmental physical effect parameter table and retrieves the environmental physical auxiliary effect compensation coefficient corresponding to the current moment from the preset environmental physical effect parameter table based on the positive and negative directions of the ambient temperature difference and the adjustment direction of the duty cycle of the output power of the heating element or cooling element. The preset environmental physical effect parameter table is a two-dimensional lookup table, in which rows correspond to instruction types, columns correspond to the positive and negative directions of the ambient temperature difference, and each cell in the table stores the corresponding environmental physical auxiliary effect compensation coefficient value, which is used to provide a compensation coefficient reference value for correcting the temporary duty cycle when the external environment affects the temperature inside the smart pet box. The duty cycle correction subunit is used to correct the temporary duty cycle based on the environmental physical assistance compensation coefficient, and to constrain the correction result to the preset minimum duty cycle and preset maximum duty cycle range to obtain the final duty cycle.

[0021] Based on this possible implementation method, by introducing an environmental physical assistance compensation coefficient, the temporary duty cycle is dynamically corrected according to the direction of the internal and external temperature difference and the direction of duty cycle adjustment. This allows the heating or cooling power to fully utilize the heat transfer effect of the external environment (positive assistance or reverse resistance) and constrain the result within a safe range, thereby improving energy utilization efficiency and control accuracy, and avoiding energy waste and temperature overshoot caused by blind adjustment.

[0022] In one possible implementation, the temperature control execution module further includes: The environmental monitoring unit is used to continuously collect time-series data of the external ambient temperature before the generation of heating or cooling commands, and to fit the time-series data of the external ambient temperature to obtain the slope of the change in the external ambient temperature. Pre-regulation unit, used for: When the absolute value of the slope of change is greater than the preset slope threshold, and the positive or negative direction of the slope of change causes the external ambient temperature to approach the internal ambient temperature, a pre-adjustment command is output before the absolute value of the body surface temperature difference exceeds the preset temperature difference threshold. Based on the pre-adjustment command, the heating element or cooling element is driven with a pre-adjustment duty cycle that is lower than the duty cycle corresponding to the normal command under the current body surface temperature difference, so as to complete the pre-regulation of the temperature inside the smart pet carrier.

[0023] Based on this possible implementation method, the changing trend of the external ambient temperature can be sensed in advance, and pre-adjustment can be carried out with low power before the temperature deviation exceeds the limit. This effectively suppresses the impact of sudden environmental changes on the temperature inside the chamber, achieves a smooth transition, and reduces the response delay and energy consumption of the main control.

[0024] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in this application.

[0025] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0026] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is a structural diagram of an environmentally adaptive intelligent pet carrier temperature control system according to an embodiment of the present invention; Figure 2 This is a structural diagram of the data acquisition module in an environmentally adaptive intelligent pet carrier temperature control system according to an embodiment of the present invention; Figure 3 This is a flowchart illustrating how the temperature control decision module determines the metabolic state of a pet in an environmentally adaptive intelligent pet carrier temperature control system, as described in an embodiment of the present invention. Figure 4 This is a flowchart illustrating how the temperature control decision module determines a dynamic target temperature in an environmentally adaptive intelligent pet carrier temperature control system according to an embodiment of the present invention. Figure 5 This is an execution logic diagram of the temperature control decision module in an environmentally adaptive intelligent pet carrier temperature control system according to an embodiment of the present invention, when determining a heating or cooling command. Figure 6 This is an execution logic diagram of the temperature control execution module controlling the duty cycle of the output power of the heating element or the cooling element in an environmentally adaptive intelligent pet carrier temperature control system according to an embodiment of the present invention. Figure 7 This is a structural diagram of the temperature control execution module in an environmentally adaptive intelligent pet carrier temperature control system according to an embodiment of the present invention. Detailed Implementation

[0027] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship; for example, A / B can represent A or B. "And / or" in this application merely describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. Additionally, to facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first," "second," etc., are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or order of execution, and that "first," "second," etc., are not necessarily different. Furthermore, in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate that something is being used as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner for ease of understanding.

[0028] Furthermore, the business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0029] For ease of understanding, the technical terms used in the embodiments of this application will be introduced below.

[0030] Duty cycle is the ratio of the on-time of a heating or cooling element to the total time of the entire modulation cycle. For example, the ratio is between 0 and 1, and it is used to linearly control the average output power of the heating or cooling element.

[0031] A proportional-integral controller (PIC) is a closed-loop control algorithm module whose input is the change in temperature deviation and whose output is a duty cycle correction. This correction is obtained by adding a proportional term (proportional to the current change in deviation) and an integral term (proportional to the cumulative value of the change in deviation), and is used to eliminate steady-state error and improve the response speed of temperature tracking.

[0032] The application of temperature control in smart pet carriers involves multiple scenarios, including pet air transport carriers, portable pet carriers in vehicles, smart pet beds / cages at home, pet hospital transport boxes, and outdoor pet backpacks / tents. In these application scenarios, there are technical issues such as overheating or underheating, and deviations and instability in temperature control.

[0033] like Figure 1 As shown, a first aspect of the present invention provides an environmentally adaptive intelligent pet carrier temperature control system, comprising: The data acquisition module is used to collect the internal and external ambient temperatures of the smart pet carrier, as well as the pet's body surface temperature, movement acceleration, real-time heart rate, and real-time respiratory rate data inside the smart pet carrier. By simultaneously acquiring data on the internal and external environment and the pet's physiological movements, multidimensional inputs are provided for adaptive temperature control.

[0034] The temperature difference determination module is used to determine the ambient temperature difference based on the internal and external ambient temperatures, and to determine the body surface temperature difference between the body surface temperature and the preset comfort temperature, wherein the preset comfort temperature is a fixed body surface temperature reference value that the pet feels comfortable. The aforementioned preset comfort temperature is pre-stored in the system and is automatically generated based on biological parameters such as pet species, weight, and fur thickness. For example, it is set to a fixed value between 38°C and 39°C for felines.

[0035] The ambient temperature difference is the difference between the internal and external ambient temperatures of the smart pet carrier. Its positive or negative direction is used to determine whether the external environment plays an auxiliary role in heating or dissipating heat on the temperature change inside the carrier.

[0036] The body surface temperature difference is the difference between the pet's body surface temperature inside the smart pet carrier and the preset comfort temperature. Its absolute value is used to determine whether the current body surface temperature deviates from the preset comfort temperature to the point where temperature control adjustment needs to be activated.

[0037] By quantifying the degree of environmental heat exchange and the degree of deviation of body surface temperature, a reliable condition for temperature control is provided for determining the start-up of temperature control.

[0038] The temperature control decision module is used to determine the pet's current metabolic state based on movement acceleration, real-time heart rate data, and real-time respiratory rate data when the absolute value of the body surface temperature difference is greater than the preset temperature difference threshold. Based on the current metabolic state, the preset comfort temperature is corrected to obtain the dynamic target temperature. At the same time, the module generates a heating or cooling command based on the deviation between the body surface temperature and the dynamic target temperature.

[0039] The preset temperature difference threshold is a pre-set positive temperature value used to determine whether the body surface temperature difference has reached the threshold for starting temperature control. The temperature control decision module will only start working when the absolute value of the body surface temperature difference exceeds this threshold, in order to avoid frequent start-stop of heating or cooling elements. For example, the value range is 0.5℃ to 2.0℃.

[0040] Dynamic target temperature refers to the target temperature value obtained by correcting the preset comfort temperature based on the pet's current metabolic state. It is updated in real time as the pet's metabolic state changes, and serves as a comparison benchmark for generating subsequent warming or cooling commands.

[0041] The dynamic target temperature is a new temperature value obtained by correcting the preset comfort temperature based on the pet's current metabolic state when the absolute value of the surface temperature difference is greater than the preset temperature difference threshold. It represents the actual surface temperature target that the pet needs to achieve at the current metabolic level (dynamically adjusted, rather than a fixed value).

[0042] When the body surface temperature is lower than the dynamic target temperature, a warming command is generated; when the body surface temperature is higher than the dynamic target temperature, a cooling command is generated.

[0043] If the absolute value of the surface temperature difference is less than or equal to the preset temperature difference threshold: it is determined that the pet's current surface temperature deviation is still within an acceptable range, metabolic status detection is not triggered, and the original preset comfort temperature is used directly (equivalent to dynamic target temperature = preset comfort temperature).

[0044] Adjust the preset comfort temperature: A pet's metabolic state includes hypermetabolic, mesometabolic, and hypometabolic states. High metabolism (more exercise) → Pets generate more heat themselves, reducing the need for external heating → Dynamic target temperature is lower than the preset comfort temperature; Low metabolism (rest) → less heat production in pets → dynamic target temperature close to or slightly higher than preset comfort temperature; Metabolism (normal walking) → Pet's heat production is normal (basically constant) → Dynamic target temperature is equivalent to preset comfort temperature.

[0045] The target temperature is adjusted and corresponding instructions are generated only when needed based on the metabolic state, avoiding ineffective regulation.

[0046] The temperature control execution module is used to dynamically adjust the duty cycle of the output power of the heating or cooling element of the smart pet box based on heating or cooling commands and the positive or negative direction of the ambient temperature difference.

[0047] The efficiency of heating or cooling components is affected by the temperature difference between the inside and outside of the chamber. For the same heating command, when the ambient temperature difference is positive (the inside of the chamber is hotter than the outside), heat is easily lost, requiring a higher heating duty cycle to maintain the temperature rise; when the ambient temperature difference is negative (the inside of the chamber is colder than the outside), heat from the outside will be conducted inward, making heating easier. The same principle applies to cooling components.

[0048] Example explanation: Preset parameters: Preset comfortable temperature = 38.0℃, preset temperature difference threshold = 1.0℃; Scenario A: Body surface temperature = 36.0℃ (lower than the preset temperature value), body surface temperature difference = -2.0℃, absolute value > 1.0℃ → trigger metabolic correction; High acceleration during exercise → metabolic state = strenuous exercise → corrected dynamic target temperature = 37.0℃ (lower than the preset comfort temperature, because exercise generates a lot of heat, so not much heating is needed); Deviation = 37.0 - 36.0 = +1.0℃ → Temperature increase command; Ambient temperature difference = 32℃ inside the chamber - 28℃ outside the chamber = +4℃ (positive); Execution: Heating command + positive ambient temperature difference → fast heat dissipation, requiring a high heating duty cycle.

[0049] Scenario B: Body surface temperature = 37.5℃, body surface temperature difference = -0.5℃, absolute value < 1.0℃ → no metabolic correction triggered, dynamic target temperature = 38.0℃ (uncorrected); Deviation = 38.0 - 37.5 = +0.5℃ → Temperature increase command; Ambient temperature difference = -2℃ (negative); Execution: Heating command + negative ambient temperature difference → external heat auxiliary insulation, low heating duty cycle is sufficient.

[0050] By utilizing the direction of ambient temperature difference to optimize power output, temperature control efficiency is improved and energy consumption is reduced.

[0051] The beneficial effects of the above technical solution are as follows: By collecting data on internal and external ambient temperatures, pet body surface temperature, and movement acceleration, intelligent temperature control can be achieved by comprehensively considering the ambient temperature difference and the pet's real-time metabolic state. When the body surface temperature deviates from the preset comfortable temperature and exceeds the threshold, the current metabolic level of the pet is judged based on the movement acceleration, and the target temperature is dynamically corrected to avoid overheating or undercooling caused by a fixed target value. At the same time, the output power duty cycle of the heating or cooling elements is adjusted in combination with the positive and negative directions of the ambient temperature difference, making full use of the physical assistance or inhibition effect of the external environment on the temperature inside the enclosure, so that the power adjustment matches the actual needs, significantly improving the response speed and accuracy of temperature regulation, effectively ensuring the comfort of the pet in different activity states, and reducing energy consumption, thus realizing intelligent, personalized, and energy-saving temperature control management.

[0052] In one possible implementation, such as Figure 2 As shown, the data acquisition module includes: An ambient temperature acquisition unit is used to activate the first temperature sensor inside the smart pet box based on a preset sampling frequency to acquire the internal ambient temperature, and simultaneously activate the second temperature sensor outside the smart pet box to acquire the external ambient temperature. By simultaneously collecting internal and external temperatures, the real-time and accuracy of temperature difference calculations are ensured.

[0053] The body surface temperature acquisition unit is used to trigger the power supply to the non-contact infrared sensor for the pet's body surface temperature inside the smart pet carrier based on the acquisition results of the internal and external ambient temperatures, and to acquire the pet's body surface temperature based on the triggering results. Infrared temperature measurement can be triggered under certain conditions, reducing unnecessary power consumption and data redundancy.

[0054] The motion acceleration acquisition unit is used to simultaneously acquire the pet's motion acceleration using an accelerometer while the non-contact infrared sensor acquires the body surface temperature.

[0055] Body surface temperature and exercise data are collected simultaneously to facilitate subsequent fusion analysis of metabolic status. The physiological data acquisition unit is used to activate the portable physiological monitoring sensor on the pet while collecting motion acceleration, and to collect the pet's real-time heart rate and real-time respiratory rate data based on the activation result.

[0056] The beneficial effects of the above technical solution are as follows: by synchronously collecting the internal and external ambient temperatures and using them to trigger the infrared sensor to collect the body surface temperature, and simultaneously acquiring motion acceleration, the on-demand activation and time alignment of multi-source data are realized. This not only reduces the overall power consumption of the sensor, but also ensures the consistency of body surface temperature and motion state in time sequence, providing a reliable data foundation for subsequent precise temperature control.

[0057] In one possible implementation, the temperature difference determination module includes: The ambient temperature difference determination unit is used to obtain the internal and external ambient temperatures of the smart pet box, and calculate the difference between the internal and external ambient temperatures to obtain the ambient temperature difference. By directly calculating the ambient temperature difference, it is easy to determine the direction of internal and external heat exchange.

[0058] The body surface temperature difference determination unit is used to obtain the pet's body surface temperature and preset comfort temperature, and to calculate the difference between the pet's body surface temperature and preset comfort temperature to obtain the body surface temperature difference.

[0059] The deviation of the body surface temperature from the set value is used as a condition for whether to activate the regulation.

[0060] The beneficial effects of the above technical solution are: by calculating the temperature difference between the inside and outside of the enclosure and the temperature difference between the pet's body surface temperature and the preset comfort temperature, the direction of the physical influence of the environment on temperature control and the degree of deviation of the pet's actual temperature are clarified, providing a direct and clear basis for determining whether to activate metabolic correction and duty cycle regulation, and improving the responsiveness of the temperature control system.

[0061] In one possible implementation, such as Figure 3 As shown, the temperature control decision module includes a motion acceleration analysis unit and a metabolic state determination unit. The execution steps of the motion acceleration analysis unit include S1-S4, and the execution steps of the metabolic state determination unit include S5-S6, as detailed below: Motion acceleration analysis unit, including: S1: Acquire the collected motion acceleration, where the motion acceleration is a discrete time sequence output by the triaxial accelerometer at continuous sampling times, and each sampling time corresponds to a triaxial acceleration vector; S2: Calculate the vector magnitude of the triaxial acceleration vector at each sampling time to obtain the magnitude sequence; When the three-axis acceleration vectors are respectively , , When, the vector magnitude is ; S3: Divide the amplitude sequence into windows based on a preset time window length and a preset overlap ratio, wherein adjacent windows share a data area with a preset overlap ratio, resulting in N consecutive amplitude windows; S4: Determine the multidimensional acceleration characteristics for each amplitude window, including the amplitude mean, amplitude standard deviation, amplitude zero crossing rate, the ratio of peak amplitude to mean amplitude, and the autocorrelation coefficient of the amplitude sequence. The purpose of setting the overlap ratio is to allow adjacent windows to share some amplitude data, so as to avoid the event not being fully captured in a single window because the window boundary position just happens to truncate a complete motion event. Furthermore, the subsequent processing steps calculate the feature vector and output the metabolic state independently for each window. If there is no overlap between windows, if the motion event crosses the window boundary, it may only be partially counted in either of the two adjacent windows, causing feature extraction distortion. Overlapping regions allow the same motion event to appear simultaneously within the acquisition range of adjacent windows, thus reflecting the event's feature contribution in the subsequent independent inference of each window.

[0062] The preset overlap ratio is determined based on the ratio of the typical duration of the pet's motion acceleration signal to the window length.

[0063] One feasible setting logic is as follows: First, the half-cycle duration of the pet's motion acceleration signal in static, light, and vigorous motion states is statistically analyzed to obtain the half-width of the main peak of the autocorrelation function of the motion acceleration signal, denoted as T. Second, the preset time window length L is set to be greater than or equal to 2 times T. Finally, the preset overlap ratio is set to 50%, so that the starting point offset between adjacent windows is L / 2. Under this condition, any motion event with a duration not greater than L / 2 will necessarily fall completely into at least one of the two adjacent windows.

[0064] The preset overlap ratio does not rely on real-time prediction of the current motion event; it is a fixed parameter determined based on offline prior statistical results. When the duration of the actual motion event exceeds the above assumption range, event truncation may still occur, but the probability of truncation can be further reduced by setting an adaptively adjustable overlap ratio (e.g., adjusting the overlap ratio in real time based on the dominant frequency of the acceleration spectrum detected in the previous time window).

[0065] The multidimensional acceleration characteristics of each amplitude window are determined, specifically: amplitude mean, amplitude standard deviation, amplitude zero-crossing rate, the ratio of peak amplitude to mean amplitude, and the autocorrelation coefficient of the amplitude sequence. Amplitude mean: For each amplitude window, extract all amplitude data points contained in the window, let the window length be L, and the amplitude sequence be A(i), i=1,2,...,L; sum all amplitude data points in the window, and then divide by the window length L to obtain the amplitude mean μ.

[0066] Amplitude standard deviation: Based on the obtained amplitude mean μ, calculate the square of the deviation between each amplitude data point in the window and the amplitude mean μ, i.e. (A(i)-μ)^2; sum all the square deviations, divide by the window length L, and take the square root to obtain the amplitude standard deviation σ.

[0067] Amplitude zero-crossing rate: Subtract the mean amplitude μ from the amplitude sequence A(i) within the window point by point to obtain the centered sequence C(i) = A(i) - μ; compare the signs of two adjacent centered values ​​C(i) and C(i+1) in turn. If C(i) and C(i+1) have opposite signs (i.e., one is positive and the other is negative, or one is zero and the other is non-zero), then count one zero-crossing; count the total number of zero-crossings Z within the entire window; finally, divide the total number of zero-crossings Z by the window length L to obtain the amplitude zero-crossing rate R_z.

[0068] The ratio of peak amplitude to mean amplitude: Traverse the amplitude sequence A(i) within the window and find the maximum value A_max; then, divide the maximum value A_max by the calculated mean amplitude μ to obtain the ratio P.

[0069] Autocorrelation coefficient of the amplitude sequence: Determine a preset maximum lag step size K (K is less than the window length L); then, for each lag step size k (k=1,2,...,K), calculate the lag autocorrelation coefficient r(k); where, Finally, the calculated autocorrelation coefficient r(k) at each lag step is used as the autocorrelation coefficient characteristic of this window.

[0070] By extracting multi-dimensional acceleration features, rich behavioral representations are provided for metabolic state identification.

[0071] The metabolic state determination unit is used for: Multi-dimensional acceleration features within the same value window are combined to obtain a feature vector; S5: Based on the convolutional neural network, the feature vector is parsed and the probability values ​​of the pet being in a low metabolic state, a medium metabolic state, and a high metabolic state are output. The convolutional neural network consists of an input layer, two convolutional layers, one pooling layer, two fully connected layers, and a softmax output layer. The input layer receives feature vectors. The first convolutional layer uses a 3×3 convolutional kernel for one-dimensional convolution, and the second convolutional layer uses a 5×5 convolutional kernel for one-dimensional convolution. The pooling layer uses max pooling. The softmax output layer outputs the probability values ​​of the pet being in a low metabolic state, a medium metabolic state, and a high metabolic state. The metabolic state corresponding to the maximum probability value is taken as the current initial metabolic state. S6: Simultaneously, acquire the pet's real-time heart rate data and real-time respiratory rate data, and correct the current initial metabolic state based on the real-time heart rate data and real-time respiratory rate data to obtain the pet's final current metabolic state.

[0072] While acquiring the current initial metabolic state, read the pet's real-time heart rate data; The current initial metabolic state is corrected based on real-time heart rate data, specifically as follows: When the real-time heart rate exceeds the preset heart rate threshold, the current initial metabolic state is shifted one level to a high metabolic state. Specifically, if the current initial metabolic state is a low metabolic state, it is corrected to a medium metabolic state; if the current initial metabolic state is a medium metabolic state, it is corrected to a high metabolic state; and if the current initial metabolic state is a high metabolic state, it remains unchanged. When the real-time heart rate is lower than the preset heart rate threshold range, the current initial metabolic state is shifted to a low metabolic state by one level. Specifically, if the current initial metabolic state is a high metabolic state, it is corrected to a medium metabolic state; if the current initial metabolic state is a medium metabolic state, it is corrected to a low metabolic state; and if the current initial metabolic state is a low metabolic state, it remains unchanged. When the real-time heart rate is within the preset heart rate threshold range, the current initial metabolic state remains unchanged, and the corrected metabolic state is obtained. While obtaining the corrected metabolic state, the pet's real-time respiratory rate data is read; The modified metabolic state is further corrected based on real-time respiratory rate data, specifically as follows: Obtain the probability values ​​of low metabolic state, medium metabolic state, and high metabolic state output by the convolutional neural network; When the real-time respiratory rate exceeds the preset respiratory rate threshold range, the probability value of the high metabolic state is multiplied by the first compensation coefficient, and the probability value of the low metabolic state is divided by the first compensation coefficient to obtain the corrected probability distribution. When the real-time respiratory rate is lower than the preset respiratory rate threshold range, the probability value of the low metabolic state is multiplied by the second compensation coefficient, and the probability value of the high metabolic state is divided by the second compensation coefficient to obtain the corrected probability distribution. When the real-time respiratory rate is within the preset respiratory rate threshold range, the probability distribution remains unchanged; The metabolic state corresponding to the maximum probability value in the corrected probability distribution is taken as the final current metabolic state; The first compensation coefficient and the second compensation coefficient are both positive numbers greater than 1 and less than a preset threshold. The first compensation coefficient and the second compensation coefficient are both less than the equivalent weight coefficient corresponding to the level offset used for heart rate correction. This is used to characterize that the influence of respiratory rate on metabolic state is weaker than the influence of heart rate on metabolic state.

[0073] By using neural networks and physiological parameter corrections, the accuracy of metabolic state identification can be improved.

[0074] The beneficial effects of the above technical solution are as follows: by calculating the vector amplitude of triaxial acceleration, dividing overlapping windows and extracting multi-dimensional features, and combining convolutional neural networks to make an initial judgment on metabolic state, and then introducing heart rate and respiratory rate for dual correction, it can effectively avoid event loss caused by window boundary truncation and misjudgment caused by single motion signals, significantly improving the accuracy and robustness of identifying low, medium and high metabolic states of pets, thereby providing a more reliable physiological basis for dynamically adjusting the target temperature and making temperature control more in line with the pet's real needs.

[0075] In one possible implementation, such as Figure 4 As shown, the temperature control decision module includes an execution step comprising a correction coefficient determination unit and a temperature correction unit. The execution steps of the correction amount determination unit are S7-S8, and the execution step of the temperature correction unit is S9, as detailed below: The correction amount determination unit is used for: S7: Obtain the current metabolic state; S8: Determine the corresponding temperature correction amount based on the current metabolic state, where the high metabolic state corresponds to a negative temperature correction amount, the medium metabolic state corresponds to a zero temperature correction amount, and the low metabolic state corresponds to a positive temperature correction amount; Quantify the current metabolic state of the pet as an estimated metabolic rate, specifically: integrate the square of the amplitude of the motion acceleration within a preset time window and perform normalization to obtain the estimated metabolic rate, and the value range of the estimated metabolic rate is [0, 1]; Input the estimated metabolic rate into a preset piecewise linear mapping function, where the preset piecewise linear mapping function includes three intervals: when the estimated metabolic rate falls within [0, a), the corresponding temperature correction amount is a positive fixed value +K1 (unit: °C); when the estimated metabolic rate falls within [a, b], the corresponding temperature correction amount is 0; when the estimated metabolic rate falls within (b, 1], the corresponding temperature correction amount is a negative fixed value -K2 (unit: °C), where a and b are preset thresholds, 0<a<b<1, and both K1 and K2 are preset positive temperature values; Output the corresponding temperature correction amount based on the interval to which the estimated metabolic rate belongs.

[0076] Automatically determine the temperature adjustment direction according to the metabolic state to achieve a personalized comfortable temperature.

[0077] A temperature correction unit, configured to: S9: Add the preset comfortable temperature and the temperature correction amount to obtain a dynamic target temperature, where the negative temperature correction amount reduces the preset comfortable temperature, the positive temperature correction amount increases the preset comfortable temperature, and the zero temperature correction amount keeps the preset comfortable temperature unchanged.

[0078] Dynamically calculate the target temperature, so that the temperature control target adaptively changes with the pet's activity level.

[0079] The beneficial effects of the above technical solution are: assigning positive, zero and negative temperature correction coefficients according to the low, medium and high metabolic states of the pet respectively, so that the preset comfortable temperature can dynamically rise and fall with the metabolic heat production capacity, automatically lowering the target temperature during high metabolism to avoid overheating, and appropriately increasing the target temperature during low metabolism to prevent catching a cold, thereby realizing personalized temperature control for the pet's real thermal demand, which not only improves comfort, but also reduces unnecessary heating or cooling energy consumption.

[0080] In a possible implementation manner, as Figure 5 shown, the temperature control decision module includes: An instruction generation unit, configured to: Calculate the difference between the body surface temperature and the dynamic target temperature to obtain a temperature deviation, and determine the positive and negative sign of the temperature deviation; When the temperature deviation is positive, it is determined that the body surface temperature is higher than the dynamic target temperature, and a pending cooling command is generated based on the determination result; otherwise, it is determined that the body surface temperature is lower than the dynamic target temperature, and a pending heating command is generated. The absolute value of the temperature deviation is determined and compared with a preset dead zone threshold. The preset dead zone threshold is a pre-set positive temperature value used to determine whether the deviation between the body surface temperature and the dynamic target temperature reaches the reference value for outputting a heating or cooling command. When the absolute value of the temperature deviation is greater than the preset dead zone threshold, the pending heating or cooling command is determined as the final heating or cooling command; when the absolute value of the temperature deviation is less than or equal to the preset dead zone threshold, no command is output.

[0081] Instructions are generated based on the magnitude and direction of the deviation, and the dead-zone design avoids frequent starts and stops.

[0082] The beneficial effects of the above technical solution are: by setting a dead zone threshold to determine the absolute value of temperature deviation, the heating or cooling command is only output when the deviation exceeds the tolerance range, which effectively avoids the frequent start and stop of the temperature control element, reduces switching losses and energy consumption, and at the same time ensures the stability of the pet's body surface temperature and avoids over-adjustment.

[0083] In one possible implementation, such as Figure 6 As shown, the temperature control execution module includes: The adjustment direction determining unit is used for: The positive and negative directions of the ambient temperature difference are obtained. When the ambient temperature difference is positive, the internal temperature is higher than the external temperature, and when the ambient temperature difference is negative, the internal temperature is lower than the external temperature. If the received instruction is a heating instruction, the heating element is started, and the direction of adjustment of the duty cycle of the heating element's output power is determined based on the positive or negative direction of the ambient temperature difference. When the ambient temperature difference is negative, increase the duty cycle of the current heating element's output power; when the ambient temperature difference is positive, decrease the duty cycle of the current heating element's output power.

[0084] If the received instruction is a cooling instruction, the refrigeration element is started, and the direction of adjustment of the duty cycle of the refrigeration element's output power is determined based on the positive or negative direction of the ambient temperature difference. When the ambient temperature difference is positive, increase the duty cycle of the current cooling element's output power; when the ambient temperature difference is negative, decrease the duty cycle of the current cooling element's output power.

[0085] The actuator and adjustment direction are selected according to the command and the direction of the ambient temperature difference to adapt to the actual thermal environment.

[0086] The duty cycle adjustment unit is used to accumulate or subtract the current duty cycle of the heating element output power or the duty cycle of the cooling element output power with a preset step increment based on a determined adjustment direction to obtain a temporary duty cycle. The preset step increment is a fixed percentage value that the system uses to increase or decrease each time the duty cycle is adjusted. It is used to gradually adjust the current duty cycle after the adjustment direction is determined. For example, it can be set to 5% or 10% to prevent sudden power changes from causing discomfort to the pet.

[0087] The temporary duty cycle is the intermediate duty cycle value after the current duty cycle is added to or subtracted from the preset step increment, before it has been processed by upper and lower limit constraints.

[0088] The final duty cycle is the actual output duty cycle value obtained by constraining the temporary duty cycle to the range between the preset minimum duty cycle and the preset maximum duty cycle. This value is used to generate a pulse width modulation signal to drive the heating element or the cooling element.

[0089] By gradually adjusting the duty cycle, sudden power fluctuations can be prevented from causing discomfort to the pet.

[0090] The temperature control unit is used to constrain the temporary duty cycle to a preset minimum duty cycle and a preset maximum duty cycle range to obtain the final duty cycle, and to generate a control signal for the duty cycle of the output power of the heating element or the cooling element based on the final duty cycle, and to control the duty cycle of the output power of the heating element or the cooling element based on the control signal.

[0091] Limiting output ensures safe operation of components and avoids overload or ineffective conduction.

[0092] The beneficial effects of the above technical solution are: intelligently determining the adjustment direction of the heating or cooling duty cycle based on the positive or negative direction of the ambient temperature difference, making the temperature control execution compatible with the physical reality, avoiding ineffective reverse adjustment, smoothly adjusting the duty cycle through step accumulation or subtraction, and constraining the result within a safe range, which not only prevents overshoot and over-overshoot, but also ensures the working stability of the heating or cooling elements, significantly improving the response stability and system safety of the temperature control process.

[0093] The preset minimum duty cycle is a lower limit of the duty cycle set to prevent the heating or cooling elements from failing to work effectively due to excessively short conduction time or causing excessive switching losses. For example, it can be set to 0.05 (i.e., 5% conduction time).

[0094] The preset maximum duty cycle is an upper limit of the duty cycle set to prevent the heating or cooling elements from overheating and being damaged due to prolonged continuous conduction or exceeding the safe power. For example, it can be set to 0.95 (i.e., 95% conduction time).

[0095] In one possible implementation, the temperature control unit includes: The data re-acquisition subunit is used to re-acquire the pet's current body surface temperature after each output duty cycle and a control cycle, and recalculate the new temperature deviation between the pet's current body surface temperature and the dynamic target temperature based on the same dynamic target temperature. The aforementioned control cycle is a fixed time interval preset by the system timer. This time interval is determined by the sensor sampling time of the data acquisition module and the response time of the temperature control execution module. After each control cycle, the system re-acquires the body surface temperature and updates the duty cycle output. For example, the control cycle can be set to a fixed value between 2 seconds and 10 seconds.

[0096] When determining the control cycle, the sampling time interval between the temperature sensor and the acceleration sensor is defined as the minimum sampling cycle, which is determined by the physical response time and analog-to-digital conversion time of the sensor. The thermal inertia time constant of the heating element and the cooling element is compared with the minimum sampling period, and the larger value of the two is taken as the basic control period. The thermal inertia time constant is defined as the time required for the heating element and the cooling element to reach the preset percentage of their maximum temperature rise rate from being energized. The basic control cycle is constrained by a preset safety upper limit cycle. When the basic control cycle is less than the safety lower limit threshold, the safety lower limit threshold is taken as the final control cycle. When the basic control cycle is greater than the safety upper limit threshold, the safety upper limit threshold is taken as the final control cycle. Otherwise, the basic control cycle is taken as the final control cycle.

[0097] Periodic resampling of temperature deviations provides the latest error data for closed-loop regulation.

[0098] Temperature tracking subunit, used for: The new temperature deviation is compared with the temperature deviation of the previous control cycle to obtain the change in deviation. At the same time, the final output duty cycle of the current control cycle is compared with the final output duty cycle of the previous control cycle to obtain the change in duty cycle. The deviation change is used as an error signal input to a preset proportional-integral controller for correction analysis to obtain the duty cycle correction amount. The duty cycle correction amount is then added to the final output duty cycle of the current control cycle to obtain the updated output duty cycle. The updated output duty cycle replaces the final output duty cycle of the current control cycle, and a control signal is output to the heating element or cooling element. The cycle is iteratively updated until the absolute value of the temperature deviation is less than or equal to the preset dead zone threshold.

[0099] By using proportional-integral control to correct the duty cycle, steady-state errors are eliminated until the temperature reaches the target.

[0100] The beneficial effects of the above technical solution are as follows: by re-collecting the body surface temperature and calculating the new deviation after each control cycle, and combining the deviation of the previous cycle with the change in duty cycle, dynamic correction is performed using a proportional-integral controller, realizing closed-loop iterative optimization until the deviation converges to within the dead zone threshold, effectively eliminating steady-state error, accelerating the temperature response speed, avoiding overshoot and oscillation, and significantly improving the tracking accuracy and stability of the temperature control system.

[0101] In one possible implementation, the temperature control unit includes: The environmental effect coefficient determination subunit is used to obtain the positive and negative directions of the ambient temperature difference and the adjustment direction of the duty cycle of the output power of the heating element or cooling element. At the same time, it accesses the preset environmental physical effect parameter table and retrieves the environmental physical auxiliary effect compensation coefficient corresponding to the current moment from the preset environmental physical effect parameter table based on the positive and negative directions of the ambient temperature difference and the adjustment direction of the duty cycle of the output power of the heating element or cooling element. The preset environmental physical effect parameter table is a two-dimensional lookup table, in which rows correspond to instruction types, columns correspond to the positive and negative directions of the ambient temperature difference, and each cell in the table stores the corresponding environmental physical auxiliary effect compensation coefficient value, which is used to provide a compensation coefficient reference value for correcting the temporary duty cycle when the external environment affects the temperature inside the smart pet box. The aforementioned environmental physical auxiliary effect compensation coefficient refers to a multiplicative factor used to correct the temporary duty cycle, obtained from a preset environmental physical effect parameter table based on the positive or negative direction of the ambient temperature difference and the current heating or cooling command type. When the external environment plays an auxiliary role in heating or cooling the chamber, the compensation coefficient is less than 1 to reduce output power; when the external environment plays an obstructive role, the compensation coefficient is greater than 1 to increase output power. For example, when a heating command is issued and the ambient temperature difference is negative (external temperature is higher than internal temperature), the compensation coefficient is 0.7; when a heating command is issued and the ambient temperature difference is positive (external temperature is lower than internal temperature), the compensation coefficient is 1.3.

[0102] By querying the compensation coefficient, the degree to which the external environment assists or hinders temperature control can be quantified.

[0103] The duty cycle correction subunit is used to correct the temporary duty cycle based on the environmental physical assistance compensation coefficient, and to constrain the correction result to the preset minimum duty cycle and preset maximum duty cycle range to obtain the final duty cycle.

[0104] Determine the positive and negative directions of the ambient temperature difference, where the ambient temperature difference is defined as the internal ambient temperature minus the external ambient temperature; If a heating command is received, the sign of the ambient temperature difference is determined: when the ambient temperature difference is negative, it indicates that the external ambient temperature is higher than the internal ambient temperature, and the external environment has a positive physical assisting effect on the heating inside the chamber. In this case, the temporary duty cycle of the heating element is multiplied by a first compensation coefficient less than 1 to obtain the actual output duty cycle of the heating element; when the ambient temperature difference is positive, it indicates that the external ambient temperature is lower than the internal ambient temperature, and the external environment has a negative physical hindering effect on the heating inside the chamber. In this case, the temporary duty cycle of the heating element is multiplied by a second compensation coefficient greater than 1 to obtain the actual output duty cycle of the heating element. If a cooling command is received, the sign of the ambient temperature difference is determined: when the ambient temperature difference is positive, it indicates that the external ambient temperature is lower than the internal ambient temperature, and the external environment has a positive physical assisting effect on the cooling inside the chamber. At this time, the temporary duty cycle of the cooling element is multiplied by a third compensation coefficient less than 1 to obtain the actual output duty cycle of the cooling element; when the ambient temperature difference is negative, it indicates that the external ambient temperature is higher than the internal ambient temperature, and the external environment has a negative physical hindering effect on the cooling inside the chamber. At this time, the temporary duty cycle of the cooling element is multiplied by a fourth compensation coefficient greater than 1 to obtain the actual output duty cycle of the cooling element.

[0105] Environmentally adaptive power optimization is achieved by adjusting the duty cycle using a compensation coefficient.

[0106] The beneficial effects of the above technical solution are: by introducing an environmental physical assistance compensation coefficient, the temporary duty cycle is dynamically corrected according to the direction of the internal and external temperature difference and the direction of duty cycle adjustment, so that the heating or cooling power can make full use of the heat transfer effect of the external environment (positive assistance or reverse resistance) and the result is constrained within a safe range, thereby improving energy utilization efficiency and control accuracy, and avoiding energy waste and temperature overshoot caused by blind adjustment.

[0107] In one possible implementation, such as Figure 7 As shown, the temperature control execution module also includes: The environmental monitoring unit is used to continuously collect time-series data of the external ambient temperature before the generation of heating or cooling commands, and to fit the time-series data of the external ambient temperature to obtain the slope of the change in the external ambient temperature. The slope mentioned above is the slope value obtained by linearly fitting the continuously collected time series data of external ambient temperature. This slope value reflects the rate and trend of change (increasing or decreasing) of the external ambient temperature, and the unit is degrees Celsius per second.

[0108] By monitoring the trend of external temperature changes, a basis for judgment can be provided for advance adjustment.

[0109] Pre-regulation unit, used for: When the absolute value of the slope of change is greater than the preset slope threshold, and the positive or negative direction of the slope of change causes the external ambient temperature to approach the internal ambient temperature, a pre-adjustment command is output before the absolute value of the body surface temperature difference exceeds the preset temperature difference threshold. The aforementioned preset slope threshold refers to a pre-set absolute value of the slope of change, used to determine whether the external ambient temperature has changed rapidly enough to require pre-adjustment before the body surface temperature difference exceeds the limit; for example, it is set to 0.1℃ / second.

[0110] Based on the pre-adjustment command, the heating element or cooling element is driven with a pre-adjustment duty cycle that is lower than the duty cycle corresponding to the normal command under the current body surface temperature difference, so as to complete the pre-regulation of the temperature inside the smart pet carrier.

[0111] The aforementioned pre-adjustment command refers to a control signal that is output in advance to drive the heating or cooling element to perform pre-compensation at low power before the absolute value of the body surface temperature difference exceeds the preset temperature difference threshold.

[0112] The pre-adjustment duty cycle refers to the duty cycle value used for pre-adjustment commands, which is lower than the preset ratio of the duty cycle corresponding to normal heating or cooling commands under the current body surface temperature difference; for example, the pre-adjustment duty cycle is 30% of the normal duty cycle.

[0113] The preset ratio value refers to the upper limit of the ratio between the pre-adjusted duty cycle and the duty cycle corresponding to the normal command. This value is preset in the system, for example, set to 0.5 (i.e., not exceeding 50% of the normal duty cycle), to prevent over-adjustment.

[0114] Low-power pre-adjustment is performed before the temperature deviation exceeds the standard to reduce temperature fluctuations inside the chamber.

[0115] The beneficial effects of the above technical solution are: by sensing the changing trend of the external ambient temperature in advance, it can actively pre-adjust with low power before the temperature deviation exceeds the limit, effectively suppressing the impact of sudden environmental changes on the temperature inside the chamber, achieving a smooth transition, and reducing the response delay and energy consumption of the main control.

[0116] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. An intelligent pet carrier temperature control system based on environmental adaptation, characterized in that, include: The data acquisition module is used to collect the internal and external ambient temperatures of the smart pet carrier, as well as the pet's body surface temperature, movement acceleration, real-time heart rate, and real-time respiratory rate data inside the smart pet carrier. The temperature difference determination module is used to determine the ambient temperature difference based on the internal and external ambient temperatures, and to determine the body surface temperature difference between the body surface temperature and the preset comfort temperature, wherein the preset comfort temperature is a fixed body surface temperature reference value that the pet feels comfortable. The temperature control decision module is used to determine the pet's current metabolic state based on movement acceleration, real-time heart rate data and real-time respiratory rate data when the absolute value of the body surface temperature difference is greater than the preset temperature difference threshold. It then corrects the preset comfort temperature based on the current metabolic state to obtain the dynamic target temperature. At the same time, it generates a heating command or a cooling command based on the deviation between the body surface temperature and the dynamic target temperature. The temperature control execution module is used to dynamically adjust the duty cycle of the output power of the heating or cooling element of the smart pet box based on heating or cooling commands and the positive or negative direction of the ambient temperature difference.

2. The intelligent pet carrier temperature control system based on environmental adaptation according to claim 1, characterized in that, The data acquisition module includes: An ambient temperature acquisition unit is used to activate the first temperature sensor inside the smart pet box based on a preset sampling frequency to acquire the internal ambient temperature, and simultaneously activate the second temperature sensor outside the smart pet box to acquire the external ambient temperature. The body surface temperature acquisition unit is used to trigger the power supply to the non-contact infrared sensor for the pet's body surface temperature inside the smart pet carrier based on the acquisition results of the internal and external ambient temperatures, and to acquire the pet's body surface temperature based on the triggering results. The motion acceleration acquisition unit is used to simultaneously acquire the pet's motion acceleration using an accelerometer while the non-contact infrared sensor acquires the body surface temperature. The physiological data acquisition unit is used to activate the portable physiological monitoring sensor on the pet while collecting motion acceleration, and to collect the pet's real-time heart rate and real-time respiratory rate data based on the activation result.

3. The intelligent pet carrier temperature control system based on environmental adaptation according to claim 1, characterized in that, The temperature difference determination module includes: The ambient temperature difference determination unit is used to obtain the internal and external ambient temperatures of the smart pet box, and calculate the difference between the internal and external ambient temperatures to obtain the ambient temperature difference. The body surface temperature difference determination unit is used to obtain the pet's body surface temperature and preset comfort temperature, and to calculate the difference between the pet's body surface temperature and preset comfort temperature to obtain the body surface temperature difference.

4. The intelligent pet carrier temperature control system based on environmental adaptation according to claim 1, characterized in that, The temperature control decision module includes: Motion acceleration analysis unit, used for: The collected motion acceleration is obtained, where the motion acceleration is a discrete time sequence output by the triaxial accelerometer at continuous sampling time, and each sampling time corresponds to a triaxial acceleration vector; The vector magnitude of the triaxial acceleration vector at each sampling time is calculated to obtain the magnitude sequence; The amplitude sequence is divided into windows based on a preset time window length and a preset overlap ratio, wherein adjacent windows share a data region with a preset overlap ratio, resulting in N consecutive amplitude windows. The multi-dimensional acceleration characteristics of each amplitude window are determined, including the amplitude mean, amplitude standard deviation, amplitude zero crossing rate, the ratio of peak amplitude to mean amplitude, and the autocorrelation coefficient of the amplitude sequence. The metabolic state determination unit is used for: The multi-dimensional acceleration features within the same value window are combined to obtain a feature vector. The feature vector is then analyzed based on a convolutional neural network to output the probability values ​​of the pet being in a low metabolic state, a medium metabolic state, and a high metabolic state. The metabolic state corresponding to the maximum probability value is taken as the current initial metabolic state. Simultaneously, the system acquires the pet's real-time heart rate and respiratory rate data, and corrects the initial metabolic state based on the real-time heart rate and respiratory rate data to obtain the pet's final metabolic state.

5. The intelligent pet carrier temperature control system based on environmental adaptation according to claim 1, characterized in that, The temperature control decision module includes: The correction amount determination unit is used to obtain the current metabolic state and determine the corresponding temperature correction amount based on the current metabolic state. The high metabolic state corresponds to a negative temperature correction amount, the medium metabolic state corresponds to a zero temperature correction amount, and the low metabolic state corresponds to a positive temperature correction amount. Temperature correction unit, used for: The preset comfort temperature is added to the temperature correction amount to obtain the dynamic target temperature. The negative temperature correction amount lowers the preset comfort temperature, the positive temperature correction amount raises the preset comfort temperature, and the zero temperature correction amount keeps the preset comfort temperature unchanged.

6. The intelligent pet carrier temperature control system based on environmental adaptation according to claim 1, characterized in that, The temperature control decision module includes: Instruction generation unit, used for: The temperature deviation is obtained by subtracting the body surface temperature from the dynamic target temperature, and the sign of the temperature deviation is determined. When the temperature deviation is positive, it is determined that the body surface temperature is higher than the dynamic target temperature, and a pending cooling command is generated based on the determination result; otherwise, it is determined that the body surface temperature is lower than the dynamic target temperature, and a pending heating command is generated. The absolute value of the temperature deviation is determined and compared with a preset dead zone threshold. The preset dead zone threshold is a pre-set positive temperature value used to determine whether the deviation between the body surface temperature and the dynamic target temperature reaches the reference value for outputting a heating or cooling command. When the absolute value of the temperature deviation is greater than the preset dead zone threshold, the pending heating or cooling command is determined as the final heating or cooling command; when the absolute value of the temperature deviation is less than or equal to the preset dead zone threshold, no command is output.

7. The intelligent pet carrier temperature control system based on environmental adaptation according to claim 1, characterized in that, Temperature control execution module, including: The adjustment direction determining unit is used for: The positive and negative directions of the ambient temperature difference are obtained. When the ambient temperature difference is positive, the internal temperature is higher than the external temperature, and when the ambient temperature difference is negative, the internal temperature is lower than the external temperature. If the received instruction is a heating instruction, the heating element is started, and the direction of adjustment of the duty cycle of the heating element's output power is determined based on the positive or negative direction of the ambient temperature difference. If the received instruction is a cooling instruction, the refrigeration element is started, and the direction of adjustment of the duty cycle of the refrigeration element's output power is determined based on the positive or negative direction of the ambient temperature difference. The duty cycle adjustment unit is used to accumulate or subtract the current duty cycle of the heating element output power or the duty cycle of the cooling element output power with a preset step increment based on a determined adjustment direction to obtain a temporary duty cycle. The temperature control unit is used to constrain the temporary duty cycle to a preset minimum duty cycle and a preset maximum duty cycle range to obtain the final duty cycle, and to generate a control signal for the duty cycle of the output power of the heating element or the cooling element based on the final duty cycle, and to control the duty cycle of the output power of the heating element or the cooling element based on the control signal.

8. The intelligent pet carrier temperature control system based on environmental adaptation according to claim 7, characterized in that, Temperature control unit, including: The data re-acquisition subunit is used to re-acquire the pet's current body surface temperature after each output duty cycle and a control cycle, and recalculate the new temperature deviation between the pet's current body surface temperature and the dynamic target temperature based on the same dynamic target temperature. Temperature tracking subunit, used for: The new temperature deviation is compared with the temperature deviation of the previous control cycle to obtain the change in deviation. At the same time, the final output duty cycle of the current control cycle is compared with the final output duty cycle of the previous control cycle to obtain the change in duty cycle. The deviation change is used as an error signal input to a preset proportional-integral controller for correction analysis to obtain the duty cycle correction amount. The duty cycle correction amount is then added to the final output duty cycle of the current control cycle to obtain the updated output duty cycle. The updated output duty cycle replaces the final output duty cycle of the current control cycle, and a control signal is output to the heating element or cooling element. The cycle is iteratively updated until the absolute value of the temperature deviation is less than or equal to the preset dead zone threshold.

9. The intelligent pet carrier temperature control system based on environmental adaptation according to claim 7, characterized in that, Temperature control unit, including: The environmental effect coefficient determination subunit is used to obtain the positive and negative directions of the ambient temperature difference and the adjustment direction of the duty cycle of the output power of the heating element or cooling element. At the same time, it accesses the preset environmental physical effect parameter table and retrieves the environmental physical auxiliary effect compensation coefficient corresponding to the current moment from the preset environmental physical effect parameter table based on the positive and negative directions of the ambient temperature difference and the adjustment direction of the duty cycle of the output power of the heating element or cooling element. The preset environmental physical effect parameter table is a two-dimensional lookup table, in which rows correspond to instruction types, columns correspond to the positive and negative directions of the ambient temperature difference, and each cell in the table stores the corresponding environmental physical auxiliary effect compensation coefficient value, which is used to provide a compensation coefficient reference value for correcting the temporary duty cycle when the external environment affects the temperature inside the smart pet box. The duty cycle correction subunit is used to correct the temporary duty cycle based on the environmental physical assistance compensation coefficient, and to constrain the correction result to the preset minimum duty cycle and preset maximum duty cycle range to obtain the final duty cycle.

10. The intelligent pet carrier temperature control system based on environmental adaptation according to claim 1, characterized in that, The temperature control execution module also includes: The environmental monitoring unit is used to continuously collect time-series data of the external ambient temperature before the generation of heating or cooling commands, and to fit the time-series data of the external ambient temperature to obtain the slope of the change in the external ambient temperature. Pre-regulation unit, used for: When the absolute value of the slope of change is greater than the preset slope threshold, and the positive or negative direction of the slope of change causes the external ambient temperature to approach the internal ambient temperature, a pre-adjustment command is output before the absolute value of the body surface temperature difference exceeds the preset temperature difference threshold. Based on the pre-adjustment command, the heating element or cooling element is driven with a pre-adjustment duty cycle that is lower than the duty cycle corresponding to the normal command under the current body surface temperature difference, so as to complete the pre-regulation of the temperature inside the smart pet carrier.