Charging control method, charging device, vehicle, and storage medium
By monitoring the number of disconnections and temperature of the charging equipment and adjusting the charging power, the problems of low charging efficiency and short relay life caused by the disconnection of the temperature control switch are solved, achieving efficient and durable charging control.
Patent Information
- Application Number
- CN202410847345.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2044-06-26
AI Technical Summary
Existing vehicle chargers stop working when the temperature control switch is off, resulting in low charging efficiency, and the repeated opening and closing of the relay affects its service life.
By obtaining the number of times the charging device is disconnected, the charging power is determined, and charging control is performed without repeatedly disconnecting the relay. This avoids repeated switching of the temperature control switch, which monitors the temperature and disconnects when the temperature is high. Combined with the adjustment of the charging power, this ensures charging efficiency and device lifespan.
It improves charging efficiency, avoids the impact of repeated relay switching on equipment lifespan, and reduces production costs.
Smart Images

Figure CN118618099B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, in particular to a charging control method, a charging device, a vehicle and a nonvolatile computer readable storage medium. BACKGROUND
[0002] In order to prevent the vehicle charger from overheating, a temperature control switch is generally set at present. When the temperature of the vehicle charger is relatively high, the temperature control switch will be opened, so that the vehicle charger stops working, thereby avoiding the vehicle charger from overheating.
[0003] However, when the temperature control switch is opened, the vehicle charger stops working, and the vehicle charger will continue to work only when the temperature control switch is closed again, which leads to low charging efficiency of the vehicle. In addition, the relay in the vehicle charger needs to be opened and closed repeatedly according to the opening and closing of the temperature control switch. After repeated opening and closing, the contacts of the relay are prone to arc, which affects the service life of the vehicle charger. SUMMARY
[0004] The embodiments of the present application provide a charging control method, a charging device, a vehicle and a nonvolatile computer readable storage medium. The charging efficiency of the vehicle can be ensured, and the relay of the vehicle charger does not need to be repeatedly opened and closed, thereby avoiding affecting the service life.
[0005] The embodiments of the present application provide a charging control method. The charging control method is applied to a charging device, the charging device includes a charging circuit, a first switch and a second switch, the charging circuit is used to connect a power supply and a device to be charged, the first switch is used to control the on-off of the charging circuit, and the second switch is used to be opened when the temperature of the charging device is greater than a preset temperature threshold. The method includes the following steps: acquiring the number of times of opening; determining a charging power based on the number of times of opening; and performing charging control based on the charging power.
[0006] In some embodiments, the charging device includes a charging input interface, a charging output interface and a controller, the charging circuit passes through the charging input interface, the controller and the charging output interface in sequence, the first switch is arranged in the controller, and the second switch is arranged in the charging input interface and close to the charging circuit in the charging input interface. The second switch is used to be opened when the temperature around the charging circuit in the charging input interface is greater than the preset temperature threshold.
[0007] In some embodiments, the second switch includes a first end and a second end opposite to each other. When the second switch is open, the connection between the first end and the second end is broken. The controller is connected to the first end via a first line and to the second end via a second line. The controller is used to send a detection signal via the first line and detect the electrical signal of the second end via the second line. Obtaining the number of on / off cycles includes: obtaining the electrical signal of the second end; and determining the number of on / off cycles based on the electrical signal of the second end.
[0008] In some embodiments, determining the number of on / off cycles based on the electrical signal at the second terminal includes: determining the on / off information of the second switch based on the electrical signal at the second terminal, wherein when the voltage at the second terminal is 0, the second switch is determined to be open, and when the voltage at the second terminal is a preset voltage, the second switch is determined to be closed; and determining the number of on / off cycles based on the on / off information of the second switch.
[0009] In some implementations, the controller is further connected to the first terminal via a third line, and the controller detects the electrical signal of the first terminal via the third line. Obtaining the number of on / off cycles includes: obtaining the electrical signals of the first terminal and the second terminal; and determining the number of on / off cycles based on the electrical signals of the first terminal and the second terminal.
[0010] In some embodiments, determining the number of on / off cycles based on the electrical signals of the first terminal and the second terminal includes: determining the on / off information of the second switch based on the electrical signals of the first terminal and the second terminal, wherein, when the voltage of the first terminal is a preset voltage and the voltage of the second terminal is 0, the second switch is determined to be open, and the preset voltage is greater than 0; when the voltage of the second terminal is a preset voltage, the second switch is determined to be closed; and the number of on / off cycles is determined based on the on / off information of the second switch.
[0011] In some embodiments, the method further includes: determining whether a line fault exists based on the electrical signals of the first terminal and the second terminal, wherein, when the voltage of the first terminal is 0, it is determined that at least one of the first line and the third line has a line fault; determining the number of on / off cycles based on the electrical signals of the first terminal and the second terminal includes: determining the number of on / off cycles based on the electrical signals of the first terminal and the second terminal when no line fault exists.
[0012] In some embodiments, the charging control based on the charging power includes: sending a charging control signal to the device to be charged so that the device to be charged is charged with the charging power, wherein the charging control signal is generated based on the charging power; or, controlling the first switch to open or close based on the charging control signal so that the device to be charged is charged with the charging power.
[0013] In some embodiments, the charging control based on the charging power includes: when the charging power is 0, controlling the first switch to disconnect and / or issuing a first prompt message.
[0014] In some embodiments, the method further includes: after the first switch is disconnected for a preset time, initializing the number of on / off cycles and controlling the first switch to be turned on.
[0015] In some embodiments, the method further includes: obtaining the number of times the first switch is turned on; and if the number of times the switch is turned on is greater than a preset number, sending a stop charging signal to the device to be charged so that the device to be charged stops charging.
[0016] In some implementations, the number of disconnections and the charging power are negatively correlated; when the number of disconnections exceeds a preset number, the charging power is 0.
[0017] In some implementations, when the number of disconnections is 1, the ratio of the charging power to the preset power is in a first power range [60%, 90%]; when the number of disconnections is 2, the ratio of the charging power to the preset power is in a second power range [30%, 60%]; when the number of disconnections is 3, the ratio of the charging power to the preset power is in a second power range [5%, 30%]; and when the number of disconnections is 4, the charging power is 0.
[0018] The charging device according to the embodiments of this application includes a charging line, a first switch, a second switch, and a controller. The charging line is used to connect a power source and a device to be charged. The first switch is used to control the on / off state of the charging line. The second switch is used to disconnect the charging device when its temperature exceeds a preset temperature threshold. The controller is used to execute the charging control method described in any of the above embodiments.
[0019] The vehicle according to the embodiments of this application includes the charging device described in any of the above embodiments.
[0020] The non-volatile computer-readable storage medium of this application includes a computer program that, when executed by a processor, causes the processor to perform the charging control method described in any of the above embodiments.
[0021] The charging control method, charging equipment, vehicle, and non-volatile computer-readable storage medium in this application monitor the temperature of the charging equipment during the charging process by acquiring the number of disconnections; based on the number of disconnections, the charging power is determined, and then charging control is performed based on the charging power. That is, without continuously opening the first switch, the charging power is set according to the temperature of the charging equipment during the charging process, and the equipment to be charged is charged according to the corresponding charging power, instead of controlling the charging equipment to stop charging when the temperature control switch is opened, thus ensuring the charging efficiency of the charging equipment; and when the second switch repeatedly opens and closes in response to the temperature of the charging equipment, the first switch is no longer controlled to repeatedly open and close, which can avoid affecting the service life of the charging equipment. Attached Figure Description
[0022] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, wherein:
[0023] Figure 1 This is a schematic diagram of the structure of a charging control method according to certain embodiments of this application;
[0024] Figure 2 This is a schematic flowchart of a charging control method according to certain embodiments of this application;
[0025] Figure 3 This is a flowchart illustrating a preset periodic signal in certain embodiments of this application;
[0026] Figure 4 This is a schematic diagram of a charging control method according to certain embodiments of this application;
[0027] Figure 5 This is a schematic flowchart of a charging control method according to certain embodiments of this application;
[0028] Figure 6 This is a schematic flowchart of a charging control method according to certain embodiments of this application;
[0029] Figure 7 This is a schematic flowchart of a charging control method according to certain embodiments of this application;
[0030] Figure 8 This is a schematic flowchart of a charging control method according to certain embodiments of this application;
[0031] Figure 9 This is a schematic flowchart of a charging control method according to certain embodiments of this application;
[0032] Figure 10 This is a schematic flowchart of a charging control method according to certain embodiments of this application;
[0033] Figure 11 This is a schematic flowchart of a charging control method according to certain embodiments of this application;
[0034] Figure 12 This is a schematic flowchart of a charging control method according to certain embodiments of this application;
[0035] Figure 13 This is a schematic flowchart of a charging control method according to certain embodiments of this application;
[0036] Figure 14 This is a schematic diagram of a charging control device according to certain embodiments of this application;
[0037] Figure 15 This is a schematic diagram illustrating the interaction between a non-volatile computer-readable storage medium and a processor in certain embodiments of this application. Detailed Implementation
[0038] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of this application, and should not be construed as limiting the embodiments of this application.
[0039] In this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "on top of," and "over" the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.
[0040] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one feature. In the description of this application, "multiple" means at least two, such as two or three, unless otherwise explicitly specified.
[0041] To facilitate understanding, the technical background and application scenarios of this application will be introduced below:
[0042] When using a vehicle charger to charge a vehicle, issues such as poor connection, age, or poor heat dissipation of the charger's plug and socket can cause high contact resistance at the connection point. This can lead to excessively high internal temperatures within the charger during charging, resulting in overheating and compromising charging safety.
[0043] Therefore, to prevent vehicle chargers from overheating, a temperature control switch connected in series with the charger's cable is typically installed on the charger. This switch responds to the charger's temperature and can disconnect when the charger becomes too hot, stopping the charger from operating and preventing overheating that could compromise charging safety.
[0044] However, to ensure effective temperature monitoring, separate temperature control switches are required for the live and neutral wires of the vehicle charger (i.e., at least two temperature control switches are needed per vehicle charger), increasing production costs. Furthermore, since the temperature control switches are connected in series with the live or neutral wire, high voltage and current pass directly through them at high temperatures. Repeated switching of these switches can shorten their lifespan. Additionally, when the temperature control switch is open, the vehicle charger stops working until it closes again, affecting charging efficiency. Moreover, the vehicle charger controls the opening and closing of relays based on the temperature control switch's movement. Repeated opening and closing of these relays can cause arcing between their contacts, further impacting the charger's lifespan.
[0045] To address the aforementioned technical problems, this application provides a fault detection method.
[0046] The following section will first introduce one application scenario of the technical solution of this application, such as... Figure 1 As shown, the charging control method provided in this application can be applied to, for example... Figure 1 In the application scenario shown, this charging control method is applied to a charging control system 1000, which includes a charging device 100 and a vehicle 200.
[0047] Vehicle 200 is any vehicle 200 that can be charged, such as an electric vehicle.
[0048] The charging device 100 includes a charging line 10, a first switch 20, and a second switch 30. The charging line 10 is used to connect a power source and the device to be charged (e.g., ...). Figure 1 In the vehicle 200, the first switch 20 is used to control the on / off state of the charging line 10, and the second switch 30 is used to disconnect when the temperature of the charging equipment 100 is greater than a preset temperature threshold.
[0049] Optionally, the first switching element 20 may be a relay.
[0050] Optionally, the second switching element 30 may be a temperature control switch.
[0051] Optionally, the charging device 100 includes a charging input interface 40, a charging output interface 50, and a controller 60. The charging line 10 passes through the charging input interface 40, the controller 60, and the charging output interface 50 in sequence. A first switch 20 is disposed on the controller 60, and a second switch 30 is disposed on the charging input interface 40 and close to the charging line in the charging input interface 50. The second switch 30 is used to disconnect when the temperature around the charging line 10 in the charging input interface 40 is greater than a preset temperature threshold.
[0052] Please see Figure 1 The charging control method of this application is applied to a charging device, which includes a charging line, a first switch, and a second switch. The charging line is used to connect a power source and a device to be charged. The first switch is used to control the on / off state of the charging line. The second switch is used to disconnect the charging device when its temperature exceeds a preset temperature threshold. The charging control method includes:
[0053] Step 011: Get the number of disconnections.
[0054] Optionally, the charging device includes a charging input interface, a charging output interface, and a controller. The charging line passes through the charging input interface, the controller, and the charging output interface in sequence. A first switch is located on the controller, and a second switch is located on the charging input interface and close to the charging line in the charging input interface. The second switch is used to disconnect when the temperature around the charging line in the charging input interface is greater than a preset temperature threshold.
[0055] The device to be charged can be a vehicle, etc.
[0056] The charging input interface is used to connect to a power source; for example, it can be a plug (such as a three-prong plug). The charging output interface is used to connect to the device being charged (such as a vehicle); it can be a charging gun.
[0057] The controller can be used to control the working state of the charging device. For example, the controller can control the connection of the second switch of the charging device to control the charging device to charge the device to be charged.
[0058] The charging circuit connects the power source and the device to be charged. It sequentially passes through a charging input interface, a controller, and a charging output interface, allowing the device to be charged. For example, the charging circuit may include a live wire, a neutral wire, and a ground wire. The live and neutral wires form a charging circuit, while the ground wire prevents leakage from the vehicle charger and / or the vehicle. Charging is achieved by controlling the charging circuit's continuity.
[0059] The first switch is used to control the conduction of the charging line. The first switch is located in the controller and can be a relay, such as an electromagnetic relay. By controlling the connection or disconnection of the internal switching structure of the relay, the charging line can be controlled to be turned on or off.
[0060] A relay is an electrical control device based on electromagnetic induction, used to control the opening and closing of circuits. For example, taking an electromagnetic relay as the first switching element, an electromagnetic effect (electromagnetic force) is generated by energizing the coil of the electromagnetic relay. Under the action of the electromagnetic force, the armature of the electromagnetic relay overcomes the tension of the return spring on the moving contact, causing the moving contact and the stationary contact (i.e., the normally open contact) to close, thereby connecting the charging circuit.
[0061] The second switch can be a temperature control switch, which can turn the circuit on or off based on the temperature of the operating environment. The second switch is located at the charging input interface and close to the charging circuit within it. It can detect the temperature of the charging circuit. If the temperature around the charging circuit in the charging input interface exceeds a preset temperature threshold, the second switch opens; if the temperature around the charging circuit in the charging input interface is below a preset temperature (e.g., 60°C), the second switch closes, allowing the charging device to continue charging.
[0062] The preset temperature threshold can be set according to the operating temperature of the charging device. For example, the preset temperature threshold can be 75 degrees Celsius (°C), 80°C, 85°C, 90°C, etc. The disconnection count is the number of times the second switch disconnects because the temperature of the charging device exceeds the preset temperature threshold (i.e., the number of times it disconnects due to the charging device being too hot).
[0063] Specifically, the second switch (such as a temperature control switch) disconnects when the temperature of the charging device exceeds a preset temperature threshold (e.g., 85°C). The number of disconnections can be used to characterize the number of times the temperature of the charging device exceeds the preset temperature threshold during the charging process. By obtaining the number of disconnections of the second switch, the temperature of the charging device during the charging process can be monitored (e.g., whether there is an overheating fault). Since the second switch is located at the charging input interface and close to the charging circuit in the charging input interface, and the second switch is used to disconnect when the temperature around the charging circuit in the charging input interface exceeds the preset temperature threshold, that is, the second switch is not connected in series with the charging circuit, high voltage and high current do not pass through the second switch at high temperatures, which can avoid affecting the service life of the second switch. Furthermore, it is not necessary to set the second switch on the live wire and neutral wire of the charging device separately. Therefore, this application only requires at least one second switch to monitor the temperature of the charging device. Compared with the current method of setting at least two second switches, this application can save the production cost of the charging device.
[0064] Step 012: Determine the charging power based on the number of disconnections.
[0065] Charging power is the power output by the charging device to the device being charged during the charging process.
[0066] Specifically, the charging power output by the charging device to the device being charged is determined based on the number of times the second switch is disconnected; the more disconnections, the lower the charging power. Since charging power and the temperature of the charging device are positively correlated, using a higher charging power when the second switch disconnects frequently will further increase the temperature of the charging device, potentially leading to or exacerbating overheating issues. Conversely, a low number of disconnections (or even none) is insufficient to prove overheating (e.g., the second switch might disconnect accidentally due to power fluctuations), and using a lower charging power in such cases would easily affect charging efficiency. Therefore, the charging power can be determined based on the number of disconnections caused by higher temperatures. For example, an empirical threshold can be set, and the charging power can be reduced when the number of disconnections exceeds this threshold. Alternatively, a mapping relationship between the number of disconnections and the charging power can be established based on experiments, tables, or empirical values, allowing the corresponding charging power to be determined based on the number of disconnections.
[0067] Optionally, the number of disconnections and the charging power are negatively correlated; if the number of disconnections exceeds a preset number, the charging power is 0.
[0068] The preset number of attempts can be set based on experience.
[0069] Optionally, when the number of disconnections is 1, the ratio of charging power to preset power is in the first power range [60%, 90%]; when the number of disconnections is 2, the ratio of charging power to preset power is in the second power range [30%, 60%]; when the number of disconnections is 3, the ratio of charging power to preset power is in the second power range [5%, 30%]; and when the number of disconnections is 4, the charging power is 0.
[0070] The preset power can be the rated charging power of the charging device; or it can be set according to the battery settings of the device to be charged.
[0071] Specifically, in the case of 1 disconnection, the charging power is adjusted to 60% to 90% of the preset power (e.g., by adjusting the duty cycle of the charging device to change the charging power); in the case of 2 disconnections, the charging power is adjusted to 30% to 60% of the preset power; in the case of 3 disconnections, the charging power is adjusted to 5% to 30% of the preset power; in the case of 4 disconnections, the charging device is very likely to have an overheating fault, so the charging power is adjusted to 0 instead of directly disconnecting the first switching element (e.g., the relay). That is, the first switching element can still be in the conducting state at this time, which can avoid the first switching element from repeatedly switching on and off, affecting the service life of the first switching element and avoiding affecting charging safety.
[0072] Step 013: Perform charging control based on charging power.
[0073] Specifically, the charging device is connected to a power source and charged with the corresponding charging power.
[0074] In this way, by acquiring the number of disconnections, the temperature of the charging device during the charging process can be monitored; based on the number of disconnections, the charging power can be determined, and then charging control can be performed based on the charging power. That is, without continuously opening the first switch, the charging power is set according to the temperature of the charging device during the charging process, and the device to be charged is charged according to the corresponding charging power, instead of controlling the charging device to stop charging when the temperature control switch is opened, thus ensuring the charging efficiency of the charging device; and when the second switch repeatedly opens and closes in response to the temperature of the charging device, the first switch is no longer controlled to repeatedly open and close, which can avoid affecting the service life of the charging device.
[0075] Please see Figure 3In some embodiments, the second switch includes a first terminal and a second terminal opposite to each other. When the second switch is open, the connection between the first terminal and the second terminal is broken. The controller is connected to the first terminal via a first line and to the second terminal via a second line. The controller is used to send a detection signal via the first line and detect the electrical signal at the second terminal via the second line. Step 011: Obtain the number of on / off cycles, including:
[0076] Step 0111: Obtain the electrical signal at the second end;
[0077] Step 0112: Determine the number of on / off cycles based on the electrical signal at the second terminal.
[0078] The first and second lines can be used to transmit and detect electrical signals, for example, they can be a CP line (communication line between the device to be charged and the charging device), etc.
[0079] Specifically, the second switch includes a first terminal and a second terminal. When the first terminal and the second terminal are connected, the controller sends a detection signal (e.g., a current detection signal). This detection signal can pass through the first line, sequentially through the first terminal and the second terminal, and enter the second line. The controller can obtain the electrical signal of the second terminal through the second line. When the temperature of the charging device (i.e., the temperature of the charging circuit in the charging input interface) exceeds a preset temperature threshold, the connection between the first terminal and the second terminal of the second switch is broken. The detection signal can no longer flow from the first terminal to the second terminal, and there is no current in the second line, meaning the controller cannot obtain the electrical signal of the second terminal.
[0080] For example, please see Figure 4 Taking a relay as the first switching element and a temperature control switch K2 as the second switching element as an example, the second switching element is located at the charging input interface and close to the charging circuit in the charging input interface (e.g., Figure 4 The temperature control switch K2 disconnects when the temperature around the charging circuit in the charging input interface exceeds a preset temperature threshold (containing the L, N, and PE lines). The temperature control switch K2 includes a first terminal and a second terminal. A detection signal can flow from the first line through the first terminal and then the second terminal to enter the second line. When the first and second terminals of the temperature control switch K2 are disconnected, the detection signal can no longer flow from the first terminal to the second terminal, and there is no current in the second line; therefore, the controller cannot obtain an electrical signal from the second terminal.
[0081] Therefore, by acquiring the electrical signal from the second terminal of the second switch, if the controller cannot acquire the electrical signal from the second terminal, it is considered that the second switch is open, and the current on / off count is recorded as 1. If the controller regains connection with the first and second terminals and acquires the electrical signal from the second terminal again, but then cannot acquire the signal from the second terminal again, it is determined that the second switch is open, and the previous on / off count is incremented by one to become the current on / off count, i.e., the current on / off count is updated to 2. In this way, based on the electrical signal from the second terminal, the current on / off count is continuously recorded and updated to determine the total on / off count.
[0082] Please see Figure 4 and Figure 5 In some implementations, step 0112: determining the number of on / off cycles based on the electrical signal at the second terminal includes:
[0083] Step 01121: Based on the electrical signal at the second terminal, determine the on / off information of the second switch, wherein when the voltage at the second terminal is 0, determine that the second switch is open, and when the voltage at the second terminal is a preset voltage, determine that the second switch is closed.
[0084] Step 01122: Determine the number of on / off cycles based on the on / off information of the second switching device.
[0085] The preset voltage is determined based on the voltage when the second switch is connected, and the preset voltage is greater than 0. On / off information includes whether the second switch is closed or open.
[0086] Specifically, when the second switch is closed (i.e., the first and second terminals are connected), the voltage at the second terminal is a preset voltage; when the second switch is open (i.e., the first and second terminals are disconnected), the electrical signal cannot flow from the first terminal to the second terminal, and the voltage at the second terminal is 0. Therefore, by obtaining the voltage at the second terminal of the second switch, the on / off information of the second switch can be determined, thereby determining the number of on / off cycles.
[0087] Please see Figure 6 In some embodiments, the controller is also connected to the first terminal via a third line. The controller detects the electrical signal at the first terminal via the third line. Step 011: Obtain the number of on / off cycles, including:
[0088] Step 0113: Obtain the electrical signals from the first and second terminals;
[0089] Step 0114: Determine the number of on / off cycles based on the electrical signals from the first and second terminals.
[0090] The third line can be used to detect the electrical signal at the first end.
[0091] Specifically, please refer to [the relevant document] again. Figure 4If a fault exists in the first circuit, preventing the detected electrical signal from flowing from the first terminal to the second terminal, the voltage at the second terminal will also be 0. Therefore, relying solely on the voltage at the second terminal to determine if the second switch is open may lead to false positives. To improve the accuracy of the on / off count, a third circuit can be set up. The controller connects to the first terminal via this third circuit and detects the electrical signal at the first terminal through it. Determining the on / off count based on the electrical signals at both the first and second terminals eliminates the possibility of a fault in the first circuit preventing the acquisition of the second terminal's signal, thus avoiding interference with the on / off count. For example, if the electrical signal at the first terminal is acquired through the third circuit but not through the second circuit, it can be assumed that the detected signal reaches the first terminal. The inability to acquire the second terminal's signal in this case indicates that the second switch (such as a temperature control switch) is open, and therefore, the on / off count is incremented by one.
[0092] Please see Figure 7 In some implementations, step 0114: determining the number of on / off cycles based on the electrical signals from the first and second terminals, includes:
[0093] Step 01141: Based on the electrical signals at the first and second terminals, determine the on / off information of the second switch. Specifically, if the voltage at the first terminal is a preset voltage and the voltage at the second terminal is 0, determine that the second switch is open, and the preset voltage is greater than 0; if the voltage at the second terminal is a preset voltage, determine that the second switch is closed.
[0094] Step 01142: Determine the number of on / off cycles based on the on / off information of the second switching device.
[0095] Specifically, when the detection signal can pass through the first line to the first terminal, the voltage at the first terminal is a preset voltage. Therefore, when the voltage at the first terminal is the preset voltage and the voltage at the second terminal is 0, it is determined that the second switch is open. When the detection signal can pass through the first line sequentially through the first and second terminals, the voltage at the second terminal can be obtained through the second line as a preset voltage. Therefore, when the voltage at the second terminal is the preset voltage, it is determined that the second switch is closed. The on / off information of the second switch can be determined through the electrical signals at the first and second terminals to determine the number of on / off cycles.
[0096] Please see Figure 8 In some embodiments, the charging control method further includes:
[0097] Step 015: Based on the electrical signals at the first and second terminals, determine whether a line fault exists. Specifically, if the voltage at the first terminal is 0, determine that at least one of the first and third lines has a line fault.
[0098] Step 0114: Based on the electrical signals from the first and second terminals, determine the number of on / off cycles, including:
[0099] Step 01143: In the absence of a line fault, determine the number of on / off cycles based on the electrical signals from the first and second terminals.
[0100] Specifically, please refer to Figure 4 It can be understood that if the first line is faulty and the third line is not faulty, the electrical signal cannot reach the first terminal, and the voltage at the first terminal obtained by the controller through the third line is 0, and the voltage at the second terminal obtained through the second line is also 0. Conversely, if the third line is faulty and the first line is not faulty, the voltage at the first terminal obtained by the controller through the third line is 0, and the voltage at the second terminal obtained through the second line is the preset voltage. Therefore, the presence of a line fault in either the first or third line can be determined based on the electrical signals at the first and second terminals. To improve the accuracy of the on / off count detection, in the absence of a line fault—that is, when the voltage at the first terminal obtained through the first line is the preset voltage, and the voltage at the first terminal obtained through the third line is also the preset voltage—the electrical signal at the second terminal can be obtained through the second line to determine whether the second switch is closed or open.
[0101] Please see Figure 9 and Figure 10 In some implementations, step 013: charging control based on charging power includes:
[0102] Step 0131: Send a charging control signal to the device to be charged, so that the device to be charged charges at the charging power, the charging control signal being generated based on the charging power; or,
[0103] Step 0132: Control the first switch to open or close based on the charging control signal so that the device to be charged can be charged at the charging power.
[0104] Specifically, the charging control signal is generated based on the charging power, and the charging control signal includes the charging power. The device to be charged can be charged by sending the charging control signal to it, so that the device can charge according to the charging power in the charging control signal. Alternatively, the first switching element can be controlled to connect based on the charging control signal (for example, see [reference]). Figure 4 (Control relay to connect) to connect the charging line, and then control the device to be charged to charge according to the charging power in the charging control signal.
[0105] Please see Figure 11 In some implementations, step 013: charging control based on charging power includes:
[0106] Step 0133: When the charging power is 0, control the first switch to disconnect and / or issue a first prompt message.
[0107] The first prompt can be in the form of text, voice, light, or other similar information.
[0108] Specifically, when the charging power is 0, the first switch is controlled to open; or, when the charging power is 0, a first prompt message is issued; or, when the charging power is 0, the first switch is controlled to open and a first prompt message is issued.
[0109] Specifically, when the charging power is 0, charging to the device to be charged can be stopped by controlling the first switch to turn off (or by controlling the first switch to turn off after multiple charging power cycles have reached 0); or, by issuing a first prompt message (for example, by setting a display screen on the charging device and displaying the text "There may be an over-temperature fault"), the user is prompted to check the charging device to further confirm whether there is an over-temperature fault, thereby improving charging safety.
[0110] Please see Figure 12 In some embodiments, the charging control method further includes:
[0111] Step 016: After the first switch is disconnected for a preset time, initialize the number of on / off cycles and control the first switch to be turned on.
[0112] The preset duration can be set based on experimental or empirical values. For example, the preset duration can be 30 minutes, 40 minutes, 45 minutes, 60 minutes, 75 minutes, 120 minutes, etc.
[0113] Specifically, after the first switch is disconnected for a preset time (e.g., 30 minutes), the charging device may have cooled down, meaning the overheating may have subsided, and the charging device can resume charging. By initializing the number of on / off cycles of the charging device and controlling the first switch to be turned on again, the charging efficiency can be improved.
[0114] Please see Figure 13 In some embodiments, the charging control method further includes:
[0115] Step 017: Obtain the number of times the first switching element has been turned on;
[0116] Step 018: If the number of conduction cycles exceeds the preset number, send a stop charging signal to the device to be charged so that the device to be charged stops charging.
[0117] The preset number of times can be 2, 3, 4, 5, etc. When a stop charging signal is received, charging to the device to be charged will stop.
[0118] Specifically, the fact that the first switching element (taking a relay as an example) is turned on multiple times indicates that the charging device has experienced high temperatures multiple times during the charging process. In order to improve charging safety, if the number of times the first switching element is turned on exceeds a preset number (for example, 3 times), a stop charging signal is sent to the device to be charged so that the device to be charged stops charging the device to be charged, thereby reducing the risk of overheating during the charging process.
[0119] To facilitate better implementation of the charging control method of this application embodiment, this application embodiment also provides a charging control device 300. The charging control device 300 is applied to a charging device, which includes a charging line, a first switch, and a second switch. The charging line is used to connect a power source and a device to be charged. The first switch is used to control the on / off state of the charging line, and the second switch is used to disconnect when the temperature of the charging device exceeds a preset temperature threshold. Please refer to [link to relevant documentation]. Figure 14 , Figure 14 This is a schematic diagram of the charging control device 300 provided in an embodiment of this application. The charging control device 300 may include an acquisition module 301, a determination module 302, and a control module 303. The acquisition module 301 is used to acquire the number of disconnections; the determination module 302 is used to determine the charging power based on the number of disconnections; and the control module 303 is used to perform charging control based on the charging power.
[0120] In one embodiment, the second switch includes a first end and a second end opposite to each other. When the second switch is open, the connection between the first end and the second end is broken. The controller is connected to the first end through the first line and to the second end through the second line. The controller is used to send a detection signal through the first line and detect the electrical signal of the second end through the second line. The acquisition module 301 is further used to acquire the electrical signal of the second end and determine the number of on / off cycles based on the electrical signal of the second end.
[0121] In one embodiment, the acquisition module 301 is further configured to determine the on / off information of the second switch based on the electrical signal at the second terminal, wherein the second switch is determined to be open when the voltage at the second terminal is 0, and the second switch is determined to be closed when the voltage at the second terminal is a preset voltage; and the number of on / off cycles is determined based on the on / off information of the second switch.
[0122] In one embodiment, the controller is also connected to the first end via a third line. The controller detects the electrical signal of the first end via the third line. The acquisition module 301 is specifically used to acquire the electrical signals of the first end and the second end and determine the number of on / off cycles based on the electrical signals of the first end and the second end.
[0123] In one embodiment, the determining module 302 is further configured to determine the on / off information of the second switch based on the electrical signals of the first terminal and the second terminal, wherein the second switch is determined to be open when the voltage of the first terminal is a preset voltage and the voltage of the second terminal is 0, and the preset voltage is greater than 0; the second switch is determined to be closed when the voltage of the second terminal is a preset voltage; and the number of on / off cycles is determined based on the on / off information of the second switch.
[0124] In one embodiment, the determining module 302 is further used to determine whether there is a line fault based on the electrical signals of the first terminal and the second terminal, wherein when the voltage of the first terminal is 0, it is determined that at least one of the first line and the third line has a line fault; the obtaining module 301 is further used to determine the number of on / off cycles based on the electrical signals of the first terminal and the second terminal when there is no line fault.
[0125] In one embodiment, the control module 303 is further configured to send a charging control signal to the device to be charged, so that the device to be charged is charged with charging power, wherein the charging control signal is generated based on the charging power; or, based on the charging control signal, control the first switch to open or close, so that the device to be charged is charged with charging power.
[0126] In one embodiment, the control module 303 is further configured to control the first switch to disconnect and / or issue a first prompt message when the charging power is 0.
[0127] In one embodiment, the control module 303 is further configured to initialize the number of on / off cycles and control the first switch to be turned on after the first switch has been turned off for a preset time.
[0128] In one embodiment, the acquisition module 301 is further configured to acquire the number of times the first switch is turned on; if the number of times it is turned on is greater than a preset number, a stop charging signal is sent to the device to be charged so that the device to be charged stops charging.
[0129] Each module in the aforementioned charging device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0130] Please refer to it again. Figure 1 The charging device 100 of this application may include a charging line 10, a first switch 20, a second switch 30, and a controller 60. The charging line 10 is used to connect a power source and the device to be charged (e.g., Figure 1The vehicle 200 shown has a first switch 20 for controlling the on / off state of the charging line 10, a second switch 30 for disconnecting the charging device 100 when the temperature exceeds a preset temperature threshold, and a controller 60 for executing the charging control method of any of the above embodiments. For the sake of brevity, it will not be described in detail here.
[0131] Please see Figure 15 This application also provides a computer-readable storage medium 500 storing a computer program 510. When the computer program 510 is executed by the controller 60, it implements the steps of the charging control method of any of the above embodiments. For the sake of brevity, these steps will not be described in detail here.
[0132] It is understood that a computer program 510 includes computer program code. Computer program code can be in the form of source code, object code, executable files, or some intermediate form. Computer-readable storage media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, external hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution media, etc.
[0133] In the description of this specification, the terms "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with the described embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0134] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.
[0135] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A charging control method, characterized in that, An application is made to a charging device, the charging device including a charging line, a first switch, and a second switch. The charging line connects a power source and a device to be charged. The first switch controls the on / off state of the charging line. The second switch disconnects when the temperature of the charging device exceeds a preset temperature threshold. The method includes: Obtain the number of times the second switch has been disconnected; The charging power is determined based on the number of disconnections. Charging control is performed based on the aforementioned charging power; The number of disconnections and the charging power are negatively correlated; when the number of disconnections exceeds a preset number, the charging power is 0. The second switch includes a first end and a second end opposite to each other. When the second switch is open, the connection between the first end and the second end is broken. The controller is connected to the first end via a first line and to the second end via a second line. The controller is used to send a detection signal via the first line and detect the electrical signal at the second end via the second line. The step of obtaining the number of times the second switch has been opened includes: Obtain the electrical signal at the second end; Based on the electrical signal at the second terminal, determine the number of times the second switch is disconnected; The controller is also connected to the first terminal via a third line, and the controller detects the electrical signal of the first terminal via the third line. The step of obtaining the number of times the second switch has been opened includes: Acquire the electrical signals from the first terminal and the second terminal; Based on the electrical signals at the first and second terminals, determine the number of times the second switch is disconnected; The third line is used to detect the electrical signal at the first end.
2. The charging control method according to claim 1, characterized in that, The charging device includes a charging input interface, a charging output interface, and a controller. The charging line passes through the charging input interface, the controller, and the charging output interface in sequence. A first switch is located on the controller, and a second switch is located on the charging input interface and close to the charging line in the charging input interface. The second switch is used to disconnect when the temperature around the charging line in the charging input interface is greater than the preset temperature threshold.
3. The charging control method according to claim 1, characterized in that, Determining the number of times the second switch is disconnected based on the electrical signal at the second terminal includes: Based on the electrical signal at the second terminal, the on / off information of the second switch is determined, wherein when the voltage at the second terminal is 0, the second switch is determined to be open, and when the voltage at the second terminal is a preset voltage, the second switch is determined to be closed. Based on the on / off information of the second switch, the number of times the second switch is disconnected is determined.
4. The charging control method according to claim 1, characterized in that, Determining the number of times the second switch is disconnected based on the electrical signals from the first and second terminals includes: Based on the electrical signals at the first and second terminals, the on / off information of the second switch is determined. Specifically, if the voltage at the first terminal is a preset voltage and the voltage at the second terminal is 0, the second switch is determined to be open, where the preset voltage is greater than 0; if the voltage at the second terminal is a preset voltage, the second switch is determined to be closed. Based on the on / off information of the second switch, the number of times the second switch is disconnected is determined.
5. The charging control method according to claim 1 or 4, characterized in that, The method further includes: Based on the electrical signals of the first terminal and the second terminal, it is determined whether there is a line fault, wherein when the voltage of the first terminal is 0, it is determined that at least one of the first line and the third line has a line fault. Determining the number of times the second switch is disconnected based on the electrical signals from the first and second terminals includes: In the absence of the aforementioned line fault, the number of times the second switch is disconnected is determined based on the electrical signals at the first and second terminals.
6. The charging control method according to claim 1, characterized in that, The charging control based on the charging power includes: A charging control signal is sent to the device to be charged, causing the device to charge at the charging power, wherein the charging control signal is generated based on the charging power; or... The first switch is controlled to open and close based on the charging control signal, so that the device to be charged is charged with the charging power.
7. The charging control method according to claim 1 or 6, characterized in that, The charging control based on the charging power includes: When the charging power is 0, the first switch is controlled to disconnect and / or a first prompt message is issued.
8. The charging control method according to claim 7, characterized in that, Also includes: After the first switch is disconnected for a preset time, the number of times the second switch is disconnected is initialized, and the first switch is controlled to be turned on.
9. The charging control method according to claim 8, characterized in that, Also includes: Obtain the number of times the first switching element has been turned on; If the number of conduction cycles exceeds a preset number, a stop charging signal is sent to the device to be charged, so that the device to be charged stops charging.
10. The charging control method according to claim 1, characterized in that, When the number of disconnections is 1, the ratio of the charging power to the preset power is in the first power range [60%, 90%]; when the number of disconnections is 2, the ratio of the charging power to the preset power is in the second power range [30%, 60%]; when the number of disconnections is 3, the ratio of the charging power to the preset power is in the second power range [5%, 30%]; when the number of disconnections is 4, the charging power is 0.
11. A charging device, characterized in that, The device includes a charging line, a first switch, a second switch, and a controller. The charging line is used to connect a power source and a device to be charged. The first switch is used to control the on / off state of the charging line. The second switch is used to disconnect the charging line when the temperature of the device being charged exceeds a preset temperature threshold. The controller is used to execute the charging control method according to any one of claims 1-10.
12. A vehicle, characterized in that, Includes the charging device as described in claim 11.
13. A non-volatile computer-readable storage medium for a computer program, characterized in that, When the computer program is executed by one or more processors, it implements the charging control method according to any one of claims 1-10.
Citation Information
Patent Citations
Adjustable charging device with abnormal connection detection function and control method
CN110901429A
New energy automobile charging power control method and device, storage medium and equipment
CN114274822A
Vehicle charger and over-temperature protection method and over-temperature protection device thereof
CN115036759A
Flash state detection circuit, method and device and electronic equipment
CN115453415A
Power supply detection control device
CN115459207A