CN108768352A - Comparator - Google Patents

Comparator Download PDF

Info

Publication number
CN108768352A
CN108768352A CN201810786073.6A CN201810786073A CN108768352A CN 108768352 A CN108768352 A CN 108768352A CN 201810786073 A CN201810786073 A CN 201810786073A CN 108768352 A CN108768352 A CN 108768352A
Authority
CN
China
Prior art keywords
comparator
branch
current source
output
switch
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.)
Granted
Application number
CN201810786073.6A
Other languages
Chinese (zh)
Other versions
CN108768352B (en
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.)
Shanghai Awinic Technology Co Ltd
Original Assignee
Shanghai Awinic Technology 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 Shanghai Awinic Technology Co Ltd filed Critical Shanghai Awinic Technology Co Ltd
Priority to CN201810786073.6A priority Critical patent/CN108768352B/en
Publication of CN108768352A publication Critical patent/CN108768352A/en
Application granted granted Critical
Publication of CN108768352B publication Critical patent/CN108768352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/22Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral
    • H03K5/24Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude
    • H03K5/2472Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude using field effect transistors
    • H03K5/2481Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude using field effect transistors with at least one differential stage

Landscapes

  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Manipulation Of Pulses (AREA)
  • Amplifiers (AREA)

Abstract

The embodiment of the present application provides a kind of comparator comprising:Amplifier, selecting unit, the first branch, the second branch, amplifier are used to amplify the difference between two voltage, and selecting unit is used for according to amplified voltage difference, and the first branch or the second branch are connected to the output end of comparator by selection;Corresponding first comparison result of the output end output first branch of comparator or corresponding second comparison result of output end output the second branch of comparator;The electric current of the first branch and the electric current of the second branch are determined by reference current source, so that the output current of comparator output terminal is determined by reference current source, so that the electric current of the output end of comparator is the electric current determined by reference current source, two voltages for comparing can be disturbed when the output end overturning for avoiding comparator, and then improve the reliability of comparator output.

Description

Comparator
Technical field
The invention relates to field of circuit technology more particularly to a kind of comparators.
Background technology
In existing integrated circuit technique, often application comparator closes to compare the size between two voltage System.To avoid comparator from being occurred accidentally overturning by noise jamming, existing comparator generally has certain sluggish ability and lock Ability is deposited, to avoid the mistake occurred by noise jamming from overturning by sluggish and latch, improves the reliability of comparator output.
In order to realize that sluggish ability and latch ability, existing comparator generally comprise voltage rating unit and sluggishness portion Point, when comparing two voltage, the size that voltage rating unit compares two voltage, and output voltage comparison result are first passed through, Then sluggish part promotes hysteresis to generate further according to the voltage comparison result of output, and latches output result.The electricity of output There is logic overturning in pressure comparison result, and the output of sluggish part can be caused also to carry out logic overturning, but the logic of sluggish part Overturning can disturb the voltage for comparing, and influence the size of two voltage differences, to interfere output as a result, reducing comparator The reliability of output.
Invention content
In view of this, one of the technical issues of the embodiment of the present application is solved is to provide a kind of comparator, to solve The relatively low problem of the reliability of the output result of comparator in the prior art.
The embodiment of the present application provides a kind of comparator comprising:Amplifier, selecting unit, the first branch, second Road,
The amplifier is used to amplify the difference between two voltage, and the selecting unit is used for according to amplified voltage difference The first branch or the second branch are connected to the output end of the comparator by value, selection;
The output end of the comparator exports corresponding first comparison result of the first branch or the comparator Output end exports corresponding second comparison result of the second branch;
The electric current of the first branch and the electric current of the second branch are determined by reference current source so that the comparison The output current of device output end is determined by the reference current source.
Optionally, in any embodiment of the application, if the first branch is connected to the output end of the comparator, Then the output end of the comparator carries out positive feedback by the first feedback branch;
If alternatively, the second branch is connected to the output end of the comparator, the output end of the comparator passes through Second feedback branch carries out positive feedback.
Optionally, in any embodiment of the application, first feedback branch and second feedback branch On off operating mode is directly controlled by the selecting unit, so that the overturning of the output result of the comparator is happened at hysteresis effect After generation, the hysteresis effect is caused by the positive feedback of first feedback branch or second feedback branch.
Optionally, in any embodiment of the application, the amplifier include Differential Input to pipe, the first current source, Second current source,
The Differential Input is connected to two control poles of pipe, and two input poles are first defeated respectively as the amplifier Enter end and the second input terminal, output of the Differential Input to the output stage of a transistor in pipe as the amplifier End;
First current source and second current source respectively connect two output stages of pipe with the Differential Input It connects, the electric current of first current source and the second current source for reference current source described in mirror image.
Optionally, in any embodiment of the application, the first branch includes the 5th current source, the 5th electric current Electric current of the source for reference current source described in mirror image, it is described if the first branch is connect with the output end of the comparator The output current of comparator output terminal is determined according to the electric current of the 5th current source so that the output of the comparator output terminal Electric current is determined by the reference current source.
Optionally, in any embodiment of the application, the comparator further includes the 6th current source,
One end of 6th current source is connect with the first input end of the comparator, for Differential Input described in mirror image To the electric current of a transistor in pipe, the other end of the 6th current source is connected by a switch with first current source It connects;
If the first branch is connect with the output end of the comparator, the 6th current source and described are connected The switch conduction of one current source so that the 6th current source and the Differential Input are to being mirrored the transistor of electric current in pipe The electric current for dividing first current source, to carry out positive feedback to the comparator.
Optionally, in any embodiment of the application, the second branch includes the 7th current source, the 7th electric current Source is used for electric current of the Differential Input described in mirror image to a transistor in pipe,
If the second branch is connect with the output end of the comparator, the electric current of the comparator output terminal is according to institute The determination of the 7th current source is stated, so that the output current of the comparator output terminal is determined by the reference current source.
Optionally, in any embodiment of the application, the comparator further includes the 8th current source,
One end of 8th current source is connect by a switch with the output stage for the transistor for being mirrored electric current, institute State the electric current of reference current source described in the 8th current source mirror image;
If the second branch is connect with the output end of the comparator, connects the 8th current source and be mirrored electricity The switch conduction of the differential input transistor of stream so that the electric current for being mirrored the differential input transistor of electric current increases Add, to carry out positive feedback to the comparator.
Optionally, in any embodiment of the application, the selecting unit includes that first switch circuit and second open The on off operating mode of powered-down road, the first switch circuit and the second switch circuit is opposite;
The first branch is connected to the output end of the comparator when first switch circuit turn-on, and described second opens The second branch is connected to the output end of the comparator when closing circuit turn-on.
Optionally, in any embodiment of the application, the first switch circuit is opened including the first sub switch, the second son It closing, the second switch circuit includes third sub switch, the 4th sub switch,
The control terminal of first sub switch and the third sub switch is connect with the output end of the amplifier, with logical Cross the on off operating mode that amplified voltage difference controls first sub switch and the third sub switch;
Second sub switch is arranged in series in the second branch, and the 4th sub switch is arranged in series in described One road;
If the first sub switch conducting, the shutdown of third sub switch, first sub switch control second son and open Shutdown, third sub switch control the 4th sub switch conducting, and the first branch is connected to the defeated of the comparator Outlet;
If the first sub switch shutdown, the conducting of third sub switch, first sub switch control second son and open Conducting, third sub switch control the 4th sub switch shutdown are closed, the second branch is connected to the defeated of the comparator Outlet.
Comparator provided by the embodiments of the present application comprising:Amplifier, selecting unit, the first branch, the second branch, institute It states amplifier and is used for according to amplified voltage difference for amplifying the difference between two voltage, the selecting unit, selection will The first branch or the second branch are connected to the output end of the comparator;The output end of the comparator exports institute The output end for stating corresponding first comparison result of the first branch or the comparator exports the second branch corresponding second Comparison result;The electric current of the first branch and the electric current of the second branch are determined by reference current source so that the ratio Output current compared with device output end is determined by the reference current source, so that the electric current of the output end of comparator is to pass through The electric current that reference current source determines, when output end overturning for avoiding comparator, can disturb two voltages for comparing, in turn Improve the reliability of comparator output.
Description of the drawings
Some of detailed description the embodiment of the present application by way of example rather than limitation with reference to the accompanying drawings hereinafter are specific Embodiment.Identical reference numeral denotes same or similar component or part in attached drawing.Those skilled in the art should manage Solution, the drawings are not necessarily drawn to scale.In attached drawing:
Fig. 1 is a kind of structural schematic diagram of comparator provided by the embodiments of the present application;
Fig. 2 is a kind of electrical block diagram of comparator provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of hysteresis comparator using Schmidt trigger;
Circuit waveform figure when Fig. 4 is the circuit work shown in Fig. 3;
Fig. 5 is a kind of structural schematic diagram of comparator provided by the present application;
Fig. 6 is the circuit waveform figure of circuit at work shown in Fig. 5.
Specific implementation mode
Implementing any technical solution of the embodiment of the present application must be not necessarily required to reach simultaneously above all advantages.
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present application, below in conjunction with the application Attached drawing in embodiment, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described reality It is the embodiment of the present application a part of the embodiment to apply example only, instead of all the embodiments.Based on the implementation in the embodiment of the present application Example, the every other embodiment that those of ordinary skill in the art are obtained should all belong to the range of the embodiment of the present application protection.
Further illustrate that the embodiment of the present application implements with reference to the embodiment of the present application attached drawing.
Fig. 1 is a kind of structural schematic diagram of comparator provided by the embodiments of the present application, as shown in Figure 1 comprising:Amplifier 11, selecting unit 12, the first branch 13, the second branch 14.
In the present embodiment, the amplifier 11 is used to amplify the difference between two voltage, as shown in Figure 1, two voltages point It Wei not VIN1, VIN2.
The selecting unit 12 is used for according to amplified voltage difference, and selection is by the first branch 13 or described the Two branches 14 are connected to the output end of the comparator.
Specifically, work as VIN1>When VIN2, selecting unit 12 can select the output that the first branch 13 is connected to comparator VIN1 is worked as at end<When VIN2, selecting unit 12 can select the output end that the second branch 14 is connected to comparator.
The output end of the comparator exports 13 corresponding first comparison result of the first branch or the comparator Output end export 14 corresponding second comparison result of the second branch.
In the present embodiment, as shown in Figure 1, in actual use, one end of the first branch 13 can be with the output of comparator End connection, the other end connect with first voltage V1, and first voltage V1 is specifically as follows VIN1 or VIN2 so that comparator it is defeated Outlet exports corresponding first comparison result of first voltage;One end of the second branch 14 can be connect with the output end of comparator, The other end is connect with second voltage V2, and second voltage V2 is specifically as follows such as GND so that the output end output second of comparator Corresponding second comparison result of voltage.
In the present embodiment, the electric current of the first branch 13 and the electric current of the second branch 14 are true by reference current source It is fixed so that the output current of the comparator output terminal is determined by the reference current source.Comparator output end it is defeated When going out voltage and overturning, such as from the first output result switch to the second output result or by the second output result switching To the first output as a result, the electric current of the output end of comparator is the electric current determined by reference current source, to avoid comparing Two voltages for comparing can be disturbed when the output end overturning of device, and then improve the reliability of comparator output.
Fig. 2 is a kind of electrical block diagram of comparator provided by the embodiments of the present application, as shown in Figure 2 comprising put Big device, selecting unit, the first branch, the second branch.
In the present embodiment, amplifier includes Differential Input to pipe MP0, MP3, the first current source MN1, the second current source MN4.
The Differential Input is connected to two control poles (i.e. the grid of MP0, MP3) of pipe MP0, MP3, two input poles (i.e. the source electrode of MP0, MP3) is respectively as the first input end and the second input terminal of the amplifier, first input end connection First input voltage VIN 1, the second input terminal connect the second input voltage VIN 2, and the Differential Input is to a crystal in pipe Output end of the output stage (draining) of pipe MP3 as the amplifier, the node of the output end of amplifier is the A in Fig. 2 Point.
The first current source MN1 and the second current source MN4 are respectively with the Differential Input to pipe MP0, MP3 Base described in two output stage (i.e. the drain electrode of MP0, MP3) connections, the first current source MN1 and the second current source MN4 mirror images The electric current of quasi- current source Ibias.
In the present embodiment, the input terminal of reference current source Ibias is connect with supply voltage VIN0, reference current source Ibias Output end and the drain electrode of MN0 connect, the drain electrode of the grid of MN0 and MNO connect, the source electrode ground connection of MN0 so that reference current source The electric current of electric current, that is, MN0 of Ibias.
The grid of the source electrode of first current source MN1 and the second current source MN4 ground connection, grid and MN0 connects so that first The electric current of reference current source Ibias described in current source MN1 and the second current source MN4 mirror images.
In the present embodiment, the drain electrode of the first current source MN1 connect the drain electrode of the MP0 in pipe with Differential Input, the second electricity The drain electrode of stream source MN4 connect the drain electrode of the MP3 of pipe with Differential Input, using the current source load as Differential Input to pipe.
In the present embodiment, selecting unit includes first switch circuit and second switch circuit, the first switch circuit And the on off operating mode of the second switch circuit is opposite;The first branch is connected to institute when the first switch circuit turn-on State the output end of comparator, when second switch circuit turn-on, the second branch was connected to the output end of the comparator.
Specifically, described as shown in Fig. 2, the first switch circuit includes the first sub switch MP4, the second sub switch MP2 Second switch circuit includes third sub switch MN5, the 4th sub switch MN3.
The control terminal of the first sub switch MP4 and the third sub switch MN5 and the output end of the amplifier connect It connects, to control the break-make shape of the first sub switch MP4 and the third sub switch MN5 by amplified voltage difference State.
The second sub switch MP2 is arranged in series in the second branch, and the 4th sub switch MN3 is arranged in series in In the first branch.
Specifically, the grid of the 4th sub switch MN3 is connect with the grid of the first current source, the source electrode of the 4th sub switch MN3 And both ends of the drain electrode as switch, the 4th sub switch MN3 are arranged in series in the first branch.The grid of second sub switch MP2 The grid of pipe MP0, MP3 are connected to Differential Input, the source electrode of the second sub switch MP2 and the both ends to drain as switch, the Two sub switch MP2 are arranged in series in the second branch.
If the first sub switch MP4 conductings, the MN5 shutdowns of third sub switch, described in the first sub switch MP4 controls Second sub switch MP2 shutdowns, third sub switch MN5 control the 4th sub switch MN3 conductings, and the first branch is connected To the output end of the comparator.
If the first sub switch MP4 shutdowns, the MN5 conductings of third sub switch, described in the first sub switch MP4 controls Second sub switch MP2 conductings, third sub switch MN5 control the 4th sub switch MN3 shutdowns, and the second branch is connected To the output end of the comparator.
Specifically, in the present embodiment, as shown in Fig. 2, the first branch includes the 5th current source MN2, the 5th current source Electric currents of the MN2 for reference current source Ibias described in mirror image, grid and source electrode connection type and the first above-mentioned current source MN1 is identical, and drain electrode is connected with the source electrode of third switching tube MN5 and the 4th switching tube MN3.
If the first sub switch MP4 conducting, the MN5 shutdowns of third sub switch, the source electrode of the second sub switch MP2 passes through the One sub switch MP4 is connected to the source electrode of MP0 to be connected to the grid of the second sub switch MP2, leads to the second sub switch MP2 shutdowns, the Three sub switch MN5, which are turned off, makes the source electrode of the 4th sub switch MN3 connect low-voltage by the 5th current source MN2, and the 4th son is caused to be opened Close MN3 conductings.
5th current source MN2 is connected to the output by the 4th sub switch MN3 of conducting so that the first branch and comparator Output end connection, and using the electric current of the 5th current source MN2 as the output current of comparator.
Further, if the first branch is connected to the output end of the comparator, the output end of the comparator Positive feedback is carried out by the first feedback branch.
Specifically, the comparator further includes the 6th current source MP1, is compared described in one end of the 6th current source MP1 The first input end of device connects, for Differential Input described in mirror image to the electric current of a transistor MP0 in pipe, the 6th electricity The other end of stream source MP1 is connect by a switch with the first current source MN1, the first sub switch of switch multiplexing MP4 herein.
If the first branch is connect with the output end of the comparator, the 6th current source and described are connected The switch conduction of one current source, i.e. MP4 are connected so that the 6th current source MP1 divides first electric current with transistor MP0 The electric current of source MN1 so that MN1, MP0, MP1, MP3 form the first feedback branch, to carry out positive feedback to the comparator.
In addition, in the present embodiment, the second branch includes the 7th current source, and the 7th current source is for described in mirror image Differential Input is to the electric current of a transistor in pipe, and in the present embodiment, the 7th current source is multiplexed above-mentioned 6th current source MP1.
Specifically, the source electrode of the 7th current source MP1 is connect with the first input voltage VIN 1, and grid is with Differential Input in pipe MP0 grids connection, with mirror image Differential Input to the electric current of the MP0 in pipe.
If the first sub switch MP4 shutdown, the MN5 conductings of third sub switch, the first sub switch control described the Two sub switch MP2 conductings, third sub switch MN5 control the 4th sub switch MN3 shutdowns, and the second branch is connected to The output end of the comparator.
If the first sub switch MP4 shutdown, the MN5 conductings of third sub switch, the shutdown of the first sub switch MP4 makes the The source electrode of two sub switch MP2 connects high voltage by the 7th current source MP1, leads to the second sub switch MP2 conductings, third sub switch MN5, which is connected, makes the source electrode of the 4th sub switch MN3 connect high voltage, leads to the 4th sub switch MN3 shutdowns.
7th current source MP1 is connected to the output by the second sub switch MP2 of conducting so that the second branch and comparator Output end connection, and using the electric current of the 7th current source MP1 as the output current of comparator.
Further, if the second branch is connected to the output end of the comparator, the output end of the comparator Positive feedback is carried out by the second feedback branch.
Specifically, the comparator further includes the 8th current source, and one end of the 8th current source passes through a switch and quilt The Differential Input of image current connects the output stage of the transistor MP0 in pipe, and the 8th current source is used for mirror image institute The electric current of reference current source Ibias is stated, the 8th current source herein is multiplexed the 5th current source MN2, switch multiplexing third sub switch MN5。
If the second branch is connect with the output end of the comparator, the 8th current source MN2 is connected and by mirror The switch MN5 conductings of the transistor MP0 of image current so that the electric current for being mirrored the transistor MP0 of electric current increases, that is, passes through switch The electric current of 8th current source MN5 is incorporated into Differential Input in the MP0 in pipe by MN5 so that MN1, MN2, MN5, MP0, MP3 forms the second feedback branch, to carry out positive feedback to the comparator.
Specifically, the on off operating mode of above-mentioned first feedback branch and second feedback branch directly passes through the selection Unit controls so that after the positive feedback causes hysteresis effect, the output end of the comparator exports comparison result.
Below by Fig. 2, the circuit operation logic in the embodiment of the present application is specifically described.
Specifically, in the present embodiment, amplifier amplifies first voltage VIN1 and second voltage VIN2 differences and exports, and amplifies The output point of device is the A points in Fig. 2.
Assuming that in the initial state, the output of A points is low level, then the MP4 pipes in Fig. 2 are open-minded, the shutdown of MN5 pipes, MP2 pipes Source electrode be connected with grid, MP2 pipes shutdown, the electric current for flowing through MP2 pipes is zero.Electric current Ip1 on MN1 pipes flow to MP4 pipes;MN2 The electric current In2 of pipe drags down the source voltage of MN3 pipes so that MN3 pipes are connected, and the output end of comparator is flow to by MN3 pipes OUT, and since the source electrode of MN2 pipes is grounded so that the voltage of the output end OUT of comparator is dragged down by the electric current In2 of MN2 pipes, i.e., The output end OUT of comparator exports low level.
Under above-mentioned primary condition, if VIN1 is reduced, until the small Δ V1 of voltage of the voltage ratio VIN2 of VIN1 so that A points Output switching activity be high level so that MP4 pipes shutdown, MN5 pipes conducting.The electric current Ip1 of MP1 flow to ratio by the MP2 pipes of conducting Compared with the output end OUT of device so that the output end OUT of comparator is drawn high by the electric current Ip1 of MP1 pipes.
Meanwhile MN5 is connected so that the electric current In2 of MN2 is flowed out from MN5 pipes, and flow to MP0 pipes so that the electric current of MP0 pipes Ip0 increases, and Ip0=In1+In2 is set up.Since the electric current of MP0 pipes increases, and the source voltage of MP0 pipes is constant so that MP0 is managed Grid voltage reduce.Since the grid of MP3 pipes is connected to the grid of MP0 pipes, then the grid voltage of MP3 pipes equally reduces, MP3 The electric current Ip3 of pipe equally increases, and A point voltages are further pulled up, to realize positive feedback.
Under the conditions of above-mentioned A points voltage is raised, VIN1 is increased, due to the presence of above-mentioned positive feedback so that comparator is deposited In lag function, i.e., when the voltage of VIN1 rises to Δ V2 bigger than the voltage of VIN2, the caused MP3 of positive feedback can just be overcome to manage The increased influence of electric current, A points can just overturn as low level.
The overturning of A points is MP4 pipes conducting after low level, the shutdown of MN5 pipes.The conducting of MP4 pipes is so that the electric current Ip1 of MP1 pipes flows It is managed to MP4, and MN1 pipes is flow to by MP4 pipes.The conducting of MP4 pipes makes MP2 pipes turn off simultaneously, while the shutdown of MN5 pipes, MN3 pipes Conducting so that the electric current In2 of MN2 pipes is flowed out from MN3 pipes, to provide output current for the output end OUT of comparator.And due to The source electrode of MN2 pipes is grounded so that the voltage of the output end OUT of comparator is dragged down by the electric current In2 of MN2 pipes, i.e., comparator is defeated Outlet OUT overturnings are low level.
Due to the presence of positive feedback so that comparator have hysteresis effect, and sluggishness generate after, comparator it is defeated Outlet OUT's can just overturn as low level so that comparator provided by the present application does not need additional capacitor element or other prolong When circuit, you can both rotary movements occurs for the output level of the generation action and comparator that ensure hysteresis effect in sequential Sequencing.
It being managed simultaneously as MP1 is connected to MN1 by MP4 pipes so that MP1 is managed and the electric current of MP0 pipes segmentation MN1 pipes, Ip0=In1-Ip1 is set up, so that the electric current Ip0 of MP0 pipes reduces.At this point, the electric current due to MP0 pipes reduces, and MP0 Source voltage VIN1 is increased, and MP0 tube grid voltages is caused to increase.Since the grid of MP3 pipes is connected to the grid of MP0 pipes so that The grid voltage of MP3 pipes increases, since the source voltage VIN2 of MP3 pipes is constant so that the electric current Ip3 of MP3 pipes reduces, A point electricity Pressure is further dragged down, to realize positive feedback.
In comparator provided in this embodiment, in the case where second voltage VIN2 is constant, the electric current Ip0 of MP0 pipes occurs Variation so that the comparison threshold value of comparator, which follows, to change, to generate hysteresis effect.And the electric current Ip0 of MP0 pipes becomes Change, that is, indicates that its corresponding positive feedback process starts, hysteresis effect generates immediately.
In conclusion the hysteresis effect is drawn by the positive feedback of first feedback branch or second feedback branch It rises, since the on off operating mode of above-mentioned the first feedback branch and the second feedback branch is also directly to be controlled according to selecting unit So that the overturning of the output result of the comparator is happened at after hysteresis effect generation.Therefore, electricity proposed by the present invention Road equally ensure that the logic overturning of the output end OUT of comparator will not interfere sluggish generation process, Jin Erzeng in sequential The reliability for having added comparator to export.
It is further to note that when multiple current source image currents in above-described embodiment, it can be with one to one ratio Image current, can also be according to other scaled mirror electric currents, and the present embodiment is to this without limiting.And the corresponding embodiments of Fig. 2 In, it is only illustrated by NMOS tube and PMOS tube, under the premise of said program, those skilled in the art can incite somebody to action NMOS tube, PMOS in Fig. 2 etc. are replaced or by increasing other metal-oxide-semiconductors, are replaced or change, or will be above-mentioned NMOS tube and PMOS tube replace with other circuit devcies such as BJT pipes;Equally, above-mentioned amplifier etc. is also used only as lifting Example explanation, amplifier can directly replace with the amplifier of other circuit structures.These modifications or replacements do not make corresponding skill The essence of art scheme is detached from the spirit and scope of each embodiment technical solution of the application, still falls within the protection domain of the application.
Fig. 3 is a kind of structural schematic diagram of hysteresis comparator using Schmidt trigger, as shown in Figure 3 comprising:It puts Big device, Schmidt trigger, feedback circuit.
In the present embodiment, amplifier includes two input terminals, and two input terminals input first voltage VIN1 and the respectively Two voltage VIN2.
In the present embodiment, voltage source VIN3 and MN2 pipe is not a part for hysteresis comparator, and voltage source VIN3 passes through MN2 pipes connect, and can be corresponding voltage sources when being powered by weak mains to provide first voltage VIN1, VIN3.
Amplifier includes resistance R1, R2, R0, MN0, MN1, MP0, MP1, MP2.
Wherein, the control pole of MP0 is connect with output stage, MP1 be used for mirror image MP0 electric current, MP0 pipe and MP1 pipes it is defeated Enter pole respectively by resistance R1, R2 and first voltage VIN1 connections, the output stage of MP0 pipes is grounded by resistance R0, MP1 pipes it is defeated The input pole for going out pole and MN0 connects, and the control pole of the output stage ground connection of MN0, MN0 is connect with input pole.
The control pole of MP2 pipes and the control pole of MP0 connect, and the output stage of MP2 and the input pole of MN1 connect, the control of MN1 The control pole of pole and MN0 connect, the output stage ground connection of MN1.
Output end of the output stage B points of MP2 as amplifier, connect with the input terminal of Schmidt trigger schmitt, applies Schmitt trigger provides operating current (or providing electric current by second voltage VIN2), and Schmidt by first voltage VIN1 Trigger and amplifier are altogether.
Feedback circuit includes MP3 pipes and R3, R3 and the input pole and the output stage both ends that are connected in MP3 pipes, and R3 and MP3 pipes are whole Body is serially connected between the input pole of second voltage VIN2 and MP2 pipe.
The output end of Schmidt trigger is connect with the control pole of MP3 pipes, to be controlled by the output of Schmidt trigger MP3 pipe on off operating modes, and then the electric current of MP2 pipes is influenced, positive feedback is carried out to amplifier.
Circuit waveform figure when Fig. 4 is the circuit work shown in Fig. 3, as shown in figure 4, the voltage as voltage source VIN3 increases When, first voltage VIN1 increases so that the voltage of the output node B of amplifier reduces, and causes the overturning of Schmidt trigger, applies Schmitt trigger can extract electric current when overturning from VIN1 so that there are part-times to continue with the increase of VIN3 by VIN1 Increasing, the voltage difference between VIN1 and VIN2 is insufficient to allow the current potential of B points to further decrease, such as shown in the dotted line frame in Fig. 4, Although the voltage of B points declines, it is not enough to support the overturning of Schmidt trigger, this can lead to the overturning of Schmidt trigger It pauses, and then leads to the output result mistake of hysteresis comparator.
And it can be with as shown in figure 5, Fig. 5's and Fig. 3 be distinguished as increase voltage source after the comparator in Fig. 3 of application the application VIN3 and NMOS tube MN6, voltage source VIN3 are connected to comparator input terminal of the present invention by NMOS tube MN6, using as The power supply source or input signal of first voltage VIN1.
Fig. 6 is the circuit waveform figure of circuit at work shown in Fig. 5, as shown in fig. 6, when VIN3 increases, A nodes After voltage becomes low level from high level, and MP4 pipes are opened, hysteresis effect starts to generate so that and A point voltages quickly reduce, with The output level overturning of the output end OUT of comparator afterwards, and the rotary movement additionally will not take out electric current, while the overturning from VIN1 Action is happened at after hysteresis effect generation, will not generate interference to comparison procedure so that the output end OUT overturnings of comparator are just Often.
Finally it should be noted that:Above example is only to illustrate the technical solution of the embodiment of the present application, rather than limits it System;Although the application is described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its Still can be with technical scheme described in the above embodiments is modified, or which part technical characteristic is equal It replaces;And these modifications or replacements, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution Spirit and scope.

