Multi-gun address automatic allocation method for group charging pile system
By using the method of comparing the incremental sequence of module startup voltages and sampling voltage values in the group charging pile system, the automatic allocation of gun addresses is realized, the problems of hardware resource dependence and high manual maintenance costs are solved, and the stability and reliability of the system are improved.
Patent Information
- Application Number
- CN202411941096.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-03-25
AI Technical Summary
The prior art gun address recognition method is too dependent on hardware resources, and the manual maintenance cost and error rate are high.
After the host powers up, the module is turned on in order to increase the power-on voltage of each module, and the gun address is determined in combination with the comparison of sample voltage values to achieve automatic allocation.
Reduces dependence on specific hardware resources, reduces manual configuration and maintenance costs, improves system stability and reliability, and reduces error rate.
Smart Images

Figure CN119682593A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of power electronics and relates to a method for automatically allocating addresses of multiple guns in a group charging pile system. Background Art
[0002] As global awareness of environmental protection increases and the concept of sustainable development deepens, electric vehicles, as representatives of clean energy transportation, are rapidly gaining market penetration. This trend has directly led to the booming development of the charging pile industry. In order to meet the growing demand for electric vehicle charging, especially in key areas such as public places and highway service areas, fast and efficient charging facilities have become particularly important. Therefore, high-power group charging piles have emerged and gradually occupied an increasing share in the market. The design of the group charging pile adopts a modular structure, and its core consists of a host (CMU, Central Management Unit) and multiple terminals (TMU, Terminal Management Unit). Each terminal is equipped with two charging guns, which can provide charging services for two electric vehicles at the same time. This design not only improves charging efficiency, but also optimizes space utilization, making the layout of the charging pile more compact and flexible. In the operation of the group charging pile, the host plays a vital role. It needs to calculate the maximum number of charging guns that can be put into use at the same time without affecting the overall performance and safety based on the topology of the system. To achieve this goal, each charging gun needs to have a unique address identifier so that the host can accurately identify and control them.
[0003] However, the traditional gun address identification method has some obvious disadvantages. A common method is to obtain the gun address through a combination of IO (Input / Output) signals on the hardware circuit board of each terminal. This method usually relies on hardware external dial codes or similar devices to modify the level state of fixed IO ports to form different level combinations, thereby calculating the address of the charging gun. Although this method realizes the automatic allocation of addresses to a certain extent, when the number of charging guns increases, the number of IO ports required will also increase accordingly, which will undoubtedly occupy more single-board chip resources and increase the complexity and cost of hardware design. Another traditional method is to use an external interface for manual address setting. For example, through interactive devices such as display screens, operators can manually enter and issue specific charging gun addresses. Although this method has improved flexibility, manual operation is often accompanied by the risk of errors, and the subsequent maintenance cost is high, which is not convenient enough. Summary of the invention
[0004] The purpose of the present invention is to solve the technical problems in the prior art that the gun address identification method is too dependent on hardware resources and has high manual maintenance costs and error rates, and to provide a method for automatically allocating addresses of multiple guns in a group charging pile system.
[0005] In a first aspect, the present invention discloses a method for automatically allocating addresses of multiple charging guns in a group charging pile system, comprising: After the host is powered on, it receives the request gun address configuration instructions from several terminals and detects the newly online terminals; The host turns on each module in sequence at predetermined intervals according to the increasing order of the power-on voltages of each module connected to each terminal; The host receives the sampled voltage values from each terminal. When the sampled voltage value of a terminal differs from the power-on voltage of a module within ±5V, the module address is the gun address, and the host sends the gun address to the corresponding terminal. The host keeps each module powered on for the set time, and then the gun address is automatically assigned.
[0006] Further improvements are: When the host receives close or no sampled voltage values from two or more different terminals, a fault report is performed.
[0007] After the host is powered on, wait for 2 min-5 min before turning on each module.
[0008] The power-on voltage difference of each module from small to large is +20V.
[0009] The step of turning on each module at a predetermined interval specifically means turning on each module at a 2 s interval.
[0010] The host keeps each module powered on for a set period of time, specifically 5 min-10 min.
[0011] When the host receives a request gun address configuration instruction from a new terminal or detects a newly online terminal, it turns on the remaining modules with unconfirmed addresses without turning on all modules.
[0012] When the host detects that a module has abnormal working parameters, it marks the module as a faulty module and prohibits it from participating in the subsequent gun address allocation process.
[0013] The host preferentially assigns the gun address to the terminal requesting charging to shorten the user's waiting time; if the gun address is not identified, the terminal cannot perform charging and output contactor operations.
[0014] The host has self-healing capabilities and automatically restarts or restores to default configuration when a fault is detected.
[0015] Compared with the prior art, the present invention has the following beneficial effects: The present invention discloses a method for automatically allocating addresses of multiple guns in a group charging pile system. By intelligently starting the modules according to the increasing order of the startup voltage of each module and combining the comparison of the sampled voltage values to determine the gun address, the method reduces the excessive dependence on specific hardware resources, making the system configuration more flexible and more adaptable. The process of automatically allocating gun addresses does not require manual intervention, significantly reduces the cost of manual configuration and maintenance, and improves work efficiency. At the same time, address allocation errors caused by human operating errors are avoided, and the stability and reliability of the system are improved. Through precise voltage value comparison (within ±5V), the present invention can accurately identify and allocate gun addresses, greatly reducing the error rate caused by recognition errors, and improving the overall performance and user experience of the charging pile system. The method does not rely on a specific hardware model or brand, has good versatility and compatibility, is convenient for future expansion and upgrading of the system, and can adapt to more types of charging pile terminals and modules.
[0016] Furthermore, when the host receives close or no sampled voltage values from two or more different terminals, the present invention can report fault information in time. This mechanism helps to quickly identify and solve potential hardware faults or connection problems, prevent the charging pile system from being paralyzed or the charging gun address being assigned incorrectly due to faults, thereby improving the reliability and safety of the system. At the same time, fault reporting also provides maintenance personnel with clear fault indications, reduces the difficulty of troubleshooting and repair, and improves maintenance efficiency. After the host is powered on, wait for 2 min-5 min before turning on each module. This design can ensure that the system has enough stabilization time during the startup process to avoid hardware conflicts or instability caused by starting too quickly. At the same time, the waiting time also provides the system with an opportunity for self-detection and initialization, which helps to ensure the smooth progress of the subsequent gun address assignment process. The power-on voltage difference of each module from small to large is +20 V. This design helps to ensure that the power-on voltage of each module has sufficient differentiation during the gun address assignment process, thereby reducing the risk of misjudgment caused by similar voltages. At the same time, the fixed voltage difference also facilitates the system to accurately compare and identify the voltage value, improving the accuracy and reliability of gun address assignment. Each module is turned on at intervals of 2 seconds. This design can avoid the current shock and voltage fluctuation generated when multiple modules are turned on at the same time, thereby protecting the hardware components of the system from damage. At the same time, the interval opening also helps the system to gradually stabilize, providing more accurate and stable conditions for the subsequent sampling voltage value comparison and gun address allocation. The host keeps each module turned on for 5 min-10 min. This design can ensure that each module has enough time to work stably during the gun address allocation process and provide a guarantee for the accurate acquisition of the sampling voltage value. At the same time, the power-on duration also helps the system to verify and confirm the gun address allocation results, thereby improving the stability and reliability of the system. In addition, the appropriate power-on duration can also reduce the hardware loss and energy consumption cost caused by frequent power on and off. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 This is a flow chart of a method for automatically allocating addresses of multiple guns in a group charging pile system of the present invention; Figure 2 It is the system topology diagram of the charging pile in the present invention; Figure 3This is a host side (CMU) flow chart of a method for automatically allocating addresses of multiple charging guns in a group charging pile system of the present invention; Figure 4 This is a terminal side (TMU) flow chart of a method for automatically allocating addresses of multiple charging guns in a group charging pile system of the present invention. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, 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 part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0020] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0022] In the description of the embodiments of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0023] The present invention is further described in detail below in conjunction with the accompanying drawings: See also Figure 1 The embodiment of the present invention discloses a method for automatically allocating addresses of multiple charging guns in a group charging pile system, comprising: S1, after the host is powered on, it receives the request gun address configuration instructions from several terminals and detects the newly online terminals; the host has a self-repair function and automatically restarts or restores the default configuration when a fault is detected.
[0024] S2, the host turns on each module in sequence at a predetermined interval according to the increasing order of the power-on voltage of each module connected to each terminal; After the host is powered on, wait for 2 min-5 min before turning on each module. The voltage difference of the power-on voltage of each module from small to large is +20 V. Turning on each module at a predetermined interval is specifically turning on each module at an interval of 2 s.
[0025] When the host receives a request gun address configuration instruction from a new terminal or detects a newly online terminal, it turns on the remaining modules with unconfirmed addresses without turning on all modules. When the host detects that a module has abnormal working parameters, it marks the module as a faulty module and prohibits it from participating in the subsequent gun address allocation process.
[0026] S3, the host receives the sampled voltage values from each terminal. When the sampled voltage value of a terminal differs from the power-on voltage of a module within ±5V, the module address is the gun address, and the host sends the gun address to the corresponding terminal. When the host receives close or no sampled voltage values from two or more different terminals, a fault report is made. The host preferentially assigns the gun address to the terminal requesting charging to shorten the user's waiting time; if the gun address is not identified, the terminal cannot perform charging and output contactor operations.
[0027] S4, the host keeps each module powered on for the set time, and then the gun address is automatically assigned.
[0028] The host keeps each module powered on for a set period of time, specifically 5 min-10 min.
[0029] The present invention discloses a method for automatically allocating addresses of multiple guns in a group charging pile system. By intelligently starting the modules according to the increasing order of the startup voltage of each module and combining the comparison of the sampled voltage values to determine the gun address, the method reduces the excessive dependence on specific hardware resources, making the system configuration more flexible and more adaptable. The process of automatically allocating gun addresses does not require manual intervention, significantly reduces the cost of manual configuration and maintenance, and improves work efficiency. At the same time, address allocation errors caused by human operating errors are avoided, and the stability and reliability of the system are improved. Through precise voltage value comparison (within ±5V), the present invention can accurately identify and allocate gun addresses, greatly reducing the error rate caused by recognition errors, and improving the overall performance and user experience of the charging pile system. The method does not rely on a specific hardware model or brand, has good versatility and compatibility, is convenient for future expansion and upgrading of the system, and can adapt to more types of charging pile terminals and modules.
[0030] The present invention is described in detail below in conjunction with specific embodiments: 1. CMU side (host side) See also Figure 3 , Step ①: Starting conditions: (1) After the CMU is powered on, wait for 2 minutes to reserve time for the TMU communication connection. After 2 minutes, enter the gun address confirmation process. This condition is executed once after power-on.
[0031] (2) The CMU receives the instruction from the TMU requesting the gun address configuration.
[0032] (3) The CMU detects the newly online TMU.
[0033] Step 2: Power on the module The CMU turns on each module at 2S intervals in the order of increasing module voltage, and finally turns on all modules according to the expected set voltage value. The module startup voltage values are as follows
[0034] Starting condition 1, all modules are turned on according to the pressure difference.
[0035] Starting condition 2 or 3, the terminal requests or detects that a new terminal is online, and the remaining modules whose addresses have not been confirmed need to be turned on. It is not necessary to turn on all modules, and the modules whose addresses have been confirmed do not need to be turned on.
[0036] Step 3: Voltage determination When the CMU turns on the module, the address of the gun is determined by the voltage value reported by the TMU.
[0037] When the detected voltage of the TMU is within 5V of the power-on voltage range of a module, the gun address of the gun is set to the address of the module. Finally, the confirmed gun address is sent to the TMU.
[0038] Step 4: The CMU keeps the module powered on for 5 minutes.
[0039] Step ⑤: After 5 minutes of timing, the gun address recognition process ends.
[0040] 2. Terminal side (TMU side) See also Figure 4 , Step ①: After TMU is powered on: Read the gun addresses of the two guns in the eeprom. eeprom is an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory). Step ②: Terminal address detection: After the terminal is powered on, it enters the address recognition module, but the address recognition is unsuccessful. The following functions cannot be executed.
[0041] The TMU periodically reports the sampled voltage value to the host CMU.
[0042] Step 3: After receiving the address assigned by the CMU, an address check is performed.
[0043] If the address verification is correct, determine whether the EEP address is consistent with the address issued by the CMU. If not, write the address to the EEP. And display the confirmed gun address on the light board.
[0044] If the address check fails, the CMU will be triggered to re-assign the address. This step can be performed up to 3 times. If the address check fails after 3 times, the gun will report a fault and the system wiring needs to be checked.
[0045] Step 4: If the CMU address is not received after 3 minutes, it is considered that the address is not configured successfully. The light board displays FF.
[0046] Step ⑤: After the terminal address recognition is completed, the terminal no longer performs address confirmation logic 3. Verification of automatically assigned address results Verification 1: The gun address needs to be within the system's configuration range.
[0047] This detection logic needs to be placed on the CMU and TMU for simultaneous verification.
[0048] See also Figure 2 , the system supports a maximum of 16 guns, the gun address range is (1-16).
[0049] Verification 2: TMU gun address duplication check.
[0050] When the CMU detects that the sampled voltage values sent by different TMUs are close, a gun ID duplication fault on the two TMUs is processed and the fault information is sent to the TMU for fault processing.
[0051] Verification 3: Passive verification.
[0052] When the gun is charged, if the module output voltage is detected to be incorrect, it is considered that the gun address and power line relationship do not match, and the gun address error is reported.
[0053] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for automatically allocating addresses of multiple charging guns in a group charging pile system, characterized in that: include: After the host is powered on, it receives the request gun address configuration instructions from several terminals and detects the newly online terminals; The host turns on each module in sequence at predetermined intervals according to the increasing order of the power-on voltages of each module connected to each terminal; The host receives the sampled voltage values from each terminal. When the sampled voltage value of a terminal differs from the power-on voltage of a module within ±5V, the module address is the gun address, and the host sends the gun address to the corresponding terminal. The host keeps each module powered on for the set time, and then the gun address is automatically assigned.
2. The method for automatically allocating addresses of multiple charging guns in a group charging pile system according to claim 1 is characterized in that: When the host receives close or no sampled voltage values from two or more different terminals, a fault report is performed.
3. The method for automatically allocating addresses of multiple guns in a group charging pile system according to claim 1 is characterized in that: After the host is powered on, wait for 2 min-5 min before turning on each module.
4. The method for automatically allocating addresses of multiple charging guns in a group charging pile system according to claim 1, characterized in that: The power-on voltage difference of each module from small to large is +20V.
5. The method for automatically allocating addresses of multiple charging guns in a group charging pile system according to claim 1 is characterized in that: The step of turning on each module at a predetermined interval specifically means turning on each module at a 2 s interval.
6. The method for automatically allocating addresses of multiple charging guns in a group charging pile system according to claim 1 is characterized in that: The host keeps each module powered on for a set period of time, specifically 5 min-10 min.
7. The method for automatically allocating addresses of multiple charging guns in a group charging pile system according to claim 1, characterized in that: When the host receives a request gun address configuration instruction from a new terminal or detects a newly online terminal, it turns on the remaining modules with unconfirmed addresses without turning on all modules.
8. The method for automatically allocating addresses of multiple charging guns in a group charging pile system according to claim 1, characterized in that: When the host detects that a module has abnormal working parameters, it marks the module as a faulty module and prohibits it from participating in the subsequent gun address allocation process.
9. The method for automatically allocating addresses of multiple charging guns in a group charging pile system according to claim 1, characterized in that: The host preferentially assigns the gun address to the terminal requesting charging to shorten the user's waiting time; The gun address is not recognized and the terminal cannot perform charging and output contactor operations.
10. The method for automatically allocating addresses of multiple charging guns in a group charging pile system according to claim 1, characterized in that: The host has self-healing capabilities and automatically restarts or restores to default configuration when a fault is detected.