Operational amplifiers, drive interfaces, measurement and control equipment, drive circuits and drivers

By designing an operational amplifier that supports high-voltage input and high-current output, the problem that existing interface circuits cannot be flexibly converted is solved, and the circuit performance is improved and the cost is reduced.

CN106936423BActive Publication Date: 2024-10-01LIUZHOU GUITONG TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201511018182.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2015-12-29
Publication Date
2024-10-01
Estimated Expiration
2035-12-29

AI Technical Summary

Technical Problem

Existing interface circuits and level conversion circuits cannot be flexibly converted into high-voltage input and high-current output interfaces, resulting in reduced application circuit performance, and it is difficult to change the input or output direction in actual applications, resulting in increased circuit complexity and cost.

Method used

Design an operational amplifier, which includes transistors and diodes connected in series through resistors to realize a common port for signal input and output. It supports high voltage input and high current output, and can be flexibly converted into an input or output interface.

Benefits of technology

It realizes the flexible interface transformation of operational amplifiers, expands the scope of use, improves application circuit performance, simplifies the circuit structure, reduces costs, and reduces the research and development cycle and production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN106936423B_ABST
    Figure CN106936423B_ABST
Patent Text Reader

Abstract

The present invention discloses an operational amplifier, a driving interface, a measurement and control device, a driving circuit and a driver. The operational amplifier is used as an input and / or output interface, and when the operational amplifier corresponds to a transistor, the external circuit of the transistor also includes: a transistor; a first port connected to the base of the transistor through a first resistor; a second port connected to the emitter of the transistor; a third port connected to the collector of the transistor; and a fourth port connected to the emitter of the transistor through a second resistor, as a common port for signal input and signal output. The high-current drive output high-voltage constant current input chopper provided by the present invention solves the technical problem that the interface circuit or level conversion circuit in the related art cannot support the conversion that can be used as both a high-voltage input interface and a high-current output interface, resulting in reduced application circuit performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic technology, and in particular to an operational amplifier, a drive interface, a measurement and control device, a drive circuit and a driver. Background Art

[0002] In the field of electronic measurement and control involved in the working process of electronic, electrical or intelligent products, the existing bidirectional interface devices inside and outside the central processing unit or microcontroller are determined by the direction selection circuit through its lead-out control line to determine whether they are used as input or output when actually operated, while the level conversion circuit determines its actual direction and applicability when it is used during manufacturing. For example: Darlington driver ULN2003 can only output drive; bus driver 74HC245 needs to be determined by the direction pin when operating; various data selectors can only be used as input selection; various data distributors can only be used as output distribution; optocouplers can no longer be used as input when they are designed as outputs in actual application circuits, and vice versa, when they are designed as inputs, they can no longer be used as outputs; LED drivers only have constant current driving functions, etc.

[0003] The interface circuit or level conversion circuit in the related art has the following defects:

[0004] 1. For unidirectional interface circuits, once the application circuit is designed or manufactured, the direction of its input or output is determined. It is very difficult to change the input or output direction in actual application.

[0005] 2. For bidirectional interface circuits, once the application circuit is designed or manufactured, the port voltage or current range it can adapt to is determined. In actual application, it is very difficult to apply it in an environment with high voltage input or requiring large current drive.

[0006] 3. As a circuit board card for signal acquisition or drive output in the field of measurement and control, its single application is determined in the design process, and it is difficult to change in actual application. Whether it is missing one input or output, an additional corresponding board card has to be added. At this time, no matter how much sufficient surplus is left in the board card used in the other direction, the circuit structure is complicated and the cost is increased.

[0007] 4. When developing measurement and control products, when debugging the manufactured boards on site, problems such as lack of input or lack of output are often encountered. Unless sufficient margin is left regardless of cost, if the hardware design needs to be modified and remanufactured, the R&D cycle will be significantly extended.

[0008] 5. After the board product is finalized, if software function upgrades are required, there will often be problems with missing input or output ports.

[0009] 6. On the same application board, it is generally necessary to select the corresponding input or output interface chip according to the measurement and control object, which will increase the R&D cost or the inventory management cost of the production unit.

[0010] 7. The withstand voltage of the input port of the microcontroller or central processing unit is limited and cannot be higher than twice the operating voltage of the interface circuit or level conversion circuit, which seriously affects the application scope of the microcontroller or central processing unit.

[0011] Currently, no effective solution has been proposed for the problem that the interface circuit or level conversion circuit in the related art cannot support the conversion of the input or output interface, which leads to the reduction of the performance of the application circuit. Summary of the invention

[0012] The embodiments of the present invention provide an operational amplifier, a drive interface, a measurement and control device, a drive circuit and a driver, so as to at least solve the technical problem in the related art that the interface circuit or the level conversion circuit cannot support the conversion between a high voltage input interface and a high current output interface, which leads to the reduction of the performance of the application circuit.

[0013] According to one aspect of an embodiment of the present invention, an operational amplifier is provided, which serves as an input and / or output interface, wherein when the operational amplifier corresponds to a transistor, the external circuit of the transistor also includes: a transistor; a first port connected to the base of the transistor through a first resistor; a second port connected to the emitter of the transistor; a third port connected to the collector of the transistor; and a fourth port connected to the emitter of the transistor through a second resistor, serving as a common port for signal input and signal output.

[0014] Furthermore, the operational amplifier also includes: a first diode, connected in series with the first resistor, wherein the anode of the first diode is connected to the first resistor, and the cathode is connected to the base of the transistor, or the anode of the first diode is connected to the first port, and the cathode is connected to the first resistor.

[0015] Furthermore, the operational amplifier also includes: a second diode, an anode of which is connected to the emitter of the transistor, and a cathode of which is connected to the third port.

[0016] According to another aspect of an embodiment of the present invention, a driving interface is further provided, and the driving interface is a current or voltage driving interface, and the driving interface includes any one of the operational amplifiers in the embodiments of the present invention, wherein the first port and the fourth port of the operational amplifier are suspended, and the driving current or the driving voltage flows into the second port of the operational amplifier and flows out from the third port of the operational amplifier through the second diode in the operational amplifier, wherein the third port of the operational amplifier is connected to the driven object.

[0017] According to another aspect of the embodiments of the present invention, there is further provided a measurement and control device, comprising at least one measurement and control interface, wherein the measurement and control interface is any one of the operational amplifiers in the embodiments of the present invention.

[0018] According to another aspect of an embodiment of the present invention, a driving circuit is further provided, the driving circuit is used to drive an LED, the driving circuit includes any one of the operational amplifiers in the embodiments of the present invention, and the driving circuit also includes: a first resistor voltage divider, an adjustable end of which is connected to the first port in the operational amplifier, and the other end of which is connected to the power supply, wherein one end of the anode of the driven LED is connected to the power supply or a power supply shared by the fourth port, and the other end of which is connected to the third port in the operational amplifier; and a second resistor voltage divider, an adjustable end of which is connected to the second port in the operational amplifier, and the other end of which is grounded.

[0019] According to another aspect of an embodiment of the present invention, a driver is further provided, the driver being used to drive an electronic graphic display screen, wherein the electronic graphic display screen includes at least one drive signal input interface, and the driver comprising: a drive circuit connected to the at least one drive signal input interface, wherein the drive circuit includes at least one operational amplifier of any one of the embodiments of the present invention; a control unit connected to the drive circuit and used to control the driving process of the drive circuit on the electronic graphic display screen; and a power supply connected to the drive circuit and the control unit, respectively.

[0020] Further, the driving circuit includes: a power supply port, connected to a power supply, wherein the power supply port is a common port of a first port in at least one operational amplifier, and a current non-inverting input port or a voltage non-inverting input port of the operational amplifier corresponds to a base port of a transistor; at least one emitter port, respectively connected to a control unit, wherein a current inverting input port or a voltage non-inverting input port of each operational amplifier corresponds to an emitter port of a transistor; at least one collector port, respectively connected to at least one drive signal input interface, wherein an output port of each operational amplifier corresponds to a collector port; and a ground port, which is a common port of a fourth port in at least one operational amplifier.

[0021] According to another aspect of an embodiment of the present invention, a detection device is also provided, which is used to detect the on-off state of a switch. The detection device includes any one of the operational amplifiers in the embodiments of the present invention, and the third port of the operational amplifier serves as a signal input port. The detection device also includes: a switch as a measured object, one end of which is connected to the collector of the transistor of the operational amplifier through the signal input port, and one end is grounded; and a current limiting resistor, which is used to convert the on-off state of the switch into a low-high state of a level signal, wherein the third port of the operational amplifier is connected to the power supply of the detection device or a power supply shared with the fourth port through the current limiting resistor.

[0022] According to another aspect of an embodiment of the present invention, a sensor is also provided. The sensor is suitable for detecting the signal level state in a wide voltage fluctuation range. The sensor includes any one of the operational amplifiers in the embodiments of the present invention. The signal source to be detected is connected to the third port, and the detection signal is output from the second port. The amount of current diverted from the signal source by the transistor is controlled by adjusting the second resistor or the first resistor.

[0023] In an embodiment of the present invention, the operational amplifier can be used as an input and / or output interface. When the operational amplifier corresponds to a transistor, the external circuit of the transistor also includes: a transistor; a first port connected to the base of the transistor through a first resistor; a second port connected to the emitter of the transistor; a third port connected to the collector of the transistor; and a fourth port connected to the emitter of the transistor through a second resistor, as a common port for signal input and signal output. The operational amplifier of the embodiment of the present invention can realize flexible conversion between the input interface and the output interface, thereby achieving the technical effect of expanding the scope of use of the operational amplifier and improving the overall performance of the application circuit, thereby solving the technical problem in the related art that the interface circuit or level conversion circuit cannot support the conversion of the input or output interface, resulting in reduced performance of the application circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0025] Figure 1 is a schematic diagram of the structure of an operational amplifier according to an embodiment of the present invention;

[0026] Figure 2 is a schematic structural diagram of an optional operational amplifier according to an embodiment of the present invention;

[0027] Figure 3 is a schematic structural diagram of another optional operational amplifier according to an embodiment of the present invention;

