Vehicle control method and device, vehicle and storage medium

By obtaining the current status parameters of the mechanical wiper, judging its status and controlling the spray assembly, the problem that the mechanical wiper cannot accurately judge the position of the wiper is solved, achieving better spraying effect and service life extension.

CN119099547APending Publication Date: 2024-12-10GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411386678.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

Mechanical wipers lack position sensors, and it is impossible to accurately determine that the wiper is in an upward or downward state, resulting in the spray function not being turned on in a suitable position, affecting the user experience.

Method used

By obtaining the current status parameters related to the operation of the mechanical wiper, it is judged that it is in an upward or downward state, and when the spray function is turned on, the spray assembly is controlled to spray cleaning liquid on the windshield to avoid dry scraping and improve the spray effect and service life. .

Benefits of technology

Ensure that the cleaning liquid is evenly distributed, reduce the friction between the wiper blades and the windshield, extend the life of the wiper blades, reduce maintenance costs, and improve cleaning efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119099547A_ABST
    Figure CN119099547A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle control method and device, a vehicle and a storage medium, the method is applied to the field of vehicles, and the method comprises the steps that under the condition that it is determined that the spraying function of a windshield of the vehicle is in an open state, current state parameters related to operation of a mechanical windscreen wiper are obtained; based on the current state parameter, whether the mechanical windscreen wiper is in an uplink state or not is judged; and under the condition that it is determined that the mechanical windscreen wiper is in the ascending state, a spraying assembly of the vehicle is controlled to spray cleaning liquid to a windshield. According to the method, the spraying assembly of the vehicle can be controlled to spray the cleaning liquid to the windshield when the mechanical windscreen wiper is located at the proper position, and therefore the spraying effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a vehicle control method, a device, a vehicle and a storage medium in the field of vehicles. Background Art

[0002] With the improvement of living standards and the development of automobile technology, people's demand for intelligent vehicles is increasing. The main function of the wiper in the vehicle is to clean the rain, snow, dust and other impurities on the windshield in rainy days or when the driver's vision is blocked, so as to ensure that the driver has a good field of vision and improve driving safety.

[0003] At present, the windshield wipers in some vehicles are electronic wipers, which are usually equipped with position sensors inside to detect the wiper position and obtain the accurate wiper position, so as to accurately turn on the spray function. However, electronic wipers are relatively expensive, and for cost considerations, some vehicles still use mechanical wipers. Existing mechanical wipers are usually controlled only by wiper motors, without position sensors, and cannot accurately turn on the spray function, resulting in a poor user experience. Summary of the invention

[0004] The present application provides a vehicle control method, device, vehicle and storage medium. The method can control the vehicle's spray assembly to spray cleaning fluid onto the windshield when the mechanical wiper is in a suitable position, thereby improving the spraying effect.

[0005] In a first aspect, a vehicle control method is provided, the method comprising: when it is determined that a spray function on a windshield of the vehicle is in an on state, obtaining current state parameters related to the operation of a mechanical wiper; based on the current state parameters, determining whether the mechanical wiper is in an upward state; when it is determined that the mechanical wiper is in an upward state, controlling the spray assembly of the vehicle to spray cleaning fluid onto the windshield.

[0006] The above technical solution, when the spray function of the vehicle's windshield is turned on, obtains the current state parameters related to the operation of the mechanical wiper, and determines whether the mechanical wiper is in the upward state based on the current state parameters. Since the mechanical wiper is not equipped with a position sensor, the state of the mechanical wiper can be determined more accurately by obtaining the current state parameters. When it is determined that the mechanical wiper is in the upward state, the spray assembly of the vehicle is controlled to spray the cleaning liquid to the windshield, so that the mechanical wiper can be sprayed when it is in the appropriate position, thereby ensuring that the cleaning liquid is evenly distributed when the wiper passes by, and improving the spraying effect. In addition, spraying when the mechanical wiper is in the upward state can prevent the mechanical wiper from dry scraping without liquid lubrication, reduce the friction between the wiper blade and the windshield, extend the service life of the wiper blade, reduce the replacement frequency, and reduce maintenance costs.

[0007] In combination with the first aspect, in certain implementations of the first aspect, after obtaining current state parameters related to the operation of the mechanical wiper, the method also includes: based on the current state parameters, determining whether the mechanical wiper is in a downward state; when it is determined that the mechanical wiper is in a downward state, controlling the spray assembly to stop spraying cleaning fluid onto the windshield.

[0008] The above technical solution controls the spray assembly to stop spraying cleaning liquid to the windshield when the mechanical wiper is in the downward state, which can ensure that the cleaning liquid sprayed when the wiper is in the upward state is effectively scraped off when the wiper is in the downward state, thereby improving the cleaning efficiency and ensuring that each spray can be fully utilized. Stopping the spraying when the mechanical wiper is in the downward state can prevent the waste of excess cleaning liquid due to failure to be scraped off in time, and can also prevent excessive cleaning liquid from remaining on the windshield, thereby reducing the obstruction of vision.

[0009] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, after obtaining the current state parameters related to the operation of the mechanical wiper, the method also includes: based on a preset corresponding relationship, determining the target cycle duration corresponding to the current state parameters; wherein the preset corresponding relationship is the correspondence between the state parameters related to the operation of the mechanical wiper and the cycle duration of the mechanical wiper; the cycle duration is the time taken for the mechanical wiper to start from a stop position and return to the stop position again; the stop position is the position of the mechanical wiper when it is in a stopped state; based on the current state parameters, judging whether the mechanical wiper is in an upward state, including: based on the target cycle duration, judging whether the mechanical wiper is in an upward state; based on the current state parameters, judging whether the mechanical wiper is in a downward state, including: based on the target cycle duration, judging whether the mechanical wiper is in a downward state.

[0010] The above technical solution determines the target cycle time by presetting the corresponding relationship, and judges the upward and downward states of the wiper based on this, which can improve the accuracy of the wiper state judgment, and then ensure that the spray component is controlled to spray when the wiper is in a suitable spraying position.

[0011] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, a limit switch is provided at the stop position, and based on the target cycle duration, it is determined whether the mechanical wiper is in an upward state, including: determining that the mechanical wiper leaves the stop position each time a preset state change of the limit switch is detected; wherein the preset state change is that the limit switch switches from an open state to a closed state or the limit switch switches from an open state to a closed state; starting timing from the time point when the mechanical wiper leaves the stop position to obtain a first timing duration; when the first timing duration is less than half of the target cycle duration, determining that the mechanical wiper is in an upward state.

[0012] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, a limit switch is provided at the stop position, and based on the target cycle duration, it is determined whether the mechanical wiper is in a downward state, including: determining that the mechanical wiper leaves the stop position each time a preset state change of the limit switch is detected; wherein the preset state change is that the limit switch switches from an open state to a closed state or the limit switch switches from an open state to a closed state; starting timing from the time point when the mechanical wiper leaves the stop position to obtain a second timing duration; when the second timing duration is greater than half of the target cycle duration and less than the target cycle duration, determining that the mechanical wiper is in a downward state.

[0013] The above technical solution can accurately determine whether the wiper has left the stop position by detecting the state change of the limit switch. The state change of the limit switch provides a reliable detection signal, reducing the possibility of misjudgment. Once the preset state change of the limit switch is detected, the timing starts immediately, and the current state of the mechanical wiper is determined based on the relationship between the timing duration and the target cycle duration. Even if the position sensor is not set inside the mechanical wiper, the position of the mechanical wiper can be determined by detecting the state change of the limit switch, which can reduce the manufacturing cost without affecting the user experience.

[0014] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the above-mentioned state parameters related to the operation of the mechanical wiper include the dryness of the windshield and the operating speed of the mechanical wiper, and the preset corresponding relationship is generated in the following manner: under multiple different dryness degrees of the windshield, respectively determine the first cycle duration corresponding to when the mechanical wiper runs at a first operating speed, and determine the second cycle duration corresponding to when the mechanical wiper runs at a second operating speed; wherein the first operating speed is less than the second operating speed; for each of the multiple different dryness degrees, combine the dryness degree, the first operating speed and the first cycle duration corresponding to when the mechanical wiper runs at the first operating speed under the dryness degree to obtain a first combination; for each of the multiple different dryness degrees, combine the dryness degree, the second operating speed and the second cycle duration corresponding to when the mechanical wiper runs at the second operating speed under the dryness degree to obtain a second combination; based on the first combination and the second combination, generate the preset corresponding relationship.

[0015] The above technical solution selects the state parameters that have a greater impact on the cycle time of the mechanical wiper from the state parameters related to the operation of the mechanical wiper, namely, the dryness of the windshield and the operating speed of the mechanical wiper, and controls the mechanical wiper to operate under different state parameters to obtain the cycle time of the mechanical wiper when it operates under different state parameters, and finally obtains the preset corresponding relationship between the state parameter and the cycle time through combination. By generating the above preset corresponding relationship in advance, it is convenient to quickly judge the state of the mechanical wiper based on the current state parameter, thereby improving the response speed of the system.

