CN208922095U - A kind of control device and electronic equipment - Google Patents
A kind of control device and electronic equipment Download PDFInfo
- Publication number
- CN208922095U CN208922095U CN201821907805.4U CN201821907805U CN208922095U CN 208922095 U CN208922095 U CN 208922095U CN 201821907805 U CN201821907805 U CN 201821907805U CN 208922095 U CN208922095 U CN 208922095U
- Authority
- CN
- China
- Prior art keywords
- hall sensor
- switch
- control circuit
- mcu
- control device
- 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
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
A kind of control device and electronic equipment, control device includes magnet, Hall sensor, control circuit, power switch and MCU, the Hall sensor, which is used to generate magnet induction, makes the output end of Hall sensor export high level or low level, the output end of the Hall sensor is electrically connected with the first input end of control circuit, the power switch is electrically connected with the second input terminal of control circuit, and the output end of the control circuit is electrically connected with MCU;Control circuit is controlled according to the level of the output of Hall sensor and is turned on or off between power switch and MCU.Due to by effect of the magnet to Hall sensor, so that Hall sensor exports high level, and then the separated of power switch and MCU is controlled by control circuit, substantially increase the stability that system is run, the safety of equipment and service life.
Description
Technical field
This application involves weak mains control technology fields, and in particular to a kind of control device and electronic equipment.
Background technique
The equipment such as existing mobile phone, plate, camera when replacing battery, will cause equipment and power off suddenly, to the peace of equipment
Full property and the stability of system operation affect.
Summary of the invention
The application provides a kind of control device and electronic equipment, to improve the stabilization of safety and the system operation of equipment
Property.
According in a first aspect, providing a kind of control device in a kind of embodiment, comprising: magnet, Hall sensor, control electricity
Road, power switch and MCU, the Hall sensor, which is used to generate magnet induction, makes the output end of Hall sensor export height
Level or low level, the output end of the Hall sensor are electrically connected with the first input end of control circuit, the power switch
It is electrically connected with the second input terminal of control circuit, the output end of the control circuit is electrically connected with MCU;Control circuit is according to Hall
It is turned on or off between the level control power switch and MCU of the output of sensor.
Preferably, the control circuit includes first switch tube, second switch and periphery resistance, the first switch tube
Drain electrode connect with power switch, the source electrode of first switch tube is connect with MCU, the grid of first switch tube and second switch
Source electrode connection, is connected with 3rd resistor between the grid and source electrode of first switch tube;The grid connection one first of second switch
Resistance is to the output end of Hall sensor, and one second resistance of grid connection of second switch is extremely;The drain electrode of second switch
Ground connection.
Preferably, the first switch tube and second switch are PMOS tube.
Preferably, the model CJ3139K of the PMOS tube.
According to second aspect, a kind of electronic equipment, including ontology and detachable battery rear cover are provided in a kind of embodiment, also
Including control device as described above, the magnet covers after being set to detachable battery, and the Hall sensor is set on ontology.
Preferably, the Hall sensor is set in the battery compartment of ontology.
According to the control device and electronic equipment of above-described embodiment, due to making by effect of the magnet to Hall sensor
It obtains Hall sensor and exports different level, and then controlled by control circuit and be turned on or off between power switch and MCU.By
Covered after magnet is set to detachable battery, when covering battery cover, magnet on battery cover close to Hall sensor, by
In the characteristic of Hall element, Hall sensor can export low level, be connected between control circuit control power switch and MCU, electricity
Source switch can operate MCU.When removing battery cover, magnet can export height far from Hall sensor, Hall sensor
Level, control circuit control power switch is separated with MCU's, and power switch can not operate MCU at this time, in MCU
System is constantly in dormant state, when subsequent replacement battery, will not be in electronic equipment and equipment due to the mutation of power supply
System has an impact, and substantially increases the stability of system operation, the safety of equipment and service life.
Detailed description of the invention
Fig. 1 is an embodiment control device functional block diagram;
Fig. 2 is an embodiment control device circuit diagram.
Specific embodiment
Below by specific embodiment combination attached drawing, invention is further described in detail.Wherein different embodiments
Middle similar component uses associated similar element numbers.In the following embodiments, many datail descriptions be in order to
The application is better understood.However, those skilled in the art can recognize without lifting an eyebrow, part of feature
It is dispensed, or can be substituted by other elements, material, method in varied situations.In some cases, this Shen
Please it is relevant it is some operation there is no in the description show or describe, this is the core in order to avoid the application by mistake
More descriptions are flooded, and to those skilled in the art, these relevant operations, which are described in detail, not to be necessary, they
Relevant operation can be completely understood according to the general technology knowledge of description and this field in specification.
It is herein component institute serialization number itself, such as " first ", " second " etc., is only used for distinguishing described object,
Without any sequence or art-recognized meanings.And " connection ", " connection " described in the application, unless otherwise instructed, include directly and
It is indirectly connected with (connection).
The application control device is made of 5 modules comprising magnet, Hall sensor, control circuit, power switch with
And MCU, wherein magnet is arranged in battery cover, and magnet faces the position of Hall sensor installation, by covering and removing battery
The movement of lid, so that magnet is close or far from Hall sensor, to change the level state of Hall sensor, then passes through control
Circuit processed, so that in the state that is switched on or off between power switch and MCU, to effectively improve system and device
Stability and safety.
Referring to FIG. 1, control device includes: magnet, Hall sensor, control circuit, power switch and MCU, Hall
Sensor, which is used to generate magnet induction, makes the output end of Hall sensor export high level or low level, Hall sensor it is defeated
Outlet is electrically connected with the first input end of control circuit, and power switch is electrically connected with the second input terminal of control circuit, the control
The output end of circuit processed is electrically connected with MCU;Control circuit controls power switch and MCU according to the level of the output of Hall sensor
Between be turned on or off.
Referring to FIG. 2, control circuit includes first switch tube U1, second switch U2 and periphery resistance, Hall sensor
Output end connect with the grid of second switch U2 by first resistor R1, between the grid and ground of second switch U2
It is also connected with a second resistance R2, the grounded drain of second switch U2.The drain electrode of first switch tube U1 is connect with power switch,
The source electrode of first switch tube U1 is connect with MCU, and the grid of first switch tube U1 is connect with the source electrode of second switch U2, first
A 3rd resistor R3 is also connected between the grid and source electrode of switching tube U1.In the present embodiment, first switch tube U1 and second
Switching tube U2 is all made of PMOS tube, it is preferred to use the PMOS tube of model CJ3139K.In other embodiments, switching tube may be used also
To use NMOS tube or triode, realization of the invention is not influenced.
Present invention also provides a kind of electronic equipment, including ontology and detachable battery rear cover, further include as described above
Control device, magnet cover after being set to detachable battery, and Hall sensor is set on ontology.
In a preferred embodiment, Hall sensor is set in the battery compartment of ontology.
The working principle of the application is illustrated below:
Hall sensor default is high level, and when covering battery cover, the magnet on battery cover faces Hall biography
Sensor, due to the characteristic of Hall element, Hall sensor can export low level, so that the second switch U2 in figure is in cut-off
State.And for U1, since grid has the pull-up resistor (3rd resistor R3) for being pulled upward to source electrode, so that grid is height at this time
Level, U1 is in the conductive state, and power switch can directly control the states such as suspend mode, wake-up, booting, the shutdown of MCU.
When removing battery cover, since the magnet on battery cover is removed, Hall sensor can export high level, and second opens
The state that pipe U2 is on is closed, to make the grounded-grid low level of first switch tube U1, first switch tube U1, which is in, to be cut
Only state, power switch are in an off state with MCU, and the key on power switch can not be changed the state of MCU at this time,
So that system is constantly in stable state after removing battery cover, power supply mutation is brought when not will receive subsequent extraction battery
Influence, substantially increase the stability and safety of system.
Use above specific case is illustrated the present invention, is merely used to help understand the present invention, not to limit
The system present invention.For those skilled in the art, according to the thought of the present invention, can also make several simple
It deduces, deform or replaces.
Claims (6)
1. a kind of control device, characterized by comprising: magnet, Hall sensor, control circuit, power switch and MCU, institute
State Hall sensor makes the output end of Hall sensor export high level or low level, the Hall for generating induction to magnet
The output end of sensor is electrically connected with the first input end of control circuit, the second input terminal of the power switch and control circuit
Electrical connection, the output end of the control circuit are electrically connected with MCU;Control circuit is controlled according to the level of the output of Hall sensor
It is turned on or off between power switch and MCU.
2. control device as described in claim 1, which is characterized in that the control circuit includes first switch tube, second opens
Pipe and periphery resistance are closed, the drain electrode of the first switch tube is connect with power switch, and the source electrode of first switch tube is connect with MCU,
The grid of first switch tube and the source electrode of second switch connect, and third electricity is connected between the grid and source electrode of first switch tube
Resistance;The grid of second switch connects the output end of a first resistor to Hall sensor, the grid connection one of second switch
Second resistance is extremely;The grounded drain of second switch.
3. control device as claimed in claim 2, which is characterized in that the first switch tube and second switch are PMOS
Pipe.
4. control device as claimed in claim 3, which is characterized in that the model CJ3139K of the PMOS tube.
5. a kind of electronic equipment, including ontology and detachable battery rear cover, which is characterized in that further include that claim 1-4 such as appoints
Control device described in one, the magnet cover after being set to detachable battery, and the Hall sensor is set on ontology.
6. electronic equipment as claimed in claim 5, which is characterized in that the Hall sensor is set in the battery compartment of ontology.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821907805.4U CN208922095U (en) | 2018-11-20 | 2018-11-20 | A kind of control device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821907805.4U CN208922095U (en) | 2018-11-20 | 2018-11-20 | A kind of control device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN208922095U true CN208922095U (en) | 2019-05-31 |
Family
ID=66712213
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201821907805.4U Active CN208922095U (en) | 2018-11-20 | 2018-11-20 | A kind of control device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN208922095U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109270876A (en) * | 2018-11-20 | 2019-01-25 | 漳州高新区远见产业技术研究有限公司 | A kind of control device and electronic equipment |
-
2018
- 2018-11-20 CN CN201821907805.4U patent/CN208922095U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109270876A (en) * | 2018-11-20 | 2019-01-25 | 漳州高新区远见产业技术研究有限公司 | A kind of control device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201789480U (en) | Circuit reusing power on/off key for realizing reset function and portable mobile terminal | |
CN104374986B (en) | The electronic controller of breaker | |
CN204180043U (en) | Button Anti-shaking circuit and electronic installation | |
CN208922095U (en) | A kind of control device and electronic equipment | |
CN104753034B (en) | Electronic device and its charge protector | |
CN104242252B (en) | Battery over-discharge protection circuit | |
CN106210198B (en) | A kind of intelligence card protection circuit, mobile terminal and smart card guard method | |
CN109270876A (en) | A kind of control device and electronic equipment | |
CN203522501U (en) | Dc power on-off control circuit and DC power device | |
CN105449645B (en) | A kind of output protection circuit of signal generator | |
CN205945008U (en) | Circuit overcurrent protect device | |
CN105739662A (en) | Power control circuit | |
CN106849921A (en) | A kind of hardware reset circuit and electronic product | |
CN207459702U (en) | A kind of earth leakage protective device and a kind of charging equipment | |
CN206322156U (en) | A kind of device for preventing motor operation from disturbing data acquisition Serial Port Transmission | |
CN104980134B (en) | A kind of reset circuit and electronic equipment with the circuit | |
CN211321011U (en) | Relay control circuit and electronic equipment | |
CN106557105B (en) | Voltage regulator circuit | |
CN107546971A (en) | A kind of power control circuit of intelligent terminal and the intelligent terminal with the circuit | |
CN210923818U (en) | Fault current detection device applied to intelligent switch | |
CN209132717U (en) | A kind of intelligence system frequently powers off boot-strap circuit optimization device | |
CN108183608B (en) | Boosting circuit | |
CN207835053U (en) | Attachment interface short-circuit preventing device, terminal and system | |
US8988234B2 (en) | Alarm system | |
CN206023280U (en) | Over-discharge protection circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |