A method and device for controlling rapid temperature rise of a hair straightener
By adopting a fast temperature increase control method in the straightener and using the temperature change curve and correction factor for accurate power calculation, the problem of temperature instability during the heating process of the straightener is solved, and the heating efficiency and adaptability of the temperature control system are improved.
Patent Information
- Application Number
- CN202510010928.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-04-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult to achieve accurate temperature control during the heating process of existing hair straighteners, especially in the case of changes in the external environment or delayed internal response of the equipment, temperature instability is prone to occur, resulting in low heating efficiency.
A rapid temperature increase control method is proposed. By powering on the preset working power according to the working instructions, the temperature change curve is obtained, the initial execution parameters are determined, and the required heating power is accurately calculated through correction factors and dynamic adjustments to ensure the accuracy of temperature control.
By accurately adjusting the controller parameters, excessive heating or insufficient heating caused by inaccurate initial settings is avoided, heating efficiency is improved, flexibility and adaptability of the temperature control system are enhanced, and precise temperature control is achieved.
Smart Images

Figure CN119759136A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data processing, and in particular relates to a method and a device for controlling the rapid temperature rise of a hair straightener. Background Art
[0002] Hair straighteners are widely used tools in modern home and professional hairdressing fields. Their main function is to heat metal plates such as ceramics, titanium alloys and other high thermal conductivity materials to change the natural structure of hair, such as curls and waves, to make it smoother and straighter. The working principle of hair straighteners is based on heat treatment. The heated metal plates transfer heat to the hair, breaking the hydrogen bonds in the hair and changing its shape, so as to straighten curly or wavy hair.
[0003] With the development of technology, the heating control method of existing hair straighteners has been improved. During the heating process, the hair straighteners usually heat up according to the set target temperature. During the heating process, the system heats the device at a constant power until the temperature reaches the predetermined target value. After reaching the target temperature, the device usually stops heating and keeps the temperature stable through the temperature control system. However, this fixed power heating method is often difficult to achieve precise temperature control in actual use, especially in the face of changes in the external environment or delayed response of the device, which is prone to temperature instability, resulting in low heating efficiency. Summary of the invention
[0004] The purpose of the present invention is to solve the above-mentioned problem and to provide a method and device for controlling the rapid temperature rise of a hair straightener.
[0005] In a first aspect of the present invention, a method for controlling the rapid temperature rise of a hair straightener is first proposed, the method comprising: According to the working instruction, power is supplied at a preset working power, a temperature change curve within a first time period of power supply is obtained to obtain a first change curve, and initial execution parameters of the target controller are determined according to the first change curve; the working instruction includes a preset working power, a target temperature and a first time period; Initializing the target controller according to the initial execution parameters, substituting the target temperature difference into the target controller to obtain a first power, and calculating the difference between the preset working power and the first power to obtain a first difference; the target temperature difference is the difference between the target temperature and the current temperature; If the first difference is not within the preset range, a correction factor is obtained according to the first power and the original power; the original power is the operating power of the hair straightener at the current moment; Substituting the target temperature difference into a preset algorithm to update the initial execution parameter to obtain a first updated execution parameter, and correcting the first updated execution parameter according to the correction factor to obtain a target execution parameter; The target controller is updated according to the target execution parameter, the target temperature difference is substituted into the target controller to obtain the target working power, and the power is turned on according to the target working power.
[0006] Optionally, obtaining the correction factor according to the first power and the original power includes: By formula Get the correction factor; in, is the correction factor, A is the original power, B is the first power, C is the preset interval size, and D is the rated power of the hair straightener.
[0007] Optionally, after calculating the difference between the preset working power and the first power to obtain a first difference, the method further includes: If the first difference is within a preset interval, updating the initial execution parameter by a preset algorithm to obtain the first updated execution parameter; The target controller is updated according to the first update execution parameter, and the target temperature difference is substituted into the target controller to obtain the target working power.
[0008] Optionally, substituting the target temperature difference into a preset algorithm to update the initial execution parameter to obtain a first updated execution parameter includes: A population of dung beetles is randomly generated, and each dung beetle represents a controller execution parameter; For each dung beetle, the fitness of the controller parameter corresponding to the dung beetle in the system is calculated by a fitness function; the fitness function is obtained by the target temperature difference; Each dung beetle is updated by simulating different behaviors of the dung beetle, and the fitness of each dung beetle is updated by calculating the fitness of the updated controller execution parameters; After obtaining the preset number of iterations, the controller execution parameter corresponding to the dung beetle with the maximum current fitness is recorded as the first updated execution parameter.
[0009] Optionally, the method further includes: Acquire the temperature after the target working power is turned on for a second time period to obtain a second temperature, and calculate the difference between the target temperature and the second temperature to obtain a second temperature difference; If the second temperature difference is greater than a preset temperature difference value, substituting the second temperature difference into the preset algorithm to update the target execution parameter to obtain a target updated execution parameter; updating the target controller according to the target update execution parameter, substituting the second temperature difference into the target controller to obtain the target working power; If the second temperature difference is less than or equal to the preset temperature difference value, the target execution parameter remains unchanged, and the second temperature difference is substituted into the target controller to obtain the target working power.
[0010] In a second aspect of the present invention, a rapid temperature rise control device for a hair straightener is provided, comprising: an initial execution parameter determination module, configured to power on at a preset working power according to a working instruction, obtain a temperature change curve within a first time period of power on to obtain a first change curve, and determine initial execution parameters of a target controller according to the first change curve; the working instruction includes a preset working power, a target temperature and a first time period; a controller initialization module, configured to initialize the target controller according to the initial execution parameters, substitute the target temperature difference into the target controller to obtain a first power, and calculate the difference between the preset working power and the first power to obtain a first difference; the target temperature difference is the difference between the target temperature and the current temperature; a correction factor determination module, configured to obtain a correction factor according to the first power and an original power if the first difference is not within a preset interval; the original power being the operating power of the hair straightener at the current moment; a target execution parameter determination module, configured to substitute the target temperature difference into a preset algorithm to update the initial execution parameter to obtain a first updated execution parameter, and to correct the first updated execution parameter according to the correction factor to obtain a target execution parameter; The target working power determination module is used to update the target controller according to the target execution parameter, substitute the target temperature difference into the target controller to obtain the target working power, and power on according to the target working power.
[0011] Optionally, the correction factor determination module further includes: By formula Get the correction factor; in, is the correction factor, A is the original power, B is the first power, C is the preset interval size, and D is the rated power of the hair straightener.
[0012] Optionally, the device further comprises: a parameter updating module, configured to update the initial execution parameter by a preset algorithm to obtain the first updated execution parameter if the first difference is within a preset interval; The first controller updating module is used to update the target controller according to the first update execution parameter, and substitute the target temperature difference into the target controller to obtain the target working power.
[0013] Optionally, the target execution parameter determination module includes: The dung beetle population generation module is used to randomly generate a dung beetle population, where each dung beetle represents a controller execution parameter; A fitness determination module, for calculating the fitness of the controller parameters corresponding to each dung beetle in the system through a fitness function; the fitness function is obtained from the target temperature difference; A dung beetle update module is used to update each dung beetle by simulating different behaviors of the dung beetle, and to perform fitness calculation on the updated controller execution parameters of each dung beetle to perform fitness update; The execution parameter selection module is used to record the controller execution parameter corresponding to the dung beetle with the largest current fitness as the first updated execution parameter after obtaining the preset number of iterations.
[0014] Optionally, the device further comprises: A second temperature difference determination module, configured to obtain a second temperature by obtaining a temperature after power is supplied for a second time period at the target working power, and to calculate a difference between the target temperature and the second temperature to obtain a second temperature difference; a target update execution parameter determination module, configured to, if the second temperature difference is greater than a preset temperature difference value, substitute the second temperature difference into the preset algorithm to update the target execution parameter to obtain the target update execution parameter; A second controller updating module, used for updating the target controller according to the target update execution parameter, and substituting the second temperature difference into the target controller to obtain a target working power; The third controller updating module is used to, if the second temperature difference is less than or equal to a preset temperature difference value, keep the target execution parameter unchanged, and substitute the second temperature difference into the target controller to obtain the target working power.
[0015] Beneficial effects of the present invention: The present invention proposes a rapid temperature rise control method for a hair straightener, which comprises the following steps: powering on with a preset working power according to a working instruction, obtaining a temperature change curve within a first time period of powering on to obtain a first change curve, and determining initial execution parameters of a target controller according to the first change curve; initializing the target controller according to the initial execution parameters, substituting a target temperature difference into the target controller to obtain a first power, and calculating a difference between the preset working power and the first power to obtain a first difference; the target temperature difference is the difference between the target temperature and the current temperature; if the first difference is not within a preset interval, obtaining a correction factor according to the first power and the original power; substituting the target temperature difference into a preset algorithm to update the initial execution parameters to obtain a first updated execution parameter, and correcting the first updated execution parameter according to the correction factor to obtain a target execution parameter; updating the target controller according to the target execution parameter, substituting the target temperature difference into the target controller to obtain a target working power, and powering on according to the target working power. By finding the initial execution parameters through the first change curve and combining historical experience, overheating or underheating caused by inaccurate initial settings can be avoided. Unnecessary excessive power consumption can be avoided by accurately adjusting the parameters of the controller. By calculating the target temperature difference and substituting it into the controller, the required heating power can be accurately calculated, avoiding power waste due to temperature errors. Through correction factors and dynamic adjustments, the system can cope with changes in various external and internal factors, thereby improving the flexibility and adaptability of the overall temperature control system, achieving precise temperature control, and improving heating efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The present invention will be further described below in conjunction with the accompanying drawings.
[0017] Figure 1 A flowchart of a method for controlling the rapid temperature increase of a hair straightener is provided for an embodiment of the present invention; Figure 2 A schematic structural diagram of a rapid temperature increase control device for a hair straightener is provided in accordance with an embodiment of the present invention. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the present invention, the description of "first", "second", etc. is only used for descriptive purposes, and cannot be understood as indicating or implying its relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" can explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0019] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative work shall fall within the scope of protection of the present invention.
[0020] The embodiment of the present invention provides a method for controlling the rapid temperature rise of a hair straightener. Figure 1 , Figure 1 A flowchart of a method for controlling the rapid temperature rise of a hair straightener provided by an embodiment of the present invention. The method comprises the following steps: S101, powering on at a preset working power according to a working instruction, acquiring a temperature change curve within a first time period of powering on to obtain a first change curve, and determining initial execution parameters of a target controller according to the first change curve; S102, initializing the target controller according to the initial execution parameters, substituting the target temperature difference into the target controller to obtain a first power, and calculating the difference between the preset working power and the first power to obtain a first difference; S103, if the first difference is not within the preset range, obtaining a correction factor according to the first power and the original power; S104, substituting the target temperature difference into a preset algorithm to update the initial execution parameter to obtain a first updated execution parameter, and correcting the first updated execution parameter according to the correction factor to obtain a target execution parameter; S105, updating the target controller according to the target execution parameter, substituting the target temperature difference into the target controller to obtain the target working power, and powering on according to the target working power.
[0021] Among them, the working instruction includes a preset working power, a target temperature and a first time period; the target temperature difference is the difference between the target temperature and the current temperature; and the original power is the operating power of the hair straightener at the current moment.
[0022] A rapid temperature rise control method for a hair straightener provided by an embodiment of the present invention searches for initial execution parameters through a first change curve, and combines historical experience to avoid overheating or underheating caused by inaccurate initial settings. Unnecessary excessive power consumption is avoided by accurately adjusting the parameters of the controller. The required heating power can be accurately calculated by calculating the target temperature difference and substituting it into the controller, thereby avoiding power waste due to temperature errors. Through correction factors and dynamic adjustments, the system can cope with changes in various external and internal factors, thereby improving the flexibility and adaptability of the overall temperature control system, achieving precise temperature control, and improving heating efficiency.
[0023] In one implementation, by acquiring the temperature change curve in real time, the temperature rise trend of the equipment in actual use can be clearly understood, providing the necessary data basis for subsequent dynamic adjustments; the initial execution parameters of the target controller corresponding to the curve similar to the curve in the historical data are searched according to the first change curve; the target controller is a PID controller, wherein the search for curve similarity is to calculate the similarity between the two curves through the Euclidean distance, and obtain the initial execution parameters of the target controller of the curve with the highest similarity.
[0024] In one implementation, when a user uses a hair straightener, he or she presses a gear on the hair straightener, each gear corresponds to a work instruction, and the work instruction includes a preset working power, a target temperature, a first time period, a total time period, and a second time period; wherein the preset working power is the power used by this gear within the first time period; the target temperature is the temperature that the hair straightening plate is to reach before the total time period; the total time period is greater than the first time period; the size of the preset interval is determined by a technician; and the first time period and the total time period are determined by a technician.
[0025] In one implementation, by calculating the difference between the target temperature and the current temperature and substituting it into the controller, the required heating power can be accurately calculated, avoiding power waste due to temperature error; the difference calculation ensures that the system can dynamically adjust the power output according to the gap between the current temperature and the target temperature, which is more flexible and efficient.
[0026] In one implementation, if the temperature difference exceeds the preset range, it means that the temperature control system fails to accurately achieve the expected goal. By introducing a correction factor, the control parameters can be adjusted to correct the problem of overheating or underheating. The use of the correction factor enhances the system's resilience, avoids excessive temperature fluctuations or instability, and helps to improve the accuracy of the heating process.
[0027] In one implementation, the correction factor is combined with the first updated execution parameter to enable the system to more accurately respond to the external environment to ensure that the temperature is more stable. The correction factor makes the control parameter not only based on temperature changes, but also takes into account the characteristics of the equipment and the influence of the environment, thereby improving the accuracy of temperature control.
[0028] In one implementation, the updated target execution parameters ensure that the working state of the target controller is more accurate, avoiding temperature errors caused by long-term non-adjustment. By updating the target execution parameters, the system can adjust the power output in real time according to the current actual temperature and target temperature, thereby improving the temperature control accuracy and the response speed of the system.
[0029] In one implementation, the execution parameters are dynamically adjusted according to the target temperature difference, which can automatically optimize the operating state of the controller to adapt to different usage conditions and equipment characteristics, thereby improving the adaptability of the temperature control system. By dynamically updating the initial execution parameters, the temperature control system can respond to the temperature difference more accurately to prevent temperature overshoot or undershoot.
[0030] In one embodiment, obtaining the correction factor according to the first power and the original power includes: By formula Get the correction factor; in, is the correction factor, A is the original power, B is the first power, C is the preset interval size, and D is the rated power of the hair straightener.
[0031] In one implementation, by introducing a correction factor, the system can dynamically adjust the heating power according to the difference between the original power and the first power, making the temperature control more precise. When the gap between the actual temperature and the target temperature is large, the correction factor reduces temperature fluctuations by adjusting the power output, thereby improving the responsiveness and accuracy of the temperature control system.
[0032] In one embodiment, after calculating the difference between the preset working power and the first power to obtain the first difference, the method further includes: If the first difference is within the preset interval, the initial execution parameter is updated by a preset algorithm to obtain a first updated execution parameter; The target controller is updated according to the first update execution parameter, and the target temperature difference is substituted into the target controller to obtain the target working power.
[0033] In one implementation, when the first difference is within a preset range, it means that the current power change is small, so no drastic correction is required. At this time, the system uses a preset algorithm to slightly update the initial execution parameters to maintain the stability of the temperature control system and avoid excessive adjustment.
[0034] In one implementation, the preset algorithm is a dung beetle algorithm.
[0035] In one implementation, by updating the initial execution parameters in real time, the system can respond quickly to changes in the external environment or the device itself. When the first difference is small, no large adjustments are required. This can avoid overreaction of the system, prevent drastic fluctuations in power, make the system response smoother, and avoid unnecessary temperature fluctuations caused by excessive adjustments.
[0036] In one embodiment, substituting the target temperature difference into a preset algorithm to update the initial execution parameters to obtain the first updated execution parameters includes: A population of dung beetles is randomly generated, and each dung beetle represents a controller execution parameter; For each dung beetle, the fitness of the controller parameters corresponding to the dung beetle in the system is calculated through the fitness function; the fitness function is obtained by the target temperature difference; Each dung beetle is updated by simulating different behaviors of the dung beetle, and the fitness of each dung beetle is updated by calculating the fitness of the updated controller execution parameters; After obtaining the preset number of iterations, the controller execution parameter corresponding to the dung beetle with the maximum current fitness is recorded as the first updated execution parameter.
[0037] In one implementation, the Dung Beetle Algorithm (DBA) simulates the foraging behavior of dung beetles in a natural environment. The core of the algorithm is that dung beetles find the optimal solution to a problem by searching for the optimal path (the parameter combination that best adapts to the environment). This optimization method that simulates nature has good global search capabilities and can avoid the problem of local optimal solutions.
[0038] In one implementation, the fitness function calculates the execution parameters of each dung beetle PID controller based on the target temperature difference, helping the system quantify the performance of each set of parameters in actual operation. Through this function, it is possible to objectively evaluate which parameter combinations can better achieve the system temperature control goal; the target temperature difference reflects the difference between the current temperature and the target temperature, which directly affects the adjustment of the controller. By feedbacking the size of the temperature difference through the fitness function, the system can optimize the control strategy according to different dung beetles, reduce temperature fluctuations, and achieve the predetermined temperature control effect.
[0039] In one implementation, multiple updates are performed iteratively. Each round of dung beetle behavior simulation will lead to parameter improvements, gradually approaching the global optimal solution. After each generation of updates, the fitness function is used to recalculate and compare the fitness values, thereby continuously optimizing the controller parameters. This can effectively eliminate errors and reduce fluctuations, ensuring that temperature control reaches the most ideal state.
[0040] In one embodiment, the method further comprises: Obtaining the temperature after the target working power is turned on for a second time period to obtain a second temperature, and calculating the difference between the target temperature and the second temperature to obtain a second temperature difference; If the second temperature difference is greater than the preset temperature difference value, the second temperature difference is substituted into the preset algorithm to update the target execution parameter to obtain the target updated execution parameter; The target controller is updated according to the target update execution parameter, and the second temperature difference is substituted into the target controller to obtain the target working power; If the second temperature difference is less than or equal to the preset temperature difference value, the target execution parameter remains unchanged, and the second temperature difference is substituted into the target controller to obtain the target working power.
[0041] In one implementation, the system determines whether the controller parameters need to be adjusted based on the second temperature difference (i.e., the difference between the target temperature and the actual temperature after the second time period). If the temperature difference is too large (i.e., a deviation occurs during the heating process), the controller execution parameters will be updated to correct temperature fluctuations in real time to ensure temperature control accuracy.
[0042] In one implementation, the second time period is obtained by subtracting the first time period from the total time period and dividing the result by the number of intervals; the number of intervals is determined by a technician.
[0043] In one implementation, when the second temperature difference is greater than the preset temperature difference value, the system automatically adjusts to avoid the temperature being too high or too low. By repeatedly updating the controller execution parameters, the system can maintain a stable temperature control state and avoid the problem of unstable temperature. The preset temperature difference value is determined by the technician.
[0044] In one implementation, when the second temperature difference is greater than the preset temperature difference, the system adjusts the target operating power according to the target update execution parameters, which can reduce energy waste because the power is only adjusted when the heating effect is not ideal, and there is no need to frequently adjust the power output, thus avoiding unnecessary energy consumption.
[0045] Based on the same inventive concept, the present invention also provides a rapid temperature rise control device for a hair straightener. Figure 2 , Figure 2 A schematic structural diagram of a rapid temperature rise control device for a hair straightener provided by an embodiment of the present invention includes: An initial execution parameter determination module is used to power on at a preset working power according to a working instruction, obtain a temperature change curve within a first time period of power on to obtain a first change curve, and determine the initial execution parameters of the target controller according to the first change curve; the working instruction includes a preset working power, a target temperature and a first time period; A controller initialization module, used to initialize the target controller according to the initial execution parameters, substitute the target temperature difference into the target controller to obtain the first power, and calculate the difference between the preset working power and the first power to obtain the first difference; the target temperature difference is the difference between the target temperature and the current temperature; a correction factor determination module, configured to obtain a correction factor according to the first power and an original power if the first difference is not within a preset interval; the original power being the operating power of the hair straightener at the current moment; A target execution parameter determination module, used for substituting the target temperature difference into a preset algorithm to update the initial execution parameter to obtain a first updated execution parameter, and correcting the first updated execution parameter according to a correction factor to obtain a target execution parameter; The target working power determination module is used to update the target controller according to the target execution parameters, substitute the target temperature difference into the target controller to obtain the target working power, and power on according to the target working power.
[0046] A fast temperature rise control device for a hair straightener provided by an embodiment of the present invention searches for initial execution parameters through a first change curve, and combines historical experience to avoid overheating or underheating caused by inaccurate initial settings. Unnecessary excessive power consumption is avoided by accurately adjusting the parameters of the controller. The required heating power can be accurately calculated by calculating the target temperature difference and substituting it into the controller, thereby avoiding power waste due to temperature errors. Through correction factors and dynamic adjustments, the system can cope with changes in various external and internal factors, thereby improving the flexibility and adaptability of the overall temperature control system, achieving precise temperature control, and improving heating efficiency.
[0047] In one embodiment, the correction factor determination module further includes: By formula Get the correction factor; in, is the correction factor, A is the original power, B is the first power, C is the preset interval size, and D is the rated power of the hair straightener.
[0048] In one embodiment, the apparatus further comprises: A parameter updating module, configured to update the initial execution parameter by a preset algorithm to obtain a first updated execution parameter if the first difference is within a preset interval; The first controller updating module is used to update the target controller according to the first updating execution parameter, and substitute the target temperature difference into the target controller to obtain the target working power.
[0049] In one embodiment, the target execution parameter determination module includes: The dung beetle population generation module is used to randomly generate a dung beetle population, where each dung beetle represents a controller execution parameter; The fitness determination module is used to calculate the fitness of the controller parameters corresponding to each dung beetle in the system through a fitness function; the fitness function is obtained by the target temperature difference; A dung beetle update module is used to update each dung beetle by simulating different behaviors of the dung beetle, and to perform fitness calculation on the updated controller execution parameters of each dung beetle to perform fitness update; The execution parameter selection module is used to record the controller execution parameter corresponding to the dung beetle with the largest current fitness as the first updated execution parameter after obtaining the preset number of iterations.
[0050] In one embodiment, the apparatus further comprises: A second temperature difference determination module is used to obtain the temperature after the target working power is turned on for a second time period to obtain a second temperature, and calculate the difference between the target temperature and the second temperature to obtain a second temperature difference; A target update execution parameter determination module, configured to, if the second temperature difference is greater than a preset temperature difference value, substitute the second temperature difference into a preset algorithm to update the target execution parameter to obtain the target update execution parameter; A second controller updating module is used to update the target controller according to the target update execution parameter, and substitute the second temperature difference into the target controller to obtain the target working power; The third controller updating module is used to keep the target execution parameter unchanged if the second temperature difference is less than or equal to the preset temperature difference value, and substitute the second temperature difference into the target controller to obtain the target working power.
[0051] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A method for controlling the rapid temperature rise of a hair straightener, characterized in that: The method comprises: According to the working instruction, power is supplied at a preset working power, a temperature change curve within a first time period of power supply is obtained to obtain a first change curve, and initial execution parameters of the target controller are determined according to the first change curve; the working instruction includes a preset working power, a target temperature and a first time period; Initializing the target controller according to the initial execution parameter, substituting the target temperature difference into the target controller to obtain a first power, and calculating the difference between the preset working power and the first power to obtain a first difference value; The target temperature difference is the difference between the target temperature and the current temperature; If the first difference is not within a preset interval, obtaining a correction factor according to the first power and the original power; The original power is the operating power of the hair straightener at the current moment; Substituting the target temperature difference into a preset algorithm to update the initial execution parameter to obtain a first updated execution parameter, and correcting the first updated execution parameter according to the correction factor to obtain a target execution parameter; The target controller is updated according to the target execution parameter, the target temperature difference is substituted into the target controller to obtain the target working power, and the power is turned on according to the target working power.
2. A method for controlling the rapid temperature rise of a hair straightener according to claim 1, characterized in that: Obtaining a correction factor according to the first power and the original power includes: By formula Get the correction factor; in, is the correction factor, A is the original power, B is the first power, C is the preset interval size, and D is the rated power of the hair straightener.
3. A method for controlling the rapid temperature rise of a hair straightener according to claim 1, characterized in that: After calculating the difference between the preset working power and the first power to obtain a first difference, the method further includes: If the first difference is within a preset interval, updating the initial execution parameter by a preset algorithm to obtain the first updated execution parameter; The target controller is updated according to the first update execution parameter, and the target temperature difference is substituted into the target controller to obtain the target working power.
4. A method for controlling the rapid temperature rise of a hair straightener according to claim 1, characterized in that: Substituting the target temperature difference into a preset algorithm to update the initial execution parameter to obtain a first updated execution parameter includes: A population of dung beetles is randomly generated, and each dung beetle represents a controller execution parameter; For each dung beetle, the fitness of the controller parameter corresponding to the dung beetle in the system is calculated by a fitness function; the fitness function is obtained by the target temperature difference; Each dung beetle is updated by simulating different behaviors of the dung beetle, and the fitness of each dung beetle is updated by calculating the fitness of the updated controller execution parameters; After obtaining the preset number of iterations, the controller execution parameter corresponding to the dung beetle with the maximum current fitness is recorded as the first updated execution parameter.
5. A method for controlling the rapid temperature rise of a hair straightener according to claim 4, characterized in that: The method further comprises: Acquire the temperature after the target working power is turned on for a second time period to obtain a second temperature, and calculate the difference between the target temperature and the second temperature to obtain a second temperature difference; If the second temperature difference is greater than a preset temperature difference value, substituting the second temperature difference into the preset algorithm to update the target execution parameter to obtain a target updated execution parameter; updating the target controller according to the target update execution parameter, substituting the second temperature difference into the target controller to obtain the target working power; If the second temperature difference is less than or equal to the preset temperature difference value, the target execution parameter remains unchanged, and the second temperature difference is substituted into the target controller to obtain the target working power.
6. A rapid temperature rise control device for a hair straightener, characterized in that: The device comprises: an initial execution parameter determination module, configured to power on at a preset working power according to a working instruction, obtain a temperature change curve within a first time period of power on to obtain a first change curve, and determine initial execution parameters of a target controller according to the first change curve; the working instruction includes a preset working power, a target temperature and a first time period; a controller initialization module, configured to initialize the target controller according to the initial execution parameters, substitute the target temperature difference into the target controller to obtain a first power, and calculate the difference between the preset working power and the first power to obtain a first difference; the target temperature difference is the difference between the target temperature and the current temperature; a correction factor determination module, configured to obtain a correction factor according to the first power and an original power if the first difference is not within a preset interval; the original power being the operating power of the hair straightener at the current moment; a target execution parameter determination module, configured to substitute the target temperature difference into a preset algorithm to update the initial execution parameter to obtain a first updated execution parameter, and to correct the first updated execution parameter according to the correction factor to obtain a target execution parameter; The target working power determination module is used to update the target controller according to the target execution parameter, substitute the target temperature difference into the target controller to obtain the target working power, and power on according to the target working power.
7. A rapid temperature rise control device for a hair straightener according to claim 6, characterized in that: The correction factor determination module also includes: By formula Get the correction factor; in, is the correction factor, A is the original power, B is the first power, C is the preset interval size, and D is the rated power of the hair straightener.
8. A rapid temperature rise control device for a hair straightener according to claim 6, characterized in that: The device also includes: a parameter updating module, configured to update the initial execution parameter by a preset algorithm to obtain the first updated execution parameter if the first difference is within a preset interval; The first controller updating module is used to update the target controller according to the first update execution parameter, and substitute the target temperature difference into the target controller to obtain the target working power.
9. A rapid temperature rise control device for a hair straightener according to claim 6, characterized in that: The target execution parameter determination module includes: The dung beetle population generation module is used to randomly generate a dung beetle population, where each dung beetle represents a controller execution parameter; A fitness determination module, for calculating the fitness of the controller parameters corresponding to each dung beetle in the system through a fitness function; the fitness function is obtained from the target temperature difference; A dung beetle update module is used to update each dung beetle by simulating different behaviors of the dung beetle, and to perform fitness calculation on the updated controller execution parameters of each dung beetle to perform fitness update; The execution parameter selection module is used to record the controller execution parameter corresponding to the dung beetle with the largest current fitness as the first updated execution parameter after obtaining the preset number of iterations.
10. A rapid temperature rise control device for a hair straightener according to claim 9, characterized in that: The device also includes: A second temperature difference determination module, configured to obtain a temperature after power is supplied for a second time period at the target working power to obtain a second temperature, and calculate a difference between the target temperature and the second temperature to obtain a second temperature difference; a target update execution parameter determination module, configured to, if the second temperature difference is greater than a preset temperature difference value, substitute the second temperature difference into the preset algorithm to update the target execution parameter to obtain the target update execution parameter; A second controller updating module, used for updating the target controller according to the target update execution parameter, and substituting the second temperature difference into the target controller to obtain a target working power; The third controller updating module is used to, if the second temperature difference is less than or equal to a preset temperature difference value, keep the target execution parameter unchanged, and substitute the second temperature difference into the target controller to obtain the target working power.
Citation Information
Cited By
Ring main unit monitoring method
CN121123816A