[0016] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, determining a first cycle duration corresponding to when the mechanical wiper runs at a first operating speed, and determining a second cycle duration corresponding to when the mechanical wiper runs at a second operating speed, include: when the mechanical wiper runs at the first operating speed, collecting the time required for the mechanical wiper to start from the stop position and return to the stop position for multiple times, and obtaining multiple first time durations; calculating a first average time duration corresponding to multiple first time durations, and determining the first average time duration as the first cycle duration; when the mechanical wiper runs at the second operating speed, collecting the time required for the mechanical wiper to start from the stop position and return to the stop position for multiple times, and obtaining multiple second time durations; calculating a second average time duration corresponding to multiple second time durations, and determining the second average time duration as the second cycle duration.

[0017] The above technical solution can reduce the influence of random errors by collecting the first duration and the second duration multiple times and taking the average value. The above first average duration and the second average duration can better reflect the long-term operation time of the mechanical wiper, rather than the instantaneous state at a certain moment. Determining the first average duration as the first cycle duration and the second average duration as the second cycle duration can improve the reliability of the preset corresponding relationship, so that the current state of the mechanical wiper can be determined more accurately.

[0018] In a second aspect, a vehicle control device is provided, which includes: an acquisition module for acquiring current state parameters related to the operation of a mechanical wiper when it is determined that a spray function on a windshield of the vehicle is in an on state; a judgment module for judging whether the mechanical wiper is in an upward state based on the current state parameters; and a control module for controlling the spray assembly of the vehicle to spray cleaning fluid onto the windshield when it is determined that the mechanical wiper is in an upward state.

[0019] In combination with the second aspect, in certain implementations of the second aspect, the device also includes a second control module, which is specifically used to: determine whether the mechanical wiper is in a downward state based on the current state parameter; when it is determined that the mechanical wiper is in a downward state, control the spray assembly to stop spraying cleaning fluid onto the windshield.

[0020] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the device also includes a determination module, which is specifically used to: determine the target cycle duration corresponding to the current state parameter based on a preset corresponding relationship; wherein the preset corresponding relationship is the correspondence between the state parameter related to the operation of the mechanical wiper and the cycle duration of the mechanical wiper; the cycle duration is the time taken for the mechanical wiper to start from the stop position and return to the stop position again; the stop position is the position of the mechanical wiper when it is in the stop state; the judgment module is specifically used to: judge whether the mechanical wiper is in an upward state based on the target cycle duration; the second control module includes a judgment unit, which is specifically used to: judge whether the mechanical wiper is in a downward state based on the target cycle duration.

[0021] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, a limit switch is provided at the above-mentioned stop position, and the judgment module is further specifically used to: determine that the mechanical wiper leaves the stop position each time a preset state change of the limit switch is detected; wherein the preset state change is that the limit switch switches from an open state to a closed state or the limit switch switches from an open state to a closed state; start timing from the time point when the mechanical wiper leaves the stop position to obtain a first timing duration; when the first timing duration is less than half of the target cycle duration, determine that the mechanical wiper is in an upward state.

[0022] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, a limit switch is provided at the above-mentioned stop position, and the judgment unit is further specifically used to: determine that the mechanical wiper leaves the stop position each time a preset state change of the limit switch is detected; wherein the preset state change is that the limit switch switches from an open state to a closed state or the limit switch switches from an open state to a closed state; start timing from the time point when the mechanical wiper leaves the stop position to obtain a second timing duration; when the second timing duration is greater than half of the target cycle duration and less than the target cycle duration, determine that the mechanical wiper is in a downward state.

[0023] In combination with the second aspect and the above-mentioned implementation manner, in some implementation manners of the second aspect, the above-mentioned state parameters related to the operation of the mechanical wiper include the dryness of the windshield and the operating speed of the mechanical wiper, and the device also includes a generation module, which is specifically used to: under multiple different dryness degrees of the windshield, respectively determine the first cycle duration corresponding to when the mechanical wiper runs at a first operating speed, and determine the second cycle duration corresponding to when the mechanical wiper runs at a second operating speed; wherein the first operating speed is less than the second operating speed; for each of the multiple different dryness degrees, combine the dryness degree, the first operating speed and the first cycle duration corresponding to when the mechanical wiper runs at the first operating speed under the dryness degree to obtain a first combination; for each of the multiple different dryness degrees, combine the dryness degree, the second operating speed and the second cycle duration corresponding to when the mechanical wiper runs at the second operating speed under the dryness degree to obtain a second combination; based on the first combination and the second combination, generate the preset corresponding relationship.

[0024] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the generation module includes a determination unit, which is specifically used to: when the mechanical wiper runs at a first operating speed, collect the time required for the mechanical wiper to start from the stop position and return to the stop position for multiple times to obtain multiple first time lengths; calculate the first average time lengths corresponding to the multiple first time lengths, and determine the first average time length as the first cycle time length; when the mechanical wiper runs at a second operating speed, collect the time required for the mechanical wiper to start from the stop position and return to the stop position for multiple times to obtain multiple second time lengths; calculate the second average time lengths corresponding to the multiple second time lengths, and determine the second average time length as the second cycle time length.

[0025] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the vehicle control method in the first aspect and any possible implementation of the first aspect.

[0026] In a fourth aspect, a computer program product is provided, which includes: a computer program code, when the computer program code is run on a computer, the computer executes the vehicle control method in the above-mentioned first aspect and any possible implementation of the first aspect.

[0027] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the vehicle control method in the above-mentioned first aspect and any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 is a schematic flow chart of a vehicle control method provided in an embodiment of the present application;

[0029] Figure 2 is a schematic flow chart of another vehicle control method provided in an embodiment of the present application;

[0030] Figure 3 is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application;

[0031] Figure 4 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0033] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0034] With the improvement of living standards and the development of automobile technology, people's demand for intelligent vehicles is increasing. The main function of the wiper in the vehicle is to clean the rain, snow, dust and other impurities on the windshield in rainy days or when the driver's vision is blocked, so as to ensure that the driver has a good field of vision and improve driving safety.

[0035] At present, the windshield wipers in some vehicles are electronic wipers, which are usually equipped with position sensors to detect the wiper position and obtain the accurate wiper position, so as to accurately turn on the spray function. However, electronic wipers are relatively expensive, and for cost considerations, some vehicles still use mechanical wipers.

[0036] Mechanical wipers refer to traditional wiper systems that use simple mechanical structures and motors to drive the wiper movement. Specifically, mechanical wipers usually consist of three parts: a wiper motor, a wiper arm, and a wiper blade. The wiper motor is used to drive the wiper arm to move, and the wiper arm is used to connect the wiper motor and the wiper blade. The wiper blade directly contacts the windshield and removes rain or other dirt. Mechanical wipers are usually controlled only by wiper motors and do not have built-in position sensors. Due to the lack of position sensors, mechanical wipers cannot accurately determine whether the wiper is in the upward or downward state, which may cause the spray function on the windshield to fail to be turned on in the most appropriate position, affecting the user experience.

[0037] In order to solve the above technical problems, an embodiment of the present application provides a vehicle control method, in which the execution subject of the method is a vehicle, specifically a controller in the vehicle, such as a body controller.

[0038] Figure 1 It is a schematic flow chart of a vehicle control method provided in an embodiment of the present application.

[0039] For example, Figure 1As shown, the method 100 includes:

[0040] S101, when it is determined that the spray function of the windshield of the vehicle is in the on state, obtaining current state parameters related to the operation of the mechanical wiper.

[0041] S102, based on the current state parameters, determining whether the mechanical wiper is in an upward state.

[0042] S103, when it is determined that the mechanical wiper is in an upward state, controlling the spray assembly of the vehicle to spray cleaning liquid onto the windshield.

[0043] In an embodiment of the present application, when the spray function of the vehicle's windshield is turned on, the current state parameters related to the operation of the mechanical wiper are obtained, and based on the current state parameters, it is determined whether the mechanical wiper is in the upward state. Since the mechanical wiper is not equipped with a position sensor, the state of the mechanical wiper can be more accurately determined by obtaining the current state parameters. When it is determined that the mechanical wiper is in the upward state, the spray assembly of the vehicle is controlled to spray the cleaning liquid to the windshield, so that the mechanical wiper can be sprayed when it is in the appropriate position, thereby ensuring that the cleaning liquid is evenly distributed when the wiper passes by, thereby improving the spraying effect. In addition, spraying when the mechanical wiper is in the upward state can prevent the mechanical wiper from dry scraping without liquid lubrication, reduce the friction between the wiper blade and the windshield, extend the service life of the wiper blade, reduce the replacement frequency, and reduce maintenance costs.

[0044] Below Figure 1 The specific implementation of each step in the embodiment shown is described as follows:

