Summary of the invention
In view of this, the invention provides a kind of intelligent wireless method for sensing, Apparatus and system, can be simply, intelligence, high precision finishes the processing of data and transmission.
The embodiment of the invention provides a kind of intelligent wireless method for sensing, comprising:
Obtain motion trace data;
In predefined maneuver library, obtain and the corresponding command word of described motion trace data according to described motion trace data;
Described command word is sent to the opposite end receiving trap, so that described opposite end receiving trap carries out the control corresponding operation according to described command word.
Accordingly, the embodiment of the invention provides a kind of intelligent wireless sensing apparatus, comprising:
Sensor is used to obtain motion trace data;
Execution module, the motion trace data that is used for obtaining according to described sensor obtains and the corresponding command word of described motion trace data at predefined maneuver library;
Sending module is used for the command word that described execution module obtains is sent to the opposite end receiving trap, so that described opposite end receiving trap carries out the control corresponding operation according to described command word.
Accordingly, the embodiment of the invention also provides a kind of opposite end receiving trap, comprising:
Receiver module is used to receive command word;
Control module, the command word that is used for receiving according to described receiver module are carried out the control corresponding operation.
Accordingly, the embodiment of the invention provides a kind of intelligent wireless sensing system, comprises intelligent wireless sensing apparatus and opposite end receiving trap, wherein,
Described intelligent wireless sensing apparatus is used to obtain motion trace data, according to described motion trace data, obtains and the corresponding command word of described motion trace data in predefined maneuver library, and described command word is sent to described opposite end receiving trap;
Described opposite end receiving trap is used to receive the command word that described intelligent wireless sensing apparatus sends, and carries out the control corresponding operation according to described command word.
The present invention carries out computing completely by the intelligent wireless sensing apparatus that comprises sensor to the motion trace data that sensor senses, solution is because of the interference obliterated data in the wireless transmission, cause precise decreasing even imponderable problem, in addition, the motion indication information that obtains after calculating is sent to the opposite end receiving trap in the mode of command word, because command word is little more a lot of than the raw data of motion trace data, can reduce dependence to the short-distance wireless transfer bandwidth, can improve noise immunity, reduce power consumption.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is that the structure of the intelligent wireless sensing system of the embodiment of the invention is formed synoptic diagram, and as shown in Figure 1, this intelligent wireless sensing system comprises: intelligent wireless sensing apparatus 10, and opposite end receiving trap 20, wherein:
Described intelligent wireless sensing apparatus 10, be used to obtain motion trace data, according to described motion trace data, in predefined maneuver library, search and the corresponding command word of described motion trace data, and described command word is sent to described opposite end receiving trap 20.
Described opposite end receiving trap 20 is used to receive the command word that described intelligent wireless sensing apparatus 10 sends, and carries out the control corresponding operation according to described command word.In the specific implementation, described opposite end receiving trap 20 is according to the command word that receives, judge the action indication information of described command word representative, pass through interface then, as Serial Peripheral Interface (SPI) (Serial Peripheral Interface, SPI), USB (universal serial bus) (Universal Serial BUS, USB), infrared ray etc., be sent to other devices as on the computer, to carry out corresponding motion control operation, for example in game process, when opposite end receiving trap 20 receives the pairing command word of action indication information of brandishing arm, just do the motion of brandishing arm according to described command word control Mission Objective.
Further, Fig. 2 is that the structure of the intelligent wireless sensing apparatus of the embodiment of the invention is formed synoptic diagram, and as shown in Figure 2, described intelligent wireless sensing apparatus 10 comprises: sensor 11, and execution module 12, sending module 13, wherein:
Described sensor 11 is used to obtain motion trace data.In the specific implementation, described sensor 11 can be one-dimensional or three-dimensional sensor, as acceleration transducer, gyroscope, magnetometer, barometer etc., can use one or more sensor to be used to obtain motion trace data.The motion trace data that described sensor 11 obtains can be the three-dimensional data of acceleration transducer, gyrostatic three-dimensional data, in the data that the three-dimensional data of magnetometer, barometer sense one or more, for example, the three-dimensional data of acceleration comprises: the accekeration on X-axis (left and right directions), Y-axis (fore-and-aft direction), three directions of Z axle (above-below direction), and time value.
Described execution module 12 links to each other with described sensor 11, is used for the motion trace data obtained according to described sensor 11, searches in predefined maneuver library and the corresponding command word of described motion trace data.In the specific implementation, described execution module 12 can be a chip, the algorithm of track following and human motion and the maneuver library that sets in advance etc. all are integrated in the described chip, and described algorithm and described maneuver library can upgrade as required, so that better carry out the calculating of motion trace data, finish control operation.After described chip gets access to motion trace data, carrying out track following according to described motion trace data calculates, to obtain the action indication information, described action indication information is represented the action implication of the motion trace data of each action, for example, when brandishing arm, three direction vector (X-axis of three dimension acceleration sensor, Y-axis, the Z axle) can sense three accekerations, by three accekerations that sense, Time Calculation goes out initial velocity, terminal velocity, thereby calculate the three dimensional space coordinate of present arm, parameters such as movement velocity, to determine the action indication information for brandishing arm, last according to described action indication information in described default maneuver library, find and the corresponding command word of described action indication information.
Described sending module 13 is used for sending the command word that described execution module 12 finds to described opposite end receiving trap 20.Described sending module 13 sends to described opposite end receiving trap 20 by wireless transmission method with command word.
The sensor 11, execution module 12, sending module 13 can integrated modules, also can cooperate with outside other elements, constitute a complete device.
Wherein, as shown in Figure 2, described execution module 12 comprises: computing unit 121 and search unit 122.Wherein:
Described computing unit 121 is used to calculate described motion trace data to obtain the action indication information;
The described unit 122 of searching is used for searching and the corresponding command word of described action indication information at predefined maneuver library according to described action indication information.
Further, Fig. 3 is that the structure of the opposite end receiving trap of the embodiment of the invention is formed synoptic diagram, and as shown in Figure 3, described opposite end receiving trap 20 comprises: receiver module 21, and control module 22, wherein:
Described receiver module 21 is used to receive the command word that described intelligent wireless sensing apparatus 10 sends.
Described control module 22 is used for the command word that receives according to described receiver module, carries out the control corresponding operation.In the specific implementation, described control module 22 is judged the action indication information of described command word representative earlier, then by interface, as SPI, USB, infrared ray etc., is sent to other devices as on the computer, to carry out corresponding motion control operation.
Wherein, described control module 22 comprises: recognition unit 221, and control execution unit 222, wherein: described recognition unit 221 is used for identifying the action indication information according to the command word that described receiver module receives; Described control execution unit 222 is used for carrying out the control corresponding operation according to described action indication information.
Description by the foregoing description, the present invention has the following advantages: the intelligent wireless sensing apparatus carries out computing completely to the motion trace data that sensor senses, solution is because of the interference obliterated data in the wireless transmission, cause precise decreasing even imponderable problem, in addition, the motion indication information that obtains after calculating is sent to the opposite end receiving trap in the mode of command word, because command word is little more a lot of than the raw data of motion trace data, can reduce dependence to the short-distance wireless transfer bandwidth, can improve noise immunity, reduce power consumption.
In addition, the intelligent wireless sensing apparatus can also upgrade by wired or wireless mode, upgrade the track following, action recognition algorithm and the maneuver library that are integrated in the chip, thereby can bring in constant renewal in according to demand.Simultaneously, because the intelligent wireless sensing apparatus is together integrated with a plurality of sensors, makes the intelligent wireless sensing apparatus can be used as general sensing apparatus and be applied to different action sensing technical fields.
The situation that among the following embodiment intelligent wireless sensing system of the present invention is used for rehabilitation test is elaborated, with reference to figure 4, this intelligent wireless sensing system that is used for the rehabilitation test comprises: intelligent wireless sensing apparatus 10, and opposite end receiving trap 20 and computer counter 30, wherein:
After described intelligent wireless sensing apparatus 10 is mixed watchband, can be worn on patient's wrist, when the patient carries out restorative raising one's hand during action, acceleration transducer in the described intelligent wireless sensing apparatus 10 obtains the patient and does when raising one's hand motion, accekeration on X-axis (left and right directions), Y-axis (fore-and-aft direction), three directions of Z axle (above-below direction), time value, gyroscope provides magnitude of angular velocity.Execution module 12 in the described intelligent wireless sensing apparatus 10 provides the three-dimensional acceleration data according to described acceleration transducer, the magnitude of angular velocity that time and gyroscope provide, calculate the residing three dimensional space coordinate of patient's arm, movement velocity, parameters such as orientation angles, judge the current action indication information of patient for raising one's hand, according to the This move indication information of raising one's hand, described execution module 12 is searched and is obtained in the maneuver library that sets in advance and the described corresponding command word of action indication information of raising one's hand, wherein, with the described corresponding command word of action indication information of raising one's hand, can when being set, maneuver library be set at binary numeral 1011.After the command word 1011 that obtains described action indication information correspondence of raising one's hand, the sending module 13 in the described intelligent wireless sensing apparatus 10 only needs described binary numeral 1011 is sent to described opposite end receiving trap 20 by wireless transmission method.
Described opposite end receiving trap 20 can be put in the clinic, and the one end can be connected with computer counter 30 by USB interface.Receiver module 21 in the described opposite end receiving trap 20 receives binary numeral 1011, the command word 1011 that control module 22 in the while described opposite end receiving trap 20 receives according to described receiver module 21, what judge command word 1011 representatives is the This move indication information of raising one's hand, and the numerical value that then described control module 22 is controlled described computer counter 30 by USB interface adds 1.
When the patient raises one's hand when action next time, described intelligent wireless sensing apparatus 10 and described opposite end receiving trap 20 repeat the above-mentioned course of work, described computer counter 30 numeral that adds up.When the patient finally stopped to move, the numerical value of described computer counter 30 was the number of times that the patient raises one's hand, and the related personnel can judge patient's recovery situation according to the change situation of numerical value.
Description by the foregoing description, the present invention has the following advantages: the patient that the intelligent wireless sensing apparatus senses sensor does the motion trace data of the motion of raising one's hand and carries out computing completely, the motion trace data of having avoided the patient is because of the interference obliterated data in the wireless transmission, cause precise decreasing even can't calculate, in addition, with the mode of this motion indication information of raising one's hand that obtains after calculating with command word, send to the opposite end receiving trap by sending module, because the original motion track data of raising one's hand that the command word ratio sensor senses is little a lot, the bandwidth that has reduced the short-distance wireless device relies on, can promote noise immunity once again, reduce power consumption, realize accurate collection patient's rehabilitation data.
Fig. 5 is the schematic flow sheet of first embodiment of the intelligent wireless method for sensing of the embodiment of the invention, and as shown in Figure 5, this intelligent wireless method for sensing comprises:
S201: obtain motion trace data.Up-to-date sensor at present can be used,, one or more can be comprised as acceleration transducer, gyroscope, magnetometer, barometer etc.Can obtain motion trace data such as motion track information by sensor, for example use acceleration transducer, can sense on three direction vectors, and about, accekeration and time value on the front and back, vertical direction.
S202:, in predefined maneuver library, search and the corresponding command word of described motion trace data according to described motion trace data.Described maneuver library comprise the action indication information and with the corresponding command word of described action indication information.Described action indication information is the predefined action implication that is used to represent the motion trace data of each action.Described command word can be a binary code distributing for the action indication information of each action, and perhaps similar code is used to control corresponding apparatus work.For example, to this action implication of shaking the head from left to right, the action indication information of setting is: shake the head from left to right, give 1001 as command word to this action indication information then.Target is carried out left-to-right when shaking the head This move, acceleration transducer, gyroscope etc. can sense the three-dimensional acceleration value, magnitude of angular velocity, time value etc., by these motion trace data that senses, what can identify that target carries out is the This move indication information of shaking the head from left to right, can find corresponding command word 1001 then.In practical operation, the also motion trace data that can sense according to sensor, counting statistics goes out the action indication information of all kinds of actions, so that the maneuver library in the intelligent wireless sensing apparatus is upgraded.
S203: described command word is sent to the opposite end receiving trap, so that described opposite end receiving trap carries out the control corresponding operation according to described command word.Described command word is sent to the opposite end receiving trap by wireless transmission method, and the opposite end receiving trap carries out corresponding as control operations such as warning, demonstration according to described command word.
Description by the foregoing description, the present invention has the following advantages, the motion trace data that senses is carried out computing, pass through Wireless transmission mode, form with simple command word sends to the opposite end receiving trap, and the opposite end receiving trap need not to carry out repetition and complicated calculating again, just can directly use command word to do relevant control, avoided situation, reduced the bandwidth of wireless short-distance transmitting device is relied on because of the wireless transmission obliterated data.Simultaneously, because the intelligent wireless sensing apparatus is together integrated with a plurality of sensors, makes the intelligent wireless sensing apparatus can be used as general sensing apparatus and be applied to different action sensing technical fields.
Fig. 6 is the schematic flow sheet of second embodiment of the intelligent wireless method for sensing of the embodiment of the invention, and as shown in Figure 6, this intelligent wireless method for sensing comprises:
S301: maneuver library is set.Described maneuver library comprise the action indication information and with the corresponding command word of described action indication information.Described action indication information is the predefined action implication that is used to represent the motion trace data of each action.Described command word can be a binary code distributing for the action indication information of each action, and perhaps similar code is used to control corresponding apparatus work.For example, to this action implication of shaking the head from left to right, the action indication information of setting is: shake the head from left to right, give 1001 as command word to this action indication information then.
S302: obtain motion trace data.Can use up-to-date sensor at present: one or more in the sensor of various one-dimensionals or multidimensional.Can sense the data that need by these sensors, for example, use acceleration transducer, gyroscope, magnetometer, barometer then can obtain the three-dimensional data of acceleration respectively, gyrostatic three-dimensional data, the three-dimensional data of magnetometer, the data that barometer senses.Wherein, the three-dimensional data of acceleration comprises: the accekeration on X-axis (left and right directions), Y-axis (fore-and-aft direction), three directions of Z axle (above-below direction), and time value.
S303: calculate described motion trace data to obtain the action indication information.Calculate the action indication information of representing the action implication of current motion trace data with acquisition according to motion trace data.In the specific implementation, the algorithm of track following and human motion all can be integrated in the chip of intelligent wireless sensing apparatus, to carry out data computing.For example, when using three dimension acceleration sensor to sense the motion trace data of brandishing arm, three dimension acceleration sensor can three accekerations of perception at three direction vectors (about X, Y, Z representative, front and back, vertical direction), by three accekerations and the time of detecting, calculate initial velocity, terminal velocity, thereby calculate the parameters such as three dimensional space coordinate, movement velocity, orientation angles of each time point last arm, to determine the action indication information for brandishing arm.
S304:, in predefined maneuver library, search and the corresponding command word of described action indication information according to described action indication information.
S305: described command word is sent to the opposite end receiving trap, so that described opposite end receiving trap carries out the control corresponding operation according to described command word.After the opposite end receiving trap receives command word, judge the action indication information of described command word representative, pass through interface then, as SPI, USB, infrared ray etc., be sent to other devices as on the computer, to carry out corresponding motion control operation, for example in game process, when the opposite end receiving trap receives the pairing command word 1001 of the action indication information of brandishing arm, just do the motion of brandishing arm according to described command word 1001 control Mission Objectives.
Description by the foregoing description, the present invention has the following advantages, the intelligent wireless sensing apparatus carries out computing completely with the motion trace data that all sensors sense at intelligent wireless sensing apparatus end, the direct like this motion trace data to sensor is calculated, avoided causing precise decreasing even imponderable problem because of the interference obliterated data in the wireless transmission; In addition, by wireless mode, form with simple command word sends to the opposite end receiving trap, the opposite end receiving trap need not to carry out repetition and complicated calculating again, just can directly use command word to do relevant control, because command word ratio sensor raw data is little a lot, the bandwidth that can reduce the short-distance wireless device relies on, can promote noise immunity, reduce power consumption.And the intelligent wireless sensing apparatus can also upgrade by wired or wireless mode, upgrade and be integrated in inner track following, action recognition algorithm and maneuver library, thereby can bring in constant renewal in according to demand.Simultaneously, because the intelligent wireless sensing apparatus is together integrated with a plurality of sensors, makes the intelligent wireless sensing apparatus can be used as general sensing apparatus and be applied to different action sensing technical fields.
Above disclosed only is preferred embodiment of the present invention, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that invention is contained.