Energy-saving demisting detection method and system for bath mirror

By employing a multi-level control mechanism and a self-calibration mechanism, and utilizing an imaging photosensitive sensor and filtering algorithm, the heating power is dynamically adjusted, solving the problems of high energy consumption and equipment fatigue in the defogging detection of bathroom mirrors, and achieving efficient and energy-saving defogging and system stability.

CN121783918APending Publication Date: 2026-04-03ZHONGSHAN YIWEI LIGHTING CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-29
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

In existing methods for detecting defogging of bathroom mirrors, the increased energy consumption, equipment fatigue, and lag caused by sensor sampling and data processing delays and environmental inhomogeneity lead to frequent start-stop of heating elements, making it impossible to achieve efficient and energy-saving defogging.

Method used

Through a multi-level control mechanism, the system utilizes an imaging photosensitive sensor to collect sharpness data in real time, combines low-pass filtering and IIR filtering algorithms to filter out noise, dynamically adjusts heating power, introduces a learning rate factor and a self-calibration mechanism, and designs an anomaly detection and restart mechanism to ensure the accuracy of sharpness monitoring and the stability of the system.

Benefits of technology

It achieves accurate monitoring of the clarity of the shower mirror and energy-saving defogging, avoiding energy waste and equipment fatigue, improving the robustness and reliability of the system, and ensuring the stability and continuity of the defogging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121783918A_ABST
    Figure CN121783918A_ABST
Patent Text Reader

Abstract

The invention discloses an energy-saving demisting detection method and system for a bath mirror, and belongs to the technical field of intelligent sensors, and the method comprises the following steps: analyzing a definition measured value of the bath mirror, querying an energy-saving demisting operation state mark, executing the updating, synchronously generating a main demisting demand signal, and outputting the main demisting demand signal; and when the main demisting demand signal is received, main demisting exit opportunity evaluation based on the definition change rate is carried out. And when the main demisting exit opportunity evaluation result is that the main demisting exit is established, judging that the demisting demand is established, outputting a demisting demand maintaining signal, and then entering a demisting maintaining state. According to the method, through real-time analysis of the definition change rate and multi-threshold detection, the problems of misoperation and frequent start and stop caused by temperature fluctuation are solved, so that the energy consumption is reduced, and the energy consumption is reduced. The service life of the heating element is prolonged, overshoot and lag of the heating element are reduced, the problem of overheating caused by sensor delay and uneven temperature and humidity in a traditional bath mirror demisting method is solved, and energy consumption is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent sensor technology, and in particular to an energy-saving defogging detection method and system for a bathroom mirror. Background Technology

[0002] Existing defogging detection methods for bathroom mirrors primarily utilize a light emitter and a corresponding imaging photosensitive sensor installed inside the mirror body, forming a detection unit. The emitter emits a beam of detection light towards the mirror surface, which is reflected by the mirror and received by the sensor. When the mirror surface is clear, the reflected light is concentrated, and the sensor receives a high-intensity, concentrated light spot signal. When the mirror surface is fogged, the attached water droplets scatter the light, causing the reflected light spot area to spread and the overall intensity to weaken. By monitoring and analyzing changes in key parameters such as the area and intensity of the light spot received by the sensor in real time, and comparing them with a preset clear state threshold, the system automatically determines whether the mirror surface is fogged and controls the heating module accordingly.

[0003] For example, Chinese invention patent CN120539116A discloses a fog detection device, defogging system, defogging method, and vehicle, including: a beam splitter, a first detection unit, a second detection unit, and a processing unit. The beam splitter transmits a portion of the detection light to form a first light ray, and reflects another portion of the detection light to form a second light ray. The first detection unit is located on one side of the glass and is used to detect the intensity of the second light ray and generate a first voltage signal. The second detection unit is located on the opposite side of the glass and is used to detect the intensity of the third light ray formed after the first light ray is transmitted through the glass, and generate a second voltage signal. The processing unit determines the fog level based on the first and second voltage signals.

[0004] The above-mentioned technology has at least the following technical problems: Existing defogging methods for bathroom mirrors typically employ a single threshold detection mechanism that activates, resumes, or stops when the temperature falls below the dew point threshold. However, due to inherent delays in sensor sampling and data processing, as well as spatial inhomogeneities and noise disturbances in the mirror's temperature / humidity field, the detection output exhibits jitter and lag near the target dew point. When this detection signal directly drives full-power heating, the superposition of thermal inertia with the heating element can easily cause overshoot and fallback re-triggering, resulting in an excessively narrow hysteresis band, frequent start-stop cycles, increased energy consumption, and accelerated device fatigue. Summary of the Invention

[0005] On the one hand, an energy-saving defogging detection method for a bathroom mirror is provided, the method comprising: Analyze the measured value of the mirror clarity, query the energy-saving defogging operation status mark and perform the update, synchronously generate the main defogging demand signal, and evaluate the timing of main defogging exit based on the rate of change of clarity when the main defogging demand signal is received.

[0006] When the assessment result of the main defogging exit timing is that the main defogging exit is established, the determination of the establishment of the maintenance defogging requirement is made, and after outputting the maintenance defogging requirement signal, the maintenance defogging state is entered. The rate of change of clarity is analyzed and adaptive power energy saving adjustment suggestions are generated.

[0007] When the highest priority interruption is triggered based on the measured clarity value during the operation of maintaining the defogging state, a restart interruption signal is generated and the detection signal sequence is output synchronously.

[0008] On the other hand, an energy-saving defogging detection system for a bathroom mirror is provided, the system comprising: The main defogging determination module is used to analyze the measured value of the mirror clarity, query the energy-saving defogging operation status flag and perform updates, synchronously generate the main defogging demand signal, and evaluate the timing of main defogging exit based on the rate of change of clarity when the main defogging demand signal is received.

[0009] The defogging maintenance determination module is used to determine the establishment of the defogging maintenance requirement when the main defogging exit timing assessment result is established. After outputting the defogging maintenance requirement signal, it enters the defogging maintenance state, analyzes the rate of change of clarity, and generates adaptive power energy saving adjustment suggestions.

[0010] The interruption determination module is used to generate a restart interrupt signal and synchronously output the detection signal sequence when the highest priority interruption determination is triggered based on the measured clarity value during the operation of maintaining the defogging state.

[0011] The beneficial effects of the technical solutions provided by the embodiments of the present invention include at least the following: 1. This invention provides an energy-saving defogging detection method for bathroom mirrors. Through a multi-level control mechanism, it achieves accurate monitoring of mirror clarity and efficient energy-saving defogging operation. Continuous sampling and signal filtering ensure high accuracy of clarity data and flexibly adjust clarity judgment and defogging requirements, effectively avoiding energy waste and overheating caused by sensor delay and environmental inhomogeneity in traditional methods. Based on data-driven control, it achieves on-demand defogging, improving energy-saving performance. By introducing a learning rate factor and self-calibration mechanism, it can continuously optimize the clarity threshold under various environmental changes, ensuring stable operation over long periods. The design of the anomaly detection and restart mechanism effectively responds to sudden changes in mirror clarity, avoiding functional failures caused by error accumulation, thereby improving the reliability and durability of the system. It solves the problems of increased energy consumption and equipment fatigue caused by lag and excessively frequent start-stop in existing technologies.

