CN111734967A - Self-locking circuit for mobile lighting equipment and mobile lighting equipment - Google Patents
Self-locking circuit for mobile lighting equipment and mobile lighting equipment Download PDFInfo
- Publication number
- CN111734967A CN111734967A CN202010501778.6A CN202010501778A CN111734967A CN 111734967 A CN111734967 A CN 111734967A CN 202010501778 A CN202010501778 A CN 202010501778A CN 111734967 A CN111734967 A CN 111734967A
- Authority
- CN
- China
- Prior art keywords
- circuit
- locking
- self
- control unit
- pin
- 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
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
- H05B45/34—Voltage stabilisation; Maintaining constant voltage
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F21—LIGHTING
- F21L—LIGHTING DEVICES OR SYSTEMS THEREOF, BEING PORTABLE OR SPECIALLY ADAPTED FOR TRANSPORTATION
- F21L4/00—Electric lighting devices with self-contained electric batteries or cells
- F21L4/005—Electric lighting devices with self-contained electric batteries or cells the device being a pocket lamp
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F21—LIGHTING
- F21V—FUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
- F21V15/00—Protecting lighting devices from damage
- F21V15/005—Measures against vandalism, stealing or tampering
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F21—LIGHTING
- F21V—FUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
- F21V23/00—Arrangement of electric circuit elements in or on lighting devices
- F21V23/003—Arrangement of electric circuit elements in or on lighting devices the elements being electronics drivers or controllers for operating the light source, e.g. for a LED array
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F21—LIGHTING
- F21V—FUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
- F21V23/00—Arrangement of electric circuit elements in or on lighting devices
- F21V23/04—Arrangement of electric circuit elements in or on lighting devices the elements being switches
- F21V23/0442—Arrangement of electric circuit elements in or on lighting devices the elements being switches activated by means of a sensor, e.g. motion or photodetectors
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Switches That Are Operated By Magnetic Or Electric Fields (AREA)
- Circuit Arrangements For Discharge Lamps (AREA)
Abstract
The invention provides a self-locking circuit for mobile lighting equipment, which comprises a switch circuit and a drive circuit, wherein the drive circuit is connected with a micro control unit, the micro control unit is connected with the switch circuit, the micro control unit is connected with a magnetic induction self-locking circuit, and the micro control unit is used for detecting a self-locking signal sent by the magnetic induction self-locking circuit and locking the switch circuit. The magnetic induction self-locking circuit sends out a self-locking signal according to the magnetic field characteristic of the external environment: when the lighting equipment is placed in a specific locking environment, the magnetic induction self-locking circuit senses the specific magnetic field change of the external environment and transmits self-locking information to the micro-control unit, the micro-control unit locks the switch circuit, and the locked switch circuit cannot trigger the driving circuit to enable the mobile lighting equipment to emit light, so that the mobile lighting equipment is locked.
Description
Technical Field
The invention belongs to the technical field of mobile lighting equipment, and relates to a self-locking circuit for the mobile lighting equipment and the mobile lighting equipment.
Background
Mobile lighting devices (such as flashlights) are widely used in daily life and manufacturing due to their features of portability, easy operation, etc. However, due to the portability of a general mobile lighting device, a user may put the device in a pocket or other spaces with sundries, the lighting device may be touched by sundries in the space to be touched by mistake, and the mobile lighting device may be turned on.
In order to solve the problem of false touch of the mobile lighting device, a common method is implemented by a software locking key, as shown in fig. 1, a general locking circuit is unlocked by a specific key (for example, by long pressing) of the operation key SW3, and the flashlight is lit after unlocking. However, the key locking mode makes the design of the key locking/unlocking circuit complex, the unlocking step is complicated, and when a user uses a product, the user must read the specification in detail and learn the key locking/unlocking method, and simultaneously memorize the using method. The unlocking is carried out by pressing the key for a long time, so that the unlocking can be realized when the mobile lighting equipment is extruded by a hard object for a long time, and the problem of mistaken unlocking is easy to occur.
Therefore, the current mobile lighting equipment has the problems of complex and complicated key locking and unlocking modes and high misunderstanding rate.
Disclosure of Invention
The invention aims to provide a self-locking circuit for mobile lighting equipment and the mobile lighting equipment, aiming at overcoming the defects of the prior art, the mobile lighting equipment can be automatically locked by placing the mobile lighting equipment in a specific environment, the lighting equipment can be unlocked immediately after being taken out of the environment, the locking and unlocking modes are simple, additional learning is not needed, the operation is simple, and the probability of mistaken unlocking is greatly reduced.
In order to achieve the purpose, the invention adopts the following technical scheme:
the utility model provides a self-locking circuit for removing lighting apparatus, includes switch circuit and drive circuit, drive circuit is connected with little the control unit, little the control unit with switch circuit connects, little the control unit is connected with magnetism and feels self-locking circuit, little the control unit is used for detecting the auto-lock signal that magnetism felt self-locking circuit sent locks switch circuit.
Preferably, a seventh pin of the micro control unit is connected to the magnetic induction self-locking circuit, the micro control unit detects a voltage of the seventh pin, and the micro control unit locks the switch circuit when the voltage of the seventh pin meets a locking condition.
Furthermore, the magnetic induction self-locking circuit comprises a first magnetic induction component and a second magnetic induction component, and the first magnetic induction component and the second magnetic induction component are connected in parallel.
Further, the first magnetic sensing assembly comprises a first magnetic sensor and a first resistor, and an output pin of the first magnetic sensor is connected with a first end of the first resistor; the second magnetic sensing assembly comprises a second magnetic sensor and a second resistor, and an output pin of the second magnetic sensor is connected with a first end of the second resistor; the voltage input pin of the first magnetic sensor is connected with the voltage input pin of the second sensor, a reference voltage is connected to the connection position of the voltage input pin of the first magnetic sensor and the voltage input pin of the second sensor, the second end of the first resistor is connected with the second end of the second resistor, and the connection position of the first resistor and the second resistor is connected to the seventh pin of the micro control unit.
Furthermore, the magnetic induction self-locking circuit further comprises a third resistor, one end of the third resistor is connected to the connection position of the voltage input pin of the first sensor and the voltage input pin of the second sensor and is connected with the reference voltage, and the other end of the third resistor is connected to the connection position of the first resistor and the second resistor and is connected to a seventh pin of the micro control unit.
Preferably, the switch circuit comprises a first switch key and a second switch key, the first switch key is connected with a third pin of the micro control unit, and the second switch key is connected with a fourth pin of the micro control unit.
Preferably, a sixth pin of the micro control unit is connected with the driving circuit, and a third pin of the micro control unit is further connected with a voltage stabilizing circuit.
The utility model provides a mobile lighting equipment, includes the lamp body, is located switch button on the lamp body and setting are in the inside circuit board of lamp body, the switch button with the circuit board electricity is connected, the circuit board adopt above-mentioned arbitrary scheme self-locking circuit, be connected with magnetic sensor on the circuit board.
Preferably, the lamp body protection sleeve is provided with a magnet corresponding to the position of the magnetic sensor, the lamp body is placed in the lamp body protection sleeve, the magnetic sensor reacts under the action of a magnetic field of the magnet, and the circuit board locks the switch key.
Furthermore, the circuit board is circularly arranged on the cross section of the lamp body, the magnetic sensor comprises a first Hall switch and a second Hall switch, the first Hall switch and the second Hall switch are respectively positioned at two ends of the diameter of the circuit board, the magnet is annularly arranged in the lamp body protective sleeve, and the distance from the magnet to the bottom of the lamp body protective sleeve is equal to the distance from the circuit board to the light outlet of the lamp body.
The invention has the beneficial effects that: the invention provides a self-locking circuit for mobile lighting equipment. The magnetic induction self-locking circuit sends out a self-locking signal according to the magnetic field characteristic of the external environment: when the lighting equipment is placed in a specific locking environment, the magnetic induction self-locking circuit transmits self-locking information to the micro control unit when sensing a magnetic field with certain intensity of the external environment, the locked switch circuit cannot trigger the driving circuit to enable the mobile lighting equipment to emit light, and locking of the mobile lighting equipment is achieved. And a seventh pin of the micro control unit is connected with the magnetic induction self-locking circuit, the magnetic induction self-locking circuit takes the voltage signal as a locking signal, and when the micro control unit detects that the voltage signal of the seventh pin meets the locking condition, the locking switch circuit is controlled.
The magnetic induction self-locking circuit is formed by connecting a first magnetic induction component and a second magnetic induction component in parallel, and the first magnetic induction component and the second magnetic induction component jointly act on the magnetic induction self-locking circuit and transmit self-locking signals to the micro control unit. Only when two magnetism are felt the subassembly and have magnet to be close to simultaneously, magnetism is felt self-locking circuit and is just satisfied the auto-lock condition, has prevented that the condition of mistake lock key from appearing. The magnetic sensing assembly comprises a magnetic sensor and a resistor connected with the magnetic sensor and used for limiting and dividing the current in the circuit. The magnetic induction self-locking circuit further comprises a third resistor, one end of the third resistor is connected with the reference voltage, and the other end of the third resistor is connected to a seventh pin of the micro control unit and used for reducing the quiescent current.
The switch circuit comprises a first switch key and a second switch key, and when the circuit is in an unlocking state, the lighting equipment can be lightened only by pressing one key of the first switch key or the second switch key arbitrarily. The first switch key and the second switch key are respectively connected with the micro control unit, when the micro control unit detects a self-locking signal, the switch circuit is locked, and the equipment can not be lightened even if the first switch key and/or the second switch key are pressed. The micro control unit is also connected with a voltage stabilizing circuit and used for providing power supply voltage for the micro control unit and the magnetic inductor and stable reference voltage. And a sixth pin of the micro control unit is connected with the driving circuit, and the micro control unit controls the driving circuit to execute corresponding actions, such as starting/closing equipment.
The invention also provides a mobile device, wherein a circuit board for controlling the lamp body to execute actions is arranged in the lamp body, the switch button is connected with the circuit board, a magnetic inductor is arranged on the circuit board, the magnetic inductor senses that a magnet approaches and transmits a self-locking signal to a microcontroller of the circuit board, the microcontroller locks the switch button, and a user cannot start the lighting device no matter how to press the switch button. The mobile lighting equipment is also matched with a lamp body protective sleeve, a magnet corresponding to the position of the magnetic sensor is arranged in the lamp body protective sleeve, the magnet and the magnetic inductor are close to each other when the mobile lighting equipment is placed in the lamp body protective sleeve, and the magnetic sensor sends a self-locking signal to the circuit board, so that the key locking of the mobile lighting equipment can be realized. The magnetic sensor comprises a first Hall switch and a second Hall switch, the first Hall switch and the second Hall switch are respectively arranged on the circuit board and are close to the inner wall of the lamp body, the two Hall switches are respectively positioned at two ends of the diameter of the circle center of the circular circuit board, the condition of mistaken locking can be further prevented from occurring, and the magnet is arranged in the lamp body protective sleeve in an annular mode, so that the first Hall switch and the second Hall switch can rotate in the protective sleeve at any angle and can both send out a self-locking signal under the action force of the magnetic field of the magnet, and the condition of mistaken unlocking cannot occur in. The lamp body is put into the protective sleeve, and then the key is locked; the lamp body is taken out, then the unlocking is carried out, the operation is simple, and the protective sleeve also plays a role in protecting the shell of the lamp body.
Drawings
FIG. 1 is a schematic diagram of a conventional anti-false-touch circuit in the background art;
FIG. 2 is a schematic diagram of a connection circuit of a driving circuit, a power supply and a light emitting diode according to the present invention;
FIG. 3 is a circuit schematic of the micro control unit of the present invention;
FIG. 4 is a circuit diagram of the magnetic induction self-locking circuit of the present invention;
FIG. 5 is a structural sectional view of a mobile lighting device of the present invention
Fig. 6 is a partially enlarged view of a portion a of fig. 5.
The labels in the figure are: 1-a lamp body; 3-lamp body protecting sleeve; 101-a circuit board; 102-a magnetic sensor; 103-a light outlet of the lamp body; 301-a magnet; 302-lamp body protective sleeve bottom.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
In the description of the present invention, it is to be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships illustrated in the drawings, and are used merely for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," "fixed," and the like are to be construed broadly, e.g., as being fixedly connected, detachably connected, or integrated; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Referring to fig. 1 to 4, the present embodiment provides a self-locking circuit for a mobile lighting device, including a switch circuit and a driving circuit, where the driving circuit is connected to a micro control unit U4, the micro control unit U4 is connected to the switch circuit, and the micro control unit U4 is connected to a magnetic induction self-locking circuit; the control unit U4 is used for detecting the self-locking signal sent by the magnetic induction self-locking circuit and locking the switch circuit.
As shown in fig. 1, in this embodiment, the driving circuit includes a driver, and the driver is a DC-DC LED driver. The driving circuit is respectively connected with the power supply and the light-emitting diode and is used for controlling the light-emitting diode to execute corresponding actions.
As shown in fig. 2, in this embodiment, the micro control unit U4 selects a single chip microcomputer PIC12F 1822. The eighth pin GND pin of the micro control unit U4 is grounded, and the first pin VDD pin of the micro control unit U4 is connected to the reference voltage Vref. The voltage value of the reference voltage Vref may be any stable voltage suitable for the operating range of the mcu. In this embodiment, Vref is a regulated voltage output by a low dropout linear regulator (LDO) and is also a microcontroller. In this embodiment, the reference voltage Vref accessed by the micro control unit U4 is 3V.
In this embodiment, a pin GP4 of the third pin GP 3578 of the mcu U4 is connected to a first switch key SW1, and the other end of the first switch key SW1 is connected in series with a resistor R17 and then grounded; the pin of the fourth pin GP3 of the mcu U4 is connected to the second switch SW2, and the other end of the second switch SW2 is grounded. In this embodiment, the resistance value of the series resistor R17 is 225 ohms.
In the above embodiment, the micro control unit U4 is used to control the locking and unlocking of the switch circuit. When the switch circuit is in an unlocked state, the first switch key SW1 and/or the second switch key SW2 are/is pressed, the sixth pin of the micro control unit U4 is changed from a low level to a high level, the sixth pin of the micro control unit U4 is connected with the driving circuit, and the sixth pin of the micro control unit U4 is set to the high level so as to control the driving circuit to complete execution of corresponding actions of the light emitting diode, thereby realizing lighting or brightness adjustment of the light emitting diode.
As shown in fig. 2 and fig. 3, in the present embodiment, a seventh pin GP0 (referred to as LOCK pin) of the mcu U4 is connected to the magnetic latching circuit. The micro control unit detects the voltage of the LOCK pin, and LOCKs the switch circuit when the voltage of the LOCK pin meets the locking condition.
As shown in fig. 3 and 4, the magnetic induction self-locking circuit includes a first magnetic induction component and a second magnetic induction component, and the first magnetic induction component and the second magnetic induction component are connected in parallel. The first magnetic sensing assembly comprises a first magnetic sensor U5 and a first resistor R16, wherein the pin Vout of the output pin of the first magnetic sensor U5 is connected with the first end of the first resistor; the second magnetic sensing assembly comprises a second secondary magnetic sensor U6 and a second resistor R15, and an output pin Vout pin of the second magnetic sensor U6 is connected with a first end of the second resistor. The voltage input pin Vin of the first magnetic sensor U5 is connected to the voltage input pin Vin of the second sensor U6, and the connection between the voltage input pin Vin of the first magnetic sensor U5 and the voltage input pin Vin of the second sensor U6 is connected to a reference voltage Vref, where the reference voltage Vref is also a stable voltage outputted by the LDO as the supply voltage of the first and second magnetic sensors.
In this embodiment, the first sensor U5 and the second sensor U6 are hall elements with three ends, each hall element includes a Vin pin, a GND pin and a Vout pin, the Vin pins of the two elements are connected, a connection point is connected to a reference voltage, the Vout pins of the two elements are respectively connected in series with a current-limiting resistor and then connected, and a connection point is connected to a LOCK pin, the micro control unit U4 detects the voltage of the LOCK pin, and determines whether the voltage of the LOCK pin satisfies a LOCK condition according to the value of the voltage of the LOCK pin, thereby locking/unlocking the switch circuit. The GND pins of the two Hall elements are connected, and the connection is grounded (the cathode of the battery). In this embodiment, the hall element is supplied with power by Vin foot and GND foot, and when magnet is close to the element, the Vout foot of element can be in the same place through inside MOS turn-on connection with GND foot, and the magnet is kept away from the element, and the Vout foot of element can be disconnected through inside MOS with GND foot.
As shown in fig. 4, the magnetic induction self-locking circuit further includes a third resistor R14, one end of the third resistor R14 is connected to the connection between the Vin pin of the voltage input tube of the first sensor U5 and the Vin pin of the voltage input pin of the second sensor U6 and is connected to a reference voltage Vref, and the other end of the third resistor R14 is connected to the connection between the first resistor R16 and the second resistor R15 and is connected to the LOCK pin.
In this embodiment, a Vin pin of the hall switch is a voltage input pin connected with a reference voltage Vref, a GND pin of the hall switch is grounded, a Vout pin is an output pin, and the Vout pin is connected in series with a current-limiting resistor and then outputs a voltage to a LOCK pin. When no magnet is close to the Hall switch, a GND pin and a Vout pin in the Hall switch are disconnected, a circuit where the Hall switch is located is in an open circuit state, and the voltage of a LOCK pin is equal to a reference voltage Vref; when a magnet is close to one of the Hall switches, the Vout pin of the Hall switch is connected with the GND pin in a conducting mode through an internal MOS, a circuit where the Hall switch close to the magnet is located forms a loop at the moment, and the voltage of the LOCK pin is equal to the voltage of the reference voltage Vref after resistance voltage division. That is, when there is only a magnet near the hall switch U5, VLOCK = Vref/(R14+ R16) × R16; similarly, when there is only a magnet near the hall switch U6, VLOCK = Vref/(R14+ R15) × R15. None of the three conditions described above causes key locking.
When the hall switch U5 and the hall switch U6 both have magnets close to each other, VLock = Vref/(R14+ R15// R16) (R15// R16) at this time, the voltage value of VLock in the floating range of the determination value of VLock is set as the lock condition by calculating the determination value of VLock in advance from the actual reference voltage Verf of the circuit and the resistance values of the resistors R14, R15, and R16 in the formula VLock = Vref/(R14+ R15// R16) (R15// R16). In this embodiment, Vref/(R14+ R15// R16) (R15// R16) ± 0.2V) may be used as the locking condition, and when the mcu detects that the voltage of the LOCK pin falls within the voltage range of Vref/(R14+ R15// R16) ((R15// R16) ± 0.2V, the device meets the locking condition, and the mcu controls to LOCK the switch circuit. The voltage floating range adopted in this embodiment is ± 0.1V, and certainly, the floating range can be adjusted to ± 0.2V or other appropriate ranges according to the resistance, and the specific voltage range can be specifically adjusted according to the precision of the voltage dividing resistance.
In this embodiment, the resistance values of the first resistor R16 and the second resistor R15 may be any values greater than 200 ohms, and considering that the battery powered mobile device has a lower static power consumption, the better the static power consumption, so the resistor is generally more than 100K to reduce the static current. In this embodiment, the resistance values of the first resistor R16 and the second resistor R15 are both 470 kilo-ohms.
In this embodiment, the resistance of the third resistor R14 may be any value greater than 200 ohms to reduce the quiescent current. In this embodiment, the resistance of the third resistor R14 is 1 megaohm.
In this embodiment, the first magnetic sensor U5 and the second magnetic sensor U6 are both hall switches, and the model of the hall switch is a 3212. In this embodiment, the hall switch may also be any other nonpolar hall switch.
In this embodiment, when Vref is 3V, LOCK pin voltage may be 0.57V as a LOCK condition, that is, when the micro control unit detects that LOCK pin voltage is 0.57V, the switch circuit is locked. When no magnet is arranged near the first magnetic sensor and the second magnetic sensor, the voltage of the LOCK pin is 3V, the micro control unit controls the mobile lighting device to be in an unlocked state, and a user can light a flashlight by pressing a first key SW1 and/or a first key SW 2; when a magnet is close to one of the first magnetic sensor and the second magnetic sensor, the output voltage of the magnetic induction self-locking circuit is 0.96V, the micro control unit detects that the voltage of the LOCK pin is 0.96V, and the mobile lighting equipment is still in an unlocked state; when the magnets are close to the first magnetic sensor and the second magnetic sensor at the same time, the micro-control unit detects that the voltage of the LOCK pin is 0.57V, the micro-control unit LOCKs the switch circuit, and the mobile lighting device cannot be lightened by arbitrarily pressing the SW1 and/or the SW 2. In this embodiment, the micro-aperture unit may further LOCK the switch circuit when detecting that the voltage of the LOCK pin is within a voltage range of 0.57V ± 0.1V. Whether the voltage range of the locking switch circuit is influenced by the resistance accuracy of the first resistor R16 and the second resistor R15 is judged, and if the accuracy of the voltage dividing resistor is low, the locking voltage range can be set to be 0.57V +/-0.2V.
Of course, the voltages detected by the LOCK pins are 3V, 0.57V and 0.96V, which are only one example, and the locking condition (locking voltage) may be changed according to the difference between the reference voltage and the resistances of the resistors (the first resistor R16, the second resistor R15 and the third resistor R14) connected to the device. In this embodiment, the reference voltage may be other stable voltages as long as the reference voltage is within the range of the supply voltage of the hall switch.
In this embodiment, by setting the two magnetic sensors U5 and U6, the mobile lighting device can lock the key in a certain specific locking environment (the two magnetic sensors U5 and U6 are both provided with magnets), so that the mobile lighting device can be unlocked immediately by taking out the mobile lighting device from the specific magnet environment without learning an unlocking action. When the keys are locked, even if any one key or two keys are touched by mistake, the equipment cannot be lightened, and the false touch rate is greatly reduced.
As shown in fig. 2, in this embodiment, a voltage regulator circuit is further connected to the third pin of the micro control unit U4, and a fourth resistor R13 is connected in series between the voltage regulator circuit and the third pin of the micro control unit U4. The voltage stabilizing circuit is used for providing power supply voltage for the micro control unit and the magnetic inductor and stable reference voltage. In this embodiment, the resistance of the fourth resistor R13 is 470 ohms. In some embodiments, the fourth resistor R13 may be any other value greater than 200 ohms.
As shown in fig. 2, in this embodiment, the voltage stabilizing circuit includes a voltage regulator U3, a capacitor C13 and a capacitor C14 are connected to a second pin of the voltage regulator U3, and a 3V voltage is output at a connection between the second pin of the voltage regulator U3 and the capacitor C14. The other end of the capacitor C14 is grounded, and the other end of the capacitor C13 is grounded. In this embodiment, the size of the capacitor C13 is 1uF, and the size of the capacitor C14 is 0.1 uF.
As shown in fig. 2, in this embodiment, a third pin of the voltage regulator U3 is connected to a capacitor C12, a connection point of the third pin of the U3 and the capacitor C12 is connected to an anode of the battery, the other end of the capacitor C12 is grounded, and the size of the capacitor C12 is 1 uF. In this embodiment, the first pin of the voltage regulator U3 is grounded. In this embodiment, the third pin of the voltage regulator U3 is further connected to the positive electrode inlet of the battery. In this embodiment, BL8530 is selected as the voltage regulator U3. In some embodiments, the regulator U3 may also be any other low dropout linear regulator (LDO) with an output range in the MCU and hall switching ranges. The selection of a specific voltage stabilizer depends on the condition of a power supply battery, if one lithium battery is adopted, an LDO exceeding 3V is not suitable, and if two lithium batteries are connected in series, an LDO within 5V can be adopted.
As shown in fig. 4, in the present embodiment, a mobile lighting device is provided, which includes a lamp body 1, a switch button (not shown) located on the lamp body, and a circuit board 101 disposed inside the lamp body, where the switch button is electrically connected to the circuit board 101, and the circuit board 101 is configured to lock the switch button and control the lamp body 1 to perform corresponding actions; the circuit board 101 and the self-locking circuit adopting any one of the above schemes are connected with a magnetic sensor 102.
As shown in fig. 4, in the present embodiment, the circuit board 101 is disposed on a cross section inside the lamp body. In some embodiments, the mobile lighting device may be a flashlight, which is often cylindrical, and the circuit board 101 is circular in the cross-section of the flashlight. In this embodiment, the magnetic sensor 102 includes a first hall switch and a second hall switch, and the first hall switch and the second hall switch are respectively attached to the circuit board near the inner wall of the lamp body. In some embodiments, two hall switches may also be nearby. In this embodiment, the first hall switch and the second hall switch are symmetrically arranged on the circuit board 101 along the central axis of the lamp body, the first hall switch and the second hall switch are respectively located at two ends of the diameter of the circuit board, the connecting line of the first hall switch and the second hall switch passes through the center of a circle, the included angle between the two elements is 180 degrees, the two hall switches are located at two symmetrical positions, the distance between the two hall switches is the farthest, the two hall switches can respectively sense the magnetic field changes brought in different directions through the position design, in the using process, even if other equipment is close to the flashlight, only one of the hall switches can be subjected to voltage change, and the other one of the two hall switches is not influenced, so that the condition that the wrong key locking occurs due to the fact that the equipment with the magnet is close to the flashlight in the using environment is avoided. In this embodiment, the switch button (not shown) is disposed on a side surface of the lamp body. In this embodiment, the mobile lighting device is provided with two switch keys, which are respectively arranged on the side surface and the bottom of the device. In some embodiments, the two switch keys may also be disposed at other locations on the device.
In this embodiment, the mobile lighting device further includes a lamp body protection sleeve 3, and the magnet 301 corresponding to the position of the magnetic sensor 102 is disposed in the lamp body protection sleeve 3. When the lamp body 1 is placed in the lamp body protecting jacket 3, the magnetic sensor 102 in the lamp body 1 is close to the magnet 301 in the lamp body protecting jacket 3, the magnetic sensor 102 sends a locking signal under the action of the magnetic field of the magnet 301, the circuit board 101 locks the switch button, and at this time, no matter the external contact or any button of the flashlight is pressed, the flashlight cannot be lighted. In addition, the mobile lighting equipment provided by the invention can be locked only by putting the lighting equipment into a special protective sleeve, and the flashlight can be unlocked for use by taking out the flashlight from the protective sleeve without learning an unlocking method and steps additionally, and the protective sleeve can also play a certain role in protecting the shell of the lamp body.
In this embodiment, the magnet 301 is annularly disposed in the lamp body protecting jacket 3, the thickness of the magnet depends on the position of the magnet, the thickness of the magnet is large, the fault tolerance is strong, and the position of the magnet can be sensed by a corresponding magnetic sensor on the device. In this embodiment, the distance from the magnet 301 to the bottom 302 of the lamp body protective sleeve is equal to the distance from the magnetic sensor 102 to the light outlet 103 of the lamp body. The light outlet direction of the lamp body is placed towards the bottom of the protective sleeve, the height of the magnet 301 is the same as that of the magnetic inductor 102, the magnet 301 is arranged in an annular shape, the lamp body 1 rotates in the protective sleeve 3 at any angle and is under the action of the magnetic field of the magnet 102, and the switch key is locked all the time. Will lamp body 1 is followed it can the unblock to take out in lamp body protective sheath 3, and only one of them magnet of first hall switch and second hall switch after taking out is close to, can not arouse the flashlight to get into the latch state, has realized that the lamp body is the lock state only in the protective sheath, and other circumstances all are the unlock state, even there is the magnet of other equipment near to be close to and can not arouse the latch yet, has reduced the probability that the wrong latch condition appears.
In this embodiment, the magnetization of the magnet 302 is mirror image magnetization: and the circular arc surface of the annular magnet is magnetized, the magnetism of the inner circular arc surface and the outer circular arc surface of the magnetized annular magnet is strong, and the magnetism of the upper circular surface and the lower circular surface is weak. The magnet is a permanent magnet. In some embodiments, the magnet may be a plurality of magnets, and the magnets may be arranged around a circle near the position designated by the protective sleeve.
The above-described embodiments are only one of the preferred embodiments of the present invention, and general changes and substitutions by those skilled in the art within the technical scope of the present invention are included in the protection scope of the present invention.
Claims (10)
1. The self-locking circuit for the mobile lighting equipment is characterized by comprising a switch circuit and a drive circuit, wherein the drive circuit is connected with a micro control unit, the micro control unit is connected with the switch circuit and connected with a magnetic induction self-locking circuit, and the micro control unit is used for detecting a self-locking signal sent by the magnetic induction self-locking circuit and locking the switch circuit.
2. The self-locking circuit for mobile lighting equipment according to claim 1, wherein a seventh pin of the micro control unit is connected with the magnetic induction self-locking circuit, the micro control unit detects a voltage of the seventh pin, and the micro control unit locks the switch circuit when the voltage of the seventh pin meets a locking condition.
3. The self-locking circuit for a mobile lighting device of claim 2, wherein the magnetically inductive self-locking circuit comprises a first magnetically inductive component and a second magnetically inductive component, the first magnetically inductive component and the second magnetically inductive component being connected in parallel.
4. The self-locking circuit for a mobile lighting device according to claim 3, wherein the first magnetic sensor assembly comprises a first magnetic sensor and a first resistor, and an output pin of the first magnetic sensor is connected to a first end of the first resistor; the second magnetic sensing assembly comprises a second magnetic sensor and a second resistor, and an output pin of the second magnetic sensor is connected with a first end of the second resistor; the voltage input pin of the first magnetic sensor is connected with the voltage input pin of the second sensor, a reference voltage is connected to the connection position of the voltage input pin of the first magnetic sensor and the voltage input pin of the second sensor, the second end of the first resistor is connected with the second end of the second resistor, and the connection position of the first resistor and the second resistor is connected to the seventh pin of the micro control unit.
5. The self-locking circuit for mobile lighting devices according to claim 4, wherein said magnetically-inductive self-locking circuit further comprises a third resistor, one end of said third resistor is connected to the connection point of the voltage input pin of said first sensor and the voltage input pin of said second sensor and is connected to said reference voltage, and the other end of said third resistor is connected to the connection point of said first resistor and said second resistor and is connected to a seventh pin of said micro-control unit.
6. The self-locking circuit for a mobile lighting device according to claim 1, wherein the switching circuit comprises a first switch key and a second switch key, the first switch key is connected to the third pin of the micro control unit, and the second switch key is connected to the fourth pin of the micro control unit.
7. The self-locking circuit for the mobile lighting device according to claim 1, wherein a sixth pin of the micro control unit is connected to the driving circuit, and a third pin of the micro control unit is further connected to a voltage stabilizing circuit.
8. A mobile lighting device, comprising a lamp body, a switch button located on the lamp body, and a circuit board disposed inside the lamp body, wherein the switch button is electrically connected to the circuit board, the circuit board adopts the self-locking circuit as claimed in any one of claims 1 to 7, and the circuit board is connected with a magnetic sensor.
9. The mobile lighting device as claimed in claim 8, comprising a lamp body protection cover, wherein a magnet is disposed in the lamp body protection cover and corresponds to the position of the magnetic sensor, the lamp body is placed in the lamp body protection cover, the magnetic sensor reacts under the action of the magnetic field of the magnet, and the circuit board locks the switch button.
10. The mobile lighting device as claimed in claim 9, wherein the circuit board is disposed on the cross section of the lamp body in a circular shape, the magnetic sensor includes a first hall switch and a second hall switch, the first hall switch and the second hall switch are respectively located at two ends of the diameter of the circuit board, the magnet is disposed in the lamp body protection cover in a ring shape, and a distance from the magnet to the bottom of the lamp body protection cover is equal to a distance from the circuit board to the light outlet of the lamp body.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010501778.6A CN111734967B (en) | 2020-06-04 | 2020-06-04 | Self-locking circuit for mobile lighting equipment and mobile lighting equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010501778.6A CN111734967B (en) | 2020-06-04 | 2020-06-04 | Self-locking circuit for mobile lighting equipment and mobile lighting equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111734967A true CN111734967A (en) | 2020-10-02 |
CN111734967B CN111734967B (en) | 2022-11-11 |
Family
ID=72649974
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010501778.6A Active CN111734967B (en) | 2020-06-04 | 2020-06-04 | Self-locking circuit for mobile lighting equipment and mobile lighting equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111734967B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150102804A1 (en) * | 2013-10-14 | 2015-04-16 | Infineon Techologies Ag | System for Magnetic Self Test |
CN105674114A (en) * | 2016-01-19 | 2016-06-15 | 晨辉光宝科技有限公司 | LED lamp |
CN107314782A (en) * | 2017-05-18 | 2017-11-03 | 重庆神缘智能科技有限公司 | A kind of Hall counting device |
CN206761670U (en) * | 2016-12-29 | 2017-12-19 | 广州市千牧电子有限公司 | A kind of cold light source device of medical endoscope based on Hall element |
CN109270876A (en) * | 2018-11-20 | 2019-01-25 | 漳州高新区远见产业技术研究有限公司 | A kind of control device and electronic equipment |
CN209057193U (en) * | 2019-03-11 | 2019-07-02 | 西安洋流潜水设备科技有限公司 | A kind of key circuit for underwater equipment controller |
CN209180892U (en) * | 2019-01-15 | 2019-07-30 | 深圳市傲雷电商科技股份有限公司 | It is a kind of prevent accidentally by switch block and mobile lighting equipment |
-
2020
- 2020-06-04 CN CN202010501778.6A patent/CN111734967B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150102804A1 (en) * | 2013-10-14 | 2015-04-16 | Infineon Techologies Ag | System for Magnetic Self Test |
CN105674114A (en) * | 2016-01-19 | 2016-06-15 | 晨辉光宝科技有限公司 | LED lamp |
CN206761670U (en) * | 2016-12-29 | 2017-12-19 | 广州市千牧电子有限公司 | A kind of cold light source device of medical endoscope based on Hall element |
CN107314782A (en) * | 2017-05-18 | 2017-11-03 | 重庆神缘智能科技有限公司 | A kind of Hall counting device |
CN109270876A (en) * | 2018-11-20 | 2019-01-25 | 漳州高新区远见产业技术研究有限公司 | A kind of control device and electronic equipment |
CN209180892U (en) * | 2019-01-15 | 2019-07-30 | 深圳市傲雷电商科技股份有限公司 | It is a kind of prevent accidentally by switch block and mobile lighting equipment |
CN209057193U (en) * | 2019-03-11 | 2019-07-02 | 西安洋流潜水设备科技有限公司 | A kind of key circuit for underwater equipment controller |
Also Published As
Publication number | Publication date |
---|---|
CN111734967B (en) | 2022-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10215390B2 (en) | Portable lighting devices | |
US9416950B2 (en) | Portable lighting devices | |
WO2010083047A1 (en) | Portable lighting devices | |
CN111734967B (en) | Self-locking circuit for mobile lighting equipment and mobile lighting equipment | |
JP2023078438A (en) | Electronic pen cartridge and electronic pen | |
US20060220897A1 (en) | Notebook with power indication | |
US20210126479A1 (en) | Indicating charge status | |
CN212936243U (en) | Voice-controlled mobile lighting equipment | |
US6771255B2 (en) | Touch pen with illuminating unit for computerized apparatus | |
CN215728384U (en) | Touch type intelligent digital multimeter | |
CN109421881B (en) | Embedded magnetic induction pedal device | |
CN216203015U (en) | Magnetic type lamp belt controller | |
CN215691351U (en) | Eye and hand coordination training equipment and system | |
CN212649742U (en) | Mobile lighting equipment with holding induction indication function | |
CN214796150U (en) | Household power failure alarm system based on single chip microcomputer | |
CN208570414U (en) | A kind of one-touch tail portion key device and mobile lighting equipment of one-hand operation | |
CN211528851U (en) | Anti-sleepy glasses | |
CN214311677U (en) | Novel computer control equipment | |
CN216435787U (en) | Anti-false touch magnetic switch device | |
CN221648399U (en) | Panel self-defined induction luminous multi-control switch | |
CN212645771U (en) | Multifunctional mobile lighting equipment | |
CN221711899U (en) | ED monitoring device | |
CN219960157U (en) | Charging chip and charging equipment | |
CN210319429U (en) | Induction alarm circuit | |
CN218211672U (en) | Temperature detection circuit applied to air conditioner remote controller |
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 |