[0045] As for S101, it can be understood that the mechanical wiper mentioned above refers to a wiper system that drives the wiper movement through a simple mechanical structure and a motor. As mentioned above, the mechanical wiper is usually controlled only by a wiper motor and has no built-in position sensor.

[0046] The above-mentioned spray function refers to the water spray function in the vehicle's wiper system, that is, spraying cleaning fluid (usually water or water with detergent) onto the windshield through a spray component in the vehicle, such as a nozzle, so as to cooperate with the wiper to remove rain, dirt or other contaminants on the windshield to ensure a clear field of vision for the driver.

[0047] The above-mentioned spray function can usually be turned on by the user. For example, the user can choose to turn on the spray function through the wiper switch on the vehicle (usually located on the right side of the steering wheel column). For example, the user can push the wiper control lever forward to activate the spray function; the user can also press a specific button on the wiper control lever to activate the spray function. The specific activation method of the spray function is not limited in the embodiment of the present application.

[0048] Furthermore, when it is determined that the spray function of the vehicle's windshield is in the on state, current state parameters related to the operation of the mechanical wiper can be obtained, such as wiper position, wiper speed, wiper movement range on the windshield, and wiper motor working parameters.

[0049] It is understandable that by obtaining the above current state parameters, it is possible to determine whether the wiper is in a suitable spraying position, thereby determining whether to start the spraying function.

[0050] The above current state parameters can be obtained through sensors in the wiper system or sensors of other systems in the vehicle.

[0051] For example, if the user turns on the spray function through the wiper switch, the body controller detects that the spray function of the windshield is in the turned-on state, and the current state parameters related to the operation of the mechanical wiper can be obtained through the sensor.

[0052] As for the above S102, it can be understood that the operation process of a mechanical wiper is usually: the wiper arm, driven by a motor, drives the wiper blade to swing along a fixed trajectory on the windshield, so that the wiper blade cleans the dirt on the windshield.

[0053] The upward state generally refers to the process in which the wiper arm moves upward from the bottom to the top of the windshield. If the wiper arm of the mechanical wiper is in the process of moving upward from the bottom to the top of the windshield, it is determined that the mechanical wiper is in the upward state.

[0054] Furthermore, as mentioned above, the mechanical wiper is not equipped with a position sensor, and the specific position of the mechanical wiper cannot be obtained through the position sensor, that is, it is impossible to determine whether the mechanical wiper is in the upward state.

[0055] Based on this, the embodiment of the present application can determine whether the mechanical wiper is in the upward state based on the current state parameters obtained related to the operation of the mechanical wiper.

[0056] In some embodiments, the above-mentioned current state parameters may include current or voltage parameters of the wiper motor. When it is detected that the current or voltage of the wiper motor is gradually increasing, it can be determined that the mechanical wiper is in the upward state.

[0057] It is understandable that, since a DC wiper motor is usually used to drive the wiper arm in a mechanical wiper system, the current of the wiper motor will change with the load during the movement of the wiper arm. When the mechanical wiper is in the upward state, the wiper arm swings upward, and due to the effect of gravity, the wiper motor needs to provide a greater force to overcome gravity. Therefore, when the mechanical wiper is in the upward state, the current of the wiper motor is gradually increasing.

[0058] Similarly, when the mechanical wiper is in the upward state, the wiper arm swings upward and the voltage of the wiper motor gradually increases.

[0059] For example, when the mechanical wiper starts to move, the current or voltage of the wiper motor corresponding to any two adjacent time points can be obtained, and the change trend of the current or voltage of the wiper motor corresponding to the two adjacent time points can be analyzed. When it is determined that the current or voltage has an increasing trend, it is determined that the mechanical wiper is in an upward state.

[0060] The above method, based on current state parameters related to the operation of the mechanical wiper, such as the voltage or current parameters of the wiper motor, can more accurately determine whether the mechanical wiper is in the upward state, thereby ensuring that the spray assembly is controlled at the most appropriate position of the mechanical wiper to spray cleaning fluid onto the windshield.

[0061] Furthermore, since the mechanical wiper usually wipes in a cycle within a time period, that is, the mechanical wiper may take the same time to start from the stop position and return to the stop position each time. The time taken by the mechanical wiper to start from the stop position and return to the stop position is usually strongly correlated with the state parameters related to the operation of the mechanical wiper.

[0062] It can be understood that the time taken for the mechanical wiper to start from the stop position and return to the stop position can be referred to as the cycle duration of the mechanical wiper.

[0063] Exemplarily, a preset correspondence between state parameters related to the operation of the mechanical wiper and the cycle duration of the mechanical wiper can be generated in advance, and after the current state parameters are obtained, the target cycle duration corresponding to the current state parameters is determined based on the preset correspondence.

[0064] In a possible implementation, after obtaining the current state parameters related to the operation of the mechanical wiper, the method also includes: determining the target cycle duration corresponding to the current state parameters based on a preset corresponding relationship; wherein the preset corresponding relationship is the correspondence between the state parameters related to the operation of the mechanical wiper and the cycle duration of the mechanical wiper; the cycle duration is the time taken for the mechanical wiper to start from the stop position and return to the stop position again; the stop position is the position of the mechanical wiper when it is in a stop state.

[0065] It can be understood that the above-mentioned current state parameters may include one or more of the speed of the mechanical wiper, the dryness of the windshield, and the wear degree of the wiper blade.

[0066] Exemplarily, the preset correspondence may be a correspondence between the speed of the mechanical wiper and the cycle duration of the mechanical wiper. If the current speed of the mechanical wiper is obtained to be high speed, based on the preset correspondence, it may be determined that the target cycle duration corresponding to the current speed of the mechanical wiper is 2 seconds.

[0067] Similarly, the preset correspondence may also be a correspondence between the dryness of the windshield and the cycle duration of the mechanical wiper. If the dryness of the windshield is obtained to be a wet state, based on the preset correspondence, it may be determined that the target cycle duration corresponding to the current dryness of the windshield is 1.5 seconds.

[0068] It can be understood that the above-mentioned preset corresponding relationship can also be a corresponding relationship between other state parameters related to the operation of the mechanical wiper and the cycle duration of the mechanical wiper, which is not limited in the embodiment of the present application.

[0069] Furthermore, considering that various state parameters related to the operation of mechanical wipers (i.e., the speed of the mechanical wipers, the dryness of the windshield, and the wear of the wiper blades) may affect the cycle duration of the mechanical wipers, the cycle duration of the wipers under different state parameters can be determined based on the various state parameters related to the operation of the mechanical wipers, and a corresponding relationship between the state parameters and the cycle duration of the mechanical wipers can be formed, i.e., the above-mentioned preset corresponding relationship.

[0070] It is understandable that the degree of wear of the above-mentioned wiper blades is usually accumulated gradually during long-term use. Although the wear of the wiper blades will reduce the contact area between the wiper blades and the windshield and increase the friction, this effect is gradual and will not have a significant impact on the operating time of the wiper in a short period of time. And worn wiper blades may cause uneven wiping, noise, and leave water marks on the windshield, but these effects are more about the quality of wiping rather than directly increasing the operating time of the wiper. Therefore, the impact of the degree of wear of the wiper blades on the cycle time of the mechanical wiper can be ignored.

[0071] When the windshield is wet, the friction between the wiper blades and the glass is smaller, the wiper runs more smoothly, and the time for a wipe cycle is relatively short. When the windshield is dry, the friction between the wiper blades and the glass is greater, which may cause the wiper to run unsmoothly, and the time for a wipe cycle is relatively long. Therefore, the dryness of the windshield will have a significant impact on the operating time of the wiper.

[0072] The above current speed of the wiper refers to the speed at which the wiper motor drives the wiper arm to swing. When the wiper is running at high speed, the time required for the wiper arm to drive the wiper blade to complete a round trip is shorter; while when the wiper is running at low speed, the time required for the wiper arm to drive the wiper blade to complete a round trip is longer. Therefore, the current speed of the wiper will have a significant impact on the operating time of the wiper.

[0073] Based on this, taking into account the influence of the dryness of the windshield and the operating speed of the mechanical wiper on the cycle duration of the mechanical wiper, the embodiment of the present application can determine the cycle duration of the mechanical wiper when it runs at different speeds under different degrees of dryness of the windshield, based on the dryness of the windshield and the current speed of the mechanical wiper, thereby forming a corresponding relationship between the state parameters (including the dryness of the windshield and the operating speed of the mechanical wiper) and the cycle duration of the mechanical wiper.

[0074] In a possible implementation, the state parameters related to the operation of the mechanical wiper include the dryness of the windshield and the operating speed of the mechanical wiper, and the preset corresponding relationship is generated in the following manner: under multiple different dryness degrees of the windshield, respectively determine the first cycle duration corresponding to when the mechanical wiper runs at a first operating speed, and determine the second cycle duration corresponding to when the mechanical wiper runs at a second operating speed; wherein the first operating speed is less than the second operating speed; for each of the multiple different dryness degrees, combine the dryness degree, the first operating speed and the first cycle duration corresponding to when the mechanical wiper runs at the first operating speed under the dryness degree to obtain a first combination; for each of the multiple different dryness degrees, combine the dryness degree, the second operating speed and the second cycle duration corresponding to when the mechanical wiper runs at the second operating speed under the dryness degree to obtain a second combination; based on the first combination and the second combination, generate the preset corresponding relationship.

[0075] It is understandable that the current dryness of the windshield and the current operating speed of the mechanical wipers can be detected by sensors in the vehicle.

[0076] Exemplarily, the dryness of the windshield can be detected by a humidity sensor installed on the outside of the windshield of the vehicle; the dryness of the windshield can be detected by an optical sensor installed on the edge of the windshield of the vehicle; the dryness of the windshield can also be detected by the vehicle's front camera and rain light sensor.

[0077] Among them, the above-mentioned humidity sensor can be used to detect the humidity on the surface of the windshield; the above-mentioned optical sensor can determine whether there is water on the surface of the windshield by emitting a light beam and detecting the intensity of the reflected light beam; the front camera of the above-mentioned vehicle can take a real-time image of the windshield, thereby analyzing the dryness of the windshield through image processing technology, and can also be combined with a rain light sensor to detect the refraction or reflection of light on the windshield to determine whether there are water droplets on the windshield.

[0078] For example, the rotation speed of the wiper motor can be determined by detecting the change of the motor magnetic flux according to the Hall effect sensor near the wiper motor, thereby determining the current operating speed of the mechanical wiper.

[0079] Furthermore, different dryness levels of the windshield are defined, for example, a dry state, namely a K1 state, a damp state, namely a K2 state, and a wet state, namely a K3 state.

[0080] The above-mentioned different dryness levels can be determined according to the humidity of the windshield. For example, if the humidity of the windshield is detected to be 0%, it is determined that the windshield is in a dry state, i.e., state K1; if the humidity of the windshield is detected to be greater than 0% and less than or equal to 20%, it is determined that the windshield is in a wet state, i.e., state K2; if the humidity of the windshield is detected to be greater than 20%, it is determined that the windshield is in a wet state, i.e., state K3.

[0081] Furthermore, at least two different wiper operating speeds are set, namely the first operating speed and the second operating speed, and the first operating speed is defined to be less than the second operating speed. For example, the first operating speed V1 is set to complete 30 round trips per minute, i.e., 30 CPM, and the second operating speed V2 is set to complete 60 round trips per minute, i.e., 60 CPM.

[0082] Exemplarily, according to each degree of dryness and the corresponding first operating speed and second operating speed, each degree of dryness and each operating speed can be combined to obtain six states of the mechanical wiper, namely (K1, V1), (K2, V1), (K3, V1), (K1, V2), (K2, V2) and (K3, V2).

[0083] Furthermore, for the six states obtained above, the cycle duration of the mechanical wiper corresponding to each state (ie, the duration required for starting from the stop position and returning to the stop position again) can be determined.

[0084] Exemplarily, for each degree of dryness of the windshield, the mechanical wiper is controlled to operate at a set first operating speed, and the time required for the wiper to complete a complete cycle (i.e., starting from the stop position and returning to the stop position again) is recorded to obtain the above-mentioned first cycle time.

[0085] For example, if it is obtained that the cycle duration of the mechanical wiper when the windshield is dry and running at the first operating speed is 2.5 seconds, it can be determined that the first cycle duration corresponding to the mechanical wiper in the (K1, V1) state is 2.5 seconds.

[0086] If it is obtained that the cycle duration of the mechanical wiper when running at the first operating speed when the windshield is wet is 2.2 seconds, it can be determined that the first cycle duration corresponding to the mechanical wiper in the (K2, V1) state is 2.2 seconds.

[0087] If it is obtained that the cycle duration of the mechanical wiper when running at the first operating speed when the windshield is wet is 2 seconds, it can be determined that the first cycle duration corresponding to the mechanical wiper in the (K3, V1) state is 2 seconds.

[0088] Further, the above-mentioned dryness degree, the first operating speed and the first cycle duration corresponding to the operation of the mechanical wiper at the first operating speed under the dryness degree are combined to obtain a first combination.

[0089] For example, the dry state (K1) of the windshield, the first operating speed (V1) and the first cycle duration corresponding to the mechanical wiper in the (K1, V1) state are combined, the wet state (K2) of the windshield, the first operating speed (V1) and the first cycle duration corresponding to the mechanical wiper in the (K2, V1) state are combined, and the wet state (K3) of the windshield, the first operating speed (V1) and the first cycle duration corresponding to the mechanical wiper in the (K3, V1) state are combined. The obtained first combination can be: (K1, V1) corresponds to 2.5 seconds, (K2, V1) corresponds to 2.2 seconds and (K3, V1) corresponds to 2 seconds.

[0090] Similarly, for each degree of dryness of the windshield mentioned above, the mechanical wiper is controlled to run at the set second operating speed, and the time required for the wiper to complete a complete cycle (i.e., starting from the stop position to returning to the stop position again) is recorded respectively to obtain the above-mentioned second cycle duration.

[0091] For example, if it is obtained that the cycle duration of the mechanical wiper when the windshield is dry and running at the second operating speed is 1.7 seconds, it can be determined that the second cycle duration corresponding to the mechanical wiper in the (K1, V2) state is 1.7 seconds.

[0092] If it is obtained that the cycle duration of the mechanical wiper when running at the second operating speed when the windshield is wet is 1.5 seconds, it can be determined that the second cycle duration corresponding to the mechanical wiper in the (K2, V2) state is 1.5 seconds.

[0093] If it is obtained that the cycle duration of the mechanical wiper when running at the second operating speed when the windshield is wet is 1.2 seconds, it can be determined that the second cycle duration corresponding to the mechanical wiper in the (K3, V2) state is 1.2 seconds.

[0094] Furthermore, the above-mentioned dryness degree, the second operating speed and the corresponding second cycle duration of the mechanical wiper running at the second operating speed under the dryness degree are combined to obtain a second combination.

[0095] For example, the dry state (K1) of the windshield, the second operating speed (V2) and the second cycle duration corresponding to the mechanical wiper in the (K1, V2) state are combined, the wet state (K2) of the windshield, the second operating speed (V2) and the second cycle duration corresponding to the mechanical wiper in the (K2, V2) state are combined, and the wet state (K3) of the windshield, the second operating speed (V2) and the second cycle duration corresponding to the mechanical wiper in the (K3, V2) state are combined, and the second combination can be: (K1, V2) corresponds to 1.7 seconds, (K2, V2) corresponds to 1.5 seconds and (K3, V2) corresponds to 1.2 seconds.

[0096] Finally, based on the first combination and the second combination obtained above, a preset corresponding relationship is generated.

[0097] Exemplarily, the above preset correspondence may include: (K1, V1) corresponds to 2.5 seconds, (K2, V1) corresponds to 2.2 seconds, (K3, V1) corresponds to 2 seconds, (K1, V2) corresponds to 1.7 seconds, (K2, V2) corresponds to 1.5 seconds and (K3, V2) corresponds to 1.2 seconds.

[0098] If the current dryness of the windshield is obtained to be a wet state, i.e., K2 state, and the current operating speed of the mechanical wiper is the first operating speed, i.e., V1, based on the above preset corresponding relationship, it can be determined that the target cycle time corresponding to the current dryness and the current operating speed is 2.2 seconds.

[0099] In some embodiments, the mechanical wiper may operate at other operating speeds in addition to the first operating speed and the second operating speed.

[0100] Based on this, the embodiments of the present application can control the mechanical wipers to operate at different operating speeds for each degree of dryness of the windshield, and obtain the cycle duration of the mechanical wipers when they run at different operating speeds at each degree of dryness. Then, based on each degree of dryness, each operating speed, and the cycle duration of the mechanical wipers when they run at each operating speed at each degree of dryness, multiple combinations are obtained, and based on the multiple combinations, a preset corresponding relationship is generated.

[0101] The above method selects the state parameters that have a greater impact on the cycle time of the mechanical wiper from the state parameters related to the operation of the mechanical wiper, namely, the dryness of the windshield and the operating speed of the mechanical wiper, and controls the mechanical wiper to operate under different state parameters to obtain the cycle time of the mechanical wiper when it operates under different state parameters, and finally obtains the preset corresponding relationship between the state parameter and the cycle time through combination. By generating the above preset corresponding relationship in advance, it is convenient to quickly judge the state of the mechanical wiper based on the current state parameter, thereby improving the response speed of the system.

[0102] In some embodiments, in order to improve the accuracy of the determined cycle duration of the mechanical wiper, the cycle duration may be collected multiple times, and then the average value of the multiple collected cycle durations is determined as the final cycle duration.