[0012] 2. This invention ensures the accuracy of clarity data through real-time sampling and filtering. It uses a preset first clarity threshold to determine whether the main defogging function needs to be activated. The defogging requirement is dynamically adjusted according to the actual clarity of the mirror surface, avoiding unnecessary defogging operations. By sampling multiple times based on a time window and removing outliers during the dormant state, the accuracy and stability of the threshold are continuously monitored to ensure that the system can adapt to environmental changes and reduce misjudgments caused by external interference, thereby improving the robustness and reliability of the system.

[0013] 3. This invention dynamically generates corresponding adjustment suggestions based on the sharpness maintenance ratio while maintaining the defogging requirement, thereby adjusting the power output to avoid overheating and minimize energy consumption. By monitoring the natural changes in sharpness in real time, it can accurately propose power adjustment suggestions based on the actual situation, reducing errors caused by sensor sampling delays and environmental inhomogeneities in traditional methods, reducing lag and unnecessary start-stop cycles. The fine-tuning suggestions based on the sharpness change rate can effectively avoid instability or discontinuity in the defogging process caused by environmental changes. Through energy-saving adjustment and step-limiting strategies, the system's energy efficiency and stability are further improved.

[0014] 4. This invention ensures a rapid response and recovery to normal operation in the event of an anomaly or system error by setting a clarity restart threshold and an interrupt mechanism. If the measured clarity value of the shower mirror is less than or equal to the clarity restart threshold, a high-priority interrupt is immediately triggered to quickly terminate the current heating process. The main defogging is then re-determined based on the new state, ensuring automatic recovery in case of a fault. This improves system reliability and avoids prolonged ineffective operation. At the same time, it can save and restore the current adaptive parameters, ensuring rapid adaptation to the current environmental conditions when resuming operation and avoiding performance fluctuations caused by system restart. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 A flowchart of an energy-saving defogging detection method for a bathroom mirror provided in this application embodiment; Figure 2 A flowchart illustrating the method for maintaining the defogging state of an energy-saving defogging detection method for a bathroom mirror provided in this application embodiment; Figure 3 This is a schematic diagram of the structure of an energy-saving defogging detection system for a bathroom mirror provided in an embodiment of this application; Figure 4 Mind map of an energy-saving defogging detection system for a bathroom mirror provided in an embodiment of this application. Detailed Implementation

[0017] The technical solution provided in this application will now be described in conjunction with the accompanying drawings.

[0018] To facilitate understanding of the embodiments of this application, the following points will be explained first: First, in this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates an "or" relationship between the preceding and following related objects, but it does not exclude the possibility of indicating an "and" relationship; the specific meaning can be understood in context. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c; a and b; a and c; b and c; or a and b and c. Here, a, b, and c can be single or multiple.

[0019] Second, the use of prefixes such as "first" and "second" in this application is solely for the purpose of distinguishing and describing different things belonging to the same category, and does not constrain the order, size, or quantity of things. For example, "first message" and "second message" are simply different messages, and there is no chronological, size, or priority relationship between them.

[0020] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.

[0021] Embodiment 1 of the present invention Figure 1The diagram shows a flowchart of an energy-saving defogging detection method for a bathroom mirror according to an embodiment of this application. The method includes: acquiring a measured value of the mirror's clarity using an imaging photosensitive sensor, comparing it with a preset clear spot reference area to obtain a spot area ratio, and then converting this ratio into a clarity percentage. Based on the current measured clarity value and a preset threshold, it is determined whether to enter a main defogging determination state or a sleep state, and a main defogging demand signal is generated according to different conditions. Upon entering the sleep state, continuous sampling and calibration of the first and second clarity thresholds are performed to ensure parameter stability. The rate of clarity change is monitored, and the timing for exiting main defogging is evaluated. If the rate of clarity change meets preset conditions, a maintenance defogging demand signal is generated, and the system enters a maintenance defogging state. The recommended maintenance power value is adjusted according to the clarity maintenance ratio, and the power is adjusted when the clarity change is too fast or too slow. If the measured clarity value is lower than the restart threshold in the maintenance state, an interrupt signal is triggered, and the system re-enters the main defogging determination state. The entire process ensures that the mirror's clarity is within a suitable range, dynamically adjusts the heating power, and optimizes the energy-saving effect.

[0022] The image of the reflected light spot of the bathroom mirror is acquired in real time by an imaging photosensitive sensor. The image data is stored in the form of a two-dimensional pixel matrix, and each pixel corresponds to the light intensity gray value.

[0023] The acquired pixel matrix is ​​filtered using a low-pass filter to suppress environmental noise and random fluctuations from the sensor. Then, the filtered image is segmented using a threshold to identify the spot regions. The number of pixels in the spot regions is counted and multiplied by the actual area corresponding to each pixel to obtain the actual area of ​​the spot. The actual area of ​​the spot is then divided by a pre-calibrated reference area for clear spots to obtain the spot area ratio. Finally, the spot area ratio is converted into an intuitive percentage of sharpness using a preset linear mapping table to form a real-time measured value of sharpness.

[0024] A low-pass filter allows low-frequency components to pass through while suppressing high-frequency noise through frequency domain analysis of the signal, ensuring a smoother signal. In the processing, image signal data from an imaging photosensitive sensor is first received. This image signal contains useful sharpness information and random noise. The signal is then transmitted to the filter using an IIR (Infinite Impulse Response) filtering algorithm. In the frequency domain, the filter filters out noise components above a preset cutoff frequency, retaining only the low-frequency true signal components. The filtered signal more closely approximates the actual sharpness variation, reducing errors caused by high-frequency fluctuations. The final filtered signal is used for subsequent sharpness assessment and processing.

[0025] The Infinite Impulse Response (IIR) filter is a feedback-based digital filter whose output depends not only on the current and past input signals but also on past output signals. Due to this feedback characteristic, the impulse response of an IIR filter is theoretically infinite, meaning its output continues to have an effect over an infinite time. IIR filters typically have high computational efficiency, and their frequency response can be controlled by adjusting the filter's poles and zeros to achieve different filtering functions such as low-pass, high-pass, and band-pass. Because of the feedback involved, IIR filter design requires special attention to stability. Its mathematical model is usually expressed as a weighted sum of the input signal and past output signals, described by a difference equation.

[0026] During the initial installation and commissioning phase, the surface of the shower mirror was brought to a standard clear state free of fog, water film, and contamination. Under constant light source intensity, fixed sensor installation position, and preset exposure parameters, multiple frames of light spot images received by the imaging photosensitive sensor were continuously acquired. Each frame of image underwent uniform grayscale conversion, threshold segmentation, and noise suppression processing to extract the effective light spot area and calculate the corresponding pixel area. Statistical analysis was performed on the acquired light spot area data, and after removing outliers, the average value was taken as the representative light spot area under clear conditions. This value was recorded as the clear light spot reference area, which was stored in the database as a device-level parameter.

