Opening cover locking method and device, electronic equipment and vehicle

By detecting the status of the vehicle port cover and controlling its complete closing and locking, the problem of the port cover falling off or displaced due to vibration during driving is solved, and the stability and safety of the port cover are achieved.

CN119843949APending Publication Date: 2025-04-18BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411808537.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

The vehicle cover falls off or displaces due to vibration during driving, affecting the appearance of the vehicle and driving safety.

Method used

By detecting the status of the cover, the port cover motor is controlled to drive the cover to completely close the cover, and the port cover is locked by a self-locking device to prevent falling off or displacement due to vibration.

Benefits of technology

Effectively prevent the mouth cover from being damaged by vibration or collision during vehicle driving, ensuring the stability and safety of the mouth cover.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119843949A_ABST
    Figure CN119843949A_ABST
Patent Text Reader

Abstract

The invention discloses a covering cap locking method and device, electronic equipment and a vehicle, relates to the technical field of vehicle control, and is used for locking a covering cap when the covering cap of the vehicle is closed. The method comprises the steps that when it is detected that a covering cap of a charging port is in a non-completely-closed state, a covering cap motor is controlled to operate to drive the covering cap to be closed to reach the completely-closed state; when it is detected that the covering cap is in a completely closed state, the self-locking device is controlled to lock the covering cap.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to a cover locking method, device, electronic equipment and vehicle. Background Art

[0002] The cover of the vehicle will open and close before and after charging. If the cover is not locked after closing, it may cause appearance gap deviation due to vibration during driving, affecting the overall appearance of the vehicle. It may even fall off or shift due to vibration, which not only affects the appearance of the vehicle, but also may become an obstacle on the road, posing a threat to driving safety.

[0003] Therefore, when the hatch of the vehicle is closed, it is necessary to lock the hatch. Summary of the invention

[0004] The present application provides a cover locking method, device, electronic equipment and vehicle, which are used to lock the cover when the cover of the vehicle is closed.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides a cover locking method, comprising: detecting that the cover of the charging port is in a non-fully closed state, controlling the cover motor to drive the cover to close to a fully closed state; controlling the self-locking device to lock the cover

[0007] The flap locking method provided in the embodiment of the present application controls the flap motor to drive the flap to close to a fully closed state when the flap is in a non-fully closed state and there is still a certain gap between the flap and the charging port, thereby reducing the gap between the flap and the charging port, and then locking the flap through a self-locking device to prevent the flap from falling off or shifting due to vibration during vehicle operation. In other words, the solution provided in the present application can prevent the flap from being damaged due to vibration or collision when the vehicle is running because the flap is not fully closed by driving the flap motor to run.

[0008] In some embodiments, the gap between the cover in a non-fully closed state and the charging port is greater than the gap between the cover in a fully closed state and the charging port.

[0009] In some embodiments, the method further includes: detecting a flap closing instruction, and controlling the flap motor to operate so as to drive the flap to close to a non-fully closed state.

[0010] In some embodiments, detecting a flap closing instruction and controlling the flap motor to operate so as to drive the flap to close to a non-completely closed state comprises: detecting a flap closing instruction and controlling the flap motor to operate based on a first working parameter so as to drive the flap to close to a non-completely closed state;

[0011] Detecting that the cover of the charging port is in a non-fully closed state, controlling the cover motor to operate to drive the cover to close to a fully closed state, including: detecting that the cover is in a non-fully closed state, controlling the cover motor to operate based on a second working parameter to drive the cover to close to a fully closed state.

[0012] In some embodiments, the torque output by the flap motor when operating at the first operating parameter is smaller than the torque output by the flap motor when operating at the second operating parameter.

[0013] In some embodiments, the operating parameters of the flap motor include at least one of the following: input voltage, input current, operating frequency or rotation speed.

[0014] In some embodiments, detecting a flap closing instruction, controlling the flap motor to operate based on a first working parameter to drive the flap to close to a non-completely closed state, includes: detecting a flap closing instruction, controlling the flap motor to operate based on the first working parameter for a first preset time period to drive the flap to close to a non-completely closed state;

[0015] Detecting that the flap is in a non-fully closed state, controlling the flap motor to operate based on a second working parameter to drive the flap to close to a fully closed state, including: detecting that the flap is in a non-fully closed state, controlling the flap motor to operate based on the second working parameter for a second preset time period to drive the flap to close to a fully closed state.

[0016] In some embodiments, the first preset duration is greater than the second preset duration.

[0017] In some embodiments, the method further includes: acquiring a position signal of the flap, the position signal being used to characterize a position state of the flap; and determining that the flap is in a non-fully closed state when the position signal of the flap changes from disconnected to connected.

[0018] In some embodiments, when the position signal of the flap changes from disconnected to connected, it is determined that the flap is in a non-fully closed state, including: when no flap closing instruction is received and the position signal of the flap changes from disconnected to connected, it is determined that the flap is in a non-fully closed state.

[0019] In some embodiments, the method further includes: obtaining an opening angle of the cover relative to the vehicle; and determining that the cover is in a non-fully closed state when the opening angle is within a preset angle range.

[0020] In some embodiments, when the opening angle is within a preset angle range, determining that the flap is in a non-fully closed state includes: when the duration of the opening angle within the preset angle range is greater than a third preset duration, determining that the flap is in a non-fully closed state.

[0021] In some embodiments, the cover motor is controlled to drive the cover to close to a fully closed state. Specifically, when it is detected that the cover of the charging port is in a non-fully closed state for a period longer than a fourth preset period, the cover motor is controlled to drive the cover to close to a fully closed state.

[0022] In the second aspect, an embodiment of the present application provides a flap locking device, including: a flap motor for driving the flap of the charging port to move; a self-locking device for locking the flap to fix the flap in the current position; a control module for controlling the flap motor to drive the flap to close to a fully closed state when it is detected that the flap is in a non-fully closed state; and controlling the self-locking device to lock the flap.

[0023] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein the processor is connected to the memory, and the memory stores computer instructions. When the computer instructions are executed on the electronic device, the electronic device executes the method provided by the first aspect and its possible implementation methods.

[0024] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores computer execution instructions. When the computer execution instructions are executed on a computer, the computer executes the method provided by the first aspect and its possible implementation methods.

[0025] In a fifth aspect, an embodiment of the present application provides a vehicle, comprising the flap locking device provided in the second aspect, or the electronic device provided in the third aspect, or the computer-readable storage medium provided in the fourth aspect.

[0026] In a sixth aspect, an embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed on a computer, the computer executes the method provided by the first aspect and its possible implementation methods.

[0027] The technical effects brought about by any implementation method in the above-mentioned second to sixth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A schematic diagram of a cover in an open state provided in an embodiment of the present application;

[0029] Figure 2A schematic diagram of a cover in a non-fully closed state provided in an embodiment of the present application;

[0030] Figure 3 A schematic diagram of a cover in a fully closed state provided in an embodiment of the present application;

[0031] Figure 4 A schematic diagram of the structure of a charging port provided in an embodiment of the present application;

[0032] Figure 5 A method flow of a cover locking method provided in an embodiment of the present application Figure 1 ;

[0033] Figure 6 A method flow of a cover locking method provided in an embodiment of the present application Figure 2 ;

[0034] Figure 7 An overall flow chart of a cover locking method provided in an embodiment of the present application;

[0035] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0037] In the description of the present invention, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0038] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "plurality" means two or more.

[0039] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be internal communication between two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances. In addition, when describing pipelines or channels, the "connected" and "connected" used in this application have the meaning of conduction. The specific meaning needs to be understood in conjunction with the context.

[0040] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0041] The cover of the vehicle will open and close before and after charging. If the cover is not locked after closing, it may cause appearance gap deviation due to vibration during driving, affecting the overall appearance of the vehicle. It may even fall off or shift due to vibration, which not only affects the appearance of the vehicle, but also may become an obstacle on the road, posing a threat to driving safety.

[0042] The locking of the flap in the related art is usually achieved by the following methods:

[0043] The first method is that the electric actuator of the cover has no self-locking device, and a remote locking structure is added. It should be understood that the remote locking structure is a locking device set at a position far away from the device body or the operating point, which is used to remotely lock the state or position of the device when needed. The remote locking structure is used to cooperate with the locking of the cover of the entire vehicle. This solution requires the addition of a remote locking structure, which increases costs; secondly, the addition of this structure will increase the space required at the charging cover, which is a waste of space in layout; at the same time, when the entire vehicle is not unlocked, the remote locking structure cannot be unlocked and the cover cannot be opened, that is, the charging cover has no emergency function.

[0044] The second method is that the electric actuator has a self-locking device but no remote locking structure. In this case, the actuator has a self-locking device and no remote locking structure will be designed. However, the defect of this structure is that the cover cannot be closed tightly after closing due to the gear clearance of the transmission system, resulting in a certain gap surface difference between the cover and the body, and even causing the cover to tilt to a certain extent. During the operation of the vehicle, it may fall off or shift due to vibration, which not only affects the appearance of the vehicle, but also may become an obstacle on the road, posing a threat to driving safety.

[0045] For example, see Figure 1 and Figure 2 When the cover 11 of the charging port 10 is open, the cover 11 is far away from the charging port 10. When the cover is closed, the gear clearance in the transmission system may be large due to manufacturing error, assembly error or wear after long-term use, such as Figure 2 As shown, the gear clearance will affect the accuracy and stability of the transmission system, resulting in the flap being unable to close accurately, resulting in a certain gap surface difference between the flap and the vehicle body.

[0046] Based on this, the embodiment of the present application provides a method for locking the cover, in response to detecting that the cover of the charging port is in a non-fully closed state, controlling the cover motor to operate to drive the cover to close to a fully closed state; wherein the gap between the cover in the non-fully closed state and the charging port is greater than the gap between the cover in the fully closed state and the charging port. Then, in response to detecting that the cover is in a fully closed state, controlling the self-locking device to lock the cover.

[0047] Exemplary, combined Figure 2 and Figure 3 As shown, Figure 2 The cover state shown can be regarded as a non-fully closed state in the present application, in which the gap between the cover 11 and the charging port 10 is relatively large. Figure 3 As shown, Figure 3 The cover state shown can be regarded as a fully closed state in the present application. In this state, the gap between the cover 11 and the charging port 10 is small, that is, the cover can be accurately closed and locked.

