Summary of the invention
Technical scheme will solve or at least optimize the defect that current product exists, it is provided that one is more convenient for user and uses
Portable scene lamp, by the technical scheme shown in the embodiment of the present invention, can on this desktop scene lamp surface or other user
Seeing that position arranges any switch or regulation control key (such as button, knob etc.), user has only to this desktop scene lamp to appoint
What form is placed on (such as) desktop or any burnishing surface just can realize different electric functions, such as switch lamp, regulation
Lamp brightness or read clock etc..So, user just can manipulate this desktop scene lamp the most easily.
In order to realize these effects, the technical scheme is that a kind of portable scene lamp, its Curve guide impeller is to include:
Switching device, puts action for basis to the difference of this portable scene lamp and produces corresponding electric function control signal;And
The microprocessor (MCU) coupled with this switching device, for controlling to couple with this MCU according to these electric function control signals
The startup of electric function assembly.
Wherein, described switching device includes electrical contact chamber and is placed in the metal balls of this electrical contact intracavity, at this electrical contact
The inner surface in chamber lays multiple electric contact area, and described metal balls is according to the difference of this portable scene lamp being put action at weight
These electric contact area it are rolled into realize electrical contact and to encourage this electric contact area to produce electric function control signal under power effect.
In one embodiment, described electrical contact chamber is ball structure, and wherein the inner surface in this spherical electrical contact chamber is with ball
Heart symmetry lays multiple electric contact area.Such as, this ball structure has six electric contact area laid with centre of sphere symmetry, respectively
From six faces of the square configuration corresponding to this scene lamp.When user changes the putting position (such as upset) of the present embodiment scene lamp
Time, metal balls can be rolled in another electric contact area from an electric contact area under gravity.
For example, described switching device includes: reference circuit, for maintaining the first electricity produced in each electric contact area
Flat;And couple the exciting circuit of this reference circuit, for generation second electrical level after contact with above-mentioned metal balls, and should
Second electrical level is superimposed to the first level to produce above-mentioned electric function control signal to described MCU.
It addition, the present invention can provide a kind of indoor scene to control device, its Curve guide impeller is to include aforesaid portable scene lamp,
And the reception device that is arranged in this portable scene lamp and couples with described MCU and dispensing device, respectively for reception
External device data signal or to external equipment send control signal.
In one embodiment, described reception device and dispensing device are to use radio frequency connected mode.
It addition, the control method of a kind of indoor scene can be implemented by the portable scene lamp of the present invention, including: according to portable
The difference of formula scene lamp is put action and is produced corresponding electric function control signal;According to these electric function control signals control with
The startup of the electric function assembly that this MCU couples;And respond the startup of described electric function assembly to control external equipment,
Wherein said electric function assembly includes reception device and dispensing device, respectively for receiving external device data signal or outside
Portion's equipment sends control signal.
In one embodiment, the control method of described indoor scene also includes: by described switching device is produced second
Level is superimposed to the first level to produce above-mentioned electric function control signal.
Furthermore, it is understood that the control method of described indoor scene may also include that the electricity being received two adjacent generations by MCU
Airway dysfunction control signal, thus start dispensing device and receive device, receive external equipment by this reception device and dispensing device
Data signal or to external equipment send control signal;Or determined that by MCU the electric function of two adjacent generations controls
Signal is in a values, thus the dispensing device described in starting and reception device, by this reception device and transmission
Device receives external device data signal or sends control signal to external equipment.
Detailed description of the invention
" embodiment " quoted in this manual or " example " mean special characteristic, the structure in conjunction with the embodiments described
Or characteristic can be included at least one embodiment of the disclosure.Phrase " in one embodiment " in the description everybody
The appearance put is not necessarily all referring to same embodiment.
Generally speaking, the portable scene lamp shown in the embodiment of the present invention can include switching device, for according to these portable feelings
The difference of scape lamp is put action and is produced corresponding electric function control signal;And the MCU coupled with this switching device, for root
The startup of the electric function assembly coupled with this MCU is controlled according to these electric function control signals.
In specification and claims appended by the present invention, term can be used " to couple " and " coupling " and derivative words thereof.Technology
Personnel are it is to be understood that these terms are not intended as synonym each other." couple " for instruction each other can direct physical contact or
Electrical contact or can not direct physical contact or electrical contact two or more elements co-operate each other or interact." even
Connect " for representing the foundation of the communication between two or more elements coupled to each other.
Process step shown in the accompanying drawing appended by this specification is by including hardware (such as circuit, special logic chip unit
Deng), firmware (such as on fexible unit or special purpose machinery run) or both the processs logic execution of combination.Although below
Process is described, it is to be understood that some operations described can perform in different order according to some order operations.Additionally, some
Operation can be executed in parallel rather than be sequentially performed.
As used in this application, term " circuit ", " device " refer to following every whole: the electricity of (1) only hardware
Road embodiment (such as only to simulate and/or the embodiment of digital circuit equipment), and (2) circuit and software (and/or solid
Part) combination, such as (as being suitable for): the combination of (i) control circuit or (ii) control circuit/software (including Digital Signals circuit),
Software and the part of memorizer, its cooperation with cause such as mobile phone or server etc equipment perform various functions,
And the circuit of (3) such as micro-control circuit or micro-control circuit part etc, it needs the software for operation or firmware, i.e.
Software or firmware is made physically not to present.
The definition of " circuit " or " device " (is included in any claim) this term in this application be applicable to all
Use.Only one control circuit can also be contained (or many as another example (as used in this application) term " circuit "
Individual control circuit) or control circuit part and its (or they) attached software and/or the way of example of firmware.Term
" device " also can contain the collection that (if such as and requiring element be applicable to specific rights) is similar for mobile phone or server
Become the based band integrated circuit in circuit, cellular network device or other network equipments or application controls circuit integrated circuit.
Can refer to Fig. 3, specifically, described switching device can include electrical contact chamber 4 and be placed in this electrical contact chamber 4
Metal balls 42, the inner surface in this electrical contact chamber lays multiple electric contact area, and described metal balls is according to portable to this
The difference of scene lamp is put action and is rolled into these electric contact area under gravity to realize electrical contact and to encourage this electrical contact district
Territory produces electric function control signal.
According to Fig. 5 and 6, based on foregoing teachings, the control method of indoor scene can be implemented by the portable scene lamp of the present invention,
Including:
The difference of portable scene lamp 1 is put action and is produced corresponding electric function control signal by S100, basis;
S200, the startup of the electric function assembly coupled with this MCU 41 according to the control of these electric function control signals;And
S300, respond the startup of described electric function assembly to control external equipment, such as consumer electronics equipment.Wherein said electricity
Airway dysfunction assembly includes reception device and dispensing device, respectively for receiving external device data signal or sending to external equipment
Control signal.
In one embodiment, described method S100 also includes: by being superimposed to by the second electrical level that described switching device produces
First level is to produce above-mentioned electric function control signal.
Furthermore, it is understood that described method S100 may also include that the electric function control letter being received two adjacent generations by MCU
Number, thus start dispensing device and receive device, by this reception device and dispensing device receive external device data signal or to
External equipment sends control signal;Or determined that by MCU the electric function control signal of two adjacent generations is in one
In values, thus the dispensing device described in starting and reception device, receive outside by this reception device and dispensing device
Device data signal or to external equipment send control signal.
In the embodiment shown in fig. 4, electrical contact chamber 4 is spherical or generally ball structure, wherein in this electrical contact chamber
The inner surface of 4 lays multiple electric contact area with the centre of sphere (position overlapped with metal balls 42 in the diagram) symmetry.Such as,
This ball structure has six electric contact area laid with centre of sphere symmetry, respectively correspond tos six of square configuration of this scene lamp
Flat surface.When user changes putting position (upset shown in such as Fig. 1) of the present embodiment scene lamp, metal balls 42 can
It is rolled in another electric contact area from an electric contact area under gravity.
Specifically as a kind of modification, described switching device may also include that reference circuit, is used for maintaining each electric contact area
First level of upper generation;And couple the exciting circuit of this reference circuit, for generation after contact with above-mentioned metal balls the
Two level, and this second electrical level is superimposed to the first level to produce above-mentioned electric function control signal to MCU 41.
In an embodiment of the invention, reference circuit can mainly use impedor (such as resistance R shown in Fig. 3V) detect
Reference voltage V in the circuit loop of described switching deviceRV, in an example, this reference voltage VRVCan equal to or extremely
It is equivalent to described first level less.First level is used for passing to 41 1 benchmark identification signals of MCU, say, that normally
Under use state, according to this benchmark identification signal, MCU 41 determines that scene lamp is not moved or rotates.In another example,
Reference voltage UVCan also be scale operation value or the linear relationship value of this first level.
It is luminous that " use state " is understood to be the major function realizing scene lamp itself, such as lamp body 30.Certainly should
It is understood by, if the use state of this scene lamp is set as that other electric function is also feasible." use state " defines feelings
The original state of scape lamp.Such as, the use state of described scene lamp can also be the horizontal state shown in Fig. 2.
The circuit that above-mentioned exciting circuit can use impedor or multiple impedor to connect into equally realizes.Such as shown in Fig. 3
Divider resistance R1, R2, R3 and the R4 of concatenation, each divider resistance is in parallel conductive contact blade N1~N8, so, at this excitation electricity
On road, selected sample point 43 is to detect described second electrical level, and this second electrical level is superimposed to the first level to described MCU 41.Should
Working as understanding, each divider resistance at least results in the generation of an electric function control signal, and more divider resistance can also be current
Mode concatenates to exciting circuit, so can produce more electric function control signal.
In the example shown in Fig. 3, good contact is led in described by metal balls 42 when being freely rolled into each electric contact area
Electric contact point, so that the divider resistance short circuit in parallel with current conductive contact blade, so will produce different second at sample point 43
Level.In an example, in order to realize the good contact of conductive contact blade and metal balls, described electric contact area tool oriented sphere
The depressed part of projection outside face, thus effectively accommodate this metal balls 42, generally speaking, second electrical level VXCan meet:
Wherein RDRepresent divider resistance summation, RXRepresent this divider resistance being shorted, VCCRepresent supply voltage.Thus pass to
Electric function control signal V of MCU 41CMeet:
VC=VX-VRV (2)
Application Example 1:
Fig. 1 schematically depict a kind of structure and the use state of the portable scene lamp of the present invention.In the present example, these feelings
Scape light fixture has generally cylindrical structure, and is provided with mutually opposing and structure (such as manufacturing material or shape) identical end face 10 and the end
Face 20, undertakes for illumination or as the lamp body 30 of decorative light-source between end face 10 and bottom surface 20.Wherein on end face 10
Also can arrange the activate switch 11 for lamp body 30, user can connect lamp body after this activate switch 11 of (such as) Continued depression
The power supply of 30.It addition, also can be provided in bottom surface 20 lamp body 30 and lamp body internal electric functional unit (such as MCU
Deng) provide power supply battery case 21, or, present example may also include for for scene lamp provide power supply pedestal.At figure
Under this use state shown, when, after upset scene lamp, the power supply of lamp body 30 will be disconnected.
With reference to Fig. 3 and 4, in order to realize this effect, rolled by this metal balls 42 of above-mentioned electric contact area identification and produced
Second electrical level.In the present example, if scene lamp is in the use state shown in Fig. 1, then metal balls 42 is made at gravity
Stagnate under with in electric contact area 401, be the most now located at conductive contact blade N1 and N2 in this electric contact area 401 and metal
Ball 42 contacts thus realizes conducting.So, by resistance R1 short circuit, thus understand according to aforementioned expression (1) and (2):
Thus according to previous embodiment, this electric function control signal VCCan be expressed as " use state " by MCU 41.Need user
During the power supply of lamp body 30 to be closed, longitudinally 180 ° overturn these scene lamps, and so, metal balls 42 will be from opposite direction with T1
T2 direction vertically tumble to electric contact area 402 and contact conductive contact blade N3 and N4 therein, shown in comparison Fig. 3,
The resistance R2 in parallel with conductive contact blade N3 and N4 is shorted, now:
Then described MCU 41 is by according to this V producing changeCValue controls (such as) LED of lamp body 30 by control circuit 45
Granule D1 ..., the current supply circuit of Dn disconnects, it is also possible to arranges delay circuit in control circuit 45 and carrys out time delayed turn-off lamp body 30
Power supply VCC.
Application Example 2:
Other electric function in addition to illumination, such as electronic clock or alarm clock mode can be realized by above-mentioned scene lamp, so may be used
To extend the purposes of portable scene lamp.Such as under a kind of use state shown in Fig. 2, scene lamp, now can be by horizontal
Read clock information in display unit 31 on lamp body 30 sidewall.
In order to realize this effect, no matter scene lamp is in the use state shown in Fig. 1 or rollover states, and metal balls 42 is at weight
Stagnate under power effect in electric contact area 401 or 402, be the most now located at the conduction in this electric contact area 401 or 402 and touch
Sheet N1 with N2 or N3 with N4 contacts with metal balls 42 thus realizes conducting.Thus according to previous embodiment, this electric breathing exercise
Can control signal VCCan be expressed as " use state " by MCU 41.When user needs the clock status opening scene lamp, with
90 ° overturn this scene lamp, and so, metal balls 42 will tumble to electric contact area 403 to T3 or T4 (or T5) direction
Or in 404 and contact conductive contact blade N5 and N6 or N7 and N8 therein, shown in comparison Fig. 3, with electric contact area 403
As a example by, the resistance R3 in parallel with conductive contact blade N5 and N6 is shorted, now:
Then described MCU 41 is by according to this V producing changeCValue controls (such as) LED particle by control circuit 45
D1 ..., the transmitting power of Dn, thus time printed words can be projected on the outer surface (such as lampshade) of lamp body 30.Lampshade
Material can be the scattering material with specific function, thus can form the soft halation of display time on that exterior.In order to
Keeping the display to the time, described control circuit 45 also has timer circuit, for changing LED according to clock change
The projection printed words of grain.
Application Example 3:
User can also use scene lamp of the present invention to realize other function, such as, realize control or the wireless signal transmitting-receiving of indoor scene.
Such as, when user uses the time clock feature of previous embodiment, can turn over along the direction T shown in Fig. 2 along the longitudinal axis of scene lamp
Turn certain angle, such as 90 ° or 180 °, it might even be possible to be upset 360 °.So, this scene lamp can start indoor
The function of scene control.
In order to realize this effect, a kind of indoor scene controller can be designed, can identify that one continuously generates by MCU 41
Electric function control signal enters scenery control pattern.In the present example, if metal balls 42 is in electric contact area
When realizing the clock status of scene lamp in 403, overturning this scene lamp with 90 ° of T direction, so, metal balls 42 will be to T4
(or T5) direction tumbles to electric contact area 404 and contacts conductive contact blade N7 and N8 therein, shown in comparison Fig. 3, with
As a example by electric contact area 404, the resistance R4 in parallel with conductive contact blade N7 and N8 is shorted, now:
MCU 41 is configured to receive two electric function control signals V continuously generatedC1And VC2, thus start described sight
The dispensing device 46 of lamp and reception device 47, can receive external device data by this dispensing device 46 and reception device 47 and believe
Number or to external equipment send control signal.Or, judged that by MCU 41 electric function of two adjacent generations controls letter
Number VC1And VC2It is in a values, thus starts the dispensing device 46 of described scene lamp and receive device 47.
Fig. 5 has shown one family indoor application scene simply, and portable scene lamp 1 can be placed in the bedroom of user,
Such as facilitate on the bed table that user picks and places at any time, this indoor scene contains the electric equipment that user may need to control, example
Such as window 51, lamp affixed to the ceiling 52, desk lamp 53 or socket 54, wherein socket 54 can be used for providing electric power for user household electrical equipment.?
In one embodiment, scene lamp 1 can be utilized to connect by radio frequency (RF) mode and control in these electric equipments at least one.
Each electric equipment can arrange RF receptor, when user (such as) h.d. can not close these electric equipments successively, all
Such as lamp affixed to the ceiling 52 or window 51, and produce RF signal by changing put (the such as upset) of scene lamp 1, filled by transmission
Put the 46 RF receptors passing to arbitrary electric equipment, so, can unify to close in diagram scene after user go to bed these
Electric equipment.It addition, can again overturn scene lamp 1 to initial position, so, electric equipment when user (such as) gets up
To again be unlocked and recover the state closed to the last time.
Application Example 4:
According to the teaching of previous embodiment, a kind of signal receiving device can be designed, in indoor scene, user occurs it may be desirable to obtain
During the information obtained, user is pointed out.
In order to realize this effect, described reception device 47 is configured to wireless mode (such as Wi-Fi) and receives from outward
The cue of portion's equipment.Furthermore, it is understood that described MCU 41 is configured to start according to the cue received control electricity
Road 45 flashes to control lamp body 30.The mode of flicker can be intermittent light on and off, or produces the light of different color so that user
Learn that (such as) electric equipment is ready, or can also be the short message prompting from mobile phone.
Detailed description before also can represent according to the algorithm operating data bit in device memory and symbol and present
's.These arthmetic statements and expression are that the technical staff of data processing field is for most effectively to others skilled in the art
Pass on the instrument of the essence of their work.Algorithm is here usually seen as causing the behaviour of the coherent sequence of results needed
Make.These operations are those operations needing to carry out physical quantity physical manipulation.Generally (but being not necessarily to) these physical quantitys take energy
Enough signals of telecommunication being stored, transmit, combine, compare and otherwise handling or magnetic signal form.Primarily for general former
Cause, having proven to these signals are expressed as bit, value, element, symbol, character, item, numeral etc. is convenient sometimes.
Such as, technical staff can select divider resistance R according to the signal accuracy of identification of MCUXDesired value, in above-mentioned enforcement
In example, 10 Ω, the resistance combination configuration of 100 Ω, 1K Ω and 10K Ω, it is possible to use the mode of electric current carrys out identification value,
Technical staff can not also use the dividing potential drop mode shown in the embodiment of the present invention to judge electric function signal, it is possible to use other collection
Become circuit or the algorithm of software, or the two mode combined changes to the state judging scene lamp, but its principle all can be passed through
Embodiments of the invention reasonable prediction and amendment.
Process presented herein and display are not inherently related to any specific device or miscellaneous equipment.Various general-purpose systems are permissible
Can be proved to be convenient for the program according to teaching herein or structure more specialized apparatus to perform described operation.Root
Will be apparent from according to the structure needed for description below, these systems various.Additionally, the disclosure is rather than referring to any specific programming
Language describes.It is to be understood that various programming language can be used to realize the teaching of the disclosure as described herein.