CN117482389A - Output power adjusting method, beauty instrument, storage medium and electronic equipment - Google Patents

Output power adjusting method, beauty instrument, storage medium and electronic equipment Download PDF

Info

Publication number
CN117482389A
CN117482389A CN202311855793.0A CN202311855793A CN117482389A CN 117482389 A CN117482389 A CN 117482389A CN 202311855793 A CN202311855793 A CN 202311855793A CN 117482389 A CN117482389 A CN 117482389A
Authority
CN
China
Prior art keywords
liquid
cosmetic
conductivity
instrument
beauty
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311855793.0A
Other languages
Chinese (zh)
Other versions
CN117482389B (en
Inventor
王念欧
郦轲
储文进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Accompany Technology Co Ltd
Original Assignee
Shenzhen Accompany Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Accompany Technology Co Ltd filed Critical Shenzhen Accompany Technology Co Ltd
Priority to CN202311855793.0A priority Critical patent/CN117482389B/en
Publication of CN117482389A publication Critical patent/CN117482389A/en
Application granted granted Critical
Publication of CN117482389B publication Critical patent/CN117482389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/328Applying electric currents by contact electrodes alternating or intermittent currents for improving the appearance of the skin, e.g. facial toning or wrinkle treatment
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/02Details
    • A61N1/08Arrangements or circuits for monitoring, protecting, controlling or indicating
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F22/00Methods or apparatus for measuring volume of fluids or fluent solid material, not otherwise provided for
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/02Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
    • G01R27/22Measuring resistance of fluids
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/15Correlation function computation including computation of convolution operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Veterinary Medicine (AREA)
  • Databases & Information Systems (AREA)
  • Algebra (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Radiology & Medical Imaging (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Operations Research (AREA)
  • Probability & Statistics with Applications (AREA)
  • Evolutionary Biology (AREA)
  • Neurology (AREA)
  • Plastic & Reconstructive Surgery (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Fluid Mechanics (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Computing Systems (AREA)
  • Electrotherapy Devices (AREA)

Abstract

The invention provides an output power adjusting method, a beauty instrument, a storage medium and electronic equipment, wherein the method comprises the following steps: detecting the liquid volume of a cosmetic liquid in a cosmetic instrument and detecting the initial conductivity of the cosmetic liquid when the cosmetic liquid is in the liquid volume, wherein the cosmetic instrument is provided with a liquid storage tank for storing the cosmetic liquid to be detected; calculating an actual conductivity of the cosmetic instrument from the liquid volume and the initial conductivity; and controlling the electrode output power of the beauty instrument according to the actual conductivity. According to the embodiment of the invention, the technical problem that the conductivity measurement of the beauty treatment liquid of the beauty treatment instrument in the related technology is inaccurate is solved, the electrode output power of the beauty treatment instrument is controlled through the actual conductivity of the beauty treatment liquid, meanwhile, the accurate control of the output power of the beauty treatment instrument is realized, the fluctuation of the output current of the beauty treatment instrument is avoided, and the user experience is improved.

Description

Output power adjusting method, beauty instrument, storage medium and electronic equipment
Technical Field
The invention relates to the field of beauty instruments, in particular to an output power adjusting method, a beauty instrument, a storage medium and electronic equipment.
Background
In the related art, due to the effect of output modes such as electrotherapy and thermal therapy in the actual use process of the beauty instrument, the conductivity of the beauty liquid needs to be detected, the related art is that a user directly inputs the corresponding conductivity based on the model of the beauty liquid, the conductivity of the beauty liquid is related to other environmental factors besides the attribute of the beauty liquid, so that the conductivity of the beauty liquid is inaccurate or unstable, the electrotherapy function effect of the beauty instrument is poor, and the user can blindly increase the power or increment the beauty liquid, the energy consumption and the consumable amount of the equipment are increased, and even the electric shock risk is caused.
In view of the above problems in the related art, an efficient and accurate solution has not been found.
Disclosure of Invention
The invention provides an output power adjusting method, a beauty instrument, a storage medium and electronic equipment, and aims to solve the technical problems in the related art.
According to an embodiment of the present invention, there is provided a method for adjusting output power, including: detecting the liquid volume of a cosmetic liquid in a cosmetic instrument and detecting the initial conductivity of the cosmetic liquid when the cosmetic liquid is in the liquid volume, wherein the cosmetic instrument is provided with a liquid storage tank for storing the cosmetic liquid to be detected; calculating an actual conductivity of the cosmetic instrument from the liquid volume and the initial conductivity; and controlling the electrode output power of the beauty instrument according to the actual conductivity.
Optionally, detecting the liquid volume of the cosmetic liquid in the cosmetic instrument includes: a plurality of groups of transmitters of the grating sensor in the liquid storage tank are controlled to simultaneously emit horizontal light, wherein the grating sensor comprises a plurality of groups of transmitters and a plurality of groups of receivers, the plurality of groups of transmitters are longitudinally arranged on the inner wall of the liquid storage tank, and each group of receivers corresponds to one group of receivers in the horizontal direction; controlling the multiple groups of receivers to receive horizontal light rays emitted by the multiple groups of emitters; determining a receiver set which receives horizontal light rays in the plurality of groups of receivers, and determining the vertical height of a designated receiver with the lowest position in the receiver set as the liquid level height of the cosmetic liquid; a first liquid volume of the cosmetic liquid is calculated based on the liquid level height.
Optionally, detecting the liquid volume of the cosmetic liquid in the cosmetic instrument includes: collecting a quality value of the cosmetic liquid through a gravity sensor, and reading a density parameter of the cosmetic liquid; and calculating the liquid volume of the cosmetic liquid by adopting the mass value and the density parameter.
Optionally, calculating the actual conductivity of the cosmetic instrument from the liquid volume and the initial conductivity comprises: reading a reference volume range of the cosmetic liquid; comparing the liquid volume to the reference volume range; if the liquid volume is larger than the maximum value of the reference volume range, correcting the initial conductivity downwards to obtain the actual conductivity of the beauty instrument; if the liquid volume is within the reference volume range, determining the initial conductivity as the actual conductivity of the cosmetic instrument; and if the liquid volume is smaller than the minimum value of the reference volume range, correcting the initial conductivity upwards to obtain the actual conductivity of the beauty instrument.
Optionally, calculating the actual conductivity of the cosmetic instrument from the liquid volume and the initial conductivity comprises: calculating a number of first electrode loops covered by the cosmetic liquid based on the liquid volume; reading the number of second electrode loops covered when the cosmetic liquid is in the reference volume range; calculating a loop difference of the first electrode loop number minus the second electrode loop number; calculating a correction value according to the loop difference value, wherein the correction value is in negative correlation with the loop difference value when the loop difference value is positive, and in positive correlation with the absolute value of the loop difference value when the loop difference value is negative; and calculating the sum of the correction value and the initial conductivity as the actual conductivity of the beauty instrument.
Optionally, controlling the electrode output power of the cosmetic instrument according to the actual conductivity comprises: determining an output current value of a current working mode of the beauty instrument, and calculating target electrode power of an electrotherapy module according to the output current value and the actual conductivity; collecting real-time electrode power of an electrotherapy module of the beauty instrument; comparing the target electrode power with the real-time electrode power; if the target electrode power is larger than the real-time electrode power, the electrode output power of the electrotherapy module is increased; if the target electrode power is equal to the real-time electrode power, maintaining the electrode output power of the electrotherapy module; and if the first electrode power is smaller than the real-time electrode power, reducing the electrode output power of the electrotherapy module.
Optionally, after controlling the electrode output power of the cosmetic instrument according to the actual conductivity, the method further comprises: detecting the liquid temperature of the cosmetic liquid in real time; searching real-time conductivity matched with the liquid temperature based on a preset mapping relation; and controlling the electrode output power of the beauty instrument according to the real-time conductivity.
According to another embodiment of the present invention, there is provided a cosmetic instrument including: the first detection module is used for detecting the liquid volume of the beauty treatment liquid in the beauty treatment instrument and detecting the initial conductivity of the beauty treatment liquid when the beauty treatment liquid is in the liquid volume, wherein the beauty treatment instrument is provided with a liquid storage tank, and the liquid storage tank is used for storing the beauty treatment liquid to be detected; a calculation module for calculating an actual conductivity of the cosmetic instrument from the liquid volume and the initial conductivity; and the first control module is used for controlling the electrode output power of the beauty instrument according to the actual conductivity.
Optionally, the first detection module includes: the first control unit is used for controlling a plurality of groups of transmitters of the grating sensor in the liquid storage tank to simultaneously emit horizontal light, wherein the grating sensor comprises a plurality of groups of transmitters and a plurality of groups of receivers, the plurality of groups of transmitters are longitudinally arranged on the inner wall of the liquid storage tank, and each group of receivers corresponds to one group of receivers in the horizontal direction; the second control unit is used for controlling the multiple groups of receivers to receive the horizontal light rays emitted by the multiple groups of emitters; a determining unit, configured to determine a receiver set that receives horizontal light among the plurality of sets of receivers, and determine a vertical height of a designated receiver with a lowest position in the receiver set as a liquid level height of the cosmetic liquid; a first calculation unit for calculating a first liquid volume of the cosmetic liquid based on the liquid level height.
Optionally, the first detection module includes: the processing unit is used for collecting the quality value of the cosmetic liquid through the gravity sensor and reading the density parameter of the cosmetic liquid; and a second calculating unit for calculating a liquid volume of the cosmetic liquid using the mass value and the density parameter.
Optionally, the computing module includes: a reading unit for reading a reference volume range of the cosmetic liquid; a comparison unit for comparing the liquid volume and the reference volume range; a first correction unit, configured to correct the initial conductivity downward to obtain an actual conductivity of the beauty instrument if the liquid volume is greater than a maximum value of the reference volume range; if the liquid volume is within the reference volume range, determining the initial conductivity as the actual conductivity of the cosmetic instrument; and if the liquid volume is smaller than the minimum value of the reference volume range, correcting the initial conductivity upwards to obtain the actual conductivity of the beauty instrument.
Optionally, the computing module includes: a first calculation unit for calculating the number of first electrode loops covered by the cosmetic liquid based on the liquid volume; the reading unit is used for reading the number of the second electrode loops covered when the cosmetic liquid is in the reference volume range; a second calculation unit configured to calculate a loop difference value obtained by subtracting the second electrode loop number from the first electrode loop number; a third calculation unit, configured to calculate a correction value according to the loop difference value, where, when the loop difference value is positive, the correction value is inversely related to the loop difference value, and when the loop difference value is negative, the correction value is positively related to an absolute value of the loop difference value; and the second correction unit is used for calculating the sum of the correction value and the initial conductivity as the actual conductivity of the beauty instrument.
Optionally, the first control module includes: the calculating unit is used for determining an output current value of the current working mode of the beauty instrument and calculating target electrode power of the electrotherapy module according to the output current value and the actual conductivity; the acquisition unit is used for acquiring the real-time electrode power of the electrotherapy module of the beauty instrument; a comparison unit for comparing the target electrode power with the real-time electrode power; the control unit is used for improving the electrode output power of the electrotherapy module if the target electrode power is larger than the real-time electrode power; if the target electrode power is equal to the real-time electrode power, maintaining the electrode output power of the electrotherapy module; and if the first electrode power is smaller than the real-time electrode power, reducing the electrode output power of the electrotherapy module.
Optionally, the apparatus further comprises: the second detection module is used for detecting the liquid temperature of the beauty liquid in real time after the first control module controls the electrode output power of the beauty instrument according to the actual conductivity; the searching module is used for searching the real-time conductivity matched with the liquid temperature based on a preset mapping relation; and the second control module is used for controlling the electrode output power of the beauty instrument according to the real-time conductivity.
According to a further embodiment of the invention, there is also provided a storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the apparatus embodiments described above when run.
According to a further embodiment of the invention there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the apparatus embodiments described above.
According to the embodiment of the invention, the liquid volume of the beauty treatment liquid in the beauty treatment instrument is detected, and the initial conductivity of the beauty treatment liquid in the liquid volume is detected, wherein the beauty treatment instrument is provided with a liquid storage tank for storing the beauty treatment liquid to be detected; calculating the actual conductivity of the beauty instrument according to the volume of the liquid and the initial conductivity; according to the actual conductivity control beauty instrument electrode output power, the initial conductivity detected through the liquid volume correction of the beauty liquid obtains the actual conductivity, the technical problem that the conductivity measurement of the beauty liquid of the beauty instrument in the related art is inaccurate is solved, the actual conductivity control beauty instrument electrode output power of the beauty liquid is realized, meanwhile, the accurate control of the beauty instrument output power is realized, the fluctuation of the beauty instrument output current is avoided, the energy consumption and the consumable amount of the beauty instrument are reduced, and the user experience is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a beauty treatment instrument according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of adjusting output power according to an embodiment of the invention;
FIG. 3 is a schematic view of the appearance of a cosmetic instrument head according to an embodiment of the present invention;
FIG. 4 is a flow chart of adjusting output power in an embodiment of the invention;
FIG. 5 is another flow chart of adjusting output power in an embodiment of the invention;
fig. 6 is a block diagram of a cosmetic instrument according to an embodiment of the present invention.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
The method embodiment provided in the first embodiment of the present application may be performed in a beauty treatment apparatus, a main control board of the beauty treatment apparatus, health equipment, or similar control devices. Taking the operation on the beauty instrument as an example, fig. 1 is a block diagram of the hardware structure of the beauty instrument according to the embodiment of the invention. As shown in fig. 1, the cosmetic instrument may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the cosmetic device described above. For example, the cosmetic device may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a cosmetic program, for example, a software program of application software and a module, such as a cosmetic program corresponding to a method for adjusting output power in an embodiment of the present invention, and the processor 102 executes the cosmetic program stored in the memory 104 to perform various functional applications and data processing, that is, to implement the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located with respect to the processor 102, which may be connected to the cosmetic instrument through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the cosmetic instrument. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In this embodiment, a method for adjusting output power is provided, and fig. 2 is a flowchart of a method for adjusting output power according to an embodiment of the present invention, as shown in fig. 2, where the flowchart includes the following steps:
step S202, detecting the liquid volume of the beauty treatment liquid in the beauty treatment instrument and detecting the initial conductivity of the beauty treatment liquid when the beauty treatment liquid is in the liquid volume, wherein the beauty treatment instrument is provided with a liquid storage tank for storing the beauty treatment liquid to be detected;
the beauty instrument of the embodiment is a machine for regulating and improving the body and the face according to the physiological functions of a human body, and has various beauty effects of whitening, tendering skin, removing freckles, removing wrinkles, unhairing, losing weight and the like according to functions. Fig. 3 is a schematic view of the appearance of the head of the beauty treatment instrument according to the embodiment of the invention, including a heat conducting plate, an electrode, and a conductivity detection head, which are respectively used for heating and conducting the beauty treatment liquid to implement the functions of thermal treatment and electrotherapy, wherein the conductivity detection head is provided with a liquid storage tank for detecting the conductivity of the beauty treatment liquid in the liquid storage tank. The beauty instrument of the embodiment comprises a heating module, an electrotherapy module and a main control module, wherein the heating module and the electrotherapy module are working components, the main control module is a control component, and the beauty liquid on the surface of the head of the beauty instrument is used as a medium to respectively realize the functions of thermal therapy and electrotherapy, and the electrotherapy functions can be micro-current, ion permeation promotion current and the like.
The beauty instrument of the present embodiment is a health device or a wearable device that acts on the body of a human body, an animal, or the like.
Optionally, the beauty instrument comprises a plurality of working modes, such as one working mode corresponding to each gear, one working mode corresponding to each beauty therapy, and the temperature and the electrode output power of the beauty instrument are different in each working mode.
Step S204, calculating the actual conductivity of the beauty instrument according to the volume of the liquid and the initial conductivity;
the conductivity of this embodiment is used to indicate the ability of the beauty liquid to conduct current, and can affect the current value generated by the beauty liquid, and the larger the conductivity, the larger the current value (output energy) generated by the beauty liquid, without changing other factors.
The beauty liquid volume detection module detects the volume of the beauty liquid dripped into the conductivity detection head through the grating sensor or the gravity sensor, and feeds back the detection value to the main control module, and the conductivity detection module detects the initial conductivity of the beauty liquid and feeds back the initial conductivity to the main control module, so that the actual conductivity of the beauty instrument is obtained through calculation.
Step S206, controlling the electrode output power of the beauty instrument according to the actual conductivity.
Through the steps, the liquid volume of the beauty treatment liquid in the beauty treatment instrument is detected, and the initial conductivity of the beauty treatment liquid in the liquid volume is detected, wherein the beauty treatment instrument is provided with a liquid storage tank for storing the beauty treatment liquid to be detected; calculating the actual conductivity of the beauty instrument according to the volume of the liquid and the initial conductivity; according to the actual conductivity control beauty instrument electrode output power, the initial conductivity detected through the liquid volume correction of the beauty liquid obtains the actual conductivity, the technical problem that the conductivity measurement of the beauty liquid of the beauty instrument in the related art is inaccurate is solved, the actual conductivity control beauty instrument electrode output power of the beauty liquid is realized, meanwhile, the accurate control of the beauty instrument output power is realized, the fluctuation of the beauty instrument output current is avoided, the energy consumption and the consumable amount of the beauty instrument are reduced, and the user experience is improved.
In this embodiment, the volume detection module of the cosmetic liquid detects the volume of the cosmetic liquid dropped into the reservoir of the conductivity detection head by the grating sensor or the gravity sensor, and feeds back the detection value (initial conductivity) to the main control module.
In one implementation of this embodiment, detecting the liquid volume of the cosmetic liquid in the cosmetic instrument includes: the method comprises the steps of controlling a plurality of groups of transmitters of a grating sensor in a liquid storage tank to simultaneously emit horizontal light, wherein the grating sensor comprises a plurality of groups of transmitters and a plurality of groups of receivers, the plurality of groups of transmitters are longitudinally arranged on the inner wall of the liquid storage tank, and each group of receivers corresponds to one group of receivers in the horizontal direction; controlling the multiple groups of receivers to receive the horizontal light rays emitted by the multiple groups of emitters; determining a receiver set which receives horizontal light rays in a plurality of groups of receivers, and determining the vertical height of a designated receiver with the lowest position in the receiver set as the liquid level height of the cosmetic liquid; a first liquid volume of the cosmetic liquid is calculated based on the liquid level height.
In this embodiment, since the horizontal light emitted from the emitter refracts in the liquid (cosmetic liquid), the horizontal light does not reach the receiver on the other side in the horizontal direction, but in the air having uniform medium, the horizontal light does not refract, and can reach the receiver on the other side in the horizontal direction, as the volume of the cosmetic liquid increases, the liquid level of the cosmetic liquid increases, so that the lower-positioned receiver will not receive the horizontal light emitted from the emitter earlier, and if 3 of the 5 sets of receivers do not receive the horizontal light, the vertical height of the designated receiver (the relative height from the mounting position of the designated receiver to the bottom of the liquid storage tank) at the lowest position among the 3 sets of receivers is the critical position of the cosmetic liquid and the air, and the height thereof is the liquid level of the cosmetic liquid.
In another implementation of this embodiment, detecting the liquid volume of the cosmetic liquid in the cosmetic apparatus includes: collecting the quality value of the cosmetic liquid through a gravity sensor and reading the density parameter of the cosmetic liquid; the liquid volume of the cosmetic liquid is calculated using the mass value and the density parameter.
In this embodiment, the density parameter of the cosmetic liquid may be obtained by searching a locally stored density table from the model of the cosmetic liquid input by the user, and the main control module calculates the formula based on the mass of the object: m (mass) =p (density) ×v (volume), and the volume can be calculated when the mass and the density are known.
In one implementation scenario of the present embodiment, calculating the actual conductivity of the cosmetic instrument from the liquid volume and the initial conductivity comprises: reading a reference volume range of the cosmetic liquid; comparing the liquid volume to a reference volume range; if the liquid volume is larger than the maximum value of the reference volume range, correcting the initial conductivity downwards to obtain the actual conductivity of the beauty instrument; if the liquid volume is within the reference volume range, determining the initial conductivity as the actual conductivity of the beauty instrument; if the liquid volume is smaller than the minimum value of the reference volume range, the initial conductivity is corrected upwards, and the actual conductivity of the beauty instrument is obtained.
The reference volume range of this embodiment is the volume range of the beauty liquid when the beauty instrument works normally, in the reference volume range, the initial conductivity detected by the conductivity detection head is the same as the actual conductivity of the beauty liquid or is in an acceptable error range, the conductivity detection value (initial conductivity) of the beauty liquid is related to the liquid volume of the liquid storage tank dripped into the conductivity detection head, when the liquid volume is insufficient to cover the conductivity detection head, the conductivity detection value of the beauty liquid is smaller than the actual value, the initial conductivity needs to be corrected upwards to obtain the actual conductivity, and when the volume of the beauty liquid dripped into the conductivity detection head is too large, because more electrode loops exist, the measured conductivity value is larger, and the initial conductivity needs to be corrected downwards to obtain the actual conductivity.
In another implementation scenario of the present embodiment, calculating the actual conductivity of the cosmetic instrument from the liquid volume and the initial conductivity comprises: calculating the number of first electrode loops covered by the cosmetic liquid based on the liquid volume; reading the number of second electrode loops covered when the cosmetic liquid is in the reference volume range; calculating a loop difference value of the first electrode loop number minus the second electrode loop number; calculating a correction value according to the loop difference value, wherein the correction value is in negative correlation with the loop difference value when the loop difference value is positive, and in positive correlation with the absolute value of the loop difference value when the loop difference value is negative; the sum of the correction value and the initial conductivity is calculated as the actual conductivity of the cosmetic instrument.
The volume of the beautifying liquid is smaller, the electrode loops of the channels are fewer, the number of the electrode loops is smaller than that of the electrode loops conducted when the beautifying instrument works normally, and the conductivity is smaller; the volume of the beautifying liquid is larger, the number of the conducted electrode loops is more than that of the electrode loops conducted during normal operation of the beautifying instrument, and the conductivity is larger. The correction value is negative when the loop difference is positive, and positive when the loop difference is negative.
The main control module of the beauty instrument performs searching and comparing according to the conductivity detection value and the volume of the beauty liquid and a preset correction relation (algorithm), so as to obtain the final determined actual conductivity, and adjusts the electrode output power of the electrotherapy module of the beauty instrument according to the actual conductivity; the preset correction relation between the conductivity volume and the actual conductivity stored in the main control module is obtained in a pre-experiment mode, the data are stored in the main control module, and the actual conductivity of the beauty liquid is obtained by comparing the actual detected volume and the initial conductivity value with the correction relation when the user actually uses the beauty liquid.
In one example of this embodiment, controlling the electrode output power of the cosmetic instrument according to the actual conductivity includes: determining an output current value of a current working mode of the beauty instrument, and calculating target electrode power of the electrotherapy module according to the output current value and the actual conductivity; collecting real-time electrode power of an electrotherapy module of the beauty instrument; comparing the target electrode power with the real-time electrode power; if the target electrode power is larger than the real-time electrode power, the electrode output power of the electrotherapy module is improved; if the target electrode power is equal to the real-time electrode power, maintaining the electrode output power of the electrotherapy module; and if the first electrode power is smaller than the real-time electrode power, reducing the electrode output power of the electrotherapy module.
In this embodiment, the current value (energy) of the beauty treatment liquid is related to the conductivity of the beauty treatment liquid and the output power of the electrode, while the intensity of the electrotherapy function of the beauty treatment instrument is related to the current value of the beauty treatment liquid, in different working modes, the current value of the corresponding beauty treatment liquid is different, the output power of the electrode and the conductivity are both positively related to the current value of the beauty treatment liquid, and in the case of the fixed current working mode, if the conductivity changes, the output power of the electrode also changes correspondingly, such as the conductivity increases, and in order to maintain the same current value, the output power of the electrode needs to be adjusted.
Optionally, the beauty instrument may locally pre-store a mapping table, where the mapping table is used to store a mapping relationship between different conductivities and electrode output powers in each working mode of the beauty instrument (in the same working mode, conductivities in the mapping table are inversely related to the electrode output powers), the target electrode powers are obtained by calculation or table lookup, and based on the formula σ=i/E, σ is conductivity, I is current, E is voltage, and I of each working mode is fixed, so that E can be calculated under the condition that σ is known.
Optionally, after calculating the target electrode power of the electrotherapy module according to the output current value and the actual conductivity, the target electrode power may be further corrected, for example, based on the skin type (such as dry skin, neutral skin, oily skin) of the electrotherapy site of the electrotherapy object, the skin symptoms (whether acne, folliculitis, etc.) of the electrotherapy site, the sex, age, physical condition (such as disease history, body fat rate, whether or not heart disease exists) of the electrotherapy object, and the climate parameters (such as temperature and humidity) of the current time.
In some embodiments, correcting the target electrode power includes: detecting the skin type of the electrotherapy position by adopting a sensor; selecting a regulating parameter matched with the skin type (the regulating parameter of dry skin is a negative offset, the regulating parameter of neutral skin is 0, and the regulating parameter of oily skin is a positive offset); and correcting the target electrode power by adopting the adjustment parameters.
Since the passage of current is also hindered by the attachment such as grease or dander on the oily skin surface, the conductivity of the skin is lowered, and thus the target electrode power needs to be increased to maintain the total energy output from the cosmetic instrument. The surface of dry skin is more likely to accumulate static electricity, which results in an increase in electrons in the cosmetic liquid, so that the target electrode power needs to be reduced to maintain the total energy output by the cosmetic instrument.
In some embodiments, correcting the target electrode power includes: detecting skin symptoms at the electrotherapy site with a sensor; selecting an adaptation parameter that matches the skin symptom; and correcting the target electrode power by adopting the adaptive parameters.
In one implementation of the present example, detecting skin symptoms at the electrotherapy site with the sensor includes: controlling the electrotherapy head of the beauty instrument to expand from the atrophy state and starting a timer; calculating a first stressed area of the contact sensor and the electrotherapy part in real time; when the stressed area reaches a preset area, reading the timing time of the timer; judging whether the timing time is greater than a first preset value; if the timing time is greater than the first preset value, determining that the skin symptom of the electrotherapy position is rough symptom (is disorder skin); if the timing time is less than or equal to the first preset value, the skin symptoms of the electrotherapy position are determined to be smooth symptoms (normal skin).
If the rough symptom is the matched adaptation parameter is positive offset, the target electrode power needs to be properly increased to obtain final output power, the beauty instrument outputs energy to simultaneously play the roles of beauty and treatment, and correspondingly, if the rough symptom is the matched adaptation parameter is 0, the target electrode power is directly used as the final output power, the beauty instrument outputs energy to simultaneously play the role of beauty, and if the target electrode power is increased, healthy skin can be possibly injured.
In this embodiment, the electrotherapy head fills the beauty treatment liquid from the atrophy state at a preset expansion speed, taking the electrotherapy site as a temple as an example, calculating the time T1 from the start of expansion to the time when the electrotherapy head is fully contacted with the temple, wherein the full contact is that the contact sensor in the temple area is stressed, the more the contact sensors are stressed, the larger the stressed area is, and when the stressed area on the contact sensor reaches a preset value (for example, 80% of the area of the contact sensor), the electrotherapy head is considered to be fully contacted with the temple. If T1 is larger than the preset value, the temple is considered to have rough symptoms such as skin bulge and depression, and possibly has symptoms such as acne and folliculitis, and if T1 is smaller than or equal to the preset value, the temple is considered to be smooth and is a normal skin.
In one implementation scenario of this embodiment, the electrotherapy head may fully expand to 100% in 1 second and fully contact with the temple position of the electrotherapy object, the sensor transmits the time of the electrotherapy head expanding to fully contact with the temple to the control unit, and the control unit may determine whether the temple of the user belongs to the rough symptom according to the contact time data returned each time. If the electrotherapy head is inflated to fully contact the temple for 1 second under smooth symptoms, the contact time is 0.5 second when the user is in a tired and inflated state, and the sensor transmits the value to the control unit, and the control unit calculates the electrode output power suitable for the current situation of the user according to the roughness.
In another implementation of the present example, detecting skin symptoms at the electrotherapy site with the sensor includes: controlling the electrotherapy head of the beauty instrument to expand from the atrophy state and starting a timer; recording a first contact time between a first contact sensor and an electrotherapy position based on a timer, and recording a second contact time between a second contact sensor and the electrotherapy position based on the timer, wherein the first contact sensor is arranged in a contact area between a beauty instrument and the center of the electrotherapy position, and the second contact sensor is arranged in a contact area between the beauty instrument and the outer ring of the electrotherapy position; calculating a time difference between the second contact time and the first contact time; judging whether the time difference is larger than a second preset value or not; if the time difference is larger than a second preset value, determining that the skin symptoms of the electrotherapy position are rough symptoms; and if the time difference is smaller than or equal to a second preset value, determining that the skin symptoms of the electrotherapy position are smooth symptoms.
In this embodiment, the electrotherapy area is taken as an example, the contact sensor is divided into a first area and a second area, that is, the area where the first contact sensor is located and the area where the second contact sensor is located, where the first area is the exact center position, and the second area is the outer ring position of the first area, if the difference between the time when the first area and the time when the second area detect the pressure is smaller than a preset value, which means that the first area and the second area detect the pressure substantially simultaneously or are stressed in a short time, the forehead skin is considered to be smooth and has no rough condition, the central part of the electrotherapy area is generally uneven due to the fact that some skin tissue of the body is in a convex hull or concave shape, and the outer ring area is normal, so if a is larger than the preset value, which means that the first area is stressed for a long time and then the second area is stressed, the forehead skin is considered to have a condition.
In yet another implementation of the present embodiment, detecting skin symptoms at the electrotherapy site with the sensor includes: controlling the electrotherapy head of the beauty instrument to expand from the atrophy state; after the electrotherapy head of the beauty instrument is fully expanded, calculating the first pressure of a first pressure sensor and calculating the second pressure of a second pressure sensor, wherein the first pressure sensor is arranged in a contact area between the beauty instrument and the center of the electrotherapy position, and the second pressure sensor is arranged in a contact area between the beauty instrument and the outer ring of the electrotherapy position; calculating a pressure difference between the first pressure and the second pressure; judging whether the pressure difference is larger than a third preset value or not; if the pressure difference is larger than a third preset value, determining that the skin symptoms of the electrotherapy position are rough symptoms; and if the pressure difference is smaller than or equal to a third preset value, determining that the skin symptoms of the electrotherapy position are smooth symptoms.
In this embodiment, the pressure sensor is divided into a first area and a second area, that is, a first pressure sensor and a second pressure sensor, where the first area is the center position and the second area is the outer ring position of the first area, in order to reflect the stress of the first area and the second area, the average pressure of all the first pressure sensors in the first area may be calculated as the first pressure, the average pressure of all the second pressure sensors in the second area may be calculated as the second pressure, the average pressure difference may be determined by using an average pressure difference, or the average pressure difference may be determined by using other index pressure indexes, if the pressure difference B between the average pressure of the first area and the average pressure of the second area is smaller than a preset value, the condition that the external skin of the forehead is not rough is considered, and if B is larger than the preset value, the forehead skin is considered as the skin disorder.
Optionally, after controlling the electrode output power of the cosmetic instrument according to the actual conductivity, the method further comprises: detecting the liquid temperature of the beauty liquid in real time; searching real-time conductivity matched with the liquid temperature based on a preset mapping relation; and controlling the electrode output power of the beauty instrument according to the real-time conductivity.
After adjusting the electrode output power based on the liquid volume of the cosmetic liquid, the cosmetic instrument updates the electrical conductivity based on the real-time liquid temperature, updates the electrode output power based on the new electrical conductivity, and the temperature and the electrical conductivity of the cosmetic liquid are matched. Optionally, if the output power of the electrode of the beauty instrument changes, a prompt message may also be output to prompt the user of the change of the output power of the beauty instrument.
The beauty instrument of the embodiment further comprises a temperature detection module, when the conductivity of the beauty liquid is matched with the conductivity of the beauty liquid at the current temperature, the conductivity of the beauty liquid is not fixed, the conductivity of the beauty liquid can also change along with the temperature along with the change of the temperature detected by the temperature detection module at the later stage, and the real-time conductivity can be obtained after the change of the conductivity-temperature relation value; according to the change value of the conductivity, the main control module of the beauty instrument adjusts the output power of the electrotherapy functional module in the use process of the beauty instrument so as to achieve better output effect.
The scheme of the embodiment provides a beauty instrument and a conductivity detection calibration method thereof, wherein the actual value of the conductivity at the current temperature is calculated through a preset correction algorithm by dropping the volume detection value of beauty liquid and the detected initial conductivity, and then the actual value of the conductivity after the temperature change is obtained through detecting the temperature change and comparing with the preset value, so that the accurate measurement of the conductivity is realized. Fig. 4 is a flowchart of adjusting output power according to an embodiment of the present invention, including:
S41, the user drops the beauty liquid above the conductivity detection head;
s42, the beauty liquid volume detection module detects the volume of the beauty liquid dropped by a user and feeds the volume back to the main control module;
s43, the conductivity detection module detects the conductivity of the beautifying liquid and feeds the conductivity back to the main control module;
s44, the main control module compares the data transmitted by the conductivity detection module and the volume detection module with a preset value to obtain a conductivity value, and then adjusts electrotherapy output power.
Fig. 5 is another flow chart of adjusting output power in an embodiment of the invention, comprising:
s51, the main control module obtains a conductivity value of the current temperature according to matching of the actual measurement value of the volume conductivity and a preset value;
s52, detecting temperature change by the temperature detection module, and determining a new conductivity value according to the relation determined by the detected conductivity temperature after the temperature change exceeds a preset value;
and S53, the main control module adjusts the output power of the electrotherapy module according to the new conductivity value.
The beauty instrument and the conductivity detection and calibration method thereof are provided, the accurate measurement of the conductivity of the beauty liquid is realized, and the problems that when the volume of the liquid is insufficient to cover the conductivity detection head, the conductivity detection value of the beauty liquid is smaller than the actual value, and when the volume of the beauty liquid dripped into the conductivity detection head is overlarge, the measured conductivity value is larger due to more loops and the like are avoided. The problem that the conductivity changes due to temperature changes, so that the real-time conductivity deviates from the historical conductivity is also solved.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
Example 2
In this embodiment, a cosmetic device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and will not be described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 6 is a block diagram of a beauty treatment apparatus according to an embodiment of the present invention, as shown in fig. 6, the apparatus includes:
a first detection module 60 for detecting a liquid volume of a cosmetic liquid in a cosmetic instrument and detecting an initial conductivity of the cosmetic liquid when the cosmetic liquid is in the liquid volume, wherein the cosmetic instrument is provided with a liquid storage tank for storing the cosmetic liquid to be detected;
a calculation module 62 for calculating an actual conductivity of the cosmetic instrument from the liquid volume and the initial conductivity;
a first control module 64 for controlling the electrode output power of the cosmetic instrument according to the actual conductivity.
Optionally, the first detection module includes: the first control unit is used for controlling a plurality of groups of transmitters of the grating sensor in the liquid storage tank to simultaneously emit horizontal light, wherein the grating sensor comprises a plurality of groups of transmitters and a plurality of groups of receivers, the plurality of groups of transmitters are longitudinally arranged on the inner wall of the liquid storage tank, and each group of receivers corresponds to one group of receivers in the horizontal direction; the second control unit is used for controlling the multiple groups of receivers to receive the horizontal light rays emitted by the multiple groups of emitters; a determining unit, configured to determine a receiver set that receives horizontal light among the plurality of sets of receivers, and determine a vertical height of a designated receiver with a lowest position in the receiver set as a liquid level height of the cosmetic liquid; a first calculation unit for calculating a first liquid volume of the cosmetic liquid based on the liquid level height.
Optionally, the first detection module includes: the processing unit is used for collecting the quality value of the cosmetic liquid through the gravity sensor and reading the density parameter of the cosmetic liquid; and a second calculating unit for calculating a liquid volume of the cosmetic liquid using the mass value and the density parameter.
Optionally, the computing module includes: a reading unit for reading a reference volume range of the cosmetic liquid; a comparison unit for comparing the liquid volume and the reference volume range; a first correction unit, configured to correct the initial conductivity downward to obtain an actual conductivity of the beauty instrument if the liquid volume is greater than a maximum value of the reference volume range; if the liquid volume is within the reference volume range, determining the initial conductivity as the actual conductivity of the cosmetic instrument; and if the liquid volume is smaller than the minimum value of the reference volume range, correcting the initial conductivity upwards to obtain the actual conductivity of the beauty instrument.
Optionally, the computing module includes: a first calculation unit for calculating the number of first electrode loops covered by the cosmetic liquid based on the liquid volume; the reading unit is used for reading the number of the second electrode loops covered when the cosmetic liquid is in the reference volume range; a second calculation unit configured to calculate a loop difference value obtained by subtracting the second electrode loop number from the first electrode loop number; a third calculation unit, configured to calculate a correction value according to the loop difference value, where, when the loop difference value is positive, the correction value is inversely related to the loop difference value, and when the loop difference value is negative, the correction value is positively related to an absolute value of the loop difference value; and the second correction unit is used for calculating the sum of the correction value and the initial conductivity as the actual conductivity of the beauty instrument.
Optionally, the first control module includes: the calculating unit is used for determining an output current value of the current working mode of the beauty instrument and calculating target electrode power of the electrotherapy module according to the output current value and the actual conductivity; the acquisition unit is used for acquiring the real-time electrode power of the electrotherapy module of the beauty instrument; a comparison unit for comparing the target electrode power with the real-time electrode power; the control unit is used for improving the electrode output power of the electrotherapy module if the target electrode power is larger than the real-time electrode power; if the target electrode power is equal to the real-time electrode power, maintaining the electrode output power of the electrotherapy module; and if the first electrode power is smaller than the real-time electrode power, reducing the electrode output power of the electrotherapy module.
Optionally, the apparatus further comprises: the second detection module is used for detecting the liquid temperature of the beauty liquid in real time after the first control module controls the electrode output power of the beauty instrument according to the actual conductivity; the searching module is used for searching the real-time conductivity matched with the liquid temperature based on a preset mapping relation; and the second control module is used for controlling the electrode output power of the beauty instrument according to the real-time conductivity.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Example 3
An embodiment of the invention also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
s1, detecting the liquid volume of a cosmetic liquid in a cosmetic instrument and detecting the initial conductivity of the cosmetic liquid in the liquid volume, wherein the cosmetic instrument is provided with a liquid storage tank for storing the cosmetic liquid to be detected;
s2, calculating the actual conductivity of the beauty instrument according to the volume of the liquid and the initial conductivity;
and S3, controlling the electrode output power of the beauty instrument according to the actual conductivity.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic device may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, detecting the liquid volume of a cosmetic liquid in a cosmetic instrument and detecting the initial conductivity of the cosmetic liquid in the liquid volume, wherein the cosmetic instrument is provided with a liquid storage tank for storing the cosmetic liquid to be detected;
s2, calculating the actual conductivity of the beauty instrument according to the volume of the liquid and the initial conductivity;
and S3, controlling the electrode output power of the beauty instrument according to the actual conductivity.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method for adjusting output power, which is applied to a cosmetic instrument, comprising:
detecting the liquid volume of a cosmetic liquid in a cosmetic instrument and detecting the initial conductivity of the cosmetic liquid when the cosmetic liquid is in the liquid volume, wherein the cosmetic instrument is provided with a liquid storage tank for storing the cosmetic liquid to be detected;
calculating an actual conductivity of the cosmetic instrument from the liquid volume and the initial conductivity;
and controlling the electrode output power of the beauty instrument according to the actual conductivity.
2. The method of claim 1, wherein detecting the liquid volume of the cosmetic liquid in the cosmetic instrument comprises:
a plurality of groups of transmitters of the grating sensor in the liquid storage tank are controlled to simultaneously emit horizontal light, wherein the grating sensor comprises a plurality of groups of transmitters and a plurality of groups of receivers, the plurality of groups of transmitters are longitudinally arranged on the inner wall of the liquid storage tank, and each group of receivers corresponds to one group of receivers in the horizontal direction;
Controlling the multiple groups of receivers to receive horizontal light rays emitted by the multiple groups of emitters;
determining a receiver set which receives horizontal light rays in the plurality of groups of receivers, and determining the vertical height of a designated receiver with the lowest position in the receiver set as the liquid level height of the cosmetic liquid;
a first liquid volume of the cosmetic liquid is calculated based on the liquid level height.
3. The method of claim 1, wherein detecting the liquid volume of the cosmetic liquid in the cosmetic instrument comprises:
collecting a quality value of the cosmetic liquid through a gravity sensor, and reading a density parameter of the cosmetic liquid;
and calculating the liquid volume of the cosmetic liquid by adopting the mass value and the density parameter.
4. The method of claim 1, wherein calculating an actual conductivity of the cosmetic instrument from the liquid volume and the initial conductivity comprises:
reading a reference volume range of the cosmetic liquid;
comparing the liquid volume to the reference volume range;
if the liquid volume is larger than the maximum value of the reference volume range, correcting the initial conductivity downwards to obtain the actual conductivity of the beauty instrument; if the liquid volume is within the reference volume range, determining the initial conductivity as the actual conductivity of the cosmetic instrument; and if the liquid volume is smaller than the minimum value of the reference volume range, correcting the initial conductivity upwards to obtain the actual conductivity of the beauty instrument.
5. The method of claim 1, wherein calculating an actual conductivity of the cosmetic instrument from the liquid volume and the initial conductivity comprises:
calculating a number of first electrode loops covered by the cosmetic liquid based on the liquid volume;
reading the number of second electrode loops covered when the cosmetic liquid is in the reference volume range;
calculating a loop difference of the first electrode loop number minus the second electrode loop number;
calculating a correction value according to the loop difference value, wherein the correction value is in negative correlation with the loop difference value when the loop difference value is positive, and in positive correlation with the absolute value of the loop difference value when the loop difference value is negative;
and calculating the sum of the correction value and the initial conductivity as the actual conductivity of the beauty instrument.
6. The method of claim 1, wherein controlling the electrode output power of the cosmetic instrument according to the actual conductivity comprises:
determining an output current value of a current working mode of the beauty instrument, and calculating target electrode power of an electrotherapy module according to the output current value and the actual conductivity;
Collecting real-time electrode power of an electrotherapy module of the beauty instrument;
comparing the target electrode power with the real-time electrode power;
if the target electrode power is larger than the real-time electrode power, the electrode output power of the electrotherapy module is increased; if the target electrode power is equal to the real-time electrode power, maintaining the electrode output power of the electrotherapy module; and if the first electrode power is smaller than the real-time electrode power, reducing the electrode output power of the electrotherapy module.
7. The method of claim 1, wherein after controlling the electrode output power of the cosmetic instrument according to the actual conductivity, the method further comprises:
detecting the liquid temperature of the cosmetic liquid in real time;
searching real-time conductivity matched with the liquid temperature based on a preset mapping relation;
and controlling the electrode output power of the beauty instrument according to the real-time conductivity.
8. A cosmetic apparatus, comprising:
the first detection module is used for detecting the liquid volume of the beauty treatment liquid in the beauty treatment instrument and detecting the initial conductivity of the beauty treatment liquid when the beauty treatment liquid is in the liquid volume, wherein the beauty treatment instrument is provided with a liquid storage tank, and the liquid storage tank is used for storing the beauty treatment liquid to be detected;
A calculation module for calculating an actual conductivity of the cosmetic instrument from the liquid volume and the initial conductivity;
and the first control module is used for controlling the electrode output power of the beauty instrument according to the actual conductivity.
9. A storage medium, characterized in that the storage medium has stored therein a computer program, wherein the computer program is arranged to execute the method of adjusting the output power as claimed in any one of claims 1 to 7 when run.
10. An electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; wherein:
a memory for storing a computer program;
a processor for executing the method of adjusting output power according to any one of claims 1 to 7 by running a program stored on a memory.
CN202311855793.0A 2023-12-29 2023-12-29 Output power adjusting method, beauty instrument, storage medium and electronic equipment Active CN117482389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311855793.0A CN117482389B (en) 2023-12-29 2023-12-29 Output power adjusting method, beauty instrument, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311855793.0A CN117482389B (en) 2023-12-29 2023-12-29 Output power adjusting method, beauty instrument, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN117482389A true CN117482389A (en) 2024-02-02
CN117482389B CN117482389B (en) 2024-05-17

Family

ID=89683302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311855793.0A Active CN117482389B (en) 2023-12-29 2023-12-29 Output power adjusting method, beauty instrument, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117482389B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101981415A (en) * 2008-03-28 2011-02-23 布丽塔有限责任公司 Method for measuring the volume flow of electrically conductive liquids through a vessel
CN109223516A (en) * 2018-08-23 2019-01-18 佛山铮荣科技有限公司 A kind of efficient beauty instrument
WO2020220455A1 (en) * 2019-04-29 2020-11-05 罗俭富 Beauty real-time image display method and device, and beauty instrument
CN116747430A (en) * 2023-05-31 2023-09-15 深圳市宗匠科技有限公司 Beauty instrument and output power adjusting method thereof
CN117153364A (en) * 2023-09-15 2023-12-01 广东花至美容科技有限公司 Flexible beauty instrument control method, storage medium and electronic equipment
CN117138228A (en) * 2023-11-01 2023-12-01 深圳市宗匠科技有限公司 Control method of beauty instrument, beauty instrument and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101981415A (en) * 2008-03-28 2011-02-23 布丽塔有限责任公司 Method for measuring the volume flow of electrically conductive liquids through a vessel
CN109223516A (en) * 2018-08-23 2019-01-18 佛山铮荣科技有限公司 A kind of efficient beauty instrument
WO2020220455A1 (en) * 2019-04-29 2020-11-05 罗俭富 Beauty real-time image display method and device, and beauty instrument
CN116747430A (en) * 2023-05-31 2023-09-15 深圳市宗匠科技有限公司 Beauty instrument and output power adjusting method thereof
CN117153364A (en) * 2023-09-15 2023-12-01 广东花至美容科技有限公司 Flexible beauty instrument control method, storage medium and electronic equipment
CN117138228A (en) * 2023-11-01 2023-12-01 深圳市宗匠科技有限公司 Control method of beauty instrument, beauty instrument and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩剑等: ""基于Labview与容栅传感器的液位测控系统"", 《计算机测量与控制》, no. 02, 25 February 2015 (2015-02-25), pages 64 - 66 *

Also Published As

Publication number Publication date
CN117482389B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
US7130680B2 (en) Body composition measurement apparatus
KR102470171B1 (en) Method and system for optimizing massage recommendation program of smart massage chair
JP5661628B2 (en) Non-invasive method for estimating blood glucose level change in human body and apparatus for performing the method
US8103342B2 (en) Therapy-selection methods for implantable heart monitors
KR101128215B1 (en) System for correcting posture based on U-WBAN and method for the same
CN114343373B (en) Method, system and storage medium for intelligently adjusting mattress
CN111564192B (en) Control method of neck massager, neck massager and server
WO2006116256A1 (en) Activity sensing for stimulator control
KR20100003757A (en) Alarm clock and the method using ram sleep and light
EP2070473B1 (en) Electronic device and method for determination of fat burning threshold using hrv- heart rate relation
CN117482389B (en) Output power adjusting method, beauty instrument, storage medium and electronic equipment
CN104754710A (en) Power saving method for device and device
CN106693200B (en) Intelligent hair growing device and system
KR20170018751A (en) Smart insole system
CN117482388B (en) Conductivity adjusting method, beauty instrument, storage medium and electronic equipment
CN117482391B (en) Output power adjusting method, beauty instrument, storage medium and electronic equipment
CN109492779B (en) Household appliance health management method and device and household appliance
CN117482390B (en) Output power adjusting method, beauty instrument, storage medium and electronic equipment
CN116447633B (en) Temperature regulating system for health-preserving sleeping cabin
CN210630725U (en) Shoe-pad for rehabilitation training based on high in clouds
CN111896881A (en) System and method for estimating service life of battery
CN114366589B (en) Control method and control device of massage equipment, storage medium and electronic device
CN110755079B (en) Insole based on sole characteristics
CN113080571A (en) Active feedback type protective diabetic foot insole and using method thereof
KR102534839B1 (en) Growth Plate stimulation device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant