CN108377146B - Hall detection circuit and intelligent wearing equipment - Google Patents
Hall detection circuit and intelligent wearing equipment Download PDFInfo
- Publication number
- CN108377146B CN108377146B CN201810338771.XA CN201810338771A CN108377146B CN 108377146 B CN108377146 B CN 108377146B CN 201810338771 A CN201810338771 A CN 201810338771A CN 108377146 B CN108377146 B CN 108377146B
- Authority
- CN
- China
- Prior art keywords
- hall
- signal
- circuit
- hall sensor
- output
- 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.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 46
- 238000009434 installation Methods 0.000 claims abstract description 26
- 230000008859 change Effects 0.000 claims abstract description 11
- 210000000707 wrist Anatomy 0.000 claims description 16
- 230000001939 inductive effect Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 7
- 238000000034 method Methods 0.000 description 4
- 238000004806 packaging method and process Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/51—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
- H03K17/90—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of galvano-magnetic devices, e.g. Hall-effect devices
Landscapes
- Switches That Are Operated By Magnetic Or Electric Fields (AREA)
- Measuring Magnetic Variables (AREA)
Abstract
The invention discloses a Hall detection circuit and intelligent wearable equipment. The Hall detection circuit comprises a Hall sensor, a first detection circuit and a second detection circuit, wherein the Hall sensor is used for sensing the change of a magnetic field and outputting a Hall signal according to the change of the magnetic field; a first switching circuit for outputting a first level signal according to the hall signal; a second switching circuit for outputting a second level signal according to the hall signal; and the output circuit is used for carrying out logical OR operation on the first level signal and the second level signal and outputting an installation signal. The Hall detection circuit can output effectively high level no matter the Hall signal output by the Hall sensor is low level or high level, is convenient for the work of the subsequent circuit and improves the reliability. In addition, when a worker assembles the product, the output direction of the Hall sensor and the polarity of the magnet can be omitted, the operation flow of assembly is reduced, the assembly difficulty is reduced, the efficiency is improved, and the problem that the product cannot be normally used due to the misoperation of the worker is avoided.
Description
Technical Field
The invention relates to the technical field of intelligent wearing equipment detection, in particular to a Hall detection circuit and intelligent wearing equipment.
Background
Many intelligent wearing equipment at present, for example intelligent bracelet etc., bracelet main part detachable installs in the wrist strap. In order to be convenient for discern whether intelligent wearing equipment has installed in the wrist strap, install the magnet that produces the magnetic field in the wrist strap generally, install hall sensor in the bracelet main part, when the bracelet main part is installed in the wrist strap, the hall sensor in the magnetic field produces hall signal, through detecting hall signal, can learn whether the bracelet main part is installed in the wrist strap. Because the Hall sensor has directivity, only in a specific magnetic field direction, the Hall signal output by the Hall sensor can be effectively detected, so that the bracelet body is judged to be installed in the wrist strap. When the direction of the magnetic field changes, although the bracelet body is already installed in the wristband, the hall signal output by the hall sensor cannot be detected at this time, so that a correct judgment cannot be made. Therefore, in the process of assembling the Hall sensor and the magnet, a worker firstly recognizes the direction of the Hall sensor, then installs the magnet according to the directionality of the Hall signal output by the Hall sensor, so that the direction of the magnetic field is matched with the Hall sensor, the Hall signal output by the Hall sensor can be effectively detected, and the function that the Hall sensor is used for judging whether the bracelet main body is installed in the wrist strap is realized. The method has the problems that the direction of the Hall sensor is identified, the polarities of the magnets are distinguished, and the magnets are installed according to a specific installation mode, so that the operation complexity is increased, the operation flow is increased, certain difficulty is brought to the installation of the magnets, and the reject ratio of products is increased.
Disclosure of Invention
In order to solve the problem that the Hall signal output by the Hall sensor has directivity, so that the Hall signal cannot be effectively detected, and the error judgment exists in the installation condition of the intelligent wearing equipment, the invention provides a Hall detection circuit and the intelligent wearing equipment.
According to an aspect of the present invention, there is provided a hall detection circuit including:
the Hall sensor is used for inducing the change of the magnetic field and outputting a Hall signal according to the change of the magnetic field;
the input end of the first switch circuit is connected with the output end of the Hall sensor and is used for outputting a first level signal according to the Hall signal;
the input end of the second switch circuit is connected with the output end of the Hall sensor and is used for outputting a second level signal according to the Hall signal;
the output circuit is used for carrying out logical OR operation on the first level signal and the second level signal and outputting an installation signal;
when the Hall signal is at a high level, the first level signal is at a high level, the second level signal is at a low level, and the mounting signal is at a high level; when the Hall signal is at a low level, the first level signal is at a low level, the second level signal is at a high level, and the mounting signal is at a high level.
Preferably, the first switching circuit comprises a first switching tube and a first resistor, the control end of the first switching tube is connected with the output end of the Hall sensor, the first resistor is connected in a switching path of the first switching tube, two ends of the switching path of the first switching tube are respectively connected with a power supply and the ground, and one end of the first resistor is used as the output end of the first switching circuit;
the second switch circuit comprises a second switch tube and a second resistor, the control end of the second switch tube is connected with the output end of the Hall sensor, the second resistor is connected in a switch passage of the second switch tube, two ends of the switch passage of the second switch tube are respectively connected with a power supply and the ground, and one end of the second resistor is used as the output end of the first switch circuit.
Preferably, the first switching tube is an NPN triode; the base electrode of the NPN triode is connected with the output end of the Hall sensor, the collector electrode of the NPN triode is connected with a power supply, the emitter electrode of the NPN triode is connected with the first end of the first resistor, and the second end of the first resistor is grounded; the first end of the first resistor is used as the output end of the first switch circuit;
the second switch tube is an NPN triode; the base electrode of the NPN triode is connected with the output end of the Hall sensor, the collector electrode of the NPN triode is connected with the first end of the second resistor, the second end of the second resistor is connected with the power supply, and the emitter electrode of the NPN triode is grounded; the first end of the second resistor is used as an output end of the second switch circuit.
Preferably, the output circuit includes an or gate, two input ends of the or gate are respectively connected with the output end of the first switch circuit and the output end of the second switch circuit, and the output end of the or gate outputs the installation signal.
Preferably, the hall sensor is used for sensing whether a magnet approaches;
when the N pole of the magnet is close to the Hall sensor, the Hall signal is in a low level; when the S pole of the magnet is close to the Hall sensor, the Hall signal is high.
Preferably, the hall detection circuit further comprises a judging circuit, wherein the input end of the judging circuit is connected with the output end of the hall sensor and is used for judging whether the output end of the hall sensor is in a high-resistance state or not; and outputting an uninstalled signal when the output end of the Hall sensor is in a high-resistance state.
According to another aspect of the present invention, there is provided a smart wearable device including a wristband and a device body detachably mounted within the wristband; the hall detection circuit of any one of the above is provided in the device body.
Preferably, a magnet which is matched with the Hall detection circuit is arranged in the wrist strap; when the equipment main body is installed in the wrist strap, the Hall detection circuit outputs an installation signal; when the apparatus body is not mounted in the wristband, the hall detection circuit outputs a non-mounting signal.
Preferably, the smart wearable device is a smart watch or a smart bracelet.
According to the technical scheme of the invention, when the Hall sensor senses the change of the magnetic field and outputs the Hall signal, the first switch circuit and the second switch circuit output a first level signal and a second level signal respectively according to the Hall signal, and the output circuit carries out logical OR operation on the first level signal and the second level signal and outputs an installation signal. Specifically, when the Hall signal is at a high level, the first level signal is at a high level, the second level signal is at a low level, and the output circuit outputs a high-level installation signal; when the Hall signal is at a low level, the first level signal is at a low level, the second level signal is at a high level, and the output circuit outputs a high-level installation signal. Through the technical scheme of the invention, when the Hall sensor senses the magnetic field change, the output circuit can output effective high-level signals. This hall detection circuit sets up in intelligent wearing equipment, need not to discern hall sensor's direction. There is no need to distinguish between the polarities of the magnets when they are installed. Magnet is installed in arbitrary direction, and hall detection circuit can all realize hall sensor's judgement function, correctly exports the installation condition of intelligent wearing equipment main part to reduced the operation flow of equipment intelligent wearing equipment, reduced workman's the equipment degree of difficulty, improved workman's packaging efficiency.
Drawings
FIG. 1 is a schematic block diagram of a Hall detection circuit provided in an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a Hall detection circuit according to another embodiment of the present invention;
FIG. 3 is a specific circuit diagram of a Hall detection circuit according to an embodiment of the present invention;
FIG. 4 is a circuit diagram of a first switching circuit according to another embodiment of the present invention;
fig. 5 is a specific circuit diagram of a second switching circuit according to another embodiment of the present invention.
Detailed Description
In order to solve the technical problem set forth in the background art described above, the inventors of the present application conceived to detect a detection signal output by a hall sensor at an output end of the hall sensor, thereby judging whether an apparatus main body of the smart wearable apparatus is mounted in a wristband. For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
Fig. 1 is a schematic block diagram of a hall sensing circuit according to an embodiment of the present invention, and as shown in fig. 1, the hall sensing circuit includes a hall sensor 10, a first switch circuit 21, a second switch circuit 22, and an output circuit 30. The hall sensor 10 is used to sense a change in a magnetic field and output a hall signal according to the change in the magnetic field. For example, when the hall sensor 10 is placed in a forward magnetic field, the forward magnetic field may be a magnetic field direction in which the N pole of the magnet is close to the hall sensor 10, and the hall sensor 10 outputs a hall signal of a low level; when the hall sensor 10 is placed in a reverse magnetic field, the reverse magnetic field is the magnetic field direction generated by the hall sensor 10 when the S pole of the magnet is close to the hall sensor 10, and the hall sensor 10 outputs a hall signal with high level; when the hall sensor 10 is not placed in the magnetic field, no hall signal is output by the hall sensor 10, and the output end is in a high-resistance state. An input terminal of the first switching circuit 21 is connected to an output terminal of the hall sensor 10 for outputting a first level signal according to the hall signal. An input terminal of the second switching circuit 22 is connected to an output terminal of the hall sensor 10, and is configured to output a second level signal according to the hall signal. The output circuit 30 is configured to perform a logical or operation on the first level signal and the second level signal and output an installation signal. Specifically, the first switch circuit 21 performs a logical AND operation on the hall signal and a high level signal, and outputs a first level signal; the second switch circuit 22 performs a logical negation operation on the hall signal, outputs a second level signal, and the output circuit 30 performs a logical or operation on the first level signal and the second level signal. Therefore, when the hall signal is at the high level, the first level signal outputted from the first switch circuit 21 is at the high level, and the second level signal outputted from the second switch circuit 22 is at the low level. When the first level signal and the second level signal have a high level, the output circuit 30 outputs the high level by adopting logical OR operation, namely, the output circuit 30 outputs a high level installation signal at the moment; when the hall signal is low, the first level signal output from the first switch circuit 21 is low, the second level signal output from the second switch circuit 22 is high, and at this time, there is one high level between the first level signal and the second level signal, and the output circuit 30 outputs a high level by logical or operation, that is, at this time, the output circuit 30 outputs a high level mounting signal. The logical or operation principle of the output circuit 30 is that when there is at least one input at a high level, the output is at a high level. In this way, the output circuit can accurately output a high level no matter whether the hall signal output by the hall sensor 10 is a low level or a high level, so that the output of the hall sensor 10 can be effectively detected, and the judgment function of the hall sensor 10 is realized.
The first switch circuit 21 and the second switch circuit 22 process the hall signal to output a first level signal and a second level signal, specifically, the first switch circuit 21 comprises a first switch tube and a first resistor, a control end of the first switch tube is connected with an output end of the hall sensor 10, the first resistor is connected in a switch passage of the first switch tube, two ends of the switch passage of the first switch tube are respectively connected with a power supply and a ground, and one end of the first resistor is used as an output end of the first switch circuit 21. The second switching circuit 22 includes a second switching tube and a second resistor, the control end of the second switching tube is connected with the output end of the hall sensor 10, the second resistor is connected in a switching path of the second switching tube, two ends of the switching path of the second switching tube are respectively connected with a power supply and the ground, and one end of the second resistor is used as the output end of the first switching circuit. With the arrangement of the switching tube, when the hall sensor 10 outputs different hall signals, different processing outputs can be performed, so that at least one high level exists at two input ends of the output circuit 30. That is, as long as the hall sensor 10 outputs the hall signal, the output circuit 30 can keep outputting the high level after performing the logical or operation, so that the subsequent circuit is convenient to detect and use, and outputs other functions. For example, the bracelet body of the existing smart bracelet is used as a bluetooth headset in addition to the function of the bracelet. The Hall detection circuit is arranged in the bracelet body, and a magnet is arranged in the bracelet and is matched with the Hall sensor 10 of the bracelet body. When the bracelet main body is installed in the wrist strap, the output circuit 30 outputs a high level, and the Bluetooth earphone on the bracelet main body closes the Bluetooth function after detecting the high level, so that the electric energy of the bracelet main body is saved, and the cruising ability of the bracelet main body is improved. When the bracelet body is detached from the wristband, the user is indicated to be likely to answer a call or music by using the Bluetooth headset, the output circuit 30 does not output a high level, the Bluetooth headset opens the Bluetooth function immediately, connection with a mobile phone or other electronic equipment is achieved, the user can use the bracelet conveniently, and meanwhile user experience is improved.
With the hall detection circuit of the present embodiment, as long as the hall sensor 10 is placed in the magnetic field, that is, a magnet is close to the hall sensor 10, the output circuit 30 can output a high-level installation signal, thereby realizing the judgment function of the hall sensor 10. That is, the hall sensor 10 and the magnet are mounted in any directions, and the hall sensor 10 can output an effective high level when approaching the magnet and entering the magnetic field. Need not to discern hall sensor's direction, when installing magnet, also need not to distinguish magnet polarity, reduce the operation flow of equipment intelligent wearing equipment, reduce workman's the equipment degree of difficulty, improve workman's packaging efficiency.
When the hall sensor 10 is far away from the magnetic field, that is, no magnetic induction line passes through the hall sensor 10, the hall sensor 10 has no output at this time, and the output end presents a high-resistance state. The high resistance state of the hall sensor 10 is different from the state when the hall signal is output, when the hall sensor 10 outputs the hall signal, the output end outputs, and the high resistance state is that the output end does not output. Since the first switch circuit 21 and the second switch circuit 22 process only the hall signal output from the hall sensor 10, the high-resistance state of the output terminal of the hall sensor 10 cannot be recognized. Therefore, in order to distinguish whether the hall sensor 10 is close to the magnetic field, that is, whether the output terminal of the hall sensor 10 is in a high-resistance state, a determination circuit 40 is provided in the hall detection circuit, as shown in fig. 2. The input end of the judging circuit 40 is connected with the output end of the hall sensor 10, and is used for judging whether the output end of the hall sensor 10 is in a high-resistance state or not; when the output terminal of the hall sensor 10 is in a high-resistance state, an uninstalled signal is output. Specifically, a detection unit may be disposed at the output end of the hall sensor 10, for detecting whether the output end of the hall sensor 10 has a signal output. For example, the output end of the hall sensor 10 is connected to an I/O port of the single-chip microcomputer, when no signal is output at the output end, the I/O port is input-free, and the single-chip microcomputer can not only determine that the output end of the hall sensor 10 is in a high-resistance state in real time, but also output an uninstalled signal, namely that the hall sensor 10 is close to and far away from a magnetic field without a magnet. When the output end of the hall sensor 10 outputs a hall signal, the I/O port of the single-chip microcomputer receives the input, and at this time, the output of the uninstalled signal is stopped, the first switch circuit 21 and the second switch circuit 22 are turned on to operate, the hall signal with directivity is uniformly processed, and the high-level installed signal is output. The singlechip is connected in parallel with the first switch circuit 21 and the second switch circuit 22, and works independently, so that the working efficiency of the hall detection circuit is improved, and the judgment accuracy of the hall sensor 10 is increased.
Fig. 3 shows a specific circuit diagram of the hall sensing circuit according to the embodiment of the present invention, and as shown in fig. 3, the first switching circuit 21 further includes a first resistor R1, and the first switching transistor is an NPN triode Q1. The base of NPN triode Q1 is connected with the output of hall sensor 10, and NPN triode Q1's collecting electrode is connected with the power, and NPN triode Q1's projecting pole is connected with first end of first resistance R1, and the second ground connection of first resistance R1. The first terminal of the first resistor R1 serves as an output terminal of the first switching circuit 21, and outputs a first level signal.
When the hall signal output from the hall sensor 10 is at a high level, the base of the NPN transistor Q1 receives the high level, and the emitter and the collector are turned on. The emitter of NPN transistor Q1 is pulled high by the power supply, outputting a high level. When the hall signal output by the hall sensor 10 is at a low level, the NPN triode Q1 is turned off, the emitter and the collector are disconnected, the emitter of the NPN triode Q1 is pulled down to ground through the NPN resistor R1, and a low level is output, thereby realizing the processing of the hall signal by the first switch circuit 21. The first switching tube adopts NPN triode, which can be conducted when the base electrode has current input, thus ensuring the control accuracy. In one embodiment of the first switching circuit 21, the first switching transistor may be, in addition to the NPN transistor, a PNP transistor, an N-channel MOS transistor, a P-channel MOS transistor, or the like, and the connection relationship between the first resistor R1 and the first switching transistor may be changed according to the first switching transistor, so that the first switching circuit 21 outputs a high level when the control terminal of the first switching transistor inputs a high level, and the first switching circuit 21 outputs a low level when the control terminal of the first switching transistor inputs a low level. Taking the first switching tube as a PNP triode as an example, a specific circuit connection is shown in fig. 4, a base electrode of the PNP triode Q2 is connected with an output end of the hall sensor 10, an emitter electrode is grounded, a collector electrode is connected with a first end of the first resistor R1, and a second end of the first resistor is connected with the power supply VCC. The first terminal of the first resistor R1 serves as an output terminal of the first switching circuit 21, and outputs a first level signal. When the Hall sensor 10 outputs a high level, the PNP triode Q2 is cut off, and the first resistor R1 outputs a high level signal; when the hall sensor 10 outputs a low level, the PNP transistor Q2 is turned on, and the first resistor R1 outputs a low level, so that when the hall sensor 10 outputs a high level, the first switch circuit 21 also outputs a high level, and when the hall sensor 10 outputs a low level, the first switch circuit 21 also outputs a low level.
The second switching circuit 22 further includes a second resistor R2, and the second switching transistor is an NPN triode Q2. The base electrode of the NPN triode Q2 is connected with the output end of the Hall sensor, the collector electrode of the NPN triode Q2 is connected with the first end of the NPN resistor R2, the NPN end of the NPN resistor R2 is connected with a power supply, and the emitter electrode of the NPN triode Q2 is grounded; the first terminal of the second resistor is used as an output terminal of the second switch circuit 22 to output a second level signal.
When the hall signal output from the hall sensor 10 is at a high level, the base of the NPN transistor Q2 receives the high level, and the emitter and the collector are turned on. The collector of NPN transistor Q2 is pulled low to ground, outputting a low level. When the hall signal output by the hall sensor 10 is at a low level, the NPN triode Q2 is turned off, the emitter is disconnected from the collector, the collector electrode of the NPN triode Q2 is pulled up by the power supply through the NPN resistor R2, and a high level is output, thereby realizing processing of the hall signal by the NPN switch circuit 22. It should be noted that, in the above embodiment of the second switching circuit 22, the second switching transistor may be, in addition to the NPN transistor, a PNP transistor, an N-channel MOS transistor, a P-channel MOS transistor, etc., and the connection relationship between the second resistor R2 and the second switching transistor may be changed according to the second switching transistor, so that only when the control terminal of the second switching transistor inputs a high level, the second switching circuit 22 outputs a low level, and when the control terminal of the second switching transistor inputs a low level, the second switching circuit 22 outputs a high level. Taking the second switching tube as a PNP triode as an example, a specific circuit connection is shown in fig. 5, a base electrode of the PNP triode Q2 is connected with an output end of the hall sensor 10, a collector electrode is connected with the power VCC, an emitter electrode is connected with a first end of the second resistor R2, and a second end of the second resistor R2 is grounded. The first terminal of the second resistor R2 serves as an output terminal of the second switching circuit 22, and outputs a second level signal. When the Hall sensor 10 outputs a high level, the PNP triode Q2 is cut off, and the second resistor R2 outputs a low level; when the hall sensor 10 outputs a low level, the PNP transistor Q2 is turned on, and the second resistor outputs a high level, so that when the hall sensor 10 outputs a high level, the second switch circuit 22 outputs a low level, and when the hall sensor 10 outputs a low level, the second switch circuit 22 outputs a high level.
As shown in fig. 3, the output circuit 30 includes an or gate for performing a logical or operation. Specifically, two input terminals of the or gate are connected to the output terminal of the first switch circuit 21 and the output terminal of the second switch circuit 22, respectively, and the output terminal of the or gate outputs the mounting signal. The or gate can be implemented by using diodes, and the output ends of the first switch circuit 21 and the second switch circuit 22 are respectively connected with a diode in series in the forward direction, when at least one high level output exists in the first switch circuit 21 and the second switch circuit 22, the corresponding diode is conducted, and the high level is output, so that logical OR operation is implemented, the hall signal output by the hall sensor 10 can be accurately output, and the problem that judgment errors are caused by incapability of outputting when the hall signal is in the low level is avoided.
With the above arrangement, no matter whether the hall signal output by the hall sensor 10 is high level or low level, the first switch circuit 21 and the second switch circuit 22 can perform corresponding processing, respectively output the high level or low level signal, the or gate of the output circuit 30 accurately outputs the hall signal after performing logical OR operation, so that the subsequent circuit can conveniently detect and output, and the judging function of the hall sensor 10 is realized, thereby avoiding the problem that the judgment error is caused by the fact that the hall signal cannot be output when the hall signal is low level without distinguishing the magnetic field direction passing through the hall sensor 10.
According to another aspect of the present invention, there is provided a smart wearable device including a wristband and a device body detachably mounted within the wristband; the hall detection circuit shown in the above embodiment is provided in the apparatus main body. Specifically, a magnet which is mutually matched with the Hall sensor 10 is arranged in the wrist strap of the intelligent wearable device. When the equipment main body is installed in the wrist strap, the Hall detection circuit outputs an installation signal; when the apparatus body is not mounted in the wristband, the hall detection circuit outputs a non-mounting signal. The hall signal can be processed by the hall detection circuit as long as the hall sensor 10 outputs a hall signal, no matter whether the hall signal is in a low level or a high level, the output is effectively in a high level, the work of a subsequent circuit is convenient, and the reliability is improved.
It should be noted that, set up hall detection circuit in intelligent wearing equipment, the workman can omit when assembling the product and discern hall sensor 10's output direction, also can omit with specific installation direction installation magnet, reduced the operation flow of equipment intelligent wearing equipment, reduced the equipment degree of difficulty of workman, improved workman's packaging efficiency, avoided leading to the unable normal use's of product problem because workman's operation mistake.
In this embodiment, the smart wearable device may be a smart watch or a smart bracelet. For example, the bracelet body of the existing smart bracelet is designed as a bluetooth headset in addition to the function of the bracelet. The Hall detection circuit is arranged in the bracelet body, and a magnet is arranged in the bracelet and is matched with the Hall sensor 10 of the bracelet body. When the bracelet main body is installed in the wrist strap, the output circuit 30 outputs a high level, and the Bluetooth earphone on the bracelet main body closes the Bluetooth function after detecting the high level, so that the electric energy of the bracelet main body is saved, and the cruising ability of the bracelet main body is improved. When the bracelet body is detached from the wristband, the user is indicated to be likely to answer a call or music by using the Bluetooth headset, the output circuit 30 does not output a high level, the Bluetooth headset opens the Bluetooth function immediately, connection with a mobile phone or other electronic equipment is achieved, the user can use the bracelet conveniently, and meanwhile user experience is improved.
In summary, according to the hall detection circuit of the present invention, when the hall sensor senses a change in the magnetic field and outputs the hall signal, the first switch circuit and the second switch circuit output the first level signal and the second level signal according to the hall signal, respectively, and the output circuit performs a logical or operation on the first level signal and the second level signal and outputs the installation signal. The hall signal can be processed by the hall detection circuit as long as the hall sensor 10 outputs a hall signal, no matter whether the hall signal is in a low level or a high level, the output is effectively in a high level, the work of a subsequent circuit is convenient, and the reliability is improved. Set up hall detection circuit in intelligent wearing equipment, the workman can omit when assembling the product and discern hall sensor 10's output direction, also can omit with specific installation direction installation magnet, reduced the operation flow of equipment intelligent wearing equipment, reduce workman's the equipment degree of difficulty, improve workman's packaging efficiency, avoid because workman's operation mistake leads to the unable normal use's of product problem.
In addition, the intelligent wearing equipment can also utilize the installation signal and the state switching of other functions of uninstalled signal of hall detection circuit output, for example in intelligent bracelet, when the bracelet main part is installed in the wrist strap, hall detection circuit output installation signal, bluetooth headset in the bracelet main part detects this installation signal back and closes bluetooth function to save the electric energy of bracelet main part, improve the duration of bracelet main part. When the bracelet main body is detached from the wrist strap, the fact that a user can answer a call or music by using the Bluetooth headset is explained, the Hall detection circuit outputs an installation signal, the Bluetooth function of the bracelet main body is immediately opened, connection with a mobile phone or other electronic equipment is achieved, the user can use the bracelet main body conveniently, and meanwhile user experience is improved.
The foregoing is merely a specific embodiment of the invention and other modifications and variations can be made by those skilled in the art in light of the above teachings. It is to be understood by persons skilled in the art that the foregoing detailed description is provided for the purpose of illustrating the invention more fully, and that the scope of the invention is defined by the appended claims.
Claims (8)
1. A hall sensing circuit, the hall sensing circuit comprising:
the Hall sensor is used for inducing the change of a magnetic field and outputting a Hall signal according to the change of the magnetic field;
the input end of the first switch circuit is connected with the output end of the Hall sensor and is used for outputting a first level signal according to the Hall signal;
the input end of the second switch circuit is connected with the output end of the Hall sensor and is used for outputting a second level signal according to the Hall signal;
an output circuit for performing a logical OR operation on the first level signal and the second level signal and outputting an installation signal;
when the Hall signal is at a high level, the first level signal is at a high level, the second level signal is at a low level, and the mounting signal is at a high level; when the Hall signal is at a low level, the first level signal is at a low level, the second level signal is at a high level, and the mounting signal is at a high level;
the first switch circuit comprises a first switch tube and a first resistor, the control end of the first switch tube is connected with the output end of the Hall sensor, the first resistor is connected in a switch passage of the first switch tube, two ends of the switch passage of the first switch tube are respectively connected with a power supply and the ground, and one end of the first resistor is used as the output end of the first switch circuit;
the second switching circuit comprises a second switching tube and a second resistor, the control end of the second switching tube is connected with the output end of the Hall sensor, the second resistor is connected in a switching path of the second switching tube, two ends of the switching path of the second switching tube are respectively connected with a power supply and the ground, and one end of the second resistor is used as the output end of the first switching circuit.
2. The Hall detection circuit according to claim 1, wherein,
the first switch tube is an NPN triode; the base electrode of the NPN triode is connected with the output end of the Hall sensor, the collector electrode of the NPN triode is connected with a power supply, the emitter electrode of the NPN triode is connected with the first end of the first resistor, and the second end of the first resistor is grounded; the first end of the first resistor is used as the output end of the first switch circuit;
the second switch tube is an NPN triode; the base electrode of the NPN triode is connected with the output end of the Hall sensor, the collector electrode of the NPN triode is connected with the first end of the second resistor, the second end of the second resistor is connected with a power supply, and the emitter electrode of the NPN triode is grounded; the first end of the second resistor is used as an output end of the second switch circuit.
3. The Hall detection circuit according to claim 1, wherein,
the output circuit comprises an OR gate, two input ends of the OR gate are respectively connected with the output end of the first switch circuit and the output end of the second switch circuit, and the output end of the OR gate outputs an installation signal.
4. A hall sensing circuit according to any one of claims 1 to 3, wherein the hall sensor is arranged to sense whether a magnet is in proximity;
when the N pole of the magnet is close to the Hall sensor, the Hall signal is in a low level; when the S pole of the magnet is close to the Hall sensor, the Hall signal is high level.
5. A Hall detection circuit according to any one of claims 1 to 3, wherein,
the Hall detection circuit further comprises a judging circuit, wherein the input end of the judging circuit is connected with the output end of the Hall sensor and is used for judging whether the output end of the Hall sensor is in a high-resistance state or not; and outputting an uninstalled signal when the output end of the Hall sensor is in a high-resistance state.
6. The intelligent wearable device is characterized by comprising a wristband and a device main body detachably arranged in the wristband; a hall sensing circuit as claimed in any one of claims 1 to 5 disposed within the device body.
7. The smart wearable device of claim 6, wherein a magnet is disposed within the wristband that cooperates with the hall detection circuit;
when the device body is mounted in the wrist strap, the hall detection circuit outputs a mounting signal; when the apparatus body is not mounted in the wristband, the hall detection circuit outputs a non-mounting signal.
8. The smart wearable device of claim 7, wherein the smart wearable device is a smart watch or a smart bracelet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810338771.XA CN108377146B (en) | 2018-04-16 | 2018-04-16 | Hall detection circuit and intelligent wearing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810338771.XA CN108377146B (en) | 2018-04-16 | 2018-04-16 | Hall detection circuit and intelligent wearing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108377146A CN108377146A (en) | 2018-08-07 |
CN108377146B true CN108377146B (en) | 2024-04-02 |
Family
ID=63032325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810338771.XA Active CN108377146B (en) | 2018-04-16 | 2018-04-16 | Hall detection circuit and intelligent wearing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108377146B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111798604A (en) * | 2019-03-21 | 2020-10-20 | 佳纶生技股份有限公司 | Card reading device and access control system |
CN110501938A (en) * | 2019-08-01 | 2019-11-26 | 深圳市睿耳电子有限公司 | A kind of Hall control circuit |
CN110849398A (en) * | 2019-11-14 | 2020-02-28 | 广州杰赛科技股份有限公司 | Wearing state detection device of wearing equipment and wearing equipment |
CN114052456B (en) * | 2020-08-05 | 2022-12-06 | 杭州九阳小家电有限公司 | Detection method of food processing machine and food processing machine |
CN113030793A (en) * | 2021-02-26 | 2021-06-25 | 山东英信计算机技术有限公司 | Connector connection state detection system |
CN114204649A (en) * | 2022-01-12 | 2022-03-18 | 天津爱玛运动用品有限公司 | Dual-battery parallel control system and method for electric vehicle |
CN114521502B (en) * | 2022-01-14 | 2023-07-21 | 重庆美特亚电子科技有限公司 | Feeding trigger rod and discharging trigger control method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6362618B1 (en) * | 1998-12-19 | 2002-03-26 | Micronas Gmbh | Hall sensor for stress and temperature measurements in addition to magnetic field measurement |
WO2011021521A1 (en) * | 2009-08-19 | 2011-02-24 | ローム株式会社 | Magnetic sensor device and electronic equipment using same |
CN103167144A (en) * | 2012-09-20 | 2013-06-19 | 深圳市金立通信设备有限公司 | Intelligent player system and method of mobile phone |
CN204789746U (en) * | 2015-07-15 | 2015-11-18 | 威胜集团有限公司 | Current detection device and electric energy meter of making with device |
CN205584168U (en) * | 2016-05-10 | 2016-09-14 | 四川长虹技佳精工有限公司 | Hall proximity switch circuit |
WO2017222130A1 (en) * | 2016-06-22 | 2017-12-28 | 타타대우상용차 주식회사 | Vehicle door opening/closing system and control method therefor |
CN107546814A (en) * | 2017-10-16 | 2018-01-05 | 歌尔科技有限公司 | A kind of charging base and electronic product |
CN208158562U (en) * | 2018-04-16 | 2018-11-27 | 歌尔科技有限公司 | A kind of Hall detection circuit and intelligent wearable device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011182056A (en) * | 2010-02-26 | 2011-09-15 | Panasonic Corp | Semiconductor integrated circuit |
-
2018
- 2018-04-16 CN CN201810338771.XA patent/CN108377146B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6362618B1 (en) * | 1998-12-19 | 2002-03-26 | Micronas Gmbh | Hall sensor for stress and temperature measurements in addition to magnetic field measurement |
WO2011021521A1 (en) * | 2009-08-19 | 2011-02-24 | ローム株式会社 | Magnetic sensor device and electronic equipment using same |
CN103167144A (en) * | 2012-09-20 | 2013-06-19 | 深圳市金立通信设备有限公司 | Intelligent player system and method of mobile phone |
CN204789746U (en) * | 2015-07-15 | 2015-11-18 | 威胜集团有限公司 | Current detection device and electric energy meter of making with device |
CN205584168U (en) * | 2016-05-10 | 2016-09-14 | 四川长虹技佳精工有限公司 | Hall proximity switch circuit |
WO2017222130A1 (en) * | 2016-06-22 | 2017-12-28 | 타타대우상용차 주식회사 | Vehicle door opening/closing system and control method therefor |
CN107546814A (en) * | 2017-10-16 | 2018-01-05 | 歌尔科技有限公司 | A kind of charging base and electronic product |
CN208158562U (en) * | 2018-04-16 | 2018-11-27 | 歌尔科技有限公司 | A kind of Hall detection circuit and intelligent wearable device |
Also Published As
Publication number | Publication date |
---|---|
CN108377146A (en) | 2018-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108377146B (en) | Hall detection circuit and intelligent wearing equipment | |
US8756358B2 (en) | Method and device for identifying universal serial bus (USB) insertion or charger insertion of mobile terminal | |
JP5941135B2 (en) | Electronic device having USB interface and USB communication activation method | |
EP2863652A1 (en) | Audio interface self-adaptation device | |
US20060015670A1 (en) | Apparatus for detecting connection of a peripheral unit to a host system | |
CN104821059B (en) | A kind of Wrist belt-type electronic product is anti-to be plucked detecting system and prevents plucking detection method | |
CN108957305B (en) | Silicon controlled rectifier detection device and detection method | |
CN106019040A (en) | Optical-coupler electrical performance detection device | |
CN212343388U (en) | Be used for battery charging outfit interface to ground short-circuit protection circuit | |
CN208158562U (en) | A kind of Hall detection circuit and intelligent wearable device | |
CN219224929U (en) | Direct-current power supply voltage undervoltage alarm circuit | |
CN103592519A (en) | Surge detection device capable of detecting surge signal characteristics | |
CN100389455C (en) | Device and method for detecting sound type | |
JP7241900B2 (en) | Buttonless control device and earphone | |
CN104868901B (en) | Signal deteching circuit | |
CN204696377U (en) | A kind of interface protector | |
CN209588966U (en) | A kind of position detecting device, system and electrical equipment | |
CN108681290B (en) | Control system integrating GSM and infrared sensor and control method thereof | |
CN209784782U (en) | Vehicle speed signal input detection circuit and combination instrument | |
US20120056611A1 (en) | Connection detection circuit | |
CN110890883A (en) | Conversion device and system for infrared photoelectric switch signals | |
CN215894733U (en) | Voltage signal detection circuit, power supply device and electric device | |
CN220873082U (en) | Voice prompt device and voice prompt system | |
CN114076892B (en) | Multi-path automatic testing device and method for chip | |
CN105657606B (en) | Earphone identification and connection method and circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |