Reset circuit for concentrator communication module based on serial port multiplexing and concentrator system
By using serial port multiplexing design, the UART serial port signal output terminal TX is used to realize stable reset control of the concentrator communication module, which solves the problems of limited control pin resources and poor communication environment, and improves the stability and reliability of reset control.
Patent Information
- Application Number
- CN202522654891.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-15
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2035-12-15
AI Technical Summary
In the existing technology, when the concentrator communication module communicates with the external communication unit via the UART serial port, there are problems such as limited control pin resources and poor communication environment, resulting in poor reset control stability.
By designing a reset circuit for a concentrator communication module based on serial port multiplexing, the UART serial port signal output terminal TX of the external communication unit is used as the reset control pin. Combined with pull-up resistors, transistor drive circuits, and MOSFET switching circuits, the signal driving capability and level switching are enhanced to achieve stable reset control.
It saves control pin resources of external communication units, improves the stability and reliability of the reset control of the concentrator communication module processor, and adapts to the reset requirements of different communication environments.
Smart Images

Figure CN224987416U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of reset technology, and in particular to a reset circuit and concentrator system for a concentrator communication module based on serial port multiplexing. Background Technology
[0002] The concentrator intelligent fusion terminal (hereinafter referred to as the concentrator terminal) is installed at key nodes in the distribution network (such as distribution transformer substations) and serves as the core hub connecting the main power grid station with the electrical equipment of thousands of households. In addition to the main MCU (microcontroller), the concentrator terminal also has an internal concentrator communication module containing an MCU to improve communication response speed and stability. After the concentrator terminal is installed and operational, to expand communication scenarios, an external communication unit is usually required to work in conjunction with the concentrator communication module. The processor of the external communication unit and the processor of the concentrator communication module typically communicate via a UART serial port. In this combined operation, the processor of the external communication unit needs to send a reset signal using independent control pins (such as I / O pins) to reset the processor (MCU) of the concentrator communication module. However, the control pin resources of the external communication unit's processor are limited, and sometimes there are not enough control pins available for the concentrator communication module.
[0003] In related technologies, such as Chinese Patent Publication No. CN109844685A, a time-division multiplexed reset device, method, and terminal are disclosed. The master and slave controllers communicate via a UART serial port. The master controller uses the time-division multiplexed UART_TX pin (corresponding to the UART_RX pin of the slave controller's UART serial port) to perform reset control on the slave controller, thus saving control pins on the master controller. However, the driving capability of the master controller's UART_TX pin is generally weak, especially when the concentrator communication module and external communication unit are not integrated and there is a certain physical distance, and when the concentrator communication module's communication environment is poor and subject to significant interference, resulting in poor reset control stability. Utility Model Content
[0004] This application aims to at least solve the technical problems existing in the prior art and provide a reset circuit for a concentrator communication module based on serial port multiplexing and a concentrator system.
[0005] In a first aspect, this application provides a reset circuit for a concentrator communication module based on serial port multiplexing. The processor of the external communication unit and the processor of the concentrator communication module communicate via a UART serial port connection. The circuit includes an input circuit, a control logic circuit, and a reset signal generation circuit. The input circuit includes a pull-up resistor, with its first end connected to a first power supply terminal. The second end of the pull-up resistor is connected to the signal input terminal of the UART serial port of the concentrator communication module's processor and is used to receive the output signal from the signal output terminal of the UART serial port of the external communication unit's processor. The control logic circuit includes a transistor driving circuit and a first MOSFET switching circuit. The on / off control terminal of the transistor driving circuit is connected to the second end of the pull-up resistor, and the output terminal of the transistor driving circuit is connected to the on / off control terminal of the first MOSFET switching circuit. The reset signal generation circuit includes a charging capacitor and a second MOSFET switching circuit. The output terminal of the first MOSFET switching circuit is connected to the first end of the charging capacitor and the on / off control terminal of the second MOSFET switching circuit, respectively. The second end of the charging capacitor is connected to ground, and the output terminal of the second MOSFET switching circuit is connected to the reset terminal of the concentrator communication module's processor.
[0006] Secondly, this application provides a concentrator system, including a concentrator intelligent fusion terminal and an external communication circuit; the concentrator intelligent fusion terminal includes a main processor and a concentrator communication module, the main processor is communicatively connected to the processor of the concentrator communication module, and the processor of the external communication unit is communicatively connected to the processor of the concentrator communication module via a UART serial port; a processor reset circuit for the concentrator communication module based on serial port multiplexing as described in the first aspect of this application is also provided.
[0007] The beneficial technical effects of this application are as follows: A processor reset circuit for a concentrator communication module based on serial port multiplexing is provided. This circuit multiplexes the signal output terminal TX of the UART serial port of the external communication unit's processor as the reset control pin of the concentrator communication module's processor. The external communication unit's processor does not need to use a separate I / O pin for control, saving pin resources. Furthermore, addressing the problem of communication distance and significant communication interference between the processor of the concentrator communication module and the processor of the external communication unit in the concentrator terminal, this application sets up an input circuit with a potential pull-up function to ensure the stability of the high-level output of the signal output terminal TX of the external communication unit's processor's UART serial port. In the control logic circuit, a transistor driver circuit is set to enhance the driving capability of the signal output terminal TX of the external communication unit's processor's UART serial port and realize signal level switching. The level conversion is achieved through a first MOS transistor switching circuit to adapt to the level requirements of the concentrator terminal side, thereby realizing stable reset control of the processor of the concentrator communication module and improving reliability. Attached Figure Description
[0008] Figure 1 This is a schematic diagram of the processor reset circuit of the concentrator communication module based on serial port multiplexing in a preferred embodiment of this utility model. Figure 2 This is a hardware block diagram of a concentrator system in a preferred embodiment. Detailed Implementation
[0009] The embodiments of this utility model are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this utility model, and should not be construed as limiting this utility model.
[0010] In the description of this utility model, it should be understood that the terms "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this utility model and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this utility model.
[0011] In the description of this utility model, unless otherwise specified and limited, it should be noted that the terms "installation", "connection" and "linking" should be interpreted broadly. For example, they can refer to mechanical or electrical connections, or internal connections between two components. They can be direct connections or indirect connections through an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms according to the specific circumstances.
[0012] This utility model provides a reset circuit for a concentrator communication module based on serial port multiplexing, used in scenarios where the processor of an external communication unit and the processor of the concentrator communication module communicate via a UART serial port connection. In a preferred embodiment, please see... Figure 1 As shown, the concentrator communication module reset circuit includes an input circuit, a control logic circuit, and a reset signal generation circuit. UART serial port stands for Universal Asynchronous Receiver / Transmitter, a type of serial communication interface.
[0013] Please see Figure 1The input circuit includes a pull-up resistor R2. The first end of the pull-up resistor R2 is connected to the first power supply terminal. The second end of the pull-up resistor R2 is connected to the signal input terminal RX of the UART serial port of the processor MCU2 of the concentrator communication module, and is used to receive the signal output from the signal output terminal TX of the UART serial port of the processor MCU1 of the external communication unit. The resistance value of the pull-up resistor R2 is in the range of 1KΩ to 10KΩ, preferably 2KΩ. The first power supply terminal is a power supply voltage adapted to the processor MCU1 of the external communication unit and the processor MCU2 of the concentrator communication module, preferably 3.3V. MCU stands for microprocessor. The output signal from the second end of the pull-up resistor R2 is synchronously transmitted to the signal input terminal RX of the UART serial port of the processor MCU2 of the concentrator communication module and subsequent control logic circuitry.
[0014] In this embodiment, the UART serial communication signal is active low. Due to the physical distance between the concentrator communication module and the external communication unit, and the significant environmental interference, the high-level signal from the UART serial port may decrease in level when it reaches the UART serial port input terminal RX of the concentrator communication module's processor MCU2, causing abnormal high-level recognition on the processor MCU2 side. Therefore, by setting up an input circuit and utilizing the pull-up resistor R2, the high-level signal remains high when it reaches the UART serial port input terminal RX of the concentrator communication module's processor MCU2, improving communication and control stability.
[0015] Please see Figure 1 The control logic circuit includes a transistor driving circuit and a first MOSFET switching circuit. The on / off control terminal of the transistor driving circuit is connected to the second terminal of the pull-up resistor R2, and the output terminal of the transistor driving circuit is connected to the on / off control terminal of the first MOSFET switching circuit.
[0016] In this embodiment, preferably, please see Figure 1 The transistor drive circuit includes a transistor T1 and a third resistor R3. The emitter of transistor T1 is connected to the second end of the pull-up resistor R2, the base of transistor T1 is connected to the first end of the third resistor R3, the second end of the third resistor R3 is connected to the first power supply terminal, and the collector of transistor T1 is connected to the on / off control terminal of the first MOSFET switching circuit, which is used to control the on or off of the first MOSFET switching circuit.
[0017] In this embodiment, preferably, the first MOSFET switching circuit includes a voltage divider circuit and a switching circuit; the voltage divider circuit includes a fourth resistor R4 and a sixth resistor R6, the first end of the fourth resistor R4 is connected to the second power supply terminal, the second end of the fourth resistor R4 is connected to the first end of the sixth resistor R6, and the second end of the sixth resistor R6 is connected to ground; the switching circuit includes a first MOSFET Q1, a seventh resistor R7 and an eighth resistor R8, the first end of the seventh resistor R7 is connected to the second power supply terminal, the second end of the seventh resistor R7 is connected to the drain of the first MOSFET Q1 and the first end of the eighth resistor R8, the source of the first MOSFET Q1 and the second end of the eighth resistor R8 are both connected to ground, and the gate of the first MOSFET Q1 is connected to the first end of the sixth resistor R6.
[0018] In this embodiment, transistor T1 in the transistor drive circuit is an NPN transistor. The resistance value of the third resistor R3 is not limited to 5KΩ to 15KΩ, but is preferably 10KΩ. The resistance values of the fourth resistor R4 and the sixth resistor R6 can be set according to the conduction requirements of the first MOSFET Q1. For example, the resistance value of the fourth resistor R4 is in the range of 180KΩ to 320KΩ, preferably 200KΩ; the resistance value of the sixth resistor R6 is in the range of 50KΩ to 150KΩ, preferably 100KΩ. The resistance value of the seventh resistor R7 is not limited to 1MΩ. The resistance value of the eighth resistor R8 is preferably 1MΩ. The first MOSFET Q1 is preferably an NMOS transistor, and the voltage of the second power supply terminal (VIN_12V) is not limited to 12V. The voltage of the second power supply terminal is determined according to the power supply voltage provided by the serial port connector CON1 on the concentrator communication module side, and generally, this voltage is 12V. Therefore, the transistor driver circuit also has a level conversion function, converting the high-level, low-level serial port signal into a control signal that can control the on / off state of the first MOSFET switching circuit. The TX and RX pins of the serial port connector CON1 are connected to the corresponding TX and RX pins of the UART serial port of the processor MCU2 of the concentrator communication module.
[0019] Please see Figure 1 The reset signal generation circuit includes a charging capacitor C1 and a second MOSFET switching circuit. The output terminal of the first MOSFET switching circuit is connected to the first terminal of the charging capacitor C1 and the on / off control terminal of the second MOSFET switching circuit, respectively. The second terminal of the charging capacitor C1 is connected to ground. The output terminal of the second MOSFET switching circuit is connected to the reset terminal RST of the processor MCU2 of the concentrator communication module.
[0020] Please see Figure 1The second MOSFET switching circuit includes a second MOSFET Q2 and a ninth resistor R9. The first end of the ninth resistor R9 is connected to the reset terminal RST of the processor MCU2 of the concentrator communication module. The second end of the ninth resistor R9 is connected to the drain of the second MOSFET Q2. The source of the second MOSFET Q2 is connected to ground. The gate of the second MOSFET Q2 is connected to the first end of the charging capacitor C1.
[0021] In this embodiment, the second MOSFET Q2 is an NMOS transistor. The value of the charging capacitor C1 can be determined based on the gate-source turn-on voltage Vgs of the second MOSFET Q2 and the duration of the reset signal at the RST pin of the processor MCU2 of the concentrator communication module; for example, 1uF can be selected. The value of the ninth resistor R9 can be selected as 0Ω, mainly used to protect the RST pin of the processor MCU2 of the concentrator communication module.
[0022] The reuse process of this utility model is described below: When the UART serial port signal output terminal TX of the external communication unit's processor MCU1 outputs a high-level signal, the emitter of transistor T1 is at a high level, and the base and emitter of transistor T1 are not conducting, resulting in an open-circuit state between the emitter and collector of transistor T1. The UART serial port signal input terminal RX of the concentrator communication module's processor MCU2 receives a high-level signal. The gate of the first MOSFET Q1 receives approximately 3V through a voltage divider circuit, turning on MOSFET Q1. At this time, the gate of the second MOSFET Q2 is pulled to ground, turning off MOSFET Q2. The reset terminal RST of the concentrator communication module's processor MCU2 does not receive a low-level signal. Since the reset terminal RST of the concentrator communication module's processor MCU2 is active low and requires a low level to persist for a preset time, such as 5ms, to trigger a reset, the concentrator communication module's processor MCU2 will not reset.
[0023] When the UART serial port signal output terminal TX of the external communication unit's processor MCU1 outputs a low-level signal, the emitter of transistor T1 is at a low level, and the base and emitter of transistor T1 are connected, making transistor T1 conduct. Simultaneously, the UART serial port signal input terminal RX of the concentrator communication module's processor MCU2 receives a low-level signal. The first end of the sixth resistor R6 in the voltage divider circuit is forcibly pulled low, causing the gate of the first MOSFET Q1 to be at a low level, and Q1 to be cut off. At this time, the gate of the second MOSFET Q2, through the voltage divider network composed of the seventh resistor R7 and the eighth resistor R8, will divide a high-level voltage to charge the charging capacitor C1. As charging progresses, the voltage at the first end of the charging capacitor C1 gradually rises to reach the gate voltage required for the second MOSFET Q2 to conduct, causing the second MOSFET Q2 to conduct, and the reset terminal RST of the concentrator communication module's processor MCU2 receives a low level.
[0024] The commonly used serial port low baud rate is 9600bps, which means that the serial port transmits 9600 bits of data per second. The time to transmit 1 bit is 1 / 9600 = 104us. In actual applications, the time for serial communication data to be 10 bits, or 1 byte, is 1.04ms. However, the normal reset time for MCU2 is generally greater than 5ms. Therefore, during normal serial communication, MCU2 will not be reset.
[0025] If the current operation is not a reset control and only normal serial communication is established, the duration of the low-level signal output at the TX terminal of the UART serial port of the external communication unit's processor MCU1 will not reach the low-level duration required for MCU2's reset (e.g., 5ms), and therefore will not trigger a MCU2 reset. If the current operation is a reset control, the duration of the low-level signal output at the TX terminal of the UART serial port of the external communication unit's processor MCU1 should be greater than the low-level duration required for MCU2's reset (e.g., 5ms). When the TX terminal of the UART serial port of the external communication unit's processor MCU1 outputs a high-level signal, according to the above analysis, since the first MOSFET Q1 is turned on, a discharge circuit for the charging capacitor C1 is formed. When the discharge voltage of capacitor C1 is lower than the gate-source voltage Vgs of the second MOSFET Q2, the second MOSFET Q2 will be turned off, and the reset signal will not be output.
[0026] In a preferred embodiment, please see Figure 1The input circuit also includes a first resistor R1 positioned before the pull-up resistor R2. The first end of the first resistor R1 receives the output signal from the UART serial port of the processor MCU1 of the external communication unit. The second end of the first resistor R1 is connected to the second end of the pull-up resistor R2, the signal input terminal RX of the UART serial port of the processor NCU2 of the concentrator communication module, and the on / off control terminal of the transistor driver circuit. The on / off control terminal of the transistor driver circuit is the emitter of transistor T1.
[0027] In this embodiment, the resistance value of the first resistor R1 is not limited to 1KΩ, and it is used to protect the subsequent circuit and prevent damage to the subsequent circuit from static electricity, surges, etc.
[0028] In a preferred embodiment, in order to better regulate the gate voltage of the first MOSFET Q1 and protect the first MOSFET Q1, please see... Figure 1 The first MOSFET switching circuit also includes a fifth resistor R5 connected in series between the fourth resistor R4 and the sixth resistor R6. The collector of the transistor is connected to the second terminal of the fourth resistor R4 and the first terminal of the fifth resistor R5, respectively. The second terminal of the fifth resistor R5 is connected to the first terminal of the sixth resistor R6. The resistance value of the fifth resistor R5 is preferably 100KΩ.
[0029] This utility model also discloses a concentrator system, please see Figure 2 In a preferred embodiment, the concentrator system includes a concentrator intelligent fusion terminal and an external communication circuit; the concentrator intelligent fusion terminal includes a main processor and a concentrator communication module, the main processor is communicatively connected to the processor of the concentrator communication module, and the processor of the external communication unit is communicatively connected to the processor of the concentrator communication module via a UART serial port; a concentrator communication module reset circuit based on serial port multiplexing is also provided.
[0030] In the description of this specification, the references to terms such as "an embodiment," "some embodiments," "example," "specific example," "a implementation," "a preferred implementation," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0031] Although embodiments of the present invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the present invention, the scope of which is defined by the claims and their equivalents.
Claims
1. A reset circuit for concentrator communication module based on serial port multiplexing, the processor of external communication unit and the processor of concentrator communication module are connected by UART serial port for communication, characterized in that, Includes input circuitry, control logic circuitry, and reset signal generation circuitry; The input circuit includes a pull-up resistor, the first end of which is connected to the first power supply terminal; the second end of which is connected to the signal input terminal of the UART serial port of the processor of the concentrator communication module, and is used to receive the output signal of the signal output terminal of the UART serial port of the processor of the external communication unit. The control logic circuit includes a transistor driving circuit and a first MOSFET switching circuit. The on / off control terminal of the transistor driving circuit is connected to the second terminal of the pull-up resistor, and the output terminal of the transistor driving circuit is connected to the on / off control terminal of the first MOSFET switching circuit. The reset signal generation circuit includes a charging capacitor and a second MOSFET switching circuit. The output terminal of the first MOSFET switching circuit is connected to the first terminal of the charging capacitor and the on / off control terminal of the second MOSFET switching circuit, respectively. The second terminal of the charging capacitor is connected to ground. The output terminal of the second MOSFET switching circuit is connected to the reset terminal of the processor of the concentrator communication module.
2. The concentrator communication module reset circuit based on serial port multiplexing of claim 1, wherein, The input circuit also includes a first resistor placed before the pull-up resistor. The first end of the first resistor is used to receive the output signal from the UART serial port of the processor of the external communication unit. The second end of the first resistor is connected to the second end of the pull-up resistor, the signal input terminal of the UART serial port of the processor of the concentrator communication module, and the on / off control terminal of the transistor driver circuit.
3. The concentrator communication module reset circuit based on serial port multiplexing of claim 1 or 2, wherein, The transistor drive circuit includes a transistor and a third resistor. The emitter of the transistor is connected to the second end of the pull-up resistor, the base of the transistor is connected to the first end of the third resistor, the second end of the third resistor is connected to the first power supply terminal, and the collector of the transistor is connected to the on / off control terminal of the first MOSFET switching circuit.
4. The concentrator communication module reset circuit based on serial port multiplexing of claim 3, wherein, The first MOSFET switching circuit includes a voltage divider circuit and a switching circuit; The voltage divider circuit includes a fourth resistor and a sixth resistor. The first end of the fourth resistor is connected to the second power supply terminal, and the second end of the fourth resistor is connected to the first end of the sixth resistor. The second end of the sixth resistor is connected to ground. The switching circuit includes a first MOSFET, a seventh resistor, and an eighth resistor. The first end of the seventh resistor is connected to the second power supply terminal, and the second end of the seventh resistor is connected to the drain of the first MOSFET and the first end of the eighth resistor, respectively. The source of the first MOSFET and the second end of the eighth resistor are both connected to ground, and the gate of the first MOSFET is connected to the first end of the sixth resistor.
5. The concentrator communication module reset circuit based on serial port multiplexing of claim 4, wherein, The first MOSFET switching circuit also includes a fifth resistor connected in series between the fourth and sixth resistors.
6. The concentrator communication module reset circuit based on serial port multiplexing of claim 1 or 2 or 4 or 5, wherein, The second MOSFET switching circuit includes a second MOSFET and a ninth resistor. The first end of the ninth resistor is connected to the reset terminal of the processor of the concentrator communication module, the second end of the ninth resistor is connected to the drain of the second MOSFET, the source of the second MOSFET is connected to ground, and the gate of the second MOSFET is connected to the first end of the charging capacitor.
7. A concentrator system characterized in that, Includes concentrator intelligent fusion terminal and external communication circuit; The concentrator intelligent fusion terminal includes a main processor and a concentrator communication module. The main processor is connected to the processor of the concentrator communication module, and the processor of the external communication unit is connected to the processor of the concentrator communication module via a UART serial port. The concentrator communication module reset circuit based on serial port multiplexing in any one of claims 1-6 is further provided.
Citation Information
Patent Citations
Reset device and method for time division multiplexing and terminal
CN109844685A
