A multi-gun power circuit short circuit detection method, system, device and storage medium

By performing bit-wise or sum-wise calculations in the multi-gun high-power group charging pile system, we can determine whether there is a short circuit phenomenon, which solves the problem that the power circuit is prone to short circuit, improves the system's safety, and prevents safety accidents The occurrence of

CN117774749BActive Publication Date: 2025-02-18SHAANXI GREEN ENERGY ELECTRONIC TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311850040.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2025-02-18
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

In multi-gun high-power group charging pile systems, short circuits are prone to occur, resulting in safety accidents.

Method used

By obtaining the current status of each gun, parallel contactor and module, and performing bitwise or sum-to-bit calculations based on the allocation relationship between each gun and each module, we will judge whether there is a short circuit phenomenon, thereby preventing the risk of short circuit.

Benefits of technology

Effectively determine whether there is a short circuit phenomenon, reduce the occurrence of safety accidents, ensure the safety of electricity use, and prevent the risk of burning cars.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117774749B_ABST
    Figure CN117774749B_ABST
Patent Text Reader

Abstract

The invention discloses a multi-gun power circuit short circuit detection method, system, device and storage medium. S1, obtain the topological structure, obtain the total number of guns, the total number of output contactors, the total number of parallel contactors and the total number of modules; S2, obtain the current state of each gun, parallel contactor and module; S3, according to the allocation relationship between each gun and each module, perform bitwise OR and bitwise addition calculations. When the result calculated by bitwise addition is the same as the result calculated by bitwise OR, there are no repeated modules in the modules allocated to all guns being charged. When the result calculated by bitwise addition is different from the result calculated by bitwise OR, there are repeated modules in the modules allocated to all guns being charged. It can accurately determine whether there is a short circuit phenomenon and reduce the occurrence of safety accidents.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of charging piles and relates to a multi-gun power circuit short-circuit detection method, system, equipment and storage medium. Background Art

[0002] As the number of new energy vehicles on the market increases exponentially, the demand for new energy vehicle charging is also increasing. In order to achieve the effect of high-power and fast charging, high-power group charging pile systems have emerged in the market. High-power group charging equipment, as the name suggests, can meet the needs of multiple guns charging at high power at the same time.

[0003] The group charging pile system mainly consists of a host and multiple terminals. A host needs to meet the needs of charging multiple terminals at the same time, and ensure the independence and safety of the power circuit during the charging process. However, in the actual working process, when multiple terminals are charging, after a certain contactor is closed, the same module will be assigned to two guns, and the power circuits of the two guns will be short-circuited, resulting in a safety accident. Summary of the invention

[0004] The purpose of the present invention is to overcome the disadvantage of the above-mentioned prior art that the power circuit is prone to short circuit, and to provide a multi-gun power circuit short circuit detection method, system, equipment and storage medium, which can accurately determine whether there is a short circuit phenomenon and reduce the occurrence of safety accidents.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] A multi-gun power circuit short circuit detection method includes the following processes:

[0007] S1, obtain the topology structure, and get the total number of guns, the total number of output contactors, the total number of parallel contactors and the total number of modules;

[0008] S2, obtain the current status of each gun, parallel contactor and module;

[0009] S3, according to the allocation relationship between each gun and each module, perform bitwise OR and bitwise addition calculations. When the result of the bitwise addition calculation is the same as the result of the bitwise OR calculation, there are no duplicate modules in the modules allocated to all the guns being charged. When the result of the bitwise addition calculation is different from the result of the bitwise OR calculation, there are duplicate modules in the modules allocated to all the guns being charged.

[0010] Preferably, in S3, an integer data array is defined, the size of the array is equal to the total number of guns, and the values ​​are assigned according to the bit position in the variable assignment mode. Each module corresponds to a different bit position. During the charging process, if the module is assigned to charge, the bit position corresponding to the module is assigned to 1. If the module does not participate in the assignment, the bit position corresponding to the module is assigned to 0.

[0011] Each gun corresponds to a set of integer data, which includes the bit value of whether each module is assigned to the gun; the integer data corresponding to all guns are bitwise ORed and bitwise added.

[0012] Furthermore, when the result calculated by bitwise addition is different from the result calculated by bitwise OR, first search for data that is not equal to 0 in the array, and then compare each bit in the data. When the data on the same bit is 1, the module representing the position is repeatedly allocated.

[0013] Furthermore, the integer data array is unsigned 32-bit integer data.

[0014] Preferably, in S2, the module IDs adjacent to each parallel contactor are determined, and for each module directly connected to a gun, the module IDs assigned to the gun are counted based on the closed state of the parallel contactors and the module IDs adjacent to each parallel contactor.

[0015] Preferably, the processes S1-S3 are all rehearsal processes before the charging path is connected. When the rehearsal result shows that a short circuit will occur, closing the parallel contactor of the repeated distribution module is prohibited.

[0016] Furthermore, when the preview result shows that a short circuit will occur, the current charging state is maintained according to the charging situation, and the closing instruction of the parallel contactor is not executed.

[0017] A multi-gun power circuit short circuit detection system, comprising:

[0018] A topology acquisition module is used to acquire the topology structure and obtain the total number of guns, the total number of output contactors, the total number of parallel contactors and the total number of modules;

[0019] A status acquisition module is used to obtain the current status of each gun, parallel contactor and module;

[0020] The short circuit judgment module is used to perform bitwise OR and bitwise addition calculations according to the allocation relationship between each gun and each module. When the result of the bitwise addition calculation is the same as the result of the bitwise OR calculation, there are no repeated modules in the modules allocated to all the guns being charged. When the result of the bitwise addition calculation is different from the result of the bitwise OR calculation, there are repeated modules in the modules allocated to all the guns being charged.

[0021] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the multi-gun power circuit short circuit detection method are implemented.

[0022] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the multi-gun power circuit short circuit detection method are implemented.

[0023] Compared with the prior art, the present invention has the following beneficial effects:

[0024] The present invention obtains the current status of each gun, parallel contactor and module, performs bitwise OR and bitwise sum calculations according to the allocation relationship between each gun and each module, and compares the bitwise OR and bitwise sum calculation results to determine whether there are duplicated modules among the modules allocated to all guns being charged, thereby effectively preventing the risk of short circuit when two guns are charged and ensuring the safety of electricity use. When multiple guns are charged, the system is safer and the risk of burning the car is prevented. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a schematic diagram of the charging pile system of the present invention;

[0026] Figure 2 It is a schematic diagram of a ring topology diagram of a multi-gun system of the present invention;

[0027] Figure 3 It is a flow chart of the multi-gun power circuit short circuit detection of the present invention;

[0028] Figure 4 This is a schematic diagram of a normal allocation path of the present invention;

[0029] Figure 5 It is a schematic diagram of the allocation path anomaly of the present invention. DETAILED DESCRIPTION

[0030] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0031] It should be noted that the words "front", "rear", "left", "right", "up" and "down" used in the following description refer to directions in the drawings, and the words "inside" and "outside" refer to directions toward or away from the geometric center of a specific component, respectively.

[0032] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0033] like Figure 1 The figure shows a schematic diagram of the charging pile system. The host is responsible for module allocation and control, and information exchange with the terminal; the terminal is responsible for information exchange with the vehicle side and is a device for energy output.

[0034] The group charging pile system is mainly composed of a host and multiple terminals. The group charging host is mainly responsible for the control of the power module and the conduction of the power circuit, that is, the control of the module and the control of the parallel contactor. The group charging host consists of multiple charging modules, multiple sets of parallel contactors and a control board. The terminal is mainly responsible for information exchange with new energy electric vehicles, obtaining the charging needs of the vehicle end, and applying for a power module from the host device. The control board controls the closing and opening operations of the vehicle end energy transmission interface, that is, controls the closing and opening actions of the output contactor, and finally transmits energy to the vehicle end to charge the electric vehicle.

[0035] When the host only charges one vehicle, the output power circuit is relatively simple. When multiple vehicles need to be charged, it is necessary to consider that the charging circuit of each vehicle is independent of other vehicles. Therefore, when multiple guns are charged, it is necessary to ensure that the charging power circuit on each gun is independent and cannot be short-circuited with other guns.

