CN113489511A - Wireless frequency hopping networking method based on time slice rotation scheduling - Google Patents

Wireless frequency hopping networking method based on time slice rotation scheduling Download PDF

Info

Publication number
CN113489511A
CN113489511A CN202110877808.8A CN202110877808A CN113489511A CN 113489511 A CN113489511 A CN 113489511A CN 202110877808 A CN202110877808 A CN 202110877808A CN 113489511 A CN113489511 A CN 113489511A
Authority
CN
China
Prior art keywords
networking
slave
frequency
host
frequency hopping
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
Application number
CN202110877808.8A
Other languages
Chinese (zh)
Other versions
CN113489511B (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.)
Fujian Youtong Industrial Co ltd
Original Assignee
Fujian Youtong Industrial 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 Fujian Youtong Industrial Co ltd filed Critical Fujian Youtong Industrial Co ltd
Priority to CN202110877808.8A priority Critical patent/CN113489511B/en
Publication of CN113489511A publication Critical patent/CN113489511A/en
Application granted granted Critical
Publication of CN113489511B publication Critical patent/CN113489511B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/715Interference-related aspects
    • 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/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/715Interference-related aspects
    • H04B2001/7152Interference-related aspects with means for suppressing interference
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention relates to a wireless frequency hopping networking method based on time slice rotation scheduling. The invention relates to a method for realizing networking of a host and a slave, which comprises the following steps that in the networking process of the host and the slave, a fixed networking special frequency point sequence is arranged between the host and the slave, data interaction is carried out between the host and the slave in the networking process by using the networking special frequency point sequence, the slave can obtain a special frequency point sequence after successful networking confirmation, the host can record and store the frequency point sequence of the slave, and the host and the slave can communicate with each other by using the frequency point sequence in the next period.

Description

