Channel and Modulation Mode Automatic Search Method, Communication Method, and Communication Device

Through the automatic search method of channel and modulation mode, the GFSK and linear frequency modulation mode are cyclically monitored, solving the problem of communication incompatibility between old and new wireless communication products, and realizing the compatibility of receivers with signals of different modes.

CN119945629BActive Publication Date: 2025-06-10WUHAN HUABO COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510423383.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-07
Publication Date
2025-06-10
Estimated Expiration
2045-04-07

AI Technical Summary

Technical Problem

New and old wireless communication products have problems of communication incompatibility, and it is difficult for receivers in new mode to receive signals in GFSK and linear frequency modulation modes at the same time.

Method used

The automatic search method of channel and modulation mode is adopted to monitor each channel in GFSK and linear frequency modulation modes by cyclically, and switch to the corresponding mode and channel to receive signals in different modes.

Benefits of technology

It realizes that the receiver is compatible with signals in GFSK and linear frequency modulation modes, solving the problem that the receiver is difficult to receive signals from different modes at the same time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119945629B_ABST
    Figure CN119945629B_ABST
Patent Text Reader

Abstract

The present invention discloses an automatic search method for channels and modulation modes. By cyclically monitoring the signals of each channel in the GFSK mode and the chirp mode, it can effectively take into account the signals transmitted in the GFSK mode and the signals transmitted in the chirp mode, and switch to the corresponding mode and channel, facilitating subsequent signal reception. Thus, it can effectively solve the problem in the related art that it is difficult for a receiver to receive both the signals transmitted in the GFSK mode and the signals transmitted in the chirp mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technologies, and specifically relates to a method for automatically searching channels and modulation modes, a communication method, and a communication device. Background Art

[0002] Most of the wireless data transmission devices produced and used in the early 21st century adopted radio frequency integrated chips supporting the GFSK modulation mode for wireless data broadcast transmission within a certain distance range, and mobile receiving devices received information within the signal coverage area. Most products were designed to operate at a fixed frequency at a single modulation mode and a single frequency point. Switching the modulation mode or frequency point required a wireless transmission command or manual switching.

[0003] In recent years, with the development of wireless communication technologies, a chirp modulation technology with a longer communication distance has emerged. After the new mode products are delivered to users, there is a problem of incompatibility between the new and old products in communication. The receivers of the new mode need to be able to receive signals transmitted in the chirp mode and also be able to receive signals transmitted in the GFSK mode. Summary of the Invention

[0004] The purpose of the present invention is to provide a method for automatically searching channels and modulation modes, a communication method, and a communication device to solve at least one of the above technical problems.

[0005] To achieve the above purpose, the technical solution adopted by the present invention is:

[0006] A method for automatically searching channels and modulation modes includes the following steps:

[0007] a1. Set the radio frequency mode to the chirp mode, start listening to the first channel, and reset the channel search counter;

[0008] a2. If the channel search counter has not timed out, determine whether the wireless data verification correct flag is valid; if it is valid, clear the wireless data verification correct flag, the receiver switches to the currently received channel and mode, and starts and resets the channel valid counter, then jump to step a5; if it is not valid, wait for the channel search counter to time out; if the channel search counter times out, enter step a3;

[0009] a3. If all the set channels have been listened to, enter step a4; if not all the set channels have been listened to, switch to the next channel to start listening and reset the channel search counter, and then return to step a2;

[0010] a4. Set the radio frequency mode to the GFSK mode, start listening to the first channel, and reset the channel search counter, then return to step a2;

[0011] a5. If the channel valid counter does not time out, determine whether the wireless data verification correct flag is valid. If it is valid, reset the channel valid counter and clear the wireless data verification correct flag. If it is not valid, wait for the channel valid counter to time out. If the channel valid counter times out, reset the channel search counter and return to step a2.

[0012] The present invention also provides a communication method, including the following steps:

[0013] According to the difference of the hardware, the device software automatically identifies the device type as a transmitter or a receiver.

[0014] When the device software automatically identifies the device type as a transmitter, execute the signal transmission program.

[0015] When the device software automatically identifies the device type as a receiver, execute the signal reception program.

[0016] Among them, when executing the signal reception program, adopt the above-mentioned automatic search method for channels and modulation modes.

[0017] Specifically, the signal transmission program includes:

[0018] Set the channel, power and modulation mode of the transmitter.

[0019] The transmitter receives the data to be sent from the computer.

[0020] The transmitter encodes and sends the data according to the set channel, power and modulation mode.

[0021] Specifically, the signal reception program includes:

[0022] Set the modulation mode and frequency of the receiver.

[0023] Adopt the above-mentioned automatic search method for channels and modulation modes.

[0024] The receiver receives the data and decodes the data.

[0025] Specifically, the modulation mode includes GFSK mode, chirp mode and compatible mode.

[0026] Furthermore, when the modulation mode is GFSK mode and chirp mode, each packet of data is sent at multiple frequency points on the set channel.

[0027] Furthermore, when the modulation mode is compatible mode, the data is first sent in GFSK mode and then in chirp mode.

[0028] The present invention also provides a communication device, based on the above communication method, including a transmitting device and a receiving device.

[0029] Specifically, the transmitting device includes a transmitter compatible with GFSK and chirp modes for data transmission.

[0030] Specifically, the receiving device includes a receiver compatible with GFSK and chirp modes for data reception.

[0031] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0032] In the above technical solution, a method for automatically searching channels and modulation modes includes the following steps: a1. Set the radio frequency mode to the chirp mode, start listening to the first channel and reset the channel search counter; a2. If the count of the channel search counter does not time out, determine whether the wireless data verification correct flag is valid; if valid, clear the wireless data verification correct flag, switch the receiver to the currently received channel and mode, and start and reset the channel valid counter, then jump to step a5; if invalid, wait for the count of the channel search counter to time out; if the count of the channel search counter times out, enter step a3; a3. If all the set channels have been listened to, enter step a4; if not all the set channels have been listened to, switch to the next channel to start listening and reset the channel search counter, and then return to step a2; a4. Set the radio frequency mode to the GFSK mode, start listening to the first channel and reset the channel search counter, and then return to step a2; a5. If the count of the channel valid counter does not time out, determine whether the wireless data verification correct flag is valid. If valid, reset the channel valid counter and clear the wireless data verification correct flag. If invalid, wait for the count of the channel valid counter to time out; if the count of the channel valid counter times out, reset the channel search counter and return to step a2. By cyclically listening to the signals of each channel in the GFSK mode and the chirp mode, the present invention can effectively take into account the signals transmitted in the GFSK mode and the signals transmitted in the chirp mode, and switch to the corresponding mode and channel, facilitating subsequent signal reception, thereby effectively solving the problem in the related art that it is difficult for the receiver to receive both the signals transmitted in the GFSK mode and the signals transmitted in the chirp mode. Description of the Drawings

[0033] Figure 1 It is a schematic structural diagram of a communication device in this embodiment;

[0034] Figure 2 It is a flowchart of a method for automatically searching channels and modulation modes in this embodiment;

[0035] Figure 3 It is a flowchart of a communication method in this embodiment;

[0036] Figure 4 It is a flowchart of a signal transmission program in this embodiment;

[0037] Figure 5 This is the signal reception program flow chart in this embodiment. Specific implementation manners

[0038] Next, the technical solutions of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.

[0039] As Figure 1 shown, this embodiment provides a communication device, including a transmitting device and a receiving device.

[0040] Specifically, as Figure 1 shown, the transmitting device includes a transmitter compatible with GFSK and chirp modes for data transmission. The transmitter is powered by a DC regulated power supply or a battery. The transmitter is also connected to a computer and a transmitting antenna. The transmitter and its corresponding computer are connected by a data cable. An antenna feeder is connected between the transmitter and the transmitting antenna. A lightning arrester assembly can also be connected between the transmitter and the antenna feeder.

[0041] Specifically, as Figure 1 shown, the receiving device includes a receiver compatible with GFSK and chirp modes for data reception. The receiver is powered by a DC regulated power supply or a battery. The receiver is also connected to a computer and a receiving antenna. The receiver and its corresponding computer are connected by a data cable.

[0042] Specifically, the transmitter includes:

[0043] A transmitter initialization unit for completing the hardware initialization of the transmitter;

[0044] A transmitter self-check unit for periodically self-checking the connection of the transmitter channel switch and the transmitter power switch;

[0045] A transmitter data buffer for buffering transmitter data;

[0046] A serial port data receiving unit for receiving computer serial port data and storing it in the transmitter data buffer. The transmitter receives data from the computer through the serial port data receiving unit for subsequent data transmission;

[0047] A chirp data encoding unit for encoding data in the chirp working mode;