[0036] In the group charging pile system, combined with the host topology, when multiple guns are charging, if a parallel contactor on the host appears and the modules on both sides are not assigned to the same gun, it is forbidden to close the contactor. If the host expects to close the contactor, the contactor interlock protection mechanism is triggered. Finally, the human-computer interaction device needs to display the fault and control the device to stop charging. This effectively prevents the risk of short circuit when charging two guns and ensures the safety of electricity use.

[0037] like Figure 2As shown in the figure, it is one of the high-power group charging methods of the charging pile system, which adopts a ring topology structure. K1-K18 represents 18 groups of parallel contactors; KZ1-KZ12 represents 12 groups of output contactors; 1-12 in the circle represent 12 modules; 1#-12# represent 12 guns. There are multiple nodes distributed on the ring structure, and the number of nodes is the same as the number of guns. Each node uses an output contactor to connect a corresponding gun, and each node is connected to a module. The module is directly connected to the gun of the corresponding node. Each module is connected in series in turn, and each module is separated by a group of parallel contactors in series.

[0038] In this application, "module" refers to the charging module in the charging pile.

[0039] like Figure 3 As shown, the multi-gun power circuit short circuit detection method of the present invention includes the following process:

[0040] Step 1: Get the host model and confirm whether it is a 360kW model or a 720kW model, etc.

[0041] Step 2: According to the power number required by the host model and the topological structure of the host, determine the total number of output contactors of the system, that is, the number of output guns, the number of parallel contactors, and the number of modules. Figure 2 As shown, the system represents a 360kW system, requiring a total of 18 sets of parallel contactors, 12 sets of output contactors (representing 12 output guns), and 12 modules.

[0042] Step 3: According to the topology and the number of parallel contactors, determine the module IDs adjacent to each parallel contactor. Figure 2 As shown, there are 18 groups of parallel contactors in total. Taking the parallel contactor K1 as an example, the modules adjacent to it are module 1 and module 2. According to the topological structure diagram, the module IDs adjacent to other parallel contactors are sorted out in turn, as shown in Table 1.

[0043] Table 1 Parallel contactor adjacent module ID table

[0044]

[0045]

[0046] Step 4: Get the switch status of each parallel contactor and output contactor. According to the working condition of the entire charging system, when a gun is charging, the corresponding output contactor will be closed. On the contrary, the output contactor of the gun that is not charging is in the open state. When multiple modules need to be called during the charging process, the associated parallel contactors need to be closed to realize the conduction of the power circuit.

[0047] Step 5: When the output contactor is closed, that is, the gun where the output contactor is located is in the charging state, the module directly connected to the gun is determined. According to the topological structure, the module directly connected to gun No. 1 is defined as module No. 1, the module directly connected to gun No. 2 is defined as module No. 2, and so on to determine the module directly connected to each gun.

[0048] Step 6: According to the closed state of the parallel contactor and the module IDs adjacent to each parallel contactor in step 3, the module ID assigned to the gun is counted.

[0049] Step 7: Repeat steps 5 and 6 in sequence to count the module IDs of all the charging guns currently in use.

[0050] Step 8: According to the bitwise OR algorithm and the bitwise addition algorithm. When the result SUM1 calculated by the bitwise addition and the result SUM2 calculated by the bitwise OR are the same, it means that there are no duplicate modules in the modules assigned to all the guns being charged in the system. When SUM1 and SUM2 are different, it means that there are duplicate modules in the modules assigned to all the guns being charged in the system. When checking whether the charging modules of all guns are repeated, if different guns have duplicate modules, an interlock is generated. If there are no duplicate modules, the charging is normal.

[0051] The specific process is: define the array u32AllocByBit[n] as unsigned 32-bit integer data (uint32_t).

[0052] The size of the array n is determined by the number of guns in the ring topology. When the number of guns is 12, the array is defined as uint32_t u32AllocByBit

[12] .

[0053] According to the variable assignment method, the bit assignment is performed according to the bit position, and each module corresponds to a different bit position. That is, module 1 corresponds to bit 1 of u32AllocByBit; module 2 corresponds to bit 2 of u32AllocByBit, and so on. During the charging process, if a module is assigned and participates in charging, the bit corresponding to the module is assigned a value of 1. If a module does not participate in the assignment, the bit corresponding to the module is assigned a value of 0.

