CN106026353A - Electronic device and control method - Google Patents

Electronic device and control method Download PDF

Info

Publication number
CN106026353A
CN106026353A CN201610320386.3A CN201610320386A CN106026353A CN 106026353 A CN106026353 A CN 106026353A CN 201610320386 A CN201610320386 A CN 201610320386A CN 106026353 A CN106026353 A CN 106026353A
Authority
CN
China
Prior art keywords
power supply
supply unit
unit
interface
testing result
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
Application number
CN201610320386.3A
Other languages
Chinese (zh)
Inventor
田波
冯成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610320386.3A priority Critical patent/CN106026353A/en
Publication of CN106026353A publication Critical patent/CN106026353A/en
Priority to US15/586,544 priority patent/US10455202B2/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • H02J9/061Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems for DC powered loads
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • H02J9/068Electronic means for switching from one power supply to another power supply, e.g. to avoid parallel connection

Abstract

The invention discloses an electronic device and a control method. The electronic device comprises a projection unit, an adaption unit, an interface unit, and a control unit. The projection unit is used for acquiring power from the adaption unit or a second power supply unit. The adaption unit is used for establishing a connection with a first power supply unit. The interface unit is used for detecting whether a connection to the second power supply unit is established. The first power supply unit differs from the second power supply unit and has a voltage transformation function. The second power supply unit has a power storage function. The control unit is used for detecting whether the adaption unit acquires power from the connected first power supply unit to obtain a first detection result, acquiring whether the interface unit is connected with the second power supply unit to obtain a second detection result, and generating a control instruction for the second power supply unit according to the first detection result and the second detection result.

Description

A kind of electronic equipment and control method
Technical field
The present invention relates to the information processing technology, particularly relate to a kind of electronic equipment and control method.
Background technology
Electronic equipment, especially possesses the portable projector of projecting function, is more and more deep into the daily of people In work and life.Along with more and more using portable projector so that the flying power of portable projector becomes Affect its one of problem used, such as, usually there will be too short problem in cruising time, it is seen then that how to increase portable throwing The flying power of shadow instrument, becomes the difficult problem put in face of portable projector design.
Summary of the invention
The embodiment of the present invention provides a kind of electronic equipment and control method, can at least solve present in prior art above-mentioned Problem.
The technical scheme of the embodiment of the present invention is achieved in that
Embodiments provide a kind of electronic equipment, including:
Projecting cell, is projected to perspective plane for being emitted beam by light source by project content, and by adaptive single Unit obtain electric power or, by second power supply unit obtain electric power;
Adaptation unit, is connected for setting up with the first power supply unit;
Interface unit, is connected for detecting whether set up with the second power supply unit;Wherein, described first power supply unit and institute Stating the second power supply unit different, the first power supply unit is the power supply unit possessing voltage conversion function;Described second power supply unit It it is the power supply unit at least possessing electric power storage function;
Control unit, for detecting whether described adaptation unit obtains electric power by described first power supply unit connected First testing result, and get whether set up the second detection knot being connected with the second power supply unit from described interface unit Really;Based on described first testing result and the second testing result, generate the control instruction for the second power supply unit.
The embodiment of the present invention additionally provides a kind of control method, is applied to electronic equipment, and described electronic equipment at least possesses The projecting cell by the light that light source sends, project content can being projected on perspective plane, and obtained by adaptation unit Electric power or, by second power supply unit obtain electric power, described method includes:
Detect whether to be set up by adaptation unit and the first power supply unit to connect, get the first testing result;
Detect whether to set up with the second power supply unit to be connected by interface unit, get the second testing result;Wherein, institute Stating the first power supply unit different from described second power supply unit, the first power supply unit is the power supply list possessing voltage conversion function Unit;Described second power supply unit is the power supply unit at least possessing electric power storage function;
Based on described first testing result and the second testing result, generate the control instruction for the second power supply unit.
The electronic equipment of embodiment of the present invention offer and control method, projecting cell is single by adaptation unit and the first power supply Unit sets up and connects and obtain electric power, or, connect acquiring unit by interface unit and the second power supply unit;And can pass through Whether control unit detection adaptation unit is connected with the first power supply unit foundation, and detected whether and second by interface unit Power supply unit is set up and is connected, and then is controlled the second power supply unit, and wherein the second power supply unit is to possess storage function Power supply unit.So, it becomes possible at projecting cell flexibly according to current and the connection of power supply unit, determine by adaptation Unit obtains electric power from the first power supply unit or the second power supply unit, thus improves the flying power of electronic equipment.
Accompanying drawing explanation
Fig. 1 is electronic equipment composition structural representation in the embodiment of the present invention;
Fig. 2 is interface unit composition structural representation one in the embodiment of the present invention;
Fig. 3 is embodiment of the present invention application scenarios schematic diagram;
Fig. 4 is embodiment of the present invention interface diagram;
Fig. 5 is embodiment of the present invention interface unit entity structure diagram;
Fig. 6 is that embodiment of the present invention interface unit forms structural representation two;
Fig. 7 is embodiment of the present invention control method schematic flow sheet.
Detailed description of the invention
With specific embodiment, the present invention is described in further detail below in conjunction with the accompanying drawings.
Embodiment one,
Embodiments provide a kind of electronic equipment, as it is shown in figure 1, described electronic equipment includes:
Projecting cell 11, is projected to perspective plane for being emitted beam by light source by project content, and by adaptation Unit obtain electric power or, by second power supply unit obtain electric power;
Adaptation unit 12, is connected for setting up with the first power supply unit;
Interface unit 13, is connected for detecting whether set up with the second power supply unit;Wherein, described first power supply unit with Described second power supply unit is different, and the first power supply unit is the power supply unit possessing voltage conversion function;Described second power supply is single Unit is the power supply unit at least possessing electric power storage function;
Control unit 14, for detecting whether described adaptation unit obtains electric power by described first power supply unit connected The first testing result, and get from described interface unit and whether set up the second detection being connected with the second power supply unit and tie Really;Based on described first testing result and the second testing result, generate the control instruction for the second power supply unit.
Here, described first power supply unit can be the power supply unit being provided electric power by alternating current interface, such as, permissible The alternating current of 220V is provided.
Described second power supply unit can be an electric storage means, namely a Power Bank.It possess charging and Discharging function.
Further, whether described adaptation unit is by the detection mode of the described first power supply unit acquisition electric power of connection Can be: detected by the DC-IN of adaptation unit that concrete can be, as DC-IN=0, determine adaptation unit not with First power supply unit is set up and is connected, and as DC-IN=20, determines that adaptation unit and the first power supply unit are set up and connects.Wherein, The unit of DC-IN can be voltage V.
Below, the present embodiment is mainly for setting up under the scene being connected when the second power supply unit with interface unit, adaptive single When unit gets electric power at the first power supply unit, electric power can be provided by interface unit with to second for the second power supply unit Power supply unit is charged being specifically described:
Described control unit, specifically for obtaining electricity when described first testing result characterizes by described first power supply unit Power and described second testing result characterize described when being connected with the second power supply unit foundation, generate the first control instruction, and described the One control instruction is charged for described second power supply unit for control.
It should be noted that under above-mentioned scene, except controlling to be that the second power supply unit is charged by control unit Outside, the part in the electric power that adaptation unit gets at the first power supply unit is also used in and powers for projecting cell.
Above-mentioned control unit controls to be that the second power supply unit is charged by the first control instruction, concrete, described control Unit processed, specifically for according to described first control instruction, by the electric power obtained at described first power supply unit according to presetting Ratio carries out shunting the electric power obtained for charging, and utilizing the electric power being used for charging is that described second power supply is single by interface unit Unit is charged.
Wherein, described preset ratio can be the ratio preset according to practical situation, such as, can be preset ratio to be set Being set to 1:1, say, that can be used for powering for projecting cell by the electric power half got, second half is used for being the second confession Electric unit is charged.It is understood that aforementioned proportion is only a signal, actual treatment can arrange presetting of other Ratio, does not carry out exhaustive in the present embodiment.
Further, as in figure 2 it is shown, described interface unit 13, at least include: the first sub-interface 131 and the second son connect Mouth 132;Wherein,
Described first sub-interface 131, is connected for detecting whether set up with the second power supply unit;
Described second sub-interface 132, for providing electric power for the second power supply unit so that described second power supply unit is carried out Charging.
It addition, on the basis of above-mentioned two interface, the present embodiment can also define the 4th and/or the 5th sub-interface, use In ground connection.
Further, wherein, described first sub-interface is for detecting whether be connected with the second power supply unit foundation, Ke Yiwei Detected by voltage parameter, such as, when the voltage detected by the first sub-interface is 3V, determine and the second power supply unit Set up and connect otherwise, it determines do not set up with the second power supply unit and be connected.
The scene provided the present embodiment below in conjunction with Fig. 3, Fig. 4 and Fig. 5 illustrates:
It can be seen that in whole application schematic diagram, whole application has three parts, respectively projector module from Fig. 3, Electric storage means i.e. PB module, power supply adaptor.Power supply adaptor is used for being powered to projector;
It is designed with 5 pogo pin at Fig. 4 signal above projector, can be charged to PB by pogo pin, it is possible to by PB Power and normally use there is no power supply adaptor when;5 corresponding with projector pogo pin it are designed with above PB Pogo pin, by docking, it is achieved power to projector, or is projected instrument charging.Concrete, as shown in Figure 4, projector is altogether Define 5 interfaces, interface (Pin) 1 and interface Pin2 be ground connection (GND), interface Pin3 be that above-mentioned first sub-interface is for detecing Surveying whether projector is connected with PB foundation, Pin4 and/or Pin5 can be the second sub-interface, for obtaining electricity as from projector Power for Power Pin.
Further, the concrete pattern of interface unit on projector, any one in interface unit are introduced in conjunction with Fig. 5 Sub-interface 51 is the metal pin of diameter 1mm, a length of 6mm;Sub-interface is fixed by plastic stent 52 and pcb board, then passes through Cable 53 carries out signal with master control borad and is connected.It should be noted that wherein pcb board is inside plastic stent, so not at figure Shown in.
PB is docked by Pogo pin and projector, and projector connects power supply adaptor, so projector charges to PB.At this Under individual scene, projector and PB can detect Pogo pin the 3rd pin voltage and be more than 3V (projector has met PB), projects simultaneously Instrument detects DC_IN=20 (projector connects power supply adaptor), so power pin4 and Pin5 of pogo pin can be changed by PB For electric current input state;And power pin4 and Pin5 of the pogo pin of oneself can be changed into electric current output state by projector, Powering to PB, such projector just can charge to PB with limit working edge.
Visible, by using such scheme, it becomes possible to be set up by adaptation unit and the first power supply unit at projecting cell Connect and obtain electric power, or, connect acquiring unit by interface unit and the second power supply unit;And can be single by controlling Whether unit's detection adaptation unit is connected with the first power supply unit foundation, and is detected whether by interface unit and the second power supply list Unit sets up and connects, and then is controlled the second power supply unit, and wherein the second power supply unit is the power supply list possessing storage function Unit.So, it becomes possible at projecting cell flexibly according to current and the connection of power supply unit, determine from the first power supply unit Or second power supply unit obtain electric power, thus improve the flying power of electronic equipment.
Embodiment two,
Embodiments provide a kind of electronic equipment, as it is shown in figure 1, described electronic equipment includes:
Projecting cell 11, is projected to perspective plane for being emitted beam by light source by project content, and by adaptation Unit obtain electric power or, by second power supply unit obtain electric power;
Adaptation unit 12, is connected for setting up with the first power supply unit;
Interface unit 13, is connected for detecting whether set up with the second power supply unit;Wherein, described first power supply unit with Described second power supply unit is different, and the first power supply unit is the power supply unit possessing voltage conversion function;Described second power supply is single Unit is the power supply unit at least possessing electric power storage function;
Control unit 14, for detecting whether described adaptation unit obtains electric power by described first power supply unit connected The first testing result, and get from described interface unit and whether set up the second detection being connected with the second power supply unit and tie Really;Based on described first testing result and the second testing result, generate the control instruction for the second power supply unit.
Here, described first power supply unit can be the power supply unit being provided electric power by alternating current interface, such as, permissible The alternating current of 220V is provided.
Described second power supply unit can be an electric storage means, namely a Power Bank.It possess charging and Discharging function.
Further, whether described adaptation unit is by the detection mode of the described first power supply unit acquisition electric power of connection Can be: detected by the DC-IN of adaptation unit that concrete can be, as DC-IN=0, determine adaptation unit not with First power supply unit is set up and is connected, and as DC-IN=20, determines that adaptation unit and the first power supply unit are set up and connects.Wherein, The unit of DC-IN can be voltage V.
Below, the present embodiment is mainly for setting up under the scene being connected when the second power supply unit with interface unit, adaptive single When unit does not gets electric power at the first power supply unit, can be that projecting cell is powered having by the second power supply unit Body illustrates:
Described control unit, specifically for not obtaining electricity by the first power supply unit when described first testing result characterizes Power and described second testing result characterize when being connected with the second power supply unit foundation, generate the second control instruction, described second control System instruction obtains electric power for control by interface unit at described second power supply unit.
As shown in Figure 6, described interface unit 13, at least include: the first sub-interface 131 and the 3rd sub-interface 133;Its In,
Described first sub-interface 131, is connected for detecting whether set up with the second power supply unit;
Described 3rd sub-interface 133, for obtaining electric power at described second power supply unit.
It addition, on the basis of above-mentioned two interface, the present embodiment can also define the 4th and/or the 5th sub-interface, use In ground connection.
Further, the 3rd sub-interface described in the present embodiment can be at physics with the second sub-interface in previous embodiment The same sub-interface of upper employing can also use different sub-interfaces, is not limited thereof in the present embodiment.
Further, wherein, described first sub-interface is for detecting whether be connected with the second power supply unit foundation, Ke Yiwei Detected by voltage parameter, such as, when the voltage detected by the first sub-interface is 3V, determine and the second power supply unit Set up and connect, be connected otherwise, it determines do not set up with the second power supply unit.
The scene provided the present embodiment below in conjunction with Fig. 3, Fig. 4 and Fig. 5 illustrates:
It can be seen that in whole application schematic diagram, whole application has three parts, respectively projector module from Fig. 3, Electric storage means i.e. PB module, power supply adaptor.Power supply adaptor is used for being powered to projector;
It is designed with 5 pogo pin at Fig. 4 signal above projector, can be charged to PB by pogo pin, it is possible to by PB Power and normally use there is no power supply adaptor when;5 corresponding with projector pogo pin it are designed with above PB Pogo pin, by docking, it is achieved power to projector, or is projected instrument charging.Concrete, as shown in Figure 4, projector is altogether Define 5 interfaces, interface (Pin) 1 and interface Pin2 be ground connection (GND), interface Pin3 be that above-mentioned first sub-interface is for detecing Surveying whether projector is connected with PB foundation, Pin4 and/or Pin5 can be the second sub-interface, for obtaining electricity as from projector Power for Power Pin.
Further, the concrete pattern of interface unit on projector, any one in interface unit are introduced in conjunction with Fig. 5 Sub-interface 51 is the metal pin of diameter 1mm, a length of 6mm;Sub-interface is fixed by plastic stent 52 and pcb board, then passes through Cable 53 carries out signal with master control borad and is connected.It should be noted that wherein pcb board is inside plastic stent, so not at figure Shown in.
PB is docked by Pogo pin and projector, and projector missed electric source adapter, so PB powers to projector.? Under this scene, projector and PB can detect Pogo pin the 3rd pin voltage and be more than 3V (projector has met PB), throws simultaneously Shadow instrument detects DC_IN=0 (projector missed electric source adapter), so PB can be by power pin4 and Pin5 of pogo pin Change electric current output state into, power to projector;And power pin4 and Pin5 of the pogo pin of oneself can be changed by projector For electric current input state, receive the power supply of PB, then start the normal work of oneself.
It addition, interface logic controls to may refer to table 1 in the present embodiment, it should be noted that owing to throwing in prior art Shadow instrument possesses 7 pogo interfaces, two system interfaces therein can be defined as dissengaged positions.
Table 1
Visible, by using such scheme, it becomes possible to be set up by adaptation unit and the first power supply unit at projecting cell Connect and obtain electric power, or, connect acquiring unit by interface unit and the second power supply unit;And can be single by controlling Whether unit's detection adaptation unit is connected with the first power supply unit foundation, and is detected whether by interface unit and the second power supply list Unit sets up and connects, and then is controlled the second power supply unit, and wherein the second power supply unit is the power supply list possessing storage function Unit.So, it becomes possible at projecting cell flexibly according to current and the connection of power supply unit, determine from the first power supply unit Or second power supply unit obtain electric power, thus improve the flying power of electronic equipment.
Embodiment three,
Embodiments providing a kind of control method, be applied to electronic equipment, described electronic equipment at least possesses energy The projecting cell that project content is projected on perspective plane by the enough light sent by light source, and obtain electricity by adaptation unit Power or, by second power supply unit obtain electric power, as it is shown in fig. 7, comprises:
Step 701: detect whether to be set up by adaptation unit and the first power supply unit to connect, get the first detection knot Really;
Step 702: detect whether to set up with the second power supply unit to be connected by interface unit, gets the second detection knot Really;Wherein, described first power supply unit is different from described second power supply unit, and the first power supply unit is for possessing voltage conversion function Power supply unit;Described second power supply unit is the power supply unit at least possessing electric power storage function;
Step 703: based on described first testing result and the second testing result, generate the control for the second power supply unit System instruction.
Here, described first power supply unit can be the power supply unit being provided electric power by alternating current interface, such as, permissible The alternating current of 220V is provided.
Described second power supply unit can be an electric storage means, namely a Power Bank.It possess charging and Discharging function.
Further, whether described adaptation unit is by the detection mode of the described first power supply unit acquisition electric power of connection Can be: detected by the DC-IN of adaptation unit that concrete can be, as DC-IN=0, determine adaptation unit not with First power supply unit is set up and is connected, and as DC-IN=20, determines that adaptation unit and the first power supply unit are set up and connects.Wherein, The unit of DC-IN can be voltage V.
Below, the present embodiment is mainly for setting up under the scene being connected when the second power supply unit with interface unit, adaptive single When unit gets electric power at the first power supply unit, electric power can be provided by interface unit with to second for the second power supply unit Power supply unit is charged being specifically described:
Based on described first testing result and the second testing result, generate the control instruction for the second power supply unit, Including:
Electric power and described second testing result is obtained by described first power supply unit when described first testing result characterizes When being connected with the second power supply unit foundation described in characterizing, generating the first control instruction, described first control instruction for control is Described second power supply unit is charged.
Wherein, described it is charged for described second power supply unit, including:
Carry out the electric power obtained at described first power supply unit according to preset ratio shunting the electricity obtained for charging Power, utilizing the electric power for charging is that described second power supply unit is charged by interface unit.
It should be noted that under above-mentioned scene, except controlling to be that the second power supply unit is charged by control unit Outside, the part in the electric power that adaptation unit gets at the first power supply unit is also used in and powers for projecting cell.
Above-mentioned control unit controls to be that the second power supply unit is charged by the first control instruction, concrete, described control Unit processed, specifically for according to described first control instruction, by the electric power obtained at described first power supply unit according to presetting Ratio carries out shunting the electric power obtained for charging, and utilizing the electric power being used for charging is that described second power supply is single by interface unit Unit is charged.
Wherein, described preset ratio can be the ratio preset according to practical situation, such as, can be preset ratio to be set Being set to 1:1, say, that can be used for powering for projecting cell by the electric power half got, second half is used for being the second confession Electric unit is charged.It is understood that aforementioned proportion is only a signal, actual treatment can arrange presetting of other Ratio, does not carry out exhaustive in the present embodiment.
The scene provided the present embodiment below in conjunction with Fig. 3, Fig. 4 and Fig. 5 illustrates:
It can be seen that in whole application schematic diagram, whole application has three parts, respectively projector module from Fig. 3, Electric storage means i.e. PB module, power supply adaptor.Power supply adaptor is used for being powered to projector;
It is designed with 5 pogo pin at Fig. 4 signal above projector, can be charged to PB by pogo pin, it is possible to by PB Power and normally use there is no power supply adaptor when;5 corresponding with projector pogo pin it are designed with above PB Pogo pin, by docking, it is achieved power to projector, or is projected instrument charging.Concrete, as shown in Figure 4, projector is altogether Define 5 interfaces, interface (Pin) 1 and interface Pin2 be ground connection (GND), interface Pin3 be that above-mentioned first sub-interface is for detecing Surveying whether projector is connected with PB foundation, Pin4 and/or Pin5 can be the second sub-interface, for obtaining electricity as from projector Power for Power Pin.
Further, the concrete pattern of interface unit on projector, any one in interface unit are introduced in conjunction with Fig. 5 Sub-interface 51 is the metal pin of diameter 1mm, a length of 6mm;Sub-interface is fixed by plastic stent 52 and pcb board, then passes through Cable 53 carries out signal with master control borad and is connected.It should be noted that wherein pcb board is inside plastic stent, so not at figure Shown in.
PB is docked by Pogo pin and projector, and projector connects power supply adaptor, so projector charges to PB.At this Under individual scene, projector and PB can detect Pogo pin the 3rd pin voltage and be more than 3V (projector has met PB), projects simultaneously Instrument detects DC_IN=20 (projector connects power supply adaptor), so power pin4 and Pin5 of pogo pin can be changed by PB For electric current input state;And power pin4 and Pin5 of the pogo pin of oneself can be changed into electric current output state by projector, Powering to PB, such projector just can charge to PB with limit working edge.
Visible, by using such scheme, it becomes possible to be set up by adaptation unit and the first power supply unit at projecting cell Connect and obtain electric power, or, connect acquiring unit by interface unit and the second power supply unit;And can be single by controlling Whether unit's detection adaptation unit is connected with the first power supply unit foundation, and is detected whether by interface unit and the second power supply list Unit sets up and connects, and then is controlled the second power supply unit, and wherein the second power supply unit is the power supply list possessing storage function Unit.So, it becomes possible at projecting cell flexibly according to current and the connection of power supply unit, determine from the first power supply unit Or second power supply unit obtain electric power, thus improve the flying power of electronic equipment.
Embodiment four,
Embodiments providing a kind of control method, be applied to electronic equipment, described electronic equipment at least possesses energy The projecting cell that project content is projected on perspective plane by the enough light sent by light source, and obtain electricity by adaptation unit Power or, by second power supply unit obtain electric power, as it is shown in fig. 7, comprises:
Step 701: detect whether to be set up by adaptation unit and the first power supply unit to connect, get the first detection knot Really;
Step 702: detect whether to set up with the second power supply unit to be connected by interface unit, gets the second detection knot Really;Wherein, described first power supply unit is different from described second power supply unit, and the first power supply unit is for possessing voltage conversion function Power supply unit;Described second power supply unit is the power supply unit at least possessing electric power storage function;
Step 703: based on described first testing result and the second testing result, generate the control for the second power supply unit System instruction.
Here, described first power supply unit can be the power supply unit being provided electric power by alternating current interface, such as, permissible The alternating current of 220V is provided.
Described second power supply unit can be an electric storage means, namely a Power Bank.It possess charging and Discharging function.
Further, whether described adaptation unit is by the detection mode of the described first power supply unit acquisition electric power of connection Can be: detected by the DC-IN of adaptation unit that concrete can be, as DC-IN=0, determine adaptation unit not with First power supply unit is set up and is connected, and as DC-IN=20, determines that adaptation unit and the first power supply unit are set up and connects.Wherein, The unit of DC-IN can be voltage V.
Below, the present embodiment is mainly for setting up under the scene being connected when the second power supply unit with interface unit, adaptive single When unit does not gets electric power at the first power supply unit, can be that projecting cell is powered having by the second power supply unit Body illustrates:
Based on described first testing result and the second testing result, generate the control instruction for the second power supply unit, Including:
Electric power and described second testing result table is not obtained by the first power supply unit when described first testing result characterizes Levy with second power supply unit set up is connected time, generate the second control instruction, described second control instruction be used for control pass through interface Unit obtains electric power at described second power supply unit.
The scene provided the present embodiment below in conjunction with Fig. 3, Fig. 4 and Fig. 5 illustrates:
It can be seen that in whole application schematic diagram, whole application has three parts, respectively projector module from Fig. 3, Electric storage means i.e. PB module, power supply adaptor.Power supply adaptor is used for being powered to projector;
It is designed with 5 pogo pin at Fig. 4 signal above projector, can be charged to PB by pogo pin, it is possible to by PB Power and normally use there is no power supply adaptor when;5 corresponding with projector pogo pin it are designed with above PB Pogo pin, by docking, it is achieved power to projector, or is projected instrument charging.Concrete, as shown in Figure 4, projector is altogether Define 5 interfaces, interface (Pin) 1 and interface Pin2 be ground connection (GND), interface Pin3 be that above-mentioned first sub-interface is for detecing Surveying whether projector is connected with PB foundation, Pin4 and/or Pin5 can be the second sub-interface, for obtaining electricity as from projector Power for Power Pin.
Further, the concrete pattern of interface unit on projector, any one in interface unit are introduced in conjunction with Fig. 5 Sub-interface 51 is the metal pin of diameter 1mm, a length of 6mm;Sub-interface is fixed by plastic stent 52 and pcb board, then passes through Cable 53 carries out signal with master control borad and is connected.It should be noted that wherein pcb board is inside plastic stent, so not at figure Shown in.
PB is docked by Pogo pin and projector, and projector missed electric source adapter, so PB powers to projector.? Under this scene, projector and PB can detect Pogo pin the 3rd pin voltage and be more than 3V (projector has met PB), throws simultaneously Shadow instrument detects DC_IN=0 (projector missed electric source adapter), so PB can be by power pin4 and Pin5 of pogo pin Change electric current output state into, power to projector;And power pin4 and Pin5 of the pogo pin of oneself can be changed by projector For electric current input state, receive the power supply of PB, then start the normal work of oneself.
It addition, interface logic controls to may refer to table 1 in the present embodiment, it should be noted that owing to throwing in prior art Shadow instrument possesses 7 pogo interfaces, two system interfaces therein can be defined as dissengaged positions.
Table 1
Visible, by using such scheme, it becomes possible to be set up by adaptation unit and the first power supply unit at projecting cell Connect and obtain electric power, or, connect acquiring unit by interface unit and the second power supply unit;And can be single by controlling Whether unit's detection adaptation unit is connected with the first power supply unit foundation, and is detected whether by interface unit and the second power supply list Unit sets up and connects, and then is controlled the second power supply unit, and wherein the second power supply unit is the power supply list possessing storage function Unit.So, it becomes possible at projecting cell flexibly according to current and the connection of power supply unit, determine from the first power supply unit Or second power supply unit obtain electric power, thus improve the flying power of electronic equipment.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be passed through The hardware that programmed instruction is relevant completes, and aforesaid program can be stored in a computer read/write memory medium, this program Upon execution, perform to include the step of said method embodiment;And aforesaid storage medium includes: movable storage device, read-only Memorizer (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or The various media that can store program code such as person's CD.
Or, if the above-mentioned integrated unit of the present invention is using the form realization of software function module and as independent product When selling or use, it is also possible to be stored in a computer read/write memory medium.Based on such understanding, the present invention implements The part that prior art is contributed by the technical scheme of example the most in other words can embody with the form of software product, This computer software product is stored in a storage medium, including some instructions with so that a computer equipment is (permissible It is personal computer, server or the network equipment etc.) perform all or part of of method described in each embodiment of the present invention. And aforesaid storage medium includes: movable storage device, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (10)

