Background technology
Hall effect is a kind of of magnetoelectric effect, and this phenomenon is that (A.H.Hall 1855-1938) found when studying the conductive mechanism of metal in 1879 U.S. physicist Hall.When current vertical in external magnetic field when the conductor, electrical potential difference can appear between two end faces perpendicular to the magnetic field and the sense of current of conductor, this phenomenon is a Hall effect, this electrical potential difference also is called Hall voltage V
H, its size is:
In the formula:
B is the magnetic field intensity on vertical and the Hall web direction;
μ
HBe hall mobility;
I is the electric current that flows through the Hall thin slice;
ρ is a resistivity;
T is the thickness of Hall thin slice;
σ (L/W) is the Hall thin slice geometric correction factor.
Hall element based on Hall effect has developed into a Magnetic Sensor Product Family numerous in variety, is applied to the every field of Industry Control more and more widely.Hall switch promptly is a kind of application wherein, and its utilizes the integrated Hall thin slice of energising to detect the external magnetic field, changes the variation parameter in magnetic field the form output of digital voltage into, makes it to possess the function of switch.
Conventional Hall switch circuit composition module comprises pressurizer 101 as shown in Figure 1, Hall thin slice 102, Hall voltage amplifier 103, hysteresis comparator 104 and latch output unit 105.The Hall thin slice is made by semi-conducting material (as silicon), its resistance presents bigger increase with the rising of temperature inevitably, and when the voltage on being applied to the Hall thin slice is changeless, the electric current that flows through the Hall thin slice will reduce gradually with the rising of temperature, by formula (1) as can be known, Hall voltage V
HAlso will raise and reduce gradually with temperature, thereby cause the Hall switch output error, this be unacceptable.In order in-40~150 ℃ even wideer temperature range, to use Hall switch (as automotive controls), must find a kind of temperature compensation of Hall switch so that it keeps the relative stability to temperature.
Chinese patent publication number CN101290233A has proposed a kind of Hall switch temperature compensation, and this method needs pressurizer 101 to provide temperature coefficient with hall mobility to be varied to positive temperature coefficient voltage that proportional relation follows the mutually bias voltage as the Hall thin slice.This method not only second-order effects is difficult to control, and does not consider that other parameter (as Hall voltage multiplication factor, hysteresis comparator threshold value) with variation of temperature, simultaneously, has increased the complexity of circuit and technology, is not easy to make under CMOS technology.
The utility model content
Technical problem to be solved in the utility model is to overcome existing defective in the above-mentioned prior art, and a kind of Hall switch circuit temperature-compensation circuit based on the CMOS technology is provided.
The temperature-compensation circuit of the Hall switch circuit that the utility model proposed comprises: the Hall thin slice, and the induced magnetism signal also is translated into the Hall voltage signal; Pressurizer is applied to the voltage after the voltage stabilizing on the described Hall thin slice; Signal processing unit is that single ended voltage and the elimination of carrying out offset voltage are to obtain voltage signal processed with described Hall voltage conversion of signals; Hysteresis comparator carries out sluggishness relatively with voltage signal processed and preset threshold voltage; Clock signal and logic control element are for signal processing unit, hysteresis comparator provide clock signal and logic control signal; The voltage bias unit is for signal processing unit and hysteresis comparator provide bias voltage; Described voltage bias unit produces the bias voltage that equates with the temperature coefficient of the hall mobility of Hall thin slice, and this bias voltage is connected to the input of signal processing unit and hysteresis comparator, is used as the threshold voltage of hysteresis comparator.
The temperature-compensation circuit of Hall switch circuit also comprise receive described Hall voltage signal and amplify after output to the operational amplification circuit of described signal processing unit input.
Described operational amplification circuit comprises first, second operational amplifier of two symmetries, the 7th resistance that connects the inverting input of first, second operational amplifier, connect the inverting input of first operational amplifier and the 8th resistance of output, and connect the inverting input of second operational amplifier and the 9th resistance of output; Described the 7th, the 8th, the 9th resistance adopts identical materials to make, and the normal phase input end of first, second operational amplifier is linked two outputs of Hall thin slice respectively.
Described voltage bias unit comprises the first, the 6th resistance with Hall thin slice same material, opposite second, third of the temperature coefficient of resistance identical with the Hall sheeting, the 4th, the 5th resistance; Described the first, second, third, fourth, the 5th, the 6th resistance is connected successively, and the end that described first resistance is not connected with second resistance connects the output of pressurizer, the end ground connection that described the 6th resistance is not connected with the 5th resistance; The common port of described second, third resistance forms first output, and the common port of described the 3rd, the 4th resistance forms second output, and the common port of described the 4th, the 5th resistance forms the 3rd output.
Described signal processing unit comprises seven switches and two electric capacity, wherein the common port of first switch and the 3rd switch is linked the top crown of first electric capacity, the common port of second switch and the 4th switch is linked the bottom crown of first electric capacity, the other end of first switch connects the output of first operational amplifier, the other end of second switch connects the output of second operational amplifier, the other end of the 3rd switch is linked the top crown of second electric capacity, and link to each other with first output of the end of oppisite phase of hysteresis comparator and voltage bias unit, the 4th, the 5th, the 6th, the common port that minion is closed links to each other with the bottom crown of second electric capacity, the other end of the 5th switch links to each other with the forward end of hysteresis comparator, the other end of the 6th switch links to each other with second output of voltage bias unit, and the other end that minion is closed links to each other with the 3rd output of voltage bias unit.
Compared with prior art, the utility model only need be introduced the resistance with Hall thin slice same material on biasing circuit, suitably choose the resistance ratio, just can obtain hysteresis comparator threshold voltage with Hall electron mobility uniform temp coefficient, avoided the narrower problem of existing Hall switch operating temperature range, the designer can be used in the less components and parts on CMOS technology basis, reach the performance requirement of Hall switch wide temperature range work.
Embodiment
The utility model is described in further detail below in conjunction with accompanying drawing:
Fig. 2 has provided an embodiment of the utility model Hall switch temperature compensation, is made up of pressurizer 201, Hall thin slice 202, voltage bias 207, Hall voltage amplifier 203, signal processing unit 208, hysteresis comparator 204, output latch 205 and clock signal and logic control 206.
Pressurizer 201 provides stable voltage and current biasing for other electric current, voltage bias 207 provides bias voltage for signal processing unit 208 and hysteresis comparator 204, Hall thin slice 202 induced magnetism signals also are translated into voltage signal, the Hall voltage signal that 203 pairs in voltage amplifier collects amplifies, differential voltage signal after the amplification is converted to single ended voltage through signal processing unit 208, and carry out the elimination of offset voltage, voltage signal processed and preset threshold voltage compare in hysteresis comparator 204, output correspondent voltage signal is to output latch 205, and clock signal and logic control 206 are signal processing unit 208, hysteresis comparator 204 and output latch 205 provide clock signal and logic control signal.
In formula (1), the electric current I that flows through Hall thin slice 202 can be expressed as:
In the formula,
V
REFExpression is added in the voltage on the Hall thin slice, is produced by pressurizer 201, and is relatively stable to supply voltage and temperature;
R
HThe resistance of expression Hall thin slice;
ρ represents the Hall sheet resistivity;
T represents the thickness of Hall thin slice;
L and W represent the length of Hall thin slice and wide respectively.
Bring formula (2) into formula (1), can get:
If the gain of voltage amplifier is A
V, the high threshold voltage of hysteresis comparator is V
TH_H, then work as magnetic field intensity and increase to B
OPThe time, output switching activity is a low level, by A
V* V
H1=V
TH_HObtain:
If the low threshold voltage of hysteresis comparator is V
TH_L, then ought then work as magnetic field intensity and be reduced to B
RPThe time, output switching activity is a high level, by A
V* V
H2=V
TH_LObtain:
From formula (4)~formula (5) as can be seen, if A
VAnd V
REFDo not vary with temperature, ignore the temperature effect of σ (L/W), can draw B
OPAnd B
RPTemperature coefficient be:
Therefore, only V need be set
TH_HAnd V
TH_LTemperature coefficient and μ
HTemperature coefficient equate, can obtain not temperature variant B
OPAnd B
RP, magnetic hysteresis width (B
OP-B
RP) also no longer vary with temperature.
More one go on foot ground, Fig. 3 has provided the preferred embodiment of Hall switch temperature compensation of the present utility model, and voltage amplifier 303 adopts the fully differential structures, and R7, R8, R9 adopt the resistance of same kind, and R8 equates with the R9 impedance.The multiplication factor A of voltage amplifier 303
V:
A
VOnly depend on the ratio of R8 and R7, temperature independent.
Signal processing unit adopts capacitor C 1, C2 and switch k1~k7 to form, and the control signal clk0 of switch k1~k7~clk2 is the clock signal of three-phase non-overlapping copies, and voltage bias V is provided by clock signal and logic control 306
HALF, V
H, V
LProvide by voltage bias 307.
If magnetic field intensity is B, direction is that straight vertical is towards the lining.At clk0 is between high period, if magnetic field intensity B is less, then exporting out is high level, switch k7 conducting, voltage V
HALF-V
1To capacitor C 2 charging, on negative just down; Clk1 is between high period, voltage A
V* V
HTo capacitor C 1 charging, just going up negative down; Clk2 is between high period, and the electric charge on capacitor C 1 and the C2 neutralizes, and final electric charge is (V
HALF-V
1) * C2-A
V* V
HThe current potential of * C1, so capacitor C 2 bottom crowns equals V
HALF-((V
HALF-V
1) * C2-A
V* V
H* C1)/(C1+C2), this voltage is linked the normal phase input end of hysteresis comparator 304 by k5, with the negative-phase input V of hysteresis comparator 304
HALFCompare,, make V if magnetic field intensity B increases
HALF-((V
HALF-V
1) * C2-A
V* V
H1* C1)/(C1+C2)>V
HALF, i.e. A
V* V
H1* C1/C2>V
HALF-V
1, the output switching activity of hysteresis comparator 304 is a high level, makes the output of Hall switch be locked as low level, the magnetic field intensity of this moment is B
OPIf C1=C2, then following formula can be written as:
A
V×V
H1=V
HALF-V
1 (9)
With A
V* V
H=V
TH_HCompare as can be known V
HALF-V
1Be V
TH_H
After the output of Hall switch became low level, clk0 was between high period, switch k7 conducting, voltage V
HALF-V
2To capacitor C 2 charging, on negative just down; Clk1 is between high period, voltage A
V* V
HTo capacitor C 1 charging, just going up negative down; Clk2 is between high period, and the electric charge on capacitor C 1 and the C2 neutralizes, and final electric charge is (V
HALF-V
2) * C2-A
V* V
HThe current potential of * C1, so capacitor C 2 bottom crowns equals V
HALF-((V
HALF-V
2) * C2-A
V* V
H* C1)/(C1+C2), this voltage is linked the normal phase input end of hysteresis comparator 304 by k5, with the negative-phase input V of hysteresis comparator 304
HALFCompare,, make V if magnetic field intensity weakens
HALF-((V
HALF-V
2) * C2-A
V* V
H2* C1)/(C1+C2)<V
HALF, i.e. A
V* V
H2* C1/C2<V
HALF-V
2, the output switching activity of hysteresis comparator 304 is a low level, makes the output of Hall switch be locked as high level, the magnetic field intensity of this moment is B
RPIf C1=C2, then following formula can be written as:
A
V×V
H2=V
HALF-V
2 (10)
With A
V* V
H2=V
TH_LCompare as can be known V
HALF-V
2Be V
TH_L
Fig. 4 has provided a kind of voltage bias schematic diagram, V
REFFrom pressurizer 301, its size is not with supply voltage and variations in temperature.Resistance R 1 and R6 adopt and equate with the resistance and the impedance of Hall thin slice same kind, the resistance of R2~R5 employing and Hall thin slice opposite temperature coefficients (being negative temperature coefficient here), and the impedance of R2 equals the impedance sum of R3~R5, so V
HALF=V
REF/ 2, not with supply voltage and variations in temperature.Can get thus:
Temperature coefficient is asked in formula (11)~(12):
In the formula,
μ
NElectron mobility for positive temperature coefficient resistor R1;
μ
N2Electron mobility for negative temperature coefficient resister R2.
By formula (13)~(14) as can be seen, R1 and R2 are satisfied
Can obtain:
With difference substitution formula (6)~(7), formula (16)~(17), can obtain:
Because R1 is identical with the material of Hall thin slice, so formula (18)~(19) represented B
OPAnd B
RPTemperature coefficient equal temperature coefficient poor of the temperature coefficient of electron mobility of same semiconductor material and hall mobility, and the temperature coefficient of the temperature coefficient of the electron mobility of same material and hall mobility equates, so B
OPAnd B
RPTemperature coefficient be zero.
The core of the utility model design philosophy is the temperature coefficient of design hysteresis comparator threshold voltage, make it to equal the temperature coefficient of the electron mobility of Hall thin slice material therefor, thereby offset with the temperature coefficient of hall mobility, and the temperature coefficient that finally makes BOP and BRP is zero, satisfies the performance requirement that Hall switch is worked in wide temperature range.Among the embodiment shown in Figure 3, obtaining of hysteresis comparator threshold voltage temperature coefficient, be based on resistance identical and the another kind of resistance opposite with this temperature coefficient of resistance with the Hall sheeting, suitably choose the ratio of these two kinds of resistance, make it meet formula (15), the temperature coefficient of hysteresis comparator threshold voltage can be equaled the temperature coefficient of the electron mobility of Hall thin slice material therefor.
Above-described embodiment only is explanation technological thought of the present utility model and characteristics; its purpose is to make those skilled in the art can understand content of the present utility model and implements according to this; can not limit protection range of the present utility model according to this; promptly the equalization of being done with the spirit that the utility model was disclosed changes or derives, and must be encompassed in the protection range of the present utility model.