Channel and modulation mode automatic search method, communication method and communication device
By implementing the automatic search method of channel and modulation mode in the receiver, cyclically monitoring and switching to suitable modes and channels, the problem that the new mode receiver is difficult to compatible with GFSK and linear frequency modulation mode signals is solved, and compatible reception of the two mode signals is achieved.
Patent Information
- Application Number
- CN202510423383.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-07
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-04-07
AI Technical Summary
The receivers in the new mode are difficult to be compatible with signals transmitted in GFSK mode and linear frequency modulation mode, resulting in communication incompatibility.
Through an automatic search method for channel and modulation mode, the receiver cyclically monitors the signals of each channel in GFSK mode and linear frequency modulation mode, and switches to the corresponding mode and channel in order to effectively receive the signal.
It realizes that the receiver is compatible with the signals transmitted in GFSK mode and linear frequency modulation mode, solving the problem that the receiver is difficult to receive signals from both modes.
Smart Images

Figure CN119945629A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of communication technology, and specifically relates to a channel and modulation mode automatic search method, a communication method and a communication device. Background Art
[0002] Most of the wireless data transmission equipment produced and used in the early 21st century uses RF integrated chips that support GFSK modulation, which are used for wireless data broadcast transmission within a certain distance, and mobile receiving devices receive information within the signal coverage range. Most products are designed to work in a single modulation mode and a single frequency point. Switching the modulation mode or frequency point requires wireless transmission commands or manual switching.
[0003] In recent years, with the development of wireless communication technology, linear frequency modulation technology with longer communication distance has emerged. After the new model products are delivered to users, there is a problem of incompatibility between the new and old products. The new model receiver needs to be able to receive signals transmitted in linear frequency modulation mode and signals transmitted in GFSK mode. Summary of the invention
[0004] The object of the present invention is to provide a channel and modulation mode automatic search method, a communication method and a communication device to solve at least one of the above-mentioned technical problems.
[0005] To achieve the above object, the technical solution adopted by the present invention is: A method for automatically searching for channels and modulation modes comprises the following steps: 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.
[0006] The present invention also provides a communication method, comprising the following steps: 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; When executing the signal receiving program, the automatic searching method based on the above-mentioned channel and modulation mode is adopted.
[0007] Specifically, 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.
[0008] Specifically, the signal receiving procedure includes: Set the modulation mode and frequency of the receiver; Adopting the above-mentioned channel and modulation mode automatic search method; The receiver receives the data and decodes the data.
[0009] Specifically, the modulation modes include GFSK mode, linear frequency modulation mode and compatible mode.
[0010] Furthermore, when the modulation mode is the GFSK mode and the linear frequency modulation mode, each packet of data is sent at multiple frequency points on the set channel.
[0011] Furthermore, when the modulation mode is a compatible mode, the data is first sent in a GFSK mode and then sent in a linear frequency modulation mode.
[0012] The present invention also provides a communication device, based on the above communication method, comprising a transmitting device and a receiving device.
[0013] Specifically, the transmitting device includes a transmitter compatible with GFSK and linear frequency modulation modes, and is used for data transmission.
[0014] Specifically, the receiving device includes a receiver compatible with GFSK and linear frequency modulation modes, and is used for data reception.
[0015] Compared with the prior art, the present invention has the following beneficial effects: In the above technical scheme, a method for automatically searching for channels and modulation modes includes the following steps: a1, setting the radio frequency mode to the linear frequency modulation mode, starting to monitor the first channel and resetting the channel search counter; a2, if the channel search counter counts have not timed out, judging whether the wireless data verification correctness flag is valid; if valid, clearing the wireless data verification correctness flag, switching the receiver to the currently received channel and mode, and starting and resetting the channel valid counter, and jumping to step a5; if invalid, waiting for the channel search counter count to time out; if the channel search counter counts to time out, entering step a3; a3, if all the set channels have been monitored, entering step a4, if not all the set channels have been monitored, switching to the next channel to start monitoring and resetting the channel search counter, and returning to step a2; a4, setting the radio frequency mode to the GFSK mode, starting to monitor 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, 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; the present invention can effectively take into account the signals transmitted in the GFSK mode and the signals transmitted in the linear frequency modulation mode by cyclically monitoring the signals of each channel in the GFSK mode and the linear frequency modulation mode, and switch to the corresponding mode and channel to facilitate 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 linear frequency modulation mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a schematic diagram of the structure of a communication device in this embodiment; Figure 2 This is a flow chart of a method for automatically searching for channels and modulation modes in this embodiment; Figure 3 This is a flow chart of a communication method in this embodiment; Figure 4 This is a flow chart of the signal transmission procedure in this embodiment; Figure 5 This is a flow chart of the signal receiving procedure in this embodiment. DETAILED DESCRIPTION
[0017] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] like Figure 1 As shown, this embodiment provides a communication device, including a transmitting device and a receiving device.
[0019] Specifically, Figure 1 As shown, the transmitting device includes a transmitter compatible with GFSK and linear frequency modulation modes, which is used 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 via 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.
[0020] Specifically, Figure 1 As shown, the receiving device includes a receiver compatible with GFSK and linear frequency modulation modes, which is used 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 via a data cable.
[0021] Specifically, the transmitter includes: A transmitter initialization unit, used to complete transmitter hardware initialization; The transmitter self-check unit is used to periodically check the connection status of the transmitter channel switch and the transmitter power switch; A transmitter data buffer area, used for transmitter data buffering; The serial port data receiving unit is used to receive the computer serial port data and store it in the transmitter data buffer area. The transmitter receives the data from the computer through the serial port data receiving unit for subsequent data transmission. A linear frequency modulation data encoding unit, used for encoding data in a linear frequency modulation working mode; A GFSK data encoding unit, used for encoding data in a GFSK mode; A linear frequency modulation radio frequency transmission unit for wirelessly transmitting data in a linear frequency modulation mode; GFSK radio frequency transmission unit, wirelessly transmitting data in GFSK mode; A transmitter channel switch acquisition unit, used for acquiring transmitter channel switch input values; A transmitter power switch acquisition unit, used to acquire the transmitter power switch input value; The transmitter modulation mode acquisition unit is used to acquire the modulation mode switch input value; A transmitter frequency setting unit, used to set the transmitter wireless radio frequency; A transmitter power setting unit, used to set the transmitter wireless radio frequency power; A transmitter modulation mode setting unit, used to set the transmitter modulation mode; The transmitter status display unit is used to indicate the operating status of the transmitter.
[0022] Specifically, the receiver includes: A receiver initialization unit, used to complete receiver hardware initialization; A receiver data buffer area, used for receiver data buffering; A serial port data sending unit sends data in the receiver data buffer area to the computer through the serial port, and the data received by the receiver is stored in the receiver data buffer area and then sent to the computer through the serial port; A linear frequency modulation data decoding unit, used for decoding data in a linear frequency modulation working mode; A GFSK data decoding unit, used for decoding data in a GFSK mode; A linear frequency modulation radio frequency receiving unit receives wireless data in a linear frequency modulation mode and stores the data in a receiver data buffer; GFSK radio frequency receiving software unit, which receives wireless data in GFSK mode and stores it in the receiver data buffer; A receiver frequency setting unit, used to set the receiver wireless radio frequency; A receiver modulation mode setting unit, used to set the receiver modulation mode; A channel and modulation mode automatic search unit, used for automatically searching for radio frequency channels and modulation modes; The receiver status display unit is used to indicate the operating status of the receiver.
[0023] like Figure 2 As shown, this embodiment also provides a method for automatically searching for channels and modulation modes, comprising the following steps: 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 current 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 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 timeout. If the channel valid counter counts before timeout, reset the channel search counter and return to step a2.
[0024] By setting a channel search counter for timing the channel monitoring time, if a wireless data verification correct flag is received within the timing time and the verification is valid, it means that there is data that can 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 receivable data under the current modulation mode and channel. Based on this, different modulation modes and channels can be monitored cyclically; by setting a channel valid counter for timing the channel valid time, the receiver continuously verifies the wireless data verification correct flag during the channel valid counter counting period, and resets the channel valid counter each time the verification is valid to extend the channel valid time. If the wireless data verification correct flag is not received or the wireless data verification correct flag verification is invalid when the channel valid counter times out, it means that the data reception is completed or there is no data that can be received on this channel.
[0025] like Figure 3 As shown, this embodiment also provides a communication method, comprising the following steps: 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; When executing the signal receiving program, the automatic searching method based on the above-mentioned channel and modulation mode is adopted.
[0026] Specifically, Figure 4 As shown, 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.
[0027] Specifically, Figure 5 As shown, the signal receiving procedure includes: Set the modulation mode and frequency of the receiver; Adopting the above-mentioned channel and modulation mode automatic search method; The receiver receives the data and decodes the data.
[0028] Specifically, the modulation modes include GFSK mode, linear frequency modulation mode and compatible mode.
[0029] Furthermore, when the modulation mode is GFSK mode and linear frequency modulation mode, each packet of data is sent at multiple frequencies on the set channel, and the frequencies are set at intervals; exemplarily, when the modulation mode is GFSK mode, each data packet is sent once at three frequencies of the set channel, and is repeated three times in total; when the modulation mode is linear frequency modulation mode, each data packet is sent once at two frequencies of the set channel, and is repeated twice in total, so as to improve anti-interference capability.
[0030] Furthermore, when the modulation mode is a compatible mode, the data is first sent in a GFSK mode and then sent in a linear frequency modulation mode.
[0031] It should be noted that although the present invention is disclosed as above by specific embodiments, the above embodiments are not intended to limit the present invention. Ordinary technicians in this field can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on the scope defined in 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
Unmanned aerial vehicle communication method of communication / distance measurement dual system
CN110601745A
Digital television
CN201127067Y
Modulation method of phase jitter modulation mode tag using sampling techniques and pjm mode tag using the same
KR1020100120370A