[0028] Figure 4 is a schematic structural diagram of another optional operational amplifier according to an embodiment of the present invention;

[0029] Figure 5 is a schematic structural diagram of an LED driving circuit according to an embodiment of the present invention;

[0030] Figure 6 is another structural schematic diagram of an LED driving circuit according to an embodiment of the present invention;

[0031] Figure 7 is a schematic structural diagram of an electronic graphic display screen driver according to an embodiment of the present invention;

[0032] Figure 8 is a schematic structural diagram of a display type driving circuit according to an embodiment of the present invention;

[0033] Fig. 9 is a structural schematic diagram of a device for detecting a switch state of a car horn according to an embodiment of the present invention;

[0034] Fig.10 is a structural schematic diagram of a vehicle horn switch state detection device according to the prior art; and

[0035] Fig.11 The present invention is a structural schematic diagram of another vehicle horn switch state detection device according to the prior art. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, system, product or device that includes a series of units is not necessarily limited to those units clearly listed, but may include other units that are not clearly listed or inherent to these processes, products or devices.

[0038] According to an embodiment of the present invention, an embodiment of an operational amplifier is provided. It should be noted that the operational amplifier of this embodiment can be used as an input interface of an application circuit, can also be used as an output interface of the application circuit, and can also be used as an input / output interface of the application circuit at the same time.

[0039] Figure 1 is a schematic diagram of the structure of an operational amplifier according to an embodiment of the present invention. Figure 1 As shown, the operational amplifier may include:

[0040] Transistor Q, the first port Vdj, is connected to the base B of transistor Q through the first resistor Rb; the second port I / Oe is connected to the emitter E of transistor Q; the third port I / Oc is connected to the collector C of transistor Q; and the fourth port GND is connected to the emitter E of transistor Q through the second resistor Re, serving as a common port for signal input and signal output.

[0041] The first port Vdj can be used as a control voltage input port for adjusting the current value absorbed from the I / Oc port, the second port I / Oe can be used as a level output of the level state value of the sampling point directly connected to the third port I / Oc and a port for target driving large current input, the third port I / Oc can be used as a port for connecting sampling points with a wide voltage fluctuation range, constant current input and target driving large current output, and the fourth port GND can be used as a common port for signal input and output and connecting the negative pole of the working power supply.

[0042] like Figure 1 As shown, there are 3 components in box Ⅰ, and their connection relationship is:

[0043] Q is a transistor, also known as a transistor triode. Some people are also used to calling it a triode. It represents a current operational amplifier Ia with an open collector output. Among them, B is the base of the triode Q. It is the non-inverting input terminal relative to the current operational amplifier Ia with an open collector output represented by it. It is connected to the Vdj port through the resistor Rb. The magnitude of the current flowing through Rb also determines the magnitude of the current flowing into the I / Oc port. E is the emitter of the triode Q. It is the reverse input terminal relative to the current operational amplifier Ia with an open collector output represented by it. While it is directly connected to the I / Oe port, it is also connected to the GND port through the resistor Re. When the voltage applied to Vdj is constant, the greater the resistance of the resistor Re, the smaller the current flowing into the I / Oc port. C is the collector of the triode Q. It is the output terminal relative to the current operational amplifier Ia with an open collector output represented by it. It is directly connected to the I / Oc port and is also the inlet of the sampling current.

[0044] It should be noted that the transistor Q in the embodiment of the present invention may be a bipolar common transistor, which may be an NPN type structure, such as Figure 1 The transistor Q shown may also be a PNP transistor or a unipolar CMOS transistor. The operational amplifier in the embodiment of the present invention may also use other forms of current amplifiers to form a circuit with similar functions.

[0045] As an optional embodiment, Figure 2 is a schematic diagram of the structure of an optional operational amplifier according to an embodiment of the present invention, Figure 3 is a schematic diagram of the structure of another optional operational amplifier according to an embodiment of the present invention, such as Figure 2 and Figure 3 As shown, the operational amplifier of this embodiment may also include: a first diode Db, connected in series with the first resistor Rb, wherein the anode of the first diode Db may be connected to the first resistor Rb, and the cathode may be connected to the base B of the transistor Q, or the anode of the first diode Db may be connected to the first port Vdj, and the cathode may be connected to the first resistor Rb. The operational amplifier of the embodiment of the present invention has a diode Db connected in series between the base B of the transistor Q and the first port Vdj, which can achieve the effect of increasing the drive voltage value allowed to be output to the third port through the second port.

[0046] As an optional embodiment, Figure 4 is a schematic diagram of the structure of another optional operational amplifier according to an embodiment of the present invention, such as Figure 4 As shown, the operational amplifier of this embodiment may also include: a second diode D, the anode of which is connected to the emitter E of the transistor Q, and the cathode of which is connected to the third port I / Oc. The port I / Oc can be connected to the E and I / Oe ports through the diode D. D is a path for the drive current entering from I / Oe to be output from I / Oc, the anode of D is directly connected to the E and I / Oe ports, and the cathode of D is directly connected to the C and I / Oc ports. It should be noted that Figure 4 The operational amplifier shown can be used as an output drive interface. The drive interface can be used as a current or voltage output drive interface. The maximum current allowed to be output is determined by the second diode D.

