Electric energy meter and compatible interface circuit, signal conversion circuit and meter reading device thereof
By designing compatible interface circuits and signal conversion circuits, switching and optocoupling circuits are used to realize multi-terminal compatibility combination and function switching of the power meter, solving the problem of high wiring complexity of the power meter, improving production efficiency and simplifying the design.
Patent Information
- Application Number
- CN202410860170.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-06-28
AI Technical Summary
During the production stage, the power meter has a high test wiring error rate due to the complicated wiring of multiple terminals, which reduces the production efficiency. How to combine multiple terminals compatiblely and realize function switching to reduce the number of terminals and wiring complexity has become an urgent problem.
A compatible interface circuit and signal conversion circuit are designed. Through the matching of compatible interface circuits and signal conversion circuits, the switching and optocoupling circuits are used to realize the conversion of pulse signals and communication signals. The pulse and clock calibration are only required for one wiring port. Adjustment function reduces the number of terminals and wiring complexity.
The compatible combination of multiple terminals is realized, which reduces wiring complexity, improves production efficiency, simplifies the design and use of power meters, and reduces the need to configure pulses, clocks, and communication interfaces separately.
Smart Images

Figure CN118944655A_ABST
Abstract
Description
Technical Field
[0001] The present application is applicable to the field of power electronics technology, and in particular relates to an electric energy meter and its compatible interface circuit, signal conversion circuit, and meter reading device. Background Art
[0002] In the field of power electronics, electronic energy meter measuring devices usually have a variety of auxiliary terminals, such as pulse output terminals, clock output terminals, and RS485 communication terminals; these terminals need to be designed with independent interfaces and corresponding circuits in the energy meter. The metering pulse output terminal is used for metering pulse output and metering calibration, the clock output terminal is used for clock pulse output and calibration, and the RS485 communication terminal is used for external communication devices to communicate with the energy meter to read and set the data of the energy meter.
[0003] Based on the specific functions of these terminals, the electric energy meter needs to communicate or operate these specific functions through the corresponding terminals during the production stage. The production setting and calibration device of the electric energy meter need to connect multiple sets of terminal connecting wires. There are too many terminal connecting wires, the wiring is complicated, the error rate and unreliability of the trial wiring are increased, which directly reduces the production efficiency.
[0004] Therefore, how to combine multiple terminals compatibly and realize function switching to reduce the number of terminals and wiring complexity while ensuring the functions has become an urgent problem to be solved. Summary of the invention
[0005] In view of this, an embodiment of the present application provides an electric energy meter and its compatible interface circuit, signal conversion circuit, and meter reading device to solve the problem of how to compatibly combine multiple terminals and realize function switching to reduce the number of terminals and wiring complexity while ensuring functionality.
[0006] In a first aspect, an embodiment of the present application provides a compatible interface circuit of an electric energy meter, wherein the compatible interface circuit is applied to the electric energy meter, and comprises: a pulse port circuit, a communication port circuit, a first voltage source, and a first wiring port, wherein a first positive terminal of the first wiring port is used to connect to a second positive terminal of a second wiring port in a signal conversion circuit of a meter reading device, and a first negative terminal of the first wiring port is used to connect to a second negative terminal of the second wiring port;
[0007] A first switch is provided on the pulse port line, a control end of the first switch is used to connect to a first pin of a control chip of the electric energy meter, an input end of the first switch is connected to the first positive terminal, and an output end of the first switch is connected to the first negative terminal;
[0008] A second switch is provided on the communication port line, the input end of the second switch is used to connect to the second pin of the control chip, the input end of the second switch is also connected to the first voltage source, the output end of the second switch is grounded, the input side of the control end of the second switch is connected to the first negative terminal, and the output side of the control end of the second switch is connected to the first positive terminal;
[0009] The signal conversion circuit is controlled to input current at the second positive terminal so that the level signal output from the second negative terminal follows the level of the pulse signal output from the first pin. When a low level signal is input for communication, the signal conversion circuit is controlled to input current at the second negative terminal so that a low level signal input is formed at the second pin. When a high level signal is input for communication, the signal conversion circuit is controlled not to input current at the second negative terminal so that a high level signal input is formed at the second pin.
[0010] In one embodiment, the compatible interface circuit further includes a second voltage source and a third voltage source;
[0011] The first switch is a first optocoupler switch, the input end of the first switch corresponds to the anode of the first photosensitive diode of the first optocoupler switch, the output end of the first switch corresponds to the cathode of the first photosensitive diode, the control end of the first switch corresponds to the anode and cathode of the first light-emitting diode of the first optocoupler switch, the anode of the first light-emitting diode is connected to the second voltage source through a first resistor, the cathode of the first light-emitting diode is connected to the input end of the optocoupler control switch, and the output end of the optocoupler control switch is grounded;
[0012] The third voltage source is connected to the control end of the optocoupler control switch through the second resistor and the third resistor. A circuit for connecting the first pin is arranged between the second resistor and the third resistor. When the first pin outputs a high-level signal, the optocoupler control switch is turned off. When the first pin outputs a low-level signal, the optocoupler control switch is turned on.
[0013] In one embodiment, the compatible interface circuit also includes an indicator light circuit, on which a second light-emitting diode and a fourth resistor are provided, the positive electrode of the second light-emitting diode is connected to the second voltage source through the fourth resistor, and the negative electrode of the second light-emitting diode is connected to the input end of the optocoupler control switch.
[0014] In one embodiment, the second switch is a second optocoupler switch, the input end of the second switch corresponds to the anode of the second photosensitive diode of the second optocoupler switch, the output end of the second switch corresponds to the cathode of the second photosensitive diode, the input of the control end of the second switch corresponds to the anode of the third light-emitting diode of the second optocoupler switch, and the output side of the control end of the second switch corresponds to the cathode of the third light-emitting diode;
[0015] The first voltage source is connected to the anode of the second photosensitive diode via a fifth resistor, and a circuit for connecting to the second pin is provided between the fifth resistor and the second photosensitive diode.
[0016] In one embodiment, controlling the signal conversion circuit to input current to the second positive terminal so that the level signal output by the second negative terminal follows the level of the pulse signal output by the first pin includes:
[0017] Controlling the signal conversion circuit to input current to the second positive terminal;
[0018] When the pulse signal output by the first pin is a low level signal, the first switch is turned on, the second negative terminal outputs current to drive the third switch connected to the second negative terminal to turn on, and a low level signal is formed at the input terminal of the third switch;
[0019] When the pulse signal output by the first pin is a high level signal, the first switch is turned off, so that the third switch is turned off and a high level signal is formed at the input end of the third switch, thereby achieving the following of the pulse signal output by the first pin.
[0020] In one embodiment, when a low level signal is input for communication, the signal conversion circuit is controlled to input current to the second negative terminal so that a low level signal is input at the second pin, and when a high level signal is input for communication, the signal conversion circuit is controlled not to input current to the second negative terminal so that a high level signal is input at the second pin, including:
[0021] When a low-level signal is input to the communication, the signal conversion circuit is controlled to input a current to the second negative terminal, and the current flows into the input of the control terminal of the second switch through the first negative terminal, and reaches the first positive terminal and the second positive terminal through the output side of the control terminal of the second switch, and then is grounded, so that the first switch is reversely cut off and the second switch is turned on, so as to drive the second pin to be grounded, so that a low-level signal is input at the second pin;
[0022] When a high-level signal is input for communication, the signal conversion circuit is controlled not to input current to the second negative terminal, so that the second switch is turned off, and the first voltage source forms an input of a high-level signal at the second pin.
[0023] In a second aspect, an embodiment of the present application provides a signal conversion circuit of an electric energy meter, the signal conversion circuit being applied to a meter reading device, comprising: a signal follower circuit, a signal control circuit, a fourth voltage source, a fifth voltage source, and a second wiring port, wherein a second positive terminal of the second wiring port is used to connect to a first positive terminal of a first wiring port in a compatible interface circuit of the electric energy meter, and a second negative terminal of the second wiring port is used to connect to a first negative terminal of the first wiring port;
[0024] The signal follower circuit is provided with a third switch, the control end of the third switch is connected to the second negative terminal, the input end of the third switch is connected to a fourth voltage source, the input end of the third switch is also provided with a signal output interface, the output end of the third switch is grounded, when the second negative terminal outputs current, the third switch is turned on, and a low level signal is formed on the signal output interface, when the second negative terminal does not output current, the third switch is turned off, and a high level signal is formed on the signal output interface;
[0025] A fourth switch is provided on the signal control circuit, the input end and the control end of the fourth switch are both connected to the fifth voltage source, the control end of the fourth switch is also connected to the signal input interface, the output end of the fourth switch is connected to the second negative terminal, the fifth voltage source is also connected to the second positive terminal through a resistor, and a grounding control circuit is also provided between the resistor and the second positive terminal. When the signal input interface is a high level signal, the fourth switch and the grounding control circuit are cut off, and the fifth voltage source provides current to the second positive terminal. When the signal output interface is a low level signal, the fourth switch and the grounding control circuit are turned on, and the fifth voltage source provides current to the second negative terminal.
[0026] In one embodiment, the grounding control circuit includes a fifth switch, a sixth switch and a seventh switch, the control end of the fifth switch is connected to the fifth voltage source, the input end of the fifth switch is connected to the fourth voltage source, and the output end of the fifth switch is respectively connected to the control end of the sixth switch, the output end of the sixth switch and the control end of the seventh switch;
[0027] The input end of the sixth switch is connected to the line between the control end of the third switch and the output end of the fourth switch, and the output end of the sixth switch is grounded;
[0028] An input end of the seventh switch is connected to a line between the fifth voltage source and the second positive terminal, and an output end of the seventh switch is grounded.
[0029] In a third aspect, an embodiment of the present application provides an electric energy meter, which includes a control chip and a compatible interface circuit as described in the first aspect and its improvement.
[0030] In a fourth aspect, an embodiment of the present application provides a meter reading device, which includes the signal conversion circuit as described in the second aspect and its improvement.
[0031] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the compatible interface circuit of the present application is matched with the signal conversion circuit for use, the compatible interface circuit is applied to the electric energy meter, and the signal conversion circuit is applied to the meter reading device. The compatible interface circuit and the signal conversion circuit are connected through the first positive terminal of the first wiring port and the second positive terminal of the second wiring port, and the first negative terminal of the first wiring port and the second negative terminal of the second wiring port. The signal conversion circuit is controlled to input current at the second positive terminal, so that the level signal outputted from the second negative terminal follows the level of the pulse signal outputted from the first pin. When a low-level signal is inputted to the communication, the signal conversion circuit is controlled to input current at the second negative terminal, so that a low-level signal is inputted at the second pin. When a high-level signal is inputted to the communication, the signal conversion circuit is controlled not to input current at the second negative terminal, so that a high-level signal is inputted at the second pin. The signal output is realized by relying on the first pin and the signal conversion circuit, and the data is written by relying on the signal conversion circuit and the second pin, so that the pulse and clock calibration adjustment functions can be completed. Only the matching of the first wiring port and the second wiring port is required, and there is no need to separately configure the pulse interface, the clock interface, and the communication interface, thereby reducing the number of terminals and the complexity of wiring. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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.
[0033] Figure 1 This is a schematic diagram of an application environment of an electric energy meter and a meter reading device provided in Embodiment 1 of the present application;
[0034] Figure 2 It is a structural schematic diagram of a compatible interface circuit of an electric energy meter provided in Embodiment 2 of the present application;
[0035] Figure 3This is a connection diagram of a compatible interface circuit of an electric energy meter provided in Embodiment 2 of the present application;
[0036] Figure 4 It is a structural schematic diagram of a signal conversion circuit of an electric energy meter provided in Embodiment 3 of the present application;
[0037] Figure 5 This is a connection diagram of a signal conversion circuit of an electric energy meter provided in Embodiment 3 of the present application;
[0038] Figure 6 This is a connection diagram of a compatible interface circuit and a signal conversion circuit provided in Embodiment 4 of the present application;
[0039] Among them, 1. pulse port circuit, 2. communication port circuit, 3. first voltage source, 4. first wiring port, 5. control chip, 6. signal follower circuit, 7. signal control circuit, 8. fourth voltage source, 9. fifth voltage source, 10. second wiring port, 11. ground control circuit, 101. first switch, 201. second switch, 401. first positive terminal, 402. first negative terminal, 501. first pin, 502. second pin, 601. third switch, 701. fourth switch, 1001. second positive terminal, 1002. second negative terminal. DETAILED DESCRIPTION
[0040] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0041] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0042] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0043] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0044] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0045] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0046] It should be understood that the size of the serial numbers of the steps in the following embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0047] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.
[0048] like Figure 1 As shown, the first embodiment of the present application provides a schematic diagram of the application environment of an electric energy meter and a meter reading device. The electric energy meter is equipped with a compatible charging interface circuit. The compatible interface circuit is connected to the control chip in the electric energy meter through I / O (i.e., the pulse signal port and the communication signal port), so as to realize the output of signals and the input of signals in the control chip. The compatible interface circuit cooperates with the signal conversion circuit in the meter reading device to realize the communication between the meter reading device and the electric energy meter. The meter reading device can be equipped with corresponding computer functions. Of course, the meter reading device can also be connected to a corresponding PC or calibration station to realize the transmission and reception of electric energy meter signals.
[0049] See also Figure 2, is a structural schematic diagram of a compatible interface circuit of an electric energy meter provided in Example 2 of the present application, wherein the compatible interface circuit is applied to the electric energy meter, comprising: a pulse port line 1, a communication port line 2, a first voltage source 3 and a first wiring port 4, a first positive terminal 401 of the first wiring port 4 is used to connect to the second positive terminal 1001 of the second wiring port 10 in the signal conversion circuit of the meter reading device, and a first negative terminal 402 of the first wiring port 4 is used to connect to the second negative terminal 1002 of the second wiring port 10.
[0050] A first switch 101 is provided on the pulse port line 1, and the control end of the first switch 101 is used to connect to the first pin 501 of the control chip 5 of the electric energy meter, the input end of the first switch 101 is connected to the first positive terminal 401, and the output end of the first switch 101 is connected to the first negative terminal 402.
[0051] A second switch 201 is provided on the communication port line 2, and the input end of the second switch 201 is used to connect to the second pin 502 of the control chip 5. The input end of the second switch 201 is also connected to the first voltage source 3, and the output end of the second switch 201 is grounded. The input side of the control end of the second switch 201 is connected to the first negative terminal 402, and the output side of the control end of the second switch 201 is connected to the first positive terminal 401.
[0052] The control signal conversion circuit inputs current to the second positive terminal 1001, so that the level signal output by the second positive terminal 1002 follows the level of the pulse signal output by the first pin 501, that is, when the first pin 501 outputs a high level signal, the first switch 101 is turned on, so that the first positive terminal 401 and the first negative terminal 402 are connected, so that the second positive terminal 1002 outputs a corresponding current, and then the high level signal output can be realized through the corresponding circuit. When the first pin 501 outputs a low level signal, the first switch 101 is turned off, so that the first positive terminal 401 and the first negative terminal 402 are disconnected. Regardless of whether there is an input current at the second positive terminal 1001, there is no current output at the second positive terminal 1002, so that the low level signal output is realized in combination with the corresponding circuit. It should be known that since the second switch 201 has a corresponding line connecting the first positive terminal 401 and the first negative terminal 401, in the process of realizing the above function, a unidirectional conductive element can be set or a short circuit is adopted to prevent the current from entering the second switch 210.
[0053] When a low-level signal is input in the communication, the control signal conversion circuit inputs current to the second positive terminal 1002, so that a low-level signal is input at the second pin 502, that is, the high-level signal formed by the first voltage source 3 by default input at the second pin 502, and current is input to the second positive terminal 1002, enters the input of the control terminal of the second switch 201 through the first negative terminal 402, and enters the first positive terminal 401 through the output of the control terminal of the second switch 201, so that the second switch 201 is turned on, thereby pulling down the first voltage source 3, so that the input at the second pin 502 becomes a low-level signal.
[0054] When a high-level signal is input during communication, the control signal conversion circuit does not input current to the second positive terminal 1002, so that a high-level signal is input at the second pin 502, that is, the high-level signal input at the second pin 502 defaults to the high-level signal formed by the first voltage source 3, and no current is input to the second positive terminal 1002, so that the second switch 201 is cut off, and the first voltage source 3 cannot be pulled down, so that the input at the second pin 502 becomes a high-level signal.
[0055] like Figure 2 As shown, it is a connection diagram of a compatible interface circuit of an electric energy meter provided in the second embodiment of the present application, wherein Prot1 corresponds to the first wiring port 4, P+ corresponds to the first positive terminal 401, and P- corresponds to the first negative terminal 402.
[0056] In the connection relationship diagram of the compatible interface circuit, the first switch 101 is a first photoelectric coupling switch OP1, the input end of the first switch corresponds to the anode of the first photosensitive diode of the first photocoupler switch OP1, the output end of the first switch 101 corresponds to the cathode of the first photosensitive diode, and the control end of the first switch 101 corresponds to the anode and cathode of the first light-emitting diode of the first photocoupler switch OP1.
[0057] The compatible interface circuit also includes a second voltage source and a third voltage source, wherein the second voltage source is connected to the positive electrode of the first light-emitting diode in the first photoelectric coupling switch OP1 through the first resistor R1, the negative electrode of the first light-emitting diode is connected to the input end of the photocoupler control switch Q1, and the output end of the photocoupler control switch Q1 is grounded. The third voltage source is connected to the control end of the photocoupler control switch Q1 through the second resistor R2 and the third resistor R3, and a line (i.e., PUSLE_P) for connecting the first pin 501 is provided between the second resistor R2 and the third resistor R3.
[0058] When the first pin 501 outputs a high level signal, the optocoupler controls the switch Q1 to be turned off, and when the first pin 501 outputs a low level signal, the optocoupler controls the switch Q1 to be turned on.
[0059] like Figure 3As shown, the compatible interface circuit also includes an indicator light circuit, on which a second light-emitting diode D4 and a fourth resistor R4 are provided, the anode of the second light-emitting diode D4 is connected to the second voltage source through the fourth resistor R4, and the cathode of the second light-emitting diode D4 is connected to the input end of the optocoupler control switch Q1.
[0060] like Figure 3 As shown, the second switch 201 is a second optocoupler switch OP2, the input end of the second switch 201 corresponds to the anode of the second photosensitive diode of the second optocoupler switch OP2, the output end of the second switch 201 corresponds to the cathode of the second photosensitive diode, the input of the control end of the second switch 201 corresponds to the anode of the third light-emitting diode of the second optocoupler switch OP2, the output side of the control end of the second switch 201 corresponds to the cathode of the third light-emitting diode, the first voltage source 3 is connected to the anode of the second photosensitive diode through the fifth resistor R5, and a line (i.e., RS485_RXD) for connecting the second pin 502 is provided between the fifth resistor R5 and the second photosensitive diode.
[0061] In one embodiment, the control signal conversion circuit inputs current to the second positive terminal so that the level signal outputted from the second negative terminal follows the level of the pulse signal outputted from the first pin, including:
[0062] The control signal conversion circuit inputs current to the second positive terminal;
[0063] When the pulse signal output by the first pin is a low level signal, the first switch is turned on, the second negative terminal outputs current to drive the third switch connected to the second negative terminal to turn on, and a low level signal is formed at the input terminal of the third switch;
[0064] When the pulse signal output by the first pin is a high level signal, the first switch is turned off, so that the third switch is turned off and a high level signal is formed at the input end of the third switch, thereby achieving the following of the pulse signal output by the first pin.
[0065] In one embodiment, when a low-level signal is input to the communication input, the signal conversion circuit is controlled to input a current at the second negative terminal, so that a low-level signal is input at the second pin, and when a high-level signal is input to the communication input, the signal conversion circuit is controlled not to input a current at the second negative terminal, so that a high-level signal is input at the second pin, including:
[0066] When a low-level signal is input to the communication, the control signal conversion circuit inputs current to the second negative terminal, flows into the input of the control terminal of the second switch through the first negative terminal, and reaches the first positive terminal and the second positive terminal through the output side of the control terminal of the second switch, and then is grounded, so that the first switch is reversely cut off and the second switch is turned on, so as to drive the second pin to be grounded, so that a low-level signal input is formed at the second pin;
[0067] When a high level signal is input for communication, the signal conversion circuit is controlled not to input current to the second negative terminal, so that the second switch is turned off, and the first voltage source forms an input of a high level signal at the second pin.
[0068] See also Figure 4 , is a structural schematic diagram of a signal conversion circuit of an electric energy meter provided in Example 3 of the present application, the signal conversion circuit is applied to a meter reading device, wherein the signal conversion circuit includes: a signal follower circuit 6, a signal control circuit 7, a fourth voltage source 8, a fifth voltage source 9 and a second wiring port 10, the second positive terminal 1001 of the second wiring port is used to connect to the first positive terminal 401 of the first wiring port 4 in the compatible interface circuit of the electric energy meter, and the second negative terminal 1002 of the second wiring port 10 is used to connect to the first negative terminal 402 of the first wiring port 4.
[0069] A third switch 601 is provided on the signal follower circuit 6, the control end of the third switch 601 is connected to the second negative terminal 1002, the input end of the third switch 601 is connected to the fourth voltage source 8, and the input end of the third switch 601 is also provided with a signal output interface, the output end of the third switch 601 is grounded, when the second negative terminal 1002 outputs current, the third switch 601 is turned on, and a low-level signal is formed on the signal output interface, when the second negative terminal 1002 does not output current, the third switch 601 is turned off, and a high-level signal is formed on the signal output interface.
[0070] A fourth switch 701 is provided on the signal control circuit 7, and the input end and the control end of the fourth switch 701 are both connected to the fifth voltage source 9, the control end of the fourth switch 701 is also connected to the signal input interface, the output end of the fourth switch 701 is connected to the second negative terminal 1002, the fifth voltage source 9 is also connected to the second positive terminal 1001 through a resistor, and a grounding control circuit 11 is also provided between the resistor and the second positive terminal 1001. When the signal input interface is a high level signal, the fourth switch 701 and the grounding control circuit 11 are cut off, and the fifth voltage source 9 provides current to the second positive terminal 1001. When the signal output interface is a low level signal, the fourth switch 701 and the grounding control circuit 11 are turned on, and the fifth voltage source 9 provides current to the second negative terminal 1002.
[0071] like Figure 5As shown, it is a connection schematic diagram of a signal conversion circuit of an electric energy meter provided in Embodiment 3 of the present application, the third switch 601 is Q11, the fourth switch 701 is Q13, the grounding control circuit 11 includes a fifth switch Q10, a sixth switch Q12 and a seventh switch Q14, the control end of the fifth switch Q10 is connected to the fifth voltage source 9, the input end of the fifth switch Q10 is connected to the fourth voltage source 8, the output end of the fifth switch Q10 is respectively connected to the control end of the sixth switch Q12, the output end of the sixth switch Q12 and the control end of the seventh switch Q14, the input end of the sixth switch Q12 is connected to the line between the control end of the third switch 601 and the output end of the fourth switch 701, the output end of the sixth switch Q12 is grounded, the input end of the seventh switch Q14 is connected to the line between the fifth voltage source 9 and the second positive terminal 1001, and the output end of the seventh switch Q14 is grounded.
[0072] like Figure 6 FIG. 1 is a schematic diagram showing a connection between a compatible interface circuit and a signal conversion circuit provided in Embodiment 4 of the present application. The circuit is composed of Figure 6 It consists of two parts. The left part is the communication interface part of the electric energy meter. The PUSLE_P and RS485_RXD networks are connected to the communication I / O of the main control MCU, using TTL level communication. The right part is the signal conversion circuit. The TXD and RXD networks are connected to the communication port of the PC or the calibration station, using TTL level communication. Figure 6 The middle Port1 and Port2 are wiring ports. When wiring, terminal 1 should be connected to terminal 1, and terminal 2 should be connected to terminal 2. Do not connect them reversely.
[0073] By default, the energy meter PUSLE_P on the left side of the figure is used as the energy pulse output terminal. When PUSLE_P outputs a low-level pulse signal, the transistor Q1 is turned on, and then the light-emitting diode D4 and the 1-2 pins of the first optocoupler switch OP1 are turned on, and the 4-3 pins of the first optocoupler switch OP1 are also turned on; in the signal conversion circuit on the right side, TXD is normally set high, the transistors Q10, Q12, Q13, and Q14 are turned off, and the power supply Vex provides current through the resistor R20, the connection line between the 2 pins of the wiring port Port1 and Port2, and the first The connecting line from pin 4 to pin 3 of an optocoupler switch OP1, pin 1 of the wiring port Port1 and Port2, and resistor R18 drive transistor Q11 to conduct, and collector C of Q11 outputs a low-level pulse; when the level of PUSLE_P at the electric energy meter end is pulled high, transistor Q1 and the first optocoupler switch OP1 are both cut off and not conducting, Q11 is also cut off, and collector C is pulled up by resistor R11 to output a high level; the high and low level pulses output by PUSLE_P at the electric energy meter end are transmitted to the RXD receiving port of the measurement and calibration station for calibration and verification operations.
[0074] The metrology calibration station calculates the metrology calibration parameters according to the received metrology pulses, and needs to write them into the electric energy meter through RS485 communication for metrology parameter correction. The TXD port of the PC or the calibration station on the right side of the figure sends a low-level valid signal, and transistors Q10, Q12, Q13, and Q14 are turned on. The power supply Vex provides current through the EC pole of transistor Q13, the connecting wire between pin 1 of wiring port Port1 and Port2, resistor R6, pin 1-2 of the second optocoupler switch OP2, resistor R7, the connecting wire between pin 2 of wiring port Port1 and Port2, resistor R21, and the CE pole of transistor Q14 to ground. The 1-2 pins of the second optocoupler switch OP2 are turned on, and the 4-3 pins are also turned on, and RS485_RXD is pulled down to a low level; when the TXD port of the PC or calibration station on the right is pulled high, transistors Q10, Q12, Q13, and Q14 are turned off, and the second optocoupler switch OP2 is also turned off, and RS485_RXD is pulled up to a high level by resistor R5; the high and low level signals sent by the TXD port of the PC or calibration station are transmitted to the RS485_RXD receiving port of the energy meter MCU to write the measurement correction parameters. If the RS485_RXD receiving port of the energy meter MCU has completed the reception, it is necessary to reply to the calibration station with a confirmation command. The PUSLE_P port on the energy meter MCU firmware needs to be configured as a communication sending function, and a confirmation command is sent to the port. The signal transmission hardware mechanism is the same as the above-mentioned energy pulse output mechanism.
[0075] When the clock calibration of the energy meter is required, the PC or calibration station sends a control command through the signal conversion circuit on the right side of the figure to notify the energy meter to set the PUSLE_P port as the clock pulse output. The clock pulse is output to the calibration station for clock calibration parameter calculation, and the calibration parameters are then written into the energy meter MCU through the RS485 communication function. The hardware circuit mechanism of this process is similar to the above-mentioned measurement calibration of energy pulse output, so it will not be repeated here.
[0076] When other pulse output calibration is required, the PC or calibration station only needs to send a function switching command to the electric energy meter.
[0077] It should be known that transistor conduction means that after the base of the transistor increases the conduction voltage to be greater than 0.7V, the collector-emitter (CE) or emitter-collector (EC) presents a low voltage drop state. Calibration bench is a bench, device or equipment used for energy meter measurement calibration and clock calibration.
[0078] The electric energy meter is generally designed with communication or pulse output auxiliary terminals on the shell surface. The electric energy meter pulse port compatible with the communication port and clock port solution of this application needs to be designed into the electric energy meter as part of the electric energy meter communication port circuit. The signal conversion circuit part of this application is designed as a communication interface conversion tool, which can be connected to the communication terminal of the electric energy meter on one side and the TTL communication port of the PC or calibration station on the other side.
[0079] This application combines software, uses a single-chip microcomputer, resistors, optocouplers, transistors, etc., and combines output terminals that previously required multiple sets of independent communication and calibration into one terminal, which can be used for both functional verification output and communication interaction, achieving a simpler product auxiliary terminal design, improving production efficiency and reducing costs.
[0080] An embodiment of the present application provides an electric energy meter, which includes a control chip and the compatible interface circuit as described above.
[0081] An embodiment of the present application provides a meter reading device, which includes the signal conversion circuit as described above.
[0082] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A compatible interface circuit for an electric energy meter, characterized in that: The compatible interface circuit is applied to an electric energy meter, comprising: a pulse port circuit, a communication port circuit, a first voltage source and a first wiring port, wherein a first positive terminal of the first wiring port is used to connect to a second positive terminal of a second wiring port in a signal conversion circuit of a meter reading device, and a first negative terminal of the first wiring port is used to connect to a second negative terminal of the second wiring port; A first switch is provided on the pulse port line, a control end of the first switch is used to connect to a first pin of a control chip of the electric energy meter, an input end of the first switch is connected to the first positive terminal, and an output end of the first switch is connected to the first negative terminal; A second switch is provided on the communication port line, the input end of the second switch is used to connect to the second pin of the control chip, the input end of the second switch is also connected to the first voltage source, the output end of the second switch is grounded, the input side of the control end of the second switch is connected to the first negative terminal, and the output side of the control end of the second switch is connected to the first positive terminal; The signal conversion circuit is controlled to input current at the second positive terminal so that the level signal output from the second negative terminal follows the level of the pulse signal output from the first pin. When a low level signal is input for communication, the signal conversion circuit is controlled to input current at the second negative terminal so that a low level signal input is formed at the second pin. When a high level signal is input for communication, the signal conversion circuit is controlled not to input current at the second negative terminal so that a high level signal input is formed at the second pin.
2. The compatible interface circuit according to claim 1, characterized in that: The compatible interface circuit also includes a second voltage source and a third voltage source; The first switch is a first optocoupler switch, the input end of the first switch corresponds to the anode of the first photosensitive diode of the first optocoupler switch, the output end of the first switch corresponds to the cathode of the first photosensitive diode, the control end of the first switch corresponds to the anode and cathode of the first light-emitting diode of the first optocoupler switch, the anode of the first light-emitting diode is connected to the second voltage source through a first resistor, the cathode of the first light-emitting diode is connected to the input end of the optocoupler control switch, and the output end of the optocoupler control switch is grounded; The third voltage source is connected to the control end of the optocoupler control switch through the second resistor and the third resistor. A circuit for connecting the first pin is arranged between the second resistor and the third resistor. When the first pin outputs a high-level signal, the optocoupler control switch is turned off. When the first pin outputs a low-level signal, the optocoupler control switch is turned on.
3. The compatible interface circuit according to claim 2, characterized in that: The compatible interface circuit also includes an indicator light circuit, on which a second light-emitting diode and a fourth resistor are provided, wherein the anode of the second light-emitting diode is connected to the second voltage source via the fourth resistor, and the cathode of the second light-emitting diode is connected to the input end of the optocoupler control switch.
4. The compatible interface circuit according to claim 1, characterized in that: The second switch is a second optocoupler switch, the input end of the second switch corresponds to the anode of the second photosensitive diode of the second optocoupler switch, the output end of the second switch corresponds to the cathode of the second photosensitive diode, the input of the control end of the second switch corresponds to the anode of the third light-emitting diode of the second optocoupler switch, and the output side of the control end of the second switch corresponds to the cathode of the third light-emitting diode; The first voltage source is connected to the anode of the second photosensitive diode via a fifth resistor, and a circuit for connecting to the second pin is provided between the fifth resistor and the second photosensitive diode.
5. The compatible interface circuit according to claim 1, characterized in that: The step of controlling the signal conversion circuit to input current to the second positive terminal so that the level signal output by the second negative terminal follows the level of the pulse signal output by the first pin includes: Controlling the signal conversion circuit to input current to the second positive terminal; When the pulse signal output by the first pin is a low level signal, the first switch is turned on, the second negative terminal outputs current to drive the third switch connected to the second negative terminal to turn on, and a low level signal is formed at the input terminal of the third switch; When the pulse signal output by the first pin is a high level signal, the first switch is turned off, so that the third switch is turned off and a high level signal is formed at the input end of the third switch, thereby achieving the following of the pulse signal output by the first pin.
6. The compatible interface circuit according to claim 1, characterized in that: The controlling the signal conversion circuit to input current to the second negative terminal when a low-level signal is input for communication, so that a low-level signal is input at the second pin, and the controlling the signal conversion circuit not to input current to the second negative terminal when a high-level signal is input for communication, so that a high-level signal is input at the second pin, comprises: When a low-level signal is input to the communication, the signal conversion circuit is controlled to input a current to the second negative terminal, and the current flows into the input of the control terminal of the second switch through the first negative terminal, and reaches the first positive terminal and the second positive terminal through the output side of the control terminal of the second switch, and then is grounded, so that the first switch is reversely cut off and the second switch is turned on, so as to drive the second pin to be grounded, so that a low-level signal is input at the second pin; When a high-level signal is input for communication, the signal conversion circuit is controlled not to input current to the second negative terminal, so that the second switch is turned off, and the first voltage source forms an input of a high-level signal at the second pin.
7. A signal conversion circuit for an electric energy meter, characterized in that: The signal conversion circuit is applied to a meter reading device, comprising: a signal following circuit, a signal control circuit, a fourth voltage source, a fifth voltage source, and a second wiring port, wherein a second positive terminal of the second wiring port is used to connect to a first positive terminal of a first wiring port in a compatible interface circuit of an electric energy meter, and a second negative terminal of the second wiring port is used to connect to a first negative terminal of the first wiring port; The signal follower circuit is provided with a third switch, the control end of the third switch is connected to the second negative terminal, the input end of the third switch is connected to a fourth voltage source, the input end of the third switch is also provided with a signal output interface, the output end of the third switch is grounded, when the second negative terminal outputs current, the third switch is turned on, and a low level signal is formed on the signal output interface, when the second negative terminal does not output current, the third switch is turned off, and a high level signal is formed on the signal output interface; A fourth switch is provided on the signal control circuit, the input end and the control end of the fourth switch are both connected to the fifth voltage source, the control end of the fourth switch is also connected to the signal input interface, the output end of the fourth switch is connected to the second negative terminal, the fifth voltage source is also connected to the second positive terminal through a resistor, and a grounding control circuit is also provided between the resistor and the second positive terminal. When the signal input interface is a high level signal, the fourth switch and the grounding control circuit are cut off, and the fifth voltage source provides current to the second positive terminal. When the signal output interface is a low level signal, the fourth switch and the grounding control circuit are turned on, and the fifth voltage source provides current to the second negative terminal.
8. The signal conversion circuit according to claim 7, characterized in that: The grounding control circuit comprises a fifth switch, a sixth switch and a seventh switch, the control end of the fifth switch is connected to the fifth voltage source, the input end of the fifth switch is connected to the fourth voltage source, and the output end of the fifth switch is respectively connected to the control end of the sixth switch, the output end of the sixth switch and the control end of the seventh switch; The input end of the sixth switch is connected to the line between the control end of the third switch and the output end of the fourth switch, and the output end of the sixth switch is grounded; An input end of the seventh switch is connected to a line between the fifth voltage source and the second positive terminal, and an output end of the seventh switch is grounded.
9. An electric energy meter, characterized in that: The electric energy meter comprises a control chip and a compatible interface circuit as claimed in any one of claims 1 to 6.
10. A meter reading device, characterized in that: The meter reading device comprises the signal conversion circuit according to any one of claims 7 to 8.
Citation Information
Patent Citations
Non-polarity RS485 interface circuit conversion rate enhancement method and circuit
CN103716031A
An electric energy meter load switch detecting circuit
CN203337786U
Adaptive circuit compatible with multi-serial port protocol and communication equipment
CN216596246U
Multifunctional input and output port of electric energy meter
CN219891316U
Remote reading system with an check of the miss-connection
KR100799071B1
