A general narrowband quadrature modulation method suitable for low-power, low-performance MCUs
By using iterative calculation and symbol correction in the MCU module to generate intermediate frequency signals, the problem of complex and high cost in the existing technology is solved, and the modulation effect with high precision and low power consumption is achieved. Digital modulation with rich low-frequency components.
Patent Information
- Application Number
- CN202210491405.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-07
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-05-07
AI Technical Summary
The modulation method in existing narrowband communication systems is complex, and depends on the characteristics of impedance components, requires a lot of labor and time costs, and has poor versatility, making it difficult to meet the needs of low-power consumption and low-performance MCUs.
The general narrowband quadrature modulation method including MCU module, mixing filter module and PLL-VCO module is adopted to generate an intermediate frequency signal through iterative calculation and symbol correction, simplify the modulation process, and use the MCU built-in MAC unit to reduce power consumption and cost.
High-precision modulation is realized, the modulation process is simplified, the power consumption and cost of the MCU is reduced, and it is versatile, suitable for amplitude and angle modulation, avoid low-frequency component loss, and is suitable for digital modulation with rich low-frequency components.
Smart Images

Figure CN114826862B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of signal modulation, and in particular to a universal narrowband orthogonal modulation method suitable for low-power and low-performance MCUs. Background Art
[0002] For narrowband communication systems, the more commonly used modulation methods include amplitude modulation (such as DSB and SSB) and angle modulation (such as FM, MSK, GMSK, etc.) and complex composite modulation, that is, angle modulation + amplitude modulation. For analog modulation, such as FM, a relatively simple direct modulation is usually used, that is, the frequency is adjusted instantly by changing the impedance element parameters of the VCO loop. Although this direct modulation method is simple and easy to implement in the circuit, it is heavily dependent on the characteristics of the impedance components, has poor consistency, requires repeated adjustment, and requires a lot of manpower and time costs. For more complex digital modulation methods such as MSK or GMSK, dedicated IC chips are generally used, which increases the complexity of the system and the cost of the equipment, and is inflexible and has poor versatility. Summary of the invention
[0003] The technical problem solved by the present invention is to provide a universal narrowband orthogonal modulation method suitable for low-power and low-performance MCUs, which has high modulation accuracy, does not require adjustment, and can simplify the modulation process.
[0004] The technical solution adopted by the present invention to solve the technical problem is: a universal narrowband orthogonal modulation method suitable for low-power and low-performance MCU, including an MCU module for outputting an intermediate frequency modulation signal and a mixing filter module and a PLL-VCO module connected to the MCU module for communication, the PLL-VCO module is connected to the mixing filter module and provides a local oscillator signal to the mixing filter module, and also includes a crystal oscillator module for providing a reference frequency source to the MCU module;
[0005] Among them, the intermediate frequency signal modulation method is:
[0006] A. Select the intermediate frequency carrier frequency and the corresponding sampling frequency to satisfy Among them, f c is the intermediate frequency carrier frequency, f s is the sampling frequency;
[0007] B. Initialize I0 and Q0, and perform iterative calculations to generate I and Q sequences, specifically:
[0008] i(t)=A(t)cos(ω c t+θ(t)) (1);
[0009] Among them, i(t) represents the modulated intermediate frequency signal, ω crepresents the modulated intermediate frequency carrier, A(t) represents the amplitude information of the modulated signal, and θ(t) represents the phase information of the modulated signal. For the angle modulated signal, A(t) is a fixed value, which is 1, and θ(t) carries the baseband modulated signal.
[0010] In the digital domain, equation (1) can be expressed in discrete form:
[0011] i n =A n cos(ω c nT s +θ n ) (2);
[0012] Among them, T s Indicates the DAC sampling interval;
[0013] Formula (2) can be decomposed into:
[0014] i n =A n cos(ω c nT s )cos(θ n )-A n sin(ω c nT s )sin(θ n ) (3);
[0015] when hour,
[0016]
[0017] Where N is a natural number;
[0018] When the modulation mode is angle modulation:
[0019] θ n =θ n-1 +β n (5)
[0020] Among them, β n =θ n -θ n-1 ;
[0021] Using formula (5), we get the iterative calculation formula:
[0022]
[0023] Using the first-order approximation formula of trigonometric functions,
[0024]
[0025] get:
[0026]
[0027] Right now:
[0028]
[0029] Or use the third-order approximation formula of trigonometric function:
[0030]
[0031]
[0032] Right now:
[0033]
[0034] C. Extract alternately from the generated I sequence and Q sequence to obtain a new sequence I0Q1I2Q3I4Q5I6Q7I8Q9;
[0035] D. Perform sign correction on the new sequence formed after extraction in step C in the order of ++-- to obtain +I0+Q1-I2-Q3+I4+Q5-I6-Q7+I8+Q9 or +I0-Q1-I2+Q3+I4-Q5-I6+Q7+I8-Q9 or -I0-Q1+I2+Q3-I4-Q5+I6+Q7-I8-Q9 or -I0+Q1+I2-Q3-I4+Q5+I6-Q7-I8+Q9;
[0036] E. For the extracted and sign-corrected digital sequence, according to f s The sampling frequency is output through the DAC of the MCU module to obtain the intermediate frequency modulation signal;
[0037] F. The intermediate frequency modulated signal in step E is then mixed and filtered by a mixing and filtering module to obtain a radio frequency signal.
[0038] Furthermore, when the modulation mode is amplitude modulation, θ(n) is a fixed value, which is taken as 0, and A(n) carries the baseband modulation signal; that is, the above formula (4) is:
[0039]
[0040] Furthermore, if the first-order approximation formula of formula (8) is adopted, periodic amplitude correction is performed, and the correction formula is as follows:
[0041]
[0042] Furthermore, the mixing filter module includes a first mixing filter module, a second mixing filter module and a third mixing filter module which are communicatively connected in sequence, and the PLL-VCO module includes a first PLL-VCO module, a second PLL-VCO module and a third PLL-VCO module which are communicatively connected to the first mixing filter module, the second mixing filter module and the third mixing filter module in a one-to-one correspondence.
[0043] Furthermore, the MCU module is connected to the first PLL-VCO module, the second PLL-VCO module and the third PLL-VCO module via an SPI bus.
[0044] The beneficial effects of the present invention are as follows: the orthogonal modulation of the present application can simplify the modulation process, eliminate the complex trigonometric function calculation process, and transform the complex trigonometric function calculation into a simple sign correction and iteration process, thereby making full use of the built-in MAC (multiply-accumulate) unit capacity of the MCU, greatly reducing the requirements for the MCU main frequency, thereby reducing the cost and power consumption. At the same time, the method is universal and can meet the requirements of amplitude modulation as well as angle modulation. The circuit nodes are coupled through the intermediate frequency signal, thereby avoiding the loss of low-frequency components caused by the use of DC blocking capacitors. The modulation accuracy is high, and it is more suitable for digital modulation processes with rich low-frequency components. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 This is a block diagram of a universal narrowband orthogonal modulation system suitable for a low-power MCU according to an embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.
[0047] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be an intermediate element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0049] like Figure 1 As shown, the embodiment of the present application discloses a universal narrowband orthogonal modulation method suitable for low-power and low-performance MCU, including an MCU module for outputting an intermediate frequency modulation signal and a mixing filter module and a PLL-VCO module connected to the MCU module for communication, wherein the PLL-VCO module is connected to the mixing filter module and provides a local oscillator signal to the mixing filter module, and further includes a crystal oscillator module for providing a reference frequency source to the MCU module;
[0050] Among them, the accuracy of the above-mentioned crystal oscillator module can be selected as ±2PPM, ±1PPM, ±0.5PPM as needed, and the specific accuracy depends on the requirements of the system.
[0051] By using this reference crystal oscillator, inside the MCU module, the PLL circuit (phase-locked loop circuit) and TIMER circuit (timer circuit) inside the MCU module are used to perform integer multiplication and integer division to obtain accurate clock signals, such as 192kHz, 144kHz, 120kHz, 96kHz, etc. The specific frequency depends on the system requirements.
[0052] Among them, the intermediate frequency signal modulation method is:
[0053] A. Select the intermediate frequency carrier frequency and the corresponding sampling frequency to satisfy Among them, f c is the intermediate frequency carrier frequency, f s is the sampling frequency;
[0054] Commonly used frequency combinations are:
[0055] combination 1 2 3 4 5 Carrier frequency 24kHz 30kHz 36kHz 48kHz 96kHz Sampling frequency 96kHz 120kHz 144kHz 192kHz 384kHz
[0056] The choice of sampling frequency depends on the symbol rate of the baseband signal. Generally, the sampling frequency is an integer multiple of the baseband symbol rate, thus avoiding the cumbersome sampling frequency conversion process and further reducing the computing power requirements of the MCU.
[0057] B. Initialize I0 and Q0, and perform iterative calculations to generate I and Q sequences, specifically:
[0058] i(t)=A(t)cos(ω c t+θ(t)) (1);
[0059] Among them, i(t) represents the modulated intermediate frequency signal, ω c represents the modulated intermediate frequency carrier, A(t) represents the amplitude information of the modulated signal, and θ(t) represents the phase information of the modulated signal. For the angle modulated signal, A(t) is a fixed value, which is 1, and θ(t) carries the baseband modulated signal; for the amplitude modulated signal, θ(t) is a fixed value, which can be 0, and A(t) carries the baseband modulated signal.
[0060] In the digital domain, equation (1) can be expressed in discrete form as follows:
[0061] i n =A n cos(ω c nT s +θ n ) (2);
[0062] Among them, T s represents the DAC sampling interval, where
[0063] Formula (2) can be decomposed into:
[0064] i n =A n cos(ω c nT s )cos(θ n )-A n sin(ω c nT s )sin(θ n ) (3);
[0065] when hour,
[0066]
[0067] Where N is a natural number;
[0068] In this formula, the calculation of the carrier component has evolved into a simple symbol correction. This step of the algorithm can greatly simplify the calculation process, thereby saving internal resources of the MCU module and reducing the requirements on the MCU computing power.
[0069] When the modulation mode is angle modulation, θ n is a variable and can be expressed as:
[0070] θ n =θ n-1 +β n (5)
[0071] Among them, β n =θ n-θ n-1 ;
[0072] Using formula (5), we get the iterative calculation formula:
[0073]
[0074] Using the first-order approximation formula of trigonometric functions,
[0075]
[0076] get:
[0077]
[0078] Right now:
[0079]
[0080] Or use the third-order approximation formula of trigonometric function:
[0081]
[0082]
[0083] Right now:
[0084]
[0085] C. Extract alternately from the generated I sequence and Q sequence to obtain a new sequence I0Q1I2Q3I4Q5I6Q7I8Q9;
[0086] D. Perform sign correction on the new sequence formed after extraction in step C in the order of ++-- or +---+ or --++ or -++-, +I0+Q1-I2-Q3+I4+Q5-I6-Q7+I8+Q9 or +I0-Q1-I2+Q3+I4-Q5-I6+Q7+I8-Q9 or -I0-Q1+I2+Q3-I4-Q5+I6+Q7-I8-Q9 or -I0+Q1+I2-Q3-I4+Q5+I6-Q7-I8+Q9;
[0087] E. For the extracted and sign-corrected digital sequence, according to f s The sampling frequency is output through the DAC of the MCU module to obtain the intermediate frequency modulation signal;
[0088] F. The intermediate frequency modulated signal in step E is then mixed and filtered by a mixing and filtering module to obtain a radio frequency signal.
[0089] The above-mentioned orthogonal modulation method can simplify the modulation process, eliminate the complex trigonometric function calculation process, and transform the complex trigonometric function calculation into a simple sign correction and iteration process, making full use of the built-in MAC (multiply-accumulate) unit capability of the MCU, greatly reducing the requirements for the MCU main frequency, thereby reducing costs and power consumption. At the same time, this method is universal and can meet the requirements of amplitude modulation as well as angle modulation. It uses the intermediate frequency signal to couple the circuit nodes, thus avoiding the loss of low-frequency components caused by the use of DC blocking capacitors. It has high modulation accuracy and is more suitable for digital modulation processes with richer low-frequency components.
[0090] At the same time, the core point of this application lies in the selection of DAC sampling frequency, which strictly depends on the baud rate of the baseband signal and is generally taken as an integer multiple thereof. According to the commonly used bit rates used in narrowband communication, such as 1.2kbps, 2.4kbps, 3.6kbps, 4.8kbps, 9.6kbps, 14.4kbps and 19.2kbps. When specifically selecting a crystal oscillator module, in order to meet the requirements of the above commonly used modulation rates, 19.2MHz or its integer multiples are generally taken.
[0091] In this embodiment, when the modulation mode is amplitude modulation, θ n is a fixed value, set to 0, A n Carrying baseband modulation signal; that is, the above formula (4) is:
[0092]
[0093] From the above formula, it can be seen that for amplitude modulation, I n and Q n The calculation is a simple process of taking values at intervals and negating them. The calculation is simple, thus reducing the internal resources of the MCU module.
[0094] In this embodiment, if the first-order approximate formula of formula (8) is used, periodic amplitude correction is required, and the correction formula is as follows:
[0095]
[0096] Since the first-order approximation is used, the signal amplitude will converge to 0, so periodic amplitude correction is required, that is, after N iterative calculations, the amplitude needs to be corrected to compensate for the amplitude signal loss.
[0097] In this embodiment, the mixing and filtering module includes a first mixing and filtering module, a second mixing and filtering module, and a third mixing and filtering module that are communicatively connected in sequence, the PLL-VCO module includes a first PLL-VCO module, a second PLL-VCO module, and a third PLL-VCO module that are communicatively connected to the first mixing and filtering module, the second mixing and filtering module, and the third mixing and filtering module in a one-to-one correspondence, and the MCU module is connected to the first PLL-VCO module, the second PLL-VCO module, and the third PLL-VCO module via an SPI bus.
[0098] Among the above modules, the PLL-VCO module and the mixer filter module are both existing technologies, and this application does not improve the above two modules.
[0099] Specifically, when a signal with a very wide range is needed, it is necessary to implement it through three frequency shifts. When the 24khz intermediate frequency modulated signal is output under the action of the first mixing and filtering module, a pure 450khz signal is obtained, and then a 49.95MHz signal is obtained through the second mixing and filtering module. The last filtering is performed according to actual needs, and then a wide-bandwidth surface acoustic wave filter is passed to obtain a wide-range signal according to needs.
[0100] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A general narrowband orthogonal modulation method suitable for low-power and low-performance MCUs, Features: It includes an MCU module for outputting an intermediate frequency modulation signal, a frequency mixing and filtering module and a PLL-VCO module which are communicatively connected to the MCU module, wherein the PLL-VCO module is connected to the frequency mixing and filtering module and provides a local oscillator signal to the frequency mixing and filtering module, and also includes a crystal oscillator module for providing a reference frequency source to the MCU module; Among them, the intermediate frequency signal modulation method is: A. Select the intermediate frequency carrier frequency and the corresponding sampling frequency to satisfy Among them, f c is the intermediate frequency carrier frequency, f s is the sampling frequency; B. Initialization I 0 and Q 0 , perform iterative calculation to generate I sequence and Q sequence, specifically: i(t)=A(t)cos(ω c t+θ(t)) (1); Among them, i(t) represents the modulated intermediate frequency signal, ω c represents the modulated intermediate frequency carrier, A(t) represents the amplitude information of the modulated signal, θ(t) represents the phase information of the modulated signal. For the angle modulated signal, A(t) is a fixed value, which is 1, and θ(t) carries the baseband modulated signal. In the digital domain, equation (1) can be expressed in discrete form as follows: I n =A n cos(ω c nT s +θ n )(2); Among them, T s Indicates the sampling interval of the digital-to-analog converter DAC; Formula (2) can be decomposed into: I n =A n cos(ω c nT s )cos(θ n )-A n sin(ω c nT s )sin(θ n ) (3); when hour, Where N is a natural number; When the modulation mode is angle modulation: i n =θ n-1 +b n (5), among them,b n =θ n -θ n-1 ; Using formula (5), we get the iterative calculation formula: Using the first-order approximation formula of trigonometric functions, get: Right now: Or use the third-order approximation formula of trigonometric function: Right now: C. Extract a new sequence I from the generated I and Q sequences by alternating intervals 0 Q 1 I 2 Q 3 I 4 Q 5 I 6 Q 7 I 8 Q 9 ; D. Correct the sign of the new sequence formed after extraction in step C in the order of ++-- or +---+ or --++ or -++- to obtain +I 0 +Q 1 -I 2 -Q 3 +I 4 +Q 5 -I 6 -Q 7 +I 8 +Q 9 or +I 0 -Q 1 -I 2 +Q 3 +I 4 -Q 5 -I 6 +Q 7 +I 8 -Q 9 or -I 0 -Q 1 +I 2 +Q 3 -I 4 -Q 5 +I 6 +Q 7 -I 8 -Q 9 or -I 0 +Q 1 +I 2 -Q 3 -I 4 +Q 5 +I 6 -Q 7 -I 8 +Q 9 ; E. For the extracted and sign-corrected digital sequence, according to f s The sampling frequency is output through the DAC of the MCU module to obtain the intermediate frequency modulation signal; F. The intermediate frequency modulated signal in step E is then mixed and filtered by a mixing and filtering module to obtain a radio frequency signal.
2. A general narrowband orthogonal modulation method suitable for low-power and low-performance MCU as claimed in claim 1, Features: When the modulation mode is amplitude modulation, θ n is a fixed value, set to 0, A n Carrying baseband modulation signal; that is, the above formula (4) is: Where N is a natural number.
3. A universal narrowband orthogonal modulation method suitable for low-power and low-performance MCU as claimed in claim 1, Features: If the first-order approximation formula of formula (8) is used, periodic amplitude correction is required. The correction formula is as follows:
4. A general narrowband orthogonal modulation method suitable for low-power and low-performance MCU as claimed in claim 1, Features: The mixing and filtering module includes a first mixing and filtering module, a second mixing and filtering module, and a third mixing and filtering module that are communicatively connected in sequence, and the PLL-VCO module includes a first PLL-VCO module, a second PLL-VCO module, and a third PLL-VCO module that are communicatively connected to the first mixing and filtering module, the second mixing and filtering module, and the third mixing and filtering module in a one-to-one correspondence.
5. A general narrowband orthogonal modulation method suitable for low-power and low-performance MCU as claimed in claim 4, Features: The MCU module is connected to the first PLL-VCO module, the second PLL-VCO module and the third PLL-VCO module through an SPI bus.
