Hair dryer and control method thereof

By using a dToF module and SPAD pixel array in the hair dryer, the detection field of view is divided to identify the nozzle and the target object, solving the problem that smart hair dryers cannot adjust parameters according to the nozzle status, and achieving higher precision intelligent control and user experience.

CN123126584APending Publication Date: 2026-11-20POLARISIC MICROELECTRONICS CO LTD (SHENZHEN)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611164068.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-31
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing smart hair dryers cannot automatically adjust blowing parameters based on the installation status of the nozzle, lacking intelligent control.

Method used

The dToF module, including a laser emitter and a SPAD pixel array, is used to detect the installation status of the nozzle and the presence of a target object at the air outlet by dividing the SPAD pixels into first-class and second-class pixels. The principle of photon counting imaging and photon time-of-flight ranging is used for accurate identification.

Benefits of technology

It enables accurate detection of nozzle installation status and target object, improves the intelligent control of the hair dryer, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123126584A_ABST
    Figure CN123126584A_ABST
Patent Text Reader

Abstract

The application provides a hair dryer and a control method thereof. The hair dryer comprises a hair dryer body and a nozzle detachably mounted on the hair dryer body. The hair dryer body is further provided with a dToF module. The dToF module comprises a laser emitter and a SPAD pixel array. The SPAD pixel array comprises a plurality of SPAD pixels. The plurality of SPAD pixels are divided into at least one first type of pixel and at least one second type of pixel. A first detection field of view of the first type of pixel is directed towards an inner wall of the nozzle. A second detection field of view of the second type of pixel is directed towards an air outlet of the nozzle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to intelligent electrical appliance technology, and more particularly to a hair dryer and its control method. Background Technology

[0002] Most hair dryers on the market today require manual adjustment of parameters such as temperature and airflow. In recent years, smart hair dryers that can automatically adjust these parameters have emerged. These hair dryers use sensors to detect temperature, airflow, and distance from the hair, generating corresponding signals that are sent to the control module. The control module then automatically adjusts the parameters accordingly to improve the user experience.

[0003] As an accessory to hair dryers, the nozzle is an important component for achieving different blowing effects. Therefore, for smart hair dryers, sensing whether a nozzle is installed and adjusting the blowing parameters accordingly is also an important function. However, current smart hair dryers, besides sensing temperature and wind speed, usually only sense the distance to the hair and do not sense or determine whether a nozzle is installed. Therefore, they cannot automatically adjust the blowing parameters based on the nozzle's installation status, which is not intelligent enough. Summary of the Invention

[0004] This application provides a hair dryer and a method for controlling the same.

[0005] In a first aspect, embodiments of this application provide a hair dryer, the hair dryer including a hair dryer body and a nozzle detachably mounted on the hair dryer body, the hair dryer body also being provided with a dToF module, the dToF module including a laser emitter and a SPAD pixel array; wherein, the SPAD pixel array includes a plurality of SPAD pixels, the plurality of SPAD pixels being divided into at least one first type of pixel and at least one second type of pixel, the first detection field of view of the first type of pixel facing the inner wall of the nozzle, and the second detection field of view of the second type of pixel facing the air outlet of the nozzle.

[0006] By employing the aforementioned technical means, the multiple SPAD pixels in the SPAD pixel array are divided into at least one first-class pixel and at least one second-class pixel. Since the first-class pixel's first detection field of view faces the inner wall of the nozzle, it can detect the nozzle's installation status. Conversely, since the second-class pixel's second detection field of view faces the nozzle's air outlet, it can detect the presence of a target object at the air outlet. In this way, by clearly defining the detection targets of each different class of pixels, not only is the nozzle's installation status and the target object detected, but interference between detection data from different classes of pixels is also effectively reduced, improving the accuracy of the detection results and enhancing the intelligent control of the hair dryer.

[0007] In some embodiments, the hair dryer includes a working mode, and the hair dryer is configured to: in the working mode, turn on the laser emitter, determine whether the nozzle is installed on the hair dryer body based on the first photon data on the first type of pixel, determine whether there is a target object at the air outlet based on the second photon data on the second type of pixel, and adjust the operating parameters of the hair dryer based on the determination results.

[0008] By using the aforementioned technical means, the installation status of the nozzle and the presence of a target object at the air outlet can be determined by triggering the working mode of the hair dryer. Based on the judgment results, the operating parameters of the hair dryer can be adjusted, realizing intelligent control of the hair dryer and improving the user's experience.

[0009] In some embodiments, the hair dryer includes a preset mode, and the hair dryer is configured to: perform pixel calibration on a plurality of SPAD pixels in the SPAD pixel array in the preset mode; the pixel calibration includes: turning on the laser emitter, acquiring photon detection data of each SPAD pixel in the SPAD pixel array, and classifying each SPAD pixel into a first type of pixel or a second type of pixel according to the photon detection data.

[0010] Using the aforementioned technical means, in the hair dryer's preset mode, the laser emitter is activated and photon detection data of each SPAD pixel is acquired to perform pixel calibration on multiple SPAD pixels. These pixels are divided into a first category and a second category. The detection field of view of the first category pixels faces the inner wall of the nozzle, enabling detection of whether a nozzle is installed. The detection field of view of the second category pixels faces the air outlet of the nozzle, enabling detection of whether a target object (hair, damp items, etc.) is present at the air outlet of the hair dryer. This allows for separate and independent identification of the nozzle installation status and the presence of a target object, resulting in higher accuracy. Furthermore, the preset mode can be factory-set as needed, or users can set it according to their actual needs after leaving the factory, making the hair dryer more adaptable to various application scenarios.

[0011] In some embodiments, the pixel calibration includes: when the nozzle is installed on the hair dryer body and there is no target object at the air outlet, turning on the laser emitter and turning on each SPAD pixel in the SPAD pixel array one by one to obtain photon detection data of each SPAD pixel; determining whether the photon detection data of each SPAD pixel in the SPAD pixel array meets a preset condition; if the preset condition is met, determining that the SPAD pixel is a first type of pixel; otherwise, determining that the SPAD pixel is a second type of pixel.

[0012] Using the aforementioned techniques, since hair dryers and nozzles are generally used together, and the nozzle's installation position, shape, and surface reflectivity are fixed, photon detection data of the SPAD pixels corresponding to the nozzle's detection field of view can be obtained in advance. Based on this, preset conditions can be set. During pixel calibration, if the photon detection data of the SPAD pixel meets these preset conditions, the detection field of view of that SPAD pixel is considered to be located on the inner wall of the nozzle, and the SPAD pixel is determined to be a first-type pixel; otherwise, it is determined to be a second-type pixel. This pixel calibration method can accurately and efficiently distinguish between first-type and second-type pixels using the nozzle, without the need for other tools or specific scene settings, making pixel calibration more convenient and efficient.

[0013] In some embodiments, the photon detection data includes at least one of photon count values, a photon time-of-flight statistical histogram, and a photon count heatmap.

[0014] Through the aforementioned technical means, the different forms of photon detection data correspond to several different principles applied when using a dToF module to identify nozzles or target objects. Specifically, photon count values ​​correspond to the dToF module's use of Photon Counting Imaging (PCI) to identify nozzles and target objects; photon time-of-flight histograms correspond to the dToF module's use of direct photon time-of-flight ranging; and photon count thermal maps correspond to the dToF module's use of thermal imaging. By acquiring multiple forms of photon detection data, hair dryers can apply various principles to identify nozzles or target objects, thus becoming suitable for more usage scenarios. Furthermore, a combination of multiple principles can achieve a comprehensive judgment for nozzle or target object identification, resulting in more accurate and reliable identification results.

[0015] In some embodiments, the photon detection data is a photon count value, and the preset condition is that the photon count value is greater than or equal to a first preset threshold.

[0016] Using the aforementioned techniques, when the photon detection data is a photon count value, it indicates that the dToF module is using the photon counting imaging (PCI) principle to identify the air nozzle. In this case, since there is no target object at the air outlet of the air nozzle and photons cannot be reflected back, the SPAD pixels corresponding to the air outlet of the air nozzle in the detection field of view basically do not sense any photons or sense very few photons. Correspondingly, the photon count values ​​on these SPAD pixels are very low, appearing as darker areas in the grayscale image formed by photon counting imaging. Conversely, the SPAD pixels corresponding to the inner wall of the air nozzle in the detection field of view can sense a large number of photons reflected back from the inner wall of the air nozzle, resulting in higher photon count values ​​and appearing as brighter areas in the grayscale image formed by photon counting imaging. Therefore, a judgment threshold, i.e., a first preset threshold, can be set. When the photon count value of a SPAD pixel is greater than or equal to the first preset threshold, it is determined that the detection field of view of that SPAD pixel is facing the inner wall of the air nozzle, and the SPAD pixel is classified as a first-type pixel; otherwise, it is classified as a second-type pixel. This judgment method is reasonable and easy to implement, and it places lower requirements on the data processing module of the dToF module or the hair dryer.

[0017] In some embodiments, the photon detection data is a photon time-of-flight statistical histogram, and the preset condition is that the peak parameters of the photon time-of-flight statistical histogram are within a preset range, and the peak parameters include at least one of peak height, peak position, peak broadening, signal-to-noise ratio, confidence level, and standard deviation.

[0018] Using the aforementioned technical means, when the photon detection data is a photon time-of-flight statistical histogram, it indicates that the nozzle is identified using the dToF module based on the direct photon time-of-flight ranging principle. The photon time-of-flight statistical histogram can directly reflect the distance information and reflectivity information between the nozzle or target object and the dToF module. Since the nozzle's installation position on the blower is fixed, the nozzle shape is fixed, and the nozzle surface reflectivity is also fixed, the dToF module can be used to measure the distance of the nozzle in advance to obtain a photon time-of-flight statistical histogram (hereinafter referred to as the "preset histogram"). The key peak parameters are extracted to determine a suitable preset range. Then, in the pixel calibration stage, the photon time-of-flight statistical histogram obtained by each SPAD pixel is compared with the preset histogram. If one or more peak parameters in the histogram obtained in the pixel calibration stage are within the preset range, it can be indicated that the detection field of view of the SPAD pixel corresponds to the inner wall of the nozzle, which is a first-type SPAD pixel; otherwise, it is a second-type pixel. In addition, combining multiple peak parameters for comprehensive comparison can eliminate random errors and further improve the accuracy of judgment.

[0019] In some embodiments, the pixel calibration includes: in two cases, where the nozzle is installed on the hair dryer body and there is no target object at the air outlet, and in two cases, where the nozzle is installed on the hair dryer body and there is a target object at the air outlet, each SPAD pixel in the SPAD pixel array is turned on one by one, and the difference value of the photon detection data of each SPAD pixel in the two cases is obtained; for each SPAD pixel, if the difference value of the SPAD pixel is less than or equal to a third preset threshold, if so, the SPAD pixel is determined to be a first type of pixel; otherwise, the SPAD pixel is determined to be a second type of pixel.

[0020] By utilizing the aforementioned technical means, and taking advantage of the significant difference in photon detection data between the nozzle's outlet and the presence of a target object (lower photon detection data in the absence of a target object, and higher photon detection data in the presence of a target object), and the smaller difference in photon detection data between the first-type pixels aligned with the inner wall of the blower, the difference in photon detection data for each SPAD pixel under these two conditions can be analyzed and compared with a third preset threshold to determine whether each SPAD pixel is a first-type or second-type pixel. This method, by comparing the photon detection data of each SPAD pixel under both conditions, reduces the sporadic errors that may occur when relying solely on single-shot photon detection data to determine pixel type, resulting in more accurate pixel type identification.

[0021] In some embodiments, the pixel calibration includes: when the nozzle is installed on the hair dryer body and there is no target object at the air outlet, acquiring a photon counting heat map of the SPAD pixel array, and determining the at least one first type pixel and the at least one second type pixel from the SPAD pixel array based on the photon counting heat map and the outline information of the nozzle and / or the projection information of the nozzle in a first direction; the first direction is a direction perpendicular to the central axis of the nozzle.

[0022] By utilizing the aforementioned technical means, the extremely high sensitivity of the SPAD pixel array is used to collect thermal radiation signals, and the photon detection data distribution of each SPAD pixel in the SPAD pixel array is finally presented in the form of a heat map (temperature distribution map). This enables high-sensitivity, high-speed, and even high spatial resolution detection and imaging of the nozzle installation status and target objects under extremely low light conditions. In the heat map, the detection field of view of the brighter SPAD pixels (corresponding to larger count values) corresponds to the inner wall of the nozzle, while the detection field of view of the darker SPAD pixels (corresponding to smaller count values) corresponds to the air outlet facing the nozzle. Therefore, the photon count heat map can be used to intuitively determine which SPAD pixels are of the first type and which are of the second type. This determination method is more direct and effective. On this basis, combining the heat map with the outline information of the nozzle and / or the projection information of the nozzle in the first direction can further classify the SPAD pixels more accurately and reduce the judgment error.

[0023] In some embodiments, the first type of pixels and the second type of pixels can be turned on simultaneously. When the first type of pixels and the second type of pixels are turned on simultaneously, the analysis and processing of the first photon data on the first type of pixels and the second photon data on the second type of pixels are performed in different measurement channels, or in the same measurement channel in a time-division manner.

[0024] By simultaneously activating the first and second types of pixels using the aforementioned techniques, the efficiency of acquiring and processing the first and second photon data can be improved. This allows for simultaneous identification of the nozzle and the target object, enabling faster and more efficient integration and analysis of the two identification results. This, in turn, improves the efficiency and accuracy of the smart hair dryer's automatic adjustment of operating parameters, further enhancing the user experience. To avoid data loss and mutual interference when simultaneously activating the first and second types of pixels, the first and second photon data can be acquired and analyzed using different measurement channels. When hardware channel resources within the dToF module or hair dryer are limited, the same hardware measurement channel can be used for time-sharing acquisition and processing of the first and second photon data, reducing the demands on hardware resources.

[0025] Secondly, embodiments of this application provide a method for controlling a hair dryer, which is applied to the hair dryer described above. Attached Figure Description

[0026] Figure 1 This is a schematic diagram of the structure of a hair dryer provided in an embodiment of this application. Figure 1 ; Figure 2 This is a schematic diagram of a SPAD pixel array provided in an embodiment of this application; Figure 3This is a schematic diagram of the structure of a hair dryer provided in an embodiment of this application. Figure 2 . Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0029] In the following description, references to "some embodiments," "this embodiment," "this application embodiment," and examples, etc., describe a subset of all possible embodiments. However, it is understood that "some embodiments" may be the same subset or different subset of all possible embodiments and may be combined with each other without conflict.

[0030] The descriptions such as "first," "second," and "third" appearing in the embodiments of this application do not have a specific meaning (such as no order, nor do they indicate a special limitation on the number of devices in the embodiments of this application), but are merely for the purpose of clearly describing the embodiments of this application and do not constitute any limitation on the embodiments of this application.

[0031] To facilitate understanding of the technical solutions of the embodiments of this application, the relevant technologies or terms of the embodiments of this application are described below. The following relevant technologies or terms are optional solutions and can be combined with the technical solutions of the embodiments of this application in any way, and all of them fall within the protection scope of the embodiments of this application.

[0032] This application provides a hair dryer, such as... Figure 1 As shown, the hair dryer includes a hair dryer body 1 and a nozzle 2 detachably mounted on the hair dryer body. The hair dryer body 1 is also provided with a dToF module 11, which includes a laser emitter and a SPAD pixel array. The SPAD pixel array includes multiple SPAD pixels, which are divided into at least one first type of pixel and at least one second type of pixel. The first detection field of view of the first type of pixel faces the inner wall of the nozzle, and the second detection field of view of the second type of pixel faces the air outlet of the nozzle.

[0033] In the embodiments of this application, "the first detection field of view of the first type of pixel faces the inner wall of the nozzle" means that when the nozzle 2 is installed on the hair dryer body 1, the boundary line of the detection field of view of the first type of pixel is located on the inner wall of the nozzle 2. The first type of pixel can only detect photons reflected back by the inner wall of the nozzle 2, thereby obtaining photon detection data related to the nozzle 2. Similarly, "the second detection field of view of the second type of pixel faces the air outlet of the nozzle" means that when the nozzle 2 is installed on the hair dryer body 1, the boundary line of the detection field of view of the second type of pixel is within the boundary line of the air outlet of the nozzle 2, so that the second type of pixel can only detect photons reflected back by the target object at the air outlet of the nozzle 2, and cannot detect photons reflected back by other obstacles (such as the inner wall of the nozzle 2), thereby obtaining photon detection data related to the target object. In order to avoid or reduce the problem of missed detection of target objects, in some embodiments, the boundary line of the detection field of view of the second type of pixel can at least partially coincide with (e.g., tangent to) the boundary line of the air outlet of the nozzle 2.

[0034] In some embodiments, the dToF module is an optical ranging and sensing device. The dToF module can determine (range or image) objects within the detection field of view, and the hair dryer's control module then automatically adjusts relevant parameters based on the determination result. The dToF module may include a laser emitter and a single-photon avalanche diode (SPAD) pixel array for sensing photons. Here, the single-photon avalanche diode array is a detector integrating multiple SPAD pixels in a two-dimensional array form, serving as the core receiver of the dToF module. SPADs have single-photon level sensitivity, and their target detection sensitivity is higher than that of traditional sensors (such as pressure sensors, temperature sensors, etc.). Furthermore, SPAD data acquisition and output are both digital signals, without signal conversion, resulting in faster data processing speeds. Therefore, the signal processing module can more efficiently adjust the curling iron's working mode based on the detection results, resulting in more agile automatic control and a better user experience.

[0035] In this embodiment, the dToF module determines whether a nozzle is installed on the hair dryer body 1 based on the Time-of-Flight (ToF) principle. The laser emitter of the dToF module emits a large number of laser pulses. When the laser hits an object within the first detection field of view (such as the inner wall of the nozzle), it is reflected back to the photosensitive area of ​​the dToF module and sensed by the photosensitive element (i.e., the SPAD pixel array). The Time-to-Digital Converter (TDC) records the emission and sensing times of the light pulses to obtain the photon flight time. The counting module counts the number of photons within each time interval (timebox). The signal processing module statistically analyzes the photon flight time recorded by the TDC and the photon count value from the counting module. Combining this with the speed of light, the distance from the target object to the dToF module is calculated, and the presence of a nozzle is determined. It is understood that in the dToF module, the pulsed laser emitted by the laser emitter can be received by the SPAD pixels in the SPAD pixel array after reflection from the object.

[0036] In some embodiments, the dToF module can determine whether there is a hair bundle in the hair bundle receiving slot 3 by imaging based on the photon counting imaging principle. The dToF module determines whether there is a vent in the first detection field of view based on the light intensity sensed by the photosensitive element (SPAD pixel array) (characterized by the photon count value of the SPAD pixel). That is, if there is a vent in the field of view, the photosensitive element can sense the laser reflected back by the vent and generate photon count. The larger the count value, the greater the sensed light intensity.

[0037] In this embodiment, the dToF module may include the aforementioned TDC, counting module, and signal processing module. In this case, the dToF module is a complete module capable of ranging or imaging functions. In other embodiments, the aforementioned TDC, counting module, and signal processing module may also be components of other electrical modules or components. For example, the TDC, counting module, and signal processing module may also be integrated on the circuit board or chip of the curling iron and electrically connected to the dToF module.

[0038] In some methods, multiple SPAD pixels can refer to at least two SPAD pixels, such as 2 SPAD pixels, 4 SPAD pixels, 9 SPAD pixels, 16 SPAD pixels, etc.

[0039] like Figure 2 As shown, the SPAD pixel array 3 in the dToF module 11 is illustrated, where each square can represent a SPAD pixel, thus dividing the SPAD pixel array into at least one first-class pixel 31 and at least one second-class pixel 32, for example, Figure 2 Each space filled with shadow in the image is represented as a first-class pixel. Figure 2Each blank space in the blank space is represented as a second-class pixel.

[0040] In some implementations, the number of at least one first-class pixel and at least one second-class pixel in the SPAD pixel array may be the same or different. For example, the number of at least one first-class pixel and at least one second-class pixel may both be 3, or the number of at least one first-class pixel may be 5 and the number of at least one second-class pixel may be 8.

[0041] In some implementations, the dToF module can be installed inside the hair dryer body, facing the location where the nozzle can be installed. It is understood that because the positions of the SPAD pixels in the SPAD pixel array are different, the detection angles of each SPAD pixel differ. Since the dToF module faces the location where the nozzle can be installed on the hair dryer body, the detection angle of the SPAD pixel array is the nozzle. The nozzle can include the inner wall of the nozzle and the air outlet of the nozzle. That is, the SPAD pixel array contains SPAD pixels with a detection angle of the air outlet of the nozzle (i.e., second-type pixels) and SPAD pixels with a detection angle of the inner wall of the nozzle (i.e., first-type pixels). Thus, by dividing the SPAD pixel array, at least one second-type pixel and at least one first-type pixel can be obtained.

[0042] Understandably, the first detection field of view of the first type of pixel faces the inner wall of the nozzle. If a nozzle is installed on the hair dryer, the pulsed laser emitted by the laser emitter will be reflected by the inner wall of the nozzle. This reflected laser will then travel towards the location of the first type of pixel and be received by it, resulting in a high photon count on the first type of pixel. However, if no nozzle is installed on the hair dryer, the pulsed laser emitted by the laser emitter will not be reflected back to the first type of pixel due to the lack of reflection from the inner wall of the nozzle. In this case, the first type of pixel will have little or no photon count. Therefore, based on the difference in photon counts on the first type of pixel in these two cases, the presence or absence of a nozzle on the hair dryer can be detected using the first type of pixel.

[0043] The second detection field of view of the second type of pixel faces the air outlet of the nozzle. If a target object is present at the air outlet, the pulsed laser emitted by the laser emitter will be reflected by the target object when it passes through the air outlet. This reflected laser pulse will then travel towards the location of the second type of pixel and be received by it, resulting in a high photon count on the second type of pixel. However, if no target object is present at the air outlet, the pulsed laser emitted by the laser emitter will travel along its original path without being reflected back to the second type of pixel due to the lack of reflection. In this case, the first type of pixel will have little or no photon count. Therefore, based on the difference in photon counts on the second type of pixel in these two cases, the presence of a target object at the air outlet can be detected using the second type of pixel.

[0044] In some implementations, at least one first-class pixel and at least one second-class pixel can be obtained by pixel calibration through experiments before the hair dryer leaves the factory, or they can be obtained by calibrating the SPAD pixels of the dToF module by selecting a mode on the hair dryer after it leaves the factory and before use.

[0045] In this embodiment, the SPAD pixel array is divided into at least one first type of pixel and at least one second type of pixel. Since the first type of pixel's first detection field of view faces the inner wall of the nozzle, it can detect the nozzle's installation status. Since the second type of pixel's second detection field of view faces the nozzle's air outlet, it can detect the presence of a target object at the air outlet. By clearly defining the detection targets of each different type of pixel, not only is the nozzle's installation status and the target object detected, but interference between detection data from different types of pixels is also effectively reduced, improving detection accuracy and enhancing the intelligent control of the hair dryer.

[0046] In some embodiments, the hair dryer includes a working mode, and the hair dryer is configured to: in the working mode, turn on the laser emitter, determine whether the hair dryer body is equipped with a nozzle based on the first photon data on the first type of pixel, determine whether there is a target object at the air outlet based on the second photon data on the second type of pixel, and adjust the operating parameters of the hair dryer based on the determination results.

[0047] In this embodiment, the first photon data refers to the signal data detected by the first type of pixel within the detection cycle in the working mode, which includes, but is not limited to, photon count values, photon time-of-flight statistical histograms, etc. Different data thresholds can be set according to different forms of the first photon data, and the first photon data can be compared with the corresponding data thresholds. The comparison result is used to determine whether a nozzle is installed on the hair dryer. For example, if the first photon data refers to a photon count value, a count threshold can be set. If the photon count value is greater than or equal to the count threshold, it indicates that a large number of laser pulses emitted by the laser emitter are reflected back to the first type of pixel by the inner wall of the nozzle. Therefore, it can be determined that a nozzle is installed on the hair dryer; otherwise, it can be determined that no nozzle is installed on the hair dryer. In another example, if the first photon data refers to a photon time-of-flight statistical histogram, a suitable histogram parameter range corresponding to the nozzle can be set. When the parameters of the histogram formed by the first photon data fall within the set histogram parameter range, it can be determined that a nozzle is installed on the hair dryer; otherwise, it can be determined that no nozzle is installed on the hair dryer.

[0048] In this embodiment, the second photon data refers to the signal data detected by the second type of pixel within the detection period in the working mode, which includes, but is not limited to, photon count values, photon time-of-flight statistical histograms, etc. Similar to the first photon data, a data threshold corresponding to the target object at the air outlet of the hair dryer can be set, and the second photon data can be compared with this data threshold. The comparison result is then used to determine whether a target object exists at the air outlet of the hair dryer. This determination logic and method are consistent with the first photon data and will not be repeated here.

[0049] In some implementations, the target object may refer to the object to be blown at the air outlet, such as hair, clothing, etc.

[0050] In some implementations, the determination result may include a result indicating whether the hair dryer body is equipped with a nozzle, for example, the hair dryer body is equipped with a nozzle, or the hair dryer body is not equipped with a nozzle.

[0051] In some implementations, the determination result can also characterize whether a target object exists at the air vent, for example, whether a target object does not exist at the air vent or whether a target object exists at the air vent.

[0052] In some implementations, the operating parameters of the hair dryer may include, but are not limited to, one or more of the following: temperature, airflow speed, power, motor speed, air volume, etc.

[0053] For example, if the hair dryer has a nozzle installed, reduce the airflow speed.

[0054] For example, if there is a target object at the air outlet, obtain the target distance between the air outlet and the target object; determine and adjust the temperature, air velocity, air volume, etc., to match the target distance.

[0055] In this embodiment, by triggering the working mode of the hair dryer, the installation status of the nozzle and the presence of a target object at the air outlet can be determined. Based on the determination results, the operating parameters of the hair dryer are adjusted, realizing intelligent control of the hair dryer and improving the user's experience with the hair dryer.