[0048] It can be seen that the flap locking method provided by the present application controls the flap motor to drive the flap to close to a fully closed state when the flap is in a non-fully closed state and there is still a certain gap between the flap and the charging port, so as to reduce the gap between the flap and the charging port, and then lock the flap through the self-locking device to prevent the flap from falling off or shifting due to vibration during the operation of the vehicle. In other words, the solution provided by the present application drives the flap motor to ensure that the gap between the flap and the charging port is small, that is, to ensure that the flap is fully closed, and then locks the flap through the self-locking device, so as to prevent the flap from being damaged due to vibration or collision during the operation of the vehicle.

[0049] In some embodiments, with the development of the automobile industry and the improvement of people's requirements for automobile performance, electric actuators are gradually used in the opening and closing of the flap. The electric actuator controls mechanical movement through electrical signals, converts electrical energy into mechanical energy, and drives the flap to open and close. This method not only improves the convenience of operation, but also increases safety and reliability.

[0050] For example, Figure 4 As shown, the charging port of the vehicle includes a port cover 11 and an electric actuator 12 .

[0051] The structure of the mouth cover 11 generally includes a housing, a locking mechanism, a sealing member, etc. These parts are fixed together by a certain connection method (such as bolts, rivets, etc.) to form a complete mouth cover assembly.

[0052] The electric actuator 12 is usually connected to the cover through components such as a mounting bracket or a connecting plate. This connection enables the electric actuator to drive the mechanical movement of the cover and maintain the stability and reliability of the structure.

[0053] As a feasible implementation method, the electric actuator 12 includes: a cover motor and a self-locking device.

[0054] It should be understood that the electric actuator may also include one or more of a reducer (or transmission device), a sensor, and a control module (or control circuit), and the embodiments of the present application are not limited to this.

[0055] Among them, the cover motor is the core component to realize the opening and closing movement of the cover, the reducer plays the role of deceleration and increasing torque, the sensor is used to detect the status of the charging cover, the control circuit or control module is responsible for receiving instructions and controlling the action of the actuator, and the self-locking device is used to lock the actuator in the current position through mechanical structure or electromagnetic force to prevent it from continuing to rotate or move due to inertia.

[0056] The self-locking device in this application is implemented by relying on mechanical principles as an example for explanation. The basic principle of the self-locking device is to use a specific mechanical structure to lock the mechanical parts (such as valves, valve combinations, etc.) driven by the mouth cover when it is in a certain position, thereby generating sufficient friction or locking force to prevent the mouth cover from moving in this position. Exemplarily, as a feasible implementation method, the self-locking device may include a worm gear mechanism, which can achieve efficient deceleration and self-locking functions through the cooperation of the worm and the worm wheel, based on the helix angle of the worm and the friction coefficient of the tooth surface of the worm wheel.

[0057] When the user presses the charging port switch in the car or sends an opening command through other means (such as a mobile phone application), the control module (or on-board controller) sends an opening command to the electric actuator at the charging port. The motor inside the actuator starts to rotate, and through the action of the reducer, the high-speed rotation of the motor is converted into a low-speed and high-torque output, thereby driving the opening and closing movement of the actuator. When the charging port cover is opened or closed, the internal sensor detects the position and status of the charging port cover and transmits the relevant information back to the control module. The control circuit or control module inside the actuator will feed back its status to the control module to ensure that the action of the charging port cover is consistent with the command. At the same time, the control module is also responsible for detecting the operating status of the actuator and issuing a fault alarm or taking protective measures when necessary.

[0058] It can be seen that the electric actuator can realize the automatic opening and closing of the cover of the charging port, improving the convenience of use.

[0059] In some embodiments, the present application further provides a flap locking device, including: a flap motor, a self-locking device and a control module. The specific operation logic thereof can refer to the above or following embodiments, and the present application will not repeat them here.

[0060] It should be understood that the flap locking method provided in the embodiment of the present application can be applied to the vehicle-mounted controller of the vehicle, can also be applied to the control module of the electric actuator, and can also be applied to the control module of the flap locking device, and the embodiment of the present application does not limit this. For the convenience of description, the following description is made by taking the vehicle-mounted controller of the vehicle as an example.

[0061] For example, see Figure 5 The cover locking method provided in the embodiment of the present application comprises the following steps:

[0062] S101, detecting that the cover of the charging port is in a non-fully closed state, and controlling the cover motor to drive the cover to close to a fully closed state.

[0063] As a feasible implementation manner, the gap between the cover in a non-fully closed state and the charging port is greater than the gap between the cover in a fully closed state and the charging port.

[0064] That is, when the cover is in a non-fully closed state, there is a large gap between it and the charging port. This may be because the driver or passenger may not apply sufficient force when closing the charging port cover, resulting in the cover not being completely locked. Therefore, it is necessary to control the cover motor to drive the cover to close to a fully closed state, so that the gap between the cover and the charging port is smaller when it is in a fully closed state.

[0065] As a feasible implementation method, S101 can be specifically implemented as follows: detecting that the cover of the charging port is in a non-fully closed state, controlling the cover motor to operate with a second working parameter for a second preset time length to drive the cover to close to a fully closed state.

[0066] It should be understood that the second working parameter and the second preset duration are pre-set by the system or the user, and can be set according to needs during actual application, and the embodiments of the present application do not limit this.

[0067] As a feasible implementation method, the second working parameter may include one or more of the following: input voltage, input current, operating frequency or speed of the cover motor, etc., which is not limited in the embodiment of the present application.

[0068] It should be understood that by setting the specific second working parameter, it can be ensured that the flap motor has appropriate force and speed when driving the flap to close. This helps to prevent the flap from being damaged due to excessive force, or from being unable to close completely due to insufficient force. In addition, by setting the second preset time, it can be ensured that the flap motor completes the closing action in sufficient time. This helps to prevent the flap from failing to close completely due to too short a closing time, or from increasing unnecessary energy consumption and wear due to too long a closing time.

[0069] As a feasible implementation method, controlling the cover motor in S101 to drive the cover to close to a fully closed state can be specifically implemented as follows: when it is detected that the cover of the charging port is in a non-fully closed state for a period longer than a fourth preset period, controlling the cover motor to drive the cover to close to a fully closed state.

[0070] It should be understood that the fourth preset duration is preset by the system or user, and can be set according to requirements in actual application, and the embodiment of the present application does not limit this. Exemplarily, as a feasible implementation method, the fourth preset duration can be 300ms.

[0071] When the flap is not completely closed, the flap is closed after a delay of a fourth preset time. The delay design ensures that when the flap is detected to be not completely closed, the system has enough time to confirm, avoiding erroneous operations caused by sensor false alarms or short-term interference. In addition, the delay design can prevent the flap motor from starting immediately when receiving an error signal, thereby reducing motor wear and failure rate caused by frequent starting and stopping, thereby improving user experience.

[0072] S102, controlling the self-locking device to lock the cover.

[0073] When the flap is in a fully closed state, the self-locking device can lock the flap itself or its driven mechanical parts (such as valves, valve combinations, etc.) through a specific mechanical structure, thereby generating sufficient friction or locking force to prevent the flap from moving, thereby achieving the purpose of locking the flap.

[0074] It can be seen that the flap locking method provided by the present application controls the flap motor to drive the flap to close to a fully closed state when the flap is in a non-fully closed state and there is still a certain gap between the flap and the charging port, so as to reduce the gap between the flap and the charging port, and then lock the flap through the self-locking device to prevent the flap from falling off or shifting due to vibration during the operation of the vehicle. In other words, the solution provided by the present application drives the flap motor to ensure that the gap between the flap and the charging port is small, that is, to ensure that the flap is fully closed, and then locks the flap through the self-locking device, so as to prevent the flap from being damaged due to vibration or collision during the operation of the vehicle.

[0075] In some embodiments, the vehicle is usually equipped with an intelligent control system, and the user can trigger the electric closing command of the cover through a button in the vehicle, a touch screen, or a smart device such as a mobile phone APP. When the vehicle controller receives the command, it will immediately execute the electric closing procedure to close the charging cover safely and quickly.

[0076] Since the solution of the present application drives the flap motor to operate so that the flap reaches a fully closed state when the flap is in a non-fully closed state, the solution of the present application can close the flap to a non-fully closed state when receiving a flap closing instruction.

[0077] Specifically, as a feasible implementation method, the method provided in the embodiment of the present application also includes: detecting a flap closing instruction, controlling the flap motor to operate, so as to drive the flap to close to a non-fully closed state.

[0078] When receiving the lid closing command, the controller in the vehicle control unit (VCU) or battery management system (BMS) will immediately recognize the command and prepare to start the lid closing procedure. This command may come from the driver's operation (such as pressing the close button), voice control, mobile phone App remote operation, etc., and this application does not limit this.

[0079] When receiving the cover closing instruction, the controller controls the cover motor to operate and drives the cover to move to a non-fully closed state. It is understandable that there is a certain gap between the cover and the charging port in the non-fully closed state, that is, there is no contact between the cover and the charging port when the motor drives the cover to close, and the cover may only be partially closed, which can reduce the risk of colliding with the charging port and accidentally pinching fingers or other objects.

[0080] In some embodiments, when the cover is controlled to close in two stages, the operating parameters of the two stages of closing can be set separately to achieve different closing effects.

[0081] As a feasible implementation method, the method provided in the embodiment of the present application also includes: detecting a flap closing instruction, controlling the flap motor to operate with a first working parameter to drive the flap to close to a non-fully closed state.

[0082] S101 may be specifically implemented as follows: detecting that the flap is in a non-fully closed state, and controlling the flap motor to operate based on a second operating parameter to drive the flap to close to a fully closed state.

[0083] In this embodiment, the first operating parameter refers to the operating parameter used by the motor when driving the cover to close to a non-fully closed state, which may include one or more of the following: input voltage, input current, operating frequency or speed, etc., and this embodiment of the application does not limit this.

[0084] In this embodiment, the second operating parameter refers to the operating parameter used by the motor when driving the cover from a non-fully closed state to a fully closed state. The second operating parameter may include one or more of the following: input voltage, input current, operating frequency or speed of the cover motor, etc. The embodiment of the present application does not limit this.

[0085] It should be understood that the first operating parameter and the second operating parameter are preset by the system or the user, and can be set according to needs during actual application, and the embodiments of the present application do not limit this.

[0086] By setting the first and second operating parameters, it is possible to ensure that the flap motor has appropriate force and speed when driving the flap to close, which helps to prevent the flap from being damaged due to excessive force or being unable to be completely closed due to insufficient force.

[0087] As a feasible implementation manner, the torque of the flap motor when operating at the first working parameter is smaller than the torque of the flap motor when operating at the second working parameter.

[0088] Exemplarily, as a feasible implementation method, taking the first operating parameter as the first input voltage and the second operating parameter as the second input voltage as an example, the first input voltage is less than the second input voltage. It is understandable that by changing the input voltage, the torque (or speed) of the motor can be affected, thereby affecting the closing speed of the flap. Generally speaking, increasing the voltage will increase the torque of the motor, thereby increasing the closing speed of the flap. Reducing the voltage will reduce the torque of the motor, thereby reducing the closing speed of the flap. That is, when the first input voltage is less than the second input voltage, the operating speed of the flap when the flap motor runs at the first input voltage is less than the operating speed of the flap when the flap motor runs at the second input voltage.

[0089] That is, when receiving the cover closing command and in the initial stage of closing the cover, the motor operates at the first working parameter, so that the cover is closed at a slower closing speed to a non-completely closed state. This stage helps to reduce the impact and noise caused by the rapid closing of the cover, and at the same time gives the system a certain buffer time to better adjust the position and posture of the cover.

[0090] When the cover is closed to a non-fully closed state, that is, when the cover is close to the fully closed position, the motor switches to the second operating parameter to make the cover complete the final closing action at a faster closing speed. The high-speed closing at this stage helps ensure that the cover can fit tightly on the charging port, thereby improving sealing and safety.

[0091] It can be seen that the solution provided in this embodiment can distribute the load of the motor more reasonably by controlling the working torque of the motor in sections after the user issues a command to close the cover. In the first stage, a smaller motor torque is used so that the motor slowly closes the cover to a non-fully closed state, which helps to reduce the wear and failure rate of the motor, and can also avoid the impact and damage caused by the rapid closing of the cover. Then, in the second stage, a larger motor torque is used to close the cover to a fully closed state. The high-speed closing in this stage helps to ensure that the cover can fit tightly on the charging port, thereby improving the sealing and safety.

[0092] In some embodiments, since the time required for closing the first and second stages of the lid is different, corresponding operating times can be set for the first and second stages to avoid damage to the motor due to too long operating time, or failure to close the lid due to insufficient operating time.

[0093] As a feasible implementation method, the above-mentioned detection of the flap closing instruction and controlling the flap motor to operate based on the first working parameter to drive the flap to close to a non-fully closed state includes: detecting the flap closing instruction and controlling the flap motor to operate based on the first working parameter for a first preset time period to drive the flap to close to a non-fully closed state.

[0094] The above-mentioned detecting that the flap is in a non-fully closed state, and controlling the flap motor to operate based on the second working parameter to drive the flap to close to a fully closed state, includes: detecting that the flap is in a non-fully closed state, and controlling the flap motor to operate for a second preset time period based on the second working parameter to drive the flap to close to a fully closed state.

[0095] It should be understood that the first preset time length is the time length that the flap motor takes to close the flap from the open state to the partially closed state, and the second preset time length is the time length that the flap motor takes to close the flap from the partially closed state to the fully closed state. By setting different preset time lengths, precise control of the flap closing process can be achieved. Within the first preset time length, the motor can gradually adjust its output torque and speed to ensure that the flap can smoothly approach the closed state. Within the second preset time length, the motor further adjusts its working state to ensure that the flap can be completely closed and locked.

[0096] In the initial stage of the flap closing, the longer first preset time allows the motor to close at a relatively slow speed, which can effectively reduce the impact of the flap on the vehicle and avoid damage or excessive noise caused by sudden and rapid closing. When the flap is close to being completely closed, the shorter second preset time allows the motor to more accurately control the final position of the flap, ensuring that the flap can be closed and locked accurately.

[0097] As another feasible implementation manner, the first preset time length is greater than the second preset time length.

[0098] In the initial stage of the flap closing (i.e., from the open state to the partially closed state), the longer first preset time length can provide a buffer process for the flap, reduce the impact and vibration caused by rapid closing, and thus protect the flap and its surrounding structures from damage. When the flap is close to the fully closed state, the shorter second preset time length can ensure that the flap completes the closing action quickly and accurately, thereby improving the efficiency of the entire closing process.

[0099] Different application scenarios may require different flap closing speeds and methods. By setting the adjustable first preset time length and second preset time length, different usage requirements can be flexibly adapted.

[0100] For example, in situations where the flap needs to be closed quickly, the second preset time period can be shortened; and in situations where a more stable and safe closing process is required, the first preset time period can be extended.

[0101] It can be seen that in this embodiment, by setting the preset duration of the motor operation, it can be ensured that the flap motor completes the closing action in sufficient time. This helps to avoid the flap failing to close completely due to too short a closing time, or increasing unnecessary energy consumption and wear due to too long a closing time.

[0102] In other embodiments, in some cases, the charging port cover may not be able to close automatically due to a malfunction and needs to be closed manually by the user, or after charging is completed, the user is accustomed to manually closing the charging port cover to avoid further damage to the vehicle or causing other problems.

[0103] Based on this, as a feasible implementation method, please refer to Figure 6 The cover locking method provided in the embodiment of the present application further includes:

[0104] S201, obtaining a position signal of the mouth flap.

[0105] The position signal is used to characterize the position state of the flap.

[0106] The vehicle's charging port is equipped with corresponding sensors to detect the position status of the charging port cover. These sensors can be mechanical, electrical or magnetic induction sensors. When the charging port cover is opened or closed, the sensor will send a corresponding signal to the vehicle controller to determine the position status of the charging port cover.

[0107] For example, as a feasible implementation, the position state of the flap can be determined by the contact between the flap and the sensor. When the flap is in contact with the sensor, the position signal of the flap is on, and it can be determined that the flap is in a non-fully closed state or a fully closed state; when the flap is not in contact with the sensor, the position signal of the flap is off, and it can be determined that the flap is in an open state.

[0108] S202: When the position signal of the flap changes from disconnection to conduction, it is determined that the flap is in a non-fully closed state.

[0109] It should be understood that the state changes experienced by the flap from opening to fully closing should be: open state, non-fully closed state, and fully closed state. When the flap position signal is disconnected, it indicates that the flap is in the open state. When the flap position signal changes from disconnected to connected, it indicates that the flap has only experienced one state change, which is from the open state to the non-fully closed state, and will not directly change to the fully closed state.

[0110] Therefore, when the position signal of the flap changes from being disconnected to being connected, it can be determined that the flap is in a non-completely closed state.

[0111] Because the position signal of the flap will also change from disconnected to connected when the flap is electrically closed, in order to more accurately determine whether the flap is manually closed by the user, as a feasible implementation method, S202 can be specifically implemented as follows: when no flap closing instruction is received and the position signal of the flap changes from disconnected to connected, it is determined that the flap is in a non-fully closed state.

[0112] That is to say, if no instruction to close the flap is received from the user, it indicates that the user has not chosen to close the flap electrically. At this time, the flap position signal changes from disconnected to connected, and it can be determined that the user manually closed the flap to a non-fully closed state.

[0113] It is understandable that when the user manually closes the electric cover, due to the tooth clearance of the mechanical transmission, it is easy to cause the electric cover to not be closed tightly, unable to be locked, and the clearance surface difference is unqualified. If this situation is avoided by changing the structure of the cover, it is relatively cumbersome, time-consuming and costly, and at the same time, the assembly space requirements are high. The solution provided in the embodiment of the present application, after the user manually closes the cover, drives the cover motor to drive the cover to close to a fully closed state, that is, adding secondary closing and locking logic, which can avoid the occurrence of this situation in a relatively short time and at a relatively low cost, and ensure that the cover is in a locked state.

[0114] In other embodiments, the state of the cover can be determined by other means, such as detecting the opening angle of the cover relative to the charging port by an angle sensor, or measuring the distance of the cover relative to a certain position of the charging port by a position measuring device. When the opening angle or distance is within a preset range, it indicates that the charging cover is in a non-fully closed state.

[0115] Exemplarily, as a feasible implementation method, the cover locking method provided in the embodiment of the present application further includes:

[0116] S301. Obtain an opening angle of the cover relative to the vehicle.

[0117] It should be understood that the opening angle of the flap relative to the vehicle can be determined by installing an angle sensor at the flap, or by a panoramic camera installed in the vehicle, etc., and the embodiments of the present application do not limit this.

[0118] S302: When the opening angle is within a preset angle range, determine that the cover is in a non-fully closed state.

[0119] It should be understood that the preset angle range is pre-set, and its upper limit is lower than the angle range when the cover is in an open state, and its lower limit is higher than the angle when the cover is in a fully closed state. In actual application, the size of the preset angle range can be set according to the actual situation of the vehicle, and the embodiment of the present application does not limit this.

[0120] It is understandable that if the flap is fully closed, its opening angle relative to the vehicle should be 0, and if the opening angle is within the preset angle range, it indicates that the flap has been closed, but the flap may be in a non-fully closed state due to incomplete manual operation by the user, external interference (such as wind, etc.) or system failure. Therefore, in this case, it can be determined that the flap is in a non-fully closed state and needs to be further closed to a fully closed state.

[0121] In some embodiments, since the opening angle of the flap relative to the vehicle will continuously change during the opening or closing process, the opening angle may also fall into a preset angle range during the opening or closing process. If the flap is judged to be in a non-fully closed state every time it falls into the preset angle range, it is inconsistent with the actual situation and the flap movement cannot be accurately controlled.

[0122] Based on this, as a feasible implementation method, S302 can be specifically implemented as follows: when the duration of the opening angle being in the preset angle range is greater than a third preset duration, determining that the flap is in a non-fully closed state.

[0123] It should be understood that the third preset duration is pre-set, and the embodiment of the present application does not limit this. Exemplarily, as a feasible implementation method, the third preset duration can be 500ms.

[0124] It is understandable that if the opening angle is within the preset angle range for a long time, it indicates that the flap is not in motion. If the flap is in a non-moving state and the opening angle is within the preset angle range, it may be caused by the user not closing the flap fully after manually closing it or external factors, and the time has passed the third preset time, and the user is unlikely to perform manual operation again. Therefore, it can be determined that the flap is not fully closed and needs to be closed again.

[0125] In some embodiments, see Figure 7 When the flap is in an open state, the flap locking method provided in the embodiment of the present application comprises the following steps:

[0126] S401, determining whether a cover closing instruction is received.

[0127] When the flap closing instruction is received, S402 is executed; when the flap closing instruction is not received, S403 is executed.

[0128] S402, controlling the cover motor to operate for a second preset time period with the first operating parameter.

[0129] The first operating parameter includes at least one of the following: input voltage, input current, operating frequency or rotation speed.

[0130] The flap motor is controlled to operate at a first operating parameter for a first preset time period to drive the flap to close to a partially closed state.

[0131] S403, detecting whether the cover position signal changes from disconnection to conduction.

[0132] If so, it is determined that the cover has reached a non-completely closed state, and S404 is executed.

[0133] S404, controlling the cover motor to operate for a first preset time period with a second operating parameter.

[0134] Control the movement of the flap motor to drive the flap to close to a fully closed state.

[0135] The second operating parameter includes at least one of the following: input voltage, input current, operating frequency or rotation speed. And the torque output by the flap motor when operating at the first operating parameter is less than the torque output by the flap motor when operating at the second operating parameter.

[0136] When the on-board controller detects the normal opening and closing instructions of the electric cover, it performs normal operations. The on-board controller drives the electric cover motor to drive the cover to open and close normally. When the on-board controller does not detect the cover closing signal, and detects that the cover position signal changes from disconnection to conduction, the cover has been closed to the end. The on-board controller then drives the electric cover motor to close the cover, and the cover can be completely closed and locked. At this time, the cover is in a completely closed state.

[0137] S405, controlling the self-locking device to lock the cover.

[0138] In order to solve the problem of locking the end of the electric hatch, the solution in the related art can also add a locking mechanism at the far end or near end of the electric hatch. This mechanism not only occupies the space of the vehicle body, but also requires a certain amount of additional cost.

[0139] The solution of the present application controls the self-locking device to lock the cover. With the help of the self-locking device of the electric actuator, the problem of the cover not being locked, the problem of being in a non-fully closed state, and the problem of gap surface difference can be solved without increasing the space and cost in the vehicle.

[0140] In addition, there are some problems with the electric cover with an external locking mechanism. If the locking mechanism is damaged or fails, the electric cover will not open unless it is opened destructively; or there will be a problem that there is no locking mechanism in the front, and the cover will not lock tightly or cannot be completely closed, and it is very easy for the cover to vibrate or pop open during the driving of the vehicle.

[0141] The solution of the present application locks the flap by controlling the self-locking device. The design of the self-locking device takes safety issues into consideration, allowing the user to manually open the flap under certain conditions (for example, by providing a release mechanism or an unlocking button). The user can open the flap without destroying the locking mechanism. In other words, there will be no problem that the flap can only be opened destructively due to failure of the external locking mechanism.

[0142] The embodiment of the present application can divide the functional modules of the mouth cover locking device or the electronic device according to the above method. For example, the mouth cover locking device or the electronic device can include various functional modules corresponding to the various functional divisions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0143] An embodiment of the present application provides a flap locking device, including: a flap motor, used to drive the flap of the charging port to move; a self-locking device, used to lock the flap so that the flap is fixed in a current position; a control module, used to control the flap motor to drive the flap to close to a fully closed state when it is detected that the flap of the charging port is in a non-fully closed state; the control module is also used to control the self-locking device to lock the flap.

[0144] In some embodiments, a gap between the cover and the charging port in the non-fully closed state is greater than a gap between the cover and the charging port in the fully closed state.

[0145] In some embodiments, the control module is further used to control the flap motor to drive the flap to close to a non-fully closed state when a flap closing instruction is detected.

[0146] In some embodiments, the control module is specifically used to control the cover motor to operate based on the first working parameter to drive the cover to close to a non-fully closed state when a cover closing instruction is detected; the control module is specifically used to control the cover motor to operate based on the second working parameter to drive the cover to close to a fully closed state when it is detected that the cover of the charging port is in a non-fully closed state.

[0147] In some embodiments, the torque output by the flap motor when operating at the first operating parameter is smaller than the torque output by the flap motor when operating at the second operating parameter.

[0148] In some embodiments, the operating parameters of the flap motor include at least one of the following: input voltage, input current, operating frequency or rotation speed.

[0149] In some embodiments, the control module is specifically used to control the cover motor to operate for a first preset time based on a first working parameter to drive the cover to close to a non-fully closed state when a cover closing instruction is detected; the control module is specifically used to control the cover motor to operate for a second preset time based on a second working parameter to drive the cover to close to a fully closed state when it is detected that the cover of the charging port is in a non-fully closed state.

[0150] In some embodiments, the first preset duration is greater than the second preset duration.

[0151] In some embodiments, the flap locking device further includes: an acquisition module for acquiring a position signal of the flap, the position signal being used to characterize the position state of the flap; and a determination module for determining that the flap is in a non-fully closed state when the position signal of the flap changes from disconnected to connected.

[0152] In some embodiments, the determination module is specifically configured to determine that the flap is in a non-fully closed state when no flap closing instruction is received and the flap position signal changes from disconnected to connected.

[0153] In some embodiments, the flap locking device further includes: an acquisition module for acquiring an opening angle of the flap relative to the vehicle; and a determination module for determining that the flap is in a non-fully closed state when the opening angle is within a preset angle range.

[0154] In some embodiments, the determination module is specifically configured to determine that the flap is in a non-fully closed state when the duration of the opening angle being within the preset angle range is greater than a third preset duration.

[0155] In some embodiments, the control port module is specifically used to control the cover motor to drive the cover to close to a fully closed state when it is detected that the cover of the charging port is in a non-fully closed state for a period longer than a fourth preset period.

[0156] Figure 8 The following is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 8 As shown, the electronic device 130 includes but is not limited to: a processor 1301 and a memory 1302 .

[0157] The memory 1302 is used to store executable instructions of the processor 1301. It can be understood that the processor 1301 is configured to execute instructions to implement the noise reduction method for the interior of the vehicle in the above embodiment.

[0158] The processor 1301 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 1302, and calling data stored in the memory 1302, it performs various functions of the electronic device and processes data, thereby controlling the electronic device as a whole. The processor 1301 may include one or more processing modules. Optionally, the processor 1301 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1301.

[0159] The memory 1302 may be used to store software programs and various data. The memory 1302 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one functional module (such as an acquisition unit, a determination module, a processing unit, etc.), etc. In addition, the memory 1302 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0160] The present application also provides a vehicle, comprising the above-mentioned electronic device or flap locking device.

[0161] In some embodiments, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a device, the device executes any of the methods described above.

[0162] In this way, the computer program in the computer program product can be customized according to the specific needs and operating conditions of the device, realizing a personalized control method and improving the adaptability and flexibility of the device control.

[0163] In addition, computer program products can be executed on different devices or systems to achieve cross-platform applicability, provide a unified control method for different types of devices, and improve system integration and interoperability.

[0164] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0165] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for locking a flap, characterized in that: include: Detecting that the cover of the charging port is in a non-fully closed state, controlling the cover motor to operate so as to drive the cover to close to a fully closed state; The self-locking device is controlled to lock the mouth cover.

2. The method according to claim 1, characterized in that The gap between the cover and the charging port in the non-fully closed state is greater than the gap between the cover and the charging port in the fully closed state.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: When a flap closing instruction is detected, the flap motor is controlled to operate so as to drive the flap to close and reach the non-completely closed state.

4. The method according to claim 1 or 2, characterized in that: The method further comprises: Detecting a flap closing instruction, controlling the flap motor to operate based on a first working parameter to drive the flap to close to the non-fully closed state; The method of detecting that the cover of the charging port is in a non-fully closed state and controlling the cover motor to drive the cover to close to a fully closed state includes: It is detected that the flap is in the non-fully closed state, and the flap motor is controlled to operate based on a second working parameter to drive the flap to close and reach the fully closed state.

5. The method according to claim 4, characterized in that The torque output by the flap motor when operating at the first working parameter is smaller than the torque output by the flap motor when operating at the second working parameter.

6. The method according to claim 4 or 5, characterized in that: The operating parameters of the flap motor include at least one of the following: input voltage, input current, operating frequency or rotation speed.

7. The method according to any one of claims 4 to 6, characterized in that: The detecting of the flap closing instruction and controlling the flap motor to operate based on the first working parameter to drive the flap to close to the non-completely closed state includes: Upon detecting the flap closing instruction, controlling the flap motor to operate for a first preset time period based on the first operating parameter to drive the flap to close to the partially closed state; The detecting that the flap is in the non-fully closed state and controlling the flap motor to operate based on a second working parameter to drive the flap to close to the fully closed state includes: It is detected that the flap is in the non-fully closed state, and the flap motor is controlled to operate for a second preset time period based on the second operating parameter to drive the flap to close and reach the fully closed state.

8. The method according to claim 7, characterized in that The first preset time length is greater than the second preset time length.

9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: Acquiring a position signal of the mouth cover, wherein the position signal is used to represent the position state of the mouth cover; When the position signal of the flap changes from being disconnected to being connected, it is determined that the flap is in the non-completely closed state.

10. The method according to claim 9, characterized in that When the position signal of the flap changes from disconnection to conduction, determining that the flap is in the closed state includes: When the flap closing instruction is not received and the flap position signal changes from being disconnected to being connected, it is determined that the flap is in the non-completely closed state.

11. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: Obtaining an opening angle of the cover relative to the vehicle; When it is detected that the opening angle is within the preset angle range, it is determined that the flap is in the non-completely closed state.

12. The method according to claim 11, characterized in that When the opening angle is within a preset angle range, determining that the cover is in the non-completely closed state includes: When it is detected that the time length during which the opening angle is within the preset angle range is greater than a third preset time length, it is determined that the flap is in the non-fully closed state.

13. The method according to any one of claims 1 to 12, characterized in that: The control cover motor is operated to drive the cover to close to a fully closed state, specifically: When it is detected that the time length of the cover of the charging port being in the non-fully closed state is longer than a fourth preset time length, the cover motor is controlled to operate so as to drive the cover to close to the fully closed state.

14. A cover locking device, characterized in that: include: A cover motor, used to drive the cover of the charging port to move; A self-locking device, used to lock the mouth cover so that the mouth cover is fixed in a current position; The control module is used to control the operation of the mouth cover motor to drive the mouth cover to close to the fully closed state when detecting that the mouth cover is in a non-fully closed state; and control the self-locking device to lock the mouth cover.

15. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the processor is connected to the memory, and the memory stores computer instructions. When the computer instructions are executed on the electronic device, the electronic device executes the method according to any one of claims 1 to 13.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 13.

17. A vehicle, characterized in that: It includes the flap locking device as claimed in claim 14, or the electronic device as claimed in claim 15, or the computer-readable storage medium as claimed in claim 16.

18. A computer program product, comprising instructions, characterized in that: When the instructions are executed on a computer, the computer performs the method according to any one of claims 1 to 13.