Initialization method and apparatus for charging port lid, and electronic device and storage medium

By identifying and correcting the position status of the charging port cover and the motor angle position data, the problem of loss or offset of the initialization position of the charging port cover is solved, and the stable initialization and normal operation of the charging port cover is achieved, and the damage to the motor and transmission gear is avoided.

WO2025066447A1PCT designated stage expired Publication Date: 2025-04-03CHINA FAW CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/105862
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-28
Filing Date
2024-07-17
Publication Date
2025-04-03

AI Technical Summary

Technical Problem

During use, the initialization position of the charging port cover may be lost or offset, resulting in an unsatisfactory opening and closing state, which may lead to problems such as lax closing of the charging port cover, burning the motor or damage to the transmission gear.

Method used

A charging port cover initialization method is provided. By identifying the charging port cover position status, it is determined whether the operation state is abnormal. If it is abnormal, the initialization process will be started. This process includes driving the charging port cover to perform an opening and starting or closing action, determining whether the preset limit position has reached, recording position status data, and verifying whether the action status is normal by correcting the motor angle position data.

Benefits of technology

By binding the motor blocked state and the state triggered by the limit switch, the data after the initialization of the charging port cover is obtained, so that the initialized charging port cover is closed and compact, preventing the initialization from being triggered by mistake, controlling the torque and time during the initialization process, and preventing the motor and transmission gear from being damaged.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024105862_03042025_PF_FP_ABST
    Figure CN2024105862_03042025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are an initialization method for a charging port lid, an initialization apparatus for a charging port lid, an initialization system for a charging port lid, an electronic device and a storage medium. The method comprises: acquiring state information for starting initialization of a charging port lid; on the basis of a state for starting initialization of the charging port lid, identifying the position of the charging port lid; driving the charging port lid to make an opening action and / or a closing action, and determining whether an opened state or a closed state of the charging port lid has reached a state of a preset limit position of the charging port lid; and if the state of the preset limit position of the charging port lid has been reached, recording data of the position state of the charging port lid, and using same as control data for the charging port lid. By means of the solution, a stalled state of an electric motor and a triggered state of a limit switch are bound, and initialized data of a charging port lid is acquired, so that the initialized charging port lid is tightly closed.
Need to check novelty before this filing date? Find Prior Art

Description

Charging port cover initialization method, device, electronic device, and storage medium Technical Field

[0001] The present application relates to the field of charging ports, and in particular to a charging port cover initialization method, a charging port cover initialization device, a charging port cover initialization system, an electronic device, and a storage medium. Background Art

[0002] The charging port cover is an indispensable component of electric vehicles. The charging port cover has gradually evolved from the traditional manual opening and closing form to the electric opening and closing form.

[0003] The opening and closing of a power-operated charging port cover is typically controlled by a controller, which controls the opening and closing of the cover, as well as the position of the cover. The cover assembly is typically initialized before leaving the factory to record the opening and closing positions, allowing it to be used directly by the user after installation in the vehicle.

[0004] However, due to the influence of subsequent usage environment, vehicle power supply system, damage to limiting components, etc., the factory initialized position may be lost or offset, resulting in unsatisfactory opening and closing status of the charging port cover, such as the charging port cover is not closed tightly, the motor controlling the charging port cover is burned out, or the gear driving the charging port cover is damaged.

[0005] Therefore, a solution for initializing the charging port cover is needed, so that the charging port cover can be initialized even in the user's hand and the charging port cover can be kept working stably.

[0006] Summary of the Invention

[0007] The object of the present invention is to provide a charging port cover initialization method, a charging port cover initialization device, a charging port cover initialization system, an electronic device and a storage medium, so as to solve at least one of the above-mentioned technical problems.

[0008] The present invention provides the following solutions:

[0009] According to one aspect of the present invention, a method for initializing a charging port cover is provided, the method comprising:

[0010] Identify the position status of the charging port cover and obtain the action status information of the charging port cover;

[0011] Determining whether the operation state of the charging port cover is abnormal;

[0012] If the operation state of the charging port cover is abnormal, initializing the charging port cover is started;

[0013] wherein, driving the charging port cover to open and / or close, and determining whether the charging port cover is in an open or closed state and whether it has reached a preset limit position of the charging port cover;

[0014] If the open state or closed state of the charging port cover does not reach the preset limit position of the charging port cover, the operation state of the charging port cover is abnormal;

[0015] The data of the position status of the charging port cover is recorded for initializing the charging port cover.

[0016] Furthermore, it also includes:

[0017] According to the initialization of the charging port cover being started, the charging port cover enters a waiting-for-initialization state;

[0018] Confirming that the charging port cover enters the waiting-for-initialization state includes confirming that the vehicle is in a non-plugged charging hardline state, the vehicle is in a non-driving mode state, and the vehicle is in a brake-effective state;

[0019] If the confirmation is passed, identifying the person information who initiates the initialization of the charging port cover;

[0020] If the person who starts the initialization of the charging port cover is a person with the preset authority to start the initialization of the charging port cover, then the charging port cover is initialized based on the confirmation and identification that the person who starts the initialization of the charging port cover has the preset authority to start the initialization of the charging port cover after the charging port cover enters the waiting for initialization state.

[0021] Furthermore, the initialization of the charging port cover includes:

[0022] Obtaining the corresponding extreme position status information of the charging port cover when it is opened or closed;

[0023] The step of obtaining a limit position status information packet corresponding to the opening or closing action of the charging port cover, driving the charging port cover to open or close, and determining whether the limit position status corresponding to the opening or closing action of the charging port cover corresponds to the sensor signal status of the charging port cover opening or closing state;

[0024] If the limit position state corresponding to the opening or closing action of the charging port cover corresponds to the limit position signal state of the sensor corresponding to the opening or closing state of the charging port cover, then the motor angular position data that drives the opening or closing action of the charging port cover is recorded as the first motor angular position data.

[0025] Furthermore, it also includes:

[0026] The motor driving the charging port cover to open or close remains blocked;

[0027] According to the locked state of the motor driving the charging port cover to open or close the charging port cover, the rotation angle data of the motor driving the charging port cover in the locked state is obtained as the second motor rotation angle position data;

[0028] Correcting the first motor rotational angle position data according to the second motor rotational angle position data;

[0029] verifying whether the operation state of the charging port cover is abnormal based on the corrected first motor rotation angle position data;

[0030] If the operation state of the charging port cover is normal, then exit the initialization of the charging port cover.

[0031] According to two aspects of the present invention, there is provided a charging port cover initialization system, the charging port cover initialization system comprising: a position module, a drive module and a control module;

[0032] The location module is used to obtain the location information of the charging port cover;

[0033] The driving module is used to drive the opening or closing action of the charging port cover;

[0034] The control module is used to control the opening or closing of the charging port cover and record the position information of the charging port cover;

[0035] The control module sends an instruction to control the opening or closing of the charging port cover;

[0036] The driving module receives data from the control module and drives the opening or closing action of the charging port cover according to the instruction for controlling the opening or closing action of the charging port cover;

[0037] The location module obtains location information of the charging port cover according to the opening or closing action of the charging port cover;

[0038] The position information of the charging port cover includes the limit position of the opening state or the closing state of the charging port cover and the stall position information of the motor driving the opening action or the closing action of the charging port cover;

[0039] The location module sends the location information of the charging port cover;

[0040] The control module receives the position module data, corrects the stalled position information of the motor driving the opening or closing action of the charging port cover, and binds the limit position information of the opening state or the closing state of the charging port cover.

[0041] Furthermore, the charging port cover initialization system further includes: a timing module;

[0042] The timing module is used to detect whether the position state of the charging port cover is stable;

[0043] The timing module detects whether the position state of the charging port cover is stable, including whether the charging port cover reaches the limit position when it is opened or closed and whether the motor driving the opening or closing action of the charging port cover reaches the stall position and exceeds a preset timing threshold.

[0044] If the charging port cover reaches the limit position when it is opened or closed and the motor driving the charging port cover reaches the stall position for more than the preset time threshold, a message is sent that the position state of the charging port cover is stable;

[0045] The control module receives data from the timing module and, based on information indicating that the position of the charging port cover is stable, issues an instruction to terminate the opening or closing action of the charging port cover;

[0046] The control module receives the location information of the charging port cover currently sent by the location module.

[0047] Furthermore, the driving module further includes: a torque control module;

[0048] The torque control module is used to control the torque of the motor that drives the opening or closing action of the charging port cover;

[0049] The control module sends information that the charging port cover has reached its limit position when opened or closed and information that the motor driving the charging port cover to open or close has reached its limit position;

[0050] The torque control module receives the control module data and reduces the torque of the motor that controls the opening or closing action of the charging port cover according to the information that the charging port cover has reached the limit position and the information that the motor that drives the opening or closing action of the charging port cover has reached the limit position.

[0051] According to three aspects of the present invention, a charging port cover initialization device is provided, the charging port cover initialization device comprising:

[0052] An action status acquisition module, used to identify the position status of the charging port cover and obtain action status information of the charging port cover;

[0053] An action state judgment module, used to judge whether the action state of the charging port cover is abnormal;

[0054] an initialization start module, configured to start initialization of the charging port cover if the operation state of the charging port cover is abnormal;

[0055] A limit position determination module, configured to drive the charging port cover to open and / or close, and determine whether the charging port cover is in an open or closed state and whether it has reached a preset limit position of the charging port cover;

[0056] an abnormal state judgment module, configured to determine that the operation state of the charging port cover is abnormal if the opening state or the closing state of the charging port cover does not reach a preset limit position of the charging port cover;

[0057] A status data recording module is used to record data on the position status of the charging port cover for initializing the charging port cover.

[0058] According to four aspects of the present invention, there is provided an electronic device, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0059] The memory stores a computer program, which, when executed by the processor, enables the processor to perform the steps of the charging port cover initialization method.

[0060] According to five aspects of the present invention, a computer-readable storage medium is provided, comprising: a computer program executable by an electronic device is stored therein, and when the computer program runs on the electronic device, the electronic device executes the steps of the charging port cover initialization method.

[0061] Through the above solution, the following beneficial technical effects are achieved:

[0062] This application obtains the data after the charging port cover is initialized by binding the motor stall status and the limit switch triggering status, so that the initialized charging port cover can be closed tightly.

[0063] This application identifies the vehicle status and personnel permissions that can initiate initialization, so that the initialization process is strictly controlled to prevent initialization from being triggered by mistake.

[0064] This application prevents damage to the motor and transmission gears during the initialization process by controlling the torque during the initialization process.

[0065] This application controls the time of the initialization process to prevent the motor from being loaded with current for a long time due to failure of the limit switch, which may cause damage to the motor and transmission gears. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] FIG1 is a flowchart of a charging port cover initialization method provided by one or more embodiments of the present invention.

[0067] FIG2 is a structural diagram of a charging port cover initialization system provided by one or more embodiments of the present invention.

[0068] FIG3 is a structural diagram of a charging port cover initialization device provided by one or more embodiments of the present invention.

[0069] FIG4 is a schematic diagram of a charging port cover according to a specific embodiment of the present invention.

[0070] FIG5 is a schematic diagram of a charging port cover control system according to a specific embodiment of the present invention.

[0071] FIG6 is a block diagram of an electronic device structure of a charging port cover control method provided by one or more embodiments of the present invention.

[0072] Reference numerals:

[0073] 1. Cover base; 2. Cover outer panel; 3. Cover actuator; 4. Cover switch. DETAILED DESCRIPTION

[0074] The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of the present invention.

[0075] FIG1 is a flowchart of a charging port cover initialization method provided by one or more embodiments of the present invention.

[0076] As shown in Figure 1, the charging port cover initialization method includes:

[0077] Identify the position status of the charging port cover and obtain the action status information of the charging port cover;

[0078] Determine whether the charging port cover is operating abnormally;

[0079] If the charging port cover is in an abnormal state, the charging port cover is initialized;

[0080] wherein, driving the charging port cover to open and / or close, determining whether the charging port cover is in an open or closed state and whether it has reached a preset limit position of the charging port cover;

[0081] If the opening state or closing state of the charging port cover does not reach the preset limit position of the charging port cover, the operation state of the charging port cover is abnormal;

[0082] Records the data of the position status of the charging port cover, which is used for initializing the charging port cover.

[0083] Through the above solution, the following beneficial technical effects are achieved:

[0084] This application obtains the data after the charging port cover is initialized by binding the motor stall status and the limit switch triggering status, so that the initialized charging port cover can be closed tightly.

[0085] This application identifies the vehicle status and personnel permissions that can initiate initialization, so that the initialization process is strictly controlled to prevent initialization from being triggered by mistake.

[0086] This application prevents damage to the motor and transmission gears during the initialization process by controlling the torque during the initialization process.

[0087] This application controls the time of the initialization process to prevent the motor from being loaded with current for a long time due to failure of the limit switch, which may cause damage to the motor and transmission gears.

[0088] Specifically, when the charging port cover is in normal operation, driving the charging port cover to open and / or close will reach the preset limit position of the charging port cover. For example, the mechanical hinge of the charging port cover reaches the action limit or is close to the limit. A position sensor (such as a limit switch) is set at the mechanical hinge of the charging port cover. If the charging port cover is opened to the pressure limit switch, it can be determined that the charging port cover is opened to the limit. If the charging port cover is closed to the pressure limit switch, it can be determined that the charging port cover is closed to the limit. At the same time, the corresponding motor rotation angle is recorded, and the position data of the motor angle is bound to control the opening and closing of the charging port cover.

[0089] If the charging port cover is driven to open and / or close but fails to reach the preset limit position of the charging port cover, or if it reaches the preset limit position of the charging port cover but it is still determined that the motor cannot rotate to the preset initialization position, the initialization of the charging port cover is initiated.

[0090] Two working modes can be set, one is the general operation mode and the other is the initialization mode.

[0091] If the initialization mode is entered, the position status of the charging port cover will be identified, for example, whether the charging port cover is completely closed, for example, whether the motor driving the charging port cover has been blocked and cannot push the charging port cover to move, etc.

[0092] Synchronously record the state of the motor when it is stalled and the state of the charging port cover when it is open or closed and reaches the preset limit position of the charging port cover. For example, record the encoder information of the motor when it is stalled and the flip signal of the limit switch when the charging port cover is fully closed, and the corresponding motor rotation angle.

[0093] In this embodiment, it also includes:

[0094] According to the initialization of the charging port cover, the charging port cover enters the waiting for initialization state;

[0095] Confirming that the charging port cover enters the waiting-for-initialization state includes confirming that the vehicle is in a non-plugged charging hardline state, the vehicle is in a non-driving mode state, and the vehicle is in a brake-effective state;

[0096] If the confirmation is passed, the person information who initiated the initialization of the charging port cover is identified;

[0097] If the person who starts the initialization of the charging port cover is a person with the preset authority to start the initialization of the charging port cover, the charging port cover is initialized based on the confirmation that the charging port cover enters the waiting for initialization state and the recognition that the person who starts the initialization of the charging port cover has the preset authority to start the initialization of the charging port cover.

[0098] Specifically, when switching from the current normal operating mode to the initialization mode and initiating the initialization of the charging port cover, it is necessary to first confirm that the vehicle is not plugged into the charging hardwire state, the vehicle is not in driving mode, the vehicle has the brake in effect, and the charging port cover is open to prevent the initialization of the charging port cover from being triggered inadvertently. For example, when the charging port cover is to be initialized, at least the vehicle is not plugged into the charging gun, the vehicle is out of driving mode (for example, the throttle is not effective), the vehicle parking brake is applied or the vehicle is locked from its current position. In addition, the charging port cover is preferably in the open state to facilitate user observation and manual triggering of the preset limit switch located inside the charging port cover or near the charging port as input.

[0099] When a user manually triggers a preset limit switch located inside or near the charging port, the vehicle's onboard cameras are activated to identify the user and confirm their authority. If the user has permission to initiate initialization of the charging port, the vehicle performs the necessary initialization actions, such as self-detection of the limit position and motor rotation angle.

[0100] In this embodiment, initializing the charging cover includes:

[0101] Obtain the corresponding extreme position status information when the charging port cover is opened or closed;

[0102] Obtaining an information packet of the limit position status corresponding to the opening or closing action of the charging port cover, driving the charging port cover to open or close, and determining whether the limit position status corresponding to the opening or closing action of the charging port cover corresponds to the sensor signal status of the charging port cover opening or closing state;

[0103] If the corresponding extreme position state of the charging port cover opening action or closing action corresponds to the extreme position signal state of the sensor corresponding to the charging port cover opening action or closing action, then the motor angular position data driving the charging port cover opening action or closing action is recorded as the first motor angular position data.

[0104] Specifically, when the charging port cover is driven to open or close, such that the charging port cover is opened or closed normally, for example, when the charging port cover is tightly closed, the sensor signal state corresponding to the charging port cover closed state is recorded as the first motor angular position data when the motor drives the charging port cover to open or close in the current state (for example, when the charging port cover cannot be tightly closed).

[0105] For example, the motor rotation angle position data when the charging port is not tightly closed due to the misalignment of the motor encoder data is the first motor rotation angle position data.

[0106] In this embodiment, it also includes:

[0107] The motor that drives the charging port cover to open or close remains stalled;

[0108] According to the stalled state of the motor driving the charging port cover to open or close the charging port cover, the rotation angle data of the motor driving the charging port cover in the stalled state is obtained as the second motor rotation angle position data;

[0109] Correcting the first motor rotational angle position data according to the second motor rotational angle position data;

[0110] Verify whether the charging port cover is operating abnormally based on the calibrated first motor rotation angle position data;

[0111] If the charging port cover is in normal operation, the initialization of the charging port cover is exited.

[0112] Specifically, the second motor's rotational angle position data is acquired by collecting actual rotational angle data with reference to the motor's rotational limit (locked rotor). The first motor's rotational angle position data is corrected based on the deviation between the second motor's rotational angle position data and the first motor's rotational angle position data. The corrected first motor's rotational angle position data is realigned with the limit position data. In other words, by controlling the motor's rotational angle, the charging port cover opens and closes normally to the limit position.

[0113] FIG2 is a structural diagram of a charging port cover initialization system provided by one or more embodiments of the present invention.

[0114] As shown in Figure 2, the charging port cover initialization system includes: a positioning module, a driving module, and a control module;

[0115] Position module, used to obtain the location information of the charging port cover;

[0116] A driving module, used to drive the opening or closing action of the charging port cover;

[0117] A control module, used to control the opening or closing of the charging port cover and record the position information of the charging port cover;

