CN214177270U - Error amplification circuit capable of saving MCU pins - Google Patents

Error amplification circuit capable of saving MCU pins Download PDF

Info

Publication number
CN214177270U
CN214177270U CN202022832422.9U CN202022832422U CN214177270U CN 214177270 U CN214177270 U CN 214177270U CN 202022832422 U CN202022832422 U CN 202022832422U CN 214177270 U CN214177270 U CN 214177270U
Authority
CN
China
Prior art keywords
resistance
mcu
error amplifier
resistor
pin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202022832422.9U
Other languages
Chinese (zh)
Inventor
朱理贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunshan Shuotong Electronics Co ltd
Original Assignee
Kunshan Shuotong Electronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kunshan Shuotong Electronics Co ltd filed Critical Kunshan Shuotong Electronics Co ltd
Priority to CN202022832422.9U priority Critical patent/CN214177270U/en
Application granted granted Critical
Publication of CN214177270U publication Critical patent/CN214177270U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Amplifiers (AREA)

Abstract

The utility model discloses a save error amplification circuit of MCU pin, it includes first resistance, the second resistance, the third resistance, the fourth resistance, the fifth resistance, the sixth resistance, MCU, error amplifier, first electric capacity, MCU has a pin, first resistance and second resistance are parallelly connected, first resistance, the third resistance, the fourth resistance is established ties in proper order, the third resistance, the fourth resistance all is connected with error amplifier's positive input end, the sixth resistance is established ties with first electric capacity, the fifth resistance, first electric capacity all is connected with error amplifier's negative pole input end, the sixth resistance is connected with error amplifier's output, the fourth resistance is connected with MCU. The pins of the MCU respectively output three different states of high level, low level and high resistance state to obtain three different voltages, so that more control functions are realized, the number of pins of the MCU can be saved, and resources are fully utilized.

Description

Error amplification circuit capable of saving MCU pins
Technical Field
The utility model relates to an amplifier circuit especially relates to an error amplifier circuit who saves MCU (Microcontroller Unit, Microcontroller) pin.
Background
The phase input end of a common error amplifier circuit can only obtain two different voltages, and an additional MCU pin is required to be connected to obtain a third voltage.
Disclosure of Invention
To the above situation, in order to overcome the defects of the prior art, the utility model provides a save error amplification circuit of MCU pin.
The utility model discloses a solve above-mentioned technical problem through following technical scheme: the utility model provides a save error amplification circuit of MCU pin, its characterized in that, it includes first resistance, the second resistance, the third resistance, the fourth resistance, the fifth resistance, the sixth resistance, MCU, the error amplifier, first electric capacity, MCU has a pin, first resistance and second resistance are parallelly connected, first resistance, the third resistance, the fourth resistance is established ties in proper order, the third resistance, the fourth resistance all is connected with the positive input of error amplifier, the sixth resistance is established ties with first electric capacity, the fifth resistance, first electric capacity all is connected with the negative input of error amplifier, the sixth resistance is connected with the output of error amplifier, the fourth resistance is connected with MCU.
Preferably, the first resistor, the second resistor, the third resistor and the fourth resistor form a voltage division line of the error amplifier, so that voltage division is facilitated.
Preferably, the fourth resistor is a downward bias resistor, and stable bias can be performed.
Preferably, the fifth resistor is connected with a sampling end, so that sampling is facilitated.
The utility model discloses an actively advance the effect and lie in: the pins of the MCU respectively output three different states of high level, low level and high resistance state to obtain three different voltages, so that more control functions are realized, the number of pins of the MCU can be saved, and resources are fully utilized.
Drawings
Fig. 1 is the circuit diagram of the error amplifying circuit for saving the MCU pins of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore, should not be construed as limiting the present invention.
As shown in fig. 1, the utility model discloses save error amplifier circuit of MCU pin includes first resistance R1, second resistance R2, third resistance R3, fourth resistance R4, fifth resistance R5, sixth resistance R6, MCU U1, error amplifier U2, first electric capacity C1, MCU U1 has a pin GATE1, first resistance R1 and second resistance R2 are parallelly connected, first resistance R1, third resistance R3, fourth resistance R4 is established ties in proper order, third resistance R3, fourth resistance R4 all are connected with error amplifier U2's positive input end, sixth resistance R6 is established ties with first electric capacity C1, fifth resistance R5, first electric capacity C1 all is connected with error amplifier U2's negative pole input end, sixth resistance R6 is connected with error amplifier U2's output, fourth resistance R4 is connected with U1.
The first resistor R1, the second resistor R2, the third resistor R3 and the fourth resistor R4 form a voltage division line of the error amplifier, so that voltage division is convenient.
The fourth resistor R4 is a downward bias resistor, and can perform stable bias.
The fifth resistor R5 is connected to a sampling terminal CS for facilitating sampling.
The working principle of the utility model is as follows: the utility model discloses a parts such as first resistance R1, second resistance R2, third resistance R3, fourth resistance R4, fifth resistance R5, sixth resistance R6, MCU U1, error amplifier U2, first electric capacity C1 are the parts that general standard component or field technician know, and its structure and principle all are this technical staff and all can learn through the technical manual or learn through conventional experimental method. When the circuit is used, the resistance values of the first resistor R1, the second resistor R2, the third resistor R3 and the fourth resistor R4 can be flexibly selected according to requirements. When the pin GATE1 of the MCU U1 outputs a high level and a high impedance state, respectively, the non-inverting input terminal of the error amplifier U2 can obtain two different voltages. When the pin GATE1 of the MCU U1 outputs a low level, the pin GATE1 of the MCU U1 is equivalent to ground, and since the third resistor R3 divides the voltage, the non-inverting input of the error amplifier U2 can obtain a third different voltage. The voltage division circuit can realize more control functions by using a single MCU pin, and saves the use of the number of the MCU pins.
In summary, the pins of the MCU can output three different states, i.e., high level, low level, and high impedance, to obtain three different voltages, so as to achieve more control functions, save the number of pins of the MCU, and fully utilize resources.
The basic principles and the main features of the invention and the advantages of the invention have been shown and described above, it will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, but that the invention may be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (4)