[0047] According to an embodiment of the present invention, a driving interface is also provided. The driving interface may be a current or voltage driving interface. The driving interface may include Figures 2 to 4 The operational amplifier shown in Figure 4When the operational amplifier shown is used as a current or voltage output drive interface, the first port and the fourth port of the operational amplifier can be left floating, and the driving current or driving voltage flows into the second port of the operational amplifier and flows out from the third port of the operational amplifier through the second diode in the operational amplifier, wherein the third port of the operational amplifier is connected to the driven object.

[0048] Figure 4 When the operational amplifier shown is used as a high-current drive interface, Vdj and GND can be left floating, and the drive current flows in from the I / Oe port, flows out from the I / Oc port after passing through the diode D, and then is injected into the current input port of the driven object. The maximum value of this drive current is consistent with the maximum operating current of the diode D.

[0049] Figure 4 When the operational amplifier shown is used as a voltage drive interface, the drive voltage is directly loaded on the I / Oe port, and its high-level output is transferred to the I / Oc port through the diode D, and the low-level output is transferred to the I / Oc port through the transistor, and then it can be loaded on the drive voltage input port of the driven object. Figure 4 The maximum output voltage drop after the operational amplifier circuit shown is consistent with the maximum operating voltage drop of diode D, and the minimum output voltage is higher than the minimum voltage loaded to the I / Oe port by a saturation voltage value of a transistor, that is, 0.3 V. When it is necessary to reduce the loss of high-level output voltage, a diode D with a small forward voltage drop can be selected.

[0050] It should be noted that Figure 4 When the operational amplifier shown is used as a voltage drive interface, the Vdj port is placed in a floating state and the fourth port GND is in a grounded state. At this time, the maximum drive voltage is determined by the maximum allowable power consumption of Re. In order to prevent the drive voltage applied to the I / Oe of a certain unit from affecting other units, the difference between this voltage and Vdj will generally not be selected to reach or exceed the Vebo of the transistor Q, where Vebo is the maximum reverse voltage value loaded between the base B and the emitter E when the collector C of the transistor Q is suspended. However, in actual applications, as long as the voltage transmitted through Rb does not damage other circuit components directly or indirectly connected to the Vdj port or affect their normal operation, the maximum value of this drive voltage can be free from the Vebo condition.

[0051] It should be noted that if the difference between the voltage applied to I / Oe and Vdj reaches or exceeds the Vebo value of transistor Q, but is within the range allowed by the maximum power consumption of Re, a diode can be connected in series between Vdj and the base B of transistor Q, such as Figure 2 and Figure 3 Db in.

[0052] Figures 1 to 4 The operational amplifier shown can also be used as a chopper input interface. According to the principle of current amplifier, the current Ic flowing into the C pole of Q and the current Ib flowing into the B pole of Q have the following relationship:

[0053] Ic=β*Ib (333.1)

[0054] β in formula (333.1) is the current amplification factor of Q. For the same transistor Q or current amplifier Ia, β is a constant value. Only between different transistors Q or current amplifiers Ia, β may be a different value. From formula (333.1), it can be seen that by adjusting the magnitude of the current Ib flowing through the resistor Rb and entering the B pole of Q, the magnitude of the current Ic flowing through the I / Oc port and into the C pole of Q can be determined. According to Ohm's law:

[0055] I=V / R (333.2)

[0056] It can be known that the electrical output voltage obtained from I / Oe is: Ve = (Ic + Ib) * Re, that is

[0057] Ve=(β+1)*Ib*Re (333.3)

[0058] From formula (333.3), it can be seen that when the resistor Re is constant, the value of the voltage Vc added to the I / Oc port is not less than the minimum linear operating voltage of Q or Ia, that is, under the condition that formula (333.1) is guaranteed to be true, after being transmitted to the I / Oe port, the actual size Ve obtained at the I / Oe port is only related to Ib. That is to say, during the operation process, as long as the size of Ib remains unchanged, the size of the voltage Ve is independent of the voltage value Vc added to the I / Oc port, thereby achieving the purpose of chopping.

[0059] It should be noted that when Figures 1 to 4 When the operational amplifier shown is used as a chopper input interface, the maximum voltage Vc loaded to the I / Oc port is determined by the smaller value of Q's Vcbo (Vcbo is the maximum voltage applied between the B and C electrodes when E is floating) and D's reverse withstand voltage Vd.

[0060] According to an embodiment of the present invention, a sensor is further provided. The sensor can be used to detect the signal level state in a wide voltage fluctuation range. The sensor of this embodiment may include Figures 1 to 4 Any operational amplifier shown, wherein the detected signal source is connected to the third port I / Oc, the detection signal is output from the second port I / Oe, and the amount of current diverted from the signal source by the transistor can be controlled by adjusting the second resistor Re or the first resistor Rb.

[0061] Figures 1 to 4 When any of the operational amplifier circuits shown is applied to measure the level state signal of the target, it is implemented by using its chopping function. According to the requirements of measurement and control technology and corresponding standards, any measuring instrument, including sensors, cannot have any obvious influence on the real-time state value of the measured target during actual measurement, that is, it cannot produce any unallowable obvious changes to the "physical quantities" such as force, heat, sound, light, electricity, etc. of the measuring point and their constituent substances, namely "chemical quantities" during measurement.