[0054] Each gun corresponds to a set of 32-bit integer data, which includes the bit value of whether each module is assigned to the gun.

[0055] The integer data corresponding to all guns are calculated using the bitwise OR and bitwise addition algorithms. Since each module can only be assigned to one gun, the results for the same module in the bitwise OR and bitwise addition calculations should be the same; when a module is assigned to a gun, the bit value of the module in the integer data of the gun is 1, and the bit value in the integer data of other guns is 0. In the bitwise OR and bitwise addition calculations, the results of the module are all 1. When a module is not assigned to any gun, the bit value of the module in the integer data of the gun is 0, and the bit value in the integer data of other guns is 0. In the bitwise OR and bitwise addition calculations, the results of the module are all 0; when a module is assigned to multiple guns, the bit value of the module in the integer data of the assigned gun is 1, and the bit value in the integer data of other guns is 0. In the bitwise OR calculation, the result of the module is 1, and in the bitwise addition calculation, the result of the module is greater than 1.

[0056] Therefore, when the bitwise addition result SUM1 and the bitwise OR result SUM2 are the same, it means that there are no duplicate modules in the modules assigned to all the guns being charged in the system. When SUM1 and SUM2 are different, it means that there are duplicate modules in the modules assigned to all the guns being charged in the system.

[0057] When SUM1≠SUM2, first search for data in the u32AllocByBit array that is not equal to 0. Then compare each bit in the data. When the data on the same bit is 1, it means that the module at that position is repeated.

[0058] Step 9: The previous steps are all rehearsal processes before the charging path is connected. When the rehearsal result shows that a short circuit will occur, it is prohibited to close the parallel contactor of the repeated distribution module. According to the interlocking state generated, a fault state is set and an external prompt is given.

[0059] When the preview result shows that an interlock will occur, charging can be stopped for charging safety;

[0060] It is also possible to maintain the current charging state according to the charging situation, not execute the closing command of the parallel contactor, and perform fault alarm prompt processing in the background.

[0061] The following is an example of the bitwise OR and bitwise Sum algorithms.

[0062] (1) Take the case where two guns are charging normally as an example

[0063] When gun 1 is charging, module 1, module 12, and module 11 are called. At this time, the corresponding bit of the u32AllocByBit[0] variable is assigned a value.

[0064]

[0065] When gun 2 is charging, modules 2, 3, and 4 are called. At this time, the corresponding bit of the u32AllocByBit[1] variable is assigned a value.

[0066]

[0067]

[0068] At this time, other guns are not involved in charging, so other guns are not assigned to the module. At this time, the variable is 0, that is, the variable u32AllocByBit[2]~u32AllocByBit

[11] is assigned 0.

[0069] Calculate the bitwise addition result of the array, that is:

[0070] SUM1=

[0071] u32AllocByBit[0]+u32AllocByBit[1]+u32AllocByBit[2]+u32AllocByBit[3]+u32AllocByBit[4]+u32AllocByBit[5]+u32AllocByBit[6]+u32 AllocByBit[7]+u32AllocByBit[8]+u32AllocByBit[9]+u32AllocByBit

[10] +u32AllocByBit

[11] =0x1802+0x1C+0+0+0+0+0+0+0+0+0+0=0x181E.

[0072] Calculate the bitwise OR result of the array, that is:

[0073] SUM2=

[0074] u32AllocByBit[0]|u32AllocByBit[1]|u32AllocByBit[2]|32AllocByBit[3]|u32AllocByBit[4]|u32AllocByBit[5]|u32AllocByBit[6]|u32A llocByBit[7]|u32AllocByBit[8]|u32AllocByBit[9]|u32AllocByBit

[10] |u32AllocByBit

[11] =0x1802|0x1C|0|0|0|0|0|0|0|0|0|0=0x181E.

[0075] It is determined that SUM1 = SUM2. That is, there is no duplication of modules between gun 1 and gun 2, and there is no risk of short circuit between gun 1 and gun 2.

