Electronic installation, wireless senser and its power regulating method
The present invention is Application No.:201610037279.X, the applying date is:20 days on the 1st 2016, entitled " electricity
The divisional application of sub-device, wireless senser and its power regulating method ".
Technical field
The present invention relates to sensor, more particularly to a kind of wireless senser, the electronic installation with wireless senser and nothing
The power regulating method of line sensor.
Background technology
It is presently used for sensing related data and wirelessly sends the data sensed to processing unit etc.
Wireless senser is widely used.There is certain contradiction in the power consumption and transmission stability of current wireless senser.That is, if
In order to extend use time, power consumption is reduced, then needs to reduce the transmission power of wireless senser, but in actual environment exist each
Interference is planted, such as wireless senser transmitting terminal and receiving terminal are close to human body, and with human motion, and human body is blocked to wireless signal
Attenuation degree be continually changing, current WiFi with 3G/4G base stations are different in the signal intensity of various different zones in addition, are also pair
In the variable interference source of wireless sensor signal.So cause to ensure that wireless sensor data is not lost, it is certain having
Also stable transmission is realized under disturbed condition, then needs to increase the transmission power of wireless senser.Therefore, how wireless sensing is taken into account
The reduction of the power consumption of device and stability are one the problem of make us puzzlement.
At present, solve this problem and generally use two methods:The first is to try to turn down transmission power, can not connected
It is data cached local when connecing.But the problem of this method, is that such sensor is not just real-time online real-time transmission data
, the delay of data is obtained than larger, if the time of caching is long in addition, is likely to result in cache overflow loss of data, and
And the time consumed in concentration of transmissions is also long.Second method is the feelings according to received signal quality and loss of data
Condition, dynamic adjustment transmission power, can so obtain the balance of relatively good power consumption and stability in general.But the
Two kinds of methods are a kind of modes adjusted afterwards, there is certain delay, in the time window of delay, still may there is a large amount of numbers
According to loss.If wireless senser transmitting terminal and receiving terminal be geo-stationary in stable environment, second method can take
Relatively good result is obtained, but if sensor is in persistent movement, data are likely to result in using second method on the contrary
Lose the waste with the energy.Therefore, existing method not can solve the power consumption and stability contradiction of wireless senser
The problem of.
The content of the invention
The present invention provides a kind of electronic installation, wireless senser and its power regulating method, can ensure to be wirelessly transferred surely
While qualitative, the power of wireless senser is reduced.
A kind of wireless senser, including wireless transceiver, motion detecting unit and control unit are provided.The wireless sensing
Device is used to send wireless signal to receiving end device by wireless transceiver.The motion detecting unit is used for detecting wireless sensor
Exercise index.The control unit is connected between motion detecting unit and wireless transceiver, for obtaining motion detecting unit
The exercise index of detecting and the signal intensity of wireless signal, and according to the exercise index got and the wireless communication got
Number signal intensity adjust wireless transceiver transmission power, wherein, described control unit obtain wireless signal signal it is strong
Spend the signal intensity of the signal intensity for the wireless signal launched for wireless transceiver or the wireless signal of receiving end device reception.
Wherein, described control unit determines wireless senser for inactive state still according to the exercise index of wireless senser
Motion state, and when it is determined that wireless senser is inactive state, control is using the strategy of reduction transmission power to wireless sensing
The transmission power of device is adjusted, and when it is determined that wireless senser is motion state, control is using raising transmission power
The transmission power of wireless senser is adjusted strategy.
Wherein, described control unit detects the motion detecting unit exercise index and a upper limit threshold and a lower limit
Threshold value is compared, when compare the exercise index less than the lower threshold when, determine wireless senser be inactive state, when than
When being more than the upper limit threshold compared with the exercise index, it is motion state to determine wireless senser;Or described control unit transports this
The exercise index of dynamic detecting unit detecting is compared with predetermined threshold value, is less than or equal to the default threshold when comparing the exercise index
During value, it is inactive state to determine wireless senser, when comparing the exercise index more than the predetermined threshold value, determines wireless senser
For motion state.
Wherein, bag is adjusted to the transmission power of wireless senser using the strategy of reduction transmission power in the control
Include:The letter of the wireless signal of signal intensity or the wireless transceiver transmitting for the wireless signal that control unit receives receiving end device
Number intensity is compared with spacing wave intensity threshold lower limit and the spacing wave intensity threshold upper limit, when comparing wireless signal
When signal intensity is less than the spacing wave intensity threshold lower limit, the transmission power of control increase wireless senser;Work as control unit
When the signal intensity for comparing wireless signal is more than the spacing wave intensity threshold upper limit, control reduces transmission power;The control
Using the strategy for improving transmission power the transmission power of wireless senser is adjusted including:Control unit is by receiving end device
The signal intensity and motor message intensity threshold of the wireless signal of signal intensity or the wireless transceiver transmitting of the wireless signal of reception
Value lower limit and the motor message intensity threshold upper limit are compared, when the signal intensity for comparing wireless signal is less than the motor message
During intensity threshold lower limit, control increase transmission power, when the signal intensity for comparing wireless signal is more than the motor message intensity threshold
When being worth the upper limit, control reduces transmission power.
Wherein, under the strategy using reduction transmission power, when control unit compares the wireless communication of receiving end device reception
Number signal intensity be less than the spacing wave intensity threshold lower limit when, control transmission power is incrementally increased with first step footpath Δ p1,
When the signal intensity that the control unit compares the wireless signal of receiving end device reception is more than on the spacing wave intensity threshold
In limited time, control progressively reduces transmission power with second step footpath Δ p2;Using improving under the strategy of transmission power, control unit exists
When the signal intensity for comparing the wireless signal of receiving end device reception is less than the motor message intensity threshold lower limit, control with the 3rd
Step footpath Δ p3 incrementally increases transmission power, and when the signal intensity for the wireless signal for comparing receiving end device reception is more than the fortune
During the dynamic signal strength threshold upper limit, control progressively reduces transmission power with the 4th step footpath Δ p4.
Wherein, the first step footpath Δ p1=B | s-Smin |, second step footpath Δ p2=B | s-Smax |, the 3rd step footpath
Δ p3=B | s-Ymin |, the 4th step footpath Δ p4=B | s-Ymax |, wherein, B is fixed coefficient, and s is what wireless transceiver was launched
The signal intensity of wireless signal, Smin is spacing wave intensity threshold lower limit, and Smax is the spacing wave intensity threshold upper limit, Ymin
For motor message intensity threshold lower limit, Ymax is the motor message intensity threshold upper limit.
Wherein, under the strategy using reduction transmission power, when described control unit compares the nothing of wireless transceiver transmitting
The signal intensity of line signal is less than the spacing wave intensity threshold lower limit or compares the wireless signal of wireless transceiver transmitting
When signal intensity is more than the spacing wave intensity threshold upper limit, control, which adjusts the transmission power of wireless senser to first, to be preset
Scope, wherein, the first preset range is less than the spacing wave intensity threshold upper limit and more than the spacing wave intensity threshold lower limit;
Under the strategy using raising transmission power, when the signal intensity that control unit compares the wireless signal of wireless transceiver transmitting is small
In the motor message intensity threshold lower limit or during more than the motor message intensity threshold upper limit, control is by transmission power adjustment to the
Two preset ranges, wherein, second preset range is less than the motor message intensity threshold upper limit and more than the motor message intensity
Bottom threshold.
Wherein, described control unit and by the wireless transceiver send one ask receiving end device report that oneself is received
Signal intensity request signal to receiving end device, and by the wireless transceiver receive the receiving end device return include
The signal of signal strength information, so as to obtain the signal intensity of the wireless signal of receiving end device reception.
Wherein, the motion detecting unit is inertial sensor, for the acceleration of detecting wireless sensor, the motion
Index is acceleration magnitude, and described control unit judges that the acceleration of wireless senser is less than lower threshold always within a period of time
Or during the predetermined threshold value, judge that wireless senser remains static, and judge the acceleration of wireless senser more than upper
When limiting threshold value or the predetermined threshold value, judge that wireless senser is kept in motion.
Wherein, the inertial sensor is accelerometer.
A kind of electronic installation, including wireless senser, the wireless senser include wireless transceiver, motion detecting unit with
And control unit.The wireless senser is used to send wireless signal to receiving end device by wireless transceiver.The motion detecting
Unit is used for the exercise index of detecting wireless sensor.The control unit be connected to motion detecting unit and wireless transceiver it
Between, for obtaining the exercise index of motion detecting unit detecting and the signal intensity of wireless signal, and according to the fortune got
The signal intensity of dynamic index and the wireless signal got adjusts the transmission power of wireless transceiver, wherein, the control is single
The signal intensity or receiving end device for the wireless signal that the signal intensity for the wireless signal that member is obtained is launched for wireless transceiver connect
The signal intensity of the wireless signal of receipts.
Wherein, described control unit determines wireless senser for inactive state still according to the exercise index of wireless senser
Motion state, and when it is determined that wireless senser is inactive state, control is using the strategy of reduction transmission power to wireless sensing
The transmission power of device is adjusted, and when it is determined that wireless senser is motion state, control is using raising transmission power
The transmission power of wireless senser is adjusted strategy.
Wherein, described control unit detects the motion detecting unit exercise index and a upper limit threshold and a lower limit
Threshold value is compared, when compare the exercise index less than the lower threshold when, determine wireless senser be inactive state, when than
When being more than the upper limit threshold compared with the exercise index, it is motion state to determine wireless senser;Or described control unit transports this
The exercise index of dynamic detecting unit detecting is compared with predetermined threshold value, is less than or equal to the default threshold when comparing the exercise index
During value, it is inactive state to determine wireless senser, when comparing the exercise index more than the predetermined threshold value, determines wireless senser
For motion state.
Wherein, bag is adjusted to the transmission power of wireless senser using the strategy of reduction transmission power in the control
Include:The letter of the wireless signal of signal intensity or the wireless transceiver transmitting for the wireless signal that control unit receives receiving end device
Number intensity is compared with spacing wave intensity threshold lower limit and the spacing wave intensity threshold upper limit, when comparing wireless signal
When signal intensity is less than the spacing wave intensity threshold lower limit, the transmission power of control increase wireless senser;Work as control unit
When the signal intensity for comparing wireless signal is more than the spacing wave intensity threshold upper limit, control reduces transmission power;The control
Using the strategy for improving transmission power the transmission power of wireless senser is adjusted including:Control unit is by receiving end device
The signal intensity and motor message intensity threshold of the wireless signal of signal intensity or the wireless transceiver transmitting of the wireless signal of reception
Value lower limit and the motor message intensity threshold upper limit are compared, when the signal intensity for comparing wireless signal is less than the motor message
During intensity threshold lower limit, control increase transmission power, when the signal intensity for comparing wireless signal is more than the motor message intensity threshold
When being worth the upper limit, control reduces transmission power.
Wherein, under the strategy using reduction transmission power, when control unit compares the wireless communication of receiving end device reception
Number signal intensity be less than the spacing wave intensity threshold lower limit when, control transmission power is incrementally increased with first step footpath Δ p1,
When the signal intensity that the control unit compares the wireless signal of receiving end device reception is more than on the spacing wave intensity threshold
In limited time, control progressively reduces transmission power with second step footpath Δ p2;Using improving under the strategy of transmission power, control unit exists
When the signal intensity for comparing the wireless signal of receiving end device reception is less than the motor message intensity threshold lower limit, control with the 3rd
Step footpath Δ p3 incrementally increases transmission power, and when the signal intensity for the wireless signal for comparing receiving end device reception is more than the fortune
During the dynamic signal strength threshold upper limit, control progressively reduces transmission power with the 4th step footpath Δ p4.
Wherein, the first step footpath Δ p1=B | s-Smin |, second step footpath Δ p2=B | s-Smax |, the 3rd step footpath
Δ p3=B | s-Ymin |, the 4th step footpath Δ p4=B | s-Ymax |, wherein, B is fixed coefficient, and s is what wireless transceiver was launched
The signal intensity of wireless signal, Smin is spacing wave intensity threshold lower limit, and Smax is the spacing wave intensity threshold upper limit, Ymin
For motor message intensity threshold lower limit, Ymax is the motor message intensity threshold upper limit.
Wherein, under the strategy using reduction transmission power, when described control unit compares the nothing of wireless transceiver transmitting
The signal intensity of line signal is less than the spacing wave intensity threshold lower limit or compares the wireless signal of wireless transceiver transmitting
When signal intensity is more than the spacing wave intensity threshold upper limit, control, which adjusts the transmission power of wireless senser to first, to be preset
Scope, wherein, the first preset range is less than the spacing wave intensity threshold upper limit and more than the spacing wave intensity threshold lower limit;
Under the strategy using raising transmission power, when the signal intensity that control unit compares the wireless signal of wireless transceiver transmitting is small
In the motor message intensity threshold lower limit or during more than the motor message intensity threshold upper limit, control is by transmission power adjustment to the
Two preset ranges, wherein, second preset range is less than the motor message intensity threshold upper limit and more than the motor message intensity
Bottom threshold.
Wherein, described control unit and by the wireless transceiver send one ask receiving end device report that oneself is received
Signal intensity request signal to receiving end device, and by the wireless transceiver receive the receiving end device return include
The signal of signal strength information, so as to obtain the signal intensity of the wireless signal of receiving end device reception.
Wherein, the motion detecting unit is inertial sensor, for the acceleration of detecting wireless sensor, the motion
Index is acceleration magnitude, and described control unit judges that the acceleration of wireless senser is less than lower threshold always within a period of time
Or during the predetermined threshold value, judge that wireless senser remains static, and judge the acceleration of wireless senser more than upper
When limiting threshold value or the predetermined threshold value, judge that wireless senser is kept in motion.
Wherein, the inertial sensor is accelerometer.
A kind of power regulating method of wireless senser, is adjusted, methods described for the power to wireless senser
Including:The exercise index of detecting wireless sensor;Determine that wireless senser is static shape according to the exercise index of wireless senser
State or motion state;When wireless senser is inactive state, control is using the strategy of reduction transmission power to wireless sensing
The transmission power of device is adjusted;And when wireless senser is motion state, control is using the strategy for improving transmission power
Transmission power to wireless senser is adjusted.
Wherein, the step " determines that wireless senser is still transported for inactive state according to the exercise index of wireless senser
Dynamic state " includes:Exercise index is compared with upper limit threshold and lower threshold;It is less than when comparing the exercise index under this
When limiting threshold value, it is inactive state to determine wireless senser;And when comparing the exercise index more than the upper limit threshold, it is determined that nothing
Line sensor is motion state.
Wherein, the step " using the strategy of reduction transmission power to the transmission power of wireless senser adjusted by control
Section " includes:The letter of the wireless signal of signal intensity or the wireless transceiver transmitting for the wireless signal that receiving end device is received
Number intensity is compared with spacing wave intensity threshold lower limit and the spacing wave intensity threshold upper limit;When comparing wireless signal
When signal intensity is less than the spacing wave intensity threshold lower limit, control increase transmission power;And when the letter for comparing wireless signal
When number intensity is more than the spacing wave intensity threshold upper limit, control reduces transmission power.
Wherein, the step " when the signal intensity for comparing wireless signal is less than the spacing wave intensity threshold lower limit, is controlled
System increase transmission power " includes:When the signal intensity for the wireless signal for comparing receiving end device reception is strong less than the spacing wave
When spending bottom threshold, control incrementally increases transmission power with first step footpath Δ p1;The step is " when the signal for comparing wireless signal
When intensity is more than the spacing wave intensity threshold upper limit, control reduces transmission power " include:Received when comparing the receiving end device
Wireless signal signal intensity be more than the spacing wave intensity threshold upper limit when, control hair is progressively reduced with second step footpath Δ p2
Penetrate power;Wherein, first step footpath Δ p1=B | s-Smin |, second step footpath Δ p2=B | s-Smax |, wherein, B is fixed coefficient,
S is the signal intensity for the wireless signal that wireless transceiver is launched, and Smin is spacing wave intensity threshold lower limit, and Smax is static letter
Number intensity threshold upper limit.
Wherein, the step " using the strategy for improving transmission power to the transmission power of wireless senser adjusted by control
Section " includes:The wireless signal that the signal intensity or wireless transceiver for the wireless signal that receiving end device is received currently are launched
Signal intensity be compared with motor message intensity threshold lower limit and the motor message intensity threshold upper limit;When comparing wireless communication
Number signal intensity be less than the motor message intensity threshold lower limit when, control increase transmission power;And wireless signal ought be compared
Signal intensity be more than the motor message intensity threshold upper limit when, control reduce transmission power.
Wherein, the step " when the signal intensity for comparing wireless signal is less than the motor message intensity threshold lower limit, is controlled
System increase transmission power " includes:When the signal intensity for the wireless signal for comparing receiving end device reception is strong less than the motor message
When spending bottom threshold, control incrementally increases transmission power with the 3rd step footpath Δ p3;The step is " when the signal for comparing wireless signal
When intensity is more than the motor message intensity threshold upper limit, control reduces transmission power " include:When compare receiving end device reception
When the signal intensity of wireless signal is more than the motor message intensity threshold upper limit, control progressively reduces transmitting with the 4th step footpath Δ p4
Power;Wherein, the 3rd step footpath Δ p3=B | s-Ymin |, the 4th step footpath Δ p4=B | s-Ymax |, wherein, B is fixed coefficient, s
The signal intensity for the wireless signal launched for wireless transceiver, Ymin is motor message intensity threshold lower limit, and Ymax believes for motion
Number intensity threshold upper limit.
Wherein, the step " when the signal intensity for comparing wireless signal is less than the spacing wave intensity threshold lower limit, is controlled
System increase transmission power " includes:When the signal intensity that described control unit compares the wireless signal of wireless transceiver transmitting is less than
During the spacing wave intensity threshold lower limit, control adjusts the transmission power of wireless senser to the first preset range;The step
Suddenly " when the signal intensity for comparing wireless signal is prescribed a time limit more than the spacing wave intensity threshold, control reduces transmission power " includes:
When comparing the signal intensity of wireless signal of wireless transceiver transmitting more than the spacing wave intensity threshold upper limit, control will
The transmission power of wireless senser is adjusted to the first preset range, wherein, first preset range is strong less than spacing wave
Spend upper threshold and more than the scope of spacing wave intensity threshold lower limit.
Wherein, the step " when the signal intensity for comparing wireless signal is less than the motor message intensity threshold lower limit, is controlled
System increase transmission power " includes:When the signal intensity for the wireless signal for comparing wireless transceiver transmitting is strong less than the motor message
When spending bottom threshold, control transmission power adjustment to the second preset range;The step is " when the signal for comparing wireless signal is strong
When degree is more than the motor message intensity threshold upper limit, control reduces transmission power " include:When the nothing for comparing wireless transceiver transmitting
When the signal intensity of line signal is more than the motor message intensity threshold upper limit, transmission power adjustment to described second is preset in control
Scope, wherein, second preset range is less than the motor message intensity threshold upper limit and more than under motor message intensity threshold
The scope of limit.
Electronic installation, wireless senser and its power regulating method that the present invention is provided, can ensure to be wirelessly transferred stabilization
Property while, reduce wireless senser power.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other substantially modes of texturing are obtained according to these accompanying drawings.
Fig. 1 be one embodiment of the invention in wireless senser module diagram.
Fig. 2 is that the wireless senser in one embodiment of the invention sets up the schematic diagram communicated to connect with receiving end device.
Fig. 3 be one embodiment of the invention in the electronic installation including wireless senser schematic diagram.
Fig. 4 be one embodiment of the invention in wireless senser adjusting method flow chart.
Fig. 5 be Fig. 4 in wireless senser adjusting method in a step sub-process figure.
Fig. 6 be Fig. 4 in wireless senser adjusting method in another step sub-process figure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Referring to Fig. 1, being the module diagram of wireless senser 100.The wireless senser 100 includes motion detecting unit
10th, wireless transceiver 20 and control unit 30.The motion detecting unit 10 is used for the exercise index of detecting wireless sensor 100
K.The wireless transceiver 20 is used to launch wireless signal and receives wireless signal to receiving end device 200 or from receiving end device 200.
The control unit 30 is connected between motion detecting unit 10 and wireless transceiver 20, is detected for obtaining motion detecting unit 10
Exercise index K and wireless signal signal intensity, and the exercise index K that is detected according to motion detecting unit 10 and wireless
The signal intensity of signal adjusts the transmission power of wireless transceiver 20, wherein, the wireless signal that described control unit 30 is obtained
Signal intensity is the signal intensity for the wireless signal that wireless transceiver 20 is launched or the wireless signal of the reception of receiving end device 200
Signal intensity.
Wherein, the exercise index K that the control unit 30 is detected according to the motion detecting unit 10 determines wireless senser 100
For inactive state or motion state.The control unit 30 and it is determined that wireless senser be inactive state when, control using drop
The transmission power of wireless senser is adjusted the strategy of low transmitting power, and it is determined that wireless senser is motion state
When, the transmission power of wireless senser is adjusted using the strategy for improving transmission power for control.
Wherein, the exercise index K and predetermined threshold value Kr that control unit 30 detects the motion detecting unit 10 is compared,
To determine wireless senser 100 for inactive state or motion state.In the present embodiment, the predetermined threshold value includes a upper limit
Threshold k max and one is less than upper limit threshold Kmax lower threshold Kmin, and the control unit 30 is by the motion detecting unit 10
The exercise index of detecting is compared with upper limit threshold Kmax and lower threshold Kmin, is less than when comparing the exercise index under this
When limiting threshold k min, it is inactive state to determine wireless senser 100, is more than upper limit threshold Kmax when comparing the exercise index
When, it is motion state to determine wireless senser 100.Wherein, the control unit 30 and the exercise index is being compared less than the upper limit
Threshold k max and more than the lower threshold Kmin when, then keep current state.In another embodiment, predetermined threshold value Kr is
One threshold value, the exercise index that the control unit 30 detects the motion detecting unit 10 is compared with predetermined threshold value Kr, when
When comparing the exercise index less than or equal to predetermined threshold value Kr, it is inactive state to determine wireless senser 100, when comparing the fortune
When dynamic index is more than predetermined threshold value Kr, it is motion state to determine wireless senser 100.
Wherein, during the signal intensity of the wireless signal received for receiving end device 200 obtained when control unit 30, the drop
The strategy of low transmitting power is specially:The signal intensity for the wireless signal that control unit 30 receives receiving end device 200 with it is quiet
Stop signal intensity threshold lower limit Smin and spacing wave intensity threshold upper limit Smax are compared, when the letter for comparing wireless signal
When number intensity is less than the spacing wave intensity threshold Smin lower limits, the transmission power of control increase wireless senser;When control is single
When the signal intensity that member 30 compares wireless signal is more than spacing wave intensity threshold upper limit Smax, control reduces transmission power.
The control using the strategy for improving transmission power the transmission power of wireless senser is adjusted including:Control unit 30 will
The signal intensity for the wireless signal that receiving end device 200 is received and motor message intensity threshold lower limit Ymin (being equal to Smin+A1)
And the motor message intensity threshold upper limit Ymax (being equal to Smax+A2) more than motor message intensity threshold lower limit Ymin is compared
Compared with, when the signal intensity for comparing wireless signal is less than motor message intensity threshold lower limit Ymin, control increase transmission power,
When comparing the signal intensity of wireless signal of the reception of receiving end device 200 more than motor message intensity threshold upper limit Ymax,
Control reduces transmission power.
Wherein, when having human body or other barriers or being and not being between wireless senser 100 and receiving end device 200
Other wireless signals of radio signal frequency identical or wireless senser 100 and receiving end device that line sensor 100 is launched
During 200 hypertelorism, it is likely to cause the signal intensity of the wireless signal of the reception of receiving end device 200 to be less than spacing wave
Intensity threshold lower limit Smin or less than motor message intensity threshold lower limit Ymin.When wireless senser 100 and receiving end device 200
Between barrier disappear or the interference hour of other wireless signals or wireless senser 100 and receiving end device 200
Distance close to when, being likely to cause the signal intensity of the wireless signal that receiving end device 200 receives, to be more than spacing wave strong
Spend upper threshold Smax or more than motor message intensity threshold upper limit Ymax.
Specifically, under the strategy using reduction transmission power, the control unit 30 compares the reception of receiving end device 200
When the signal intensity of wireless signal is less than spacing wave intensity threshold lower limit Smin, transmitting is incrementally increased with first step footpath Δ p1
Power;When the signal intensity that the control unit 30 compares the wireless signal of the reception of receiving end device 200 is strong more than the spacing wave
When spending upper threshold Smax, transmission power is progressively reduced with second step footpath Δ p2.
Specifically, under the strategy using raising transmission power, the nothing that the control unit 30 receives receiving end device 200
The signal intensity of line signal is with motor message intensity threshold lower limit Ymin (being equal to Smin+A1) and more than motor message intensity threshold
Value lower limit Ymin motor message intensity threshold upper limit Ymax (be equal to Smax+A2) is compared, when comparing the receiving end device
200 receive wireless signals signal intensity be less than the motor message intensity threshold lower limit Ymin when, with the 3rd step footpath Δ p3 by
Step increase transmission power;When the signal intensity that the control unit 30 compares the wireless signal of the receiving end device 200 reception is more than
During motor message intensity threshold upper limit Ymax, transmission power is progressively reduced with the 4th step footpath Δ p4.
Wherein, during the signal intensity of the wireless signal currently launched for wireless transceiver 20 obtained when control unit 30,
Under the strategy using reduction transmission power, when described control unit 30 compares the letter of the wireless signal of the transmitting of wireless transceiver 20
When number intensity is less than spacing wave intensity threshold lower limit Smin, control adjusts the transmission power of wireless senser 100 to the
One preset range, when the signal intensity for the wireless signal for comparing the wireless transceiver 20 transmitting is more than the spacing wave intensity threshold
During upper limit Smax, control adjusts the transmission power of wireless senser 100 to the first preset range.Using raising transmission power
Strategy under, when control unit 30 compare receiving end device 200 reception wireless signal signal intensity be less than the motor message
During intensity threshold lower limit Ymin, control connects transmission power adjustment to the second preset range, and when comparing receiving end device 200
When the signal intensity of the wireless signal of receipts is more than motor message intensity threshold upper limit Ymax, control is by transmission power adjustment to small
In the second preset range.Wherein described first preset range is more than spacing wave intensity threshold lower limit Smin and less than static letter
Number intensity threshold upper limit Smax, second preset range is more than motor message intensity threshold lower limit Ymin and less than motor message
Intensity threshold upper limit Ymax.
Wherein, when the comparison signal intensity of control unit 30 is less than spacing wave intensity threshold upper limit Smax and more than static
During signal strength threshold lower limit Smin, or more than on motor message intensity threshold lower limit Ymin and motor message intensity threshold
When limiting Ymax, control keeps current transmission power constant.
In another embodiment, the strategy of the reduction transmission power is:The control unit 30 reduces wireless transceiver 20
Transmission power until occur loss of data or to go offline, and without the multilevel iudge of signal intensity.
In another embodiment, the strategy of the raising transmission power is:The control unit 30 is it is determined that wireless senser
100 when being motion state, and control directly turns up the transmission power of wireless senser 100 full blast, and without signal intensity
Multilevel iudge.
Wherein, in the present embodiment, if the signal intensity of the current transmission signal of wireless transceiver 20 is s, first step footpath
The step footpath Δ p4 of Δ p1- the 4th are by current signal strength s and Target Signal Strength S difference absolute value, multiplied by with fixed coefficient B
Obtain, i.e. △ p=B | s-S |.Specifically, first step footpath Δ p1=B | s-Smin |, second step footpath Δ p2=B | s-Smax |, the
Three step footpath Δ p3=B | s-Ymin |=B | s- (Smin+A1) |, the 4th step footpath Δ p4=B | s-Ymax |=B | s- (Smax+A2)
|.Wherein, Smax, Smin, A1 and the A2, B preset and stored in response to the setting operation of user for the control unit 30
Value.Wherein, A1 and A2 may be the same or different.Wherein, the step footpath Δ p4 of first step footpath Δ p1- the 4th can also be more multiple using other
Miscellaneous Controlling model is calculated and obtained, and the model such as PID, PD, segmentation PID, segmentation PD, neutral net, which is calculated, to be obtained.Certainly,
The step footpath Δ p4 of one step footpath Δ p1- the 4th can also directly be equal or different preset value.
Wherein, as shown in figure 1, the wireless senser 100 also includes the sensing unit 40 for being used to sense special parameter.The sense
Surveying unit 40 may include the temperature sensing unit for sensing temperature, the vibrating sensing unit for sense vibrations, for sensing
At least one in velocity pick-up unit of speed etc..The sensing unit 40 is the main functionality module of the wireless senser 100.
Also referring to Fig. 2, the wireless senser 100 is used to send wireless signal to a receiving end device 200.The reception
End device 200 includes wireless transceiver 201, and the wireless senser 100 passes through respective wireless transceiver with the receiving end device
20th, wireless transceiver 201 sets up communication connection.The control unit 30 simultaneously sends a request receiving terminal by the wireless transceiver 20
Device 200 reports the request signal of the signal intensity oneself received to receiving end device 200, and passes through the wireless transceiver 20
Receive the receiving end device 200 return includes the signal of signal strength information, so as to obtain the nothing of the reception of receiving end device 200
The signal intensity of line signal.Wherein, the signal transmission that foregoing loss of data refers between receiving end device 200 occurs data and lost
Lose, the communication connection that foregoing going offline refers to receiving end device 200 disconnects.Wherein, the control unit 30 is directly by wirelessly receiving
Send out the signal intensity that device 20 obtains the wireless signal of the wireless transceiver 20 transmitting.
In the present embodiment, the motion detecting unit 10 is an inertial sensor, for detecting wireless sensor 100
Acceleration.The exercise index is acceleration, and the control unit 30 judges the acceleration of wireless senser 100 in a period of time
When being less than the predetermined threshold value or lower threshold always in (such as 10 seconds), judge that wireless senser 100 remains static, and
When judging that the acceleration of wireless senser 100 is more than the predetermined threshold value or upper limit threshold, judge that wireless senser 100 is in motion
State.Specifically, the inertial sensor is accelerometer.
In other embodiments, the motion detecting unit 10 can also position sensor, for example:Satellite-based positioning
System GNSS, GPS, GLONASS, Galileo, COMPASS, QZSS, IRNSS, WAAS, MSAS, EGNOS, GAGAN,
NIGCOMSAT-1, the iBeacon based on bluetooth, the active and passive location system based on RFID, and based on cellular base station and
The alignment system of WiFi signal.The exercise index is the change of coordinate position, and the motion detecting unit 10 is at interval of the scheduled time
(such as 0.5 second) positions the coordinate position of wireless senser 100, coordinate position of the control unit 30 in wireless senser 100
When not changed within a period of time (such as 10 seconds), judge that wireless senser 100 remains static, and wirelessly passing
When the coordinate position of sensor 100 persistently changes, judge that wireless senser 100 is kept in motion.
In other embodiments, the signal intensity s for the transmission signal of wireless transceiver 20 being mentioned herein, can also be by it
He replaces radio signal quality evaluation index, such as relative signal intensity, the bit error rate, signal distortion degree, or multiple evaluations
The weighted average of index.Exercise index that the control unit 30 can be detected according to wireless senser 100 accordingly and wireless
The relative signal intensity for the wireless signal that transceiver 20 is currently launched, the bit error rate, signal distortion degree, or it is above-mentioned including signal
The transmission power of the de-regulation such as weighted average of multiple evaluation indexes including intensity wireless transceiver 20.
Wherein, the wireless transceiver 20 can be bluetooth module, WIFI modules, radio frequency module, NFC (near field
Communication, near-field communication) the radio communication module such as module.The control unit 30 can be central processing unit, microcontroller
Device, single-chip microcomputer, digital signal processor etc..
Referring to Fig. 3, being the module diagram of electronic installation 300.The electronic installation 300 includes the wireless senser 100,
The electronic installation 300 enters row data communication by wireless senser 100 and receiving end device 200.Wherein, the electronic installation 300
Can be the devices such as Intelligent bracelet, intelligent watch, the receiving end device 200 can be the terminals such as mobile phone, tablet personal computer, notebook computer
Equipment.The sensing unit 40 of the wireless senser 100 can be temperature sensing unit, vibrating sensing unit, velocity pick-up unit etc..
In a scene, the wireless senser 100 can will dress the parameters such as shell temperature, the pulse of user of the electronic installation 300 and pass
Receiving end device 200 is delivered to, so that receiving end device 200 is analyzed.
Referring to Fig. 4, being the flow chart of the wireless senser power regulating method in one embodiment of the invention.This method is used
In the power of regulation wireless senser 100.This method comprises the following steps:
First, the exercise index (S401) of the detecting wireless sensor 100 of motion detecting unit 10.
Control unit 30 determines wireless senser 100 for inactive state still according to the exercise index of wireless senser 100
Motion state (S403).If inactive state, then step S405 is performed, otherwise perform step S407.Wherein, control unit 30
The exercise index that the motion detecting unit 10 is detected is compared with predetermined threshold value, to determine that wireless senser 100 is static
State or motion state.In the present embodiment, the predetermined threshold value includes a upper limit threshold and a lower threshold, the control
The exercise index that unit 30 detects the motion detecting unit 10 is compared with upper limit threshold and lower threshold, when comparing this
When exercise index is less than the lower threshold, it is inactive state to determine wireless senser 100, is more than when comparing the exercise index on this
When limiting threshold value, it is motion state to determine wireless senser 100.In another embodiment, the predetermined threshold value is a threshold value, should
The exercise index that the motion detecting unit 10 is detected is compared by control unit 30 with predetermined threshold value, when comparing the exercise index
During less than or equal to the predetermined threshold value, it is inactive state to determine wireless senser 100, default more than this when comparing the exercise index
During threshold value, it is motion state to determine wireless senser 100.
The control unit 30 is when wireless senser 100 is inactive state, and control is tactful right using reduction transmission power
The transmission power of wireless senser 100 is adjusted (S405).
The control unit 30 is when it is determined that wireless senser 100 is motion state, and control is tactful right using transmission power
The transmission power of wireless senser 100 is adjusted (S407).
Please refer to fig. 5, the sub-process figure for step S405 in one embodiment.Step S405 is specifically included:
What the signal intensity or wireless transceiver 20 for the wireless signal that control unit 30 receives receiving end device 200 were launched
The signal intensity of wireless signal is with spacing wave intensity threshold lower limit Smin and more than spacing wave intensity threshold lower limit Smin
Spacing wave intensity threshold upper limit Smax be compared (S4051).
When compare the receiving end device 200 reception wireless signal signal intensity or wireless transceiver 20 launch it is wireless
When the signal intensity of signal is less than spacing wave intensity threshold lower limit Smin, the control increase transmission power of control unit 30
(S4053).In one embodiment, the control unit 30 compare the receiving end device 200 reception wireless signal signal it is strong
When degree is less than spacing wave intensity threshold lower limit Smin, control incrementally increases transmission power with first step footpath Δ p1;The control
The signal intensity that unit 30 compares the wireless signal of the wireless transceiver 20 transmitting is less than the spacing wave intensity threshold lower limit
During Smin, control adjusts the transmission power of wireless senser 20 to the first preset range, and first preset range is more than quiet
Stop signal intensity threshold lower limit Smin and less than spacing wave intensity threshold upper limit Smax.
When the signal intensity or the nothing of the wireless transceiver 20 transmitting of the wireless signal for comparing the receiving end device 200 reception
When the signal intensity of line signal is more than spacing wave intensity threshold upper limit Smax, the control unit 30 control reduces transmission power
(S4055).In one embodiment, the control unit 30 compare the receiving end device 200 reception wireless signal signal it is strong
When degree is more than spacing wave intensity threshold upper limit Smax, control progressively reduces transmission power with second step footpath Δ p2;The control
The signal intensity that unit 30 compares the wireless signal of the wireless transceiver 20 transmitting is more than the spacing wave intensity threshold upper limit
During Smax, control adjusts the transmission power of wireless senser 20 to the first preset range.
When comparison signal intensity is less than spacing wave intensity threshold upper limit Smax, and more than spacing wave intensity threshold lower limit
During Smin, the control unit 30 control keeps current transmission power constant (S4057).
Wherein, perform step S4053, S4055 and S4057 is carried out after once adjusting and return to step S4051, continuing will
Current signal intensity is compared with spacing wave intensity threshold lower limit Smin and spacing wave intensity threshold upper limit Smax, directly
To most transmission power is adjusted to causing signal intensity to be less than spacing wave intensity threshold upper limit Smax and more than spacing wave at last
Intensity threshold lower limit Smin.
It is the sub-process figures of step S407 in one embodiment also referring to Fig. 6.Step S407 is specifically included:
The signal intensity or wireless transceiver 20 for the wireless signal that the control unit 30 receives the receiving end device 200 are sent out
The signal intensity for the wireless signal penetrated is with motor message intensity threshold lower limit Ymin and more than motor message intensity threshold lower limit
Ymin motor message intensity threshold upper limit Ymax is compared (S4071).
When compare the receiving end device 200 reception wireless signal signal intensity or wireless transceiver 20 launch it is wireless
When the signal intensity of signal is less than motor message intensity threshold lower limit Ymin, the control increase transmission power of control unit 30
(S4073).Wherein, control unit 30 compares the signal intensity of the wireless signal of the receiving end device 200 reception less than the motion
During signal strength threshold lower limit Ymin, control incrementally increases transmission power with the 3rd step footpath Δ p3;Control unit 30 is relatively more wireless
When the signal intensity for the wireless signal that transceiver 20 is launched is less than motor message intensity threshold lower limit Ymin, control will be passed wirelessly
The transmission power of sensor 20 is adjusted to the second preset range, wherein, second preset range is more than motor message intensity threshold
Lower limit Ymin and less than motor message intensity threshold upper limit Ymax.
When compare the receiving end device 200 reception wireless signal signal intensity or wireless transceiver 20 launch it is wireless
When the signal intensity of signal is more than motor message intensity threshold upper limit Ymax, the control unit 30 control reduces transmission power
(S4075).Wherein, control unit 30 compares the signal intensity of the wireless signal of the receiving end device 200 reception more than the motion
During signal strength threshold upper limit Ymax, control progressively to reduce transmission power with the 4th step footpath Δ p4;Control unit 30 compares nothing
When the signal intensity for the wireless signal that line transceiver 20 is launched is more than motor message intensity threshold upper limit Ymax, control will be wireless
The transmission power of sensor 20 is adjusted to the second preset range.
When comparison signal intensity is less than motor message intensity threshold upper limit Ymax and more than motor message intensity threshold lower limit
During Ymin, the control unit 30 control keeps current transmission power constant (S4077).
Wherein, perform step S4073, S4075 and S4077 is carried out after once adjusting and return to step S4071, continuing will
Current signal intensity is compared with motor message intensity threshold lower limit Ymin and motor message intensity threshold upper limit Ymax,
Until most at last transmission power adjust to cause signal intensity be less than motor message intensity threshold upper limit Ymax and more than motion letter
Number intensity threshold lower limit Ymin.
Above disclosed is only a kind of preferred embodiment of the invention, can not limit the power of the present invention with this certainly
Sharp scope, one of ordinary skill in the art will appreciate that all or part of flow of above-described embodiment is realized, and according to present invention power
Profit requires made equivalent variations, still falls within and invents covered scope.