Windscreen wiper control method and device, vehicle and storage medium
By detecting when the wiper exits maintenance mode, controlling the motor to drive the wiper to the target position and obtaining the peak current, the installation status of the wiper blade is determined. This solves the problem of glass damage caused by the wiper blade automatically returning to its original position when it has not been replaced, and achieves safe wiper control.
Patent Information
- Application Number
- CN202511611493.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-05
- Publication Date
- 2026-02-13
AI Technical Summary
In existing technology, if the wiper blades are not automatically replaced and returned to their original position when the maintenance mode is exited, it can easily cause damage to the windshield, resulting in property damage or personal injury.
After the wiper exits maintenance mode, the system controls the motor to drive the wiper to the target position and obtains the peak current of the motor. Based on the current value, it determines whether the wiper blade is installed. If it is not installed, the motor drive is stopped to prevent the wiper from contacting the windshield.
Ensure that the windshield wipers safely move to the stop position when exiting service mode to prevent damage to the windshield and avoid property damage or personal injury.
Smart Images

Figure CN121515917A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, in particular to a wiper control method and device, a vehicle and a storage medium. BACKGROUND
[0002] When repairing the wiper, the wiper needs to be lifted to a certain angle to facilitate the replacement of the wiper blade by the maintenance personnel. However, when the wiper exits the wiper repair mode, the wiper will automatically return to the original position. If the wiper does not return to the original position, it will easily block the line of sight. When the maintenance personnel misoperate the wiper repair mode, the wiper will automatically return to the original position without replacing the wiper blade. Since the wiper arm is a metal device, it is easy to damage the front windshield during the automatic return process, causing property loss or personal injury. SUMMARY
[0003] Therefore, the embodiments of the present application aim to provide a wiper control method and device, a vehicle and a storage medium. The replacement of the wiper blade on the wiper arm is intelligently detected to ensure the normal opening and closing of the wiper repair mode, prevent the wiper from damaging the front windshield when the wiper repair mode is exited, and avoid property loss or personal injury.
[0004] To achieve the above technical purposes, the embodiments of the present application provide the following technical solutions. In a first aspect, the present application provides a wiper control method, which comprises: detecting the wiper after it exits the repair mode, controlling the motor to drive the wiper to move from the repair position to the target position, and obtaining the target current of the motor, the target position being the stop position of the wiper, and the target current being the peak current of the motor; determining whether the wiper blade is installed based on the target current; and if it is detected that the wiper blade is not installed, controlling the motor to stop driving the wiper.
[0005] In the present embodiment, the replacement of the wiper blade on the wiper arm is intelligently detected, and the wiper is controlled to stop moving when it is detected that the wiper blade is not installed. This can ensure that the wiper can safely move to the stop position when the wiper repair mode is exited, prevent the wiper from damaging the front windshield when the wiper repair mode is exited, and avoid property loss or personal injury.
[0006] Optionally, the obtaining of the target current of the motor comprises: collecting the current data of the motor within a first time after the wiper starts moving; and obtaining the target current based on the current data.
[0007] In the embodiment, the target current refers to a peak current of the motor, and the target current of the motor can be accurately obtained based on the collected current data when the wiper is detected to exit the maintenance mode and to start moving to the target position, and then whether the blade of the wiper is installed can be accurately determined according to the target current.
[0008] Optionally, the obtaining of the target current based on the current data comprises: sorting the current data from large to small, and selecting A current values in the front, where A is a positive integer greater than 1; and obtaining the target current according to the A current values based on a difference between a first current value and a second current value, where the first current value is a current value in the first place and the second current value is a current value in the second place.
[0009] In the embodiment, the target current is obtained by selecting A current values in the front and selecting part of the current values based on a difference between the largest first current value and the adjacent second current value, so that the target current can be accurately obtained, and then whether the wiper is installed with the blade can be accurately determined.
[0010] Optionally, the obtaining of the target current according to the A current values based on a difference between a first current value and a second current value comprises: if the first current value is greater than or equal to a product of a first coefficient and the second current value, calculating an average of other current values in the A current values except the first current value to obtain the target current; and if the first current value is less than the product of the first coefficient and the second current value, calculating an average of the A-1 current values with the largest values in the A current values to obtain the target current.
[0011] In the embodiment, whether the first current value belongs to the actual current of the motor is determined by comparing the difference between the largest first current value and the second largest second current value, and the average of the A-1 current values with the largest values belonging to the actual current of the motor is taken as the target current, so that the target current of the motor can be accurately obtained, and then whether the wiper is installed with the blade can be accurately determined.
[0012] Optionally, the determining of whether the blade of the wiper is installed based on the target current comprises: obtaining an environmental condition of the wiper, and determining a reference current corresponding to the environmental condition; and determining whether the blade of the wiper is installed based on the target current and the reference current.
[0013] In the embodiment, the wiper blade installation state is determined by obtaining the environment condition of the wiper, obtaining the reference current under the calibrated environment condition, and determining whether the wiper blade is installed based on the target current and the reference current, so that the wiper blade installation state can be determined accurately, and the wiper movement can be controlled according to the determination result to prevent the windshield from being damaged, and avoid property loss or personal injury.
[0014] Optionally, the determining whether the wiper blade is installed based on the target current and the reference current comprises: if the target current is less than a product of a second coefficient and the reference current, determining that the wiper blade is not installed; and if the target current is greater than or equal to the product of the second coefficient and the reference current, determining that the wiper blade is installed.
[0015] In the embodiment, the wiper blade installation state is determined by obtaining the environment condition of the wiper, obtaining the reference current under the calibrated environment condition, and determining whether the wiper blade is installed based on the target current and the reference current, so that the wiper blade installation state can be determined accurately, and the wiper movement can be controlled according to the determination result to prevent the windshield from being damaged, and avoid property loss or personal injury.
[0016] Optionally, the method further comprises: if it is detected that the power supply of the wiper is in an off state, and the washing button is pressed for a second time, determining whether the wiper is located at the target position; if the wiper is located at the target position, controlling the motor to drive the wiper to move away from the target position and reach a maintenance position after moving for a third time; and if the wiper is not located at the target position, controlling the motor to drive the wiper to move to the target position, then drive the wiper to move away from the target position, and reach the maintenance position after moving for the third time.
[0017] In the embodiment, the wiper is controlled to move to the maintenance position only when it is determined that the wiper is located at the target position, so that the wiper can be controlled to reach the maintenance position accurately, and the wiper can move to the target position accurately when the wiper exits the maintenance mode, the wiper blade installation state can be detected before the wiper moves to the target position, and the wiper can be controlled to stop moving before the wiper reaches the target position if it is detected that the wiper blade is not installed, so that the windshield can be prevented from being damaged when the wiper exits the maintenance mode, and property loss or personal injury can be avoided.
[0018] In a second aspect, the embodiments of the present application further provide a wiper control device, the device comprising: a current acquisition module configured to detect, after the wiper exits the maintenance mode, control the motor to drive the wiper to move from the maintenance position to the target position, and acquire a target current of the motor, the target current being a peak current of the motor; a blade detection module configured to determine, based on the target current, whether the wiper blade is installed; and a drive control module configured to control the motor to stop driving the wiper if it is detected that the wiper blade is not installed.
[0019] In a third aspect, the embodiments of the present application further provide a vehicle, comprising: a memory configured to store an executable computer program; and a processor configured to call and run the executable computer program from the memory, so that the processor executes the method described above.
[0020] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, the computer readable storage medium storing a computer program, when the computer program is executed, the method described above is implemented.
[0021] As can be seen from the above technical solutions, the wiper control method provided by the embodiments of the present application detects, after the wiper exits the maintenance mode, controls the motor to drive the wiper to move from the maintenance position to the target position, and acquires a target current of the motor, the target current being a peak current of the motor; determines, based on the target current, whether the wiper blade is installed; and controls the motor to stop driving the wiper if it is detected that the wiper blade is not installed; intelligently detects whether the wiper blade is replaced on the wiper arm, and controls the wiper to stop moving when it is detected that the wiper blade is not installed, which can ensure the normal opening and closing of the wiper maintenance mode, prevent the windshield from being damaged when the wiper maintenance mode exits, and avoid property loss or personal injury.
[0022] The above description is only a summary of the technical solutions of the present disclosure. In order to enable a clearer understanding of the technical means of the present disclosure, the specific embodiments of the present disclosure can be implemented in accordance with the content of the description, and in order to enable the above and other purposes, features and advantages of the present disclosure to be more apparent and easy to understand, the following specific embodiments of the present disclosure are described. BRIEF DESCRIPTION OF DRAWINGS
[0023] Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The accompanying drawings are included to provide a better understanding of the preferred embodiments, and are not to be considered as limitations on the present disclosure. Moreover, throughout the drawings, like reference numerals refer to like parts.
[0024] Figure 1 The flowchart of the wiper control method provided by the embodiments of the present application is shown.
[0025] Figure 2 Fig. 6 shows a current curve diagram of a motor provided by an embodiment of the present application.
[0026] Figure 3 Fig. 7 shows a structural diagram of a wiper control device provided by an embodiment of the present application.
[0027] Figure 4 Fig. 8 shows a structural diagram of a vehicle provided by an embodiment of the present application. DETAILED DESCRIPTION
[0028] Unless otherwise defined, technical terms or scientific terms used in the embodiments of the present application shall have the ordinary meanings understood by one of ordinary skill in the art to which the embodiments of the present application pertain. The terms "first", "second", and the like used in the embodiments of the present application do not denote any order, quantity, or importance, but are merely used to avoid confusion with constituents.
[0029] Unless otherwise required by context, "plurality" in the specification means "at least two", and "comprising" is to be interpreted as "including but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiment", "example", "specific example" or "some examples" are intended to indicate that the feature(s) described in connection with the embodiment or example is included in at least one embodiment or example of the present specification. The appearance of such terms in various places in the specification does not necessarily refer to the same embodiment or example.
[0030] Exemplary embodiments of the present disclosure will be described in greater detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure can be more thoroughly understood, and the scope of the present disclosure can be accurately conveyed to those skilled in the art.
[0031] In the related art, the purpose of setting the wiper maintenance mode is to raise the wiper to a certain angle when maintaining the wiper, so as to facilitate the maintenance personnel to replace the wiper blade. However, when the wiper exits the wiper maintenance mode, the wiper will automatically return to the original position, and if it does not return to the original position, it will easily block the line of sight. When the maintenance personnel misoperates the wiper maintenance mode, the wiper will automatically return to the original position without replacing the wiper blade, and at this time, since the wiper arm is a metal device, it is easy to damage the front windshield during the automatic return process, causing property loss or personal injury.
[0032] Therefore, in order to solve the technical problem that the wiper automatically returns to the original position without replacing the wiper blade in the related art, causing the front windshield to be damaged, the present application provides a wiper control method, as shown in Figure 1 Figure 1 This is a schematic flowchart illustrating a windshield wiper control method provided in an embodiment of this application. The windshield wiper control method is applied to a vehicle controller and includes: Step S11: After detecting that the wiper has exited the maintenance mode, control the motor to drive the wiper to move from the maintenance position to the target position, and obtain the target current of the motor, which is the peak current of the motor.
[0033] Previously, there was a function to control the wipers to enter maintenance mode, meaning the wipers were currently in maintenance mode. When the wiper power is detected to change from the OFF state to the ON state, it indicates that the wipers have exited maintenance mode. After the wipers exit maintenance mode, it is necessary to first control the wiper movement to the target position, i.e., the wiper stop position, before it is easy to control the wipers to work normally afterwards.
[0034] After the wipers exit maintenance mode, when the control motor drives the wipers to start moving towards the target position, the change in the motor current I is as follows: Figure 2 As shown, the current I experiences a rapid rise to a peak current Iinrush, then gradually decreases to a stable current Innom, which then drives the wiper from the service position to the target position. The arc-shaped region represents the minute fluctuations in current I. Current I rises from 0... Figure 2 The curve shown shows a very short process of changing to a stable current Innom. When the wiper blades are installed, the load on the motor increases, resulting in a larger peak current Iinrush. Conversely, when the wiper blades are not installed, the load decreases, leading to a smaller peak current Iinrush. Therefore, this embodiment can consider detecting whether the wiper blades are installed based on the motor's peak current Iinrush. In step S11, after the wiper exits maintenance mode, when controlling the motor to drive the wiper to the target position, the motor drives the wiper to move from the maintenance position to the target position, simultaneously acquiring the motor's target current, which is the previously mentioned peak current Iinrush. This target current can then be used to detect whether the wiper is properly installed.
[0035] Step S12: Based on the target current, determine whether the wiper blades are installed.
[0036] Because the peak current Iinrush of the motor when the wiper blades are installed is greater than the peak current Iinrush of the motor when the wiper blades are not installed, the magnitude of the target current can be used to determine whether the wiper blades are installed. If the target current is large enough, it means the wiper blades are installed correctly. If the target current is too small, it means the wiper blades are not installed correctly, and continued operation of the wipers could easily damage the windshield, causing property damage or personal injury.
[0037] Step S13: If it is detected that the blade is not installed, the motor is controlled to stop driving the wiper.
[0038] If it is detected that the blade is not installed, if the wiper continues to move at this time, it is easy to break the front windshield, causing property damage or personal injury, so the motor is controlled to stop driving the wiper, that is, the wiper is controlled to stop moving. Subsequently, the wiper can be controlled to re-enter the maintenance mode to install the blade, and after the blade is installed, the wiper is controlled to exit the maintenance mode, and then the wiper control method of the embodiment of the application is repeated. If it is detected that the blade is installed, it means that the wiper is normal, and the wiper can be controlled to continue to move until the target position.
[0039] The wiper control method of the embodiment of the application controls the motor to drive the wiper to move from the maintenance position to the target position after the wiper exits the maintenance mode, and obtains the target current of the motor, the target position is the stop position of the wiper, and the target current is the peak current of the motor; based on the target current, it is determined whether the blade of the wiper is installed; if it is detected that the blade is not installed, the motor is controlled to stop driving the wiper; by intelligently detecting whether the replacement of the wiper blade on the wiper arm is completed, and controlling the wiper to stop moving when it is detected that the wiper blade is not installed, it can be ensured that the wiper can move safely to the target position when the wiper exits the maintenance mode, preventing the wiper from breaking the front windshield when the maintenance mode is exited, and avoiding property damage or personal injury.
[0040] In order to more clearly illustrate the technical solutions provided in the embodiments of the application, a wiper control method provided in the application is further described below.
[0041] In the embodiment of the application, it is detected that the wiper exits the maintenance mode, which means that the wiper has entered the maintenance mode for maintenance before, and is currently in the maintenance mode. Based on this, it can be determined whether the wiper is in the maintenance mode through the detection of the wiper entering the maintenance mode. In the embodiment of the application, optionally, the method further includes: if it is detected that the power supply of the wiper is in an off state, and the washing button is pressed for a second time, it is determined whether the wiper is located at the target position; if the wiper is located at the target position, the motor is controlled to drive the wiper to drive away from the target position and move to the maintenance position for a third time; if the wiper is not located at the target position, the motor is controlled to drive the wiper to move to the target position, and then drive the wiper to drive away from the target position and move to the maintenance position for a third time.
[0042] The second time and the third time can be set as needed, and preferably, the second time is 3s and the third time is 0.8s. Of course, in other embodiments of the application, the second time and the third time can also be other values, which are not specifically limited herein. For example, it is determined that the power supply of the wiper is in the off state, and it is determined that the wiper button is pressed for 3s, and then it is determined that the wiper maintenance mode is entered. At this time, it is further determined whether the wiper is located at the target position. If the wiper is at the target position at this time, the wiper is driven by the motor to run for 0.8s to move away from the target position and reach the maintenance position. If the wiper is not at the target position at this time, the wiper is first driven to the target position, and then driven for 0.8s to reach the maintenance position. In this way, on the basis of determining that the wiper is located at the target position, the wiper is further controlled to run to the maintenance position, the wiper can be controlled to accurately reach the maintenance position, and when the wiper exits the maintenance mode, it is accurately moved from the maintenance position to the target position, which can ensure that whether the blade is installed is detected before the wiper moves to the target position. If it is detected that the blade is not installed, the wiper can be controlled to stop moving before the wiper reaches the target position, thereby preventing the windshield from being damaged when the maintenance mode exits, avoiding property loss or personal injury.
[0043] In order to accurately obtain the target current when the wiper exits the maintenance mode, in an embodiment of the application, the target current of the motor can be obtained by: collecting current data of the motor within a first time after the wiper starts to move; and obtaining the target current based on the current data.
[0044] After it is detected that the wiper exits the maintenance mode, the motor drives the wiper to move from the maintenance position to the target position, so as to facilitate the wiper to automatically return to the original position. When the motor drives the wiper to start moving from the maintenance position, the current of the motor will generate a current waveform as shown in FIG. 6. Figure 2The change shown is that, at the beginning stage, the current of the motor sharply rises to a peak value and then falls. The current of the motor can be collected at a preset frequency, and the timing starts from driving the wiper motor. The preset frequency can be set as required and is not specifically limited herein, and is preferably 1 KHZ. The current data of the motor in a first time is collected. The first time can be set as required, and only needs to include the peak current Iinrush of the motor, and is not specifically limited herein, and is preferably 120 ms. It should be noted that the actual collection time of the current of the motor can be greater than the first time, and then the current data in the first time when the wiper starts to move is selected from the collected current data for subsequent processing. For example, the current data in 10 s when the wiper starts to move can be collected, and then the current data in the first 120 ms is selected from the collected current data in the 10 s. The target current is obtained based on the current data in the 120 ms. The target current refers to the peak current Iinrush of the motor. In the embodiment of the application, by collecting the current data of the motor in the first time including the peak current Iinrush of the motor when the wiper is detected to exit the maintenance mode and the wiper is driven to start to move from the maintenance position to the target position, the target current of the motor can be accurately obtained based on the collected current data, and then the wiper blade can be accurately determined whether it has been installed according to the target current.
[0045] Considering that noise current may be generated by other noises in the process of collecting the current of the motor, for example, the collected current data of the motor may include a sharp pulse current, which is characterized by a current amplitude much higher than the actual current of the motor, but the duration is very short. Based on this, in the embodiment of the application, the target current obtained based on the current data includes: sorting the current data from large to small, and selecting A current values in the front, where A is a positive integer greater than 1; based on the difference between the first current value and the second current value, the target current is obtained according to the A current values, wherein the first current value is the first sorted current value, and the second current value is the second sorted current value.
[0046] Since the target current to be obtained is the peak current Iinrush of the motor, i.e., the maximum current in the current data, although theoretically the maximum value in the current data can be directly selected, considering that there may be a sharp pulse current which is not the actual current of the motor, the target current should be the actual current of the motor. Considering that there may be a sharp pulse current and other noise currents, in the embodiment of the present application, the current data can be sorted from large to small, and A current values in the front are selected, where A is a positive integer greater than 1. Wherein A can be set as needed, A cannot be set too small, nor too large. If A is set too small, it is easy to be affected by noise currents. Since the current of the motor is sharply changed at the beginning, if A is set too large, the target current obtained by calculation will deviate seriously from the actual target current, i.e., much smaller than the actual target current, which will cause the detection of whether the wiper is installed to be inaccurate, such as causing the actual wiper to be installed, but the detection result is that the wiper is not installed. A is preferably 4, of course, it can also be set to other values, which are not limited here.
[0047] After selecting the A current values in the front, the target current is obtained based on the difference between the first current value and the second current value according to the A current values, wherein the first current value is the current value ranked first, i.e., the first current value is the current value with the maximum value among the A current values. The second current value is the current value ranked second, i.e., the second current value is only smaller than the first current value, but larger than each of the other current values except the first current value among the A current values. If the maximum first current value and the second maximum second current value differ greatly, i.e., the maximum first current value is much larger than the second maximum second current value, it indicates that the maximum first current value can be a sharp pulse current, which does not belong to the actual current of the motor, and when the target current is obtained subsequently combined with the A current values, the maximum first current value needs to be removed. If the maximum first current value and the second maximum second current value do not differ greatly, within the range of the sharp change of the current of the motor, it indicates that the maximum first current value belongs to the actual current of the motor, and when the target current is obtained subsequently combined with the A current values, the maximum first current value does not need to be removed.
[0048] The embodiment of the present application can accurately obtain the target current by selecting the A current values in the front, and selecting part of the current values based on the difference between the maximum first current value and the adjacent second current value to calculate the current, and then accurately judging whether the wiper is installed with a wiper.
[0049] If a current value in the motor current exceeds the range of the sharp change in the motor current, it indicates that the maximum first current value can be a spike current and does not belong to the actual motor current. Based on this, in the embodiments of the present application, the target current is obtained according to the A current values based on the difference between the first current value and the second current value, which includes: if the first current value is greater than or equal to the product of the first coefficient and the second current value, calculating the average of the other current values in the A current values except the first current value to obtain the target current; if the first current value is less than the product of the first coefficient and the second current value, calculating the average of the first A-1 current values with the largest values in the A current values to obtain the target current.
[0050] The first coefficient can be set as needed, and the first coefficient is greater than 1, preferably 1.3. Of course, in other embodiments of the present application, it can also be set to other values. If the first current value is greater than or equal to the product of the first coefficient and the second current value, it indicates that the maximum first current value and the second maximum second current value differ greatly, that is, far exceed the sharp change range of the motor current, and further indicates that the maximum first current value can be a spike current and does not belong to the actual motor current. When the target current is obtained in combination with the A current values, the maximum first current value needs to be removed, and the average of the other current values in the A current values except the first current value is calculated to obtain the target current. Taking the first coefficient equal to 1.3 and the first number second 4 as an example, if the first current value is greater than or equal to 1.3 times the second current value, the average of the second maximum second current value, the third maximum third current value and the fourth maximum fourth current value is calculated, and the obtained average is taken as the target current.
[0051] If the first current value is less than the product of the first coefficient and the second current value, it indicates that the maximum first current value and the second maximum second current value do not differ greatly, and are within the sharp change range of the motor current, that is, it indicates that the maximum first current value belongs to the actual motor current. When the target current is obtained in combination with the A current values, the maximum first current value does not need to be removed, and the average of the first A-1 current values with the largest values in the A current values is calculated to obtain the target current. For example, when the maximum first current value is less than 1.3 times the second maximum value, the average of the maximum first current value, the second maximum second current value and the third maximum third current value is calculated, and the obtained average is taken as the target current.
[0052] In the embodiment of the present application, by comparing the difference between the maximum first current value and the second maximum second current value, it is determined whether the first current value belongs to the actual current of the motor, and the average value of the maximum A-1 current values belonging to the actual current of the motor is taken as the target current, so that the target current of the motor can be accurately obtained, and then it can be accurately determined whether the wiper is installed with a blade.
[0053] The motor of the wiper is powered by a storage battery, and the current of the motor is also related to different storage battery voltage values, temperatures and humidities of the vehicle. For example, in the case where the load of the motor is unchanged, the greater the storage battery voltage value, the greater the current. The greater the humidity, the greater the load of the motor, and the greater the current of the motor. Based on this, in the embodiment of the present application, the target current is used to determine whether the wiper is installed with a blade, which includes: obtaining the environmental conditions of the wiper, and determining the reference current corresponding to the environmental conditions; based on the target current and the reference current, it is determined whether the wiper is installed with a blade.
[0054] Among them, the reference current refers to the normal peak current Iinrush of the motor driving the wiper to move under the condition that the blade is normally installed. In the embodiment of the present application, the peak current Iinrush of the wiper starting to move under the condition that the blade is installed can be calibrated in advance under the same conditions, i.e. the same storage battery voltage value, temperature and humidity, as the reference current. The acquisition of the reference current is the same as the acquisition method of the target current, which will not be described here. The peak current Iinrush under different storage battery voltage values, temperatures and humidities of the vehicle is calibrated to establish a mapping graph (U, T, S, I), U, T, S and I correspond to the storage battery voltage value of the wiper, the temperature of the wiper, the humidity, and the peak current Iinrush of the motor respectively. The calibrated mapping graph is stored in an electrically erasable programmable read only memory (EEPROM), which does not disappear when power is off.
[0055] When it is necessary to determine whether the wiper is installed with a blade, the environmental conditions of the wiper are first obtained, and the reference current corresponding to the environmental conditions is determined. The environmental conditions at least include the storage battery voltage value, the temperature and the humidity. According to the obtained environmental conditions, the mapping graph is searched to obtain the reference current corresponding to the obtained environmental conditions. In theory, the target current obtained should be the same as the reference current under the same environmental conditions. Considering the effect of noise and other factors, the target current should also be not much different from the reference current, and then the target current and the reference current can be used to determine whether the wiper is installed with a blade.
[0056] The embodiment of the present application can accurately determine whether the wiper is installed with a wiper blade by obtaining the environmental condition of the wiper, then obtaining the reference current under the calibrated environmental condition, and then determining whether the wiper is installed with a wiper blade based on the target current and the reference current, and can further control the movement of the wiper according to the determination result to prevent the front windshield from being damaged, and avoid property loss or personal injury.
[0057] Considering that the peak current Iinrush of the motor in the case where the wiper blade is installed is greater than the peak current Iinrush of the motor in the case where the wiper blade is not installed, to determine whether the wiper blade is installed, the size of the obtained target current, i.e., the peak current Iinrush, can be determined. If the peak current Iinrush is too small, it indicates that the wiper blade is not installed, resulting in a small current of the motor. In the embodiment of the present application, optionally, the determination of whether the wiper blade is installed based on the target current and the reference current includes: if the target current is less than the product of the second coefficient and the reference current, it is determined that the wiper blade is not installed; and if the target current is greater than or equal to the product of the second coefficient and the reference current, it is determined that the wiper blade is installed.
[0058] Since the wiper blade is installed, the load of the motor driving is larger, and correspondingly, the peak current Iinrush of the motor is also larger; when the wiper blade is not installed, the load of the motor driving is smaller, and the peak current Iinrush of the motor is also smaller. In the embodiment of the present application, whether the wiper blade is installed is determined, that is, only the peak current Iinrush of the motor needs to be considered to determine whether the wiper blade is installed. That is, if the target current of the motor, i.e., the peak current Iinrush, is small enough, smaller than the fluctuation range of the current of the motor when the wiper blade is normally installed, it can be determined that the wiper blade is not installed. Based on this, the second coefficient can be set to a value less than 1. In the embodiment of the present application, the value of the second coefficient is not specifically limited, and the second coefficient can be set as needed, and is preferably 0.8. Of course, in other embodiments of the present application, the second coefficient can also be set to other values.
[0059] The product of the second coefficient and the reference current can limit the possible fluctuation range of the target current in the small direction. If the target current is less than the product of the second coefficient and the reference current, it indicates that the target current is too small and exceeds the fluctuation range of the target current, and it is only possible that the wiper blade of the windscreen wiper is not installed, because the peak current Iinrush of the motor is much smaller than the reference current, so it can be determined that the wiper blade of the windscreen wiper is not installed. If the target current is greater than or equal to the product of the second coefficient and the reference current, it indicates that the peak current Iinrush of the motor is within the normal fluctuation range at this time, or the target current is large enough, and the wiper blade of the windscreen wiper must be installed, so it can be determined that the wiper blade of the windscreen wiper is installed.
[0060] The embodiment of the present application can accurately determine whether the wiper blade of the windscreen wiper is installed by limiting the possible fluctuation range of the target current according to the reference current under the same environmental conditions, and then determining whether the wiper blade of the windscreen wiper is correctly installed based on the target current, so that the movement of the windscreen wiper can be controlled according to the determination result to prevent the windshield from being damaged and avoid property loss or personal injury.
[0061] After the detection of whether the wiper blade of the windscreen wiper is installed is completed, the movement of the windscreen wiper can be controlled according to the detection result. If it is detected that the wiper blade is not installed, if the windscreen wiper still moves at this time, since the wiper blade of the windscreen wiper is not installed, the wiper arm as a metal device directly contacts the windshield during the movement of the windscreen wiper to the home position, which is extremely easy to damage the windshield, causing property loss or personal injury. Therefore, the motor is controlled to stop driving the windscreen wiper, that is, the windscreen wiper is controlled to stop moving to prevent the windshield from being damaged and cause property loss or personal injury. After the movement of the windscreen wiper is controlled to stop, the windscreen wiper can be controlled to re-enter the maintenance mode for installation of the wiper blade, and after the wiper blade is installed, the windscreen wiper is controlled to exit the maintenance mode, and the windscreen wiper control method of the embodiment of the present application is repeated. If it is detected that the wiper blade is installed, it indicates that the windscreen wiper is normal, and at this time, since the wiper blade is normally installed, the wiper arm as a metal device will not directly contact the windshield, and naturally the windshield will not be damaged. The windscreen wiper can be controlled to continue moving until the target position.
[0062] The windscreen wiper control method of the embodiment of the present application can intelligently detect whether the wiper blade of the windscreen wiper is replaced, so as to ensure the normal opening and closing of the maintenance mode of the windscreen wiper, prevent the windshield from being damaged when the maintenance mode is exited, and cause property loss or personal injury.
[0063] It should be noted that the windscreen wiper control method of the embodiment of the present application is only controlled when the windscreen wiper exits the maintenance mode and the motor drives the windscreen wiper to automatically return to the home position. The windscreen wiper control method of the embodiment of the present application is not executed when the motor drives the windscreen wiper to move and normally work, so as to avoid false triggering at ordinary times.
[0064] The wiper control method of the embodiment of the application controls the motor to drive the wiper to move from the maintenance position to the target position after the wiper exits the maintenance mode, and obtains the target current of the motor, the target position is the stop position of the wiper, and the target current is the peak current of the motor; whether the wiper blade is installed is determined based on the target current; if it is detected that the wiper blade is not installed, the motor is controlled to stop driving the wiper. Through intelligent detection of whether the wiper blade is replaced on the wiper arm, it can be ensured that the wiper can move to the stop position safely when the wiper exits the maintenance mode, the windshield is prevented from being damaged when the wiper maintenance mode exits, and property loss or personal injury is avoided.
[0065] In an example embodiment of the present specification, a wiper control device is also provided, which is applied to a vehicle controller. As shown in Figure 3 The wiper control device 300 includes: A current acquisition module 301 is configured to control the motor to drive the wiper to move from the maintenance position to the target position after the wiper exits the maintenance mode, and obtain the target current of the motor, the target position is the stop position of the wiper, and the target current is the peak current of the motor. A wiper detection module 302 is configured to determine whether the wiper blade of the wiper is installed based on the target current. A drive control module 303 is configured to control the motor to stop driving the wiper if it is detected that the wiper blade is not installed.
[0066] In a specific embodiment, the current acquisition module 301 is configured to collect the current data of the motor within a first time after the wiper starts to move, and obtain the target current based on the current data.
[0067] In some embodiments, the current acquisition module 301 is further configured to sort the current data from large to small, select A current values in the front of the sorting, where A is a positive integer greater than 1, and obtain the target current based on the difference between the first current value and the second current value, where the first current value is the current value in the first place of the sorting, and the second current value is the current value in the second place of the sorting.
[0068] In some embodiments, the current acquisition module 301 is further configured to calculate the average value of the current values other than the first current value in the A current values to obtain the target current if the first current value is greater than or equal to the product of the first coefficient and the second current value, and calculate the average value of the first A-1 current values with the largest value in the A current values to obtain the target current if the first current value is less than the product of the first coefficient and the second current value.
[0069] In some embodiments, the wiper detection module 302 is configured to: acquire an environmental condition of the wiper, and determine a reference current corresponding to the environmental condition; and determine whether the wiper blade of the wiper is installed based on the target current and the reference current.
[0070] In some embodiments, the wiper detection module 302 is further configured to: if the target current is less than a product of a second coefficient and the reference current, determine that the wiper blade of the wiper is not installed; and if the target current is greater than or equal to the product of the second coefficient and the reference current, determine that the wiper blade of the wiper is installed.
[0071] In some embodiments, the driving control module 303 is further configured to: if it is detected that the power supply of the wiper is in an off state, and the washing button is pressed for a second time, determine whether the wiper is located at the target position; if the wiper is located at the target position, control the motor to drive the wiper to drive away from the target position and move to a maintenance position for a third time; and if the wiper is not located at the target position, control the motor to drive the wiper to move to the target position, and then drive the wiper to drive away from the target position and move to the maintenance position for the third time.
[0072] The specific limitations of the wiper control device can be referred to the limitations of the wiper control method described above, which will not be described in detail here. Each module in the above wiper control device can be realized by software, hardware and combinations thereof, in whole or in part. Each module described above can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to each module.
[0073] As to the device in the above embodiments, the specific manner in which each unit performs operations has been described in detail in the embodiments of the wiper control method, which will not be described in detail here.
[0074] Figure 4 is a structural schematic diagram of a vehicle provided by an embodiment of the present application.
[0075] As shown in the example of Figure 4 , the vehicle comprises a memory 401 and a processor 402, wherein the memory 401 stores an executable computer program 4011, and the processor 402 is configured to call and execute the executable computer program 4011 to execute the wiper control method.
[0076] This embodiment can divide the vehicle into functional modules according to the above method embodiment. For example, each function can be assigned to a separate module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0077] When each functional module is divided according to its corresponding function, the vehicle may include: a current acquisition module, a scraper detection module, and a drive control module, etc.
[0078] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.
[0079] The vehicle provided in this embodiment is used to execute the above-described wiper control method, and thus can achieve the same effect as the above-described implementation method.
[0080] When using integrated units, the vehicle may include a processing module and a storage module. The processing module is used to control and manage the vehicle's movements. The storage module is used to support the processing module in executing computer programs and processing data.
[0081] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits as disclosed in this application. The processor may also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and microprocessors, etc., and the storage module may be a memory.
[0082] The embodiment also provides a computer readable storage medium, which stores computer program codes (including but not limited to disk storage, CD-ROM, optical storage, etc.), and when the computer program codes are run on a computer, the computer is caused to execute the above related method steps to realize the rain wiping control method provided by the above embodiment. The computer readable storage medium can include but is not limited to any type of disk, including floppy disk, optical disk, digital video disc (DVD), compact disc read-only memory (CD-ROM), micro drive, and magneto-optical disk, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), dynamic random access memory (DRAM), video random access memory (VRAM), flash memory device, magnetic card or optical card, nanosystem (including molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0083] The embodiment also provides a computer program product, which, when run on a computer, causes the computer to execute the above related steps to realize the rain wiping control method provided by the above embodiment.
[0084] The beneficial effects of the above embodiment can refer to the beneficial effects of the corresponding method provided above, and will not be described here.
[0085] Through the description of the above embodiments, those skilled in the art can understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for illustration, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0086] In the embodiments of the present disclosure, it should be understood that the disclosed apparatus and method can be implemented in other manners. For example, the described apparatus embodiments are merely schematic. The division of the modules or units is merely logical function division. There can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another apparatus, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, apparatuses or units, and can be in electrical, mechanical or other forms.
[0087] In the description of the present disclosure, it needs to be understood that the orientation or positional relationship indicated by the terms such as "upper", "lower", "front", "back", "left" and "right" is based on the orientation or positional relationship shown in the drawings, and is only for the purpose of facilitating the description of the present disclosure and simplifying the description, and does not indicate or imply that the indicated position or element must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation of the present disclosure.
[0088] It should be noted that in the embodiments of the present application, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. It should also be noted that the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the processes, methods, articles or devices including a series of elements not only include those elements, but also include other elements not explicitly listed or inherent to such processes, methods, articles or devices. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or device including the element.
[0089] The above merely describes the embodiments of the present disclosure, but is not intended to limit the present disclosure. The present disclosure can have various changes and modifications for those skilled in the art. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present disclosure shall be included in the scope of the claims of the present disclosure.
Claims
1. A windshield wiper control method, characterized in that, The method includes: After the wiper is detected to have exited maintenance mode, the motor is controlled to drive the wiper to move from the maintenance position to the target position, and the target current of the motor is obtained. The target position is the stop position of the wiper, and the target current is the peak current of the motor. Based on the target current, determine whether the wiper blades are installed; If the wiper blade is detected to be not installed, the motor is controlled to stop driving the wiper.
2. The method according to claim 1, characterized in that, The step of obtaining the target current of the motor includes: Collect the motor current data during the first time after the wiper starts moving; Based on the current data, the target current is obtained.
3. The method according to claim 2, characterized in that, The process of obtaining the target current based on the current data includes: The current data is sorted from largest to smallest, and the top A current values are selected, where A is a positive integer greater than 1. Based on the difference between the first current value and the second current value, the target current is obtained according to the A current values, wherein the first current value is the current value ranked first, and the second current value is the current value ranked second.
4. The method according to claim 3, characterized in that, The step of obtaining the target current based on the difference between the first current value and the second current value, according to the A current values, includes: If the first current value is greater than or equal to the product of the first coefficient and the second current value, then the average value of the other current values besides the first current value among the A current values is calculated to obtain the target current; If the first current value is less than the product of the first coefficient and the second current value, then the average value of the first A-1 current values among the A current values is calculated to obtain the target current.
5. The method according to claim 1, characterized in that, The step of determining whether the wiper blades are installed based on the target current includes: Obtain the environmental conditions of the windshield wipers and determine the reference current corresponding to the environmental conditions; Based on the target current and the reference current, determine whether the wiper blades are installed.
6. The method according to claim 5, characterized in that, Determining whether the wiper blades are installed based on the target current and the reference current includes: If the target current is less than the product of the second coefficient and the reference current, it is determined that the wiper blade is not installed. If the target current is greater than or equal to the product of the second coefficient and the reference current, then it is determined that the wiper blades are installed.
7. The method according to claim 1, characterized in that, The method further includes: If the power to the wiper is detected to be off and the washer button is pressed and held for a second time, it is determined whether the wiper is at the target position. If the wiper is at the target position, the motor is controlled to drive the wiper away from the target position and move to the repair position in the third time. If the wiper is not at the target position, the motor is controlled to drive the wiper to the target position, then the wiper is driven away from the target position, and the wiper moves to the maintenance position in a third time.
8. A windshield wiper control device, characterized in that, The device includes: The current acquisition module is used to detect when the wiper exits the maintenance mode, control the motor to drive the wiper to move from the maintenance position to the target position, and acquire the target current of the motor, which is the peak current of the motor. A wiper blade detection module is used to determine whether the wiper blade is installed based on the target current; The drive control module is used to control the motor to stop driving the wiper if it is detected that the wiper blade is not installed.
9. A vehicle, characterized in that, The vehicles include: Memory, used to store executable computer programs; A processor for calling and running the executable computer program from the memory, such that the processor performs the method as described in 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 that, when executed, implements the method as described in any one of claims 1 to 7.