[0103] In one possible implementation, determining a first cycle duration corresponding to when the mechanical wiper runs at a first operating speed, and determining a second cycle duration corresponding to when the mechanical wiper runs at a second operating speed, include: when the mechanical wiper runs at the first operating speed, collecting the time required for the mechanical wiper to start from the stop position and return to the stop position for multiple times, to obtain multiple first time durations; calculating a first average time duration corresponding to multiple first time durations, and determining the first average time duration as the first cycle duration; when the mechanical wiper runs at the second operating speed, collecting the time required for the mechanical wiper to start from the stop position and return to the stop position for multiple times, to obtain multiple second time durations; calculating a second average time duration corresponding to multiple second time durations, and determining the second average time duration as the second cycle duration.

[0104] It can be understood that for each degree of dryness of the windshield, the mechanical wiper is controlled to run at a first operating speed, and the time required for the mechanical wiper to start from a stop position and return to the stop position is collected multiple times, so that multiple first time lengths can be obtained.

[0105] Similarly, for each degree of dryness of the windshield, the mechanical wiper is controlled to run at the second operating speed, and the time required for the mechanical wiper to start from the stop position and return to the stop position is collected multiple times, so as to obtain multiple second time lengths.

[0106] In some embodiments, the first duration or the second duration obtained by the above multiple collections may be the duration required for the mechanical wiper to start from the stop position and return to the stop position during the most recent operations.

[0107] Exemplarily, the number of the above multiple acquisitions can be set according to actual needs, for example, set to 5. The embodiment of the present application does not limit the number of multiple acquisitions.

[0108] It can be understood that, as mentioned above, the six states of the mechanical wiper are (K1, V1), (K2, V1), (K3, V1), (K1, V2), (K2, V2) and (K3, V2), and the cycle duration of the mechanical wiper in these six states can be collected multiple times respectively.

[0109] Exemplarily, when the dryness of the windshield is in the K1 state, the mechanical wiper is controlled to run at the first operating speed V1, and the time required for the mechanical wiper to start from the stop position and return to the stop position for the last five times is collected to obtain five first time lengths, which are: 2.5 seconds, 2.4 seconds, 2.4 seconds, 2.5 seconds and 2.5 seconds.

[0110] When the dryness of the windshield is in the K2 state, the mechanical wiper is controlled to run at the first operating speed V1. The time required for the mechanical wiper to start from the stop position and return to the stop position for the last five times is collected, and five first time lengths are obtained, which are: 2.3 seconds, 2.2 seconds, 2.3 seconds, 2.2 seconds and 2.2 seconds.

[0111] When the dryness of the windshield is in K3 state, the mechanical wiper is controlled to run at the first operating speed V1. The time required for the mechanical wiper to start from the stop position and return to the stop position for the last five times is collected, and five first time lengths are obtained, which are: 2.1 seconds, 2 seconds, 2 seconds, 2.1 seconds and 2 seconds.

[0112] Similarly, when the dryness of the windshield is in the K1 state, the mechanical wiper is controlled to run at the second operating speed V2, and the time required for the mechanical wiper to start from the stop position and return to the stop position for the last five times is collected to obtain five second time lengths, which are: 1.8 seconds, 1.9 seconds, 1.9 seconds, 1.8 seconds and 1.8 seconds.

[0113] When the dryness of the windshield is in the K2 state, the mechanical wiper is controlled to run at the second operating speed V2. The time required for the mechanical wiper to start from the stop position and return to the stop position for the last five times is collected, and five second time lengths are obtained, which are: 1.6 seconds, 1.6 seconds, 1.7 seconds, 1.6 seconds and 1.7 seconds.

[0114] When the dryness of the windshield is in the K3 state, the mechanical wiper is controlled to run at the second operating speed V2. The time required for the mechanical wiper to start from the stop position and return to the stop position for the last five times is collected, and five second time lengths are obtained, which are: 1.4 seconds, 1.5 seconds, 1.5 seconds, 1.4 seconds and 1.5 seconds.

[0115] Further, after obtaining the above-mentioned multiple first durations, the average duration corresponding to the multiple first durations can be calculated, and the average duration can be determined as the above-mentioned first cycle duration. For example, when the dryness of the windshield is in the K2 state, the mechanical wiper is controlled to run at the first running speed V1, if the five first durations collected are: 2.3 seconds, 2.2 seconds, 2.3 seconds, 2.2 seconds and 2.2 seconds, respectively, and the average duration corresponding to the multiple first durations is calculated to be 2.24 seconds, then the first cycle duration corresponding to the (K2, V1) state is determined to be 2.24 seconds.

[0116] Similarly, after obtaining the above-mentioned multiple second durations, the average duration corresponding to the multiple second durations can be calculated, and the average duration can be determined as the above-mentioned second cycle duration. For example, when the dryness of the windshield is in the K1 state, the mechanical wiper is controlled to run at the second running speed V2. If the five collected second durations are: 1.8 seconds, 1.9 seconds, 1.9 seconds, 1.8 seconds and 1.8 seconds, respectively, the average duration corresponding to the multiple second durations is calculated to be 1.84 seconds, and the second cycle duration corresponding to the (K1, V2) state is determined to be 1.84 seconds.

[0117] Furthermore, by combining the cycle duration data recorded when the wiper runs at different speeds under different dryness levels, the above-mentioned preset corresponding relationship can be obtained, which can reflect the relationship between the wiper's operating speed, the dryness of the windshield and the cycle duration of the mechanical wiper.

[0118] Exemplarily, the above preset correspondence relationship may be in the form of a table, as shown in Table 1:

[0119] Table 1

[0120]

[0121] Among them, the cycle duration of the mechanical wiper corresponding to the above-mentioned first operating speed is the first cycle duration mentioned above; the cycle duration of the mechanical wiper corresponding to the above-mentioned second operating speed is the second cycle duration mentioned above.

[0122] The above method collects the cycle duration of the mechanical wiper when it is running under the same state parameters for multiple times, and determines the average value of the multiple cycle durations collected as the final cycle duration. This can eliminate accidental errors and avoid the influence of accidental factors in a single measurement on the results, and can make the determined first cycle duration or second cycle duration more accurate.

[0123] In some embodiments, after obtaining the above Table 1, Table 1 can be E-stored in a storage module of the vehicle.

[0124] It is understandable that the E-side storage mentioned above refers to storing data in a specific manner to ensure efficient access and management of data. The E-side storage mentioned above may refer to using a specific data structure or storage mechanism to store Table 1.

[0125] Furthermore, a complete cycle of a mechanical wiper may generally include an upward process and a downward process, wherein the upward process is a process in which the mechanical wiper leaves a stop position and moves upward to a highest point, and the downward process is a process in which the mechanical wiper moves downward from a highest point and returns to a stop position.

[0126] The above cycle duration may include the duration consumed by the uplink process and the duration consumed by the downlink process, that is, the above cycle duration is the sum of the duration consumed by the uplink process and the duration consumed by the downlink process.

[0127] Furthermore, the current state of the mechanical wiper can be determined based on the cycle duration of the mechanical wiper.

[0128] In a possible implementation, judging whether the mechanical wiper is in an upward state based on the current state parameter includes judging whether the mechanical wiper is in an upward state based on the target cycle duration.

[0129] It can be understood that according to the preset corresponding relationship (such as Table 1), the target cycle time of the mechanical wiper corresponding to the current dryness level and the current operating speed is determined, and based on the target cycle time, it is determined whether the mechanical wiper is currently in the upward state.

[0130] Generally, the duration of the upward process of the mechanical wiper is close to the duration of the downward process. Therefore, it can be determined that the duration of the upward process of the mechanical wiper is approximately half of the target cycle duration.

[0131] In one possible implementation, a limit switch is provided at the above-mentioned stop position, and whether the mechanical wiper is in an upward state is determined based on the target cycle duration, including: determining that the mechanical wiper leaves the stop position each time a preset state change of the limit switch is detected; wherein the preset state change is that the limit switch switches from an open state to a closed state or the limit switch switches from an open state to a closed state; starting timing from the time point when the mechanical wiper leaves the stop position to obtain a first timing duration; and determining that the mechanical wiper is in an upward state when the first timing duration is less than half of the target cycle duration.

[0132] It is understandable that the above-mentioned stop position refers to the position where the mechanical wiper is at rest. Usually, the stop position is a fixed position of the wiper, which is located at the bottom of the windshield.

[0133] Exemplarily, a limit switch may be provided at the stop position. When the wiper arm of the mechanical wiper reaches the stop position, the limit switch is activated or touched, causing the state of the limit switch to change.

[0134] Further, the limit switch may be a normally open switch (ie, a switch whose default state is an open state) or a normally closed switch (ie, a switch whose default state is a closed state).

[0135] If the limit switch is a normally open switch, when the wiper arm of the mechanical wiper reaches the stop position, the limit switch will be triggered, causing the limit switch to switch from the default open state to the closed state; when the mechanical wiper leaves the stop position, the limit switch will be reset, that is, switched from the closed state to the default open state. In other words, when the limit switch is a normally open switch, the above-mentioned preset state changes from the closed state to the open state.