[0027] During the calibration phase, the pre-calibrated clear spot reference area in the database is used as a reference point for sharpness. Simultaneously, combined with a large number of experimental samples, corresponding spot images are acquired and their spot area ratios are calculated under different fog concentrations, water film thicknesses, or surface contamination levels. Different spot area ratio intervals are then labeled with corresponding sharpness levels, forming a set of spot area ratio and sharpness calibration samples. Based on this, a linear or piecewise linear function satisfying a monotonically increasing relationship is selected to fit the calibration samples, obtaining the mapping relationship between spot area ratio and sharpness percentage. This mapping is then stored in the database as a linear mapping table. During real-time operation, the spot area ratio within the current detection cycle is calculated, and then the corresponding sharpness interval is looked up in the mapping table using this spot area ratio as an index. If the spot area ratio lies between two adjacent mapping nodes, the corresponding sharpness percentage is calculated according to a preset linear interpolation rule, and the final measured sharpness value is output.

[0028] During the calibration phase, based on spot area data from multiple sets of clear and foggy states, the distribution characteristics of measured clarity values ​​in the normal usable range, the slightly foggy range, and the significantly foggy range are statistically analyzed, and the critical judgment boundary for main defogging intervention is determined accordingly. The position located at the lower limit of acceptable clarity, where the user's perceived risk of fogging increases significantly, is defined as the first clarity threshold, used to determine whether to enter the main defogging judgment process. At the same time, to avoid frequent start-stop of main defogging due to clarity fluctuations near the first clarity threshold, a restart judgment boundary with hysteresis characteristics is further introduced below the first clarity threshold, and the clarity value corresponding to this boundary is preset as the clarity restart threshold, which is lower than the first clarity threshold, used to limit the conditions for re-triggering the main defogging requirement in dormant or non-main defogging states.

[0029] Read the current measured value of the shower mirror clarity and query the energy-saving defogging operation status mark.

[0030] When the measured clarity value of the bathroom mirror is lower than or equal to the first clarity threshold, it indicates that the degree of fogging on the surface of the bathroom mirror has reached the lower limit of the allowable clarity. The current visible clarity is insufficient, and there is a clear need for defogging. Under this condition, if the energy-saving defogging operation status flag is found to be in the main defogging judgment state, it means that the main defogging condition corresponding to this clarity range has been identified and confirmed in the previous detection cycle. The current detection result is consistent with the existing judgment, so there is no need to trigger the state switch again. The main defogging demand signal is directly generated and output based on the latest measured clarity result to maintain the continuous operation of the main defogging function, thereby ensuring the continuity and stability of defogging control.

[0031] When the current energy-saving defogging operation status is marked as non-primary defogging determination state, it means that the current clarity level was not determined to require primary defogging in the previous detection cycle. At this time, in the current detection cycle, the measured value of the mirror clarity is lower than or equal to the first clarity threshold, indicating that the degree of fogging has significantly increased. Therefore, a clear state transition needs to be completed: the energy-saving defogging operation status is updated from the original non-primary defogging determination state to the primary defogging determination state. This is used to record the determination result of the current detection cycle, synchronously generate and output the primary defogging demand signal as an effective external detection result, trigger the primary defogging execution unit to start working, thereby ensuring timely defogging response, clear determination logic, and avoiding defogging delays caused by state lag.

[0032] When the measured clarity value of the bathroom mirror is higher than the first clarity threshold, it indicates that the current surface of the bathroom mirror is in an acceptable clarity state and has not yet reached the level of fogging that requires the activation of the main defogging function. If at the same time, the current energy-saving defogging operation status flag is not in the main defogging determination state, it means that logically it is not in the main defogging trigger or hold phase. In this detection cycle, no main defogging demand signal is generated or output. Instead, it is determined that the current defogging demand does not exist, and the process directly enters the next detection cycle. The energy-saving defogging operation status flag is updated to the dormant state to clearly record the detection results of the current cycle. This ensures the accuracy and long-term consistency of subsequent detection results without consuming additional defogging energy, reflecting the energy-saving characteristics of the detection process.

[0033] In the dormant state, if the measured value of the mirror clarity is lower than or equal to the clarity restart threshold, it indicates that the fogging degree of the mirror surface has reached the level requiring intervention again. At the same time, in order to avoid frequent triggering due to short-term fluctuations, the duration must also meet the minimum main defogging start time preset in the database. That is, the duration of the state where the clarity is lower than the restart threshold is above the set value. When these two conditions are met, the energy-saving defogging operation status mark is updated from the dormant state to the main defogging judgment state, and a main defogging demand signal is generated simultaneously to trigger the main defogging unit to start working. This ensures timely defogging response and avoids false triggering due to transient fluctuations, achieving a balance between continuity and energy saving.

[0034] The minimum main defogger activation time is calculated based on the time distribution of the bathroom mirror's clarity decreasing from an acceptable range to the point where the main defogger needs to be triggered. First, historical monitoring data is analyzed to examine changes in bathroom mirror clarity, statistically analyzing the duration and fluctuation characteristics of the clarity decrease to the restart threshold under different environmental conditions, with particular attention paid to the duration and amplitude of fogging. Based on this data, the system selects a minimum duration as the minimum main defogger activation time. Finally, this minimum main defogger activation time is stored as a device-level configuration parameter in the database and serves as a key basis for determining whether to restart the main defogger in each monitoring cycle.

[0035] If the measured clarity value of the shower mirror is higher than the first clarity threshold, it indicates that the surface of the shower mirror has recovered to clarity and the degree of fogging is lower than the main defogging trigger standard. However, the current energy-saving defogging operation status marker is still in the main defogging judgment state, indicating that the main defogging function has been started in the previous detection cycle and is in a continuous working state. At this time, in order to ensure the continuity of the defogging process and avoid prematurely stopping defogging due to a short-term rebound in clarity, it is still necessary to generate and output the main defogging demand signal so that the main defogging unit continues to run until the subsequent main defogging exit timing assessment, thereby achieving a smooth transition of the defogging operation and the stability of the defogging detection process.

[0036] When a main defogging request signal is received, an assessment of the timing for main defogging to exit is performed based on the rate of change in clarity.

[0037] The rate of change of the measured value of the mirror's clarity within a preset time window is recorded as the rate of change of clarity.

[0038] The time window preset in the database is obtained by collecting historical data on the sharpness changes of the bathroom mirror under different environmental conditions. The impact of factors such as temperature, humidity, and steam concentration on sharpness is analyzed to study the response time and fluctuation characteristics of sharpness changes. Based on this data, an appropriate time window length is determined to ensure that the window can capture the trend of sharpness changes while avoiding the influence of short-term noise fluctuations. The length of the time window is usually from several seconds to several minutes. This time window length is stored in the database as a configuration parameter and is used in each detection cycle to ensure that the calculation of the sharpness change rate is stable and accurate.

