Electric energy meter serial port multiplexing device
By designing a serial port multiplexing device in the power meter, using AC to DC circuit, step-down circuit and multiplexed hardware error-proof circuit, UART port multiplexing of multi-communication modules is realized, solving the problem of tight resources of microcontrollers and reducing power The design cost of the table and the difficulty of selecting microcontrollers.
Patent Information
- Application Number
- CN202411165557.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-29
AI Technical Summary
In the power meter, the existence of multiple communication function modules leads to shortage of resources of the microcontroller UART port, difficult to select and expensive.
Design a serial port multiplexing device of the power meter, including AC to DC circuit, step-down circuit, detection circuit, multiplexed hardware error-proof circuit, communication circuit and data interface circuit. By multiplexed hardware error-proof circuit and data interface circuit, it can realize 485. The UART ports of GRPS, infrared, PLC, MBUS and other modules are multiplexed and merged into one UART port.
It realizes that the same UART port runs different software function codes in different power grid scenarios, and does not intertwin each other, which reduces the hardware resource requirements of the UART port, simplifies the selection of microcontrollers, and reduces costs.
Smart Images

Figure CN119046196A_ABST
Abstract
Description
Technical Field
[0001] The invention specifically relates to a serial port multiplexing device for an electric energy meter. Background Art
[0002] At present, there are one or more modules such as 485, GRPS, infrared, PLC, MBUS, etc. in the electric energy meter to communicate with the single-chip microcomputer in the meter when the grid is powered on. At the same time, there is a power-off communication device to communicate with the single-chip microcomputer in the meter when the grid is powered off to read data such as power, demand, and events. According to conventional design, if the electric meter has multiple communication functions at the same time, the single-chip microcomputer in the meter needs a set of UART ports to be connected to each communication function circuit. This will cause the single-chip microcomputer UART port resources to be tight, and the single-chip microcomputer selection will be difficult or expensive. Summary of the invention
[0003] The present invention provides an electric energy meter serial port multiplexing device to solve the above-mentioned technical problems, and specifically adopts the following technical solutions:
[0004] A serial port multiplexing device for an electric energy meter, comprising: an AC to DC conversion circuit, a first step-down circuit, an AC detection circuit, a single-chip microcomputer circuit, a multiplexing hardware error prevention circuit, a communication circuit and a data interface circuit;
[0005] The AC power LN is connected to the AC-DC converter and the AC power detection circuit, the AC-DC converter is connected to the first step-down circuit, the first step-down circuit, the AC power detection circuit, the multiplexing hardware error prevention circuit and the data interface circuit are connected to the single-chip computer circuit, and the data interface circuit is also connected to the first step-down circuit;
[0006] The AC-to-DC circuit converts AC power into DC power, the first step-down circuit steps down the converted DC power and supplies power to the single-chip microcomputer circuit, the AC power detection circuit generates an AC power detection signal SAG and provides it to the single-chip microcomputer circuit, and the single-chip microcomputer circuit determines the connection status with the communication circuit and the data interface circuit based on the AC power detection signal SAG generated by the AC power detection circuit and the feedback from the data interface circuit.
[0007] Furthermore, the electric energy meter serial port multiplexing device further comprises an external communication device, and the external communication device comprises: a test module, a second step-down circuit, a step-up circuit and a communication terminal interface circuit;
[0008] The communication terminal interface circuit is operably connected to the data interface circuit;
[0009] The test module is powered by an external intelligent device, the second buck circuit and the boost circuit are connected to the test module, and the test module, the second buck circuit and the boost circuit are connected to the communication terminal interface circuit.
[0010] Furthermore, the electric energy meter serial port multiplexing device also includes an external communication device and also includes resistors R1, R11 and R12. The step-down circuit is connected to the communication end interface circuit through the resistor R1, the data sending pin TX of the test module is connected to the communication end interface circuit through the resistor R12, and the data receiving pin RX of the test module is connected to the communication end interface circuit through the resistor R11.
[0011] Further, the data interface circuit comprises an interface J1, ports 1 and 2 of the interface J1 are respectively connected to the transmitting pin TX and the receiving pin RX of the UART port of the single-chip circuit, port 3 of the interface J1 is connected to a 15V power supply, and port 4 of the interface J1 is grounded;
[0012] The communication terminal interface circuit comprises an interface J2, wherein port 1 of the interface J2 is connected to the second step-down circuit and the receiving pin RX of the test module through resistors R1 and R11 respectively, port 2 of the interface J2 is connected to the transmitting pin TX of the test module through resistor R12, and ports 3 and 4 of the interface J2 are connected to the boost circuit;
[0013] Ports 1, 2, 3, and 4 of interface J1 are connected to ports 1, 2, 3, and 4 of J2 respectively.
[0014] Furthermore, the second step-down circuit reduces the voltage to 3.3V output;
[0015] The boost circuit boosts the voltage to 15V output.
[0016] Further, the AC-DC circuit converts the AC power into 15V DC power;
[0017] The first step-down circuit steps down 15V to output VCC.
[0018] Further, the multiplexed hardware error prevention circuit comprises: resistor R2, resistor R6, resistor R7, resistor R8, resistor R9, resistor R10, transistor Q1, transistor Q2, optical coupler U1 and optical coupler U2;
[0019] One end of the resistor R2 is connected to VCC, and the other end is connected to the C pole of the optocoupler U1, the C pole of the optocoupler U1 is connected to the receiving pin RX of the UART port of the single-chip circuit, and the E pole of the optocoupler U1 is grounded;
[0020] One end of the resistor R6 is connected to VCC, and the other end is connected to the collector C of the transistor Q1;
[0021] One end of the resistor R7 is connected to VCC, and the other end is connected to the collector C of the transistor Q2;
[0022] One end of the resistor R9 is connected to the resistor R7 and is also connected to the collector C of the transistor Q2, and the other end is connected to the base B of the transistor Q1;
[0023] The emitter E of the transistor Q1 is connected to the A pole of the optocoupler U2, the K pole of the optocoupler U2 is connected to the emitter E of the transistor Q2 and one end of the resistor R8 and is grounded, and the other end of the resistor R8 is connected to the sending pin TX of the UART port of the microcontroller circuit, the sending pin TX of the UART port of the microcontroller circuit is connected to one end of the resistor R10, and the other end of the resistor R10 is connected to the base B of the transistor Q2.
[0024] Furthermore, the multiplexing hardware error prevention circuit also includes a capacitor C1.
[0025] One end of the capacitor C1 is connected to the receiving pin RX of the UART port of the single-chip circuit, and the other end is grounded.
[0026] Furthermore, the AC detection circuit includes resistors R4 and R5, the resistors R4 and R5 are connected in series, both ends of which are respectively connected to the AC power LN, and the midpoint of the resistors R4 and R5 is connected to the single chip circuit.
[0027] Furthermore, the communication circuit is one of a 485 communication circuit, a GRPS communication circuit, an infrared communication circuit, a PLC communication circuit and an MBUS communication circuit.
[0028] The benefit of the present invention lies in that the serial port multiplexing device for an electric energy meter provided multiplexes the external test circuit with the UART port of one of the circuits in the internal 485, GRPS, infrared, PLC, MBUS and other modules, and merges the two UART ports originally required by the single-chip microcomputer into one, so that the same UART port can run different software function codes in different power grid scenarios, and different codes do not interfere with each other, so that the electric energy meter can reduce the number of UART port hardware resources required when realizing the same number of communication functions, thereby making the selection of the single-chip microcomputer easy and relatively cheap. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0030] Figure 1 It is a partial schematic diagram of a serial port multiplexing device for an electric energy meter of the present invention;
[0031] Figure 2 It is another partial schematic diagram of a serial port multiplexing device for an electric energy meter of the present invention;
[0032] Figure 3 The present invention discloses a working flow chart of a serial port multiplexing device for an electric energy meter. DETAILED DESCRIPTION
[0033] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0034] The present application discloses a serial port multiplexing device for an electric energy meter, comprising: an AC to DC conversion circuit, a first step-down circuit, an AC detection circuit, a single-chip microcomputer circuit, a multiplexing hardware error prevention circuit, a communication circuit and a data interface circuit.
[0035] Specifically, Figure 1 As shown, the AC power LN is connected to the AC-DC converter circuit and the AC power detection circuit, the AC-DC converter circuit is connected to the first step-down circuit, the first step-down circuit, the AC power detection circuit, the multiplexing hardware error prevention circuit and the data interface circuit are connected to the single-chip computer circuit, and the data interface circuit is also connected to the first step-down circuit.
[0036] After power is turned on, the AC-DC circuit converts AC power into DC power, and the first step-down circuit steps down the converted DC power to power the single-chip microcomputer circuit. In an embodiment of the present application, the AC-DC circuit converts AC power into 15V DC power. The first step-down circuit steps down 15V to VCC output. The single-chip microcomputer circuit starts working after obtaining the VCC power supply.
[0037] The AC detection circuit generates an AC detection signal SAG and provides it to the single-chip circuit. The communication circuit is used to connect the internal functional modules. In the implementation of the present application, the communication circuit is one of the 485 communication circuit, the GRPS communication circuit, the infrared communication circuit, the PLC communication circuit and the MBUS communication circuit to achieve the corresponding function. This application takes the 485 communication circuit as an example, referred to as the 485 circuit, and other communication modules are not described in detail.
[0038] The single chip microcomputer circuit determines the connection status with the communication circuit and the data interface circuit according to the alternating current detection signal SAG generated by the alternating current detection circuit and the feedback status of the data interface circuit.
[0039] In an embodiment of the present application, the data interface circuit includes an interface J1, ports 1 and 2 of the interface J1 are respectively connected to the transmit pin TX and the receive pin RX of the UART port of the microcontroller circuit, port 3 of the interface J1 is connected to a 15V power supply, and port 4 of the interface J1 is grounded.
[0040] The data interface circuit is used to connect to external communication equipment. Figure 2 As shown, the external communication device includes: a test module (MC171 communication device), a second buck circuit, a boost circuit and a communication end interface circuit. The communication end interface circuit is operably connected to the data interface circuit. The test module is powered by an external intelligent device. The test module contains a communication chip. The second buck circuit and the boost circuit are connected to the test module, and the test module, the second buck circuit and the boost circuit are connected to the communication end interface circuit. In the embodiment of the present application, the electric energy meter serial port multiplexing device also includes an external communication device and also includes resistors R1, R11 and R12, the buck circuit is connected to the communication end interface circuit through the resistor R1, the data transmission pin TX of the test module is connected to the communication end interface circuit through the resistor R12, and the data receiving pin RX of the test module is connected to the communication end interface circuit through the resistor R11. The communication end interface circuit includes an interface J2, and port 1 of the interface J2 is connected to the second buck circuit and the receiving pin RX of the test module through resistors R1 and R11 respectively, and port 2 of the interface J2 is connected to the sending pin TX of the test module through the resistor R12, and ports 3 and 4 of the interface J2 are connected to the boost circuit. Ports 1, 2, 3, and 4 of interface J1 are respectively connected to ports 1, 2, 3, and 4 of interface J2. In the embodiment of the present application, the second step-down circuit steps down the voltage to 3.3V for output. The step-up circuit steps up the voltage to 15V for output.
[0041] Smart devices, such as computers or handheld terminals, are connected to the test module through a USB data interface. The USB data line is connected to the internal communication chip of the test module and provides a 5V power supply. The test module is connected to the second step-down circuit to convert the 5V power provided by the USB into a 3.3V power supply. When interfaces J1 and J2 are connected, the data receiving pin RX of the test module receives data information from the electric energy meter. The 3.3V power output by the second step-down circuit will pull the transmission pin TX of the microcontroller circuit at the meter end to a high level. The data transmission pin TX of the test module sends the data from the computer or handheld terminal to the electric energy meter through resistor R12 and completes the communication. "The test module outputs a 15V voltage from the 5V power provided by the USB data line through a boost circuit. After the two interfaces are connected, the 15V voltage can provide a 15V power supply for the electric energy meter, enabling the electric energy meter to complete the communication function with the external MC171 communication device when the power grid is powered off.
[0042] In the implementation of the present application, the multiplexing hardware error prevention circuit includes: resistor R2, resistor R6, resistor R7, resistor R8, resistor R9, resistor R10, capacitor C1, transistor Q1, transistor Q2, optocoupler U1 and optocoupler U2. Specifically, one end of resistor R2 is connected to VCC, and the other end is connected to the C pole of optocoupler U1, the C pole of optocoupler U1 is connected to the receiving pin RX of the UART port of the single-chip circuit, and the E pole of optocoupler U1 is grounded. One end of capacitor C1 is connected to the receiving pin RX of the UART port of the single-chip circuit, and the other end is grounded. Capacitor C1 plays a filtering role. One end of resistor R6 is connected to VCC, and the other end is connected to the collector C of transistor Q1, pulling the collector C of transistor Q1 to a high level. One end of resistor R7 is connected to VCC, and the other end is connected to the collector C of transistor Q2. One end of resistor R9 is connected to resistor R7 and connected to the collector C of transistor Q2 at the same time, and the other end is connected to the base B of transistor Q1. The emitter E of transistor Q1 is connected to the A pole of optocoupler U2, the K pole of optocoupler U2 is connected to the emitter E of transistor Q2 and one end of resistor R8 and grounded, and the other end of resistor R8 is connected to the sending pin TX of the UART port of the single-chip circuit, which is pulled down to the reference ground to prevent the RS485_TXD / MC171_TX network from having a floating virtual voltage, and plays a role in suppressing interference in the circuit. The sending pin TX of the UART port of the single-chip circuit is connected to one end of resistor R10, and the other end of resistor R10 is connected to the base B of transistor Q2. In an embodiment of the present application, the AC detection circuit includes resistors R4 and R5, and the two ends of resistor R4 and resistor R5 are connected in series and are respectively connected to the AC power LN, and the midpoint of resistor R4 and resistor R5 is connected to the single-chip circuit.
[0043] The following combination Figure 3 The operation logic of the serial port multiplexing device of the electric energy meter of the present application is explained.
[0044] Logic 1: The MCU VCC starts to work after power is supplied, and enters Logic 2 after the program is initialized;
[0045] VCC power supply can be obtained from two sources:
[0046] Approach 1: The AC power grid LN is powered on, 15V is output through the AC to DC circuit, and then VCC is output through the first step-down circuit.
[0047] Method 2: When the AC power grid LN loses power, 15V is obtained through an external communication device and then outputs VCC through the first step-down circuit.
[0048] Logic 2: Detect SAG signal
[0049] When the AC power grid LN is powered on, the hardware AC power detection circuit will detect the presence of an AC power signal and transmit it to the microcontroller. After the microcontroller receives the "yes" instruction, the program enters logic 3.
[0050] When the AC power grid LN loses power, the hardware AC power detection circuit will detect that there is no AC power signal and transmit it to the microcontroller. After receiving the "no" instruction, the microcontroller runs the next step of detection judgment logic 4.
[0051] Logic 3: The electric energy meter runs the power-on communication function and performs 485 communication at an appropriate time, while prohibiting the external MC171 communication function.
[0052] Logic 4: Detect TX level
[0053] Configure the UART port TX (network RS485_TXD / MC171_TX) as input state, and start to detect the high and low levels of the network. If the network RS485_TXD / MC171_TX is detected as high level, configure the UART port TX (network RS485_TXD / MC171_TX) as output state, and the port is used as the data sending pin for the communication between the microcontroller and the MC171 circuit, and the microcontroller program enters logic 5.
[0054] If the detection network RS485_TXD / MC171_TX is at a low level, the MCU program enters logic 6.
[0055] Logic 5: The energy meter runs the MC171 function when the grid is powered off, performs MC171 communication at the appropriate time and prohibits power-on communication functions such as 485.
[0056] Logic 6: The MCU enters the low power state, and the electric energy meter cannot perform any communication functions. After the MCU enters the low power state, it will be awakened at a certain interval of time t, and then proceed to Logic 7.
[0057] Logic 7: Wake-up times judgment
[0058] If the wake-up times ≥ n, the MCU enters logic 8 and stops working; if the wake-up times < n, the MCU enters logic 1.
[0059] Logic 8: The microcontroller ends its work.
[0060] Specifically, after the MCU circuit is powered and starts working, the MCU circuit detects the AC signal SAG and enters logic 3, and the energy meter can perform 485 communication function. When the circuit performs 485 communication, the UART port TX is configured to send data in output state, and the 485 communication circuit 485_RX network receives the data signal from the optocoupler U2 and returns the data through the optocoupler U1, thereby completing the communication data. The specific logic is as follows:
[0061] RS485_TXD / MC171_TX network is at low level, the base level of transistor Q2 in the error prevention circuit is low, transistor Q2 is not conducting, the base B level of transistor Q1 is high, the collector C level is high, Q1 is conducting, after Q1 is conducting, the potential of the A pole of the internal light-emitting diode of the optocoupler U2 is higher than the K pole, the optocoupler light-emitting diode is conducting, and the 485 communication circuit receiving pin 485_RX has data. Similarly, after the 485 communication circuit receives the data from the single-chip circuit, the sending pin 485_TX will output the level as low, the optocoupler U1 light-emitting diode is conducting, and the single-chip circuit UART port RX receiving pin can receive the signal fed back from the 485 communication circuit. The RS485_TXD / MC171_TX network is at a high level, the base level of transistor Q2 in the error prevention circuit is high, transistor Q2 is turned on, the base B level of transistor Q1 is pulled down by transistor Q2, and Q1 is not turned on. After Q1 is not turned on, there is no potential difference between the AK poles of the internal light-emitting diodes of the optocoupler U2, the optocoupler light-emitting diode is not turned on, and there is no data at the receiving pin 485_RX of the 485 communication circuit. The sending pin 485_TX of the 485 communication circuit outputs the level as high, the light-emitting diode of the optocoupler U1 is not turned on, and there is no signal fed back from the 485 communication circuit at the RX receiving pin of the UART port of the microcontroller circuit.
[0062] After the MCU circuit is powered and starts working, the MCU circuit does not detect the AC signal SAG and enters logic 4. The MCU circuit configures the UART port TX as an input state to detect the RS485_TXD / MC171_TX network level state. At this time, the RS485_TXD / MC171_TX network level depends on the level of the external input signal.
[0063] 1) Interfaces J1 and J2 are connected, and the RS485_TXD / MC171_TX network of the internal UART port of the energy meter is pulled up to the power supply 3.3V provided by the second step-down circuit because the resistor R1 in the external communication device is pulled up. Therefore, the RS485_TXD / MC171_TX network level is high. The software logic enters logic 5 according to the judgment, and the MC171 communication function can be operated in the power-off state of the power grid.
[0064] 2) Interfaces J1 and J2 are not connected, and the RS485_TXD / MC171_TX network of the UART port inside the energy meter cannot be pulled up to the 3.3V power supply provided by the second step-down circuit through the resistor R1 in the external communication device. At the same time, due to the presence of transistor Q2, the RS485_TXD / MC171_TX network is isolated from the VCC power supply inside the energy meter, so the RS485_TXD / MC171_TX network cannot obtain a high level, and because the resistor R8 is pulled down to the reference ground GND, the RS485_TXD / MC171_TX network is detected as a low level, and the software logic enters logic 6 and subsequent logic states based on the judgment.
[0065] In summary, the present application enables the single-chip microcomputer in the electric energy meter to multiplex different functions on the same UART serial port and still accurately run their respective function codes without crosstalk. It effectively reduces the requirements for the number of single-chip microcomputer UART serial ports for different communication functions, and reduces the difficulty of single-chip microcomputer selection and product design costs during product design to a certain extent.
[0066] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the above embodiments do not limit the present invention in any form, and any technical solution obtained by equivalent replacement or equivalent transformation falls within the protection scope of the present invention.
Claims
1. A serial port multiplexing device for an electric energy meter, It is characterized in that It includes: AC to DC conversion circuit, first step-down circuit, AC detection circuit, single chip microcomputer circuit, multiplexing hardware error prevention circuit, communication circuit and data interface circuit; The AC power LN is connected to the AC-DC converter and the AC power detection circuit, the AC-DC converter is connected to the first step-down circuit, the first step-down circuit, the AC power detection circuit, the multiplexing hardware error prevention circuit and the data interface circuit are connected to the single-chip computer circuit, and the data interface circuit is also connected to the first step-down circuit; The AC-to-DC circuit converts AC power into DC power, the first step-down circuit steps down the converted DC power and supplies power to the single-chip microcomputer circuit, the AC power detection circuit generates an AC power detection signal SAG and provides it to the single-chip microcomputer circuit, and the single-chip microcomputer circuit determines the connection status with the communication circuit and the data interface circuit based on the AC power detection signal SAG generated by the AC power detection circuit and the feedback from the data interface circuit.
2. The electric energy meter serial port multiplexing device according to claim 1, It is characterized in that The electric energy meter serial port multiplexing device further comprises an external communication device, wherein the external communication device comprises: a test module, a second step-down circuit, a step-up circuit and a communication terminal interface circuit; The communication terminal interface circuit is operably connected to the data interface circuit; The test module is powered by an external intelligent device, the second buck circuit and the boost circuit are connected to the test module, and the test module, the second buck circuit and the boost circuit are connected to the communication terminal interface circuit.
3. The electric energy meter serial port multiplexing device according to claim 2, It is characterized in that The electric energy meter serial port multiplexing device also includes an external communication device and also includes resistors R1, R11 and R12. The step-down circuit is connected to the communication end interface circuit through the resistor R1, the data sending pin TX of the test module is connected to the communication end interface circuit through the resistor R12, and the data receiving pin RX of the test module is connected to the communication end interface circuit through the resistor R11.
4. The electric energy meter serial port multiplexing device according to claim 3, It is characterized in that The data interface circuit comprises an interface J1, ports 1 and 2 of the interface J1 are respectively connected to the transmitting pin TX and the receiving pin RX of the UART port of the single-chip circuit, port 3 of the interface J1 is connected to a 15V power supply, and port 4 of the interface J1 is grounded; The communication terminal interface circuit comprises an interface J2, wherein port 1 of the interface J2 is connected to the second step-down circuit and the receiving pin RX of the test module through resistors R1 and R11 respectively, port 2 of the interface J2 is connected to the transmitting pin TX of the test module through resistor R12, and ports 3 and 4 of the interface J2 are connected to the boost circuit; Ports 1, 2, 3, and 4 of interface J1 are connected to ports 1, 2, 3, and 4 of J2 respectively.
5. The electric energy meter serial port multiplexing device according to claim 2, It is characterized in that The second step-down circuit reduces the voltage to 3.3V output; The boost circuit boosts the voltage to 15V output.
6. The electric energy meter serial port multiplexing device according to claim 1, It is characterized in that The AC-DC circuit converts AC power into 15V DC power; The first step-down circuit steps down 15V to output VCC.
7. The electric energy meter serial port multiplexing device according to claim 1, It is characterized in that The multiplexed hardware error prevention circuit comprises: a resistor R2, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a transistor Q1, a transistor Q2, an optical coupler U1 and an optical coupler U2; One end of the resistor R2 is connected to VCC, and the other end is connected to the C pole of the optocoupler U1, the C pole of the optocoupler U1 is connected to the receiving pin RX of the UART port of the single-chip circuit, and the E pole of the optocoupler U1 is grounded; One end of the resistor R6 is connected to VCC, and the other end is connected to the collector C of the transistor Q1; One end of resistor R7 is connected to VCC, and the other end is connected to the collector C of transistor Q2; One end of the resistor R9 is connected to the resistor R7 and is also connected to the collector C of the transistor Q2, and the other end is connected to the base B of the transistor Q1; The emitter E of the transistor Q1 is connected to the A pole of the optocoupler U2, the K pole of the optocoupler U2 is connected to the emitter E of the transistor Q2 and one end of the resistor R8 and is grounded, and the other end of the resistor R8 is connected to the sending pin TX of the UART port of the microcontroller circuit, the sending pin TX of the UART port of the microcontroller circuit is connected to one end of the resistor R10, and the other end of the resistor R10 is connected to the base B of the transistor Q2.
8. The electric energy meter serial port multiplexing device according to claim 7, It is characterized in that The multiplexing hardware error prevention circuit further includes a capacitor C1. One end of the capacitor C1 is connected to the receiving pin RX of the UART port of the single-chip circuit, and the other end is grounded.
9. The electric energy meter serial port multiplexing device according to claim 1, It is characterized in that The AC detection circuit includes resistors R4 and R5. The resistors R4 and R5 are connected in series, and both ends thereof are connected to the AC power LN respectively. The midpoint of the resistors R4 and R5 is connected to the single chip circuit.
10. The electric energy meter serial port multiplexing device according to claim 1, It is characterized in that The communication circuit is one of a 485 communication circuit, a GRPS communication circuit, an infrared communication circuit, a PLC communication circuit and an MBUS communication circuit.
Citation Information
Cited By
Key communication multiplexing device of LED emergency power supply hardware expansion interface
CN121233512A
