Telepilot
Technical field
The present invention relates to a kind of telepilot that is used for electrical equipment control.
Background technology
Along with science and technology development, a lot of telepilots and household electrical appliance are more and more intelligent, hommization.
On the prior remote controller, arranging a lot of buttons (comprising numerical key, directionkeys and other button) or be provided with a distant bar, realizing selection menu through button or rocking bar.
The deficiency that this control mode exists is to make troubles in some cases user's use.Such as, under the dark situation of light,, then can produce maloperation because of not seeing keyboard; Perhaps, make troubles all can for user's use owing to age reason (for example child's hand is little, can not grip distant bar) can not well be controlled the telepilot that has rocking bar etc.
In addition, mostly prior remote controller is infrared transmission, and infrared transmission telepilot is aimed at by the object of remote control, and infrared transmission is unidirectional to telepilot and the angled requirement of remotely-controlled object.
Summary of the invention
The technical matters that the present invention will solve provides a kind of telepilot, can realize very easily menu option is controlled through just brandishing of space.
For solving the problems of the technologies described above, telepilot of the present invention comprises: 3-axis acceleration sensor, a microcontroller and a two dimension or a three-dimensional gyroscope; Wherein,
Said 3-axis acceleration sensor is connected with microcontroller, is used to gather the acceleration signal of X, Y and three axles of Z, and sends it to microcontroller;
Said microcontroller is connected with gyroscope, and the acceleration signal of acceleration transducer collection is analyzed, and when the value of acceleration signal was in preset scope, then this signal was effective; The signal that said gyroscope is gathered during with effective acceleration signal collection sends microprocessor to; Change by microprocessor; Convert it into angular acceleration signal by voltage signal, again this angular acceleration signal is carried out integration, obtain angle signal; Selection according to this angle signal judges is that " upper and lower, a left side or right " moved control, draw the user the direction that will control.
" upper and lower a, left side or right " that said telepilot will be selected moved control signal and sent the intelligent TV set with bluetooth module through bluetooth communication to.
Adopt telepilot of the present invention just can need select the menu of control operation very easily through brandish telepilot in the space, not only operation is very simple, and the crowd who is fit to is also very wide.Avoided the limitation that to select menu through button or rocking bar.
In addition, the present invention adopts bluetooth communication, and the signal of transmission can not receive the restriction of angle; And can stablize 7 bluetooth electric equipments of connection simultaneously, it is carried out remote control, realize a plurality of targets are controlled simultaneously.
Description of drawings
Below in conjunction with accompanying drawing and embodiment the present invention is done further detailed explanation:
Fig. 1 is a telepilot theory diagram of the present invention;
Fig. 2 is a telepilot control flow chart of the present invention;
Fig. 3 carries out the synoptic diagram that menu is selected;
Fig. 4 be the telepilot angle of brandishing with corresponding control direction between corresponding relation.
Embodiment
As shown in Figure 1, telepilot of the present invention comprises a two dimension or three-dimensional gyroscope, 3-axis acceleration sensor and a microcontroller.Telepilot of the present invention adopts bluetooth communication, and control contains the intelligent TV set of bluetooth module.If described gyroscope and acceleration transducer produce when being simulating signal; (said gyroscope and acceleration transducer can be analog need to carry out analog/digital signal conversion to signal; Also can be digital; Can also any be digital wherein, another be analog).
Said telepilot has game control and two kinds of function selecting controls of TV control.After the user is transformed into recreation or tv state with the function of telepilot, press " menu " key on the telepilot, can eject the one-level menu.In conjunction with shown in Figure 2, after the user brandished distant controller, said 3-axis acceleration sensor was gathered the acceleration signal of X, Y and three axles of Z, and sent it to microcontroller.Said microcontroller is analyzed acceleration signal, and when the value of acceleration signal was in preset scope, then this signal was effective.If the value of the acceleration signal of gathering, thinks then that this signal is because the shake of user's hand produces less than preset scope; If the value of the acceleration signal of gathering, is then thought the excessive generation owing to the user brandishes of this signal greater than preset scope, the signal of gathering under above-mentioned two kinds of situation all is regarded as maloperation, belongs to invalid signals, does not deal with.
Said gyroscope will send microprocessor to the signal of being gathered during the effective acceleration signal collection; Change by microprocessor; Convert it into angular acceleration signal by voltage signal, again this angular acceleration signal is carried out integration, obtain angle signal; Selection according to this angle signal judges is that " upper and lower, a left side or right " moved control, draw the user the direction that will control.
For example, when the gyroscope angle value is in 225 °~315 ° scopes in the plane of X, Y axle (the Z axle can be arbitrarily angled), then think to brandish downwards.Combine shown in Figure 3 again; When the one-level menu also has second-level menu down; Like " image " second-level menu is arranged; Then brandish handle to the right, the acceleration signal value that collects when acceleration transducer is within effective range, and microprocessor then thinks that the second-level menu of " image " selected through changing the angle signal that finally obtains in 0 °~45 ° or 315 °~360 ° scopes (the Z axle can be arbitrarily angled) time with the signal of gyroscope collection.Can select the multilayer submenu by that analogy, when choosing other sub-menu option of lowermost level, press " affirmation " key on the telepilot; Completion is to the selection of menu option.
Shown in Figure 4 be telepilot is brandished in one embodiment of the invention angle with corresponding control direction between corresponding relation (all digital units are " degree " among the figure).0 °~45 ° or 315 °~360 ° are control to the right, and 45 °~135 ° are upwards control, and 135 °~225 ° are control left, and 225 °~315 ° is control (the Z axle all can be arbitrarily angled) downwards.
Said telepilot has game control and two kinds of function selecting controls of TV control, that is to say that this telepilot both can be used as game paddle and use, and also can be used as common remote controller.No matter telepilot can carry out the selection of menu item through brandishing telepilot at the game control state or under the TV state of a control.
Said telepilot is realized the information communication between telepilot and the televisor through Bluetooth protocol.The game control of said telepilot and two kinds of function conversion requests of TV control can be filed an application by telepilot or any side of televisor, to the request of the other side's sending function conversion.
The content of request is divided two kinds: a kind of is the request that connects, and another kind is the request of said function conversion.The concrete process that realizes is: the televisor that has a bluetooth module sends application (this request is the form of packet, the relevant informations such as content that will ask comprising it) to telepilot, and telepilot is received and asked to provide to reply, thus opening relationships.And this request also can be sent by telepilot, and televisor provides replys, thus opening relationships.It should be noted that: connect earlier, relevant function conversion just can be arranged then.And the process that this two step realizes is the same, all is that either party sends request, and an other side provides the process of replying.This two-way function conversion is selected, and obviously is superior to the unidirectional control of infrared transmission.
More than, the present invention has been carried out detailed explanation, but protection scope of the present invention is not limited to described embodiment through embodiment.Under the situation that does not break away from the principle of the invention, those skilled in the art also can make many distortion and improvement, and these also should be regarded as protection scope of the present invention.