1. The utility model provides a save error amplification circuit of MCU pin, its characterized in that, it includes first resistance, the second resistance, the third resistance, the fourth resistance, the fifth resistance, the sixth resistance, MCU, the error amplifier, first electric capacity, MCU has a pin, first resistance and second resistance are parallelly connected, first resistance, the third resistance, the fourth resistance is established ties in proper order, the third resistance, the fourth resistance all is connected with the positive input of error amplifier, the sixth resistance is established ties with first electric capacity, the fifth resistance, first electric capacity all is connected with the negative input of error amplifier, the sixth resistance is connected with the output of error amplifier, the fourth resistance is connected with MCU.
2. The MCU pin-saving error amplifier circuit of claim 1, wherein the first resistor, the second resistor, the third resistor and the fourth resistor form a voltage dividing circuit of the error amplifier.
3. The MCU pin-saving error amplification circuit of claim 1, wherein the fourth resistor is a downward bias resistor.
4. The MCU pin-saving error amplification circuit of claim 1, wherein the fifth resistor is connected to a sampling terminal.
CN202022832422.9U 2020-12-01 2020-12-01 Error amplification circuit capable of saving MCU pins Active CN214177270U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202022832422.9U CN214177270U (en) 2020-12-01 2020-12-01 Error amplification circuit capable of saving MCU pins

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202022832422.9U CN214177270U (en) 2020-12-01 2020-12-01 Error amplification circuit capable of saving MCU pins

Publications (1)

Publication Number Publication Date
CN214177270U true CN214177270U (en) 2021-09-10

Family

ID=77603127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202022832422.9U Active CN214177270U (en) 2020-12-01 2020-12-01 Error amplification circuit capable of saving MCU pins

Country Status (1)

Country Link
CN (1) CN214177270U (en)

Similar Documents

Publication Publication Date Title
CN103323653B (en) A kind of low limit sample circuit
CN214177270U (en) Error amplification circuit capable of saving MCU pins
CN204258272U (en) A kind of converter high accuracy thermal-shutdown circuit
CN201698195U (en) Expansion circuit of single chip microcomputer IO ports
CN204557272U (en) Automobile voltage-stabilized power supply circuit
CN103929061A (en) Constant flow source with single power supply adjustable
CN210776688U (en) Ideal diode circuit device with very low cost
CN212749657U (en) Circuit for optimizing accuracy of positive and negative output voltages
CN211878070U (en) Test module
CN210166432U (en) Low-voltage low-frequency small-signal current detection circuit
CN206759414U (en) Single-ended analog input interface circuit
CN203313057U (en) Power supply circuit
CN103091543B (en) Current detection circuit, constant current circuit and battery charging and discharging protective system
CN208922586U (en) A kind of teaching demonstration device of linear direct current regulated power supply
CN203433402U (en) Pulse digital amplifier circuit
CN206759416U (en) Difference type analog input interface circuit
CN216485222U (en) High-precision circuit sampling circuit
CN206990089U (en) A kind of safe scale
CN214011345U (en) High-voltage bus current sampling circuit
CN206805994U (en) Recording instrument without paper with backlight drive protection
CN201440168U (en) E-load machine
CN105511544A (en) Adjustable voltage stabilizing circuit
CN210348296U (en) Circuit control structure of multi-path constant current source
CN204517686U (en) Voltage stabilizing full-wave rectifying circuit
CN201662914U (en) Thermistor experimental device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant