CN-121993003-A - Control method of vehicle charging port cover, vehicle and computer program product
Abstract
The application provides a control method of a vehicle charging port cover, a vehicle and a computer program product, wherein the method is applied to the technical field of vehicles and comprises the following steps of identifying the opening and closing state of the vehicle charging port cover after controlling the vehicle charging port cover to be closed in response to a closing signal; and determining a fault handling strategy of the vehicle charging port cover based on the fault reason to control a driving motor of the vehicle charging port cover to execute target reversing action based on the fault handling strategy so as to close the vehicle charging port cover. According to the method, the fault reason of the vehicle charging port cover can be determined under the condition that the vehicle charging port cover fails to normally display and close, so that the problem of abnormal alarm of the vehicle charging port cover is effectively solved according to the corresponding fault processing strategy of the vehicle charging port cover.
Inventors
- ZHANG JUNDE
- LU FAN
- LI ZHE
- Jia Jichuan
Assignees
- 长城汽车股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260323
Claims (10)
- 1. A control method of a vehicle charging port cover, characterized by comprising the steps of: Identifying an open-closed state of the vehicle charging flap after controlling the vehicle charging flap to close in response to the closing signal; under the condition that the opening and closing state is an opening state, determining the effectiveness of the opening state so as to determine the failure reason of the vehicle charging flap according to the effectiveness; And determining a fault processing strategy of the vehicle charging port cover based on the fault reason, and controlling a driving motor of the vehicle charging port cover to execute target reversing action based on the fault processing strategy so as to close the vehicle charging port cover.
- 2. The method of claim 1, wherein the determining the validity of the open state if the open state is an open state comprises: Acquiring an actual opening and closing state of the vehicle charging port cover; under the condition that the actual opening and closing states are consistent with the opening and closing states, determining that the opening state is effective; and under the condition that the actual opening and closing state is inconsistent with the opening and closing state, determining that the opening state is invalid.
- 3. The method of claim 2, wherein said determining a cause of failure of the vehicle charge flap based on the validity comprises: Determining that the failure cause is a stuck failure of the vehicle charging door if the open state is valid; Under the condition that the opening state is invalid, determining that the fault cause is a micro switch fault in response to the fact that the actual opening state is inconsistent with a first opening state fed back by the micro switch; And under the condition that the opening state is invalid, determining that the fault is caused by the feedback switch fault in response to the fact that the actual opening and closing state is inconsistent with the second opening and closing state fed back by the feedback switch of the vehicle charging flap.
- 4. The method of claim 3, wherein the fault handling strategy, in the event that the cause of the fault is a stuck fault in the vehicle charging door, comprises: controlling a driving motor of the vehicle charging port cover to execute the target reversing action so as to open the vehicle charging port cover; Controlling a driving motor of the vehicle charging flap to perform a target normal rotation action in response to a closing signal of the vehicle charging flap so as to close the vehicle charging flap; Detecting the current opening and closing state of the vehicle charging port cover, and controlling the driving motor of the vehicle charging port cover to execute the target reversing action under the condition that the current opening and closing state is still in an opening state until the execution times of the target reversing action reach a first preset time threshold, or controlling the driving motor of the vehicle charging port cover to execute the target forward rotation action after the execution times of the target reversing action reach the first preset time threshold, so as to close the vehicle charging port cover.
- 5. A method according to claim 3, wherein in case the fault cause is a fault of the micro switch, the fault handling strategy comprises: acquiring current electric quantity information of the vehicle; Determining whether a charging demand exists for the vehicle based on the current power information; when the charging requirement exists, responding to an opening signal of the vehicle charging port cover, and controlling a driving motor of the vehicle charging port cover to execute the target reversing action so as to open the vehicle charging port cover; And generating a maintenance prompt of the vehicle charging flap under the condition that the charging requirement does not exist.
- 6. The method of claim 5, wherein the fault handling strategy after opening the vehicle charge flap further comprises: After the vehicle charging is finished, responding to a closing signal of the vehicle charging port cover, and controlling a driving motor of the vehicle to execute target forward rotation so as to close the vehicle charging port cover; And identifying a new opening and closing state of the vehicle charging port cover, and generating a maintenance prompt of the vehicle charging port cover under the condition that the new opening and closing state is still the opening state.
- 7. A method according to claim 3, wherein in case the fault cause is a fault of the feedback switch, the fault handling strategy comprises: Controlling a driving motor of the vehicle to execute the target reversing action in response to an opening signal of the vehicle charging port cover so as to open the vehicle charging port cover; And generating a feedback switch pressing prompt of the vehicle charging port cover until a pressing signal of the feedback switch is detected, and responding to a closing signal of the vehicle charging port cover to control a driving motor of the vehicle to execute target forward rotation so as to close the vehicle charging port cover.
- 8. The method as recited in claim 1, further comprising: storing the times of executing the target reversing action into a preset database to accumulate reversing times; And generating a maintenance prompt of the vehicle charging flap under the condition that the accumulated reversing times are larger than a second preset times threshold value.
- 9. A vehicle comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the method of any one of claims 1 to 8.
- 10. A computer program product, characterized in that the computer program product comprises computer program code which, when run on a computer, causes the computer to perform the method according to any one of claims 1 to 8.
Description
Control method of vehicle charging port cover, vehicle and computer program product Technical Field The present application relates to the field of vehicles, and more particularly to a method of controlling a vehicle charge flap in the field of vehicles, a vehicle, and a computer program product. Background In the related art, when the feedback signal of the vehicle charging port cover is abnormal, if the vehicle charging port cover which should be in a closed state is in an open state, an unclosed early warning is generated to remind a user of safety risk, but an effective fault processing strategy is lacked, and when the vehicle charging port cover is in the open state, the vehicle charging port cover cannot be opened any more no matter how the user operates, so that the user can only process in a mode of searching for professional repair, the actual travel of the user is easy to be influenced, the use experience of the user is not improved, and improvement is needed. Disclosure of Invention The application provides a control method of a vehicle charging cover, a vehicle and a computer program product, wherein the method can identify the opening and closing state of the vehicle charging cover after responding to a closing signal, so that under the condition that the opening and closing state is still in an opening state, the reason for abnormal feedback of the vehicle charging cover is determined, and corresponding fault processing strategies are adopted according to different reasons, so that the problem that the vehicle charging cover cannot be effectively closed is effectively solved, the opening and closing problem of the vehicle charging cover can be effectively processed by a user, and the use experience of the user is improved. In a first aspect, a control method of a vehicle charging port cover is provided, and the control method comprises the steps of identifying an opening and closing state of the vehicle charging port cover after the vehicle charging port cover is controlled to be closed in response to a closing signal, determining validity of the opening state to determine a failure reason of the vehicle charging port cover according to the validity when the opening and closing state is the opening state, and determining a failure processing strategy of the vehicle charging port cover based on the failure reason to control a driving motor of the vehicle charging port cover to execute target reversing action to close the vehicle charging port cover based on the failure processing strategy. Through the technical scheme, the opening and closing state of the vehicle charging port cover after responding to the closing signal can be identified, so that under the condition that the opening and closing state is still in the opening state, the reason that the feedback of the vehicle charging port cover is abnormal is analyzed, and corresponding fault processing strategies are adopted for different reasons, so that the problem that the vehicle charging port cover cannot be effectively closed is effectively solved, the opening and closing problem of the vehicle charging port cover can be effectively processed by a user, and the use experience of the user is improved. With reference to the first aspect, in some possible implementations, determining the validity of the open state when the open-close state is the open state includes acquiring an actual open-close state of the vehicle charging flap, determining that the open state is valid when the actual open-close state is consistent with the open-close state, and determining that the open state is invalid when the actual open-close state is inconsistent with the open-close state. Through the technical scheme, the validity of the opening state identified by the electric signal can be determined by comparing the actual opening and closing state of the vehicle charging flap with the opening and closing state identified by the electric signal, so that the fault reason can be determined according to the validity of the opening state. With reference to the first aspect, in some possible implementation manners, the determining the fault cause of the vehicle charging flap according to the validity includes determining that the fault cause is a stuck fault of the vehicle charging flap when the open state is valid, determining that the fault cause is a micro switch fault in response to the fact that the actual open state is inconsistent with a first open state fed back by the micro switch when the open state is invalid, and determining that the fault cause is a feedback switch fault in response to the fact that the actual open state is inconsistent with a second open state fed back by a feedback switch of the vehicle charging flap when the open state is invalid. Through the technical scheme, the fault reason of the vehicle charging port cover can be determined according to the validity of the opening state identified by the electric signal, the disassembly is not n