A debugging tool for concentrator local communication module
By designing a debugging tool for the local communication module of the concentrator, the problem of the concentrator's local communication module being unable to be debugged independently was solved, realizing a safe and efficient independent debugging process and improving debugging safety and efficiency.
Patent Information
- Application Number
- CN202211500542.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2042-11-28
AI Technical Summary
The local communication module of the concentrator cannot be debugged independently and requires testing of the entire device, which poses security risks and low efficiency issues.
A debugging tool for the local communication module of a concentrator was designed, which includes a network data communication port, a power port, and a data input/output port. The local communication module can be debugged individually through these ports, and surge and electrostatic protection circuits are used to improve safety and reliability.
It enables debugging in a low-voltage environment, improving safety and debugging efficiency, avoiding repeated plugging and unplugging, and reducing economic costs.
Smart Images

Figure CN116318447B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power consumption data acquisition system testing technology, and specifically to a debugging tool for a concentrator local communication module. Background Technology
[0002] Local communication modules, as a crucial component of concentrators, are widely used in data acquisition across various power networks. However, the development and debugging of local communication modules still require the use of the entire concentrator unit. Since the concentrator itself must be connected to a 380V power supply, and the local communication module's interface includes both high-voltage and low-voltage circuits, operation is extremely unsafe, posing a significant risk of electric shock and jeopardizing the safety of personnel and equipment.
[0003] Developers working on and debugging local communication modules often face challenges. They may need to install the module on the concentrator to verify its hardware and software functionality and performance. If problems arise requiring adjustments, the module must be removed, adjusted, and then reinstalled. Alternatively, some issues necessitate installation on the concentrator for debugging, requiring developers to use soldered wires – a method that is insecure, inefficient, and unsafe due to the presence of 380V in some modules.
[0004] For example, Chinese patent CN209088949U, published on July 9, 2019, describes a dual-mode communication intelligent concentrator, including a power supply module, a main chip module, an RS485 communication module, a carrier communication module, a LoRa communication module, a GPRS / Ethernet module, and a three-phase metering module. The power supply module includes a three-phase power supply module and a battery and supercapacitor module. The GPRS / Ethernet module is responsible for communicating with the master station, uploading collected data, and reporting abnormal events. The RS485 communication module, carrier communication module, and LoRa communication module complete the data reading of the electricity meter. This utility model adds a LoRa communication module to the power carrier concentrator, enabling both to work in coordination and complement each other, completing the collection of different data in different environments, improving the reliability and speed of the concentrator's meter data collection, and ensuring that the concentrator and the downstream collector can still maintain normal communication even in the event of an external power outage. The communication module in this patent's concentrator cannot be tested individually; only the entire unit can be tested. Summary of the Invention
[0005] The technical problem this invention aims to solve is the inability to perform independent debugging of the local communication module of a concentrator during intelligent whole-machine debugging. A debugging tool for the local communication module of a concentrator is proposed, enabling independent debugging of the local communication module.
[0006] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows: a debugging tool for a concentrator local communication module, comprising a debugging tool, the debugging tool having a network data communication port, the network data communication port being connected to a surge and electrostatic protection circuit, and the debugging tool having a power port and a data input / output port.
[0007] A debugging tool for a concentrator's local communication module is provided. A power adapter supplies power to the local communication module through a power port. A network signal communicates with the local communication module via a network data communication port. The APP UART, Reset, and other GPIO pins on the local communication module are brought out through the CH2.54 header of the data input / output port and connected to a power source. After the local communication module to be tested is connected to the debugging tool, the test device can be connected to the data input / output port for testing.
[0008] Preferably, the network data communication port is an RJ45 interface. The RJ45 interface includes a first transformer and a second transformer. Both the first and second transformers include a first winding and a second winding. The first winding has a first center tap, and the second winding has a second center tap. The first windings of both the first and second transformers are connected to surge and electrostatic discharge protection circuits. The Ethernet interface is converted from a CH2.54 header to a standard RJ45 Ethernet interface. The RJ45 interface selected includes a transmission transformer, ensuring that the high-speed Ethernet signal quality is not degraded after passing through the connector.
[0009] Preferably, the first center tap of the first transformer is connected to one end of capacitor C5, and the other end of capacitor C5 is grounded. The first center tap of the first transformer is connected to one end of inductor L1, and the other end of inductor L1 is connected to a 2.5V DC voltage. A variable resistor D1 is connected in series on the first winding of the first transformer. The same-name terminal of the first winding of the first transformer is connected to one end of resistor R3, and the other end of resistor R3 is connected to one end of capacitor C3, and the other end of capacitor C3 is grounded. The opposite-name terminal of the first winding of the first transformer is connected to one end of resistor R4, and the other end of resistor R4 is connected to one end of capacitor C4, and the other end of capacitor C4 is grounded. The end of resistor R3 connected to capacitor C3 is connected to the positive signal pin, and the end of resistor R4 connected to capacitor C4 is connected to the negative signal pin. Adding surge and electrostatic discharge protection circuitry at the RJ45 interface improves the overall circuit reliability.
[0010] Preferably, the first center tap of the second transformer is connected to one end of capacitor C7, and the other end of capacitor C7 is grounded. The first center tap of the second transformer is connected to the first center tap of the first transformer. A variable resistor D2 is connected in series on the first winding of the second transformer. The same-name terminal of the first winding of the second transformer is connected to one end of resistor R5. The other end of resistor R5 is connected to one end of capacitor C6, and the other end of capacitor C6 is grounded. The opposite-name terminal of the first winding of the second transformer is connected to one end of resistor R6. The other end of resistor R6 is connected to one end of capacitor C8, and the other end of capacitor C8 is grounded. The end of resistor R5 connected to capacitor C6 is connected to the positive signal receiving pin, and the end of resistor R6 connected to capacitor C8 is connected to the negative signal receiving pin. Adding surge and electrostatic protection circuitry at the RJ45 interface improves the overall circuit reliability.
[0011] Preferably, the second winding of the first transformer is connected to one end of the first autotransformer, and the second winding of the second transformer is connected to one end of the second autotransformer. The first pin of the other end of the first autotransformer is connected to the positive signal pin of the RJ45 interface, and the second pin of the other end of the first autotransformer is connected to the negative signal pin of the RJ45 interface. The first pin of the other end of the second autotransformer is connected to the positive signal pin of the RJ45 interface, and the second pin of the other end of the second autotransformer is connected to the negative signal pin of the RJ45 interface. The second center tap of the second transformer is connected to one end of resistor R7, and the second center tap of the first transformer is connected to one end of resistor R8. Resistors R7 and R8 are connected in parallel. The other end of resistor R8 is connected to one end of capacitor C9, and the other end of capacitor C9 is grounded.
[0012] Preferably, the fourth and fifth pins of the RJ45 interface are connected to one end of resistor R9, and the seventh and eighth pins of the RJ45 interface are connected to one end of resistor R10. Resistors R9 and R10 are connected in parallel, and resistor R9 is connected in parallel with resistor R8. The RJ45 interface is connected to a 2.5V AC power supply, and an LED indicator is connected to the RJ45 interface. The connection of the fourth and fifth pins of the RJ45 interface to resistor R9, and the connection of the seventh and eighth pins of the RJ45 interface to resistor R10, and the parallel connection of the two resistors to a capacitor and then to ground, can reduce the influence of high-frequency interference signals on the circuit.
[0013] Preferably, the power port includes a three-hole socket J1, which is connected to a 12V power supply, and the neutral wire of the three-hole socket is grounded. The DC 12V power supply interface is converted into a power socket, which can be directly powered by a power adapter. The selected socket specification is 12V DC 1A, which fully meets the enterprise standard of 12V DC 500mA.
[0014] Preferably, the data input / output port includes a reserved header P1. The first pin of the reserved header P1 is connected to DEBUG_TXD, the second pin to DEBUG_RXD, the third pin to DCE_TXD, the fourth pin to DCE_RXD, the fifth pin to RSTn, and the sixth pin to a 3.3V power supply. The remaining pins of the reserved header P1 are grounded. GND, DCE_TXD, DCE_RXD, VCC3V3, RST, STATE0, and the reserved header pins are routed to the side of the adapter board for easy installation and debugging. Users only need to use CH2.54 female DuPont wires to connect the I / O to test equipment such as computers and logic analyzers. No soldering is required, and the installation is stable, reliable, convenient, and universal.
[0015] Preferably, the network data communication port includes a header J2. The third pin of the header J2 is connected to one end of a resistor R1, and the other end of the resistor R1 is connected to LED_ACT. The fourth pin of the header J2 is connected to one end of a resistor R2, and the other end of the resistor R2 is connected to LED_LINK. The twenty-first pin of the header J2 is a positive transmit signal pin, the twenty-second pin of the header J2 is a negative transmit signal pin, the twenty-third pin of the header J2 is a positive receive signal pin, and the twenty-fourth pin of the header J2 is a negative receive signal pin. The pin interfaces on the header J2 correspond to the pin interfaces on the reserved header P1. The J2 pin header is a low-voltage interface. The low-voltage interface uses a 2.54mm pitch female connector that corresponds one-to-one with the low-voltage interface pin header of the local communication module, which can ensure a stable connection. The interface circuit includes all the pin definitions of the low-voltage interface, namely GND, DC12V, DCE_TXD, DCE_RXD, VCC3V3, RST, STATE0, TD+, TD-, RD+, RD-, and additionally brings out Pin13 and Pin14 as reserved function pins.
[0016] The substantial effect of this invention is that it designs a debugging tool for a concentrator local communication module. The debugging process is carried out entirely in a low-voltage environment, which improves debugging safety. It eliminates the need for repeated plugging and unplugging on the device, thereby improving R&D and debugging efficiency. A single local communication module can be debugged, which improves economic efficiency. Attached Figure Description
[0017] Figure 1 This is a flowchart illustrating an embodiment;
[0018] Figure 2 The RJ45 circuit diagram is shown in the example.
[0019] Figure 3 The circuit diagram for the reserved pin header P1 in the embodiment;
[0020] Figure 4 The circuit diagram of pin header J2 is shown in the embodiment.
[0021] Figure 5 The circuit diagram of the three-hole socket J1 is shown in the embodiment.
[0022] The ports include: 1. Power port, 2. Network data communication port, and 3. Data input / output port. Detailed Implementation
[0023] The specific embodiments of the present invention will be further described below with reference to the accompanying drawings.
[0024] A debugging tool for a concentrator's local communication module, such as Figure 1 As shown, the power adapter supplies power to the local communication module through power port 1. The network signal communicates with the local communication module through network data communication port 2. The APP UART, Reset and other GPIO pins on the local communication module are brought out through the CH2.54 header of data input / output port 3. The debugging device obtains the data on the local communication module under test from the data input / output port and debugs it through this port.
[0025] like Figure 2 As shown, the network data communication port is an RJ45 interface. The RJ45 interface includes a first transformer and a second transformer. Both the first and second transformers include a first winding and a second winding. The first winding has a first center tap, and the second winding has a second center tap. Surge and electrostatic protection circuits are connected to the first windings of both the first and second transformers. The Ethernet interface is converted from a CH2.54 header to a standard RJ45 Ethernet interface. A model containing a transmission transformer is selected for the RJ45 interface to ensure that the high-speed Ethernet signal quality is not degraded after passing through the connector.
[0026] The first center tap of the first transformer is connected to one end of capacitor C5, and the other end of capacitor C5 is grounded. The first center tap of the first transformer is also connected to one end of inductor L1, and the other end of inductor L1 is connected to a 2.5V DC voltage. A variable resistor D1 is connected in series with the first winding of the first transformer. The same-name terminal of the first winding of the first transformer is connected to one end of resistor R3, and the other end of resistor R3 is connected to one end of capacitor C3, with the other end of capacitor C3 grounded. The opposite-name terminal of the first winding of the first transformer is connected to one end of resistor R4, and the other end of resistor R4 is connected to one end of capacitor C4, with the other end of capacitor C4 grounded. The end of resistor R3 connected to capacitor C3 is connected to the positive signal pin, and the end of resistor R4 connected to capacitor C4 is connected to the negative signal pin. Adding surge and electrostatic protection circuitry at the RJ45 interface improves the overall circuit reliability. The specifications of capacitor C5 are 0.1uF / 50V / 10% / X7R.
[0027] The first center tap of the second transformer is connected to one end of capacitor C7, and the other end of capacitor C7 is grounded. The first center tap of the second transformer is connected to the first center tap of the first transformer. A variable resistor D2 is connected in series on the first winding of the second transformer. The same-name terminal of the first winding of the second transformer is connected to one end of resistor R5. The other end of resistor R5 is connected to one end of capacitor C6, and the other end of capacitor C6 is grounded. The opposite-name terminal of the first winding of the second transformer is connected to one end of resistor R6. The other end of resistor R6 is connected to one end of capacitor C8, and the other end of capacitor C8 is grounded. The end of resistor R5 connected to capacitor C6 is connected to the positive signal receiving pin, and the end of resistor R6 connected to capacitor C8 is connected to the negative signal receiving pin. Adding surge and electrostatic discharge protection circuits at the RJ45 interface improves the overall circuit reliability.
[0028] The second winding of the first transformer is connected to one end of the first autotransformer, and the second winding of the second transformer is connected to one end of the second autotransformer. The first pin of the other end of the first autotransformer is connected to the positive signal pin of the RJ45 interface, and the second pin of the other end of the first autotransformer is connected to the negative signal pin of the RJ45 interface. The first pin of the other end of the second autotransformer is connected to the positive signal pin of the RJ45 interface, and the second pin of the other end of the second autotransformer is connected to the negative signal pin of the RJ45 interface. The second center tap of the second transformer is connected to one end of resistor R7, and the second center tap of the first transformer is connected to one end of resistor R8. Resistors R7 and R8 are connected in parallel. The other end of resistor R8 is connected to one end of capacitor C9, and the other end of capacitor C9 is grounded.
[0029] The fourth and fifth pins of the RJ45 connector are connected to one end of resistor R9, and the seventh and eighth pins are connected to one end of resistor R10. Resistors R9 and R10 are connected in parallel, as are resistors R9 and R8. The RJ45 connector is connected to a 2.5V AC power supply, and an LED indicator is connected to it. The connection between the fourth and fifth pins of the RJ45 connector and resistor R9, and the connection between the seventh and eighth pins and resistor R10, along with the parallel connection of the two resistors followed by a capacitor and then grounding, can reduce the impact of high-frequency interference signals on the circuit.
[0030] like Figure 3 As shown, the data input / output port includes a reserved header P1. The first pin of reserved header P1 is connected to DEBUG_TXD, the second pin to DEBUG_RXD, the third pin to DCE_TXD, the fourth pin to DCE_RXD, the fifth pin to RSTn, and the sixth pin to a 3.3V power supply. The remaining pins of reserved header P1 are grounded. The pins GND, DCE_TXD, DCE_RXD, VCC3V3, RST, STATE0, and the reserved header pins are routed to the side of the adapter board for easy installation and debugging. Users only need to use CH2.54 female DuPont wires to connect the I / O to test equipment such as computers and logic analyzers. No soldering is required, and the installation is stable, reliable, convenient, and universal.
[0031] like Figure 4 As shown, the network data communication port includes pin header J2. The third pin of pin header J2 is connected to one end of resistor R1, and the other end of resistor R1 is connected to LED_ACT. The fourth pin of pin header J2 is connected to one end of resistor R2, and the other end of resistor R2 is connected to LED_LINK. The twenty-first pin of pin header J2 is the positive pin for transmitting signals, the twenty-second pin of pin header J2 is the negative pin for transmitting signals, the twenty-third pin of pin header J2 is the positive pin for receiving signals, and the twenty-fourth pin of pin header J2 is the negative pin for receiving signals. The pin interfaces on pin header J2 correspond to the pin interfaces on the reserved pin header P1. The J2 pin header is a low-voltage interface. The low-voltage interface uses a 2.54mm pitch female connector that corresponds one-to-one with the low-voltage interface pin header of the local communication module, which can ensure a stable connection. The interface circuit includes all the pin definitions of the low-voltage interface, namely GND, DC12V, DCE_TXD, DCE_RXD, VCC3V3, RST, STATE0, TD+, TD-, RD+, RD-, and additionally brings out Pin13 and Pin14 as reserved function pins.
[0032] like Figure 5As shown, the power port includes a three-hole socket J1, which is connected to a 12V power supply. The neutral wire of the three-hole socket is grounded. The DC 12V power supply interface is converted into a power socket, which can be directly powered by a power adapter. The selected socket specification is 12V DC 1A, which fully meets the enterprise standard of 12V DC 500mA.
[0033] First, connect each interface of the local communication module to be tested to the J2 header, then connect each debugging device to the reserved P1 header, plug in the power, and you can debug the local communication module through the debugging device.
[0034] The above embodiments merely illustrate several implementation methods of the present invention, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention.
Claims
1. A debugging tool for a concentrator local communication module, characterized in that, The tool includes a debugging tool with a network data communication port connected to a surge and electrostatic discharge (ESD) protection circuit. The tool also includes a power port and a data input / output port. The network data communication port is an RJ45 interface with a surge and ESD protection circuit. The fourth and fifth pins of the RJ45 interface are connected to resistor R9, and the seventh and eighth pins are connected to resistor R10. Resistors R9 and R10 are connected in parallel, followed by a capacitor and then grounded. The data input / output port includes a reserved header P1. The first pin of reserved header P1 is connected to DEBUG_TXD. The second pin of pin P1 is connected to DEBUG_RXD, the third pin of reserved pin P1 is connected to DCE_TXD, the fourth pin of reserved pin P1 is connected to DCE_RXD, the fifth pin of reserved pin P1 is connected to RSTn, and the sixth pin of reserved pin P1 is connected to a 3.3V power supply. The network data communication port includes pin J2. The third pin of pin J2 is connected to one end of resistor R1, and the other end of resistor R1 is connected to LED_ACT. The fourth pin of pin J2 is connected to one end of resistor R2, and the other end of resistor R2 is connected to LED_LINK. The pin interfaces on pin J2 correspond to the pin interfaces on the reserved pin P1.
2. The debugging tool for a concentrator local communication module according to claim 1, characterized in that, The RJ45 interface includes a first transformer and a second transformer. Both the first transformer and the second transformer include a first winding and a second winding. The first winding is provided with a first center tap, and the second winding is provided with a second center tap. The first windings of both the first transformer and the second transformer are connected to surge and electrostatic protection circuits.
3. A debugging tool for a concentrator local communication module according to claim 2, characterized in that, The first center tap of the first transformer is connected to one end of capacitor C5, and the other end of capacitor C5 is grounded. The first center tap of the first transformer is connected to one end of inductor L1, and the other end of inductor L1 is connected to a 2.5V DC voltage. A variable resistor D1 is connected in series on the first winding of the first transformer. The same-name terminal of the first winding of the first transformer is connected to one end of resistor R3, and the other end of resistor R3 is connected to one end of capacitor C3, and the other end of capacitor C3 is grounded. The opposite-name terminal of the first winding of the first transformer is connected to one end of resistor R4, and the other end of resistor R4 is connected to one end of capacitor C4, and the other end of capacitor C4 is grounded. The end of resistor R3 connected to capacitor C3 is connected to the positive signal pin, and the end of resistor R4 connected to capacitor C4 is connected to the negative signal pin.
4. A debugging tool for a concentrator local communication module according to claim 2, characterized in that, The first center tap of the second transformer is connected to one end of capacitor C7, and the other end of capacitor C7 is grounded. The first center tap of the second transformer is connected to the first center tap of the first transformer. A variable resistor D2 is connected in series on the first winding of the second transformer. The same-name terminal of the first winding of the second transformer is connected to one end of resistor R5. The other end of resistor R5 is connected to one end of capacitor C6, and the other end of capacitor C6 is grounded. The opposite-name terminal of the first winding of the second transformer is connected to one end of resistor R6. The other end of resistor R6 is connected to one end of capacitor C8, and the other end of capacitor C8 is grounded. The end of resistor R5 connected to capacitor C6 is connected to the positive signal receiving pin, and the end of resistor R6 connected to capacitor C8 is connected to the negative signal receiving pin.
5. A debugging tool for a concentrator local communication module according to claim 2, 3, or 4, characterized in that, The second winding of the first transformer is connected to one end of the first autotransformer, and the second winding of the second transformer is connected to one end of the second autotransformer. The first pin of the other end of the first autotransformer is connected to the positive signal pin of the RJ45 interface, and the second pin of the other end of the first autotransformer is connected to the negative signal pin of the RJ45 interface. The first pin of the other end of the second autotransformer is connected to the positive signal pin of the RJ45 interface, and the second pin of the other end of the second autotransformer is connected to the negative signal pin of the RJ45 interface. The second center tap of the second transformer is connected to one end of resistor R7, and the second center tap of the first transformer is connected to one end of resistor R8. Resistors R7 and R8 are connected in parallel. The other end of resistor R8 is connected to one end of capacitor C9, and the other end of capacitor C9 is grounded.
6. The debugging tool for a concentrator local communication module according to claim 2, characterized in that, The resistor R9 is connected in parallel with the resistor R8, the RJ45 interface is connected to a 2.5V AC power supply, and an LED indicator is connected to the RJ45 interface.
7. The debugging tool for a concentrator local communication module according to claim 1, characterized in that, The power port includes a three-hole socket J1, which is connected to a 12V power supply, and the neutral wire of the three-hole socket is grounded.
8. A debugging tool for a concentrator local communication module according to claim 1 or 2, characterized in that, The remaining pins of the reserved pin header P1 are grounded.
9. The debugging tool for a concentrator local communication module according to claim 1, characterized in that, The 21st pin of the J2 header is the positive pin for transmitting signals, the 22nd pin of the J2 header is the negative pin for transmitting signals, the 23rd pin of the J2 header is the positive pin for receiving signals, and the 24th pin of the J2 header is the negative pin for receiving signals.
Citation Information
Patent Citations
Dual-mode communication intelligent concentrator
CN209088949U
Anti-surge portable debugging equipment
CN214122941U