CN105893889A - Absolute value circuit - Google Patents
Absolute value circuit Download PDFInfo
- Publication number
- CN105893889A CN105893889A CN201610191689.XA CN201610191689A CN105893889A CN 105893889 A CN105893889 A CN 105893889A CN 201610191689 A CN201610191689 A CN 201610191689A CN 105893889 A CN105893889 A CN 105893889A
- Authority
- CN
- China
- Prior art keywords
- comparator
- resistance
- diode
- resistor
- connects
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06G—ANALOGUE COMPUTERS
- G06G7/00—Devices in which the computing operation is performed by varying electric or magnetic quantities
- G06G7/12—Arrangements for performing computing operations, e.g. operational amplifiers
- G06G7/25—Arrangements for performing computing operations, e.g. operational amplifiers for discontinuous functions, e.g. backlash, dead zone, limiting absolute value or peak value
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Networks Using Active Elements (AREA)
Abstract
The invention discloses an absolute value circuit which comprises a comparator U1, a comparator U2, a diode D1, a capacitor C1, a resistor R1 and a potentiometer RP1, wherein one end of the resistor R1 is respectively connected with a resistor R2 and input signal Vi, the other end of the resistor R1 is respectively connected with a resistor R3, the negative electrode of the diode D1 and the anti-phase end of the comparator U1, the anti-phase end of the comparator U1 is connected with the grounding potentiometer RP1, the output end of the comparator U1 is respectively connected with the positive electrode of the diode D1 and the negative electrode of the diode D2, the positive electrode of the diode D2 is respectively connected with the other end of the resistor R and a resistor R6, and the other end of the resistor R6 is respectively connected with the anti-phase end of the comparator U2, a resistor R4 and a resistor R5. The absolute value circuit employs two comparators as main controlling elements, which cooperate with capacitance-resistance element to correct signal phase. The circuit precision is improved. The circuit structure is simple, the cost is low, the size is small, and the application scope is wide.
Description
Technical field
The present invention relates to a kind of analog circuit, specifically a kind of absolute value circuit.
Background technology
In circuit control system, the AC signal of various circuit all there are negative signal components, needs during specifically used
First negative signal is partially changed into positive signal, i.e. need to add absolute value circuit make output signal be input signal absolute value or with this
Absolute value is directly proportional;In prior art, absolute value circuit is most commonly used that and directly uses rectifier tube, and this method is simple,
But owing to rectifier tube exists forward voltage drop, therefore can not get high-precision absolute value voltage;Additionally, use special chip to enter
Row sampling, Costco Wholesale is high;Often there is serious doing in the signal meanwhile entering absolute value circuit in the signal of telecommunication transmits
Disturb, affect precision.
Summary of the invention
It is an object of the invention to provide a kind of absolute value circuit, with the problem solving to propose in above-mentioned background technology.
For achieving the above object, the present invention provides following technical scheme:
A kind of absolute value circuit, including comparator U1, comparator U2, diode D1, electric capacity C1, resistance R1 and current potential
Device RP1, described resistance R1 one end connects resistance R2 and input signal Vi respectively, and the resistance R1 other end connects resistance respectively
R3, diode D1 negative pole and comparator U1 end of oppisite phase, comparator U1 end of oppisite phase connects earthing potential device RP1, comparator
U1 outfan connects diode D1 positive pole and diode D2 negative pole respectively, diode D2 positive pole connect respectively resistance R3 another
End and resistance R6, the resistance R6 other end connects comparator U2 end of oppisite phase, resistance R4 and resistance R5 respectively, and resistance R4 is another
One end connects ground capacity C3 and the resistance R2 other end respectively, and the described resistance R5 other end connects comparator U2 output respectively
End and output end vo, comparator U2 end of oppisite phase connects earthing potential device RP2, and comparator U2 power end connects ground connection electricity respectively
Holding C1 and power supply VCC+, comparator U2 earth terminal connects ground capacity C2 and power supply VCC-respectively.
As the present invention further scheme: described comparator U1 and comparator U2 all uses LM324.
Compared with prior art, the invention has the beneficial effects as follows: the present invention use two comparators as main control element,
Coordinating Resistor-Capacitor Unit, can be corrected signal phase, improve the precision of circuit, circuit structure is simple, low cost, body
Long-pending little, applied widely.
Accompanying drawing explanation
Fig. 1 is the circuit diagram of absolute value circuit.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly and completely
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on this
Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under not making creative work premise
Execute example, broadly fall into the scope of protection of the invention.
Referring to Fig. 1, in the embodiment of the present invention, a kind of absolute value circuit, including comparator U1, comparator U2, diode
D1, electric capacity C1, resistance R1 and potentiometer RP1, described resistance R1 one end connects resistance R2 and input signal Vi respectively,
The resistance R1 other end connects resistance R3, diode D1 negative pole and comparator U1 end of oppisite phase respectively, and comparator U1 end of oppisite phase is even
Meeting earthing potential device RP1, comparator U1 outfan connects diode D1 positive pole and diode D2 negative pole, diode respectively
D2 positive pole connects the resistance R3 other end and resistance R6 respectively, and the resistance R6 other end connects comparator U2 end of oppisite phase, electricity respectively
Resistance R4 and resistance R5, the resistance R4 other end connects ground capacity C3 and the resistance R2 other end respectively, and described resistance R5 is another
One end connects comparator U2 outfan and output end vo respectively, and comparator U2 end of oppisite phase connects earthing potential device RP2, compares
Device U2 power end connects ground capacity C1 and power supply VCC+ respectively, comparator U2 earth terminal connect respectively ground capacity C2 and
Power supply VCC-;Described comparator U1 and comparator U2 all uses LM324.
The operation principle of the present invention is: refer to Fig. 1, and as Vi > 0, D1 ends, and D2 turns on, and input signal Vi is passed through
The anti-phase amplification of U1, enter together with Vi the most again U2 constitute anti-phase adder, according to resistors match relation arrange resistance R3,
The resistance values such as R6, are finally output as Vo=Vi;As Vi < 0, D1 turns on, and D2 ends, and now to be in deep negative anti-for U1
Feedback state, thus input signal Vi be directly over U2 anti-phase after, obtain export Vo=-Vi;Electric capacity C1 and C2 is that electric capacity goes
Coupling;In-phase input end at U1 and U2 uses circuit structure in Fig. 1, not only by regulator potentiometer RP1 and RP2
Make zero potential tend towards stability, suppress null offset, moreover it is possible to the joining place of waveform is adjusted;When Vi signal frequency increases
Time, U1 and U2 can make signal produce certain delay, i.e. phase place offsets, and electric capacity C3 is constituted with resistance R2, R4
Circuit can cause inverse delayed, it is thus possible to signal phase is corrected, improve the precision of circuit.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, and do not carrying on the back
In the case of the spirit or essential attributes of the present invention, it is possible to realize the present invention in other specific forms.Therefore, no matter from
From the point of view of which point, all should regard embodiment as exemplary, and be nonrestrictive, the scope of the present invention is by appended power
Profit requires rather than described above limits, it is intended that all by fall in the implication of equivalency and scope of claim
Change is included in the present invention.Should not be considered as limiting involved claim by any reference in claim.
Although moreover, it will be appreciated that this specification is been described by according to embodiment, but the most each embodiment only comprises
One independent technical scheme, this narrating mode of description is only the most for clarity sake, and those skilled in the art should be by
Description is as an entirety, and the technical scheme in each embodiment can also be through appropriately combined, and forming those skilled in the art can
With other embodiments understood.
Claims (2)
1. an absolute value circuit, including comparator U1, comparator U2, diode D1, electric capacity C1, resistance R1 and electricity
Position device RP1, it is characterised in that described resistance R1 one end connects resistance R2 and input signal Vi respectively, resistance R1 another
End connects resistance R3, diode D1 negative pole and comparator U1 end of oppisite phase respectively, and comparator U1 end of oppisite phase connects earthing potential
Device RP1, comparator U1 outfan connects diode D1 positive pole and diode D2 negative pole respectively, and diode D2 positive pole is respectively
Connecting the resistance R3 other end and resistance R6, the resistance R6 other end connects comparator U2 end of oppisite phase, resistance R4 and resistance respectively
R5, the resistance R4 other end connects ground capacity C3 and the resistance R2 other end respectively, and the described resistance R5 other end connects respectively
Comparator U2 outfan and output end vo, comparator U2 end of oppisite phase connects earthing potential device RP2, comparator U2 power end
Connecting ground capacity C1 and power supply VCC+ respectively, comparator U2 earth terminal connects ground capacity C2 and power supply VCC-respectively.
Absolute value circuit the most according to claim 1, it is characterised in that described comparator U1 and comparator U2 all adopts
Use LM324.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610191689.XA CN105893889A (en) | 2016-03-21 | 2016-03-21 | Absolute value circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610191689.XA CN105893889A (en) | 2016-03-21 | 2016-03-21 | Absolute value circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105893889A true CN105893889A (en) | 2016-08-24 |
Family
ID=57014670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610191689.XA Pending CN105893889A (en) | 2016-03-21 | 2016-03-21 | Absolute value circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105893889A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106383540A (en) * | 2016-11-24 | 2017-02-08 | 郑州诚合信息技术有限公司 | Voltage absolute value circuit |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4625961B2 (en) * | 2006-03-09 | 2011-02-02 | 国立大学法人九州工業大学 | Function calculator |
CN102354239A (en) * | 2011-06-10 | 2012-02-15 | 北京机械设备研究所 | Method for regulating mechanical potentiometer in digital potentiometer voltage-regulation circuit |
CN102394608A (en) * | 2011-09-28 | 2012-03-28 | 上海复旦微电子集团股份有限公司 | Oscillator circuit |
CN204009924U (en) * | 2014-07-25 | 2014-12-10 | 国网山西省电力公司大同供电公司 | A kind of high precision absolute value circuit |
CN104682678A (en) * | 2014-12-26 | 2015-06-03 | 深圳青铜剑电力电子科技有限公司 | Isolation power supply for IGBT (Insulated Gate Bipolar Transistor) driving |
CN204926101U (en) * | 2015-08-18 | 2015-12-30 | 中航太克(厦门)电子有限公司 | High accuracy absolute value circuit |
-
2016
- 2016-03-21 CN CN201610191689.XA patent/CN105893889A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4625961B2 (en) * | 2006-03-09 | 2011-02-02 | 国立大学法人九州工業大学 | Function calculator |
CN102354239A (en) * | 2011-06-10 | 2012-02-15 | 北京机械设备研究所 | Method for regulating mechanical potentiometer in digital potentiometer voltage-regulation circuit |
CN102394608A (en) * | 2011-09-28 | 2012-03-28 | 上海复旦微电子集团股份有限公司 | Oscillator circuit |
CN204009924U (en) * | 2014-07-25 | 2014-12-10 | 国网山西省电力公司大同供电公司 | A kind of high precision absolute value circuit |
CN104682678A (en) * | 2014-12-26 | 2015-06-03 | 深圳青铜剑电力电子科技有限公司 | Isolation power supply for IGBT (Insulated Gate Bipolar Transistor) driving |
CN204926101U (en) * | 2015-08-18 | 2015-12-30 | 中航太克(厦门)电子有限公司 | High accuracy absolute value circuit |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106383540A (en) * | 2016-11-24 | 2017-02-08 | 郑州诚合信息技术有限公司 | Voltage absolute value circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105978337B (en) | A kind of offset voltage based on COT control models eliminates circuit | |
CN201203812Y (en) | Adjustable constant-voltage constant-current power supply | |
CN103516191B (en) | Power factor correction method, circuit and switching power supply | |
CN105893889A (en) | Absolute value circuit | |
CN104104343B (en) | Triangular wave generation method and circuit applied to D audio frequency amplifier | |
TW200818101A (en) | Voltage stabilizing circuit | |
CN202840936U (en) | Power factor correction circuit and switching power supply | |
CN105807831A (en) | Linear voltage regulator and linear voltage stabilizing system preventing overshoot | |
CN104808737A (en) | Negative voltage reference circuit | |
CN204668917U (en) | With the thermal-shutdown circuit of decoupling zero function | |
CN103117659A (en) | Current closed-loop control circuit for series load resonant converter | |
CN203070143U (en) | Constant current source with adjustable output currents | |
CN210377817U (en) | Signal acquisition device for fire alarm | |
CN105511544A (en) | Adjustable voltage stabilizing circuit | |
CN106383540A (en) | Voltage absolute value circuit | |
CN102510212B (en) | Double-output charge pump circuit | |
CN204408205U (en) | Single amplifier full-wave rectifying circuit | |
CN203661017U (en) | Comparator realization circuit | |
CN204993059U (en) | Constant voltage power supply's output current control output voltage's circuit | |
CN204856270U (en) | Positive voltage stabilizing circuit of step -down molded lines nature with adjustable exportable zero | |
CN203241850U (en) | Undervoltage locking circuit | |
CN203708102U (en) | Power factor compensation circuit for buck circuit | |
CN104598001A (en) | Regulated power supply used for computer | |
CN103575962B (en) | Passive peak value follower circuit | |
CN107359871A (en) | One kind of multiple electric power wave output systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160824 |
|
WD01 | Invention patent application deemed withdrawn after publication |