[0039] Since the signal indicating that the surface of the shower mirror has regained clarity has been triggered (i.e., the measured clarity value is higher than the first clarity threshold), if the rate of change in clarity is greater than the lower limit of the clarity change range, it means that the clarity recovery process of the shower mirror surface is still continuing and the recovery speed is relatively fast. The conditions for exiting the main defogging function have not yet been met. At this time, the main defogging exit evaluation result is determined to be invalid, that is, the clarity recovery has not yet stabilized, and the main defogging function needs to remain effective. To ensure the continuity and stability of the defogging operation, the current main defogging determination state is maintained, and the main defogging demand signal continues to be output to ensure that the main defogging unit continues to work until the rate of change in clarity is less than or equal to the lower limit of the clarity change range, so as to avoid premature exiting the defogging function and ensure that the clarity of the shower mirror surface is always at an acceptable level.

[0040] The clarity variation range in the database is based on experimental data and environmental characteristic analysis. By studying the clarity variation behavior of bathroom mirrors under different temperatures, humidity, and steam concentrations, a reasonable range of clarity variation is determined. This range is divided into multiple levels, such as a stable clarity range, a slight fogging range, and a heavy fogging range. Each range represents a different rate of clarity change and degree of recovery. The system analyzes the upper and lower limits of the rate of change to ensure that it can accurately reflect the fogging process of the bathroom mirror. During the preset process, the system is calibrated by combining experimental data and manual evaluation to ensure that the upper and lower limits of each range meet the actual application requirements. The preset rate of change threshold determines when to start the main defogging, maintain the defogging, or exit the defogging state.

[0041] If the rate of change in sharpness is less than or equal to the lower limit of the sharpness change range, it means that the sharpness recovery process of the mirror surface has become stable and the recovery rate is slow. This indicates that the fogging phenomenon has been effectively suppressed and meets the conditions for main defogging to be terminated. Therefore, the main defogging termination assessment result is recorded as the main defogging termination being established. The defogging operation has achieved the expected effect, the sharpness has been restored to a stable level, and it is no longer necessary to continue to perform the main defogging task.

[0042] Once the energy-saving defogging system determines that the main defogging has been deactivated, the sharpness maintenance ratio is obtained by dividing the sharpness change rate by the lower limit of the sharpness change range. This sharpness maintenance ratio is used for subsequent defogging maintenance decisions to ensure that the maintenance power can still be adjusted according to the actual sharpness changes after the main defogging has been deactivated, avoiding excessive energy consumption, while ensuring that the mirror maintains appropriate sharpness, thus achieving a balance between energy saving and efficiency.

[0043] like Figure 2 The flowchart of a method for maintaining the defogging state in an energy-saving defogging detection method for a bathroom mirror, as shown in this embodiment of the application, includes: monitoring the rate of change in sharpness and evaluating the timing for exiting the main defogging function; if the rate of change in sharpness meets preset conditions, generating a defogging maintenance demand signal, entering the defogging maintenance state; adjusting the recommended maintenance power value according to the sharpness maintenance ratio, and adjusting the power when the sharpness changes too quickly or too slowly; if the measured sharpness value is lower than the restart threshold in the maintenance state, triggering an interrupt signal and re-entering the main defogging determination state.

[0044] The second threshold for sharpness is obtained by multiplying the first threshold for sharpness by the sharpness maintenance ratio.

[0045] The system monitors the real-time changes in the sharpness of a bathroom mirror, records the measured sharpness value and corresponding timestamp at each time point, calculates the rate of change in sharpness between consecutive sampling points (i.e., the amount of change in sharpness per unit time), obtains the measured sharpness values ​​d1 and d2 corresponding to two consecutive time points t1 and t2, calculates the time difference Δt between them, calculates the change in sharpness Δd, and divides the change in sharpness Δd by the time difference Δt to obtain the rate of change in sharpness. Where Y represents the rate of change of sharpness, Δd represents the amount of change of sharpness, and Δt represents the time difference. Based on the current rate of change of sharpness, the time required for the sharpness of the bathroom mirror to fall back to the second threshold of sharpness is calculated. The calculation method is as follows: subtract the second threshold of sharpness from the current measured value of the sharpness of the bathroom mirror to obtain the sharpness difference value. Divide the sharpness difference value by the rate of change of sharpness to obtain the predicted time of sharpness decline.

[0046] When the measured value of the mirror's clarity drops below the second clarity threshold or the predicted time for the clarity decrease is less than the preset prediction time threshold, it means that the mirror's clarity has fallen to an unsatisfactory level, which may affect its usability. In this case, it is necessary to maintain the mirror's clarity by maintaining defogging. Alternatively, under the current environmental conditions, the clarity decreases rapidly, and it is expected that the clarity will soon fall to an unacceptable level. Even though the main defogging has been completed and the mirror's clarity had reached a high level, factors such as humidity or steam in the environment may still cause the clarity to decrease rapidly. In this case, it is determined that the need to maintain defogging is met, and the system enters the defogging maintenance state, starting a low-power defogging operation to prevent the clarity from continuing to decrease and ensure that the mirror remains at an acceptable clarity level.

[0047] The preset prediction time thresholds in the database are usually achieved through statistical analysis of historical and experimental data. This involves collecting and organizing data on sharpness changes under different environmental conditions, including the rate and time of sharpness changes in bathroom mirrors under the influence of factors such as temperature, humidity, and steam concentration. This data is collected through on-site monitoring, laboratory simulation, or historical cases, and the relationship between the rate of sharpness change and defogging requirements is marked. Combined with the expertise and relevant experience of experts in the field, prediction time thresholds are set. These prediction time thresholds help the system determine whether to start or restart the defogging operation. Finally, these thresholds are preset and stored in the database, and are periodically optimized and adjusted according to actual needs.

[0048] Conversely, if the measured sharpness value does not drop to the second sharpness threshold and the predicted sharpness drop time exceeds the preset prediction time threshold, it indicates that the sharpness change is slow or stable. It is determined that the need to maintain defogging is not valid, so defogging is stopped and the main defogging demand signal is output. The main defogging operation continues to be performed until the environmental conditions change or the sharpness drops back to the level where defogging is required.

[0049] The process of determining the recommended maintenance power value based on the sharpness maintenance ratio is calculated based on the relationship between the current sharpness and the set threshold. The power maintenance ratio is obtained based on the current sharpness maintenance ratio. The current power maintenance ratio is multiplied by the execution power of the main defogging to obtain the recommended maintenance power value. The recommended maintenance power value is to avoid excessive energy waste while maintaining sharpness. As the sharpness maintenance ratio changes, the maintenance power will also be dynamically adjusted to ensure stable sharpness while minimizing energy consumption. The calculated recommended maintenance power value is output to control the power level of the defogging operation.

[0050] The database uses a series of rules and functions to map the sharpness maintenance ratio to the power maintenance ratio. By monitoring sharpness data in real time, the current sharpness maintenance ratio is calculated, which is the ratio difference between the actual sharpness value and the preset sharpness threshold. Then, the database converts the sharpness maintenance ratio into the corresponding power maintenance ratio according to the preset mapping rules or functions. These rules can include linear mapping, nonlinear mapping, or piecewise functions. The specific mapping relationship is preset through control parameters in the database, such as coefficients in linear equations or thresholds of piecewise functions, and is adjusted according to historical data or actual needs. In this way, the power output can be automatically adjusted according to changes in real-time sharpness, such as increasing or decreasing power, thereby optimizing the defogging effect and reducing energy consumption, ensuring that the sharpness of the shower mirror reaches the best state.

[0051] The power maintenance ratio refers to the ratio between the required power output and the main defogging power, which is dynamically adjusted according to changes in the clarity of the mirror while maintaining defogging. This ratio is used to control the power output of the defogging equipment to ensure that the clarity is kept within a suitable range, while avoiding overheating or energy waste. When the clarity maintenance ratio is high, the power maintenance ratio is also high, which means that the equipment needs more power to maintain the clarity. When the clarity is relatively stable, the power maintenance ratio is low, thereby reducing the power output and achieving energy saving.

[0052] When the measured value of the mirror's clarity exceeds the first threshold, it means that the mirror's clarity has recovered to the expected standard, the defogging task has been completed, and the current clarity is sufficient to meet usage requirements. A maintenance pause suggestion detection signal will be generated, indicating that the current clarity has stabilized and there is no need to continue the maintenance defogging operation. The output of the maintenance defogging requirement signal will be stopped, and the defogging function will be paused to avoid unnecessary energy consumption and power consumption. At the same time, it will ensure that the mirror can maintain a stable state when the clarity reaches the standard. Conversely, if the mirror's clarity has not recovered, heating power will continue to be provided to maintain the mirror's clarity.

[0053] Within a preset time period in the database, the natural changes in the clarity of the bathroom mirror are continuously monitored. If the measured clarity value of the bathroom mirror is found to be lower than the second clarity threshold during this period, it indicates that the clarity of the bathroom mirror has begun to decline and has failed to maintain the expected level. Therefore, a signal to maintain the defogging cycle is output, indicating that the defogging operation needs to be restarted to prevent further decline in clarity. At the same time, the recommended maintenance power value is restored to ensure that the defogging operation continues and the mirror remains clear.

[0054] The preset duration in the database is set based on the actual needs and environmental factors of changes in the clarity of the bathroom mirror. Through historical data analysis and experimental verification, the pattern of clarity change under different environmental conditions is evaluated, especially the clarity maintenance requirements under different temperatures, humidity and steam concentrations. Combined with real-time monitoring data of clarity changes in experiments, a reasonable time range required to maintain clarity is determined. This duration is usually set as the shortest time that can effectively maintain clarity under normal conditions. Based on different usage scenarios, climates and the performance characteristics of the bathroom mirror, a suitable duration range is set in the database.

[0055] If the clarity of the shower mirror is not below the second threshold, it indicates that the clarity has stabilized, and the test is considered complete. The energy-saving defogging operation status is then updated to dormant, indicating that there is no need to continue defogging or maintain defogging operations. All monitoring results are summarized into a comprehensive test result set, including the current clarity status and the latest recommended maintenance power value. These results will be stored and used for subsequent analysis and optimization to ensure that the defogging test process remains efficient and accurate, and can respond promptly to future environmental changes.

[0056] Upon receiving the output signal requesting the maintenance of the defogging cycle, the system begins to analyze the rate of change of the mirror's clarity during the natural process. It monitors the rate of change in clarity in real time and compares it with a preset clarity change range. When the rate of change in clarity is greater than or equal to the upper limit of the clarity change range, it indicates that the clarity is changing too quickly, and an over-limit counter is activated and incremented. Conversely, when the rate of change in clarity is less than or equal to the lower limit of the clarity change range, it indicates that the clarity is changing too slowly, and a low-limit counter is activated and incremented as well.

[0057] If the rate of change lower limit counter reaches the preset number of acceptances threshold, it indicates that the rate of change of sharpness is continuously too slow, and it is determined that the sharpness is not stable. The sharpness change deviation value is obtained by subtracting the rate of change of sharpness from the lower limit value of the sharpness change range, and the suggestion information to maintain the power increase is output to increase the defogging power, improve the rate of change of sharpness, and ensure that the mirror remains clear.

[0058] If the rate of change counter reaches the preset threshold for the number of acceptances, it indicates that the rate of change in sharpness is continuously too fast, and it is determined that the sharpness is changing too fast. Subtracting the upper limit of the sharpness change range from the rate of change in sharpness gives the sharpness change deviation value, which may lead to unnecessary power waste. Therefore, the system outputs a suggestion to maintain a power reduction to reduce the defogging power, avoid overheating, save energy, and ensure the high efficiency of the defogging detection process.

[0059] The recommended information for maintaining power increase includes the recommended value for maintaining power increase and its adjustment step value. The recommended value for maintaining power is limited to a preset reasonable range. The size of the step value is determined based on the sharpness change deviation value. The recommended value for maintaining power increase is obtained by adding the recommended value for maintaining power and the adjustment step value.

[0060] The recommended information for maintaining power reduction includes the recommended value for maintaining power reduction and its adjustment step value. The recommended value for maintaining power reduction is limited to a preset reasonable range. The size of the step value is determined based on the sharpness change deviation value. Subtracting the adjustment step value from the recommended value for maintaining power reduction yields the recommended value for maintaining power increase.

[0061] The size of the step value determines the magnitude of the power change with each adjustment. Smaller step values ​​enable finer power control and avoid overshoot or instability caused by large fluctuations; while larger step values ​​can respond to changes more quickly, but may lead to larger power fluctuations.

[0062] The recommended power values ​​should be maintained within the range of the factory-set maximum and minimum power.

[0063] The step value is determined based on the sharpness variation deviation value, specifically calculated using a pre-defined mapping logic in the database. The system searches the database for the corresponding step value mapping rule based on the sharpness variation deviation value. This mapping logic, based on experimental data and the performance requirements of the defogging detection process, defines the relationship between different ranges of sharpness variation deviation values ​​and their corresponding step values. The mapping process is typically based on the sharpness variation deviation value and the expected power adjustment requirements. First, experimental data is used to analyze the relationship between the mirror's sharpness and power to determine different ranges of sharpness variation deviation values. If the sharpness variation deviation value is large, the system will require a larger power adjustment step value to quickly restore sharpness; if the sharpness variation deviation value is small, the step value will be smaller. In the database, these relationships between sharpness variation deviation value ranges and step values ​​are mapped into a table or function. When the defogging detection process detects a change in sharpness in real time, it searches for the corresponding step value based on the current deviation value, thereby controlling the adjustment range of the maintenance power. This mapping logic ensures that the defogging detection process can accurately and smoothly adjust the power under different sharpness variation conditions, optimizing energy efficiency and defogging effects.

[0064] If, during the defogging process, the measured value of the mirror's clarity is less than or equal to the clarity restart threshold, it means that the current defogging effect has failed to meet expectations, and the mirror's clarity has dropped to an unsatisfactory level, which may affect visual clarity or usability. This indicates an abnormal situation during the defogging process, such as excessively high ambient humidity, increased steam concentration, or insufficient defogging power, resulting in incomplete clarity recovery or a rapid decline in clarity. In this case, emergency measures need to be taken to stop the current defogging operation and restart the main defogging operation to restore clarity and ensure that the user can obtain the expected clarity.

[0065] The current request to maintain heating output is terminated to stop maintaining heating and prevent energy waste. The current adaptive parameter context, including defogging settings, temperature, humidity, and other information, is suspended and saved for later recovery or adjustment. Then, the energy-saving defogging operation status is updated to the main defogging judgment status, and the main defogging demand signal is output to restart the defogging process, ensuring that the clarity of the shower mirror is restored to the predetermined range, thereby ensuring the continuity and stability of the defogging effect.

[0066] The primary defogging operation rapidly improves mirror clarity, ensuring it reaches an acceptable level, i.e., the first clarity threshold. Maintaining defogging mode, after the primary defogging effect is complete, continuously adjusts the recommended maintenance power value based on changes in clarity to avoid overheating, maintain mirror clarity, reduce energy consumption, and extend equipment lifespan. Sleep mode, when the system detects that clarity has returned to normal, enters a low-power mode, stopping defogging to avoid energy waste and equipment wear caused by frequent start-stop cycles.

[0067] In Embodiment 2 of the present invention, based on the other aspects remaining unchanged from Embodiment 1, a configuration background self-calibration mechanism is further provided. The specific analysis method is as follows: When in dormancy, continuous sampling is performed based on a preset time window in the database to monitor the changing trend of the mirror's clarity. During the sampling process, the collected data is filtered to remove possible outliers. The mean of the remaining valid sampling points is processed to generate a new candidate first threshold for clarity, which is the clarity standard dynamically adjusted under the current environmental conditions. The change range of the first threshold for clarity is obtained by subtracting the preset first threshold for clarity in the database from the candidate first threshold for clarity.

[0068] If the change in the first resolution threshold is within the expected drift range, the verification is considered successful, and the first resolution threshold is updated according to the preset learning rate factor in the database. , where A is the updated value of the first resolution threshold, B represents the first resolution threshold, C represents the candidate first resolution threshold, and α represents the learning rate factor.

[0069] The learning rate factor in the database is preset based on the optimization requirements of the defogging detection process, aiming to balance the flexibility and stability of parameter updates. The learning rate factor is a coefficient that controls the adjustment speed of the defogging detection process. It is preset based on historical data analysis and experimental results. This learning rate factor reflects the responsiveness of the defogging detection process to environmental changes and determines the weight ratio between the old and new thresholds in each parameter update. By simulating different sharpness change scenarios in the experimental environment and gradually adjusting the value of the learning rate factor, the impact of each value on the sharpness threshold update speed and the stability of the defogging detection process is tested. The response time from the decrease in mirror sharpness to the triggering of the main defogging demand signal is recorded under each learning rate factor. These experimental data are analyzed to calculate the average response time under each learning rate factor. The learning rate factor with the best performance in response time, i.e., the learning rate value with the shortest response time, is selected, preset, and stored in the database as an adjustable configuration item. During runtime, it dynamically affects the adjustment process of the sharpness threshold in the defogging detection process.

[0070] The drift range is preset in the database based on the process of setting historical sharpness fluctuation data. First, sharpness data under different environmental conditions is collected over a long period of time, and its basic statistical indicators, including mean, standard deviation, maximum and minimum values, are analyzed to understand the magnitude of sharpness fluctuation. The standard deviation is used as a reference for the fluctuation range and is set to the mean plus or minus 3 times the standard deviation to cover most normal fluctuations.

[0071] The first sharpness threshold update value is multiplied by the sharpness maintenance ratio to obtain the second sharpness threshold update value, which is then applied to the next cycle, thereby ensuring that the defogging process of the defogging detection procedure can better adapt to the current environmental changes.

[0072] If the change in the first threshold of clarity exceeds the preset drift range during the verification process, the defogging detection process will consider the verification to have failed, stop updating, and record the abnormal information to prevent parameter misadjustment caused by excessive environmental changes or other abnormal conditions, and ensure that the defogging detection process always remains in a stable working state.

[0073] In Embodiment 3 of the present invention, based on Embodiment 1 or Embodiment 2, the adaptive power energy-saving adjustment suggestion further includes a step attenuation suggestion, and the specific analysis method is as follows: The suggestion information ratio is obtained by dividing the total number of suggestions to increase the maintenance power by the total number of suggestions to decrease the maintenance power during the continuous adjustment cycle. If the suggestion information ratio is outside the preset suggestion information ratio range, it means that there is no over-response or instability during the adjustment process, and the larger number of maintenance power suggestions are executed. If the suggestion information ratio is within the preset suggestion information ratio range, it means that there is over-response or instability during the adjustment process. This situation is usually regarded as a risk of parameter oscillation. In order to avoid the negative impact caused by frequent adjustments in the defogging detection process, a step decay suggestion is output.

[0074] The preset range of recommended information ratios in the database is set based on the three standard deviations principle in statistics. By collecting historical data on maintenance power adjustment recommendations, the mean and standard deviation of these data are calculated. Using the mean plus or minus three standard deviations, a reasonable range for the recommended information ratio is set. That is, the lower limit is set as the mean minus three standard deviations, and the upper limit is set as the mean plus three standard deviations. This range is stored in the database as a preset parameter for subsequent maintenance power adjustment recommendations. In real-time monitoring, when the maintenance power recommendation value exceeds this range, the system will identify it as an abnormal fluctuation and take corresponding control measures, such as adjusting the step size, to avoid over-response and energy waste.

[0075] The step decay suggestion is to gradually reduce the power adjustment step value according to the preset decay rule in order to reduce fluctuations during the adjustment process. The specific decay process is controlled by the set decay ratio. When alternating adjustment is detected, the current adjustment step value is first multiplied by a decay ratio to obtain the step update value, and then the adjustment continues to be performed. The response of the defogging detection process is observed. If the defogging detection process still shows over-response or instability, the step update value is multiplied by the decay ratio again, and the step value continues to decrease until the defogging detection process stabilizes and returns to a stable power adjustment state.

[0076] like Figure 3 The diagram shown is a structural schematic of an energy-saving defogging detection system for a bathroom mirror provided in an embodiment of this application, including: a main defogging determination module, a sustained defogging determination module, and an interruption determination module.