Wireless frequency hopping networking method based on time slice rotation scheduling
Technical Field
The invention belongs to the technical field of wireless communication, and particularly relates to a wireless frequency hopping networking method based on time slice rotation scheduling.
Background
With the development of electronic devices and network communication, people have higher and higher requirements on network communication, particularly wireless communication, and on one hand, the requirements on the increasing transmission bandwidth and the transmission distance are required to be met, and particularly, the requirements on the aspect are particularly outstanding for the application part of the smart home industry. In recent years, adaptive anti-interference frequency hopping technology is intensively researched in all countries, but only point-to-point frequency hopping is adopted, so that research on adaptive frequency hopping networking is less, and engineering realization is less. In order to realize effective communication in a strong interference environment and avoid mutual interference among multiple devices, reasonable networking is necessary.
Disclosure of Invention
The invention aims to provide a wireless frequency hopping networking method based on time slice round robin scheduling, which realizes wireless frequency hopping networking communication by adopting the time slice round robin scheduling and solves the problem of anti-interference of frequency hopping networking of a plurality of devices.
In order to achieve the purpose, the technical scheme of the invention is as follows: a wireless frequency hopping networking method based on time slice rotation scheduling comprises 1 host and a plurality of slaves, wherein the slaves and the host adopt wireless data communication, and the method comprises the following implementation steps:
step S1, the host computer inserts time frame 0 in each time frame 1 gap, and during the time frame 0, the host computer uses each frequency point in the preset networking frequency hopping frequency list to cyclically hop frequency and sends networking broadcast commands;
step S2, each slave machine uses each frequency point in a preset networking frequency hopping frequency list which is the same as the master machine to carry out cyclic frequency hopping before networking, and the frequency hopping time frame interval of the slave machine is 2-N times of the time frame 0 interval of the master machine;
step S3, after receiving the networking broadcast command sent by the host, the slave sends back a response signal with its own ID number to the host, after receiving the networking response signal of the slave, the host sends a networking confirmation broadcast command with ID information again, and the number obtained by modulo operation according to the ID number is used as the subsequent relative frequency offset;
step S4, after receiving the confirmation command of the host, the slave replies a response signal of successful networking to the host again, the slave selects a sequence list of corresponding main frequency hopping according to the ID number, reads the frequency point information in the list and then carries out relative operation with the relative frequency offset, and the generated frequency point information is sent to the radio frequency circuit of the slave for execution;
step S5, after the host receives the slave networking success response signal, the host moves the slave information to a success networking queue and removes the slave information from the non-networking sequence;
and step S6, when the master wheel rotates to normally communicate with the slave, the master obtains the relevant information of the slave from the successful networking queue according to the ID number, selects the corresponding sequence list of the master frequency hopping, reads the frequency point information in the list, then carries out relative operation with the relative frequency offset, and sends the generated frequency point information to the master radio frequency circuit for execution, thereby achieving the purpose that the master and the slave carry out data communication on the same frequency point.
In an embodiment of the present invention, in step S2, the value of N is the number of frequency points in the preset networking frequency hopping frequency list.
In one embodiment of the present invention, in step S2, the number obtained by the modulo operation of the ID number in step S3 is a number between 0 and 15.
In an embodiment of the present invention, for fast networking success, the slave frequency hopping waiting time is set as the master frequency hopping cycle one-week time.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention sets ID number for each slave device, obtains frequency deviation offset according to ID number modular operation, overcomes the defect that a plurality of slave frequency points on a certain time node are the same, and improves the success rate of communication.
2. The invention reduces the difficulty of networking and solves the problem of low cost under the condition of meeting the requirements of transmission rate and transmission distance, and common 8-bit single-chip machines can finish frequency hopping communication according to the method.
3. The invention can fully utilize frequency resources, basically has no mutual interference among frequency points on different frequency hopping frequency tables, and greatly reduces the mutual interference among frequency hopping on the same frequency hopping frequency table.
Drawings
FIG. 1 is a timing diagram of the slice round robin scheduling of the present invention.
Fig. 2 shows the distribution of the master-slave unit network frequency hopping time slice.
FIG. 3 shows the distribution of normal frequency hopping time slices of the master and slave machines of the present invention
FIG. 4 is a diagram of slave device latency synchronization time slice distribution according to the present invention
FIG. 5 is a schematic diagram of the connection between the MCU and the RF circuit according to the present invention.
FIG. 6 is a schematic diagram of the connection between the MCU and the WiFi module according to the present invention.
Detailed Description
The technical scheme of the invention is specifically explained below with reference to the accompanying drawings.
The invention relates to a wireless frequency hopping networking method based on time slice rotation scheduling, which comprises 1 host and a plurality of slave machines, wherein the slave machines and the host adopt wireless data communication, and the method comprises the following implementation steps:
step S1, the host computer inserts time frame 0 in each time frame 1 gap, and during the time frame 0, the host computer uses each frequency point in the preset networking frequency hopping frequency list to cyclically hop frequency and sends networking broadcast commands;
step S2, each slave machine uses each frequency point in a preset networking frequency hopping frequency list which is the same as the master machine to carry out cyclic frequency hopping before networking, and the frequency hopping time frame interval of the slave machine is 2-N times of the time frame 0 interval of the master machine;
if 8 frequency points exist in the networking frequency hopping frequency list and the interval of the host computer for circularly sending the networking broadcast command needs 100ms, the frequency hopping time frame interval of the slave computer can be set to be 200 ms-800 ms.
Step S3, after receiving the networking broadcast command sent by the host, the slave returns a response signal with its own ID number to the host, after receiving the networking response signal of the slave, the host sends a networking confirmation broadcast command with ID information again, and obtains a number of 0-15 according to the ID number modulo operation, and the number is used as the subsequent relative frequency offset;
step S4, after receiving the confirmation command of the host, the slave replies a response signal of successful networking to the host again, the slave selects a sequence list of corresponding main frequency hopping according to the ID number, reads the frequency point information in the list and then carries out relative operation with the relative frequency offset, and the generated frequency point information is sent to the radio frequency circuit of the slave for execution;
step S5, after the host receives the slave networking success response signal, the host moves the slave information to a success networking queue and removes the slave information from the non-networking sequence;
and step S6, when the master wheel rotates to normally communicate with the slave, the master obtains the relevant information of the slave from the successful networking queue according to the ID number, selects the corresponding sequence list of the master frequency hopping, reads the frequency point information in the list, then carries out relative operation with the relative frequency offset, and sends the generated frequency point information to the master radio frequency circuit for execution, thereby achieving the purpose that the master and the slave carry out data communication on the same frequency point.
The following is a specific implementation process of the present invention.
As shown in fig. 1, the wireless frequency hopping networking method based on time slice round robin scheduling includes 1 master and a plurality of slaves, wherein the slaves and the master are in wireless data communication, and the steps are as follows:
step 1, the host computer inserts time frame 0 in each time frame 1 gap, and during the time frame 0, the host computer uses each frequency point in a preset networking frequency hopping frequency list to cyclically hop frequency and sends a networking broadcast command
And 2, each slave machine also uses each frequency point in a preset networking frequency hopping frequency list which is the same as the master machine to carry out cyclic frequency hopping before networking, and the frequency hopping time frame interval of the slave machine is 2-N times of the time frame 0 interval of the master machine.
If 8 frequency points exist in the networking frequency hopping frequency list and the interval of the host computer for circularly sending the networking broadcast command needs 100ms, the frequency hopping time frame interval of the slave computer can be set to be 200 ms-800 ms.
And 3, after receiving the networking broadcast command sent by the host, the slave transmits a response signal with the ID number of the slave back to the host, after receiving the networking response signal of the slave, the host sends a networking confirmation broadcast command with the ID information again, and the number of 0-15 is obtained according to the modulo operation of the ID number and is used as the subsequent relative frequency offset.
And 4, after receiving the confirmation command of the host, the slave replies a networking success response signal to the host again, the slave selects a corresponding main frequency hopping sequence list according to the ID number, reads the frequency point information in the list and then performs relative operation with the offset, and the generated frequency point information is sent to the slave radio frequency circuit for execution.
And 5, after receiving the slave networking success response signal, the host moves the slave information to a success networking queue and removes the slave information from the non-networking sequence.
And 6, when the master wheel rotates to normally communicate with the slave, the master obtains the relevant information of the slave from the successful networking queue according to the ID, selects a corresponding sequence list of the master frequency hopping, reads the frequency point information in the list, then performs relative operation with the offset, and sends the generated frequency point information to the master radio frequency circuit for execution. Therefore, the master and the slave can carry out data communication on the same frequency point.
In the round-robin scheduling process, the size of the time slice has a great influence on the performance of the whole networking communication, and if the time slice is too small, the frequency points of the master machine and the slave machine are not synchronous, and the communication fails. Therefore, the problem that communication fails due to the fact that the frequency points of the master and the slave are not synchronous is solved, the slave needs to have enough waiting time in the frequency hopping time frame interval, if 8 frequency points exist in the networking frequency hopping list, the communication interval between the master and the slave needs 500ms after the master rotates for one circle, the frequency hopping time frame interval of the slave can be set to be 2-N times, namely 1-4 seconds.
The distribution of the frequency hopping time slices in the master-slave networking process is shown in fig. 2, the master and slave are usually close to each other in distance in the networking process, and the slave frequency hopping waiting time is set as the master frequency hopping rotation one-week time for the success of quick networking.
When the master and slave enter normal frequency hopping communication after successful networking, the time slice distribution of the master and slave is shown in fig. 3 when no interference signal exists.
In a practical environment, due to radio electromagnetic wave interference, a certain frequency point is always occupied by other radio electromagnetic wave signals at a certain moment, so that communication failure is caused, the host machine still hops frequency according to a fixed time slice N appointed in advance, the slave machine needs to wait for 2N or more after communication failure, and only then the slave machine and the host machine can synchronously use the same frequency point at a certain moment. The slave waiting synchronization time slice distribution with the interference signal is shown in fig. 4.
As can be seen from fig. 4, in the frequency hopping communication process of 8 frequency points, communication of any frequency point fails, and since the waiting time of the slave is 4 times of the frequency hopping interval time of the master, the slave can use the same frequency point synchronously with the master after one interval.
Fig. 5 and 6 are schematic diagrams of the connection between the MCU and the rf circuit and between the MCU and the WiFi module, respectively. MCU and radio frequency circuit are connected through SPI interface, and MCU rethread serial ports is connected with the wiFi module.
The above are preferred embodiments of the present invention, and all changes made according to the technical scheme of the present invention that produce functional effects do not exceed the scope of the technical scheme of the present invention belong to the protection scope of the present invention.

Claims (4)

1. A wireless frequency hopping networking method based on time slice rotation scheduling comprises 1 host and a plurality of slaves, wherein the slaves and the host adopt wireless data communication, and the method is characterized by comprising the following implementation steps:
step S1, the host computer inserts time frame 0 in each time frame 1 gap, and during the time frame 0, the host computer uses each frequency point in the preset networking frequency hopping frequency list to cyclically hop frequency and sends networking broadcast commands;
step S2, each slave machine uses each frequency point in a preset networking frequency hopping frequency list which is the same as the master machine to carry out cyclic frequency hopping before networking, and the frequency hopping time frame interval of the slave machine is 2-N times of the time frame 0 interval of the master machine;
step S3, after receiving the networking broadcast command sent by the host, the slave sends back a response signal with its own ID number to the host, after receiving the networking response signal of the slave, the host sends a networking confirmation broadcast command with ID information again, and the number obtained by modulo operation according to the ID number is used as the subsequent relative frequency offset;
step S4, after receiving the confirmation command of the host, the slave replies a response signal of successful networking to the host again, the slave selects a sequence list of corresponding main frequency hopping according to the ID number, reads the frequency point information in the list and then carries out relative operation with the relative frequency offset, and the generated frequency point information is sent to the radio frequency circuit of the slave for execution;
step S5, after the host receives the slave networking success response signal, the host moves the slave information to a success networking queue and removes the slave information from the non-networking sequence;
and step S6, when the master wheel rotates to normally communicate with the slave, the master obtains the relevant information of the slave from the successful networking queue according to the ID number, selects the corresponding sequence list of the master frequency hopping, reads the frequency point information in the list, then carries out relative operation with the relative frequency offset, and sends the generated frequency point information to the master radio frequency circuit for execution, thereby achieving the purpose that the master and the slave carry out data communication on the same frequency point.
2. The wireless frequency hopping networking method according to claim 1, wherein in step S2, the value of N is the number of frequency points in a preset networking frequency hopping list.
3. The method of claim 1, wherein in step S2, in step S3, the number obtained by modulo operation based on the ID number is a number between 0 and 15.
4. The wireless frequency hopping networking method based on time slice round robin scheduling of claim 1, wherein for fast networking success, slave frequency hopping waiting time is set as master frequency hopping round robin time.
CN202110877808.8A 2021-08-02 2021-08-02 Wireless frequency hopping networking method based on time slice rotation scheduling Active CN113489511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110877808.8A CN113489511B (en) 2021-08-02 2021-08-02 Wireless frequency hopping networking method based on time slice rotation scheduling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110877808.8A CN113489511B (en) 2021-08-02 2021-08-02 Wireless frequency hopping networking method based on time slice rotation scheduling

