US20070182405A1 - Magnetic sensor - Google Patents
Magnetic sensor Download PDFInfo
- Publication number
- US20070182405A1 US20070182405A1 US11/466,560 US46656006A US2007182405A1 US 20070182405 A1 US20070182405 A1 US 20070182405A1 US 46656006 A US46656006 A US 46656006A US 2007182405 A1 US2007182405 A1 US 2007182405A1
- Authority
- US
- United States
- Prior art keywords
- signal
- level
- circuit
- terminal
- magnetic
- 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
Links
- 230000004907 flux Effects 0.000 claims abstract 4
- 230000001960 triggered effect Effects 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000001105 regulatory effect Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/244—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
- G01D5/245—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains using a variable number of pulses in a train
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/244—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
- G01D5/245—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains using a variable number of pulses in a train
- G01D5/2451—Incremental encoders
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/244—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R33/00—Arrangements or instruments for measuring magnetic variables
- G01R33/02—Measuring direction or magnitude of magnetic fields or magnetic flux
- G01R33/06—Measuring direction or magnitude of magnetic fields or magnetic flux using galvano-magnetic devices
- G01R33/07—Hall effect devices
- G01R33/072—Constructional adaptation of the sensor to specific applications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/14—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
- G01D5/142—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage using Hall-effect devices
- G01D5/145—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage using Hall-effect devices influenced by the relative movement between the Hall device and magnetic fields
Definitions
- This invention relates to a magnetic sensor that has a magnetic movable to move responsive to a movement of an object-being-detected so that a movement of an object-being-detected, particularly a direction of movement thereof, can be detected by using a change of magnetic field due to the movement of the magnetic movable.
- a magnetic sensor adapted to detect a moving direction of an object-being-detected by moving a magnetic movable having convexes in responsive to a movement of the object-being-detected and thereby detecting a change of magnetic field caused by the movement of the magnetic movable through the use of a magneto-resistance element (hereinafter referred to as an MR element).
- an MR element magneto-resistance element
- Such existing magnetic sensors include, say, those having a structure that three MR elements are arranged opposite to a magnetic movable through a slight gap.
- the MR elements are arranged in a direction of movement of the magnetic movable by inserting those MR elements respectively in two bridge circuits at predetermined sides thereof.
- the magnetic movable when moved, causes a resistance change in the MR elements, which is taken as voltage change on two systems from the bridge circuits. From the state of voltage change, detected is a moving direction of the magnetic movable and hence of the object-being-detected. (see JP-A-2002-90181, FIGS. 4-6 , description page 6 , for example).
- the two-system voltage changes taken out of the bridge circuits are converted by first and second comparator circuits into rectangular-wave signals.
- One of the rectangular-wave signals is inputted to a base terminal of an output transistor and to a D-terminal of a D-flip-flop circuit.
- the other rectangular-wave signal is inputted to a CL terminal of the D-flip-flop circuit.
- the D-flip-flop circuit has an output that is inputted to a base terminal of another transistor. This transistor has a collector terminal whose voltage is pulled up to the power voltage VCC, and an emitter terminal connected to an emitter terminal of the output transistor and grounded through a resistance.
- the output transistor has an output signal that is delivered to a computer unit and then pulled up to the power voltage VCC.
- the output signal of the output transistor is inputted to third and fourth comparator circuits where compared with comparison levels 1 and 2 , to obtain two output signals based on the comparison results. In the case one output signal is in a low state in level, a forward movement is to be recognized as to the magnetic movable. When the output signal is a rectangular wave, a reverse movement is to be recognized as to the magnetic movable.
- a magnetic sensor in the invention is a magnetic sensor having a sensor unit, comprising: a magnetic movable that moves in response to a movement of an object-being-detected; a sensor section provided opposite to the magnetic movable through a gap and for detecting a change of magnetic field in the gap due to a movement of the magnetic movable; a converting section that converts a change of magnetic field, detected by the sensor section, into a change of electric amount and outputs a change of electric amount converted; and a determining section that determines a moving direction of the object-being-detected depending upon an output of the converting section; the sensor unit having a power terminal to supply power to the detecting section and converting section, a ground terminal for grounding, and an output terminal that outputs the output to the determining section; the magnetic sensor further comprising a current control section that controls an amount of current flowing through at least one of the power terminal and the ground terminal, correspondingly to a moving direction of the magnetic movable; the determining section detecting a
- the current control section is structured by a switching section which is connected between the power terminal and the ground.
- a current control section that changes an amount of current flowing through at least one of the power terminal and the ground terminal, correspondingly to a moving direction of the magnetic movable so that a moving direction of the object-being-detected can be determined depending upon the change amount of current. Accordingly, even when the magnetic movable is inverted in rotation in any timing, a moving direction of the magnetic movable can be detected correctly, without a significant delay, in a manner free from erroneously recognizing a moving direction thereof.
- the current control section is configured by a switching section connected between the power terminal and the ground.
- FIG. 1 is a perspective view showing an arrangement of a magnetic movable and MR elements, in an art forming the basis of the present invention
- FIG. 2 is an explanatory view showing the arrangement of a magnetic movable and MR elements, in the art forming the basis of the invention
- FIG. 3 is a circuit diagram of an art forming the basis of the invention.
- FIG. 4 is a circuit diagram of a D-flip-flop circuit device of the art forming the basis of the invention
- FIGS. 5A-5D are explanatory figures that explain the operation of the art forming the basis of the invention.
- FIG. 6 is a circuit diagram of a device according to a first embodiment of the invention.
- FIGS. 7A-7D are explanatory figures that explain the operation of the device according to the first embodiment of the invention.
- FIG. 8 is a circuit diagram of a device according to a second embodiment of the invention.
- FIGS. 9A-9D are explanatory figures that explain the operation of the device according to the second embodiment of the invention.
- the magnetic sensor uses rise and fall edges of two rectangular-wave signals in detecting a moving direction of a magnetic movable. This can detect a moving direction of the magnetic movable nearly four times faster the existing one in the foregoing.
- a reverse rotation of the magnetic movable is detected by the edge next to the first rise or fall edge.
- FIG. 1 is a perspective view showing an arrangement of a magnetic movable and MR elements, in an art forming the basis of the invention.
- FIG. 2 is an explanatory view of the same.
- FIG. 3 is a circuit diagram of a magnetic sensor.
- FIG. 4 is an explanatory figure of the operation of the same.
- an IC chip 2 integrally structured with MR elements 21 a, 21 b, 22 , or three magnetic detecting elements, constituting a sensor section.
- the magnet 1 is magnetized in a direction of arrow 3 .
- a magnetic movable 4 having a multiplicity of convexes 41 equally spaced in a periphery thereof, its rotation in a direction of arrow 5 is taken forward while its rotation in a direction reverse thereto is taken reverse.
- the magnetic movable 4 is arranged to rotate correspondingly to a rotation of an object-being-detected (not shown).
- the magnetic movable 4 is arranged such that its peripheral surface is opposed to a side surface of the magnet 1 through a slight gap. Due to the rotation of the magnetic movable 4 , the convex 41 and the concave 42 alternately come close to the magnet 1 . This causes a change in the magnetic field applied from the magnet 1 to the MR elements 21 a, 21 b, 22 . The change in the magnetic field provides resistance changes in the respective MR elements 21 a, 21 b, 22 , which are to be detected as voltage changes as described later.
- the MR elements 21 a, 21 b, 22 may be huge magneto-resistance effect elements (GMR elements).
- a first bridge circuit 23 is configured by MR elements 21 a, 21 b and resistances 24 , 25 .
- the MR elements 21 a, 21 b have a connection point 211 connected to an inverted input terminal 291 of a first comparator circuit 29 , as a first comparator section.
- the resistances 24 , 25 have a connection point 212 connected as a reference voltage to an non-inverted input terminal 292 of the first comparator circuit 29 . It is assumed that the signal to be inputted to the inverted input terminal 291 of the first comparator circuit 29 is “c” while the signal on an output terminal 293 thereof is “e”.
- a second bridge circuit 30 is configured by an MR element 22 and resistances 26 , 27 , 28 .
- the MR element 22 and the resistance 26 have a connection point 213 connected to an inverted input terminal 311 of a second comparator circuit 31 as a second comparator section.
- the resistances 27 , 28 have a connection point 214 connected as a reference voltage to an non-inverted input terminal 312 of the second comparator circuit 31 .
- the MR elements 21 a, 22 and the resistances 24 , 27 are connected to a power source VCC while the MR element 21 b and the resistances 25 , 26 , 28 are grounded. It is assumed that the signal to be inputted to the input terminal of the second comparator circuit 31 is “d” while the signal at an output terminal 313 is “f”.
- a D-flip-flop circuit device (hereinafter referred to as a D-FF circuit device) 380 is configured as shown in FIG. 4 .
- a D-FF circuit device has a first rise-edge D-flip-flop circuit (hereinafter referred to as a first rise-edge D-FF circuit) 381 , a first fall-edge D-flip-flop circuit (hereinafter referred to as a first fall-edge D-FF circuit) 382 , a second rise-edge D-flip-flop circuit (hereinafter referred to as a second rise-edge D-FF circuit) 383 , and a second fall-edge D-flip-flop circuit (hereinafter referred to as a second fall-edge D-FF circuit) 384 .
- a first rise-edge D-flip-flop circuit hereinafter referred to as a first rise-edge D-FF circuit
- a first fall-edge D-flip-flop circuit hereinafter referred to as a first fall-edge D-
- the first rise-edge D-FF circuit 381 has a CL terminal connected to an output terminal 293 of the first comparator circuit 29 , and a D terminal connected to an output terminal 313 of the second comparator circuit 31 .
- the second rise-edge D-FF circuit 383 has a CL terminal connected to an output terminal 313 of the second comparator circuit 31 , and a D terminal connected to an output terminal 293 of the first comparator circuit 29 .
- the first fall-edge D-FF circuit 382 has a CL terminal connected to the output terminal 293 of the first comparator circuit 29 through a NOT circuit 343 , and a D terminal connected to the output terminal 313 of the second comparator circuit 31 .
- the second fall-edge D-FF circuit 384 has a CL terminal connected to the output terminal 313 of the second comparator circuit 31 through a NOT circuit 344 , and a D terminal connected to the output terminal 293 of the first comparator circuit 29 .
- the first and second rise-edge D-FF circuits 381 , 383 are well-known D-flip-flop circuits.
- the output terminal Q maintains the current output state regardless of the level of a signal inputted to the D terminal.
- triggering is effected by its rise edge.
- the output terminal Q has a high-level signal while, when the signal to the D terminal is low in level, the output terminal Q has a low-level signal.
- the first and second fall-edge D-FF circuits 382 , 384 are well-known D-flip-flop circuits.
- the output terminal Q maintains the current output state regardless of the level of a signal inputted to the D terminal.
- a low-level signal is inputted to an input terminal of the NOT circuit 343 , 344 connected to the CL terminal, triggering is effected by its fall edge, i.e. by the rise edge of a high-level signal inputted to the CL terminal.
- the output terminal Q has a high-level signal while, when the signal to the D terminal is low in level, the output terminal Q has a low-level signal.
- the respective Q terminals, of the first and second rise-edge and fall-edge D-FF circuits 381 , 382 , 383 , 384 are connected to a 4-input OR circuit 342 through a logic circuit formed by a 3-input NAND circuit 385 , 3-input BAND circuits 386 , 387 , a 4-input NAND circuits 388 , a 4-input BNAND circuit 389 and 4-input AND circuits 340 , 341 , as shown in the figure.
- the 4-input OR circuit 342 has an output terminal 346 connected to a base of a second transistor (hereinafter referred to as a second Tr) 40 shown in FIG. 3 . It is assumed that the 4-input OR circuit 342 has a signal “g” at its output terminal 346 .
- a first, or output, transistor (hereinafter referred to as a first Tr) 37 has a base connected to the output terminal 293 of the first comparator circuit 29 , and an emitter grounded through a resistance 38 .
- the second Tr 40 has a base connected to an output terminal 346 of the 4-input OR circuit 342 shown in FIG. 4 , an emitter connected to a connection point of the emitter of the first Tr 37 and the resistance 38 , and a collector connected to a power source VCC through a resistance 39 .
- a computer unit 420 has third and fourth comparator circuits 44 , 45 whose inverted input terminals 441 , 451 are both connected to the power source VCC through a resistance 46 .
- the third comparator circuit 44 has a non-inverted input terminal 442 connected to a connection point 411 of the resistances 401 , 402 while the fourth comparator circuit 45 has a non-inverted input terminal 452 connected to a connection point 421 of the resistances 42 , 43 .
- the resistances 401 , 403 are connected to the power source VCC while the resistances 402 , 404 are grounded.
- FIG. 5A shows the waveforms of signals e, f, g, h, i, j on the respective terminals of the circuit shown in FIGS. 3 and 4 in the case rotation is switched from reverse to forward when the magnetic movable 4 and the MR element 22 in the center of the magnet 1 (see FIG. 1 ) are relatively opposite in a position (a).
- FIGS. 5B , 5 C and 5 D show the waveforms of the signals e, f, g, h, i, j in the case rotation is switched from forward to reverse when the magnetic movable 4 and the center MR element 22 of the magnet 1 are relatively opposite in a position (b), (c) or (d).
- the signal h is given a binary-signal pulse having high and low levels H, L 1 at a forward rotation of the magnetic movable 4 , and a binary-signal pulse having high and low levels H, L 2 at a reverse rotation of the magnetic movable 4 .
- the magnetic movable 4 when the magnetic movable 4 rotates forward, the magnetic movable 4 at its convex 41 and concave 42 alternately becomes opposite to the MR element 21 a, 22 and 21 b differently in time in the order.
- This provides a change in the bias magnetic field to each of the MR elements 21 a, 22 , 21 b and hence a change in the resistance thereof.
- the resistance change of the MR element 21 a, 22 , 21 b causes a change in the signal c, d, to be inputted to the inverted input terminal 29 , 31 of the first and second comparator circuit 291 , 311 , into a sinusoidal waveform.
- the signal c is advanced a predetermined amount of phase relative to the signal d due to a positional relationship in arrangement of the MR elements 21 a, 22 , 21 b.
- the first fall-edge D-FF circuit 382 is triggered. Because the signal f, inputted to its D terminal from the second comparator circuit 29 , is high in level, its Q terminal has a signal high in level. Thus, the 4-input OR circuit 342 at its output terminal 346 has a signal g high in level.
- the third comparator circuit 44 has a comparison level CL 1 given between the high and low levels H, L 1 of the signal h while the fourth comparator circuit 45 has a comparison level CL 2 given between the low and low levels L 1 , L 2 of the signal h. Accordingly, at the time t 1 , the third comparator circuit 44 has an output signal i low in level while the fourth comparator circuit 45 has an output signal j staying low in level.
- the signal f on the output terminal 313 of the second comparator circuit 31 , falls from the high to low level, to cause a triggering in the second fall-edge D-FF circuit 384 .
- the signal e on the output terminal 293 of the first comparator circuit 29 , is low in level at the time t 2 so that the Q terminal has a signal low in level.
- the Q terminal of the first fall-edge D-FF circuit 382 maintains the high level, and the 4-input OR circuit 342 has an output g high in level. Accordingly, the third and fourth comparator circuits 44 , 45 have output signals i, j staying low in level.
- the signal e of from the first comparator circuit 29 rises to cause a triggering in the first rise-edge D-FF circuit 381 .
- the Q terminal has a signal low in level.
- the first fall-edge D-FF circuit 382 has, at its Q terminal, a signal maintained high in level, and the 4-input OR circuit 342 has, at its output terminal 346 , a signal g high in level.
- the second Tr 40 stays conductive.
- the first Tr 37 becomes conductive because the signal e becomes high in level.
- the resistance 38 there is caused an additional flow of a current supplied from the second Tr 40 , which makes the signal h low level L 1 .
- the third comparator circuit 44 By turning the signal h to a low level L 1 , the third comparator circuit 44 whose comparison level is set at the first comparison level CL 1 has an output signal i high in level. Because the fourth comparison circuit 45 has a comparison level given at the second comparison level CL 2 , its output signal j stays low in level.
- the second rise-edge D-FF circuit 383 is triggered. Because the signal on the D terminal at that time is high in level, a high-level signal is outputted from the Q terminal. Due to this, the 4-input OR circuit 342 has an output signal g maintained high in level, and the second Tr 40 continues conductive. For this reason, the signal h stays low level L 1 . Thus, at the time t 4 , there is no change in the output signals i, j of the third and fourth comparator circuits 44 , 45 from those at the time t 3 .
- the third comparator circuit 44 has an output signal i assuming a binary-signal pulse having high and low levels whereas the fourth comparator circuit 45 has an output signal j staying low in level. Namely, by the fact that the output signal i appears as a binary pulse having high and low levels while the output signal j continues low in level, it can be determined that the magnetic movable 4 is in a forward rotation.
- the magnetic movable 4 When the magnetic movable 4 rotates reverse, the magnetic movable 4 at its convex 41 and concave 42 alternately becomes opposite to the MR element 21 b, 22 and 21 a differently in time in the order, conversely to the forward rotation.
- the signal j on the output terminal 453 of the fourth comparator circuit 45 becomes changing alternately between low and high levels synchronously with the signal i on the output terminal 443 of the third comparator circuit 44 . Accordingly, by the fact that the output signal j changes alternately between low and high levels, it can be determined that the magnetic movable 4 is in a reverse rotation.
- the signal h does not change in level to L 2 at any of time points t 83 , t 93 that the signal e, f first changes after a reverse rotation, as shown in FIG. 5D .
- detection is possibly erroneous at time t 83 that reverse rotation can be detected in the normal case, thus making impossible to detect a reverse rotation. It is impossible to detect a reverse rotation before the time point t 103 the signal h changes in level to L 2 .
- FIG. 6 shows a circuit diagram of a magnetic sensor according to a first embodiment of the invention.
- FIGS. 7A-7D are explanatory figures that explain the operation of the same.
- a D-FF circuit device 380 has the same configuration as the showing in FIG. 4 , thus having an output terminal 346 connected to a base of a second Tr 40 through a NOT circuit 347 .
- the collector of the second Tr 40 is connected through a resistance 39 to a power terminal VB through which power is supplied from a computer unit 420 to a sensor unit 50 .
- the sensor unit 50 has a power source VCC 2 free from voltage fluctuations because of the voltage from the power terminal VB regulated to a predetermined value.
- the sensor unit 50 is supplied with power from the computer unit 420 through the power terminal VB so that a consumption current m flows to the sensor unit 50 .
- the consumption current m includes a current m 1 flowing to the circuit elements of the sensor unit 50 and a current m 2 to be controlled by the second Tr 40 . Meanwhile, the consumption current m flows from the sensor unit 50 to the computer unit 420 through a GND terminal.
- a first Tr 37 has an emitter grounded and a collector connected to an inverted input terminal 441 of a third comparator circuit 44 of the computer unit 42 through an output terminal VOUT of the sensor unit 50 .
- the first Tr 37 has an output signal h that is conveyed to the computer unit 420 and then pulled up to the power voltage VCC.
- a fourth comparator circuit 45 has an inverted input terminal 451 connected to a collector of the second Tr 40 of the sensor unit 50 through the power terminal VB and resistance 39 .
- the inverted input terminal 451 is connected to the power source VCC through a resistance 48 .
- the resistance 48 is assumed having a resistance value R 1 .
- the ground terminal GND is directly grounded without intervening a resistance.
- the magnetic detecting elements 21 a, 21 b, 22 constitute a detecting section in the invention.
- the first and second bridge circuits 23 , 31 , the first and second comparator circuits 29 , 31 and the D-flip-flop circuit device 380 constitute a converting section in the invention.
- the third and fourth comparator circuits 44 , 45 constitute a determining section in the invention.
- the second Tr 40 constitutes a current control section in the invention.
- FIGS. 7A-7D are operation explanatory figures of the magnetic sensor according to the first embodiment.
- FIG. 7A shows the waveforms of signals e, f, g 0 , h, i, j, k on the respective terminals of the circuit shown in FIGS. 6 and 4 and of a consumption current m currents m 1 , m 2 in the case rotation is switched from forward to reverse when the magnetic movable 4 and the center MR element 22 of the magnet 1 (see FIG. 1 ) are relatively opposed in a position (a).
- FIGS. 7A shows the waveforms of signals e, f, g 0 , h, i, j, k on the respective terminals of the circuit shown in FIGS. 6 and 4 and of a consumption current m currents m 1 , m 2 in the case rotation is switched from forward to reverse when the magnetic movable 4 and the center MR element 22 of the magnet 1 (see FIG. 1 ) are relatively opposed in a position (a).
- FIG. 7B , 7 C and 7 D show the waveforms of signals e, f, g 0 , h, i, j, k and of a consumption current m, currents m 1 , m 2 in the case rotation is switched from forward to reverse when the magnetic movable 4 and the center MR element 22 of the magnet 1 are relatively opposed in each of positions (b), (c) and (d).
- the signal h assumes a binary signal pulse having high and low levels H, L 1 during forward rotation of the magnetic movable 4 . It also assumes a binary signal pulse having high and low levels H, L 2 during reverse rotation of the magnetic movable 4 .
- ground level GND ⁇ L is held as shown in FIG. 7 .
- the resistance change of the MR element 21 a, 22 , 21 b causes a change in the signal c, d, to be inputted to the inverted input terminal 291 , 311 of the first and second comparator circuit 29 , 31 , into a sinusoidal waveform.
- the signal c is advanced a predetermined amount of phase relative to the signal d due to a positional relationship in arrangement of the MR elements 21 a, 22 , 21 b.
- the first fall-edge D-FF circuit 382 is triggered. Because the signal f, inputted to its D terminal from the second comparator circuit 31 , is high in level, its Q terminal has a signal high in level. Thus, the 4-input OR circuit 342 at its output terminal 346 has a signal g high in level. Thus, the NOT circuit 347 has, at its output terminal, a signal g 0 low in level.
- the consumption current m is equal in value to the current m 1 . Because the signal e at time t 1 becomes low in level, the first Tr 37 becomes non-conductive with a result that the first Tr 37 has a collector signal h high in level.
- the third comparator circuit 44 has a comparison level CL 1 set at between the high and low levels H, L of the signal h. Accordingly, at the time t 1 , the third comparator circuit 44 has an output signal i low in level.
- the signal k at the time ti lies in high level H.
- the fourth comparator circuit 45 has a comparison level CL 2 set at between the high and low levels H, L of the signal k.
- the fourth comparator circuit 45 has an output signal j staying low in level.
- the signal f on the output terminal 313 of the second comparator circuit 31 , falls from the high to low level, to cause a triggering in the second fall-edge D-FF circuit 384 .
- the signal e on the output terminal 293 of the first comparator circuit 29 , is low in level at the time t 2 so that the Q terminal has a signal low in level.
- the Q terminal of the first fall-edge D-FF circuit 382 maintains the high level, and the 4-input OR circuit 342 has an output g high in level. Accordingly, the NOT circuit 347 has, at its output terminal, a signal g 0 staying low in level and the fourth comparator circuit 45 has an output signal j staying low in level.
- the signal e from the first comparator circuit 29 rises to cause a triggering in the first rise-edge D-FF circuit 381 .
- the Q terminal has a signal low in level.
- the first fall-edge D-FF circuit 382 has, at its Q terminal, a signal maintained high in level
- the 4-input OR circuit 342 has, at its output terminal 346 , a signal g high in level
- the NOT circuit 347 has, at its output terminal, a signal g 0 low in level.
- the second Tr 40 stays non-conductive.
- the first Tr 37 becomes conductive because the signal e becomes high in level and the signal h becomes a low level L.
- the third comparator circuit 44 set at a comparison level CL 1 has an output signal i high in level.
- the second Tr 40 stays non-conductive and the fourth comparator circuit 45 has an output signal j saying low in level.
- the second rise-edge D-FF circuit 383 is triggered. Because the signal on the D terminal at that time is high in level, a high-level signal is outputted from the Q terminal. Due to this, the 4-input OR circuit 342 has an output signal g continuing high in level.
- the NOT circuit 347 has, at its output terminal, a signal g 0 maintained low in level and the second Tr 40 continues non-conductive. The signal h stays low in level L.
- the third comparator circuit 44 has an output signal i assuming a binary-signal pulse having high and low levels whereas the fourth comparator circuit 45 has an output signal j staying low in level. Namely, by the fact that the output signal i appears as a binary pulse having high and low levels while the output signal j continues low in level, it can be determined that the magnetic movable 4 is in a forward rotation.
- the second Tr 40 becomes conductive to flow a current m 2 , thus increasing the consumption current m.
- the signal e at time t 5 is high in level so that the first Tr 37 stays conductive. Because the signal h is low in level L and equal to or smaller than the first comparison level CL 1 , the third comparator circuit 44 has an output signal i staying high in level.
- the signal e becomes low in level L and hence the first Tr 37 becomes non-conductive.
- the signal h becomes high in level H, and the output signal i of the third comparator circuit 44 turns into a low level.
- the signal f at this time is low in level so that the 4-input OR circuit 342 has, at its output terminal 346 , a signal g staying low in level.
- the NOT circuit 347 has an output signal g 0 staying high in level.
- the fourth comparator circuit 45 has an output signal j staying high in level.
- the magnetic movable 4 When the magnetic movable 4 rotates reverse, the magnetic movable 4 at its convex 41 and concave 42 alternately becomes opposite to the MR element 21 b, 22 and 21 a differently in time in the order, conversely to the forward rotation.
- the signal i on the output terminal 443 of the third comparator circuit 44 changes alternately between low and high levels.
- the signal g on the output terminal 346 of the D-FF circuit device 380 stays low in level so that the output signal g 0 of the NOT circuit 347 is maintained high in level.
- the second Tr 40 continues conductive and hence the consumption current m stays in an increased state.
- the signal j on the output terminal 453 of the fourth comparator circuit 45 is maintained high in level conversely to the case in forward rotation. Accordingly, in the case the magnetic movable 4 inverts in rotation in the timing of (a), the signal j changes from the low to high level at the time t 5 the signal f first changes in level. From then on, the high level is continued. This makes it possible to determine a reverse rotation of the magnetic movable 4 .
- the signal g 0 changes from the low to high level at t 83 the signal e first changes after the inversion, as shown in FIG. 7D .
- the second Tr 40 becomes conductive. This increases the consumption current m so that the signal k to the inverted input terminal 451 of the fourth comparator circuit 45 becomes equal to or lower than a second comparison level CL 2 , providing an output signal j thereof high in level.
- a reverse rotation without encountering an erroneous detection, at time point t 83 the signal e first changes in level after an inversion.
- the magnetic sensor in the first embodiment can detect a reverse rotation free from erroneous detections without encountering a significant delay in timing even where the magnetic movable 4 is inverted in rotation in any of opposite positions to the MR element. Meanwhile, it is possible to detect a moving speed of the magnetic movable 4 and of the object-being-detected depending upon the change period of the output signal i of the third comparator circuit 4 .
- FIG. 8 shows a circuit diagram of a magnetic sensor according to a second embodiment of the invention.
- FIGS. 9A-9D are explanatory figures that explain the operation of the same.
- a second Tr 40 has an emitter grounded and a collector connected through a resistance 39 to a power terminal VB through which power voltage VCC is supplied to a sensor unit 50 .
- the sensor unit 50 has a ground terminal GND connected to the GND of a computer unit 420 through a resistance 47 .
- the resistance 47 is assumed to have a resistance value R 2 .
- the power voltage VCC 2 on the sensor unit 50 side is a voltage that is obtained by regulating the voltage from the power terminal VB to a predetermined value and hence is free from voltage fluctuations.
- the sensor unit 50 is supplied with power from the computer unit 420 through the power terminal VB so that a consumption current m flows to the sensor unit 50 .
- the consumption current m includes a current m 1 flowing to the circuit elements of the sensor unit 50 and a current m 2 to be controlled by the second Tr 40 . Meanwhile, the consumption current m flows from the sensor unit 50 to the computer unit 49 through the GND terminal.
- the other is similar in structure to the first embodiment.
- the magnetic detecting elements 21 a, 21 b, 22 constitute a detecting section in the invention.
- the first and second bridge circuits 23 , 31 , the first and second comparator circuits 29 , 31 and the D-flip-flop circuit device 380 constitute a converting section that converts a magnetic-field change detected by the detecting section into an electric amount change and outputs it. Those are provided in the sensor unit 50 .
- the third and fourth comparator circuits 44 , 45 constitute a determining section that determines a moving direction of an object-being-detected depending upon an output of the converting section, which are provided in the computer unit 420 .
- the second Tr 40 constitutes a current-control section that changes the current flowing to the power terminal VB and ground terminal GND correspondingly to a moving direction of the magnetic movable 4 .
- the signal e on the output terminal 293 of the first comparator circuit 29 , constitutes a first signal.
- the signal f, on the output terminal 313 of the second comparator circuit 31 constitutes a second signal.
- the signal g, on the output terminal 346 of the D-FF circuit device 380 constitutes a third signal.
- the signal i, on the output terminal 441 of the third comparator circuit 44 constitutes a fourth signal.
- the signal j, on the output terminal 453 of the fourth comparator circuit 45 constitutes a fifth signal.
- those signals are referred merely to as signals e, f, g, i and j.
- the signal e of from the output terminal 293 of the first comparator circuit 29 , is inputted to a base of the first Tr 37 , to a CL terminal of a first rise-edge D-FF circuit 381 shown in FIG. 4 and to a CL terminal of a first fall-edge D-FF circuit 382 through a NOT circuit 343 . Also, the signal e is inputted to a D terminal of a second rise-edge D-FF circuit 383 and to a D terminal of a second fall-edge D-FF circuit 384 .
- the signal f of from the output terminal 313 of the second comparator circuit 31 , is inputted to the respective D terminals of the first rise-edge and fall-edge D-FF circuits 381 , 382 , to a CL terminal of the second rise-edge D-FF circuit 383 and to a CL terminal of the second fall-edge D-FF circuit 384 through a NOT circuit 344 .
- a 4-input OR circuit 342 outputs, at its output terminal 346 , a signal g to be inputted to an input terminal of a NOT circuit 347 .
- the NOT circuit 347 has an output terminal to output a signal g 0 .
- the signal h, outputted from the first Tr 37 is compared with a comparison level CL 1 by the third comparator circuit 44 , thus obtaining a signal i.
- the comparison level CL 1 in the third comparator circuit 44 is set at between high and low levels H, L 2 of the signal h, as shown in FIG. 9 .
- the signal k to be inputted to an inverted input terminal 451 of the fourth comparator circuit 45 , relies upon a voltage across the resistance 47 .
- the signal k is not related to the power voltage VCC. Even in case the power voltage VCC varies, there occur no fluctuations in the signal-k high and low levels H, L.
- the signal k is compared with a comparison level CL 2 thus obtaining a signal j as shown in FIG. 9 .
- FIG. 9A shows the waveforms of signals e, f, g 0 , h, i, j, k on the respective terminals of the circuit shown in FIGS. 8 and 4 and of consumption current m and currents m 1 , m 2 in the case rotation is switched from forward to reverse when the magnetic movable 4 and the center MR element 22 of the magnet 1 (see FIG. 1 ) are relatively opposed in a position (a).
- FIGS. 9A shows the waveforms of signals e, f, g 0 , h, i, j, k on the respective terminals of the circuit shown in FIGS. 8 and 4 and of consumption current m and currents m 1 , m 2 in the case rotation is switched from forward to reverse when the magnetic movable 4 and the center MR element 22 of the magnet 1 (see FIG. 1 ) are relatively opposed in a position (a).
- FIGS. 9A shows the waveforms of signals e, f, g 0 ,
- 9B , 9 C and 9 D show the waveforms of signals e, f, g 0 , h, i, j, k and of consumption current m and currents m 1 , m 2 in the case rotation is switched from forward to reverse when the magnetic movable 4 and the center MR element 22 of the magnet 1 are relatively opposed in each of positions (b), (c) and (d).
- the signal h assumes a binary signal pulse having high and low levels H, L 1 during forward rotation of the magnetic movable 4 . It also assumes a binary signal pulse having high and low levels H, L 2 during reverse rotation of the magnetic movable 4 .
- ground level GND ⁇ L 1 ⁇ L 2 is held as shown in FIG. 9 .
- the resistance change of the MR element 21 a, 22 , 21 b causes a change in the signal c, d, to be inputted to the inverted input terminal 291 , 311 of the first and second comparator circuit 29 , 31 , into a sinusoidal waveform.
- the signal c is advanced a predetermined amount of phase relative to the signal d due to a positional relationship in arrangement of the MR elements 21 a, 22 , 21 b.
- the first fall-edge D-FF circuit 382 is triggered. Because the signal f, inputted to its D terminal from the second comparator circuit 31 , is high in level, its Q terminal has a signal high in level. Thus, the 4-input OR circuit 342 at its output terminal 346 has a signal g high in level. Thus, the NOT circuit 347 has, at its output terminal, a signal g 0 low in level.
- the consumption current m is equal in value to the current m 1 . Because the signal e at time t 1 becomes low in level, the first Tr 37 becomes non-conductive with a result that the first Tr 37 has a collector signal h high in level.
- the third comparator circuit 44 has a first comparison level CL 1 set at between the high and low levels H, L 2 of the signal h. Accordingly, at the time t 1 , the third comparator circuit 44 has an output signal i low in level.
- the signal k at the time t 1 lies in low level L.
- the fourth comparator circuit 45 has a comparison level CL 2 set at between the high and low levels H, L of the signal k.
- the fourth comparator circuit 45 has an output signal j staying high in level.
- the signal f on the output terminal 313 of the second comparator circuit 31 , falls from the high to low level, to cause a triggering in the second fall-edge D-FF circuit 384 .
- the signal e on the output terminal 293 of the first comparator circuit 29 , is low in level at the time t 2 so that the Q terminal has a signal low in level.
- the Q terminal of the first fall-edge D-FF circuit 382 maintains the high level, and the 4-input OR circuit 342 has an output g high in level. Accordingly, the NOT circuit 347 has, at its output terminal, a signal g 0 staying low in level and the fourth comparator circuit 45 has an output signal j staying high in level.
- the signal e of from the first comparator circuit 29 rises to cause a triggering in the first rise-edge D-FF circuit 381 .
- the Q terminal has a signal low in level.
- the first fall-edge D-FF circuit 382 has, at its Q terminal, a signal maintained high in level
- the 4-input OR circuit 342 has, at its output terminal 346 , a signal g high in level and hence the NOT circuit 347 has an output signal g 0 low in level. Accordingly, the second Tr 40 stays non-conductive. Meanwhile, the first Tr 37 becomes conductive because the signal e becomes high in level, thus making the signal h low in level L 1 .
- the third comparator circuit 44 set at the comparison level CL 1 has an output signal i high in level.
- the second Tr 40 stays non-conductive and the fourth comparator circuit 45 has an output signal j staying high in level.
- the second rise-edge D-FF circuit 383 is triggered. Because the signal on the D terminal at that time is high in level, a high-level signal is outputted from the Q terminal. Due to this, the 4-input OR circuit 342 has an output signal g maintained high in level.
- the NOT circuit 347 has, at its output terminal, signal g 0 continued low in level and the second Tr 40 continues non-conductive.
- the signal h stays low in level L 1 and there is no change in the output signals i, j of the third and fourth comparator circuits 44 , 45 from those at the time t 3 . Namely, the signal j stays high in level.
- the third comparator circuit 44 has an output signal i assuming a binary-signal pulse having high and low levels whereas the fourth comparator circuit 45 has an output signal j staying high in level. Namely, by the fact that the output signal i appears as a binary pulse having high and low levels while the output signal j continues high in level, it can be determined that the magnetic movable 4 is in a forward rotation.
- the second Tr 40 becomes conductive to flow a current m 2 , thus increasing the consumption current m.
- the signal e at time t 5 is high in level so that the first Tr 37 stays conductive.
- the signal h becomes L 2 that is equal to or smaller than the first comparison level CL 1 .
- the third comparator circuit 44 has an output signal i staying high in level.
- the signal e becomes low in level and hence the first Tr 37 becomes non-conductive.
- the signal h becomes high in level H, to change low in level the output signal i of the third comparator circuit 44 .
- the signal f at this time is low in level L and the 4-input OR circuit 342 has, at its output terminal 346 , the signal g maintained low in level so that the NOT circuit 347 has, at its output terminal, a signal g 0 maintained high in level. Accordingly, the fourth comparator circuit 45 has an output signal j staying low in level.
- the magnetic movable 4 When the magnetic movable 4 rotates reverse, the magnetic movable 4 at its convex 41 and concave 42 alternately becomes opposite to the MR element 21 b, 22 and 21 a differently in time in the order, conversely to the forward rotation.
- the signal i on the output terminal 443 of the third comparator circuit 44 changes alternately between low and high levels.
- the signal g on the output terminal 346 of the D-FF circuit device 380 stays low in level so that the signal g 0 on the output terminal of the NOT circuit 347 is maintained high in level.
- the second Tr 40 continues conductive and the consumption current m stays in an increased state.
- the signal j on the output terminal 453 of the fourth comparator circuit 45 is maintained low in level, conversely to the case in forward rotation. Accordingly, in the case the magnetic movable 4 inverts in rotation in the timing of (a), the signal j changes from the high to low level at the time t 5 the signal f first changes in level. From then on, the low level is continued. This makes it possible to determine a reverse rotation of the magnetic movable 4 .
- the signal g 0 changes from the low to high level at t 83 the signal e first changes after the inversion, as shown in FIG. 9D .
- the second Tr 40 becomes conductive. This increases the consumption current m so that the signal k to the inverted input terminal 451 of the fourth comparator circuit 45 becomes a high level H equal to or greater than a second comparison level CL 2 , providing an output signal j thereof low in level.
- a reverse rotation without encountering an erroneous detection, at time point t 83 the signal e first changes in level after the inversion.
- the magnetic sensor in the second embodiment can detect a reverse rotation free from erroneous detections without encountering a significant delay in timing even where the magnetic movable 4 is inverted in rotation in any of opposite positions to the MR element. Meanwhile, it is possible to detect a moving speed of the magnetic movable 4 and of the object-being-detected depending upon the change period of the output signal i of the third comparator circuit 4 . If considering the fluctuations of a power voltage to be supplied from the computer unit 420 to the sensor unit 50 , fluctuations occur at high and low levels H, L in the signal k in the first embodiment, which comparatively makes it difficult to establish the comparison level CL 2 . In the second embodiment, the signal k is not related to the voltage of power source VCC. Where the voltage of power source VCC should varies, no fluctuations occur at the high and low levels H, L of the signal k. This makes it easy to set up a comparison level CL 2 .
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Condensed Matter Physics & Semiconductors (AREA)
- Transmission And Conversion Of Sensor Element Output (AREA)
- Indicating Or Recording The Presence, Absence, Or Direction Of Movement (AREA)
Abstract
Description
- 1. Technical Field of the Invention
- This invention relates to a magnetic sensor that has a magnetic movable to move responsive to a movement of an object-being-detected so that a movement of an object-being-detected, particularly a direction of movement thereof, can be detected by using a change of magnetic field due to the movement of the magnetic movable.
- 2. Description of the Related Art
- Conventionally, there is well-known a magnetic sensor adapted to detect a moving direction of an object-being-detected by moving a magnetic movable having convexes in responsive to a movement of the object-being-detected and thereby detecting a change of magnetic field caused by the movement of the magnetic movable through the use of a magneto-resistance element (hereinafter referred to as an MR element).
- Such existing magnetic sensors include, say, those having a structure that three MR elements are arranged opposite to a magnetic movable through a slight gap. The MR elements are arranged in a direction of movement of the magnetic movable by inserting those MR elements respectively in two bridge circuits at predetermined sides thereof. The magnetic movable, when moved, causes a resistance change in the MR elements, which is taken as voltage change on two systems from the bridge circuits. From the state of voltage change, detected is a moving direction of the magnetic movable and hence of the object-being-detected. (see JP-A-2002-90181,
FIGS. 4-6 , description page 6, for example). - In the existing magnetic sensor shown in JP-A-2002-90181, the two-system voltage changes taken out of the bridge circuits are converted by first and second comparator circuits into rectangular-wave signals. One of the rectangular-wave signals is inputted to a base terminal of an output transistor and to a D-terminal of a D-flip-flop circuit. The other rectangular-wave signal is inputted to a CL terminal of the D-flip-flop circuit. The D-flip-flop circuit has an output that is inputted to a base terminal of another transistor. This transistor has a collector terminal whose voltage is pulled up to the power voltage VCC, and an emitter terminal connected to an emitter terminal of the output transistor and grounded through a resistance.
- The output transistor has an output signal that is delivered to a computer unit and then pulled up to the power voltage VCC. The output signal of the output transistor is inputted to third and fourth comparator circuits where compared with
comparison levels - However, in the existing magnetic sensor shown in JP-A-2002-90181, one rise edge of a rectangular-wave signal is used to recognize a moving direction of the magnetic movable. Thus, there problematically encounters a delay in the timing of detecting a moving direction of the magnetic movable.
- It is an object of the present invention to provide a magnetic sensor capable of correctly detecting, free from erroneous detection, a moving direction of a magnetic movable without a significant delay in timing of detecting a moving direction of the magnetic movable.
- A magnetic sensor in the invention is a magnetic sensor having a sensor unit, comprising: a magnetic movable that moves in response to a movement of an object-being-detected; a sensor section provided opposite to the magnetic movable through a gap and for detecting a change of magnetic field in the gap due to a movement of the magnetic movable; a converting section that converts a change of magnetic field, detected by the sensor section, into a change of electric amount and outputs a change of electric amount converted; and a determining section that determines a moving direction of the object-being-detected depending upon an output of the converting section; the sensor unit having a power terminal to supply power to the detecting section and converting section, a ground terminal for grounding, and an output terminal that outputs the output to the determining section; the magnetic sensor further comprising a current control section that controls an amount of current flowing through at least one of the power terminal and the ground terminal, correspondingly to a moving direction of the magnetic movable; the determining section detecting a moving direction of the object-being-detected depending upon the amount of current.
- In the magnetic sensor in the invention, the current control section is structured by a switching section which is connected between the power terminal and the ground.
- According to the magnetic sensor in the invention, there is provided a current control section that changes an amount of current flowing through at least one of the power terminal and the ground terminal, correspondingly to a moving direction of the magnetic movable so that a moving direction of the object-being-detected can be determined depending upon the change amount of current. Accordingly, even when the magnetic movable is inverted in rotation in any timing, a moving direction of the magnetic movable can be detected correctly, without a significant delay, in a manner free from erroneously recognizing a moving direction thereof.
- Meanwhile, in the magnetic sensor of the invention, the current control section is configured by a switching section connected between the power terminal and the ground. With a simple structure, even when the magnetic movable is inverted in rotation in any timing, a moving direction of the magnetic movable can be detected correctly, without a significant delay, in a manner free from erroneously recognizing a moving direction thereof.
-
FIG. 1 is a perspective view showing an arrangement of a magnetic movable and MR elements, in an art forming the basis of the present invention; -
FIG. 2 is an explanatory view showing the arrangement of a magnetic movable and MR elements, in the art forming the basis of the invention; -
FIG. 3 is a circuit diagram of an art forming the basis of the invention; -
FIG. 4 is a circuit diagram of a D-flip-flop circuit device of the art forming the basis of the invention; -
FIGS. 5A-5D are explanatory figures that explain the operation of the art forming the basis of the invention; -
FIG. 6 is a circuit diagram of a device according to a first embodiment of the invention; -
FIGS. 7A-7D are explanatory figures that explain the operation of the device according to the first embodiment of the invention; -
FIG. 8 is a circuit diagram of a device according to a second embodiment of the invention; and -
FIGS. 9A-9D are explanatory figures that explain the operation of the device according to the second embodiment of the invention. - First of all, description is now made on a magnetic sensor forming the basis of the invention. The magnetic sensor, forming the basis of the invention, uses rise and fall edges of two rectangular-wave signals in detecting a moving direction of a magnetic movable. This can detect a moving direction of the magnetic movable nearly four times faster the existing one in the foregoing. When the MR element and the magnetic movable are in a particular opposite position at a time the magnetic movable is inverted in its moving direction, a reverse rotation of the magnetic movable is detected by the edge next to the first rise or fall edge.
-
FIG. 1 is a perspective view showing an arrangement of a magnetic movable and MR elements, in an art forming the basis of the invention.FIG. 2 is an explanatory view of the same.FIG. 3 is a circuit diagram of a magnetic sensor.FIG. 4 is an explanatory figure of the operation of the same. InFIGS. 1 and 2 , on the top surface of amagnet 1 causing a bias magnetic field, there is provided anIC chip 2 integrally structured withMR elements magnet 1 is magnetized in a direction ofarrow 3. As for a magnetic movable 4 having a multiplicity ofconvexes 41 equally spaced in a periphery thereof, its rotation in a direction ofarrow 5 is taken forward while its rotation in a direction reverse thereto is taken reverse. The magnetic movable 4 is arranged to rotate correspondingly to a rotation of an object-being-detected (not shown). - The magnetic movable 4 is arranged such that its peripheral surface is opposed to a side surface of the
magnet 1 through a slight gap. Due to the rotation of the magnetic movable 4, the convex 41 and the concave 42 alternately come close to themagnet 1. This causes a change in the magnetic field applied from themagnet 1 to theMR elements respective MR elements MR elements - Referring to
FIG. 3 , afirst bridge circuit 23 is configured byMR elements resistances MR elements connection point 211 connected to an invertedinput terminal 291 of afirst comparator circuit 29, as a first comparator section. Theresistances connection point 212 connected as a reference voltage to annon-inverted input terminal 292 of thefirst comparator circuit 29. It is assumed that the signal to be inputted to theinverted input terminal 291 of thefirst comparator circuit 29 is “c” while the signal on anoutput terminal 293 thereof is “e”. - A
second bridge circuit 30 is configured by anMR element 22 andresistances MR element 22 and theresistance 26 have aconnection point 213 connected to aninverted input terminal 311 of asecond comparator circuit 31 as a second comparator section. Theresistances connection point 214 connected as a reference voltage to annon-inverted input terminal 312 of thesecond comparator circuit 31. Meanwhile, in the first andsecond bridge circuits MR elements resistances MR element 21 b and theresistances second comparator circuit 31 is “d” while the signal at anoutput terminal 313 is “f”. - A D-flip-flop circuit device (hereinafter referred to as a D-FF circuit device) 380 is configured as shown in
FIG. 4 . Namely, inFIG. 4 , it has a first rise-edge D-flip-flop circuit (hereinafter referred to as a first rise-edge D-FF circuit) 381, a first fall-edge D-flip-flop circuit (hereinafter referred to as a first fall-edge D-FF circuit) 382, a second rise-edge D-flip-flop circuit (hereinafter referred to as a second rise-edge D-FF circuit) 383, and a second fall-edge D-flip-flop circuit (hereinafter referred to as a second fall-edge D-FF circuit) 384. - The first rise-edge D-
FF circuit 381 has a CL terminal connected to anoutput terminal 293 of thefirst comparator circuit 29, and a D terminal connected to anoutput terminal 313 of thesecond comparator circuit 31. The second rise-edge D-FF circuit 383 has a CL terminal connected to anoutput terminal 313 of thesecond comparator circuit 31, and a D terminal connected to anoutput terminal 293 of thefirst comparator circuit 29. The first fall-edge D-FF circuit 382 has a CL terminal connected to theoutput terminal 293 of thefirst comparator circuit 29 through aNOT circuit 343, and a D terminal connected to theoutput terminal 313 of thesecond comparator circuit 31. The second fall-edge D-FF circuit 384 has a CL terminal connected to theoutput terminal 313 of thesecond comparator circuit 31 through aNOT circuit 344, and a D terminal connected to theoutput terminal 293 of thefirst comparator circuit 29. - The first and second rise-edge D-
FF circuits - The first and second fall-edge D-
FF circuits NOT circuit NOT circuit - The respective Q terminals, of the first and second rise-edge and fall-edge D-
FF circuits circuit 342 through a logic circuit formed by a 3-input NAND circuit 385, 3-input BAND circuits input NAND circuits 388, a 4-input BNAND circuit 389 and 4-input ANDcircuits circuit 342 has anoutput terminal 346 connected to a base of a second transistor (hereinafter referred to as a second Tr) 40 shown inFIG. 3 . It is assumed that the 4-input ORcircuit 342 has a signal “g” at itsoutput terminal 346. - Referring back to
FIG. 3 , a first, or output, transistor (hereinafter referred to as a first Tr) 37 has a base connected to theoutput terminal 293 of thefirst comparator circuit 29, and an emitter grounded through aresistance 38. Thesecond Tr 40 has a base connected to anoutput terminal 346 of the 4-input ORcircuit 342 shown inFIG. 4 , an emitter connected to a connection point of the emitter of thefirst Tr 37 and theresistance 38, and a collector connected to a power source VCC through aresistance 39. - A
computer unit 420 has third andfourth comparator circuits inverted input terminals resistance 46. Thethird comparator circuit 44 has anon-inverted input terminal 442 connected to aconnection point 411 of theresistances fourth comparator circuit 45 has anon-inverted input terminal 452 connected to aconnection point 421 of theresistances 42, 43. Theresistances resistances inverted input terminal fourth comparator circuit output terminal 443 of thethird comparator circuit 44 is “i”, and the signal on theoutput terminal 453 of thefourth comparator circuit 45 is “j”. - The operation is now described.
FIG. 5A shows the waveforms of signals e, f, g, h, i, j on the respective terminals of the circuit shown inFIGS. 3 and 4 in the case rotation is switched from reverse to forward when the magnetic movable 4 and theMR element 22 in the center of the magnet 1 (seeFIG. 1 ) are relatively opposite in a position (a). Likewise,FIGS. 5B , 5C and 5D show the waveforms of the signals e, f, g, h, i, j in the case rotation is switched from forward to reverse when the magnetic movable 4 and thecenter MR element 22 of themagnet 1 are relatively opposite in a position (b), (c) or (d). The signal h is given a binary-signal pulse having high and low levels H, L1 at a forward rotation of the magnetic movable 4, and a binary-signal pulse having high and low levels H, L2 at a reverse rotation of the magnetic movable 4. - Referring to
FIG. 5A , when the magnetic movable 4 rotates forward, the magnetic movable 4 at its convex 41 and concave 42 alternately becomes opposite to theMR element MR elements - The resistance change of the
MR element inverted input terminal second comparator circuit MR elements - In
FIG. 5A , if it is now assumed that the signal e at time t1 changes from the high to low level, the first fall-edge D-FF circuit 382 is triggered. Because the signal f, inputted to its D terminal from thesecond comparator circuit 29, is high in level, its Q terminal has a signal high in level. Thus, the 4-input ORcircuit 342 at itsoutput terminal 346 has a signal g high in level. - This places the
second Tr 40 in conduction and thefirst Tr 37 in non-conduction. As a result, thefirst Tr 37 has a collector signal h high in level. Thethird comparator circuit 44 has a comparison level CL1 given between the high and low levels H, L1 of the signal h while thefourth comparator circuit 45 has a comparison level CL2 given between the low and low levels L1, L2 of the signal h. Accordingly, at the time t1, thethird comparator circuit 44 has an output signal i low in level while thefourth comparator circuit 45 has an output signal j staying low in level. - At time t2, the signal f, on the
output terminal 313 of thesecond comparator circuit 31, falls from the high to low level, to cause a triggering in the second fall-edge D-FF circuit 384. The signal e, on theoutput terminal 293 of thefirst comparator circuit 29, is low in level at the time t2 so that the Q terminal has a signal low in level. However, the Q terminal of the first fall-edge D-FF circuit 382 maintains the high level, and the 4-input ORcircuit 342 has an output g high in level. Accordingly, the third andfourth comparator circuits - At time t3, the signal e of from the
first comparator circuit 29 rises to cause a triggering in the first rise-edge D-FF circuit 381. However, because the signal f, on theoutput terminal 313 of thesecond comparator circuit 31, is low in level, the Q terminal has a signal low in level. At the time t3, the first fall-edge D-FF circuit 382 has, at its Q terminal, a signal maintained high in level, and the 4-input ORcircuit 342 has, at itsoutput terminal 346, a signal g high in level. For this reason, thesecond Tr 40 stays conductive. Meanwhile, thefirst Tr 37 becomes conductive because the signal e becomes high in level. Through theresistance 38, there is caused an additional flow of a current supplied from thesecond Tr 40, which makes the signal h low level L1. - By turning the signal h to a low level L1, the
third comparator circuit 44 whose comparison level is set at the first comparison level CL1 has an output signal i high in level. Because thefourth comparison circuit 45 has a comparison level given at the second comparison level CL2, its output signal j stays low in level. - At time t4, when the signal f on the
output terminal 313 of thesecond comparator circuit 31 rises to a high level, the second rise-edge D-FF circuit 383 is triggered. Because the signal on the D terminal at that time is high in level, a high-level signal is outputted from the Q terminal. Due to this, the 4-input ORcircuit 342 has an output signal g maintained high in level, and thesecond Tr 40 continues conductive. For this reason, the signal h stays low level L1. Thus, at the time t4, there is no change in the output signals i, j of the third andfourth comparator circuits - In this manner, when the magnetic movable 4 rotates forward, the
third comparator circuit 44 has an output signal i assuming a binary-signal pulse having high and low levels whereas thefourth comparator circuit 45 has an output signal j staying low in level. Namely, by the fact that the output signal i appears as a binary pulse having high and low levels while the output signal j continues low in level, it can be determined that the magnetic movable 4 is in a forward rotation. - It is now assumed that, when the magnetic movable 4 and the
MR element 22 provided in themagnet 2 are in a positional relationship (a), in case the magnetic movable 4 changes from the forward to reverse rotation, the signal f on theoutput terminal 313 of thesecond comparator circuit 31 changes into a low level at time t5 that theMR element 21 b first becomes opposite to the convex 41 of the magnetic movable 4. Due to this, the signal g on theoutput terminal 346 of the 4-input ORcircuit 342 changes into a low level. Thesecond Tr 40 becomes non-conductive and the signal h turns into a low level L2. This changes, to a high level, the signal j on theoutput terminal 453 of thefourth comparator circuit 45. - When the magnetic movable 4 rotates reverse, the magnetic movable 4 at its convex 41 and concave 42 alternately becomes opposite to the
MR element output terminal 453 of thefourth comparator circuit 45 becomes changing alternately between low and high levels synchronously with the signal i on theoutput terminal 443 of thethird comparator circuit 44. Accordingly, by the fact that the output signal j changes alternately between low and high levels, it can be determined that the magnetic movable 4 is in a reverse rotation. - Namely, where rotation is reversed in the positional relationship (a) in
FIG. 5A , the signal h changes into an L2 level at time t5 the signal f first changes and the signal j changes from the low to high level. Accordingly, reverse rotation is to be immediately detected at time t5 that the signal f first changes. Likewise, where rotation is reversed in the positional relationship (b), the signal h becomes L2 at time t61 the signal e first changes, as shown inFIG. 5B . At the time t61, reverse rotation is immediately detected. Where rotation is reversed in the positional relationship (c), the signal h becomes L2 at time t82 that the signal e first changes, as shown inFIG. 5C . At the time t82, a reverse rotation can be detected. - Nevertheless, where the magnetic movable 4 in a positional relationship (d) rotates reverse, the signal h does not change in level to L2 at any of time points t83, t93 that the signal e, f first changes after a reverse rotation, as shown in
FIG. 5D . For this reason, detection is possibly erroneous at time t83 that reverse rotation can be detected in the normal case, thus making impossible to detect a reverse rotation. It is impossible to detect a reverse rotation before the time point t103 the signal h changes in level to L2. -
FIG. 6 shows a circuit diagram of a magnetic sensor according to a first embodiment of the invention.FIGS. 7A-7D are explanatory figures that explain the operation of the same. InFIG. 6 , like or corresponding elements to those in the foregoing art forming the basis of the invention are attached with the like numerals. InFIG. 6 , a D-FF circuit device 380 has the same configuration as the showing inFIG. 4 , thus having anoutput terminal 346 connected to a base of asecond Tr 40 through aNOT circuit 347. The collector of thesecond Tr 40 is connected through aresistance 39 to a power terminal VB through which power is supplied from acomputer unit 420 to asensor unit 50. Thesensor unit 50 has a power source VCC2 free from voltage fluctuations because of the voltage from the power terminal VB regulated to a predetermined value. - The
sensor unit 50 is supplied with power from thecomputer unit 420 through the power terminal VB so that a consumption current m flows to thesensor unit 50. The consumption current m includes a current m1 flowing to the circuit elements of thesensor unit 50 and a current m2 to be controlled by thesecond Tr 40. Meanwhile, the consumption current m flows from thesensor unit 50 to thecomputer unit 420 through a GND terminal. - A
first Tr 37 has an emitter grounded and a collector connected to aninverted input terminal 441 of athird comparator circuit 44 of thecomputer unit 42 through an output terminal VOUT of thesensor unit 50. Thefirst Tr 37 has an output signal h that is conveyed to thecomputer unit 420 and then pulled up to the power voltage VCC. - A
fourth comparator circuit 45 has an invertedinput terminal 451 connected to a collector of thesecond Tr 40 of thesensor unit 50 through the power terminal VB andresistance 39. Theinverted input terminal 451 is connected to the power source VCC through aresistance 48. Theresistance 48 is assumed having a resistance value R1. The ground terminal GND is directly grounded without intervening a resistance. When thesecond Tr 40 is placed in conduction and the consumption current m is in an increased level, signal k is high in level. When thesecond Tr 40 is placed in non-conduction and the consumption current m is in a decreased level, signal k is low in level. Namely, the following is held: -
signal-k high level H=VCC−(R1×m1) -
signal-k low level L=VCC−{R1×(m1+m2)}. - In the first embodiment of the invention, the magnetic detecting
elements second bridge circuits second comparator circuits flop circuit device 380 constitute a converting section in the invention. The third andfourth comparator circuits second Tr 40 constitutes a current control section in the invention. -
FIGS. 7A-7D are operation explanatory figures of the magnetic sensor according to the first embodiment.FIG. 7A shows the waveforms of signals e, f, g0, h, i, j, k on the respective terminals of the circuit shown inFIGS. 6 and 4 and of a consumption current m currents m1, m2 in the case rotation is switched from forward to reverse when the magnetic movable 4 and thecenter MR element 22 of the magnet 1 (seeFIG. 1 ) are relatively opposed in a position (a). Likewise,FIGS. 7B , 7C and 7D show the waveforms of signals e, f, g0, h, i, j, k and of a consumption current m, currents m1, m2 in the case rotation is switched from forward to reverse when the magnetic movable 4 and thecenter MR element 22 of themagnet 1 are relatively opposed in each of positions (b), (c) and (d). The signal h assumes a binary signal pulse having high and low levels H, L1 during forward rotation of the magnetic movable 4. It also assumes a binary signal pulse having high and low levels H, L2 during reverse rotation of the magnetic movable 4. Here, ground level GND<L is held as shown inFIG. 7 . - The operation is now described. Referring to
FIG. 7A , when the magnetic movable 4 is in a forward rotation, theMR elements MR elements - The resistance change of the
MR element inverted input terminal second comparator circuit MR elements - In
FIG. 7A , if it is now assumed that the signal e at time t1 changes from the high to low level, the first fall-edge D-FF circuit 382 is triggered. Because the signal f, inputted to its D terminal from thesecond comparator circuit 31, is high in level, its Q terminal has a signal high in level. Thus, the 4-input ORcircuit 342 at itsoutput terminal 346 has a signal g high in level. Thus, theNOT circuit 347 has, at its output terminal, a signal g0 low in level. - This places the
second Tr 40 in conduction, thus rendering the current m2 zero. The consumption current m is equal in value to the current m1. Because the signal e at time t1 becomes low in level, thefirst Tr 37 becomes non-conductive with a result that thefirst Tr 37 has a collector signal h high in level. Thethird comparator circuit 44 has a comparison level CL1 set at between the high and low levels H, L of the signal h. Accordingly, at the time t1, thethird comparator circuit 44 has an output signal i low in level. - The signal k at the time ti lies in high level H. However, the
fourth comparator circuit 45 has a comparison level CL2 set at between the high and low levels H, L of the signal k. Thus, thefourth comparator circuit 45 has an output signal j staying low in level. - At time t2, the signal f, on the
output terminal 313 of thesecond comparator circuit 31, falls from the high to low level, to cause a triggering in the second fall-edge D-FF circuit 384. The signal e, on theoutput terminal 293 of thefirst comparator circuit 29, is low in level at the time t2 so that the Q terminal has a signal low in level. However, the Q terminal of the first fall-edge D-FF circuit 382 maintains the high level, and the 4-input ORcircuit 342 has an output g high in level. Accordingly, theNOT circuit 347 has, at its output terminal, a signal g0 staying low in level and thefourth comparator circuit 45 has an output signal j staying low in level. - At time t3, the signal e from the
first comparator circuit 29 rises to cause a triggering in the first rise-edge D-FF circuit 381. However, because the signal f, on theoutput terminal 313 of thesecond comparator circuit 31, is low in level, the Q terminal has a signal low in level. At the time t3, the first fall-edge D-FF circuit 382 has, at its Q terminal, a signal maintained high in level, and the 4-input ORcircuit 342 has, at itsoutput terminal 346, a signal g high in level and theNOT circuit 347 has, at its output terminal, a signal g0 low in level. For this reason, thesecond Tr 40 stays non-conductive. Meanwhile, thefirst Tr 37 becomes conductive because the signal e becomes high in level and the signal h becomes a low level L. - By turning the signal h to a low level L, the
third comparator circuit 44 set at a comparison level CL1 has an output signal i high in level. At the time t3, thesecond Tr 40 stays non-conductive and thefourth comparator circuit 45 has an output signal j saying low in level. - At time t4, when the signal f on the
output terminal 313 of thesecond comparator circuit 31 rises to a high level, the second rise-edge D-FF circuit 383 is triggered. Because the signal on the D terminal at that time is high in level, a high-level signal is outputted from the Q terminal. Due to this, the 4-input ORcircuit 342 has an output signal g continuing high in level. TheNOT circuit 347 has, at its output terminal, a signal g0 maintained low in level and thesecond Tr 40 continues non-conductive. The signal h stays low in level L. At the time t4, there is no change in the output signals i, j of the third andfourth comparator circuits - In this manner, when the magnetic movable 4 rotates forward, the
third comparator circuit 44 has an output signal i assuming a binary-signal pulse having high and low levels whereas thefourth comparator circuit 45 has an output signal j staying low in level. Namely, by the fact that the output signal i appears as a binary pulse having high and low levels while the output signal j continues low in level, it can be determined that the magnetic movable 4 is in a forward rotation. - It is now assumed that, when the magnetic movable 4 and the
MR element 22 provided in themagnet 2 are in a positional relationship (a) shown inFIG. 7A , in case the magnetic movable 4 changes from the forward to reverse rotation, the signal f on theoutput terminal 313 of thesecond comparator circuit 31 changes into a low level at time t5 that theMR element 21 b first becomes opposite to the convex 41 of the magnetic movable 4. Due to this, the signal g on theoutput terminal 346 of the 4-input ORcircuit 342 changes into a low level. Thus, the signal g0 on the output terminal of theNOT circuit 347 becomes high in level. - Due to this, the
second Tr 40 becomes conductive to flow a current m2, thus increasing the consumption current m. This changes the signal k, to be inputted to theinverted input terminal 451 of thefourth comparator circuit 45, from the level H to L equal to or smaller than the comparison level CL2, to change to a high level the signal j on theoutput terminal 453 of thefourth comparator circuit 45. Meanwhile, the signal e at time t5 is high in level so that thefirst Tr 37 stays conductive. Because the signal h is low in level L and equal to or smaller than the first comparison level CL1, thethird comparator circuit 44 has an output signal i staying high in level. - At time t6, the signal e becomes low in level L and hence the
first Tr 37 becomes non-conductive. As a result, the signal h becomes high in level H, and the output signal i of thethird comparator circuit 44 turns into a low level. At the time t6, although the first fall-edge D-FF circuit 382 is triggered, the signal f at this time is low in level so that the 4-input ORcircuit 342 has, at itsoutput terminal 346, a signal g staying low in level. Hence, theNOT circuit 347 has an output signal g0 staying high in level. Accordingly, thefourth comparator circuit 45 has an output signal j staying high in level. - When the magnetic movable 4 rotates reverse, the magnetic movable 4 at its convex 41 and concave 42 alternately becomes opposite to the
MR element output terminal 443 of thethird comparator circuit 44 changes alternately between low and high levels. However, the signal g on theoutput terminal 346 of the D-FF circuit device 380 stays low in level so that the output signal g0 of theNOT circuit 347 is maintained high in level. Thesecond Tr 40 continues conductive and hence the consumption current m stays in an increased state. - Due to this, the signal j on the
output terminal 453 of thefourth comparator circuit 45 is maintained high in level conversely to the case in forward rotation. Accordingly, in the case the magnetic movable 4 inverts in rotation in the timing of (a), the signal j changes from the low to high level at the time t5 the signal f first changes in level. From then on, the high level is continued. This makes it possible to determine a reverse rotation of the magnetic movable 4. - Likewise, in the case rotation is inverted in a positional relationship (b), the signal k becomes a low level L at the time t61 the signal e first changes, as shown in
FIG. 7B . At the time t61, a reverse rotation is detected immediately. In the case rotation is inverted in a positional relationship (c), the signal k becomes a low level L at time t72 the signal f first changes, as shown inFIG. 7C . At the time t72, a reverse rotation can be detected. - In the case the magnetic movable 4 inverts in rotation in a positional relationship (d), the signal g0 changes from the low to high level at t83 the signal e first changes after the inversion, as shown in
FIG. 7D . Thus, thesecond Tr 40 becomes conductive. This increases the consumption current m so that the signal k to theinverted input terminal 451 of thefourth comparator circuit 45 becomes equal to or lower than a second comparison level CL2, providing an output signal j thereof high in level. Thus, it is possible to detect a reverse rotation, without encountering an erroneous detection, at time point t83 the signal e first changes in level after an inversion. - As described above, the magnetic sensor in the first embodiment can detect a reverse rotation free from erroneous detections without encountering a significant delay in timing even where the magnetic movable 4 is inverted in rotation in any of opposite positions to the MR element. Meanwhile, it is possible to detect a moving speed of the magnetic movable 4 and of the object-being-detected depending upon the change period of the output signal i of the
third comparator circuit 4. -
FIG. 8 shows a circuit diagram of a magnetic sensor according to a second embodiment of the invention.FIGS. 9A-9D are explanatory figures that explain the operation of the same. Asecond Tr 40 has an emitter grounded and a collector connected through aresistance 39 to a power terminal VB through which power voltage VCC is supplied to asensor unit 50. Thesensor unit 50 has a ground terminal GND connected to the GND of acomputer unit 420 through aresistance 47. Theresistance 47 is assumed to have a resistance value R2. The power voltage VCC2 on thesensor unit 50 side is a voltage that is obtained by regulating the voltage from the power terminal VB to a predetermined value and hence is free from voltage fluctuations. - The
sensor unit 50 is supplied with power from thecomputer unit 420 through the power terminal VB so that a consumption current m flows to thesensor unit 50. The consumption current m includes a current m1 flowing to the circuit elements of thesensor unit 50 and a current m2 to be controlled by thesecond Tr 40. Meanwhile, the consumption current m flows from thesensor unit 50 to the computer unit 49 through the GND terminal. - The other is similar in structure to the first embodiment.
- In the above arrangement, the magnetic detecting
elements second bridge circuits second comparator circuits flop circuit device 380 constitute a converting section that converts a magnetic-field change detected by the detecting section into an electric amount change and outputs it. Those are provided in thesensor unit 50. The third andfourth comparator circuits computer unit 420. Thesecond Tr 40 constitutes a current-control section that changes the current flowing to the power terminal VB and ground terminal GND correspondingly to a moving direction of the magnetic movable 4. - Furthermore, the signal e, on the
output terminal 293 of thefirst comparator circuit 29, constitutes a first signal. The signal f, on theoutput terminal 313 of thesecond comparator circuit 31, constitutes a second signal. The signal g, on theoutput terminal 346 of the D-FF circuit device 380, constitutes a third signal. The signal i, on theoutput terminal 441 of thethird comparator circuit 44, constitutes a fourth signal. The signal j, on theoutput terminal 453 of thefourth comparator circuit 45, constitutes a fifth signal. In the ensuing description, those signals are referred merely to as signals e, f, g, i and j. - In the magnetic detector in the second embodiment thus configured, by rotating the magnetic movable 4 shown in
FIGS. 1 and 2 , resistance change takes place in theMR elements second bridge circuits second comparator circuits - The signal e, of from the
output terminal 293 of thefirst comparator circuit 29, is inputted to a base of thefirst Tr 37, to a CL terminal of a first rise-edge D-FF circuit 381 shown inFIG. 4 and to a CL terminal of a first fall-edge D-FF circuit 382 through aNOT circuit 343. Also, the signal e is inputted to a D terminal of a second rise-edge D-FF circuit 383 and to a D terminal of a second fall-edge D-FF circuit 384. - Meanwhile, the signal f, of from the
output terminal 313 of thesecond comparator circuit 31, is inputted to the respective D terminals of the first rise-edge and fall-edge D-FF circuits FF circuit 383 and to a CL terminal of the second fall-edge D-FF circuit 384 through aNOT circuit 344. - Depending upon the signals of from the Q terminals of the respective D-
FF circuits circuit 342 outputs, at itsoutput terminal 346, a signal g to be inputted to an input terminal of aNOT circuit 347. TheNOT circuit 347 has an output terminal to output a signal g0. The signal h, outputted from thefirst Tr 37, is compared with a comparison level CL1 by thethird comparator circuit 44, thus obtaining a signal i. The comparison level CL1 in thethird comparator circuit 44 is set at between high and low levels H, L2 of the signal h, as shown inFIG. 9 . The signal k, to be inputted to aninverted input terminal 451 of thefourth comparator circuit 45, relies upon a voltage across theresistance 47. -
Namely, signal-k high level H=R2×(m1+m2) -
signal-k low level L=R2×m1. - The signal k is not related to the power voltage VCC. Even in case the power voltage VCC varies, there occur no fluctuations in the signal-k high and low levels H, L. The signal k is compared with a comparison level CL2 thus obtaining a signal j as shown in
FIG. 9 . -
FIG. 9A shows the waveforms of signals e, f, g0, h, i, j, k on the respective terminals of the circuit shown inFIGS. 8 and 4 and of consumption current m and currents m1, m2 in the case rotation is switched from forward to reverse when the magnetic movable 4 and thecenter MR element 22 of the magnet 1 (seeFIG. 1 ) are relatively opposed in a position (a). Likewise,FIGS. 9B , 9C and 9D show the waveforms of signals e, f, g0, h, i, j, k and of consumption current m and currents m1, m2 in the case rotation is switched from forward to reverse when the magnetic movable 4 and thecenter MR element 22 of themagnet 1 are relatively opposed in each of positions (b), (c) and (d). The signal h assumes a binary signal pulse having high and low levels H, L1 during forward rotation of the magnetic movable 4. It also assumes a binary signal pulse having high and low levels H, L2 during reverse rotation of the magnetic movable 4. Here, ground level GND <L1<L2 is held as shown inFIG. 9 . - The operation is now described. Referring to
FIG. 9A , when the magnetic movable 4 is in a forward rotation, theMR elements MR elements - The resistance change of the
MR element inverted input terminal second comparator circuit MR elements - In
FIG. 9A , if it is now assumed that the signal e at time t1 changes from the high to low level, the first fall-edge D-FF circuit 382 is triggered. Because the signal f, inputted to its D terminal from thesecond comparator circuit 31, is high in level, its Q terminal has a signal high in level. Thus, the 4-input ORcircuit 342 at itsoutput terminal 346 has a signal g high in level. Thus, theNOT circuit 347 has, at its output terminal, a signal g0 low in level. - This places the
second Tr 40 in non-conduction, thus rendering the current m2 zero. The consumption current m is equal in value to the current m1. Because the signal e at time t1 becomes low in level, thefirst Tr 37 becomes non-conductive with a result that thefirst Tr 37 has a collector signal h high in level. Thethird comparator circuit 44 has a first comparison level CL1 set at between the high and low levels H, L2 of the signal h. Accordingly, at the time t1, thethird comparator circuit 44 has an output signal i low in level. - The signal k at the time t1 lies in low level L. However, the
fourth comparator circuit 45 has a comparison level CL2 set at between the high and low levels H, L of the signal k. Thus, thefourth comparator circuit 45 has an output signal j staying high in level. - At time t2, the signal f, on the
output terminal 313 of thesecond comparator circuit 31, falls from the high to low level, to cause a triggering in the second fall-edge D-FF circuit 384. The signal e, on theoutput terminal 293 of thefirst comparator circuit 29, is low in level at the time t2 so that the Q terminal has a signal low in level. However, the Q terminal of the first fall-edge D-FF circuit 382 maintains the high level, and the 4-input ORcircuit 342 has an output g high in level. Accordingly, theNOT circuit 347 has, at its output terminal, a signal g0 staying low in level and thefourth comparator circuit 45 has an output signal j staying high in level. - At time t3, the signal e of from the
first comparator circuit 29 rises to cause a triggering in the first rise-edge D-FF circuit 381. However, because the signal f, on theoutput terminal 313 of thesecond comparator circuit 31, is low in level, the Q terminal has a signal low in level. At the time t3, the first fall-edge D-FF circuit 382 has, at its Q terminal, a signal maintained high in level, and the 4-input ORcircuit 342 has, at itsoutput terminal 346, a signal g high in level and hence theNOT circuit 347 has an output signal g0 low in level. Accordingly, thesecond Tr 40 stays non-conductive. Meanwhile, thefirst Tr 37 becomes conductive because the signal e becomes high in level, thus making the signal h low in level L1. - By turning the signal h to the low level L1, the
third comparator circuit 44 set at the comparison level CL1 has an output signal i high in level. At the time t3, thesecond Tr 40 stays non-conductive and thefourth comparator circuit 45 has an output signal j staying high in level. - At time t4, when the signal f on the
output terminal 313 of thesecond comparator circuit 31 rises to a high level, the second rise-edge D-FF circuit 383 is triggered. Because the signal on the D terminal at that time is high in level, a high-level signal is outputted from the Q terminal. Due to this, the 4-input ORcircuit 342 has an output signal g maintained high in level. TheNOT circuit 347 has, at its output terminal, signal g0 continued low in level and thesecond Tr 40 continues non-conductive. At the time t4, the signal h stays low in level L1 and there is no change in the output signals i, j of the third andfourth comparator circuits - In this manner, when the magnetic movable 4 rotates forward, the
third comparator circuit 44 has an output signal i assuming a binary-signal pulse having high and low levels whereas thefourth comparator circuit 45 has an output signal j staying high in level. Namely, by the fact that the output signal i appears as a binary pulse having high and low levels while the output signal j continues high in level, it can be determined that the magnetic movable 4 is in a forward rotation. - It is now assumed that, when the magnetic movable 4 and the
MR element 22 provided in themagnet 2 are in a positional relationship (a) shown inFIG. 7A , in case the magnetic movable 4 changes from the forward to reverse rotation, the signal f on theoutput terminal 313 of thesecond comparator circuit 31 changes into a low level at time t5 that theMR element 21 b first becomes opposite to the convex 41 of the magnetic movable 4. Due to this, the signal g on theoutput terminal 346 of the 4-input ORcircuit 342 changes into a low level. Thus, the signal g0 on the output terminal of theNOT circuit 347 becomes high in level. - Due to this, the
second Tr 40 becomes conductive to flow a current m2, thus increasing the consumption current m. This changes the signal k, to be inputted to theinverted input terminal 451 of thefourth comparator circuit 45, from the low level L to high level H equal to or greater than the comparison level CL2, to change to a low level the signal j on theoutput terminal 453 of thefourth comparator circuit 45. Meanwhile, the signal e at time t5 is high in level so that thefirst Tr 37 stays conductive. Because of the increase in the consumption current m, the signal h becomes L2 that is equal to or smaller than the first comparison level CL1. Thus, thethird comparator circuit 44 has an output signal i staying high in level. - At time t6, the signal e becomes low in level and hence the
first Tr 37 becomes non-conductive. As a result, the signal h becomes high in level H, to change low in level the output signal i of thethird comparator circuit 44. At the time t6, although the first fall-edge D-FF circuit 382 is triggered, the signal f at this time is low in level L and the 4-input ORcircuit 342 has, at itsoutput terminal 346, the signal g maintained low in level so that theNOT circuit 347 has, at its output terminal, a signal g0 maintained high in level. Accordingly, thefourth comparator circuit 45 has an output signal j staying low in level. - When the magnetic movable 4 rotates reverse, the magnetic movable 4 at its convex 41 and concave 42 alternately becomes opposite to the
MR element output terminal 443 of thethird comparator circuit 44 changes alternately between low and high levels. However, the signal g on theoutput terminal 346 of the D-FF circuit device 380 stays low in level so that the signal g0 on the output terminal of theNOT circuit 347 is maintained high in level. Thesecond Tr 40 continues conductive and the consumption current m stays in an increased state. - Due to this, the signal j on the
output terminal 453 of thefourth comparator circuit 45 is maintained low in level, conversely to the case in forward rotation. Accordingly, in the case the magnetic movable 4 inverts in rotation in the timing of (a), the signal j changes from the high to low level at the time t5 the signal f first changes in level. From then on, the low level is continued. This makes it possible to determine a reverse rotation of the magnetic movable 4. - Likewise, in the case rotation is inverted in a positional relationship (b), the signal k becomes a high level H at the time t61 the signal e first changes, as shown in
FIG. 9B . At the time t61, a reverse rotation is detected immediately. In the case rotation is inverted in a positional relationship (c), the signal k becomes a high level H at time t72 the signal f first changes, as shown inFIG. 9C . At the time t72, a reverse rotation can be detected. - In the case the magnetic movable 4 inverts in rotation in a positional relationship (d), the signal g0 changes from the low to high level at t83 the signal e first changes after the inversion, as shown in
FIG. 9D . Thus, thesecond Tr 40 becomes conductive. This increases the consumption current m so that the signal k to theinverted input terminal 451 of thefourth comparator circuit 45 becomes a high level H equal to or greater than a second comparison level CL2, providing an output signal j thereof low in level. Thus, it is possible to detect a reverse rotation, without encountering an erroneous detection, at time point t83 the signal e first changes in level after the inversion. - As described above, the magnetic sensor in the second embodiment can detect a reverse rotation free from erroneous detections without encountering a significant delay in timing even where the magnetic movable 4 is inverted in rotation in any of opposite positions to the MR element. Meanwhile, it is possible to detect a moving speed of the magnetic movable 4 and of the object-being-detected depending upon the change period of the output signal i of the
third comparator circuit 4. If considering the fluctuations of a power voltage to be supplied from thecomputer unit 420 to thesensor unit 50, fluctuations occur at high and low levels H, L in the signal k in the first embodiment, which comparatively makes it difficult to establish the comparison level CL2. In the second embodiment, the signal k is not related to the voltage of power source VCC. Where the voltage of power source VCC should varies, no fluctuations occur at the high and low levels H, L of the signal k. This makes it easy to set up a comparison level CL2.
Claims (6)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JPP2006-032532 | 2006-02-09 | ||
JP2006032532A JP2007212292A (en) | 2006-02-09 | 2006-02-09 | Magnetic detection device |
Publications (2)
Publication Number | Publication Date |
---|---|
US20070182405A1 true US20070182405A1 (en) | 2007-08-09 |
US7265541B1 US7265541B1 (en) | 2007-09-04 |
Family
ID=38288943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/466,560 Expired - Fee Related US7265541B1 (en) | 2006-02-09 | 2006-08-23 | Magnetic sensor |
Country Status (4)
Country | Link |
---|---|
US (1) | US7265541B1 (en) |
JP (1) | JP2007212292A (en) |
KR (1) | KR100817678B1 (en) |
DE (1) | DE102006041614B4 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070200561A1 (en) * | 2006-02-15 | 2007-08-30 | Mitsubishi Electric Corporation | Magnetic sensor |
US20090255732A1 (en) * | 2008-04-14 | 2009-10-15 | Peters Jasper N | Method and apparatus for lateral well drilling with enhanced capability for clearing cuttings and other particles |
US20090309576A1 (en) * | 2008-06-13 | 2009-12-17 | John Ryan Kess | Speed Sensor Pick-Up for Fluid Device |
US20100106452A1 (en) * | 2008-10-23 | 2010-04-29 | Mitsubishi Electric Corporation | Moving direction detector |
CN102650534A (en) * | 2011-02-22 | 2012-08-29 | 日本电产三协株式会社 | Sensor unit and composite substrate thereof |
US20180031594A1 (en) * | 2015-02-24 | 2018-02-01 | Continental Automotive France | Method and device for processing a signal produced by a sensor for detecting the rotation of a rotating target |
US20200299003A1 (en) * | 2019-03-20 | 2020-09-24 | Pratt & Whitney Canada Corp. | Blade angle position feedback system with extended markers |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4382838B2 (en) * | 2007-07-27 | 2009-12-16 | 三菱電機株式会社 | Magnetic detector |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6252395B1 (en) * | 1998-02-04 | 2001-06-26 | Denso Corporation | Temperature-compensating amplification circuit and a position detecting apparatus using such amplification circuit |
US6291990B1 (en) * | 1997-09-29 | 2001-09-18 | Hitachi, Ltd. | Revolution sensor |
US6630821B2 (en) * | 2000-09-14 | 2003-10-07 | Mitsubishi Denki Kabushiki Kaisha | Magnetic detection device for detecting moving direction of a toothed magnetic movable body |
US6870365B1 (en) * | 2003-11-26 | 2005-03-22 | Mitsubishi Denki Kabushiki Kaisha | Rotation detecting device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03134552A (en) * | 1989-10-20 | 1991-06-07 | Hitachi Ltd | Detecting apparatus with self-calibration function |
-
2006
- 2006-02-09 JP JP2006032532A patent/JP2007212292A/en active Pending
- 2006-07-26 KR KR1020060070104A patent/KR100817678B1/en not_active IP Right Cessation
- 2006-08-23 US US11/466,560 patent/US7265541B1/en not_active Expired - Fee Related
- 2006-09-05 DE DE102006041614A patent/DE102006041614B4/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6291990B1 (en) * | 1997-09-29 | 2001-09-18 | Hitachi, Ltd. | Revolution sensor |
US6252395B1 (en) * | 1998-02-04 | 2001-06-26 | Denso Corporation | Temperature-compensating amplification circuit and a position detecting apparatus using such amplification circuit |
US6630821B2 (en) * | 2000-09-14 | 2003-10-07 | Mitsubishi Denki Kabushiki Kaisha | Magnetic detection device for detecting moving direction of a toothed magnetic movable body |
US6870365B1 (en) * | 2003-11-26 | 2005-03-22 | Mitsubishi Denki Kabushiki Kaisha | Rotation detecting device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070200561A1 (en) * | 2006-02-15 | 2007-08-30 | Mitsubishi Electric Corporation | Magnetic sensor |
US7705584B2 (en) | 2006-02-15 | 2010-04-27 | Mitsubishi Electric Corporation | Magnetic sensor |
US20090255732A1 (en) * | 2008-04-14 | 2009-10-15 | Peters Jasper N | Method and apparatus for lateral well drilling with enhanced capability for clearing cuttings and other particles |
US20090309576A1 (en) * | 2008-06-13 | 2009-12-17 | John Ryan Kess | Speed Sensor Pick-Up for Fluid Device |
US8742750B2 (en) * | 2008-06-13 | 2014-06-03 | Eaton Corporation | Speed sensor pick-up for fluid device |
US20100106452A1 (en) * | 2008-10-23 | 2010-04-29 | Mitsubishi Electric Corporation | Moving direction detector |
US8260568B2 (en) * | 2008-10-23 | 2012-09-04 | Mitsubishi Electric Corporation | Moving direction detector |
CN102650534A (en) * | 2011-02-22 | 2012-08-29 | 日本电产三协株式会社 | Sensor unit and composite substrate thereof |
US20180031594A1 (en) * | 2015-02-24 | 2018-02-01 | Continental Automotive France | Method and device for processing a signal produced by a sensor for detecting the rotation of a rotating target |
US11054435B2 (en) * | 2015-02-24 | 2021-07-06 | Continental Automotiive France | Method and device for processing a signal produced by a sensor for detecting the rotation of a rotating target |
US20200299003A1 (en) * | 2019-03-20 | 2020-09-24 | Pratt & Whitney Canada Corp. | Blade angle position feedback system with extended markers |
US10829201B2 (en) * | 2019-03-20 | 2020-11-10 | Pratt & Whitney Canada Corp. | Blade angle position feedback system with extended markers |
Also Published As
Publication number | Publication date |
---|---|
KR100817678B1 (en) | 2008-03-27 |
DE102006041614A1 (en) | 2007-08-23 |
KR20070081072A (en) | 2007-08-14 |
DE102006041614B4 (en) | 2008-10-16 |
JP2007212292A (en) | 2007-08-23 |
US7265541B1 (en) | 2007-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7705584B2 (en) | Magnetic sensor | |
US7265541B1 (en) | Magnetic sensor | |
KR100396810B1 (en) | Magnetic detection device | |
US8754640B2 (en) | Magnetic field sensors and related techniques that can provide self-test information in a formatted output signal | |
US10156461B2 (en) | Methods and apparatus for error detection in a magnetic field sensor | |
KR101517510B1 (en) | Magnetic field detector having a variable threshold | |
JP4859903B2 (en) | Moving direction detection device | |
JP5116751B2 (en) | Magnetic detector | |
US6100682A (en) | Three-element angular position sensor | |
US11454521B2 (en) | Magnetic field sensor with an adjustable threshold | |
US11152938B2 (en) | Magnetic switch with toggle and de-bounce functionality | |
US7369063B2 (en) | Encoder signal processing circuit including a direction determining/counting unit | |
US7557567B2 (en) | Magnetic detection device | |
US8497674B2 (en) | Magnetic detection apparatus | |
US6911820B2 (en) | Phase detection device, dial type detection device, and phase detection method | |
US8130115B2 (en) | Signal processing circuit for rotation detecting device | |
US10845214B2 (en) | Magnetic field sensor with threshold level limits and associated methods | |
KR20070054075A (en) | Magnetic detection device | |
JP4489105B2 (en) | Magnetic detector | |
JP2000088508A (en) | Stroke detecting apparatus of fluid pressure cylinder | |
Hahn et al. | A Digital Signal Processing Circuit Design for Position Sensitive Detectors (PSD), using an FPGA |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: MITSUBISHI ELECTRIC CORPORATION, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:YOKOTANI, MASAHIRO;HIRAOKA, NAOKI;REEL/FRAME:018159/0433 Effective date: 20060620 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
FPAY | Fee payment |
Year of fee payment: 8 |
|
FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
LAPS | Lapse for failure to pay maintenance fees |
Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20190904 |