[0077] Among them, the main defogging determination module is used to analyze the measured value of the mirror clarity, query the energy-saving defogging operation status mark and perform the update, synchronously generate the main defogging demand signal, and evaluate the main defogging exit timing based on the rate of change of clarity when the main defogging demand signal is received. The defogging maintenance determination module is used to determine the establishment of the defogging maintenance requirement when the main defogging exit timing evaluation result is established. After outputting the defogging maintenance requirement signal, it enters the defogging maintenance state, analyzes the rate of change of clarity, and generates adaptive power energy saving adjustment suggestions. The interruption determination module is used to generate a restart interrupt signal and synchronously output the detection signal sequence when the highest priority interruption determination is triggered based on the measured clarity value during the operation of maintaining the defogging state.

[0078] like Figure 4 The mind map for an energy-saving defogging detection system for a bathroom mirror provided in this application embodiment includes: acquiring the measured value of the mirror's clarity in real time through an imaging photosensitive sensor, comparing it with a preset clear spot reference area, calculating the spot area ratio, and then converting it into an intuitive clarity percentage. Based on the current measured clarity value, it determines whether to enter the main defogging judgment state or the sleep state, and generates a main defogging demand signal under different conditions. After entering the sleep state, it continuously samples according to a preset time window in the database and calibrates the first and second thresholds of clarity to ensure parameter stability. It monitors the rate of change of clarity in real time and evaluates the timing of exiting the main defogging based on set conditions. Once the rate of change of clarity meets the preset conditions, it generates a maintenance defogging demand signal and enters the maintenance defogging state. In the maintenance defogging state, it dynamically adjusts the maintenance power recommendation value according to the clarity maintenance ratio and adjusts the power according to the rate of change of clarity. If the measured value of clarity in the maintenance state is lower than the restart threshold, it triggers an interrupt signal and re-enters the main defogging judgment state.

[0079] The various features and processes described above can be used independently of each other or can be combined in various ways. All possible combinations and sub-combinations are intended to fall within the scope of this disclosure. Furthermore, certain method or process blocks may be omitted in some embodiments. The methods and processes described herein are not limited to any particular order, and the blocks or states associated with them may be performed in other suitable orders. For example, the described blocks or states may be performed in an order different from the order specifically disclosed, or multiple blocks or states may be combined in a single block or state. Example blocks or states may be performed serially, in parallel, or in some other manner. Blocks or states may be added to or removed from the disclosed example embodiments. The exemplary systems and components described herein may be configured differently from those described. For example, elements may be added to, removed from, or rearranged compared to the disclosed example embodiments.

[0080] The various operations of the example methods described herein can be performed at least in part by an algorithm. This algorithm can be contained in program code or instructions stored in memory (e.g., the aforementioned non-transitory computer-readable storage medium). Such an algorithm may include a machine learning algorithm. In some embodiments, the machine learning algorithm may not be explicitly programmed into the computer to perform the function, but can learn from training data to create a predictive model that performs the function.

[0081] The various operations of the example methods described herein can be performed, at least in part, by one or more processors that are temporarily configured (e.g., by software) or permanently configured to perform the relevant operations. Whether temporarily or permanently configured, such processors can constitute the engine of a processor implementation that operates to perform one or more of the operations or functions described herein.

[0082] Similarly, the methods described herein can be implemented at least in part by a processor, where one or more specific processors are examples of hardware. For example, at least some operations of a method can be performed by one or more processors or an engine implemented by a processor. Furthermore, one or more processors can also be operated to support the performance of related operations in a “cloud computing” environment or as “Software as a Service” (SaaS). For example, at least some operations can be performed by a set of computers (as an example of a machine including processors), where these operations are accessible via a network (e.g., the Internet) and via one or more suitable interfaces (e.g., application programming interfaces (APIs)).

[0083] The performance of certain operations can be distributed across processors, residing not only within a single machine but also deployed across multiple machines. In some example embodiments, the processor or processor-implemented engine may reside in a single geographic location (e.g., within a home environment, office environment, or server cluster). In other example embodiments, the processor or processor-implemented engine may be distributed across multiple geographic locations.

[0084] In this specification, multiple instances may implement components, operations, or structures described as single instances. Although individual operations of one or more methods are shown and described as separate operations, one or more of the separate operations may be performed simultaneously and do not need to be performed in the order shown. Structures and functions presented as separate components in the example configuration may be implemented as composite structures or components. Similarly, structures and functions presented as single components may be implemented as separate components. These and other variations, modifications, additions, and improvements fall within the scope of this document.

[0085] While an overview of the subject matter has been described with reference to specific example embodiments, various modifications and changes can be made to these embodiments without departing from the broader scope of embodiments of this disclosure. Such embodiments of the subject matter are referred to herein, individually or collectively, by the term "invention," and are used for convenience only and are not intended to limit the scope of this application to any single disclosure or concept, should more than one disclosure or concept be disclosed in fact.

[0086] The embodiments described herein have been described in sufficient detail to enable those skilled in the art to practice the disclosed teachings. Other embodiments may be used and derived therefrom, such that structural and logical substitutions and changes may be made without departing from the scope of this disclosure. Therefore, the detailed description should not be construed as limiting, and the scope of the various embodiments is defined only by the appended claims and the full scope of their equivalents.

Claims

1. A method for detecting energy-saving defogging of a bathroom mirror, characterized in that, Includes the following steps: Analyze the measured value of the mirror clarity, query the energy-saving defogging operation status mark and perform the update, synchronously generate the main defogging demand signal, and evaluate the main defogging exit timing based on the rate of change of clarity when the main defogging demand signal is received. When the main defogging exit timing assessment result is that the main defogging exit is established, the maintenance defogging requirement is determined, and after outputting the maintenance defogging requirement signal, the maintenance defogging state is entered. The clarity change rate is analyzed and an adaptive power energy saving adjustment suggestion is generated. When the highest priority interruption is triggered based on the measured clarity value during the operation of maintaining the defogging state, a restart interruption signal is generated and the detection signal sequence is output synchronously.

2. The energy-saving defogging detection method for a bathroom mirror as described in claim 1, characterized in that: The specific analysis method for the measured values ​​of the clarity of the bathroom mirror is as follows: The pixel area of ​​the light spot received by the imaging photosensor is obtained and the signal is filtered to suppress noise; The area of ​​the spot is compared with the pre-calibrated clear spot reference area in the database, and the spot area ratio is obtained based on the current spot area and the reference area. The percentage of sharpness is obtained based on the area ratio of the light spot, and is recorded as the measured value of the sharpness of the bathroom mirror.