[0136] Similarly, if the limit switch is a normally closed switch, when the wiper arm of the mechanical wiper reaches the stop position, it will trigger the limit switch, causing the limit switch to switch from the default closed state to the open state; when the mechanical wiper leaves the stop position, it will cause the limit switch to reset, that is, switch from the open state to the default closed state. In other words, when the limit switch is a normally closed switch, the above-mentioned preset state changes from the open state to the closed state.

[0137] Each time the body controller detects a preset state change in the limit switch, it can determine that the mechanical wiper has left the stop position, and then can start timing from the time point when the mechanical wiper leaves the stop position.

[0138] The specific process of starting the timing from the time when the mechanical wiper leaves the stop position may be: starting the timing from the time when the mechanical wiper leaves the stop position, stopping the timing when the mechanical wiper returns to the stop position again, and clearing the timing duration. Then, starting the timing again when the mechanical wiper leaves the stop position again, and stopping the timing when the mechanical wiper returns to the stop position again, and repeating the above process.

[0139] Further, as mentioned above, the duration of the upward process of the mechanical wiper can be approximately determined as half of the target cycle time. For example, if the target cycle time is determined to be 2.46 seconds, the duration of the upward process of the mechanical wiper can be approximately determined as 1.23 seconds. In other words, the duration of the mechanical wiper starting from the stop position to the highest point is approximately 1.23 seconds.

[0140] Exemplarily, timing is started from the time point when the mechanical wiper leaves the stop position to obtain a first timing duration. If the first timing duration is 1 second, it means that the mechanical wiper has run for 1 second, and 1 second is less than 1.23 seconds, which means that the mechanical wiper has not yet run to the highest point position, then it can be determined that the mechanical wiper is in the upward state.

[0141] The above method can accurately determine whether the wiper has left the stop position by detecting the state change of the limit switch. The state change of the limit switch provides a reliable detection signal and reduces the possibility of misjudgment. Once the preset state change of the limit switch is detected, the timing starts immediately. When the timing duration is less than half of the target cycle duration, it is determined that the mechanical wiper is in the upward state. Even if the position sensor is not set inside the mechanical wiper, the position of the mechanical wiper can be determined by detecting the state change of the limit switch, which reduces the manufacturing cost without affecting the user experience.

[0142] As for the above S103, it can be understood that, since the cleaning liquid can better cover the upper area of ​​the windshield when the mechanical wiper is in the upward state, and the spraying effect when the mechanical wiper is in the upward state is better than the spraying effect when the mechanical wiper is in the downward state, based on this, the spraying assembly of the vehicle can be controlled to spray the cleaning liquid to the windshield when the mechanical wiper is in the upward state.

[0143] The above-mentioned spray assembly specifically refers to a system or device responsible for spraying cleaning fluid onto the windshield.

[0144] Exemplarily, the spray assembly may include a liquid storage tank, a spray pump, a nozzle, a control device, and a pipeline. The liquid storage tank is used to store cleaning liquid; the spray pump is used to extract the cleaning liquid from the liquid storage tank and pressurize it to the nozzle; the nozzle is used to spray the cleaning liquid evenly on the windshield; the control device is used to control the start and stop of the spray pump; and the pipeline is used to connect the liquid storage tank, the spray pump, and the nozzle.

[0145] The above-mentioned process of controlling the spray assembly to spray cleaning fluid onto the windshield can be: after the control device receives the start signal of the spray function, it controls the spray pump to start, the spray pump starts to extract the cleaning fluid from the storage tank, and pressurizes the cleaning fluid and transports it to the nozzle through a pipe, and sprays the spray liquid onto the windshield through the nozzle.

[0146] In some embodiments, the nozzle in the spray assembly can be installed at the bottom of the windshield, can be integrated on the wiper arm of the mechanical wiper, and can also be integrated on the wiper blade of the mechanical wiper. The embodiment of the present application does not limit the installation position of the nozzle.

[0147] In one possible case, the nozzle may be integrated in the wiper blade of the mechanical wiper in the form of a water outlet hole, which may spray cleaning fluid onto the windshield when the mechanical wiper is running, and evenly distribute the cleaning fluid on the windshield.

[0148] The above method, when it is determined that the mechanical wiper is in the upward state, controls the spray assembly of the vehicle to spray the cleaning liquid to the windshield, so that the spraying can be performed when the mechanical wiper is in the appropriate position, thereby ensuring that the cleaning liquid is evenly distributed when the wiper passes by, and improving the spraying effect. In addition, spraying when the mechanical wiper is in the upward state can avoid dry scraping of the mechanical wiper without liquid lubrication, reduce the friction between the wiper blade and the windshield, extend the service life of the wiper blade, reduce the replacement frequency of the wiper, and reduce the maintenance cost of the wiper.

[0149] In one possible implementation, after obtaining the current state parameters related to the operation of the mechanical wiper, the method further includes: judging whether the mechanical wiper is in a downward state based on the current state parameters; and when it is determined that the mechanical wiper is in a downward state, controlling the spray assembly to stop spraying cleaning fluid onto the windshield.

[0150] It is understandable that the above downward state generally refers to the process in which the wiper arm moves downward from the top to the bottom of the windshield. If the wiper arm of the mechanical wiper is in the process of moving downward from the top to the bottom of the windshield, it is determined that the mechanical wiper is in the downward state.

[0151] In addition to determining whether the mechanical wiper is in an upward state based on the current state parameters, it is also possible to determine whether the mechanical wiper is in a downward state based on the current state parameters.

[0152] In some embodiments, the above-mentioned current state parameters may include current or voltage parameters of the wiper motor. When it is detected that the current or voltage of the wiper motor is gradually decreasing, it can be determined that the mechanical wiper is in a downward state.

[0153] It is understandable that, since a DC wiper motor is usually used to drive the wiper arm in a mechanical wiper system, the current of the wiper motor will change with the load during the movement of the wiper arm. When the mechanical wiper is in the downward state, the wiper arm swings downward, and due to the effect of gravity, the motor load is reduced, and the current will decrease. Therefore, when the mechanical wiper is in the downward state, the current of the wiper motor is gradually decreasing.

[0154] Similarly, when the mechanical wiper is in the downward state, the wiper arm swings downward and the voltage of the wiper motor gradually decreases.

[0155] For example, when the mechanical wiper starts to move, the current or voltage of the wiper motor corresponding to any two adjacent time points can be obtained, and the change trend of the current or voltage of the wiper motor corresponding to the two adjacent time points can be analyzed. When it is determined that the current or voltage has a downward trend, it is determined that the mechanical wiper is in a downward state.

[0156] As in the previous article, the current state of the mechanical wiper can also be judged based on the cycle length of the mechanical wiper.

[0157] In a possible implementation, judging whether the mechanical wiper is in a downward state based on the current state parameter includes judging whether the mechanical wiper is in a downward state based on the target cycle duration.

[0158] It can be understood that according to the preset corresponding relationship (such as Table 1), the target cycle time of the mechanical wiper corresponding to the current dryness level and the current operating speed is determined, and based on the target cycle time, it is determined whether the mechanical wiper is currently in a downward state.

[0159] Generally, the time spent on the upward process of the mechanical wiper is close to the time spent on the downward process. Therefore, it can be determined that the time spent on the downward process of the mechanical wiper is also approximately half of the target cycle time.

[0160] In one possible implementation, a limit switch is provided at the stop position, and whether the mechanical wiper is in a downward state is determined based on the target cycle duration, including: determining that the mechanical wiper leaves the stop position each time a preset state change of the limit switch is detected; wherein the preset state change is that the limit switch switches from an open state to a closed state or the limit switch switches from an open state to a closed state; starting timing from the time point when the mechanical wiper leaves the stop position to obtain a second timing duration; when the second timing duration is greater than half of the target cycle duration and less than the target cycle duration, determining that the mechanical wiper is in a downward state.

[0161] It is understandable that, similar to the above, a limit switch can be set at the above-mentioned stop position. When the wiper arm of the mechanical wiper reaches the stop position, it will activate or touch the limit switch, causing the state of the limit switch to change.

[0162] Each time the body controller detects a preset state change in the limit switch, it can determine that the mechanical wiper has left the stop position, and then can start timing from the time point when the mechanical wiper leaves the stop position.

[0163] Furthermore, the duration of the upward process of the mechanical wiper can be approximately determined as half of the target cycle time, and the duration of the downward process of the mechanical wiper can also be approximately determined as half of the target cycle time. For example, if the target cycle time is determined to be 2.46 seconds, the duration of the upward process of the mechanical wiper can be approximately determined as 1.23 seconds, and the duration of the downward process can also be approximately determined as 1.23 seconds.

[0164] If the timing is started from the time when the mechanical wiper leaves the stop position, the time taken for the mechanical wiper to reach the highest point is 1.23 seconds. When the second timing duration obtained by timing is equal to 1.23 seconds, the mechanical wiper just reaches the highest point.