Claims (10)

1. a kind of comparator, which is characterized in that including:Amplifier, selecting unit, the first branch, the second branch,
The amplifier is used to amplify the difference between two voltage, and the selecting unit is used for according to amplified voltage difference, The first branch or the second branch are connected to the output end of the comparator by selection;
The output end of the comparator exports the output of corresponding first comparison result of the first branch or the comparator End exports corresponding second comparison result of the second branch;
The electric current of the first branch and the electric current of the second branch are determined by reference current source so that the comparator is defeated The output current of outlet is determined by the reference current source.
2. comparator according to claim 1, which is characterized in that if the first branch is connected to the defeated of the comparator Outlet, then the output end of the comparator pass through the first feedback branch carry out positive feedback;
If alternatively, the second branch is connected to the output end of the comparator, the output end of the comparator passes through second Feedback branch carries out positive feedback.
3. comparator according to claim 2, which is characterized in that first feedback branch and the second feedback branch The on off operating mode on road is directly controlled by the selecting unit, so that the overturning of the output result of the comparator is happened at sluggishness After effect generates, the hysteresis effect is caused by the positive feedback of first feedback branch or second feedback branch.
4. according to claim 1-3 any one of them comparators, which is characterized in that the amplifier includes Differential Input pair Pipe, the first current source, the second current source,
The Differential Input is connected to two control poles of pipe, first input end of two input poles respectively as the amplifier And second input terminal, output end of the Differential Input to the output stage of a transistor in pipe as the amplifier;
First current source and second current source respectively connect two output stages of pipe with the Differential Input, institute State the electric current of the first current source and the second current source for reference current source described in mirror image.
5. comparator according to claim 4, which is characterized in that the first branch includes the 5th current source, and described the Electric current of five current sources for reference current source described in mirror image, if the first branch is connect with the output end of the comparator, Then the output current of the comparator output terminal is determined according to the electric current of the 5th current source so that the comparator output terminal Output current determined by the reference current source.
6. comparator according to claim 5, which is characterized in that the comparator further includes the 6th current source,
One end of 6th current source is connect with the first input end of the comparator, for Differential Input described in mirror image to pipe In a transistor electric current, the other end of the 6th current source connect by a switch with first current source;
If the first branch is connect with the output end of the comparator, the 6th current source and first electricity are connected The switch conduction in stream source so that the 6th current source and the Differential Input divide the transistor that electric current is mirrored in pipe The electric current of first current source, to carry out positive feedback to the comparator.
7. comparator according to claim 4, which is characterized in that the second branch includes the 7th current source, and described the Seven current sources are used for electric current of the Differential Input described in mirror image to a transistor in pipe,
If the second branch is connect with the output end of the comparator, the electric current of the comparator output terminal is according to described Seven current sources determine, so that the output current of the comparator output terminal is determined by the reference current source.
8. comparator according to claim 7, which is characterized in that the comparator further includes the 8th current source,
One end of 8th current source is connected by the output stage of a switch and the differential input transistor for being mirrored electric current It connects, electric current of the 8th current source for reference current source described in mirror image;
If the second branch is connect with the output end of the comparator, connects the 8th current source and be mirrored electric current The switch conduction of the differential input transistor so that the electric current for being mirrored the differential input transistor of electric current increases, with Positive feedback is carried out to the comparator.
9. according to claim 1-8 any one of them comparators, which is characterized in that the selecting unit includes first switch electricity The on off operating mode of road and second switch circuit, the first switch circuit and the second switch circuit is opposite;
The first branch is connected to the output end of the comparator, the second switch electricity when first switch circuit turn-on The second branch is connected to the output end of the comparator when conducting of road.
10. comparator according to claim 9, which is characterized in that the first switch circuit includes the first sub switch, the Two sub switchs, the second switch circuit include third sub switch, the 4th sub switch,
The control terminal of first sub switch and the third sub switch is connect with the output end of the amplifier, with by putting Voltage difference after big controls the on off operating mode of first sub switch and the third sub switch;
Second sub switch is arranged in series in the second branch, and the 4th sub switch is arranged in series in described first On the road;
If the first sub switch conducting, the shutdown of third sub switch, first sub switch control second sub switch and close Disconnected, third sub switch controls the 4th sub switch conducting, and the first branch is connected to the output end of the comparator;
If the first sub switch shutdown, the conducting of third sub switch, first sub switch control second sub switch and lead Logical, third sub switch controls the 4th sub switch shutdown, and the second branch is connected to the output end of the comparator.
CN201810786073.6A 2018-07-17 2018-07-17 Comparator with a comparator circuit Active CN108768352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810786073.6A CN108768352B (en) 2018-07-17 2018-07-17 Comparator with a comparator circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810786073.6A CN108768352B (en) 2018-07-17 2018-07-17 Comparator with a comparator circuit