[0062] According to the requirements of the above metrology, when measuring the level state change of the target point, the input impedance of the measuring instrument including the sensor should be as large as possible, that is, the amount of current diverted from the measured point or the voltage drop generated should be as small as possible. Therefore, when measuring the state of high-level signals that may or actually have conductive interference signals, the first thing that technicians in this field think of is the photoelectric coupling device. According to the working principle and technical manual of the photoelectric coupling device, it can be known that in order to reliably detect the signal state, a current of about 5mA or even greater is required to flow through the photoelectric coupler, that is, when measuring the voltage change of the measured point by the parallel method, it is often necessary to divert about 5mA or even greater current from the measured point, which is disadvantageous for high-resistance signal sources or target components working with small currents. It is also not easy to measure the current flowing through the measured point by the series method when it is greater than the maximum working current allowed to enter the photoelectric coupler.

[0063] That is to say, when using a photoelectric coupling device to detect in parallel whether the coil of a relay with a low operating current of less than 20mA and a high operating voltage is loaded with an operating voltage, it may affect the normal working state of the relay under test; when using a photoelectric coupler in series to detect whether the coil of a relay with an operating current greater than 30mA is loaded with an operating current, it may also affect the normal working state of the photoelectric coupler and the relay under test; for a DC relay with an operating voltage not exceeding 6V, it is not advisable to use a series photoelectric coupler method to detect whether it is in a normal working state.

[0064] According to the above Figures 1 to 4 The operational amplifier circuit shown has the principle of chopping function. After the voltage loaded to Vdj is known, by adjusting the value of Rb or Re, the current flowing into I / Oc can be small or even less than 1mA to meet the requirements, thereby realizing the measurement occasions that are not suitable for using optocouplers but must be high voltage or isolated from conducted interference.

[0065] According to an embodiment of the present invention, a measurement and control device is further provided. The measurement and control device may include at least one measurement and control interface, wherein the measurement and control interface may include Figures 1 to 4 Any of the operational amplifiers shown.

[0066] According to the foregoing, the operational amplifier circuit in the embodiment of the present invention has a directionless control selection circuit, which supports input or output operations at any time. Even if the printed circuit board, i.e., PCB, has been manufactured and finalized, or even has been mounted, soldered, or installed in field equipment, it can be changed to input or output at will, thereby appearing to be more proactive and advantageous in supporting intelligent measurement and control products than the interface devices currently on the market, and realizing that a certain port can be used as input at any time if it is desired, and can be used as output at any time if it is desired, making the intelligent product more intelligent.

[0067] According to an embodiment of the present invention, a driving circuit is also provided. The driving circuit can be used as an input driving circuit. The driving circuit can be used to drive an object with constant current operation, such as an LED. The driving circuit may include Figures 1 to 4 Any of the operational amplifiers shown. Figure 5 is a schematic diagram of the structure of an LED driving circuit according to an embodiment of the present invention. Figure 5 As shown, the driving circuit may include: Figures 1 to 4 Any operational amplifier I shown in the figure; a first resistor divider Rbdj, an adjustable end of which is connected to the first port Vdj in the operational amplifier, and the other end is connected to the power supply Vcc, wherein one end of the anode of the driven LED is connected to the power supply Vcc or to a power supply common to the fourth port as shown in the figure. Figure 6 The first resistor divider Rbdj and Rb, combined with the second resistor divider Redj and Re, jointly determine the magnitude of the driving current flowing through the driven object.

[0068] Because LED is a positive temperature coefficient device, it needs to be driven by a circuit with a current limiting function to ensure that the maximum current flowing through the LED will never exceed its maximum allowable operating current value. According to the above, it can be seen that the operational amplifier circuit in the embodiment of the present invention meets the basic requirements of the LED driving circuit and can be used to drive some commonly used LED light-emitting diodes, such as Figure 5 shown.

[0069] exist Figure 5 In the method of adjusting the working current of the LED (i.e. the current flowing through the LED), one of the following two methods or both of the following methods can be used:

[0070] The first one is that when the resistance value of the emitter E of the transistor Q, that is, the port I / Oe to the ground GND is constant, the value of the LED working current is adjusted by adjusting the value of the voltage loaded to the Vdj port. Figure 5The element that provides an adjustable voltage value for Vdj is a resistor divider, i.e., a variable resistor. The larger the voltage value divided by the resistor divider, the greater the working current flowing through the LED. Conversely, the smaller the voltage value divided by the resistor divider, the smaller the working current flowing through the LED. The specific voltage divider value is determined by the actual working current value required when the LED is working.

[0071] The second method is to adjust the resistance of the resistor Redj connected in parallel to the I / Oe port to change the current flowing through the LED accordingly. Figure 5 If the resistance value of Redj is reduced, the working current flowing through the LED will increase. Figure 5 The larger the resistance value of Redj, the smaller the working current flowing through the LED. The specific value of the resistor Redj is determined by the actual working current value required when the LED is working.

