CN103259896A - Mobile terminal - Google Patents
Mobile terminal Download PDFInfo
- Publication number
- CN103259896A CN103259896A CN2013101296179A CN201310129617A CN103259896A CN 103259896 A CN103259896 A CN 103259896A CN 2013101296179 A CN2013101296179 A CN 2013101296179A CN 201310129617 A CN201310129617 A CN 201310129617A CN 103259896 A CN103259896 A CN 103259896A
- Authority
- CN
- China
- Prior art keywords
- switch
- lamp
- portable terminal
- state
- baseband chip
- 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.)
- Pending
Links
Abstract
The invention discloses a mobile terminal which comprises a lamp, a first switch and a second switch, wherein the lamp is electronically connected with the power supply of the mobile terminal through the first switch, the first switch and the second switch are connected in parallel, and the baseband chip of the mobile terminal is used for detecting the switching motion of the first switch and controlling the switching state of the second switch. When the lamp is extinguished and the baseband chip detects the switching motion of the first switch, the second switch is made connected. When the lamp is turned on and the baseband chip detects the switching motion of the first switch, the second switch is made disconnected. The mobile terminal can realize illumination both in an operating state and in a shutdown state.
Description
Technical field
The present invention relates to a kind of portable terminal, particularly a kind of portable terminal with illumination functions.
Background technology
Be accompanied by constantly popularizing of mobile communication, mobile devices such as mobile phone have become the terminal use must obligato articles for daily use, and portable terminal also constantly is developed various functions simultaneously.This utility function of flashlight more and more is subjected to the welcome of mobile phone users and likes.
Yet present torch lamp only could realize illumination functions under the state of mobile terminal-opening.And when portable terminal shuts down, just no longer have illumination functions.
Summary of the invention
The technical problem to be solved in the present invention is to have limited the defective of flashlight function for the running status of the portable terminal that overcomes prior art, the mode of a kind of portable terminal by biswitch is provided, illumination can not only be under open state, realized, the function of illumination can also be under off-mode, realized.
The present invention solves above-mentioned technical problem by following technical proposals:
The invention provides a kind of portable terminal, be characterized in, described portable terminal also comprises a lamp, one first switch and a second switch, described lamp is electrically connected with the power supply of described portable terminal by first switch, described first switch and described second switch parallel connection, the baseband chip of described portable terminal is for detection of the switch motion of described first switch and control the on off state of described second switch;
When described lamp is in when extinguishing state, if described baseband chip when detecting the switch motion of described first switch, makes that described second switch is conducting state;
When described lamp is in illuminating state, if described baseband chip when detecting the switch motion of described first switch, makes that described second switch is off-state.
The present invention is under portable terminal is in open state, be that chip such as baseband chip in the portable terminal or unit are when being in the energising operating state, if described lamp is in when extinguishing state, detecting the switch motion that the user controls first switch, be that the user makes the action of described first switch conduction or disconnection, baseband chip makes second switch be in opening, make that namely second switch is in conducting state, thereby make to form conductive path between described lamp, second switch and the power supply, make lamp luminous then.
When if described lamp is in illuminating state, detecting the switch motion that the user controls first switch, baseband chip makes second switch be in closed condition, make that namely second switch is in off-state, thereby make the conductive path between described lamp, second switch and the power supply disconnect, make that then lamp extinguishes.
So this moment lamp illuminating state or extinguish state whether continue no longer exist between the on off state with first switch any related, namely no matter whether first switch also is in conducting or off-state, as long as the user once used first switch to carry out switching manipulation, then second switch just is in conducting or off-state, thereby lights constantly or extinguish described lamp.
In addition in the present invention, under portable terminal was in off-mode, when namely chip such as baseband chip in the portable terminal or unit did not power on, in the described portable terminal do not work in chip such as baseband chip or unit, so also can't detect the state of first switch, also the state of uncontrollable second switch.But the path between first switch, power supply and the lamp when the user makes the switch of winning be in conducting state or off-state, can make that still described path is in conducting state or off-state at this moment, lights lamp then or extinguishes lamp.In a word, the extinguishing or light of the described lamp of control that the user can be manual, whether system powers in the portable terminal and no longer need to depend on.
Preferably, described first switch is normal open switch.
Because need only the switch motion that detects first switch among the present invention, thus can adopt normal open switch as first switch among the present invention, thus no longer there is the situation of the long-time conducting of first switch.
Preferably, described second switch is switching tube.
Described switching tube is that switching device commonly used in the prior art is just given unnecessary details herein no longer in detail.
Preferably, described second switch is metal-oxide-semiconductor (field effect transistor).
Can also utilize the switching characteristic of existing MOS as conducting or the disconnection of conductive path between second switch realization power supply of the present invention and the lamp among the present invention.
Preferably, described lamp is LED lamp (light-emitting diode) or led array.
Can adopt LED as light emitting source among the present invention, utilize the little characteristics of LED power consumption, it is luminous that feasible portable terminal arbitrarily all has driving light source.
In addition, those skilled in the art should know, and the lamp among the present invention can also adopt the light emitting source of other arbitrary forms.
Preferably, also be serially connected with one first diode between described lamp and described first switch that is connected in parallel and the second switch, the anode of described first diode is electrically connected with described lamp, and the negative electrode of described first diode is electrically connected with described first switch.
Preferably, also be serially connected with one second diode between described baseband chip and described described first switch that is connected in parallel and the second switch, the anode of described second diode is electrically connected with described baseband chip, and the negative electrode of described first diode is electrically connected with described first switch.
Utilize the unilateral conduction of diode among the present invention, prevent the adverse current of electric current, thereby make that the electric current of process baseband chip and described lamp all is unidirectional.Prevent that backward current is to components from being damaged.
Preferably, also be serially connected with a resistance between the anode of described lamp and described first diode.
Also further utilize resistance to limit the electric current of flowing through lamps among the present invention, thereby prevent the excessive damage to lamp of electric current.
Preferably, described baseband chip detects the switch motion of first switch by the mode of row array scanning.
Because the on off state of switch can be judged by the logic level of its control, so can judge the on off state of switch by the mode that sends sweep signal, mode as the described capable array scanning that adopts among the present invention, wherein said capable array scanning is the scan mode of on off state commonly used in the prior art, so repeat no more here.
On the basis that meets this area general knowledge, above-mentioned each optimum condition, but combination in any namely get the preferred embodiments of the invention.
Positive progressive effect of the present invention is:
Portable terminal of the present invention under the state of mobile terminal-opening, normally by controlling switch lamp, and under the state of portable terminal shutdown, still can be realized the control of lamp by the mode of biswitch.So can not only under open state, realize illumination, can also under off-mode, realize the function of illumination.
Description of drawings
Fig. 1 is the structural representation of conductive path of the portable terminal of preferred embodiment of the present invention.
Fig. 2 is the structural representation of the conductive path of portable terminal under off-mode of preferred embodiment of the present invention.
Embodiment
Mode below by embodiment further specifies the present invention, but does not therefore limit the present invention among the described scope of embodiments.
The present invention utilizes two switches to realize the control of lamp under mobile terminal-opening state and the off-mode, specifically, as shown in Figure 1, battery VBAT, a NMOS pipe Q1, a normal open switch J1, a diode D2 and the diode D3 that comprise a baseband chip 1, a LED lamp D1, a resistance R 1, a portable terminal in the present embodiment in the conductive path of portable terminal control lamp.
Wherein said baseband chip 1 comprises a KCOL interface (row array scanning signal) and the general I/O of a GPIO() interface.
As shown in Figure 1, the battery VBAT of described portable terminal, described LED lamp D1, described resistance R 1, described diode D2 are connected successively with normal open switch J1, thereby constitute a galvanic circle in the present embodiment.Described diode D2 makes electric current that the positive pole of battery VBAT of portable terminal flows out can only flow into the negative pole of the battery VBAT of described portable terminal.
Described KCOL interface is connected to described normal open switch J1 by described diode D3, thereby between described KCOL interface and described normal open switch J1, form conductive path, the sweep signal of described baseband chip 1 output inputs to normal open switch J1 place by described KCOL interface, thereby realizes the detection to the switch motion of normal open switch J1.
When described baseband chip 1 is identified pressing of normal open switch J1 and is unclamped action by the sweep signal of KCOL interface, i.e. the operation of conducting and disconnection, and control opening or closing of NMOS pipe Q1 by the GPIO interface.Wherein the sweep signal of present embodiment can be row array scanning signal, the high-low level sweep signal of its its output certain frequency when unsettled, when detecting the low level signal of certain hour (detection time generally less than 1s), think that namely normal open switch J1 has the action of pressing, that is to say that switch motion described in the present embodiment refers to that the user makes the action of normal open switch conducting.Described diode D2 and diode D3 have played the effect of forward conduction, and for example requirement can be by the electric current of 100mA.Described resistance R 1 is used for regulating the electric current by described LED lamp D1, realizes regulating the effect of LED lamp D1 brightness, has also played the purpose of current limliting simultaneously, prevents that big electric current from burning out fluorescent tube.
And it as shown in Figure 1, and the battery VBAT of described portable terminal, described LED lamp D1, described resistance R 1 and described NMOS pipe Q1 are connected successively, thereby constitute another galvanic circle.And described GPIO interface controls the conducting of described NMOS pipe Q1 and ends, thereby realizes the conducting of described galvanic circle and the control of off-state.
In the present embodiment, when portable terminal was in open state, just the control flow of described LED lamp D1 was as follows under the state that described baseband chip powers on:
The sweep signal that described baseband chip 1 sends by the KCOL interface detects the switch motion of normal open switch J1, after detecting normal open switch J1 switch motion arranged, described baseband chip 1 is managed the conducting of Q1 by GPIO interface control NMOS and is ended, and then realizes conducting and the disconnection of the galvanic circle that the battery VBAT by described portable terminal shown in Figure 1, described LED lamp D1, described resistance R 1 and described NMOS pipe Q1 constitute.
The relation of the level signal that wherein can manage the Q1 conducting by the control NMOS that the number of times detect normal open switch 1 switch motion and the output of GPIO interface are set in baseband chip 1 or end, for example, if detect odd number time switch motion, then the output of GPIO interface makes NMOS manage the high level signal of Q1 conducting, if detect even number time switch motion, then the output of GPIO interface makes NMOS manage the low level signal that Q1 ends.Then by sort signal relation and described LED lamp D1 current being lighted or extinguishing combinations of states, thereby after described baseband chip 1 is detecting the switch motion of described normal open switch 1 and is making described LED lamp D1 light or extinguish, detect the switch motion of described normal open switch 1 again, then make described LED lamp D1 extinguish or light.
The switching signal of twice the normal open switch J1 that this moment is adjacent is respectively applied to make described LED lamp D1 to light and extinguishes, so the user can simply realize the control of lighting and extinguishing of LED lamp D1 by a switch.
That is to say, portable terminal is when open state, described baseband chip 1 is in opening, when normal open switch J1 presses, the galvanic circle conducting that is constituted by battery VBAT, LED lamp D1, resistance R 1, diode D2 and normal open switch J1, described electric current flows in described galvanic circle, and described LED lamp D1 is bright.Meanwhile, diode D3 conducting, baseband chip 1 detects the action of pressing of normal open switch J1 by the sweep signal of KCOL interface, by GPIO interface output high level signal NMOS is managed Q1 and opens.Even this moment, normal open switch J1 unclamped, described LED lamp D1 also can be shinny as usual by the conductive path that resistance R 1 and NMOS pipe Q1 constitute.When normal open switch J1 pressed again, baseband chip 1 detected pressing again of normal open switch J1 by the sweep signal of KCOL interface, thereby with GPIO interface output low level signal, closed described NMOS pipe Q1.At this moment, during along with the unclamping of normal open switch J1, described LED lamp D1 also can extinguish.
In the present embodiment, when portable terminal was in off-mode, just the control flow of described LED lamp D1 was as follows under the state that described baseband chip 1 does not power on:
Because portable terminal is when off-mode, baseband chip 1 is in closed condition, and circuit can be simplified to shown in Figure 2 among Fig. 1 at this moment.When the user presses described normal open switch J1 constantly, the conductive path of the electric current of the battery VBAT of portable terminal by being constituted by described LED lamp D1, current-limiting resistance R1 and diode D2, because whole path conducting, described LED lamp D1 is shinny.When the user unclamped described normal open switch J1, described normal open switch J1 resetted, and the conductive path that be made of described battery VBAT, described LED lamp D1, current-limiting resistance R1 and diode D2 this moment opens circuit, and therefore described LED lamp D1 extinguishes.
As seen the light emitting control of LED lamp D1 and do not rely on the system of portable terminal in the portable terminal of present embodiment, even baseband chip etc. for example is so when portable terminal shuts down, still can realize the light emitting control of described LED lamp D1.
And those skilled in the art should be noted that the lamp of LED described in present embodiment D1 can also adopt the products such as the element that can give out light, device or unit of arbitrary form to substitute, and be not limited only to the LED lamp of present embodiment, in like manner, described NMOS pipe and normal open switch can also adopt the switching device of other kinds to wait to realize.
Though more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited by appended claims.Those skilled in the art can make numerous variations or modification to these execution modes under the prerequisite that does not deviate from principle of the present invention and essence, but these changes and modification all fall into protection scope of the present invention.
Claims (8)
1. portable terminal, it is characterized in that, described portable terminal also comprises a lamp, one first switch and a second switch, described lamp is electrically connected with the power supply of described portable terminal by first switch, described first switch and described second switch parallel connection, the baseband chip of described portable terminal is for detection of the switch motion of described first switch and control the on off state of described second switch;
When described lamp is in when extinguishing state, if described baseband chip when detecting the switch motion of described first switch, makes that described second switch is conducting state;
When described lamp is in illuminating state, if described baseband chip when detecting the switch motion of described first switch, makes that described second switch is off-state.
2. portable terminal as claimed in claim 1 is characterized in that, described first switch is normal open switch.
3. portable terminal as claimed in claim 2 is characterized in that, described second switch is switching tube.
4. portable terminal as claimed in claim 2 is characterized in that, described second switch is metal-oxide-semiconductor.
5. portable terminal as claimed in claim 1 is characterized in that, described lamp is LED lamp or led array.
6. portable terminal as claimed in claim 1, it is characterized in that, also be serially connected with one first diode between described lamp and described first switch that is connected in parallel and the second switch, the anode of described first diode is electrically connected with described lamp, and the negative electrode of described first diode is electrically connected with described first switch.
7. as claimed in claim 6, it is characterized in that, also be serially connected with a resistance between the anode of described lamp and described first diode.
8. portable terminal as claimed in claim 1, it is characterized in that, also be serially connected with one second diode between described baseband chip and described described first switch that is connected in parallel and the second switch, the anode of described second diode is electrically connected with described baseband chip, and the negative electrode of described first diode is electrically connected with described first switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013101296179A CN103259896A (en) | 2013-04-15 | 2013-04-15 | Mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013101296179A CN103259896A (en) | 2013-04-15 | 2013-04-15 | Mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103259896A true CN103259896A (en) | 2013-08-21 |
Family
ID=48963580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013101296179A Pending CN103259896A (en) | 2013-04-15 | 2013-04-15 | Mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103259896A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103886697A (en) * | 2014-03-19 | 2014-06-25 | 深圳市中兴移动通信有限公司 | Reminding device and method of unread messages |
CN105246198A (en) * | 2015-09-30 | 2016-01-13 | 深圳天珑无线科技有限公司 | Device for controlling mobile phone lighting function |
CN116209111A (en) * | 2023-02-01 | 2023-06-02 | 无锡宇宁智能科技有限公司 | Flashlight lamp switch control circuit and corresponding handheld device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201957104U (en) * | 2010-12-30 | 2011-08-31 | 希姆通信息技术(上海)有限公司 | Mobile terminal |
CN201967197U (en) * | 2010-12-23 | 2011-09-07 | 惠州Tcl移动通信有限公司 | Control circuit that a keyboard lamp and the pilot lamp that charges shared |
CN102315657A (en) * | 2010-07-06 | 2012-01-11 | 希姆通信息技术(上海)有限公司 | Charging circuit applying solar cell and mobile terminal |
CN102572040A (en) * | 2010-12-30 | 2012-07-11 | 希姆通信息技术(上海)有限公司 | Mobile terminal |
-
2013
- 2013-04-15 CN CN2013101296179A patent/CN103259896A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102315657A (en) * | 2010-07-06 | 2012-01-11 | 希姆通信息技术(上海)有限公司 | Charging circuit applying solar cell and mobile terminal |
CN201967197U (en) * | 2010-12-23 | 2011-09-07 | 惠州Tcl移动通信有限公司 | Control circuit that a keyboard lamp and the pilot lamp that charges shared |
CN201957104U (en) * | 2010-12-30 | 2011-08-31 | 希姆通信息技术(上海)有限公司 | Mobile terminal |
CN102572040A (en) * | 2010-12-30 | 2012-07-11 | 希姆通信息技术(上海)有限公司 | Mobile terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103886697A (en) * | 2014-03-19 | 2014-06-25 | 深圳市中兴移动通信有限公司 | Reminding device and method of unread messages |
CN105246198A (en) * | 2015-09-30 | 2016-01-13 | 深圳天珑无线科技有限公司 | Device for controlling mobile phone lighting function |
CN116209111A (en) * | 2023-02-01 | 2023-06-02 | 无锡宇宁智能科技有限公司 | Flashlight lamp switch control circuit and corresponding handheld device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107529240B (en) | Power supply circuit applied to LED lamp | |
JP2008078009A (en) | Lighting device | |
CN105120577A (en) | Photo-sensitive control LED (Light Emitting Diode) illuminating lamp | |
CN203313486U (en) | Controllable emergency lamp | |
CN103259896A (en) | Mobile terminal | |
CN103037560A (en) | Automatic dimming emergency lamp | |
CN102695342A (en) | Digital dimming circuit system of LED shadowless lamp | |
CN204559932U (en) | Controller applied to street lamp | |
CN102665320B (en) | Portable electric appts and flash control circuit thereof | |
DE602005004167D1 (en) | Electrical circuit for LED signal lamps with a switching threshold for switching between daytime and nighttime operation | |
CN105430830A (en) | LED controller and method thereof | |
CN104427692A (en) | Light-controlled automatic switch circuit and lamp | |
CN104302036A (en) | Light emitting control circuit | |
CN105848369A (en) | Fade-on fade-off LED lighting lamp with adjustable luminance | |
CN203446075U (en) | Light-emitting diode flashlight with delay and automatic power-off functions | |
CN201218457Y (en) | LED eye-protection desk lamp | |
CN205666996U (en) | Luminance adjustable is bright LED light that gradually goes out gradually | |
CN104427686A (en) | Lamp and control circuit thereof | |
CN204968171U (en) | Control circuit and refrigerator of light | |
KR20140005787U (en) | Auto switching light apparatus | |
CN202992899U (en) | Light-emitting diode (LED) tunnel lamp with long service life | |
CN102438362A (en) | One key type brightness adjusting device | |
CN202818730U (en) | Multifunctional working lamp | |
CN103415129A (en) | LED (Light Emitting Diode) flashlight with delay and automatic power off functions | |
CN205830122U (en) | Shops's lamp light control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130821 |