Magnetic sensor circuit
09746531 · 2017-08-29
Assignee
Inventors
Cpc classification
G06F2101/00
PHYSICS
G01R33/0088
PHYSICS
G01R33/075
PHYSICS
G01R33/0029
PHYSICS
H01L2221/00
ELECTRICITY
International classification
Abstract
To provide a magnetic sensor circuit which does not output spike-like voltage errors to a signal processing circuit. A magnetic sensor circuit is provided which is configured so as to output an output signal to a signal processing circuit through a plurality of hall elements driven by a first switch circuit and a second switch circuit controlled by a second control circuit and in which the first switch circuit controls timings at which spikes occur in the output signal of each of the hall elements in such a manner that the timings are not the same, and the second switch circuit selects and outputs an output signal having a period of a timing free of the occurrence of a spike.
Claims
1. A magnetic sensor circuit comprising: a plurality of hall elements equipped with a plurality of terminals; a first switch circuit between the terminals of the hall elements, and a power supply terminal and a ground terminal and configured to supply driving currents to the hall elements; a second switch circuit connected to the terminals of the hall elements and configured to select and output signals of the hall elements; a first control circuit that outputs a first control signal to the first switch circuit; a second control circuit that outputs a second control signal to the second switch circuit; and a signal processing circuit configured to process signals in response to an output signal from the second switch circuit, wherein the first control circuit is configured to control the hall elements such that a timing at which spikes occur in the output signals of the plurality of hall elements are different from each other, wherein the second control circuit is configured to control the second switch circuit such that the second switch circuit does not select an output signal having a predetermined period during in which spikes occur, among the output signals of the hall elements, and to select an output signal having a predetermined period free of spikes among the output signals of the hall elements, and wherein at least one output signal of the plurality of hall elements is selected and output during all periods as the output signal of the second switch circuit.
2. The magnetic sensor circuit according to claim 1, further comprising a constant current source between the first switch circuit and the power supply terminal.
3. The magnetic sensor circuit according to claim 2, wherein the constant current source comprises a plurality of constant current sources and each constant current source corresponds to one of the plurality of hall elements, and wherein the constant current sources are connected to the hall elements by switching of the first switch circuit every spinning period.
4. The magnetic sensor circuit according to claim 1, wherein the hall elements are connected to the terminals thereof in such a manner that the plurality of hall elements operate as a signal hall element.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(19) Preferred embodiments of a magnetic sensor circuit of the preset invention will hereinafter be described with reference to circuit diagrams.
(20) <First Embodiment>
(21)
(22) The magnetic sensor circuit is equipped with a first hall element 1A, a second hall element 1B, a first switch circuit 13, a second switch circuit 14, a first control circuit 11, a second control circuit 12, a constant current source 15, and a signal processing circuit 16. The signal processing circuit 16 corresponds to a filter processing circuit related to a chopping modulation/demodulation circuit, an addition or the like, an analog-to-digital converter, a comparator (magnetic switch circuit), etc.
(23) The first hall element 1A has four terminals. Nodes of the respective terminals are assumed to be N1A to N4A. The second hall element 1B has four terminals. Nodes of the respective terminals are assumed to be N1B to N4B. The signal processing circuit 16 has a positive phase input terminal INP and a negative phase input terminal INM.
(24) The first hall element 1A and the second hall element 1B are connected to a power supply voltage and a ground voltage through the first switch circuit 13 controlled by the first control circuit 11 and connected to the signal processing circuit 16 through the second switch circuit 14 controlled by the second control circuit 12.
(25) Respective switches of the first switch circuit 13 are respectively controlled by control signals SS1VA, SS1VB, SS2VA, SS2VB, SS1GA, SS1GB, SS2GA, and SS2GB. Respective switches of the second switch circuit 14 are respectively controlled by control signals SS1PA, SS1PB, SS2PA, SS2PB, SS1MA, SS1MB, SS2MA, and SS2MB.
(26) The operation of the magnetic sensor circuit according to the first embodiment will next be described.
(27) One spinning period is divided into a period Φ1 and a period Φ2. Further, the period Φ1 is divided into a sub-period Φ11 and a sub-period Φ12. The period Φ2 is divided into a sub-period Φ21 and a sub-period Φ22. The control signals SS1VA and SS1GA become a high level during the period Φ1, the control signals SS2VA and SS2VG become a high level during the period Φ2, the control signals SS1VB and SS1GB become a high level during the periods Φ12 and Φ21, and the control signals SS2VB and SS2GB become a high level during the periods Φ22 and Φ11. Further, the control signals SS1PA and SS1MA become a high level during the period Φ12, the control signals SS2PA and SS2MA become a high level during the period Φ22, the control signals SS1PB and SS1MB become a high level during the period Φ21, and the control signals SS2PB and SS2MB become a high level during the period Φ11.
(28) Thus, during the period Φ11, the constant current source 15 is connected to the node N2A, and the ground voltage is connected to the node N4A, the constant current source 15 is connected to the node N3B, the ground voltage is connected to the node N1B, whereby the two hall elements are driven. Further, the hall element node N2B of the hall element 1B is connected to the positive phase input terminal INP, and the hall element node N4B of the hall element 1B is connected to the negative phase input terminal INM. Since a spinning switching timing of the hall element 1B corresponds to the start time of the period Φ22 during this period, no spike-like voltage errors occur in a differential output signal (INP-INM). The principle of operation during the periods Φ12, Φ21 and Φ22 is also similar to the above. A differential signal during the period in which spike-like voltage errors of either one of the hall element 1A and the hall element 1B do not occur is selected and outputted as an input signal (INP-INM) for the signal processing circuit 16.
(29) Thus, the magnetic sensor circuit according to the first embodiment has an advantage that no spike-like errors occur in the input of the signal processing circuit 16. In addition to the above, in the present embodiment, a spinning frequency and a signal processing conversion rate (e.g., sampling rate of analog-to-digital converter) of the signal processing circuit 16 can be more raised by masking a period of spike-like errors and selecting a voltage of a stable period. Thus, it is possible to keep the S/N of the magnetic sensor circuit constant.
(30) Further, the magnetic sensor circuit enables the signal processing circuit 16 to consecutively propagate the output signal voltage of each hall element and is suitable for consecutive signal processing.
(31) Furthermore, an advantageous effect is brought about in that in the case of discrete-time signal processing using an instrumentation amplifier, no wasteful charge/discharge occurs and hence current consumption of the instrumentation amplifier does not increase.
(32) <Second Embodiment>
(33)
(34) The magnetic sensor circuit according to the present embodiment is equipped with a first hall element 1A, a second hall element 1B, a third hall element 1C, a fourth hall element 1D, a first switch circuit 33, a second switch circuit 34, a first control circuit 31, a second control circuit 32, and a signal processing circuit 36.
(35) The third and fourth hall elements 1C and 1D have four terminals as with the first and second hall elements 1A and 1B. Nodes of the respective terminals are assumed to be N1C to N4C and N1D to N4D. The signal processing circuit 36 has positive phase input terminals INPA, INPB, INPC, and INPD, and negative phase input terminals INMA, INMB, INMC, and INMD.
(36) As the hall elements, the third hall element 1C and the fourth hall element 1D are added to the magnetic sensor circuit according to the first embodiment and similarly connected between the first switch circuit 33 and the second switch circuit 34.
(37) The first switch circuit 33 is similarly added with switches depending on the four hall elements.
(38) The second switch circuit 34 is equipped with eight output terminals corresponding to the input terminals of the signal processing circuit 36.
(39) Although nodes for the positive phase input terminals (INPA, INPB, INPC, and INPD) and nodes for the negative phase input terminals (INMA, INMB, INMC, and INMD) are provided at four each, signals of these terminals are converted into be brought to a voltage level or a current level and subjected to addition signal processing by an addition circuit (not shown) in the signal processing circuit 36.
(40) The operation of the magnetic sensor circuit according to the second embodiment will next be described.
(41) One spinning period is divided into a period Φ1, a period Φ2, a period Φ3, and a period Φ4. Further, the period Φ1 is divided into sub-periods Φ11, Φ12, Φ13, and Φ14. The period Φ2 is divided into sub-periods Φ21, Φ22, Φ23, and Φ24. The period Φ3 is divided into sub-periods Φ31, Φ32, Φ33, and 034. The period Φ4 is divided into sub-periods Φ41, Φ42, Φ43, and Φ44. Control signals SS1VA and SS1GA become a high level during the period Φ1, control signals SS2VA and SS2VG become a high level during the period Φ2, control signals SS3VA and SS3VG become a high level during the period Φ3, and control signals SS4VA and SS4VG become a high level during the period Φ4. They serve as control signals for driving the hall element 1A. Signals for driving other hall elements 1B, 1C, and 1D also have four phases in like manner, but the phase of each clock is shifted by one sub-period at each hall element as illustrated in
(42) As to control signals related to an output signal of the hall element 1A, the control signals SS1PA and SS1MA become a high level during periods Φ12 to 014, the control signals SS2PA and SS2MA become a high level during periods Φ22 to Φ24, the control signals SS3PA and SS3MA become a high level during periods Φ32 to Φ34, and the control signals SS4PA and SS4MA become a high level during periods Φ42 to Φ44. Other hall elements 1B, 1C, and 1D also have control signals having a similar phase relationship as illustrated in
(43) Thus, although a spike occurs in the hall element 1A during the sub-period Φ11, the three signals of the hall elements 1B, 1C, and 1D are inputted to the signal processing circuit 36. Similarly even in other sub-periods, the output signals of the three hall elements free of the occurrence of spikes are transmitted to the signal processing circuit 36 where they are added together.
(44) Accordingly, the magnetic sensor circuit according to the present embodiment has an advantage that no spike-like errors occur in the input of the signal processing circuit 36. Further, the magnetic sensor circuit enables the signal processing circuit 36 to consecutively propagate the output signal voltage of each hall element and is suitable for consecutive signal processing.
(45) <Third Embodiment>
(46)
(47) The magnetic sensor circuit according to the present embodiment is equipped with a first hall element 1A, a second hall element 1B, a third hall element 1C, a fourth hall element 1D, a first switch circuit 33, a second switch circuit 74, a first control circuit 31, a second control circuit 72, and a signal processing circuit 16.
(48) A different point of the third embodiment from the second embodiment resides in that the second switch circuit 74 and the second control circuit 72 are respectively different in configuration and control signal, and the signal processing circuit 16 is configured to take a positive phase input terminal INP and a negative phase input terminal INM as a pair.
(49)
(50) The operation of the magnetic sensor circuit according to the third embodiment will next be described.
(51) The time chart in the present embodiment is different from the time chart in the second embodiment in terms of the control signal of the second switch circuit 72. For example, in the hall element 1A, control signals (SS1PA and SS1MA) are assumed to be a high level during a period Φ14, control signals SS2PA and SS2MA are assumed to be a high level during a period Φ24, control signals SS3PA and SS3MA are assumed to be a high level during a period Φ34, and control signals SS4PA and SS4MA are assumed to be a high level during a period Φ44. Although control signals having a similar phase relationship are used even in the second to fourth hall elements 1B to 1D, the phase of each clock is shifted by one sub-period among the hall elements. Thus, as a signal processing input (INP-INM), a signal of the second hall element 1B is selected during a period Φ11, a signal of the third hall element 1C is selected during a period Φ12, a signal of the fourth hall element 1D is selected during a period Φ13, and a signal of the first hall element 1A is selected during a period Φ14. Even during other sub-periods, signals to be input to the signal processing circuit 16 are determined in a similar principle.
(52) Thus, the magnetic sensor circuit according to the present embodiment has an advantage that no spike-like errors occur in the input of the signal processing circuit 16. In addition, since the four hall elements are used in the present embodiment, the spike-like error period is masked and the three sub-periods can be taken as the stable period. Therefore, the spike-like voltage errors caused by the capacity of the hall element are exponentially infinitely reduced. Consequently, it is possible to more improve a spinning frequency and a signal processing conversion rate (e.g., sampling rate of analog-to-digital converter) of the signal processing circuit 16. Thus, since the SN can be kept constant as a system of the magnetic sensor circuit, a loss in the magnetic sensor circuit can be avoided by increasing a clock rate. Further, the magnetic sensor circuit enables the signal processing circuit 16 to consecutively propagate the output signal voltage of each hall element and is suitable for consecutive signal processing.
(53) <Fourth Embodiment>
(54)
(55) The magnetic sensor circuit according to the present embodiment is identical in circuit configuration to the second embodiment, but different in terms of a first switch circuit 103 and a second switch circuit 104.
(56)
(57)
(58) The operation of the magnetic sensor circuit according to the fourth embodiment will next be described.
(59) The time chart in the present embodiment is identical in control signal to the time chart in the second embodiment, but the sign of each spike-like voltage error of a differential signal between the hall element 1B and the hall element 1D is negative. This is because how to spin each hall element differs.
(60) The period free of spikes is selected as the output in the magnetic sensor circuit according to the present embodiment, whereas in an actual circuit, a finite error in (A×exp (−T/τ), where T: masked settling time) is included with respect to a time constant τ. Thus, in the hall elements 1A and 1C, a small error (A×exp (−T/τ)) actually occurs. In the hall elements 1B and 1D, a small error ((−1)×A×exp (−T/τ)) actually occurs. Thus, it is possible to more reduce a signal error component by canceling the influence of a residual error with respect to signal settling.
(61) Since the post-settling voltage after spike disappearance is selected and outputted, the magnetic sensor circuit according to the present embodiment is substantially insensitive to the influence by the difference in waveform shape between the positive and negative spike voltages.
(62)
(63) In
(64) The configuration of the hall element 1 illustrated in
(65)
(66) The driving circuit in
(67) Further, in the case of the magnetic sensor circuit equipped with the four hall elements as illustrated in
(68) According to the driving circuit illustrated in
(69) As described above, the description of the embodiment of the present invention is not limited to those illustrated in the drawings, such as the shapes, terminals and positional relations (0°, 90°, 180°, and 270°) of the hall elements, etc. Hall elements with other shapes and the number of other terminals are also included in the scope of the invention.
(70) Further, the present invention is not limited to the above-described embodiments. It is a matter of course that the present invention includes various changes and modifications that will be made by a person skilled in the art within the scope of the present invention.