1. an electronic equipment, described electronic equipment includes:
Projecting cell, is projected to project content perspective plane for being emitted beam by light source, and is obtained by adaptation unit Power taking power or, by second power supply unit obtain electric power;
Adaptation unit, is connected for setting up with the first power supply unit;
Interface unit, is connected for detecting whether set up with the second power supply unit;Wherein, described first power supply unit and described the Two power supply units are different, and the first power supply unit is the power supply unit possessing voltage conversion function;Described second power supply unit be to Possesses the power supply unit of electric power storage function less;
Control unit, for detecting whether described adaptation unit obtains the first of electric power by described first power supply unit connected Testing result, and get whether set up, with the second power supply unit, the second testing result being connected from described interface unit;Base In described first testing result and the second testing result, generate the control instruction for the second power supply unit.
Electronic equipment the most according to claim 1, it is characterised in that
Described control unit, specifically for when described first testing result characterize by described first power supply unit obtain electric power, And described second testing result characterizes described when being connected with the second power supply unit foundation, generate the first control instruction, described first Control instruction is charged for described second power supply unit for control.
Electronic equipment the most according to claim 2, it is characterised in that described control unit, specifically for according to described One control instruction, carries out shunting according to preset ratio by the electric power obtained at described first power supply unit and obtains for charging Electric power, utilizing the electric power for charging is that described second power supply unit is charged by interface unit.
Electronic equipment the most according to claim 3, it is characterised in that described interface unit, at least includes: the first sub-interface And second sub-interface;Wherein,
Described first sub-interface, is connected for detecting whether set up with the second power supply unit;
Described second sub-interface, for providing electric power for the second power supply unit so that described second power supply unit is charged.
Electronic equipment the most according to claim 1, it is characterised in that
Described control unit, specifically for when described first testing result characterize by first power supply unit obtain electric power and Described second testing result characterizes when being connected with the second power supply unit foundation, generates the second control instruction, and described second controls to refer to Order obtains electric power for control by interface unit at described second power supply unit.
Electronic equipment the most according to claim 5, it is characterised in that described interface unit, at least includes: the first sub-interface And the 3rd sub-interface;Wherein,
Described first sub-interface, is connected for detecting whether set up with the second power supply unit;
Described 3rd sub-interface, for obtaining electric power at described second power supply unit.
7. a control method, is applied to electronic equipment, and described electronic equipment at least possesses the light that can be sent by light source The projecting cell that project content is projected on perspective plane, and by adaptation unit obtain electric power or, by second power supply Unit obtains electric power, and described method includes:
Detect whether to be set up by adaptation unit and the first power supply unit to connect, get the first testing result;
Detect whether to set up with the second power supply unit to be connected by interface unit, get the second testing result;Wherein, described One power supply unit is different from described second power supply unit, and the first power supply unit is the power supply unit possessing voltage conversion function;Institute Stating the second power supply unit is the power supply unit at least possessing electric power storage function;
Based on described first testing result and the second testing result, generate the control instruction for the second power supply unit.
Method the most according to claim 7, it is characterised in that based on described first testing result and the second detection knot Really, generate the control instruction for the second power supply unit, including:
Electric power and described second testing result sign is obtained by described first power supply unit when described first testing result characterizes Described with second power supply unit set up is connected time, generate the first control instruction, described first control instruction for control be described Second power supply unit is charged.
Method the most according to claim 8, it is characterised in that described be charged for described second power supply unit, including:
The electric power obtained at described first power supply unit carries out shunting the electric power obtained for charging, profit according to preset ratio It is that described second power supply unit is charged with the electric power for charging by interface unit.
Method the most according to claim 7, it is characterised in that based on described first testing result and the second detection knot Really, generate the control instruction for the second power supply unit, including:
When described first testing result characterize by first power supply unit obtain electric power and described second testing result characterize with Second power supply unit is set up when connecting, and generates the second control instruction, and described second control instruction passes through interface unit for control Electric power is obtained at described second power supply unit.
CN201610320386.3A 2016-05-13 2016-05-13 Electronic device and control method Pending CN106026353A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610320386.3A CN106026353A (en) 2016-05-13 2016-05-13 Electronic device and control method
US15/586,544 US10455202B2 (en) 2016-05-13 2017-05-04 Heat dissipating apparatus and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610320386.3A CN106026353A (en) 2016-05-13 2016-05-13 Electronic device and control method

