1. Field of the Invention
The present invention relates to a Hall effect switching circuit, and more particularly to a Hall effect switching circuit adapted into magnetic fields with two polarities simultaneously, and a controlling method for the same.
2. Description of the Related Art
Recently, Hall effect switching circuits mainly including a Hall device are widely used to displacement measurements or rotation measurements, etc. For example, the Hall effect switching circuits may be used in an upper cover (or a lower cover) of a foldable mobile phone to measure the distance between the upper cover and the lower cover, and the measuring result is a base for controlling a power supply thereof.
Referring to
However, the typical Hall effect switching circuit is only used in a magnetic filed with a changeless polarity. The relation between the output of the Hall effect switching circuit and the magnetic filed intensity only can be one of relations as shown in
To solve the above problems, another typical Hall effect switching circuit as shown in
Referring to
However, after arranging the magnetic object, the direction for the polarity detected by the Hall effect switching circuit is determined, and there should no other detecting signals or outputs with opposite polarity. If appearing noise with the opposite polarity, the Hall effect switching circuit will operate according to the noise with the opposite polarity, such that misoperation phenomenon will be introduced.
What is needed, is providing a Hall effect switching circuit, which can solve the above problems.
A Hall effect switching circuit in accordance with an exemplary embodiment of the present invention, is provided. The Hall effect switching circuit includes a magnetic south pole detecting unit configured for detecting and judging a magnetic field intensity of a magnetic south pole to produce a first triggering signal; a magnetic north pole detecting unit configured for detecting and judging a magnetic field intensity of a magnetic north pole to produce a second triggering signal; and a detecting and controlling unit connected to the magnetic south pole detecting unit and the magnetic north pole detecting unit. The detecting and controlling unit is configured for judging a polarity of a magnetic field according to the first triggering signal and the second triggering signal, and selecting a triggering signal corresponding to the polarity of the magnetic field as a switching signal of the Hall effect switching circuit in a predetermined detect and setup time after starting the Hall effect switching circuit.
A Hall effect switching circuit in accordance with another exemplary embodiment of the present invention, is provided. The Hall effect switching circuit includes a Hall device configured for sensing an intensity of a magnetic field to produce a sensing voltage; a magnetic south pole detecting unit configured for judging a magnetic field intensity of a magnetic south pole according to the sensing voltage to produce a first triggering signal; a magnetic north pole detecting unit configured for judging a magnetic field intensity of a magnetic north pole according to the sensing voltage to produce a second triggering signal; and a detecting and controlling unit connected to the magnetic south pole detecting unit and magnetic north pole detecting unit. The detecting and controlling unit is configured for judging a polarity of the magnetic according to the first triggering signal and the second triggering signal to select one triggering signal corresponding to the polarity of the magnetic field as a switching signal of the Hall effect switching circuit in a predetermined detect and setup time after starting the Hall effect switching circuit.
A Hall effect switching circuit in accordance with other exemplary embodiment of the present invention, is provided. The Hall effect switching circuit includes a Hall device configured for sensing an intensity of a magnetic field to produce a sensing voltage; a first comparator connected to the Hall device and configured for judging a magnetic field intensity of a magnetic south pole according to the sensing voltage to produce a first triggering signal; a second comparator connected to the Hall device and configured for a magnetic field intensity of a magnetic north pole according to the sensing voltage to produce a second triggering signal; and a detecting and controlling unit connected to the first comparator and the second comparator. The detecting and controlling unit is configured for judging a polarity of the magnetic according to the first triggering signal and the second triggering signal to select one triggering signal corresponding to the polarity of the magnetic field as a switching signal of the Hall effect switching circuit in a predetermined detect and setup time after starting the Hall effect switching circuit.
A controlling method for a Hall effect switching circuit in accordance with other exemplary embodiment of the present invention, is provided. The controlling method includes judging a magnetic field intensity of a magnetic south pole to produce a first triggering signal; judging a magnetic field intensity of a magnetic north pole to produce a second triggering signal; judging a polarity of a magnetic field according to the first triggering signal and the second triggering signal in a predetermined detect and setup time; and selecting one triggering signal corresponding to the polarity of the magnetic field as a switching signal of the Hall effect switching circuit.
A controlling method for a Hall effect switching circuit in accordance with other exemplary embodiment of the present invention, is provided. The controlling method includes sensing an intensity of a magnetic field to produce a sensing voltage; amplifying the sensing voltage; judging a magnetic field intensity of a magnetic south pole according to the amplified sensing voltage to produce a first triggering signal; judging a magnetic field intensity of a magnetic north pole according to the amplified sensing voltage to produce a second triggering signal; judging a polarity of the magnetic field according to the first triggering signal and the second triggering signal; and selecting one triggering signal corresponding to the polarity of the magnetic field as a switching signal of the Hall effect switching circuit.
Compared with the conventional art, the above Hall effect switching circuits and the controlling methods can sense the magnetic field intensity of the magnetic south pole and the magnetic north pole respectively, thus an oriented direction of the magnetic object is not limited. Furthermore, in their operation, only one polarity of the magnetic field intensity is sensed, thus the misoperation phenomenon introduced by noise may be avoided.
These and other features and advantages of the various embodiments disclosed herein will be better understood with respect to the following description and drawings, in which like numbers refer to like parts throughout, and in which:
Reference will now be made to the drawings to describe exemplary embodiments of the present Hall effect switching circuit, in detail. The following description is given by way of example, and not limitation.
Referring to
It should be noted that, the switching units 340 and 350 are not essential elements of the present invention. It should be obvious for persons skilled in the art, the switching units 340 and 350 may be omitted if the detecting and controlling unit 360 is configured for controlling on/off operations of the first comparator 320 and the second comparator 330.
The detecting and controlling unit 360 includes a detect and setup time defined therein. When resetting a power supply, the Hall effect switching circuit 30 starts. In the detect and setup time, the detecting and controlling unit 360 can judge the polarity of the magnetic field according to the output signals sent out from the first comparator 320 and the second comparator 330. If the polarity of the magnetic filed is the magnetic south pole, the switching unit 350 connected to the second comparator 330 will be turned off to select the output signal sent out from the first comparator 320 as a switching signal in the detect and setup time. Therefore, an output signal sent out from the Hall effect switching circuit 30 is only related to the magnetic field intensity of the magnetic south pole, and a relation between the output signal thereof and the magnetic field intensity is shown in
Compared with the conventional art, the Hall effect switching circuit 30 includes the two comparators to judge the magnetic field intensity of the magnetic south pole and the magnetic north pole respectively, thus an oriented direction of the magnetic object is not limited. Furthermore, the detecting and controlling unit 360 is configured for judging the polarity of the magnetic field in the detect and setup time to select one comparator for judging the magnetic field intensity thereof, thus the misoperation phenomenon introduced by noise may be avoided.
Referring to
Similar to those as shown in
The detecting and controlling unit 450 includes a detect and setup time defined therein. When resetting a power supply, the Hall effect switching circuit 40 starts. In the detect and setup time, the detecting and controlling unit 450 can judge the polarity of the magnetic field according to the output signals sent out from the first magnetic polarity detecting unit 410 and the second magnetic polarity detecting unit 420. If the polarity of the magnetic filed is the magnetic south pole, the switching unit 440 connected to the second magnetic polarity detecting unit 420 will be turned off to select the output signal sent out from the first magnetic polarity detecting unit 410 as a switching signal in the detect and setup time. Therefore, an output signal sent out from the Hall effect switching circuit 40 is only related to the magnetic field intensity of the magnetic south pole, and a relation between the output signal thereof and the magnetic field intensity is shown in
Compared with the conventional art, the detecting and controlling unit 450 of the Hall effect switching circuit 40 includes the two magnetic polarity detecting units to judge the magnetic field intensity of the magnetic south pole and the magnetic north pole respectively, thus an oriented direction thereof is not limited. Furthermore, the detecting and controlling unit 450 is configured for judging the polarity of the magnetic field in the detect and setup time to select one magnetic polarity detecting unit for judging the magnetic field intensity thereof, thus the misoperation phenomenon introduced by noise may be avoided.
Referring to
The detecting and controlling unit 550 includes a detect and setup time defined therein. When resetting a power supply, the Hall effect switching circuit 50 starts. In the detect and setup time, the detecting and controlling unit 550 can judge the polarity of the magnetic field according to the output signals sent out from the first magnetic polarity detecting unit 510 and the second magnetic polarity detecting unit 520. If the polarity of the magnetic filed is the magnetic south pole, the Hall effect switching circuit 50 will stop receiving the output signal sent out from the second magnetic polarity detecting unit 520 to select the output signal sent out from the first magnetic polarity detecting unit 510 as a switching signal in the detect and setup time. Therefore, an output signal sent out from the Hall effect switching circuit 50 is only related to the magnetic field intensity of the magnetic south pole, and a relation between the output signal thereof and the magnetic field intensity is shown in
Compared with the conventional art, the detecting and controlling unit 550 of the Hall effect switching circuit 50 includes the two magnetic polarity detecting units to judge the magnetic field intensity of the magnetic south pole and the magnetic north pole respectively, thus an oriented direction thereof is not limited. Furthermore, the detecting and controlling unit 550 is configured for judging the polarity of the magnetic field in the detect and setup time to select one magnetic polarity detecting unit for judging the magnetic field intensity thereof, thus the misoperation phenomenon introduced by noise may be avoided.
The above description is given by way of example, and not limitation. Given the above disclosure, one skilled in the art could devise variations that are within the scope and spirit of the invention disclosed herein, including configurations ways of the recessed portions and materials and/or designs of the attaching structures. Further, the various features of the embodiments disclosed herein can be used alone, or in varying combinations with each other and are not intended to be limited to the specific combination described herein. Thus, the scope of the claims is not to be limited by the illustrated embodiments.
Number | Date | Country | Kind |
---|---|---|---|
096123937 | Jul 2007 | TW | national |