Narrowband dual-frequency channel switching method and system
By controlling the frequency point numbering and linear congruence method of the power wireless network and civil metering instrument frequency band, the switching of the frequency synthesizer and RF switch is solved, and the problem of high power consumption and switching difficulties in frequency switching when the 230MHz power wireless network and the 470MHz-510MHz frequency band in the Sub-1G module is solved, and efficient frequency switching is achieved.
Patent Information
- Application Number
- CN202111620414.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2041-12-27
AI Technical Summary
In the prior art, when the 230MHz power wireless network in the Sub-1G module communicates with the 470MHz-510MHz frequency band, the frequency channel switching has problems such as high power consumption and unrealistic frequency switching, especially the high power consumption and switching difficulties caused by excessive switching of RF switches.
The narrowband dual-frequency channel switching method is adopted, by numbering the frequency points of the power wireless network and the civil metering instrument frequency band, the frequency point number is determined using the linear congruence method, and the switching between the frequency synthesizer and the RF switch is controlled to reduce the opening time of the capture channel and reduce power consumption.
During the frequency switching process, power consumption is reduced, frequency hopping problems of discrete frequency points and dual-frequency switching problems are solved, and efficient frequency switching is achieved.
Smart Images

Figure CN114268917B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of radio frequency front-ends, and in particular to a narrowband dual-frequency channel switching method and system. Background Art
[0002] SG-LongRange is a local area network wireless communication technology that supports both the 230MHz frequency band and other Sub-1GHz and ISM frequency bands, meeting the IoT portal communication business requirements of long distance, low power consumption, large capacity, secure encryption, local area networking, and multi-frequency integration.
[0003] Components in IoT communication systems based on SG-LongRange technology often operate in the 230MHz power wireless network band and the 470MHz-510MHz civilian metering band. This often requires switching between these two bands. Because the 230MHz power wireless network band consists of a series of discrete frequencies, some located close to others, achieving 230MHz frequency switching requires a rational method for effectively utilizing the 230MHz band.
[0004] Currently, mainstream methods for channel switching include dual-channel RF reception and RF switches. The former consumes significant power. The latter, however, often requires only a single-digit number of channels to be switched, while the 230MHz frequency band has a conservative estimate of forty. This makes relying solely on RF switches impractical. Summary of the Invention
[0005] To address the aforementioned issues, embodiments of the present invention provide a narrowband dual-band channel switching method and system to address the existing issue of switching between different frequency channels when using dual-channel cross-sharing for communication between a 230MHz power wireless private network and a 470MHz-510MHz frequency band in a Sub-1G module. This method not only adapts to the current practical situation of RF switch chips but also meets the practical needs of multiple discrete frequency points in the 230MHz band.
[0006] The specific technical solutions provided by the embodiments of the present invention are as follows:
[0007] A narrowband dual-frequency channel switching method, comprising:
[0008] Number the frequency points used in the power wireless network band and the civil metering instrument band, and set the corresponding capture channels;
[0009] When powered on, the capture channel is turned on, the channel number with the maximum power is determined as the initial frequency point, and then all capture channels are turned off, and the linear congruential method is used to determine the subsequent frequency point numbers;
[0010] The corresponding values of the subsequent frequency point numbers are sent to the frequency synthesizer and the radio frequency switch respectively. The corresponding values of the subsequent frequency point numbers are used to control the frequency division coefficient of the frequency synthesizer and the switching of the radio frequency switch at the receiving end according to the generated frequency point numbers.
[0011] As a further improvement of the present invention, the frequency points used in the power wireless private network frequency band and the civil metering instrument frequency band are numbered as follows:
[0012] The multiple frequency points of the 230MHz power wireless private network frequency band are numbered in one way, and the two frequency bands used in the 470MHz-510MHz civil metering instrument frequency band are numbered in another way. Two generating polynomials are set, one for the 230MHz frequency band and the other for the 470MHz-510MHz frequency band.
[0013] As a further improvement of the present invention, all capture channels are turned on at the moment of power-on, the channel number with the maximum power is identified as the initial number frequency point, and then all capture channels are turned off, specifically including:
[0014] At the receiving end, when power is turned on, all receiving channels are turned on. The initial received frequency band is determined by comparing the signal power values received by each channel. The frequency band corresponding to the maximum power value is the initial frequency band actually sent. The opening of subsequent channels is determined by the generating polynomial. The corresponding data is given to the RF switch to determine the channel to be opened next. Until the reception is completely completed, all channels are closed and enter sleep mode.
[0015] As a further improvement of the present invention, the linear congruential method is used to determine the subsequent frequency point numbers, specifically:
[0016] When sending, an initial number is input, and the remaining frequency bands to be sent are determined by the generating polynomial based on the first initial number, generating the second number, and the second number is substituted again to generate the third number; this iteration continues until one transmission is completed.
[0017] As a further improvement of the present invention, a lookup table is set up in the frequency synthesizer, and after obtaining the input number, the frequency division coefficient required for the frequency point corresponding to the number is output.
[0018] As a further improvement of the present invention, in the method of using the linear congruential method to determine the subsequent frequency point numbers, an Nth calibration frequency point is sent after every N frequency points to perform a calibration.
[0019] As a further improvement of the present invention, controlling the frequency division coefficient of the frequency synthesizer and the switching of the radio frequency switch at the receiving end according to the generated frequency point number specifically includes:
[0020] At the receiving end, all capture channels are turned on when power is turned on, and all capture signal power values are compared. When the maximum capture signal power value is obtained, if it is greater than a set power threshold, the signal captured by the channel is deemed to be the correct signal, the corresponding number is used as the seed number, and all capture channels are turned off; the RF switch is controlled to turn on the receiving channel, and subsequent number generation is determined by the linear congruential method; when the second number is generated, the frequency synthesizer is controlled to generate the correct division coefficient, so that the mixer generates the correct down-conversion carrier frequency.
[0021] As a further improvement of the present invention, after controlling the frequency division coefficient of the frequency synthesizer and the switching of the radio frequency switch at the receiving end according to the generated frequency point number, the method further includes:
[0022] S41, determining whether N numbers have been passed. If N numbers have been passed, the transmitting end / receiving end performs a self-check calibration;
[0023] S42, after the self-check and calibration is completed, determine whether the current data has been sent / received. If so, execute S43; if not, return to S41 until the sending or receiving is completed;
[0024] S43, when it is determined that the sending / receiving has been completed, all channels are disconnected and the power supply is also disconnected.
[0025] A narrowband dual-frequency channel switching system, comprising:
[0026] The first numbering module is used to number the frequency points used by the power wireless private network frequency band and the civil meter frequency band, and set the corresponding capture channels;
[0027] The second numbering module is used to open the capture channel when power is turned on, determine the channel number of the maximum power as the initial numbered frequency point, and then close all capture channels and use the linear congruential method to determine the subsequent frequency point numbers;
[0028] The frequency switching module is used to send the corresponding values of subsequent frequency point numbers to the frequency synthesizer and the radio frequency switch respectively. The corresponding values of subsequent frequency point numbers are used to control the frequency division coefficient of the frequency synthesizer and the switching of the radio frequency switch at the receiving end according to the generated frequency point numbers.
[0029] As a further improvement of the present invention, the first numbering module is specifically used to:
[0030] The multiple frequency points of the 230MHz power wireless private network frequency band are numbered in one way, and the two frequency bands used in the 470MHz-510MHz civil metering instrument frequency band are numbered in another way. Two generating polynomials are set, one for the 230MHz frequency band and the other for the 470MHz-510MHz frequency band.
[0031] As a further improvement of the present invention, the second numbering module is specifically used to:
[0032] At the receiving end, when powered on, all receiving channels are turned on. The initial received frequency band is determined by comparing the signal power values received by each channel. The frequency band corresponding to the maximum power value is the initial frequency band actually sent. The opening of subsequent channels is determined by the generating polynomial. The corresponding data is given to the RF switch to determine the channel to be opened next. Until the reception is completed, all channels are closed and enter sleep mode.
[0033] When sending, an initial number is input, and the remaining frequency bands to be sent are determined by the generating polynomial based on the first initial number, generating the second number, and the second number is substituted again to generate the third number; this iteration continues until one transmission is completed.
[0034] As a further improvement of the present invention, the frequency switching module is specifically used to:
[0035] At the receiving end, all capture channels are turned on when power is turned on, and all capture signal power values are compared. When the maximum capture signal power value is obtained, if it is greater than a set power threshold, the signal captured by the channel is deemed to be the correct signal, the corresponding number is used as the seed number, and all capture channels are turned off; the RF switch is controlled to turn on the receiving channel, and subsequent number generation is determined by the linear congruential method; when the second number is generated, the frequency synthesizer is controlled to generate the correct division coefficient, so that the mixer generates the correct down-conversion carrier frequency.
[0036] A narrowband dual-frequency channel switching system, comprising:
[0037] The transmitter is used to number the frequencies used in the power wireless network band and the civilian meter band, and set the corresponding capture channels. At the moment of power-on, all capture channels are turned on, and the channel number with the maximum power is determined as the initial frequency. Then, all capture channels are turned off, and the linear congruential method is used to determine the subsequent frequency numbers.
[0038] The receiving end is used to obtain subsequent frequency point numbers, send the corresponding values of the subsequent frequency point numbers to the frequency synthesizer and the RF switch respectively, and control the frequency division coefficient of the frequency synthesizer and the switching of the RF switch at the receiving end according to the generated frequency point numbers.
[0039] Compared with the prior art, the present invention has the following beneficial effects:
[0040] Using the switching method of the present invention, multiple capture channels at the receiving end are only open for a very short time. During this time, the receiving channels are all closed under the control of the radio frequency switch. When the capture channels are subsequently closed, a program based on the linear congruential method running in the MCU continuously generates subsequent numbers, controls the radio frequency switch to open to the corresponding frequency band (230MHz or 510MHz), and controls the frequency synthesizer to generate the corresponding down-conversion frequency. Under this scheme, due to dual-channel multiplexing and the capture channel being open only between power-up and capturing the seed number, power consumption is greatly reduced during the transmission of large amounts of information, solving the frequency hopping problem of discrete frequency points and the problem of dual-frequency switching. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 This is a flowchart of a narrowband dual-frequency channel switching method of the present invention;
[0042] Figure 2 This is a flow chart summarizing the first embodiment of the present invention;
[0043] Figure 3 FIG1 is a basic structural diagram of a transmitting end according to a first embodiment of the present invention;
[0044] Figure 4 FIG1 is a basic structural diagram of a receiving end according to a first embodiment of the present invention;
[0045] Figure 5 This is a block diagram of a narrowband dual-frequency channel switching system of the present invention. DETAILED DESCRIPTION
[0046] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described 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 making creative efforts should fall within the scope of protection of the present invention.
[0047] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0048] The present invention relates to the field of radio frequency front-ends, and specifically to a narrowband dual-frequency channel switching method based on 230MHz / 510MHz. The method comprises the following steps: numbering the frequencies used in the 230MHz band and the 470MHz-510MHz band, then setting corresponding capture channels, turning on all capture channels at the moment of power-on, identifying the channel number with the maximum power as the initial frequency number, then turning off all capture channels, and using the linear congruential method to determine subsequent frequency numbering. The corresponding values of the subsequent frequency numbering are respectively sent to a frequency synthesizer and a radio frequency switch, so that the mixer generates the corresponding up-conversion or down-conversion frequency, and the unshared portion of the two frequency bands is controlled by the switch.
[0049] like Figure 1 As shown, taking the transmitter as an example, the specific steps are as follows:
[0050] Number the frequency points used in the power wireless network band and the civil metering instrument band, and set the corresponding capture channels;
[0051] At the moment of power-on, all capture channels are turned on, and the channel number with the maximum power is determined as the initial frequency point. Then all capture channels are turned off, and the linear congruential method is used to determine the subsequent frequency point numbers.
[0052] The corresponding values of the subsequent frequency point numbers are sent to the frequency synthesizer and the radio frequency switch respectively, so as to control the frequency division coefficient of the frequency synthesizer and the switching of the radio frequency switch at the receiving end according to the generated frequency point numbers.
[0053] This control method solves the channel switching problem when sending and receiving 230MHz and 470MHz-510MHz.
[0054] The key to the present invention is a method for switching radio frequency channels based on Sub-1G, specifically:
[0055] After the initial seed is set at the transmitting end, the subsequent transmission frequency point numbers are determined by the linear congruential method. The generated frequency point numbers are used to control the frequency division coefficient of the frequency synthesizer and the switching of the RF switch at the receiving end.
[0056] Among them, the frequency numbering must meet the actual usage of the current power wireless private network 230MHz and 470MHz-510MHz civil metering instruments.
[0057] There will be an initial seed number at the sending end. The frequency of this number is only used to tell the receiving end how long a frame signal is and whether the frequency band occupied by this frame signal is 230MHz or 470MHz-510MHz, but does not contain other actual information of this transmission.
[0058] The subsequent up-conversion frequencies of the frequency synthesizer at the transmitting end are determined by the linear congruential method. After the frequency points are numbered in advance, the transmitting end sets an initial seed number, and the linear congruential method generates subsequent numbers based on the seed number. A lookup table is set up in the frequency synthesizer. After obtaining the input number, it outputs the frequency division coefficient required for the frequency point corresponding to the number.
[0059] On the receiving end, all capture channels are enabled at power-up, and the power values of all captured signals are compared. When the maximum captured signal power value is obtained and exceeds a set power threshold, the signal captured by that channel is considered correct. Its corresponding number is used as a seed number, and all capture channels are closed. The RF switch is controlled to enable the receiving channel, and subsequent numbers are generated using the linear congruential method. Once the second number is generated, the frequency synthesizer is controlled to generate the correct division coefficient, allowing the mixer to generate the correct downconversion carrier frequency.
[0060] Preferably, to ensure accuracy, the transmitting end sends a calibration frequency point after every five frequency points, and the calibration frequency point is not included in these five frequency points. The receiving end also performs a down-conversion calibration every five frequency points.
[0061] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention and not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0062] Example 1
[0063] A 230MHz / 510MHz radio frequency channel switching method, comprising:
[0064] First, the 40 frequency points in the 230MHz band are numbered, and the two frequency bands used by the 470MHz-510MHz power grid wireless meter reading system are also numbered separately. Two generating polynomials are set, one for 230MHz and one for 470MHz-510MHz.
[0065] When sending, an initial number (the first frequency band) is first input. The remaining frequency bands to be sent are then determined by the generator polynomial using the first initial number as input, generating the second number. This second number is then substituted into the generator polynomial to generate the third number. This process continues iteratively until a transmission is complete. Every fifth frequency band (for example, or other numbers are possible), a fifth frequency band is sent as a reference number.
[0066] At the receiving end, all receiving channels are turned on at the moment of power-on. Then, the frequency band initially received is determined by comparing the signal power values received by each channel. The frequency band with the largest power value is the initial frequency band actually sent. The opening of subsequent channels is determined by the generating polynomial in the receiving microcontroller, and the corresponding data is given to the RF switch to determine which channel to open next.
[0067] Calibration is performed every five seconds to prevent the entire reception from being completely erroneous. Once reception is complete, all channels are shut down and the system enters sleep mode.
[0068] As a preferred solution, for the 230MHz private network in the power industry, while meeting the current single-frequency and dual-frequency requirements of the power grid, the 40 230MHz frequencies are numbered so that they correspond to the corresponding uplink and downlink frequencies and conform to the generation sequence rules of the linear congruential method. A similar approach is applied to the 470MHz-510MHz frequencies.
[0069] In this embodiment, only the target frequency band signal can pass through the capture channel. A low-noise amplifier is set up at the RF front end. The amplified signal passes through several bandpass filters arranged side by side, and then the signal power of each branch is compared. The signal with the largest power is the signal captured by this capture channel.
[0070] The calibration process is as follows: after sending five frequencies continuously, the fifth frequency can be sent repeatedly as a calibration frequency. The receiver also uses this method to self-adjust to achieve the calibration purpose. After sending or receiving, all channels are closed.
[0071] The capture channel is only opened at the moment of power-on. After the initial seed number frequency band is determined, all channels are closed and the information is transmitted to the MCU. The subsequent frequency band numbers are then determined by the linear congruential method running in the MCU, which controls the RF switch of the RF front end and the frequency division of the frequency synthesizer.
[0072] After learning the frequency band number of the signal captured by the corresponding capture channel, the MCU opens the corresponding channel by writing a specific value to the RF switch, so that subsequent frequency band signals can smoothly enter the correct receiving channel.
[0073] A lookup table is set inside the frequency synthesizer, in which the frequency division coefficient required for a specific frequency point has been entered. After knowing the number, the MCU controls the lookup table to output its corresponding frequency division coefficient, so that the mixer can generate the correct local oscillator signal.
[0074] Example 2
[0075] See Figure 2 As shown, the specific process of the present invention is as follows:
[0076] Step 100: Number the frequency points used by the power grid in 230 MHz and 470 MHz-510 MHz. The numbering principle is roughly as follows: a slow transition is performed without affecting current use.
[0077] For example, in Tables 1 and 2, for the 470MHz-510MHz uplink frequency, the uplink frequencies are encoded together, and the downlink frequencies are encoded together. This allows for a smoother spread without significantly changing the frequency usage.
[0078] An example of frequency points and linear congruential method:
[0079] Table 1
[0080] 230MHz authorized frequency information for the power industry (unit: MHz)
[0081]
[0082] Table 2
[0083] Of which 6-38&45-77 belong to the grid and are used
[0084]
[0085] Step 101: Determine the formula of the linear congruential method based on the number of numbers, and select a number frequency point as the initial seed number. The principle of the linear congruential method (LCG) is as follows:
[0086] RandSeed=(A*RandSeed+B)%M
[0087] The multiplier A and increment B are constants set by the generator, and M is the number of numbers in the LCG. For example, a 1M bandwidth in the 230MHz band has 40 frequency points, numbered 0-39. To ensure that the final generated sequence contains 40 pseudo-random numbers, the following conditions must be met: B and M are mutually prime; all prime factors of M divide A-1; if M is a multiple of 4, so is A-1; A and B are both smaller than M; and A and B are both positive integers. Therefore, if M = 40, one possible combination is: A = 21, B = 1. Table 3 contains the number sequence generated when A = 21, B = 1, and M = 40.
[0088] Table 3
[0089]
[0090] Combine Figure 3 When a modulated signal arrives, MCU 200 uses the initial seed number to control frequency synthesizer 201 to generate the corresponding frequency. MCU 200 then uses time-division control 204 to select which transmission channel to open. After the modulated signal passes through up-conversion 202 and power amplifier 203, it passes through the transmission channel determined by time-division control 204 and is transmitted.
[0091] Step 102: The capture channel mentioned here refers to Figure 4 Low-noise amplifier 301, multiple bandpass filters 302, and power comparator 304. At the moment of power-on, the MCU controls switch 300 to open. When a transmitted signal is received, the signal passes through the capture channel below, is amplified by low-noise amplifier 301, and then passes through multiple bandpass filters 302 in parallel after corresponding power distribution. The design of the bandpass filters is determined by the specific number of frequency points, and each bandpass filter only allows the corresponding frequency points to pass.
[0092] Among them, the threshold power is the signal power after passing through the wireless channel with a certain frequency point and then passing through the amplifier and bandpass filter during an experiment at a certain place. After multiple experiments, the average power is obtained, and then the selection of the threshold power can be determined. Generally, the threshold power can be selected to be less than the average power. The threshold power must be at least twice the maximum power of the error frequency point after passing through the bandpass filter.
[0093] After adjusting the threshold power, capture can be performed. When a certain frequency point passes through the bandpass filter, its signal power should be greater than the threshold power. At this time, the power comparator determines that the initial seed number has been captured and notifies the MCU.
[0094] Step 103: After executing step 102, the MCU controls the switch 300 to close the capture channel, and then the MCU can iterate the remaining frequency point numbers from the initial seed.
[0095] Step 104: The initial seed is mainly used to identify whether the subsequent frequency point is 230MHz or 470MHz-510MHz. After the MCU obtains the initial seed, it can use the linear congruential method to iterate the subsequent seed number, control the frequency synthesizer, and generate the corresponding frequency.
[0096] Specific examples are as follows:
[0097] Fractional division implementation of frequency synthesizer (dual-mode pre-fractional division): For example, to generate 228.325MHz, first, since the reference frequency is selected as 10MHz, we need to obtain 22.8325 division, 22.8325=228325 / 10000=9133 / 400, where the integer part is 22 and the decimal part is 333. If dual-mode pre-fractional division is used, that is, a 22 division and a 355 (333+22) division are required, then the solution to the two-variable linear equation is that there need to be 399 reference frequency cycles for 22 division and 1 reference frequency cycle for 355 division.
[0098] For example, to generate 471.7MHz, first, since the reference frequency is selected as 10MHz, we need to obtain 47.17 frequency division, 47.17=4717 / 100=18868 / 400, where the integer part is 47 and the decimal part is 68. If dual-mode pre-fractional frequency division is used, that is, a 47 frequency division and a 115(47+68) frequency division are required, then the solution to the two-variable linear equation is that there need to be 399 reference frequency cycles with 47 frequency division and 1 reference frequency cycle with 115 frequency division.
[0099] After determining the frequency band corresponding to the initial seed, the MCU controls the RF switch 306 to switch to the 230 MHz or 470 MHz-510 MHz channel.
[0100] Step 105: After step 104 is completed, it is necessary to determine whether N numbers have been passed. This N can be determined as needed and is tentatively set to 5. After N numbers have been passed, the sending / receiving end performs a self-test calibration.
[0101] Step 106: After calibration is completed, determine whether the current data has been sent / received. If so, proceed to step 107. If not, proceed to step 104 until the sending or receiving is completed.
[0102] Step 107: When step 106 determines that the sending / receiving has been completed, the MCU controls the RF switch 306 to disconnect all channels and the power supply is also disconnected.
[0103] The above description has described one embodiment of the invention, and those skilled in the art, after understanding these creative ideas, may make additional changes and modifications to these examples. Therefore, the claims should cover the provided embodiment and various changes and modifications that fall within the scope of the invention.
[0104] Any modification or variation of the present invention that does not depart from the scope of the inventive concept of the present invention should also be deemed to fall within the scope of protection of the present invention.
[0105] like Figure 5 As shown, the present invention also provides a narrowband dual-frequency channel switching system, comprising:
[0106] The first numbering module is used to number the frequency points used by the power wireless private network frequency band and the civil meter frequency band, and set the corresponding capture channels;
[0107] The second numbering module is used to open all capture channels at the moment of power-on, determine the channel number of the maximum power as the initial numbered frequency point, and then close all capture channels and use the linear congruential method to determine the subsequent frequency point numbers;
[0108] The frequency switching module is used to send the corresponding values of the subsequent frequency point numbers to the frequency synthesizer and the radio frequency switch respectively, and control the frequency division coefficient of the frequency synthesizer and the switching of the radio frequency switch at the receiving end according to the generated frequency point numbers.
[0109] As a preferred embodiment, the first numbering module is specifically used to:
[0110] The multiple frequency points of the 230MHz power wireless private network frequency band are numbered in one way, and the two frequency bands used in the 470MHz-510MHz civil metering instrument frequency band are numbered in another way. Two generating polynomials are set, one for the 230MHz frequency band and the other for the 470MHz-510MHz frequency band.
[0111] As a preferred embodiment, the second numbering module is specifically used to:
[0112] At the receiving end, when powered on, all receiving channels are turned on. The initial received frequency band is determined by comparing the signal power values received by each channel. The frequency band corresponding to the maximum power value is the initial frequency band actually sent. The opening of subsequent channels is determined by the generating polynomial. The corresponding data is given to the RF switch to determine the channel to be opened next. Until the reception is completed, all channels are closed and enter sleep mode.
[0113] When sending, an initial number is input, and the remaining frequency bands to be sent are determined by the generating polynomial based on the first initial number, generating the second number, and the second number is substituted again to generate the third number; this iteration continues until one transmission is completed.
[0114] As a preferred embodiment, the frequency switching module is specifically used to:
[0115] At the receiving end, all capture channels are turned on when power is turned on, and all capture signal power values are compared. When the maximum capture signal power value is obtained, if it is greater than a set power threshold, the signal captured by the channel is deemed to be the correct signal, the corresponding number is used as the seed number, and all capture channels are turned off; the RF switch is controlled to turn on the receiving channel, and subsequent number generation is determined by the linear congruential method; when the second number is generated, the frequency synthesizer is controlled to generate the correct division coefficient, so that the mixer generates the correct down-conversion carrier frequency.
[0116] Combine Figure 3 and Figure 4 The present invention also provides a narrowband dual-frequency channel switching system, comprising:
[0117] The transmitter is used to number the frequencies used in the power wireless network band and the civilian meter band, and set the corresponding capture channels. At the moment of power-on, all capture channels are turned on, and the channel number with the maximum power is determined as the initial frequency. Then, all capture channels are turned off, and the linear congruential method is used to determine the subsequent frequency numbers.
[0118] The receiving end is used to obtain subsequent frequency point numbers, send the corresponding values of the subsequent frequency point numbers to the frequency synthesizer and the RF switch respectively, and control the frequency division coefficient of the frequency synthesizer and the switching of the RF switch at the receiving end according to the generated frequency point numbers.
[0119] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0120] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0121] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0122] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0123] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered by the scope of protection of the claims of the present invention.
Claims
1. A narrowband dual-frequency channel switching method, characterized in that: include: Number the frequency points used in the power wireless network band and the civil metering instrument band, and set the corresponding capture channels; When powered on, the capture channel is turned on, the channel number with the maximum power is determined as the initial frequency point, and then all capture channels are turned off, and the linear congruential method is used to determine the subsequent frequency point numbers; Sending the corresponding values of the subsequent frequency point numbers to the frequency synthesizer and the radio frequency switch respectively, wherein the corresponding values of the subsequent frequency point numbers are used to control the frequency division coefficient of the frequency synthesizer and the switching of the radio frequency switch at the receiving end according to the generated frequency point numbers; The frequency points used in the power wireless private network frequency band and the civil meter frequency band are numbered as follows: The multiple frequency points of the 230MHz power wireless private network band are numbered in one way, and the two frequency bands used by the 470MHz-510MHz civil meter band are numbered in another way. Two generating polynomials are set, one for the 230MHz band and one for the 470MHz-510MHz band. The controlling of the frequency division coefficient of the frequency synthesizer and the switching of the radio frequency switch at the receiving end according to the generated frequency point number specifically includes: At the receiving end, all capture channels are turned on when power is turned on, and all captured signal power values are compared. When the maximum captured signal power value is obtained, if it is greater than a set power threshold, the captured signal of the channel is determined to be the correct signal, the corresponding number is used as the seed number, and all capture channels are turned off; the RF switch is controlled to turn on the receiving channel, and subsequent number generation is determined by the linear congruential method; when the second number is generated, the frequency synthesizer is controlled to generate the correct frequency division coefficient, so that the mixer generates the correct down-conversion carrier frequency; After controlling the frequency division coefficient of the frequency synthesizer and the switching of the radio frequency switch at the receiving end according to the generated frequency point number, the method further includes: S41, determining whether N numbers have been passed. If N numbers have been passed, the transmitting end / receiving end performs a self-check calibration; S42, after the self-check and calibration is completed, determine whether the current data has been sent / received. If so, execute S43; if not, return to S41 until the sending or receiving is completed; S43, when it is determined that the sending / receiving has been completed, all channels are disconnected and the power supply is also disconnected.
2. The narrowband dual-frequency channel switching method according to claim 1, wherein: At the moment of power-on, all capture channels are turned on, the channel number with the maximum power is identified as the initial number frequency point, and then all capture channels are turned off, specifically including: At the receiving end, when power is turned on, all receiving channels are turned on. The initial received frequency band is determined by comparing the signal power values received by each channel. The frequency band corresponding to the maximum power value is the initial frequency band actually sent. The opening of subsequent channels is determined by the generating polynomial. The corresponding data is given to the RF switch to determine the channel to be opened next. Until the reception is completely completed, all channels are closed and enter sleep mode.
3. The narrowband dual-frequency channel switching method according to claim 1, wherein: The linear congruential method is used to determine the subsequent frequency point numbers, specifically: When sending, an initial number is input, and the remaining frequency bands to be sent are determined by the generating polynomial based on the first initial number, generating the second number, and the second number is substituted again to generate the third number; this iteration continues until one transmission is completed.
4. The narrowband dual-frequency channel switching method according to claim 1, wherein: The frequency synthesizer is provided with a lookup table, which outputs the frequency division coefficient required for the frequency point corresponding to the input number after obtaining the input number.
5. The narrowband dual-frequency channel switching method according to claim 1, wherein: In the method of using the linear congruential method to determine the subsequent frequency point numbers, an Nth calibration frequency point is sent after every N frequency points to perform a calibration.
6. A narrowband dual-frequency channel switching system, characterized in that: include: The first numbering module is used to number the frequency points used by the power wireless private network frequency band and the civil meter frequency band, and set the corresponding capture channels; The second numbering module is used to open the capture channel when power is turned on, determine the channel number of the maximum power as the initial numbered frequency point, and then close all capture channels and use the linear congruential method to determine the subsequent frequency point numbers; A frequency switching module, configured to send the values corresponding to the subsequent frequency point numbers to the frequency synthesizer and the radio frequency switch, respectively. The values corresponding to the subsequent frequency point numbers are used to control the frequency division coefficient of the frequency synthesizer and the switching of the radio frequency switch at the receiving end according to the generated frequency point numbers; The first numbering module is specifically used to: The multiple frequency points of the 230MHz power wireless private network band are numbered in one way, and the two frequency bands used by the 470MHz-510MHz civil meter band are numbered in another way. Two generating polynomials are set, one for the 230MHz band and one for the 470MHz-510MHz band. The second numbering module is specifically used to: At the receiving end, when powered on, all receiving channels are turned on. The initial received frequency band is determined by comparing the signal power values received by each channel. The frequency band corresponding to the maximum power value is the initial frequency band actually sent. The opening of subsequent channels is determined by the generating polynomial. The corresponding data is given to the RF switch to determine the channel to be opened next. Until the reception is completed, all channels are closed and enter sleep mode. When sending, an initial number is input, and the remaining frequency bands to be sent are determined by the generating polynomial according to the first initial number, and the second number is generated, and the third number is generated by the second number. This iteration continues until one transmission is completed; The frequency switching module is specifically used to: At the receiving end, all capture channels are turned on when power is turned on, and all capture signal power values are compared. When the maximum capture signal power value is obtained, if it is greater than a set power threshold, the signal captured by the channel is deemed to be the correct signal, the corresponding number is used as the seed number, and all capture channels are turned off; the RF switch is controlled to turn on the receiving channel, and subsequent number generation is determined by the linear congruential method; when the second number is generated, the frequency synthesizer is controlled to generate the correct division coefficient, so that the mixer generates the correct down-conversion carrier frequency.
7. A narrowband dual-frequency channel switching system, based on a narrowband dual-frequency channel switching method according to any one of claims 1 to 5, characterized in that: include: The transmitter is used to number the frequency points used by the power wireless network frequency band and the civil meter frequency band, and set the corresponding capture channels; At the moment of power-on, all capture channels are turned on, and the channel number with the maximum power is determined as the initial frequency point. Then all capture channels are turned off, and the linear congruential method is used to determine the subsequent frequency point numbers. The receiving end is used to obtain subsequent frequency point numbers, send the corresponding values of the subsequent frequency point numbers to the frequency synthesizer and the RF switch respectively, and control the frequency division coefficient of the frequency synthesizer and the switching of the RF switch at the receiving end according to the generated frequency point numbers.
Citation Information
Patent Citations
Ultrahigh frequency passive radio frequency identification reader and frequency hopping method thereof
CN101620665A
Multi-band radar interference system and method
CN110954873A