[0056] In some embodiments, at least one first type of pixel and at least one second type of pixel can be turned on simultaneously. When the first type of pixel and the second type of pixel are turned on simultaneously, the analysis and processing of the first photon data on the first type of pixel and the second photon data on the second type of pixel are performed in different measurement channels, or in the same measurement channel in a time-division manner.

[0057] Here, a measurement channel refers to a complete and independent hardware signal processing chain, from receiving the echo photon to outputting the digital value of the photon's time-of-flight (ToF). Simply put, a measurement channel can include a SPAD detector, analog front-end circuitry, a timing module (such as a time-to-digital converter, TDC), and a data processing and storage unit.

[0058] In some implementations, the simultaneous activation of the first type of pixel and the second type of pixel means that the first type of pixel and the second type of pixel can simultaneously detect photons to obtain their respective corresponding photon detection data.

[0059] In some implementations, the analysis and processing of the first photon data on the first type of pixels is performed in the first measurement channel, and the analysis and processing of the second photon data on the second type of pixels is performed in the second measurement channel.

[0060] In implementation, after acquiring the first photon data of the first type of pixels, the first photon data is transmitted to the first measurement channel. The first measurement channel analyzes and processes the first photon data of the first type of pixels. Thus, after acquiring the first photon data corresponding to all the first type of pixels, it can be determined whether a nozzle is installed on the hair dryer body based on the first photon data corresponding to all the first type of pixels. After acquiring the second photon data of the second type of pixels, the second photon data is transmitted to the second measurement channel. The second measurement channel analyzes and processes the second photon data of the second type of pixels. Thus, after acquiring the first photon data corresponding to all the first type of pixels, it can be determined whether a target object exists at the air outlet based on the second photon data corresponding to all the second type of pixels.

[0061] It is understandable that when the first and second photon data are analyzed and processed using different measurement channels, the analysis and processing process can be carried out in parallel, which can improve the photon signal processing efficiency of the dToF module and thus increase the rate at which the judgment results are obtained.

[0062] In some implementations, the analysis and processing of the first photon data on the first type of pixels and the analysis and processing of the second photon data on the second type of pixels are performed in the same measurement channel.

[0063] In implementation, after acquiring the first photon data of the first type of pixels, the first photon data is transmitted to the measurement channel. In this measurement channel, the first photon data of the first type of pixels is analyzed and processed. After acquiring the first photon data corresponding to all the first type of pixels, it can be determined whether a nozzle is installed on the hair dryer body based on the first photon data corresponding to all the first type of pixels. After completing the analysis and processing of the first photon data corresponding to all the first type of pixels and resetting the measurement channel, the second photon data acquired from the second type of pixels is transmitted to the measurement channel. In this measurement channel, the second photon data of the second type of pixels is analyzed and processed. After acquiring the second photon data corresponding to all the second type of pixels, it can be determined whether a target object exists at the air outlet based on the second photon data corresponding to all the second type of pixels.

[0064] Alternatively, after acquiring the second photon data of the second type of pixels, the second photon data is transmitted to the measurement channel. In this measurement channel, the second photon data corresponding to each of the second type of pixels is analyzed and processed. After acquiring the second photon data corresponding to all the second type of pixels, it can be determined whether there is a target object at the air nozzle. After completing the analysis and processing of the second photon data corresponding to all the second type of pixels and resetting the measurement channel, the first photon data acquired from the first type of pixels is transmitted to the measurement channel. In this target measurement channel, the first photon data corresponding to each of the first type of pixels is analyzed and processed. After acquiring the first photon data corresponding to all the first type of pixels, it can be determined whether a nozzle is installed on the hair dryer body.

[0065] In some implementations, when analyzing and processing first photon data and second photon data through the same measurement channel, the pixel type to be prioritized for analysis and processing can be determined as either a first type of pixel or a second type of pixel, in response to the user's selection.

[0066] In some implementations, the pixel type to be prioritized for analysis and processing is determined based on the amount of data in the first photon data and the second photon data. For example, the photon data corresponding to the pixel type with the smaller data volume is prioritized for analysis and processing.

[0067] Understandably, when analyzing and processing the first and second photon data using the same measurement channel, the hardware resource requirements for the hair dryer or dToF module are relatively low.

[0068] In this embodiment, by simultaneously activating the first and second types of pixels, the acquisition and processing efficiency of the first and second photon data can be improved. This allows for simultaneous identification of the nozzle and the target object, enabling faster and more efficient integration and analysis of the two identification results. This improves the efficiency and accuracy of the smart hair dryer's automatic adjustment of operating parameters, further enhancing the user experience. To avoid data loss and mutual interference when simultaneously activating the first and second types of pixels, the first and second photon data can be acquired and analyzed using different measurement channels. When hardware channel resources within the dToF module or hair dryer are limited, the same hardware measurement channel can be used for time-sharing acquisition and processing of the first and second photon data, reducing the demands on hardware resources.

[0069] In some embodiments, the first type of pixels and the second type of pixels can be enabled in a time-division manner. When the first type of pixels and the second type of pixels are enabled in a time-division manner, the analysis and processing of the first photon data on the first type of pixels and the second photon data on the second type of pixels are performed in different measurement channels, or in the same measurement channel in a time-division manner.

[0070] In some implementations, the time-division multiplexing of the first and second type pixels means that the first and second type pixels perform photon detection at staggered times. For example, the second type pixels may be turned on after all the first type pixels are turned off, or all the first type pixels may be turned on in the first measurement cycle and all the second type pixels may be turned on in the second measurement cycle, with the first and second measurement cycles being different.

[0071] In this application, the analysis and processing of the first photon data and the second photon data are implemented in different measurement channels. The implementation process can be found in the scenario of simultaneous activation mentioned above, and will not be repeated here.

[0072] It should be noted that since the first and second types of pixels are activated in a time-division multiplexing manner, meaning that the acquisition times of the first photon data on the first type of pixel and the second photon data on the second type of pixel are different, the earlier acquired photon data is preferentially input into the measurement channel for analysis and processing when processing the photon data in a time-division multiplexing manner. For example, if the acquisition time of the first photon data is earlier than the acquisition time of the second photon data, then the first photon data is analyzed and processed first.

[0073] In this embodiment, by time-division multiplexing at least one first-type pixel and at least one second-type pixel, data interference between the first and second photon data can be reduced, resulting in higher data quality for the acquired first and second photon data. This improves the recognition accuracy of the nozzle and target object, thereby enhancing the efficiency and accuracy of the smart hair dryer's automatic adjustment of operating parameters and further improving the user experience. To avoid data loss and mutual interference when time-division multiplexing the first and second photon pixels, the first and second photon data can be acquired and analyzed using different measurement channels. When hardware channel resources within the dToF module or hair dryer are limited, the same hardware measurement channel can be used to acquire and process the first and second photon data in a time-division manner, reducing the requirements for hardware resources.

[0074] In some embodiments, the hair dryer includes a preset mode, and the hair dryer is configured to: perform pixel calibration on a plurality of SPAD pixels in the SPAD pixel array in the preset mode; the pixel calibration includes: turning on the laser emitter, acquiring photon detection data of each SPAD pixel in the SPAD pixel array, and classifying each SPAD pixel into a first type of pixel or a second type of pixel according to the photon detection data.

[0075] In some implementations, the preset mode can be manually triggered by the user, or it can be automatically triggered when the hair dryer is first started. In some embodiments, the preset mode may also be pre-triggered in batches before the hair dryer leaves the factory, so that the user can directly turn on the working mode and start blowing normally when using it for the first time.

[0076] In some implementations, in response to the hair dryer entering a preset mode, pixel calibration is performed on a plurality of SPAD pixels in the SPAD pixel array.

[0077] In some implementations, when the hair dryer enters the preset mode, the laser emitter is turned on so that the laser emitter continuously emits pulsed laser. The emitted pulsed laser is reflected by the inner wall of the nozzle or by the target object at the air outlet of the nozzle, and is then detected by each SPAD pixel in the SPAD pixel array. This allows the acquisition of photon detection data corresponding to each SPAD pixel, and the SPAD pixels are then divided into first-class pixels or second-class pixels based on the photon detection data.

[0078] In this embodiment, in the hair dryer's preset mode, the laser emitter is turned on and photon detection data of each SPAD pixel is acquired to perform pixel calibration on multiple SPAD pixels. The multiple SPAD pixels are divided into a first type of pixel and a second type of pixel. The detection field of the first type of pixel faces the inner wall of the nozzle and can detect whether the nozzle is installed. The detection field of the second type of pixel faces the air outlet of the nozzle and can detect whether there is a target object (hair, damp items, etc.) to be blown at the air outlet of the hair dryer. This allows for the separate and independent identification of the nozzle installation status and the presence of a target object, resulting in higher identification accuracy. In addition, the preset mode can be factory-set as needed, or set by the user after leaving the factory according to actual needs, making the hair dryer more applicable in various application scenarios.

[0079] In some embodiments, the pixel calibration includes: when the nozzle is installed on the hair dryer body and there is no target object at the air outlet, turning on the laser emitter and turning on each SPAD pixel in the SPAD pixel array one by one to obtain photon detection data of each SPAD pixel; determining whether the photon detection data of each SPAD pixel in the SPAD pixel array meets a preset condition; if the preset condition is met, determining that the SPAD pixel is a first type of pixel; otherwise, determining that the SPAD pixel is a second type of pixel.

[0080] In some implementations, photon detection data can be obtained by acquiring photon detection data within each SPAD pixel in the SPAD pixel array when the nozzle is installed on the hair dryer body and there is no target object at the air outlet. Based on the photon detection data within each SPAD pixel, each SPAD pixel can be determined to be a first type pixel or a second type pixel.

[0081] In some implementations, the photon detection data includes at least one of photon count values, a photon time-of-flight statistical histogram, and a photon count heatmap. In this embodiment, the photon detection data may include only one of the above three data formats, or it may include two or more data formats. When two or more data formats are included, the two or more data formats can be combined to determine whether the SPAD pixel is a first-type pixel or a second-type pixel, thereby improving the accuracy of the determination.

[0082] In some embodiments, taking photon detection data as photon count value as an example, if there is no target object at the air outlet, then theoretically the second type of pixel in the SPAD pixel array will not receive photons, while the first type of pixel in the SPAD pixel array will receive photons reflected back from the inner wall of the air nozzle. In this way, a preset condition can be set according to the number of photons received by the first type of pixel and the second type of pixel. Thus, if the photon detection data of a certain SPAD pixel meets the preset condition, then the pixel can be considered as a first type of pixel; otherwise, the SPAD pixel is judged as a second type of pixel.

[0083] In this embodiment, since the hair dryer and nozzle are generally used together, and the nozzle's installation position, shape, and surface reflectivity are fixed, the photon detection data of the SPAD pixel corresponding to the nozzle's detection field of view can be obtained in advance. Based on this, preset conditions can be set. During pixel calibration, when the photon detection data on the SPAD pixel meets these preset conditions, the detection field of view of the SPAD pixel is considered to be located on the inner wall of the nozzle, and the SPAD pixel is determined to be a first-type pixel; otherwise, it is determined to be a second-type pixel. This pixel calibration method can accurately and efficiently distinguish between first-type and second-type pixels using the nozzle, without the need for other tools or specific scene settings, making pixel calibration more convenient and efficient. In this embodiment, the photon count value refers to the number of photons received and sensed by each SPAD pixel during the measurement period. A photon time-of-flight (TOF) histogram is a core data representation in direct time-of-flight ranging (DTF) systems. It constructs a one-dimensional histogram by statistically analyzing the flight times of photons reflected from a large number of emitted laser pulses, with the photon flight time on the x-axis and the cumulative photon count over that time period on the y-axis. Essentially, the x-axis of this TOF histogram represents time, which is divided into several time bins representing time intervals. This allows the photon flight times detected by the SPAD pixels to fall into these time bins, and the height of each time bin represents the number of photons contained within it. A photon count heatmap is an image that visualizes the accumulated photon detection data at each SPAD pixel location in a SPAD pixel array spatially through color or brightness mapping.

[0084] In some implementations, for each SPAD pixel, the number of photons received by each SPAD pixel during the measurement period can be obtained by continuously triggering the laser emitter to emit pulsed lasers during the measurement period, i.e., the photon count value.

[0085] In some implementations, a photon count heatmap is generated by obtaining the photon count value of each SPAD pixel separately, and the intensity of the color in different regions of the heatmap can represent the number of photons received.

[0086] In this embodiment, the above-mentioned photon detection data formats correspond to several different principles applied when using a dToF module to identify nozzles or target objects. Specifically, the photon count value corresponds to the dToF module identifying nozzles and target objects based on the Photon Counting Imaging (PCI) principle; the photon time-of-flight histogram corresponds to the dToF module identifying nozzles and target objects based on the direct photon time-of-flight ranging principle; and the photon count heatmap corresponds to the dToF module identifying nozzles based on the heatmap imaging principle. By acquiring multiple forms of photon detection data, the hair dryer can apply multiple principles to identify nozzles or target objects, thus making it suitable for more usage scenarios. Furthermore, a combination of multiple principles can be used to achieve a comprehensive judgment on nozzle or target object identification, resulting in more accurate and reliable identification results.

[0087] In some embodiments, the photon detection data is a photon count value, and the preset condition is that the photon count value is greater than or equal to a first preset threshold.

[0088] In some implementations, when the photon detection data is a photon count value, the pixel calibration includes: when the nozzle is installed on the hair dryer body and the target object is not present at the air outlet, turning on the laser emitter and turning on each SPAD pixel in the SPAD pixel array to obtain the photon detection data of each SPAD pixel; for each SPAD pixel, determining whether the photon detection data of the SPAD pixel is greater than or equal to a first preset threshold; if so, determining that the SPAD pixel is a first type of pixel; if not, determining that the SPAD pixel is a second type of pixel.

[0089] In some implementations, for each SPAD pixel, by continuously triggering the laser emitter to emit pulsed lasers during the measurement period, the photon count value corresponding to the SPAD pixel during the measurement period can be obtained; if the photon count value corresponding to the SPAD pixel is greater than or equal to a first preset threshold, the SPAD pixel is determined to be a first type of pixel; otherwise, the SPAD pixel is determined to be a second type of pixel, and so on, until the division of each SPAD pixel in the SPAD pixel array is completed.

[0090] As explained above, if the hair dryer has a nozzle, and the laser reflected from the inner wall of the nozzle is received by a SPAD pixel in the SPAD pixel array, then the photon count value corresponding to that SPAD pixel will be greater than or equal to the first preset threshold. Furthermore, since there is no target object at the air vent in this scenario, the pulsed laser transmitted to the air vent will travel along its original transmission path without being reflected. Therefore, the photon detection data of the SPAD pixel with a detection angle at the air vent will be relatively small. Thus, SPAD pixels with photon count values ​​less than the first preset threshold are identified as second-type pixels.

[0091] In some implementations, the first preset threshold can be 0 or a number close to 0.

[0092] It should be noted that during the transmission of pulsed laser, even if there are no obstructions in the transmission path of the pulsed laser, the SPAD pixel may still receive a small amount of pulsed laser due to environmental noise or background light interference. Therefore, in this scenario, the first preset threshold can be set to a number close to 0.

[0093] In this embodiment, when the photon detection data is a photon count value, it indicates that the dToF module is used to identify the air nozzle based on the photon counting imaging (PCI) principle. At this time, since there is no target object at the air outlet of the air nozzle and photons cannot be reflected back, the SPAD pixels corresponding to the air outlet of the air nozzle in the detection field of view basically do not sense photons or sense very few photons. Correspondingly, the photon count value on these SPAD pixels is very low, appearing as a darker area in the grayscale image formed by photon counting imaging. Conversely, the SPAD pixels corresponding to the inner wall of the air nozzle in the detection field of view can sense a large number of photons reflected back from the inner wall of the air nozzle, resulting in a higher photon count value and appearing as a brighter area in the grayscale image formed by photon counting imaging. Therefore, a judgment threshold, i.e., a first preset threshold, can be set. When the photon count value of a SPAD pixel is greater than or equal to the first preset threshold, it is determined that the detection field of view of the SPAD pixel is facing the inner wall of the air nozzle, and the SPAD pixel is a first-type pixel; otherwise, it is determined that the SPAD pixel is a second-type pixel. This judgment method is reasonable and easy to implement, and it places lower requirements on the data processing module of the dToF module or the hair dryer.

[0094] In some embodiments, the photon detection data is a photon time-of-flight statistical histogram, and the preset condition is that the peak parameters of the photon time-of-flight statistical histogram are within a preset range, and the peak parameters include at least one of peak height, peak position, peak broadening, signal-to-noise ratio, confidence level, and standard deviation.

[0095] In some embodiments, when the photon detection data is a photon time-of-flight statistical histogram, the pixel calibration includes: when the nozzle is installed on the blower body and there is no target object at the air outlet, acquiring the photon time-of-flight statistical histogram of each SPAD pixel in the SPAD pixel array, determining whether the photon time-of-flight statistical histogram meets a preset condition, if it does, determining that the SPAD pixel is a first type of pixel, otherwise determining that the SPAD pixel is a second type of pixel; wherein, the preset condition includes: the peak parameters of the photon time-of-flight statistical histogram are within a preset range, and the peak parameters include at least one of peak height, peak position, peak broadening, signal-to-noise ratio, confidence level, and standard deviation.

