Method and device for safely opening vehicle door, vehicle and storage medium
By distinguishing short-circuit faults and normal operation based on the change of door switch status signal, unexpected opening caused by short-circuit internal door switch is avoided, and the safety of the door is improved.
Patent Information
- Application Number
- CN202411367185.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2024-12-06
AI Technical Summary
When the electronic door switch in existing vehicles is short-circuited internally, the door may open unexpectedly, causing safety hazards.
By obtaining the status signal of the door switch, it is determined that it changes from the off state to the on state, and then it is detected whether it changes to the off state again within the preset time. If it changes to the off state, it is determined as a door opening command, otherwise it is determined For a fault, a fault handling strategy is implemented to avoid automatic door opening caused by short circuits.
It effectively avoids unexpected opening caused by short circuit inside the door switch, improves the safety of door opening, and ensures that the door will only be opened when the user operates normally.
Smart Images

Figure CN119078471A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of vehicles, and in particular relates to a method, a device, a vehicle and a storage medium for safely opening a vehicle door. Background Art
[0002] With the development of the automobile industry, the intelligent control level of vehicles is constantly improving. Among them, as the passage for drivers and passengers to enter the vehicle, the opening, closing, locking and unlocking of the door is an important part of improving the safety and performance of the vehicle.
[0003] Most of the existing vehicles use a mechanical door opening method, where the person inside the car pulls the mechanical handle to drive the door lock mechanism to open the door lock and thus open the door. Since this method is less convenient to operate, higher-end vehicles are generally equipped with electronic switches on the doors. The user only needs to press the button of the electronic switch and the door will open automatically, which is very convenient.
[0004] However, the inventor of the present application has found that vehicles equipped with electronic switches have safety problems. When the electronic switch is short-circuited, the door will open unexpectedly, which may cause people to fall, the door will hit pedestrians and other vehicles, and other dangerous situations. Summary of the invention
[0005] In view of this, embodiments of the present invention provide a method, device, vehicle and storage medium for safely opening a vehicle door to avoid dangerous situations caused by door switch failures.
[0006] A first aspect of an embodiment of the present invention provides a method for safely opening a vehicle door, comprising:
[0007] Get the status signal of the door switch;
[0008] If it is determined based on the state signal that the door switch changes from the disconnected state to the connected state, then detecting whether the door switch changes back to the disconnected state within a first preset time thereafter;
[0009] If it is detected that the door switch changes to the off state again within the first preset time thereafter, it is determined that a door opening instruction is received, and the door is controlled to open.
[0010] In combination with the first aspect, in a possible implementation of the first aspect, the method for safely opening a vehicle door further includes:
[0011] If the vehicle door switch is not detected to be changed to the disconnected state again within the first preset time thereafter, the vehicle door is determined to be faulty, and a preset fault handling strategy is executed.
[0012] In combination with the first aspect, in a possible implementation manner of the first aspect, executing a preset fault handling strategy includes:
[0013] Setting the vehicle door to a fault state and providing a fault prompt;
[0014] Wherein, in the fault state, the door remains closed until the door switch changes to the disconnected state again and lasts for a preset time, and then the fault state is released.
[0015] In combination with the first aspect, in a possible implementation manner of the first aspect, executing a preset fault handling strategy further includes:
[0016] Determining whether the safety lock of the vehicle door is in an unlocked state;
[0017] If the safety lock is in an unlocked state, the safety lock is controlled to lock.
[0018] In combination with the first aspect, in a possible implementation of the first aspect, the method for safely opening a vehicle door further includes:
[0019] If it is determined based on the state signal that the door switch changes from the off state to the on state, then detecting whether the time the door switch is in the on state reaches a second preset time; wherein the second preset time is less than the first preset time;
[0020] If the time during which the door switch is in the on state reaches a second preset time, a preset door opening operation guiding function is executed.
[0021] In combination with the first aspect, in a possible implementation of the first aspect, a touch sensor is provided on the door switch;
[0022] The method further comprises:
[0023] If it is determined based on the state signal that the door switch changes from the off state to the on state, determining whether a touch sensing signal at the door switch is received at the same time;
[0024] If the touch sensing signal is received at the same time, it is determined that a door opening instruction is received, and the door is controlled to open.
[0025] In combination with the first aspect, in a possible implementation of the first aspect, a resistor with a preset resistance value is provided on the switch circuit where the door switch is located;
[0026] The method further comprises:
[0027] If it is determined based on the state signal that the door switch changes from the disconnected state to the connected state, the resistance value of the switch circuit is detected and compared with a preset resistance value range;
[0028] If the resistance value is within the preset resistance value range, it is determined that a door opening instruction is received, and the door is controlled to open.
[0029] A second aspect of an embodiment of the present invention provides a device for safely opening a vehicle door, comprising:
[0030] An acquisition module, used to acquire a status signal of a door switch;
[0031] a judgment module, configured to detect whether the door switch changes to the disconnected state again within a first preset time after that if it is determined based on the state signal that the door switch changes from the disconnected state to the connected state;
[0032] The control module is used to determine that a door opening instruction is received and control the door to open if it is detected that the door switch changes to the disconnected state again within a first preset time thereafter.
[0033] In conjunction with the second aspect, in a possible implementation manner of the second aspect, the control module is further configured to:
[0034] If the vehicle door switch is not detected to be changed to the disconnected state again within the first preset time thereafter, the vehicle door is determined to be faulty, and a preset fault handling strategy is executed.
[0035] In conjunction with the second aspect, in a possible implementation manner of the second aspect, the control module is specifically configured to:
[0036] Setting the vehicle door to a fault state and providing a fault prompt;
[0037] Wherein, in the fault state, the door remains closed until the door switch changes to the disconnected state again and lasts for a preset time, and then the fault state is released.
[0038] In conjunction with the second aspect, in a possible implementation manner of the second aspect, the control module is specifically configured to:
[0039] Determining whether the safety lock of the vehicle door is in an unlocked state;
[0040] If the safety lock is in an unlocked state, the safety lock is controlled to lock.
[0041] In conjunction with the second aspect, in a possible implementation manner of the second aspect, the control module is further configured to:
[0042] If it is determined based on the state signal that the door switch changes from the off state to the on state, then detecting whether the time the door switch is in the on state reaches a second preset time; wherein the second preset time is less than the first preset time;
[0043] If the time during which the door switch is in the on state reaches a second preset time, a preset door opening operation guiding function is executed.
[0044] In combination with the second aspect, in a possible implementation of the second aspect, a touch sensor is provided on the door switch;
[0045] The control module is also used for:
[0046] If it is determined based on the state signal that the door switch changes from the off state to the on state, determining whether a touch sensing signal at the door switch is received at the same time;
[0047] If the touch sensing signal is received at the same time, it is determined that a door opening instruction is received, and the door is controlled to open.
[0048] In combination with the second aspect, in a possible implementation of the second aspect, a resistor with a preset resistance value is provided on the switch circuit where the door switch is located;
[0049] The control module is also used for:
[0050] If it is determined based on the state signal that the door switch changes from the disconnected state to the connected state, the resistance value of the switch circuit is detected and compared with a preset resistance value range;
[0051] If the resistance value is within the preset resistance value range, it is determined that a door opening instruction is received, and the door is controlled to open.
[0052] A third aspect of an embodiment of the present invention provides a vehicle, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method in the first aspect or any one of the implementations of the first aspect are implemented.
[0053] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the method in the above-mentioned first aspect or any one of the implementation methods of the first aspect.
[0054] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0055] When the embodiment of the present invention detects that the door switch changes from the disconnected state to the connected state according to the state signal of the door switch, it does not directly control the door to open, but continues to detect whether the door switch changes to the disconnected state again within the first preset time thereafter. If the detection changes to the disconnected state, it is determined that the door opening instruction is received, and the door is controlled to open. Among them, the embodiment of the present invention determines the change of the door switch state through a series of detections of the door switch state, and then, based on the change of the door switch state, it is determined that the switch is pressed and released in time by the person in the car, and it is considered as the door opening instruction. After the switch is turned on due to a short circuit, it will not be actively disconnected, so it is not considered as the door opening instruction. Therefore, it can effectively avoid the automatic opening of the door caused by the internal short circuit of the switch, and improve the safety of the door opening. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0057] Figure 1 This is an example of an application scenario of the method for safely opening a vehicle door provided by an embodiment of the present invention. Figure 1 ;
[0058] Figure 2 is a schematic diagram of the implementation flow of the method for safely opening a vehicle door provided by an embodiment of the present invention;
[0059] Figure 3 This is an example of an application scenario of the method for safely opening a vehicle door provided by an embodiment of the present invention. Figure 2 ;
[0060] Figure 4 This is an example of an application scenario of the method for safely opening a vehicle door provided by an embodiment of the present invention. Figure 3 ;
[0061] Figure 5 is a schematic structural diagram of a vehicle door safety opening device provided by an embodiment of the present invention;
[0062] Figure 6 It is a schematic diagram of the structure of a vehicle provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0063] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0064] In order to illustrate the technical solution of the present invention, a specific embodiment is provided below for illustration.
[0065] The present application is described more clearly below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the effects of the present application, but are not intended to limit the present application in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present application. These all fall within the scope of protection of the present application.
[0066] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0067] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0068] In the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0069] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0070] In addition, the “plurality” mentioned in the embodiments of the present application should be interpreted as two or more.
[0071] First, a brief introduction to the door control system is given.
[0072] Door control systems are an important part of the cabin functionality, providing a better experience for drivers and passengers when entering and exiting the vehicle. Modern doors contain actuators, sensors, lighting, and switch loads that need to be controlled, diagnosed, and protected, all of which are implemented in the door controller.
[0073] The functions of the door control system include:
[0074] Inside door handle: Each door has an inside handle for opening the door from the inside. In an emergency, if the door cannot be opened from the outside, the inside handle can be used to open the door.
[0075] Anti-pinch window regulators: Windows with built-in functional safety can detect and prevent body parts from being pinched when they are raised or lowered. Window regulators are sometimes also available as a separate controller.
[0076] Door locks: Locking or unlocking the driver's side door, the passenger side door and the rear door, including controlling the central lock and (rear) child lock. Another module that controls entry and exit of the vehicle is the door controller.
[0077] Driver's side door button panel: central control device for window, door, door lock and rearview mirror adjustment.
[0078] Mirror adjustment: Four-way movement of the driver and passenger side mirrors, including mirror folding. This feature sometimes exists as a separate control.
[0079] Mirror defrost: Heated defrost in cold weather.
[0080] Electrochromic rearview mirror: Automatically adjusts at night to avoid glare caused by the headlights of vehicles behind.
[0081] Lighting: Ground lighting for illuminating the doors or rearview mirrors when exiting the vehicle at night, interior and rearview mirror ambient lighting, etc.
[0082] Figure 1 Schematic diagram of the application scenario of the method for safely opening a vehicle door provided by an embodiment of the present invention. Figure 1 , the application scenarios of this embodiment are introduced.
[0083] In this embodiment, each door of the vehicle is not only equipped with a manual mechanical handle switch (i.e., the inner door handle), but also equipped with an electronic switch in the form of a button for greater convenience. When the electronic switch is pressed, the door will automatically open. The form and degree of opening the door here can be designed according to needs. For example: after pressing the electronic switch, the door of an ordinary hinged side-opening door or a scissor door will open a gap. The user only needs to push the door lightly to open it. This is done to avoid the door opening too much and colliding with obstacles, causing safety accidents. However, there is no risk of collision for sliding doors, so it can be designed that the door is fully opened after pressing the electronic switch.
[0084] like Figure 1 As shown, the switch circuit where the electronic switch S1 is located is connected to the controller, and the controller here can be a door controller, a body domain controller, etc., which is not limited in this embodiment. When the electronic switch S1 is turned on, the switch circuit is turned on and an electrical signal is transmitted to the controller. In general schemes, when the controller receives this electrical signal, it will be considered that it has received a door opening instruction, and the door lock mechanical mechanism is controlled by sending a control signal to open the door.
[0085] However, when there is a short circuit inside the door switch, an electrical signal can also be transmitted to the controller. The controller cannot distinguish between the door opening command and the electrical signal of the short circuit fault, which may cause the door to open unexpectedly and easily lead to danger.
[0086] To solve this problem, after the controller receives the electrical signal, the embodiment of the present invention further distinguishes whether it is a short circuit fault or a door opening instruction by the state change of the door switch within a period of time after the door switch is turned on. Among them, since the state change of the door switch corresponding to the short circuit fault and the door opening instruction is different, the embodiment of the present invention can accurately distinguish the short circuit fault and the door opening instruction according to the state change of the door switch within a period of time after the door switch is turned on, so that the door can be opened correctly.
[0087] Combine the following Figure 1 For application scenarios, refer to Figure 2 The method for safely opening a vehicle door provided according to an exemplary embodiment of the present application is described. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principle of the present application, and the embodiments of the present application are not limited in this respect. On the contrary, the embodiments of the present application can be applied to any applicable scenario.
[0088] Combine the following Figure 2 As shown, the method of this embodiment is described in detail:
[0089] Step S101, obtaining a status signal of a door switch.
[0090] Since the switch circuit where the electronic switch S1 is located is connected to the controller, when the electronic switch S1 is turned on, the switch circuit is turned on and transmits an electrical signal to the controller. At this time, the controller determines that the state of the door switch is turned on. When the electronic switch S1 is turned off, the controller cannot receive this electrical signal. At this time, the controller determines that the state of the door switch is turned off. Therefore, obtaining the state signal of the door switch is actually to determine whether the electrical signal of the switch circuit being turned on is received.
[0091] Step S102: if it is determined based on the state signal that the door switch changes from the disconnected state to the connected state, then within a first preset time thereafter, it is detected whether the door switch changes back to the disconnected state.
[0092] In this embodiment, the correct operation of the user to open the door is to press the electronic switch S1 and then release it. Therefore, the door switch state change corresponding to the door opening instruction should be: changing from the disconnected state to the connected state, and then changing back to the disconnected state within the first preset time.
[0093] If the electronic switch S1 is short-circuited internally, it will generally not recover in a short time. The corresponding door switch state change should be: from the disconnected state to the connected state, and last for a period of time.
[0094] Therefore, by reasonably setting the first preset time, these two situations can be distinguished. Here, the specific value of the first preset time is not limited. Exemplarily, the first preset time is set to 1 minute in this embodiment. Of course, those skilled in the art can set it shorter or longer as needed. In this embodiment, the timing starts from the change of the door switch state from the disconnected state to the connected state. If it changes to the disconnected state again within one minute, it is considered to be a door opening instruction, otherwise it is considered to be a short circuit fault.
[0095] Step S103: If it is detected that the door switch changes to the off state again within the first preset time, it is determined that a door opening instruction is received, and the door is controlled to open.
[0096] Here, the door lock mechanism can be any type of electric lock such as a tongue spring door lock, a hook spring door lock, and a card plate door lock, and this embodiment does not limit it. When the controller determines that it is a door opening instruction and eliminates the short circuit fault, it will send a control signal to the motor of the door lock mechanism, and the motor controls the door lock mechanism to operate and open the door.
[0097] It can be seen that when the embodiment of the present invention detects that the state of the door switch changes from the disconnected state to the connected state, it does not directly control the door to open, but detects whether the door switch changes to the disconnected state again within the first preset time thereafter. If it changes to the disconnected state, it is determined that the door opening instruction is received and the door is controlled to open. Among them, through further detection, only when the person in the car presses the switch and releases it in time will it be considered as a door opening instruction. After the switch is turned on due to a short circuit, it will not be actively disconnected, so it is not considered as a door opening instruction. Therefore, the embodiment of the present invention can effectively avoid the automatic opening of the door caused by the internal short circuit of the switch, thereby improving the safety of the door opening.
[0098] The above embodiment describes how to accurately distinguish between a door opening instruction and a short circuit fault. Optionally, in one of the following embodiments, when determining a door fault, a more detailed short circuit fault handling strategy is also provided to promptly handle the short circuit fault and ensure subsequent safety after confirming that a short circuit fault has occurred.
[0099] In this embodiment, the method for safely opening the vehicle door further includes:
[0100] If the door switch is not detected to be in the disconnected state again within the first preset time thereafter, it is determined that there is a door fault, and a preset fault handling strategy is executed.
[0101] As a possible implementation method, execute the preset fault handling strategy, including:
[0102] Set the door to a fault state and give a fault prompt;
[0103] Among them, in the fault state, the door remains closed until the door switch changes to the open state again and lasts for a preset time, and then the fault state is released.
[0104] In combination with the above embodiment, the door switch is a hard-wired on-off switch, and the controller detects the connection status of the switch to determine whether to execute the door opening action. When the controller detects that the switch has changed from disconnected-connected-disconnected, it is considered that the switch is normal and functions normally, and the door opening action is executed. When the controller detects that the switch changes from disconnected-connected, and the connection time exceeds 60s, it is considered that a short circuit fault has occurred in the switch, and the door is set to a fault state. The request signal of the switch is not responded, and the door remains closed. At the same time, the user is reminded: Please confirm whether there is a fault in the door switch. At this time, the user can open the door through the emergency handle of the door. The user can also stop the car and operate the switch to confirm whether there is a fault. After confirming that the door is faulty, the vehicle can be driven to a nearby repair shop for repair.
[0105] In some cases, the short circuit fault of the door may be automatically restored. In this case, in this embodiment, after 60 seconds, if the switch is detected to be in the disconnected state again, the door opening action is still not performed. Instead, after the state signal changes to the disconnected state again and lasts for a preset time, the fault state is first released, and after the switch changes from disconnected to connected to disconnected state next time, the switch command is normally responded to. In this way, the door is prevented from opening unexpectedly when the short circuit fault is automatically restored.
[0106] As a possible implementation method, executing a preset fault handling strategy also includes:
[0107] Determine whether the door's safety lock is in unlocked state;
[0108] If the safety lock is in unlocked state, the safety lock is controlled to lock.
[0109] The safety lock is a forced door locking program designed to protect passengers. When the safety lock is opened to lock the door, the internal handle and switch of the door will be temporarily invalid, and the door cannot be opened by the internal handle and switch. After a short circuit fault occurs, there may also be a continuous change in the on-off state of the switch caused by the short circuit fault in a short time. That is, after the controller detects the door fault, the short circuit fault automatically recovers, the controller releases the fault state, and then a short circuit occurs and recovers quickly, causing the switch to be disconnected-connected-disconnected in a short time. At this time, the controller will mistakenly think that it is a door opening instruction, thereby unexpectedly opening the door. To solve this problem, in this embodiment, as long as a short circuit fault is detected, the safety lock is controlled to lock. When the safety lock is locked, the door can only be opened by unlocking it first, and the door cannot be opened without unlocking it. Therefore, only when the user needs to open the door, the door is manually unlocked first, and then the switch is pressed. The controller receives the disconnection-connection-disconnection state change of the switch and opens the door, further avoiding the danger of unexpected door opening.
[0110] It is worth noting that this embodiment does not consider the situation where the first short circuit fault directly causes the switch to be disconnected-connected-disconnected in a short period of time, which generally does not occur.
[0111] As a possible implementation method, the method for safely opening the door also includes:
[0112] If it is determined based on the state signal that the door switch changes from the off state to the on state, then it is detected whether the time the door switch is in the on state reaches a second preset time; wherein the second preset time is less than the first preset time, for example, the second preset time can be set to 2s;
[0113] If the time when the door switch is in the on state reaches a second preset time, the preset door opening operation guidance function is executed.
[0114] In this embodiment, considering that the door does not move during the user's pressing process, the user may not let go, resulting in the user being unable to open the door, affecting the user experience. Even if the user presses the switch for more than 60 seconds, it may trigger the short-circuit fault determination of the door. In this embodiment, after detecting that the user presses the switch for more than 2 seconds, the controller sends a long-time pressing signal to the vehicle controller, such as the multimedia controller, and the multimedia controller controls the vehicle's multimedia screen, speakers and other components to perform the preset door opening operation guidance function. For example, the speaker is driven to broadcast: Please let go, the door can be opened.
[0115] The overall logic of this embodiment is: if the duration of the on state does not reach the second preset time of 2s, that is, if the door switch is detected to be off again within the first preset time (60s), the door will be opened. If the duration of the on state reaches 2s, a release prompt is given. After the release prompt, if the door switch is detected to be off again within the time period from the 2nd to the 60th second, the door will still be opened. Thus, the purpose of prompting the door under normal conditions is achieved. Only when the duration of the on state exceeds 60s will it be determined that the door is in a short circuit fault.
[0116] In the above embodiments, no other devices are added, and only the state change of the door switch is determined by the state signal of the door switch to distinguish the door opening command from the short circuit fault. It can be seen from the above embodiments that it takes a certain amount of time to distinguish the door opening command from the short circuit fault, that is, it can only be judged after waiting for 60 seconds. In addition, if the user keeps pressing the switch without letting go, it is also necessary to wait for the user to let go before the door can be opened. Although safety is improved, there is an obvious delay in opening the door, which to a certain extent affects the user's evaluation of the vehicle's reaction speed performance.
[0117] In the following embodiments, the present invention can realize the instant discrimination function by improving the hardware of the electronic switch.
[0118] For example, in Figure 3 In one embodiment shown, a touch sensor may be provided on the door switch S1. Then the method further includes:
[0119] If it is determined based on the state signal that the door switch changes from the off state to the on state, then determining whether a touch sensing signal from the door switch is received at the same time;
[0120] If the touch sensing signal is received at the same time, it is directly determined that the door opening instruction is received, and the door is controlled to open without detecting whether the state signal changes to the disconnected state again.
[0121] A touch sensor, also called a tactile sensor, is sensitive to touch or pressure and is a sensor used to detect when an object is in contact or close to it. It usually works by detecting changes in the capacitance or resistance of the touch interface, or by detecting the reflection of sound waves. The working principle of a touch sensor is very similar to that of a switch: when it is touched or approached, the circuit inside the sensor is closed and causes current to flow. When the contact is released, the circuit is disconnected and no current flows in the circuit. The commonly used touch sensors on the market are mainly capacitive touch sensors and resistive touch sensors. There are also other types such as infrared and ultrasonic touch.
[0122] In this embodiment, a touch sensor is integrated on the switch button, and the switch still adopts a conventional push switch form. When the user presses the switch, the button drives the conductive rubber to move, and the conductive rubber contact is connected with the circuit board contact, which determines that the switch is pressed successfully. The touch sensor of the switch receives the touch signal at the same time, determines that the switch is operated, and can realize the door-related actions. When the controller detects that the switch contact is in the on state, but does not detect the touch signal of the touch sensor, the door will not be opened. It can be considered that a short circuit fault has occurred, and the user will be reminded: the door opening switch is faulty, please confirm in time. At this time, the user can open the door through the emergency handle of the door. In this way, there is no need to detect whether the door switch has changed to the off state again, and the door opening instruction and the short circuit fault can be directly distinguished, and the automatic opening of the door caused by the internal short circuit can be quickly eliminated.
[0123] Of course, the strategy for detecting changes in the door switch can still be retained. On the one hand, when the strategy of the switch and touch sensor cannot recognize the door opening instruction, the strategy of detecting changes in the door switch can be further used to reconfirm the short circuit fault. On the other hand, for the scenario where the user uses other objects instead of fingers to press the switch, the strategy of the switch and touch sensor will not recognize the door opening instruction. At this time, the strategy of detecting changes in the door switch can be used to identify the door opening instruction to avoid mistaking this scenario for a short circuit fault, thereby generating an erroneous broadcast. In other words, in this scenario, if the switch and touch sensor recognize the door opening instruction, they can react quickly and open the door. If the switch and touch sensor cannot recognize the door opening instruction, a door switch change detection will be performed to further distinguish between the door opening instruction and the short circuit fault.
[0124] For example, in Figure 4 In one embodiment shown, instant discrimination can also be achieved through a switch built-in resistor + switch dual-circuit hard-wire design.
[0125] The method further comprises:
[0126] If it is determined based on the state signal that the door switch changes from the disconnected state to the connected state, the resistance value of the switch circuit is detected and compared with the preset resistance value;
[0127] It is determined whether the door opening command is received based on the comparison result. If the above resistance value is within the preset resistance value range, it is determined that the door opening command is received, and the door is controlled to open without detecting whether the status signal changes to the disconnected state again.
[0128] Since the door switch is connected in series with a resistor R (this embodiment does not limit the value of the resistance. For example, here, the resistance of the resistor R is set to 1kΩ), when the switch circuit is turned on, the controller recognizes the resistance signal. When the resistance is within the specified range, it is considered that the switch is pressed, and the door lock mechanism is driven to open the door. When the power and ground of the switch are in a short-circuit state, the output resistance value is 0, and the controller does not respond. The switch is designed with two contacts S1+S2 in series. Pressing will only be effective when the two contacts are turned on at the same time, which can avoid the problem of accidental door opening caused by a short circuit of a group of contacts.
[0129] The above embodiments mainly provide three ways to distinguish between door opening instructions and short circuit faults, including: (1) a strategy for distinguishing according to the change of switch state; (2) a dual contact strategy by integrating a touch sensor on the switch; (3) a hard-wire design strategy of switch built-in resistance + switch dual circuit. These three methods can be used alone in the car to achieve automatic recognition by the system when there is an internal short circuit in the door switch, and the door will not be opened to avoid danger. These three methods can also be combined to form a composite strategy, such as a composite strategy of strategy one and strategy two, or a composite strategy of strategy one and strategy three, etc., so as to further improve the safety of the door and avoid automatic opening of the door caused by an internal short circuit in the switch.
[0130] In addition, the above-mentioned method for safely opening the door can also be linked with the safety protection function of the door control system to further improve the safety of the door.
[0131] For example, in one embodiment, when the controller detects that the switch has changed from off-on-off, it considers that the switch is normal and functions normally, and executes the door opening action. Before executing the door opening action, the controller can determine whether there are pedestrians, vehicles or other obstacles on the door side. If so, the door is temporarily prohibited from opening, and the door is opened after it is safe.
[0132] Here, the present embodiment does not limit the method for judging whether there are pedestrians, vehicles or other obstacles on the side of the car door. For example, the vehicle and pedestrian conditions on the side and rear of the vehicle can be monitored by the camera installed on the vehicle, and combined with the road where the vehicle is located and the conditions of the vehicles and pedestrians behind, it can be judged whether the vehicle can open the door safely, and a voice prompt can be given. When it is judged to be dangerous, the door can be locked, or the door opening range can be limited to avoid accidents caused by opening the door, so as to achieve the purpose of safely opening the door. At the same time, the warning unit set on the door switch can emit light and flash to provide a visual reminder to the passengers. This makes it safer to open the door from the inside and prevents traffic accidents.
[0133] In another embodiment, the opening amplitude of the vehicle door can be adaptively adjusted to further improve the safety of the vehicle door.
[0134] In this embodiment, when the door is in the initial state, after pressing the door switch, the user can set the degree of opening of the door, such as fully open, half open, or open a gap.
[0135] When the controller detects that the switch is disconnected and connected, and the connection time exceeds 60s, it is considered that a short circuit fault has occurred in the switch. After the door is set to a fault state for the first time, the door opening amplitude is adjusted at the same time. For example, the current opening amplitude is detected. If the current opening amplitude is greater than the preset amplitude threshold, the opening amplitude is adjusted to below the amplitude threshold. Even if the subsequent short circuit fault recovers automatically, the amplitude threshold will not be adjusted back to the original value, which can further avoid danger when opening the door.
[0136] However, the controller can retain the originally set opening range in the form of historical values. After the user has checked the door, eliminated the fault and confirmed safety, the opening range can be restored to the original value or a new value can be set through the vehicle system.
[0137] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean 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 embodiment of the present invention.
[0138] Figure 5 is a schematic diagram of the structure of a vehicle door safety opening device 50 provided in an embodiment of the present invention. Figure 5 As shown, the device comprises:
[0139] An acquisition module 51 is used to acquire a state signal of a door switch;
[0140] The judging module 52 is used for detecting whether the door switch changes to the disconnected state again within a first preset time after that if it is determined based on the state signal that the door switch changes from the disconnected state to the connected state;
[0141] The control module 53 is used to determine that a door opening instruction is received and control the door to open if it is detected that the door switch changes to the disconnected state again within the first preset time.
[0142] In a possible implementation, the control module 53 is further configured to:
[0143] If the door switch is not detected to be in the disconnected state again within the first preset time thereafter, it is determined that there is a door fault, and a preset fault handling strategy is executed.
[0144] In a possible implementation, the control module 53 is specifically configured to:
[0145] Set the door to a fault state and give a fault prompt;
[0146] Among them, in the fault state, the door remains closed until the door switch changes to the open state again and lasts for a preset time, and then the fault state is released.
[0147] In a possible implementation, the control module 53 is specifically configured to:
[0148] Determine whether the door's safety lock is in unlocked state;
[0149] If the safety lock is in unlocked state, the safety lock is controlled to lock.
[0150] In a possible implementation, the control module 53 is further configured to:
[0151] If it is determined based on the state signal that the door switch changes from the off state to the on state, then detecting whether the time the door switch is in the on state reaches a second preset time; wherein the second preset time is less than the first preset time;
[0152] If the time when the door switch is in the on state reaches a second preset time, the preset door opening operation guidance function is executed.
[0153] In a possible implementation, a touch sensor is provided on the door switch;
[0154] The control module 53 is also used for:
[0155] If it is determined based on the state signal that the door switch changes from the off state to the on state, then determining whether a touch sensing signal from the door switch is received at the same time;
[0156] If the touch sensing signal is received at the same time, it is determined that the door opening instruction is received, and the door is controlled to open without detecting whether the state signal changes to the disconnected state again.
[0157] In a possible implementation, a resistor with a preset resistance value is provided on the switch circuit where the door switch is located;
[0158] The control module 53 is also used for:
[0159] If it is determined based on the state signal that the door switch changes from the disconnected state to the connected state, the resistance value of the switch circuit is detected and compared with the preset resistance value;
[0160] It is determined whether the door opening command is received based on the comparison result. If the above resistance value is within the preset resistance value range, it is determined that the door opening command is received, and the door is controlled to open without detecting whether the status signal changes to the disconnected state again.
[0161] When the embodiment of the present invention detects that the state of the door switch changes from the disconnected state to the connected state, it does not directly control the door to open, but detects whether the door switch changes to the disconnected state again within the first preset time thereafter. If it changes to the disconnected state, it is determined that the door opening instruction is received, and the door is controlled to open. Among them, through further detection, only when the person in the car presses the switch and releases it in time, it will be considered as a door opening instruction. After the switch is turned on due to a short circuit, it will not be actively disconnected, so it is not considered as a door opening instruction. Therefore, the embodiment of the present invention can effectively avoid the automatic opening of the door caused by the internal short circuit of the switch, thereby improving the safety of the door opening.
[0162] Figure 6 FIG. 6 is a schematic diagram of a vehicle 60 provided in one embodiment of the present invention. Figure 6 As shown, the vehicle 60 of this embodiment includes: a processor 61, a memory 62, and a computer program 63 stored in the memory 62 and executable on the processor 61, such as a door safety opening program. When the processor 61 executes the computer program 63, the steps in the above-mentioned embodiments of the door safety opening method are implemented, such as Figure 1 Alternatively, when the processor 61 executes the computer program 63, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 5 The functions of modules 51 to 53 are shown.
[0163] Exemplarily, the computer program 63 may be divided into one or more modules / units, which are stored in the memory 62 and executed by the processor 61 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 63 in the vehicle 60. For example, the computer program 63 may be divided into an acquisition module 51, a judgment module 52, and a control module 53 (modules in a virtual device), and the specific functions of each module are as follows:
[0164] An acquisition module 51 is used to acquire a state signal of a door switch;
[0165] The judging module 52 is used for detecting whether the door switch changes to the disconnected state again within a first preset time after that if it is determined based on the state signal that the door switch changes from the disconnected state to the connected state;
[0166] The control module 53 is used to determine that a door opening instruction is received and control the door to open if it is detected that the door switch changes to the disconnected state again within the first preset time.
[0167] The vehicle 60 may include, but is not limited to, a processor 61 and a memory 62. Those skilled in the art will appreciate that Figure 6 It is only an example of the vehicle 60 and does not constitute a limitation of the vehicle 60. The vehicle 60 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the vehicle 60 may also include input and output devices, network access devices, buses, etc.
[0168] The processor 61 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0169] The memory 62 may be an internal storage unit of the vehicle 60, such as a hard disk or memory of the vehicle 60. The memory 62 may also be an external storage device of the vehicle 60, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the vehicle 60. Further, the memory 62 may include both an internal storage unit and an external storage device of the vehicle 60. The memory 62 is used to store the computer program and other programs and data required by the vehicle 60. The memory 62 may also be used to temporarily store data that has been output or is to be output.
[0170] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0171] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0172] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0173] In the embodiments provided by the present invention, it should be understood that the disclosed devices / vehicles and methods can be implemented in other ways. For example, the device / vehicle embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0174] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0175] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0176] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0177] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for safely opening a vehicle door, characterized in that: include: Get the status signal of the door switch; If it is determined based on the state signal that the door switch changes from the disconnected state to the connected state, then detecting whether the door switch changes back to the disconnected state within a first preset time thereafter; If it is detected that the door switch changes to the off state again within the first preset time thereafter, it is determined that a door opening instruction is received, and the door is controlled to open.
2. The method for safely opening a vehicle door as claimed in claim 1, characterized in that: The method further comprises: If the vehicle door switch is not detected to be changed to the disconnected state again within the first preset time thereafter, the vehicle door is determined to be faulty, and a preset fault handling strategy is executed.
3. The method for safely opening a vehicle door as claimed in claim 2, characterized in that: The executing of the preset fault handling strategy includes: Setting the vehicle door to a fault state and providing a fault prompt; Wherein, in the fault state, the door remains closed until the door switch changes to the disconnected state again and lasts for a preset time, and then the fault state is released.
4. The method for safely opening a vehicle door as claimed in claim 3, characterized in that: The executing of the preset fault handling strategy also includes: Determining whether the safety lock of the vehicle door is in an unlocked state; If the safety lock is in an unlocked state, the safety lock is controlled to lock.
5. The method for safely opening a vehicle door as claimed in claim 1, characterized in that: The method further comprises: If it is determined based on the state signal that the door switch changes from the off state to the on state, then detecting whether the time the door switch is in the on state reaches a second preset time; wherein the second preset time is less than the first preset time; If the time during which the door switch is in the on state reaches the second preset time, the preset door opening operation guidance function is executed.
6. The method for safely opening a vehicle door according to any one of claims 1 to 5, characterized in that: The door switch is provided with a touch sensor; The method further comprises: If it is determined based on the state signal that the door switch changes from the off state to the on state, determining whether a touch sensing signal at the door switch is received at the same time; If the touch sensing signal is received at the same time, it is determined that a door opening instruction is received, and the door is controlled to open.
7. The method for safely opening a vehicle door according to any one of claims 1 to 5, characterized in that: A resistor with a preset resistance value is provided on the switch circuit where the door switch is located; The method further comprises: If it is determined based on the state signal that the door switch changes from the disconnected state to the connected state, the resistance value of the switch circuit is detected and compared with a preset resistance value range; If the resistance value is within the preset resistance value range, it is determined that a door opening instruction is received, and the door is controlled to open.
8. A device for safely opening a vehicle door, characterized in that: include: An acquisition module, used to acquire a status signal of a door switch; a judgment module, configured to detect whether the door switch changes to the disconnected state again within a first preset time after that if it is determined based on the state signal that the door switch changes from the disconnected state to the connected state; The control module is used to determine that a door opening instruction is received and control the door to open if it is detected that the door switch changes to the disconnected state again within a first preset time thereafter.
9. 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, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
