CN113260037A - Power self-adaption method for wireless network communication - Google Patents
Power self-adaption method for wireless network communication Download PDFInfo
- Publication number
- CN113260037A CN113260037A CN202110546166.3A CN202110546166A CN113260037A CN 113260037 A CN113260037 A CN 113260037A CN 202110546166 A CN202110546166 A CN 202110546166A CN 113260037 A CN113260037 A CN 113260037A
- Authority
- CN
- China
- Prior art keywords
- station
- slave
- rssi
- master station
- response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 29
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000001514 detection method Methods 0.000 claims abstract description 24
- 238000012545 processing Methods 0.000 claims abstract description 21
- 230000006978 adaptation Effects 0.000 claims abstract 3
- 230000005540 biological transmission Effects 0.000 claims description 8
- 238000012935 Averaging Methods 0.000 claims description 3
- 230000003044 adaptive effect Effects 0.000 claims 1
- 238000002360 preparation method Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
- H04W52/24—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
- H04W52/245—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/40—Circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
- H04W52/28—TPC being performed according to specific parameters using user profile, e.g. mobile speed, priority or network state, e.g. standby, idle or non transmission
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A power adaptation method for wireless network communication. The invention relates to wireless network communication, in particular to a power self-adaption method based on RSSI wireless network communication. Including a master station and a slave station communicating by wireless; the main station and the secondary stations are respectively provided with a processing unit, an RSSI detection unit and a receiving and sending unit, the processing unit is used for processing data, the RSSI detection unit is used for RSSI detection work, and the receiving and sending unit is used for wireless data receiving and sending work; the RSSI detection unit and the receiving and transmitting unit are respectively communicated with the processing unit; the invention not only reduces the influence on other wireless communication equipment, but also improves the concealment of communication and solves the problem of reliable communication in a complex electromagnetic environment.
Description
Technical Field
The invention relates to wireless network communication, in particular to a power self-adaption method based on RSSI wireless network communication.
Background
Currently, wireless communication devices transmit wireless signals at a fixed frequency and a fixed power set by users or manufacturers during use. With the development of social science and technology, a large amount of wireless communication equipment is used, so that the air electromagnetic environment is more and more complex, wireless signals are easy to intercept in the transmission process, and the reliability of communication is influenced.
Disclosure of Invention
Aiming at the problems, the invention provides a power self-adaptive method for wireless network communication, which ensures the communication concealment and improves the communication quality.
The technical scheme of the invention is as follows: including a master station and a slave station communicating by wireless;
the main station and the secondary stations are provided with a processing unit, an RSSI detection unit and a transceiving unit,
the processing unit is used for data processing,
the RSSI detection unit is used for RSSI detection work,
the receiving and transmitting unit is used for wireless data receiving and transmitting work;
the RSSI detection unit and the receiving and transmitting unit are respectively communicated with the processing unit;
the method comprises the following steps:
s1, the main station and the slave station respectively detect the RSSI value within the range of the starting frequency fs to the ending frequency fe through the RSSI detection unit, and store the read data;
s2, setting the initial power level to be maximum, wherein the master station and the slave station work at the initial working frequency fc;
s3, the master station polls the slave station in a period T, the slave station gives a response after receiving the polling command of the master station,
if the primary station receives the response, the communication network is established;
if the master station does not receive the response of the slave station, the master station polls for waiting for the response all the time;
s4, after the primary station receives the response, the primary station inquires the RSSI value of the secondary station,
if the query is successful, the slave station reports the stored RSSI value to the master station;
if the query is unsuccessful, continuing the query;
s5, calculating the optimal frequency;
s6, sending the optimal frequency to the slave station;
the transmission is successful, and the station is switched to the optimal frequency;
if the transmission is unsuccessful, continuing to transmit;
s7, switching the master station to the optimal frequency, polling the slave stations by the master station in a period T, and giving a response after the slave stations receive the response;
s8, the main station detects the RSSI value with a period T;
s9, if the RSSI value is located between the minimum value Vmin and the maximum value Vmax, judging whether the current power level is the highest, if so, returning to the step S7;
if the power level is not the highest level, commanding the slave station to increase the first-gear power level, and correspondingly setting the master station to increase the first-gear power level;
if the RSSI value is not between the minimum value Vmin and the maximum value Vmax, returning to step S7;
or
If the accuracy of the transmitted data is greater than the highest accuracy Dmax, determining whether the current power level is the lowest, if so, returning to step S7;
if not, commanding the slave station to reduce the first-gear power level, and correspondingly setting the master station to reduce the first-gear power level;
if the accuracy of the transmitted data is less than the highest accuracy Dmax, the process returns to step S7.
In step S5, the master processing unit performs an averaging calculation based on the RSSI value stored in the master and the RSSI value of the slave thus queried, and selects a frequency with the lowest RSSI average.
In step S9.2, the accuracy of the transmitted data is R, and the calculation of the accuracy is performed by the master station polling the response rate of the slave stations;
specifically, the method is implemented by two counters, wherein one counter represents the number of times C1 that the master station polls the slave station, and the other counter represents the number of times C2 that the master station receives the correct response of the slave station;
the master station polls the counter C1 and adds 1 after the slave station every time, if the correct response of the slave station is received, the counter C2 adds 1, otherwise, the counter C2 is not changed; thus, the data accuracy R = C2/C1 was calculated.
In the working process, the invention not only reduces the influence on other wireless communication equipment, but also improves the concealment of communication by automatically selecting the power grade, has obvious effect in special wireless communication application scenes, and solves the problem of reliable communication in a complex electromagnetic environment.
Drawings
Figure 1 is a flow chart of the present invention,
fig. 2 is a communication block diagram of a master station and a slave station.
Detailed Description
The present invention, as shown in fig. 1-2, includes a master station and a slave station communicating by wireless; the main station and the secondary stations are provided with a processing unit, an RSSI detection unit and a transceiving unit,
the processing unit is used for data processing,
the RSSI detection unit is used for RSSI detection work,
the receiving and transmitting unit is used for wireless data receiving and transmitting work;
the RSSI detection unit and the receiving and transmitting unit are respectively communicated with the processing unit;
the processing unit is mainly composed of an ARM processor and is responsible for processing the detected RSSI value, the optimal frequency is selected through decision, and the optimal frequency is sent to a frequency synthesizer of the transceiving unit to generate the required working frequency point.
The RSSI detection unit comprises an antenna and a field intensity detection module, wherein the antenna is used for receiving radio signals, and the field intensity detection module is used for detecting RSSI values.
The receiving and transmitting unit comprises an antenna, a frequency synthesizer, a receiving and transmitting channel and a power amplifier component, wherein the antenna is used for receiving and transmitting radio signals, the frequency synthesizer is used for generating wireless communication frequency, the receiving and transmitting channel is used for receiving and transmitting the radio signals and converting the radio signals and user data, and the power amplifier component is used for amplifying power.
The method comprises the following steps:
s1, the main station and the slave station respectively detect the RSSI value within the range of the starting frequency fs to the ending frequency fe (the range can be customized according to the requirement) through the RSSI detection unit, and store the read data; the RSSI value represents the condition of the electromagnetic environment.
S2, setting the initial power level to be maximum, wherein the master station and the slave station work at the initial working frequency fc; at the beginning of the start-up, the power level is set to maximum in order to ensure that the communication can be performed normally.
S3, the master station polls the slave station in a period T, the slave station gives a response after receiving the polling command of the master station, and the master station indicates that the communication network is established after receiving the response.
If the primary station receives the response, the communication network is established;
if the master station does not receive the response of the slave station, the master station polls for waiting for the response all the time;
s4, after the primary station receives the response, the primary station inquires the RSSI value of the secondary station,
if the query is successful, the slave station reports the stored RSSI value to the master station;
if the query is unsuccessful, continuing the query;
s5, calculating the optimal frequency;
s6, sending the optimal frequency to the slave station;
the transmission is successful, and the station is switched to the optimal frequency;
if the transmission is unsuccessful, continuing to transmit;
s7, switching the master station to the optimal frequency, polling the slave stations by the master station in a period T, and giving a response after the slave stations receive the response;
s8, the main station detects the RSSI value with a period T;
s9, if the RSSI value is located between the minimum value Vmin and the maximum value Vmax, judging whether the current power level is the highest, if so, returning to the step S7;
if the power level is not the highest level, commanding the slave station to increase the first-gear power level, and correspondingly setting the master station to increase the first-gear power level;
if the RSSI value is not between the minimum value Vmin and the maximum value Vmax, returning to step S7;
or
If the accuracy of the transmitted data is greater than the highest accuracy Dmax, determining whether the current power level is the lowest, if so, returning to step S7;
if not, commanding the slave station to reduce the first-gear power level, and correspondingly setting the master station to reduce the first-gear power level;
if the accuracy of the transmitted data is less than the highest accuracy Dmax, the process returns to step S7.
Thus, the detection is performed in a loop after the detection is completed.
The invention controls according to the RSSI value and the data accuracy. And detecting the RSSI value in a period T, when the RSSI value is between Vmin (minimum value) and Vmax (maximum value), indicating that weak interference exists in the current working frequency, and if the power level is not the maximum level at the moment, automatically increasing the power level.
When the transmission data correct rate R is larger than Dmax (maximum correct rate), the communication effect is good, if the power level is not the minimum level, the power level is automatically reduced.
The minimum value Vmin, the maximum value Vmax, and the maximum accuracy Dmax are all set values.
In step S5, the master processing unit performs an averaging calculation based on the RSSI value stored in the master and the RSSI value of the slave thus queried, and selects a frequency with the lowest RSSI average.
For example, the master station samples 50 RSSI values at a frequency point of 50 MHz to 100 MHz (step 1 MHz), and the slave station samples 50 RSSI values at a frequency point of 50 MHz to 100 MHz (step 1 MHz) in the same manner. Then, the corresponding 50 values are averaged, and the lowest value is taken out.
In step S9.2, the accuracy of the transmitted data is R, and the calculation of the accuracy is performed by the master station polling the response rate of the slave stations; namely, the main station calculates the accuracy R of the polling data for N times continuously;
specifically, the method is implemented by two counters, wherein one counter represents the number of times C1 that the master station polls the slave station, and the other counter represents the number of times C2 that the master station receives the correct response of the slave station;
the master station polls the counter C1 and adds 1 after the slave station every time, if the correct response of the slave station is received, the counter C2 adds 1, otherwise, the counter C2 is not changed; thus, the data accuracy R = C2/C1 was calculated.
The disclosure of the present application also includes the following points:
(1) the drawings of the embodiments disclosed herein only relate to the structures related to the embodiments disclosed herein, and other structures can refer to general designs;
(2) in case of conflict, the embodiments and features of the embodiments disclosed in this application can be combined with each other to arrive at new embodiments;
the above embodiments are only embodiments disclosed in the present disclosure, but the scope of the disclosure is not limited thereto, and the scope of the disclosure should be determined by the scope of the claims.
Claims (3)
1. A power adaptive method of wireless network communication comprises a master station and a slave station which communicate by wireless; it is characterized in that the preparation method is characterized in that,
the main station and the secondary stations are provided with a processing unit, an RSSI detection unit and a transceiving unit,
the processing unit is used for data processing,
the RSSI detection unit is used for RSSI detection work,
the receiving and transmitting unit is used for wireless data receiving and transmitting work;
the RSSI detection unit and the receiving and transmitting unit are respectively communicated with the processing unit;
the method comprises the following steps:
s1, the main station and the slave station respectively detect the RSSI value within the range of the starting frequency fs to the ending frequency fe through the RSSI detection unit, and store the read data;
s2, setting the initial power level to be maximum, wherein the master station and the slave station work at the initial working frequency fc;
s3, the master station polls the slave station in a period T, the slave station gives a response after receiving the polling command of the master station,
if the primary station receives the response, the communication network is established;
if the master station does not receive the response of the slave station, the master station polls for waiting for the response all the time;
s4, after the primary station receives the response, the primary station inquires the RSSI value of the secondary station,
if the query is successful, the slave station reports the stored RSSI value to the master station;
if the query is unsuccessful, continuing the query;
s5, calculating the optimal frequency;
s6, sending the optimal frequency to the slave station;
the transmission is successful, and the station is switched to the optimal frequency;
if the transmission is unsuccessful, continuing to transmit;
s7, switching the master station to the optimal frequency, polling the slave stations by the master station in a period T, and giving a response after the slave stations receive the response;
s8, the main station detects the RSSI value with a period T;
s9, if the RSSI value is located between the minimum value Vmin and the maximum value Vmax, judging whether the current power level is the highest, if so, returning to the step S7;
if the power level is not the highest level, commanding the slave station to increase the first-gear power level, and correspondingly setting the master station to increase the first-gear power level;
if the RSSI value is not between the minimum value Vmin and the maximum value Vmax, returning to step S7;
or
If the accuracy of the transmitted data is greater than the highest accuracy Dmax, determining whether the current power level is the lowest, if so, returning to step S7;
if not, commanding the slave station to reduce the first-gear power level, and correspondingly setting the master station to reduce the first-gear power level;
if the accuracy of the transmitted data is less than the highest accuracy Dmax, the process returns to step S7.
2. The method of claim 1, wherein the power adaptation is performed by a base station,
in step S5, the master processing unit performs an averaging calculation based on the RSSI value stored in the master and the RSSI value of the slave thus queried, and selects a frequency with the lowest RSSI average.
3. The method of claim 1, wherein the power adaptation is performed by a base station,
in step S9.2, the accuracy of the transmitted data is R, and the calculation of the accuracy is performed by the master station polling the response rate of the slave stations;
specifically, the method is implemented by two counters, wherein one counter represents the number of times C1 that the master station polls the slave station, and the other counter represents the number of times C2 that the master station receives the correct response of the slave station;
the master station polls the counter C1 and adds 1 after the slave station every time, if the correct response of the slave station is received, the counter C2 adds 1, otherwise, the counter C2 is not changed; thus, the data accuracy R = C2/C1 was calculated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110546166.3A CN113260037B (en) | 2021-05-19 | 2021-05-19 | Power self-adaption method for wireless network communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110546166.3A CN113260037B (en) | 2021-05-19 | 2021-05-19 | Power self-adaption method for wireless network communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113260037A true CN113260037A (en) | 2021-08-13 |
CN113260037B CN113260037B (en) | 2024-04-12 |
Family
ID=77182774
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110546166.3A Active CN113260037B (en) | 2021-05-19 | 2021-05-19 | Power self-adaption method for wireless network communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113260037B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060199602A1 (en) * | 2005-03-01 | 2006-09-07 | Micrel, Inc. | Transmitter power level optimization and error correction technique |
CN102781080A (en) * | 2012-07-05 | 2012-11-14 | 上海大学 | Power self-adaptive method of network access and operation of nodes of wireless sensor network |
CN104301980A (en) * | 2014-09-26 | 2015-01-21 | 深圳市华信天线技术有限公司 | Data radio and power self-adaption method thereof |
CN105392162A (en) * | 2015-10-28 | 2016-03-09 | 广东欧珀移动通信有限公司 | Method and device of WiFi power dynamic adjustment and mobile terminal |
US20170316232A1 (en) * | 2016-04-28 | 2017-11-02 | Omron Corporation | Interrogation device, system including interrogation device, and program |
CN110139344A (en) * | 2019-01-28 | 2019-08-16 | 博频云彩(北京)科技有限公司 | Distributed network power control method based on time quasi-synchronization |
-
2021
- 2021-05-19 CN CN202110546166.3A patent/CN113260037B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060199602A1 (en) * | 2005-03-01 | 2006-09-07 | Micrel, Inc. | Transmitter power level optimization and error correction technique |
CN102781080A (en) * | 2012-07-05 | 2012-11-14 | 上海大学 | Power self-adaptive method of network access and operation of nodes of wireless sensor network |
CN104301980A (en) * | 2014-09-26 | 2015-01-21 | 深圳市华信天线技术有限公司 | Data radio and power self-adaption method thereof |
CN105392162A (en) * | 2015-10-28 | 2016-03-09 | 广东欧珀移动通信有限公司 | Method and device of WiFi power dynamic adjustment and mobile terminal |
US20170316232A1 (en) * | 2016-04-28 | 2017-11-02 | Omron Corporation | Interrogation device, system including interrogation device, and program |
CN110139344A (en) * | 2019-01-28 | 2019-08-16 | 博频云彩(北京)科技有限公司 | Distributed network power control method based on time quasi-synchronization |
Also Published As
Publication number | Publication date |
---|---|
CN113260037B (en) | 2024-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6640213B2 (en) | Method and apparatus for uplink power control in a multi-user unlicensed wireless network | |
US5850605A (en) | Method and apparatus for dynamically grouping transmitters for message transmission in a communication system | |
USRE47488E1 (en) | Method, apparatus, and computer program product for wireless device discovery process | |
US6647273B2 (en) | Method and apparatus for reducing power consumption in transceivers in wireless communications systems having a power control loop | |
EP1921775A1 (en) | Base station selection scheme for CDMA cellular system using perch channel and received SIR | |
US20050286454A1 (en) | Power saving method in wireless LAN system for permitting terminal station to promptly transition to doze state by transmitting empty data frame | |
CN107231202B (en) | LoRa working mode switching method, device and system | |
EP1096822B1 (en) | Apparatus and method for TDMA-TDD based transmission/reception | |
CN113067937A (en) | Bluetooth connection method, device, equipment and storage medium | |
WO2001091328A1 (en) | Array antenna base station device and radio transmission method | |
JP2003516089A (en) | Antenna control method of receiving apparatus in wireless system, especially mobile wireless system | |
EP1232576B1 (en) | Power control in a radio communication system | |
CN113298985A (en) | RSSI-based digital key unlocking terminal positioning method and system | |
CN109041189B (en) | Transmission power control method and device of wireless communication equipment | |
US8031653B2 (en) | Wireless communication device and method for determining a wireless transmission method | |
US20120100816A1 (en) | Communication apparatus | |
CN113260037A (en) | Power self-adaption method for wireless network communication | |
US8588783B2 (en) | Power control in wireless communications networks during hand-over | |
CN1471767B (en) | Simplified quality indicator bit test procedures | |
CN103701512A (en) | Method and device for determining downlink beam forming weight vector | |
US20040082331A1 (en) | Method and system for estimating movement speed of mobile unit | |
CN113259030A (en) | Wireless network communication system and method based on RSSI (received Signal Strength indicator) | |
CN107205240B (en) | Method and system for determining stability of wireless signal | |
CN101562466A (en) | System and method for improving reverse data rate | |
JPH08204629A (en) | Radio communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Country or region after: China Address after: No.96 Anlin Road, Yangzhou City, Jiangsu Province 225006 Applicant after: Yangzhou Wanfang Technology Co.,Ltd. Address before: No.96 Anlin Road, Yangzhou City, Jiangsu Province 225006 Applicant before: YANGZHOU WANFANG ELECTRONIC TECHNOLOGY LLC Country or region before: China |
|
GR01 | Patent grant | ||
GR01 | Patent grant |