[0096] It's understandable that the nozzle is a structural component located adjacent to the hair dryer body. Compared to the distance between the target object (such as a strand of hair or a damp item) and the dToF module on the hair dryer body, the distance between the nozzle and the upper dToF module is closer. Therefore, by judging whether there is an effective signal peak representing a relatively close distance (i.e., the position corresponding to the effective signal peak is less than or equal to a second preset threshold) in the photon time-of-flight statistical histogram of each SPAD pixel, it can be determined whether the SPAD pixel is a first-class pixel with the detection field of view facing the inner wall of the nozzle. If there is an effective signal peak that meets the condition, the SPAD pixel can be judged as a first-class pixel; otherwise, the SPAD pixel is judged as a second-class pixel with the detection field of view facing the air outlet of the nozzle. This method of judging whether a SPAD pixel is a first-class pixel by using the distance parameter (or peak position) in the histogram peak parameters is simple in judgment logic, and the histogram results are presented more intuitively. It is more suitable for application scenarios that require rapid classification of SPAD pixels to identify the nozzle and the target object separately, and then quickly adjust the operating parameters.

[0097] In some implementations, when the laser emitter emits a pulsed laser, it triggers a time-to-digital converter to start timing. When the SPAD pixel receives a photon and responds by generating a pulse signal, the timing stops, thereby obtaining the photon's time of flight. The counting module counts the pulse signal triggered by the photon once, which is equivalent to counting the responding photon once, and accumulates it into the corresponding time box. This detection and counting process is repeated a large number of times until the laser emitter stops emitting pulsed lasers.

[0098] It should be noted that when the pulsed laser travels along the transmission path and passes through the inner wall of the nozzle, the pulsed laser reflected by the inner wall of the nozzle follows a fixed speed of light and the optical path is basically the same. This makes the photon flight time of the pulsed laser emitted by the pulsed laser and reflected by the inner wall of the nozzle basically constant in each measurement. Thus, as the number of pulsed lasers emitted by the laser emitter increases, the laser pulses reflected from the inner wall of the nozzle will repeatedly fall into the same or adjacent time boxes in the histogram, thereby forming an effective signal peak in the photon flight time statistical histogram.

[0099] It should be noted that due to interference factors such as dark current and circuit jitter within SPAD pixels, the photon time-of-flight statistical histogram may contain non-target signal peaks in addition to the effective signal peaks. These non-target signal peaks are typically stronger than the floor noise caused by ambient light, but weaker than the effective signal peaks corresponding to the nozzle. Therefore, after obtaining the histogram, in addition to filtering out noise and floor noise to eliminate ambient light interference, a threshold must be set to distinguish between effective and non-target signal peaks. In other words, non-target signal peaks are those retained after floor removal and filtering, whose intensity meets a certain threshold requirement, allowing them to be distinguished from floor noise and effective signal peaks.

[0100] In some embodiments, determining whether the photon flight time statistical histogram meets preset conditions may involve determining whether there is an effective signal peak in the histogram and whether the position corresponding to the effective signal peak is less than or equal to a second preset threshold. If so, the SPAD pixel is determined to be a first type of pixel; otherwise, the SPAD pixel is determined to be a second type of pixel.

[0101] In some implementations, there is a low, relatively uniform layer of photon counts along the entire time axis of the histogram, which is random noise caused by unavoidable factors such as ambient light and dark counting. After a certain point in time, the photon count will suddenly and sharply increase, forming a distinct counting peak, which is caused by the photon group that arrives at the detector after the laser pulse is reflected by the same or similarly spaced surfaces.

[0102] In some embodiments, if there is a nozzle inside the hair dryer, and there is an effective signal peak in the photon time-of-flight statistical histogram of the SPAD pixel, it indicates that there is an obstacle in the detection field of view / point corresponding to the SPAD pixel, that is, the detection point of the SPAD pixel is located on the inner wall of the hair dryer, and the non-target signal peak is formed by photons reflected back from the inner wall of the hair dryer.

[0103] It should be noted that, regarding the non-target signal peaks corresponding to the inner wall of the hair dryer, in addition to the peak position needing to be less than or equal to the second preset threshold, other peak parameters, such as peak height, peak broadening, signal-to-noise ratio, confidence level, and standard deviation, also need to meet certain conditions. This can further eliminate interference signals caused by factors such as ambient light and dark counting.

[0104] For example, if a first signal peak exists in the photon flight statistics histogram, and the peak position of the first signal peak is determined to be lower than a second preset value, further judgment can be made based on whether the peak height of the first signal peak is higher than a set threshold, or whether the peak width of the first signal peak is lower than a set threshold, the signal-to-noise ratio is higher than a set threshold, and so on, to determine that the first signal peak is a valid signal peak. Similarly, if the signal-to-noise ratio of the first signal peak is greater than a first preset signal-to-noise ratio, then the first signal peak is determined to be a valid signal peak. Here, the set threshold can be set based on requirements. A valid signal peak refers to a signal peak whose peak parameters meet the set parameter range, which is determined based on the shape and structure of the nozzle, the reflectivity of its inner wall, and its relative distance to the dToF module.

[0105] In some embodiments, the peak position can be used as the initial criterion. To improve the accuracy of pixel classification, at least one of peak height, peak broadening, signal-to-noise ratio, confidence level, and standard deviation can be used for auxiliary criterion.

[0106] As explained above, the horizontal axis of the photon time-of-flight histogram represents time. Therefore, the position corresponding to the effective signal peak represents the photon time of flight. Given the speed of light and the photon time of flight, the distance between the obstacle reflecting the laser pulse and the corresponding SPAD pixel receiving the laser pulse can be calculated. The further left the peak is, the shorter the time and the closer the reflecting object. Furthermore, interference from other reflective surfaces may exist during the reflection of the pulsed laser, potentially generating signal peaks in the photon time-of-flight histogram. Therefore, this application introduces a second preset threshold. Since the second preset threshold is based on the distance between the nozzle and the dToF module, by comparing the second preset threshold with the position of the effective signal peak on the horizontal axis of the histogram, interfering signal peaks can be filtered out, improving the accuracy of identifying the effective signal peak and thus improving the classification accuracy of the first type of pixels.

[0107] In this embodiment, when the photon detection data is a photon time-of-flight statistical histogram, it indicates that the nozzle is identified using a dToF module based on the direct photon time-of-flight ranging principle. The photon time-of-flight statistical histogram directly reflects the distance and reflectivity information between the nozzle or target object and the dToF module. Since the nozzle's installation position, shape, and surface reflectivity on the blower are fixed, the dToF module can be used to measure the distance to the nozzle in advance to obtain a photon time-of-flight statistical histogram (hereinafter referred to as the "preset histogram"). Key peak parameters are extracted to determine a suitable preset range. Then, during the pixel calibration stage, the photon time-of-flight statistical histogram obtained by each SPAD pixel is compared with the preset histogram. If one or more peak parameters in the histogram obtained during the pixel calibration stage are within the preset range, it indicates that the detection field of view of that SPAD pixel corresponds to the inner wall of the nozzle, classifying it as a first-type SPAD pixel; otherwise, it is a second-type pixel. Furthermore, combining multiple peak parameters for comprehensive comparison can eliminate occasional errors and further improve the accuracy of the judgment.

[0108] In some embodiments, in two cases—where the nozzle is installed on the hair dryer body and there is no target object at the air outlet, and where the nozzle is installed on the hair dryer body and there is a target object at the air outlet—each SPAD pixel in the SPAD pixel array is activated one by one, and the difference value of the photon detection data of each SPAD pixel in the two cases is obtained; for each SPAD pixel, if the difference value of the SPAD pixel is less than or equal to a third preset threshold, then the SPAD pixel is determined to be a first type of pixel; otherwise, the SPAD pixel is determined to be a second type of pixel.

[0109] In some implementations, for each SPAD pixel, if a target object is present at the nozzle, the first photon detection data corresponding to the SPAD pixel can be obtained by continuously triggering the laser emitter to emit pulsed lasers during the measurement period; if no target object is present at the nozzle, the second photon detection data corresponding to the SPAD pixel can be obtained by continuously triggering the laser emitter to emit pulsed lasers during the measurement period; the difference between the first photon detection data and the second photon detection data can be calculated to obtain the difference value of the photon detection data corresponding to the SPAD pixel. If the difference value is less than or equal to a third preset threshold, the SPAD pixel is determined to be a first type of pixel; otherwise, the SPAD pixel is determined to be a second type of pixel, and so on, until the division of each SPAD pixel in the SPAD pixel array is completed.

[0110] It should be noted that, as explained above, when a target object is present at the nozzle of the hair dryer, the first photon detection data corresponding to the second type of pixel that receives the pulsed laser reflected by the target object is relatively large. However, when no target object is present at the nozzle, the second photon detection data corresponding to the SPAD pixel that receives the pulsed laser reflected by the target object is relatively small. In this scenario, the difference between the second and first photon detection data is relatively large. Since the photon detection data corresponding to the SPAD pixel (i.e., the first type of pixel) that receives the pulsed laser reflected from the inner wall of the nozzle is independent of the presence or absence of a target object, the difference between the first and second photon detection data collected by the first type of pixel in these two cases is relatively small. Therefore, in this application, the SPAD pixel is determined to be a first type of pixel when the difference is less than or equal to the third preset threshold.

