CN-122006020-A - Temperature control method, device, equipment and storage medium
Abstract
The application relates to the technical field of temperature control and discloses a temperature control method, a device, equipment and a storage medium, wherein the method is applied to temperature control equipment connected with a heating strip; and adjusting the heating power of the heating Wen Tiao according to the current heating control quantity so as to control the temperature of the heating strip according to the heating power. According to the application, by introducing an incremental PID algorithm, the heating power can be adjusted in advance according to the real-time temperature difference and the change trend thereof, the temperature overshoot is effectively inhibited, and further, when a patient receives blood transfusion or infusion treatment, the patient can directly obtain a more stable and safer liquid temperature guarantee, so that the treatment comfort and the equipment safety are improved.
Inventors
- CHEN LIN
Assignees
- 深圳市好克医疗仪器股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260324
Claims (10)
- 1. A temperature control method, characterized in that the method is applied to a temperature control device connected to a warming bar, the method comprising: Collecting the current temperature of the heating strip at the current moment, and obtaining a preset target temperature; based on the current temperature and the target temperature, obtaining a current heating control quantity through an incremental PID control algorithm; And adjusting the heating power of the heating Wen Tiao according to the current heating control quantity so as to control the temperature of the heating strip according to the heating power.
- 2. The method of claim 1, wherein the heating strip is provided with a temperature sensing unit, the temperature control device is connected with the temperature sensing unit through an analog-to-digital conversion interface, and the step of collecting the current temperature of the heating strip comprises: Collecting voltage signals of the temperature sensing unit on the adder Wen Tiao through the analog-digital conversion interface; And converting the voltage signal into the current temperature through a binary search algorithm based on a preset voltage-temperature mapping relation.
- 3. The method of claim 2, wherein the temperature control device is further directly connected to the heating strip through the analog-to-digital conversion interface, and wherein the step of acquiring the current temperature of the heating strip further comprises: acquiring the identification voltage of the heating strip through the analog-to-digital conversion interface; determining a heating strip type corresponding to the heating strip according to the identification voltage; The step of obtaining the current heating control amount by an incremental PID control algorithm based on the current temperature and the target temperature includes: determining matched control algorithm parameters according to the type of the heating strip; the current heating control amount is obtained by an incremental PID control algorithm based on the control algorithm parameters, the current temperature, and the target temperature.
- 4. The method of claim 3, wherein the step of obtaining the current heating control amount by an incremental PID control algorithm based on the control algorithm parameters, the current temperature, and the target temperature comprises: Acquiring a historical moment temperature of the heating strip, and determining a historical temperature deviation based on the target temperature and the historical moment temperature; determining a current temperature deviation based on the current temperature and the target temperature; Determining a control amount adjustment value based on the current temperature deviation, the historical temperature deviation and the control algorithm parameters through an incremental PID control algorithm; And acquiring the historical heating control quantity of the heating strip, and determining the current heating control quantity based on the control quantity adjustment value and the historical heating control quantity.
- 5. The method of claim 4, wherein the control algorithm parameters include a proportional coefficient, an integral coefficient, and a derivative coefficient, the historical temperature deviation includes at least a last time temperature deviation and a last time temperature deviation, and the step of determining the control amount adjustment value by the incremental PID control algorithm based on the current temperature deviation, the historical temperature deviation, and the control algorithm parameters includes: Determining a control amount adjustment value based on the previous time temperature deviation, the proportional coefficient, the integral coefficient and the differential coefficient by an incremental PID control algorithm; The incremental PID control algorithm is as follows: Δu(k)=Kp·[e(k)-e(k-1)]+Ki·e(k)+Kd·[e(k)-2e(k-1)+e(k-2)]; Wherein Δu (k) is a control amount adjustment value, e (k) is a temperature deviation at a current time, e (k-1) is the temperature deviation at the previous time, e (k-2) is the temperature deviation at the previous time, kp is the proportional coefficient, ki is the integral coefficient, and Kd is the differential coefficient.
- 6. The method of claim 1, wherein the temperature control device is further provided with a human-machine interface, and the step of adjusting the heating power to the heating Wen Tiao according to the current heating control amount further comprises: Displaying the current temperature and the target temperature on the human-computer interaction interface in real time; and receiving a temperature updating instruction input by a user on the man-machine interaction interface, and updating the target temperature based on the temperature updating instruction.
- 7. The method of claim 1, wherein the temperature control device is further provided with an alarm unit, and the step of adjusting the heating power to the heating Wen Tiao according to the current heating control amount further comprises, after the step of: comparing the current temperature with a preset temperature threshold; And when the current temperature reaches the preset temperature threshold value, performing high-temperature alarm through the alarm unit.
- 8. A temperature control device, the device comprising: the temperature acquisition module is used for acquiring the current temperature of the heating strip at the current moment and acquiring a preset target temperature; the control quantity acquisition module is used for acquiring the current heating control quantity through an incremental PID control algorithm based on the current temperature and the target temperature; And the temperature control module is used for adjusting the heating power of the heating element Wen Tiao according to the current heating control quantity so as to control the temperature of the heating strip according to the heating power.
- 9. A temperature control device, characterized in that the device comprises a memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when being executed by the processor, realizes the steps of the temperature control method according to any one of claims 1 to 7.
- 10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the temperature control method according to any of claims 1 to 7.
Description
Temperature control method, device, equipment and storage medium Technical Field The present application relates to the field of temperature control technologies, and in particular, to a temperature control method, device, apparatus, and storage medium. Background In the field of medical devices, blood transfusion and infusion warmers are used for warming blood or medical fluid which is infused into a human body to prevent hypothermia symptoms of patients. The heating device for blood transfusion and infusion on the market mainly adopts Wen Tiao as a heating element, and the heating strips are generally long (up to 1.4 meters or even longer) and are arranged on an infusion pipeline to heat liquid in the tube. The control scheme in the prior art mostly adopts a simple switch control or proportional control mode, namely full-power heating is carried out when the temperature is lower than a set value, heating is stopped after the temperature reaches the set value, or heating power is roughly regulated according to the temperature difference. The lack of dynamic adjustment capability to the trend of temperature variation results in a tendency to produce temperature overshoot. Disclosure of Invention The application mainly aims to provide a temperature control method, which aims to solve the technical problem that the traditional method is easy to generate temperature overshoot. To achieve the above object, the present application proposes a temperature control method applied to a temperature control apparatus connected to a heating strip, the method comprising: Collecting the current temperature of the heating strip at the current moment, and obtaining a preset target temperature; based on the current temperature and the target temperature, obtaining a current heating control quantity through an incremental PID control algorithm; And adjusting the heating power of the heating Wen Tiao according to the current heating control quantity so as to control the temperature of the heating strip according to the heating power. In an embodiment, the heating strip is provided with a temperature sensing unit, the temperature control device is connected with the temperature sensing unit through an analog-to-digital conversion interface, and the step of collecting the current temperature of the heating strip includes: Collecting voltage signals of the temperature sensing unit on the adder Wen Tiao through the analog-digital conversion interface; And converting the voltage signal into the current temperature through a binary search algorithm based on a preset voltage-temperature mapping relation. In an embodiment, the temperature control device is further directly connected to the heating strip through the analog-to-digital conversion interface, and the step of collecting the current temperature of the heating strip further includes: acquiring the identification voltage of the heating strip through the analog-to-digital conversion interface; determining a heating strip type corresponding to the heating strip according to the identification voltage; The step of obtaining the current heating control amount by an incremental PID control algorithm based on the current temperature and the target temperature includes: determining matched control algorithm parameters according to the type of the heating strip; the current heating control amount is obtained by an incremental PID control algorithm based on the control algorithm parameters, the current temperature, and the target temperature. In an embodiment, the step of obtaining the current heating control amount by an incremental PID control algorithm based on the control algorithm parameter, the current temperature, and the target temperature includes: Acquiring a historical moment temperature of the heating strip, and determining a historical temperature deviation based on the target temperature and the historical moment temperature; determining a current temperature deviation based on the current temperature and the target temperature; Determining a control amount adjustment value based on the current temperature deviation, the historical temperature deviation and the control algorithm parameters through an incremental PID control algorithm; And acquiring the historical heating control quantity of the heating strip, and determining the current heating control quantity based on the control quantity adjustment value and the historical heating control quantity. In an embodiment, the control algorithm parameters include a proportional coefficient, an integral coefficient, and a derivative coefficient, the historical temperature deviation includes at least a previous time temperature deviation and a previous time temperature deviation, and the step of determining, by the incremental PID control algorithm, the control amount adjustment value based on the current temperature deviation, the historical temperature deviation, and the control algorithm parameters includes: Determining a co