The differential signal driving of low-voltage differential signal drive circuit generally use current-mode commonly used in the prior art
Circuit, it flows into load resistance from different directions by switching switch control electric current, so as to generate low pressure at load resistance both ends
Differential signal level.But the degree of accuracy of Low Voltage Differential Signal is not high caused by this Low Voltage Differential Signal drive circuit.Referring to
Shown in Fig. 1, the low-voltage differential signal drive circuit for current-mode commonly used in the prior art shown in Fig. 1.It includes four
Individual enhanced NMOS tube(MN1、MN2、MN3、MN4)Controllable switch is used as, Ia and Ib are current source;When RL is that IC is applied
The load resistance at external reception end.When NMOS tube gate voltage(DP/DN)For high level(The voltage typically with supply voltage VCC phases
Together)When, NMOS tube conducting.So when data DP is high level, DN is low level, and MN4, MN2 are turned in NMOS tube, MN3,
MN1 is disconnected, and electric current is flow to RL VA end points by MN4 from power supply VCC, after flowing through resistance, flows to ground by MN2;Electric current is constant
For Ia=Ib=I0, then the voltage difference VA-VB=I0*RL at RL both ends is obtained by Ohm's law;When data DP is low level, DN is
High level, MN4, MN2 disconnect in NMOS tube, MN3, MN1 conducting, VB end points of the electric current from power supply VCC by MN3 to RL, flow through
After resistance, pass through MN1 to ground;Constant electric current is Ia=Ib=I0, then by Ohm's law obtain the voltage difference VA-VB at RL both ends=-
I0*RL。
When VA-VB voltage difference is positive I0*RL, receiving terminal judges the data that receive as high level, when VA-VB's
Voltage difference for negative I0*RL when, receiving terminal judges the data that receive as low level, so as to complete the transmission of data and reception
Identification.The circuit mainly controls the conducting of the NMOS tube of various combination to realize that electric current is different from two using data level
Flow out and flow into direction.Due to that can be that VA-VB has greatly to generating the peak-to-peak value of low-voltage differential signal typically in the data transmission
Small regulation, while also required to the common mode electrical level of low-voltage differential signal, the LVDS circuits of the current-mode shown in Fig. 1 can be with
Peak-to-peak value requirement is met by electric current I0 corresponding to setting (Ia=Ib=I0), its common mode electrical level VCM voltage calculating process is as follows:
When VP is high level, VB=I0* (R2+Rb), note:MN2 conducting resistance is R2, and current source Ib resistance is Rb, then VCM=
I0*(R2+Rb)+I0*RL/2 ①;When VP is low level, VB=VCC-I0* (R3+Ra) notes:MN3 conducting resistance is R4, electric current
Source Ia resistance is Ra, then VCM=VCC-I0* (R3+Ra)-I0*RL/2 is 2.;Formula 1.+formula 2. 2VCM=VCC+I0 (R2+
Rb)-I0 (R3+Ra), because I0, VCC are definite value, while we can be by parameter setting R2+Rb=R3+Ra, so
LVDS common mode electrical level VCM=VCC/2, it is also definite value;But because R2, R3 and Ra, Rb are easily gone out by technogenic influence during fabrication
Existing deviation make it that R2+Rb is not absolute equal with R3+Ra, and it has certain error, therefore its common mode electrical level is not easy accurately to set
It is fixed;When DP level ceaselessly changes simultaneously(It is from high to low or from low to high), due to feedthrough effect, it can to export
Voltage VA and VB easily shake, and when this is transmitted under relatively remote and larger interference at a high speed, receiving terminal identification easily occur
Mistake.So Low Voltage Differential Signal caused by Low Voltage Differential Signal drive circuit of the prior art has certain error, it is accurate
Exactness is not high.
It is understood that the statement of this part only provides background information related to the present invention, not possible composition or structure
Into so-called prior art.
The content of the invention
The technical problems to be solved by the invention are for caused by Low Voltage Differential Signal drive circuit in the prior art
A kind of the defects of Low Voltage Differential Signal degree of accuracy is not high, there is provided standard for the Low Voltage Differential Signal that can be reduced error, improve output
The Low Voltage Differential Signal drive circuit of exactness.
The technical solution adopted for the present invention to solve the technical problems is to provide a kind of low-voltage differential signal drive circuit,
It includes:For generating the voltage generation circuit of high-low voltage and being converted to high-low voltage caused by the voltage generation circuit
The level switching circuit of polar voltages;
Voltage generation circuit includes:First amplifier when the first amplifier, the second amplifier, resistance R1, R2, R3, negative-feedback work
Second adjustment pipe of the second amplifier output end control when the first adjustment pipe of output end control and negative-feedback;First amplifier and
The inverting input of two amplifiers connects reference voltage output end VR1 and VR2 respectively, and the in-phase input end of the first amplifier passes through resistance
R2 electrically connects the in-phase input end of the second amplifier;First termination power of the first adjustment pipe, its second end extraction voltage generation electricity
The first output end VP on road, and electric connection resistance R1 between its second end and the in-phase input end of the first amplifier, the first adjustment pipe
Control terminal connect the first amplifier output end;The first end ground connection of second adjustment pipe, its second end extraction voltage generative circuit
The second output end VN, and electric connection resistance R3 between its second end and the in-phase input end of the second amplifier, second adjustment pipe
Control terminal connects the output end of the second amplifier.
In above-mentioned low-voltage differential signal drive circuit, level switching circuit includes:Phase inverter, first switch pipe MN2,
Second switch pipe MN3, the 3rd switching tube MN4 and the 4th switching tube MN5;The input termination data signal output DP of phase inverter;
The first end of first termination second switch pipe of first switch pipe, the second end of first switch pipe connect the of the 3rd switching tube simultaneously
Two ends and the first output end VP;Second end of second switch pipe connects the second end of the 4th switching tube and described second defeated simultaneously
Go out to hold VN;The first end of 3rd switching tube connects the first end of the 4th switching tube simultaneously;The control of second switch pipe and the 3rd switching tube
End processed connects the output end of phase inverter, and the control terminal of first switch pipe and the 4th switching tube connects the input of phase inverter.
In above-mentioned low-voltage differential signal drive circuit, the first adjustment pipe is p-type FET, and described second adjusts
Homogeneous tube is N-type FET.
In above-mentioned low-voltage differential signal drive circuit, the source electrode of the first adjustment pipe connects power supply, and it, which drains, draws
First output end VP of voltage generation circuit, and electric connection resistance R1 between its drain electrode and the in-phase input end of the first amplifier, the
The control terminal of one adjustment pipe connects the output end of the first amplifier;The source ground of second adjustment pipe, its extraction voltage generation that drains
Second output end VN of circuit, and electric connection resistance R3 between its drain electrode and the in-phase input end of the second amplifier, the second adjustment pipe
Control terminal connect the second amplifier output end.
In above-mentioned low-voltage differential signal drive circuit, the source electrode of the first adjustment pipe connects power supply, and it, which drains, draws
First output end VP of voltage generation circuit, and electric connection resistance R1 between its drain electrode and the in-phase input end of the first amplifier, the
The control terminal of one adjustment pipe connects the output end of the first amplifier;The source ground of second adjustment pipe, its extraction voltage generation that drains
Second output end VN of circuit, and electric connection resistance R3 between its drain electrode and the in-phase input end of the second amplifier, the second adjustment pipe
Control terminal connect the second amplifier output end.
In above-mentioned low-voltage differential signal drive circuit, the source electrode of first switch pipe connects the source electrode of second switch pipe, the
The drain electrode of one switching tube meets the drain electrode of the 3rd switching tube and the first output end VP simultaneously;The drain electrode of second switch pipe connects simultaneously
The drain electrode of 4th switching tube and the second output end VN;The source electrode of 3rd switching tube connects the source electrode of the 4th switching tube simultaneously;The
The control terminal of two switching tubes and the 3rd switching tube connects the control terminal of the output end of phase inverter, first switch pipe and the 4th switching tube
Connect the input of phase inverter.
In above-mentioned low-voltage differential signal drive circuit, the first switch pipe MN2, second switch pipe MN3, the 3rd open
The substrate for closing pipe MN4 and the 4th switching tube MN5 is grounded.
In above-mentioned low-voltage differential signal drive circuit, in addition to electric capacity C1, the electric capacity C1 for filtering voltage regulation
It is connected between the first output end VP and the second output end VN.
In above-mentioned low-voltage differential signal drive circuit, the resistance R1 is equal with resistance R3 resistance.
Low Voltage Differential Signal drive circuit provided by the invention is mainly real by voltage generation circuit and level switching circuit
Existing, the reference voltage of outside is converted to high-low voltage by it by voltage generation circuit, meanwhile, by level switching circuit by electricity
The high-low voltage of pressure generative circuit output is converted to the voltage with polarity, and then exportable required low-voltage differential signal.
Because the first amplifier, the second amplifier, resistance R1, R2, R3, the first adjustment pipe and second adjust the work of pipe in voltage generation circuit
With so that the high-low voltage of generation depends mainly on resistance R1, R2, R3 and reference voltage V R1, VR2, due to resistance R1, R2,
R3 proportionate relationship can accurately be set and reference voltage V R1, VR2 is definite value, so, drive circuit output provided by the invention
Low Voltage Differential Signal LVDS can not be by process deviation influence, and then the common mode electrical level of LVDS voltages and peak-to-peak value can be accurate
Setting, it is possible to reduce the shake of the Low Voltage Differential Signal of output, and drive circuit output Low Voltage Differential Signal the degree of accuracy compared with
It is high.
Embodiment
In order that technical problem solved by the invention, technical scheme and beneficial effect are more clearly understood, below in conjunction with
Drawings and Examples, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein only to
The present invention is explained, is not intended to limit the present invention.
In the description of the invention, it is to be understood that term " longitudinal direction ", " transverse direction ", " on ", " under ", "front", "rear",
The orientation or position relationship of the instruction such as "left", "right", " vertical ", " level ", " top ", " bottom " " interior ", " outer " is based on accompanying drawing institutes
The orientation or position relationship shown, it is for only for ease of the description present invention and simplifies description, rather than instruction or the dress for implying meaning
Put or element there must be specific orientation, with specific azimuth configuration and operation, therefore it is not intended that to limit of the invention
System.
The invention provides a kind of common mode electrical level that can accurately set Low Voltage Differential Signal and voltage difference, reduce its output
The shake of level and then the Low Voltage Differential Signal drive circuit for improving the degree of accuracy of the Low Voltage Differential Signal of output.Common mode electrical level
The median of two level is referred to, is absolute voltage value.If A points relative to the level on ground are VA, B points relative to ground level
(VA is set for VB>VB), then the voltage difference between AB is VAB=VA-VB, and VA and VB common mode electrical level be VCM=(VA+VB)/
2 =VB+VAB/2 =VA-VAB/2.
Low Voltage Differential Signal drive circuit provided by the invention includes:For generate high-low voltage voltage generation circuit and
High-low voltage caused by the voltage generation circuit is converted to the level switching circuit of polar voltages.Voltage generation circuit is by base
Quasi- voltage conversion is high-low voltage, moreover, the conversion that level switching circuit passes through polarity of voltage is exportable Low Voltage Differential Signal.
The concrete structure of drive circuit is as follows:
In drive circuit provided by the invention, voltage generation circuit includes:First amplifier, the second amplifier, resistance R1, R2,
Second amplifier output end control when the first of the first amplifier output end control adjusts pipe and negative-feedback when R3, negative-feedback work
Second adjustment pipe;The inverting input of first amplifier and the second amplifier connects reference voltage output end VR1 and VR2 respectively, and first
The in-phase input end of amplifier electrically connects the in-phase input end of the second amplifier by resistance R2;First termination electricity of the first adjustment pipe
The in-phase input end of source, the first output end VP of its second end extraction voltage generative circuit, and its second end and the first amplifier it
Between electric connection resistance R1, the control terminal of the first adjustment pipe connects the output end of the first amplifier;The first end ground connection of second adjustment pipe,
Second output end VN of its second end extraction voltage generative circuit, and it is electric between its second end and the in-phase input end of the second amplifier
Resistance R3 is connected, the control terminal of the second adjustment pipe connects the output end of the second amplifier.Wherein, if the same phase of the first amplifier with it is anti-phase
The voltage of input is unequal, then the voltage-regulation first of the output end of the first amplifier adjusts the control terminal of pipe, so as to adjust the
The output current of one adjustment pipe so that the voltage change of the first amplifier in-phase input end, due to the inverting input of the first amplifier
Voltage it is constant, the output voltage of the first amplifier changes, so again regulation first adjustment pipe output current, formed
Feedback loop, final so that the same phase of the first amplifier is equal with the voltage of inverting input, output end voltage keeps stable, makes
What output voltage VP also stablized is maintained at setting value.Similarly, if the same phase of the second amplifier and the voltage of inverting input are unequal,
Then the voltage-regulation second of the output end of the second amplifier adjusts the control terminal of pipe, so as to adjust the output current of the second adjustment pipe,
So that the voltage change of the in-phase input end of the second amplifier, because the voltage of the inverting input of the second amplifier is constant, the second fortune
The output voltage put changes, and then the output current of the adjustment of regulation second pipe again, forms feedback loop, finally makes
It is equal with the voltage of inverting input to obtain the same phase of the second amplifier, output end voltage keeps stable, output voltage VN is also stablized
Be maintained at setting value.So voltage generation circuit is the exportable high-low voltage that can accurately set, then electricity is switched by level
Road can generate required Low Voltage Differential Signal after carrying out dipole inversion.
Level switching circuit includes:Phase inverter, first switch pipe MN2, second switch pipe MN3, the 3rd switching tube MN4 and
4th switching tube MN5;The input termination data signal output DP of phase inverter;First termination second switch pipe of first switch pipe
First end, the second end of first switch pipe meets the second end of the 3rd switching tube and the first output end VP simultaneously;Second opens
The second end for closing pipe meets the second end of the 4th switching tube and the second output end VN simultaneously;The first end of 3rd switching tube is simultaneously
Connect the first end of the 4th switching tube;The control terminal of second switch pipe and the 3rd switching tube connects the output end of phase inverter, and first opens
The control terminal of pass pipe and the 4th switching tube connects the input of phase inverter.So drive circuit provided by the invention can be by benchmark
Voltage VR1 and VR2 change output as Low Voltage Differential Signal, meanwhile, the first amplifier, the second amplifier, resistance R1, R2, R3, first are adjusted
Homogeneous tube and second adjustment pipe effect so that the high-low voltage of generation depends mainly on resistance R1, R2, R3, due to resistance R1,
R2, R3 proportionate relationship can accurately be set, so, the Low Voltage Differential Signal LVDS of drive circuit output provided by the invention can
With not by process deviation influence, and then the common mode electrical level of LVDS voltages and peak-to-peak value can accurately be set, it is possible to reduce output
The shake of Low Voltage Differential Signal, and the degree of accuracy of the Low Voltage Differential Signal of drive circuit output is higher.
First adjustment pipe of the first amplifier output end control and negative-feedback when the known negative-feedback of those skilled in the art works
When the second amplifier output end control second adjustment pipe structure.In a preferred embodiment of the invention, the first adjustment pipe is p-type
FET, the second adjustment pipe is N-type FET.Moreover, the source electrode of the first adjustment pipe connects power supply, its extraction voltage life that drains
Into the first output end VP of circuit, and electric connection resistance R1 between its drain electrode and the in-phase input end of the first amplifier, the first adjustment
The control terminal of pipe connects the output end of the first amplifier;The source ground of second adjustment pipe, its extraction voltage generative circuit that drains
Second output end VN, and electric connection resistance R3 between its drain electrode and the in-phase input end of the second amplifier, the control of the second adjustment pipe
The output end of the second amplifier of end connection.The voltage generation circuit of this structure can fast and accurately generate high-low voltage.Specifically,
Voltage generation circuit is mainly input reference voltage (VR1, VR2) to be converted to the high-low voltage required by low-voltage differential signal
(VP, VN), and driving force is provided.
In a preferred embodiment of the invention, first switch pipe MN2, second switch pipe MN3, the 3rd switching tube MN4 and
Four switching tube MN5 are N-type FET.The source electrode of first switch pipe connects the source electrode of second switch pipe, the drain electrode of first switch pipe
Meet the drain electrode of the 3rd switching tube and the first output end VP simultaneously;The drain electrode of second switch pipe connects the leakage of the 4th switching tube simultaneously
Pole and the second output end VN;The source electrode of 3rd switching tube connects the source electrode of the 4th switching tube simultaneously;Second switch pipe and the 3rd
The control terminal of switching tube connects the output end of phase inverter, and the control terminal of first switch pipe and the 4th switching tube connects the defeated of phase inverter
Enter end.Certainly, first switch pipe MN2, second switch pipe MN3, the 3rd switching tube MN4 and the 4th switching tube MN5 can also be normal
The switching tube seen, such as triode, then the grid of FET is replaced by the base stage of triode in the circuit connected, FET
Source electrode by triode emitter stage replace, FET drain electrode again triode colelctor electrode replace.
The operation principle of drive circuit is as follows in preferred embodiment shown in Fig. 2:
After upper electricity, VR1 and VR2 are an input reference voltage, at this moment due to the first amplifier, the second amplifier, the first adjustment pipe
And second adjustment pipe negative-feedback regulation so that the voltage of the positive-negative input end of the first amplifier and the second amplifier is equal(That is VN1
=VR1,VN2=VR2).The detailed process of negative-feedback regu- lation is:After upper electricity, if VN1 voltage ratios VR1 is small, due to the first amplifier OP1
Gain it is very big, output reduces, and enhanced PMOS MP1 grid voltage reduces, and it turns on degree enhancing, electric current increase, according to Europe
Then VN1 voltages raise nurse law, until VN1=VR1;If VN1 voltage ratio VR1 is big, because the first amplifier OP1 gain is very big,
Output voltage increases, and enhanced PMOS MP1 grid voltage increases, and it turns on degree and weakened, and electric current reduces, according to Ohm's law then
VN1 voltages reduce, until VN1=VR1.So VN1=VR1 can be realized always.
After upper electricity, if VN2 voltage ratios VR2 is small, because operational amplifier OP2 gain is very big, output reduces, enhanced
NMOS tube MN1 grid voltage reduces, and conducting degree weakens, and conducting resistance increase, according to Ohm's law, then VN2 voltages raise, until
VN2=VR2;If VN2 voltage ratio VR2 is big, because operational amplifier OP2 gain is very big, output voltage increases, enhanced
NMOS tube MN1 grid voltage increases, and conducting degree enhancing, conducting resistance reduces, and the reduction of VN2 voltages is obtained according to Ohm's law, until
VN2=VR2.So VN2=VR2 can be realized always.
VN1=VR1, VN2=VR2 are finally given, can now be obtained according to Ohm's law:
VP=VN1+ ( (VN1-VN2)/R2 )*R1=VR1+(VR1-VR2)*R1/R2
VN=VN2- ( (VN1-VN2)/R2 )*R3=VR2-(VR1-VR2)*R3)/R2
VP-VN=(VR1-VR2) * (R1+R2+R3)/R2, because R1, R2, R3 can accurately be set than row relation, and substantially not
By process deviation influence, therefore can obtain accurately meeting desired voltage VP and VN.Electric capacity C1 plays energy storage pressure stabilizing, its
Clock feedthrough can be reduced and accelerate speed, the raising response speed after switch switches to load node discharge and recharge.
In level switching circuit, when data-signal DP is high level, after phase inverter INV, DN is low level, the
One switching tube MN2 and the 4th switching tube MN5 conductings, second switch pipe MN3 and the 3rd switching tube MN4 disconnect so that VA=VP, VB
=VN.VA and VB common mode electrical level VCM=(VA+VB)/2=(VR1+VR2)/2, so VA and VB common mode electrical level is determination value,
It can accurately be set by VR1, VR2.
When DP is low level, after phase inverter INV, DN is high level, first switch pipe MN2 and the 4th switching tube
MN5 disconnects, second switch pipe MN3 and the 3rd switching tube MN4 conductings so that VA=VN, VB=VP;VA and VB common mode electrical level VCM
=(VA+VB)/2=(VR1+VR2)/2, so VA and VB common mode electrical level is determination value, it can accurately be set by VR1, VR2.
It follows that the common mode electrical level VCM obtained in drive circuit provided by the invention=(VA+VB)/2=(VR1+VR2)/
2 can accurately be set by setting VR1, VR2 value;And the peak-to-peak value of drive circuit output | VA-VB |=VP-VN=
(VR1-VR2) * (R1+R2+R3)/R2, so the peak-to-peak value of drive circuit output can combine VR1, VR2, and setting is passed through
Resistance R1, R2, R3 ratio are accurately set.It is further preferred that resistance R1 is equal with resistance R3 resistance.As R1=R3,
Can more convenient accurately output Low Voltage Differential Signal.Preferably, first switch pipe MN2, second switch pipe MN3, the 3rd switching tube
MN4 and the 4th switching tube MN5 substrate are grounded, and can so reduce the area of above-mentioned each switching tube, and then can be further
The area and volume, reduction technological requirement, raising drive circuit for reducing Low Voltage Differential Signal drive circuit provided by the invention carry
The degree of accuracy of the Low Voltage Differential Signal of confession.
In summary, low-voltage differential signal drive circuit provided by the invention utilizes operational amplification circuit negative-feedback, leads to
Resistance ratio computing is crossed, accurate LVDS low and high levels can be generated, can accurately set the common mode electrical level of Low Voltage Differential Signal
And voltage difference, and the shake of the Low Voltage Differential Signal of output can be reduced, make the accurate of the Low Voltage Differential Signal that drive circuit exports
Degree is higher.Meanwhile it can reduce voltage glitch caused by clock feedthrough and the operating rate of raising drive circuit.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any
One or more embodiments or example in combine in an appropriate manner.
In the description of the invention, unless otherwise prescribed with limit, it is necessary to explanation, term " installation ", " connected ",
" connection " should be interpreted broadly, for example, it may be mechanical connection or electrical connection or the connection of two element internals, can
To be to be joined directly together, can also be indirectly connected by intermediary, for the ordinary skill in the art, can basis
Concrete condition understands the concrete meaning of above-mentioned term.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.