Publications (2)

Publication Number Publication Date
CN108768352A true CN108768352A (en) 2018-11-06
CN108768352B CN108768352B (en) 2023-11-03

Family

ID=63970214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810786073.6A Active CN108768352B (en) 2018-07-17 2018-07-17 Comparator with a comparator circuit

Country Status (1)

Country Link
CN (1) CN108768352B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865274A (en) * 2019-04-24 2020-10-30 雅特力科技(重庆)有限公司 Comparator circuit

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11214963A (en) * 1998-01-22 1999-08-06 Nec Ic Microcomput Syst Ltd Chopper-type comparator
CN1910818A (en) * 2004-01-13 2007-02-07 皇家飞利浦电子股份有限公司 High speed comparator
US20070046337A1 (en) * 2005-08-30 2007-03-01 Nec Electronics Corporation Comparator circuit and semiconductor apparatus
CN101297483A (en) * 2005-10-26 2008-10-29 Nxp股份有限公司 High speed comparator
CN101783661A (en) * 2009-11-25 2010-07-21 天津南大强芯半导体芯片设计有限公司 High-accuracy hysteresis comparator circuit and operating method thereof
CN102420602A (en) * 2011-12-09 2012-04-18 无锡中星微电子有限公司 Power converter and differential circuit
EP3331162A1 (en) * 2016-12-01 2018-06-06 IMEC vzw Input circuit for a dynamic comparator
CN208539869U (en) * 2018-07-17 2019-02-22 上海艾为电子技术股份有限公司 Comparator

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11214963A (en) * 1998-01-22 1999-08-06 Nec Ic Microcomput Syst Ltd Chopper-type comparator
CN1910818A (en) * 2004-01-13 2007-02-07 皇家飞利浦电子股份有限公司 High speed comparator
US20070046337A1 (en) * 2005-08-30 2007-03-01 Nec Electronics Corporation Comparator circuit and semiconductor apparatus
CN101297483A (en) * 2005-10-26 2008-10-29 Nxp股份有限公司 High speed comparator
CN101783661A (en) * 2009-11-25 2010-07-21 天津南大强芯半导体芯片设计有限公司 High-accuracy hysteresis comparator circuit and operating method thereof
CN102420602A (en) * 2011-12-09 2012-04-18 无锡中星微电子有限公司 Power converter and differential circuit
EP3331162A1 (en) * 2016-12-01 2018-06-06 IMEC vzw Input circuit for a dynamic comparator
CN208539869U (en) * 2018-07-17 2019-02-22 上海艾为电子技术股份有限公司 Comparator

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865274A (en) * 2019-04-24 2020-10-30 雅特力科技(重庆)有限公司 Comparator circuit
CN111865274B (en) * 2019-04-24 2024-01-30 雅特力科技(重庆)有限公司 Comparator circuit
CN111865274B8 (en) * 2019-04-24 2024-03-08 雅特力科技(重庆)有限公司 Comparator circuit

