HSV model-based skin color recognition and temperature closed-loop protection device and method for hair removal instrument
By employing the HSV color model and temperature closed-loop protection device, the problem of inaccurate skin tone recognition in hair removal devices has been solved, achieving precise energy matching and safety control, thus improving the safety and efficiency of hair removal devices.
Patent Information
- Application Number
- CN202511083623.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-04
- Publication Date
- 2025-11-11
AI Technical Summary
Existing hair removal devices use an RGB color model, which leads to inaccurate skin tone recognition, low energy matching efficiency, and safety hazards.
The system employs the HSV color model for skin color recognition and combines it with temperature closed-loop protection. Through modules for color data acquisition, model conversion, energy determination, and temperature data acquisition, it achieves precise energy matching and safe control.
It improves the accuracy and safety of skin color recognition, ensures that the treatment energy matches the user's skin color, reduces the risk of thermal damage, and enhances hair removal results and device efficiency.
Smart Images

Figure CN120918581A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of personal care device technology, and in particular to a device and method for skin color recognition and temperature closed-loop protection of a hair removal device based on the HSV model. Background Technology
[0002] As a common personal care device, the improvement of intelligence and safety in home hair removal devices is an important direction for technological development. Currently, most hair removal devices automatically match the appropriate treatment energy by recognizing the user's skin color in order to achieve safe and effective hair removal results. In existing technologies, RGB color sensors are typically used to collect skin color information and skin tone is determined based on the RGB color model.
[0003] However, the RGB color model itself has inherent technical flaws. First, the color space distribution of this model is uneven, resulting in weak ability to distinguish similar skin tones during color quantification analysis, easily leading to recognition errors. Second, the values in the RGB color space differ significantly from the actual color perception of the human eye, and it is highly sensitive to changes in external lighting conditions; even slight fluctuations in lighting or sensor noise can cause significant deviations in the recognition results. This inaccurate skin tone recognition directly affects the setting of subsequent treatment energy. If the energy setting is too low, it will affect the hair removal effect; if the energy setting is too high, it may cause thermal damage to the user's skin, posing a safety hazard. Summary of the Invention
[0004] The purpose of this application is to address the technical problems of inaccurate skin color recognition and low energy matching efficiency in existing hair removal devices due to the use of the RGB color model. This application provides a device for skin color recognition and temperature closed-loop protection of hair removal devices based on the HSV model, which improves the accuracy of skin color recognition, enables rapid energy matching, and combines temperature for closed-loop protection, thereby comprehensively improving the safety and effectiveness of hair removal treatment.
[0005] To achieve the above objectives, this application provides a device for skin color recognition and temperature closed-loop protection in a hair removal device based on the HSV model, comprising:
[0006] The color data acquisition module is used to acquire the RGB color data of the skin area to be treated.
[0007] The color model conversion module is used to convert the RGB color data into HSV color data containing hue (H), saturation (S), and lightness (V) values.
[0008] An energy determination module is used to determine the corresponding treatment energy value based on the HSV color data;
[0009] A temperature data acquisition module is used to acquire the temperature value of the skin area to be treated; and a treatment control module is used to control the light source to perform treatment with the determined treatment energy value when the acquired temperature value is lower than a preset safety threshold.
[0010] Furthermore, the energy determination module is specifically used to: quantize the HSV color data; and use the quantized HSV color data as an index to look up the corresponding therapeutic energy value in a preset energy lookup table.
[0011] Furthermore, the energy determination module is specifically used to: calculate the treatment energy value based on the HSV color data according to a preset fitting formula.
[0012] Furthermore, the energy determination module is also used to: determine whether the H value in the HSV color data is within a preset skin tone range before determining the treatment energy value; and determine the treatment energy value only when the H value is within the skin tone range.
[0013] Furthermore, the color data acquisition module is also used to: trigger the acquisition of RGB color data after detecting that the device is in contact with the skin area to be treated; and the acquired RGB color data is data obtained after multiple collections of the skin area to be treated and average filtering processing.
[0014] Furthermore, the device also includes a supplementary light, which is used to provide a standardized lighting environment for the skin area to be treated when the color data acquisition module acquires the RGB color data.
[0015] Furthermore, the temperature data acquisition module includes an infrared temperature sensor for non-contact acquisition of the temperature value of the skin area to be treated.
[0016] Furthermore, the treatment control module is also used to: determine a temperature adjustment factor based on the acquired temperature value, and calculate the final treatment energy based on the determined treatment energy value and the temperature adjustment factor; wherein the temperature adjustment factor decreases as the temperature value increases.
[0017] To achieve the above objectives, this application also provides a control method for a hair removal device, comprising:
[0018] Obtain the RGB color data of the skin area to be treated;
[0019] The RGB color data is converted into HSV color data containing hue (H) value, saturation (S) value, and lightness (V) value.
[0020] The corresponding therapeutic energy value is determined based on the HSV color data;
[0021] Obtain the temperature value of the skin area to be treated;
[0022] When the acquired temperature value is lower than the preset safety threshold, the light source is controlled to perform treatment with the determined therapeutic energy value.
[0023] Furthermore, the step of controlling the light source to perform treatment at the determined therapeutic energy value when the acquired temperature value is lower than a preset safety threshold includes:
[0024] When the acquired temperature value is lower than a preset safety threshold, a temperature adjustment factor is determined based on the acquired temperature value.
[0025] Based on the determined treatment energy value and the temperature adjustment factor, the final treatment energy is calculated.
[0026] And, controlling the light source to perform treatment with the final therapeutic energy;
[0027] Compared with the prior art, this application has the following beneficial effects:
[0028] 1. Improved recognition accuracy and treatment effectiveness. This application replaces the traditional RGB model with the HSV model, which is less sensitive to changes in lighting and has a more uniform color space distribution. This more accurately reflects human color perception and significantly improves the accuracy of skin tone recognition. This ensures that the treatment energy is optimally matched to the user's actual skin tone, thereby effectively improving the final hair removal result.
[0029] 2. Enhanced safety. This application establishes a dual safety mechanism. First, through precise skin color recognition and energy matching, the risk caused by excessively high energy settings is reduced at the source. Second, by acquiring skin temperature in real time and using it as a necessary condition for treatment execution, a closed-loop safety control is formed, effectively preventing burns caused by excessively high local skin temperature (whether due to repeated operations or improper initial energy), making it far safer than existing technologies.
[0030] 3. Improved operational efficiency. This application establishes a direct and deterministic relationship between HSV color data and treatment energy values, such as through calculation using a fitting formula or lookup table, replacing the large-scale data comparison or complex judgment logic that may be required in traditional technologies. This greatly improves the calculation speed of energy matching and reduces the requirements for processor performance and storage space, making this solution particularly suitable for embedded hair removal device systems with limited hardware resources. Attached Figure Description
[0031] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0032] Figure 1 This is a schematic diagram of the device flow for skin color recognition and temperature closed-loop protection of a hair removal device based on the HSV model provided in the embodiments of this application;
[0033] Figure 2 This is a flowchart illustrating the implementation of a skin color recognition and temperature closed-loop protection device for a hair removal device based on the HSV model, as provided in this application embodiment.
[0034] Figure 3 A flowchart of a method for skin color recognition and temperature closed-loop protection of a hair removal device based on the HSV model provided in this application embodiment;
[0035] Figure 4 This is a timing diagram of the signaling interaction between the components in one embodiment of this application.
[0036] Figure labeling: 10-Main controller; 20-Color sensor; 21-Supplemental light; 30-Temperature sensor; 40-Touch chip; 50-IPL treatment unit; 60-User interface. S101-Initialization; S102-Detect skin contact; S103-Acquire RGB data; S104-Convert to HSV data; S105-Determine treatment energy; S201-Acquire temperature data; S202-Determine if temperature is below threshold; S301-If below threshold, execute treatment. Detailed Implementation
[0037] To better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0038] Please see Figure 1 , Figure 1 This is a schematic diagram of the device flow diagram for skin color recognition and temperature closed-loop protection of a hair removal device based on the HSV model provided in this application embodiment. The device includes:
[0039] Color data acquisition module 01 is used to acquire RGB color data of the skin area to be treated;
[0040] Color model conversion module 02 is used to convert the RGB color data into HSV color data containing hue (H) value, saturation (S) value, and lightness (V) value;
[0041] The energy determination module 03 is used to determine the corresponding treatment energy value based on the HSV color data;
[0042] Temperature data acquisition module 04 is used to acquire the temperature value of the skin area to be treated;
[0043] The treatment control module 05 is used to control the light source to perform treatment with the determined treatment energy value when the acquired temperature value is lower than the preset safety threshold.
[0044] Example 1
[0045] This embodiment provides a hair removal device control apparatus and control method based on HSV model and temperature detection, aiming to combine accurate energy calculation based on HSV color model with real-time safety protection based on infrared temperature sensor to achieve safe, efficient and intelligent hair removal treatment.
[0046] Please see Figure 2 The hair removal device is centered around a main controller 10, which can be a microcontroller unit, an embedded processor, or an application-specific integrated circuit (ASIC) and is responsible for the computation and control of the entire device. The main controller 10 is electrically connected to and interacts with various functional components of the device via an internal bus or a dedicated input / output interface.
[0047] Specifically, the device includes a color sensor 20, which constitutes a color data acquisition module 01 for acquiring color information of the skin area to be treated. In one embodiment of this application, the color sensor 20 is capable of outputting digitized red, green, and blue component values. To ensure stable and reliable color data under different ambient light conditions, the device is also equipped with a supplementary light 21 controlled by a main controller 10, which is typically a high-brightness white light-emitting diode. During color acquisition, the main controller 10 first illuminates the supplementary light 21 to provide a standardized and constant lighting environment for the color sensor 20, thereby minimizing the interference of ambient light changes on skin color recognition results.
[0048] The touch chip 40 is a capacitive or resistive contact sensor integrated into the treatment head of the hair removal device. When the treatment head makes effective contact with the user's skin, the touch chip 40 can detect changes in capacitance or resistance and send an interrupt signal or status signal to the main controller 10 as a starting condition to trigger subsequent skin color recognition and treatment processes.
[0049] Temperature sensor 30 constitutes temperature data acquisition module 04. As a preferred implementation, this embodiment employs a non-contact infrared temperature sensor. This sensor measures temperature by detecting infrared radiation emitted from the skin surface, eliminating the need for direct physical contact and ensuring hygiene and convenience. Temperature sensor 30 is connected to main controller 10 via a serial communication interface (e.g., system management bus or internal integrated circuit bus), providing raw temperature data to main controller 10 at a set frequency (e.g., every 50 milliseconds).
[0050] The intense pulsed light (IPL) treatment unit 50 is the core component for performing hair removal. It typically includes a xenon lamp, a high-voltage capacitor, a charging circuit, and a drive circuit. The main controller 10, by controlling the drive circuit, can precisely regulate the discharge energy from the high-voltage capacitor to the xenon lamp, thereby controlling the energy density and pulse width of the emitted intense pulsed light, i.e., the treatment energy value described in this application.
[0051] User interface 60 is used for information interaction with the user. User interface 60 may include, but is not limited to, LED indicator lights (such as power, status, or fault indicator lights), a buzzer, or a more complex liquid crystal display screen. Through user interface 60, the device can display the current operating status and energy level to the user, or issue an audible and visual alarm when abnormal conditions such as excessively high skin temperature are detected.
[0052] It should be noted that in this embodiment, functions such as color model conversion, energy determination, and treatment control are all implemented by the main controller 10 by executing preset program code in its internal solid-state memory.
[0053] Please refer to the following: Figure 3 and Figure 4 The working process of this hair removal device will be described in detail below.
[0054] In step S101, after the device is powered on, the main controller 10 executes the initialization program, performs self-tests on each hardware module, and enters standby mode.
[0055] In step S102, when the user holds the hair removal device and presses its treatment head onto the skin area to be treated, the device detects skin contact. Specifically, after the touch chip 40 detects effective contact with the skin, it immediately sends a contact signal to the main controller 10.
[0056] When the main controller 10 receives the contact signal, it marks the start of a treatment cycle and initiates the skin color recognition process and temperature detection process in parallel or quasi-parallel.
[0057] In the skin color recognition and energy adaptation process, step S103 is executed first to acquire RGB data. The main controller 10 illuminates the supplementary light 21 adjacent to the color sensor 20 via a control signal to create a stable local lighting environment. Next, the main controller 10 sends instructions to the color sensor 20 through the communication interface, requesting it to continuously acquire color data of the skin area to be treated. To improve data stability and anti-interference capability, this embodiment employs a strategy of multiple acquisitions followed by averaging and filtering. For example, the main controller 10 can continuously read the RGB data output by the color sensor 20 10 times, and then perform averaging and filtering on these 10 sets of data. That is, the 10 R values, 10 G values, and 10 B values are summed and averaged to obtain a stable and representative set of average R, G, and B values. This step effectively eliminates errors caused by random noise and minor fluctuations in a single measurement.
[0058] Subsequently, in step S104, the acquired RGB data is converted into HSV data. The main controller 10 internally runs a preset color space conversion algorithm, taking the average R, G, and B values obtained in the previous step as input, and converting them into HSV color data containing three components: hue (H), saturation (S), and lightness (V). It is understood that the HSV color model is more consistent with the visual perception characteristics of the human eye, where the V value directly corresponds to the brightness of the color, and the H and S values jointly describe the hue and purity of the color. Furthermore, this model has better robustness to changes in light intensity. This conversion algorithm is a standard algorithm in this field, and its core logic is as follows: First, the 8-bit R, G, and B values (range 0-255) are normalized to the range of 0-1, and then the maximum value (max) and minimum value (min) among the three are found. Lightness V is max; saturation S is calculated as (max-min) / max, and if max is 0, then S is 0; the calculation of hue H differs depending on whether max is R, G, or B, and finally, the result is mapped to a range of 0-360 degrees. To facilitate subsequent calculations, this embodiment further normalizes the S and V values to the range of 0-100.
[0059] Next, in step S105, the treatment energy is determined. As a preferred implementation, the main controller 10 first determines the validity of the skin tone. Specifically, the main controller 10 checks whether the H value calculated in the previous step is within a preset valid skin tone range, for example, between 15 and 45. This range, calibrated through extensive experimental data, covers the tone range of most human skin while excluding interference from non-skin colors (such as dark clothing, tattoos, etc.). If the H value is not within this range, the main controller 10 determines that the currently contacted area is not a valid treatment area and terminates the treatment process, notifying the user through the user interface 60. If the H value is within the valid range, the main controller 10 calculates the treatment energy value P that precisely matches the current skin tone based on a preset fitting formula, using the three values H, S, and V. This formula is a core aspect of this application, mapping multidimensional color information to a one-dimensional energy level. In this embodiment, the fitting formula can be designed as follows:
[0060]
[0061] This formula comprehensively considers the influence of three factors—H (lightness), S (saturation), and V (brightness)—on energy settings, assigning them different weights. For example, V (brightness) has the highest weight (0.8), meaning the whiter the skin (higher V), the higher the base energy. H (hue) and S (saturation) values also participate in the adjustment, jointly ensuring precise energy matching. The constants in the formula (such as 52, 45, 64, 50, 80) are all empirical parameters obtained through fitting a large amount of experimental data to achieve the best balance between hair removal effect and safety.
[0062] Meanwhile, in the temperature detection process, step S201 is executed to acquire temperature data. The main controller 10 continuously reads raw temperature data from the infrared temperature sensor 30 at fixed intervals of 50 milliseconds via a serial communication interface. Since the raw data is not a direct Celsius value, the main controller 10 needs to convert it to a standard Celsius temperature value TA using a conversion formula based on the sensor's technical manual. For example, the conversion formula is as follows:
[0063] TA(℃)=Data×0.02-273.15 (2)
[0064] This step ensures that the main controller 10 can accurately monitor the surface temperature of the skin area to be treated in real time.
[0065] Ultimately, the results of the two parallel processes converge at a decision point to execute conditional treatment. In step S202, the main controller 10 compares the real-time acquired skin temperature TA with a preset safety threshold (e.g., 42°C). This threshold is based on a critical temperature determined by medical research that the skin can withstand without causing thermal damage.
[0066] If the TA is below the safety threshold, it indicates that the current skin condition is safe and treatment can proceed. Accordingly, the process proceeds to step S301, where the main controller 10 sends a treatment command to the intense pulsed light therapy unit 50. This command includes the treatment energy value P calculated in step S105. Upon receiving the command, the intense pulsed light therapy unit 50 precisely performs a single flash treatment with energy P.
[0067] Conversely, if TA is equal to or higher than the safety threshold, it indicates that the skin temperature is too high, possibly due to the user staying in the same position for too long or performing repeated operations. In this case, to ensure user safety, the main controller 10 will prohibit treatment operations, i.e., it will not send any instructions to the intense pulsed light therapy unit 50. Simultaneously, the main controller 10 can drive the user interface 60, for example, by illuminating a red warning light or emitting a buzzer, to prompt the user to change the treatment area and wait for the skin to cool down.
[0068] Through the above process, the device and method of this embodiment constitute a complete closed-loop control system of "precise identification - rapid adaptation - safety monitoring". This system not only ensures the rationality of energy output from the source, but also provides the final safety guarantee through real-time temperature monitoring, thereby greatly improving the intelligence level, treatment effect and safety of the hair removal device.
[0069] Example 2
[0070] This embodiment is a variation of Embodiment 1, the main difference being a different specific implementation of the "energy determination module 03". In some embedded systems with extremely high computational speed requirements or limited processor computing power, using a lookup table method instead of real-time formula calculation can achieve better performance.
[0071] The hardware structure of this embodiment is exactly the same as that of Embodiment 1, as shown in the attached figure. Figure 2 As shown, most steps of its control flow, including steps S101 (initialization), S102 (detecting skin contact), S103 (acquiring RGB data), S104 (converting to HSV data), S201 (acquiring temperature data), S202 (determining whether the temperature is below the threshold), and S301 (performing treatment), are completely consistent with the description in Example 1. The core difference in this embodiment lies in the implementation method of step S105 (determining treatment energy).
[0072] In Example 1, the energy value P is calculated in real time using a complex floating-point formula. As an optional implementation, in this example, the function of the energy determination module 03 is performed by the main controller 10 by consulting a preset energy lookup table. This energy lookup table is pre-stored in the non-volatile memory (such as flash memory) of the main controller 10, and is essentially a three-dimensional array. The index consists of quantized H, S, and V values, and the stored content is the corresponding preset energy value.
[0073] The specific working process is as follows: After the main controller 10 calculates the precise H, S, and V values through step S104, it first quantizes these continuous values and maps them to discrete levels to serve as indexes for the lookup table. For example: 1. For H values (range 0-360), they can be quantized into 8 levels. For example, the effective skin tone range (15-45) is divided into 8 intervals, each interval corresponding to an index value (0-7). 2. For S values (range 0-100), they can be quantized into 4 levels. For example, 0-25 corresponds to index 0, 26-50 corresponds to index 1, 51-75 corresponds to index 2, and 76-100 corresponds to index 3. 3. For V values (range 0-100), they can also be quantized into 4 levels, in a similar way to S values.
[0074] Through the above quantization, any set of HSV data will be converted into a unique, discrete set of indices (index_H, index_S).
[0075] Subsequently, the main controller 10 uses the quantized index to directly look up the corresponding pre-stored energy value P in the preset three-dimensional energy lookup table EnergyLUT[index_H][index_S][index_V]. The contents of this lookup table were calibrated through a large amount of experimental data during the product design phase. In other words, researchers can conduct extensive tests on people of various skin tones, record the energy values that achieve the best hair removal effect and comfortable user experience at different HSV values, and then fill these data into the lookup table.
[0076] The advantages of this method are: 1. High execution efficiency: Lookup table operations are generally much faster than complex floating-point multiplication and addition operations, significantly shortening the time for energy determination and improving device response speed. 2. High flexibility: Lookup tables can represent any complex, non-linear mapping relationship, not just those described by a single formula. This allows for more precise energy matching, better fitting of the actual skin color-energy optimal correspondence curve, and potentially achieving better results than formula calculations.
[0077] After determining the treatment energy value P by looking up a table, the subsequent temperature detection and conditional treatment steps (S201, S202, S301) are exactly the same as in Example 1. The main controller 10 will still compare the real-time temperature TA with the safety threshold to determine whether to perform treatment with energy P.
[0078] Therefore, this embodiment demonstrates that the specific method for determining energy in the technical solution proposed in this application is flexible. It can be either calculated by formula or looked up by table, and both methods can realize the core idea of determining therapeutic energy based on HSV data.
[0079] Example 3
[0080] This embodiment is another variation of Embodiment 1, intended to illustrate the universality of the technical solution of this application, particularly showing that the "temperature data acquisition module 04" can be implemented using different sensor technologies. In this embodiment, the non-contact infrared temperature sensor in Embodiment 1 is replaced with a contact temperature sensor.
[0081] In this embodiment, the overall system structure of the hair removal device (refer to...) Figure 2 This embodiment is largely the same as Example 1, except for the specific type of temperature sensor 30. Here, the temperature sensor 30 employs a high-precision negative temperature coefficient thermistor. To achieve accurate contact temperature measurement, this negative temperature coefficient thermistor is carefully positioned at the edge of the light outlet of the treatment head, for example, close to the side of the sapphire crystal used for skin cooling, ensuring a good heat conduction path between it and the skin. When the treatment head is pressed against the skin, the negative temperature coefficient thermistor can quickly reach a temperature close to that of the skin surface at the point of contact.
[0082] Accordingly, the method by which the main controller 10 acquires temperature data (step S201) also changes. The specific process is as follows: 1. The main controller 10 measures the resistance value of the negative temperature coefficient thermistor through its built-in analog-to-digital converter. This is usually achieved through a voltage divider circuit, in which the negative temperature coefficient thermistor is connected in series with one or more precision fixed resistors. The main controller 10 measures the voltage at the voltage divider point and then calculates the real-time resistance value R of the thermistor according to Ohm's law and the known fixed resistor value. 2. After obtaining the resistance value R, the main controller 10 needs to convert it to a Celsius temperature value TA. This can be done by consulting the resistance-temperature characteristic table of the negative temperature coefficient thermistor, or more precisely, using a standard conversion formula, such as the Stendhal-Hart equation:
[0083]
[0084] Where T is the absolute temperature (Kelvin), R is the measured resistance value, and A, B, and C are coefficients specific to this thermistor, which are provided by the manufacturer or obtained through experimental calibration. After the main controller 10 executes the formula for calculation, it converts the obtained absolute temperature T into Celsius temperature TA (TA = T - 273.15).
[0085] Except for the different method of temperature acquisition, all other steps in this embodiment, including skin color recognition and energy determination (whether using the formula method of Embodiment 1 or the lookup table method of Embodiment 2) and the final temperature-based conditional treatment decision, are exactly the same as in the aforementioned embodiments. The main controller 10 will still compare the calculated contact temperature TA with a safety threshold (e.g., 42°C) to determine whether to perform treatment.
[0086] The present embodiment demonstrates that the technical solution protected by this application is not limited to a specific type of temperature sensor. Whether a non-contact infrared sensor, a contact negative temperature coefficient thermistor, or other types of temperature sensors (such as thermocouples, digital temperature sensors, etc.) are used, as long as the function of obtaining the temperature value of the skin area to be treated can be achieved, they all fall within the scope of the protection concept of this application. This greatly enhances the flexibility of the solution and its applicability to products with different costs and design requirements.
[0087] Example 4
[0088] This embodiment provides a more refined and intelligent control strategy based on Embodiment 1, and deeply optimizes the function of the "treatment control module 05". In the previous embodiment, temperature monitoring acted as a "hard switch": as long as the temperature was below the threshold, treatment was performed using the full calculated energy; once the threshold was exceeded, treatment was completely prohibited. This embodiment introduces a dynamic energy adjustment mechanism, using temperature data not only as a switch-type protection but also as a dynamic adjustment factor for energy output to achieve smoother and more proactive closed-loop control.
[0089] The hardware structure of this embodiment is exactly the same as that of Embodiment 1, using an infrared temperature sensor for non-contact temperature measurement. The first half of its control flow is also consistent with Embodiment 1: through steps S102 to S105, the main controller 10 calculates a basic treatment energy value based on HSV data, denoted as P_base. Simultaneously, through step S201, the skin temperature TA is acquired in real time.
[0090] The innovation of this embodiment lies in the calculation and control method of the final treatment energy. The skin color recognition and temperature closed-loop protection method for hair removal devices based on the HSV model in this embodiment deepens the original step S301. The specific process is as follows:
[0091] Before treatment, the main controller 10 calculates a "temperature regulation factor," denoted as f(TA), based on the real-time acquired temperature TA. This regulation factor is a value between 0 and 1, and its magnitude is negatively correlated with skin temperature; that is, the higher the temperature, the smaller the factor value. The specific functional relationship of this factor can be designed to be very smooth, for example: - When TA is less than 37°C (normal body temperature range), f(TA) = 1. This means that no energy attenuation occurs when the skin temperature is normal. - When 37°C is less than or equal to TA and less than 42°C (temperature rises but does not reach the danger threshold), f(TA) decreases linearly or non-linearly from 1. A simple example of a linear function is as follows:
[0092]
[0093] According to this formula, when TA is 37℃, f(TA) is 1; when TA is 39.5℃, f(TA) is 0.5; when TA approaches 42℃, f(TA) approaches 0. When f(TA) ≥ 42℃ (reaching or exceeding the safety threshold), f(TA) = 0. This ensures that the rigid safety cutoff mechanism remains effective.
[0094] After calculating the temperature regulation factor f(TA), the main controller 10 calculates the final healing energy p_final to be applied, using the following formula:
[0095] P final =P base ×f(TA)
[0096] Then, the main controller 10 sends a treatment command to the intense pulsed light therapy unit 50, which contains the dynamically adjusted final treatment energy value p_final.
[0097] In this way, this embodiment achieves more intelligent safety protection. The skin tone recognition and temperature closed-loop protection device based on the HSV model in this embodiment no longer passively waits for the temperature to reach the red line before urgently braking. Instead, it actively and gradually reduces the output energy when the skin temperature begins to rise. This brings multiple benefits: 1. Improved comfort: Smooth energy reduction avoids the abruptness and discomfort that simple "on / off" control might cause to the user's treatment experience. 2. Enhanced safety: Actively reducing energy effectively slows down the rate of skin temperature rise, providing the user with more reaction time to move the device, fundamentally reducing the possibility of reaching the burn threshold. 3. Optimized treatment process: Ensuring effective treatment continues as long as possible while maintaining safety, rather than simply interrupting it, may help complete the entire treatment process with a more comfortable experience.
[0098] The dynamic energy regulation mechanism demonstrated in this embodiment is a significant improvement over the basic scheme. It embodies the design concept of more deeply integrating skin color recognition and temperature monitoring, and provides a specific and feasible technical path for realizing high-end, intelligent personal care devices.
[0099] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A device for skin color recognition and temperature closed-loop protection in a hair removal device based on the HSV model, characterized in that, include: The color data acquisition module is used to acquire the RGB color data of the skin area to be treated. The color model conversion module is used to convert the RGB color data into HSV color data containing hue (H), saturation (S), and lightness (V) values. An energy determination module is used to determine the corresponding treatment energy value based on the HSV color data; The temperature data acquisition module is used to acquire the temperature value of the skin area to be treated; The treatment control module is used to control the light source to perform treatment with the determined treatment energy value when the acquired temperature value is lower than the preset safety threshold.
2. The apparatus according to claim 1, characterized in that, The energy determination module is specifically used for: The HSV color data is quantized. Furthermore, the quantized HSV color data is used as an index to look up the corresponding therapeutic energy value in a preset energy lookup table.
3. The apparatus according to claim 1, characterized in that, The energy determination module is specifically used for: The therapeutic energy value is calculated based on the HSV color data according to a preset fitting formula.
4. The apparatus according to claim 1, characterized in that, The energy determination module is also used for: Before determining the treatment energy value, it is determined whether the H value in the HSV color data is within a preset skin tone range; Furthermore, the therapeutic energy value is determined only when the H value is within the range of the skin color.
5. The apparatus according to claim 1, characterized in that, The color data acquisition module is also used for: Upon detecting contact between the device and the skin area to be treated, the acquisition of the RGB color data is triggered. Furthermore, the acquired RGB color data is obtained by collecting data from the skin area to be treated multiple times and then performing an average filtering process.
6. The apparatus according to claim 1, characterized in that, The device further includes: A supplementary light is used to provide a standardized lighting environment for the skin area to be treated when the color data acquisition module acquires the RGB color data.
7. The apparatus according to claim 1, characterized in that, The temperature data acquisition module includes an infrared temperature sensor for non-contact acquisition of the temperature value of the skin area to be treated.
8. The apparatus according to claim 1, characterized in that, The treatment control module is also used for: A temperature adjustment factor is determined based on the obtained temperature value, and the final treatment energy is calculated based on the determined treatment energy value and the temperature adjustment factor. The temperature adjustment factor decreases as the temperature value increases.
9. A method for skin color recognition and temperature closed-loop protection of a hair removal device based on the HSV model, characterized in that, A control device for a hair removal device according to any one of claims 1-8, comprising: Obtain the RGB color data of the skin area to be treated; The RGB color data is converted into HSV color data containing hue (H) value, saturation (S) value, and lightness (V) value. The corresponding therapeutic energy value is determined based on the HSV color data; Obtain the temperature value of the skin area to be treated; When the acquired temperature value is lower than the preset safety threshold, the light source is controlled to perform treatment with the determined therapeutic energy value.
10. The method according to claim 9, characterized in that, When the acquired temperature value is lower than a preset safety threshold, controlling the light source to perform treatment with the determined therapeutic energy value includes: When the acquired temperature value is lower than a preset safety threshold, a temperature adjustment factor is determined based on the acquired temperature value. Based on the determined treatment energy value and the temperature adjustment factor, the final treatment energy is calculated. And, controlling the light source to perform treatment with the final therapeutic energy; The temperature adjustment factor decreases as the temperature value increases.