[0165] If the second timing duration is greater than 1.23 seconds, it means that the mechanical wiper has begun to move downward from the highest point, that is, the mechanical wiper is in a downward state.

[0166] If the second timing duration is equal to 2.46 seconds, it means that the mechanical wiper has completed a cycle and returned to the stop position.

[0167] That is to say, when the second timing duration is greater than 1.23 seconds and less than 2.46 seconds, the mechanical wiper is moving downward from the highest point, that is, the mechanical wiper is in a downward state.

[0168] Exemplarily, timing is started from the time point when the mechanical wiper leaves the stop position to obtain a second timing duration. If the second timing duration is 1 second, it means that the mechanical wiper has run for 1 second, and 1 second is less than 1.23 seconds, which means that the mechanical wiper has not yet run to the highest point position, then it can be determined that the mechanical wiper is in the upward state.

[0169] If the second timing duration is 1.23 seconds, it means that the mechanical wiper has been running for 1.23 seconds and has just run to the highest point.

[0170] If the second timing duration is 2 seconds, it means that the mechanical wiper has been running for 2 seconds, and 2 seconds is greater than 1.23 seconds and less than 2.46 seconds, which means that the mechanical wiper has started to move downward from the highest point, and it can be determined that the mechanical wiper is in a downward state.

[0171] The above method can accurately determine whether the wiper has left the stop position by detecting the state change of the limit switch. The state change of the limit switch provides a reliable detection signal and reduces the possibility of misjudgment. Once the preset state change of the limit switch is detected, the timing starts immediately. When the timing time is greater than half of the target cycle time and less than the target cycle time, it is determined that the mechanical wiper is in the downward state. Even if the position sensor is not set inside the mechanical wiper, the position of the mechanical wiper can be determined by detecting the state change of the limit switch, which reduces the manufacturing cost without affecting the user experience.

[0172] Furthermore, when it is determined that the mechanical wiper is in a downward state, the spray assembly can be controlled to stop spraying cleaning liquid to the windshield, and the mechanical wiper can be controlled to perform a wiping operation.

[0173] It is understandable that when the mechanical wiper is in the upward state, the spray assembly is controlled to spray cleaning liquid onto the windshield. Since the cleaning liquid will be taken away by the wiper blades during the upward movement of the mechanical wiper, interference with the driver's vision can be reduced. When the mechanical wiper is in the downward state, the spray assembly can no longer be controlled to spray cleaning liquid onto the windshield. Instead, the mechanical wiper is controlled to wipe and remove the cleaning liquid in time, which can avoid liquid residue affecting the driver's vision.

[0174] The above method stops spraying when the mechanical wiper is in the downward state, which can ensure that the cleaning liquid sprayed when the wiper is in the upward state is effectively wiped off when the wiper is in the downward state, thereby improving the cleaning efficiency and ensuring that each spray can be fully utilized. Stopping spraying when the mechanical wiper is in the downward state can prevent the waste of excess cleaning liquid due to failure to be wiped off in time, and can also prevent excessive cleaning liquid from remaining on the windshield, thereby reducing the obstruction of vision.

[0175] Figure 2 It is a schematic flow chart of another vehicle control method provided in an embodiment of the present application.

[0176] For example, Figure 2 As shown, the method 200 includes:

[0177] S201, when it is determined that the spray function of the windshield of the vehicle is in the on state, obtaining the current dryness of the windshield and the current operating speed of the mechanical wiper.

[0178] It can be understood that, as mentioned above, the above-mentioned spray function refers to the water spray function in the vehicle's wiper system, that is, spraying cleaning fluid onto the windshield through a nozzle, so as to cooperate with the wiper to remove rain, dirt or other contaminants on the windshield, ensuring a clear field of vision for the driver.

[0179] The current dryness of the windshield and the current operating speed of the mechanical wiper can be acquired based on sensors in the vehicle.

[0180] S202: Determine a target cycle duration corresponding to the current dryness of the windshield and the current operating speed of the mechanical wiper based on a preset corresponding relationship.

[0181] It can be understood that the above preset corresponding relationship is the corresponding relationship between the dryness of the windshield and the operating speed of the mechanical wiper and the cycle duration of the mechanical wiper, for example, it can be Table 1 in the above text.

[0182] The target cycle time is the time it takes for the mechanical wiper to start from the stop position and return to the stop position.

[0183] S203, each time when it is detected that the limit switch has a preset state change, determining that the mechanical wiper leaves the stop position, and starting timing from the time point when the mechanical wiper leaves the stop position to obtain the timing duration.

[0184] It can be understood that the above-mentioned preset state change is the limit switch switching from the open state to the closed state or the limit switch switching from the open state to the closed state. The timing starts from the time point when the mechanical wiper leaves the stop position, and the timing is stopped when the mechanical wiper returns to the stop position again, and the timing duration is reset to zero. Then, the timing is restarted when the mechanical wiper leaves the stop position again, and the timing is stopped and the timing duration is reset to zero when the mechanical wiper returns to the stop position again, and the above timing process is repeated.

[0185] S204: Determine the current state of the mechanical wiper based on the timing duration.

[0186] It can be understood that the current state of the above-mentioned mechanical wiper may include an upward state and a downward state.

[0187] S205: When the timing duration is less than half of the target cycle duration, determine that the mechanical wiper is in an upward state.

[0188] It can be understood that the time spent in the upward process of the mechanical wiper can be approximated to half of the target cycle time. When the timing time is less than half of the target cycle time, it means that the mechanical wiper has not yet reached the highest point, that is, it is determined that the mechanical wiper is in the upward state.

[0189] S206, when it is determined that the mechanical wiper is in the upward state, controlling the spray assembly of the vehicle to spray cleaning liquid onto the windshield.

[0190] It can be understood that when the mechanical wiper is in the upward state, controlling the vehicle's spray assembly to spray cleaning fluid onto the windshield can allow the cleaning fluid to be carried away by the wiper blades during the upward process of the mechanical wiper, thereby reducing interference with the driver's vision.

[0191] S207: When the timing duration is greater than half of the target cycle duration and less than the target cycle duration, determine that the mechanical wiper is in a downward state.

[0192] It can be understood that the time spent in the downward process of the mechanical wiper can also be approximated to half of the target cycle time. When the timing time is greater than half of the target cycle time and less than the target cycle time, it means that the mechanical wiper has begun to move downward from the highest point, that is, it is determined that the mechanical wiper is in a downward state.

[0193] S208, when it is determined that the mechanical wiper is in a downward state, controlling the spray assembly to stop spraying cleaning liquid onto the windshield.

[0194] It is understandable that when the mechanical wiper is in the downward state, the spray assembly is no longer controlled to spray cleaning liquid onto the windshield. Instead, the mechanical wiper is controlled to scrape and remove the cleaning liquid in time, thereby avoiding liquid residue affecting the driver's vision.

[0195] In the embodiment of the present application, the target cycle duration is determined according to the state parameters strongly related to the operation time of the wiper, namely, the dryness of the windshield and the operation speed of the wiper, so that the current state of the wiper can be judged more accurately. By detecting the state change of the limit switch, it is possible to accurately judge whether the wiper has left the stop position. The state change of the limit switch provides a reliable detection signal, reducing the possibility of misjudgment. Once the preset state change of the limit switch is detected, the timing is immediately started, and the current state of the mechanical wiper is determined according to the size relationship between the timing duration and the target cycle duration. Even if the position sensor is not set inside the mechanical wiper, the position judgment of the mechanical wiper can be realized by detecting the state change of the limit switch, which can reduce the manufacturing cost without affecting the user's experience. When it is determined that the mechanical wiper is in the upward state, the spray assembly of the vehicle is controlled to spray the cleaning liquid to the windshield, so that the mechanical wiper can be sprayed when it is in the appropriate position, thereby ensuring that the cleaning liquid is evenly distributed when the wiper passes, and improving the spraying effect. Stopping the spraying when the mechanical wiper is in the downward state can ensure that the cleaning liquid sprayed when the wiper is in the upward state is effectively wiped off when it is in the downward state, thereby improving the cleaning efficiency and ensuring that each spray can be fully utilized. Stopping the spraying when the mechanical wiper is in the downward state can prevent the waste of excess cleaning liquid due to failure to be wiped off in time, and can also prevent excessive cleaning liquid from remaining on the windshield, thereby reducing the obstruction of vision.

[0196] Figure 3 It is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application.

[0197] For example, Figure 3 As shown, the device 300 includes:

[0198] The acquisition module 301 is used to acquire current state parameters related to the operation of the mechanical wiper when it is determined that the spray function of the windshield of the vehicle is in the on state.

[0199] The judgment module 302 is used to judge whether the mechanical wiper is in an upward state based on the current state parameter.

[0200] The control module 303 is used to control the spray assembly of the vehicle to spray cleaning liquid onto the windshield when it is determined that the mechanical wiper is in the upward state.