[0111] In some implementations, the second preset threshold can be 0 or a number close to 0. It should be noted that during the transmission of the pulsed laser, even if there are no obstructions in the transmission path, environmental noise or background light interference may cause the SPAD pixel to receive a small amount of pulsed laser light. Furthermore, the factors causing interference may differ depending on whether a target object is present at the air vent, potentially leading to differences between the photon detection data collected in two separate transactions. Therefore, in this scenario, the second preset threshold can be set to a number close to 0.

[0112] In this embodiment, the photon detection data of the nozzle aligned with the detection field of view differs significantly depending on whether a target object is present or not (the photon detection data is lower when no target object is present and higher when a target object is present). Conversely, the photon detection data of the first type of pixels aligned with the inner wall of the blower shows less difference between the two scenarios. By analyzing the difference in photon detection data for each SPAD pixel under these two scenarios and comparing it with a third preset threshold, it is possible to determine whether each SPAD pixel is a first-type or second-type pixel. This method, by comparing the difference in photon detection data for each SPAD pixel under both scenarios, reduces the occasional errors that may occur when classifying SPAD pixels using only a single photon detection data sample, resulting in more accurate pixel classification.

[0113] In some embodiments, the pixel calibration includes: when the nozzle is installed on the body of the hair dryer and there is no target object without a blower opening, acquiring a photon counting heat map of the SPAD pixel array, and determining the at least one first type pixel and the at least one second type pixel from the SPAD pixel array based on the photon counting heat map and the contour information of the nozzle and / or the projection information of the nozzle in a first direction; the first direction is a direction perpendicular to the central axis of the nozzle.

[0114] In some implementations, the contour information of the nozzle is converted into the coordinate plane of a photon counting heatmap, and a first theoretical pixel region corresponding to the contour information of the nozzle is determined from the photon counting heatmap; at least one photon detection data corresponding to the first theoretical pixel region is obtained; each SPAD pixel corresponding to the photon detection data greater than a first preset threshold among the at least one photon detection data is determined as a first type of pixel; and the other pixels in the SPAD pixel array other than the first type of pixels are determined as second type of pixels.

[0115] In some implementations, the projection information of the nozzle in the first direction is converted into the coordinate plane of the photon counting heatmap, and the second theoretical pixel region corresponding to the projection information is determined from the photon counting heatmap; at least one photon detection data corresponding to the second theoretical pixel region is obtained; each SPAD pixel corresponding to the photon detection data greater than a first preset threshold among the at least one photon detection data is determined as a first type of pixel; and the other pixels in the SPAD pixel array other than the first type of pixels are determined as second type of pixels.

[0116] In this embodiment, the extremely high sensitivity of the SPAD pixel array is used to collect thermal radiation signals, and the photon detection data distribution of each SPAD pixel in the SPAD pixel array is finally presented in the form of a heat map (temperature distribution map). This enables high-sensitivity, high-speed, and even high spatial resolution detection and imaging of the nozzle installation status and target objects under extremely low light conditions. In the heat map, the detection field of view of the SPAD pixels with brighter colors (corresponding to larger count values) corresponds to the inner wall of the nozzle, while the detection field of view of the SPAD pixels with darker colors (corresponding to smaller count values) corresponds to the air outlet facing the nozzle. Therefore, the photon count heat map can be used to intuitively determine which SPAD pixels are of the first type and which are of the second type. This determination method is more direct and effective. On this basis, combining the heat map with the outline information of the nozzle and / or the projection information of the nozzle in the first direction can further classify the SPAD pixels more accurately and reduce the judgment error.

[0117] The following describes the application of the hair dryer provided in the embodiments of this application in a real-world scenario.

[0118] Most hair dryers on the market today require manual adjustment of parameters such as temperature and airflow. In recent years, smart hair dryers that can automatically adjust these parameters have emerged. These hair dryers are equipped with sensors that detect temperature, airflow, and distance from the hair, generating corresponding signals and sending them to the control module. The control module then automatically adjusts the airflow parameters accordingly to improve the user experience.

[0119] As an accessory to hair dryers, the nozzle is an important component for achieving different blowing effects. Therefore, for smart hair dryers, sensing whether a nozzle is installed and adjusting the blowing parameters accordingly is also an important function. However, current smart hair dryers, in addition to sensing temperature and wind speed, usually also sense the distance to the hair, but they do not sense and determine whether a nozzle is installed. Therefore, they cannot automatically adjust the blowing parameters based on the nozzle's installation status, limiting the intelligence of this type of hair dryer.

[0120] This application provides a hair dryer equipped with a dToF module. The dToF module is used to determine whether the hair dryer has a nozzle installed by measuring the distance or imaging objects within its field of view. This enables the hair dryer to automatically adjust its blowing parameters based on the nozzle installation status, achieving intelligent adjustment and improving the user experience.

[0121] It should be noted that the ranging judgment of the dToF module is based on the principle of photon time-of-flight ranging. The laser emitter of the dToF module emits a laser, which hits an object in the field of view and is reflected back to the photosensitive element (SPAD pixel array) in the dToF module. The time-to-digital converter of the dToF module can obtain the photon time of flight by recording the laser emission time and the laser sensing time. In this way, the signal processing module can calculate the distance from the target object to the dToF module by combining the speed of light and the photon time of flight, and thus determine whether there is an object in the field of view by the distance from the target object to the dToF module.

[0122] The imaging judgment is based on the principle of photon counting imaging. The dToF module determines whether there is an object in the field of view based on the light intensity sensed by the photosensitive element (SPAD pixel array) (characterized by the photon count value of the SPAD pixels). That is, if there is an object in the field of view, the photosensitive element can sense the laser reflected back by the object and generate photon count. The larger the count value, the greater the sensed light intensity.

[0123] In this embodiment, by configuring the SPAD pixels in the SPAD pixel array to be turned on and off, the detection field of view of the SPAD pixels is directed towards the nozzle and the target object, respectively, thereby realizing the detection and identification of the nozzle installation status and the (independent) identification of the target object (hair).

[0124] like Figure 3 As shown,​ As shown, the detection field of view (FOV1) of some SPAD pixels in the SPAD pixel array is directed towards the nozzle, while the detection field of view (FOV2) of some SPAD pixels is directed towards the target object (hair). In this way, by selecting different SPAD pixels in the SPAD pixel array, different detection fields of view can be selected, thereby enabling the separate detection and identification of the nozzle and the target object.

[0125] In some implementations, the activation of SPAD pixels in different detection fields can be controlled by time-sharing configuration or zone configuration.

[0126] In the time-division configuration, SPAD pixels (first type of pixels) in the first area are activated in the first time period. Since the detection field of view of the SPAD pixels in the first area is facing the inner wall of the nozzle (i.e., FOV1), it can be determined whether the nozzle is installed on the hair dryer by whether the SPAD pixels in the first area generate detection data (photon count). In the second time period, SPAD pixels (second type of pixels) in the second area are activated. Since the detection field of view of the SPAD pixels in the second area is facing the air outlet of the hair dryer (i.e., FOV2), it can be determined whether there is a target object (hair) at the air outlet by whether the SPAD pixels in the second area generate photon detection data (photon count).

[0127] For the partitioned configuration, all SPAD pixels within the entire SPAD pixel array are activated. The detection field of view of the SPAD pixels in the first region is directed towards the inner wall of the nozzle (i.e., FOV1), and the detection field of view of the SPAD pixels in the second region is directed towards the air outlet of the hair dryer (i.e., FOV2). It can be understood that in this scheme, the identification of the nozzle status and the identification of the target object (hair) are performed simultaneously. This allows a histogram to be generated based on the detection data of the SPAD pixels in the first region and the detection data of the SPAD pixels in the second region. The identification of the nozzle installation status and the target object is then achieved based on the histogram.

[0128] It should be noted that when generating histograms, the detection data of SPAD pixels in the first region and the detection data of SPAD pixels in the second region can be put into two or more histograms respectively (i.e., multi-channel, with each channel performing statistical and calculation functions independently), or they can be put into a single histogram at different times (i.e., single-channel).

[0129] In some embodiments, after the dToF module is assembled inside the hair dryer, the detection field of view of each SPAD pixel in the SPAD pixel array of the dToF module is fixed. Therefore, it is necessary to perform a field of view test on each SPAD pixel to determine the detection field of view orientation of each SPAD pixel, so as to divide each SPAD pixel according to the field of view orientation and obtain whether the SPAD pixel belongs to the first region or the second region. This process can be called pixel calibration.

[0130] In some implementations, pixel calibration of the SPAD pixel array can be achieved through methods one through six.

[0131] Method 1: When there is no target object at the air vent, activate each SPAD pixel in the SPAD pixel array one by one. Based on the detection data (photon count value) acquired by the SPAD pixel, determine whether the detection field of view of the SPAD pixel is within FOV1 or FOV2. Specifically, if the photon count value is greater than a first preset threshold, the detection field of view of the SPAD pixel is determined to be within FOV1, and the SPAD pixel is assigned to the first region; otherwise, the detection field of view of the SPAD pixel is determined to be within FOV2, and the SPAD pixel is assigned to the second region.

