Vehicle door control method and device, vehicle and storage medium
By detecting the working setting of the windshield wiper, the target judgment conditions are determined, which solves the problem of accidental activation of vehicle door handle switches in rainy conditions, reduces vehicle power consumption and safety risks, and improves user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREAT WALL MOTOR CO LTD
- Filing Date
- 2023-08-30
- Publication Date
- 2026-07-10
AI Technical Summary
Vehicle door handle switches are easily accidentally touched in rainy conditions, which can lead to vehicle battery drain and the risk of doors unlocking or locking abnormally.
The target judgment condition is determined by detecting the working speed of the wiper equipment, and the detection information of the door handle switch is determined to determine whether it is generated by human touch. Control commands are sent to the controller to control the door only when specific conditions are met.
It reduces the risk of vehicle power consumption and abnormal door unlocking or locking due to accidental contact in rainy conditions, improving driving safety and user experience.
Smart Images

Figure CN117090459B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of vehicle technology, and in particular relates to a door control method, device, vehicle and storage medium. Background Technology
[0002] Currently, vehicle door handles typically use capacitive touch switches to unlock and lock the doors. Specifically, when the door handle switch detects a car key within a preset range, it can unlock the central locking system. At this time, the owner can touch the door handle equipped with the capacitive touch switch to activate the vehicle's domain controller, automatically unlocking and locking the doors without requiring the owner to use the car key.
[0003] Because the human body contains 70% water, and its composition is similar to water, frequent rain or car washes can cause capacitive touch switches to be accidentally activated, similar to human touch. This can lead to water entering the vehicle's interior when the touch switch activates the controller to open the door. Furthermore, frequent accidental activation of the touch switch to control the doors can drain the vehicle's battery and increase the risk of unauthorized door unlocking and locking. Summary of the Invention
[0004] This application provides a vehicle door control method, device, vehicle, and storage medium, which can solve the problems of vehicle battery drain caused by accidental contact with the door handle switch, and the risks associated with abnormal unlocking and locking of the vehicle door.
[0005] In a first aspect, embodiments of this application provide a vehicle door control method applied to a door handle switch, the method comprising:
[0006] If the vehicle door is detected to meet the preset control conditions, the detection information is obtained;
[0007] Determine the target operating speed of the windshield wiper system;
[0008] Determine the target judgment conditions corresponding to the target working gear based on the target working gear;
[0009] If the detection information meets the target judgment conditions, it is determined that the detection information was generated when the door handle switch detected that it was touched by a person, and a control command is sent to the controller; the control command is used to instruct the controller to control the door.
[0010] Secondly, embodiments of this application provide a vehicle door control device for use with a door handle switch, the device comprising:
[0011] The detection information acquisition module is used to acquire detection information if the vehicle door is detected to meet preset control conditions.
[0012] The target operating level determination module is used to determine the target operating level of the wiper equipment when it is in operation;
[0013] The first target judgment condition determination module is used to determine the target judgment condition corresponding to the target working gear based on the target working gear.
[0014] The first control command sending module is used to determine that the detection information was generated when the door handle switch detected that someone touched it, if the detection information meets the target judgment conditions, and to send a control command to the controller; the control command is used to instruct the controller to control the door.
[0015] Thirdly, embodiments of this application provide a vehicle including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect above.
[0016] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in the first aspect above.
[0017] Fifthly, embodiments of this application provide a computer program product that, when run on a vehicle, causes the vehicle to perform the method described in the first aspect.
[0018] The beneficial effects of this application embodiment compared to the prior art are as follows: Since windshield wipers typically operate in rainy environments, and their operating speed varies depending on the amount of rainfall, the working speed of the wipers varies accordingly. Therefore, the working speed can be considered to represent the rainfall information of the vehicle's environment. Furthermore, by determining the target working speed of the wipers, the target judgment condition can be determined, i.e., the rainfall information represented by the target working speed can be determined. At this point, when the vehicle door is detected to meet preset control conditions, it can be assumed that the owner carrying the door key is near the vehicle, and the door may need to be unlocked or locked. Based on this, detection information generated when the door handle switch is touched can be obtained first, and the target judgment condition can be used to determine whether this detection information was generated when the door handle switch detected being touched. Based on this, when the detection information meets the target judgment condition, a control command can be sent to the controller to instruct the controller to control the door. In this way, by judging the detection information, it is possible to avoid the frequent activation of the controller due to accidental contact with rainwater in rainy environments, thereby reducing the power consumption required by the vehicle and the risk of abnormal unlocking and locking of the doors. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a flowchart illustrating the implementation of a door control method according to an embodiment of this application;
[0021] Figure 2 This is a schematic diagram illustrating an application scenario of a door control method provided in an embodiment of this application;
[0022] Figure 3 This is a schematic diagram of the structure of a door control device provided in one embodiment of this application;
[0023] Figure 4 This is a schematic diagram of the structure of a vehicle provided in one embodiment of this application. Detailed Implementation
[0024] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0025] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0026] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0027] Door handle switches include, but are not limited to, capacitive touch switches and resistive touch switches. Taking a capacitive touch switch as an example, when the vehicle owner touches the capacitive touch switch, the internal capacitance value of the switch changes. Therefore, the capacitive touch switch can determine that it has been touched when it detects a change in capacitance. Consequently, the door handle switch can activate the controller to automatically unlock or lock the door.
[0028] For example, when a door handle switch is touched, its internal mutual capacitance decreases. Based on this, the capacitance value generated by the door handle switch can be detected to determine whether the door handle switch has been touched. For example, if the capacitance value is lower than a preset capacitance value, it can be determined that the door handle switch has been touched.
[0029] Once activated, the controller can detect whether a car key is present around the vehicle (e.g., whether a wireless connection has been established with the car key). If a car key is detected, it can determine that the touch was initiated by the vehicle owner, and then control the unlocking of the doors.
[0030] However, since the human body contains 70% water, and its composition is similar to water, frequent rain or car washes can cause capacitive touch switches to be accidentally activated, similar to human touch. When the capacitive touch switch then activates the vehicle's domain controller to open the door, water will enter the vehicle. Furthermore, frequent accidental activations of the capacitive touch switch, leading to repeated controller activations, can also deplete the vehicle's battery.
[0031] Therefore, to avoid the door handle switch frequently waking up the controller for detection due to rain, which could lead to water ingress into the vehicle and battery drain, this application provides a door control method that can be applied to a door control device. The control device can be the door handle switch.
[0032] Please see Figure 1 , Figure 1 The following is a flowchart illustrating the implementation of a door control method according to an embodiment of this application. The method includes the following steps:
[0033] S101. If the vehicle door is detected to meet the preset control conditions, the detection information is obtained.
[0034] The detection information can be generated when the door handle switch detects that it has been touched.
[0035] In one embodiment, the detection information can be set according to the type of door handle switch. It is understood that when the door handle switch is a capacitive touch switch, the detection information can be the capacitance value. When the door handle switch is a resistive touch switch, the detection information can be the resistance value; there is no limitation on this.
[0036] It should be added that, based on the above explanation of the car door key, the car door needs to be unlocked for control to be possible. Therefore, meeting the preset control conditions is a condition for the car door to be unlocked. Based on this, the door handle switch can first perform a car door key detection process, so that if a car door key is detected near the vehicle, subsequent steps S102-S104 can be executed. Otherwise, it can be directly determined that the detection information does not meet the target judgment condition, thereby reducing the number of times the controller is woken up and minimizing vehicle battery drain.
[0037] Central locking, or centrally controlled door lock, is a car accessory that unlocks the doors when the door handle switch detects a key within a preset range. At this time, the door handle switch can send a control command to the controller upon detecting a touch. This control command instructs the controller to control the doors. For example, it can directly control the doors to unlock or lock without inserting the key into the door handle switch's lock cylinder.
[0038] In one specific embodiment, when the vehicle owner is inside the vehicle and driving it, the central locking system is usually unlocked because the owner carries the door key (i.e., the door key is within a preset range). This allows the owner to easily open and close the doors whenever they want to park. However, if the vehicle's speed exceeds a preset speed, other occupants inside the vehicle (e.g., children) may accidentally open the door, potentially causing an accident.
[0039] Therefore, to improve driving safety, even if a door key is detected within a preset range, the vehicle speed must still be detected. If the vehicle speed exceeds the preset speed, the central locking system will automatically lock to prevent accidental opening of the doors from the inside of the vehicle while traveling at high speeds. Alternatively, if the vehicle speed exceeds the preset speed, the door handle switch will enter a dormant state to stop generating detection information, reducing the risk of vehicle battery drain due to accidental door handle switch activation and minimizing the risk of abnormal door unlocking and locking.
[0040] When a door key is detected within a preset range and the vehicle speed is less than or equal to a preset speed (e.g., when the vehicle is stationary), the central locking system can be unlocked. This allows the system to determine that the door meets the preset control conditions.
[0041] Understandably, when a vehicle's speed exceeds a preset speed, it can be considered to be in motion. At this point, unlocking or locking the doors could easily create a driving risk.
[0042] The preset speed can be set according to the actual situation and is not limited.
[0043] In another embodiment, the preset control conditions can also include the presence of occupants inside the vehicle and the vehicle speed being less than a preset speed. It is understood that because occupants are present inside the vehicle, there are scenarios where they open and close the doors. Furthermore, a speed less than the preset speed can prevent occupants (e.g., children) from accidentally opening the doors, thus improving driving safety.
[0044] S102. Determine the target operating speed of the wiper equipment.
[0045] Among them, the target working gear can be used to characterize the rainfall information of the vehicle's environment.
[0046] In one embodiment, the aforementioned windshield wiper is a tool used to clean the windshield of a vehicle to prevent rainwater and other stains from obstructing visibility. The windshield wiper has multiple operating speeds, and the operating speeds corresponding to different speeds are typically different.
[0047] In one embodiment, the windshield wiper system operates in two modes: automatic and manual. The method for determining the target speed differs depending on the operating mode.
[0048] Specifically, in automatic mode, the door handle switch can acquire rainfall information around the vehicle, and then determine the target gear corresponding to the rainfall information.
[0049] The vehicle may be equipped with a rain sensor to detect rainfall information around the vehicle. For example, it can detect rainfall levels such as light rain, moderate rain, or heavy rain. Then, based on preset operating modes corresponding to different rainfall levels, the target operating mode for the current rainfall situation is determined. For instance, for light rain, the target operating mode could be the mode corresponding to intermittent operation. For moderate rain, the target operating mode could be the first mode (low speed). And for heavy rain, the target operating mode could be the second mode (high speed).
[0050] In another embodiment, an image sensor installed on the vehicle can be used to capture images of the environment surrounding the vehicle. Then, a preset image recognition model is used to process the environmental images to identify the aforementioned rainfall information. In this embodiment, the method of acquiring rainfall information is not limited.
[0051] It should be noted that when obtaining rainfall information, it can be assumed that the vehicle is in a rainy environment or in a car wash environment; there is no limitation on this.
[0052] In another specific embodiment, when the wiper is in automatic mode, the wiper system can automatically generate a working signal indicating that it is in automatic mode and send the signal to the rain sensor. At this time, the rain sensor, upon recognizing the working signal indicating that the wiper is in automatic mode, can detect rainfall information around the vehicle and send this information to the door handle switch. The door handle switch can then determine the corresponding target operating mode based on the rainfall information.
[0053] Specifically, in automatic mode, the operating signals of the wiper system can include various types. For example, WiprReq can be used to represent the automatic mode operating state; WiprReq = 0×0 indicates that the wiper system stops working (i.e., the wiper system is off) in automatic mode; WiprReq = 0×1 indicates that the wiper system operates intermittently in automatic mode; WiprReq = 0×2 indicates that the wiper system operates at the first speed in automatic mode; WiprReq = 0×3 indicates that the wiper system operates at the second speed in automatic mode; WiprReq = 0×4-0×6 indicates that the wiper system operates at a predetermined speed in automatic mode; and WiprReq = 0×7 indicates that an error occurred while the wiper system was operating in automatic mode.
[0054] It is understood that, based on the above description, in automatic transmission mode, the target operating level can be determined by the wiper system, and then the door handle switch obtains this target operating level from the wiper system; alternatively, the door handle switch can determine the operating level based on preset different levels of rainfall information. In this embodiment, the method of determining the target operating level is not limited.
[0055] In another embodiment, when the automatic transmission is in operation, the door handle switch can also acquire environmental information around the vehicle, such as rainfall, wind speed, and wind direction. Then, based on a preset correlation between the rainfall, wind speed, wind direction, and the operating gear, the target operating gear is determined; this will not be described in detail.
[0056] In another embodiment, the wiper system may also operate in manual mode. In this case, the wiper speed setting is determined by the driver's operation of the wiper controller. That is, the driver determines the target wiper speed based on rainfall information around the vehicle and then operates the wiper controller to adjust the wiper speed to the target setting.
[0057] Specifically, in manual mode, the wiper signals can include multiple types. For example, FrntWiprSwtSts can be used to represent the manual mode operation; FrntWiprSwtSts = 0×0 indicates the wipers stop working (i.e., the wipers are off) in manual mode; FrntWiprSwtSts = 0×1 indicates the wipers operate once in manual mode; FrntWiprSwtSts = 0×2 indicates the wipers operate at the first gear in manual mode; FrntWiprSwtSts = 0×3 indicates the wipers operate at the second gear in manual mode; FrntWiprSwtSts = 0×4-0×6 indicates the wipers operate at a predetermined gear in manual mode; and FrntWiprSwtSts = 0×7 indicates an error occurred while the wipers were operating in manual mode.
[0058] In manual transmission mode, the wiper control controller can generate corresponding operating signals based on various operations performed by the driver, which will not be described in detail here.
[0059] In summary, this is the method for determining the target operating setting of the windshield wiper.
[0060] S103. Determine the target judgment conditions corresponding to the target working gear based on the target working gear.
[0061] Among them, the target judgment condition can be used to determine whether the detection information is generated when the door handle switch detects that it has been touched by a person.
[0062] In one embodiment, various working speeds and their corresponding judgment conditions can be pre-set and stored. Therefore, after determining the target working speed, the target judgment conditions corresponding to the target working speed can be determined based on the aforementioned relationships.
[0063] In one embodiment, in a rainy environment, rainwater typically intermittently touches the door handle switch. Each time rainwater touches the door handle switch, it causes a change in the switch's capacitance, generating a detection signal. Specifically, when the door handle switch is not touched by rainwater, its capacitance remains unchanged. When suddenly touched by rainwater, the capacitance drops below a preset value (determining the door handle switch has been touched). However, the rainwater's touch on the door handle switch is usually instantaneous. Therefore, within a short time, the capacitance will recover to its value before the switch was touched. That is, each change in capacitance under these circumstances occurs within a short period.
[0064] However, in scenarios where a person touches a door handle switch, the switch is typically touched continuously to generate detection information. Specifically, when not touched, the capacitance value of the door handle switch remains unchanged. When suddenly touched, the capacitance value drops below a preset value (determining that the door handle switch has been touched). Furthermore, the person touching the door handle switch usually continues for a period of time. Therefore, it takes some time for the capacitance value to recover to its value when the door handle switch was not touched. In other words, it takes a certain amount of time for the capacitance value to change under these circumstances.
[0065] Furthermore, the capacitance value changes differently depending on the force of the touch when a door handle switch is pressed. Specifically, for a door handle switch, the greater the force of the touch, the smaller the capacitance value detected by the door handle switch.
[0066] Based on this, the above target judgment conditions may include whether the capacitance value when the door handle switch is touched is less than the target capacitance value, and / or whether the duration for which the capacitance value when the door handle switch is touched is less than the target capacitance value is less than the target duration, without limitation.
[0067] Specifically, if the capacitance value is less than the target capacitance value in the target judgment condition, the door handle switch can determine that the detection information meets the target judgment condition. That is, it is determined that the detection information was generated when the door handle switch detected that it was touched by someone. Conversely, if the capacitance value is greater than or equal to the target capacitance value in the target judgment condition, the door handle switch can determine that the detection information does not meet the target judgment condition. That is, it is determined that the detection information was generated when the door handle switch detected that it was touched by rainwater.
[0068] Furthermore, if the duration exceeds the target duration in the target judgment condition, the door handle switch can determine that the detection information meets the target judgment condition. That is, it is determined that the detection information is generated when the door handle switch detects that it has been touched by someone. Conversely, if the duration is less than or equal to the target duration in the target judgment condition, the door handle switch can determine that the detection information does not meet the target judgment condition. That is, it is determined that the detection information is generated when the door handle switch detects that it has been touched by rainwater.
[0069] Understandably, if the detection information does not meet the target judgment conditions, it can be determined that the door handle switch has been accidentally touched. Therefore, the door handle switch can ignore this detection information and stop sending control commands to the controller, reducing the risk of abnormal unlocking or locking of the door.
[0070] It should be noted that, under different target judgment conditions, the target capacitance value and the target duration may be equal or unequal, and there is no limitation on this.
[0071] For example, the target capacitance value can be a preset capacitance value. When setting a preset capacitance value, it is usually necessary to set a very small capacitance value. This ensures that even in heavy rain, when rainwater touches the door handle switch, the capacitance value of the door handle switch will not fall below the preset capacitance value.
[0072] However, if a very small capacitance value is set, the driver would need to apply significant pressure to the door handle switch in both rainy and dry conditions, reducing the user experience. Therefore, in this embodiment, the target capacitance value can be set differently depending on the rainy environment (different operating levels of the wiper system), and this is not limited.
[0073] Furthermore, the target duration can also be a preset duration. Similarly, when setting a preset duration, a very large duration needs to be set. Therefore, in heavy rain conditions, the duration for which rainwater continuously touches the door handle switch will not exceed the preset duration.
[0074] However, if a very long duration is set, the driver will need to spend a considerable amount of time touching the door handle in both rainy and dry conditions, which will reduce the user experience. Therefore, in this embodiment, the target duration can also be set differently depending on the rainy environment (different operating levels of the wiper equipment), and there is no limitation on this.
[0075] In summary, since the above scenario involves accidental activation of the door handle switch in rainy conditions, the target operating level of the wiper system varies depending on the rainy environment. Therefore, different target judgment conditions can be determined based on the target operating level. For example, a pre-defined association between each operating level and its corresponding judgment rule can be established. Based on this, the target judgment conditions can be determined according to the target operating level and the pre-defined association to evaluate the detected information. This can prevent frequent controller activation due to accidental activation in rainy conditions, thus reducing the vehicle's power consumption.
[0076] In another embodiment, the target determination condition can be determined not only based on the target operating level of the wiper device, but also simultaneously based on the vehicle door status. Furthermore, the target determination condition can reasonably determine the target duration based on the rain environment represented by the target operating level and the entry / exit situation represented by the door status, thereby improving the user experience for car owners.
[0077] Specifically, when the operating mode is in the first or second position, the same target judgment condition (i.e., equal target duration) can be set for the unlocked and locked states. However, when the operating mode is in other positions, for example, when the vehicle is in light rain, the wiper operation mode can be set to the mode corresponding to intermittent operation. Or, due to accidental touch by the driver or dirt on the windshield obstructing visibility, the wiper operation mode may be set to the mode corresponding to a single operation. In these situations, rainwater typically does not touch the door handle switch. Based on this, different target judgment conditions (i.e., unequal target duration) can be set for the locked and unlocked states. For example, the target duration for the unlocked state can be set to be longer than the target duration for the locked state.
[0078] For example, when the working position is the first position, the target duration for both the unlocked and locked states of the door can be 300ms; when the working position is the second position, the target duration for both the unlocked and locked states of the door can be 500ms; when the working position is another position, if the door is locked, the target duration for unlocking the door can be 150ms; and if the door is unlocked, the target duration for locking the door can be 200ms.
[0079] The purpose of setting the target duration for the unlocked state to be longer than that for the locked state is as follows: When the door is unlocked, if the door handle is detected to be touched, it can be assumed that the owner needs to close the door, i.e., the door is locked. If the target duration for the unlocked state is short, the door may close immediately after the owner touches the handle. Because the door will close quickly, there is a risk that items carried by the owner (e.g., ropes or other long items), a child's body (e.g., hair or fingers), or an animal's body may not be completely away from the door, posing a safety risk. That is, the door may trap items, a child's body, or an animal's body. Therefore, the target duration for the unlocked state can be longer than that for the locked state.
[0080] It's understandable that when a car door is locked and needs to be unlocked, there's no risk of items, children, or animals getting caught. Therefore, the target duration for the locked state can be set to be shorter than the target duration for the unlocked state.
[0081] It should be noted that the sequence number (S101-S103) of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0082] Specifically, in another embodiment, steps S102-S103 can be executed first to determine the target judgment condition, and then step S101 can be executed to obtain detection information. In this case, since the target judgment condition can be determined first, that is, the target capacitance value can be determined from the target judgment condition. Therefore, when obtaining detection information, the duration for which the capacitance value is less than the target capacitance value in the target judgment condition can be directly calculated.
[0083] S104. If the detection information meets the target judgment condition, it is determined that the detection information is generated when the door handle switch detects that it has been touched by a person, and a control command is sent to the controller; the control command is used to instruct the controller to control the door.
[0084] In one embodiment, the control commands include a locking command and an unlocking command. Specifically, when the door is locked, the control command is an unlocking command to unlock the door. And when the door is unlocked, the control command is a locking command to lock the door.
[0085] In another embodiment, the door handle switch is divided into an unlocking area and a locking area. It can determine whether the control command is a locking command or an unlocking command by sensing the change in capacitance value of the unlocking area and the locking area. This will not be described in detail.
[0086] The methods for controlling the unlocking and locking of the doors include, but are not limited to, motor control, central locking control, and door intelligent module control.
[0087] In this embodiment, since windshield wipers typically operate in rainy conditions, and their operating speed varies depending on the amount of rain, meaning they operate at different speeds, a target judgment condition can be determined by identifying the target speed of the wipers. When detection information is obtained when a door handle switch is touched, it can be determined whether this information was generated by the door handle switch detecting a touch based on the target judgment condition. Therefore, if the detection information meets the target judgment condition, a control command can be sent to the controller to instruct it to control the door. By judging the detection information, frequent controller activation due to accidental touches caused by rain can be avoided in rainy conditions, reducing vehicle power consumption and the risk of abnormal door unlocking and locking.
[0088] In another embodiment, if the door handle switch malfunctions (e.g., poor contact) or has stains on its surface, rainwater and stains may slightly touch the door handle switch, causing a significant change in its capacitance value. This could result in the capacitance value falling below the target value, or the duration for which the capacitance value is below the target value exceeds the target duration. Consequently, the door handle switch frequently sends control commands to the controller within a short period to control the door unlocking and locking. This not only increases the vehicle's power consumption but also increases the risk of abnormal door unlocking and locking.
[0089] Therefore, to reduce vehicle power consumption and the risk of abnormal door unlocking and locking, when the detection information meets the target judgment conditions, the historical moment when the previous detection information met the target judgment conditions can also be obtained. Then, the time difference between the historical moment and the current moment is calculated. If the time difference is less than a preset time difference, it can be considered that at least two control commands have been generated within a short period. Based on this, the door handle switch can be considered to have a possible malfunction or surface contamination. Therefore, to avoid unnecessary unlocking and locking, the door handle switch can stop sending control commands to the controller.
[0090] Furthermore, if the time difference is greater than or equal to the preset time difference, it can be assumed that the door handle switch is not faulty (e.g., poor contact) or its surface is not dirty. In this case, the door handle switch can send control commands to the controller normally.
[0091] In one embodiment, the aforementioned preset time difference can be set according to actual conditions, and there is no limitation thereto.
[0092] In other embodiments, detection information may be acquired first, and steps S102 and S103 described above may be executed. Then, when it is determined that the detection information meets the target judgment condition, it may be detected whether the vehicle's control lock is in an unlocked state. Subsequently, when it is determined that the vehicle is in an unlocked state and the vehicle speed is less than a preset vehicle speed, a control command is sent to the controller.
[0093] In another embodiment, see Figure 2 , Figure 2 This is a schematic diagram illustrating an application scenario of a vehicle door control method according to an embodiment of this application. In this embodiment, it includes a door handle switch, a controller, a rain sensor, and a wiper controller.
[0094] in, Figure 2In this context, CSA represents the wiper controller, used to receive driver input in non-automatic mode to generate operating signals for the wipers. RLS can represent the rain sensor, used to detect rainfall information in automatic mode and generate operating signals for the wipers based on this information. The operating signals are explained in the example above and will not be elaborated upon further. POD represents the motor, meaning the controller can control the motor to unlock or lock the doors (electric doors). It can also control the central locking system to unlock or lock the doors (centrally locked doors). Finally, it can control the smart door lock module to intelligently unlock or lock the doors (smart electrically unlocked doors).
[0095] Specifically, when the vehicle is in a rain or car wash scenario, the controller will acquire the wiper's operating signal using the aforementioned method to determine the target operating level of the wipers. Then, it will send the target operating level to the door handle switch via LIN or CAN communication. Subsequently, the door handle switch can determine the corresponding target judgment conditions based on the target operating level and the door status, and send a control command when the detection information confirms that the target judgment conditions are met.
[0096] For example, the target judgment condition could be whether the duration for which the capacitance value is less than the target capacitance value is greater than the target duration. Then, the controller can control the door to unlock or lock according to the control command. Specifically, when the target operating position is the first position and the door is in an unlocked or locked state, the target duration T1 in the corresponding target judgment condition can be 300ms; when the target operating position is the second position and the door is in an unlocked or locked state, the target duration T2 in the corresponding target judgment condition can be 500ms; when the target operating position is another position (e.g., the position corresponding to intermittent operation, or the position corresponding to one-time operation), if the door is in a locked state, the target duration T3 in the corresponding target judgment condition can be 150ms; and if the door is in an unlocked state, the target duration T4 in the corresponding target judgment condition can be 200ms.
[0097] Please see Figure 3 , Figure 3 This is a structural block diagram of a vehicle door control device provided in an embodiment of this application. The modules included in the vehicle door control device in this embodiment are used to perform... Figure 1 The steps in the corresponding embodiments. Please refer to the details. Figure 1 as well as Figure 1 The relevant descriptions in the corresponding embodiments are shown below. For ease of explanation, only the parts relevant to this embodiment are shown. See also... Figure 3The door control device 300 may include a detection information acquisition module 310, a target working gear determination module 320, a first target judgment condition determination module 330, and a first control command sending module 340, wherein:
[0098] The detection information acquisition module 310 is used to acquire detection information if the vehicle door is detected to meet preset control conditions.
[0099] The target working level determination module 320 is used to determine the target working level of the wiper device when it is working.
[0100] The first target judgment condition determination module 330 is used to determine the target judgment condition corresponding to the target working gear based on the target working gear.
[0101] The first control command sending module 340 is used to determine that the detection information is generated when the door handle switch detects that someone has touched it, if the detection information meets the target judgment conditions, and to send a control command to the controller; the control command is used to instruct the controller to control the door.
[0102] In one embodiment, the target working gear determination module 320 is further configured to:
[0103] Obtain rainfall information around the vehicle; determine the target working gear corresponding to the rainfall information.
[0104] In one embodiment, the door control device 300 further includes:
[0105] The door status acquisition module is used to obtain the door status of the car doors.
[0106] The second target judgment condition determination module is used to determine the target judgment conditions based on the relationship between the door status, the target working gear and the judgment rules.
[0107] In one embodiment, the detection information includes the capacitance value when the door handle switch is touched; the door control device 300 further includes:
[0108] The first detection information judgment module is used to determine that the detection information meets the target judgment condition if the capacitance value is less than the target capacitance value in the target judgment condition.
[0109] In one embodiment, the detection information includes the capacitance value when the door handle switch is touched; the door control device 300 further includes:
[0110] The duration determination module is used to determine the duration during which the capacitance value is less than the target capacitance value in the target judgment condition.
[0111] The second detection information judgment module is used to determine that the detection information meets the target judgment condition if the duration is longer than the target duration in the target judgment condition.
[0112] In one embodiment, the door control device 300 further includes:
[0113] The third detection information judgment module is used to determine that the detection information does not meet the target judgment conditions if the capacitance value is greater than or equal to the target capacitance value and / or the duration is less than or equal to the target duration.
[0114] The first stop-send module is used to stop sending control commands to the controller.
[0115] In one embodiment, the door control device 300 further includes:
[0116] The historical moment acquisition module is used to acquire the historical moment when the previous detection information met the target judgment condition if the detection information meets the target judgment condition.
[0117] The second stop-send module is used to stop sending control commands to the controller if the time difference between the historical time and the current time is less than a preset time difference.
[0118] The second control command sending module is used to send control commands to the controller if the time difference between the historical time and the current time is greater than or equal to a preset time difference.
[0119] When it is understood that, Figure 3 In the structural block diagram of the door control device shown, each module is used to perform... Figure 1 The steps in the corresponding embodiments, and for Figure 1 The steps in the corresponding embodiments have been explained in detail in the above embodiments. Please refer to them for details. Figure 1 as well as Figure 1 The relevant descriptions in the corresponding embodiments will not be repeated here.
[0120] Figure 4 This is a structural block diagram of a vehicle provided in one embodiment of this application. For example... Figure 4 As shown, the vehicle 400 in this embodiment includes a processor 410, a memory 420, and a computer program 430 stored in the memory 420 and executable on the processor 410, such as a program for a door control method. When the processor 410 executes the computer program 430, it implements the steps in the various embodiments of the door control methods described above, for example... Figure 1 S101 to S104 are shown. Alternatively, the processor 410 implements the above when executing the computer program 430. Figure 3 The functions of each module in the corresponding embodiments, for example, Figure 3 For details on the functions of modules 310 to 340 shown, please refer to [link / reference needed]. Figure 3 The relevant descriptions in the corresponding embodiments.
[0121] For example, the computer program 430 can be divided into one or more modules, one or more of which are stored in the memory 420 and executed by the processor 410 to implement the door control method provided in the embodiments of this application. One or more modules can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program 430 in the vehicle 400. For example, the computer program 430 can implement the door control method provided in the embodiments of this application.
[0122] Vehicle 400 may include, but is not limited to, processor 410 and memory 420. Those skilled in the art will understand that... Figure 4 This is merely an example of vehicle 400 and does not constitute a limitation on vehicle 400. It may include more or fewer components than shown, or combine certain components, or different components. For example, a vehicle may also include input / output devices, network access devices, buses, etc.
[0123] The processor 410 may be a central processing unit, or it may be other general-purpose processors, digital signal processors, application-specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0124] The memory 420 can be an internal storage unit of the vehicle 400, such as a hard drive or memory of the vehicle 400. The memory 420 can also be an external storage device of the vehicle 400, such as a plug-in hard drive, smart memory card, flash memory card, etc., installed on the vehicle 400. Furthermore, the memory 420 can include both internal storage units and external storage devices of the vehicle 400.
[0125] This application provides a computer-readable storage medium storing a computer program, which is executed by a processor using the door control methods described in the above embodiments.
[0126] This application provides a computer program product that, when run on a vehicle, causes the vehicle to execute the door control methods described in the above embodiments.
[0127] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A door control method, characterized in that, Applied to door handle switches, the method includes: If the vehicle door is detected to meet the preset control conditions, detection information is obtained; the detection information includes the capacitance value when the door handle switch is touched. Determine the target operating speed of the windshield wiper system; Determine the target judgment conditions corresponding to the target working gear based on the target working gear; If the detection information meets the target judgment condition, it is determined that the detection information was generated when the door handle switch detected that it was touched by a person, and a control command is sent to the controller; the control command is used to instruct the controller to control the door. The method further includes: Obtain the door status of the vehicle door; the door status includes unlocked state and locked state; Based on the correlation between the door status, the target operating gear, and the judgment rule, the target judgment condition is determined; when the target operating gear is an intermittent gear representing one operation of the wiper device, the target duration corresponding to the unlocked state is greater than the target duration corresponding to the locked state; when the target operating gear is the first gear and the second gear, the target duration corresponding to the unlocked state is equal to the target duration corresponding to the locked state. After determining the target judgment condition corresponding to the target working gear based on the target working gear, the method further includes: The duration during which the capacitance value is less than the target capacitance value in the target judgment condition is recorded; If the duration is greater than the target duration in the target judgment condition, then the detection information is determined to satisfy the target judgment condition.
2. The method according to claim 1, characterized in that, Before acquiring detection information if the vehicle door is detected to meet preset control conditions, the method further includes: If a car door key is detected within a preset range, the vehicle speed is obtained; If the vehicle speed is less than or equal to the preset vehicle speed, then the door is determined to meet the preset control conditions.
3. The method according to claim 1, characterized in that, Determining the target operating setting of the windshield wiper device during operation includes: Obtain rainfall information around the vehicle; The target working gear corresponding to the rainfall information is determined based on the rainfall information.
4. The method according to claim 1, characterized in that, The detection information includes the capacitance value when the door handle switch is touched; After determining the target judgment condition corresponding to the target working gear based on the target working gear, the method further includes: If the capacitance value is less than the target capacitance value in the target judgment condition, then the detection information is determined to meet the target judgment condition.
5. The method according to claim 1, characterized in that, The method further includes: If the capacitance value is greater than or equal to the target capacitance value, and / or the duration is less than or equal to the target duration, then it is determined that the detection information does not meet the target judgment condition. Stop sending the control commands to the controller.
6. The method according to any one of claims 1-5, characterized in that, The method further includes: If the detection information satisfies the target judgment condition, then obtain the historical moment when the previous detection information satisfies the target judgment condition; If the time difference between the historical time and the current time is less than a preset time difference, then the sending of the control command to the controller will stop. If the time difference between the historical time and the current time is greater than or equal to the preset time difference, then the control command is sent to the controller.
7. A vehicle door control device, characterized in that, The device, used in door handle switches, includes: The detection information acquisition module is used to acquire detection information if the vehicle door is detected to meet preset control conditions; the detection information includes the capacitance value when the door handle switch is touched. The target operating level determination module is used to determine the target operating level of the wiper equipment when it is in operation; The first target judgment condition determination module is used to determine the target judgment condition corresponding to the target working gear based on the target working gear. The first control command sending module is used to determine that the detection information was generated when the door handle switch detected that someone touched it, if the detection information meets the target judgment condition, and to send a control command to the controller; the control command is used to instruct the controller to control the door. The device further includes: The door status acquisition module is used to acquire the door status of the door; the door status includes unlocked status and locked status; The second target judgment condition determination module is used to determine the target judgment condition based on the correlation between the door state, the target working gear, and the judgment rule; when the target working gear is an intermittent gear representing one operation of the wiper device, the target duration corresponding to the unlocked state is greater than the target duration corresponding to the locked state; when the target working gear is the first gear and the second gear, the target duration corresponding to the unlocked state is equal to the target duration corresponding to the locked state. After determining the target judgment condition corresponding to the target working gear based on the target working gear, the method further includes: The duration determination module is used to calculate the duration during which the capacitance value is less than the target capacitance value in the target judgment condition. The second detection information judgment module is used to determine that the detection information satisfies the target judgment condition if the duration is greater than the target duration in the target judgment condition.
8. A vehicle comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 6.