[0076] (2) Example of a short circuit between two guns during charging

[0077] When gun 1 is charging, module 1, module 12, module 11, and module 5 are called. At this time, the corresponding bit of the u32AllocByBit[0] variable is assigned a value.

[0078]

[0079]

[0080] When gun 2 is charging, modules 2, 3, 4, and 5 are called. At this time, the corresponding bit of the u32AllocByBit[1] variable is assigned a value.

[0081]

[0082] At this time, other guns are not involved in charging, so other guns are not assigned to the module. At this time, the variable is 0, that is, the variable u32AllocByBit[2]~u32AllocByBit

[11] is assigned 0.

[0083] Calculate the bitwise addition result of the array, that is:

[0084] SUM1=u32AllocByBit[0]+u32AllocByBit[1]+u32AllocByBit[2]+u32AllocByBit[3]+u32AllocByBit[4]+u32AllocByBit[5]+u32AllocByBit[6]+u 32AllocByBit[7]+u32AllocByBit[8]+u32AllocByBit[9]+u32AllocByBit

[10] +u32AllocByBit

[11] =0x1822+0x3C+0+0+0+0+0+0+0+0+0+0=0x185E.

[0085] Calculate the bitwise OR result of the array, that is:

[0086] SUM2=u32AllocByBit[0]|u32AllocByBit[1]|u32AllocByBit[2]|32AllocByBit[3]|u32AllocByBit[4]|u32AllocByBit[5]|u32AllocByBit[6]|u 32AllocByBit[7]|u32AllocByBit[8]|u32AllocByBit[9]|u32AllocByBit

[10] |u32AllocByBit

[11] =0x1822|0x3C|0|0|0|0|0|0|0|0|0|0=0x183E.

[0087] Judge SUM1≠SUM2. That is, the No. 5 module of the No. 1 gun and the No. 2 gun is repeated, that is, the No. 1 gun and the No. 2 gun are short-circuited.

[0088] If u32AllocByBit[0] and u32AllocByBit[1] are not equal to 0, then compare the data on each bit of u32AllocByBit[0] and u32AllocByBit[1] to see if they are all 1. By comparing from bit0, when comparing to bit5, it is found that the bit of both variables is 1. Therefore, it is determined that module 5 is called repeatedly.

[0089] according to Figure 2 Short circuit judgment is made based on the ring topology diagram of the multi-gun system.

[0090] Step 1: Start the No. 1 gun to start charging. According to the charging requirements, 4 charging modules need to be called. Taking the direct connection module of the No. 1 gun as the origin, combined with the system ring topology diagram, the charging modules are first allocated in a counterclockwise order. The allocated modules are No. 1, No. 10, No. 11, and No. 12. According to the ring topology diagram, the parallel contactors that need to be closed are K10, K11, and K12. When the parallel contactors are closed, the power circuit of the No. 1 gun is turned on.

[0091] Then start the No. 2 gun to charge. According to the charging requirements, 4 charging modules need to be called. Taking the direct connection module of the No. 2 gun as the origin, combined with the system ring topology, the charging modules are first allocated in the order of counterclockwise, then clockwise, and then on the road. The allocated modules are No. 2, No. 3, No. 9, and No. 8. According to the ring topology, the parallel contactors that need to be closed are K2, K15, and K8. When the parallel contactors are closed, the power circuit of the No. 2 gun is turned on.

[0092] Finally, start the No. 7 gun to charge. According to the charging requirements, 4 charging modules need to be called. Taking the direct connection module of the No. 7 gun as the origin, combined with the system ring topology, the charging modules are first allocated in the order of counterclockwise, then clockwise, and then on the road. The allocated modules are No. 4, No. 5, No. 6, and No. 7. According to the ring topology, the parallel contactors that need to be closed are K4, K5, and K6. When the parallel contactors are closed, the power circuit of the No. 7 gun is turned on.

[0093] When charging the above three guns, the assigned charging modules and the parallel contactors that need to be closed are summarized in the following table:

[0094]

[0095]

[0096] Step 2: Parallel contactor closing (normal charge distribution and parallel contactor closing).