[0132] Method 2: In both cases where there is no target object at the air vent and when there is a target object, each SPAD pixel in the SPAD pixel array is activated one by one. The detection data of each SPAD pixel in both cases is obtained, and the difference between the detection data of each SPAD pixel before and after is compared. Based on the size of the data difference, it is determined whether the detection field of view of the SPAD pixel is within FOV1 or FOV2. If the data difference is less than a second preset threshold, it is determined that the detection field of view of the SPAD pixel is within FOV1, and the SPAD pixel is assigned to the first region. Otherwise, it is determined that the detection field of view of the SPAD pixel is within FOV2, and the SPAD pixel is assigned to the second region.

[0133] Method 3: When there is no target object at the air vent, photon time-of-flight statistics (which can be represented by a photon time-of-flight histogram) are obtained by acquiring the detection data of each SPAD pixel. The photon time-of-flight statistics of each SPAD pixel are used to determine whether the detection field of view of that SPAD pixel is within FOV1 or FOV2. If the photon count (integral) value in the photon time-of-flight statistics (histogram) of a certain SPAD pixel is greater than a third preset threshold, then the detection field of view of that SPAD pixel is determined to be within FOV1, and the SPAD pixel is assigned to the first region; otherwise, the detection field of view of that SPAD pixel is determined to be within FOV2, and the SPAD pixel is assigned to the second region.

[0134] Method 4: In both cases—without and with a target object at the air vent—the SPAD pixels in the SPAD pixel array are activated one by one. Photon time-of-flight statistics for each SPAD pixel are obtained by acquiring detection data for each SPAD pixel in both cases. If the difference between the photon count (integrated) values ​​of a SPAD pixel and two consecutive counts is less than a fourth preset threshold, the detection field of view of that SPAD pixel is determined to be within FOV1, and the SPAD pixel is assigned to the first region. Otherwise, the detection field of view of that SPAD pixel is determined to be within FOV2, and the SPAD pixel is assigned to the second region.

[0135] Method 5: When there is no target object at the air vent, a photon time-of-flight statistical histogram is obtained by acquiring the detection data of each SPAD pixel. If the photon time-of-flight statistical histogram corresponding to a certain SPAD pixel has a centroid position (representing distance) and the position is relatively close (the distance is relatively short, and the centroid distance is less than or equal to a preset threshold), then it is determined that the detection field of view of the SPAD pixel is within FOV1, and the SPAD pixel is assigned to the first region; otherwise, it is determined that the detection field of view of the SPAD pixel is within FOV2, and the SPAD pixel is assigned to the second region.

[0136] Method Six: With the nozzle installed and no target object present, acquire a photon counting heatmap of the SPAD pixel array. Divide the photon counting heatmap into a first region and a second region based on the nozzle's structure or projection information. Taking projection information as an example, determine whether each SPAD pixel in the dToF module's SPAD pixel array belongs to the first or second region based on the product's structural design. The nozzle's outlet projection corresponds to the SPAD pixels with fewer data points (lighter color) in the dToF module's heatmap. The pixel region formed by these SPAD pixels resembles the shape of the nozzle opening. Therefore, the boundaries between the first and second regions can be fitted from the image to further refine the division accuracy of the SPAD pixels within the first and second regions.

[0137] In this embodiment, the blowing parameters are automatically adjusted based on the installation status of the nozzle, improving the intelligence level of the hair dryer and thus enhancing the user experience. Furthermore, by configuring the SPAD pixel array of the dToF module's sensing element, the SPAD pixels in the SPAD pixel array are activated in a time-sharing or zone-sharing manner to detect the nozzle and the target object (hair) respectively, improving the accuracy and efficiency of identifying the nozzle installation status and the target object, making the intelligent control of the hair dryer faster and more efficient.

[0138] This application provides a method for controlling a hair dryer, which is applied to the hair dryer described above.

[0139] It should be noted that although the steps of the method in this application are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps; or steps from different embodiments may be combined into a new technical solution.

[0140] It should be noted that the module division in the embodiments of this application is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, exist as separate physical units, or have two or more units integrated into one unit. The integrated units can be implemented in hardware, as software functional units, or a combination of software and hardware.

[0141] It should be understood that those skilled in the art will recognize that this application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.

[0142] It should also be understood that the phrase "an embodiment" or "one embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "one embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above embodiments of this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0143] It should be noted that in this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three kinds of relationships. For example, object A and / or object B can represent three cases: object A exists alone, object A and object B exist simultaneously, and object B exists alone.

[0144] It should also be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0145] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and system can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple modules or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, and can be electrical, mechanical, or other forms.

[0146] The modules described above as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules; they may be located in one place or distributed across multiple network units; some or all of the modules may be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, the functional modules in the embodiments of this application may all be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the integrated modules may be implemented in hardware or in a combination of hardware and software functional units.

[0147] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0148] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

Claims

1. A hair dryer, characterized in that, The hair dryer includes a hair dryer body and a nozzle detachably mounted on the hair dryer body. The hair dryer body is also provided with a dToF module, which includes a laser emitter and a SPAD pixel array. The SPAD pixel array includes multiple SPAD pixels, which are divided into at least one first type of pixel and at least one second type of pixel. The first detection field of view of the first type of pixel faces the inner wall of the nozzle, and the second detection field of view of the second type of pixel faces the air outlet of the nozzle.

2. The hair dryer according to claim 1, characterized in that, The hair dryer includes a working mode, and the hair dryer is configured to: in the working mode, turn on the laser emitter, determine whether the nozzle is installed on the hair dryer body based on the first photon data on the first type of pixel, determine whether there is a target object at the air outlet based on the second photon data on the second type of pixel, and adjust the operating parameters of the hair dryer based on the determination results.

3. The hair dryer according to claim 1, characterized in that, The hair dryer includes a preset mode, and the hair dryer is configured to: perform pixel calibration on a plurality of SPAD pixels in the SPAD pixel array in the preset mode; The pixel calibration includes: turning on the laser emitter, acquiring photon detection data of each SPAD pixel in the SPAD pixel array, and classifying each SPAD pixel into a first type of pixel or a second type of pixel based on the photon detection data.

4. The hair dryer according to claim 3, characterized in that, The pixel calibration includes: when the nozzle is installed on the hair dryer body and there is no target object at the air outlet, turning on the laser emitter and turning on each SPAD pixel in the SPAD pixel array one by one to obtain photon detection data of each SPAD pixel; determining whether the photon detection data of each SPAD pixel in the SPAD pixel array meets preset conditions; if the preset conditions are met, the SPAD pixel is determined to be a first type of pixel; otherwise, the SPAD pixel is determined to be a second type of pixel.

5. The hair dryer according to claim 4, characterized in that, The photon detection data includes at least one of the following: photon count value, photon flight time statistical histogram, and photon count heatmap.

6. The hair dryer according to claim 5, characterized in that, The photon detection data is a photon count value, and the preset condition is that the photon count value is greater than or equal to a first preset threshold.

7. The hair dryer according to claim 5, characterized in that, The photon detection data is a photon time-of-flight statistical histogram. The preset condition is that the peak parameters of the photon time-of-flight statistical histogram are within a preset range. The peak parameters include at least one of peak height, peak position, peak broadening, signal-to-noise ratio, confidence level, and standard deviation.

8. The hair dryer according to claim 3, characterized in that, The pixel calibration includes: when the nozzle is installed on the hair dryer body and there is no target object at the air outlet, acquiring a photon counting heat map of the SPAD pixel array, and determining at least one first type pixel and at least one second type pixel from the SPAD pixel array based on the photon counting heat map and the outline information of the nozzle and / or the projection information of the nozzle in a first direction; the first direction is a direction perpendicular to the central axis of the nozzle.

9. The hair dryer according to claim 3, characterized in that, The pixel calibration includes: in two cases, where the nozzle is installed on the hair dryer body and there is no target object at the air outlet, and in two cases, where the nozzle is installed on the hair dryer body and there is a target object at the air outlet, each SPAD pixel in the SPAD pixel array is turned on one by one, and the difference value of the photon detection data of each SPAD pixel in the two cases is obtained; if the difference value is less than or equal to a third preset threshold, the SPAD pixel is determined to be a first type of pixel; otherwise, the SPAD pixel is determined to be a second type of pixel.

10. The hair dryer according to claim 2, characterized in that, The first type of pixel and the second type of pixel can be turned on simultaneously. When the first type of pixel and the second type of pixel are turned on simultaneously, the analysis and processing of the first photon data on the first type of pixel and the second photon data on the second type of pixel are performed in different measurement channels, or in the same measurement channel in a time-division manner.

11. A method for controlling a hair dryer, characterized in that, Applied to a hair dryer as described in any one of claims 1 to 10.