[0201] Optionally, the device also includes a second control module, which is specifically used to: determine whether the mechanical wiper is in a downward state based on the current state parameter; when it is determined that the mechanical wiper is in a downward state, control the spray assembly to stop spraying cleaning fluid onto the windshield.

[0202] Optionally, the device also includes a determination module, which is specifically used to: determine a target cycle duration corresponding to the current state parameter based on a preset corresponding relationship; wherein the preset corresponding relationship is a correspondence between a state parameter related to the operation of the mechanical wiper and the cycle duration of the mechanical wiper; the target cycle duration is the time taken for the mechanical wiper to start from the stop position and return to the stop position again; the stop position is the position of the mechanical wiper when it is in a stop state.

[0203] In a possible implementation, the judgment module is specifically used to: judge whether the mechanical wiper is in an upward state based on the target cycle duration.

[0204] In a possible implementation, the second control module includes a judgment unit, which is specifically used to: judge whether the mechanical wiper is in a downward state based on the target cycle duration.

[0205] In one possible implementation, a limit switch is provided at the stop position, and the judgment module is further specifically used for: determining that the mechanical wiper leaves the stop position each time a preset state change of the limit switch is detected; wherein the preset state change is that the limit switch switches from an open state to a closed state or the limit switch switches from an open state to a closed state; starting timing from the time point when the mechanical wiper leaves the stop position to obtain a first timing duration; and determining that the mechanical wiper is in an upward state when the first timing duration is less than half of the target cycle duration.

[0206] In one possible implementation, a limit switch is provided at the stop position, and the judgment unit is further specifically used for: determining that the mechanical wiper leaves the stop position each time a preset state change of the limit switch is detected; wherein the preset state change is that the limit switch switches from an open state to a closed state or the limit switch switches from an open state to a closed state; starting timing from the time point when the mechanical wiper leaves the stop position to obtain a second timing duration; and determining that the mechanical wiper is in a downward state when the second timing duration is greater than half of the target cycle duration and less than the target cycle duration.

[0207] Optionally, the above-mentioned state parameters related to the operation of the mechanical wiper include the dryness of the windshield and the operating speed of the mechanical wiper. The device also includes a generation module, which is specifically used to: under multiple different dryness degrees of the windshield, respectively determine the first cycle duration corresponding to when the mechanical wiper runs at a first operating speed, and determine the second cycle duration corresponding to when the mechanical wiper runs at a second operating speed; wherein the first operating speed is less than the second operating speed; for each of the multiple different dryness degrees, combine the dryness degree, the first operating speed and the first cycle duration corresponding to when the mechanical wiper runs at the first operating speed under the dryness degree to obtain a first combination; for each of the multiple different dryness degrees, combine the dryness degree, the second operating speed and the second cycle duration corresponding to when the mechanical wiper runs at the second operating speed under the dryness degree to obtain a second combination; based on the first combination and the second combination, generate the preset corresponding relationship.

[0208] In one possible implementation, the generation module includes a determination unit, which is specifically used to: when the mechanical wiper runs at a first operating speed, collect the time required for the mechanical wiper to start from the stop position and return to the stop position for multiple times to obtain multiple first time lengths; calculate the first average time lengths corresponding to the multiple first time lengths, and determine the first average time length as the first cycle time length; when the mechanical wiper runs at a second operating speed, collect the time required for the mechanical wiper to start from the stop position and return to the stop position for multiple times to obtain multiple second time lengths; calculate the second average time lengths corresponding to the multiple second time lengths, and determine the second average time length as the second cycle time length.

[0209] Figure 4 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0210] For example, Figure 4As shown, the vehicle 400 includes: a memory 401 and a processor 402, wherein the memory 401 stores an executable program code 4011, and the processor 402 is used to call and execute the executable program code 4011 to perform a vehicle control method.

[0211] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a vehicle control method provided by an embodiment of the present application.

[0212] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0213] In the case of dividing each functional module according to each function, the device may also include an acquisition module, a judgment module, a control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0214] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle control method, and thus can achieve the same effect as the above-mentioned implementation method.

[0215] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes and data.

[0216] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0217] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle control method provided in the above embodiments.

[0218] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a vehicle control method provided by the above embodiment.

[0219] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle control method provided by the above-mentioned embodiment.

[0220] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0221] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0222] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0223] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A vehicle control method, characterized in that: The method comprises: When it is determined that the spray function of the windshield of the vehicle is in the on state, obtaining current state parameters related to the operation of the mechanical wiper; Based on the current state parameter, determining whether the mechanical wiper is in an upward state; When it is determined that the mechanical wiper is in an upward state, a spray assembly of the vehicle is controlled to spray cleaning fluid onto the windshield.

2. The method according to claim 1, characterized in that After acquiring the current state parameters related to the operation of the mechanical wiper, the method further includes: Based on the current state parameter, determining whether the mechanical wiper is in a downward state; When it is determined that the mechanical wiper is in a downward state, the spray assembly is controlled to stop spraying cleaning fluid onto the windshield.

3. The method according to claim 2, characterized in that After acquiring the current state parameters related to the operation of the mechanical wiper, the method further includes: Based on a preset corresponding relationship, a target cycle duration corresponding to the current state parameter is determined; wherein the preset corresponding relationship is a corresponding relationship between the state parameter related to the operation of the mechanical wiper and the cycle duration of the mechanical wiper; the cycle duration is the time taken for the mechanical wiper to start from the stop position and return to the stop position again; the stop position is the position of the mechanical wiper when it is in the stop state; The determining, based on the current state parameter, whether the mechanical wiper is in an upward state includes: Based on the target cycle time, determining whether the mechanical wiper is in an upward state; The determining, based on the current state parameter, whether the mechanical wiper is in a downward state includes: Based on the target cycle time, it is determined whether the mechanical wiper is in a downward state.

4. The method according to claim 3, characterized in that A limit switch is provided at the stop position, and judging whether the mechanical wiper is in an upward state based on the target cycle time includes: Each time when a preset state change of the limit switch is detected, determining that the mechanical wiper leaves the stop position; wherein the preset state change is the limit switch switching from an open state to a closed state or the limit switch switching from an open state to a closed state; Starting timing from the time point when the mechanical wiper leaves the stop position to obtain a first timing duration; When the first timing duration is less than half of the target cycle duration, it is determined that the mechanical wiper is in an upward state.

5. The method according to claim 3, characterized in that: A limit switch is provided at the stop position, and judging whether the mechanical wiper is in a downward state based on the target cycle time includes: Each time when a preset state change of the limit switch is detected, determining that the mechanical wiper leaves the stop position; wherein the preset state change is the limit switch switching from an open state to a closed state or the limit switch switching from an open state to a closed state; Starting timing from the time point when the mechanical wiper leaves the stop position to obtain a second timing duration; When the second timing duration is greater than half of the target cycle duration and less than the target cycle duration, it is determined that the mechanical wiper is in a downward state.

6. The method according to claim 3, characterized in that The state parameters related to the operation of the mechanical wiper include the dryness of the windshield and the operating speed of the mechanical wiper. The preset corresponding relationship is generated in the following manner: Under various degrees of dryness of the windshield, respectively determining a first cycle duration corresponding to when the mechanical wiper operates at a first operating speed, and determining a second cycle duration corresponding to when the mechanical wiper operates at a second operating speed; wherein the first operating speed is less than the second operating speed; For each of the multiple different dryness degrees, the dryness degree, the first operating speed, and a first cycle duration corresponding to the mechanical wiper operating at the first operating speed under the dryness degree are combined to obtain a first combination; For each of the multiple different dryness degrees, the dryness degree, the second operating speed, and a second cycle duration corresponding to the mechanical wiper operating at the second operating speed under the dryness degree are combined to obtain a second combination; The preset corresponding relationship is generated based on the first combination and the second combination.

7. The method according to claim 6, characterized in that The determining of a first cycle duration corresponding to when the mechanical wiper operates at a first operating speed, and determining a second cycle duration corresponding to when the mechanical wiper operates at a second operating speed, comprises: When the mechanical wiper runs at a first running speed, the time required for the mechanical wiper to start from the stop position and return to the stop position is collected multiple times to obtain multiple first time lengths; Calculate a first average duration corresponding to a plurality of the first durations, and determine the first average duration as the first cycle duration; When the mechanical wiper runs at a second running speed, the time required for the mechanical wiper to start from the stop position and return to the stop position is collected multiple times to obtain multiple second time lengths; Calculate a second average duration corresponding to multiple second durations, and determine the second average duration as the second cycle duration.

8. A vehicle control device, characterized in that: The device comprises: An acquisition module, for acquiring current state parameters related to the operation of the mechanical wiper when it is determined that the spray function of the windshield of the vehicle is in an on state; A judging module, configured to judge whether the mechanical wiper is in an upward state based on the current state parameter; The control module is used to control the spray assembly of the vehicle to spray cleaning liquid onto the windshield when it is determined that the mechanical wiper is in an upward state.

9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.