[0072] It should be noted that Figure 5 In the figure, LED is a driven light emitting diode, Rbdj and Redj are both rheostats, which can be used to adjust the brightness of the LED. In practical applications, rheostats Rbdj and Redj can be used simultaneously or either one of them can be used alone. If the brightness does not need to be adjusted, they can be fixed to a proper value according to the required brightness. The range of this proper value is: Redj>0, that is, I / Oe cannot be short-circuited to the ground, Rbdj<∞, that is, Vdj should not be disconnected to Vcc.

[0073] According to an embodiment of the present invention, a driver is further provided. The driver can be used as an information driver and can be used to drive an electronic graphic display screen, wherein the electronic graphic display screen includes at least one driving signal input interface. Figure 7 is a schematic diagram of the structure of an electronic graphic display screen driver according to an embodiment of the present invention. Figure 7 As shown, the LED electronic graphic display screen V may include at least one driving signal input interface, VI is the driving signal input interface of the LED electronic graphic display screen, such as Figure 7 The 08 interface or 12 interface shown can be arranged by modifying the lead wires according to different interface definitions. The driver IV of the electronic graphic display screen may include: a driving circuit II connected to at least one driving signal input interface, wherein the driving circuit II includes at least one Figures 1 to 4 Any of the operational amplifiers shown, at least one Figures 1 to 4An integrated circuit of a display structure composed of any one of the operational amplifiers shown; a control unit III, connected to a driving circuit II, for controlling the driving process of the driving circuit II on the electronic graphic display screen, wherein the control unit III can be a CPU or an MCU; and a power supply, respectively connected to the driving circuit II and the control unit III.

[0074] Optionally, the display-type driving circuit II can be used to drive LED electronic graphic display screens with various standard interfaces. Figure 8 is a schematic diagram of the structure of a display type driving circuit according to an embodiment of the present invention. Figure 8 As shown, the driving circuit II may include: a power supply port, connected to a power supply, wherein the power supply port is a common port of the first port in at least one operational amplifier, i.e., a Vdj port, and a current non-inverting input port or a voltage non-inverting input port of the operational amplifier corresponds to a base port of a transistor; at least one emitter port, respectively connected to a control unit III, wherein a current non-inverting input port or a voltage non-inverting input port of each operational amplifier corresponds to an emitter port, i.e., I / Oe1, I / Oe2, ..., I / Oen; at least one collector port, respectively connected to at least one driving signal input interface, wherein an output port of each operational amplifier corresponds to a collector port, i.e., I / Oc1, I / Oc2, ..., I / Ocn; and a ground port, which is a common port of the fourth port in at least one operational amplifier, i.e., a GND port.

[0075] The Vdj ports of each basic unit in the driving circuit II are all connected to the same Vdj port, the GND ports of each basic unit are also all connected to the same GND port, and the I / Oe and I / Oc of each unit are independently led out to form I / Oe1, I / Oe2, ..., I / Oen and corresponding I / Oc1, I / Oc2, ..., I / Ocn of the integrated circuit with a display structure. The number of units here can be n=2, 3, ..., 32, etc.

[0076] According to an embodiment of the present invention, a detection device is also provided. The detection device can be used to detect the on-off state of a switch. The detection device may include: Figures 1 to 4 Any one of the operational amplifiers shown, wherein the third port of the operational amplifier serves as a signal input port, and the detection device may also include: a switch as a measured object, one end of which is connected to the collector of the transistor of the operational amplifier through the signal input port, and one end is grounded; and a current limiting resistor, which is used to convert the on-off state of the switch into a low-high state of the level signal, wherein the third port of the operational amplifier can be connected to the power supply of the detection device or the power supply shared with the fourth port through the current limiting resistor.

[0077] Taking the detection device in the embodiment of the present invention to detect the on / off state of a car horn switch as an example, Fig. 9 is a schematic diagram of the structure of a device for detecting the switch state of a car horn according to an embodiment of the present invention. Fig. 9 As shown, the detection device may include Figures 1 to 4 For any one of the operational amplifiers I shown, the detection device may also include: a relay Kj, one end of which is connected to the automobile power supply Ve, and the other end is connected to the measurement point P of the horn switch Ko under test. It should be noted that the relay Kj here can also have the function of a current limiting resistor, which is mainly used to convert the on-off state of the automobile horn switch into a low-high state of the level signal; the horn switch Ko under test, one end of which the measurement point P of the horn switch Ko under test is located is respectively connected to the third port I / Oc in the operational amplifier and the relay Kj, and the other end is grounded, wherein the first port Vdj of the operational amplifier is connected to the power supply Vcc of the detection device.

[0078] Fig.10 It is a structural schematic diagram of a vehicle horn switch status detection device according to the prior art. Fig.11 It is a structural schematic diagram of another vehicle horn switch state detection device according to the prior art. Fig.10 , Fig.11 and Fig. 9 It can be seen that the vehicle horn switch state detection device of the embodiment of the present invention can automatically adapt to the test vehicles with 12V and 24V power supply systems. Specifically:

[0079] Figures 9 to 11 VII is a relay Kj for controlling the car horn with a release current less than 10mA and a pull-in current greater than 20mA. Ko is a control switch installed on the steering wheel. When the control switch Ko on the steering wheel is pressed, the car horn will sound. P is the detection sampling point. When Ko is connected, the level of P is 0. When Ko is disconnected, if the sampling sensor is not connected, the level of P will be equal to the voltage Ve of the car power supply system. If the method of detecting whether the switch Ko is connected is used to detect whether the driver has honked the horn, then:

[0080] like Fig.10 As shown, VIII is a photocoupler used to form a sensor for collecting Ko status, Rc is a pull-up resistor of the output terminal I / Oe of this photocoupler VIII, and Ri is a current-limiting resistor of the input terminal I / Oc of the photocoupler VIII. Fig.10When the photoelectric coupler VIII in the sensor is used to make the corresponding detection sensor, a current of about 5mA must flow through the horn relay VII and enter the sampling port I / Oc of the sensor. When the release current of the horn relay VII is less than 10mA, the sensor designed for the Ve=12V power supply system cannot be used for the Ve=24V power supply system. Otherwise, the relay VII may not be released after the horn is sounded, resulting in a long horn sound. Conversely, if the sensor designed for the Ve=24V power supply system is used for the Ve=12V power supply system, the current flowing through the horn relay VII and entering the photoelectric coupler VIII through the sampling port I / Oc may be less than 3mA, resulting in failure to detect whether the on / off state of the switch Ko for sounding the horn has changed.

[0081] like Fig.11 As shown, Ri and Ro are two voltage-dividing resistors that constitute a voltage-dividing sensor. One end of Ri is directly connected to the detection sampling point P through I / Oc, and the other end is connected to Ro. The other end of Ro is directly connected to the common ground terminal GND. The output signal is the voltage of Ro to the ground. The output signal is output from I / Oe, which is directly connected to the connection point between Ri and Ro. Fig.11 When the resistance voltage division method shown is used to make the corresponding detection sensor, although it can ensure that the relay Ⅶ will not fail to release after the horn is sounded, causing the horn to sound for a long time, but when the sensor designed for the power supply system of Ve=12V is used on the power supply system of Ve=24V, the voltage output from its sampling output port I / Oe will increase to 200%, and such a detection signal may cause the corresponding post-stage analysis circuit to be damaged. Conversely, if the sensor designed for the power supply system of Ve=24V is used on the power supply system of Ve=12V, the voltage output from its sampling output port I / Oe will decrease to 50%, and such a detection signal may fail to detect whether the on-off state of the switch Ko for sounding the horn has changed.

[0082] like Fig. 9 As shown, the operational amplifier circuit of the embodiment of the present invention is used to make the corresponding detection sensor. Because it is a constant current and the current absorbed from the sampling port I / Oc can be as small as less than 1mA, the same sampling hardware circuit, whether used in a power supply system of Ve=12V or Ve=24V, can reliably detect the on-off state of Ko without adversely affecting the previous and next stage circuits.

[0083] The present invention can achieve the following technical effects:

[0084] 1. The circuit described in the present invention is a bidirectional interface circuit that can adapt to input and output without the need for direction selection control. The circuit has few components and a simple structure. The component production process and application technology are mature, and it is easy to manufacture in an integrated manner. The product is easy to promote and apply, and has great market potential.

[0085] 2. When the circuit of the present invention is used to make or modify a board that has been widely used in the field of measurement and control, it has a wider range of uses than a board made with other components as interface circuits, and the direction change between input and output is more flexible, which is convenient for product development and practical application.

[0086] 3. Since the circuit of the present invention does not require direction selection control, when used as an interface device, it can not only save the port pin resources of the CPU or MCU, but also save software overhead and PCB board area, reducing the R&D cycle, production cost and maintenance cost of the entire application system. In particular, when some input or output ports are insufficient and some outputs or inputs in the same system have sufficient surplus, or when the position of some input or output ports needs to be adjusted, the circuit of the present invention does not need to re-make the corresponding application board, but only needs to redefine the mapping relationship between the software port and the hardware port.

[0087] 4. When the circuit of the present invention is used as an input interface, since the sampling current can be adjusted to less than 1mA, or even smaller than the microampere level, when it is used to sample high-voltage and high-impedance signals with conducted interference noise, compared with the optocoupler input port that needs to divert at least 5mA of current from the sampling point, the impact on the signal source can be significantly reduced.

[0088] 5. When the circuit of the present invention is used as the input and output port of an intelligent product, since there is no requirement for direction selection, it can be used as input or output at will, making the product more "intelligent" with less software and hardware overhead.

[0089] 6. The circuit described in the present invention can automatically adapt to the requirements of various input and output interface circuits, which can reduce the storage and management costs of R&D and production units. R&D personnel can study the performance, parameters and application technologies of several interface circuits less, thereby shortening the cycle.

[0090] 7. The circuit of the present invention can dynamically or statically drive the LED device, so that the interface circuit can be applied to the field of human-machine interface, making the application of products designed by R&D personnel more flexible and more powerful.

