Current distribution method, device, medium and product based on double charging gun
By evenly distributing and limiting the charging demand current when the vehicle switches from heating mode to charging-heating linkage mode, the charging anomaly caused by false current requests in the traditional strategy is solved, and normal continuity and stable charging between heating mode and charging-heating linkage mode are achieved.
Patent Information
- Application Number
- CN202611260319.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-19
- Publication Date
- 2026-11-03
AI Technical Summary
When a vehicle transiently switches from heating mode to charging-heating linkage mode, the traditional charging current distribution strategy causes the heating mode and charging-heating linkage mode to fail to continue normally, generating false current requests, resulting in abnormal charging handshake and power lockout.
When the system detects a switch from heating mode to charging-heating linkage mode, it acquires the vehicle's charging current demand and battery temperature, distributes them evenly to each charging gun, limits the initial charging request current based on the battery temperature and charging current demand, determines the final charging request current, and ensures that the current is within the legal range by establishing an adaptive limiting mechanism.
It eliminates false current requests, avoids charging handshake anomalies and power lockout, ensures the normal continuity between heating mode and charging-heating linkage mode, and ensures the stability and reliability of the charging process.
Smart Images

Figure CN123025674A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle charging technology, specifically to a current distribution method, device, medium, and product based on dual charging guns. Background Technology
[0002] In low-temperature environments, new energy vehicles typically require coordinated control of dual-charging-gun DC fast charging and on-board PTC heating to achieve composite operating modes such as pure heating and simultaneous charging and heating. This technical scenario demands that the charging system be able to rationally and stably distribute the charging current between the two charging guns according to the actual operating conditions of the vehicle, ensuring coordinated operation of the vehicle's thermal management and the fast charging process.
[0003] Currently, after obtaining the charging current demand of the vehicle, the relevant technology prioritizes configuring the backup current corresponding to the minimum output capacity of the charging pile for the first charging gun, then subtracts the requested current of the first charging gun from the charging current demand, and obtains the requested current of the second charging gun through differential calculation.
[0004] However, when the vehicle transiently switches from heating mode to charging-heating linkage mode, the vehicle battery charging demand has not yet been established at this stage. However, due to the continued heating current consumption, the second charging gun generates a positive charging request current that contradicts the actual charging demand after differential calculation, making it impossible for the heating mode and the charging-heating linkage mode to be connected normally. Summary of the Invention
[0005] In view of this, this application aims to provide a current distribution method, device, medium and product based on dual charging guns, so as to solve the problem that heating mode and charging-heating linkage mode cannot be properly connected in traditional related technologies.
[0006] The first aspect of this application provides a current distribution method based on dual charging guns, comprising: when a vehicle switches from a heating mode to a charging-heating linkage mode, acquiring the vehicle's current charging demand current and battery temperature; distributing the charging demand current equally to each charging gun to obtain the initial charging request current of each charging gun; limiting the initial charging request current according to the battery temperature and the charging demand current to determine the final charging request current; and distributing the final charging request current to each charging gun.
[0007] In one possible implementation of this application, detecting the vehicle's switch from heating mode to charging-heating linkage mode includes: monitoring the state of the vehicle's high-voltage main relay; when the high-voltage main relay is detected to be performing a closing action, it is determined that the vehicle has switched from heating mode to charging-heating linkage mode.
[0008] In one possible implementation of this application, limiting the initial charging request current based on the battery temperature and the charging demand current to determine the final charging request current includes: determining a corresponding limiting strategy switching threshold based on the temperature range to which the battery temperature belongs; comparing the limiting strategy switching threshold with the magnitude of the charging demand current, determining a limiting strategy based on the comparison result, and limiting the initial charging request current according to the current limiting strategy to determine the final charging request current.
[0009] In one possible implementation of this application, determining the corresponding limiting strategy switching threshold based on the temperature range to which the battery temperature belongs includes: if the battery temperature is less than or equal to a first preset temperature, then determining a first current value as the limiting strategy switching threshold; if the battery temperature is greater than or equal to a second preset temperature, then determining a second current value as the limiting strategy switching threshold; if the battery temperature is greater than the first preset temperature and less than the second preset temperature, then determining the limiting strategy switching threshold using a linear interpolation method based on the first current value and the second current value; wherein the first preset temperature is less than the second preset temperature.
[0010] In one possible implementation of this application, comparing the relationship between the limiting strategy switching threshold and the charging demand current, determining the limiting strategy based on the comparison result, and limiting the initial charging request current according to the current limiting strategy to determine the final charging request current includes: when the charging demand current is less than or equal to the limiting strategy switching threshold, obtaining the minimum allowable output current of the charging pile; and determining the larger value between the initial charging request current and the minimum allowable output current as the final charging request current. When the charging demand current is greater than the limiting strategy switching threshold, obtaining the maximum allowable output current of the charging pile; selecting the larger value between the initial charging request current and a preset safe current threshold; and determining the smaller value between the larger value and the maximum allowable output current as the final charging request current.
[0011] In one possible implementation of this application, the value of the charging current requirement is taken as the accessory current value when the vehicle's PTC heating is working.
[0012] In one possible implementation of this application, the method further includes: real-time monitoring of the message communication status between the vehicle and the charging pile, as well as the operating status of the vehicle accessories; determining whether a preset fault triggering condition is met, wherein the preset fault triggering condition includes one or more of the following: message loss, message reception period exceeding a preset time threshold, and abnormal battery temperature sampling data; if the preset fault triggering condition is met, then confirming that the vehicle has entered a fault state and triggering a fault protection strategy to control the vehicle to terminate the current charging process.
[0013] A second aspect of this application also provides a current distribution device based on dual charging guns, including a detection module for detecting when the vehicle switches from a heating mode to a charging-heating linked mode, and acquiring the vehicle's current charging demand current and battery temperature. An acquisition module is used to evenly distribute the charging demand current to each charging gun to obtain the initial charging request current for each charging gun. A determination module is used to limit the initial charging request current based on the battery temperature and the charging demand current to determine the final charging request current. An distribution module is used to distribute the final charging request current to each charging gun.
[0014] A third aspect of this application provides an electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to cause the at least one processor to perform a current distribution method based on a dual charging gun as described in the first aspect and possible implementations thereof.
[0015] The fourth aspect of this application provides a computer storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement a current distribution method based on dual charging guns, as described in the first aspect and possible implementations thereof.
[0016] The fifth aspect of this application provides a computer program product comprising: a computer program that, when executed by a processor, implements a dual-charging-gun-based current distribution method as described in the first aspect and possible implementations thereof.
[0017] This application provides a current distribution method, device, medium, and product based on dual charging guns. In this method, when a vehicle switches from heating mode to charging-heating linkage mode, the charging demand current is evenly distributed to each charging gun as the initial charging request current. Based on the battery temperature and the charging demand current, the initial charging request current is limited before outputting the final charging request current, which is then distributed to each charging gun. This method abandons differential derivation logic. During the transient switch from heating to charging-heating linkage, the request current of each gun automatically follows the charging demand current and remains within a legal range. This avoids false current requests during the entire transient switch, eliminates charging handshake anomalies, power lockout, and charging interruption faults, and ensures a normal transition between heating mode and charging-heating linkage mode. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the specific embodiments or related technologies of this application, the drawings used in the description of the specific embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of the architecture of a current distribution system based on dual charging guns provided in an embodiment of this application.
[0020] Figure 2 A flowchart illustrating the current distribution method based on dual charging guns provided in this application embodiment. Figure 1 .
[0021] Figure 3 A flowchart illustrating the current distribution method based on dual charging guns provided in this application embodiment. Figure 2 .
[0022] Figure 4 This is a schematic diagram of the structure of a current distribution device based on dual charging guns provided in an embodiment of this application.
[0023] Figure 5 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0025] In the technical field of dual-gun DC charging and on-board heating linkage control, a differential derivation-based allocation strategy is commonly used to achieve current distribution among multiple charging guns. Specifically, this strategy first sets the charging request current of the first charging gun to a fixed negative offset current value, which typically corresponds to the minimum allowable output capacity of the charging pile. Then, the charging request current of the second charging gun is calculated by subtracting the first gun's allocated current from the total vehicle charging demand current using a differential method. This approach ensures that at least one charging gun is in a stable current output state and automatically adapts to changes in the total charging demand current using differential calculation, achieving power splitting between the two guns under normal charging conditions.
[0026] However, during the transient transition from heating mode to combined heating and charging mode, the battery has not yet established a charging demand, and the vehicle's charging current only comes from the PTC heating accessory. According to the original strategy, the first charging gun is still forced to receive a negative offset current. After differential calculation, the second charging gun will be forced to generate a positive compensation current request, which directly conflicts with the battery's actual zero charging demand. For example, at the moment of the transient transition from pure heating mode to simultaneous charging and heating mode, the total battery charging demand has not yet been established. If the vehicle has PTC accessory heating power consumption at this time, i.e., a loop current of 5A, and the first charging gun is still forced to output a minimum fallback offset current (typically -10A), after calculation using the differential formula "second gun current = total demand current - first gun current", 5A minus -10A will cause the second gun to generate a false positive charging request current. This abnormal current request severely contradicts the vehicle's zero charging demand state, causing abnormal charging logic judgment, handshake failure, and charging lockout interruption in the second gun, resulting in the inability to properly connect the heating mode and the charging heating.
[0027] Through in-depth analysis, the inventors discovered that the root cause of the aforementioned contradiction lies in the coupling relationship of subtraction derivation between the currents of each charging gun, and the fixed negative offset current of the first charging gun constitutes the error source of the entire link. When the total charging demand current is lower than the absolute value of this negative offset, the subtraction operation inevitably causes the sign of the requested current of the other charging gun to reverse, forming a false positive current. Simultaneously, the currents of each charging gun lack independent limiting mechanisms, lacking direct constraints on the final output result, and are unable to filter out abnormal values before output.
[0028] To address the aforementioned technical problems, this application proposes the following technical concept: When a switch from heating mode to charging-heating linkage mode is detected, the current charging demand current of the entire vehicle and the battery temperature are acquired. The charging demand current is then evenly distributed to each charging gun to obtain the initial charging request current. Based on the battery temperature and charging demand current, the initial request current of each gun is independently limited to determine the final charging request current and distribute the output. This scheme eliminates the subtraction relationship between the currents of each charging gun, ensuring that the current of each charging gun is constrained by the total charging demand current and subject to safety limiting. While guaranteeing normal current distribution capacity, it eliminates the false positive current generated by differential calculation at its source, ensuring a normal transition between heating mode and charging-heating linkage mode.
[0029] Figure 1 This is a schematic diagram of the architecture of a current distribution system based on dual charging guns provided in an embodiment of this application. Figure 1As shown, it includes a vehicle controller 10, a high-voltage main relay 20, a battery management system 30, a PTC heater 40, a first charging gun 50, a second charging gun 60, a first charging pile controller 70 corresponding to the first charging gun, and a second charging pile controller 80 corresponding to the second charging gun.
[0030] The vehicle controller 10 is communicatively connected to the high-voltage main relay 20, the battery management system 30, the PTC heater 40, the first charging gun 50, the second charging gun 60, the first charging pile controller 70, and the second charging pile controller 80.
[0031] The high-voltage main relay 20 is connected in series in the high-voltage circuit of the vehicle, and its opening and closing state directly determines whether the charging circuit is connected.
[0032] When the vehicle controller 10 detects that the high-voltage main relay 20 performs a closing action, it determines that the vehicle has switched from heating mode to charging and heating linkage mode.
[0033] The vehicle controller 10 receives the battery temperature uploaded by the battery management system 30 and the current current consumption uploaded by the PTC heater 40, thus forming the input basis required for subsequent current allocation. Combined with capability parameters such as the minimum and maximum allowable output current fed back by the first charging pile controller 70 and the second charging pile controller 80, it calculates and issues the charging request current to the first charging gun 50 and the second charging gun 60.
[0034] Figure 2 A flowchart illustrating the current distribution method based on dual charging guns provided in this application embodiment. Figure 1 The execution entity in this embodiment can be... Figure 2 The vehicle controller in the illustrated embodiment. (As shown) Figure 2 As shown, the method includes: S201: When the vehicle is detected to switch from heating mode to charging-heating linkage mode, the current charging current demand of the vehicle and the battery temperature are obtained.
[0035] In this embodiment, the vehicle mentioned can be a new energy vehicle equipped with dual-gun DC fast charging capability. The heating mode can be a pure heating mode where the vehicle's positive temperature coefficient (PTC) heater operates independently. The charging-heating linkage mode is a composite operating mode where the vehicle simultaneously charges and heats, i.e., charging and heating at the same time. Each charging gun can include a first charging gun and a second charging gun, and the two charging guns can be independently configured with their own lower and upper current limits (e.g., supporting mixed-connection scenarios where one charging gun is connected to a standard old charging pile and the other to a high-power new charging pile), enabling this solution to adapt to actual deployment scenarios where charging piles of different specifications are mixed.
[0036] Specifically, the status of the vehicle's high-voltage main relay is monitored; when the high-voltage main relay is detected to be performing a closing action, it is determined that the vehicle has switched from heating mode to charging and heating linkage mode.
[0037] In this embodiment, the high-voltage main relay is the main relay in the vehicle's high-voltage circuit, used to control the on / off state of the high-voltage main circuit. Under pure heating conditions, the high-voltage main relay is in the off state; when the vehicle switches from heating to charging-heating linkage conditions, the high-voltage main relay closes to connect the high-voltage main circuit. Therefore, the closing action of the high-voltage main relay is the indicative physical event of the switch from heating to charging-heating linkage conditions. Using this as a criterion provides a clear physical correspondence, ensuring reliable judgment results without the need for additional sensors.
[0038] In this embodiment, to ensure a clear time reference for identifying the operating condition switch, the status of the vehicle's high-voltage main relay is monitored, which can be achieved by real-time monitoring of the relay's on / off status signal. Real-time monitoring ensures that the event is captured the moment a closing action occurs, allowing the current allocation strategy to intervene at the earliest possible moment of the transient switch, avoiding abnormal current requests due to response delays. When the high-voltage main relay is detected to be closing, it is determined that the vehicle has entered a transient process of switching from heating mode to charging-heating linked mode, at which point the subsequent charging demand current acquisition and current allocation process is triggered.
[0039] In this embodiment, the charging current demand refers to the total charging current demand of the vehicle under the current operating conditions. During the transient transition from heating mode to charging-heating linkage mode, the total charging demand of the vehicle battery has not yet been established. At this time, the actual current consumption of the vehicle mainly comes from the operating current of accessories such as PTC heating.
[0040] In this embodiment, the charging current requirement is taken as the accessory current value when the vehicle's PTC heating is working.
[0041] In this embodiment, the PTC heater, as the main high-voltage accessory in the low-temperature thermal management scenario, consumes current that directly represents the vehicle's immediate demand for external electrical energy under the current heating-charging linkage condition. Inputting this accessory current as the charging demand current into the vehicle controller ensures that the request values of the dual charging guns closely match actual heating load changes, thereby quickly establishing a distribution result coordinated with the heating condition during the initial switching phase. Furthermore, the accessory current value during vehicle PTC heating operation is not limited to the instantaneous current of the PTC heater alone. It can be the load current generated solely by the PTC heater, or the total accessory current resulting from the PTC heater as the primary component, superimposed with the currents of other high-voltage accessories.
[0042] In this embodiment, the accessory current value when the PTC heating is working is used as the charging demand current, which can truly reflect the actual current consumption of the vehicle at the moment of transient switching. This avoids abnormal values in the current allocation calculation due to the fact that the total demand has not yet been established, and also avoids abnormal results caused by using default values or zero values for calculation due to the fact that the total charging demand has not been established in the traditional solution.
[0043] For example, if the accessory current is 5A when the vehicle's PTC heating is working, then the charging current requirement is 5A.
[0044] S202: Distribute the charging demand current evenly to each charging gun to obtain the initial charging request current for each charging gun.
[0045] In this embodiment, the requested current of each charging gun is directly derived from the actual accessory current, and there will be no abnormal situation in the differential logic where a false positive current is generated due to the subtraction of the negative catch-up current and the accessory current.
[0046] In this embodiment, distributing the charging demand current evenly to each charging gun means dividing the charging demand current by the number of charging guns to obtain the initial charging request current for each charging gun. For a dual-charging-gun configuration, the initial charging request current for each charging gun is half of the charging demand current. Using an average distribution logic instead of the "one gun as a backup, the other as a differential" logic avoids the problem of unbalanced loads, such as single gun being unloaded or single gun being loaded. It also fundamentally eliminates the mathematical anomaly of deriving positive numbers from negative numbers in differential calculations, ensuring balanced and stable operation of both guns under low-temperature, low-power charging and heating conditions.
[0047] In this embodiment, the average distribution is not limited to an absolute average in a mathematical sense, but can also include an approximate average distribution after considering numerical precision, message resolution, and sampling jitter. For example, when sending request values in integer current units, half of the charging demand current can be rounded down, rounded up, or distributed to each charging gun according to a preset rounding rule, as long as the two requests are proportionally distributed around the total charging demand current.
[0048] S203: Based on the battery temperature and charging demand current, limit the initial charging request current and determine the final charging request current.
[0049] In this embodiment, the limiting process refers to the limiting correction of the requested current of each charging gun to ensure that there are no sudden current changes or false current requests during the entire control switching process, and that both guns are always in the legal current range, thus avoiding charging handshake abnormalities, power lockout, and charging interruption faults.
[0050] In subsequent embodiments, the limiting process of step S203 will be described in detail.
[0051] S204: Distribute the final charging request current to each charging gun.
[0052] In this embodiment, the allocation can be achieved through periodic delivery, event-triggered delivery, or a combination of both. For example, the vehicle controller can refresh the request current message within each control cycle, or it can update immediately when temperature changes, total demand changes, or pile capacity changes reach a preset range. As long as the first charging gun and the second charging gun can obtain their respective corresponding charging request currents, the above-mentioned allocation function can be realized.
[0053] As described above, when the vehicle switches from heating mode to charging-heating linkage mode, the charging demand current is evenly distributed to each charging gun as the initial charging request current. Based on the battery temperature and the charging demand current, the initial charging request current is limited before the final charging request current is output and distributed to each charging gun. This eliminates the need for differential derivation logic. During the transient transition from heating to charging-heating linkage, the request current of each gun automatically follows the charging demand current and remains within the legal range. This avoids false current requests during the entire transient transition, eliminates charging handshake anomalies, power lockout, and charging interruption faults, and ensures a smooth transition between heating mode and charging-heating linkage mode.
[0054] Figure 3 A flowchart illustrating the current distribution method based on dual charging guns provided in this application embodiment. Figure 2 Based on the above embodiments, this embodiment provides a detailed description of the limiting process in step S203. For example... Figure 3 As shown, the method includes: S301: Determine the corresponding limiting strategy switching threshold based on the temperature range to which the battery temperature belongs.
[0055] In this embodiment, since the PTC heating power is affected by the battery temperature, the charging current characteristics are different at different temperatures. By using a battery temperature-related limiting strategy to switch the threshold, the limiting strategy can accurately match the actual needs at different battery temperatures, avoiding over-limitation or under-limitation caused by a one-size-fits-all fixed threshold.
[0056] Among them, the current threshold for switching the current limiting strategy is a current threshold that is dynamically determined based on the battery temperature, and is used to distinguish different current limiting strategies.
[0057] Specifically, if the battery temperature is less than or equal to the first preset temperature, the first current value is determined as the limiting strategy switching threshold; if the battery temperature is greater than or equal to the second preset temperature, the second current value is determined as the limiting strategy switching threshold; if the battery temperature is greater than the first preset temperature and less than the second preset temperature, the limiting strategy switching threshold is determined by linear interpolation based on the first current value and the second current value; wherein the first preset temperature is less than the second preset temperature.
[0058] In this embodiment, by dividing the battery temperature into three intervals (low temperature, transition temperature, and normal temperature), and using fixed values and linear interpolation to determine the limiting strategy switching threshold respectively, the limiting strategy switching threshold is made to change continuously and smoothly with the battery temperature. This avoids abrupt jumps in the limiting strategy switching threshold when the temperature changes, thereby ensuring that the current distribution strategy switches smoothly during the gradual temperature change process without generating sudden current.
[0059] In this embodiment, based on the specific data in the interactive scenario, the first preset temperature can be -10℃, and the second preset temperature can be 0℃. Correspondingly, the first current value can be 25A, and the second current value can be 15A. When the highest cell temperature is less than or equal to -10℃, the limiting strategy switching threshold can be 25A; when the cell temperature is greater than or equal to 0℃, the limiting strategy switching threshold can be 15A; when the cell temperature is between -10℃ and 0℃, the limiting strategy switching threshold can be determined by linear interpolation.
[0060] In this embodiment, when the battery temperature is in the transition range between a first preset temperature and a second preset temperature, the limiting strategy switching threshold is calculated by linear interpolation between the first current value and the second current value, based on the battery temperature. If the first preset temperature is T1, the second preset temperature is T2, the first current value is I1, the second current value is I2, and the current battery temperature is T, then the limiting strategy switching threshold is calculated as follows: It can be calculated using the following formula: In this embodiment, linear interpolation ensures that the limiting strategy switching threshold changes smoothly and continuously with the battery temperature within the transition battery temperature range, avoiding abrupt changes in the limiting strategy switching threshold at the first and second preset temperatures. This ensures that the current allocation strategy transitions smoothly during the temperature gradient process without generating sudden current requests.
[0061] In this embodiment, the first preset temperature and the second preset temperature can be understood as threshold parameters used to divide the battery temperature range, and the first current value and the second current value can be understood as strategy switching boundary values corresponding to different battery temperature ranges. The above parameters are not limited to -10℃, 0℃, 25A, and 15A, and can also be adjusted within a similar range according to the vehicle platform, charging pile capacity, thermal management load characteristics, and control calibration requirements. The so-called linear interpolation method can be an interpolation method based on establishing a linear function relationship between two temperature points and two current points, or it can use piecewise approximate linear mapping to achieve an equivalent effect.
[0062] S302: Compare the relationship between the limiting strategy switching threshold and the charging demand current, determine the limiting strategy based on the comparison result, limit the initial charging request current according to the current limiting strategy, and determine the final charging request current.
[0063] Specifically, step S302 includes Sa~Sb: Sa: When the charging demand current is less than or equal to the limiting strategy switching threshold, the minimum allowable output current of the charging pile is obtained; the larger value between the initial charging request current and the minimum allowable output current is determined as the final charging request current.
[0064] In this embodiment, for scenarios where the charging demand current is less than or equal to the threshold for switching the limiting strategy, the minimum allowable output current of the charging pile is obtained. The minimum allowable output current of the charging pile can be obtained by parsing the charging pile message during the charging handshake phase, denoted as... By obtaining the actual minimum allowable output current of the charging pile during the charging handshake phase, the lower limit can be adapted to different specifications of charging piles (such as older national standard piles and newer high-power piles), avoiding the problem of mismatch between the lower limit value and the actual charging pile capacity caused by using a fixed lower limit value. In this scenario, the larger value between the initial charging request current and the minimum allowable output current is determined as the final charging request current, that is: In this embodiment, the larger value between the initial charging request current and the minimum allowable output current of the charging pile is taken to ensure that the charging request current of each charging gun is not lower than the minimum stable output current of the charging pile, so as to avoid the charging pile from abnormally exiting charging due to the output current being lower than its minimum stable operating point. At the same time, the average distribution result remains unchanged when the initial charging request current is higher than the minimum allowable output current.
[0065] In this embodiment, when the charging demand current is less than or equal to the limiting strategy switching threshold, the focus is on meeting the minimum starting current requirement of the charging pile to ensure stable output of the charging pile.
[0066] Sb: When the charging demand current exceeds the limit policy switching threshold, obtain the maximum allowable output current of the charging pile; select the larger value between the initial charging request current and the preset safe current threshold; and determine the smaller value between the larger value and the maximum allowable output current as the final charging request current.
[0067] In this embodiment, for scenarios where the charging demand current exceeds the threshold for switching the limiting strategy, the maximum allowable output current of the charging pile is obtained, denoted as... The charging handshake phase obtains the actual maximum allowable output current of the charging pile. This maximum allowable output current serves as the upper limit, ensuring that the final requested current does not exceed the charging pile's maximum output capacity, thus preventing overload requests from causing the charging pile's protective trip. In this scenario, a preset safe current threshold is also required as a lower limit. This preset safe current threshold is the lowest safe current threshold at which the charging pile can stably output current; it can be fixed at 10A. This lower limit ensures that the requested current of each charging gun in normal distribution mode is not lower than the charging pile's safe and stable operating point.
[0068] In this scenario, the larger of the initial charging request current and the preset safe current threshold is selected, and then the smaller of the larger value and the maximum allowable output current of the charging pile is determined as the final charging request current. In this embodiment, the larger of the initial charging request current and the preset safe current threshold is first selected to ensure that the requested current is not lower than the safe and stable operating point of the charging pile; then, the smaller of this value and the maximum allowable output current of the charging pile is selected to ensure that the requested current does not exceed the maximum output capacity of the charging pile. This dual limiting ensures that the final requested current always falls within the legal range where the charging pile can operate stably. Within it, both startup stability and full utilization of output capacity are taken into account.
[0069] In this embodiment, when the charging demand current exceeds the threshold for switching the limiting strategy, the focus is on maximizing the use of the charging pile's output capacity within a safe range. The two work together to ensure the rationality of current distribution across all operating conditions.
[0070] For example, when the charging demand current is 24A, the initial charging request current of each charging gun is 24 / 2 = 12A, which is greater than the preset safe current threshold of 10A and, assuming it is less than the maximum allowable output current of the charging pile, the final request current of each charging gun is 12A, which is consistent with the actual PTC consumption. This example verifies that in normal allocation mode, the final request current of each charging gun can accurately follow the actual demand of the vehicle and be evenly distributed, without generating false current requests or reducing charging efficiency due to excessive restrictions.
[0071] As described above, a corresponding limiting strategy switching threshold is determined based on the battery temperature range. The relationship between the limiting strategy switching threshold and the charging demand current is compared, and the limiting strategy is determined based on the comparison result. The initial charging request current is then limited according to the current limiting strategy to determine the final charging request current. By establishing a limiting strategy switching threshold associated with battery temperature and comparing the charging demand current with the limiting strategy switching threshold to select the appropriate limiting strategy, a two-stage adaptive limiting mechanism is implemented. This avoids the limitations caused by fixed thresholds and improves the smoothness and reliability of switching to the heating and charging linkage mode.
[0072] In addition to the current distribution method described above, this application also provides a safety fallback mechanism to deal with any abnormal situations that may occur during the operation of the vehicle system.
[0073] Specifically, the system monitors the real-time status of message communication between the vehicle and the charging pile, as well as the operating status of the vehicle accessories; it determines whether preset fault triggering conditions are met. The preset fault triggering conditions include one or more of the following: message loss, message reception period exceeding a preset time threshold, and abnormal battery temperature sampling data; if the preset fault triggering conditions are met, the system confirms that the vehicle has entered a fault state and triggers a fault protection strategy to control the vehicle to terminate the current charging process.
[0074] In this embodiment, real-time monitoring of the message communication status between the vehicle and the charging pile can include monitoring the reception of charging pile capability messages, including whether messages are lost, whether the message reception cycle is normal, and whether the message content is valid. Real-time monitoring of the message communication status can promptly detect charging pile communication anomalies, ensuring that the system can trigger protection when it cannot obtain key charging pile parameters (such as minimum allowable output current and maximum allowable output current), avoiding current allocation based on invalid parameters. Real-time monitoring of the operating status of vehicle accessories can include monitoring whether battery temperature sampling data is normal. Battery temperature is a key input parameter for determining the threshold for switching limiting strategies; monitoring the validity of temperature sampling data ensures that the system will not select inappropriate limiting strategies based on incorrect temperature information when temperature data is abnormal.
[0075] In this embodiment, message loss refers to the failure to receive a capability message from the charging pile within a preset monitoring period. Message loss means that the system cannot obtain the latest output capability parameters of the charging pile and continues to perform current allocation, which may result in the requested current exceeding the actual capability range of the charging pile. A message reception period exceeding a preset time threshold means that although a message is received, the reception interval exceeds the allowable range of the normal communication period. An abnormal reception period indicates an unstable communication link, and the real-time performance of the charging pile parameters cannot be guaranteed. Current allocation based on outdated parameters may result in a mismatch between the allocation result and the current actual capability of the charging pile. Abnormal battery temperature sampling data may include situations such as temperature sensor malfunction causing sampling values to exceed a reasonable range or sudden changes in sampling values. Abnormal battery temperature sampling data will directly affect the accurate determination of the limiting strategy switching threshold, thus leading to incorrect limiting strategy selection.
[0076] In this embodiment, the preset fault triggering conditions can be configured to trigger fault protection only when any one of the conditions is met, or they can be set to trigger only when multiple conditions are met simultaneously. This flexible combination of triggering conditions allows the system to be configured according to the security level requirements of the actual application scenario. Single-condition triggering is suitable for scenarios with high security requirements, while multi-condition combined triggering is suitable for scenarios where false triggering needs to be avoided.
[0077] In this embodiment, the fault protection strategy is used to control the vehicle to terminate the current charging process, and may include measures such as disconnecting the high-voltage main relay and sending a stop charging command to the charging station. Terminating the charging process ensures that if critical parameters are unavailable or abnormal, the system will not continue to perform current distribution and charging operations that may pose safety risks, thus protecting the safety of the vehicle battery system and charging equipment.
[0078] Optionally, the monitoring period for real-time monitoring can be 20ms. A 20ms monitoring period can detect anomalies and trigger protection within a very short time after a fault occurs, minimizing the exposure time under fault conditions and reducing the risk of abnormal current damaging vehicles and charging stations.
[0079] As described above, the system monitors the real-time communication status between the vehicle and the charging pile, as well as the operational status of vehicle accessories. It determines whether preset fault triggering conditions are met. These conditions include one or more of the following: message loss, message reception exceeding a preset time threshold, and abnormal battery temperature sampling data. If the preset fault triggering conditions are met, the vehicle is confirmed to be in a fault state, and a fault protection strategy is triggered to terminate the current charging process. By monitoring the communication status between the vehicle and the charging pile, and the operational status of vehicle accessories, the system immediately identifies faults when charging pile communication fails or battery temperature detection is abnormal, and proactively triggers the exit from the charging process. This ensures the vehicle system is placed in a safe state even when critical information is missing, avoiding the risk of uncontrollable actual charging current or equipment damage due to blindly sending current requests because of missing current limiting parameters. This guarantees the safety and reliability of the entire heating and charging linkage process.
[0080] Figure 4 This is a schematic diagram of the structure of a current distribution device based on dual charging guns provided in an embodiment of this application. Figure 4 As shown, the current distribution device based on dual charging guns is applied to electronic devices and includes: a detection module 401, an acquisition module 402, a determination module 403, and a distribution module 404.
[0081] The detection module 401 is used to detect when the vehicle switches from heating mode to charging-heating linkage mode and obtain the current charging demand current and battery temperature of the vehicle.
[0082] The acquisition module 402 is used to distribute the charging demand current equally to each charging gun to obtain the initial charging request current of each charging gun.
[0083] The determination module 403 is used to limit the initial charging request current based on the battery temperature and the charging demand current, and determine the final charging request current.
[0084] The allocation module 404 is used to allocate the final charging request current to each charging gun.
[0085] In one possible implementation of this application, the detection module 401 is specifically used to: monitor the status of the high-voltage main relay of the vehicle; when the high-voltage main relay is detected to perform a closing action, it is determined that the vehicle has switched from the heating mode to the charging and heating linkage mode.
[0086] In one possible implementation of this application, the determining module 403 is specifically used to: determine the corresponding limiting strategy switching threshold according to the temperature range to which the battery temperature belongs; compare the relationship between the limiting strategy switching threshold and the charging demand current, determine the limiting strategy according to the comparison result, and limit the initial charging request current according to the current limiting strategy to determine the final charging request current.
[0087] In one possible implementation of this application, the determining module 403 is further configured to: if the battery temperature is less than or equal to a first preset temperature, determine the first current value as the limiting strategy switching threshold; if the battery temperature is greater than or equal to a second preset temperature, determine the second current value as the limiting strategy switching threshold; if the battery temperature is greater than the first preset temperature and less than the second preset temperature, determine the limiting strategy switching threshold by using linear interpolation based on the first current value and the second current value; wherein the first preset temperature is less than the second preset temperature.
[0088] In one possible implementation of this application, the determining module 403 is further configured to: when the charging demand current is less than or equal to the limiting strategy switching threshold, obtain the minimum allowable output current of the charging pile; and determine the larger value between the initial charging request current and the minimum allowable output current as the final charging request current. When the charging demand current is greater than the limiting strategy switching threshold, obtain the maximum allowable output current of the charging pile; select the larger value between the initial charging request current and a preset safe current threshold; and determine the smaller value between the larger value and the maximum allowable output current as the final charging request current.
[0089] In one possible implementation of this application, the value of the charging current requirement is taken as the accessory current value when the vehicle's PTC heating is working.
[0090] In one possible implementation of this application, the current distribution device based on dual charging guns further includes a fault detection module. Specifically, the fault detection module is used to: monitor in real time the message communication status between the vehicle and the charging pile, as well as the operating status of vehicle accessories; determine whether preset fault triggering conditions are met, the preset fault triggering conditions including one or more of the following: message loss, message reception period exceeding a preset time threshold, and abnormal battery temperature sampling data; if the preset fault triggering conditions are met, confirm that the vehicle has entered a fault state and trigger a fault protection strategy to control the vehicle to terminate the current charging process.
[0091] The apparatus provided in this application embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effect are similar, and will not be repeated here.
[0092] Figure 5 This is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application. Figure 5As shown, the electronic device of this embodiment includes a processor 501 and a memory 502.
[0093] The memory 502 stores computer-executed instructions; the processor 501 executes the computer-executed instructions stored in the memory to implement the various steps performed by the electronic device in the above embodiments. For details, please refer to the relevant descriptions in the foregoing method embodiments.
[0094] Alternatively, the memory 502 can be either standalone or integrated with the processor 501.
[0095] When the memory 502 is set up independently, the electronic device also includes a bus 503 for connecting the memory 502 and the processor 501.
[0096] This application also provides a vehicle, which includes a vehicle body and is equipped with the aforementioned electronic device for performing the aforementioned current distribution method based on dual charging guns.
[0097] This application also provides a computer storage medium storing computer execution instructions. When the processor executes the computer execution instructions, the above-described current distribution method based on dual charging guns is implemented.
[0098] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described current distribution method based on dual charging guns.
[0099] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.
[0100] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to implement the solution of this embodiment according to actual needs.
[0101] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The unit composed of the above modules can be implemented in hardware or in the form of hardware plus software functional units.
[0102] The integrated modules described above, implemented as software functional modules, can be stored in a computer-readable storage medium. These software functional modules, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods of the various embodiments of this application.
[0103] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.
[0104] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage device, and may also be a USB flash drive, external hard drive, read-only memory, disk or optical disc, etc.
[0105] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0106] The aforementioned storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0107] An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Alternatively, the storage medium can be an integral part of the processor. Both the processor and the storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and storage medium can exist as discrete components in an electronic device or host device.
[0108] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0109] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A current distribution method based on dual charging guns, characterized in that, include: When the vehicle is detected to switch from heating mode to charging-heating linkage mode, the current charging current demand and battery temperature of the vehicle are obtained. The charging demand current is evenly distributed to each charging gun to obtain the initial charging request current of each charging gun. Based on the battery temperature and the charging demand current, the initial charging request current is limited to determine the final charging request current. The final charging request current is allocated to each of the charging guns.
2. The method according to claim 1, characterized in that, The detection of the vehicle switching from heating mode to charging-heating linkage mode includes: Monitor the status of the vehicle's high-voltage main relay; When the high-voltage main relay is detected to be closing, it is determined that the vehicle has switched from heating mode to charging and heating linkage mode.
3. The method according to claim 1, characterized in that, The step of limiting the initial charging request current based on the battery temperature and the charging demand current to determine the final charging request current includes: Based on the temperature range to which the battery temperature belongs, determine the corresponding limiting strategy switching threshold; The relationship between the limiting strategy switching threshold and the charging demand current is compared. A limiting strategy is determined based on the comparison result, and the initial charging request current is limited according to the current limiting strategy to determine the final charging request current.
4. The method according to claim 3, characterized in that, The step of determining the corresponding limiting strategy switching threshold based on the temperature range to which the battery temperature belongs includes: If the battery temperature is less than or equal to the first preset temperature, then the first current value is determined as the limiting strategy switching threshold. If the battery temperature is greater than or equal to the second preset temperature, then the second current value is determined as the limiting strategy switching threshold. If the battery temperature is greater than the first preset temperature and less than the second preset temperature, then a limit strategy switching threshold is determined by linear interpolation based on the first current value and the second current value; wherein the first preset temperature is less than the second preset temperature.
5. The method according to claim 3, characterized in that, The process of comparing the relationship between the limiting strategy switching threshold and the charging demand current, determining the limiting strategy based on the comparison result, and limiting the initial charging request current according to the current limiting strategy to determine the final charging request current includes: When the charging demand current is less than or equal to the limiting strategy switching threshold, the minimum allowable output current of the charging pile is obtained; the larger value between the initial charging request current and the minimum allowable output current is determined as the final charging request current. When the charging demand current is greater than the limiting strategy switching threshold, the maximum allowable output current of the charging pile is obtained; the larger value between the initial charging request current and the preset safe current threshold is selected; and the smaller value between the larger value and the maximum allowable output current is determined as the final charging request current.
6. The method according to claim 1, characterized in that, The value of the charging current requirement is taken as the accessory current value when the vehicle's PTC heating is working.
7. The method according to any one of claims 1-6, characterized in that, Also includes: Real-time monitoring of the message communication status between the vehicle and the charging pile, as well as the operating status of the vehicle's accessories; Determine whether the preset fault triggering conditions are met. The preset fault triggering conditions include one or more of the following: message loss, message reception period exceeding a preset time threshold, and abnormal battery temperature sampling data. If the preset fault triggering conditions are met, the vehicle is confirmed to be in a fault state, and a fault protection strategy is triggered to control the vehicle to terminate the current charging process.
8. An electronic device, characterized in that, include: At least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to cause the at least one processor to perform the current distribution method based on a dual charging gun as described in any one of claims 1 to 7.
9. A computer storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the current distribution method based on dual charging guns as described in any one of claims 1 to 7.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the current distribution method based on dual charging guns as described in any one of claims 1 to 7.