Publications (1)

Publication Number Publication Date
CN106026353A true CN106026353A (en) 2016-10-12

Family

ID=57097143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610320386.3A Pending CN106026353A (en) 2016-05-13 2016-05-13 Electronic device and control method

Country Status (1)

Country Link
CN (1) CN106026353A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889335A (en) * 2019-02-22 2019-06-14 中国电子科技集团公司第三十研究所 Based on the random novel high safety optical link secret communication method for shunting encrypted transmission

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764395A (en) * 2010-01-14 2010-06-30 深圳市宏电技术股份有限公司 Low-voltage protection method for lead-acid battery and power management system
CN101943844A (en) * 2009-07-08 2011-01-12 深圳富泰宏精密工业有限公司 Multifunctional projector
JP2015164376A (en) * 2014-02-28 2015-09-10 株式会社Nttファシリティーズ Power supply system, power source supply device, power supply control method in power supply system, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101943844A (en) * 2009-07-08 2011-01-12 深圳富泰宏精密工业有限公司 Multifunctional projector
CN101764395A (en) * 2010-01-14 2010-06-30 深圳市宏电技术股份有限公司 Low-voltage protection method for lead-acid battery and power management system
JP2015164376A (en) * 2014-02-28 2015-09-10 株式会社Nttファシリティーズ Power supply system, power source supply device, power supply control method in power supply system, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889335A (en) * 2019-02-22 2019-06-14 中国电子科技集团公司第三十研究所 Based on the random novel high safety optical link secret communication method for shunting encrypted transmission
CN109889335B (en) * 2019-02-22 2021-07-09 中国电子科技集团公司第三十研究所 Novel high-safety optical link secret communication method based on random shunt encryption transmission

Similar Documents

Publication Publication Date Title
US8525484B2 (en) Charger and portable device having the same
ATE470189T1 (en) MEMORY COMMAND HANDLER FOR USE IN AN IMAGE SIGNAL PROCESSOR HAVING A DATA-DRIVEN ARCHITECTURE
EP3190599B1 (en) Charging method and device
CN204886215U (en) Portable power source rents terminal
CN102694542B (en) Signal isolation method, device and chip
Foster et al. The roles of haptic-ostensive referring expressions in cooperative, task-based human-robot dialogue
CN106026353A (en) Electronic device and control method
WO2017019360A1 (en) Systems and methods for enhancing system hold up time using reverse charging of power supply unit
CN106023990A (en) Speech control method and device based on projector equipment
US20130076299A1 (en) Charging device capable of automatically distributing charging current
US20110040423A1 (en) System and method for automatically determining temperature tolerance range
CN207799848U (en) A kind of Intelligent electric power job safety alarming device, system
CN110377471A (en) Generation method, device, storage medium and the electronic equipment of interface check data
CN1252892C (en) Intelligent battery charger
CN105891647A (en) Hardware-in-loop test system of battery charger
JP2009086724A (en) Electronic device
CN106464002A (en) Dc link voltage control
CN110838747B (en) Power supply control method of mobile power supply and mobile power supply
CN210074856U (en) Solar lock
CN107393080A (en) The electronic lock and express delivery cabinet system of a kind of express delivery cabinet
CN113124721A (en) Initiation device and method for electronic detonator and initiator
Hodgkinson Why appealing to the virtues of scientific theory (and method) is necessary but insufficient for effecting systemic change: Commentary on Fergnani & Chermack, 2021
CN111555353A (en) Distributed control method and device for micro-grid system and storage medium
CN105892201A (en) Projection equipment-based picture adjusting method and device
US20160161568A1 (en) Identification of a Unique Attribute of a Power Adapter Based on an Adjust Pin

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: 20161012