3. The energy-saving defogging detection method for a bathroom mirror as described in claim 1, characterized in that: The process of querying and updating the energy-saving defogging operation status flag, and simultaneously generating the main defogging demand signal, is analyzed as follows: Retrieve the preset first resolution threshold and resolution restart threshold from the database; Read the current measured value of the bathroom mirror's clarity and check the energy-saving defogging operation status marker; If the measured value of the mirror clarity is lower than or equal to the first threshold of clarity, and the current energy-saving defogging operation status is marked as the main defogging determination state, then a main defogging demand signal is generated. If the current energy-saving defogging operation status is marked as the non-main defogging determination state, then the energy-saving defogging operation status is updated to the main defogging determination state, and a main defogging demand signal is generated simultaneously. If the measured value of the mirror clarity is higher than the first threshold of clarity, and the current energy-saving defogging operation status mark is not in the main defogging determination state, then the main defogging demand signal will not be output in this cycle, and the detection will continue in the next cycle. At the same time, the energy-saving defogging operation status mark will be updated to the dormant state, and the background self-calibration mechanism will be configured. In the dormant state, if the measured value of the mirror clarity is detected to be lower than or equal to the clarity restart threshold and the duration meets the minimum main defogging start time preset in the database, the energy-saving defogging operation status will be updated to the main defogging determination state, and a main defogging demand signal will be generated simultaneously. If the measured value of the mirror clarity is higher than the first clarity threshold and the current energy-saving defogging operation status is marked as being in the main defogging determination state, then a main defogging demand signal is generated.

4. The energy-saving defogging detection method for a bathroom mirror as described in claim 3, characterized in that: The specific analysis method for configuring the background self-calibration mechanism is as follows: When in a dormant state, continuous sampling is performed based on a preset time window of the database; After removing outliers, a candidate first threshold for sharpness is generated based on the remaining sampling points, and the change range between the candidate first threshold and the first threshold for sharpness is verified and recorded as the change range of the first threshold for sharpness. It is then checked whether the change range is within the preset drift range. If the change in the first threshold of sharpness is within the preset drift range, it is considered a successful verification. The preset learning rate factor in the database is then introduced to update the first threshold of sharpness, so that the entire parameter system can be calibrated synchronously. If the change in the first threshold of clarity is outside the preset drift range, it is recorded as a verification failure, the update is frozen, and the anomaly is recorded.

5. The energy-saving defogging detection method for a bathroom mirror as described in claim 1, characterized in that: When a main defogging request signal is received, an assessment of the main defogging exit timing is performed based on the rate of change in clarity. The specific analysis method is as follows: The rate of change of the measured value of the clarity of the shower mirror within a preset time window is recorded as the rate of change of clarity. Extract the preset resolution variation range from the database; If the rate of change in sharpness is greater than the lower limit of the sharpness change range, the main defogging exit evaluation result will be recorded as "main defogging exit not established", the main defogging judgment state will be maintained, and the main defogging demand signal will continue to be output. If the rate of change in sharpness is less than or equal to the lower limit of the sharpness change range, then the main defogging exit evaluation result is recorded as the main defogging exit being successful.

6. The energy-saving defogging detection method for a bathroom mirror as described in claim 1, characterized in that: When the assessment result of the main defogging exit timing is that the main defogging exit is established, the determination of whether the defogging maintenance requirement is established is performed. The specific analysis method is as follows: Once the energy-saving defogging determination is established and the main defogging is discontinued, the sharpness maintenance ratio is obtained based on the sharpness change rate and the lower limit of the sharpness change range. A second threshold for sharpness is obtained based on the first threshold for sharpness and the sharpness maintenance ratio; Analyze the predicted time of sharpness decline when the measured sharpness value of the bathroom mirror reaches the second sharpness threshold. When the measured value of the mirror clarity falls below the second clarity threshold or the predicted time of clarity decrease is less than the preset prediction time threshold, it is determined that the maintenance defogging requirement is met and the system enters the maintenance defogging state. Otherwise, it is determined that the maintenance defogging requirement is not met and the main defogging requirement signal is output.

7. The energy-saving defogging detection method for a bathroom mirror as described in claim 6, characterized in that: The process of entering the defogging maintenance state specifically includes: Determine and output the recommended maintenance power value based on the sharpness maintenance ratio; When the measured value of the mirror clarity exceeds the first threshold, a maintenance pause suggestion detection signal is generated, and the output of the maintenance defogging demand signal is stopped. Within the preset duration in the database, the natural change process of the measured value of the mirror clarity is monitored; otherwise, the maintenance heating operation is continued. If the measured value of the mirror clarity is less than the second threshold of clarity, output a signal to maintain the defogging cycle requirement and restore the recommended maintenance power value; If the clarity of the shower mirror is not lower than the second clarity threshold, the test is considered complete, the energy-saving defogging operation status is updated to sleep state, and all output results are combined into a comprehensive test result set, including: the current clarity status, the recommended maintenance power value, and the background self-calibration judgment result.

8. The energy-saving defogging detection method for a bathroom mirror as described in claim 1, characterized in that: The analysis method for determining the rate of change in image sharpness and generating adaptive power-saving adjustment suggestions is as follows: After receiving the output signal indicating the need to maintain the defogging cycle, analyze the rate of change in clarity during the natural change process; When the rate of change in sharpness is greater than or equal to the upper limit of the sharpness change range, the rate of change exceeding the limit counter is incremented by one. When the rate of change in sharpness is less than or equal to the lower limit of the sharpness change range, the rate of change lower limit counter is incremented by one. If the rate of change low limit counter reaches the preset number of receptions threshold, it is determined that the rate of change of sharpness is continuously too slow, and a suggestion message to maintain power increase is generated and output. If the rate of change counter reaches the preset threshold for the number of receptions, it is determined that the rate of change in sharpness is continuously too fast, and a suggestion message to maintain a power reduction is generated and output.

9. The energy-saving defogging detection method for a bathroom mirror as described in claim 1, characterized in that: When the highest priority interruption is triggered based on the measured clarity value during the operation of maintaining the defogging state, a restart interruption signal is generated, and a detection signal sequence is output synchronously. The specific analysis method is as follows: During the defogger operation, if the measured value of the mirror clarity is less than or equal to the clarity restart threshold, the highest priority interruption is immediately triggered, a restart interruption signal is generated, and the following detection signal sequence is output simultaneously: Output a request message to immediately terminate the current heating output; Output the instruction information that suspends and saves the current adaptive parameter suggestion context; The energy-saving defogging operation status is updated to the main defogging determination status, and the main defogging demand signal is output.

10. An energy-saving defogging detection system for a bathroom mirror, characterized in that, include: Main defogging determination module, sustained defogging determination module, and interruption determination module; The main defogging determination module is used to analyze the measured value of the mirror clarity, query the energy-saving defogging operation status mark and perform the update, synchronously generate the main defogging demand signal, and evaluate the main defogging exit timing based on the rate of change of clarity when the main defogging demand signal is received. The maintenance defogging determination module is used to determine the establishment of maintenance defogging requirement when the evaluation result of the main defogging exit timing is established, output the maintenance defogging requirement signal and enter the maintenance defogging state, analyze the rate of change of clarity, and generate adaptive power energy saving adjustment suggestions. The interruption determination module is used to generate a restart interruption signal and synchronously output a detection signal sequence when the highest priority interruption determination is triggered based on the measured clarity value during the operation of maintaining the defogging state.

Citation Information

Patent Citations

  • Fog detection device, demisting system, demisting method and vehicle

    CN120539116A