CN103475757B - The on-and-off control system of knob switch - Google Patents
The on-and-off control system of knob switch Download PDFInfo
- Publication number
- CN103475757B CN103475757B CN201310394189.2A CN201310394189A CN103475757B CN 103475757 B CN103475757 B CN 103475757B CN 201310394189 A CN201310394189 A CN 201310394189A CN 103475757 B CN103475757 B CN 103475757B
- Authority
- CN
- China
- Prior art keywords
- level
- knob switch
- switching
- mobile phone
- shutting down
- 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.)
- Expired - Fee Related
Links
Landscapes
- Telephone Function (AREA)
Abstract
An on-and-off control system for knob switch, be applied on the mobile phone with intercom function, mobile phone comprises battery and processor, and processor comprises switching on and shutting down control module, and the on-and-off control system of knob switch comprises: knob switch; Logical circuit, comprises some inputs and output, and some inputs connect one end of knob switch respectively, and the processor of mobile phone; Switching circuit, between the processor being connected to output and mobile phone; Wherein, at battery under charged or uncharged two states, processor exports the first input end of a different first via level to input respectively, under knob switch disconnection or closed two states, one second input of input inputs one second different road level respectively, logical circuit is according to the combination of first via level and the second road level, export one the 3rd road level to switching circuit, whether switching circuit obtains a switching on and shutting down level according to the 3rd road level control switch machine control module.
Description
Technical field
The present invention relates to a kind of switching on and shutting down control structure, particularly a kind of on-and-off control system of knob switch.
Background technology
The on-and-off control system of existing intercom adopts knob switch usually, realizes switching on and shutting down by direct conducting, cut-out circuit power; And existing mobile phone normally adopts the mode of long button to realize switching on and shutting down: the module having a control switch machine on the processor of mobile phone, when length presses key, this module can obtain a switching on and shutting down level, start can be performed by control processor in the power-offstate, shutdown can be performed by control processor under open state, like this, one can prevent misoperation, and two can prevent cell phone system from collapsing and storage errors.
Because intercom and mobile phone respectively have its advantage, therefore, there is the mobile phone with intercom function in the market.Such as: a utility model patent of China, application number is 201020137517.2, disclose " a kind of mobile phone with intercom function ", simply intercom and mobile phone are stitched together, both remain independently part, therefore, the switching on and shutting down of intercom and mobile phone are also two assemblies separately.Intercom and mobile phone to be fused together, its problem is: the switching on and shutting down adopting the switch of knob simultaneously to control intercom and mobile phone can cause cell phone system to collapse and storage errors, and adopt the power on-off modes of long button not meet the practicality custom of intercom user, it is comparatively not convenient to operate.
Therefore, the present invention aims to provide a kind of on-and-off control system of knob switch, to overcome the problems referred to above.
Summary of the invention
The present invention is directed to prior art above shortcomings, provide a kind of on-and-off control system of knob switch, overcome the defect that existing mobile phone cannot use knob switch, the switching on and shutting down of mobile phone and intercom function are realized by a knob switch.
The present invention is achieved through the following technical solutions:
An on-and-off control system for knob switch, be applied on the mobile phone with intercom function, mobile phone comprises battery and processor, and processor comprises switching on and shutting down control module, and the on-and-off control system of knob switch comprises:
Knob switch;
Logical circuit, comprises some inputs and output, and some inputs connect one end of knob switch respectively, and the processor of mobile phone;
Switching circuit, between the processor being connected to output and mobile phone;
Wherein, at battery under charged or uncharged two states, processor exports the first input end of a different first via level to input respectively, under knob switch disconnection or closed two states, one second input of input inputs one second different road level respectively, logical circuit is according to the combination of first via level and the second road level, export one the 3rd road level to switching circuit, whether switching circuit obtains a switching on and shutting down level according to the 3rd road level control switch machine control module.
Preferably, logical circuit is a NOR gate circuit.
Preferably, switching circuit is a mos pipe switching circuit.
Preferably, mos pipe switching circuit is a n raceway groove mos pipe switching circuit, and the grid of n raceway groove mos pipe switching circuit connects output, the source ground of n raceway groove mos pipe switching circuit, the drain electrode connecting valve machine control module of n raceway groove mos pipe switching circuit.
Preferably, under the state that the 3rd road level is high level, the source electrode of n raceway groove mos pipe and drain electrode conducting, the switching on and shutting down level that switching on and shutting down control module obtains is low level; Under the 3rd road level is low level state, the source electrode of n raceway groove mos pipe and the not conducting that drains, the drain electrode of n raceway groove mos pipe switching circuit is high level.
Preferably, knob switch charged at battery closes, and mobile phone be in shutdown state under, switching on and shutting down control module continues to obtain switching on and shutting down level, to control mobile phone power-on; After mobile phone power-on completes, it is contrary level that processor changes first via level, and switching on and shutting down control module continues to obtain the level contrary with switching on and shutting down level, enters stable state to make mobile phone; After mobile phone enters stable state, button formula switch disconnects, then switching on and shutting down control module continues to obtain switching on and shutting down level, to control mobile phone shutdown.
Preferably, battery is charged and under the state of mobile phone shutdown, first via level is high level; Under the uncharged state of battery, first via level is low level.
Preferably, the other end ground connection of knob switch, under knob switch closure state, the second road level is low level; Under the state that knob switch disconnects, the second road level is high level.
Preferably, processor is connected by universal input/output interface with first input end.
Accompanying drawing explanation
Shown in Fig. 1 is the structural representation of one embodiment of the invention.
Embodiment
Below with reference to accompanying drawing of the present invention; clear, complete description and discussion are carried out to the technical scheme in the embodiment of the present invention; obviously; as described herein is only a part of example of the present invention; it is not whole examples; based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belongs to protection scope of the present invention.
For the ease of the understanding to the embodiment of the present invention, be further explained for specific embodiment below in conjunction with accompanying drawing, and each embodiment does not form the restriction to the embodiment of the present invention.
An on-and-off control system for knob switch, comprising: knob switch 1; Logical circuit 2, comprises some inputs and output, and some inputs connect one end of knob switch respectively, and the processor 4 of mobile phone; Switching circuit 3, between the processor 4 being connected to output and mobile phone; Wherein, at battery under charged or uncharged two states, processor 4 exports the first input end of a different first via level to input respectively, to disconnect or under closed two states at knob switch 1, one second input of input inputs one second different road level respectively, logical circuit 2 is according to the combination of first via level and the second road level, export one the 3rd road level to switching circuit 3, whether switching circuit 3 obtains a switching on and shutting down level according to the 3rd road level control switch machine control module.Processor 4 is connected by universal input/output interface (GPIO, GeneralPurposeInputOutput) with first input end.
In the present embodiment: logical circuit adopts a NOR gate circuit, and the output of NOR gate circuit from the relation of input is: when the digital level of two input ports is different, XOR gate exports high level; When the digital level of two input ports is identical, XOR gate output low level.
In addition, switching circuit is a n raceway groove mos pipe switching circuit, and the grid of n raceway groove mos pipe switching circuit connects output, the source ground of n raceway groove mos pipe switching circuit, the drain electrode connecting valve machine control module of n raceway groove mos pipe switching circuit.Under the state that the 3rd road level is high level, the source electrode of n raceway groove mos pipe and drain electrode conducting, the switching on and shutting down level that switching on and shutting down control module obtains is low level; Under the 3rd road level is low level state, the source electrode of n raceway groove mos pipe and the not conducting that drains, the drain electrode of n raceway groove mos pipe switching circuit is high level.
The start process of the present embodiment: charged at battery, and mobile phone be in shutdown state under, closed knob switch, i.e. the second input end grounding.Now, first via level is high level, and the second road level is low level, and both become the 3rd road level of a high level after XOR gate.The grid of the 3rd road level input n raceway groove mos pipe of high level, make source electrode and the drain electrode conducting of n raceway groove mos pipe, thus the switching on and shutting down control module connecting the drain electrode of n raceway groove mos pipe continues low level (the switching on and shutting down level of the source electrode obtaining n raceway groove mos pipe, the present invention might not low level be limited at this, also can be high level), thus control mobile phone power-on.And after mobile phone power-on completes, processor can change first via level by universal input/output interface, make it become low level, now, two inputs of XOR gate are all low level, and the 3rd road level therefore exported also is low level.Low level 3rd road level cannot make source electrode and the drain electrode conducting of n raceway groove mos pipe, and therefore the drain electrode of n raceway groove mos pipe becomes high level, and mobile phone enters stable state.
The shutdown process of the present embodiment: mobile phone at steady state, release knob formula switch, first via level is now still low level, second road level then becomes high level, therefore, after XOR gate, export the 3rd road level of high level, the 3rd road level of high level makes source electrode and the drain electrode conducting of n raceway groove mos pipe again, switching on and shutting down control module continues the low level (switching on and shutting down level) of the source electrode obtaining n raceway groove mos pipe, thus controls mobile phone shutdown.
What deserves to be explained is, according to the on-and-off control system of a kind of knob switch that the present embodiment provides, logical circuit 2 can use other logical circuits except XOR gate or logical circuit (to comprise NAND gate, not gate, or door etc.) combination, meanwhile, mos pipe also can use the mos of p raceway groove to manage according to the former selection.Further, the setting of all low and high levels in the on-and-off control system of knob switch of the present invention is also without the need to defining according to a kind of situation described in above-described embodiment, and technical staff can be arranged according to actual conditions, and the present invention does not repeat at this.
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited to therewith, be anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.
Claims (8)
1. the on-and-off control system of a knob switch, be applied on the mobile phone with intercom function, described mobile phone comprises battery and processor, and described processor comprises switching on and shutting down control module, it is characterized in that, the on-and-off control system of described knob switch comprises:
Knob switch;
Logical circuit, comprises some inputs and output, and described some inputs connect one end of described knob switch respectively, and the processor of described mobile phone;
Switching circuit, between the processor being connected to described output and mobile phone;
Wherein, at described battery under charged or uncharged two states, described processor exports the first input end of a different first via level to described input respectively, under described knob switch disconnection or closed two states, one second input of described input inputs one second different road level respectively, described logical circuit is according to the combination of described first via level and described second road level, export one the 3rd road level to described switching circuit, whether described switching circuit switching on and shutting down control module according to described 3rd road Automatic level control obtains a switching on and shutting down level,
Close at charged, the described knob switch of described battery, and described mobile phone be in shutdown state under, described switching on and shutting down control module continue obtain described switching on and shutting down level, to control described mobile phone power-on; After described mobile phone power-on completes, it is contrary level that described processor changes described first via level, and described switching on and shutting down control module continues to obtain the level contrary with described switching on and shutting down level, enters stable state to make described mobile phone; After described mobile phone enters stable state, described knob switch disconnects, then described switching on and shutting down control module continues to obtain described switching on and shutting down level, to control described mobile phone shutdown.
2. the on-and-off control system of a kind of knob switch according to claim 1, is characterized in that, described logical circuit is a NOR gate circuit.
3. the on-and-off control system of a kind of knob switch according to claim 1, is characterized in that, described switching circuit is a mos pipe switching circuit.
4. the on-and-off control system of a kind of knob switch according to claim 3, it is characterized in that, described mos pipe switching circuit is a n raceway groove mos pipe switching circuit, the grid of described n raceway groove mos pipe switching circuit connects described output, the source ground of described n raceway groove mos pipe switching circuit, the drain electrode of described n raceway groove mos pipe switching circuit connects described switching on and shutting down control module.
5. the on-and-off control system of a kind of knob switch according to claim 4, it is characterized in that, under the state that described 3rd road level is high level, the source electrode of described n raceway groove mos pipe and drain electrode conducting, the described switching on and shutting down level that described switching on and shutting down control module obtains is low level; Under described 3rd road level is low level state, the source electrode of described n raceway groove mos pipe and the not conducting that drains, the drain electrode of described n raceway groove mos pipe switching circuit is high level.
6. the on-and-off control system of a kind of knob switch according to claim 1, is characterized in that, charged and under the state of described mobile phone shutdown, described first via level is high level at described battery; Under the uncharged state of described battery, described first via level is low level.
7. the on-and-off control system of a kind of knob switch according to claim 1, is characterized in that, the other end ground connection of described knob switch, and under described knob switch closure state, described second road level is low level; Under the state that described knob switch disconnects, described second road level is high level.
8. the on-and-off control system of a kind of knob switch according to claim 1, is characterized in that, described processor is connected by universal input/output interface with described first input end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310394189.2A CN103475757B (en) | 2013-09-03 | 2013-09-03 | The on-and-off control system of knob switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310394189.2A CN103475757B (en) | 2013-09-03 | 2013-09-03 | The on-and-off control system of knob switch |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103475757A CN103475757A (en) | 2013-12-25 |
CN103475757B true CN103475757B (en) | 2015-12-23 |
Family
ID=49800449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310394189.2A Expired - Fee Related CN103475757B (en) | 2013-09-03 | 2013-09-03 | The on-and-off control system of knob switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103475757B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106515623A (en) * | 2016-11-18 | 2017-03-22 | 杭州好好开车科技有限公司 | Starting-up circuit structure of ADAS product |
CN107295125B (en) * | 2017-05-03 | 2020-04-24 | 青岛海信电子设备股份有限公司 | Handheld terminal switch circuit and control method |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202750144U (en) * | 2012-05-31 | 2013-02-20 | 青岛海信移动通信技术股份有限公司 | Walkie-talkie mobile phone |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001103166A (en) * | 1999-09-29 | 2001-04-13 | Aiphone Co Ltd | Interphone system |
-
2013
- 2013-09-03 CN CN201310394189.2A patent/CN103475757B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202750144U (en) * | 2012-05-31 | 2013-02-20 | 青岛海信移动通信技术股份有限公司 | Walkie-talkie mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN103475757A (en) | 2013-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104377812B (en) | A kind of multi input power supply switch circuit | |
CN203859558U (en) | Electronic equipment and external charging circuit thereof | |
CN106532902A (en) | Mobile terminal dual-battery control device and method | |
CN104850021B (en) | A kind of power on/off system | |
CN202998373U (en) | Audio and video equipment intelligent power supply management system | |
CN103475757B (en) | The on-and-off control system of knob switch | |
CN202159236U (en) | Standby switch circuit and miniature electronic device | |
CN204883704U (en) | C type USB IC interface control circuit | |
CN104917982B (en) | A kind of stand-by circuit and the television set with the circuit | |
CN104467167B (en) | A kind of power path management circuit | |
CN210780130U (en) | Power-off control circuit | |
CN104914966A (en) | Single-chip microcomputer self-outage restarting circuit | |
CN202014132U (en) | Power source switching circuit | |
CN204031208U (en) | data communication path switching circuit, vehicle-mounted router and automobile | |
CN204993284U (en) | Blood glucose meter resetting means | |
CN214540710U (en) | Low-power consumption circuit and display screen system | |
CN204650218U (en) | A kind of single-chip microcomputer Self-disconnecting restarts circuit | |
CN208062841U (en) | A kind of charger circuit with short-circuit protection | |
CN210157162U (en) | Key combined circuit for realizing hardware reset | |
CN204360371U (en) | A kind of USBKey | |
CN204205704U (en) | A kind of power selection circuit | |
CN204205708U (en) | A kind of multi input power supply switch circuit | |
CN207926264U (en) | A kind of industry portable equipment Double-battery powered control circuit | |
CN206894294U (en) | A kind of circuit system by Bluetooth control charger baby power on/off | |
CN107733025B (en) | USB and DC compatible double-charging circuit and operation method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20151223 Termination date: 20190903 |
|
CF01 | Termination of patent right due to non-payment of annual fee |