Self-calibration method and device for vehicle charging port cover, control equipment and storage medium
By detecting the phase current and moving step length of the charging port cover, the fully open and closed position of the charging port cover is determined, and the self-calibration of the charging port cover is achieved, which solves the problem of position offset and improves the user experience.
Patent Information
- Application Number
- CN202311514920.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-13
- Publication Date
- 2025-05-13
AI Technical Summary
The existing automatic opening and closing charging port cover cannot solve the problem of the position of the charging port cover being offset due to accidental interference, which causes the charging port cover to be unable to fully open and close, which cannot meet user needs, and reduces user experience.
By moving the charging port cover in the direction of opening and closing, and detecting whether the phase current is greater than the preset current threshold, determining the fully open and closed position of the charging port cover, comparing the moving step with the preset standard step, and determining it as a self-calibration step if it meets the requirements, thereby realizing the self-calibration of the charging port cover.
It realizes self-calibration of the charging port cover for automotive purposes, ensuring that the charging port cover can be automatically adjusted when the position is offset, ensuring that the charging port cover is fully opened and closed, and improving user experience.
Smart Images

Figure CN119981580A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of automatic control technology, and in particular relates to a self-calibration method, device, control equipment and storage medium for a vehicle charging port cover. Background Art
[0002] At present, automatically opening and closing charging port covers have been widely used in electric vehicles. The automatic opening and closing design simplifies the mechanical structure. In specific operations, users only need to press an operation button or provide a corresponding signal to achieve automatic opening and closing of the charging port cover, which provides users with a more convenient charging experience.
[0003] The existing automatically opening and closing charging port cover only has the basic functions of automatic opening and closing, and cannot solve the problem of the charging port cover position displacement due to accidental interference. For example, the car suddenly loses power, the opening and closing actuator of the charging port cover is in low-power sleep mode, or the charging port cover is pushed or collided by external force, causing the charging port cover to shift or lose its position. Ultimately, it is difficult to achieve complete opening and closing of the charging port cover, thereby failing to meet user needs and reducing user experience. Summary of the invention
[0004] The purpose of the present invention is to provide a self-calibration method, device, control equipment and storage medium for a vehicle charging port cover, aiming to solve the problem that the vehicle charging port cover cannot be self-calibrated when the charging port cover is offset due to the inability of the prior art to provide an effective self-calibration method for the vehicle charging port cover.
[0005] In a first aspect, the present invention provides a self-calibration method for a vehicle charging port cover, the method comprising the following steps:
[0006] Moving the charging port cover toward the opening direction and detecting whether the phase current of the charging port cover is greater than a preset current threshold;
[0007] When the current detected is greater than the preset current threshold, the charging port cover is stopped from moving, the current position of the charging port cover is determined as a fully open position, and the fully open position is maintained for a preset time;
[0008] Moving the charging port cover in a closing direction and detecting whether a phase current of the charging port cover is greater than a preset current threshold;
[0009] When the current detected is greater than the preset current threshold, the charging port cover is stopped from moving, and the current position of the charging port cover is determined as a fully closed position;
[0010] The moving step length between the fully open position and the fully closed position is compared with a preset standard step length. If the comparison result meets the preset requirements, the moving step length is determined as a self-calibration step length to complete the self-calibration of the charging port cover.
[0011] In some embodiments, the step of comparing the moving step length between the fully open position and the fully closed position with a preset standard step length, and if the comparison result meets the preset requirements, determining the moving step length as the self-calibration step length comprises:
[0012] The moving step length between the fully open position and the fully closed position is subtracted from the preset standard step length, and if the difference is within a preset range, the moving step length is determined as the self-calibration step length.
[0013] In some embodiments, if the comparison result meets the preset requirement, after the step of determining the moving step length as the self-calibration step length, the method further includes:
[0014] When the current position of the charging port cover is lost, the charging port cover is moved in a closing direction, and a phase current of the charging port cover is detected to be greater than the preset current threshold;
[0015] When it is detected that the phase current of the charging port cover is greater than the preset current threshold, the current position of the charging port cover is set as the fully closed position of the charging port cover.
[0016] In a second aspect, the present invention provides a method for opening a vehicle charging port cover, the method comprising the following steps:
[0017] Obtaining the current position of the charging port cover, and confirming whether the current position of the charging port cover is a fully closed position;
[0018] When the current position of the charging port cover is the fully closed position, moving the charging port cover in an opening direction and detecting a moving step length of the charging port cover;
[0019] If the moving step length of the charging port cover is equal to the self-calibration step length, the movement of the charging port cover is stopped, and the self-calibration step length is obtained by any of the self-calibration methods described above.
[0020] In some embodiments, when the current position of the charging port cover is not the fully closed position, the method further includes:
[0021] Moving the charging port cover toward a closing direction, and detecting whether a phase current of the charging port cover is greater than a preset current threshold;
[0022] When it is detected that the phase current of the charging port cover is greater than the preset current threshold, setting the current position of the charging port cover to a fully closed position of the charging port cover;
[0023] The charging port cover is moved in an opening direction and a moving step length of the charging port cover is detected. If the moving step length of the charging port cover is equal to the self-calibration step length, the moving of the charging port cover is stopped.
[0024] In a third aspect, the present invention provides a self-calibration device for a vehicle charging port cover, the device comprising:
[0025] a first current detection unit, configured to move the charging port cover toward an opening direction and detect whether a phase current of the charging port cover is greater than a preset current threshold;
[0026] A first position determination unit, configured to stop moving the charging port cover when detecting that the current is greater than the preset current threshold, determine the current position of the charging port cover as a fully open position, and maintain the fully open position for a preset time;
[0027] a second current detection unit, configured to move the charging port cover toward a closing direction and detect whether a phase current of the charging port cover is greater than a preset current threshold;
[0028] A second position determination unit, configured to stop moving the charging port cover and determine the current position of the charging port cover as a fully closed position when detecting that the current is greater than the preset current threshold; and
[0029] The self-calibration unit is used to compare the moving step length between the fully open position and the fully closed position with a preset standard step length. If the comparison result meets the preset requirements, the moving step length is determined as the self-calibration step length to complete the self-calibration of the charging port cover.
[0030] In some embodiments, the self-calibration device further comprises:
[0031] a third current detection unit, configured to move the charging port cover toward a closing direction when the current position of the charging port cover is lost, and detect whether a phase current of the charging port cover is greater than a preset current threshold; and
[0032] The third position determining unit is configured to set the current position of the charging port cover as the fully closed position of the charging port cover when it is detected that the phase current of the charging port cover is greater than the preset current threshold.
[0033] In a fourth aspect, the present invention provides a device for opening a vehicle charging port cover, the device comprising:
[0034] A position confirmation unit, used to obtain the current position of the charging port cover and confirm whether the current position of the charging port cover is a fully closed position;
[0035] a cover opening unit, configured to move the charging port cover in an opening direction and detect a moving step length of the charging port cover when the current position of the charging port cover is the fully closed position; and
[0036] A movement stopping unit is used to stop moving the charging port cover if the movement step length of the charging port cover is equal to the self-calibration step length, and the self-calibration step length is obtained by the above-mentioned self-calibration device.
[0037] In a fifth aspect, the present invention further provides a vehicle-mounted control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-described method when executing the computer program.
[0038] In a sixth aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described above are implemented.
[0039] When the present invention performs self-calibration on the vehicle charging port cover, the charging port cover is moved in the opening direction and the phase current of the charging port cover is detected to be greater than a preset current threshold. When it is detected that the current is greater than the preset current threshold, the charging port cover is stopped from being moved, and the current position of the charging port cover is determined as a fully open position. The fully open position is maintained for a preset time. Thereafter, the charging port cover is moved in the closing direction and the phase current of the charging port cover is detected to be greater than the preset current threshold. When it is detected that the current is greater than the preset current threshold, the charging port cover is stopped from being moved, and the current position of the charging port cover is determined as a fully closed position. The moving step length between the fully open position and the fully closed position is compared with the preset standard step length. If the comparison result meets the preset requirements, the moving step length is determined as the self-calibration step length, thereby realizing the self-calibration of the vehicle charging port cover and providing a basis for the automatic opening and closing of the vehicle charging port cover. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 1 is a flow chart of a self-calibration method for a vehicle charging port cover provided in Embodiment 1 of the present invention;
[0041] Figure 2 is a flow chart of a self-calibration method for a vehicle charging port cover provided in Embodiment 2 of the present invention;
[0042] Figure 3 1 is a flow chart of a method for opening a vehicle charging port cover provided in Embodiment 3 of the present invention;
[0043] Figure 4 is a structural schematic diagram of a self-calibration device for a vehicle charging port cover provided in a fourth embodiment of the present invention;
[0044] Figure 51 is a schematic diagram of the structure of the opening device of the vehicle charging port cover provided in the fifth embodiment of the present invention;
[0045] Figure 6 It is a structural diagram of the vehicle-mounted control device provided in Example 6 of the present invention. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0047] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections. And the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, the singular forms "one", "an" and "the" are intended to include plural forms unless the context clearly indicates otherwise. The terms "first", "second" and similar words do not indicate any order, quantity or importance, but are only used to distinguish different components. "Connected" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships, and when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0048] In order to keep the following description of the embodiments of the present invention clear and concise, detailed descriptions of some known functions and components are omitted in this specification.
[0049] The specific implementation of the present invention is described in detail below in conjunction with specific embodiments:
[0050] Embodiment 1:
[0051] Figure 1 The implementation process of the self-calibration method of the vehicle charging port cover provided in the first embodiment of the present invention is shown. For the convenience of explanation, only the part related to the embodiment of the present invention is shown, which is described in detail as follows:
[0052] In step S101 , the charging port cover is moved toward an opening direction and a phase current of the charging port cover is detected to determine whether it is greater than a preset current threshold.
[0053] The embodiments of the present invention are applicable to vehicles with charging ports, such as electric vehicles, and specifically, to vehicle-mounted control devices. The charging port cover is used to cover the charging port for protection. The charging port cover is moved by electric drive to realize the opening and closing of the charging port cover. The phase current of the charging port cover is the phase current of the electric drive device that drives the charging port cover to move. After receiving an instruction or request for self-calibration of the vehicle charging port cover, the charging port cover is moved in the opening direction of the charging port cover, and the phase current of the charging port cover is detected in real time to see whether it is greater than a preset current threshold.
[0054] In step S102, when it is detected that the current is greater than the preset current threshold, the movement of the charging port cover is stopped, and the current position of the charging port cover is determined as a fully open position, and the fully open position is maintained for a preset time.
[0055] In an embodiment of the present invention, during the process of moving the charging port cover in the opening direction, if the phase current of the charging port cover is not greater than the preset current threshold, it indicates that the charging port cover has not yet moved to the fully open position. At this time, the electric drive device continues to drive and move the charging port cover. When it is detected that the current is greater than the preset current threshold, it indicates that the charging port cover has been moved to the fully open position and should not continue to move in the opening direction. At this time, the movement of the charging port cover is stopped, and the current position of the charging port cover is determined as the fully open position, and the fully open position is maintained for a preset time to confirm that the current position is the fully open position. In a preferred embodiment, the preset time is 2 seconds to accurately confirm the fully open position.
[0056] In step S103 , the charging port cover is moved toward the closing direction and a phase current of the charging port cover is detected to determine whether it is greater than a preset current threshold.
[0057] In an embodiment of the present invention, after the fully open position is determined, the charging port cover is moved toward the closing direction of the charging port cover, and during the movement, it is detected in real time whether the phase current of the charging port cover is greater than the aforementioned preset current threshold.
[0058] In step S104, when it is detected that the current is greater than the preset current threshold, the movement of the charging port cover is stopped, and the current position of the charging port cover is determined as the fully closed position.
[0059] In the embodiment of the present invention, during the process of moving the charging port cover in the closing direction, if the phase current of the charging port cover is not greater than the preset current threshold, it indicates that the charging port cover has not yet moved to the fully closed position. At this time, the electric drive device continues to drive and move the charging port cover. When it is detected that the current is greater than the preset current threshold, it indicates that the charging port cover has been moved to the fully closed position and should not continue to move in the closing direction. At this time, the movement of the charging port cover is stopped, and the current position of the charging port cover is determined as the fully closed position.
[0060] In step S105, the moving step length between the fully open position and the fully closed position is compared with a preset standard step length. If the comparison result meets the preset requirements, the moving step length is determined as the self-calibration step length to complete the self-calibration of the charging port cover.
[0061] In the embodiment of the present invention, the vehicle or the vehicle-mounted control device pre-stores the standard step length between the start-stop position and the fully closed position of the charging port cover under normal or standard conditions, as well as the allowable error between the standard step length in actual conditions, or the preset requirements that should be met when comparing the two step lengths. After determining the fully open position and the fully closed position of the charging port cover, the moving step length between the fully open position and the fully closed position is obtained, and the obtained moving step length is compared with the preset standard step length. If the comparison result meets the preset requirements, the moving step length is determined as the self-calibration step length, thereby completing the self-calibration of the charging port cover.
[0062] In a specific embodiment, when the moving step length between the fully open position and the fully closed position is compared with a preset standard step length, if the comparison result meets the preset requirements, the moving step length is determined as a self-calibration step length, and the moving step length between the fully open position and the fully closed position is subtracted from the preset standard step length. If the difference is within a preset range, the moving step length is determined as the self-calibration step length, thereby simplifying the self-calibration process of the charging port cover.
[0063] When the embodiment of the present invention performs self-calibration on the vehicle charging port cover, the charging port cover is moved in the opening direction and the phase current of the charging port cover is detected to be greater than a preset current threshold. When it is detected that the current is greater than the preset current threshold, the movement of the charging port cover is stopped, and the current position of the charging port cover is determined as a fully open position. The fully open position is maintained for a preset period of time. Thereafter, the charging port cover is moved in the closing direction and the phase current of the charging port cover is detected to be greater than a preset current threshold. When it is detected that the current is greater than the preset current threshold, the movement of the charging port cover is stopped, and the current position of the charging port cover is determined as a fully closed position. The moving step between the fully open position and the fully closed position is compared with the preset standard step. If the comparison result meets the preset requirements, the moving step is determined as the self-calibration step, thereby realizing self-calibration of the vehicle charging port cover and providing a basis for automatic opening and closing of the vehicle charging port cover.
[0064] Embodiment 2:
[0065] Figure 2 The implementation process of the self-calibration method of the vehicle charging port cover provided by the second embodiment of the present invention is shown. For the convenience of explanation, only the part related to the embodiment of the present invention is shown, which is described in detail as follows:
[0066] In step S201 , the charging port cover is moved toward an opening direction and a phase current of the charging port cover is detected to determine whether it is greater than a preset current threshold.
[0067] In step S202, when it is detected that the current is greater than the preset current threshold, the movement of the charging port cover is stopped, and the current position of the charging port cover is determined as a fully open position, and the fully open position is maintained for a preset time.
[0068] In step S203, the charging port cover is moved toward the closing direction and a phase current of the charging port cover is detected to determine whether it is greater than a preset current threshold.
[0069] In step S204, when it is detected that the current is greater than the preset current threshold, the movement of the charging port cover is stopped, and the current position of the charging port cover is determined as the fully closed position.
[0070] In step S205, the moving step length between the fully open position and the fully closed position is compared with a preset standard step length. If the comparison result meets the preset requirements, the moving step length is determined as the self-calibration step length to complete the self-calibration of the charging port cover.
[0071] In the embodiment of the present invention, the implementation of steps S201 to S205 is the same as that of steps S101 to S105 in the first embodiment, and will not be described in detail herein.
[0072] In step S206, when the current position of the charging port cover is lost, the charging port cover is moved in a closing direction, and it is detected whether the phase current of the charging port cover is greater than a preset current threshold.
[0073] In an embodiment of the present invention, when the charging port cover is powered off, pushed by external force or collided, making it impossible to locate the current position of the charging port cover, that is, when the current position of the charging port cover is lost, it is necessary to reset the fully closed position of the charging port cover so that the charging port cover can be opened from the fully closed position to the fully open position. At this time, the charging port cover is moved in the closing direction, and the phase current of the charging port cover is detected to see whether it is greater than the preset current threshold.
[0074] In step S207, when it is detected that the phase current of the charging port cover is greater than the preset current threshold, the current position of the charging port cover is set as the fully closed position of the charging port cover.
[0075] In an embodiment of the present invention, when the current position of the charging port cover is lost, the charging port cover is moved in the closing direction, and it is detected whether the phase current of the charging port cover is greater than the preset current threshold. In the process of moving the charging port cover in the closing direction, if the phase current of the charging port cover is not greater than the preset current threshold, it indicates that the charging port cover has not yet moved to the fully closed position. At this time, the electric drive device continues to drive and move the charging port cover. When it is detected that the current is greater than the preset current threshold, it indicates that the charging port cover has been moved to the fully closed position and should not continue to move in the closing direction. At this time, the movement of the charging port cover is stopped, and the current position of the charging port cover is determined as the fully closed position. That is to say, the fully closed position of the charging port cover has been reset at this time, so that when the charging port cover needs to be opened, the charging port cover can be opened based on the fully closed position and the self-calibration step length, thereby improving the success rate of opening the charging port cover.
[0076] Embodiment three:
[0077] Figure 3 The implementation process of the method for opening the vehicle charging port cover provided by the third embodiment of the present invention is shown. For the convenience of description, only the part related to the embodiment of the present invention is shown, which is described in detail as follows:
[0078] In step S301, the current position of the charging port cover is obtained to confirm whether the current position of the charging port cover is a fully closed position.
[0079] The embodiment of the present invention is applicable to a vehicle having a charging port, for example, an electric vehicle, and specifically, to a vehicle-mounted control device. The charging port cover is used to cover the charging port for protection, and the charging port cover is moved by electric drive to realize opening and closing of the charging port cover. After receiving an instruction or request to open the vehicle charging port cover, it is confirmed whether the current position of the charging port cover is a fully closed position.
[0080] In step S302, when the current position of the charging port cover is the fully closed position, the charging port cover is moved in the opening direction and the moving step length of the charging port cover is detected.
[0081] In step S303, if the moving step length of the charging port cover is equal to the self-calibration step length, the movement of the charging port cover is stopped.
[0082] In the embodiment of the present invention, when the charging port cover is opened, when the current position of the charging port cover is the fully closed position, the charging port cover is moved in the opening direction, and the moving step length of the charging port cover is detected. If the moving step length of the charging port cover is equal to the self-calibration step length, it indicates that the charging port cover has been fully opened and reached the fully open position. At this time, the movement of the charging port cover is stopped, thereby realizing the opening of the charging port cover, wherein the self-calibration step length is obtained by the self-calibration method in the above-mentioned embodiment 1 or 2. In this way, the automatic opening of the charging port cover is realized based on the self-calibration step length and the fully closed position, simplifying the opening control process of the charging port cover.
[0083] In another embodiment, when the current position of the charging port cover is not the fully closed position, it indicates that the current position of the charging port cover is lost, and the vehicle-mounted control device cannot locate the current position of the charging port cover. At this time, the charging port cover is moved in the closing direction, and the phase current of the charging port cover is detected to be greater than the preset current threshold. When it is detected that the phase current of the charging port cover is greater than the preset current threshold, the current position of the charging port cover is set to the fully closed position of the charging port cover, and the charging port cover is moved in the opening direction and the moving step length of the charging port cover is detected. If the moving step length of the charging port cover is equal to the self-calibration step length, the movement of the charging port cover is stopped. In this way, when receiving the charging port cover opening instruction, if the current position of the charging port cover is lost, the fully closed position can be reset, and then the charging port cover can be automatically and accurately opened based on the self-calibration step length and the reset fully closed position, thereby improving the opening efficiency of the charging port cover.
[0084] In another embodiment, when an instruction or request to close the charging port cover is received, the charging port cover is moved in the closing direction, and it is detected whether the phase current of the charging port cover is greater than a preset current threshold. When it is detected that the phase current of the charging port cover is greater than the preset current threshold, it indicates that the charging port cover has reached the fully closed position, confirming that the charging port cover is closed, thereby completing the closing of the charging port cover.
[0085] Embodiment 4:
[0086] Figure 4 The structure of the self-calibration device of the vehicle charging port cover provided by the fourth embodiment of the present invention is shown. For the convenience of description, only the part related to the embodiment of the present invention is shown, including:
[0087] A first current detection unit 41, used to move the charging port cover toward the opening direction and detect whether the phase current of the charging port cover is greater than a preset current threshold;
[0088] A first position determination unit 42, configured to stop moving the charging port cover when detecting that the current is greater than a preset current threshold, determine the current position of the charging port cover as a fully open position, and maintain the fully open position for a preset time;
[0089] A second current detection unit 43, used to move the charging port cover toward the closing direction and detect whether the phase current of the charging port cover is greater than a preset current threshold;
[0090] A second position determination unit 44, configured to stop moving the charging port cover and determine the current position of the charging port cover as a fully closed position when detecting that the current is greater than a preset current threshold; and
[0091] The self-calibration unit 45 is used to compare the moving step between the fully open position and the fully closed position with a preset standard step. If the comparison result meets the preset requirements, the moving step is determined as the self-calibration step to complete the self-calibration of the charging port cover.
[0092] In some embodiments, the self-calibration device further comprises:
[0093] a third current detection unit, configured to move the charging port cover toward a closing direction when the current position of the charging port cover is lost, and detect whether a phase current of the charging port cover is greater than a preset current threshold; and
[0094] The third position determining unit is used to set the current position of the charging port cover to a fully closed position of the charging port cover when it is detected that the phase current of the charging port cover is greater than a preset current threshold.
[0095] In the embodiments of the present invention, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be implemented by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to realize all or part of the functions described above. Each unit and module of the device can be implemented by corresponding hardware or software units. Each unit and module can be an independent software or hardware unit, or it can be integrated into a software or hardware unit, which is not intended to limit the present invention. In addition, the specific names of each functional unit and module are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the device can refer to the corresponding description in the aforementioned method embodiment, which will not be repeated here.
[0096] Embodiment five:
[0097] Figure 5 The structure of the opening device of the vehicle charging port cover provided by the fifth embodiment of the present invention is shown. For the convenience of description, only the part related to the embodiment of the present invention is shown, including:
[0098] A position confirmation unit 51 is used to obtain the current position of the charging port cover and confirm whether the current position of the charging port cover is a fully closed position;
[0099] a cover opening unit 52, configured to move the charging port cover in an opening direction and detect a moving step length of the charging port cover when the current position of the charging port cover is a fully closed position; and
[0100] The movement stopping unit 53 is used to stop moving the charging port cover if the movement step length of the charging port cover is equal to the self-calibration step length, and the self-calibration step length is obtained by the self-calibration device of claim 6 or 7.
[0101] In some embodiments, when the current position of the charging port cover is not the fully closed position, the opening device further includes:
[0102] a current detection unit, used to move the charging port cover toward a closing direction and detect whether a phase current of the charging port cover is greater than a preset current threshold;
[0103] a position setting unit, configured to set the current position of the charging port cover to a fully closed position of the charging port cover when detecting that the phase current of the charging port cover is greater than a preset current threshold; and
[0104] The step length determining unit is used to move the charging port cover in the opening direction and detect the moving step length of the charging port cover. If the moving step length of the charging port cover is equal to the self-calibration step length, the moving of the charging port cover is stopped.
[0105] In the embodiments of the present invention, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be implemented by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to realize all or part of the functions described above. Each unit and module of the device can be implemented by corresponding hardware or software units. Each unit and module can be an independent software or hardware unit, or it can be integrated into a software or hardware unit, which is not intended to limit the present invention. In addition, the specific names of each functional unit and module are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the device can refer to the corresponding description in the aforementioned method embodiment, which will not be repeated here.
[0106] Embodiment six:
[0107] Figure 6 The structure of the vehicle-mounted control device provided in the sixth embodiment of the present invention is shown. For the convenience of explanation, only the part related to the embodiment of the present invention is shown.
[0108] The vehicle control device 6 of the embodiment of the present invention includes a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60. When the processor 60 executes the computer program 62, the steps in the above-mentioned self-calibration method of the vehicle charging port cover or the opening method of the vehicle charging port cover are implemented, for example, Figure 1 Steps S101 to S105 shown in FIG. Figure 3 Alternatively, when the processor 60 executes the computer program 62, the functions of each unit in the above-mentioned device embodiments are realized, for example, Figure 4 The functions of the units 41 to 45 are shown.
[0109] The vehicle-mounted control device of the embodiment of the present invention may be an electronic control unit or a vehicle-mounted computer. When the processor 60 in the vehicle-mounted control device 6 executes the computer program 62, the steps of implementing the self-calibration method of the vehicle charging port cover or the method of opening the vehicle charging port cover can refer to the description of the aforementioned method embodiment, which will not be repeated here.
[0110] Embodiment five:
[0111] In an embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned self-calibration method of the vehicle charging port cover or the method for opening the vehicle charging port cover are implemented, for example, Figure 1 Steps S101 to S105 shown in FIG. Figure 3 Alternatively, when the computer program is executed by a processor, the functions of each unit in the above-mentioned device embodiments are realized, for example, Figure 4 The functions of the units 41 to 45 are shown.
[0112] In an embodiment of the present invention, when the computer program is executed by a processor to implement the above-mentioned self-calibration method of the automobile charging port cover, the charging port cover is moved in the opening direction and the phase current of the charging port cover is detected to be greater than a preset current threshold. When it is detected that the current is greater than the preset current threshold, the charging port cover is stopped from being moved, and the current position of the charging port cover is determined as a fully open position. The fully open position is maintained for a preset period of time, and then the charging port cover is moved in the closing direction and the phase current of the charging port cover is detected to be greater than the preset current threshold. When it is detected that the current is greater than the preset current threshold, the charging port cover is stopped from being moved, and the current position of the charging port cover is determined as a fully closed position. The moving step between the fully open position and the fully closed position is compared with the preset standard step. If the comparison result meets the preset requirements, the moving step is determined as the self-calibration step, thereby realizing the self-calibration of the vehicle charging port cover and providing a basis for the automatic opening and closing of the vehicle charging port cover.
[0113] In an embodiment of the present invention, when the computer program is executed by a processor to implement the above-mentioned method for opening the vehicle charging port cover, the current position of the charging port cover is obtained, and it is confirmed whether the current position of the charging port cover is a fully closed position. When the current position of the charging port cover is a fully closed position, the charging port cover is moved in the opening direction and the moving step of the charging port cover is detected. If the moving step of the charging port cover is equal to the self-calibration step, the movement of the charging port cover is stopped, thereby realizing automatic opening of the charging port cover and simplifying the opening control process of the charging port cover.
[0114] The computer-readable storage medium of the embodiment of the present invention may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EEPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or device.
[0115] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the disclosure scope involved in the above embodiments is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
[0116] In addition, although each operation is described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present invention. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
Claims
1. A self-calibration method for a vehicle charging port cover, characterized in that: The method comprises the following steps: Moving the charging port cover toward the opening direction and detecting whether the phase current of the charging port cover is greater than a preset current threshold; When the current detected is greater than the preset current threshold, the charging port cover is stopped from moving, the current position of the charging port cover is determined as a fully open position, and the fully open position is maintained for a preset time; Moving the charging port cover in a closing direction and detecting whether a phase current of the charging port cover is greater than a preset current threshold; When the current detected is greater than the preset current threshold, the charging port cover is stopped from moving, and the current position of the charging port cover is determined as a fully closed position; The moving step length between the fully open position and the fully closed position is compared with a preset standard step length. If the comparison result meets the preset requirements, the moving step length is determined as a self-calibration step length to complete the self-calibration of the charging port cover.
2. The method according to claim 1, characterized in that The step of comparing the moving step length between the fully open position and the fully closed position with a preset standard step length, and if the comparison result meets the preset requirement, determining the moving step length as the self-calibration step length comprises: The moving step length between the fully open position and the fully closed position is subtracted from the preset standard step length, and if the difference is within a preset range, the moving step length is determined as the self-calibration step length.
3. The method according to claim 1, characterized in that If the comparison result meets the preset requirement, after the step of determining the moving step length as the self-calibration step length, the method further includes: When the current position of the charging port cover is lost, the charging port cover is moved in a closing direction, and a phase current of the charging port cover is detected to be greater than the preset current threshold; When it is detected that the phase current of the charging port cover is greater than the preset current threshold, the current position of the charging port cover is set as the fully closed position of the charging port cover.
4. A method for opening a vehicle charging port cover, characterized in that: The method comprises the following steps: Obtaining the current position of the charging port cover, and confirming whether the current position of the charging port cover is a fully closed position; When the current position of the charging port cover is the fully closed position, moving the charging port cover in an opening direction and detecting a moving step length of the charging port cover; If the moving step length of the charging port cover is equal to the self-calibration step length, the movement of the charging port cover is stopped, and the self-calibration step length is obtained by the self-calibration method according to any one of claims 1-3.
5. The method according to claim 4, characterized in that When the current position of the charging port cover is not the fully closed position, the method further includes: Moving the charging port cover toward a closing direction, and detecting whether a phase current of the charging port cover is greater than a preset current threshold; When it is detected that the phase current of the charging port cover is greater than the preset current threshold, setting the current position of the charging port cover to a fully closed position of the charging port cover; The charging port cover is moved in an opening direction and a moving step length of the charging port cover is detected. If the moving step length of the charging port cover is equal to the self-calibration step length, the moving of the charging port cover is stopped.
6. A self-calibration device for a vehicle charging port cover, characterized in that: The device comprises: a first current detection unit, configured to move the charging port cover toward an opening direction and detect whether a phase current of the charging port cover is greater than a preset current threshold; A first position determination unit, configured to stop moving the charging port cover when detecting that the current is greater than the preset current threshold, determine the current position of the charging port cover as a fully open position, and maintain the fully open position for a preset time; a second current detection unit, configured to move the charging port cover toward a closing direction and detect whether a phase current of the charging port cover is greater than a preset current threshold; A second position determination unit, configured to stop moving the charging port cover and determine the current position of the charging port cover as a fully closed position when detecting that the current is greater than the preset current threshold; and The self-calibration unit is used to compare the moving step length between the fully open position and the fully closed position with a preset standard step length. If the comparison result meets the preset requirements, the moving step length is determined as the self-calibration step length to complete the self-calibration of the charging port cover.
7. The device according to claim 6, characterized in that Also includes: a third current detection unit, configured to move the charging port cover toward a closing direction when the current position of the charging port cover is lost, and detect whether a phase current of the charging port cover is greater than the preset current threshold; as well as The third position determining unit is configured to set the current position of the charging port cover as the fully closed position of the charging port cover when it is detected that the phase current of the charging port cover is greater than the preset current threshold.
8. A device for opening a vehicle charging port cover, characterized in that: The device comprises: A position confirmation unit, used to obtain the current position of the charging port cover and confirm whether the current position of the charging port cover is a fully closed position; a cover opening unit, configured to move the charging port cover in an opening direction and detect a moving step length of the charging port cover when the current position of the charging port cover is the fully closed position; and A movement stopping unit, used for stopping the movement of the charging port cover if the movement step length of the charging port cover is equal to the self-calibration step length, and the self-calibration step length is obtained by the self-calibration device according to claim 6 or 7.
9. A vehicle-mounted control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Cited By
Integrated test circuit and integrated test equipment
CN120629786A