Also Published As

Publication number Publication date
CN108768352B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN105549673B (en) Dual-mode switching type LDO circuit
CN104660248B (en) Pull-up resistor circuit
CN107943182B (en) Band gap reference start-up circuit
CN106656081B (en) A kind of circuit for eliminating operational amplifier offset voltage
CN106300246A (en) Overvoltage crowbar
CN208539869U (en) Comparator
CN103427813B (en) For driving the drive circuit of semiconductor switch
CN108768352A (en) Comparator
CN208581167U (en) A kind of switching-on and switching-off state detection circuit
CN109150143A (en) high voltage comparator
CN101739053A (en) Power supply regulator with active foldback current limiting circuit
CN110380710A (en) A kind of waveform convertion circuit of double Schmidt&#39;s structures
CN103018588A (en) Low-power-consumption anti-interference three-state input detection circuit
CN109933120A (en) A kind of voltage commutation circuit and chip
CN102130681B (en) A kind of differential phase lock loop
CN104660242B (en) Pull-up resistor circuit
CN106300248B (en) A kind of under-voltage protecting circuit of current control mode
CN102279608B (en) Voltage stabilizing circuit
CN109039071A (en) A kind of switching-on and switching-off state detection circuit
CN110048368A (en) A kind of high-speed, high precision under-voltage protecting circuit
CN108141207A (en) voltage comparator
CN104104229B (en) A kind of quiescent current control device
CN107992144B (en) The start-up circuit of band gap reference
CN207150155U (en) Over-voltage over-current protection circuit
CN105468081B (en) Mu balanced circuit with low pressure detection and its method for stabilizing voltage

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 1201, No.2, Lane 908, Xiuwen Road, Minhang District, Shanghai, 201199

Patentee after: SHANGHAI AWINIC TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: Room 303-39, building 33, 680 Guiping Road, Xuhui District, Shanghai 200233

Patentee before: SHANGHAI AWINIC TECHNOLOGY Co.,Ltd.

Country or region before: China