Multifunctional single output circuit and electronic measuring instrument
By designing a multi-function single output circuit and switching the switch circuit status using the control signal, the electronic measuring instrument outputs multiple functional signals on a single port, solving the problem of poor versatility in the existing technology, and improving the versatility of the instrument and flexibility.
Patent Information
- Application Number
- CN202420513062.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2034-03-15
AI Technical Summary
The single port of the electronic measuring instrument can only output one functional signal, which makes it less versatile and cannot meet many different occasions and needs.
A multifunctional single output circuit is designed to change the state of the switching circuit through the control signal, so that the optocoupler can output different functional signals and realize diversified signals.
It realizes the output of multiple functional signals in a single port, improves the versatility and flexibility of electronic measuring instruments, and saves port resources and external devices.
Smart Images

Figure CN222514621U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power technology, and in particular to a multifunctional single-output circuit and an electronic measuring instrument. Background Art
[0002] Electronic measuring instruments are widely used in the power industry, mainly for realizing functions such as energy metering, power quality monitoring or power grid monitoring.
[0003] At present, in the related art, electronic measuring instruments are usually provided with different ports, and electronic measuring instruments can output signals of different functions through different ports, thereby realizing different functions. One port of an electronic measuring instrument can only output a signal of one function. For example, when the electronic measuring instrument needs to output a clock signal or a reactive pulse signal, two ports need to be set for output respectively. However, due to the size of the electronic measuring instrument and the limitation of the number of ports, the functions that can be realized by the electronic measuring instrument cannot meet a variety of different occasions and needs, resulting in poor versatility of the electronic measuring instrument. Utility Model Content
[0004] The present application provides a multifunctional single-output circuit and an electronic measuring instrument to solve the problem that one port of the electronic measuring instrument can only output a signal of one function, which leads to poor versatility of the electronic measuring instrument due to limitations on size and number of ports, thereby improving the versatility of the electronic measuring instrument.
[0005] In a first aspect, the present application provides a multifunctional single output circuit, which is applied to an electronic measuring instrument, wherein the multifunctional single output circuit comprises: a control port, a first functional input port, a second functional input port, a first switch circuit, a second switch circuit and an optical coupler;
[0006] The control port is electrically connected to the first input end of the first switch circuit, the second input end of the first switch circuit is electrically connected to the first functional input port, the input end of the second switch circuit is electrically connected to the second functional input port, the output end of the first switch circuit and the output end of the second switch circuit are both electrically connected to the input end of the optocoupler, the first functional input port is used to access a first functional signal, the second functional input port is used to access a second functional signal, and the output end of the optocoupler is used to output the first functional signal or the second functional signal;
[0007] The control port is used to access a control signal, wherein the control signal is used to cause the output end of the optocoupler to output the first functional signal when the first switch circuit is turned on and the second switch circuit is isolated, or to cause the output end of the optocoupler to output the second functional signal when the second switch circuit is turned on and the first switch circuit is isolated.
[0008] The single output circuit provided by the present application can change the state of the first switch circuit and the state of the second switch circuit by changing the state change of the control signal CTL according to actual functional requirements, and can output the first functional signal at the output end of the optocoupler when the first switch circuit is turned on and the second switch circuit is isolated, and output the second functional signal at the output end of the optocoupler when the second switch circuit is turned on and the first switch circuit is isolated. Thus, one of the signals between the first functional signal XH1 and the second functional signal XH2 can be selected to be input to the optocoupler, so that the optocoupler can output different functional signals, meet the diverse needs of the system, and increase the flexibility of the system. In the case of needing to output signals with multiple functions, the multiplexing of a single port can be realized, the port resources of the electronic measuring instrument can be saved, the occupation of external devices can be reduced, and the versatility of the electronic measuring instrument can be improved.
[0009] In one possible design, the first switch circuit includes a first resistor and a first transistor, and the second switch circuit includes a fifth resistor, a sixth resistor, a second transistor, and a third transistor;
[0010] The first end of the first resistor and the first end of the sixth resistor are both first input ends of the first switch circuit, the second end of the first resistor is electrically connected to the control end of the first transistor, the first end of the first transistor is electrically connected between the second input end of the first switch circuit and the output end of the first switch circuit, and the second end of the first transistor is grounded;
[0011] The first end of the second transistor is the input end of the second switch circuit, the second end of the second transistor is electrically connected to the output end of the second switch circuit, the control end of the second transistor is electrically connected to the first end of the fifth resistor, the second end of the fifth resistor is electrically connected to the first end of the third transistor, the second end of the third transistor is grounded, and the control end of the third transistor is electrically connected to the second end of the sixth resistor;
[0012] Wherein, when the control signal is a low-level signal, the first switch circuit is turned on and the second switch circuit is isolated; or, when the control signal is a high-level signal, the second switch circuit is turned on and the first switch circuit is isolated.
[0013] In one possible design, the first switch circuit further includes a second resistor;
[0014] The first end of the second resistor is the second input end of the first switch circuit, the second end of the second resistor is electrically connected to the output end of the first switch circuit, and the first end of the first transistor is electrically connected between the second end of the second resistor and the output end of the first switch circuit.
[0015] In one possible design, the first switch circuit further includes a third resistor;
[0016] The first end of the third resistor is electrically connected to the second input end of the first switch circuit, the second end of the third resistor is the output end of the first switch circuit, and the first end of the first transistor is electrically connected between the first end of the third resistor and the second input end of the first switch circuit.
[0017] In one possible design, the second switch circuit further includes a fourth resistor;
[0018] The first end of the fourth resistor is electrically connected to the second end of the second transistor, and the second end of the fourth resistor is the output end of the second switch circuit.
[0019] In one possible design, the first switch circuit includes a first resistor and a second resistor, and the second switch circuit includes a third resistor;
[0020] The first end of the first resistor is the second input end of the first switch circuit, the second end of the first resistor is electrically connected to the first end of the second resistor, the second end of the second resistor is the output end of the first switch circuit, and the second end of the first resistor and the first end of the second resistor are provided with a connection point, and the connection point is the first input end of the first switch circuit;
[0021] The first end of the third resistor is the input end of the second switch circuit, and the second end of the third resistor is the output end of the second switch circuit;
[0022] Wherein, when there is no input to the control port, the first switch circuit is turned on and the second switch circuit is isolated; or, when the control signal is a low level signal, the second switch circuit is turned on and the first switch circuit is isolated.
[0023] In a possible design, the first function signal and the second function signal are different types of signals provided by a metering chip in the electronic measuring instrument;
[0024] Alternatively, the first function signal and the second function signal are different types of signals provided by a microcontroller chip in the electronic measuring instrument;
[0025] Alternatively, the first function signal and the second function signal are signals provided by a metering chip and a microcontroller chip in the electronic measuring instrument, respectively.
[0026] In a possible design, the types of the optocoupler include: a photodiode optocoupler, a phototransistor optocoupler, a photocell optocoupler and a thyristor optocoupler.
[0027] In a second aspect, the present application provides an electronic measuring instrument, comprising: a multifunctional single output circuit as in the first aspect and any possible design of the first aspect.
[0028] In a possible design, the types of electronic measuring instruments include: digital display instruments, power meters and electric energy meters.
[0029] The beneficial effects provided in the above-mentioned second aspect and various possible designs of the above-mentioned second aspect can refer to the beneficial effects brought about by the above-mentioned first aspect and various possible implementation methods of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of the structure of an electronic measuring instrument provided in one embodiment of the present application.
[0031] Figure 2 A schematic diagram of the structure of a multifunctional single-output circuit provided in one embodiment of the present application.
[0032] Figure 3 A schematic diagram of a first switch circuit and a second switch circuit provided in an embodiment of the present application.
[0033] Figure 4 A schematic diagram of a first switch circuit and a second switch circuit provided in an embodiment of the present application.
[0034] Description of reference numerals:
[0035] 1——microcontroller chip; 2——metering chip; 3——single output circuit; 10——control port; 20——first function input port; 30——second function input port; 40——first switch circuit; 50——second switch circuit; 60——optical coupler; R1——first resistor; R2——second resistor; R3——third resistor; R4——fourth resistor; R5——fifth resistor; R6——sixth resistor; Q1——first transistor; Q2——second transistor; Q3——third transistor. DETAILED DESCRIPTION
[0036] In this application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c alone can represent: a, b, c, a and b, a and c, or a, b, and c, where a, b, and c can be single or multiple. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0037] The directions or positional relationships indicated by terms such as "center", "longitudinal", "lateral", "up", "down", "left", "right", "front", and "back" are based on the directions or positional relationships shown in the accompanying drawings and are only for the convenience of describing the present application and simplifying the description. They do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as a limitation on the present application.
[0038] The terms "connected" and "connected" should be understood in a broad sense. For example, the "connected" or "connected" of a circuit structure can refer to not only physical connection, but also electrical connection or signal connection. For example, it can be directly connected, that is, physically connected, or indirectly connected through at least one intermediate element, as long as the circuit is connected, or it can be the internal connection of two elements; signal connection can refer to signal connection through a circuit or through a media medium, such as radio waves. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0039] Illustratively, an embodiment of the present application provides an electronic measuring instrument.
[0040] See also Figure 1 , Figure 1 This is a schematic diagram of the structure of an electronic measuring instrument provided in one embodiment of the present application. Figure 1 As shown, the electronic measuring instrument may include: a microcontroller chip 1 , a metering chip 2 , and one or more single output circuits 3 . Figure 1 The example is given with the number of single output circuit 3 being 1.
[0041] Among them, the types of electronic measuring instruments may include digital display instruments, power meters and electric energy meters, etc.
[0042] The single output circuit 3 is electrically connected to the microcontroller chip 1 and the metering chip 2 respectively.
[0043] The microcontroller chip 1 can be used to provide different types of signals, such as control signals, clock signals, pulse width modulation (PWM) signals, pulse signals, analog signals and digital signals.
[0044] The microcontroller chip 1 may be an 8-bit microcontroller chip, a 32-bit microcontroller chip, a DSP microcontroller chip or an embedded Linux microcontroller chip, etc. For example, the model of the microcontroller chip 1 may be FM33LE026, PIC16F84A, ATmega328P or TMS320, etc., which is not limited in the present application.
[0045] Among them, the metering chip 2 is used to measure the voltage and current in the circuit, and calculate the active power and reactive power based on the measured voltage and current. The metering chip 2 can also convert the active power and reactive power into active pulse signals and reactive pulse signals for output.
[0046] In the embodiment of the present application, the metering chip 2 is used to provide reactive pulse signals, active pulse signals, etc.
[0047] The model of the metering chip 2 may be, for example, ADE7753, MCP39F521 or ADE7763, etc., which is not limited in the present application.
[0048] The single output circuit 3 is used to output different types of signals.
[0049] For example, when the microcontroller chip 1 provides a clock signal for the single output circuit 3 and the metering chip 2 provides a reactive pulse signal for the single output circuit 3, the single output circuit 3 can output a clock signal or a reactive pulse signal. When the single output circuit 3 outputs a clock signal, the electronic measuring instrument can be used for external detection of the clock signal. When the single output circuit 3 outputs a reactive pulse signal, the electronic measuring instrument can be used for external detection of the reactive pulse signal.
[0050] Based on this, a single output circuit 3 can output 2 different types of signals. Then, when the electronic measuring instrument includes N single output circuits 3, the electronic measuring instrument can output 2N different types of signals. Therefore, when the size and number of ports of the electronic measuring instrument are limited, the single output circuit 3 can increase the types of signals that the electronic measuring instrument can output, thereby improving the versatility of the electronic measuring instrument.
[0051] Next, combine Figure 2 , describes in detail the specific implementation method of the single output circuit 3 provided in the embodiment of the present application.
[0052] See also Figure 2 , Figure 2 This is a schematic diagram of a multifunctional single output circuit provided in one embodiment of the present application. Figure 2 As shown, the single output circuit 3 provided in the present application may include: a control port 10 , a first functional input port 20 , a second functional input port 30 , a first switch circuit 40 , a second switch circuit 50 and an optical coupler 60 .
[0053] Among them, the control port 10 is electrically connected to the first input end of the first switch circuit 40, the second input end of the first switch circuit 40 is electrically connected to the first functional input port 20, the input end of the second switch circuit 50 is electrically connected to the second functional input port 30, and the output end of the first switch circuit 40 and the output end of the second switch circuit 50 are both electrically connected to the input end of the optocoupler 60.
[0054] The optical coupler 60 further includes a ground terminal.
[0055] exist Figure 2 In the figure, the first input terminal of the first switch circuit 40 is denoted as 1, the second input terminal of the first switch circuit 40 is denoted as 2, and the output terminal of the first switch circuit 40 is denoted as 3. The input terminal of the second switch circuit 50 is denoted as 1, and the output terminal of the second switch circuit 50 is denoted as 2. The input terminal of the optocoupler 60 is denoted as 1, the ground terminal of the optocoupler 60 is denoted as 2, and the output terminals of the optocoupler 60 are denoted as 3 and 4, where 3 is the positive output terminal OUT+, and 4 is the negative output terminal OUT-.
[0056] The first function input port 20 is used to access the first function signal XH1, and the second function input port 30 is used to access the second function signal XH2.
[0057] The first function signal XH1 and the second function signal XH2 are different types of signals provided by a chip inside the electronic measuring instrument. The chip inside the electronic measuring instrument may be, for example, a metering chip, a microcontroller chip, or the like.
[0058] The first function signal XH1 and the second function signal XH2 may be, for example, a voltage signal, a current signal, an active pulse signal, or a reactive pulse signal.
[0059] The control port 10 is used to receive the control signal CTL.
[0060] The control signal CTL may be a low level signal or a high level signal, or the control port 10 may have no input, that is, the control port 10 has no control signal CTL input.
[0061] Among them, the control signal CTL is used to output the first functional signal XH1 at the output end of the optocoupler 60 when the first switch circuit 40 is turned on and the second switch circuit 50 is isolated, or the control signal CTL is used to output the second functional signal XH2 at the output end of the optocoupler 60 when the second switch circuit 50 is turned on and the first switch circuit 40 is isolated.
[0062] The first switch circuit 40 is used to control the first function signal XH1 to be input to the optocoupler 60 . The states of the first switch circuit 40 include on and off. When the first switch circuit 40 is on, the first function signal XH1 can be input to the optocoupler 60 through the first switch circuit 40 .
[0063] The second switch circuit 50 is used to control the second function signal XH2 to be input to the optical coupler 60. The states of the second switch circuit 50 include on and off. When the second switch circuit 50 is on, the second function signal XH2 can be input to the optical coupler 60 through the second switch circuit 50.
[0064] The output end of the optocoupler 60 is used to output the first function signal XH1 or the second function signal XH2. When the first switch circuit 40 is turned on and the second switch circuit 50 is isolated, the output end of the optocoupler 60 outputs the first function signal XH1, and when the second switch circuit 50 is turned on and the first switch circuit 40 is isolated, the output end of the optocoupler outputs the second function signal XH2.
[0065] The optocoupler 60 can achieve electrical isolation, isolate the input end of the optocoupler 60 and the output end of the optocoupler 60, prevent mutual interference between the input end of the optocoupler 60 and the output end of the optocoupler 60, thereby improving the stability of the output first functional signal XH1 or the second functional signal XH2. The optocoupler 60 can convert the first functional signal XH1 or the second functional signal XH2 at the input end of the optocoupler 60 into an optical signal, transmit the signal by optical transmission, and improve the anti-interference ability of the signal. In addition, the optocoupler 60 can be used for signal matching, and the form and level of the first functional signal XH1 or the second functional signal XH2 can be adjusted according to actual needs to adapt to different usage scenarios.
[0066] For example, the first functional input port 20 is connected to the reactive pulse signal provided by the metering chip, and the second functional input port 30 is connected to the clock signal provided by the microcontroller chip. The control signal CTL is changed so that the first switch circuit 40 is turned on and the second switch circuit 50 is isolated, thereby shielding the clock signal of the second functional input port 30, so that the reactive pulse signal of the first functional input port 20 is input to the input end of the optocoupler 60, so that the output end of the optocoupler 60 outputs the reactive pulse signal. Alternatively, the control signal CTL is changed so that the second switch circuit 50 is turned on and the first switch circuit 40 is isolated, thereby shielding the reactive pulse signal of the first functional input port 20, so that the clock signal of the second functional input port 30 is input to the input end of the optocoupler 60, so that the output end of the optocoupler 60 outputs the clock signal.
[0067] In the embodiment of the present application, according to the actual functional requirements, by changing the state of the control signal CTL, the state of the first switch circuit 40 and the state of the second switch circuit 50 can be changed, and when the first switch circuit 40 is turned on and the second switch circuit 50 is isolated, the output end of the optocoupler 60 can output the first functional signal XH1, and when the second switch circuit 50 is turned on and the first switch circuit 40 is isolated, the output end of the optocoupler 60 can output the second functional signal XH2. Thus, one of the first functional signal XH1 and the second functional signal XH2 can be selected to be input to the optocoupler 60, so that the optocoupler 60 can output different functional signals, meet the diverse needs of the system, and increase the flexibility of the system. In the case of needing to output signals with multiple functions, the multiplexing of a single port can be realized, the port resources of the electronic measuring instrument can be saved, the occupation of external devices can be reduced, and the versatility of the electronic measuring instrument can be improved.
[0068] Next, combine Figure 3 and Figure 4 , various specific implementations of the first switch circuit 40 and the second switch circuit 50 of the present application are described in detail.
[0069] As a possible implementation, see Figure 3 , Figure 3 Schematic diagram of a first switch circuit and a second switch circuit provided in an embodiment of the present application. Figure 3 As shown, the first switch circuit 40 includes a first resistor R1 and a first transistor Q1, and the second switch circuit 50 includes a fifth resistor R5, a sixth resistor R6, a second transistor Q2 and a third transistor Q3.
[0070] The first end of the first resistor R1 and the first end of the sixth resistor R6 are both first input ends of the first switch circuit 40, the second end of the first resistor R1 is electrically connected to the control end of the first transistor Q1, the first end of the first transistor Q1 is electrically connected between the second input end of the first switch circuit 40 and the output end of the first switch circuit 40, and the second end of the first transistor Q1 is grounded.
[0071] The first end of the second transistor Q2 is the input end of the second switch circuit 50, the second end of the second transistor Q2 is electrically connected to the output end of the second switch circuit 50, the control end of the second transistor Q2 is electrically connected to the first end of the fifth resistor R5, the second end of the fifth resistor R5 is electrically connected to the first end of the third transistor Q3, the second end of the third transistor Q3 is grounded, and the control end of the third transistor Q3 is electrically connected to the second end of the sixth resistor R6.
[0072] exist Figure 3 , the control terminal of the first transistor Q1 is recorded as 3, the first terminal of the first transistor Q1 is recorded as 1, and the second terminal of the first transistor Q1 is recorded as 2. The control terminal of the second transistor Q2 is recorded as 3, the first terminal of the second transistor Q2 is recorded as 1, and the second terminal of the second transistor Q2 is recorded as 2. The control terminal of the third transistor Q3 is recorded as 3, the first terminal of the third transistor Q3 is recorded as 1, and the second terminal of the third transistor Q3 is recorded as 2.
[0073] When the control signal CTL is a low level signal, the first switch circuit 40 is turned on and the second switch circuit 50 is isolated.
[0074] Specifically, when the control signal CTL is a low level signal, the first transistor Q1 is turned off, so that the first switch circuit 40 is turned on. The second transistor Q2 is turned off, and the third transistor Q3 is turned off, so that the second switch circuit 50 is isolated, thereby isolating the second function signal XH2 connected to the second function input port 30. Based on this, the first function signal XH1 connected to the first function input port 20 can be output from the output end of the first switch circuit 40 to the input end of the optocoupler 60 through the first switch circuit 40.
[0075] When the control signal CTL is a high level signal, the second switch circuit 50 is turned on and the first switch circuit 40 is isolated.
[0076] Specifically, when the control signal CTL is a high-level signal, the first transistor Q1 is turned on, and the first switch circuit 40 is grounded through the first transistor Q1, thereby isolating the first function signal XH1 connected to the first function input port 20. The second transistor Q2 is turned on, and the third transistor Q3 is turned on, so that the second switch circuit 50 is turned on. Based on this, the second function signal XH2 connected to the second function input port 30 can be output from the output end of the second switch circuit 50 to the input end of the optocoupler 60 through the second switch circuit 50.
[0077] Based on this, by switching the level state of the control signal CTL, the optocoupler 60 can be freely switched to output the first function signal XH1 or the second function signal XH2, so that a single output circuit can output signals of multiple different functions, thereby improving the versatility of the electronic measuring instrument. Figure 3 The single output circuit in the embodiment does not need to consider whether the first function signal XH1 is connected to the first function input port 20, or whether the second function signal XH2 is input to the second function input port 30. That is, regardless of whether the first function signal XH1 is input to the first function input port 20, or whether the second function signal XH2 is input to the second function input port 30, it does not affect the conduction and isolation of the first switch circuit 40 and the second switch circuit 50, thereby improving the compatibility of the single output circuit.
[0078] Based on the above description, Figure 3 In the embodiment, the first switch circuit 40 further includes a second resistor R2.
[0079] The first end of the second resistor R2 is the second input end of the first switch circuit 40 , the second end of the second resistor R2 is electrically connected to the output end of the first switch circuit 40 , and the first end of the first transistor Q1 is electrically connected between the second end of the second resistor R2 and the output end of the first switch circuit 40 .
[0080] When the first function signal XH1 flows through the second resistor R2, the second resistor R2 can limit and stabilize the first function signal XH1 to prevent damage to the circuit or components and ensure the normal operation of the circuit. In addition, the second resistor R2 can also adjust the size of the first function signal XH1 to meet the output requirements of the single output circuit.
[0081] Based on the above description, Figure 3 In the embodiment, the first switch circuit 40 further includes a third resistor R3.
[0082] The first end of the third resistor R3 is electrically connected to the second input end of the first switch circuit 40, the second end of the third resistor R3 is the output end of the first switch circuit 40, and the first end of the first transistor Q1 is electrically connected between the first end of the third resistor R3 and the second input end of the first switch circuit 40.
[0083] A third resistor R3 is connected in series between the first switch circuit 40 and the second switch circuit 50 to limit the flow of current and increase the resistance load between the first switch circuit 40 and the second switch circuit 50, thereby isolating the interference between the first switch circuit 40 and the second switch circuit 50, thereby reducing signal interference.
[0084] Based on the above description, Figure 3 In the embodiment, the second switch circuit 50 further includes a fourth resistor R4.
[0085] A first end of the fourth resistor R4 is electrically connected to the second end of the second transistor Q2 , and a second end of the fourth resistor R4 is an output end of the second switch circuit 50 .
[0086] When the second function signal XH2 flows through the fourth resistor R4, the fourth resistor R4 can limit and stabilize the second function signal XH2 to prevent damage to the circuit or components and ensure the normal operation of the circuit. In addition, the fourth resistor R4 can also adjust the size of the second function signal XH2 to meet the output requirements of the single output circuit.
[0087] As another possible implementation, see Figure 4 , Figure 4 Schematic diagram of a first switch circuit and a second switch circuit provided in an embodiment of the present application. Figure 4 As shown, the first switch circuit 40 includes a first resistor R1 and a second resistor R2, and the second switch circuit 50 includes a third resistor R3.
[0088] The first end of the first resistor R1 is the second input end of the first switch circuit 40, the second end of the first resistor R1 is electrically connected to the first end of the second resistor R2, the second end of the second resistor R2 is the output end of the first switch circuit 40, and the second end of the first resistor R1 and the first end of the second resistor R2 are provided with a connection point P, and the connection point P is the first input end of the first switch circuit 40.
[0089] A first end of the third resistor R3 is an input end of the second switch circuit 50 , and a second end of the third resistor R3 is an output end of the second switch circuit 50 .
[0090] When there is no input to the control port 10 , the first switch circuit 40 is turned on and the second switch circuit 50 is isolated.
[0091] Specifically, when there is no input to the control port 10, the first function signal XH1 is controlled to be connected to the first function input port 20, so that the first switch circuit 40 is turned on. The second function signal XH2 is controlled not to be connected to the second function input port 30, so that the second switch circuit 50 is isolated. Based on this, the first function signal XH1 can be input to the input end of the optocoupler 60 through the first switch circuit 40.
[0092] When the control signal CTL is a low level signal, the second switch circuit 50 is turned on and the first switch circuit 40 is isolated.
[0093] Specifically, when the control signal CTL is a low level signal, the control signal CTL is input to the first switch circuit 40 through the connection point P, and the first switch circuit 40 is isolated. The second function signal XH2 is controlled to be connected to the second function input port 30, so that the second switch circuit 50 is turned on. Based on this, the second function signal XH2 can be input to the input end of the optical coupler 60 through the second switch circuit 50.
[0094] Based on this, by switching the level state of the control signal CTL or controlling the control port 10 to have no input, and controlling whether the second function signal XH2 is connected to the second function input port 30, the optocoupler 60 can be freely switched to output the first function signal XH1 or the second function signal XH2, so that a single output circuit can output signals of multiple different functions, thereby improving the versatility of electronic measuring instruments.
[0095] Based on the above description, the first functional signal XH1 and the second functional signal XH2 include multiple types.
[0096] In some examples, the first function signal XH1 and the second function signal XH2 are different types of signals provided by a metering chip in an electronic measuring instrument.
[0097] For example, the first functional signal XH1 may be a current signal provided by a metering chip, and the second functional signal XH2 may be a reactive pulse signal provided by a metering chip.
[0098] In some other examples, the first function signal XH1 and the second function signal XH2 are different types of signals provided by a microcontroller chip in the electronic measuring instrument.
[0099] For example, the first functional signal XH1 may be a clock signal provided by a microcontroller chip, and the second functional signal XH2 may be a PWM signal provided by the microcontroller chip.
[0100] In some further examples, the first function signal XH1 and the second function signal XH2 are signals provided by a meter chip and a microcontroller chip in the electronic measuring instrument, respectively.
[0101] For example, the first functional signal XH1 may be a current signal provided by a metering chip, and the second functional signal XH2 may be a clock signal provided by a microcontroller chip.
[0102] Based on the above description, the types of the optocoupler 60 may include a photodiode optocoupler, a phototransistor optocoupler, a photocell optocoupler, a thyristor optocoupler, and the like.
[0103] For example, when the optocoupler 60 is a phototransistor optocoupler, the optocoupler 60 may be an NPN optocoupler. The NPN optocoupler is composed of a photodiode and an NPN transistor. The polarity of the signal input to the NPN optocoupler is the same as the polarity of the signal output from the NPN optocoupler. The NPN optocoupler is suitable for circuits that need to be consistent with the input signal.
[0104] Alternatively, the type of the optocoupler 60 may be a PNP optocoupler. The PNP optocoupler is composed of a photosensitive diode and a PNP transistor. The polarity of the signal input to the PNP optocoupler is opposite to the polarity of the signal output from the PNP optocoupler. The PNP optocoupler is suitable for circuits requiring inversion control.
[0105] Figure 3 and Figure 4 In the figure, the type of the optocoupler 60 is an NPN optocoupler as an example.
[0106] Finally, it should be noted that the above embodiments are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A multifunctional single output circuit, characterized in that, Applied to electronic measuring instruments, the multifunctional single output circuit comprises: a control port, a first functional input port, a second functional input port, a first switch circuit, a second switch circuit and an optical coupler; The control port is electrically connected to the first input end of the first switch circuit, the second input end of the first switch circuit is electrically connected to the first functional input port, the input end of the second switch circuit is electrically connected to the second functional input port, the output end of the first switch circuit and the output end of the second switch circuit are both electrically connected to the input end of the optocoupler, the first functional input port is used to access a first functional signal, the second functional input port is used to access a second functional signal, and the output end of the optocoupler is used to output the first functional signal or the second functional signal; The control port is used to access a control signal, wherein the control signal is used to cause the output end of the optocoupler to output the first functional signal when the first switch circuit is turned on and the second switch circuit is isolated, or to cause the output end of the optocoupler to output the second functional signal when the second switch circuit is turned on and the first switch circuit is isolated.
2. The circuit according to claim 1, characterized in that The first switch circuit includes a first resistor and a first transistor, and the second switch circuit includes a fifth resistor, a sixth resistor, a second transistor and a third transistor; The first end of the first resistor and the first end of the sixth resistor are both first input ends of the first switch circuit, the second end of the first resistor is electrically connected to the control end of the first transistor, the first end of the first transistor is electrically connected between the second input end of the first switch circuit and the output end of the first switch circuit, and the second end of the first transistor is grounded; The first end of the second transistor is the input end of the second switch circuit, the second end of the second transistor is electrically connected to the output end of the second switch circuit, the control end of the second transistor is electrically connected to the first end of the fifth resistor, the second end of the fifth resistor is electrically connected to the first end of the third transistor, the second end of the third transistor is grounded, and the control end of the third transistor is electrically connected to the second end of the sixth resistor; Wherein, when the control signal is a low-level signal, the first switch circuit is turned on and the second switch circuit is isolated; or, when the control signal is a high-level signal, the second switch circuit is turned on and the first switch circuit is isolated.
3. The circuit according to claim 2, characterized in that The first switch circuit further includes a second resistor; The first end of the second resistor is the second input end of the first switch circuit, the second end of the second resistor is electrically connected to the output end of the first switch circuit, and the first end of the first transistor is electrically connected between the second end of the second resistor and the output end of the first switch circuit.
4. The circuit according to claim 2, characterized in that The first switch circuit further includes a third resistor; The first end of the third resistor is electrically connected to the second input end of the first switch circuit, the second end of the third resistor is the output end of the first switch circuit, and the first end of the first transistor is electrically connected between the first end of the third resistor and the second input end of the first switch circuit.
5. The circuit according to claim 2, characterized in that The second switch circuit further includes a fourth resistor; The first end of the fourth resistor is electrically connected to the second end of the second transistor, and the second end of the fourth resistor is the output end of the second switch circuit.
6. The circuit according to claim 1, characterized in that The first switch circuit includes a first resistor and a second resistor, and the second switch circuit includes a third resistor; The first end of the first resistor is the second input end of the first switch circuit, the second end of the first resistor is electrically connected to the first end of the second resistor, the second end of the second resistor is the output end of the first switch circuit, and the second end of the first resistor and the first end of the second resistor are provided with a connection point, and the connection point is the first input end of the first switch circuit; The first end of the third resistor is the input end of the second switch circuit, and the second end of the third resistor is the output end of the second switch circuit; Wherein, when there is no input to the control port, the first switch circuit is turned on and the second switch circuit is isolated; or, when the control signal is a low level signal, the second switch circuit is turned on and the first switch circuit is isolated.
7. The circuit according to any one of claims 1 to 6, characterized in that: The first function signal and the second function signal are different types of signals provided by the metering chip in the electronic measuring instrument; Alternatively, the first function signal and the second function signal are different types of signals provided by a microcontroller chip in the electronic measuring instrument; Alternatively, the first function signal and the second function signal are signals provided by a metering chip and a microcontroller chip in the electronic measuring instrument, respectively.
8. The circuit according to any one of claims 1 to 6, characterized in that: The types of the optical coupler include: photodiode type optical coupler, phototransistor type optical coupler, photocell type optical coupler and thyristor type optical coupler.
9. An electronic measuring instrument, characterized in that: include: A multifunctional single output circuit as claimed in any one of claims 1 to 8.
10. The electronic measuring instrument according to claim 9, characterized in that: The types of electronic measuring instruments include: digital display instruments, power meters and electric energy meters.