A control method and device of a wiper and a vehicle
By detecting user adjustments and real-time scene perception, the target gear is calculated and gradually corrected, solving the problem that existing wiper systems cannot adapt to complex driving conditions and user preferences, achieving smooth gear control, and improving the driving experience and visibility.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHEJIANG GEELY HLDG GRP CO LTD
- Filing Date
- 2026-05-15
- Publication Date
- 2026-06-19
AI Technical Summary
Existing wiper systems cannot adapt to complex driving conditions and users' personalized vision needs. Their intelligent adaptive control capabilities are insufficient, resulting in a mismatch between the wiping speed and the actual driving environment, and abrupt speed switching.
By detecting the user's effective adjustment operation of the basic gear, the brush offset is obtained, the target gear is calculated in combination with the real-time driving scenario, and the real-time gear is corrected with gradual rules in multiple control cycles to establish a smooth and gradual gear control mechanism.
It enables the windshield wipers to adapt to complex driving scenarios and users' personalized vision needs, avoiding direct gear shifting and improving driving comfort and visibility stability.
Smart Images

Figure CN122232584A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle control, and more specifically to a windshield wiper control method, device, and vehicle. Background Technology
[0002] Currently, automotive wiper systems are commonly divided into two categories: manual adjustment and automatic sensor control. Traditional automatic wipers mostly rely solely on rain sensors to collect single rainfall data to set the wiping frequency. This approach cannot match the actual visibility requirements under complex driving conditions, nor can it adapt to the usage preferences of different users. Furthermore, it can only perform direct gear switching, which can easily lead to situations where the wiping gear does not match the actual driving environment, or where gear switching is abrupt and jarring. Overall, its intelligent adaptive control capabilities are significantly insufficient. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a windshield wiper control method, device, and vehicle to solve the problem that existing windshield wiper control technology relies on a single rainfall parameter for fixed logic control, making it difficult to adapt to driving scenarios and users' personalized vision needs.
[0004] In a first aspect, embodiments of the present invention provide a method for controlling a windshield wiper, the method comprising: During the process of the windshield wipers wiping according to the wiping parameters corresponding to the basic setting, it is detected whether the user has triggered an effective adjustment operation for the basic setting. If the effective adjustment operation is detected, the wiping offset of the wiper in the real-time driving scenario is obtained, and the target gear is calculated based on the base gear and the wiping offset. Using the base gear as the initial output gear, the real-time output gear is corrected according to the gradual change rule in at least one control cycle until the output real-time gear is the target gear.
[0005] Furthermore, before the windshield wipers perform wiping according to the wiping parameters corresponding to the basic setting, the method also includes: Detect the real-time driving scene of the vehicle; Obtain the mapping relationship between preset driving scenarios and preferred gears, and use the preferred gear corresponding to the real-time driving scenario in the mapping relationship as the base gear.
[0006] Furthermore, the method also includes: The system acquires the user's adjustment actions triggered by the windshield wipers under different driving scenarios. Obtain the actual speed setting of the windshield wipers after adjustment; Analyze the compatibility between the actual gear position and the scene parameters in the corresponding driving scenario, and determine whether the actual gear position meets the vision requirements in the corresponding driving scenario based on the compatibility. If, based on the adaptability, it is determined that the actual gear position meets the visibility requirements of the corresponding driving scenario, then the driving scenario is used as an index, and the actual gear position is used as the preferred gear position to establish the mapping relationship; or, if, based on the adaptability, it is determined that the actual gear position does not meet the visibility requirements of the corresponding driving scenario, then the actual gear position is corrected using the scenario parameters, and the corrected actual gear position is used as the preferred gear position to establish the mapping relationship.
[0007] Furthermore, detecting whether the user has triggered a valid adjustment operation for the base gear includes: In response to the adjustment operation, the change in the wiper speed is obtained; If the gear change indicates that the wiper is at a different gear after adjustment than the base gear, then it is confirmed that the user has triggered a valid adjustment operation for the base gear; or, if the gear change indicates that the wiper is at the same gear after adjustment as the base gear, then it is confirmed that the user has not triggered a valid adjustment operation for the base gear.
[0008] Furthermore, obtaining the wiper offset in the real-time driving scenario includes: Based on the effective adjustment operation, determine the number of times the user adjusts the wiper speed. Obtain the adjustment range of the wiper speed for each adjustment in the number of adjustment cycles; The brush offset is calculated based on the number of gear adjustments, the adjustment range of each adjustment, and the preset smoothing coefficient.
[0009] Furthermore, calculating the target gear based on the base gear and the brush offset includes: Calculate the sum of the base gear and the brush offset, and round the sum to the nearest integer to obtain the candidate gear. If the candidate gear is within the effective gear range configured for the windshield wiper, then the candidate gear is taken as the target gear.
[0010] Furthermore, before calculating the sum of the base gear position and the brush offset, the method further includes: The brush offset is compared with the anti-shake judgment threshold, wherein the anti-shake judgment threshold is used to suppress invalid gear switching caused by fluctuations in rainfall intensity or user misoperation, and the anti-shake judgment threshold is determined based on the vehicle's driving parameters and the scene parameters in the real-time driving scenario. If the brush offset is greater than or equal to the anti-shake determination threshold, then the step of calculating the sum of the base gear and the brush offset is performed; or, if the brush offset is less than the anti-shake determination threshold, then the base gear is maintained and the target gear update is not performed.
[0011] Furthermore, the step of using the base gear as the initial output gear, and correcting the real-time gear output in each control cycle according to a gradual rule within at least one control cycle until the output real-time gear is the target gear, includes: Using the base gear as the initial output gear, calculate the first gear difference between the target gear and the initial gear; Based on the initial gear position, the first gear position difference, and the preset smoothing weight, calculate the first real-time gear position corresponding to the first control cycle; If the first real-time gear position does not reach the target gear position, then calculate the second gear position difference between the target gear position and the first real-time gear position; Based on the first real-time gear position, the difference between the second gear position and the preset smoothing weight, the second real-time gear position corresponding to the second control cycle is calculated, wherein the second control cycle is the next control cycle after the first control cycle. If the second real-time gear has not yet reached the target gear, the real-time gear corresponding to each subsequent control cycle is calculated sequentially until the output real-time gear converges to the target gear.
[0012] Secondly, embodiments of the present invention provide a windshield wiper control device, comprising: The detection module is used to detect whether the user has triggered an effective adjustment operation for the basic speed during the process of the windshield wipers wiping according to the wiping parameters corresponding to the basic speed. The acquisition module is used to acquire the wiping offset of the windshield wiper in a real-time driving scenario if the valid adjustment operation is detected, and to calculate the target gear based on the base gear and the wiping offset. The processing module is used to take the base gear as the initial gear and correct the real-time gear output in each control cycle according to the gradual rule within at least one control cycle until the output real-time gear is the target gear.
[0013] Thirdly, 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.
[0014] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions that cause a computer to perform the method described in the first aspect or any of its corresponding embodiments.
[0015] Fifthly, 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.
[0016] This embodiment of the application, when the wipers are operating at the base setting, detects the user's effective adjustments to the base setting in real time, proactively sensing the user's intent and no longer being constrained by the single variable of rainfall. Secondly, if a valid adjustment is identified, the wiper offset is obtained, and the target setting is calculated jointly by the base setting and the wiper offset. This transforms the user's manual adjustment behavior into a quantifiable basis for setting correction, adapting to the user's adjustment habits and overcoming the shortcoming of traditional solutions that cannot learn user preferences. Then, using the base setting as the initial output setting, the real-time setting is gradually corrected according to a gradual change rule over multiple control cycles until it smoothly converges to the target setting, establishing a smooth and gradual setting control mechanism. This avoids the drawbacks of traditional wiper settings that jump abruptly. Thus, it adapts to complex driving scenario changes and users' personalized vision needs, effectively solving the problems of existing wiper control logic being rigid and lacking self-learning capabilities. Attached Figure Description
[0017] 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.
[0018] Figure 1 This is a flowchart illustrating a windshield wiper control method according to some embodiments of the present invention; Figure 2 This is a flowchart illustrating another windshield wiper control method according to some embodiments of the present invention; Figure 3 This is a flowchart illustrating another windshield wiper control method according to some embodiments of the present invention; Figure 4 This is a structural block diagram of a windshield wiper control device according to an embodiment of the present invention; Figure 5This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0019] 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.
[0020] According to embodiments of the present invention, a method, apparatus, and vehicle for controlling a windshield wiper 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.
[0021] This embodiment provides a method for controlling a windshield wiper. 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: During the process of the windshield wipers wiping according to the wiping parameters corresponding to the basic setting, detect whether the user has triggered an effective adjustment operation for the basic setting.
[0022] In this embodiment, the controller continuously collects the wiper lever's speed trigger signal in real time via the vehicle's CAN bus throughout the entire wiping operation, according to the basic speed setting corresponding to the current driving scenario. Simultaneously, it aggregates navigation GPS data, light sensor data, rain sensor data, and vehicle speed signals to determine the current road type, lighting conditions, rainfall level, and vehicle speed range, accurately pinpointing the real-time driving environment. The controller compares the actual wiper speed setting manually adjusted by the user with the current system's basic speed setting value in real time. It also continuously monitors the dwell time after the speed adjustment, strictly adhering to preset duration standards for validity verification. It eliminates unintentional touches such as brief touches or accidental lever movements. Only when a substantial change in speed occurs and the dwell time meets the set requirements is it determined that the user has triggered a valid adjustment operation for the basic speed setting.
[0023] In one embodiment of this application, before the windshield wipers perform wiping according to the wiping parameters corresponding to the basic setting, the method further includes: Step A1: Detect the vehicle's real-time driving scenario.
[0024] Specifically, the controller continuously collects navigation latitude and longitude and road classification information, light conditions perceived by the vehicle's light sensor and camera, rainfall intensity level fed back by the rain sensor, and real-time vehicle speed signal transmitted by the vehicle's CAN bus. It performs data resampling and time alignment processing at a set frequency. For road types and weather-related information with low update frequency, the most recent valid values are used to supplement and support them during periods when they are not refreshed.
[0025] The controller filters and processes the integrated multi-source sensing information, classifies the status based on the combination of road type, lighting environment, rainfall level, and vehicle speed range, accurately distinguishes road categories such as urban roads, highways, and tunnels, identifies lighting conditions such as daytime, nighttime, rainy nights, and tunnels, divides different rainfall intensity levels from no rain to heavy rain, and defines the driving status based on vehicle speed. It locks the specific driving scene based on the combination of actual working condition features. At the same time, when the quality of sensing signals deteriorates, positioning fails, or sensor occlusion leads to insufficient scene recognition reliability, it automatically switches to the operating mode that relies on rain sensing for independent judgment.
[0026] Step A1: Obtain the mapping relationship between preset driving scenarios and preferred gears, and use the preferred gear corresponding to the real-time driving scenario in the mapping relationship as the base gear.
[0027] Specifically, the controller pre-stores the corresponding association rules of various typical driving scenarios and the preferred gears, covering all working conditions such as highway driving at night, urban rainy days, and tunnel driving. Each driving scenario is pre-matched with a standard brush gear that takes into account driving visibility, motor lifespan, and quiet operation. At the same time, it retains the gear association records formed iteratively based on the user's manual operation habits during daily use.
[0028] After identifying the vehicle's current real-time driving scenario, the controller iterates through the internally stored scenario and gear correspondence content, matches the preferred gear corresponding to the real-time driving scenario, and sets the matched preferred gear as the base gear for the wiper's current operation. This serves as the benchmark working gear for the wiper's regular wiping operation, and subsequent wiping is performed using this base gear.
[0029] In this embodiment of the application, detecting whether the user has triggered a valid adjustment operation for the basic gear includes: Step B1: Respond to the adjustment operation and obtain the change in the wiper speed.
[0030] Specifically, during the wiping operation of the wipers at the predetermined base setting, the controller monitors the user's actions of moving the wiper lever in real time, promptly captures the electrical signals generated by the change in lever position, synchronously records the actual working setting of the wipers after the lever adjustment, tracks the status changes before and after the setting switch in real time, and completely retains the setting change information corresponding to this adjustment behavior.
[0031] The controller also associates with real-time driving conditions information at the moment of gear adjustment, records the road environment, rainfall status and vehicle speed when the adjustment occurs, and fully collects the entire picture of the gear change brought about by this manual adjustment, providing complete data support for subsequent identification of whether the adjustment behavior is effective. It maintains high-frequency signal acquisition throughout the process to ensure that every lever operation can be captured in time.
[0032] Step B2: If the gear change indicates that the wiper is at a different gear than the base gear after adjustment, then confirm that the user has triggered a valid adjustment operation for the base gear; or, if the gear change indicates that the wiper is at the same gear as the base gear after adjustment, then confirm that the user has not triggered a valid adjustment operation for the base gear.
[0033] Specifically, after the controller obtains the actual working level of the wipers after manual adjustment, it compares the actual level with the base level on which the wipers are currently operating, and checks the difference between the level and the corresponding wiping frequency one by one.
[0034] When a significant difference is detected between the adjusted actual working gear and the current base gear, the controller further verifies the difference by considering the dwell time after the gear adjustment. This eliminates the possibility of a brief gear change caused by accidental touch, confirms that the adjustment was a user-initiated intentional operation, and thus determines that the user has triggered a valid adjustment operation for the current base gear.
[0035] If the comparison reveals that the adjusted actual gear is consistent with the original base gear, and there is no change in gear level or operating frequency, then it is determined that the lever movement did not change the original working state of the wipers and was an unintentional operation without any actual adjustment significance. It is confirmed that the user did not trigger an effective adjustment operation on the base gear and will not enter the subsequent preference learning and gear correction process.
[0036] Step S102: If a valid adjustment operation is detected, obtain the wiper offset in the real-time driving scenario, and calculate the target gear based on the base gear and the wiper offset.
[0037] In this embodiment, after determining that the user has triggered a valid adjustment operation, the controller integrates multi-source perception information such as navigation road information, ambient light data, rainfall intensity level, and vehicle speed after time synchronization and resampling processing, accurately calibrates the scene label corresponding to the current real-time driving scene, retrieves the behavior records of the user's multiple manual gear adjustments in the scene, the adjustment direction, and the gear change range, and calculates the brush offset amount adapted to the current user's driving habits by combining the behavioral characteristics of previous valid operations.
[0038] The controller performs numerical accumulation calculations on the pre-calibrated scene base level and the calculated wiper offset. The accumulated numerical result is rounded to the nearest integer. Then, it performs boundary limit judgment by comparing the effective level range of the wiper from the preset stop, intermittent level 1 to high speed six levels. If the integer value is within the level range, it is directly retained. If it exceeds the upper or lower limit of the range, it is forcibly clamped to the corresponding boundary level.
[0039] In this embodiment of the application, obtaining the wiper offset in a real-time driving scenario includes: Step C1: Based on the effective adjustment operation, determine the number of times the user adjusts the wiper speed.
[0040] Specifically, after the controller determines that the user has triggered a valid adjustment operation of the wipers, it will continuously perform behavior statistics from the moment the first valid adjustment action is detected. It will monitor the wiper lever's gear switching action in real time, and only filter operation behaviors that meet the criteria of a substantial change in gear and a dwell time that meets the preset standard, while eliminating invalid accidental touches such as momentary touches and unintentional lever shifting.
[0041] Within the same real-time driving scenario cycle, the controller records each manual gear adjustment behavior that meets the judgment conditions, marks the occurrence time and sequence of the adjustment actions, continuously accumulates the total number of valid gear adjustments, collects data in real time to track the changes in the lever state, does not repeatedly count multiple position changes in the same continuous lever operation, and only counts each gear adjustment that is fully in place and stays stably as a valid behavior, and counts the total number of valid gear adjustments made by the user for the wipers within the current scenario cycle.
[0042] Step C2: Obtain the adjustment range of the wiper speed for each adjustment in the number of adjustments.
[0043] Specifically, after the controller obtains the total number of effective gear adjustments, it sequentially retrieves the wiper working gear status before and after each effective adjustment action. Using the system's base gear setting under the current driving scenario as a reference, it compares the initial gear before each adjustment action with the actual gear that is running stably after the adjustment, and calculates the level difference between the two gears as the single gear adjustment range.
[0044] The controller fully records the magnitude of each adjustment, whether the adjustment trend is to increase or decrease the wiping frequency, retains the magnitude value and adjustment direction information of each set, and associates the scene data of the real-time driving scenario corresponding to each adjustment time, storing the gear adjustment magnitude data corresponding to all adjustment times.
[0045] Step C3: Calculate the brush offset based on the number of gear adjustments, the adjustment range of each adjustment, and the preset smoothness coefficient.
[0046] Specifically, after obtaining the total number of effective gear adjustments and the corresponding gear adjustment range for each adjustment, the controller retrieves a pre-set smoothing coefficient. The smoothing coefficient is adapted to the vehicle's normal driving scenarios and user operating habits.
[0047] The controller combines the statistically obtained adjustment frequency weights to integrate and analyze the adjustment range of each gear, taking into account both the overall trend of multiple adjustment behaviors and the influence ratio of a single adjustment. It fits and calculates all adjustment ranges according to a stable and convergent numerical integration method, and uses a smoothing coefficient to constrain the excessive influence of a single large adjustment on the overall result, weakening the interference of accidental single operation, while amplifying the preference ratio of multiple unidirectional adjustment behaviors. Finally, it calculates and fits to obtain the wiper offset that is suitable for the current user's operating habits and fits the real-time driving scenario.
[0048] As an example: Stopped gear is recorded as 0, intermittent 1st gear as 1, intermittent 2nd gear as 2, intermittent 3rd gear as 3, low-speed continuous gear as 4, and high-speed continuous gear as 5. The personalized learning engine uses the Exponentially Weighted Moving Average (EWMA) algorithm to calculate the scene preference offset. The calculation formula is: Current period preference offset = Previous period preference offset × (1...) (Smoothing weight coefficient) + Effective intervention level magnitude × Smoothing weight coefficient, with a fixed smoothing weight coefficient α=0.4, and the initial preference offset for new users or new scenarios cold starts is set to 0 by default.
[0049] Real-time detection of manual wiper operation. When the user manually adjusts the wiper setting to a level inconsistent with the system's current output setting, and the adjustment duration meets the anti-accidental touch time threshold, it is considered a valid intervention event. The current scene tag is simultaneously bound, and the adjustment direction and magnitude are recorded. Taking a light rain straight-ahead scenario as an example, the baseline model's default output setting is level 2. The first time the user manually adjusts it up by 1 level, the intervention magnitude is +1.0 level. Substituting into the formula: Current offset = 0 × (1 0.4) + 1.0 × 0.4 = 0.4 increments, completing the first offset update; if effective intervention occurs again in the same scenario, the user will fine-tune upwards by 0.5 increments, and the iterative calculation will continue: Current offset = 0.4 × (1 0.4) + 0.5 × 0.4 = 0.44 levels. Subsequently, for each effective level intervention in the same scenario, the preference offset is updated using the same iterative formula with the weight coefficient α = 0.4.
[0050] In this embodiment of the application, the target gear is calculated based on the base gear and the brush offset, including: Step D1: Calculate the sum of the base gear and the brush offset, and round the sum to the nearest integer to obtain the candidate gear.
[0051] Specifically, after obtaining the base gear corresponding to the current driving scenario and the brush offset calculated by fitting the user's operation behavior, the controller will directly add the two values to obtain a comprehensive sum. This sum combines the base gear and the user's personal operation habits and preferences.
[0052] The controller performs rounding on the sum of the values according to the integer gear classification rules. It follows the rule of rounding down if the decimal part is less than 0.5 and rounding up if it is greater than or equal to 0.5. The sum with decimals is converted into an integer gear level to generate candidate gears that have not been subject to boundary constraints. The entire process strictly follows the wiper gear classification standard for numerical calculation and rounding to ensure that the calculation process is standardized and consistent, providing accurate integer gear values for subsequent gear validity determination.
[0053] Step D2: If the candidate gear is within the effective gear range configured for the windshield wipers, then the candidate gear is taken as the target gear.
[0054] Specifically, the controller pre-defines the entire effective range of wiper speeds for normal operation, encompassing six fixed levels: stop, intermittent level 1, intermittent level 2, intermittent level 3, low-speed continuous, and high-speed continuous, forming a continuous and complete range of speed values. The controller compares the rounded candidate speed with the preset effective range. If the candidate speed's value falls within the range, it is directly recognized as having the conditions for actual execution and is determined as the target speed for the wiper's final operation. If the candidate speed exceeds the upper limit or falls below the lower limit of the effective range, it is automatically clamped to the highest or lowest level corresponding to the range, ensuring that the final output target speed is always within the working range supported by the wiper.
[0055] As an example, let's define the following gears: stationary gear as 0, intermittent 1st gear as 1, intermittent 2nd gear as 2, intermittent 3rd gear as 3, low-speed continuous gear as 4, and high-speed continuous gear as 5. The target gear calculation formula is: target initial gear = base gear + wiper offset. The calculation result is then rounded to the nearest integer, and the value is limited to the effective gear range of 0 to 5 to complete the amplitude constraint. In a driving scenario with moderate rain, the safe base gear is found to be 2nd gear by looking up the table from the base model. The personalized learning engine iteratively converges the scenario preference offset to +0.7 gears through the exponential weighted moving average algorithm. Substituting this into the formula, we get gear = 2 + 0.7 = 2.7 gears. Rounding 2.7 gears to the integer gear 3, and then performing amplitude constraint verification, gear 3 is within the legal gear range of 0 to 5, with no out-of-bounds situations. Finally, the target gear is determined to be 3rd gear, corresponding to intermittent 3rd gear.
[0056] Step S103: Using the base gear as the initial output gear, the real-time output gear is corrected according to the gradual change rule within at least one control cycle until the output real-time gear is the target gear.
[0057] In this embodiment, the controller sets the current base speed for wiping operations as the initial real-time output speed for gradual speed adjustment. Using a fixed cycle as the adjustment unit, it maintains a control operation frequency of 10 Hz. Within each control cycle, it calculates the numerical difference between the current real-time output speed and the determined target speed, gradually reducing the speed difference according to a fixed ratio. The controller iteratively updates and corrects the real-time output speed value cycle by cycle. The controller continuously repeats the entire process of difference calculation, ratio correction, and speed refresh, allowing the real-time output speed to smoothly and gradually approach the target speed from the initial base speed without any instantaneous speed jumps. It continues iteratively until the real-time output speed and the target speed value become consistent and stable. Then, it locks the wiping parameters corresponding to the current target speed and synchronously maps them to the corresponding PWM duty cycle signal, which is output to the wiper motor.
[0058] Specifically, starting with the base gear as the initial output gear, the real-time output gear is gradually adjusted according to a change rule within at least one control cycle until the output real-time gear is the target gear, including: Step E1: Using the base gear as the initial output gear, calculate the first gear difference between the target gear and the initial gear.
[0059] Specifically, the controller sets the current stable operating level of the wipers as the initial output level during the gradual adjustment process, using this as the starting reference level value for the entire smooth transition process. At the same time, it retrieves the target level value that has been calculated and determined, performs a value difference calculation between the target level and the initial level, and obtains the first level difference between the two.
[0060] The controller fully records the magnitude and direction of the difference, determines the magnitude of the gear adjustment to be increased or decreased, locks the gear status with a fixed control cycle as the time reference throughout the process, does not skip any cycle judgment, determines the overall change span between the initial gear and the target gear, and provides an accurate difference basis for real-time gear correction in the first control cycle.
[0061] Step E2: Calculate the first real-time gear corresponding to the first control cycle based on the initial gear position, the difference between the first gear position and the preset smoothing weight.
[0062] Specifically, the controller retrieves a pre-calibrated preset smoothing weight, which is used to constrain the gear change range within a single control cycle to prevent excessive gear jumps. Using the set initial gear as a baseline, and combining it with the calculated first gear difference, the controller distributes the gear change within a single cycle according to the smoothing weight, thus calculating the first real-time gear corresponding to the current first control cycle.
[0063] The entire calculation process controls the magnitude of a single gear adjustment, releasing only a portion of the overall gear difference to ensure a smooth change in the wiping rhythm, while reserving the remaining unadjusted gear difference for subsequent control cycles to gradually complete, achieving a stable transition.
[0064] Step E3: If the first real-time gear does not reach the target gear, calculate the second gear difference between the target gear and the first real-time gear.
[0065] Specifically, after obtaining the first real-time gear position corresponding to the first control cycle, the controller compares the first real-time gear position with the target gear position in real time to determine whether it has reached consistency with the target gear position. If the two are not equal and the first real-time gear position has not yet converged to the target gear position, the controller performs numerical difference calculation again, recalculates the second gear position difference between the current first real-time gear position and the final target gear position, re-verifies the remaining gear position span and change direction that need to be adjusted, and provides new difference data support for gear position correction in the next adjacent control cycle, continuously maintaining the operating logic of verifying and updating the difference value cycle by cycle.
[0066] Step E4: Based on the difference between the first real-time gear and the second gear, and the preset smoothing weight, calculate the second real-time gear corresponding to the second control cycle, wherein the second control cycle is the next control cycle after the first control cycle.
[0067] Specifically, the controller uses the first real-time gear as the adjustment benchmark for the next cycle. Combined with the recalculated second gear difference, it uses a uniform preset smoothing weight for amplitude distribution calculation to determine the second real-time gear corresponding to the second control cycle. The second control cycle is executed sequentially after the first control cycle in a fixed order. The controller continues to perform gear correction in a small, gradual manner, adjusting only a portion of the remaining gear difference within the current cycle, maintaining a smooth and gradual adjustment rhythm, and adhering to fixed amplitude constraint rules to ensure that the gear change in each control cycle is controllable.
[0068] Step E5: If the second real-time gear has not yet reached the target gear, then calculate the real-time gear corresponding to each subsequent control cycle in sequence until the output real-time gear converges to the target gear.
[0069] Specifically, after completing the real-time gear calculation and output for each control cycle, the step controller will continuously compare and verify the current real-time gear with the target gear. As long as the current real-time gear has not yet reached the same level as the target gear, the complete process of calculating the gear difference and calculating the real-time gear for the next cycle will be repeated, and the gear iteration update of each subsequent control cycle will be promoted in sequence.
[0070] The controller continuously makes small adjustments to the gear value cycle by cycle, constantly narrowing the gap between the real-time gear value and the target gear value. This process is repeated until the real-time gear value is completely aligned with and stabilized at the target gear value. Then, it stops iterative adjustment, locks the brush parameters corresponding to the current gear value, and continues to run, achieving a smooth and seamless gear switching without any jerks or jumps throughout the process.
[0071] It should be noted that by using the base gear as the initial gear, calculating the gear difference cycle by cycle, and iteratively updating the real-time gear with a preset smoothing weight, the wiper gear can achieve a gradual and smooth transition from the initial gear to the target gear. This avoids the abruptness and discomfort caused by direct gear jumps in traditional control. Through multi-cycle step-by-step correction, the gear changes are continuous, smooth, and shock-free, effectively improving driving comfort and visibility stability. At the same time, the cycle-by-cycle verification and convergence mechanism ensures that the target gear is accurately reached. This ensures both a smooth adjustment process and accurate and reliable gear control, fundamentally solving the problems of abrupt gear switching and inconsistent response.
[0072] In this embodiment of the application, before calculating the sum of the base gear and the brush offset, as follows: Figure 2 As shown, the method also includes: Step S201: Compare the wiper offset with the anti-shake judgment threshold. The anti-shake judgment threshold is used to suppress invalid gear switching caused by fluctuations in rainfall intensity or user misoperation. The anti-shake judgment threshold is determined based on the vehicle's driving parameters and scene parameters in the real-time driving scenario.
[0073] In this embodiment, before the controller is to perform the target gear calculation, it first compares the wiper offset with the internally preset anti-shake judgment threshold. This anti-shake judgment threshold is specifically used to suppress the natural fluctuations in the rain condition and unnecessary gear switching triggered by the user's slight misoperation of the lever, so as to avoid the wipers from frequently switching back and forth.
[0074] This threshold is not a fixed constant. The controller will dynamically adapt and calibrate based on driving parameters such as the vehicle's real-time driving speed and road type, combined with scene parameters such as lighting conditions and rainfall intensity in the current driving scenario. Different anti-shake judgment thresholds are matched for different driving conditions, so that the threshold standard fits the actual driving environment requirements and distinguishes between effective gear adjustment and invalid disturbance changes.
[0075] Understandably, the controller categorizes four parameters—driving speed, road type, lighting conditions, and rainfall intensity—into levels and assigns corresponding base scores, while also configuring a fixed weight for each parameter category, with the total weight of all parameters being 1. The controller collects real-time data on the current vehicle speed, road type, lighting conditions, and rainfall intensity levels. It first matches the base scores for each parameter and then calculates them using a weighted summation mathematical method: Anti-shake judgment threshold = vehicle speed score × vehicle speed weight + road type score × road weight + lighting score × lighting weight + rainfall intensity score × rainfall weight. Based on this calculation formula, the anti-shake judgment threshold for the current operating condition is fitted in real-time. The value is dynamically updated throughout the process as driving and environmental parameters change, thereby adapting to the judgment requirements of distinguishing between effective adjustment and environmental disturbances under different operating conditions.
[0076] As an example, the controller first determines that the current rainfall intensity is heavy rain level, matches the corresponding high base score, identifies that the vehicle speed is in the low speed range and assigns the corresponding low speed score, then matches the corresponding base score for urban or ordinary road type and low light environment at rainy night, retrieves the pre-set weight ratio, deliberately increases the weight ratio of rainfall intensity and low speed, and substitutes it into the weighted summation calculation formula for calculation. Since the fluctuation disturbance of rainfall is stronger in windy and rainy weather, and low-speed driving requires more avoidance of frequent wiper switching, the calculated anti-shake judgment threshold is larger, raising the judgment threshold for gear update. Only when the wiper offset reaches a large magnitude is the target gear calculation allowed to be triggered, effectively shielding the small disturbances caused by the fluctuation of natural rainfall in heavy rain conditions.
[0077] Alternatively, the controller identifies the current rainfall intensity as light rain and assigns a lower base score. At the same time, it detects that the vehicle is in a high-speed driving range and assigns a corresponding high-speed score. Combining sufficient daytime sunlight and highway type, it matches the corresponding base score. In the weighted summation calculation, the weight of rainfall intensity is reduced, and the weight of vehicle speed parameter is appropriately increased. Substituting these values into the formula completes the accumulation calculation of the score and weight, ultimately yielding a relatively small anti-shake judgment threshold. This lowers the threshold for gear update judgment, and a small amount of brush offset can trigger gear adaptation adjustment. This avoids meaningless gear jumps in light rain conditions while meeting the driving needs of high-speed driving for timely adaptation of the forward vision and maintaining a continuous and clear line of sight.
[0078] Step S202: If the brush offset is greater than or equal to the anti-shake judgment threshold, then the step of calculating the sum of the base gear and the brush offset is performed; or, if the brush offset is less than the anti-shake judgment threshold, then the base gear is maintained and the target gear update is not performed.
[0079] In this embodiment, after the controller compares the brush offset with the anti-shake judgment threshold, it executes branch logic judgment. When the value of the brush offset is detected to be greater than or equal to the anti-shake judgment threshold adapted to the current working condition, it is determined that the offset change is an effective gear adjustment demand brought about by the user's real operation intention. The controller then enters the subsequent process, performs the summation operation of the basic gear and the brush offset, and then performs subsequent operations such as candidate gear calculation, amplitude limit judgment, and target gear determination.
[0080] If the detected brush offset value is less than the current anti-shake judgment threshold, it is determined that the offset change is a minor fluctuation caused by environmental disturbance or slight misoperation, and has no practical significance for gear update. The controller directly maintains the currently running base gear unchanged and does not execute the subsequent target gear calculation and update process, effectively avoiding invalid gear switching.
[0081] It should be noted that by comparing the wiper offset with the anti-shake judgment threshold and dynamically determining the anti-shake judgment threshold based on vehicle driving parameters and real-time driving scene parameters, it can effectively suppress invalid gear switching caused by natural fluctuations in rainfall intensity or user misoperation, avoiding frequent jumps and repeated switching of wiper gears, and ensuring stable and consistent wiper operation. At the same time, gear update calculation is only performed when the wiper offset reaches the threshold requirement; otherwise, the original basic gear is maintained. This distinguishes between effective adjustments and invalid disturbances, ensuring that gear updates are based on real user intentions or scene changes, while reducing unnecessary calculations and gear jumps, improving the reliability and comfort of wiper control, and better adapting to actual driving environments and real user needs.
[0082] In the embodiments of this application, such as Figure 3 As shown, the method also includes: Step S301: Obtain the user's adjustment operations for the windshield wipers in different driving scenarios.
[0083] In this embodiment, the controller continuously collects navigation road information, rainfall sensor data, light sensor signals, and vehicle speed in real time throughout the vehicle's daily driving process, continuously identifying various driving scenarios, covering multiple operating conditions such as urban roads, highways, tunnels, rainy nights, and sunny days. The controller monitors the manual adjustment of the wiper lever in real time throughout the entire process, accurately capturing the user's gear adjustment operations in any driving scenario. It records the time of each adjustment action and the complete driving environment information, filtering only valid adjustment operations that meet the gear dwell time requirement and involve a substantial gear change, and eliminating invalid operations such as momentary touches and unintentional lever adjustments. This ensures a complete record of all manual adjustment behaviors of the user in different driving scenarios.
[0084] Step S302: Obtain the actual speed setting of the wipers after adjustment.
[0085] In this embodiment, after the controller detects each valid adjustment operation initiated by the user for the windshield wipers, it continuously tracks the position of the wiper lever and the actual working state of the wipers. Once the gear adjustment is completed and stabilized for a preset duration, the controller locks the currently operating fixed gear of the wipers as the adjusted actual gear. The controller records the wiping frequency, intermittent interval, and other operating parameters corresponding to this actual gear, and synchronously binds them to the driving scenario corresponding to the time of this adjustment operation.
[0086] Step S303: Analyze the compatibility between the actual gear and the scene parameters in the corresponding driving scenario, and determine whether the actual gear meets the vision requirements in the corresponding driving scenario based on the compatibility.
[0087] In this embodiment, the controller retrieves all scene parameters corresponding to the current driving scenario, such as rainfall intensity, lighting environment, road type, and vehicle speed. Combined with the wiping characteristics corresponding to the actual wiper setting after adjustment, the controller comprehensively analyzes whether the wiping frequency and interval of the actual setting match the current rainfall intensity, the degree of visual obstruction, and the visual observation needs brought about by the driving speed.
[0088] Based on the driving visibility standards corresponding to different scenario parameters, the controller verifies whether the actual gear can clear rainwater from the windshield in time, whether it can adapt to the visual observation requirements in bright and dark lighting environments, and whether it can match the driving visibility safety standards at high and low vehicle speeds. It evaluates the degree of matching and adaptation between the actual gear and the current driving scenario parameters, thereby accurately determining whether the current actual gear can fully meet the clear driving visibility and safety requirements of the corresponding driving scenario.
[0089] Step S304: If the actual gear position meets the visibility requirements of the corresponding driving scenario based on the adaptability, then the driving scenario is used as the index and the actual gear position is used as the preferred gear position to establish a mapping relationship; or, if the actual gear position does not meet the visibility requirements of the corresponding driving scenario based on the adaptability, then the actual gear position is corrected using the scenario parameters, and the corrected actual gear position is used as the preferred gear position to establish a mapping relationship.
[0090] In this embodiment, the controller executes different processing logic based on the adaptation evaluation results between the actual gear and the scene parameters. When it is determined that the wiping effect of the actual gear is completely in line with the current scene parameter characteristics and can fully meet the vision observation needs during driving, the currently identified driving scene is used as an index to mark the actual gear adjusted by the user as the preferred gear corresponding to the scene, solidify the correspondence between the two, establish a long-term effective mapping relationship and perform storage updates.
[0091] When it is determined that the actual gear is not well matched with the scene parameters and cannot meet the current driving visibility requirements, the controller uses scene parameters such as current rainfall intensity, lighting conditions, vehicle speed and road type as the basis for correction. It reasonably adjusts or lowers the actual gear set by the user to match the optimized gear that meets the visibility safety standard. The corrected gear is then used as the preferred gear for the corresponding driving scene. Similarly, the mapping relationship is established and saved with the driving scene as the index.
[0092] 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.
[0093] This embodiment provides a windshield wiper control device, such as... Figure 4 As shown, it includes: The detection module 401 is used to detect whether the user has triggered an effective adjustment operation for the basic setting during the process of the wipers wiping according to the wiping parameters corresponding to the basic setting. The acquisition module 402 is used to acquire the wiping offset of the windshield wiper in a real-time driving scenario if a valid adjustment operation is detected, and to calculate the target gear based on the base gear and the wiping offset. The processing module 403 is used to take the base gear as the initial gear and correct the real-time gear output in each control cycle according to the gradual rule within at least one control cycle until the output real-time gear is the target gear.
[0094] In this embodiment of the application, the device further includes: a query module, used to detect the real-time driving scenario of the vehicle; obtain the mapping relationship between the preset driving scenario and the preferred gear, and use the preferred gear corresponding to the real-time driving scenario in the mapping relationship as the base gear.
[0095] In this embodiment, the device further includes: a construction module, configured to acquire user-triggered adjustment operations on the windshield wipers under different driving scenarios; acquire the actual gear position after the wipers have been adjusted; analyze the compatibility between the actual gear position and scene parameters in the corresponding driving scenario, and determine whether the actual gear position meets the visibility requirements of the corresponding driving scenario based on the compatibility; if the actual gear position meets the visibility requirements of the corresponding driving scenario based on the compatibility, then establish a mapping relationship using the driving scenario as an index and the actual gear position as the preferred gear position; or, if the actual gear position does not meet the visibility requirements of the corresponding driving scenario based on the compatibility, then correct the actual gear position using the scene parameters, and establish a mapping relationship using the corrected actual gear position as the preferred gear position.
[0096] In this embodiment of the application, the detection module 401 is used to respond to the adjustment operation and obtain the change of the wiper gear; if the change of the gear indicates that the wiper gear after adjustment is different from the basic gear, it is confirmed that the user has triggered a valid adjustment operation for the basic gear; or, if the change of the gear indicates that the wiper gear after adjustment is the same as the basic gear, it is confirmed that the user has not triggered a valid adjustment operation for the basic gear.
[0097] In this embodiment of the application, the acquisition module 402 is used to determine the number of times the user adjusts the wiper speed based on the effective adjustment operation; acquire the adjustment range of the wiper speed for each adjustment in the number of adjustments; and calculate the wiping offset based on the number of speed adjustments, the adjustment range of each adjustment, and a preset smoothing coefficient.
[0098] In this embodiment of the application, the acquisition module 402 is used to calculate the sum of the base gear and the wiper offset, and round the sum to the nearest integer to obtain the candidate gear; if the candidate gear is within the effective gear range configured by the wiper, the candidate gear is used as the target gear.
[0099] In this embodiment, the device further includes: a verification module, used to compare the wiper offset with a stabilization threshold, wherein the stabilization threshold is used to suppress invalid gear switching caused by fluctuations in rainfall intensity or user misoperation, and the stabilization threshold is determined based on the vehicle's driving parameters and scene parameters in the real-time driving scenario; if the wiper offset is greater than or equal to the stabilization threshold, then the step of calculating the sum of the base gear and the wiper offset is performed; or, if the wiper offset is less than the stabilization threshold, then the base gear is maintained and the target gear update is not performed.
[0100] In this embodiment, the processing module 403 is used to calculate a first gear difference between the target gear and the initial gear, with the base gear as the output initial gear; calculate a first real-time gear corresponding to a first control cycle based on the initial gear, the first gear difference, and a preset smoothing weight; if the first real-time gear does not reach the target gear, calculate a second gear difference between the target gear and the first real-time gear; calculate a second real-time gear corresponding to a second control cycle based on the first real-time gear, the second gear difference, and the preset smoothing weight, wherein the second control cycle is the next control cycle after the first control cycle; if the second real-time gear still does not reach the target gear, calculate the real-time gear corresponding to each subsequent control cycle in sequence until the output real-time gear converges to the target gear.
[0101] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 5 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).
[0102] 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.
[0103] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0104] 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.
[0105] 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.
[0106] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0107] 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.
[0108] 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 method for controlling a windshield wiper, characterized in that, The method includes: During the process of the windshield wipers wiping according to the wiping parameters corresponding to the basic setting, it is detected whether the user has triggered an effective adjustment operation for the basic setting. If the effective adjustment operation is detected, the wiping offset of the wiper in the real-time driving scenario is obtained, and the target gear is calculated based on the base gear and the wiping offset. Using the base gear as the initial output gear, the real-time output gear is corrected according to the gradual change rule in at least one control cycle until the output real-time gear is the target gear.
2. The method according to claim 1, characterized in that, Before the windshield wipers perform wiping according to the wiping parameters corresponding to the basic setting, the method further includes: Detect the vehicle's real-time driving scenario; Obtain the mapping relationship between preset driving scenarios and preferred gears, and use the preferred gear corresponding to the real-time driving scenario in the mapping relationship as the base gear.
3. The method according to claim 2, characterized in that, The method further includes: The system acquires the user's adjustment actions triggered by the windshield wipers under different driving scenarios. Obtain the actual speed setting of the windshield wipers after adjustment; Analyze the compatibility between the actual gear position and the scene parameters in the corresponding driving scenario, and determine whether the actual gear position meets the vision requirements in the corresponding driving scenario based on the compatibility. If, based on the adaptability, it is determined that the actual gear position meets the visibility requirements of the corresponding driving scenario, then the driving scenario is used as an index, and the actual gear position is used as the preferred gear position to establish the mapping relationship; or, if, based on the adaptability, it is determined that the actual gear position does not meet the visibility requirements of the corresponding driving scenario, then the actual gear position is corrected using the scenario parameters, and the corrected actual gear position is used as the preferred gear position to establish the mapping relationship.
4. The method according to claim 1, characterized in that, The step of detecting whether the user has triggered a valid adjustment operation for the base gear includes: In response to the adjustment operation, the change in the wiper speed is obtained; If the gear change indicates that the wiper is at a different gear after adjustment than the base gear, then it is confirmed that the user has triggered a valid adjustment operation for the base gear; or, if the gear change indicates that the wiper is at the same gear after adjustment as the base gear, then it is confirmed that the user has not triggered a valid adjustment operation for the base gear.
5. The method according to claim 1, characterized in that, The step of obtaining the wiper offset in a real-time driving scenario includes: Based on the effective adjustment operation, determine the number of times the user adjusts the wiper speed. Obtain the adjustment range of the wiper speed for each adjustment in the number of adjustment cycles; The brush offset is calculated based on the number of gear adjustments, the adjustment range of each adjustment, and the preset smoothing coefficient.
6. The method according to claim 1, characterized in that, The calculation of the target gear based on the base gear and the brush offset includes: Calculate the sum of the base gear and the brush offset, and round the sum to the nearest integer to obtain the candidate gear. If the candidate gear is within the effective gear range configured for the windshield wiper, then the candidate gear is taken as the target gear.
7. The method according to claim 6, characterized in that, Before calculating the sum of the base gear and the brush offset, the method further includes: The brush offset is compared with the anti-shake judgment threshold, wherein the anti-shake judgment threshold is used to suppress invalid gear switching caused by fluctuations in rainfall intensity or user misoperation, and the anti-shake judgment threshold is determined based on the vehicle's driving parameters and the scene parameters in the real-time driving scenario. If the brush offset is greater than or equal to the anti-shake determination threshold, then the step of calculating the sum of the base gear and the brush offset is performed; or, if the brush offset is less than the anti-shake determination threshold, then the base gear is maintained and the target gear update is not performed.
8. The method according to claim 1, characterized in that, The process of using the base gear as the initial output gear, and then gradually correcting the real-time output gear in each control cycle according to a gradual change rule within at least one control cycle until the output real-time gear is the target gear, includes: Using the base gear as the initial output gear, calculate the first gear difference between the target gear and the initial gear; Based on the initial gear position, the first gear position difference, and the preset smoothing weight, calculate the first real-time gear position corresponding to the first control cycle; If the first real-time gear position does not reach the target gear position, then calculate the second gear position difference between the target gear position and the first real-time gear position; Based on the first real-time gear position, the difference between the second gear position and the preset smoothing weight, the second real-time gear position corresponding to the second control cycle is calculated, wherein the second control cycle is the next control cycle after the first control cycle. If the second real-time gear has not yet reached the target gear, the real-time gear corresponding to each subsequent control cycle is calculated sequentially until the output real-time gear converges to the target gear.
9. A windshield wiper control device, characterized in that, The device includes: The detection module is used to detect whether the user has triggered an effective adjustment operation for the basic speed during the process of the windshield wipers wiping according to the wiping parameters corresponding to the basic speed. The acquisition module is used to acquire the wiping offset of the windshield wiper in a real-time driving scenario if the valid adjustment operation is detected, and to calculate the target gear based on the base gear and the wiping offset. The processing module is used to take the base gear as the initial gear and correct the real-time gear output in each control cycle according to the gradual rule within at least one control cycle until the output real-time gear is the target gear.
10. A vehicle, characterized in that, include: A controller and a windshield wiper, the controller comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1 to 8.