CN113260037B - Power self-adaption method for wireless network communication - Google Patents

Power self-adaption method for wireless network communication Download PDF

Info

Publication number
CN113260037B
CN113260037B CN202110546166.3A CN202110546166A CN113260037B CN 113260037 B CN113260037 B CN 113260037B CN 202110546166 A CN202110546166 A CN 202110546166A CN 113260037 B CN113260037 B CN 113260037B
Authority
CN
China
Prior art keywords
station
slave station
master station
rssi
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.)
Active
Application number
CN202110546166.3A
Other languages
Chinese (zh)
Other versions
CN113260037A (en
Inventor
周思远
沈学银
刘中奇
王志超
管彤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yangzhou Wanfang Technology Co ltd
Original Assignee
Yangzhou Wanfang Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Yangzhou Wanfang Technology Co ltd filed Critical Yangzhou Wanfang Technology Co ltd
Priority to CN202110546166.3A priority Critical patent/CN113260037B/en
Publication of CN113260037A publication Critical patent/CN113260037A/en
Application granted granted Critical
Publication of CN113260037B publication Critical patent/CN113260037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/245TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details 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/38Transceivers, 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/40Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/28TPC being performed according to specific parameters using user profile, e.g. mobile speed, priority or network state, e.g. standby, idle or non transmission

Abstract

A power adaptation method for wireless network communication. Relates to wireless network communication, in particular to a power self-adaption method based on RSSI wireless network communication. Comprising a master station and a slave station communicating by wireless; the master station and the slave station are respectively provided with a processing unit, an RSSI detection unit and a transceiver unit, wherein the processing unit is used for data processing, the RSSI detection unit is used for RSSI detection work, and the transceiver unit is used for wireless data transceiver work; the RSSI detection unit and the transceiver 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

Power self-adaption method for wireless network communication
Technical Field
The present invention relates to wireless network communications, and in particular, to a power adaptive method based on RSSI wireless network communications.
Background
Currently, wireless communication devices are used in a wireless signal transmission process with a fixed frequency and a fixed power set by a user or manufacturer. With the development of social science and technology, various wireless communication devices are used in a large amount, so that the electromagnetic environment in the air is more and more complex, wireless signals are easy to intercept in the transmission process, and the reliability of communication is affected.
Disclosure of Invention
The invention aims at the problems and 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: comprising a master station and a slave station communicating by wireless;
the master station and the slave station are respectively provided with a processing unit, an RSSI detection unit and a transceiver unit,
the processing unit is used for data processing and,
the RSSI detection unit is used for an RSSI detection operation,
the receiving and transmitting unit is used for receiving and transmitting wireless data;
the RSSI detection unit and the transceiver unit are respectively communicated with the processing unit;
the method comprises the following steps:
s1, detecting RSSI values within a range from a starting frequency fs to an ending frequency fe by a master station and a slave station through RSSI detection units respectively, and storing read data;
s2, setting the maximum initial power level, and enabling a master station and a slave station to work at an initial working frequency fc;
s3, the master station polls the slave station in a period T, the slave station gives a response after receiving a polling instruction of the master station,
if the main station receives the response, the main station indicates that the communication network is established;
if the master station does not receive the response of the slave station, the master station always polls and waits for the response;
s4, after receiving the response, the master station inquires the RSSI value of the slave station,
the query is successful, and the slave station reports the stored RSSI value to the master station;
the inquiry is unsuccessful, and the inquiry is continued;
s5, calculating an optimal frequency;
s6, transmitting the optimal frequency to the slave station;
the transmission is successful, and the slave station is switched to the optimal frequency;
the transmission is unsuccessful, and the transmission is continued;
s7, switching to the optimal frequency by the master station, polling the slave station by the master station in a period T, and giving a response after the slave station receives the response;
s8, the master station detects the RSSI value in a period T;
s9, if the RSSI value is between the minimum value Vmin and the maximum value Vmax, judging whether the current power level is highest, and if so, returning to the step S7;
if the power level is not the highest level, commanding the slave station to increase the first power level, and correspondingly setting the master station to increase the first power level;
if the RSSI value is not between the minimum value Vmin and the maximum value Vmax, returning to the step S7;
or (b)
If the accuracy of the transmission data is greater than the highest accuracy Dmax, judging whether the current power level is the lowest, if so, returning to the step S7;
if the power level is not the lowest, the slave station is instructed to reduce the first-gear power level, and the master station is correspondingly arranged to reduce the first-gear power level;
if the accuracy of the transmission data is smaller than the highest accuracy Dmax, the step S7 is returned.
In step S5, the master processing unit performs an average calculation according to the RSSI value stored in the master and the queried RSSI value of the slave, and selects the frequency with the lowest RSSI average value.
In step S9.2, the accuracy of the transmission data is R, and the calculation mode of the accuracy is completed by the response rate of the master station polling the slave station;
specifically, the method is completed through two counters, wherein one counter represents the number C1 of the master station for polling the slave station, and the other counter represents the number C2 of the master station for receiving the correct response of the slave station;
the counter C1 is added with 1 after the master station polls the slave station every time, if a correct response of the slave station is received, the counter C2 is added with 1, otherwise, the counter C2 is unchanged; thus, the data accuracy r=c2/C1 is calculated.
In operation, the invention not only reduces the influence on other wireless communication equipment, but also improves the communication concealment, has obvious effect in special wireless communication application scenes, and solves the problem of reliable communication in complex electromagnetic environment by automatically selecting the power level.
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 invention is shown in fig. 1-2, comprising a master station and a slave station communicating by wireless; the master station and the slave station are respectively provided with a processing unit, an RSSI detection unit and a transceiver unit,
the processing unit is used for data processing and,
the RSSI detection unit is used for an RSSI detection operation,
the receiving and transmitting unit is used for receiving and transmitting wireless data;
the RSSI detection unit and the transceiver 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, selecting the optimal frequency through decision, and sending the optimal frequency to a frequency synthesizer of the receiving and transmitting unit to generate a 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 completing the generation of wireless communication frequency, the receiving and transmitting channel is used for receiving and transmitting the radio signals, the conversion of the radio signals and user data is completed, and the power amplifier component is used for amplifying power.
The method comprises the following steps:
s1, detecting RSSI values in a range from a start frequency fs to an end frequency fe (the range can be customized according to requirements) by a master station and a slave station through an RSSI detection unit respectively, and storing read data; the RSSI value represents the case of an electromagnetic environment.
S2, setting the maximum initial power level, and enabling a master station and a slave station to work at an initial working frequency fc; at the beginning of the start-up, the power level is set to be maximum in order to ensure that the communication can be normal.
S3, the master station polls the slave station in a period T, the slave station receives a polling instruction of the master station and gives a response, and the master station indicates that a communication network is established after receiving the response.
If the main station receives the response, the main station indicates that the communication network is established;
if the master station does not receive the response of the slave station, the master station always polls and waits for the response;
s4, after receiving the response, the master station inquires the RSSI value of the slave station,
the query is successful, and the slave station reports the stored RSSI value to the master station;
the inquiry is unsuccessful, and the inquiry is continued;
s5, calculating an optimal frequency;
s6, transmitting the optimal frequency to the slave station;
the transmission is successful, and the slave station is switched to the optimal frequency;
the transmission is unsuccessful, and the transmission is continued;
s7, switching to the optimal frequency by the master station, polling the slave station by the master station in a period T, and giving a response after the slave station receives the response;
s8, the master station detects the RSSI value in a period T;
s9, if the RSSI value is between the minimum value Vmin and the maximum value Vmax, judging whether the current power level is highest, and if so, returning to the step S7;
if the power level is not the highest level, commanding the slave station to increase the first power level, and correspondingly setting the master station to increase the first power level;
if the RSSI value is not between the minimum value Vmin and the maximum value Vmax, returning to the step S7;
or (b)
If the accuracy of the transmission data is greater than the highest accuracy Dmax, judging whether the current power level is the lowest, if so, returning to the step S7;
if the power level is not the lowest, the slave station is instructed to reduce the first-gear power level, and the master station is correspondingly arranged to reduce the first-gear power level;
if the accuracy of the transmission data is smaller than the highest accuracy Dmax, the step S7 is returned.
Thus, the loop is executed after the detection is completed once.
The invention controls according to the RSSI value and the data accuracy. The RSSI value is detected with a period T, and when the RSSI value is between Vmin (minimum value) and Vmax (maximum value), it is indicated that there is weak interference at the current operating frequency, and if the power level is not the maximum level at this time, the power level is automatically increased.
When the transmission data accuracy rate R is greater than Dmax (maximum accuracy rate), it is indicated that the communication is good, and if the power level is not the minimum level at this time, the power level is automatically lowered.
The minimum value Vmin, the maximum value Vmax and the highest accuracy Dmax are all set values.
In step S5, the master processing unit performs an average calculation according to the RSSI value stored in the master and the queried RSSI value of the slave, and selects the frequency with the lowest RSSI average value.
For example, the master station samples 50 RSSI values at a frequency of 50 MHz-100 MHz (step 1 MHz), and the slave station samples 50 RSSI values at a frequency of 50 MHz-100 MHz (step 1 MHz). Then, after averaging the corresponding 50 values, the lowest value is taken out.
In step S9.2, the accuracy of the transmission data is R, and the calculation mode of the accuracy is completed by the response rate of the master station polling the slave station; namely, the master station calculates the accuracy R of continuous N times of polling data;
specifically, the method is completed through two counters, wherein one counter represents the number C1 of the master station for polling the slave station, and the other counter represents the number C2 of the master station for receiving the correct response of the slave station;
the counter C1 is added with 1 after the master station polls the slave station every time, if a correct response of the slave station is received, the counter C2 is added with 1, otherwise, the counter C2 is unchanged; thus, the data accuracy r=c2/C1 is calculated.
For the purposes of this disclosure, the following points are also described:
(1) The drawings of the embodiments disclosed in the present application relate only to the structures related to the embodiments disclosed in the present application, and other structures can refer to common designs;
(2) The embodiments disclosed herein and features of the embodiments may be combined with each other to arrive at new embodiments without conflict;
the above is only a specific embodiment disclosed in the present application, but the protection scope of the present disclosure is not limited thereto, and the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (2)

1. A power adaptation method for wireless network communication, the method being for a master station and a slave station communicating via wireless; it is characterized in that the method comprises the steps of,
the master station and the slave station are respectively provided with a processing unit, an RSSI detection unit and a transceiver unit,
the processing unit is used for data processing and,
the RSSI detection unit is used for an RSSI detection operation,
the receiving and transmitting unit is used for receiving and transmitting wireless data;
the RSSI detection unit and the transceiver unit are respectively communicated with the processing unit;
the method comprises the following steps:
s1, a master station and a slave station respectively detect RSSI values within a range from a starting frequency fs to an ending frequency fe through an RSSI detection unit, and store read data;
s2, setting the maximum initial power level, and enabling a master station and a slave station to work at an initial working frequency fc;
s3, the master station polls the slave station in a period T, the slave station gives a response after receiving a polling instruction of the master station,
if the main 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 always polls and waits for the response;
s4, after receiving the response, the master station inquires the RSSI value of the slave station,
if the inquiry is successful, the slave station reports the stored RSSI value to the master station;
if the query is unsuccessful, continuing the query;
s5, calculating an optimal frequency;
in step S5, the main station processing unit performs average calculation according to the RSSI value stored in the main station and the queried RSSI value of the slave station, and selects the frequency with the lowest RSSI mean value;
s6, transmitting the optimal frequency to the slave station;
if the transmission is successful, the slave station is switched to the optimal frequency;
if the transmission is unsuccessful, continuing the transmission;
s7, switching to the optimal frequency by the master station, polling the slave station by the master station in a period T, and giving a response after the slave station receives the response;
s8, the master station detects the RSSI value in a period T;
s9, if the RSSI value is between the minimum value Vmin and the maximum value Vmax, judging whether the current power level is highest, and if so, returning to the step S7;
if the power level is not the highest level, commanding the slave station to increase the first power level, and correspondingly setting the master station to increase the first power level;
if the RSSI value is not between the minimum value Vmin and the maximum value Vmax, returning to the step S7;
or (b)
If the accuracy of the transmission data is greater than the highest accuracy Dmax, judging whether the current power level is the lowest, if so, returning to the step S7;
if the power level is not the lowest, the slave station is instructed to reduce the first-gear power level, and the master station is correspondingly arranged to reduce the first-gear power level;
if the accuracy of the transmission data is smaller than the highest accuracy Dmax, the step S7 is returned.
2. A power adaptation method for wireless network communication as recited in claim 1, wherein,
in step S9, the accuracy of the transmission data is R, and the calculation of the accuracy is completed by the master station polling the response rate of the slave station;
specifically, the method is completed through two counters, wherein one counter represents the number C1 of the master station for polling the slave station, and the other counter represents the number C2 of the master station for receiving the correct response of the slave station;
the number of times C1 is increased by 1 after the master station polls the slave station every time, the number of times C2 is increased by 1 if the correct response of the slave station is received, otherwise, the number of times C2 is unchanged; thus, the data accuracy r=c2/C1 is calculated.
CN202110546166.3A 2021-05-19 2021-05-19 Power self-adaption method for wireless network communication Active CN113260037B (en)

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 CN113260037A (en) 2021-08-13
CN113260037B true 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN110139344A (en) * 2019-01-28 2019-08-16 博频云彩(北京)科技有限公司 One kind being based on time quasi synchronous distributed network Poewr control method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7398101B2 (en) * 2005-03-01 2008-07-08 Micrel, Inc. Transmitter power level optimization and error correction technique
JP6834169B2 (en) * 2016-04-28 2021-02-24 オムロン株式会社 Communication equipment, systems, methods and programs with communication equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN110139344A (en) * 2019-01-28 2019-08-16 博频云彩(北京)科技有限公司 One kind being based on time quasi synchronous distributed network Poewr control method

Also Published As

Publication number Publication date
CN113260037A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN108282166B (en) Antenna coexistence mutual interference processing method and device, storage medium and electronic equipment
US7391746B2 (en) Power saving method in wireless LAN system for permitting terminal station to promptly transition to doze state by transmitting empty data frame
US9553688B2 (en) Wireless communication apparatus and interference detection method
US6647273B2 (en) Method and apparatus for reducing power consumption in transceivers in wireless communications systems having a power control loop
CN101568132B (en) Method for processing handoff
CN107231202B (en) LoRa working mode switching method, device and system
EP3909297B1 (en) Signal-repeater device operable in low-power repeater-operation mode
CN108834121B (en) Bluetooth device ad hoc network method and system
JP2003516089A (en) Antenna control method of receiving apparatus in wireless system, especially mobile wireless system
CN113298985A (en) RSSI-based digital key unlocking terminal positioning method and system
US20110130101A1 (en) Wireless communication system and method for sharing sensing antenna, sensing receiver, data transceiver antenna, and data transceiver
EP4262254A1 (en) Communication method and apparatus, terminal device, and storage medium
CN113260037B (en) Power self-adaption method for wireless network communication
US8855097B2 (en) Method using a blanking signal to reduce the leakage transmitter-receiver
JPH11136157A (en) Mobile radio terminal equipment
CN116684952A (en) Communication power adjustment method, device, equipment and medium of dual-mode communication system
CN113259030B (en) Frequency self-adaption method based on RSSI wireless network communication system
CN113194527B (en) WIFI device, transmission power adjusting method thereof and computer-readable storage medium
US20040192287A1 (en) Mobile phone and method for connecting to a preferred communication system among a plurality of communication systems with different radio frequency bands
JP7332288B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
CN114698062A (en) Device pairing method and system, master device, slave device and storage medium
US20240031935A1 (en) Power consumption control method and wireless local area network communication apparatus
CN113179142A (en) Network scheduling system for self-adaptive channel selection
WO2024027399A1 (en) Communication method and apparatus
CN113179141A (en) Self-adaptive channel selection algorithm for network scheduling

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