Electric heating shawl temperature control method and system based on multiple safety protection
Through multiple safety protection mechanisms, including mechanical temperature control switches, NTC temperature sensors, and fault diagnosis algorithms, the safety issues of the electric heated shawl temperature control system in the event of electronic system failure are solved, achieving precise constant temperature and safe control, and improving the product's safety and reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHAOXING SHOUREN MEDICAL HEALTH & TECH CO LTD
- Filing Date
- 2026-02-02
- Publication Date
- 2026-05-01
AI Technical Summary
The temperature control system of existing electric heated shawls has a failure safety issue when the electronic system fails at a single point, resulting in insufficient safety for long-term close-fitting use.
It employs multiple safety protection mechanisms, including mechanical temperature control switches, NTC temperature sensors, fault diagnosis algorithms, and thyristors. By physically cutting off the power supply and controlling the temperature in real time, it ensures that precise temperature control and safety protection can still be achieved in the event of electronic system failure.
It achieves precise constant temperature control and safety protection in the event of electronic system failure, improving the safety and reliability of the electric heated shawl and preventing temperature runaway and continuous heating.
Smart Images

Figure CN121957221A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent temperature control technology, and in particular to a method and system for controlling the temperature of an electric heated shawl based on multiple safety protections. Background Technology
[0002] Personal heating products (such as electric shawls and electric blankets) need to be used close to the skin for extended periods, making safety a core requirement. However, current technology has not yet solved the safety issue of failure when the electronic system fails at a single point. Therefore, it is necessary to develop an intelligent electric shawl system. By adding an independent hardware backup protection mechanism to build multiple layers of protection, it can ensure that even if the electronic system completely fails, the power supply can be physically cut off, fundamentally eliminating the risk of overheating.
[0003] Currently, there are three main types of temperature control methods for these products: First, simple mechanical temperature controllers, which rely on the deformation of a bimetallic strip at a specific temperature to break the circuit. Second, electronic temperature controllers, which use microcontrollers in conjunction with sensors such as thermistors to achieve temperature detection and control. Third, PTC self-limiting temperature materials, which utilize the positive temperature coefficient effect to limit power by limiting the characteristic that their own resistance increases with temperature.
[0004] However, mechanical temperature controllers have poor temperature control accuracy and cannot achieve precise temperature control or status indication. Electronic temperature controllers are prone to system malfunction and continuous heating due to electronic component failure. PTC self-regulating materials are greatly affected by the environment, have slow heating, and lack temperature flexibility. Overall, current technologies have not solved the failure safety problem under single-point failure of electronic systems, and the safety of long-term close-fitting use still needs to be improved. Summary of the Invention
[0005] In view of the shortcomings of the prior art, the purpose of this invention is to provide a temperature control method for an electric heating shawl based on multiple safety protections, which can solve the failure safety problem of the existing technology under single-point failure of electronic system, and the technical problem that the safety of long-term close-fitting use still needs to be improved.
[0006] A first aspect of this invention provides a method for controlling the temperature of an electrically heated shawl based on multiple safety protections, comprising: S1: Obtain the temperature of the heated shawl.
[0007] S2: The temperature is controlled by a mechanical temperature control switch until the temperature is less than or equal to the first preset temperature.
[0008] S3: The NTC resistance value is obtained in real time through the NTC temperature sensor.
[0009] S4: Calculate the rate of change of NTC resistance and the slope of temperature rise using a fault diagnosis algorithm.
[0010] S5: Based on the rate of change and the slope of temperature rise, determine whether the temperature change exceeds the second preset temperature. If so, cut off the output of the thyristor of the heated shawl and issue an audible and visual alarm via flashing indicator lights or a buzzer, then return to step S1. Otherwise, proceed to step S6.
[0011] S6: Obtain the voltage signal of the heated shawl.
[0012] S7: By simplifying the three-parameter equation, the voltage signal is converted into a temperature signal.
[0013] S8: By using an NTC temperature sensor and a silicon controlled rectifier (SCR), the temperature signal is controlled to be less than or equal to a third preset temperature to achieve precise constant temperature control.
[0014] A second aspect of the present invention provides a temperature control system for an electrically heated shawl based on multiple safety protections, comprising: a processor and a memory.
[0015] The memory stores a program or instruction that can run on a processor, and when the program or instruction is executed by the processor, it implements the steps of the electric heating shawl temperature control method based on multiple safety protections as described in the first aspect.
[0016] A third aspect of the present invention provides a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the electric heating shawl temperature control method based on multiple safety protections as described in the first aspect.
[0017] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following: 1. In this embodiment of the invention, an NTC temperature sensor is used to achieve precise constant temperature control and status feedback, preventing system runaway and continuous heating. Simultaneously, thyristor phase angle control allows for flexible adaptation to environmental and temperature requirements, improving heating efficiency and temperature control flexibility. A mechanical temperature control switch physically cuts off the power supply in the event of electronic system failure, addressing failure safety issues, while a fault diagnosis algorithm provides early warning of device failures. Attached Figure Description
[0018] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Throughout the drawings, the same reference numerals denote the same parts. Obviously, the drawings described below are merely some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative effort.
[0019] Figure 1 This is a schematic flowchart of a method for controlling the temperature of an electrically heated shawl based on multiple safety protections, provided in an embodiment of the present invention.
[0020] Figure 2 This is a schematic diagram of a temperature control system for an electric heated shawl based on multiple safety protections, provided in an embodiment of the present invention. Detailed Implementation
[0021] To enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. It should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0022] The following description, in conjunction with the accompanying drawings, details the multi-safety-protection-based temperature control method for electric heated shawls provided by the present invention through specific embodiments and application scenarios.
[0023] Reference manual attached Figure 1 The diagram shows a flowchart of a temperature control method for an electrically heated shawl based on multiple safety protections provided by an embodiment of the present invention.
[0024] This invention provides a method for controlling the temperature of an electrically heated shawl based on multiple safety protections, which may include the following steps: S1: Obtain the temperature of the heated shawl.
[0025] The electric heated shawl includes: the garment body, heating wire, control module, power interface, and mechanical switch.
[0026] Specifically, the control module includes: an MCU main control unit, an NTC temperature sensor, a silicon controlled rectifier (SCR), a mechanical temperature control switch, and a power converter.
[0027] The heating wire is made of nickel-chromium alloy wire, the mechanical temperature control switch is a normally closed type with manual reset and an operating temperature of 80°C±2°C, the MCU main control unit is an 8-bit or 32-bit microcontroller, and the NTC temperature sensor is thermally coupled and insulated.
[0028] Among them, MCU (Microcontroller Unit) refers to a microcontroller unit, also often called a single-chip microcomputer. It is an embedded controller that highly integrates the core functional components of a computer, such as a central processing unit (CPU), data memory (RAM), program memory (ROM / Flash), input / output interface (I / O port), analog-to-digital converter (ADC), timer, etc., onto a single semiconductor chip. It is the core of operation and control of small electronic systems.
[0029] In this embodiment of the invention, a fundamental and critical temperature data support is provided for the entire multi-layered safety protection and precise temperature control system. The real-time temperature collected is not only the core basis for the mechanical temperature control switch to trigger physical power-off protection and for the software diagnostic algorithm to determine abnormal temperature rise, but also the prerequisite for subsequent adaptive PID control to achieve precise constant temperature. This ensures the pertinence and effectiveness of the protection mechanisms and temperature control functions at all levels, and guarantees the safety and temperature control accuracy of the product from the source.
[0030] S2: The temperature is controlled by a mechanical temperature control switch until the temperature is less than or equal to the first preset temperature.
[0031] In one possible implementation, S2 specifically involves: when the temperature signal is greater than the first preset temperature, the bimetallic strip of the mechanical temperature control switch deforms to physically disconnect the circuit until the temperature is less than or equal to the first preset temperature, and then the circuit is closed, proceeding to step S3.
[0032] Specifically, the mechanical temperature control switch is independent of the entire electronic control system and does not rely on MCU power supply or commands. The physical contacts of the mechanical temperature control switch are directly installed at critical locations on the heating wire that are prone to overheating (such as wire connection points and stress concentration areas at folds).
[0033] When the local temperature of the heating wire rises abnormally to 80°C due to any reason (such as thyristor breakdown, MCU failure, NTC disconnection), the mechanical temperature control switch will physically disconnect the circuit due to the deformation of the internal bimetallic strip until the temperature drops to the reset point and closes again, thus providing a high level of safety guarantee.
[0034] The contact capacity of this switch must be greater than the load operating current (e.g., 5A). The installation location should be determined through thermal simulation and experimentation, and it must be placed close to the critical points on the heating wire most prone to overheating (e.g., wire solder joints, points of maximum stress from bending). This stage is completely independent of any electronic circuit, providing physical safety disconnection.
[0035] In this embodiment of the invention, physical-level temperature control is achieved by relying on a mechanical temperature control switch that is independent of the electronic control system. It does not rely on power supply or commands from electronic components such as MCUs and sensors. It has strong anti-interference capabilities and mature and stable technology. It can still accurately respond to over-temperature risks when the electronic system fails completely. By forcibly cutting off the circuit, the temperature is controlled within the first preset temperature, which becomes the ultimate redundant defense line to ensure product safety and greatly improves the reliability and safety of long-term close-fitting use.
[0036] It should be noted that those skilled in the art can set the first preset temperature according to actual needs, and this invention does not limit that.
[0037] S3: The NTC resistance value is obtained in real time through the NTC temperature sensor.
[0038] NTC (Negative Temperature Coefficient) refers to the negative temperature coefficient.
[0039] In this embodiment of the invention, the high sensitivity of the negative temperature coefficient thermistor (NTC) is utilized to collect accurate resistance data in real time. This data is not only the core input for subsequent fault diagnosis algorithms to calculate the resistance change rate and temperature rise slope, but also the basis for achieving adaptive PID precise temperature control. Its real-time performance and accuracy directly ensure the effectiveness of software early warning and constant temperature control, and further improve the linkage of the multiple safety protection system.
[0040] S4: Calculate the rate of change of NTC resistance and the slope of temperature rise using a fault diagnosis algorithm.
[0041] Specifically, the MCU's firmware incorporates a fault diagnosis algorithm. This algorithm monitors the rate of change of the NTC resistance (dR / dt) or the slope of temperature rise (dT / dt) in real time.
[0042] MCU stands for Microcontroller Unit, also known as a single-chip microcomputer, and is more commonly referred to as a microcontroller in the industry.
[0043] Specifically, after each temperature sampling, the MCU calculates the current rate of temperature change:
[0044] Where Δt represents the sampling period, This represents the first derivative of temperature with respect to time. T current This represents the real-time temperature value collected at the current sampling moment. T previous This represents the temperature value collected at the previous sampling time. A safe rate of change threshold is set. S max (e.g., 5°C / s) If the current temperature change rate is greater than the safe change rate threshold within M consecutive cycles, it is determined to be an abnormal temperature rise, which may be caused by a partial short circuit or controller failure. The MCU will immediately cut off the thyristor and trigger an audible and visual alarm.
[0045] Specifically, if the voltage value read by the Analog-to-Digital Converter (ADC) remains at the power supply voltage (or close to the reference voltage), the NTC circuit is considered open. If the voltage value read by the ADC remains close to 0V, the NTC circuit is considered short-circuited. During system power-on and before heating, the baseline resistance R0 at ambient temperature is recorded. During operation, if the resistance value deviates significantly from the curve corresponding to R0 during non-heating periods, sensor drift is identified. The MCU periodically (e.g., every 20 minutes) performs a "silent self-test," which actively shuts down the SCR output for a very short time (e.g., 100ms) while monitoring the temperature reading. Under normal thermal inertia, the temperature should show a slight decreasing trend. If the temperature reading continues to rise rapidly at this time, it strongly suggests that the SCR may have short-circuited, and the system will lock the fault and activate the hardware backup level as a final safeguard.
[0046] In this embodiment of the invention, the NTC resistance value is converted into a quantifiable rate of resistance change and temperature rise slope, providing accurate data support for fault identification. This enables early detection of potential risks such as local short circuits and sensor failures, transforming passive protection into proactive early warning, preventing temperature runaway to a dangerous state, and ensuring the targeted nature of subsequent protection actions. This further enhances the foresight and reliability of the multi-layered safety protection system.
[0047] S5: Based on the rate of change and the slope of temperature rise, determine whether the temperature change exceeds the second preset temperature. If so, cut off the output of the thyristor of the heated shawl and issue an audible and visual alarm via flashing indicator lights or a buzzer, then return to step S1. Otherwise, proceed to step S6.
[0048] Specifically, if the system detects an abnormal surge in temperature within a very short period of time (i.e., dT / dt exceeds the preset safety threshold), even if the absolute temperature has not yet reached 80°C, it will issue an audible and visual alarm by flashing an indicator light or sounding a buzzer to remind the user to have the equipment repaired in time.
[0049] It should be noted that those skilled in the art can set a second preset temperature according to actual needs, and this invention does not limit that.
[0050] In this embodiment of the invention, accurate risk assessment is performed based on the resistance change rate and temperature rise slope obtained from prior quantization. When the threshold is exceeded, the output of the thyristor can be quickly cut off to prevent overheating hazards. At the same time, the user is intuitively reminded to perform maintenance through audible and visual alarms. If the threshold is not exceeded, the subsequent temperature control process is smoothly connected. This not only achieves the timeliness and warning of fault handling, but also ensures the continuity of normal operation. It further strengthens the intermediate interception capability of multiple safety protections and improves the safety of product use and user experience.
[0051] S6: Obtain the voltage signal of the heated shawl.
[0052] In one possible implementation, S6 specifically includes steps S601 and S602: S601: Reads the voltage value of the NTC temperature sensor in the heated shawl through the MCU main control unit.
[0053] It should be noted that by reading the voltage value of the NTC temperature sensor through the MCU main control unit, and relying on the stable and accurate signal acquisition capability of the MCU, a standardized and undistorted raw electrical signal can be obtained. This effectively avoids the signal deviation and interference caused by simple acquisition circuits, providing real and reliable basic data for subsequent filtering and temperature conversion. At the same time, it ensures the real-time performance of signal acquisition, laying a solid data foundation for precise temperature control and fault diagnosis.
[0054] S602: The voltage value is processed to suppress interference by using a moving average filtering algorithm to obtain the voltage signal.
[0055] It should be noted that using moving average filtering to suppress interference in the original voltage value can effectively filter out random noise such as electromagnetic interference and signal jitter in the circuit, smooth voltage fluctuations, retain the true and effective temperature-related electrical signal characteristics, greatly improve the stability and reliability of the signal, and avoid problems such as subsequent temperature conversion deviation and fault misjudgment caused by interference signals, thus providing a high-quality data foundation for precise temperature control and safety diagnosis.
[0056] In this embodiment of the invention, the entire process of accurate acquisition and anti-interference processing of NTC voltage signals is integrated. It relies on the MCU to reliably read the original voltage and uses moving average filtering to remove random noise, finally outputting a stable and pure standard voltage signal. This provides high-quality data support for subsequent temperature value conversion and control algorithm calculation, avoids errors from the data source, and ensures the accuracy and operational stability of the entire temperature control and safety diagnostic system.
[0057] S7: By simplifying the three-parameter equation, the voltage signal is converted into a temperature signal.
[0058] In one possible implementation, S7 specifically involves converting the current signal into a temperature signal by simplifying the three-parameter equation based on the thermistor characteristics table of the NTC temperature sensor.
[0059] Specifically, the MCU compares the measured temperature with the target temperature set by the user (e.g., a maximum of 70°C) and dynamically adjusts the conduction angle of the thyristor through algorithms such as PID to achieve precise constant temperature control.
[0060] Specifically, the simplified formula for the three-parameter equation is as follows:
[0061] in, T Represents thermodynamic temperature.R Indicates the NTC resistor value. ln ( ) represents the natural logarithm operation. A Represents the first characteristic constant. B This represents the second characteristic constant. C Represents the third characteristic constant. It represents the multiplication operation.
[0062] In this embodiment of the invention, the conversion from voltage signal to temperature signal is completed by simplifying the three-parameter equation. This not only accurately matches the temperature-voltage-resistance correspondence characteristics of the NTC thermistor, ensuring the accuracy of the conversion result, but also significantly reduces the computational burden on the MCU by simplifying the formula, improves the data processing speed, and efficiently outputs a reliable temperature signal, providing the core numerical basis for subsequent precise constant temperature control.
[0063] S8: By using an NTC temperature sensor and a silicon controlled rectifier (SCR), the temperature signal is controlled to be less than or equal to a third preset temperature to achieve precise constant temperature control.
[0064] In one possible implementation, S8 specifically includes steps S801 to S806: S801: Compare the temperature signal with the third preset temperature to obtain the error temperature.
[0065] It should be noted that those skilled in the art can set a third preset temperature according to actual needs, and this invention does not limit this.
[0066] It should be noted that by comparing the difference between the real-time temperature signal and the third preset temperature, the error temperature is accurately quantified, and the fuzzy temperature deviation is transformed into a specific numerical indicator. This provides a clear and explicit core basis for the subsequent mode switching, parameter selection, and control quantity calculation of the control algorithm, enabling the constant temperature regulation to have precise targeting and fundamentally avoiding unfounded power regulation. This is a key foundational step in achieving high-precision constant temperature control.
[0067] S802: Determine if the error temperature exceeds the preset error threshold. If yes, use PI control, select the preset proportional coefficient, and proceed to step S803. Otherwise, use PID control, select the preset parameters, and proceed to step S803.
[0068] It should be noted that those skilled in the art can set preset error thresholds, preset proportional coefficients, and preset parameters according to actual needs, and this invention does not limit these settings.
[0069] It should be noted that the system adaptively switches between PI and PID control modes and matches the corresponding parameters based on the magnitude of the temperature error. When the error is large, a large proportional coefficient PI control is used to quickly reduce the temperature difference and improve heating efficiency. When the error is small, it switches to small parameter PID control to effectively suppress temperature overshoot and reduce temperature fluctuations, balancing heating speed and constant temperature stability. This avoids the shortcomings of a single control algorithm and makes precise constant temperature control more suitable for actual use scenarios.
[0070] S803: Calculates the control output increment through a control algorithm.
[0071] Specifically, the formula for calculating the control output increment is:
[0072] Among them, △ u ( t )express t Control output increment at any time, Kp This represents the proportionality coefficient. Ki Represents the integral coefficient. Kd Represents the differential coefficient. e ( t )express t Temperature error value at any time e ( t -1) indicates t Temperature error value at time -1 e ( t -2) indicates t Temperature error value at time -2.
[0073] It should be noted that, based on the previously determined control mode and error temperature, the control output increment is calculated through an adapted control algorithm, transforming the abstract temperature regulation requirements into specific and executable numerical instructions. This achieves precise quantification of the regulation range, avoiding temperature oscillations caused by excessive regulation and preventing slow temperature control due to insufficient regulation. This provides a precise and condition-appropriate execution basis for subsequent thyristor conduction angle adjustment and heating wire power control, ensuring the stability and effectiveness of constant temperature regulation.
[0074] S804: Converts the control output increment into a thyristor conduction angle control signal through power modulation.
[0075] It should be noted that by using power modulation, the control output increment calculated by the algorithm is converted into a conduction angle control signal that the thyristor can directly recognize. This achieves seamless integration between the software control logic and the hardware execution components, ensuring accurate and unbiased transmission of control commands. It provides standard and feasible execution commands for the precise adjustment of the thyristor conduction angle, enabling the algorithm intent of constant temperature control to be implemented efficiently.
[0076] S805: Based on the conduction angle control signal, combined with zero-crossing detection and phase angle control, the conduction angle of the thyristor is adjusted.
[0077] It should be noted that by using zero-crossing detection and phase angle control to adjust the conduction angle of the thyristor, the surge current impact of the AC circuit is avoided through zero-crossing detection, effectively protecting hardware components such as the thyristor and heating wire. At the same time, the phase angle control enables fine and linear adjustment of the conduction angle, allowing the conduction angle to precisely match the command of the conduction angle control signal, providing reliable support for the subsequent precise power regulation, and improving the safety of hardware operation and the stability of the entire execution process.
[0078] S806: Based on the adjusted conduction angle, precise constant temperature control is achieved by adjusting the average power of the input heating wire.
[0079] It should be noted that by precisely adjusting the average power of the heating wire based on the adjusted conduction angle, the heating intensity can be dynamically matched according to the real-time temperature control requirements, allowing the temperature to be maintained quickly and stably at the third preset temperature, effectively eliminating temperature fluctuations, and putting the entire closed-loop temperature control logic into practice. This not only ensures the effect of precise constant temperature, but also makes the heat output more reasonable and efficient, improving the stability of product temperature control and user comfort.
[0080] In this embodiment of the invention, a complete closed-loop precise temperature control system is established. Based on the real-time and accurate perception of the NTC temperature sensor, the system links the core decision-making of the intelligent control algorithm with the efficient execution of the thyristor to keep the temperature stable within the third preset temperature range. This balances the response speed and stability of temperature control, and completely achieves high-precision constant temperature, significantly improving the temperature control effect and user comfort of the electric heated shawl.
[0081] The electric heated shawl temperature control method based on multiple safety protections provided in this application embodiment can be executed by an electric heated shawl temperature control device based on multiple safety protections. This application embodiment uses an electric heated shawl temperature control device based on multiple safety protections executing the electric heated shawl temperature control method based on multiple safety protections as an example to illustrate the electric heated shawl temperature control device based on multiple safety protections provided in this application embodiment.
[0082] Reference manual attached Figure 2 The diagram shows a structural schematic of an electric heating shawl temperature control system based on multiple safety protections provided by an embodiment of the present invention.
[0083] This invention provides a temperature control system 20 for an electric heated shawl based on multiple safety protections, including: a processor 201 and a memory 202; The memory 202 stores programs or instructions that can run on the processor 201. When the program or instructions are executed by the processor 201, they implement the steps of the above-described method for controlling the temperature of an electric heated shawl based on multiple safety protections and achieve the same technical effect. To avoid repetition, the present invention will not elaborate further.
[0084] It should be understood that the processor 201 in this embodiment of the invention may be a central processing unit (CPU), or it may 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 may be a microprocessor or any conventional processor.
[0085] It should also be understood that the memory 202 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 are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DR RAM).
[0086] 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.
[0087] 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.
[0088] 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.
[0089] 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.
[0090] 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.
[0091] 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.
[0092] 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.
[0093] 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, essentially, or the part that contributes to the prior art, or a portion 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.
[0094] This invention provides a readable storage medium comprising: storing a program or instructions on the readable storage medium, wherein when the program or instructions are executed by a processor, the program or instructions implement the steps of the above-described method for controlling the temperature of an electrically heated shawl based on multiple safety protections, and can achieve the same technical effect. To avoid repetition, this invention will not elaborate further.
[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the protection scope of the present invention.
Claims
1. A method for temperature control of an electrically heated shawl based on multiple safety protections, characterized in that, include: S1: Obtain the temperature of the electrically heated shawl; S2: Control the temperature using a mechanical temperature control switch until the temperature is less than or equal to a first preset temperature; S3: Real-time acquisition of NTC resistance value via NTC temperature sensor; S4: Calculate the rate of change of the NTC resistance value and the slope of temperature rise using a fault diagnosis algorithm; S5: Based on the rate of change and the slope of temperature rise, determine whether the temperature change is greater than the second preset temperature; if so, cut off the output of the thyristor of the electric heating shawl and issue an audible and visual alarm by flashing an indicator light or using a buzzer, then return to step S1; otherwise, proceed to step S6. S6: Obtain the voltage signal of the electrically heated shawl; S7: By simplifying the three-parameter equation, the voltage signal is converted into a temperature signal; S8: By using an NTC temperature sensor and a silicon controlled rectifier (SCR), the temperature signal is controlled to be less than or equal to a third preset temperature to achieve constant temperature control.
2. The method for controlling the temperature of an electrically heated shawl based on multiple safety protections according to claim 1, characterized in that, The electric heated shawl includes: the garment body, heating wire, control module, power interface, and mechanical switch.
3. The method for controlling the temperature of an electrically heated shawl based on multiple safety protections according to claim 2, characterized in that, The control module specifically includes: an MCU main control unit, an NTC temperature sensor, a silicon controlled rectifier (SCR), a mechanical temperature control switch, and a power converter.
4. The method for controlling the temperature of an electrically heated shawl based on multiple safety protections according to claim 2, characterized in that, The heating wire is made of nickel-chromium alloy wire, and the MCU main control unit is an 8-bit or 32-bit microcontroller.
5. The method for controlling the temperature of an electrically heated shawl based on multiple safety protections according to claim 1, characterized in that, Specifically, step S2 involves the following steps: when the temperature is greater than the first preset temperature, the bimetallic strip of the mechanical temperature control switch deforms to physically disconnect the circuit until the temperature is less than or equal to the first preset temperature, and then the circuit is closed, proceeding to step S3.
6. The method for controlling the temperature of an electrically heated shawl based on multiple safety protections according to claim 1, characterized in that, S6 specifically includes: S601: Read the voltage value of the NTC temperature sensor in the electric heating shawl through the MCU main control unit; S602: The voltage value is processed to suppress interference using a moving average filtering algorithm to obtain the voltage signal.
7. The method for controlling the temperature of an electrically heated shawl based on multiple safety protections according to claim 1, characterized in that, Specifically, S7 involves converting the voltage signal into a temperature signal based on the thermistor characteristics table of the NTC temperature sensor and the simplified three-parameter equation.
8. The method for controlling the temperature of an electrically heated shawl based on multiple safety protections according to claim 1, characterized in that, S8 specifically includes: S801: Compare the temperature signal with a third preset temperature to obtain the error temperature; S802: Determine whether the error temperature is greater than the error threshold; if so, use PI control, select a preset proportional coefficient, and proceed to step S803; otherwise, use PID control, select a preset parameter, and proceed to step S803. S803: Calculates the control output increment through a control algorithm; S804: The control output increment is converted into a thyristor conduction angle control signal by power modulation. S805: Based on the conduction angle control signal, combined with zero-crossing detection and phase angle control, adjust the conduction angle of the thyristor; S806: Based on the adjusted conduction angle, constant temperature control is achieved by adjusting the average power of the input heating wire.
9. A temperature control system for an electrically heated shawl based on multiple safety protections, characterized in that, include: Processor and memory; The memory stores programs or instructions that can run on the processor, which, when executed by the processor, implement the steps of the electric heating shawl temperature control method based on multiple safety protections as described in any one of claims 1 to 8.
10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the electric heating shawl temperature control method based on multiple safety protections as described in any one of claims 1 to 8.