Charging port cover control method, device and equipment and computer readable storage medium
By detecting the change in the CC resistance state, the charging port cover is automatically closed, which solves the problem that the charging port cover is easy to forget to close, protects the charging port and improves the user experience.
Patent Information
- Application Number
- CN202411493499.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2024-12-31
AI Technical Summary
The charging port cover is easy to forget to close, resulting in damage to the charging port and shortening the service life.
By detecting the state change of CC resistor, the charging port cover is automatically controlled to ensure that the charging port cover is automatically closed after charging is completed, and the user will forget to close manually.
The charging port cover is automatically closed, which protects the charging port, improves the user experience, and avoids the problem of the charging port cover being damaged by forgetting to close.
Smart Images

Figure CN119221798A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a control method, device, equipment and computer-readable storage medium for a charging port cover. Background Art
[0002] At present, hybrid vehicles or electric vehicles have a charging port cover. Users need to open the charging port cover to charge the vehicle, insert the charging gun into the charging port to charge the vehicle, and manually close the charging port cover after charging. However, some users are eager to put away the charging gun after charging, and forget to manually close the charging port cover, which will expose the charging port for a long time and easily damage it, thereby reducing the service life of the charging port.
[0003] It can be seen that there is a problem in the prior art that the charging port cover is easily forgotten to be closed. Summary of the invention
[0004] In view of the above problems, the present application provides a control method, device, equipment and computer-readable storage medium for a charging port cover, which are used to solve the problem in the prior art that the charging port cover is easily forgotten to be closed.
[0005] According to a first aspect of an embodiment of the present application, a method for controlling a charging port cover is provided, the method comprising: responding to a first jump signal, detecting a second jump signal within a preset jump duration; wherein the first jump signal represents that the CC resistance jumps from a fully connected state to a semi-connected state, and the second jump signal represents that the CC resistance jumps from the semi-connected state to an unconnected state; if the second jump signal is detected, the charging port cover is controlled to be closed.
[0006] In an optional manner, the response to the first jump signal and the detection of the second jump signal within a preset jump duration further include: if the first jump signal is received during a non-preset wake-up period, then in response to the first jump signal, controlling the vehicle to enter a wake-up state from a sleep state; wherein, during the non-preset wake-up period, the vehicle is in a sleep state; after the vehicle enters the wake-up state, detecting whether the second jump signal is received within the preset jump duration.
[0007] In an optional manner, the method of detecting a second jump signal within a preset jump duration in response to a first jump signal further includes: if the first jump signal is received within a preset wake-up period, detecting a second jump signal within a preset jump duration in response to the first jump signal; wherein, within the preset wake-up period, the vehicle is in a wake-up state.
[0008] In an optional manner, after detecting the second jump signal within the preset jump time, it further includes: if the second jump signal is not detected, controlling the vehicle to enter a sleep state, and sending a first reset signal to the power supply device, so that the power supply device responds to the first reset signal to switch the CC resistor from the semi-connected state to the fully connected state; wherein the charging port cover in the sleep state is in an open state; after sending the first reset signal, waiting for the next reception of the first jump signal.
[0009] In an optional manner, after detecting the second jump signal within the preset jump duration, it further includes: if the second jump signal is not detected, in response to a second reset signal issued by the power supply device, controlling the vehicle to enter a sleep state, and resetting the CC resistor to switch the CC resistor from the semi-connected state to the fully connected state; wherein, the second reset signal is issued when the power supply device does not detect the second jump signal within the preset jump duration, and the charging port cover in the sleep state is in an open state; after resetting the CC resistor, waiting for the next reception of the first jump signal.
[0010] In an optional manner, the response to the first jump signal further includes: responding to the received first jump signal characterizing that the CC resistance jumps from a first preset resistance value to a second preset resistance value; wherein, when the CC resistance is the first preset resistance value, it is characterized as the fully connected state, and when the CC resistance is the second preset resistance value, it is characterized as the semi-connected state.
[0011] In an optional manner, the detecting of the second jump signal within a preset jump duration further includes: detecting a second jump signal indicating that the CC resistance jumps from a second preset resistance value to a third preset resistance value within the preset jump duration; wherein, when the CC resistance is the second preset resistance value, it is characterized as the semi-connected state, and when the CC resistance is the third preset resistance value, it is characterized as the unconnected state.
[0012] According to a second aspect of an embodiment of the present application, a control device for a charging port cover is provided, the device comprising: a response module, for responding to a first jump signal, and detecting a second jump signal within a preset jump duration; wherein the first jump signal represents that the CC resistance jumps from a fully connected state to a semi-connected state, and the second jump signal represents that the CC resistance jumps from the semi-connected state to an unconnected state; and a control module, for controlling the charging port cover to close if the second jump signal is detected.
[0013] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising: a controller; a memory for storing one or more programs, wherein when the one or more programs are executed by the controller, the controller implements the following steps of the method for controlling a charging port cover: in response to a first jump signal, detecting a second jump signal within a preset jump time; wherein the first jump signal represents that a CC resistor jumps from a fully connected state to a semi-connected state, and the second jump signal represents that the CC resistor jumps from the semi-connected state to an unconnected state; if the second jump signal is detected, the charging port cover is controlled to be closed.
[0014] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein at least one executable instruction is stored in the storage medium. When the executable instruction is executed on a control device / electronic device of a charging port cover, the control device / electronic device of the charging port cover performs the following operations of the control method of the charging port cover: in response to a first jump signal, detecting a second jump signal within a preset jump duration; wherein the first jump signal indicates that the CC resistance jumps from a fully connected state to a semi-connected state, and the second jump signal indicates that the CC resistance jumps from the semi-connected state to an unconnected state; if the second jump signal is detected, the charging port cover is controlled to be closed.
[0015] The embodiment of the present application predicts the user's intention by responding to the received first jump signal indicating that the CC resistance jumps from a fully connected state to a semi-connected state. The user presses the connection switch on the charging gun, intends to unplug the charging gun, and is ready to end charging. The embodiment of the present application detects whether a second jump signal indicating that the CC resistance jumps from the semi-connected state to the unconnected state is received within a preset jump duration, thereby determining whether the user has unplugged the charging gun to end charging. If the second jump signal indicating that the CC resistance jumps from the semi-connected state to the unconnected state is received, it is determined that the user has unplugged the charging gun to completely end charging, and the charging port cover is controlled to close. Compared with the prior art in which the charging cover needs to be manually closed after the charging gun is unplugged, the technical solution in the present application can realize the automatic closing of the charging port cover to protect the charging port, thereby avoiding the situation in which the user drives away directly after unplugging the charging gun and forgets to close the charging port cover, thereby bringing a good experience to the user.
[0016] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0018] Figure 1 It is a schematic diagram of an implementation environment involved in this application;
[0019] Figure 2 A flow chart of a first embodiment of a method for controlling a charging port cover provided by the present application is shown;
[0020] Figure 3 A flow chart showing a second embodiment of a method for controlling a charging port cover provided by the present application is shown;
[0021] Figure 4 A flowchart of a third embodiment of a method for controlling a charging port cover provided by the present application is shown;
[0022] Figure 5 A flowchart of a fourth embodiment of a method for controlling a charging port cover provided by the present application is shown;
[0023] Figure 6 A circuit schematic diagram of CC resistance jump provided by the present application is shown;
[0024] Figure 7 A schematic structural diagram of an embodiment of an electronic device provided by the present application is shown;
[0025] Figure 8 A schematic structural diagram of an embodiment of a control device for a charging port cover provided in the present application is shown. DETAILED DESCRIPTION
[0026] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0027] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0028] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0029] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0030] See also Figure 1 As shown, Figure 1 It is a schematic diagram of an implementation environment involved in this application.
[0031] Figure 1 The implementation environment shown is specifically a charging system, including a vehicle 100, a charging gun 200 and a power supply device 300, and the vehicle 100 is specifically provided with a charging port 110 and a charging port cover 120. The charging gun 200 is connected to the power supply device 300, obtains electric energy from the power supply device, and can be inserted into the charging port 110 of the vehicle 100 to replenish the power battery of the vehicle 100. Before the charging gun is inserted into the charging port 110, the charging port cover 120 is usually in a closed state. When charging, the charging port cover 120 needs to be opened to allow the charging gun 200 to be inserted into the charging port 110. After charging is completed, the charging port cover 120 needs to be controlled to be in a closed state to protect the charging port 110.
[0032] The charging gun 200 includes a CC resistor and is provided with a connection switch S1 . The user changes the connection state of the CC resistor by turning on or off the connection switch S1 .
[0033] Figure 2 The present application provides a flow chart of a first embodiment of a method for controlling a charging port cover, which is executed by a vehicle. Figure 2 As shown, the method comprises the following steps:
[0034] Step S210: In response to the first jump signal, detecting a second jump signal within a preset jump duration; wherein the first jump signal indicates that the CC resistor jumps from a fully connected state to a semi-connected state, and the second jump signal indicates that the CC resistor jumps from the semi-connected state to an unconnected state.
[0035] Among them, when the charging gun is inserted into the charging port, before the user presses the connection switch on the charging gun, the CC resistor is in a fully connected state; when the user presses the connection switch on the charging gun and does not unplug the charging gun; when the charging gun is completely unplugged from the charging port, the CC resistor is in a disconnected state.
[0036] If a first jump signal is received, indicating that the CC resistance changes from a fully connected state to a semi-connected state, the user's intention can be predicted. The user presses the connection switch on the charging gun and intends to unplug the charging gun, but has not unplugged the charging gun at this time; within the preset jump duration, detect whether a second jump signal is received, indicating that the CC resistance changes from the semi-connected state to an unconnected state, to determine whether the user has unplugged the charging gun within the preset jump duration. It should be noted that the preset jump duration indicates the time required from obtaining the first jump signal to obtaining the second jump signal, that is, the time required from the user pressing the connection switch on the charging gun to unplugging the charging gun, which can be set according to the user's actual usage habits.
[0037] Step S220: If the second jump signal is detected, the charging port cover is controlled to be closed.
[0038] Among them, if a second jump signal representing that the CC resistor jumps from the semi-connected state to the unconnected state is received within the preset jump time, it can be determined that the user has unplugged the charging gun and completely ended the charging, so that the charging port cover can be controlled to close to protect the charging port.
[0039] By responding to the received first jump signal indicating that the CC resistance jumps from a fully connected state to a semi-connected state, the user's intention is predicted. The user presses the connection switch on the charging gun, intends to unplug the charging gun, and is ready to end charging. The second jump signal indicating that the semi-connected state jumps to an unconnected state is detected within a preset jump duration, thereby determining whether the user has unplugged the charging gun to end charging. If the second jump signal indicating that the semi-connected state jumps to an unconnected state is received, it is determined that the user has unplugged the charging gun to completely end charging, and the charging port cover is controlled to close. Compared with the prior art in which the charging cover needs to be manually closed after the charging gun is unplugged, the technical solution in the present application can realize the automatic closing of the charging port cover to protect the charging port, thereby avoiding the situation in which the user drives away directly after unplugging the charging gun and forgets to close the charging port cover, thereby bringing a good experience to the user.
[0040] Figure 3 A flow chart of a second embodiment of a method for controlling a charging port cover provided by the present application is shown, and the method is executed by a vehicle. Figure 3 As shown, in response to the first hopping signal, detecting the second hopping signal within a preset hopping duration further includes the following steps:
[0041] Step S211: if a first jump signal is received during a non-preset wake-up period, in response to the first jump signal, the vehicle is controlled to enter a wake-up state from a sleep state; wherein, during the non-preset wake-up period, the vehicle is in a sleep state;
[0042] Among them, when the vehicle is charging, it is in a powered-on state, that is, the whole vehicle is in a wake-up state. After charging is completed, the vehicle will remain in the awake state within the preset wake-up period; if the charging gun is not unplugged in time after the wake-up period, the vehicle will enter a dormant state to achieve energy saving. At this time, the vehicle will not be able to detect whether the second jump signal is received, nor can it directly control the charging port cover of the vehicle. For example, when the user sets the charging power, he usually leaves the charging site and lets the vehicle charge by itself. After the vehicle is charged, he cannot rush to the charging site in time to unplug the charging gun. If the first jump signal representing the CC resistance jumping from the fully connected state to the semi-connected state is received during the non-preset wake-up period, for example, a long time after the charging is completed, the user rushes to the charging site and presses the connection switch on the charging gun, then in response to the first jump signal, the vehicle is controlled to enter the awake state and the vehicle is powered on, so that the vehicle can restore the control ability of the charging port cover, thereby realizing automatic control of the charging port cover.
[0043] Step S212: After the vehicle enters the awake state, a second jump signal is detected within a preset jump duration.
[0044] Among them, that is, after the vehicle is powered on, the user's intention can be predicted. The user presses the connection switch on the charging gun and intends to unplug the charging gun, but the charging gun is not unplugged at this time; within the preset jump time, it is detected whether a second jump signal representing that the CC resistance jumps from the semi-connected state to the unconnected state is received to determine whether the user has unplugged the charging gun within the preset jump time.
[0045] In another embodiment of the present application, in response to the first hopping signal, detecting the second hopping signal within a preset hopping duration further includes:
[0046] If a first jump signal is received during a preset wake-up period, a second jump signal is detected within a preset jump duration in response to the first jump signal; wherein, during the preset wake-up period, the vehicle is in a wake-up state.
[0047] In this embodiment, if a first jump signal indicating that the CC resistance has jumped from a fully connected state to a semi-connected state is received within a preset wake-up period, it means that the user has pressed the connection switch of the charging gun within the preset wake-up period after the charging is completed. At this time, the vehicle has not been powered off within the preset wake-up period, and has the ability to control the automatic closing of the charging port cover. It can directly detect whether a second jump signal indicating that the CC resistance has jumped from the semi-connected state to the unconnected state is received within the preset jump duration, so that after receiving the second jump signal, the charging port cover can be directly controlled to automatically close.
[0048] It should be noted that before responding to the received first jump signal indicating that the CC resistance jumps from a fully connected state to a semi-connected state, it also includes: if it is determined that the current mode is a non-driving mode, controlling the charging port cover to open according to the charging port cover opening signal.
[0049] If it is determined that the current mode is the driving mode, a charging port cover opening prompt message is sent to the user; if the user parks the vehicle according to the charging port cover opening prompt message, the charging port cover is controlled to open.
[0050] The user can also trigger the charging port cover by pressing the button. After the vehicle receives the trigger signal, it sends a charging port cover opening command. After receiving the charging port cover opening command, the BCM (body control module) controls the charging port cover to open. In this application, the on-board charger can specifically identify the jump signal of the CC resistor. The on-board charger sends the received CC resistor jump signal to the vehicle controller through the battery management system. The vehicle controller identifies and processes the received jump signal and generates a control command to control the charging port cover, which is sent to the BCM to control the charging port cover.
[0051] Figure 4 The flowchart of the third embodiment of the control method of the charging port cover provided by the present application is shown, and the method is executed by the vehicle. Figure 4 As shown, after detecting the second jump signal within the preset jump time, the following steps are further included:
[0052] Step S310: If the second jump signal is not detected, the vehicle is controlled to enter a dormant state, and a first reset signal is sent to a power supply device, so that the power supply device responds to the first reset signal to switch the CC resistor from the semi-connected state to the fully connected state; wherein the charging port cover in the dormant state is in an open state;
[0053] Among them, if the second jump signal indicating that the CC resistor jumps from the semi-connected state to the unconnected state is not detected within the preset jump time, it means that the user did not unplug the charging gun from the charging port after pressing the connection switch on the charging gun. For example, when the user presses the connection switch on the charging gun, he may suddenly receive a call and leave for something, resulting in the charging gun not being unplugged. When the charging gun is not unplugged within the preset jump time, the vehicle is controlled to enter a dormant state to save power; and a first reset signal is sent to the power supply device to reset the CC resistor, so that the CC resistor on the charging gun jumps from the semi-connected state back to the fully connected state, so that the user can wake up the vehicle after pressing the connection switch of the charging gun next time, and restore the vehicle's control over the charging port cover. It should be noted that since the charging gun is not unplugged from the charging port, the charging port cover needs to be controlled to be open in the dormant state.
[0054] Step S320: after sending the first reset signal, wait for receiving the first jump signal next time.
[0055] It should be noted that after the vehicle enters the sleep state, if the user obtains from the mobile terminal that the power battery is not fully charged and there is still a charging balance in the power supply device, then in response to the charging signal sent by the mobile terminal, the vehicle is controlled to enter the wake-up state so that the power supply device charges the vehicle.
[0056] Figure 5 The flowchart of the fourth embodiment of a method for controlling a charging port cover provided by the present application is shown, and the method is executed by a vehicle. Figure 5 As shown, after detecting the second jump signal within the preset jump time, the following steps are further included:
[0057] Step S410: If the second jump signal is not detected, in response to the second reset signal sent by the power supply device, the vehicle is controlled to enter a dormant state, and the CC resistor is reset to switch the CC resistor from the semi-connected state to the fully connected state; wherein the second reset signal is sent when the power supply device does not detect the second jump signal within a preset jump time, and the charging port cover in the dormant state is in an open state;
[0058] Among them, the power supply device can also detect the second jump signal of the CC resistance jumping from the semi-connected state to the unconnected state, and then receive the second reset signal sent by the power supply device so that the vehicle can reset the connection switch of the charging gun. The CC resistance is reset according to the second reset signal, that is, the CC resistance of the charging gun is controlled to jump from the semi-connected state to the fully connected state according to the second reset signal, so that the user can wake up the vehicle after pressing the connection switch of the charging gun next time, and restore the vehicle's control over the charging port cover. It should be noted that since the charging gun is not unplugged from the charging port, the charging port cover needs to be controlled to be open in the dormant state.
[0059] Step S420: After resetting the CC resistor, wait for receiving the first jump signal next time.
[0060] It should be noted that after the vehicle enters the sleep state, if the user obtains from the mobile terminal that the power battery is not fully charged and there is still a charging balance in the power supply device, then in response to the charging signal sent by the mobile terminal, the vehicle is controlled to enter the wake-up state so that the power supply device charges the vehicle.
[0061] Figure 6 The circuit diagram of a CC resistance jump provided by the present application is shown. Figure 5 As shown, the circuit schematic diagram includes: a power battery BT1, a pre-charging circuit, an on-board charger, a charging gun and a power supply device; the pre-charging circuit includes: a first switch K1, a second switch K2 and a first resistor R1;
[0062] The charging gun includes: live wire L, neutral wire N, ground wire PE (Protecting Earthing), CC resistor, vehicle to power supply device confirmation line CC (Channel Control) and power supply device to vehicle confirmation line CP (ControlPilot). CC resistor includes resistor RC and second resistor R2.
[0063] The positive electrode of the power battery BT1 is connected to the first end of the first switch K1 and the first end of the first resistor R1 respectively, and the negative electrode of the power battery BT1 is connected to the first end of the second switch K2;
[0064] The second end of the first switch K1 is connected to the second end of the third switch K3 and the first end of the on-board charger respectively;
[0065] The second end of the first resistor R1 is connected to the second end of the third switch K3;
[0066] The second end of the second switch K2 is connected to the second end of the on-board charger;
[0067] The third end of the on-board charger is connected to the power supply device through the live wire L, the fourth end of the on-board charger is connected to the power supply device through the zero-point N, the fifth end of the on-board charger is connected to the power supply device through the ground wire PE, the sixth end of the on-board charger is connected to the first end of the resistor RC through the vehicle-to-power supply device confirmation line CC, and the seventh end of the on-board charger is connected to the power supply device through the power supply device-to-vehicle confirmation line CP;
[0068] The second end of the resistor RC is respectively connected to the first end of the connection switch S1 of the charging gun and the first end of the second resistor R2;
[0069] The second end of the connection switch S1 of the charging gun is connected to the second end of the second resistor R2 and the power supply device respectively.
[0070] In this embodiment, in response to the first jump signal, further comprising:
[0071] In response to a received first transition signal indicating that the CC resistance jumps from a first preset resistance value to a second preset resistance value; wherein the CC resistance is characterized as the fully connected state when it is the first preset resistance value, and is characterized as the semi-connected state when it is the second preset resistance value.
[0072] It should be noted that the charging gun resistance RC of the charging cable 10A may be 1.5KΩ, and the second resistance may be 1.8KΩ; the charging gun resistance RC of the charging cable 16A may be 680Ω, and the second resistance may be 2.7KΩ; the charging gun resistance RC of the charging cable 32A may be 220Ω, and the second resistance may be 3.3KΩ; the charging gun resistance RC of the charging cable 63A may be 100Ω, and the second resistance may be 3.3KΩ;
[0073] When the connection switch S1 of the charging gun is in the closed state, the on-board charger detects that the effective resistance of the CC resistor is 100Ω, 220Ω, 680Ω or 1.5KΩ of the RC resistance. When the connection switch S1 of the charging gun is in the open state, the CC resistor value detected by the on-board charger is the sum of the resistance values of the second resistor and the resistor RC, and the on-board charger recognizes it as a semi-connected state.
[0074] The range of the resistor RC and the second resistor R2 is ±3%.
[0075] Specifically, see Figure 6As shown, when the CC resistor is in a fully connected state, that is, the user does not press the connection switch of the charging gun, the on-board charger determines that the CC resistor is in a fully connected state by identifying the resistance of the loop formed by the resistor RC and the PE line, that is, the first preset resistance; when the user presses the connection switch S1 of the charging gun, the on-board charger determines that the CC resistor is in a semi-connected state by identifying the resistance of the loop formed by the resistor RC, the second resistor R2 and the PE line, that is, the second preset resistance; if the on-board charger identifies that the first preset resistance jumps to the second preset resistance, it can be determined that the CC resistor jumps from the fully connected state to the semi-connected state.
[0076] In this embodiment, detecting the second transition signal within a preset transition duration further includes:
[0077] A second transition signal indicating that the CC resistance changes from a second preset resistance value to a third preset resistance value is detected within a preset transition time; wherein, when the CC resistance is the second preset resistance value, it is characterized as the semi-connected state, and when the CC resistance is the third preset resistance value, it is characterized as the unconnected state.
[0078] Specifically, see Figure 6 As shown, when the CC resistor is in a semi-connected state, the on-board charger determines that the CC resistor is in a semi-connected state by identifying the resistance of the loop formed by the resistor RC, the second resistor R2 and the PE line, that is, the second preset resistance; when the charging gun is unplugged from the charging port, the PE line is disconnected, and the on-board charger identifies that the resistance value is the third preset resistance, thereby determining that the charging gun is unplugged from the charging port and controlling the charging port cover to close.
[0079] It should be noted that when charging, the pre-charging circuit is first controlled to be turned on, that is, the third switch K3 and the second switch K2 are controlled to be closed first, so that the circuit where the power battery BT1, the first resistor R1, the third switch K3, the on-board charger, the power supply device and the second switch K2 are located is turned on to prevent the power supply device from generating excessive current at the moment of power-on, causing damage to the components; when the pre-charging is completed, the first switch K1 is controlled to be closed, and then the third switch K3 is controlled to be disconnected, so as to prevent a large impact current from being generated at the moment of power-on.
[0080] Figure 7 A schematic diagram of the structure of an embodiment of an electronic device provided by the present application is shown, which shows a schematic diagram of the structure of a computer system suitable for implementing the electronic device of the embodiment of the present application. The specific embodiment of the present application does not limit the specific implementation of the electronic device.
[0081] See also Figure 7 As shown, the electronic device includes: a controller; a memory for storing one or more programs, and when the one or more programs are executed by the controller, the above-mentioned charging port cover control method is executed.
[0082] Please continue reading Figure 7 As shown, the computer system 500 of the electronic device includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the method in the above embodiment. In RAM 503, various programs and data required for system operation are also stored. CPU 501, ROM 502 and RAM 503 are connected to each other through bus 504. Input / output (I / O) interface 505 is also connected to bus 504.
[0083] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.
[0084] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.
[0085] Figure 8 The schematic diagram of the structure of an embodiment of a control device for a charging port cover provided by the present application is shown. Figure 8As shown, the device 600 includes: a response module 610 and a control module 620 .
[0086] A response module 610 is configured to detect a second jump signal within a preset jump duration in response to the first jump signal; wherein the first jump signal indicates that the CC resistor jumps from a fully connected state to a semi-connected state, and the second jump signal indicates that the CC resistor jumps from the semi-connected state to an unconnected state;
[0087] The control module 620 is configured to control the charging port cover to close if the second jump signal is detected.
[0088] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the control method of the charging port cover as described above is implemented. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0089] Another aspect of the present application also provides a computer program product or computer program, which includes at least one executable instruction. When the executable instruction is run on the control device / electronic device of the charging port cover, the control device / electronic device of the charging port cover executes the control method of the charging port cover as described above.
[0090] The executable instructions may be specifically used to enable the control device / electronic device of the charging port cover to perform the following operations:
[0091] In response to the first jump signal, a second jump signal is detected within a preset jump time; wherein the first jump signal indicates that the CC resistor jumps from a fully connected state to a semi-connected state, and the second jump signal indicates that the CC resistor jumps from the semi-connected state to an unconnected state;
[0092] If the second jump signal is detected, the charging port cover is controlled to be closed.
[0093] It should be noted that the control device of the charging port cover provided in the above embodiment and the control method of the charging port cover provided in the above embodiment belong to the same concept, and the specific way in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here.
[0094] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, 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 can 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 (EPROM), a 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 the present application, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0095] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0096] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0097] According to one aspect of an embodiment of the present application, a computer system is also provided, including a central processing unit (CPU), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage portion into a random access memory (RAM), such as executing the method in the above embodiment. In RAM, various programs and data required for system operation are also stored. CPU, ROM and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0098] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication part performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed.
[0099] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A method for controlling a charging port cover, characterized in that: The method comprises: In response to the first jump signal, a second jump signal is detected within a preset jump time; wherein the first jump signal indicates that the CC resistor jumps from a fully connected state to a semi-connected state, and the second jump signal indicates that the CC resistor jumps from the semi-connected state to an unconnected state; If the second jump signal is detected, the charging port cover is controlled to be closed.
2. The method for controlling the charging port cover according to claim 1, characterized in that: The step of detecting the second hopping signal within a preset hopping duration in response to the first hopping signal further comprises: If a first jump signal is received during a non-preset wake-up period, the vehicle is controlled to enter a wake-up state from a sleep state in response to the first jump signal; wherein the vehicle is in a sleep state during the non-preset wake-up period; After the vehicle enters the awake state, a second jump signal is detected within a preset jump duration.
3. The method for controlling the charging port cover according to claim 1, characterized in that: The step of detecting the second hopping signal within a preset hopping duration in response to the first hopping signal further comprises: If a first jump signal is received during a preset wake-up period, a second jump signal is detected within a preset jump duration in response to the first jump signal; wherein, during the preset wake-up period, the vehicle is in a wake-up state.
4. The method for controlling the charging port cover according to claim 1, characterized in that: After the second jump signal is detected within the preset jump time, the method further includes: If the second jump signal is not detected, the vehicle is controlled to enter a dormant state, and a first reset signal is sent to the power supply device, so that the power supply device responds to the first reset signal to switch the CC resistor from the semi-connected state to the fully connected state; wherein the charging port cover in the dormant state is in an open state; After sending the first reset signal, wait for receiving the first jump signal next time.
5. The method for controlling the charging port cover according to claim 1, characterized in that: After the second jump signal is detected within the preset jump time, the method further includes: If the second jump signal is not detected, in response to the second reset signal sent by the power supply device, the vehicle is controlled to enter a dormant state, and the CC resistor is reset to switch the CC resistor from the semi-connected state to the fully connected state; wherein the second reset signal is sent when the power supply device does not detect the second jump signal within a preset jump time, and the charging port cover in the dormant state is in an open state; After resetting the CC resistor, wait for receiving the first jump signal next time.
6. The method for controlling the charging port cover according to claim 1, characterized in that: In response to the first jump signal, the method further comprises: In response to a received first transition signal indicating that the CC resistance jumps from a first preset resistance value to a second preset resistance value; wherein the CC resistance is characterized as the fully connected state when it is the first preset resistance value, and is characterized as the semi-connected state when it is the second preset resistance value.
7. The method for controlling the charging port cover according to claim 1, characterized in that: The detecting the second transition signal within the preset transition duration further comprises: A second transition signal is detected during the preset transition time to indicate that the CC resistance changes from the second preset resistance value to the third preset resistance value; wherein, when the CC resistance is the second preset resistance value, it is characterized as the semi-connected state, and when the CC resistance is the third preset resistance value, it is characterized as the unconnected state.
8. A control device for a charging port cover, characterized in that: The device comprises: A response module, configured to detect a second jump signal within a preset jump duration in response to a first jump signal; wherein the first jump signal indicates that the CC resistor jumps from a fully connected state to a semi-connected state, and the second jump signal indicates that the CC resistor jumps from the semi-connected state to an unconnected state; The control module is used to control the charging port cover to close if the second jump signal is detected.
9. An electronic device, characterized in that: include: Controller; A memory for storing one or more programs, which, when executed by the controller, enables the controller to implement the method for controlling the charging port cover according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, which includes at least one executable instruction. When the executable instruction is executed on the control device / electronic device of the charging port cover, the control device / electronic device of the charging port cover performs the operation of the control method of the charging port cover as described in any one of claims 1 to 7.
