A temperature control method and system for a medical treatment hot pad
By optimizing the pole position and heating power of the PID controller through a non-modeling approach, the problems of temperature fluctuation and slow response of medical therapeutic heating pads in rapidly changing environments are solved, achieving precise temperature control and improved safety.
Patent Information
- Application Number
- CN202511527289.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-24
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2045-10-24
AI Technical Summary
Existing temperature control methods for medical therapeutic heating pads are prone to temperature fluctuations and slow response under rapidly changing environments or loads, and are sensitive to external interference, resulting in insufficient temperature control accuracy and affecting treatment efficacy and safety.
By obtaining steady-state duration and disturbance recovery time through non-modeling methods, a transfer function is established, the pole positions and heating power of the PID controller are optimized, a variable-order transfer function is constructed, and precise temperature control is achieved by combining dynamic feature fusion factors and pole magnitudes.
It reduces temperature fluctuations and response delays, ensures the system operates within the ideal temperature range, improves the stability and safety of treatment effects, and enhances patient comfort and personalized adjustment of treatment outcomes.
Smart Images

Figure CN121008634B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method and system for temperature control of a medical therapeutic heating pad. Background Technology
[0002] A medical heating pad is a medical device used for treatment, typically to help relieve physical discomfort such as muscle pain, arthritis, or post-operative recovery through heating. This type of heating pad provides warmth, promotes blood circulation, and relieves muscle tension and pain. It is commonly used in physical therapy, rehabilitation therapy, and pain management.
[0003] Temperature control is crucial for medical therapeutic heating pads, as both excessively high and low temperatures can be harmful. Overheating can cause skin burns, excessive blood circulation, and even other complications; while underheating may fail to effectively relieve pain or promote blood circulation. Therefore, precise temperature control not only ensures the therapeutic effect of the heating pad but also guarantees patient safety, avoiding unnecessary health risks.
[0004] However, existing medical therapeutic heating pads generally employ PID control for temperature control. While this provides relatively stable temperature regulation, it frequently experiences temperature fluctuations or slow response under rapidly changing environments or loads. Furthermore, PID control is highly sensitive to external disturbances, which may lead to insufficient temperature control accuracy and affect treatment outcomes. Summary of the Invention
[0005] To address the common problem that existing medical therapeutic heating pads generally employ PID control for temperature control, which, while providing relatively stable temperature regulation, frequently experiences temperature fluctuations or slow response under rapidly changing environments or loads. Furthermore, PID control is highly sensitive to external disturbances, potentially leading to insufficient temperature control accuracy and affecting treatment efficacy. This invention provides a temperature control method and system for a medical therapeutic heating pad.
[0006] The technical solutions provided by the embodiments of the present invention are as follows:
[0007] First aspect:
[0008] This invention provides a method for temperature control of a medical therapeutic heating pad, comprising:
[0009] S1: Obtain the steady-state duration, disturbance recovery time, and heating power of the medical therapeutic heating pad;
[0010] S2: Combining steady-state duration, disturbance recovery time, and heating power, the transfer function of the medical treatment heating pad is established in a non-modeling manner;
[0011] S3: Determine the first pole magnitude and the second pole magnitude of the transfer function with the constraints that the poles of the transfer function are located in the left half of the complex plane, the steady state duration is less than the preset steady state duration, and the disturbance recovery duration is less than the preset disturbance recovery duration.
[0012] S4: Based on the determined first pole magnitude and second pole magnitude, establish a PID temperature controller;
[0013] S5: Obtain the commanded temperature of the medical treatment heating pad;
[0014] S6: Input the commanded temperature to the PID temperature controller and output optimized heating power;
[0015] S7: Optimizes heating power control for medical therapeutic heating pads.
[0016] The second aspect:
[0017] This invention provides a temperature control system for a medical therapeutic heating pad, comprising:
[0018] processor;
[0019] A memory storing computer-readable instructions, which, when executed by the processor, implement the temperature control method for the medical therapeutic heating pad as described in the first aspect.
[0020] Third aspect:
[0021] The present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the temperature control method for the medical therapeutic heating pad as described in the first aspect.
[0022] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following:
[0023] In this invention, a transfer function is established using a non-modeling approach. By combining key parameters such as steady-state duration, disturbance recovery time, and heating power, the design of the PID controller is optimized, enabling it to respond more accurately to temperature changes. Compared to traditional PID control, this method effectively reduces temperature fluctuations and response delays caused by changes in the external environment or load fluctuations. By optimizing the pole positions of the transfer function, the system is ensured to stabilize and quickly recover to a steady state, thus achieving more precise temperature control. Simultaneously, this method ensures that the heating pad operates within the ideal temperature range by adjusting the heating power in real time, avoiding the risks of overheating or overcooling, improving the stability and safety of the treatment effect, enhancing patient comfort, and meeting the personalized adjustment needs of different treatments. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 A schematic flowchart illustrating a temperature control method for a medical therapeutic heating pad provided in an embodiment of the present invention;
[0026] Figure 2 This is a schematic diagram of the temperature control system of a medical therapeutic heating pad provided in an embodiment of the present invention. Detailed Implementation
[0027] The technical solution of the present invention will now be described with reference to the accompanying drawings.
[0028] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.
[0029] In the embodiments of this invention, the terms "image" and "picture" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning. Similarly, the terms "of," "corresponding (relevant)," and "corresponding" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning.
[0030] In this embodiment of the invention, sometimes a subscript such as W1 may be written in a non-subscript form such as W1. When the difference is not emphasized, the meaning they express is the same.
[0031] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0032] Reference manual attached Figure 1 The diagram shows a flow chart of a temperature control method for a medical therapeutic heating pad provided in an embodiment of the present invention.
[0033] This invention provides a temperature control method for a medical therapeutic heating pad. This method can be implemented by a temperature control device for the medical therapeutic heating pad, which can be a terminal or a server. The processing flow of the temperature control method for the medical therapeutic heating pad may include the following steps:
[0034] S1: Obtain the steady-state duration and disturbance recovery duration of the medical therapeutic heating pad.
[0035] Steady-state duration refers to the time it takes for the controller to reach the set temperature from the current temperature. Disturbance recovery time refers to the time it takes for the controller to quickly recover the set temperature under the influence of external disturbances (such as temperature fluctuations).
[0036] S2: Combining steady-state duration and disturbance recovery duration, the transfer function of the medical treatment heating pad is established in a non-modeling manner.
[0037] The transfer function is a mathematical model used to describe the relationship between input and output, particularly the system's response under steady-state and dynamic conditions. By combining the steady-state duration and disturbance recovery time, the transfer function is established in a non-modeling manner, avoiding the complex mathematical derivation process of traditional modeling methods and reducing the loss of control accuracy due to model errors. This method makes the thermal pad control system more flexible and adaptable, enabling it to accurately respond to changes in actual operation and ensuring the stability and reliability of temperature control.
[0038] In one possible implementation, S2 specifically includes:
[0039] S201: Establish a dynamic feature fusion factor by combining steady-state duration and disturbance recovery duration.
[0040] The dynamic feature fusion factor is specifically:
[0041] ;
[0042] in, and These represent the steady-state duration and the disturbance recovery duration, respectively. This represents the natural exponential function. This represents the dynamic feature fusion factor.
[0043] It should be noted that this dynamic characteristic fusion factor comprehensively reflects the dynamic characteristics of the system through the ratio of steady-state duration to disturbance recovery time, and the exponential decay of the difference between them. Specifically, and represent the time required for the system to reach a steady state and the time required to recover to a steady state, respectively. The calculation of the dynamic characteristic fusion factor quantifies the difference between the two, enabling the system to more accurately reflect the impact of environmental changes on temperature control, thereby improving control accuracy and responsiveness.
[0044] S202: Determine the gain parameter of the transfer function based on the heating power and dynamic characteristic fusion factor.
[0045] The formula for the gain parameter is as follows:
[0046] ;
[0047] in, This represents the gain parameter. This indicates the heat conversion efficiency of the medical therapeutic heating pad. This indicates the width of the heating pulse, which is the duration of a single heating cycle. This indicates the equivalent specific heat capacity of the heating pad used in medical therapeutic heating pads. This indicates the effective quality of the medical therapeutic heating pad in heat exchange. Indicates heating power. and These represent the set temperature and the ambient temperature, respectively. This represents the heat loss coefficient.
[0048] It should be noted that this formula allows for the precise calculation of the transfer function gain, ensuring a balance between heating power and system dynamics, thereby achieving more accurate temperature control and faster response.
[0049] S203: Determine the time constant of the transfer function based on the dynamic feature fusion factor.
[0050] In one possible implementation, the quotient between the time constant perturbation recovery time and the natural logarithm of the dynamic feature fusion factor plus 1.
[0051] Specifically, the time constant is a key parameter in the transfer function used to describe the system's response speed. The time constant is calculated by combining the disturbance recovery time with the adjustment value of the dynamic characteristic fusion factor. The ratio of the natural logarithm of the dynamic characteristic fusion factor to the disturbance recovery time effectively characterizes the system's response time to disturbances. This calculation method considers the system's dynamic characteristics, helping to precisely adjust the response speed and stability in the temperature control process and optimize system performance.
[0052] S204: Combine the gain parameter, time constant and dynamic characteristic fusion factor to establish a variable order transfer function, i.e., the transfer function.
[0053] The specific formula for the transfer function is as follows:
[0054] ;
[0055] in, Represents the time constant. Represents about complex variables The transfer function.
[0056] Specifically, this scheme establishes a dynamic characteristic fusion factor by combining steady-state duration and disturbance recovery time, thereby more accurately reflecting the dynamic response characteristics of the thermal pad under different environmental conditions. Gain parameters are calculated using formulas, taking into account multiple factors such as heat conversion efficiency, heating power, and heat capacity, further optimizing the controller's performance. The time constant is determined using the dynamic characteristic fusion factor, constructing a variable-order transfer function that allows the system to flexibly adjust its temperature response, providing more precise temperature control. The advantage of this method is that by dynamically adjusting the parameters of the transfer function, it can better adapt to environmental changes in practical applications, reduce temperature fluctuations, improve system stability and response speed, thereby enhancing treatment effectiveness and patient comfort.
[0057] S3: Determine the first pole magnitude and the second pole magnitude of the transfer function with the constraints that the poles of the transfer function are located in the left half of the complex plane, the steady state duration is less than the preset steady state duration, and the disturbance recovery duration is less than the preset disturbance recovery duration.
[0058] In this context, the magnitudes of the first and second poles represent the distance and direction between the poles of the transfer function, indicating the dynamic response characteristics of the system. The system is stable when the poles are located in the left half of the complex plane. The magnitudes of the first and second poles determine the system's response speed and decay characteristics; larger magnitudes mean a faster response and faster decay, while smaller magnitudes mean a slower response and slower decay. By adjusting the pole magnitudes, the system's dynamic response can be optimized to match the set steady-state duration and disturbance recovery time.
[0059] By precisely adjusting the pole locations of the transfer function, the stability and response performance of the system are ensured. Confining the poles to the left half of the complex plane ensures that the system can quickly recover to a stable state after being disturbed. Furthermore, by setting preset steady-state duration and disturbance recovery time, the system's response speed and stability can be adjusted for different treatment needs, improving the accuracy and reliability of temperature control.
[0060] It should be noted that those skilled in the art can set the preset steady-state duration and preset disturbance recovery duration according to actual needs, and this invention does not limit them.
[0061] In one possible implementation, S3 specifically includes:
[0062] S301: Based on the system time-domain response theory, establish the mapping relationship between poles and steady-state duration and disturbance recovery duration.
[0063] The mapping relationship is as follows:
[0064] ;
[0065] ;
[0066] ;
[0067] in, and These represent the first and second poles of the transfer function, respectively. denoted as minimum value, and ln represents the natural logarithm function.
[0068] It should be noted that the mapping relationship establishes a mathematical connection between the poles of the transfer function and the steady-state duration and disturbance recovery time of the system. Specifically, there is a fixed correspondence between the magnitudes of the first and second poles and their sums. These relationships can be used to predict the response time of temperature control based on the dynamic characteristics of the system. The formula uses minimum values, natural logarithms, and exponential functions to ensure that the system response can meet the requirements of rapid recovery while maintaining the desired temperature in the steady state.
[0069] S302: The problem of updating the gain parameter and time constant is transformed into a region search problem for poles in the complex plane, resulting in a multi-objective optimization constraint equation for solving the first pole magnitude and the second pole magnitude.
[0070] The specific constraint equations for multi-objective optimization are as follows:
[0071] ;
[0072] in, and Both represent intermediate variables related to the magnitudes of the first and second poles. and These represent the preset steady-state duration and the preset disturbance recovery duration, respectively.
[0073] It should be noted that the problem of updating the gain parameter and time constant is transformed into a region search for poles in the complex plane. A multi-objective optimization constraint equation is constructed, which incorporates preset values for the steady-state duration and disturbance recovery time, using intermediate variables to represent the magnitudes of the first and second poles. The constraints ensure that by adjusting the pole magnitudes, the steady-state duration and disturbance recovery time of the system meet the expected objectives. This optimization method can precisely adjust system parameters, thereby improving the stability and response speed of temperature control.
[0074] S303: Establish the objective function for multi-objective optimization constraint equations.
[0075] The specific formula for optimizing the objective function is as follows:
[0076] ;
[0077] in, This indicates optimizing the objective function value. and They represent respectively by and The initial pole magnitudes are obtained by reverse calculation.
[0078] Understandably, this approach minimizes the amount of parameter adjustment (avoiding over-correction that could lead to system fluctuations).
[0079] S304: Based on the optimization objective function, solve for the first pole magnitude and the second pole magnitude.
[0080] It should be noted that the time constant and gain parameter in the transfer function can be updated in real time based on the first pole magnitude and the second pole magnitude.
[0081] The process specifically includes: First, updating the time constant based on the first pole magnitude, where the time constant is the reciprocal of the first pole magnitude. Then, updating the dynamic feature fusion factor by combining the first and second pole magnitudes, where the updated dynamic feature fusion factor is specifically the quotient of the first and second pole magnitudes. Finally, updating the gain parameter based on the updated dynamic feature fusion factor. Specifically, substituting the updated dynamic feature fusion factor into the gain parameter calculation formula yields the updated gain parameter.
[0082] Specifically, this process precisely determines the relationship between the poles of the transfer function and the steady-state duration and disturbance recovery time through a mapping relationship established based on time-domain response theory. By searching the pole region and using multi-objective optimization constraint equations, the selection of the first and second pole magnitudes is optimized to ensure stable system operation under set time requirements. During optimization, minimizing the adjustment amount avoids system fluctuations caused by over-correction. The updated time constant and dynamic characteristic fusion factor are calculated in real time to ensure precise adjustment of the gain parameters, thereby achieving more stable and faster temperature control. The advantage of this method is that by dynamically adjusting the controller parameters, it can adapt to different environments and load conditions, ensuring that the medical therapeutic heating pad provides precise and reliable temperature control during treatment, improving treatment efficacy and safety.
[0083] In one possible implementation, S304 specifically includes:
[0084] S3041: Substitute the steady-state duration and disturbance recovery duration into the mapping relationship to calculate the initial pole magnitude.
[0085] S3042: Calculate the gradient of the objective function with respect to the first pole magnitude and the second pole magnitude, respectively.
[0086] S3043: Update the magnitude of the first pole and the magnitude of the second pole along the negative gradient direction.
[0087] S3044: Calculate the steady-state duration and disturbance recovery duration corresponding to the updated first pole magnitude and second pole magnitude.
[0088] S3045: If the calculated steady-state duration is greater than the preset steady-state duration or the disturbance recovery duration is greater than the preset disturbance recovery duration, proceed to step S3046; otherwise, proceed to step S3047.
[0089] S3046: The updated first and second pole magnitudes are corrected to feasible solutions through projection operations, and the feasible solutions are output as the solution results.
[0090] The revised formula is as follows:
[0091] ;
[0092] ;
[0093] in, and These represent the first and second pole magnitudes obtained in the (k+1)th iteration, respectively, with max indicating the maximum value. and These represent the modified feasible solution, namely the modified first pole magnitude and the modified second pole magnitude, respectively.
[0094] It should be noted that the updated pole magnitudes are corrected through projection operations to ensure they meet the preset requirements for steady-state duration and disturbance recovery time. Specifically, the correction formula adjusts the first and second pole magnitudes obtained in each iteration based on the ratio of steady-state duration to disturbance recovery time, keeping them within an effective range. This correction method ensures the stability of the system response, avoids excessively large or small pole magnitudes, and thus achieves precise temperature control.
[0095] S3047: Output the updated first pole magnitude and second pole magnitude as the solution results.
[0096] Specifically, the process first calculates the initial pole magnitudes based on preset steady-state duration and disturbance recovery time. Then, using the gradient information of the objective function, the pole magnitudes are updated along the negative gradient direction to gradually approach the optimal solution. By calculating the steady-state duration and disturbance recovery time corresponding to the updated pole magnitudes, it is determined whether the preset conditions are met. If not, the pole magnitudes are adjusted through projection operations to make them a feasible solution, ensuring system stability and performance requirements. This method optimizes the responsiveness and stability of the temperature control system by continuously correcting the pole magnitudes, avoiding instability caused by over-correction, and ensuring that the system provides accurate temperature control under various environments.
[0097] S4: Based on the determined first pole magnitude and second pole magnitude, establish a PID temperature controller.
[0098] Among them, the PID temperature controller is a common feedback controller that adjusts the system input based on proportional, integral, and derivative control methods to achieve the desired output temperature. By utilizing the first and second pole modulo values, the parameters of the PID controller are precisely adjusted, enabling the control system to accurately regulate the temperature for different dynamic requirements. Through this method, the controller not only responds quickly to temperature changes but also avoids system instability caused by over-adjustment, ensuring the stability and efficiency of the temperature control process, thereby guaranteeing the high precision and reliability of the medical therapeutic heating pad during treatment.
[0099] In one possible implementation, S4 specifically includes:
[0100] S401: Define the closed-loop dominant pole of the PID temperature controller by combining the first pole magnitude and the second pole magnitude.
[0101] The specific formula for calculating the closed-loop dominant pole is as follows:
[0102] ;
[0103] ;
[0104] in, This indicates the dominant pole in the closed loop. Indicates the damping ratio. The frequency is represented by , and j represents the imaginary unit.
[0105] Optionally, damping ratio A value of 0.707 can be used to balance response speed and system stability.
[0106] It should be noted that the dominant closed-loop pole is calculated by combining the magnitudes of the first and second poles. The natural frequency is determined based on the product of the magnitudes of these two poles, while the damping ratio is considered to adjust the system's stability. This calculation method allows for the definition of the control system's dynamic characteristics, ensuring that the PID controller can respond quickly in practical applications while avoiding excessive oscillations and providing stable temperature regulation.
[0107] S402: Determining the transfer function of a PID temperature controller based on the closed-loop dominant pole.
[0108] The specific formula for the transfer function of a PID temperature controller is as follows:
[0109] ;
[0110] , , ;
[0111] in, This represents the transfer function of a PID temperature controller. , and These represent the proportionality coefficient, the integral time constant, and the derivative time constant, respectively. Indicates about The transfer function.
[0112] It should be noted that traditional PID controller parameters need to be tuned through trial and error or the Ziegler-Nichols formula, which cannot adapt to changes in the dynamic characteristics of the system in real time (such as transfer function parameter updates caused by the aging of the thermal pad). This solution directly associates the transfer function pole configuration with the PID parameters, and achieves self-tuning of the controller parameters through dynamic pole-parameter mapping, without relying on experience or offline calibration.
[0113] S403: Establish a PID temperature controller based on the PID temperature controller transfer function.
[0114] The specific formula for a PID temperature controller is as follows:
[0115] ;
[0116] in, This represents the temperature deviation value of the medical treatment heating pad at time t. This represents the heating power at time t.
[0117] Specifically, by combining the magnitudes of the first and second poles, the dominant closed-loop pole is defined, and the natural frequency and damping ratio are calculated using this dominant pole. This method allows the PID controller parameters to adaptively adjust according to the dynamic characteristics of the system, without relying on traditional empirical adjustments or offline calibration. Through dynamic pole-parameter mapping, the proportional gain, integral time constant, and derivative time constant of the PID controller can all self-tune in real time to adapt to system changes, such as thermal pad aging. This method not only improves the accuracy of the controller but also ensures stable operation of the thermal pad under various operating conditions, enhancing the system's adaptability and performance.
[0118] S5: Obtain the command temperature of the medical therapeutic heating pad.
[0119] The command temperature refers to the target temperature value set by the user, which guides the medical treatment heating pad to reach and maintain the expected treatment temperature.
[0120] S6: Input the commanded temperature to the PID temperature controller and output the optimized heating power.
[0121] Among them, optimized heating power refers to the most suitable heating power value calculated by the PID temperature controller, which is used to precisely adjust the temperature of the medical treatment heating pad.
[0122] In one possible implementation, S6 specifically includes:
[0123] S601: Calculate the temperature deviation of the medical treatment heating pad between the current temperature and the commanded temperature.
[0124] S602: Input the temperature deviation value of the medical treatment heating pad to the PID temperature controller, and output the controllable heating parameters at the current moment, i.e., optimize the heating power.
[0125] Specifically, the process first determines the range that the temperature control system needs to adjust by calculating the temperature deviation between the current temperature and the commanded temperature. Then, this temperature deviation value is input into the improved PID temperature controller. The PID controller adjusts the heating power in real time based on preset proportional, integral, and derivative parameters, thereby outputting an optimized heating power value. This optimized heating power can precisely regulate the heating output of the medical treatment heating pad, ensuring that the temperature reaches the target set value quickly and stably, improving treatment effectiveness and safety.
[0126] S7: Optimizes heating power control for medical therapeutic heating pads.
[0127] In one possible implementation, after S7, the following is also included:
[0128] Monitor the real-time temperature of the medical treatment heating pad and issue an early warning if the real-time temperature exceeds the threshold temperature.
[0129] It should be noted that those skilled in the art can set the threshold temperature according to actual needs, and this invention does not limit it.
[0130] Understandably, when the real-time temperature exceeds the set threshold temperature, the system will issue a warning to remind operators that the temperature may be too high, so as to avoid potential risks such as burns or overheating.
[0131] In practical applications, this medical therapeutic heating pad temperature control method ensures that the heating power of the pad can stably and quickly reach and maintain the set treatment temperature by precisely controlling the heating power. First, by acquiring the steady-state duration and disturbance recovery time, a transfer function is established by combining dynamic characteristic fusion factors to ensure the system can flexibly respond to environmental changes and optimize temperature control. By adjusting the poles of the transfer function, the response speed and stability of the system are precisely controlled, avoiding temperature fluctuations and instability. An improved PID controller adjusts the heating power in real time to ensure precise temperature control. Simultaneously, the system can monitor the real-time temperature and issue warnings when the temperature exceeds a threshold to avoid overheating risks. The entire process can dynamically adjust control parameters according to actual environmental changes, improving system adaptability and ensuring stable and reliable operation of the heating pad under various working conditions, thereby enhancing treatment effectiveness and user safety.
[0132] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following:
[0133] In this invention, a transfer function is established using a non-modeling approach. By combining key parameters such as steady-state duration, disturbance recovery time, and heating power, the design of the PID controller is optimized, enabling it to respond more accurately to temperature changes. Compared to traditional PID control, this method effectively reduces temperature fluctuations and response delays caused by changes in the external environment or load fluctuations. By optimizing the pole positions of the transfer function, the system is ensured to stabilize and quickly recover to a steady state, thus achieving more precise temperature control. Simultaneously, this method ensures that the heating pad operates within the ideal temperature range by adjusting the heating power in real time, avoiding the risks of overheating or overcooling, improving the stability and safety of the treatment effect, enhancing patient comfort, and meeting the personalized adjustment needs of different treatments.
[0134] Reference manual attached Figure 2 The diagram shows a structural schematic of a temperature control system for a medical therapeutic heating pad provided by the present invention.
[0135] The present invention also provides a temperature control system 20 for a medical therapeutic heating pad, applied to the temperature control method of the above-mentioned medical therapeutic heating pad, comprising:
[0136] Processor 201.
[0137] The memory 202 stores computer-readable instructions that, when executed by the processor 201, implement the temperature control method for the medical therapeutic heating pad as described in the method embodiment.
[0138] The temperature control system 20 for the medical therapeutic heating pad provided by the present invention can execute the temperature control method of the medical therapeutic heating pad described above and achieve the same or similar technical effects. To avoid repetition, the present invention will not elaborate further.
[0139] It should be understood that the processor in the embodiments of the present invention can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0140] It should also be understood that the memory in the embodiments of the present invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous linked DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0141] The above embodiments can be implemented, in whole or in part, by software, hardware (such as circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.
[0142] It should be understood that the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. A and B can be singular or plural. Additionally, the character " / " in this article generally indicates an "or" relationship between the preceding and following related objects, but it can also represent an "and / or" relationship. Please refer to the context for a more accurate understanding.
[0143] In this invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be a single item or multiple items.
[0144] It should be understood that, in various embodiments of the present invention, the order of the above-mentioned process numbers does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0145] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0146] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0147] In the several embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0148] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0149] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0150] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0151] This invention provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the temperature control method for a medical therapeutic heating pad as described in the method embodiment.
[0152] The present invention provides a computer-readable storage medium that can implement the steps and effects of the temperature control method of the medical treatment heating pad in the above method embodiments. To avoid repetition, the present invention will not repeat them.
[0153] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
[0154] The following points need to be explained:
[0155] (1) The accompanying drawings of the embodiments of the present invention only involve the structures involved in the embodiments of the present invention. Other structures can refer to the general design.
[0156] (2) For clarity, the thickness of layers or regions is enlarged or reduced in the drawings used to describe embodiments of the invention, i.e., these drawings are not drawn to scale. It is understood that when an element such as a layer, film, region or substrate is referred to as being “above” or “below” another element, the element may be “directly” located “above” or “below” the other element or there may be intermediate elements.
[0157] (3) Where there is no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other to obtain new embodiments.
[0158] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. The scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A temperature control method for a medical treatment thermal pad, characterized by, The method comprises: S1: obtaining a steady state duration and a disturbance recovery duration of the medical treatment heat pad; S2: combining the steady state duration and the disturbance recovery duration to establish a transfer function of the medical treatment heat pad in a non-modeling manner; S3: determining a first pole modulus value and a second pole modulus value of the transfer function, with the constraint that the poles of the transfer function are located in the left half plane of a complex plane, the steady state duration is less than a preset steady state duration, and the disturbance recovery duration is less than a preset disturbance recovery duration; S4: establishing a PID temperature controller based on the determined first pole modulus value and second pole modulus value; S5: obtaining an instruction temperature of the medical treatment heat pad; S6: inputting the instruction temperature into the PID temperature controller to output an optimized heating power; S7: controlling the medical treatment heat pad according to the optimized heating power. The S2 specifically comprises: S201: combining the steady state duration and the disturbance recovery duration to establish a dynamic characteristic fusion factor; S202: determining a gain parameter of the transfer function according to a heating power and the dynamic characteristic fusion factor; S203: determining a time constant of the transfer function according to the dynamic characteristic fusion factor; S204: combining the gain parameter, the time constant, and the dynamic characteristic fusion factor to establish a variable-order transfer function, i.e., the transfer function.
2. The temperature control method of a medical therapeutic heat pad according to claim 1, wherein The time constant is specifically a quotient value between the disturbance recovery duration and a natural logarithm of the dynamic characteristic fusion factor plus 1.
3. The temperature control method of a medical therapeutic heat pad according to claim 1, wherein The S3 specifically comprises: S301: establishing a mapping relationship formula between the poles and the steady state duration and the disturbance recovery duration based on a system time domain response theory; S302: converting an updating problem of the gain parameter and the time constant into a region search problem of the poles in the complex plane, to obtain a multi-objective optimization constraint equation for solving the first pole modulus value and the second pole modulus value; S303: establishing an optimization objective function of the multi-objective optimization constraint equation; S304: solving the first pole modulus value and the second pole modulus value according to the optimization objective function.
4. The temperature control method of a medical therapeutic heat pad according to claim 3, wherein The S304 specifically comprises: S3041: bringing the steady state duration and the disturbance recovery duration into the mapping relationship formula to calculate an initial pole modulus value; S3042: calculating gradients of the optimization objective function with respect to the first pole modulus value and the second pole modulus value; S3043: updating the first pole modulus value and the second pole modulus value in a negative gradient direction; S3044: calculating steady state durations and disturbance recovery durations corresponding to the updated first pole modulus value and second pole modulus value; S3045: in the case that the calculated steady state duration is greater than the preset steady state duration or the disturbance recovery duration is greater than the preset disturbance recovery duration, entering step S3046, otherwise, entering step S3047; S3046: correcting the updated first pole modulus value and second pole modulus value to a feasible solution through a projection operation, and outputting the feasible solution as a solving result; S3047: output the calculated updated first pole modulus value and second pole modulus value as the solution.
5. The temperature control method of a medical therapeutic heat pad according to claim 1, wherein, The S4 specifically comprises: S401: define a closed-loop dominant pole of the PID temperature controller in combination with the first pole modulus value and the second pole modulus value; S402: determine a PID temperature controller transfer function based on the closed-loop dominant pole; S403: establish the PID temperature controller based on the PID temperature controller transfer function.
6. The temperature control method of a medical therapeutic heat pad according to claim 1, wherein, The S6 specifically comprises: S601: calculate a medical therapeutic heat pad temperature deviation value between a current temperature of the medical therapeutic heat pad and the instruction temperature; S602: input the medical therapeutic heat pad temperature deviation value to the PID temperature controller, and output a controllable heating parameter at the current time, i.e. the optimized heating power.
7. The temperature control method of a medical therapeutic heat pad according to claim 1, wherein After the S7, further comprising: monitoring a real-time temperature of the medical therapeutic heat pad, and issuing a warning in a case where the real-time temperature is greater than a threshold temperature.
8. A temperature control system for a medical treatment hot pack, comprising: comprise: a processor; a memory, the memory having computer readable instructions stored thereon, the computer readable instructions being executed by the processor to implement the temperature control method of the medical therapeutic heat pad according to any one of claims 1 to 7.
9. A readable storage medium, characterized by, The readable storage medium stores programs or instructions, the programs or instructions being executed by the processor to implement the temperature control method of the medical therapeutic heat pad according to any one of claims 1 to 7.
Citation Information
Patent Citations
Progressive setting method for PID parameters
CN110850709A
High-precision temperature control method and system for medical equipment
CN111966138A