A wiper control method, device and vehicle
By analyzing the characteristics of wiper light changes, distinguishing between oil film and raindrop factors, and controlling the wipers to enter the appropriate mode, the problem of false triggering caused by oil film was solved, and the adaptive control capability and durability of the wipers were improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHEJIANG GEELY HLDG GRP CO LTD
- Filing Date
- 2026-04-29
- Publication Date
- 2026-06-02
AI Technical Summary
Existing wiper systems cannot effectively distinguish between the stable signal offset caused by the oil film and the discrete signal fluctuation caused by raindrops when there is an oil film on the windshield. This leads to frequent false triggering, affecting driving safety and accelerating wiper blade wear.
By acquiring the characteristics of light changes before and after wiping, and combining the preset light change characteristics of oil film and raindrop factors, we analyze light interference factors, and control the wipers to enter the corresponding working modes based on the analysis results, including oil film shielding mode and normal mode, in order to distinguish and handle different interference factors.
It effectively avoids false triggering caused by oil film, reduces the frequency of wiper malfunctions, and improves the driving experience and system durability.
Smart Images

Figure CN122126218A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of windshield wiper technology, and more specifically to a windshield wiper control method, device, and vehicle. Background Technology
[0002] Automatic windshield wiper systems, as a crucial feature for enhancing driving convenience and safety, rely on rain sensors to accurately detect the state of raindrops on the windshield surface. Existing sensors typically employ infrared detection, determining rainfall by emitting infrared light and receiving the intensity of reflected light from the glass surface. However, in real-world driving environments, windshields are prone to developing oil films. The presence of these oil films continuously and steadily alters the reflectivity of infrared light, causing a consistent shift in the light intensity signal received by the sensor. Current control methods often depend on a single light intensity threshold to determine whether to trigger the wipers. When the signal shift caused by the oil film exceeds this threshold, the system misinterprets it as small raindrops, leading to frequent and ineffective wiper activation.
[0003] The existing technology uses a single light intensity threshold judgment logic, which essentially attributes any significant change in light intensity to raindrops. It cannot effectively distinguish between the stable signal offset caused by oil film and the discrete, random signal fluctuations caused by raindrops. This defect causes the system to continuously generate false triggers for quick wipers in light rain when there is an oil film on the windshield. This not only interferes with the driver's vision and affects driving safety, but also accelerates wiper blade wear and increases energy consumption. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a windshield wiper control method, device, and vehicle to solve the problem that the prior art cannot distinguish between the stable signal offset caused by oil film and the discrete signal fluctuation caused by raindrops, resulting in frequent false triggering of the windshield wipers under oil film interference.
[0005] In a first aspect, embodiments of the present invention provide a windshield wiper control method, the method comprising: Acquire the characteristics of light change on the windshield surface before and after the wiping action; Based on the light change characteristics, the light interference factors on the windshield surface are analyzed to obtain the analysis results. The light interference factors include at least one of oil film factors and raindrop factors. Based on the analysis results, the windshield wipers are controlled to enter the corresponding working mode so that the windshield wipers perform wiping actions in the working mode. Each working mode corresponds to different lighting conditions, and the wiping action is triggered when the lighting conditions are met.
[0006] Furthermore, before acquiring the characteristics of light change on the windshield surface before and after the wiping action, the method further includes: Acquire a reference illumination signal on the surface of the windshield, wherein the reference illumination signal is collected when the wiper reaches a preset stopping position after performing the first wiping action; The first real-time illumination signal of the windshield surface is acquired at a preset sampling interval, and the first change characteristics between the reference illumination signal and the first real-time illumination signal are analyzed. When the first change feature meets the first change condition, it is determined that there is an abnormal lighting in the current scene.
[0007] Furthermore, acquiring the illumination change characteristics of the windshield surface before and after the wiping action includes: In the event of abnormal lighting conditions in the current scene, control the windshield wipers to perform a wiping action; If the wiper reaches a preset stopping position after performing the wiping action, the second real-time illumination signal of the windshield surface when the wiping action is triggered is obtained, and the third real-time illumination signal of the windshield surface is collected. The illumination change characteristics on the windshield surface before and after the wiping action are generated based on the second real-time illumination signal and the third real-time illumination signal.
[0008] Furthermore, the method for acquiring light signals on the windshield surface includes: Detection light is emitted synchronously onto the windshield surface by at least two symmetrically arranged light-emitting elements; The composite light signal reflected from the windshield surface is received by a photosensitive element corresponding to the light-emitting element, and the composite light signal is used as the light signal of the windshield surface.
[0009] Furthermore, the analysis of light interference factors on the windshield surface based on the light change characteristics, and the resulting analysis, includes: Obtain the preset illumination change characteristics corresponding to different illumination interference factors; The illumination change characteristics are matched with the preset illumination change characteristics corresponding to each of the illumination interference factors to obtain the matching results; If the matching result is that the light change characteristics match the preset light change characteristics corresponding to the oil film factor, then the analysis result is determined to be that the light interference factor is the oil film factor; or, if the matching result is that the light change characteristics match the preset light change characteristics corresponding to the raindrop factor, then the analysis result is determined to be that the light interference factor is the raindrop factor.
[0010] Furthermore, controlling the windshield wipers to enter the corresponding working mode based on the analysis results includes: When the analysis result is an oil film factor, the cumulative trigger count of the oil film factor is updated. When the cumulative trigger count reaches a preset threshold, the wiper is controlled to enter the oil film shielding mode. The oil film shielding mode corresponds to a first illumination condition. The first illumination condition is that the wiping action is triggered when the light intensity collected on the windshield surface is greater than or equal to a first threshold. When the analysis result is raindrop factor, the wiper is controlled to enter normal mode. The normal mode corresponds to the second illumination condition. The second illumination condition is that the wiping action is triggered when the light intensity collected on the windshield surface is greater than or equal to the second threshold. The second threshold is less than the first threshold. When the analysis results indicate oil film factors and raindrop factors, the wipers are controlled to enter normal mode.
[0011] Furthermore, after controlling the windshield wipers to enter the oil film shielding mode, the method further includes: In the oil film shielding mode, in response to the reset trigger command, the wiper is controlled to perform a verification wiping action to reach the preset stopping position and collect the verification light signal on the windshield surface; Analyze the second variation characteristics between the verification illumination signal and the reference illumination signal; When the second change feature meets the second change condition, it is determined that there is no abnormal lighting in the current scene, the wiper is controlled to exit the oil film shielding mode, and the cumulative trigger count of the oil film factor is reset to the initial trigger count.
[0012] Furthermore, the triggering conditions for the reset trigger command include: automatic triggering when a preset time interval is reached, and / or triggering when the driving speed of the vehicle to which the wiper belongs is detected to be greater than or equal to a preset speed and lasts for a preset duration, and / or triggering when a user's operation command to control the wiper is received.
[0013] In a second aspect, embodiments of the present invention provide a windshield wiper control device, the device comprising: The acquisition module is used to acquire the characteristics of light change on the windshield surface before and after the wiping action; An analysis module is used to analyze the light interference factors on the windshield surface based on the light change characteristics and obtain analysis results, wherein the light interference factors include at least one of oil film factors and raindrop factors; The second control module is used to control the windshield wiper to enter the corresponding working mode according to the analysis results, so that the windshield wiper performs wiping action in the working mode. Each working mode corresponds to different lighting conditions, and the wiping action is triggered when the lighting conditions are met.
[0014] Thirdly, embodiments of the present invention provide a vehicle, including: a controller and a windshield wiper, the controller including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method described in the first aspect or any corresponding embodiment thereof.
[0015] Fourthly, embodiments of the present invention provide a computer device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method described in the first aspect or any corresponding embodiment thereof.
[0016] Fifthly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions for causing a computer to perform the method described in the first aspect or any corresponding embodiment thereof.
[0017] The method provided in this application has the following beneficial effects: The method provided in this application combines the mechanical state of the wiper action with optical detection by acquiring the characteristics of light changes before and after wiping, providing a stable and reliable judgment benchmark for distinguishing interference factors and effectively avoiding signal drift problems caused by continuous dynamic acquisition. By quantitatively analyzing whether the interference is due to oil film or raindrops based on the characteristics of light changes, it essentially distinguishes between oil film that cannot be wiped away and raindrops that can be cleared, solving the fundamental defect of traditional solutions where a single threshold cannot identify the type of interference source. Based on the analysis results, the wiper is controlled to enter the corresponding working mode, so that the light conditions that trigger wiping are matched with the actual interference factors. Thus, when oil film is detected, the trigger threshold is automatically increased to block invalid wiping, and when raindrops are detected, normal sensitivity is maintained. This achieves adaptive control of the wiper under different working conditions, reduces the false trigger rate caused by oil film, and improves the driving experience and system durability. Attached Figure Description
[0018] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating a windshield wiper control method according to an embodiment of the present invention; Figure 2 This is a schematic flowchart of an oil film shielding control method according to an embodiment of the present invention; Figure 3 This is a timing diagram showing the correspondence between the PARK bit level signal, the light signal, and the wiper status during the wiping cycle according to an embodiment of the present invention. Figure 4 This is a schematic diagram of the structure of a dual-transmitter single-receiver infrared detection module according to an embodiment of the present invention; Figure 5 This is a logical diagram illustrating the state transition of the windshield wiper operating mode according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the wiper control system according to an embodiment of the present invention; Figure 7 This is a structural block diagram of a windshield wiper control device according to an embodiment of the present invention; Figure 8 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] According to embodiments of the present invention, a windshield wiper control method, apparatus, and vehicle are provided. It should be noted that the steps shown in the flowcharts in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0022] This embodiment provides a windshield wiper control method. Figure 1 This is a flowchart of a windshield wiper control method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps: Step S101: Obtain the illumination change characteristics of the windshield surface before and after the wiping action.
[0023] In this embodiment of the application, the acquisition of illumination change characteristics on the windshield surface before and after the wiping action includes: Step A1: If there is abnormal lighting in the current scene, control the windshield wipers to perform a wiping action.
[0024] Specifically, abnormal illumination refers to a significant change in the current optical state of the windshield surface compared to a baseline state without raindrops. This change manifests as a decrease in light intensity caused by factors such as raindrops or oil films. The wiping action refers to the wiper motor driving the wiper arm to perform at least one complete reciprocating swing to remove liquid or solid deposits from the windshield surface. Upon confirming an anomaly, to promptly address external factors affecting driver visibility (such as sudden light rain), the system immediately generates a control command, driving the wipers to perform a complete wiping action at an initial, fixed low speed mode. This wiping action allows subsequent steps to verify the true nature of the interference source.
[0025] Figure 2 This is a flowchart illustrating the oil film shielding control method provided in this embodiment of the invention. The method includes: initial benchmark calibration, real-time detection and PARK position triggering, core determination of oil film and raindrops, dynamic reset and adaptive adjustment. Starting from the first wiper calibration after the vehicle is powered on, the system enters real-time monitoring. When abnormal lighting triggers the wiper and returns to the PARK position, it enters the core determination branch: if the change in light intensity before and after wiping is less than the oil film threshold, the oil film count is accumulated. After reaching the threshold, it enters the oil film shielding mode; if the change is greater than the raindrop threshold, it maintains the normal mode; in the shielding mode, the wiper is verified by timed, vehicle speed, or manual triggering to achieve dynamic reset.
[0026] Step A2: If the wiper reaches the preset stopping position after performing the wiping action, the second real-time illumination signal on the windshield surface when the wiping action is triggered is obtained, and the third real-time illumination signal on the windshield surface is collected.
[0027] It should be noted that, Figure 3 This is a timing diagram showing the correspondence between the PARK bit level signal, the light signal, and the wiper status during the wiper cycle. The horizontal axis represents time (ms), and the vertical axis represents the PARK bit level (high level indicates return to position), the light signal amplitude, and the wiper status (wiping in progress / stopped). When the wiper performs a wiping action, the PARK bit level jumps from high to low; when the wiper returns to the preset stopping position after wiping, the level returns to high, and the light signal is stably collected (the light intensity sampling point corresponding to the high level area in the diagram), serving as the third real-time light signal. This timing relationship verifies the feasibility of using the rising edge of the PARK bit as a trigger anchor point, ensuring the accuracy of the collection timing of the light change characteristics before and after wiping.
[0028] In this embodiment, the preset parking position refers to the fixed parking position at the bottom of the windshield, controlled by the PARK switch (mechanical cam or magnetic induction structure) built into the wiper motor after the wiper completes its wiping action. This position is outside the driver's field of vision and serves as the physical anchor point for the wiper's stationary state. When the wiper reaches this position, the PARK switch triggers a level signal (e.g., a high level indicates that it has returned to its original position). The triggering of the wiping action refers to the instant before the wiper motor starts driving the wiper arm to perform the wiping action after an abnormal light condition is detected. The signal collected at this moment reflects the instantaneous optical state of the glass surface at the triggering of the wiping action. The windshield surface refers to the detection area on the side of the vehicle's windshield facing outwards, which covers the infrared light emission and reception field of view of the rain and light sensor. The second real-time light signal refers to the quantified value of the light intensity on the windshield surface at the current moment, collected by the sensor when the wiping action is triggered. This signal serves as the state anchor point before the wiping action and is used for comparison with the signal after the wiping action is completed. The third real-time illumination signal refers to the illumination signal (e.g., intensity quantization value) on the windshield surface collected by a sensor after the wiper has completed its wiping action and stopped stably at the preset stopping position. This signal serves as a state anchor point after the wiping action and is used to compare it with the second real-time illumination signal before wiping.
[0029] In this embodiment of the application, the method for acquiring illumination signals on the windshield surface includes: synchronously emitting detection light onto the windshield surface through at least two symmetrically arranged light-emitting elements; receiving the composite illumination signal reflected from the windshield surface by a photosensitive element corresponding to the light-emitting element; and using the composite illumination signal as the illumination signal of the windshield surface.
[0030] Figure 4 This is a schematic diagram of a dual-transmitter, single-receiver infrared detection module, illustrating the installation position, spacing, and emission angle parameters of the two infrared LEDs (light-emitting elements) and the photodiode (photosensitive element) in a rain gauge light sensor. The two infrared LEDs are symmetrically arranged around the photosensitive element, with a 150mm spacing between them. Their emission angle covers the detection area on the windshield surface, ensuring uniform coverage of the sensor's effective detection range. This avoids signal deviation caused by unilateral illumination, guaranteeing the integrity and stability of the light signal acquisition and providing a precise hardware foundation for subsequent analysis of light change characteristics.
[0031] By emitting detection light synchronously onto the windshield surface using at least two symmetrically arranged light-emitting elements, it is possible to ensure that the detection light uniformly covers the windshield surface, avoiding signal deviation caused by unilateral illumination acquisition. By receiving the synthetic illumination signal reflected from the windshield surface by the corresponding photosensitive element and using it as the illumination signal, the integrity and stability of the illumination signal acquisition can be improved, and the accuracy of illumination change feature analysis can be enhanced.
[0032] Specifically, when the system detects abnormal lighting and generates a wiper control command, within a microsecond-level time window before the wiper motor starts (e.g., within 1ms after issuing the PWM control signal), a second real-time lighting signal is acquired through a dual-transmitter, single-receiver infrared detection module. This module uses at least two symmetrically arranged light-emitting elements (e.g., two 850nm infrared LEDs spaced 5mm apart, symmetrically distributed on both sides of the photosensitive element) to synchronously emit detection light towards the windshield. The corresponding photosensitive element receives the composite light intensity after reflection from the glass surface and internal scattering. After pre-amplification, 1kHz low-pass filtering, and 12-bit analog-to-digital conversion, a digital light intensity value is output. This acquisition can be performed multiple times (e.g., 3 times) within a preset time window (e.g., 5ms) after the command is issued, and the average value is taken, or the most recent valid sample value is read from the historical cache to ensure consistency with the data. The system exhibits strong correlation with the wiper motor's return position. Simultaneously, the PARK position signal acquisition module monitors the wiper motor's return status in real time (using a level detection interface connected to the motor's PARK switch). When the wiper completes a full stroke and automatically returns to the preset parking position, and the PARK switch triggers a high-level signal (rising edge or stable high level), the MCU controls the same infrared detection module to synchronously illuminate the light-emitting element, receiving the reflected and synthesized light intensity. After the same signal processing, a digital light intensity value is output as the third real-time illumination signal. This acquisition can delay for a preset time (e.g., 10ms to 50ms) after detecting a high level to eliminate mechanical vibration, or continuously acquire multiple times (e.g., 3 to 5 times) and take the median value. If the wiper fails to return to its original position due to a fault, a timeout waiting mechanism is set (e.g., waiting 2 seconds before abandoning and marking as abnormal), thereby avoiding process blockage.
[0033] Step A3: Generate the illumination change characteristics of the windshield surface before and after the wiping action based on the second real-time illumination signal and the third real-time illumination signal.
[0034] Specifically, the illumination change feature refers to the quantitative index that can characterize the change in the surface state of the windshield by comparing the illumination signals collected at two moments before and after the wiping action. This feature can be expressed in various forms such as the absolute value of the light intensity difference, the percentage of the difference to the baseline value, or the relative relationship between the difference and the preset threshold, and is used to distinguish between oil film factors and raindrop factors.
[0035] After acquiring the second real-time illumination signal (denoted as It) and the third real-time illumination signal (denoted as Ipark), the MCU performs a difference calculation to generate the change in light intensity before and after the brushing, ΔI = |Ipark|. It|, this change ΔI is the core quantification value of the illumination change feature. Based on the calculation of the absolute difference, the relative change rate ΔIratio=ΔI / Ibase×100% (where Ibase is the reference illumination signal) can also be calculated to eliminate the absolute numerical deviation caused by the difference in light transmittance of different vehicle glass; or, the change ΔI can be compared with multiple preset physical meaning thresholds (such as the oil film judgment threshold ΔIoil and the raindrop judgment threshold ΔIrain), and a feature label of enumeration type (such as "minor change" or "significant recovery") can be directly output as subsequent input. In addition, considering the instantaneous fluctuation of ambient light during the wiping process, the second and third real-time illumination signals can be sampled and smoothed multiple times within the time window (for example, each sampled 3 times and averaged) before calculating the difference to reduce the influence of random noise on the change feature; at the same time, if the relative position of the sensor and the glass is momentarily shifted due to vehicle bumps before and after the wiping action, the change feature is generated after normalizing the two signals based on the dynamic compensation algorithm of historical data.
[0036] By acquiring the second real-time illumination signal on the windshield surface when the wiping action is triggered, the initial illumination state of the windshield before the wiping action can be accurately collected, ensuring the accuracy of the initial data for illumination comparison. By acquiring the third real-time illumination signal when the wiper reaches the preset stopping position after the wiping action, stable illumination data of the windshield after wiping can be obtained, eliminating dynamic interference during the wiping process. By generating illumination change characteristics before and after the wiping action based on the second and third real-time illumination signals, the actual impact of wiping on the illumination state of the windshield can be fully reflected, providing an accurate and reliable basis for comparison in analyzing illumination interference factors.
[0037] Adopting a symmetrical layout of dual transmitters and single receivers, it effectively improves the uniformity of light intensity coverage in the detection area and reduces signal deviation interference. Only the configuration of the infrared detection module transmitter is optimized, directly reusing the existing wiper system's PARK switch signal without adding a large amount of hardware. The increase in sensor manufacturing cost is small, and it is easy to adapt to mass production in vehicles. Based on the triple logic of dual-transmitter light intensity synthesis acquisition, hardware signal triggering, and physical wiper verification, it effectively avoids interference factors such as changes in ambient light, local stains on the glass, and LED light decay. Its performance is stable under complex conditions such as high temperature, rain, and dust. It has dynamic reset and adaptive capabilities. After the oil film is naturally cleared, it can automatically restore normal detection logic without manual intervention, further improving the user experience.
[0038] Step S102: Analyze the light interference factors on the windshield surface based on the characteristics of light change, and obtain the analysis results. The light interference factors include at least one of oil film factors and raindrop factors.
[0039] In this embodiment of the application, the light interference factors on the windshield surface are analyzed based on the characteristics of light change, and the analysis results are obtained, including: Step B1: Obtain the preset illumination change characteristics corresponding to different illumination interference factors.
[0040] Specifically, different light interference factors include at least one of oil film factors and raindrop factors. The oil film factor refers to the continuous shift in light signal caused by oily contaminants adhering to the windshield surface that cannot be removed by wipers. The raindrop factor refers to the discrete fluctuations in light signal caused by liquid water droplets on the windshield surface that can be removed by wipers. The preset light change characteristics refer to quantitative parameters or numerical ranges, determined in advance through experimental calibration or theoretical calculation for each light interference factor, characterizing the change in light intensity on the windshield surface before and after wiping under that factor. This characteristic serves as a reference template for subsequent matching and includes at least one of the following: a change threshold, a change range, or a change trend type.
[0041] During the vehicle power-on initialization phase, a pre-stored feature parameter table is read from non-volatile memory (such as the EEPROM or Flash built into the MCU). This parameter table records the preset illumination change characteristics corresponding to the oil film factor (e.g., the change in light intensity ΔI before and after wiping is less than the oil film judgment threshold ΔI_oil: ΔI_oil = 15 lux, or the absolute value of the change is in the range of 0 to 15 lux, representing "no significant change") and the preset illumination change characteristics corresponding to the raindrop factor (e.g., the change in light intensity ΔI before and after wiping is greater than or equal to the raindrop judgment threshold ΔI_rain: ΔI_rain = 35 lux, or the change is in the range of 35 lux or more, representing "significant recovery"). To adapt to the differences in the optical characteristics of windshields of different vehicle models, the system also includes an adaptive calibration mode: when the vehicle rolls off the production line, a dedicated diagnostic tool writes the feature thresholds calibrated for the current vehicle model's glass transmittance, thickness, and incident angle to the sensors; or, during long-term vehicle use, the preset feature parameters are dynamically updated based on historical successful judgments (e.g., rainy weather scenarios confirmed by user manual operation) to optimize matching accuracy. In addition, the preset illumination change characteristics can be not only a single absolute difference threshold, but also a combination of multi-dimensional features, such as the positive and negative directions of the change (oil film usually causes a decrease in light intensity, raindrops also cause a decrease, but the direction is restored to positive after wiping), the ratio of the change rate to the baseline value, or the statistical distribution characteristics of the change in multiple wipings (the change in oil film is stable in the low value range, while the change in raindrops fluctuates more).
[0042] Step B2: Match the illumination change characteristics with the preset illumination change characteristics corresponding to each illumination interference factor to obtain the matching results.
[0043] Specifically, the actual calculated illumination change features (such as the change in light intensity ΔI before and after brushing) are compared, mapped, or similar to the acquired preset illumination change features (such as the change range corresponding to the oil film factor and the change range corresponding to the raindrop factor) to determine which type of interference factor's preset template the current actual feature best matches, and the corresponding matching identifier is output.
[0044] The MCU acquires the illumination change feature ΔI (e.g., 8 lux), and then compares this feature with each of the preset illumination change features read in turn for threshold intervals: First, it determines whether ΔI falls within the preset feature interval corresponding to the oil film factor (e.g., ΔI < ΔIoil, where ΔIoil = 15). If it does, a matching result of "matched oil film factor" is generated. If it does not, it further determines whether ΔI falls within the preset feature interval corresponding to the raindrop factor (e.g., ΔI ≥ ΔIrain, where ΔIrain = 35). If it does, a matching result of "matched raindrop factor" is generated. If ΔI does not meet both intervals (i.e., 15 ≤ ΔI < 35 lux), a result of "no match" or "uncertain" is generated and handed over to subsequent default processing (e.g., processing according to raindrop factor or maintaining the original mode). To improve the robustness of the matching, the system can employ soft thresholding or fuzzy matching strategies. For example, a boundary transition zone can be set for each preset feature (e.g., the upper limit of oil film is expanded by 2 lux, and the lower limit of raindrops is reduced by 2 lux). Within the transition zone, a hard matching result is not immediately output, but rather multiple matching trends are accumulated before a judgment is made. Alternatively, multi-feature joint matching can be used, comparing multiple dimensions such as the absolute value of the change, the relative rate of change, and the direction of change. The matching degree of each dimension is weighted and scored, and the interference factor with the highest score is selected as the matching result. In addition, when the illumination change feature significantly exceeds the empirical range of all preset features (e.g., ΔI is caused by severe dirt on the glass or other anomalies), the matching result is marked as "abnormal," triggering the system to perform a self-check or restore the default logic.
[0045] Step B3: If the matching result shows that the light change characteristics match the preset light change characteristics corresponding to the oil film factor, then the analysis result is determined to be that the light interference factor is the oil film factor; or, if the matching result shows that the light change characteristics match the preset light change characteristics corresponding to the raindrop factor, then the analysis result is determined to be that the light interference factor is the raindrop factor.
[0046] Specifically, the MCU acquires the matching result and executes branch decision logic based on it. If the matching result is "matched with the preset characteristics of the oil film factor," the analysis result is determined to be "the light interference factor is an oil film factor"; if the matching result is "matched with the preset characteristics of the raindrop factor," the analysis result is determined to be "the light interference factor is a raindrop factor." For edge cases where the matching result is "no match" or "uncertain," in the case of no match, for safety reasons, the analysis result is defaulted to "raindrop factor" to ensure that the wipers do not miss real rainwater; alternatively, a confidence accumulation mechanism is used to maintain the previous valid analysis result when there are multiple consecutive no matches until a clear match occurs. Furthermore, the output analysis result is appended with a confidence level (e.g., high, medium, low), which is calculated based on the feature deviation distance at the time of matching (e.g., the closer ΔI is to the oil film threshold, the lower the oil film confidence), for subsequent reference during mode switching. If the matching result indicates two factors simultaneously, a priority rule is set: the raindrop factor is prioritized as the analysis result because real raindrops have a greater impact on driving safety.
[0047] By acquiring preset illumination change characteristics corresponding to different illumination interference factors, a standardized illumination interference judgment reference system can be established, providing a unified standard for subsequent matching and identification. By matching actual illumination change characteristics with each preset illumination change characteristic, different types of illumination interference sources can be quickly distinguished, improving the efficiency of interference factor identification. By determining the corresponding interference factor when the matching result matches the corresponding characteristics of oil film factors or raindrop factors, the specific type of illumination interference can be accurately determined, providing a basis for targeted control of wiper working modes.
[0048] Step S103: Based on the analysis results, control the windshield wipers to enter the corresponding working mode so that the windshield wipers can perform wiping actions in the working mode. Each working mode corresponds to different lighting conditions, and the wiping action is triggered when the lighting conditions are met.
[0049] In this embodiment of the application, the windshield wipers are controlled to enter the corresponding working mode based on the analysis results, including the following three cases: Scenario 1: When the analysis result is an oil film factor, update the cumulative trigger count of the oil film factor. When the cumulative trigger count reaches the preset threshold, control the wipers to enter the oil film shielding mode. The oil film shielding mode corresponds to the first illumination condition, which is to trigger the wiping action when the light intensity collected on the windshield surface is greater than or equal to the first threshold.
[0050] Specifically, the oil film factor refers to the conclusion, determined through analysis, that abnormal illumination on the windshield surface is primarily caused by oily contaminants that cannot be removed by the wipers. The cumulative trigger count (denoted as N) refers to the total number of times the analysis result is determined to be an oil film factor since the most recent baseline calibration or mode reset. This count is used to determine the persistence and severity of the oil film interference. The preset trigger threshold (denoted as Nth) is a pre-set integer constant (e.g., Nth=3, or other values within the range of 2 to 4, adjustable by the user through the vehicle's central control system). When the cumulative trigger count reaches this threshold, the oil film interference is considered to be stable. The oil film shielding mode is a special operating mode for the wipers. In this mode, the system actively raises the illumination threshold for triggering the wipers to avoid frequent triggering of ineffective wipes due to light intensity shifts caused by the oil film. The first illumination condition is the wiper trigger criterion in the oil film shielding mode: the wipers are only triggered when the difference between the collected windshield surface illumination intensity (i.e., real-time illumination signal) and the baseline illumination signal is greater than or equal to the first threshold. The first threshold (denoted as Ith′) is a correction value that is greater than the second threshold in the normal mode (e.g., Ith′=2×Ith=100lux, or adjusted to 1.5 to 2.5 times the initial threshold to accommodate different vehicle models or user preferences).
[0051] When the analysis result is the oil film factor, the MCU first performs an accumulation operation, increasing the cumulative trigger count N of the oil film factor by 1 (i.e., N = N + 1). Subsequently, the MCU compares the updated N with the preset count threshold Nth. If N < Nth, it indicates that the oil film interference has not reached the level of continuous confirmation. The system does not change the current working mode temporarily, only records this count, and waits for the next determination after the next abnormal light trigger. If N ≥ Nth, it means that the oil film cannot be cleared after continuous multiple wipes (i.e., the light intensity hardly changes before and after wiping). The system determines that the oil film has been stably attached. At this time, the MCU controls the windshield wiper to enter the oil film shielding mode. After entering this mode, the light condition for wiper triggering is switched to the first light condition: originally in the normal mode, when the difference between the real-time light intensity and the reference light intensity reaches the second threshold (such as 50 lux), the wiper is triggered; while in the oil film shielding mode, this trigger threshold is temporarily increased to the first threshold (such as 100 lux), that is, only when the difference reaches 100 lux or more, it is determined as a valid event that requires wiping (such as large raindrops or heavy rain), thus shielding the invalid signal offset within the 50 - 100 lux range caused by the oil film. At the same time, in the oil film shielding mode, the real-time light signal is still continuously monitored, but a new wiper action is only triggered when the offset exceeds the first threshold. In addition, to enhance the scene adaptability, the cumulative trigger count can be statistically calculated using a sliding window (for example, triggering when 3 out of the recent 5 determinations are oil film) to avoid occasional misjudgments; the first threshold can be dynamically adjusted according to the vehicle speed or ambient temperature (such as appropriately reducing the threshold during high-speed driving to ensure safety); when entering the oil film shielding mode, a status prompt is sent to the vehicle bus at the same time, reminding the user through the dashboard or the central control screen that "there is an oil film on the glass, it is recommended to clean".
[0052] Case 2: When the analysis result is the raindrop factor, the windshield wiper is controlled to enter the normal mode. Among them, the normal mode corresponds to the second light condition, and the second light condition is that when the light intensity collected on the surface of the windshield is greater than or equal to the second threshold, the wiper action is triggered, and the second threshold is less than the first threshold.
[0053] Specifically, the raindrop factor refers to the conclusion that the abnormal light on the surface of the windshield is mainly caused by liquid water droplets that can be cleared by the wiper. The normal mode is the default working mode of the windshield wiper. In this mode, the system responds to the raindrop signal according to the conventional sensitivity logic to achieve the automatic wiper function. The second light condition is the wiper trigger criterion in the normal mode. Specifically, when the difference between the real-time light intensity collected on the surface of the windshield and the reference light signal is greater than or equal to the second threshold, the wiper action is triggered. The second threshold (denoted as Ith) is a preset value less than the first threshold in the oil film shielding mode (such as Ith = 50, or adjusted within the range of 30 - 80 lux according to the light transmittance of the windshield of different vehicle models), which is used to ensure a sensitive response to small raindrops.
[0054] When the analysis result indicates raindrops as a factor, the MCU determines that the wiping action successfully cleared the actual raindrops (because the change in light intensity ΔI before and after wiping reached the raindrop detection threshold ΔIrain ≥ 35, indicating a significant recovery in light intensity). At this point, it is confirmed that there is no persistent oil film interference on the windshield surface. Based on this determination, the MCU controls the wipers to enter or remain in normal mode. In normal mode, a second lighting condition is used as the wiping trigger: the difference between the first real-time lighting signal and the reference lighting signal is monitored in real time. When this difference is greater than or equal to the second threshold (e.g., 50 lux), it is determined that a raindrop event requiring a response exists, and the wiper action is immediately triggered. Unlike the oil film shielding mode, normal mode not only uses a lower trigger threshold to ensure sensitivity to light rain, but also automatically adjusts the wiping speed according to the density and fluctuation amplitude of raindrops (e.g., outputting low, medium, or high-speed PWM control signals based on the fluctuation frequency and amplitude of the light intensity signal, rather than being fixed at low speed). In addition, the second threshold is dynamically adjusted based on the wiper sensitivity level (such as "low sensitivity", "medium sensitivity", "high sensitivity") selected by the user through the vehicle's central control system. For example, the second threshold is set to 30 lux for high sensitivity and 80 lux for low sensitivity to meet the preferences of different drivers. In normal mode, if raindrops are detected multiple times in a row and the light intensity fluctuation continues to increase, the system further shortens the sampling interval or increases the PWM control frequency to respond to changes in rainfall more quickly.
[0055] Scenario 3: When the analysis results indicate oil film and raindrop factors, control the windshield wipers to enter normal mode.
[0056] Specifically, the analysis results indicate that the oil film factor and raindrop factor refer to the simultaneous presence of two interfering factors on the windshield surface: oil film adhesion and actual raindrops. This complex scenario typically occurs when an oil film has been present for a long time and light rain occurs. In this case, the change in light intensity ΔI before and after the wiping action simultaneously or partially satisfies both preset characteristics, or the coexistence of the two factors can be identified through multi-dimensional feature matching (such as oil film causing stable shifts and raindrops causing random fluctuations).
[0057] When the analysis results include both oil film and raindrop factors (for example, if the change in light intensity ΔI before and after wiping reaches or exceeds the raindrop detection threshold ΔIrain ≥ 35 lux, indicating that the raindrops have been effectively removed, but there is still a smooth offset caused by the oil film between the reference light intensity and the initial calibration value), the MCU determines that the presence of real raindrops has a higher priority for driving safety than oil film interference. Therefore, the wipers are controlled to enter normal mode, i.e., using the second illumination condition (second threshold Ith = 50 lux) as the trigger, allowing the wipers to respond normally to raindrop signals and automatically adjust the wiping speed (low, medium, or high speed) according to the raindrop density, instead of being fixed at low speed. At the same time, the cumulative trigger count N of the oil film factor is kept unchanged (i.e., it does not increase), because the removal of raindrops verifies the effectiveness of the wiping action, and although the oil film exists, it does not dominate the triggering logic. If subsequent judgments are all composite scenarios, the oil film count will not increase, thus avoiding the system from mistakenly entering the oil film shielding mode and affecting normal wiping in light rain scenarios. In addition, in complex scenarios, the system can output a status prompt to the vehicle bus indicating that "oil film exists but raindrops are the main factor," which can be displayed on the instrument panel or the central control screen to remind the user that "there is an oil film on the glass, cleaning is recommended, but it will not affect the normal operation of the wipers"; or, dynamically adjust the oil film judgment threshold ΔIoil (e.g., temporarily reduce it to 10 lux) to more strictly distinguish between oil film and raindrops, preventing the oil film factor from being excessively accumulated; when the complex scenario lasts for a long time (e.g., more than 10 minutes) and the raindrops stop, a verification wipe is automatically triggered to reassess whether the oil film is still the dominant factor.
[0058] As an example, Figure 5 This is a logical diagram illustrating the state transitions of the windshield wiper's operating mode. Initially, the system is in a "normal detection" state. After multiple consecutive determinations of oil film as a factor, it transitions from "state transition" to "oil film shielding mode." In oil film shielding mode, a verification wipe is performed based on "reset verification" conditions (such as timed trigger, vehicle speed trigger, or manual user operation). If the verification passes, the system returns to the "normal detection" state via state transition, and the cumulative number of oil film triggers is reset. If the verification fails, the system remains in oil film shielding mode. This state machine design ensures that entering and exiting oil film shielding mode has clear judgment criteria and closed-loop control, avoiding erroneous mode switching.
[0059] By updating the cumulative trigger count when the analysis result is an oil film factor, and controlling the wipers to enter the oil film shielding mode corresponding to the first illumination condition when a preset threshold is reached, the illumination misjudgment caused by oil film can be avoided, ensuring stable operation of the wipers under oil film interference. By controlling the wipers to enter the normal mode corresponding to the second threshold illumination condition when the analysis result is a raindrop factor, the illumination change pattern under raindrop interference can be adapted to, achieving sensitive triggering of wiper actions. By controlling the wipers to enter the normal mode when the analysis result is both an oil film and a raindrop factor, the raindrop triggering requirements and the influence of oil film interference can be taken into account, ensuring that the wiper control logic is reasonable and fits the actual use scenario.
[0060] In this embodiment of the application, before controlling the windshield wipers to perform the wiping action, the method further includes: Step S201: Obtain the reference illumination signal on the windshield surface, wherein the reference illumination signal is collected when the wiper reaches the preset stopping position after performing the first wiping action.
[0061] In this embodiment, the reference illumination signal refers to the standard light intensity quantization value (denoted as Ibase) collected by a sensor under ideal conditions where the windshield is clean, free of raindrops and oil film, or the oil film has been calibrated and incorporated into the reference. This signal serves as a reference zero point for subsequent judgment of illumination anomalies and calculation of change characteristics. The first wiping action refers to a full-stroke wiping operation performed by the wipers actively controlled by the MCU when the vehicle is powered on or the system is initialized. Its purpose is to remove temporary attachments such as free raindrops and dust from the windshield surface, providing a prerequisite for calibrating a relatively clean reference state. The preset parking position (PARK position) refers to the fixed parking position at the bottom of the windshield where the wipers automatically return after completing the wiping action. The PARK switch built into the wiper motor triggers a level signal indicating the return state.
[0062] After the vehicle is powered on or the system is reset, the MCU first controls the windshield wipers to perform a complete full-stroke wiping action (i.e., the initial wiping action) to ensure that there are no temporary interferences (such as dew, fallen leaves, or dust accumulated during parking) on the windshield surface that could affect the baseline calibration. Once the wipers have finished wiping and automatically returned to the preset parking position, the PARK switch triggers a high-level signal. Upon detecting this signal, the MCU immediately controls the light-emitting elements (two symmetrically arranged 850nm infrared LEDs) of the dual-transmitter, single-receiver infrared detection module to illuminate synchronously. The photosensitive element receives the composite light intensity signal reflected from the windshield surface. After amplification, filtering, and analog-to-digital conversion by the signal processing module, the resulting digital light intensity value is stored as the baseline illumination signal Ibase in the MCU's non-volatile memory or RAM. This baseline signal represents the optical characteristics of the vehicle's windshield under relatively clean conditions. Considering the differences in light transmittance, aging degree, and ambient light between different vehicles, the baseline calibration is dynamically performed each time the vehicle is powered on, rather than using a fixed factory value, thus adapting to the actual conditions of each vehicle.
[0063] To improve the robustness of the reference signal, after the vehicle returns to the PARK position after the first wipe, multiple (e.g., 5) light intensity values are continuously collected, and the median or average value is taken as the Ibase to eliminate random errors from a single sampling. If the vehicle detects a drastic change in ambient light during the calibration process (e.g., entering or exiting a tunnel), the calibration is paused and the first wipe is restarted after the environment stabilizes. In addition, after the user manually cleans the windshield or performs maintenance, recalibration is triggered by a specific operation (e.g., continuously flicking the wiper lever 3 times) to update the reference illumination signal.
[0064] Step S202: Acquire the first real-time illumination signal on the windshield surface at a preset sampling interval, and analyze the first change characteristics between the reference illumination signal and the first real-time illumination signal.
[0065] In this embodiment, the preset sampling interval refers to a fixed time period (e.g., 10ms, or dynamically adjusted according to processor load, vehicle speed, and ambient light change rate, ranging from 5ms to 50ms) between two consecutive acquisitions of the windshield surface illumination signal. The first real-time illumination signal refers to the quantized value of the light intensity on the windshield surface at the current moment (denoted as It), continuously acquired according to the preset sampling interval after the reference illumination signal calibration is completed. This signal reflects the real-time optical state of the glass surface. The first change feature refers to the quantized index extracted by analyzing the relationship between the reference illumination signal (Ibase) and the first real-time illumination signal (It), specifically, it can be expressed as the absolute difference between the two |It. Ibase | Relative Rate of Change | It Ibase| / Ibase×100%, or trend (such as the cumulative difference of multiple consecutive samples), are used to initially determine whether there is an abnormal lighting situation that requires a wiper response.
[0066] After calibrating the reference illumination signal Ibase, the MCU initiates a timed interrupt or cyclic sampling task, continuously triggering the dual-transmitter single-receiver infrared detection module to acquire the current first real-time illumination signal It at a preset sampling interval (e.g., 10ms). Subsequently, the MCU calculates the absolute value of the difference between It and Ibase, ΔIt = |It|. Ibase|, where ΔIt is the core quantization value of the first change feature. To improve the reliability of the criterion, the first change feature is further smoothed or accumulated: for example, a sliding window averaging is used, taking the average of the ΔIt from the most recent three samples as the current valid feature value to suppress instantaneous noise; or, a change accumulation counter is set, and the feature is only confirmed as valid when ΔIt exceeds a preset threshold in multiple consecutive samples. In addition, the first change feature includes the positive and negative directions of the difference (a decrease in light intensity is usually caused by raindrops or oil films, while an increase in light intensity is caused by changes in ambient light such as direct sunlight, which need to be treated differently); the sampling interval is dynamically adjusted according to the vehicle speed, shortening the sampling interval (e.g., 5ms) at high speeds to improve response speed, and extending the sampling interval (e.g., 50ms) at low speeds or when stationary to reduce power consumption; in scenarios with drastic changes in ambient light (e.g., entering or exiting tunnels), the abnormal determination of the first change feature is temporarily shielded, or a high-pass filtering algorithm is used to separate the rapid changes caused by raindrops / oil films from the slow drift of ambient light.
[0067] Step S203: When the first change feature meets the first change condition, it is determined that there is an abnormal lighting in the current scene.
[0068] In an embodiment of the present application, the MCU obtains the generated first change feature (e.g., ΔIt = 60 lux), and then compares it with a preset first change condition, that is, determines whether ΔIt is greater than or equal to the trigger threshold Ith (such as 50 lux). If the condition (ΔIt ≥ Ith) is met, it is determined that there is abnormal illumination in the current scene, and then an abnormal flag bit is output to trigger the wiper action control. If the condition (ΔIt < Ith) is not met, it is considered that the light intensity change on the surface of the current windshield is within the normal fluctuation range (caused by slight ambient light changes or sensor noise), and it is not determined as abnormal illumination, and the monitoring continues at a preset sampling interval. To improve the reliability of the determination, a delay confirmation mechanism can be introduced, that is, only when the first change features calculated by continuous sampling multiple times (such as 3 times) all meet the first change condition, it is finally determined as abnormal illumination to eliminate false triggers caused by instantaneous noise or single-sampling errors; or, a cumulative determination strategy is adopted, and it is determined as abnormal when the cumulative value of the first change feature within a sliding time window (such as within 1 second) exceeds the threshold; the first change condition can also be set as a relative change rate condition (e.g., ΔIt / Ibase ≥ 5%) to adapt to the differences in reference values under different illumination environments; in addition, in combination with vehicle speed or ambient light sensor data, when the vehicle speed is relatively high, Ith is appropriately reduced to improve the response sensitivity, and when the ambient light changes violently, the determination is temporarily blocked and restored after the light intensity stabilizes.
[0069] By obtaining the reference illumination signal on the surface of the windshield when the wiper reaches the preset docking position after the first wiper action, a stable and reliable initial reference basis can be provided for subsequent illumination comparison, avoiding the interference of wiper residues on the reference determination; by collecting the first real-time illumination signal on the surface of the windshield at a preset sampling interval and analyzing its first change feature compared with the reference illumination signal, the illumination fluctuation on the surface of the windshield can be accurately captured in real time, improving the timeliness and accuracy of the abnormal illumination judgment; by determining that there is abnormal illumination in the current scene when the first change feature meets the first change condition, the abnormal illumination situation affecting the wiper control can be quickly identified, providing a pre-judgment basis for subsequent adjustment of the wiper working mode.
[0070] In an embodiment of the present application, after controlling the wiper to enter the oil film shielding mode, the method further includes: Step S301, in the oil film shielding mode, in response to the reset trigger instruction, control the wiper to perform a verification wiper action to reach the preset docking position, and collect the verification illumination signal on the surface of the windshield.
[0071] In an embodiment of the present application, the trigger conditions for the reset trigger instruction include: automatically triggering when a preset time interval is reached, and / or triggering when it is detected that the driving speed of the vehicle to which the wiper belongs is greater than or equal to a preset speed and lasts for a preset duration, and / or triggering when a user operation instruction for controlling the wiper is received.
[0072] By automatically triggering a reset command at preset time intervals, the oil film interference status can be periodically verified, avoiding prolonged oil film shielding mode. By triggering a reset command when the vehicle speed meets the standard and continues for a preset duration, the vehicle's driving status can be combined with the judgment of whether light interference has been eliminated, improving the rationality of the reset judgment. By triggering a reset command when receiving a user's wiper operation command, the user's active operation needs can be taken into account, realizing a combination of automatic reset and manual intervention, enhancing the flexibility and adaptability of wiper control.
[0073] In this embodiment, the reset trigger command refers to the control signal used to initiate the oil film shielding mode exit verification process. This command can be triggered by a timer, vehicle speed detection module, or user operation interface, including: a timed trigger signal automatically generated when a preset time interval (e.g., every 3 minutes) is reached; a speed trigger signal generated when the vehicle speed is detected to be greater than or equal to a preset speed (e.g., 60 km / h) for a preset duration (e.g., 10 seconds); or a manual trigger signal generated when a manual operation command is received from the user via the wiper lever (e.g., MIST / AUTO switch). Verifying the wiping action refers to a complete wiper stroke performed to verify whether the oil film has been naturally cleared (e.g., washed or cleaned by rain). Its purpose is to evaluate the actual optical state of the windshield surface by collecting the illumination signal after physical wiping. The verification illumination signal (denoted as Ireset) refers to the quantified value of the light intensity on the windshield surface collected by a dual-transmitter single-receiver infrared detection module after the verification wiping action is completed and the wiper returns to the preset parking position (PARK position). This signal is used to compare with a reference illumination signal to determine whether the oil film still exists.
[0074] When in oil film shielding mode, the MCU continuously monitors the conditions for generating a reset trigger command. If the timer reaches the preset time interval (e.g., 3 minutes, which can be configured between 1-10 minutes depending on the usage environment), or the vehicle speed sensor detects a vehicle speed ≥ 60 km / h and this state lasts for 10 seconds (the preset duration can be adjusted within the range of 5-15 seconds), or the user performs a manual operation via the wiper lever (e.g., switching to MIST or AUTO), the MCU determines that the reset trigger command is valid. In response to this command, the MCU first controls the wipers to perform a verification wiping action: that is, outputs a PWM control signal to drive the wiper motor, causing the wiper arm to complete a full-stroke reciprocating wiping motion to remove any temporary raindrops or dust. After the wipers complete wiping and automatically return to the preset parking position (PARK position), the PARK switch triggers a high-level signal. Upon detecting this signal, the MCU immediately controls the dual-transmitter single-receiver infrared detection module to collect the current light intensity value on the windshield surface. After signal processing and analog-to-digital conversion, the verification illumination signal Ireset is obtained and stored. The time interval for timed triggering is dynamically adjusted according to the duration of the oil film shielding mode. For example, it triggers once every 2 minutes in the initial stage of entering the mode, and then extends to 5 minutes. The speed threshold in the vehicle speed trigger condition is set to different values in the range of 40-80 km / h according to the vehicle model or user preference. Manual trigger commands include user operation of the windshield washer function. In this case, the system will respond first and execute the verification wipe. If multiple reset trigger commands arrive at the same time (such as timed triggering and vehicle speed triggering coinciding), the system will only execute the verification wipe action once to avoid repeated operation.
[0075] Step S302: Analyze and verify the second variation characteristic between the illumination signal and the reference illumination signal.
[0076] In this embodiment, the second variation feature refers to a quantitative index extracted by analyzing and verifying the difference between the illumination signal and the reference illumination signal, specifically expressed as the absolute difference between the two, ΔIreset = |Ireset|. Various metrics, such as Ibase|, relative change rate, or the ratio of the difference to the oil film shielding mode trigger threshold, are used to assess whether the oil film on the current windshield surface has been naturally cleared.
[0077] The MCU acquires and stores the verification illumination signal Ireset, and simultaneously reads the calibrated and saved reference illumination signal Ibase. Then, it calculates the absolute difference between the two, ΔIreset = |Ireset|. Ibase|, where ΔIreset is the core quantification value of the second change feature. This feature value will serve as the input parameter for determining whether the conditions for exiting the oil film shielding mode are met. To improve the accuracy of the analysis, the second change feature can also be calculated as the relative change rate ΔIreset_ratio = ΔIreset / Ibase × 100%, to eliminate the influence of differences in the light transmittance of different vehicle glass and the drift of the ambient light reference. The verification illumination signal is smoothed through multiple acquisitions (e.g., averaging 3 to 5 consecutive acquisitions) before calculating the difference. If Ireset becomes invalid after the verification wipes due to special reasons (e.g., the wipers do not fully return to their original position or the acquisition timeout), the acquisition is retried up to 3 times. If it still fails, the current verification is marked as invalid and waits for the next reset trigger command. In addition, the second change feature is compared with historical data, for example, by comparing the current ΔIreset with the oil film feature value before entering the oil film shielding mode to determine whether the oil film is reduced, increased, or remains unchanged.
[0078] Step S303: When the second change feature meets the second change condition, it is determined that there is no abnormal lighting in the current scene, the wipers are controlled to exit the oil film shielding mode, and the cumulative trigger count of the oil film factor is reset to the initial trigger count.
[0079] In an embodiment of the present application, the MCU obtains the calculated second change feature ΔIreset and compares it with the second change condition, that is, determines whether ΔIreset < Ith holds (where Ith is the initial trigger threshold, such as 50 lux). If the condition holds, it indicates that the light intensity value on the surface of the rear windshield after verification wiping is very close to the reference state (the difference is less than the normal trigger threshold), which means that the previously attached oil film has been removed by natural means (such as rain washing, car washing or manual cleaning by the user), and there is no abnormal light illumination caused by the oil film in the current scenario. At this time, the MCU performs an exit operation: controls the wiper to exit the oil film shielding mode and resume the normal mode (that is, uses the second threshold Ith = 50Ith as the trigger condition); at the same time, resets the cumulative trigger count N to the initial trigger count (that is, N = 0) for subsequent re - counting of the oil film accumulation. If the second change condition is not met (that is, ΔIreset ≥ Ith), it is determined that the oil film still exists, the oil film shielding mode remains unchanged, the cumulative trigger count remains the same, and it waits for the next reset trigger instruction. To improve the reliability of the determination, a multiple - verification mechanism is introduced, that is, it exits the shielding mode only after two consecutive verifications of wiping both satisfy ΔIreset < Ith, to avoid accidental factors (such as temporary water film) causing mis - exit; the second change condition is set to a relatively loose boundary (such as ΔIreset < 1.2×Ith) to prevent jitter near the threshold; when exiting the oil film shielding mode, the system simultaneously sends a status prompt of "oil film has been removed" to the vehicle bus for display on the dashboard or notification to the user on the central control screen; in addition, when resetting the cumulative trigger count, the historical statistical log is selected to be retained for diagnosis, but it does not affect the current control logic.
[0080] By controlling the wiper to perform a verification wiping action and collecting verification light signals in response to a reset trigger instruction in the oil film shielding mode, it can actively re - verify the oil film interference state and avoid the mis - continuation of the oil film shielding mode; by analyzing the second change feature of the verification light signal and the reference light signal, it can accurately determine whether the current abnormal light illumination has been eliminated and improve the reliability of the mode - switching determination; by determining that there is no abnormal light illumination and exiting the oil film shielding mode and resetting the cumulative trigger count when the second change feature meets the second change condition, it can achieve the intelligent reset of the oil film shielding mode and ensure that the wiper returns to the normal control state in a timely manner.
[0081] In summary, through the hardware optimization of dual - emission and single - reception and the PARK bit signal anchoring, the present invention not only accurately distinguishes the oil film from raindrops and solves the problem of mis - wiping, but also achieves the comprehensive technical effects of low - cost mass production, high compatibility, strong anti - interference, and adaptive reset, comprehensively improving the reliability and user experience of the vehicle - mounted automatic wiper system.
[0082] In this embodiment, an intelligent wiper control system is provided. Figure 6This is a schematic diagram of the wiper control system according to an embodiment of the present invention, as shown below. Figure 6 As shown, the system includes: a light detection module, a wiper execution module, a feature acquisition module, an interference analysis module, a mode control module, a signal acquisition module, and a reset trigger module. The signal acquisition module is bidirectionally connected to the light detection module. The light detection module is electrically connected to both the wiper execution module and the feature acquisition module. The wiper execution module establishes signal connections with both the feature acquisition module and the mode control module. The feature acquisition module is unidirectionally connected to the interference analysis module. The interference analysis module is unidirectionally connected to the mode control module. The reset trigger module is unidirectionally connected to the mode control module. The mode control module establishes control connections with both the wiper execution module and the light detection module. The illumination detection module is used to acquire the reference illumination signal on the windshield surface (the reference illumination signal is collected when the wiper reaches the preset stopping position after performing the first wiping action), and to acquire the first real-time illumination signal on the windshield surface at a preset sampling interval. It analyzes the first change characteristics between the reference illumination signal and the first real-time illumination signal. When the first change characteristics meet the first change conditions, it is determined that there is an illumination anomaly in the current scene. It is also used to acquire various illumination signals on the windshield surface in subsequent stages. The signal acquisition module is used to synchronously emit detection light onto the windshield surface through at least two symmetrically arranged light-emitting elements, and to receive the composite illumination signal reflected from the windshield surface by a photosensitive element corresponding to the light-emitting element. The composite illumination signal is used as the illumination signal of the windshield surface (including at least one of the following: reference illumination signal, first real-time illumination signal, second real-time illumination signal, third real-time illumination signal, and verification illumination signal) to provide signal support for the illumination detection module. The wiper execution module is used to execute the wiping action when the light detection module detects abnormal light, and to control the wiper to reach the preset stopping position after the wiping action is completed; at the same time, in the oil film shielding mode, it responds to the instructions of the mode control module to execute the verification wiping action, and controls the wiper to reach the preset stopping position after the verification wiping action is completed. The feature acquisition module is used to acquire the illumination change features of the windshield surface before and after the wiper execution module controls the wiper to reach the preset stopping position. Specifically, it includes: acquiring the second real-time illumination signal of the windshield surface when the wiping action is triggered; acquiring the third real-time illumination signal of the windshield surface when the wiper reaches the preset stopping position after the wiping action is performed; and generating the illumination change features before and after the wiping action based on the second real-time illumination signal and the third real-time illumination signal. The interference analysis module is used to analyze the light interference factors on the windshield surface based on the light change characteristics obtained by the feature acquisition module, and obtain the analysis results. Specifically, it includes: acquiring the preset light change characteristics corresponding to different light interference factors (oil film factor, raindrop factor); matching the collected light change characteristics with the preset light change characteristics corresponding to each light interference factor; and determining the analysis result based on the matching result: if it matches the preset light change characteristics corresponding to the oil film factor, the analysis result is the oil film factor; if it matches the preset light change characteristics corresponding to the raindrop factor, the analysis result is the raindrop factor; if it matches both, the analysis result is the oil film factor and the raindrop factor. The mode control module is used to control the windshield wipers to enter the corresponding working mode based on the analysis results of the interference analysis module, so that the wipers can perform wiping actions in the corresponding working mode (each working mode corresponds to different lighting conditions, and the wiping action is triggered when the lighting conditions are met). Specifically, this includes: when the analysis result is an oil film factor, updating the cumulative trigger count of the oil film factor; when the cumulative trigger count reaches a preset threshold, controlling the wipers to enter an oil film shielding mode (this mode corresponds to the first lighting condition: the wiping action is triggered when the collected light intensity on the windshield surface is greater than or equal to the first threshold); when the analysis result is a raindrop factor, controlling the wipers to enter a normal mode (this mode corresponds to the second...). Lighting conditions: When the collected light intensity on the windshield surface is greater than or equal to the second threshold, the wiping action is triggered (the second threshold is less than the first threshold). When the analysis result is oil film factor and raindrop factor, the wipers are controlled to enter normal mode. At the same time, in oil film shielding mode, the wipers are controlled to receive the reset trigger command from the reset trigger module, control the wiper execution module to perform the verification wiping action, collect the verification light signal, analyze the second change feature between the verification light signal and the reference light signal, and when the second change feature meets the second change condition, it is determined that there is no light anomaly in the current scene, the wipers are controlled to exit the oil film shielding mode, and the cumulative trigger count of oil film factor is reset to the initial trigger count. The reset trigger module is used to generate a reset trigger command and send it to the mode control module. Its triggering conditions include: automatic triggering when a preset time interval is reached, and / or triggering when the driving speed of the vehicle to which the wiper belongs is detected to be greater than or equal to a preset speed and lasts for a preset duration, and / or triggering when a user's operation command to control the wiper is received.
[0083] This embodiment also provides a windshield wiper control device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0084] This embodiment provides a windshield wiper control device, such as... Figure 7 As shown, it includes: The acquisition module 71 is used to acquire the characteristics of light change on the windshield surface before and after the wiping action; Analysis module 72 is used to analyze the light interference factors on the windshield surface based on the characteristics of light change, and obtain the analysis results. The light interference factors include at least one of oil film factors and raindrop factors. The control module 73 is used to control the windshield wipers to enter the corresponding working mode according to the analysis results, so that the windshield wipers can perform wiping actions in the working mode. Each working mode corresponds to different lighting conditions, and the wiping action is triggered when the lighting conditions are met.
[0085] In this embodiment of the application, the device further includes: a determination module, configured to acquire a reference illumination signal on the windshield surface before controlling the wiper to perform a wiping action, wherein the reference illumination signal is collected when the wiper reaches a preset stopping position after performing the first wiping action; acquire a first real-time illumination signal on the windshield surface at a preset sampling interval, and analyze a first change feature between the reference illumination signal and the first real-time illumination signal; when the first change feature meets the first change condition, determine that there is an illumination anomaly in the current scene.
[0086] In this embodiment of the application, the acquisition module 71 is specifically used to control the windshield wipers to perform a wiping action when there is abnormal lighting in the current scene; if the windshield wipers reach a preset stopping position after performing the wiping action, the second real-time lighting signal of the windshield surface when the wiping action is triggered is acquired, and the third real-time lighting signal of the windshield surface is collected; the lighting change characteristics of the windshield surface before and after the wiping action are generated based on the second real-time lighting signal and the third real-time lighting signal.
[0087] In this embodiment of the application, the device further includes: a data acquisition module, used to synchronously emit detection light onto the windshield surface through at least two symmetrically arranged light-emitting elements; and to receive the composite illumination signal reflected from the windshield surface by a photosensitive element corresponding to the light-emitting element, and to use the composite illumination signal as the illumination signal of the windshield surface.
[0088] In this embodiment of the application, the analysis module 72 is specifically used to obtain preset illumination change characteristics corresponding to different illumination interference factors; match the illumination change characteristics with the preset illumination change characteristics corresponding to each illumination interference factor to obtain a matching result; when the matching result is that the illumination change characteristics match the preset illumination change characteristics corresponding to the oil film factor, the analysis result is determined to be that the illumination interference factor is the oil film factor; or, when the matching result is that the illumination change characteristics match the preset illumination change characteristics corresponding to the raindrop factor, the analysis result is determined to be that the illumination interference factor is the raindrop factor.
[0089] In this embodiment, the control module 73 is specifically used to update the cumulative trigger count of the oil film factor when the analysis result is an oil film factor, and to control the wipers to enter an oil film shielding mode when the cumulative trigger count reaches a preset threshold. The oil film shielding mode corresponds to a first illumination condition, which is triggered when the light intensity collected on the windshield surface is greater than or equal to a first threshold. When the analysis result is a raindrop factor, the control module 73 controls the wipers to enter a normal mode, which corresponds to a second illumination condition, which is triggered when the light intensity collected on the windshield surface is greater than or equal to a second threshold, where the second threshold is less than the first threshold. When the analysis result is both an oil film factor and a raindrop factor, the control module 73 controls the wipers to enter a normal mode.
[0090] In this embodiment, the device further includes: a reset module, configured to, after controlling the wipers to enter the oil film shielding mode, in response to a reset trigger command in the oil film shielding mode, control the wipers to perform a verification wiping action to reach a preset stopping position, collect a verification illumination signal on the windshield surface; analyze a second change feature between the verification illumination signal and the reference illumination signal; when the second change feature meets a second change condition, determine that there is no illumination anomaly in the current scene, control the wipers to exit the oil film shielding mode, and reset the cumulative trigger count of the oil film factor to the initial trigger count.
[0091] In this embodiment of the application, the triggering conditions for the reset trigger command include: automatic triggering when a preset time interval is reached, and / or triggering when the driving speed of the vehicle to which the wiper belongs is detected to be greater than or equal to a preset speed and lasts for a preset duration, and / or triggering when a user's operation command to control the wiper is received.
[0092] Please see Figure 8 , Figure 8 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 8 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system).
[0093] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0094] The memory 20 stores instructions executable by at least one processor 10 to cause at least one processor 10 to perform the method shown in the above embodiments.
[0095] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device as shown by a landing page for an app. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, which can be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0096] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0097] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0098] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0099] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A windshield wiper control method, characterized in that, The method includes: Acquire the characteristics of light change on the windshield surface before and after the wiping action; Based on the light change characteristics, the light interference factors on the windshield surface are analyzed to obtain the analysis results. The light interference factors include at least one of oil film factors and raindrop factors. Based on the analysis results, the windshield wipers are controlled to enter the corresponding working mode so that the windshield wipers perform wiping actions in the working mode. Each working mode corresponds to different lighting conditions, and the wiping action is triggered when the lighting conditions are met.
2. The method according to claim 1, characterized in that, Before acquiring the characteristics of light change on the windshield surface before and after the wiping action, the method further includes: Acquire a reference illumination signal on the surface of the windshield, wherein the reference illumination signal is collected when the wiper reaches a preset stopping position after performing the first wiping action; The first real-time illumination signal of the windshield surface is acquired at a preset sampling interval, and the first change characteristics between the reference illumination signal and the first real-time illumination signal are analyzed. When the first change feature meets the first change condition, it is determined that there is an abnormal lighting in the current scene.
3. The method according to claim 1, characterized in that, The acquisition of the illumination change characteristics of the windshield surface before and after the wiping action includes: In the event of abnormal lighting conditions in the current scene, control the windshield wipers to perform a wiping action; If the wiper reaches a preset stopping position after performing the wiping action, the second real-time illumination signal of the windshield surface when the wiping action is triggered is obtained, and the third real-time illumination signal of the windshield surface is collected. The illumination change characteristics on the windshield surface before and after the wiping action are generated based on the second real-time illumination signal and the third real-time illumination signal.
4. The method according to claim 3, characterized in that, The method for acquiring light signals from the windshield surface includes: Detection light is emitted synchronously onto the windshield surface by at least two symmetrically arranged light-emitting elements; The composite light signal reflected from the windshield surface is received by a photosensitive element corresponding to the light-emitting element, and the composite light signal is used as the light signal of the windshield surface.
5. The method according to claim 1, characterized in that, The analysis of light interference factors on the windshield surface based on the light change characteristics yields the following results: Obtain the preset illumination change characteristics corresponding to different illumination interference factors; The illumination change characteristics are matched with the preset illumination change characteristics corresponding to each of the illumination interference factors to obtain the matching results; If the matching result is that the light change characteristics match the preset light change characteristics corresponding to the oil film factor, then the analysis result is determined to be that the light interference factor is the oil film factor; or, if the matching result is that the light change characteristics match the preset light change characteristics corresponding to the raindrop factor, then the analysis result is determined to be that the light interference factor is the raindrop factor.
6. The method according to claim 1, characterized in that, The step of controlling the windshield wipers to enter the corresponding working mode based on the analysis results includes: When the analysis result is an oil film factor, the cumulative trigger count of the oil film factor is updated. When the cumulative trigger count reaches a preset threshold, the wiper is controlled to enter the oil film shielding mode. The oil film shielding mode corresponds to a first illumination condition. The first illumination condition is that the wiping action is triggered when the light intensity collected on the windshield surface is greater than or equal to a first threshold. When the analysis result is raindrop factor, the wiper is controlled to enter normal mode. The normal mode corresponds to the second illumination condition. The second illumination condition is that the wiping action is triggered when the light intensity collected on the windshield surface is greater than or equal to the second threshold. The second threshold is less than the first threshold. When the analysis results indicate oil film factors and raindrop factors, the wipers are controlled to enter normal mode.
7. The method according to claim 6, characterized in that, After controlling the windshield wipers to enter the oil film shielding mode, the method further includes: In the oil film shielding mode, in response to the reset trigger command, the wiper is controlled to perform a verification wiping action to reach the preset stopping position and collect the verification light signal on the windshield surface; Analyze the second variation characteristics between the verification illumination signal and the reference illumination signal; When the second change feature meets the second change condition, it is determined that there is no abnormal lighting in the current scene, the wiper is controlled to exit the oil film shielding mode, and the cumulative trigger count of the oil film factor is reset to the initial trigger count.
8. The method according to claim 7, characterized in that, The triggering conditions for the reset trigger command include: automatic triggering when a preset time interval is reached, and / or triggering when the driving speed of the vehicle to which the wiper belongs is detected to be greater than or equal to a preset speed and lasts for a preset duration, and / or triggering when a user's operation command to control the wiper is received.
9. A windshield wiper control device, characterized in that, The device includes: The acquisition module is used to acquire the characteristics of light change on the windshield surface before and after the wiping action; An analysis module is used to analyze the light interference factors on the windshield surface based on the light change characteristics and obtain analysis results, wherein the light interference factors include at least one of oil film factors and raindrop factors; The second control module is used to control the windshield wiper to enter the corresponding working mode according to the analysis results, so that the windshield wiper performs wiping action in the working mode. Each working mode corresponds to different lighting conditions, and the wiping action is triggered when the lighting conditions are met.
10. A vehicle, characterized in that, The vehicle includes a controller and a windshield wiper. The controller includes a memory and a processor, which are communicatively connected. The memory stores computer instructions, and the processor executes the computer instructions to perform the method of any one of claims 1 to 8.