[0118] The control module sends an instruction to control the opening or closing of the charging port cover;

[0119] The driving module receives data from the control module and drives the opening or closing action of the charging port cover according to the instruction for controlling the opening or closing action of the charging port cover;

[0120] The location module obtains the location information of the charging port cover according to the opening or closing action of the charging port cover;

[0121] The position information of the charging port cover includes the limit position of the charging port cover in the open state or closed state and the stall position information of the motor driving the opening action or closing action of the charging port cover;

[0122] The location module sends the location information of the charging port cover;

[0123] The control module receives data from the position module, corrects the stalled position information of the motor that drives the opening or closing action of the charging port cover, and binds the extreme position information of the opening state or the closing state of the charging port cover.

[0124] Specifically, the positioning module includes the limit switch on the charging port cover and the encoder in the motor, which must be controlled to maintain a corresponding relationship. In initialization mode, when the limit switch on the charging port cover triggers a flip signal, the encoder angle becomes the initial motor control data. In normal mode, the motor is then driven to rotate the encoder to the initialization angle, which fully closes or opens the charging port cover.

[0125] The drive module is mainly composed of a motor-driven transmission mechanism. The control module is the vehicle computer or a subsystem of the vehicle computer, which is used to process feedback information from the charging port cover and control whether the charging port cover is opened or closed.

[0126] In this embodiment, the charging port cover initialization system further includes: a timing module;

[0127] A timing module is used to detect whether the position of the charging port cover is stable;

[0128] The timing module detects whether the position state of the charging port cover is stable, including whether the charging port cover reaches the limit position when it is opened or closed and whether the motor driving the opening or closing action of the charging port cover reaches the stall position and exceeds the preset timing threshold.

[0129] If the charging port cover reaches the limit position when it is opened or closed and the motor driving the charging port cover reaches the stall position for more than the preset time threshold, a message is sent that the position state of the charging port cover is stable;

[0130] The control module receives data from the timing module and, based on information indicating that the position of the charging port cover is stable, terminates the opening or closing of the charging port cover.

[0131] The control module receives the location information of the charging port cover sent by the current location module.

[0132] Specifically, setting a timing threshold prevents motor burnout and other potential failures caused by continuous motor operation when initialization fails due to damage to the charging port cover's limit switch or other causes. It also ensures that the charging port cover reaches its limit position and the motor driving it reaches its limit position in a stable state. This ensures that the recorded encoder data is accurate.

[0133] In this embodiment, the driving module further includes: the driving module further includes: a torque control module;

[0134] A torque control module, used to control the torque of the motor that drives the charging port cover to open or close;

[0135] The control module sends information that the charging port cover has reached its limit position and that the motor driving the charging port cover to open or close has reached its limit position;

[0136] The torque control module receives data from the control module and reduces the torque of the motor that controls the opening or closing action of the charging port cover according to information that the charging port cover has reached its limit position and information that the motor that drives the opening or closing action of the charging port cover has reached its limit position.

[0137] Specifically, when it comes to motor stalling, excessive current may burn the motor. For example, the limit switch of the charging port cover is faulty and cannot generate a flip signal, but in the initialization mode, the motor will drive the charging port cover to continuously squeeze the limit switch. The torque control module detects the stalled current and determines whether the motor is stalled based on the motor current and encoder. When it is stalled, the motor current is reduced and the signal of the charging port cover pressing the limit switch is waited for or judged to flip. When it is in a stalled state and presses the limit switch (such as the limit switch), the angle data of the motor is aligned with the open and closed state data of the charging port cover.

[0138] FIG3 is a structural diagram of a charging port cover initialization device provided by one or more embodiments of the present invention.

[0139] The charging port cover initialization device shown in FIG3 includes: the charging port cover initialization device includes: an action state acquisition module, an action state judgment module, an initialization start module, a limit position judgment module, an abnormal state judgment module, and a state data recording module;

[0140] An action status acquisition module is used to identify the position status of the charging port cover and obtain the action status information of the charging port cover;

[0141] An action state judgment module is used to judge whether the action state of the charging port cover is abnormal;

[0142] An initialization start module, configured to start initialization of the charging port cover if the charging port cover is in an abnormal state;

[0143] The limit position determination module is used to drive the charging port cover to open and / or close, and determine whether the charging port cover is open or closed and whether it has reached the preset limit position of the charging port cover;

[0144] an abnormal state judgment module, configured to determine that the operation state of the charging port cover is abnormal if the opening state or the closing state of the charging port cover does not reach the preset limit position of the charging port cover;

[0145] The status data recording module is used to record the data of the position status of the charging port cover for initializing the charging port cover.

[0146] It is worth noting that although the present system only discloses an action state acquisition module, an action state judgment module, an initialization startup module, an extreme position judgment module, an abnormal state judgment module, and a state data recording module, it does not mean that the present device is limited to the above-mentioned basic functional modules. Rather, what the present invention wants to express is that, based on the above-mentioned basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the existing technology to form an infinite number of embodiments or technical solutions. In other words, the present system is open rather than closed. Just because the present embodiment only discloses individual basic functional modules, it cannot be considered that the scope of protection of the claims of the present invention is limited to the above-mentioned basic functional modules.

[0147] FIG4 is a schematic diagram of a charging port cover according to a specific embodiment of the present invention.

[0148] FIG5 is a schematic diagram of a charging port cover control system according to a specific embodiment of the present invention.

[0149] In one embodiment, as shown in Figure 4 , the flap actuator 3 includes a motor that hinges the flap outer panel 2 to the flap base 1. A control system controls the flap actuator 3, driving the flap outer panel 2 to close toward the flap base 1 until the flap switch 4 is pressed. The flap switch 4 is located on the edge of the flap base 1, and the flap outer panel 2 is provided with a protrusion corresponding to the flap switch 4.

[0150] In another specific embodiment, as shown in Figure 5, the charging port cover initialization process mainly includes the participation of components such as the cover button (equivalent to the cover switch 4), the status information module, the button control judgment module, the charging port cover control system, the charging port cover internal control module, and the charging port cover actuator (equivalent to the cover actuator 3).

[0151] The cover button is used to initiate user needs, and is turned on by pressing it to realize the user's operation intention.

[0152] The status information module is used to detect the owner and vehicle status information, and output the results to the key judgment control module as a basis for executing subsequent commands.

[0153] The button control judgment module is used to identify the button pressing status and pressing duration and output subsequent requirements to the charging port cover control system in combination with the feedback information from the status information module.

[0154] The charging port cover control system is used to receive the requirements of the button control judgment module and send instructions to the internal control module of the charging port cover.

[0155] The charging port cover internal control module receives commands from the charging port cover control system and controls the charging port cover actuator to operate. The charging port cover internal control module also includes a storage medium that can store records such as the initial position of the charging port cover during initialization, the position of the cover during operation, and the number of times the cover has been operated.

[0156] The charging port cover actuator executes various instructions sent from the internal control module of the charging port cover and drives the charging port cover to perform corresponding actions.

[0157] The cover button and the vehicle control module can be connected through a hard line, and the vehicle control module and the charging cover actuator can also be connected through a hard line and establish communication. The user inputs the control signal through the cover button, and the control signal is transmitted to the charging cover actuator through the vehicle control unit, and the relevant commands are executed.

[0158] Another specific embodiment addresses the following issues: 1. The charging port cover loses its factory-initialized position, preventing it from opening or closing. 2. The charging port cover does not close properly or does not fully open during use. 3. The charging port cover fails to stay in the open position during opening and closing, directly flipping to the closed position, or fails to stay in the closed position during closing and directly flips back to the open position.

[0159] Implementing self-learning function in the vehicle state solves the above problems:

[0160] Continuously press the cover button and then release it. The vehicle's button control module determines the initialization requirement based on the duration of the button press, and the status information module provides feedback on the current status. When the initialization conditions are met, the vehicle's button control module transmits the initialization requirement signal to the vehicle's charging cover control system. The vehicle's charging cover control system sends an initialization command to the charging cover internal control module, which controls the charging cover actuator to perform the initialization action, complete an opening and closing action, and record and store the fully open and fully closed positions.

[0161] For example, press and hold the cover button for 6-15 seconds, for example, 8 seconds, and then release the switch;

[0162] For example, the status information module feedback information meets the initialization conditions, which must be met: 1. The vehicle owner information must be checked, that is, the person with permission to operate. 2. The vehicle is detected to be stationary and cannot be in driving state. 3. It is detected that there is no charging gun connected.

[0163] For example, when performing the initialization action, after receiving the command, the charging port lid actuator mechanism remains stationary for 200ms (equivalent to lid actuator 3), and is electrically opened. Relying on the mechanical limit of the charging port lid, the actuator detects a stall, records the current position as the fully open position, and records the current potentiometer count value; after the actuator remains stationary for 500ms (the time is optional), it is electrically closed. Relying on the mechanical limit of the charging port lid, the actuator detects a stall, records the current position as the fully closed position, and records the current potentiometer count value.

[0164] To complete an opening and closing action, it is not necessary to complete the entire process of the cover from the fully closed position to the fully open position and then from the fully open position to the fully closed position. It is only necessary to reach the mechanical limit position of the fully open position and the mechanical limit position of the fully closed position and generate a stall to complete the initialization process.

[0165] When initialization is successful, the new fully open and fully closed positions are stored, and the new fully open and fully closed positions are used to overwrite the fully open and fully closed positions initialized last time.