[0097] When the parallel contactor is closed, the module IDs on both sides of the closed parallel contactor are calculated according to the system ring topology.

[0098] The parallel contactors that need to be closed for gun No. 1 are K10, K11, and K12. The module IDs adjacent to parallel contactor K10 are module No. 10 and module No. 11, the module IDs adjacent to parallel contactor K11 are module No. 11 and module No. 12, and the module IDs adjacent to parallel contactor K12 are module No. 12 and module No. 1. According to statistics, the modules charged by gun No. 1 are No. 1, No. 10, No. 11, and No. 12.

[0099] The parallel contactors that need to be closed for gun No. 2 are K2, K15, and K8. The module IDs adjacent to parallel contactor K2 are module No. 2 and module No. 3, the module IDs adjacent to parallel contactor K15 are module No. 3 and module No. 9, and the module IDs adjacent to parallel contactor K8 are module No. 8 and module No. 9. According to statistics, the modules charged by gun No. 2 are No. 2, No. 3, No. 8, and No. 9.

[0100] The parallel contactors that need to be closed for gun No. 7 are K4, K5, and K6. The module IDs adjacent to parallel contactor K4 are module No. 4 and module No. 5, the module IDs adjacent to parallel contactor K5 are module No. 5 and module No. 6, and the module IDs adjacent to parallel contactor K6 are module No. 6 and module No. 7. According to statistics, the modules charged by gun No. 7 are No. 4, No. 5, No. 6, and No. 7.

[0101] When the above three guns are charging, the adjacent module IDs are calculated based on the parallel contactors that need to be closed, and the module ID assigned to the gun is counted. The summary is as follows:

[0102]

[0103] This distribution path is Figure 4 shown.

[0104] Step 3: Calculate the bitwise addition result SUM1 and the bitwise OR result SUM2.

[0105]

[0106]

[0107] Calculates the result of SUM1 and SUM2.

[0108] SUM1=0x1C02+0x30C+0xF0=0x1FFE

[0109] SUM2=0x1C02|0x30C|0xF0=0x1FFE

[0110] Conclusion: Under this condition, SUM1 = SUM2. That is, during the charging process of No. 1, No. 2 and No. 7 guns, the assigned modules are not repeated. Therefore, it is concluded that the control logic of the parallel contactor is normal and there is no risk of short circuit.

[0111] Step 4. Based on the previous steps, describe the logical method when a short circuit occurs between the two guns.

[0112] When the parallel contactor is closed, the module IDs on both sides of the closed parallel contactor are calculated according to the system ring topology.

[0113] The parallel contactors that need to be closed for gun No. 1 are K10, K11, and K12. The module IDs adjacent to parallel contactor K10 are module No. 10 and module No. 11, the module IDs adjacent to parallel contactor K11 are module No. 11 and module No. 12, and the module IDs adjacent to parallel contactor K12 are module No. 12 and module No. 1. According to statistics, the modules charged by gun No. 1 are No. 1, No. 10, No. 11, and No. 12.

[0114] The parallel contactors that need to be closed for gun No. 2 are K2, K15, K8, and K7. The module IDs adjacent to parallel contactor K2 are module No. 2 and module No. 3, the module IDs adjacent to parallel contactor K15 are module No. 3 and module No. 9, the module IDs adjacent to parallel contactor K8 are module No. 8 and module No. 9, and the module IDs adjacent to parallel contactor K7 are module No. 7 and module No. 8. According to statistics, the modules charged by gun No. 2 are No. 2, No. 3, No. 7, No. 8, and No. 9.

[0115] The parallel contactors that need to be closed for gun No. 7 are K4, K5, and K6. The module IDs adjacent to parallel contactor K4 are module No. 4 and module No. 5, the module IDs adjacent to parallel contactor K5 are module No. 5 and module No. 6, and the module IDs adjacent to parallel contactor K6 are module No. 6 and module No. 7. According to statistics, the modules charged by gun No. 7 are No. 4, No. 5, No. 6, and No. 7.

[0116] When the above three guns are charging, the adjacent module IDs are calculated based on the parallel contactors that need to be closed, and the assigned module IDs are counted. The summary is as follows:

[0117]

[0118] This distribution path is Figure 5 shown.

[0119] Step 5: Calculate the bitwise addition result SUM1 and the bitwise OR result SUM2.

[0120]

[0121] Calculates the result of SUM1 and SUM2.

[0122] SUM1=0x1C02+0x38C+0xF0=0x207E

[0123] SUM2=0x1C02|0x38C|0xF0=0x1FFE

[0124] Conclusion: According to the above analysis, SUM1≠SUM2. That is, when assigning modules to guns 2 and 7, the problem of duplication of module 7 occurs. This will lead to the risk of battery short circuit in the vehicles on guns 2 and 7. In terms of control logic, when this happens, the charging pile system will trigger a contactor interlock fault, causing the pile end to stop charging.

[0125] The following are device embodiments of the present invention, which can be used to perform method embodiments of the present invention. For details not disclosed in the device embodiments, please refer to the method embodiments of the present invention.

[0126] In another embodiment of the present invention, a multi-gun power circuit short circuit detection system is provided. The multi-gun power circuit short circuit detection system can be used to implement the above-mentioned multi-gun power circuit short circuit detection method. Specifically, the multi-gun power circuit short circuit detection system includes a topology structure acquisition module, a state acquisition module and a short circuit judgment module.

[0127] The topology acquisition module is used to acquire the topology structure, and obtain the total number of guns, the total number of output contactors, the total number of parallel contactors and the total number of modules.

[0128] The status acquisition module is used to obtain the current status of each gun, parallel contactor and module.

[0129] The short circuit judgment module is used to perform bitwise OR and bitwise addition calculations according to the allocation relationship between each gun and each module. When the result of the bitwise addition calculation is the same as the result of the bitwise OR calculation, there are no duplicate modules in the modules allocated to all the guns being charged. When the result of the bitwise addition calculation is different from the result of the bitwise OR calculation, there are duplicate modules in the modules allocated to all the guns being charged.

[0130] In another embodiment of the present invention, a terminal device is provided, the terminal device includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGAs), or other processors. GateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, and are specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding functions; the processor described in the embodiment of the present invention can be used for the operation of the multi-gun power circuit short circuit detection method, including: S1, obtaining the topological structure, obtaining the total number of guns, the total number of output contactors, the total number of parallel contactors and the total number of modules; S2, obtaining the current state of each gun, parallel contactor and module; S3, according to the allocation relationship between each gun and each module, performing bitwise OR and bitwise addition calculations, when the result of the bitwise addition calculation is the same as the result of the bitwise OR calculation, there are no repeated modules in the modules allocated to all the guns being charged, and when the result of the bitwise addition calculation is different from the result of the bitwise OR calculation, there are repeated modules in the modules allocated to all the guns being charged.

[0131] In another embodiment, the present invention further provides a computer-readable storage medium (Memory), which is a memory device in a terminal device for storing programs and data. It is understandable that the computer-readable storage medium here can include both the built-in storage medium in the terminal device and the extended storage medium supported by the terminal device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory.

[0132] One or more instructions stored in a computer-readable storage medium can be loaded and executed by a processor to implement the corresponding steps of the multi-gun power circuit short circuit detection method in the above embodiment; one or more instructions in the computer-readable storage medium are loaded by the processor and the following steps are executed: S1, obtain the topological structure to obtain the total number of guns, the total number of output contactors, the total number of parallel contactors and the total number of modules; S2, obtain the current state of each gun, parallel contactor and module; S3, perform bitwise OR and bitwise addition calculations according to the allocation relationship between each gun and each module. When the result of the bitwise addition calculation is the same as the result of the bitwise OR calculation, there are no duplicate modules in the modules allocated to all the guns being charged. When the result of the bitwise addition calculation is different from the result of the bitwise OR calculation, there are duplicated modules in the modules allocated to all the guns being charged.

[0133] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0134] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0135] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0136] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0137] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0138] It should be understood that the above description is for illustration and not for limitation. Many embodiments and many applications beyond the examples provided will be apparent to those skilled in the art upon reading the above description. Therefore, the scope of this patent should not be determined with reference to the above description, but rather with reference to the preceding claims and the full scope of equivalents to which such claims are entitled. For the purpose of comprehensiveness, all articles and references, including disclosures of patent applications and publications, are incorporated herein by reference. The omission of any aspect of the subject matter disclosed herein in the preceding claims is not intended to be a waiver of such subject matter, nor should it be considered that the applicant has not considered such subject matter to be part of the disclosed inventive subject matter.

Claims

1. A multi-gun power circuit short circuit detection method, characterized in that: The process includes: S1, obtain the topology structure, and get the total number of guns, the total number of output contactors, the total number of parallel contactors and the total number of modules; S2, obtain the current status of each gun, parallel contactor and module; S3, performing bitwise OR and bitwise addition calculations according to the allocation relationship between each gun and each module. When the result of the bitwise addition calculation is the same as the result of the bitwise OR calculation, there are no duplicate modules in the modules allocated to all the guns being charged. When the result of the bitwise addition calculation is different from the result of the bitwise OR calculation, there are duplicate modules in the modules allocated to all the guns being charged. S3 is specifically as follows: define an integer data array, the size of which is equal to the total number of guns, and assign values ​​according to the variable assignment method and the bit method. Each module corresponds to a different bit. During the charging process, if the module is assigned to charge, the bit corresponding to the module is assigned to 1. If the module is not assigned, the bit corresponding to the module is assigned to 0. Each gun corresponds to a set of integer data, which includes the bit value of whether each module is assigned to the gun; perform bitwise OR and bitwise sum calculations on the integer data corresponding to all guns; When the result of bitwise addition is different from the result of bitwise OR, first find the data in the array that is not equal to 0, and then compare each bit in the data. When the data on the same bit is 1, the module at that position is repeatedly allocated. The integer data array is unsigned 32-bit integer data.

2. The multi-gun power circuit short circuit detection method according to claim 1, characterized in that: In S2, the module IDs adjacent to each parallel contactor are determined, and for each module directly connected to a gun, the module IDs assigned to the gun are counted based on the closed state of the parallel contactor and the module IDs adjacent to each parallel contactor.

3. The multi-gun power circuit short circuit detection method according to claim 1, characterized in that: The processes of S1-S3 are all rehearsal processes before the charging path is connected. When the rehearsal result shows that a short circuit will occur, it is prohibited to close the parallel contactor of the repeated distribution module.

4. The multi-gun power circuit short circuit detection method according to claim 3 is characterized in that: When the preview result shows that a short circuit will occur, the current charging state is maintained according to the charging situation, and the closing instruction of the parallel contactor is not executed.

5. A multi-gun power circuit short circuit detection system, characterized in that: include: A topology acquisition module is used to acquire the topology structure and obtain the total number of guns, the total number of output contactors, the total number of parallel contactors and the total number of modules; A status acquisition module is used to obtain the current status of each gun, parallel contactor and module; The short circuit judgment module is used to perform bitwise OR and bitwise addition calculations according to the allocation relationship between each gun and each module. When the result of the bitwise addition calculation is the same as the result of the bitwise OR calculation, there are no duplicate modules in the modules allocated to all the guns being charged. When the result of the bitwise addition calculation is different from the result of the bitwise OR calculation, there are duplicate modules in the modules allocated to all the guns being charged. Specifically: define an integer data array, the size of which is equal to the total number of guns, and assign values ​​according to the variable assignment method and the bit method. Each module corresponds to a different bit. During the charging process, if the module is assigned to charge, the bit corresponding to the module is assigned to 1. If the module is not assigned, the bit corresponding to the module is assigned to 0. Each gun corresponds to a set of integer data, which includes the bit value of whether each module is assigned to the gun; perform bitwise OR and bitwise sum calculations on the integer data corresponding to all guns; When the result of bitwise addition is different from the result of bitwise OR, first find the data in the array that is not equal to 0, and then compare each bit in the data. When the data on the same bit is 1, the module at that position is repeatedly allocated. The integer data array is unsigned 32-bit integer data.

6. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the multi-gun power circuit short circuit detection method as claimed in any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the multi-gun power circuit short circuit detection method as claimed in any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Charger power loop abnormity early warning protection method

    CN114454763A