[0091] 8. When used in a driving skill test system, by using the display interface circuit of the present invention, the same hardware can be used to collect various signals on the vehicle required for the driving test and to drive the LED electronic graphic information screen on the roof of the test vehicle through corresponding software.

[0092] 9. When the circuit of the present invention is used in a driving skill test system, it can automatically adapt to test vehicles with 12V and 24V power supply systems, while the sampling method using resistor current limiting or voltage division does not necessarily have the adaptive function.

[0093] 10. The circuit of the present invention is used to make a status signal detection sensor. Because of its chopping effect, the conducted interference noise can be severely attenuated, which is far superior to the photoelectric coupler. Because of its current limiting effect, the output voltage obtained from the output port I / Oe is constant. For the voltage signal whose detection voltage does not exceed the maximum value allowed by I / Oc, the voltage isolation effect is close to that of the photoelectric coupler, and the shunt effect is far superior to that of the photoelectric coupler.

[0094] 11. When the circuit of the present invention is applied to the input and output ports of a microcontroller MCU or a central processing unit CPU, the input level value it can withstand can be much higher than its working voltage, thereby greatly simplifying the peripheral circuit structure of the application system.

[0095] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0096] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways.

[0097] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An operational amplifier comprising a transistor, It is characterized in that The operational amplifier is used as an input or output interface, wherein when the operational amplifier corresponds to a transistor, the external circuit of the transistor further includes: A first port connected to the base of the transistor through a first resistor; A second port connected to the emitter of the transistor; a third port connected to the collector of the transistor; and A fourth port, connected to the emitter of the transistor through the second resistor, serving as a common port for signal input and signal output; The operational amplifier further includes: a first diode connected in series with the first resistor, wherein the anode of the first diode is connected to the first resistor and the cathode is connected to the base of the transistor, or the anode of the first diode is connected to the first port and the cathode is connected to the first resistor; The operational amplifier further includes: a second diode, an anode of which is connected to the emitter of the transistor, and a cathode of which is connected to the third port; In the case where the operational amplifier includes the second diode, the operational amplifier serves as a current or voltage output driving interface, wherein the second diode is used to determine the maximum current amount that the operational amplifier is allowed to output.

2. A drive interface, the drive interface is a current or voltage drive interface, It is characterized in that The driving interface includes the operational amplifier according to claim 1, the first port and the fourth port of the operational amplifier are suspended, the driving current or the driving voltage flows into the second port of the operational amplifier, passes through the second diode in the operational amplifier and flows out from the third port of the operational amplifier, wherein the third port of the operational amplifier is connected to the driven object.

3. A measurement and control device, It is characterized in that It comprises at least one measurement and control interface, wherein the measurement and control interface is the operational amplifier according to claim 1.

4. A driving circuit, the driving circuit is used to drive an LED, It is characterized in that The driving circuit comprises the operational amplifier according to claim 1, and the driving circuit further comprises: A first resistor divider, wherein an adjustable end is connected to the first port of the operational amplifier, and the other end is connected to the power supply, wherein one end of the anode of the driven LED is connected to the power supply or a power supply common to the fourth port, and the other end is connected to the third port of the operational amplifier; and The second resistor voltage divider has an adjustable end connected to the second port of the operational amplifier and the other end grounded.

5. A driver for driving an electronic graphic display screen, in, The electronic graphic display screen includes at least one driving signal input interface, wherein the driver includes: a driving circuit connected to the at least one driving signal input interface, wherein the driving circuit comprises at least one operational amplifier according to claim 1; a control unit, connected to the driving circuit, and used to control the driving process of the driving circuit on the electronic graphic display screen; and A power supply is connected to the drive circuit and the control unit respectively.

6. The driver according to claim 5, It is characterized in that The driving circuit comprises: A power port connected to the power supply, wherein the power port is a common port of the first port of the at least one operational amplifier, and a current non-inverting input port or a voltage inverting input port of the operational amplifier corresponds to a base port of a transistor; At least one emitter port, connected to the control unit respectively, wherein the current inverting input port or the voltage non-inverting input port of each operational amplifier corresponds to the emitter port of a transistor; at least one collector port, respectively connected to the at least one drive signal input interface, wherein the output port of each operational amplifier corresponds to one collector port; and The ground port is a common port of the fourth port in the at least one operational amplifier.

7. A detection device, the detection device is used to detect the on-off state of a switch, It is characterized in that The detection device comprises the operational amplifier according to claim 1, the third port of the operational amplifier is used as a signal input port, and the detection device further comprises: A switch as a measured object, one end of which is connected to the collector of the transistor of the operational amplifier through the signal input port, and one end of which is grounded; and A current limiting resistor is used to convert the on-off state of the switch into a low-high state of the level signal, wherein the third port of the operational amplifier is connected to the power supply of the detection device or the power supply shared with the fourth port through the current limiting resistor.

8. A sensor adapted to detect a signal level state within a wide voltage fluctuation range, It is characterized in that The operational amplifier comprises the operational amplifier as claimed in claim 1, wherein the signal source to be detected is connected to the third port, the detection signal is output from the second port, and the amount of current diverted by the transistor from the signal source is controlled by adjusting the second resistor or the first resistor.