[0166] When initialization fails, the fully open and fully closed positions of this initialization are not stored, and the fully open and fully closed positions of the last initialization are still stored in the memory.

[0167] FIG6 is a block diagram of an electronic device structure of a charging port cover control method provided by one or more embodiments of the present invention.

[0168] As shown in FIG6 , the present application provides an electronic device, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0169] The memory stores a computer program, which, when executed by the processor, enables the processor to perform steps of a charging port cover control method.

[0170] The present application also provides a computer-readable storage medium storing a computer program executable by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of a charging port cover control method.

[0171] The present application also provides a vehicle, comprising:

[0172] An electronic device for implementing the steps of the charging port cover control method;

[0173] a processor, the processor running a program, and executing the steps of the charging port cover control method based on data output by the electronic device when the program is running;

[0174] The storage medium is used to store a program, and when the program is running, the program executes the steps of the charging port cover control method for data output from the electronic device.

[0175] The communication bus mentioned in the electronic device mentioned above may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used in the figure, but this does not mean that there is only one bus or only one type of bus.

[0176] The electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory. The operating system can be any one or more computer operating systems that control electronic devices through processes, such as the Linux operating system, the Unix operating system, the Android operating system, the iOS operating system, or the Windows operating system. In the embodiments of the present invention, the electronic device can be a handheld device such as a smartphone or a tablet computer, or an electronic device such as a desktop computer or a portable computer, which is not particularly limited in the embodiments of the present invention.

[0177] The execution subject of the electronic device control in the embodiment of the present invention can be an electronic device, or a functional module in the electronic device that can call a program and execute the program. The electronic device can obtain the firmware corresponding to the storage medium. The firmware corresponding to the storage medium is provided by the supplier. The firmware corresponding to different storage media can be the same or different, and is not limited here. After the electronic device obtains the firmware corresponding to the storage medium, it can write the firmware corresponding to the storage medium into the storage medium, specifically, burn the firmware corresponding to the storage medium into the storage medium. The process of burning the firmware into the storage medium can be implemented using existing technology and will not be described in detail in the embodiment of the present invention.

[0178] The electronic device can also obtain a reset command corresponding to the storage medium. The reset command corresponding to the storage medium is provided by the supplier. The reset commands corresponding to different storage media can be the same or different, and are not limited here.

[0179] In this case, the storage medium of the electronic device is a storage medium in which the corresponding firmware is written. The electronic device can respond to the reset command corresponding to the storage medium in which the corresponding firmware is written, thereby resetting the storage medium in which the corresponding firmware is written according to the reset command corresponding to the storage medium. The process of resetting the storage medium according to the reset command can be implemented in the existing technology and will not be described in detail in the embodiments of the present invention.

[0180] For the convenience of description, the above devices are described as various units and modules according to their functions. Of course, when implementing this application, the functions of each unit and module can be implemented in the same or multiple software and / or hardware.

[0181] Those skilled in the art will understand that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by those skilled in the art in the art to which the present invention pertains. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with those in the context of the prior art and, unless specifically defined, will not be interpreted in an idealized or overly formal sense.

[0182] For simplicity of description, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because certain steps can be performed in other orders or simultaneously according to the embodiments of the present invention. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0183] Through the description of the above embodiments, it can be seen that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general-purpose hardware platform. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present application or certain parts of the embodiments.

[0184] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A charging cover initialization method, characterized in that: The charging cover initialization method comprises: Identify the position status of the charging port cover and obtain the action status information of the charging port cover; Determining whether the action state of the charging port cover is abnormal; If the action state of the charging port cover is abnormal, initializing the charging port cover is started; wherein, the charging port cover is driven to open and / or close, and the opening state or closing state of the charging port cover is determined, and whether the charging port cover reaches a preset limit position of the charging port cover; If the open state or the closed state of the charging port cover does not reach the preset limit position of the charging port cover, the action state of the charging port cover is abnormal; The data of the position status of the charging cover is recorded for initializing the charging cover.

2. The charging cover initialization method according to claim 1, characterized in that: Also includes: According to starting the initialization of the charging port cover, the charging port cover enters a waiting for initialization state; Confirming that the charging port cover enters the waiting-for-initialization state includes confirming that the vehicle is in a non-plugged charging hardline state, the vehicle is in a non-driving mode state, and the vehicle is in a brake-effective state; If the confirmation is passed, identifying the person information who initiates the initialization of the charging port cover; If the person who starts the initialization of the charging port cover is a person with preset authority to start the initialization of the charging port cover, the charging port cover is initialized based on the confirmation and identification that the person who starts the initialization of the charging port cover has the preset authority to start the initialization of the charging port cover according to the charging port cover entering the waiting for initialization state.