[0048] A GFSK data encoding unit for encoding data in the GFSK mode;

[0049] A chirp RF transmitting unit that wirelessly transmits data in the chirp mode;

[0050] A GFSK RF transmitting unit that wirelessly transmits data in the GFSK mode;

[0051] A transmitter channel switch acquisition unit for acquiring the input value of the transmitter channel switch;

[0052] A transmitter power switch acquisition unit for acquiring the input value of the transmitter power switch;

[0053] A transmitter modulation mode acquisition unit for acquiring the input value of the modulation mode switch;

[0054] A transmitter frequency setting unit for setting the wireless RF frequency of the transmitter;

[0055] A transmitter power setting unit for setting the wireless RF power of the transmitter;

[0056] A transmitter modulation mode setting unit for setting the modulation mode of the transmitter;

[0057] A transmitter status display unit for indicating the operating status of the transmitter.

[0058] Specifically, the receiver includes:

[0059] A receiver initialization unit for completing the hardware initialization of the receiver;

[0060] A receiver data buffer for buffering receiver data;

[0061] A serial port data sending unit that sends the data in the receiver data buffer to a computer through the serial port. The data received by the receiver is stored in the receiver data buffer and then sent to the computer through the serial port;

[0062] A chirp data decoding unit for decoding data in the chirp operating mode;

[0063] A GFSK data decoding unit for decoding data in the GFSK mode;

[0064] A chirp RF receiving unit that receives wireless data in the chirp mode and stores it in the receiver data buffer;

[0065] A GFSK RF receiving software unit that receives wireless data in the GFSK mode and stores it in the receiver data buffer;

[0066] A receiver frequency setting unit for setting the radio frequency of the receiver;

[0067] A receiver modulation mode setting unit for setting the modulation mode of the receiver;

[0068] A channel and modulation mode automatic search unit for automatically searching for radio frequency channels and modulation modes;

[0069] A receiver status display unit for indicating the operating status of the receiver.

[0070] As Figure 2 shown, this embodiment also provides a method for automatically searching for channels and modulation modes, including the following steps:

[0071] a1. Set the radio frequency mode to the chirp mode, start listening to the first channel, and reset the channel search counter;

[0072] a2. If the channel search counter has not timed out, determine whether the current wireless data verification correct flag is valid; if valid, clear the wireless data verification correct flag, the receiver switches to the currently received channel and mode and starts and resets the channel valid counter, and jumps to step a5; if invalid, wait for the channel search counter to time out; if the channel search counter times out, enter step a3;

[0073] a3. If all the set channels have been listened to, enter step a4; if not all the set channels have been listened to, switch to the next channel to start listening and reset the channel search counter, and return to step a2;

[0074] a4. Set the radio frequency mode to the GFSK mode, start listening to the first channel, and reset the channel search counter, and return to step a2;

[0075] a5. If the channel valid counter has not timed out, determine whether the current wireless data verification correct flag is valid; if valid, reset the channel valid counter and clear the wireless data verification correct flag; if invalid, wait for the channel valid counter to time out; if the channel valid counter times out, reset the channel search counter and return to step a2.

[0076] By setting a channel search counter to time the channel listening time, if a wireless data verification correct flag is received within the timed period and the verification is valid, it indicates that there is data to be received under the current modulation mode and channel; if the wireless data verification correct flag is not received or the received wireless data verification correct flag is invalid, it means that there is no data to be received under the current modulation mode and channel. Based on this, different modulation modes and channels can be cyclically listened to; by setting a channel validity counter to time the channel validity time, during the period when the channel validity counter is timing, the receiver continuously verifies the wireless data verification correct flag, and each valid verification resets the channel validity counter to extend the channel validity time. If the wireless data verification correct flag is not received or the verification of the wireless data verification correct flag is invalid when the channel validity counter times out, it means that the data reception is complete or there is no data to be received on this channel.

[0077] As Figure 3 shown, this embodiment also provides a communication method, including the following steps:

[0078] The device software automatically identifies the device type as a transmitter or a receiver according to the different hardware;

[0079] When the device software automatically identifies the device type as a transmitter, execute the signal transmission program;

[0080] When the device software automatically identifies the device type as a receiver, execute the signal reception program;

[0081] Among them, when executing the signal reception program, adopt the above-mentioned automatic search method for channels and modulation modes.

[0082] Specifically, as Figure 4 shown, the signal transmission program includes:

[0083] Set the channel, power, and modulation mode of the transmitter;

[0084] The transmitter receives the data to be sent from the computer;

[0085] The transmitter encodes and sends the data according to the set channel, power, and modulation mode.

[0086] Specifically, as Figure 5 shown, the signal reception program includes:

[0087] Set the modulation mode and frequency of the receiver;

[0088] Adopt the above-mentioned automatic search method for channels and modulation modes;

[0089] The receiver receives the data and decodes the data.

[0090] Specifically, the modulation modes include the GFSK mode, the chirp mode, and the compatible mode.

[0091] Furthermore, when the modulation mode is the GFSK mode or the chirp mode, each packet of data is transmitted at multiple frequency points on the set channel, with an interval set between the frequency points; for example, when the modulation mode is the GFSK mode, each data packet is transmitted once at 3 frequency points on the set channel, and is repeated 3 times in total; when the modulation mode is the chirp mode, each data packet is transmitted once at 2 frequency points on the set channel, and is repeated 2 times in total, so as to improve the anti-interference ability.

[0092] Furthermore, when the modulation mode is the compatible mode, the data is first transmitted in the GFSK mode and then in the chirp mode.

[0093] It should be noted that although the present invention is disclosed above with specific embodiments, the above embodiments are not intended to limit the present invention. Those of ordinary skill in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention is subject to the scope defined by the claims.

Claims

1. A method for automatically searching for channels and modulation modes, characterized in that: The following steps are involved: a1. Set the RF mode to linear frequency modulation mode, start monitoring the first channel and reset the channel search counter; a2. If the channel search counter counts before timeout, determine whether the wireless data verification correct flag is valid; if valid, clear the wireless data verification correct flag, switch the receiver to the current receiving channel and mode, start and reset the channel valid counter, and jump to step a5; if invalid, wait for the channel search counter to timeout; if the channel search counter counts before timeout, go to step a3; a3. If all set channels have been monitored, proceed to step a4. If not all set channels have been monitored, switch to the next channel to start monitoring and reset the channel search counter, and return to step a2. a4. Set the radio frequency mode to GFSK mode, start monitoring the first channel and reset the channel search counter, and return to step a2; a5. If the channel valid counter counts before timeout, determine whether the wireless data verification correct flag is valid. If valid, reset the channel valid counter and clear the wireless data verification correct flag. If invalid, wait for the channel valid counter to timeout. If the channel valid counter counts before timeout, reset the channel search counter and return to step a2.

2. A communication method, characterized in that: The following steps are involved: The device software automatically identifies the device type as a transmitter or receiver based on the hardware; When the device software automatically identifies the device type as a transmitter, the signal transmission program is executed; When the device software automatically identifies the device type as a receiver, the signal receiving program is executed; Wherein, when executing the signal receiving program, the channel and modulation mode automatic search method based on claim 1 is adopted.

3. The communication method according to claim 2, characterized in that: The signal transmission procedure includes: Set the transmitter's channel, power and modulation mode; The transmitter receives data to be sent from the computer; The transmitter encodes and sends the data according to the set channel, power and modulation mode.

4. The communication method according to claim 3, characterized in that: The signal receiving procedure includes: Set the modulation mode and frequency of the receiver; Adopting the channel and modulation mode automatic search method based on claim 1; The receiver receives the data and decodes the data.

5. The communication method according to claim 4, characterized in that: The modulation modes include GFSK mode, linear frequency modulation mode and compatible mode.

6. The communication method according to claim 3, characterized in that: When the modulation mode is GFSK mode and linear frequency modulation mode, each packet of data is sent at multiple frequency points on the set channel.

7. The communication method according to claim 6, characterized in that: When the modulation mode is the compatible mode, the data is first sent in the GFSK mode and then in the linear frequency modulation mode.

8. A communication device, based on the communication method according to any one of claims 2 to 7, characterized in that: It includes a transmitting device and a receiving device.

9. The communication device according to claim 8, characterized in that: The transmitting device comprises a transmitter compatible with GFSK and linear frequency modulation modes, and is used for data transmission.

10. The communication device according to claim 8, characterized in that: The receiving device comprises a receiver compatible with GFSK and linear frequency modulation modes, and is used for data reception.

Citation Information

Patent Citations

  • Channel searching method based on DTMB standard and digital television receiver

    CN101459789A

  • Signal-uninterruption method and device used during mode switching of modulator of monochromatic network

    CN101895330A