Publications (2)

Publication Number Publication Date
CN113489511A true CN113489511A (en) 2021-10-08
CN113489511B CN113489511B (en) 2022-10-21

Family

ID=77945043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110877808.8A Active CN113489511B (en) 2021-08-02 2021-08-02 Wireless frequency hopping networking method based on time slice rotation scheduling

Country Status (1)

Country Link
CN (1) CN113489511B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102651655A (en) * 2011-02-24 2012-08-29 北京化工大学 Realization method of fast frequency hopping communication
CN105897304A (en) * 2016-05-31 2016-08-24 西安空间无线电技术研究所 Rapid sync method of frequency hopping communication system
CN105897301A (en) * 2016-06-30 2016-08-24 山东航天电子技术研究所 Self-adaptive anti-jamming frequency-hopping networking method
CN113098562A (en) * 2021-04-08 2021-07-09 北京中天星控科技开发有限公司 Method for generating broadband point interval frequency hopping sequence of synchronous networking radio station

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102651655A (en) * 2011-02-24 2012-08-29 北京化工大学 Realization method of fast frequency hopping communication
CN105897304A (en) * 2016-05-31 2016-08-24 西安空间无线电技术研究所 Rapid sync method of frequency hopping communication system
CN105897301A (en) * 2016-06-30 2016-08-24 山东航天电子技术研究所 Self-adaptive anti-jamming frequency-hopping networking method
CN113098562A (en) * 2021-04-08 2021-07-09 北京中天星控科技开发有限公司 Method for generating broadband point interval frequency hopping sequence of synchronous networking radio station

Also Published As

Publication number Publication date
CN113489511B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
CN105657639B (en) Dual-mode equipment and its method realized while communicated
CN105337680B (en) A kind of high-accuracy network time unification device and method
CN104317765B (en) A kind of one-to-many communication system and implementation method based on serial communication
CN102752040B (en) Hybrid networking and communication method based on wireless and power line carrier
CN104039015B (en) Distribution method and device, the system of random access resource
CN102393702A (en) Method and system for expanding motion control terminal
CN109996325B (en) Clock synchronization system and method of wireless sensor network
CN104184687B (en) A kind of flow control method and hardware accelerator circuit of communications baseband processing
CN114257996A (en) Device discovery method and device
US11632718B2 (en) Wireless networking method having low power consumption and high interference resistance
CN102035574B (en) Transmission method capable of reducing radio resource consumption and related device thereof
CN107809756B (en) Bluetooth controller, module, terminal, system and Bluetooth connection method
JP2005518714A5 (en)
CN112751937A (en) Distributed edge intelligent Bluetooth Mesh gateway system and implementation method
CN202617155U (en) Multiple host RS485 communication device
CN103167599A (en) Method and device for information synchronization
CN108880606A (en) The method and apparatus of synchronous signal transmission
CN113489511B (en) Wireless frequency hopping networking method based on time slice rotation scheduling
CN105991788A (en) Method for realizing slave network address assignment based on NFC communication
CN111683353A (en) Method for connecting low-power-consumption Bluetooth master device with multiple slave devices
CN111954165A (en) Wireless synchronous data transmission method and device
CN106851836A (en) A kind of low-consumption wireless star net forming method of real-time high-efficiency
CN103796277A (en) Method, system and device for indicating beacon frame sending and sending beacon frame
CN102081383B (en) Device and method for secure network protocol for field control
CN103037537B (en) Discovery process time delay optimization method of bluetooth device

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
GR01 Patent grant
GR01 Patent grant