3. The charging cover initialization method according to claim 2, characterized in that: The charging cover initialization includes: Obtaining the corresponding extreme position state information of the charging port cover when the charging port cover is opened or closed; The step of obtaining the limit position state information packet corresponding to the opening action or closing action of the charging port cover, driving the charging port cover to open or close, and determining whether the limit position state corresponding to the opening action or closing action of the charging port cover corresponds to the sensor signal state of the opening state or closing state of the charging port cover; If the extreme position state corresponding to the opening or closing action of the charging port cover corresponds to the extreme position signal state of the sensor of the opening or closing state of the charging port cover, then the motor angular position data driving the opening or closing action of the charging port cover is recorded as the first motor angular position data.

4. The charging cover initialization method according to claim 3, characterized in that: Also includes: The motor driving the charging port cover to open or close remains blocked; According to the stalled state of the motor driving the charging port cover to open or close, the rotation angle data of the motor driving the charging port cover in the stalled state is obtained as the second motor rotation angle position data; Correcting the first motor rotation angle position data according to the second motor rotation angle position data; Verifying whether the action state of the charging port cover is abnormal according to the corrected first motor rotation angle position data; If the action state of the charging port cover is normal, then the initialization of the charging port cover is exited.

5. A charging cover initialization system, characterized in that: The charging port cover initialization system includes: a position module, a drive module and a control module; The location module is used to obtain the location information of the charging port cover; The driving module is used to drive the opening or closing action of the charging port cover; The control module is used to control the opening or closing of the charging port cover and record the position information of the charging port cover; The control module sends an instruction to control the opening or closing of the charging port cover; The driving module receives the data from the control module, and drives the opening or closing action of the charging port cover according to the instruction of controlling the opening or closing action of the charging port cover; The location module obtains location information of the charging port cover according to the opening action or closing action of the charging port cover; The position information of the charging port cover includes the limit position of the opening state or the closing state of the charging port cover and the stall position information of the motor driving the opening action or the closing action of the charging port cover; The location module sends the location information of the charging port cover; The control module receives the position module data, corrects the motor stall position information that drives the opening or closing action of the charging port cover, and binds the limit position information of the opening state or the closing state of the charging port cover.

6. The charging cover initialization system according to claim 5, characterized in that: The charging port cover initialization system further includes: a timing module; The timing module is used to detect whether the position state of the charging port cover is stable; The timing module detects whether the position state of the charging port cover is stable, including whether the charging port cover is opened or closed to the limit position and the motor driving the opening or closing action of the charging port cover reaches the stall position, which exceeds a preset timing threshold. If the charging port cover reaches the limit position when it is opened or closed and the motor driving the charging port cover reaches the stall position when it exceeds the preset timing threshold, the information that the position state of the charging port cover is stable is sent; The control module receives the data from the timing module and, according to the information that the position state of the charging port cover is stable, ends the instruction of the opening action or the closing action of the charging port cover; The control module receives the location information of the charging port cover currently sent by the location module.

7. The charging cover initialization system according to claim 6, characterized in that: The driving module further includes: a torque control module; The torque control module is used to control the torque of the motor that drives the charging port cover to open or close; The control module sends information that the charging port cover has reached an extreme position when opened or closed and information that a motor driving the charging port cover to open or close has reached an extreme position; The torque control module receives the control module data, and reduces the torque of the motor that controls the opening or closing action of the charging port cover according to the information that the charging port cover has reached the limit position and the information that the motor that drives the opening or closing action of the charging port cover has reached the limit position.

8. A charging cover initialization device, characterized in that: The charging cover initialization device comprises: An action state acquisition module, used to identify the position state of the charging port cover and acquire action state information of the charging port cover; An action state judgment module, used to judge whether the action state of the charging port cover is abnormal; An initialization start module, used to start the initialization of the charging port cover if the action state of the charging port cover is abnormal; A limit position judgment module, used to drive the charging port cover to open and / or close, and judge whether the open state or closed state of the charging port cover reaches a preset limit position of the charging port cover; an abnormal state judgment module, configured to determine that the action state of the charging port cover is abnormal if the opening state or the closing state of the charging port cover does not reach the state of the preset limit position of the charging port cover; The status data recording module is used to record the data of the position status of the charging port cover for initializing the charging port cover.

9. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; A computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the charging port cover initialization method according to any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that: include: It stores a computer program that can be executed by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of the charging port cover initialization method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Vehicle covering cap control method and device, vehicle-mounted system and vehicle

    CN112776898A

  • Charging control method, control device and control system

    CN113173096A

  • Interaction method, vehicle and storage medium

    CN115056729A

  • Charging port cover control method, device and equipment and readable storage medium

    CN116255067A

  • Charging port cover initialization method and device, electronic equipment and storage medium

    CN117184249A