A control method, device and apparatus of a hair care device, and a storage medium
By employing a power ratio and half-wave conduction strategy to control the heating unit in the hair care device, the problems of power fluctuation and low temperature control accuracy in the hair care device are solved, thereby reducing the voltage impact on other electrical appliances and improving the stability of the user experience.
Patent Information
- Application Number
- CN202111571799.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-21
- Publication Date
- 2026-01-09
- Estimated Expiration
- 2041-12-21
AI Technical Summary
Existing hair care devices exhibit significant power fluctuations during EMC testing, affecting the operating voltage of other electrical appliances, resulting in a poor user experience, and also exhibiting low accuracy and efficiency in temperature control.
By determining the current conduction power ratio and the preset quantity, a half-wave conduction strategy is used to control the heating unit of the hair care device, so that it operates at the conduction power corresponding to the current conduction power ratio. The proportional-integral-derivative control algorithm is used to adjust the conduction mode of the heating unit, thereby reducing power fluctuations and improving the accuracy of constant temperature control.
It effectively reduces the voltage impact of hair conditioner on other electrical appliances, improves the accuracy and efficiency of temperature control in hair conditioner, and ensures a stable user experience.
Smart Images

Figure CN116301118B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of hair care devices, and particularly relates to a control method and device of a hair care device, equipment and a storage medium. BACKGROUND
[0002] The electric heating device is a device for heating or keeping the temperature of flowing liquid or gaseous medium; when the heating medium passes through the electric heating cavity under the action of pressure, the fluid thermodynamics principle is adopted to uniformly take away the huge heat generated by the electric heating element during work, so that the temperature of the heated medium reaches the user's process requirements.
[0003] The hair care device belongs to an electric heating device, which is usually configured as a hair dryer, a curling iron or a hair comb, but is not limited thereto.
[0004] The existing hair care device includes an electric heating wire and a fan. When powered on, the electric heating wire generates heat, and the wind blown by the fan becomes hot air that can dry hair after passing through the electric heating unit. If the electric heating wire does not heat when the fan rotates, the blown air is normal temperature air that can style hair.
[0005] In the prior art, the hair care device usually has a large power fluctuation problem, which causes flickering during EMC testing (also known as electromagnetic compatibility: refers to the comprehensive evaluation of the interference size (EMI) and anti-interference ability (EMS) of electronic products in the electromagnetic field, which is one of the most important indicators of product quality), so that the test cannot pass.
[0006] For example, the power fluctuation of the electric hair dryer is large, which affects the working voltage of other electrical appliances, especially in some low-voltage areas, causing voltage fluctuation of other electrical appliances; poor stability affects the user experience. SUMMARY
[0007] In order to solve the above technical problems, the present application discloses a control method of a hair care device, which is turned on in a half-wave conduction mode determined by the current conduction power ratio and the preset number of AC waves, so that the heating unit operates based on the current conduction power ratio. This heating unit heats based on the above conduction mode, which not only reduces the power fluctuation of the heating unit and the influence of the hair care device on the working voltage of other electrical appliances, but also improves the accuracy and efficiency of the constant temperature control of the hair care device.
[0008] In order to achieve the above invention purpose, the present application provides a control method of a hair care device, the hair care device comprising a body, an air inlet and an air outlet arranged on the body, a first heating unit and a second heating unit arranged in the body for heating, and a temperature detection unit for detecting the actual air outlet temperature of the air outlet, the method comprising:
[0009] determine a current conduction power ratio according to the target air outlet temperature and the actual air outlet temperature;
[0010] determine a current half-wave conduction number corresponding to the current conduction power ratio based on the current conduction power ratio and a preset number; the preset number is a number of all alternating waves corresponding to two heating units in a single period;
[0011] determine a current conduction strategy according to the current half-wave conduction number and the preset number;
[0012] perform half-wave conduction processing in the current conduction strategy, so that the first heating unit and the second heating unit operate at a conduction power corresponding to the current conduction power ratio.
[0013] In some embodiments, the determination of the current conduction power ratio according to the target air outlet temperature and the actual air outlet temperature comprises:
[0014] determining a temperature difference between the target air outlet temperature and the actual air outlet temperature;
[0015] obtaining the current conduction power ratio by calling a preset proportional-integral-derivative control algorithm to perform calculation processing on the temperature difference.
[0016] In some embodiments, the current conduction strategy includes a half-wave distribution rule and a half-wave conduction rule; and the determination of the current conduction strategy according to the current half-wave conduction number and the preset number comprises:
[0017] determining the target half-wave distribution rule from preset half-wave distribution rules according to the current half-wave conduction number and the preset number;
[0018] performing half-wave distribution processing on the current half-wave conduction number based on the target half-wave distribution rule to obtain a first conduction half-wave number allocated to the first heating unit and a second conduction half-wave number allocated to the second heating unit;
[0019] determining a first half-wave conduction rule associated with the first conduction half-wave number and a second half-wave conduction rule associated with the second conduction half-wave number, so that conduction half-waves in the same period are dispersed to the first heating unit and the second heating unit.
[0020] In some embodiments, the half-wave distribution processing on the current half-wave conduction number based on the target half-wave distribution rule to obtain a first conduction half-wave number allocated to the first heating unit and a second conduction half-wave number allocated to the second heating unit comprises:
[0021] determining whether the current half-wave conduction number is less than or equal to the preset number;
[0022] if the current half-wave conduction number is less than or equal to the preset number, determining the current half-wave conduction number or half of the preset number as the first conduction half-wave number, and determining the number difference between the current half-wave conduction number and the first conduction half-wave number as the second conduction half-wave number.
[0023] In some embodiments, after the determination of whether the current half-wave conduction number is less than or equal to the preset number, the method further comprises:
[0024] if the current half-wave conduction number is greater than the preset number, determining the preset number or half of the preset number as the first conduction half-wave number, and determining the number difference between the current half-wave conduction number and the first conduction half-wave number as the second conduction half-wave number.
[0025] In some embodiments, the determination of the first half-wave conduction rule associated with the first conduction half-wave number and the second half-wave conduction rule associated with the second conduction half-wave number comprises:
[0026] comparing the first conduction half-wave number and the second conduction half-wave number with the preset number respectively to obtain a first comparison result and a second comparison result;
[0027] determining, according to the first comparison result and the second comparison result, the first half-wave conduction rule associated with the first conduction half-wave number and the second half-wave conduction rule associated with the second conduction half-wave number from preset half-wave conduction rules.
[0028] In some embodiments, the half-wave conduction processing under the current conduction strategy comprises:
[0029] in the case that the first comparison result is that the first conduction half-wave number is less than or equal to half of the preset number, making all or part of the positive half-wave or negative half-wave of the alternating current wave corresponding to the first heating unit conduct;
[0030] in the case that the first comparison result is that the first conduction half-wave number is greater than half of the preset number, making the negative half-wave of the alternating current wave corresponding to the first heating unit conduct completely and the positive half-wave of the alternating current wave corresponding to the first heating unit conduct completely or partially.
[0031] In some embodiments, the half-wave conduction of the alternating current wave corresponding to the first heating unit comprises:
[0032] determining whether the first conduction half-wave number is less than or equal to a first preset proportion of the preset number;
[0033] if the first conducting half-wave number is less than the first preset proportion of the preset number, the preset number is divided by the first conducting half-wave number to obtain a corresponding quotient and a remainder, wherein the preset number, the first conducting half-wave number, the quotient and the remainder are all natural numbers;
[0034] based on the first conducting half-wave number, the preset number, the quotient and the remainder, the first heating unit is half-wave conducting, so that the positive half-wave or the negative half-wave part of the corresponding alternating current wave of the first heating unit is conducting.
[0035] In some embodiments, after judging whether the first conducting half-wave number is less than or equal to the first preset proportion of the preset number, the method further comprises:
[0036] if the first conducting half-wave number is greater than the first preset proportion of the preset number, the first heating unit is half-wave conducting according to the first conducting half-wave number and the preset number, so that the positive half-wave or the negative half-wave of the corresponding alternating current wave of the first heating unit is all or partially conducting.
[0037] In some embodiments, the half-wave conducting processing according to the current conducting strategy further comprises:
[0038] in the case that the second comparison result is that the second conducting half-wave number is less than or equal to half of the preset number, the positive half-wave or the negative half-wave of the corresponding alternating current wave of the second heating unit is all conducting or not conducting;
[0039] in the case that the second comparison result is that the second conducting half-wave number is greater than half of the preset number, the positive half-wave and the negative half-wave of the corresponding alternating current wave of the second heating unit are all conducting.
[0040] In some embodiments, after the half-wave conducting processing according to the current conducting strategy is performed to make the first heating unit and the second heating unit operate at the current conducting power ratio corresponding to the conducting power, the method further comprises:
[0041] a preset proportional-integral-derivative control algorithm is called to obtain a target conducting power ratio of the next period;
[0042] the current conducting power ratio is subtracted from the target conducting power ratio to obtain a first power ratio difference;
[0043] if the first power ratio difference is less than or equal to a preset threshold, a target half-wave conducting number corresponding to the target conducting power ratio is obtained;
[0044] a target conducting strategy is determined according to the target half-wave conducting number, the preset number and the current conducting strategy;
[0045] performing half-wave conduction processing on the AC wave corresponding to the next period according to the target conduction strategy, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the target conduction power ratio.
[0046] In some embodiments, the method further comprises:
[0047] If the first power ratio difference is greater than the preset threshold, the first conduction power ratio is determined by adding the current conduction power ratio and a second preset proportion of the preset threshold, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the first conduction power ratio;
[0048] determining whether a second power ratio difference between the first conduction power ratio and the target conduction power ratio is less than or equal to a preset threshold;
[0049] If the second power ratio difference is less than or equal to the preset threshold, the first heating unit and the second heating unit operate at the conduction power corresponding to the target conduction power ratio.
[0050] In some embodiments, after determining whether the second power ratio difference between the first conduction power ratio and the target conduction power ratio is less than or equal to the preset threshold, the method further comprises:
[0051] If the second power ratio difference is greater than the preset threshold, the second conduction power ratio is determined by adding the first conduction power ratio and a second preset proportion of the preset threshold, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the second conduction power ratio;
[0052] until a target difference between the second conduction power ratio and the target conduction power ratio is less than or equal to the preset threshold, and performing the step of performing half-wave conduction processing on the AC wave corresponding to the next period according to the target conduction strategy, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the target conduction power ratio.
[0053] In some embodiments, before determining the current conduction power ratio according to the target outlet air temperature and the actual outlet air temperature, the method further comprises:
[0054] When the hair care device operates in a preset state, a first temperature value of a first thermistor and a second temperature value of a second thermistor of the hair care device are obtained, the first thermistor is used to detect the outlet air temperature of the outlet, and the second thermistor is used to measure the ambient temperature of the hair care device;
[0055] According to the first temperature value and the second temperature value, an outlet air temperature calibration value in the preset state is determined;
[0056] According to the air outlet temperature calibration value, a target air outlet temperature corresponding to each operating gear of the hair care device is determined.
[0057] In some embodiments, the determining of the target air outlet temperature corresponding to each operating gear of the hair care device according to the air outlet temperature calibration value comprises:
[0058] multiplying a preset proportional coefficient corresponding to the operating gear and the air outlet temperature calibration value to obtain the target air outlet temperature corresponding to the operating gear.
[0059] In some embodiments, the determining of the air outlet temperature calibration value in the preset state according to the first temperature value and the second temperature value comprises:
[0060] determining a temperature compensation value according to a preset compensation parameter and the second temperature value;
[0061] obtaining the air outlet temperature calibration value in the preset state according to the first temperature value and the temperature compensation value.
[0062] The application also provides a control device of a hair care device, the hair care device comprising a body, an air inlet and an air outlet arranged on the body, a first heating unit and a second heating unit arranged in the body for heating, and a temperature detection unit for detecting an actual air outlet temperature of the air outlet, the device comprising:
[0063] a first acquisition module configured to determine a current conduction power ratio according to a target air outlet temperature and the actual air outlet temperature;
[0064] a first determination module configured to determine a current half-wave conduction number corresponding to the current conduction power ratio based on the current conduction power ratio and a preset number, the preset number being a number of all alternating waves corresponding to two heating units in a single period;
[0065] a second determination module configured to determine a current conduction strategy according to the current half-wave conduction number and the preset number;
[0066] a first control module configured to perform half-wave conduction processing in the current conduction strategy, so that the first heating unit and the second heating unit operate at a conduction power corresponding to the current conduction power ratio.
[0067] The application also provides a control device of a hair care device, the device comprising a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the control method of the hair care device as described above.
[0068] The application further provides a computer readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to control the hair care device according to the method described above.
[0069] The embodiments of the application have the following beneficial effects:
[0070] The method for controlling the hair care device disclosed in the application determines the current conduction power ratio according to the target air outlet temperature and the actual air outlet temperature, determines the current half-wave conduction number corresponding to the current conduction power ratio based on the current conduction power ratio and a preset number, the preset number is the number of all alternating waves corresponding to two heating units in a single period, determines the current conduction strategy according to the current half-wave conduction number and the preset number, and performs half-wave conduction processing in the current conduction strategy, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the current conduction power ratio. The application determines the half-wave conduction mode through the current conduction power ratio and the preset number of alternating waves, so that the heating unit operates based on the current conduction power ratio. This heating unit heating mode based on the above conduction mode can not only reduce the power fluctuation of the heating unit and the influence of the hair care device on the working voltage of other electrical appliances, but also improve the accuracy and efficiency of the constant temperature control of the hair care device. BRIEF DESCRIPTION OF DRAWINGS
[0071] In order to more clearly illustrate the method for controlling the hair care device, the device, the equipment and the storage medium disclosed in the application, the drawings required by the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.
[0072] Figure 1 A flowchart of a method for controlling a hair care device provided by an embodiment of the application is shown in the figure;
[0073] Figure 2 A flowchart of a method for determining a current conduction power ratio provided by an embodiment of the application is shown in the figure;
[0074] Figure 3 A flowchart of a method for determining a current conduction strategy provided by an embodiment of the application is shown in the figure;
[0075] Figure 4 An exemplary schematic diagram of a method for partially or completely conducting a positive half-wave or a half-wave of an alternating wave corresponding to a first heating unit provided by an embodiment of the application is shown in the figure;
[0076] Figures 5a-5d An exemplary structure diagram of the current period AC waveguide conduction provided for the embodiment of the present application;
[0077] Figure 6A A flow diagram of a control method of a hair care device when the heating power is constant provided for the embodiment of the present application;
[0078] Figure 6B A flow diagram of a calibration method of a target air outlet temperature provided for the embodiment of the present application;
[0079] Figure 7 An exemplary structure diagram of the current period AC wave and the next period corresponding AC wave conduction when the heating power is constant provided for the embodiment of the present application;
[0080] Figure 8 A structure diagram of a control device of a hair care device provided for the embodiment of the present application;
[0081] Figure 9 A structure diagram of an electronic device provided for the embodiment of the present application. DETAILED DESCRIPTION
[0082] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.
[0083] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or server including a series of steps or units does not necessarily have to include only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product, or device.
[0084] Before the embodiments of the present application are further described in detail, the terms and phrases involved in the embodiments of the present application are explained, and the terms and phrases involved in the embodiments of the present application are applicable to the following explanations.
[0085] Conduction power ratio: the ratio of the number of half waves of conduction in the first signal subunit and / or the second signal subunit to the total number of half waves of the preset number of alternating waves (i.e. 2 times the preset number).
[0086] Proportional-integral-derivative control, abbreviated as PID control, is to form a control deviation according to the given value and the actual output value, and to form a control amount by linear combination of the proportional, integral and differential deviations to control the controlled object. The conventional PID controller is a linear controller.
[0087] The following Figure 1 The control method of the hair care device of the present application is introduced, which can be applied to the heating control of the hair care device. Specifically, the hair care device of the present application realizes heating through the heating of two heating units. The present application mainly introduces a control method for heating of the heating unit of the hair care device.
[0088] In the embodiments of the present application, the hair care device comprises a body, an air inlet and an air outlet arranged on the body, a first heating unit and a second heating unit arranged in the body for heating, and a temperature detection unit for detecting the actual air outlet temperature of the air outlet.
[0089] Specifically, the hair care device realizes the purpose of hot air blowing through the heating of the first heating unit and the second heating unit. The cold air entering the air inlet of the hair care device is heated after flowing through the first heating unit and the second heating unit, and then the hot air is output from the air outlet of the hair care device.
[0090] For example, the hair care device can be a hair dryer.
[0091] Specifically, the first heating unit and the second heating unit can be electric heating wires, heating sheets, etc.
[0092] Please refer to Figure 1 The present application provides a control method for a hair care device, and the present application provides a flowchart of the control method for a hair care device. The present application provides the method operation steps as described in the embodiments or flowchart, but based on the conventional; or non-creative labor can include more or less operation steps. The order of steps listed in the embodiments is only one of the many execution orders, and does not represent the only execution order. The control method of the hair care device can be executed according to the method order shown in the embodiments or the drawings. Specifically, as shown in Figure 1 The method comprises:
[0093] S101, determining the current conduction power ratio according to the target air outlet temperature and the actual air outlet temperature;
[0094] It should be noted that in the embodiments of the present application, the target air outlet temperature can be set according to different gears of the hair care device, and different gears have different target air outlet temperatures.
[0095] Specifically, when receiving the start-up or gear shifting signal of the hair care device, the target air outlet temperature corresponding to the current gear of the hair care device can be determined; that is, the start-up or gear shifting signal of the hair care device carries the target air outlet temperature of the hair care device.
[0096] Each gear corresponds to a period, and correspondingly, the current conduction power ratio can be determined based on the target air outlet temperature of the current period and the actual air outlet temperature detected by the temperature detection unit. The following method can be used:
[0097] Specifically, in the embodiments of the present application, as Figure 2 which is a flowchart of a method for determining the current conduction power ratio provided by the embodiments of the present application.
[0098] S201, determining a temperature difference between the target air outlet temperature and the actual air outlet temperature.
[0099] In the embodiments of the present application, before determining the temperature difference between the target air outlet temperature and the actual air outlet temperature, the actual air outlet temperature of the first heating unit and the second heating unit in the current gear, i.e. the current period, is also obtained.
[0100] Specifically, the actual air outlet temperature of the air outlet of the hair care device can be the actual temperature of the air output through the air inlet, heated by the first heating unit and / or the second heating unit, and then output through the air outlet. Correspondingly, the actual air outlet temperature can be detected by the temperature detection unit set at the air outlet.
[0101] In the embodiments of the present application, the target air outlet temperature and the actual air outlet temperature of the first heating unit and the second heating unit corresponding to the current gear can be processed by difference; that is, the temperature difference between the target air outlet temperature and the actual air outlet temperature can be obtained.
[0102] S203, calling a preset proportional-integral-derivative (PID) control algorithm to calculate and process the temperature difference to obtain the current conduction power ratio.
[0103] In the embodiments of the present application, the preset proportional-integral-derivative (PID) control algorithm can be a PID control algorithm.
[0104] That is, the PID control algorithm can be called to calculate and process the temperature difference to obtain the current conduction power ratio.
[0105] Specifically, the following calculation model one can be used to implement the calculation of the current conduction power ratio.
[0106] Model one:
[0107] Wherein, U(t) represents the conduction power ratio; Error represents the temperature difference between the target air outlet temperature and the actual air outlet temperature;
[0108] K p represents the proportional coefficient; T represents the differential or integral time constant;
[0109] Specifically, in the embodiment of the present application, the temperature difference between the target air outlet temperature and the actual air outlet temperature of the current period is substituted into the above calculation model, and the proportional, integral and differential calculations are performed to obtain the current conduction power ratio.
[0110] In the embodiment of the present application, the conduction power ratio of the hair care device at each gear can be calculated in the above manner.
[0111] S103, based on the current conduction power ratio and the preset number, determine the current half-wave conduction number corresponding to the current conduction power ratio; the preset number is the number of all alternating waves corresponding to two heating units in a single period;
[0112] It should be noted that in the embodiment of the present application, the alternating wave can be the output wave of the hair care device, wherein each alternating wave, specifically alternating wave, can include positive half-wave and negative half-wave;
[0113] Specifically, the control of the first heating unit and the second heating unit can be realized through the first signal subunit corresponding to the first heating unit and the second signal subunit corresponding to the second heating unit; accordingly, the sum of the number of alternating waves corresponding to the first signal subunit and the number of alternating waves corresponding to the second signal subunit in a single period is the preset number;
[0114] For example, the number of alternating waves corresponding to the first heating unit and the number of alternating waves corresponding to the second heating unit are equal.
[0115] In the embodiment of the present application, the conduction power ratio is the ratio of the number of half-waves conducted in the first signal subunit and / or the second signal subunit to the total number of half-waves of the preset number of alternating waves (i.e. 2 times the preset number);
[0116] For example, the conduction power ratio can be described in percentage, such as 25%, 50%,... 100%, etc.
[0117] Specifically, the conduction power corresponding to the current conduction power ratio can be the operating power of the first heating unit and the second heating unit;
[0118] In the embodiments of the present application, the shift signal and the start signal carry the target air outlet temperature of the first heating unit and the second heating unit; correspondingly, the current conduction power ratio can be calculated by the target air outlet temperature and the actual air outlet temperature of the air outlet in the current period.
[0119] Specifically, a preset proportional integral derivative control algorithm can be used for closed-loop control, wherein the proportional integral derivative control can be: according to the given value and the actual output value, a control deviation is formed, and the deviation is combined by proportion, integration and differentiation to form a control amount, and the controlled object is controlled.
[0120] In the embodiments of the present application, after obtaining the current conduction power ratio, the number of half-wave conduction of the alternating current wave corresponding to the current conduction power can be obtained according to the relationship between the current conduction power ratio and the preset number.
[0121] Specifically, the number of half-waves of the preset number of alternating current waves can be obtained first, that is, the number of 2 times the preset number;
[0122] The current conduction power ratio is multiplied by 2 times the preset number to obtain the current half-wave conduction number corresponding to the current conduction power ratio;
[0123] For example, if the preset number of alternating current waves is 50, the alternating current wave includes 100 half-waves, and the positive half-wave and the negative half-wave each include 50 half-waves.
[0124] If the current conduction power ratio is 25%, the current half-wave conduction number is 100*25%=25.
[0125] S105, according to the current half-wave conduction number and the preset number, determine the current conduction strategy;
[0126] In the embodiments of the present application, the current conduction strategy can be a conduction mode of controlling the alternating current wave to conduct half-wave;
[0127] Specifically, it can include the allocation mode and the conduction mode of the half-wave in the preset number of alternating current waves corresponding to the two heating units in the current period, and correspondingly, after the above-mentioned alternating current wave is conducted by half-wave using the current conduction strategy, the first heating unit and the second heating unit operate at the conduction power corresponding to the current conduction power ratio; in the present application, the mode of conducting half-wave using the current conduction strategy makes the power fluctuation of the first heating unit and the second heating unit in the operation process smaller, and further makes the temperature control of the hair care device heated by the first heating unit and the second heating unit more stable.
[0128] In the embodiments of the present application, the current conduction strategy includes a half-wave distribution rule and a half-wave conduction rule; wherein the half-wave distribution rule can be a distribution rule of respectively distributing the required half-wave conduction number to the corresponding AC wave of the first heating unit and / or the second heating unit;
[0129] The half-wave conduction rule can be a conduction rule of conducting the half-wave number distributed to the corresponding AC wave of the first heating unit or the second heating unit in a preset manner.
[0130] Specifically, in the embodiments of the present application, as shown in Figure 3 which is a flowchart of a method for determining a current conduction strategy provided by the embodiments of the present application, and specifically as follows:
[0131] S301, determining a target half-wave distribution rule from the preset half-wave distribution rules according to the current half-wave conduction number and the preset number;
[0132] In the embodiments of the present application, when determining the target half-wave distribution rule, the target half-wave distribution rule can be determined from the preset half-wave distribution rules according to the proportional relationship between the current half-wave conduction number and the preset number;
[0133] For example, if the ratio between the current half-wave conduction number and the preset number is less than or equal to 1 / 4, the target half-wave distribution rule can be the first half-wave distribution rule; wherein the first half-wave distribution rule can be a rule of distributing the current half-wave conduction number to the corresponding AC wave of the first heating unit or the corresponding AC wave of the second heating unit.
[0134] S303, performing half-wave distribution processing on the current half-wave conduction number based on the target half-wave distribution rule to obtain a first conduction half-wave number distributed to the first heating unit and a second conduction half-wave number distributed to the second heating unit;
[0135] In the embodiments of the present application, the sum of the first conduction half-wave number and the second conduction half-wave number is the current half-wave conduction number;
[0136] Specifically, it should be noted that the current half-wave conduction number is always less than or equal to twice the preset number;
[0137] In the embodiments of the present application, when the target half-wave distribution rule is used to distribute the current half-wave conduction number, the size relationship between the current half-wave conduction number and the preset number can be determined;
[0138] Specifically, it can be determined whether the current half-wave conduction number is less than or equal to the preset number;
[0139] In an embodiment of the present application, if the current half-wave conduction number is less than or equal to the preset number, the current half-wave conduction number or half of the preset number is determined as the first conduction half-wave number, and the number difference between the current half-wave conduction number and the first conduction half-wave number is determined as the second conduction half-wave number.
[0140] Specifically, if the current half-wave conduction number is determined as the first conduction half-wave number, the second conduction half-wave number can be 0.
[0141] If half of the preset number is determined as the first conduction half-wave number, the second conduction half-wave number can be the difference between the current half-wave conduction number and the preset number 1 / 2.
[0142] In an embodiment of the present application, if the current half-wave conduction number is less than or equal to half of the preset number, the current half-wave number can be determined as the first conduction half-wave number.
[0143] If the current half-wave conduction number is greater than half of the preset number and less than or equal to the preset number, half of the preset number can be determined as the first conduction half-wave number.
[0144] For example, when the preset number is 50, that is, the total number of positive half-waves and negative half-waves of the alternating current wave is 100, if the current half-wave conduction number is less than or equal to 25, the current half-wave conduction number is determined as the first conduction half-wave number.
[0145] If the current half-wave conduction number is greater than 25 and less than or equal to 50, half of the preset number, that is, 25, is determined as the first conduction half-wave number.
[0146] In another embodiment of the present application, if the current half-wave conduction number is greater than the preset number, the preset number or half of the preset number is determined as the first conduction half-wave number, and the number difference between the current half-wave conduction number and the first conduction half-wave number is determined as the second conduction half-wave number.
[0147] In an embodiment of the present application, if the preset number is determined as the first conduction half-wave number, the second conduction half-wave number is the current half-wave conduction number minus the preset number.
[0148] If half of the preset number is determined as the first conduction half-wave number, the second conduction half-wave number is the current half-wave conduction number minus the preset number 1 / 2.
[0149] In an embodiment of the present application, if the current half-wave conduction number is greater than the preset number and less than or equal to 3 / 2 times the preset number, half of the preset number can be determined as the first conduction half-wave number.
[0150] If the current half-wave conduction number is greater than 3 / 2 times the preset number and less than or equal to 2 times the preset number, the preset number can be determined as the first conduction half-wave number.
[0151] For example, when the preset number is 50, i.e., the total number of positive half-waves and negative half-waves of the alternating wave is 100, if the current half-wave conduction number is less than or equal to 75, half of the preset number, i.e., 25, is taken as the first conduction half-wave number.
[0152] If the current half-wave conduction number is greater than 75 and less than or equal to 100, the preset number, i.e., 50, can be taken as the first conduction half-wave number.
[0153] S305, determining a first half-wave conduction rule associated with the first conduction half-wave number and a second half-wave conduction rule associated with the second conduction half-wave number, so that the conduction half-waves in the same period are dispersedly output to the first heating unit and the second heating unit.
[0154] In the embodiments of the present application, the first half-wave conduction rule associated with the first conduction half-wave number and the second half-wave conduction rule associated with the second conduction half-wave number can be determined by the following method:
[0155] The first conduction half-wave number and the second conduction half-wave number are compared with the preset number respectively to obtain a first comparison result and a second comparison result.
[0156] In the embodiments of the present application, it should be noted that the first conduction half-wave number and the second conduction half-wave number are both less than or equal to the preset number.
[0157] In the embodiments of the present application, the first conduction half-wave number is compared with the preset number to obtain the first comparison result, which can be that the first conduction half-wave number is less than or equal to half of the preset number, or the first conduction half-wave number is greater than half of the preset number and less than or equal to the preset number.
[0158] The second conduction half-wave number is compared with the preset number to obtain the second comparison result, which can be that the second conduction half-wave number is less than or equal to half of the preset number, specifically, the second conduction half-wave number is equal to zero or equal to half of the preset number.
[0159] Or, the second conduction half-wave number is greater than half of the preset number and less than or equal to the preset number, specifically, the second conduction half-wave number is equal to the preset number.
[0160] Specifically, in the embodiments of the present application, if the current half-wave conduction number is less than or equal to the preset number, when the first comparison result is that the first conduction half-wave number is less than or equal to half of the preset number, the second comparison result can be that the second conduction half-wave number is equal to zero or equal to half of the preset number.
[0161] If the current number of half-wave conduction is greater than the preset number, when the first comparison result is that the first number of conducting half-waves is greater than half of the preset number and less than or equal to the preset number, the second number of conducting half-waves is equal to zero or equal to half of the preset number.
[0162] According to the first comparison result and the second comparison result, a first half-wave conduction rule associated with the first number of conducting half-waves and a second half-wave conduction rule associated with the second number of conducting half-waves are determined from preset half-wave conduction rules.
[0163] In the embodiments of the present application, the first half-wave conduction rule can be a conduction mode of the first number of conducting half-waves in an alternating current wave corresponding to the first heating unit.
[0164] The second half-wave conduction rule can be a conduction mode of the second number of conducting half-waves in an alternating current wave corresponding to the second heating unit.
[0165] Specifically, based on the first comparison result, a first half-wave conduction rule associated with the first number of conducting half-waves corresponding to the first heating unit is determined from the preset half-wave conduction rules.
[0166] Based on the second comparison result, a second half-wave conduction rule associated with the second number of conducting half-waves corresponding to the second heating unit is determined from the preset half-wave conduction rules.
[0167] For example, if the first comparison result is that the first number of conducting half-waves is less than or equal to half of the preset number, the first half-wave conduction rule can be to conduct all or part of the positive half-wave or negative half-wave of the alternating current wave corresponding to the first heating unit.
[0168] S107, with the current conduction strategy, half-wave conduction processing is performed to enable the first heating unit and the second heating unit to operate at a corresponding conduction power with a current conduction power ratio;
[0169] In the embodiments of the present application, with the current conduction strategy, half-wave conduction processing can enable the first heating unit to operate alone, and can also enable the first heating unit and the second heating unit to operate simultaneously.
[0170] Specifically, in the embodiments of the present application, with the current conduction strategy, half-wave conduction processing can enable the alternating current wave corresponding to the first heating unit to conduct in the first half-wave conduction rule, and enable the alternating current wave corresponding to the second heating unit to conduct in the second half-wave conduction rule. Correspondingly, the conduction of the signal can be realized based on the alternating current wave output by the control unit of the hair care device.
[0171] In the embodiments of the present application, enabling half-wave conduction processing with the current conduction strategy can include:
[0172] In a case where the first comparison result is that the first number of conducting half-waves is less than or equal to half of the preset number, all or part of positive half-waves or negative half-waves of the alternating current wave corresponding to the first heating unit are caused to be conducting.
[0173] Specifically, in a case where the first comparison result is that the first number of conducting half-waves is less than or equal to half of the preset number, the number of half-waves of the positive half-waves of the alternating current wave corresponding to the first heating unit that are caused to be conducting can be equal to the first number of conducting half-waves; or, the number of half-waves of the negative half-waves of the alternating current wave corresponding to the first heating unit that are caused to be conducting can be equal to the first number of conducting half-waves.
[0174] In a case where the first comparison result is that the first number of conducting half-waves is greater than half of the preset number, all of the negative half-waves of the alternating current wave corresponding to the first heating unit are caused to be conducting, and all or part of the positive half-waves of the alternating current wave corresponding to the first heating unit are caused to be conducting.
[0175] In the embodiments of the present application, causing the half-waves to be processed according to the current conducting strategy can further include:
[0176] In a case where the second comparison result is that the second number of conducting half-waves is less than or equal to half of the preset number, all of the positive half-waves or negative half-waves of the alternating current wave corresponding to the second heating unit are caused to be conducting or not conducting.
[0177] Specifically, in a case where the second comparison result is that the second number of conducting half-waves is less than or equal to half of the preset number, the number of half-waves of the positive half-waves or negative half-waves of the alternating current wave corresponding to the first heating unit that are caused to be conducting can be equal to the second number of conducting half-waves; or, the number of half-waves of the positive half-waves or negative half-waves of the alternating current wave corresponding to the second heating unit that are caused to be conducting can be equal to zero.
[0178] In a case where the second comparison result is that the second number of conducting half-waves is greater than half of the preset number, all of the positive half-waves and negative half-waves of the alternating current wave corresponding to the second heating unit are caused to be conducting.
[0179] Specifically, in a case where the second comparison result is that the second number of conducting half-waves is greater than half of the preset number, that is, in a case where the second number of conducting half-waves is equal to the preset number, all of the positive half-waves and negative half-waves of the alternating current wave corresponding to the second heating unit are caused to be conducting. The distribution and conducting rule of the number of conducting half-waves in the present application can make the conducting of the alternating current wave more evenly distributed, and make the operating power of the first heating unit and the second heating unit based on the current conducting power more stable.
[0180] In the embodiments of the present application, taking a case where part or all of the positive half-waves or negative half-waves of the alternating current wave corresponding to the first heating unit are caused to be conducting as an example, the conducting can be performed based on a relationship between the first number of conducting half-waves and a first preset ratio of the preset number, and specifically can include the following steps:
[0181] Specifically, it is necessary to explain that in this case, the first number of conducting half waves is less than half of the preset number.
[0182] determining whether the first number of conducting half waves is less than or equal to a first preset proportion of the preset number;
[0183] In the embodiments of the present application, the first preset proportion can be 1 / 4 of the preset number; if the preset number is 50, the first preset proportion of the preset number can be 50 / 4;
[0184] In an embodiment of the present application, if the first number of conducting half waves is less than or equal to the first preset proportion of the preset number, the preset number is divided by the first number of conducting half waves to obtain a corresponding quotient and a remainder, wherein the preset number, the first number of conducting half waves, the quotient and the remainder are all natural numbers;
[0185] In the embodiments of the present application, if the preset number is represented by Y, the first number of conducting half waves is represented by X, the quotient is represented by Z, and the remainder is represented by W;
[0186] The preset number is divided by the first number of conducting half waves to obtain a corresponding quotient and a remainder, and specifically, the following calculation model two can be used to obtain,
[0187] Model two: Y / 2X=Z...W;
[0188] The quotient, that is, Z can represent the interval half wave number between the adjacent two conducting half waves;
[0189] The remainder, that is, W can represent the excess half wave number after (X-W) half wave numbers are evenly distributed in the first heating unit corresponding to the alternating wave;
[0190] Based on the first number of conducting half waves, the preset number, the quotient and the remainder, the first heating unit is half-wave conducted, so that the positive half wave or negative half wave part of the alternating wave corresponding to the first heating unit is conducted.
[0191] In the embodiments of the present application, through the first number of conducting half waves, the preset number, the quotient and the remainder, a conducting array is finally output, wherein the conducting array contains the position information of the half wave that can be conducted in the positive half wave or negative half wave of the alternating wave corresponding to the first heating unit;
[0192] Let the first heating unit conduct the positive half wave or negative half wave of the alternating wave corresponding to the first heating unit based on the conducting array;
[0193] Specifically, for example, the positive half wave or the negative half wave of the alternating current wave corresponding to the first heating unit can be divided into X+1 parts, and the Xth part can be regarded as the remainder W. The W can be evenly distributed in the X parts, so as to realize the partial conduction of the positive half wave or the negative half wave of the alternating current wave corresponding to the first heating unit.
[0194] In another embodiment of the present application, if the first conduction half wave number is greater than the first preset proportion of the preset number, the first heating unit is half-wave conducted according to the first conduction half wave number and the preset number, so that the positive half wave or the negative half wave of the alternating current wave corresponding to the first heating unit is fully or partially conducted.
[0195] In the embodiment of the present application, if the first conduction half wave number is greater than the first preset proportion of the preset number, the first conduction half wave number and the half of the preset number can be complementarily calculated, and finally a conduction array is output, wherein the conduction array contains the position information of the half wave that can be conducted in the positive half wave or the negative half wave of the alternating current wave corresponding to the first heating unit.
[0196] The first heating unit is half-wave conducted based on the conduction array of the positive half wave or the negative half wave of the alternating current wave corresponding to the first heating unit.
[0197] Specifically, X and Y / 2 can be complementarily conducted.
[0198] For example, if the preset number is 50, that is, Y is equal to 50, the number of the alternating current wave corresponding to the first heating unit is Y / 2=25, and 25 bits are taken from a preset 32-bit array table. The 25 bits can represent the conduction half wave number of 1-25, and each bit represents the conduction and closing of the current half wave.
[0199] The complementary conduction can be the sum of the bits of the two conduction half waves, for example, half wave 1 and half wave 24. When half wave 1 is conducted, half wave 24 is closed; when half wave 1 is closed, half wave 24 is conducted. The present application can make the conducted half waves uniformly distributed in the positive half wave or the negative half wave of the alternating current wave corresponding to the first heating unit when the positive half wave or the negative half wave of the alternating current wave corresponding to the first heating unit is partially or fully conducted, so that the operating power of the first heating unit is relatively stable after the first heating unit is conducted, and the fluctuation is small.
[0200] Specifically, as Figure 4 which is an exemplary schematic diagram when the positive half wave or the negative half wave of the alternating current wave corresponding to the first heating unit is partially or fully conducted, wherein 1 in the table indicates that the half wave is conducted, and the space indicates that the half wave is not conducted.
[0201] In one specific embodiment, the preset number is 50, and the AC waves corresponding to the first heating unit and the second heating unit are both 25. In the case of 25 AC waves, the positive half waves and the negative half waves are both 25 half waves. Specifically, as shown in FIG. 25, the AC waves corresponding to the first heating unit are denoted by A, and the AC waves corresponding to the second heating unit are denoted by B. Figures 5a-5d
[0202] If the current conduction power ratio is 0-25%, the positive half waves of the AC waves corresponding to the first heating unit are controlled to be all or partially conductive.
[0203] For example, as shown in FIG. 26, when the current conduction power ratio is 25%, the positive half waves of the AC waves corresponding to the first heating unit are all conductive. Figure 5a
[0204] If the current conduction power ratio is greater than 25% and less than or equal to 50%, the positive half waves of the AC waves corresponding to the first heating unit are controlled to be all or partially conductive, and the negative half waves of the AC waves corresponding to the second heating unit are controlled to be all conductive.
[0205] For example, as shown in FIG. 27, when the current conduction power ratio is 50%, the positive half waves of the AC waves corresponding to the first heating unit are all conductive, and the negative half waves of the AC waves corresponding to the second heating unit are all conductive. Figure 5b
[0206] If the current conduction power ratio is greater than 50% and less than or equal to 75%, the positive half waves and the negative half waves of the AC waves corresponding to the first heating unit are controlled to be all or partially conductive, and the negative half waves of the AC waves corresponding to the second heating unit are controlled to be all conductive.
[0207] For example, as shown in FIG. 28, when the current conduction power ratio is 75%, the positive half waves and the negative half waves of the AC waves corresponding to the first heating unit are all conductive, and the negative half waves of the AC waves corresponding to the second heating unit are all conductive. Figure 5c
[0208] If the current conduction power ratio is greater than 75% and less than or equal to 100%, the positive half waves and the negative half waves of the AC waves corresponding to the first heating unit are controlled to be all or partially conductive, and the positive half waves and the negative half waves of the AC waves corresponding to the second heating unit are controlled to be all conductive.
[0209] For example, as shown in FIG. 29, when the current conduction power ratio is 100%, the positive half waves and the negative half waves of the AC waves corresponding to the first heating unit are all conductive, and the positive half waves and the negative half waves of the AC waves corresponding to the second heating unit are all conductive. Figure 5d As shown, the first heating unit corresponds to the positive half wave and the negative half wave of the alternating current wave, and the second heating unit corresponds to the positive half wave and the negative half wave of the alternating current wave. In the present application, the first heating unit and the second heating unit are regularly turned on, and the maximum difference between two adjacent alternating current waves is one half wave during the process of the regularly turned on alternating current wave. The power of the electric heating device is relatively stable, and the power fluctuation is small.
[0210] In the embodiment of the present application, if the heating power reaches a constant during the operation of the first heating unit and the second heating unit, the first heating unit and the second heating unit can be controlled to operate in an alternating on-off manner during the switching of gears.
[0211] Specifically, the difference between the on-off power ratios of two adjacent periods can be used to determine whether the heating power of the two heating units reaches a constant state.
[0212] In the embodiment of the present application, as shown, Figure 6A The flowchart of the control method of the hair care device when the heating power is constant is shown in the embodiment of the present application. Specifically, the following steps are taken:
[0213] S601, a preset proportional integral differential control algorithm is called to obtain a target on-off power ratio of the next period;
[0214] In the embodiment of the present application, the next target air outlet temperature and the next actual air outlet temperature of the next period can be used, and a preset proportional integral differential control algorithm can be used to calculate and process the temperature difference between the next target air outlet temperature and the next actual air outlet temperature to obtain the target on-off power ratio.
[0215] Specifically, the method of calculating the target on-off power ratio using the preset proportional integral differential control algorithm is the same as the method of calculating the current on-off power ratio.
[0216] S603, the current on-off power ratio is subtracted from the target on-off power ratio to obtain a first power ratio difference;
[0217] In the embodiment of the present application, after the target on-off power ratio of the next period is calculated, the target on-off power ratio is subtracted from the current on-off power ratio to obtain a first power ratio difference.
[0218] S605, if the first power ratio difference is less than or equal to a preset threshold, the target half wave on-off number corresponding to the target on-off power ratio is obtained.
[0219] In the embodiment of the present application, the preset threshold can be a proportional threshold. For example, it can be 25%.
[0220] If the first power ratio difference is less than or equal to a preset threshold, it can be determined that the heating power of the first heating unit and the second heating unit reaches a constant state.
[0221] At this time, the target half-wave conduction number corresponding to the target conduction power ratio can be calculated based on the target conduction power ratio and the preset number.
[0222] Specifically, the target half-wave conduction number corresponding to the target conduction power ratio can be obtained by multiplying the target conduction power ratio by 2 times the preset number.
[0223] S607, according to the target half-wave conduction number, the preset number and the current conduction strategy, determine the target conduction strategy;
[0224] In the embodiments of the present application, the target conduction strategy can be a conduction mode of controlling the first heating unit and the second heating unit to conduct half-wave of the alternating current wave;
[0225] Specifically, it can include the allocation mode and the conduction mode of the half-wave in the preset number of alternating current waves corresponding to the next period;
[0226] Specifically, the next conduction strategy of the next period can be determined based on the target half-wave conduction number and the preset number;
[0227] Based on the fact that the heating power of the first heating unit and the second heating unit reaches a constant state, in order to make the heating power of the first heating unit and the second heating unit consistent, when the alternating current wave is conducted in the next conduction strategy, the conduction mode of the alternating current wave in the first signal subunit corresponding to the first heating unit and the conduction mode of the alternating current wave in the second signal subunit corresponding to the second heating unit are exchanged when the alternating current wave is conducted in the current conduction strategy;
[0228] Specifically, if the current conduction power ratio is equal to the target conduction power ratio of the next period, the conduction mode of the alternating current wave in the first signal subunit corresponding to the first heating unit at the current conduction power ratio is corresponding to the conduction mode of the alternating current wave in the second signal subunit corresponding to the second heating unit at the target conduction power ratio.
[0229] The conduction mode of the alternating current wave in the second signal subunit corresponding to the second heating unit at the current conduction power ratio is corresponding to the conduction mode of the alternating current wave in the first signal subunit corresponding to the first heating unit at the target conduction power ratio.
[0230] For example, as Figure 7As shown, if the current conduction power ratio and the target conduction power ratio of the next period are both 75%, and the AC wave corresponding to the first heating unit is denoted by A, and the AC wave corresponding to the second heating unit is denoted by B.
[0231] As shown in FIG. 1A, in the current period, the positive half wave and the negative half wave of the AC wave in the first signal subunit corresponding to the first heating unit are all turned on, the positive half wave of the AC wave in the second signal subunit corresponding to the second heating unit is turned on, and the negative half wave is not turned on. Figure 7 As shown in FIG. 1A, in the current period, the positive half wave and the negative half wave of the AC wave in the first signal subunit corresponding to the first heating unit are all turned on, the positive half wave of the AC wave in the second signal subunit corresponding to the second heating unit is turned on, and the negative half wave is not turned on.
[0232] Figure 7 As shown in FIG. 1B, in the next period, the positive half wave of the AC wave in the first signal subunit corresponding to the first heating unit is turned on, and the negative half wave is not turned on, and the positive half wave and the negative half wave of the AC wave in the second signal subunit corresponding to the second heating unit are all turned on.
[0233] S609, the half wave conduction processing is performed according to the target conduction strategy, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the target conduction power ratio.
[0234] In another embodiment of the present application, if the first power ratio difference is greater than the preset threshold, the current conduction power ratio and a second preset proportion of the preset threshold are added to calculate a first conduction power ratio, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the first conduction power ratio;
[0235] In the embodiment of the present application, if the first power ratio difference is greater than the preset threshold, the conduction power ratio based on the current conduction power ratio is required to be increased by at least twice to reach the target conduction power ratio;
[0236] Specifically, the second preset proportion can be 1 times, that is, 1 times of the preset threshold;
[0237] The first power ratio difference greater than the preset threshold can be that the first power ratio difference is greater than 25%; at this time, the sum of the current conduction power ratio and 1 times of the preset threshold can be taken as the first conduction power ratio;
[0238] If the preset threshold is 25%, the first conduction power ratio = the current conduction power ratio + 25%;
[0239] After obtaining the first conduction power ratio, the first conduction strategy of the next period can be determined according to the first conduction power ratio and the preset number;
[0240] The next period is controlled to perform half wave conduction processing according to the first conduction strategy, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the first conduction power ratio;
[0241] Then, it is judged whether a second power ratio difference between the first conduction power ratio and the target conduction power ratio is less than or equal to a preset threshold value;
[0242] If the second power ratio difference is less than or equal to the preset threshold value, the AC wave corresponding to the next period is controlled to be half-wave conduction processed at the first conduction power ratio + the second power ratio difference (the target conduction power ratio), so that the first heating unit and the second heating unit operate at the conduction power corresponding to the target conduction power ratio.
[0243] In another embodiment of the present application, if the second power ratio difference is greater than the preset threshold value, the first conduction power ratio and a second preset ratio of the preset threshold value are added to determine a second conduction power ratio, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the second conduction power ratio.
[0244] In the embodiment of the present application, the second preset ratio can be 1 times, that is, 1 times of the preset threshold value.
[0245] The second power ratio difference greater than the preset threshold value can be that the second power ratio difference is greater than 25%; at this time, the sum of the current conduction power ratio and 2 times of the preset threshold value, that is, the sum of the first conduction power ratio and 1 times of the preset threshold value, can be taken as the second conduction power ratio.
[0246] If the preset threshold value is 25%, the second conduction power ratio = the current conduction power ratio + 50%.
[0247] After obtaining the second conduction power ratio, the second conduction strategy of the next period can be determined according to the second conduction power ratio and a preset number.
[0248] The AC wave corresponding to the next period is controlled to be half-wave conduction processed at the second conduction strategy, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the first conduction power ratio.
[0249] The step of adding the first conduction power ratio and the second preset ratio of the preset threshold value is repeated; until the target difference value between the second conduction power ratio and the target conduction power ratio is less than or equal to the preset threshold value, and the step of controlling the AC wave corresponding to the next period to be half-wave conduction processed at the target conduction strategy is performed, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the target conduction power ratio.
[0250] The present application adopts this stepwise incremental way to perform half-wave conduction processing of the AC wave corresponding to the two heating units. The above AC wave is conduction processed in a small amplitude and steady incremental way before the heating reaches a constant, which further improves the stability of the operating power of the first heating unit and the second heating unit.
[0251] According to the embodiments of the hair care device control method, device, equipment and storage medium provided in the present application, the current conduction power ratio is determined according to the target air outlet temperature and the actual air outlet temperature; the current half-wave conduction number corresponding to the current conduction power ratio is determined based on the current conduction power ratio and a preset number, the preset number being the number of all alternating waves corresponding to two heating units in a single period; the current conduction strategy is determined according to the current half-wave conduction number and the preset number; the half-wave conduction processing is performed in the current conduction strategy, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the current conduction power ratio; by using the technical solution provided in the embodiments of the present application, the conduction is performed in the half-wave conduction mode determined by the current conduction power ratio and the preset number of alternating waves, so that the heating unit operates based on the current conduction power ratio. This heating unit heating mode based on the above conduction mode can not only reduce the power fluctuation of the heating unit and the influence of the hair care device on the working voltage of other electrical appliances, but also improve the accuracy and efficiency of the constant temperature control of the hair care device.
[0252] In the embodiments of the present application, the hair care device generally has different operating gears. When operating in a specific operating gear, the air temperature of the blown air needs to be controlled in a stable state. The air temperature of the hair care device of the same model and different whole machines should also reach a consistent and stable state when operating in the same operating gear. Therefore, the accuracy of the temperature control of the hair care device needs to be detected and calibrated, that is, temperature calibration. In related calibration techniques, due to the uncertainty of the production process and the detection difference of different detection points, the accuracy of the calibration result is not high, which cannot make the air temperature of the blown air consistent and stable in closed-loop control, and thus the subsequent temperature control is not accurate enough.
[0253] Therefore, before calculating the conduction power ratio by using the target air outlet temperature, the target air outlet temperature needs to be calibrated.
[0254] Specifically, as shown in Figure 6B which is a flowchart of a target air outlet temperature calibration method provided in the embodiments of the present application. Specifically, it can include the following steps:
[0255] S110: When the hair care device operates in a preset state, the first temperature value of the first thermistor and the second temperature value of the second thermistor of the hair care device are obtained, the first thermistor is used to detect the air outlet temperature of the air outlet, and the second thermistor is used to measure the ambient temperature of the hair care device.
[0256] It should be noted that the hair care device can include a heating wire and a motor, when the hair care device is running, the motor rotates to make the airflow flow from the air inlet, pass through the heating assembly to the air outlet, and finally flow out of the air outlet, so as to realize the drying or styling of the hair.
[0257] In an embodiment of the present application, the preset state can include a preset motor power and a preset heating power, and the running of the hair care device in the preset state refers to that the motor runs at the preset motor power for a predetermined time and the heating wire heats at the preset heating power for a predetermined time, and a fixed air volume can be provided when running at the preset motor power. Preferably, the preset motor power and the preset heating power are respectively the motor power and the heating power corresponding to the highest running gear of the hair care device. Feasibly, before leaving the factory, the hair care device can run in the preset state and perform air temperature calibration.
[0258] In another embodiment of the present application, the preset state can correspond to a target running gear of the hair care device after starting or gear shifting, that is, when starting or gear shifting is detected, the hair care device runs the target running gear according to the target motor power and the target heating power corresponding to the target running gear corresponding to the starting or gear shifting. The target running gear can be the default running gear after starting, or any working running gear after the user adjusts the gear. Feasibly, after leaving the factory, the hair care device can run in the preset state and perform air temperature calibration when actually used by the user. This method can cope with the situation of device aging, update the calibrated values as the performance of the device changes, and provide long-term good user experience.
[0259] Further, in the above embodiment, the first temperature value of the first thermistor and the second temperature value of the second thermistor can be obtained when it is determined that the hair care device meets the preset running condition. The preset running condition can be a preset running time, that is, after the preset running time, it can be considered that the air temperature of the air outlet of the hair care device is in a relatively stable state; the preset running condition can also be that the change amount of the first temperature value does not exceed a preset value, that is, when the change amount changes within the preset value range, it can be understood that the fluctuation is small, and it can be considered that the air temperature of the air outlet is in a relatively stable state.
[0260] In an embodiment of the present application, the first thermistor and the second thermistor are both arranged on the hair care device, wherein the first thermistor is located at the air outlet of the hair care device, and the first thermistor is used to detect the outlet air temperature of the air outlet. Preferably, the second thermistor can be located away from the air outlet of the hair care device and the heating wire.
[0261] In an embodiment of the present application, the hair care device can self-calibrate the outlet air temperature value in the preset state without relying on external calibration equipment.
[0262] S130: determining the outlet temperature calibration value in the preset state according to the first temperature value and the second temperature value.
[0263] In the embodiments of the present application, considering the structural properties of the whole machine, the uncertainty of the production line assembly, even in the same test environment, there are differences in the temperature detected by the thermistors of different whole machines of the same model. If the same temperature detected by the thermistor is used as the calibration value, it cannot be guaranteed that the air outlet temperature of different whole machines of the same model is the same in the same state. Therefore, in the embodiments of the present application, the first temperature value is not directly used as the calibration value, but the second temperature value is used to compensate or correct the first temperature value, which can avoid the problem of large difference in the detection of thermistors of different whole machines of the same model, and improve the accuracy of temperature calibration.
[0264] In an embodiment of the present application, the determination of the outlet temperature calibration value in the preset state according to the first temperature value and the second temperature value can include the following steps:
[0265] According to the preset compensation parameter and the second temperature value, a temperature compensation value is determined.
[0266] According to the first temperature value and the temperature compensation value, the outlet temperature calibration value in the preset state is obtained.
[0267] For example, the first temperature value is X, and the second temperature value is Y. The target temperature value Z obtained by compensating the outlet temperature detected by the first thermistor (i.e. the first temperature value) using the ambient temperature can be shown in formula (1):
[0268] Z = X - a * Y, where a is a constant. (1)
[0269] Wherein, a is a preset compensation parameter, and the value of a can be determined according to historical experimental data.
[0270] Further, the outlet temperature calibration value in the preset state can be stored in the flash memory of the hair care device for adjusting and controlling the outlet temperature in actual use.
[0271] In the embodiments of the present application, the outlet temperature calibration value is obtained by compensating the outlet temperature value measured by the first thermistor using the ambient temperature, which can avoid the problem of large difference in the detection of thermistors of different whole machines of the same model, improve the accuracy of temperature calibration, and achieve the consistency of the air outlet temperature of different whole machines of the same model in the same state, thereby improving the accuracy and stability of the constant temperature control in the normal use mode. In addition, the embodiments of the present application can be self-calibrated by the hair care device without adding external calibration equipment, thereby improving the efficiency of temperature calibration.
[0272] S150: determining the target air outlet temperature corresponding to each operating gear of the hair care device according to the air outlet temperature calibration value in the preset state.
[0273] In the embodiments of the present application, the target air outlet temperature corresponding to each operating gear of the hair care device can be determined according to the air outlet temperature calibration value in the preset state.
[0274] It can be understood that the above-mentioned preset state can correspond to one of the operating gears, or a type of operating mode other than the operating gears in which the hair care device can work, and the present application does not limit this.
[0275] Specifically, the preset proportional coefficient corresponding to the operating gear and the air outlet temperature calibration value can be multiplied to obtain the target air outlet temperature corresponding to the operating gear. The target air outlet temperature S can be as shown in formula (2):
[0276] S = b * Z (2)
[0277] Wherein b is the proportional coefficient, and Z is the air outlet temperature calibration value in the preset state.
[0278] Wherein, the proportional coefficient corresponding to the operating gear can be determined according to the preset correspondence table between the preset state and each operating gear. Feasibly, the proportional coefficient can be determined according to the corresponding proportion between the power set by the preset state and the power corresponding to each operating gear.
[0279] Further, after completing the air temperature calibration, the target air outlet temperature can also be stored in the preset storage space of the hair care device, such as the fixed address unit of the flash memory, so that the hair care device can perform closed-loop control on the air outlet temperature of the air outlet according to the target air outlet temperature when operating in the corresponding operating gear.
[0280] In another embodiment of the present application, the method can further comprise:
[0281] Before the hair care device operates in the preset state, entering the temperature calibration mode of the hair care device;
[0282] And after storing the target air outlet temperature corresponding to each operating gear, exiting the temperature calibration mode.
[0283] In a feasible embodiment, before the device is shipped, the hair care device is started and enters the temperature calibration mode, so that the hair care device can operate in the preset state, and exits the temperature calibration mode after completing the calibration. Further, after exiting the temperature calibration mode, the temperature calibration mode can also be disabled.
[0284] This application also provides a control device for a hair care device, such as... Figure 8 As shown, this is a schematic diagram of the structure of a control device for a hair care device provided in an embodiment of this application; specifically, the hair care device includes a body, an air inlet and an air outlet disposed on the body, a first heating unit and a second heating unit disposed within the body for generating heat, and a temperature detection unit for detecting the actual air outlet temperature. The device includes:
[0285] The first acquisition module 810 is used to determine the current conduction power ratio based on the target outlet air temperature and the actual outlet air temperature;
[0286] The first determining module 820 is used to determine the current half-wave conduction number corresponding to the current conduction power ratio based on the current conduction power ratio and the preset number; the preset number is the number of all AC waves corresponding to the two heating units in a single cycle;
[0287] The second determining module 830 is used to determine the current conduction strategy based on the current half-wave conduction count and the preset count;
[0288] The first control module 840 is configured to perform half-wave conduction processing according to the current conduction strategy, so that the first heating unit and the second heating unit operate at the conduction power corresponding to the current conduction power ratio.
[0289] In this embodiment of the application, the first acquisition module 810 includes:
[0290] The first determining unit is used to determine the temperature difference between the target outlet air temperature and the actual outlet air temperature;
[0291] The first processing unit is used to call a preset proportional-integral-derivative control algorithm to calculate the temperature difference and obtain the current conduction power ratio.
[0292] In this embodiment, the current conduction strategy includes a half-wave allocation rule and a half-wave conduction rule; the first heating unit includes a first signal subunit for signal conduction, and the second heating unit includes a second signal subunit for signal conduction; the second determining module 830 includes:
[0293] The second determining unit is used to determine the target half-wave allocation rule from the preset half-wave allocation rules based on the current half-wave conduction number and the preset number.
[0294] The second processing unit is used to perform half-wave allocation processing on the current half-wave conduction number based on the target half-wave allocation rule, so as to obtain the first conduction half-wave number allocated to the first heating unit and the second conduction half-wave number allocated to the second heating unit.
[0295] The third determining unit is configured to determine a first half-wave conduction rule associated with the first conduction half-wave number and a second half-wave conduction rule associated with the second conduction half-wave number, so that conduction half-waves in a same period are dispersedly output to the first heating unit and the second heating unit.
[0296] In the embodiment of the present application, the second processing unit comprises:
[0297] The first determining subunit is configured to determine whether the current half-wave conduction number is less than or equal to the preset number.
[0298] The first determining subunit is configured to determine whether the current half-wave conduction number is less than or equal to the preset number.
[0299] In the embodiment of the present application, the second processing unit further comprises:
[0300] The second determining subunit is configured to determine the preset number or half of the preset number as the first conduction half-wave number and determine the number difference between the current half-wave conduction number and the first conduction half-wave number as the second conduction half-wave number if the current half-wave conduction number is greater than the preset number.
[0301] In the embodiment of the present application, the third determining unit comprises:
[0302] The first processing subunit is configured to compare the first conduction half-wave number and the second conduction half-wave number with the preset number respectively to obtain a first comparison result and a second comparison result.
[0303] The third determining subunit is configured to determine the first half-wave conduction rule associated with the first conduction half-wave number and the second half-wave conduction rule associated with the second conduction half-wave number from the preset half-wave conduction rules according to the first comparison result and the second comparison result.
[0304] In the embodiment of the present application, the first control module 840 comprises:
[0305] The first control unit is configured to make all or part of the positive half-wave or the negative half-wave of the alternating wave corresponding to the first heating unit conductive if the first comparison result is that the first conduction half-wave number is less than or equal to half of the preset number.
[0306] The second control unit is configured to make all of the negative half-wave and all or part of the positive half-wave of the alternating wave corresponding to the first heating unit conductive if the first comparison result is that the first conduction half-wave number is greater than half of the preset number.
[0307] In the embodiment of the present application, the first control unit or the second control unit comprises:
[0308] a second determining subunit configured to determine whether the first number of conducting half-waves is less than or equal to a first preset proportion of a preset number;
[0309] a second processing subunit configured to, if the first number of conducting half-waves is less than or equal to the first preset proportion of the preset number, divide the preset number by the first number of conducting half-waves to obtain a corresponding quotient and remainder, wherein the preset number, the first number of conducting half-waves, the quotient and the remainder are all natural numbers;
[0310] a third processing subunit configured to, based on the first number of conducting half-waves, the preset number, the quotient and the remainder, conduct the first heating unit in half-waves, so that a positive half-wave or a negative half-wave of an alternating current wave corresponding to the first heating unit is partially conducted.
[0311] In the embodiments of the present application, the first control unit or the second control unit further comprises:
[0312] a fourth processing subunit configured to, if the first number of conducting half-waves is greater than the first preset proportion of the preset number, conduct the first heating unit in half-waves according to the first number of conducting half-waves and the preset number, so that a positive half-wave or a negative half-wave of an alternating current wave corresponding to the first heating unit is totally or partially conducted.
[0313] In the embodiments of the present application, the first control module 840 further comprises:
[0314] a third control unit configured to, if the second comparison result is that the second number of conducting half-waves is less than or equal to half of the preset number, totally conduct or not conduct a positive half-wave or a negative half-wave of an alternating current wave corresponding to the second heating unit;
[0315] a fourth control unit configured to, if the second comparison result is that the second number of conducting half-waves is greater than half of the preset number, totally conduct a positive half-wave and a negative half-wave of an alternating current wave corresponding to the second heating unit.
[0316] In the embodiments of the present application, further comprising:
[0317] a second acquisition module configured to acquire a target conducting power ratio of a next period by calling a preset proportional-integral-derivative control algorithm;
[0318] a first processing module configured to perform a difference processing on a current conducting power ratio and the target conducting power ratio to obtain a first power ratio difference;
[0319] a third acquisition module configured to, if the first power ratio difference is less than or equal to a preset threshold, acquire a target number of half-wave conduction corresponding to the target conducting power ratio;
[0320] a third determining module configured to determine a target conducting strategy according to the target number of half-wave conduction, the preset number and a current conducting strategy;
[0321] The second control module is configured to perform half-wave conduction processing on the first heating unit and the second heating unit according to the target conduction strategy, so that the first heating unit and the second heating unit operate at the corresponding conduction power of the target conduction power ratio.
[0322] In the embodiments of the present application, the method further comprises:
[0323] The fourth determination module is configured to, if the first power ratio difference is greater than the preset threshold, add the current conduction power ratio and a second preset proportion of the preset threshold to determine a first conduction power ratio, so that the first heating unit and the second heating unit operate at the corresponding conduction power of the first conduction power ratio.
[0324] The judgment module is configured to judge whether a second power ratio difference between the first conduction power ratio and the target conduction power ratio is less than or equal to a preset threshold.
[0325] The third control module is configured to, if the second power ratio difference is less than or equal to the preset threshold, make the first heating unit and the second heating unit operate at the corresponding conduction power of the target conduction power ratio.
[0326] In the embodiments of the present application, the method further comprises:
[0327] The fifth determination module is configured to, if the second power ratio difference is greater than the preset threshold, add the first conduction power ratio and a second preset proportion of the preset threshold to determine a second conduction power ratio, so that the first heating unit and the second heating unit operate at the corresponding conduction power of the second conduction power ratio.
[0328] The fourth control module is configured to, until a target difference between the second conduction power ratio and the target conduction power ratio is less than or equal to the preset threshold, perform the step of controlling the corresponding alternating wave of the next period to perform half-wave conduction processing according to the target conduction strategy, so that the first heating unit and the second heating unit operate at the corresponding conduction power of the target conduction power ratio.
[0329] In the embodiments of the present application, the method further comprises:
[0330] The fourth acquisition module is configured to, when the hair care device operates in a preset state, acquire a first temperature value of a first thermistor and a second temperature value of a second thermistor of the hair care device, the first thermistor being configured to detect an outlet air temperature of an air outlet, and the second thermistor being configured to measure an ambient temperature of the hair care device.
[0331] The sixth determination module is configured to determine an outlet air temperature calibration value in the preset state according to the first temperature value and the second temperature value.
[0332] The seventh determination module is configured to determine the target outlet air temperature corresponding to each operating gear of the hair care device according to the outlet air temperature calibration value.
[0333] In the embodiment of the present application, the seventh determining module comprises:
[0334] multiplying the preset proportional coefficient corresponding to the running gear and the outlet temperature calibration value to obtain the target outlet temperature corresponding to the running gear.
[0335] In the embodiment of the present application, the sixth determining module comprises:
[0336] The fourth determining unit is configured to determine a temperature compensation value according to a preset compensation parameter and the second temperature value.
[0337] The calculating unit is configured to obtain the outlet temperature calibration value in the preset state according to the first temperature value and the temperature compensation value.
[0338] It should be noted that the device in the device embodiment and the method embodiment are based on the same inventive concept.
[0339] The embodiment of the present application provides a control device of a hair care device, which comprises a processor and a memory, and the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to realize the control method of the hair care device as described in the above method embodiment.
[0340] Further, Figure 9 A hardware structure schematic diagram of an electronic device for implementing the control method of the hair care device provided in the embodiment of the present application is shown, and the electronic device can participate in constituting or containing the control device of the hair care device provided in the embodiment of the present application. As shown in the figure, Figure 9 The electronic device 90 can include one or more (in the figure, 902a, 902b, …, 902n are used to show) processors 902 (the processor 902 can include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 904 for storing data, and a transmission device 906 for communication function. In addition, it can also include a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which can be included as one of the ports of the I / O interface), a network interface, a power supply and / or a camera. Those skilled in the art can understand that Figure 9 The structure shown in the figure is only schematic, which does not limit the structure of the above-mentioned electronic device. For example, the electronic device 90 can also include more or less components than Figure 9 shown in the figure, or have a different configuration from Figure 9 shown in the figure.
[0341] It should be noted that the one or more processors 902 and / or other data processing circuitry described above can be referred to herein generally as "data processing circuitry". The data processing circuitry can be embodied in whole or in part as software, hardware, firmware, or any combination thereof. In addition, the data processing circuitry can be a single standalone processing module, or incorporated in whole or in part within any one of the other elements of the electronic device 90 (or mobile device). As referred to in the embodiments of the present application, the data processing circuitry serves as a processor to control, for example, the selection of the variable resistance terminal path connected to the interface.
[0342] The memory 904 can be used to store software programs and modules of application software, and program instructions / data storage means corresponding to the control method of the hair care device as described in the embodiments of the present application. The processor 902 executes various functional applications and data processing by running the software programs and modules stored in the memory 904, i.e. implements the control method of the hair care device as described above. The memory 904 can include a high-speed random access memory, and can further include a non-volatile memory such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 904 can further include a memory disposed remotely with respect to the processor 902, which can be connected to the electronic device 90 through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0343] The transmission device 906 is configured to receive or send data via a network. Examples of the network include, but are not limited to, a wireless network provided by a communication provider of the electronic device 90. In one example, the transmission device 906 includes a network interface controller (NIC) which can be connected to other network devices through a base station to communicate with the Internet. In one embodiment, the transmission device 906 can be a radio frequency (RF) module configured to communicate with the Internet in a wireless manner.
[0344] The display can be, for example, a touch screen type liquid crystal display (LCD) which enables a user to interact with the user interface of the electronic device 90 (or mobile device).
[0345] The embodiments of the present application also provide a computer readable storage medium which can be disposed in the electronic device to store at least one instruction or at least one program for implementing the control method of the hair care device in the method embodiments, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the control method of the hair care device provided by the method embodiments.
[0346] Optionally, in the embodiment, the storage medium can be located in at least one of the plurality of network servers of the computer network. Optionally, in the embodiment, the storage medium can include, but is not limited to, a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media capable of storing program codes.
[0347] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of the present application are described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve the desired result. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired result. In some embodiments, multi-task processing and parallel processing are possible or can be advantageous.
[0348] According to an aspect of the present application, a computer program product or computer program is provided, which includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in the various optional implementations described above.
[0349] Each of the embodiments in the present application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the difference from other embodiments. Especially, the device and electronic equipment embodiments are described simply because they are basically similar to the method embodiments, and the relevant parts can be referred to the part of the method embodiments.
[0350] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or by program instructing relevant hardware to complete, and the program can be stored in a computer readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0351] The above-mentioned is only the preferred embodiment of the present application, and does not limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A control method of a hair care device, characterized by, The hair care device comprises a body, an air inlet and an air outlet arranged on the body, a first heating unit and a second heating unit arranged in the body for heating, and a temperature detection unit for detecting an actual air outlet temperature of the air outlet, and the method comprises: According to the target air outlet temperature and the actual air outlet temperature, a current conduction power ratio is determined, the conduction power ratio being a ratio of a number of half waves of the first heating unit and the second heating unit that are turned on to a total number of half waves of a preset number of alternating waves; Based on the current conduction power ratio and the preset number, a current number of half wave conduction corresponding to the current conduction power ratio is determined; the preset number being a number of all alternating waves corresponding to the two heating units in a single period; According to the current number of half wave conduction and the preset number, a current conduction strategy is determined; The current conduction strategy is used for half wave conduction processing, so that the first heating unit and the second heating unit operate at a conduction power corresponding to the current conduction power ratio.
2. The control method of the hair care apparatus according to claim 1, wherein The current conduction strategy comprises a half wave distribution rule and a half wave conduction rule; and the current conduction strategy is determined according to the current number of half wave conduction and the preset number, which comprises: According to the current number of half wave conduction and the preset number, the target half wave distribution rule is determined from the preset half wave distribution rule; Based on the target half wave distribution rule, the current number of half wave conduction is subjected to half wave distribution processing to obtain a first number of conduction half waves distributed to the first heating unit and a second number of conduction half waves distributed to the second heating unit; 3. The control method of the hair care apparatus according to claim 1, wherein First and second half wave conduction rules associated with the first and second numbers of conduction half waves are determined, so that conduction half waves in the same period are dispersed and output to the first and second heating units. The current number of half wave conduction is determined according to the target air outlet temperature and the actual air outlet temperature, which comprises: A temperature difference between the target air outlet temperature and the actual air outlet temperature is determined; A preset proportional-integral-derivative control algorithm is called to calculate and process the temperature difference to obtain the current conduction power ratio.
4. The control method of the hair care apparatus according to claim 3, characterized by, The current conduction strategy comprises a half wave distribution rule and a half wave conduction rule; and the current conduction strategy is determined according to the current number of half wave conduction and the preset number, which comprises: According to the current number of half wave conduction and the preset number, the target half wave distribution rule is determined from the preset half wave distribution rule; Based on the target half wave distribution rule, the current number of half wave conduction is subjected to half wave distribution processing to obtain a first number of conduction half waves distributed to the first heating unit and a second number of conduction half waves distributed to the second heating unit; 5. The control method of the hair care apparatus according to claim 4, characterized by, First and second half wave conduction rules associated with the first and second numbers of conduction half waves are determined, so that conduction half waves in the same period are dispersed and output to the first and second heating units. The current number of half wave conduction is determined according to the target air outlet temperature and the actual air outlet temperature, which comprises: It is judged whether the current number of half wave conduction is less than or equal to the preset number; If the current number of half wave conduction is less than or equal to the preset number, the current number of half wave conduction or half of the preset number is determined as the first number of conduction half waves, and a number difference between the current number of half wave conduction and the first number of conduction half waves is determined as the second number of conduction half waves. After the judgment of whether the current number of half wave conduction is less than or equal to the preset number, the method further comprises: If the current number of half wave conduction is greater than the preset number, the preset number or half of the preset number is determined as the first number of conduction half waves, and a number difference between the current number of half wave conduction and the first number of conduction half waves is determined as the second number of conduction half waves.
6. The control method of the hair care apparatus according to claim 3, wherein The determining the first half-wave conduction rule associated with the first conduction half-wave number and the second half-wave conduction rule associated with the second conduction half-wave number comprises: The first conduction half-wave number and the second conduction half-wave number are compared with the preset number respectively to obtain a first comparison result and a second comparison result; According to the first comparison result and the second comparison result, the first half-wave conduction rule associated with the first conduction half-wave number and the second half-wave conduction rule associated with the second conduction half-wave number are determined from the preset half-wave conduction rules.
7. The control method of a hair care apparatus according to claim 6, wherein The half-wave conduction processing in the current conduction strategy comprises: In the case that the first comparison result is that the first conduction half-wave number is less than or equal to half of the preset number, the positive half-wave or the negative half-wave of the alternating current wave corresponding to the first heating unit is made to be all or partially conductive; In the case that the first comparison result is that the first conduction half-wave number is greater than half of the preset number, the negative half-wave of the alternating current wave corresponding to the first heating unit is made to be all conductive, and the positive half-wave is made to be all or partially conductive.
8. The control method of the hair care apparatus according to claim 6, characterized by, The half-wave conduction of the alternating current wave corresponding to the first heating unit comprises: It is judged whether the first conduction half-wave number is less than or equal to a first preset proportion of the preset number; If the first conduction half-wave number is less than or equal to the first preset proportion of the preset number, the preset number is divided by the first conduction half-wave number to obtain a corresponding quotient and a remainder, wherein the preset number, the first conduction half-wave number, the quotient and the remainder are all natural numbers; Based on the first conduction half-wave number, the preset number, the quotient and the remainder, the first heating unit is half-wave conductive, so that the positive half-wave or the negative half-wave of the alternating current wave corresponding to the first heating unit is partially conductive.
9. The control method of a hair care apparatus according to claim 8, characterized by, After the judgment of whether the first conduction half-wave number is less than or equal to the first preset proportion of the preset number, the method further comprises: If the first conduction half-wave number is greater than the first preset proportion of the preset number, the first heating unit is half-wave conductive according to the first conduction half-wave number and the preset number, so that the positive half-wave or the negative half-wave of the alternating current wave corresponding to the first heating unit is all or partially conductive.
10. The control method of the hair care apparatus according to claim 9, characterized by, The half-wave conduction processing in the current conduction strategy further comprises: In the case that the second comparison result is that the second conduction half-wave number is less than or equal to half of the preset number, the positive half-wave or the negative half-wave of the alternating current wave corresponding to the second heating unit is made to be all conductive or non-conductive; In the case that the second comparison result is that the second conduction half-wave number is greater than half of the preset number, the positive half-wave and the negative half-wave of the alternating current wave corresponding to the second heating unit are made to be all conductive.
11. The control method of the hair care apparatus according to claim 1, wherein, After the half-wave conduction processing in the current conduction strategy so that the first heating unit and the second heating unit operate at the current conduction power ratio corresponding to the conduction power, the method further comprises: A preset proportional-integral-derivative control algorithm is called to obtain a target conduction power ratio of the next period; The current conduction power ratio is subtracted from the target conduction power ratio to obtain a first power ratio difference; If the first power ratio difference is less than or equal to the preset threshold, a target half-wave conduction number corresponding to the target conduction power ratio is obtained. A target conduction strategy is determined according to the target half-wave conduction number, the preset number, and the current conduction strategy. The first heating unit and the second heating unit are operated at a conduction power corresponding to the target conduction power ratio in a half-wave conduction process in the target conduction strategy.
12. The control method of the hair care apparatus according to claim 11, wherein, The method further comprises: If the first power ratio difference is greater than the preset threshold, a first conduction power ratio is determined by adding the current conduction power ratio and a second preset proportion of the preset threshold, so that the first heating unit and the second heating unit are operated at a conduction power corresponding to the first conduction power ratio. It is judged whether a second power ratio difference between the first conduction power ratio and a target conduction power ratio is less than or equal to a preset threshold. If the second power ratio difference is less than or equal to the preset threshold, the first heating unit and the second heating unit are operated at a conduction power corresponding to the target conduction power ratio.
13. The control method of a hair care apparatus according to claim 12, characterized by, After the step of judging whether the second power ratio difference is less than or equal to the preset threshold, the method further comprises: If the second power ratio difference is greater than the preset threshold, a second conduction power ratio is determined by adding the first conduction power ratio and a second preset proportion of the preset threshold, so that the first heating unit and the second heating unit are operated at a conduction power corresponding to the second conduction power ratio. Until a target difference value between the second conduction power ratio and the target conduction power ratio is less than or equal to the preset threshold, and the step of controlling the next period of alternating current wave to be processed in the half-wave conduction process in the target conduction strategy is performed, so that the first heating unit and the second heating unit are operated at a conduction power corresponding to the target conduction power ratio.
14. The control method of the hair care apparatus according to claim 1, wherein, Before the step of determining the current conduction power ratio according to the target air outlet temperature and the actual air outlet temperature, the method further comprises: When the hair care device is operated in a preset state, a first temperature value of a first thermistor and a second temperature value of a second thermistor of the hair care device are obtained, the first thermistor is used to detect the air outlet temperature of an air outlet, and the second thermistor is used to measure the ambient temperature of the hair care device; According to the first temperature value and the second temperature value, a temperature calibration value of the air outlet in the preset state is determined. According to the temperature calibration value of the air outlet, the target air outlet temperature corresponding to each operating gear of the hair care device is determined.
15. The control method of a hair care apparatus according to claim 14, wherein The step of determining the target air outlet temperature corresponding to each operating gear of the hair care device according to the temperature calibration value of the air outlet comprises: A preset proportion coefficient corresponding to the operating gear and the temperature calibration value of the air outlet are multiplied to obtain the target air outlet temperature corresponding to the operating gear.
16. The control method of a hair care apparatus according to claim 15, wherein The step of determining the temperature calibration value of the air outlet in the preset state according to the first temperature value and the second temperature value comprises: According to a preset compensation parameter and the second temperature value, a temperature compensation value is determined. According to the first temperature value and the temperature compensation value, an outlet temperature calibration value in the preset state is obtained.
17. A control device for a hair care appliance, characterized in that The hair care device includes a body, an air inlet and an air outlet arranged on the body, a first heating unit and a second heating unit arranged in the body for heating, and a temperature detection unit for detecting an actual air outlet temperature of the air outlet, and the device includes: The first obtaining module is configured to determine a current conduction power ratio according to the target air outlet temperature and the actual air outlet temperature, the conduction power ratio being a ratio of a number of half waves of a half wave that is conducted in the first heating unit and the second heating unit to a total number of half waves of a preset number of alternating waves; The first determining module is configured to determine a current number of half wave conduction corresponding to the current conduction power ratio based on the current conduction power ratio and the preset number, the preset number being a number of all alternating waves corresponding to the two heating units in a single period; The second determining module is configured to determine a current conduction strategy according to the current number of half wave conduction and the preset number; The first control module is configured to perform half wave conduction processing in the current conduction strategy, so that the first heating unit and the second heating unit operate at a conduction power corresponding to the current conduction power ratio.
18. A control device for a hair care appliance, characterized in that The device includes a processor and a memory, and the memory stores at least one instruction or at least one program, which is loaded and executed by the processor to implement the control method of the hair care device according to any one of claims 1 to 16.
19. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction or at least one program, which is loaded and executed by the processor to implement the control method of the hair care device according to any one of claims 1 to 16.
Citation Information
Patent Citations
Control method for electromagnetic induction heating power control device
CN112512150A
Method and system for controlling rotating speed of direct-current brush motor, storage medium and blower
CN112994543A