Disclosure of Invention
The application aims to overcome the defect that the hysteresis of skin temperature detection in the prior art cannot timely adjust the radio frequency output power, and provides a control method, a storage medium and electronic equipment for the radio frequency output power of a beauty instrument, which can timely reflect the skin temperature and adjust the radio frequency output power.
The technical scheme of the application provides a radio frequency power control method of a beauty instrument, which comprises the following steps of
Acquiring the radio frequency power of the current period and the skin impedance value of the previous period;
determining the skin impedance value of the current period according to the radio frequency power of the current period;
determining an impedance variation according to the previous period skin impedance value and the current period skin impedance value;
and adjusting the radio frequency output power according to the impedance variation.
Further, the determining the skin impedance value of the current period according to the radio frequency power of the current period specifically includes:
and inputting the radio frequency power of the current period into a power-skin impedance calibration table, and looking up a table to output a skin impedance value of the current period corresponding to the radio frequency power of the current period.
Further, the adjusting the radio frequency output power according to the impedance variation specifically includes:
if the impedance variation is greater than or equal to a first variation threshold, closing the radio frequency output;
if the impedance variation is smaller than or equal to a second variation threshold, the second variation threshold is smaller than the first variation threshold, and the radio frequency output power is increased;
and if the impedance variation is smaller than the first variation threshold and larger than the second variation threshold, reducing the radio frequency output power.
Further, the increasing the radio frequency output power specifically includes:
determining a power increase ratio according to the impedance variation;
determining a power increment according to the power increment proportion and a preset maximum power;
taking the sum of the current period radio frequency power and the power increment as a target radio frequency output power;
if the target radio frequency output power is smaller than the preset maximum power, adjusting the radio frequency output power according to the target radio frequency output power, otherwise
And adjusting the radio frequency output power according to the preset maximum power.
Further, the determining the power increasing proportion according to the impedance variation specifically includes:
calculating a variation difference value according to a preset variation and the impedance variation:
ΔR=R-R 1
wherein R is a preset variation, R 1 Is the impedance variation;
calculating a power increase ratio according to the variation difference value:
P + =a+bΔR
wherein a and b are coefficients, and ΔR is a variation difference.
Further, the reducing the radio frequency output power specifically includes:
determining a power reduction ratio according to the impedance variation;
determining a power reduction amount according to the power reduction proportion and a preset maximum power;
taking the difference between the current period radio frequency power and the power reduction amount as a target radio frequency output power;
if the target radio frequency output power is larger than the preset minimum power, adjusting the radio frequency output power according to the target radio frequency output power, otherwise
And adjusting the radio frequency output power according to the preset minimum power.
Further, the determining the power reduction ratio according to the impedance variation specifically includes:
calculating a variation difference value according to a preset variation and the impedance variation:
ΔR=R-R 1
wherein R is a preset variation, R 1 Is the impedance variation;
calculating a power reduction ratio according to the variation difference value:
P - =c+dΔR
wherein a and b are coefficients, and ΔR is a variation difference.
Further, the radio frequency current is driven by the PWM signal, and the radio frequency current is periodically and intermittently output;
the method for adjusting the radio frequency output power comprises the following steps of
Adjusting the output period of the radio frequency current, and/or
Regulating the output voltage of a power supply, and/or
Adjusting the frequency of PWM signals, and/or
The duty cycle of the PWM signal is adjusted.
Further, the radio frequency current is driven by the PWM signal, and the radio frequency current is periodically and intermittently output;
the method for adjusting the radio frequency output power comprises the following steps of
Adjusting the radio frequency output power by adjusting the output period of the radio frequency current;
if the output period of the radio frequency current does not meet the period adjustment condition and the radio frequency output power does not reach the target radio frequency output power, adjusting the output voltage of the power supply;
if the output voltage of the power supply does not meet the voltage adjustment condition and the radio frequency output power does not reach the target radio frequency output power, adjusting the frequency of the PWM signal;
and if the frequency of the PWM signal does not meet the frequency adjustment condition and the radio frequency output power does not reach the target radio frequency output power, adjusting the duty ratio of the PWM signal.
The technical scheme of the application also provides a storage medium which stores computer instructions and is used for executing the control method of the radio frequency output power of the beauty instrument when the computer executes the computer instructions.
The technical scheme of the application also provides electronic equipment, which comprises at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of controlling the radio frequency output power of a cosmetic device as previously described.
After the technical scheme is adopted, the method has the following beneficial effects:
the application adjusts the radio frequency output power according to the impedance variation of the current period and the previous period because the temperature variation of the skin of the human body can cause the variation of the skin impedance value, and can prevent scalding caused by too fast temperature rise because the impedance variation can reflect the variation rate of the skin temperature, and the detection of the skin impedance has no hysteresis, thereby adjusting the radio frequency output power in time and improving the safety.
Detailed Description
Specific embodiments of the present application will be further described below with reference to the accompanying drawings.
It is to be readily understood that, according to the technical solutions of the present application, those skilled in the art may replace various structural modes and implementation modes with each other without changing the true spirit of the present application. Accordingly, the following detailed description and drawings are merely illustrative of the application and are not intended to limit or restrict the application in its entirety or to apply for the application.
Terms of orientation such as up, down, left, right, front, rear, front, back, top, bottom, etc. mentioned or possible to be mentioned in the present specification are defined with respect to the configurations shown in the drawings, which are relative concepts, and thus may be changed according to different positions and different use states thereof. These and other directional terms should not be construed as limiting terms. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between the two components. The above-described specific meanings belonging to the present application are understood as appropriate by those of ordinary skill in the art.
The radio frequency power control method of the beauty instrument in the embodiment of the application, as shown in fig. 1, comprises the following steps of S101: acquiring the radio frequency power of the current period and the skin impedance value of the previous period;
step S102: determining the skin impedance value of the current period according to the radio frequency power of the current period;
step S103: determining an impedance variation according to the previous period skin impedance value and the current period skin impedance value;
step S104: and adjusting the radio frequency output power according to the impedance variation.
In response to the start-up instruction of the radio frequency beauty apparatus, the radio frequency power actually output is periodically obtained, and 0.1-0.5S can be set as a period, and each period executes the steps S101-S104.
Specifically, the current period rf power obtained in step S101 is actually output rf power, but not the output target power sent by the system, and may specifically be obtained by collecting and calculating the actually output rf current and voltage; step S102 is then executed to obtain the skin impedance value of the current period, for example, the skin impedance value of the current period can be calculated according to the output target power sent by the system and the acquired radio frequency power of the current period; the relation table of the radio frequency power and the skin impedance can be calibrated in advance, and the skin impedance value can be rapidly determined in a table look-up mode; step S103 is to subtract the skin impedance value of the current period from the skin impedance value of the previous period to calculate the impedance variation; finally, step S104 adjusts the rf output power according to the impedance variation, and the impedance of the skin tissue of the human body changes along with the change of the skin temperature, which is specifically shown by the rise of the skin temperature and the decrease of the skin impedance. The impedance change can reflect the temperature rise speed, if the impedance change is too large, the temperature rise speed is considered to be too high, the radio frequency output power is reduced, and if the impedance change is too small, the temperature rise speed is considered to be too low, and the radio frequency output power is increased.
According to the embodiment of the application, the skin impedance of the current period is obtained through the radio frequency power of the current period, the impedance variation is obtained, and the impedance variation can reflect the skin temperature rise speed, so that the radio frequency output power is adjusted according to the impedance variation, the skin temperature can be prevented from exceeding a preset range, the detection of the skin impedance has real-time performance, a more accurate response effect is achieved, the defect of response lag of a temperature sensor can be overcome, and the radio frequency output power can be adjusted in time.
In one embodiment, the determining the skin impedance value of the current period according to the radio frequency power of the current period specifically includes:
and inputting the radio frequency power of the current period into a power-skin impedance calibration table, and looking up a table to output a skin impedance value of the current period corresponding to the radio frequency power of the current period.
According to the embodiment of the application, the relation between the emergent frequency power and the skin impedance is calibrated in advance according to the related parameter data of the beauty instrument, a power-skin impedance calibration table is listed, the current periodic radio frequency power is input into the power-skin impedance calibration table when the current skin impedance value is determined, and the corresponding current skin impedance value is obtained by looking up the table.
The power-skin impedance calibration table is formulated by combining the related parameter data of the beauty instrument, so that the influence of the power, voltage and current parameters of the beauty instrument on the skin impedance detection value can be eliminated, and the accuracy of the power-skin impedance calibration table is improved; the table look-up mode is adopted, complicated data processing flow is not needed, the response can be fast, and the response speed of radio frequency power adjustment is improved.
In one embodiment, the adjusting the radio frequency output power according to the impedance variation specifically includes:
if the impedance variation is greater than or equal to a first variation threshold, closing the radio frequency output;
if the impedance variation is smaller than or equal to a second variation threshold, the second variation threshold is smaller than the first variation threshold, and the radio frequency output power is increased;
and if the impedance variation is smaller than the first variation threshold and larger than the second variation threshold, reducing the radio frequency output power.
Specifically, the first variation threshold is greater than or equal to the second variation threshold, when the impedance variation is greater than or equal to the first variation threshold, it indicates that the temperature variation speed of the skin exceeds the threshold, and if the radio frequency power is continuously output, scald or other adverse effects may be caused, so that the radio frequency output needs to be immediately turned off, and in this embodiment, the first variation threshold is set to 2 ohms;
when the impedance variation is smaller than or equal to the second variation threshold, the temperature variation speed of the skin is slow, and the temperature rise speed of the skin needs to be improved by improving the radio frequency output power, so that the problem that the temperature cannot be maintained at a temperature capable of generating physiological effects and the effects are affected due to the fact that the radio frequency power is too small in the hysteresis period of the temperature sensor, namely the temperature rise speed of the skin is too slow, and the temperature rise speed cannot reach the heat dissipation speed due to skin blood, sweat glands and the like is avoided.
When the impedance change amount is between the first change amount threshold value and the second change amount threshold value, the temperature change speed of the skin is faster in a safety range, the temperature rise speed of the skin needs to be reduced by reducing the radio frequency output power, and the phenomenon that the radio frequency power is too high in the lagging period, namely the temperature rise speed of the skin is too fast, and scalding or other adverse effects are generated in the lagging period due to the lagging of the temperature sensor is prevented.
According to the embodiment of the application, the impedance variation is judged to be in different ranges, and the radio frequency output power is correspondingly adjusted, so that the temperature rising speed of the skin is maintained in a certain range, and the skin temperature is prevented from being too high or too low due to too high or too low skin temperature rising during the hysteresis period of the temperature sensor.
In one embodiment, the increasing the rf output power specifically includes:
determining a power increase ratio according to the impedance variation;
determining a power increment according to the power increment proportion and a preset maximum power;
taking the sum of the current period radio frequency power and the power increment as a target radio frequency output power;
if the target radio frequency output power is smaller than the preset maximum power, adjusting the radio frequency output power according to the target radio frequency output power, otherwise
And adjusting the radio frequency output power according to the preset maximum power.
According to the embodiment of the application, the power increasing proportion is determined according to the impedance variation, the power increasing quantity is obtained by multiplying the power increasing proportion by the preset maximum power, and the target radio frequency output power is obtained by adding the power increasing quantity on the basis of the radio frequency power in the current period. Before adjusting the radio frequency output power, judging whether the target radio frequency output power exceeds the preset maximum power, and if so, adjusting the radio frequency output power to the preset maximum power to prevent the radio frequency output power from being higher than the preset maximum power and causing overhigh temperature.
Specifically, the determining the power increasing proportion according to the impedance variation specifically includes:
calculating a variation difference value according to a preset variation and the impedance variation:
ΔR=R-R 1
wherein R is a preset variation, in this embodiment, a first variation threshold, namely 4 ohms, R 1 Is the impedance variation;
calculating a power increase ratio according to the variation difference value:
P + =a+bΔR
where a and b are coefficients, a is an increment for limiting the minimum power, b is a proportionality coefficient, Δr is a variation difference, in this embodiment, a is set to 2, and b is set to 4.
In one embodiment, the reducing the rf output power specifically includes:
determining a power reduction ratio according to the impedance variation;
determining a power reduction amount according to the power reduction proportion and a preset maximum power;
taking the difference between the current period radio frequency power and the power reduction amount as a target radio frequency output power;
if the target radio frequency output power is larger than the preset minimum power, adjusting the radio frequency output power according to the target radio frequency output power, otherwise
And adjusting the radio frequency output power according to the preset minimum power.
According to the embodiment of the application, the power reduction ratio is determined according to the impedance variation, the power reduction is obtained by multiplying the power reduction by the preset maximum power, and the target radio frequency output power is obtained by subtracting the power reduction on the basis of the radio frequency power in the current period. Before adjusting the radio frequency output power, judging whether the target radio frequency output power is smaller than a preset minimum power, wherein the preset minimum power is set to be 5% of a preset maximum power; if the power is smaller than the preset maximum power, the radio frequency output power is adjusted to the preset minimum power, so that the influence on the beautifying effect caused by the fact that the radio frequency output power is smaller than the preset minimum power is prevented.
Specifically, the determining the power reduction ratio according to the impedance variation specifically includes:
calculating a variation difference value according to a preset variation and the impedance variation:
ΔR=R-R 1
wherein R is a preset variation, in this embodiment, a first variation threshold, namely 4 ohms, R 1 Is the impedance variation;
calculating a power reduction ratio according to the variation difference value:
P - =c+dΔR
where c and d are coefficients, c is a reduction amount for defining the minimum power, d is a scaling factor, Δr is a variation difference, c is set to 3, and d is set to 5 in this embodiment.
In one embodiment, the radio frequency current is driven by a PWM signal, and the radio frequency current is periodically and intermittently output;
the method for adjusting the radio frequency output power comprises the following steps of
Adjusting the output period of the radio frequency current, and/or
Regulating the output voltage of a power supply, and/or
Adjusting the frequency of PWM signals, and/or
The duty cycle of the PWM signal is adjusted.
Specifically, the radio frequency output current of the beauty instrument is driven by the PWM signal, and the PWM signal is periodically and intermittently output, so that the radio frequency current is driven to be periodically and intermittently output, namely, the radio frequency current is output for a first time period, is stopped to be output for a second time period, and is output for the first time period, and is sequentially and circularly output.
In the embodiment of the application, at least one of the following four modes can be adopted for adjusting the radio frequency output power:
firstly, the output period of the radio frequency current is adjusted, the duration of a first time period of the radio frequency current output can be adjusted, the duration of a second time period of the radio frequency current stopping output can also be adjusted, or the duration of the first time period and the duration of the second time period are adjusted at the same time;
setting a DC-DC power supply of the radio frequency current as an adjustable power supply, and adjusting the radio frequency output power by adjusting the output voltage of the power supply;
thirdly, adjusting the frequency of a driving PWM signal of the radio frequency current to realize the adjustment of radio frequency output power;
fourth, the adjustment of the radio frequency output power is realized by adjusting the duty ratio of the driving PWM signal of the radio frequency current.
The embodiment of the application provides four adjustment modes of the radio frequency output power, one or more than two of the adjustment modes can be selected to realize the adjustment of the radio frequency output power, the adjustable range of the radio frequency output power is enlarged, and the effective execution of the radio frequency output power adjustment strategy based on skin impedance is ensured.
In one embodiment, the radio frequency current is driven by a PWM signal, and the radio frequency current is periodically and intermittently output;
the method for adjusting the radio frequency output power comprises the following steps of
Adjusting the radio frequency output power by adjusting the output period of the radio frequency current;
if the output period of the radio frequency current does not meet the period adjustment condition and the radio frequency output power does not reach the target radio frequency output power, adjusting the output voltage of the power supply;
if the output voltage of the power supply does not meet the voltage adjustment condition and the radio frequency output power does not reach the target radio frequency output power, adjusting the frequency of the PWM signal;
and if the frequency of the PWM signal does not meet the frequency adjustment condition and the radio frequency output power does not reach the target radio frequency output power, adjusting the duty ratio of the PWM signal.
The embodiment of the application sets the selection priority for the adjustment ranges of the four radio frequency output powers, and the selection priority is used for adjusting the output period of the radio frequency current, adjusting the output voltage of the power supply, adjusting the frequency of the PWM signal and adjusting the duty ratio of the PWM signal in sequence.
Specifically, the adjustment of the rf output power is preferably performed by adjusting the rf current output period, and if the rf current output period is adjusted to a value that does not meet the adjustment condition (e.g., the rf current output period is adjusted to a limit value of the period adjustable range), and the rf output power does not reach the target rf output power
Adjusting the output voltage of the power supply is selected to adjust the RF output power, if the output voltage of the power supply does not meet the voltage adjustment condition (e.g. the output voltage of the power supply has been adjusted to the limit value of the voltage adjustable range), and the RF output power does not reach the target RF output power
Optionally adjusting the frequency of the PWM signal to adjust the RF output power, if the frequency of the PWM signal does not meet the frequency adjustment condition (e.g., the frequency of the PWM signal has been adjusted to the limit value of the frequency adjustable range), and the RF output power does not reach the target RF output power
And the duty ratio of the PWM signal is adjusted to realize the adjustment of the radio frequency output power.
When the target radio frequency output power is in the normal range, the radio frequency output power can be necessarily adjusted to the target radio frequency output power through the four modes.
The embodiment of the application provides a specific adjustment mode of the radio frequency output power, which is sequentially selected according to the priority orders of the four adjustment modes, so as to avoid the conflict among a plurality of adjustment modes.
Fig. 2 is a flowchart of a method for controlling rf output power of a cosmetic device according to a preferred embodiment of the present application, which specifically includes:
step S201: acquiring the radio frequency power of the current period and the skin impedance value of the previous period;
step S202: inputting the current period radio frequency power into a power-skin impedance calibration table, and looking up a table to output a current period skin impedance value corresponding to the current period radio frequency power;
step S203: determining an impedance variation according to the previous period skin impedance value and the current period skin impedance value;
step S204: if the impedance variation is greater than or equal to the first variation threshold, executing step S205, otherwise executing step S206;
step S205: closing the radio frequency output;
step S206: if the impedance variation is less than or equal to the second variation threshold, executing step S207, otherwise executing step S213;
step S207: calculating a variation difference value according to a preset variation and the impedance variation, and calculating a power increase proportion according to the variation difference value;
step S208: determining a power increment according to the power increment proportion and a preset maximum power;
step S209: the sum of the current period radio frequency power and the power increment is taken as a target radio frequency output power;
step S210: if the target rf output power is smaller than the preset maximum power, step S211 is executed, otherwise step S212 is executed;
step S211: adjusting the radio frequency output power according to the preset maximum power;
step S212: adjusting the radio frequency output power according to the target radio frequency output power;
step S213: calculating a variation difference value according to a preset variation and the impedance variation, and calculating a power reduction ratio according to the variation difference value;
step S214: determining a power reduction amount according to the power reduction proportion and a preset maximum power;
step S215: the difference between the current periodic radio frequency power and the power reduction is taken as a target radio frequency output power;
step S216: if the target rf output power is greater than the preset minimum power, step S217 is performed, otherwise step S218 is performed;
step S217: adjusting the radio frequency output power according to the preset minimum power;
step S218: and adjusting the radio frequency output power according to the target radio frequency output power.
The above technical schemes can be combined according to the need to achieve the best technical effect.
The technical scheme of the application also provides a storage medium which stores computer instructions and is used for executing the control method of the radio frequency output power of the beauty instrument in any embodiment when the computer executes the computer instructions.
Fig. 3 shows an electronic device of the application, comprising:
at least one processor 301; the method comprises the steps of,
a memory 302 communicatively coupled to the at least one processor 301; wherein,
the memory 302 stores instructions executable by the at least one processor 301 to enable the at least one processor 301 to perform all the steps of the method of controlling the rf output power of a cosmetic device in any of the method embodiments described above.
An example of a processor 302 is shown in fig. 3:
the electronic device may further include: an input device 303 and an output device 304.
The processor 301, memory 302, input device 303, and output device 304 may be connected by a bus or other means.
The memory 302 is used as a non-volatile computer readable storage medium, and may be used to store a non-volatile software program, a non-volatile computer executable program, and modules, such as program instructions/modules corresponding to the method for controlling rf output power of a cosmetic device in an embodiment of the present application, for example, the method flow shown in fig. 1 or 2. The processor 301 executes various functional applications and data processing by running nonvolatile software programs, instructions and modules stored in the memory 302, i.e., implements the beauty instrument rf output power control method in the above-described embodiment.
Memory 302 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the beauty treatment apparatus rf output power control method, etc. In addition, memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 302 optionally includes memory remotely located relative to processor 301, which may be connected via a network to a device performing the cosmetic instrument radio frequency output power control method. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 303 may receive input user clicks and generate signal inputs related to user settings and function controls of the cosmetic instrument rf output power control method. The output device 404 may output signals such as current and data, for example, a radio frequency current signal output by a radio frequency output control method of the beauty instrument, and the output device 304 may be further connected to a display device including an indicator light, a display screen, and the like.
The beauty treatment instrument radio frequency output power control method in any of the method embodiments described above is performed when the one or more modules are stored in the memory 302 and when executed by the one or more processors 301.
What has been described above is merely illustrative of the principles and preferred embodiments of the present application. It should be noted that, for a person skilled in the art, an implementation manner in which the technical solutions disclosed in the different embodiments are appropriately combined is also included in the technical scope of the present application, and several other modifications are possible on the basis of the principle of the present application, which should also be regarded as the protection scope of the present application.