A frequency calibration system and method
By introducing a spectrum analysis module and a reference source module into the radio frequency transceiver chip system, the frequency error is automatically calculated and adjusted, which solves the problems of inaccurate frequency calibration and reliance on manual calibration in the existing technology, and achieves high-precision, automated frequency calibration. Suitable for high-order modulated signal application scenarios.
Patent Information
- Application Number
- CN202211019551.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-24
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-08-24
AI Technical Summary
The frequency calibration system of the existing RF receiving/transmitting chip relies on an external crystal oscillator, which is easily affected by aging and temperature drift. Moreover, the frequency resolution of the general spectrum analyzer is limited and cannot meet the frequency accuracy requirements of high-order modulated signals, requiring manual regular calibration. .
A frequency calibration system is designed, including a spectrum analysis module, a signal processing unit and a reference source module. By receiving the target frequency signal output by the radio frequency transceiver module, it calculates the frequency error value, automatically adjusts the reference frequency, and uses the vector signal source to provide vector signals. To correct the frequency deviation, realize fully automatic frequency calibration.
It improves the accuracy and efficiency of frequency calibration, avoids frequency deviations under the influence of temperature, meets the frequency accuracy requirements of high-order modulation signal application scenarios, realizes automated frequency adjustment, and reduces manual intervention.
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] The invention relates to a frequency calibration technology, and in particular to a frequency calibration system and method. Background Art
[0002] With the rapid development of wireless communication technology, people have higher and higher requirements for signal transmission rate. According to Shannon's formula, the maximum information transmission rate C = Wlog2(1+S / N), and the modulation method of the signal allows a code element to carry multiple bits of information. Therefore, Shannon's theorem can be corrected to C = Wlog2(1+S / N)log2M, where: W is the channel bandwidth (Hz), S is the average power of the signal transmitted in the channel (watts), N is the Gaussian noise power inside the channel (watts), and M is the number of code element states. Obviously, the channel capacity is proportional to the channel bandwidth and the system signal-to-noise ratio, and also depends on the type of coding technology (increasing M). Therefore, one way to increase the signal transmission rate is for the communication system to use a higher-order signal modulation method (such as 256QAM, 1024QAM, etc.) so that more information can be transmitted within the same signal bandwidth. However, due to the fact that the amount of information carried by higher-order modulated signals in the same carrier cycle increases significantly under the same bandwidth, the fault tolerance and anti-interference ability between signals decrease greatly. For high-order modulated signal test systems, small frequency deviations may also affect the test system's judgment of signal performance. Therefore, it poses a great challenge to the accuracy of frequency calibration of automated test equipment for RF transceiver / transmitter chips with high-order modulated signal application scenarios. Due to the difference between the main manufacturing materials of integrated circuits (silicon) and the manufacturing materials of crystal oscillators / crystals (silicon dioxide), combined with factors such as process, cost, and overall area of integrated circuits, most RF transceiver / transmitter chips currently use external crystal oscillators / crystals and other components as the reference source of the internal phase-locked loop. How to correct the frequency accuracy of the signal output by the crystal oscillator / crystal has become the key to accurately measuring the performance of RF transceiver / transmitter chips with high-order modulated signals.
[0003] At present, the existing technology for the frequency calibration test method of RF receive / transmit chip mainly focuses on frequency measurement and calibration of the reference source (crystal oscillator) before testing, or using the crystal oscillator source output from the instrument as the reference clock of the DUT for frequency synchronization. However, there are the following disadvantages: 1. The accuracy of the crystal oscillator output frequency is affected by many factors, including the effects of aging and temperature drift. Long-term operation or changes in the working environment temperature will cause changes in the crystal oscillator output frequency, and manual regular frequency calibration is required; 2. The frequency resolution of the commonly used spectrum analyzers on the market is limited. Only frequency calibration of the crystal oscillator can gradually fail to meet the frequency accuracy requirements of RF receive / transmit chip tests with high-order modulation signals (smaller symbol spacing) application scenarios; 3. The crystal oscillator source output of the current mainstream measuring instruments (such as spectrum analyzers) is generally a fixed frequency (10MHz), which cannot meet the application scenarios of RF receive / transmit chips with different reference source frequency requirements. Summary of the invention
[0004] The purpose of the present invention is to solve the problems in the prior art that the crystal oscillator frequency needs to be manually calibrated and the crystal oscillator frequency is limited. To this end, the present invention provides a frequency calibration system and method.
[0005] A frequency calibration system provided by the present invention includes: a spectrum analysis module, which is used to receive the target frequency output by the radio frequency transceiver module; a signal processing unit, which obtains the target frequency result and sets a preset frequency value, and the signal processing unit compares the target frequency signal with the preset frequency value to obtain a frequency error value; a reference source module, which is connected to the radio frequency transceiver module, and the reference source module is used to adjust the reference frequency of the radio frequency transceiver module according to the frequency error value.
[0006] The RF transceiver module includes a phase-locked loop, which is used to receive a reference frequency and output a target frequency signal; a spectrum analysis module, which is used to receive the target frequency signal output by the RF transceiver module, and the spectrum analysis module is also used to output the target frequency signal result; a signal processing unit, which obtains the target frequency signal result and sets a preset frequency value, and the signal processing unit compares the target frequency signal result with the preset frequency value to obtain a frequency error value; a reference source module, which is connected to the RF transceiver module, and the reference source module is used to adjust the reference frequency of the RF transceiver module according to the frequency error value.
[0007] Furthermore, it also includes a vector signal source, the output end of the vector signal source is connected to the radio frequency transceiver module, and the vector signal source provides a vector signal for the radio frequency transceiver module.
[0008] Furthermore, the signal processing unit includes a control unit and a PC end, and the control unit and the PC end are communicatively connected.
[0009] Furthermore, the PC is connected to the spectrum analysis module, and the PC is used to preset frequency values and control the spectrum analysis module.
[0010] Furthermore, it also includes a digital-to-analog conversion unit, which converts the frequency error value into an analog signal to transmit it to the reference source module.
[0011] Further, the signal processing unit compares the target frequency signal result of the spectrum analysis module with a preset frequency value to obtain a frequency error value, and the signal processing unit outputs the frequency error value to the control unit.
[0012] Furthermore, a frequency modulation code table is stored in the control unit, and the control unit parses the target frequency signal through the frequency modulation code table to obtain the value to be adjusted, and the control unit outputs the value to be adjusted to the digital-to-analog conversion unit through the multi-channel IO.
[0013] A frequency calibration method provided by the present invention is applied to the above system and comprises the following steps:
[0014] S1: The RF transceiver module obtains the reference frequency and converts the reference frequency into the target frequency;
[0015] S2: The spectrum analysis module performs spectrum analysis on the target frequency to obtain the target frequency signal;
[0016] S3: The signal processing module compares the target frequency signal with the preset frequency value to obtain a frequency error signal;
[0017] S4: The digital-to-analog conversion module converts the frequency error signal into an analog DC signal, thereby adjusting the reference frequency of the reference source module.
[0018] Furthermore, step S3 also includes: decoding the frequency error signal into a frequency error value according to a frequency modulation code table, and converting the frequency error value into an analog signal to send to the reference source module.
[0019] Furthermore, the frequency error signal is decoded into a frequency error value according to a frequency modulation code table, specifically: the frequency error signal is converted into an adjustable voltage value and a frequency calibration parameter and a number control according to a corresponding relationship in the frequency modulation code table.
[0020] The beneficial effects of the present invention are as follows: the present invention discloses a frequency calibration system and method, wherein the radio frequency transceiver module is used to receive a reference frequency and output a target frequency; the spectrum analysis module is used to receive the target frequency output by the radio frequency transceiver module, the spectrum analysis module is also used to output a target frequency signal, and is also used to output the result of the frequency signal of the radio frequency transceiver module; the signal processing unit obtains the target frequency signal result and sets a preset frequency value, and the signal processing unit compares the target frequency signal result with the preset frequency value to obtain a frequency error value; the reference source module is connected to the radio frequency transceiver module, and the reference source module is used to adjust the reference frequency of the radio frequency transceiver module according to the frequency error value. The present invention has an external reference source module, the signal processing unit can preset the frequency value, and adjust the frequency of the radio frequency transceiver module through the reference source module, so that the present invention can meet the application scenarios of different frequencies; the present invention can continuously detect and adjust the frequency change, avoid the problem of frequency deviation caused by the reference source being affected by temperature, and improve the frequency accuracy. The phase-locked loop in the radio frequency transceiver module of the present invention has a frequency multiplication function, thereby proportionally amplifying the frequency error value, achieving the same frequency resolution of the spectrum analysis module, and can more finely adjust the frequency adjustment range, thereby meeting the current radio frequency transceiver module requirements for higher-order modulation signal application scenarios. The present invention can realize full-automatic adjustment, replace manual regular calibration, and improve calibration efficiency and response speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, these drawings can be transformed or expanded into other drawings without creative work.
[0022] Figure 1 It is a principle block diagram of the system of the present invention;
[0023] Figure 2 It is a principle block diagram of the phase-locked loop of the system of the present invention;
[0024] Figure 3 It is a schematic diagram of the flow chart of each module of the system of the present invention;
[0025] Figure 4 It is a test flow chart of the method of the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described through implementation methods with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.
[0027] Embodiment 1 of the present invention provides a frequency calibration system, including a radio frequency transceiver module, including a phase-locked loop, the phase-locked loop is used to receive a reference frequency and output a target frequency signal; a spectrum analysis module is used to receive the target frequency signal output by the radio frequency transceiver module, the spectrum analysis module is also used to output the target frequency signal result; a signal processing unit obtains the target frequency signal result and sets a preset frequency value, the signal processing unit compares the target frequency signal result with the preset frequency value to obtain a frequency error value; a reference source module is connected to the radio frequency transceiver module, the reference source module is used to adjust the reference frequency actually required by the radio frequency transceiver module according to the frequency error value.
[0028] In some embodiments, the present invention further comprises a vector signal source, the output end of which is connected to the RF transceiver module. The vector signal source provides a vector signal to the system as an initial signal input of the RF transceiver module to correct the reference source frequency.
[0029] In some embodiments, the RF transceiver module is a RF transceiver chip, and a phase-locked loop is built in the chip. The phase-locked loop includes a phase detector, a loop filter, a voltage-controlled oscillator, and a frequency divider. The output signal of the voltage-controlled oscillator is divided by the frequency divider (the frequency division ratio is N) and sent to the phase detector for phase comparison with the output signal of the reference source module with a frequency of F1. According to the comparison result, the output frequency of the internal voltage-controlled oscillator is adjusted after passing through the loop filter to generate a high-frequency signal. Finally, the output frequency of the voltage-controlled oscillator is F=F1xN, and the frequency deviation generated by the reference source module is After the internal phase-locked loop of the RF transceiver chip is frequency-multiplied, its frequency deviation is proportionally amplified (if the reference source (voltage-controlled crystal oscillator) unit output is 10MHz, the frequency accuracy is 10MHz+1Hz, the output frequency of the RF transceiver chip is 1GHz, and the frequency error caused by the phase-locked loop of the RF transceiver chip is not considered, the output frequency of the RF transceiver chip is offset by +100Hz from the expected frequency, and the frequency error is amplified 100 times). The spectrum analysis module measures and calculates the output frequency of the RF transceiver chip instead of directly measuring the frequency of the reference source module.
[0030] In some embodiments, the signal processing unit includes a control unit and a PC end, and the control unit is connected to the PC end via a USB / serial port / TCP protocol to facilitate data and signal transmission.
[0031] In some embodiments, the PC is connected to the spectrum analysis module, and the user can pre-set the frequency value in the PC. The spectrum analysis module sends the target frequency result to the PC, and the PC calculates the difference between the preset frequency value and the target frequency result to obtain the frequency error value. A driver can be set in the PC to enable automatic detection and data collection throughout the process.
[0032] In some embodiments, the present invention further includes a digital-to-analog conversion unit, which converts the frequency error value digital signal into an analog signal, sends the analog signal to the reference source module, and adjusts the reference frequency of the reference source module according to the frequency error value, so as to achieve the purpose of calibrating the frequency of the RF transceiver module.
[0033] In some embodiments, the signal processing unit compares the target frequency signal result of the spectrum analysis module with a preset frequency value to obtain a frequency error value, and the signal processing unit outputs the frequency error value to the control unit.
[0034] In some embodiments, the control unit is connected to the RF transceiver chip, and the control unit controls the channel and switch of the RF transceiver chip. A driver can be set in the control unit so that the entire process is automatically sent and switched. The control unit stores a frequency modulation code table, and converts the target frequency signal into a value that needs to be adjusted through the corresponding relationship of the frequency modulation code table. The control unit outputs the value that needs to be adjusted to the digital-to-analog conversion unit through multiple IOs. The adjusted value is an adjustable voltage value, a frequency calibration parameter, and a number of times control.
[0035] Embodiment 2 of the present invention provides a frequency calibration method, which is applied to the system of the above embodiment and includes the following steps:
[0036] S1: The RF transceiver module obtains the reference frequency and converts the reference frequency into the target frequency;
[0037] S2: The spectrum analysis module performs spectrum analysis on the target frequency to obtain the target frequency signal result;
[0038] S3: The signal processing module compares the target frequency signal with the preset frequency value to obtain a frequency error signal;
[0039] S4: The digital-to-analog conversion module converts the frequency error signal into an analog DC signal, thereby adjusting the reference frequency of the reference source module.
[0040] In some embodiments, step S3 further includes: decoding the frequency error signal into a frequency error value according to a frequency modulation code table, and converting the frequency error value into an analog signal to send to the reference source module.
[0041] In some embodiments, the frequency error signal is decoded into a frequency error value according to a frequency modulation code table, specifically: the frequency error signal is converted into an adjustable voltage value and a frequency calibration parameter and a number control according to the corresponding relationship of the frequency modulation code table.
[0042] In this embodiment, the test method can be used to test the performance of the RF transceiver chip, taking the test of EVM as an example:
[0043] Step 1: Instrument initialization, including instrument address and communication interface selection to ensure successful communication establishment;
[0044] Step 2: Configure test parameters, including test signals, test conditions, control instructions, test descriptions, and indicator judgments;
[0045] Step 3: Turn on the power supply and start the test project;
[0046] Step 4: The signal source outputs power according to the set parameters, and the spectrum analyzer sets a larger visible bandwidth to ensure that the frequency offset can be obtained. It is compared with the target frequency, and the frequency deviation is calculated to determine whether the result is within the allowable range. If it is qualified, the frequency adjustment of the next test item is performed. If it is unqualified, automatic frequency calibration is required;
[0047] Step 5: The automatic calibration process is to analyze the frequency deviation according to the preset frequency modulation code table and convert it into an analog voltage to adjust the frequency of the chip under test. The frequency calibration threshold must meet the actual performance of the crystal oscillator unit.
[0048] Step 6: According to the time and test process evaluation, if the frequency compensation exceeds three times or exceeds the calibration range, stop adjusting and record it as bad;
[0049] Step 7: When the i-th test item completes the normal test, the i+1-th test will continue to be executed. The test process repeats steps 4 to 6 until all test items are completed. During the test, if there is a data collection abnormality or the user cancels the operation, the test will end immediately.
[0050] Step 8: When the chip under test completes all test items, restore the initial settings, close the instrument connection and disconnect the external power supply, record the test results, and generate a test report. The test is complete.
[0051] In the description of the present invention, "several" means more than one, "many" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0052] In the description of the present invention, unless otherwise clearly defined, words such as "setting" should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meaning of the above words in the present invention in combination with the specific content of the technical solution.
[0053] In the description of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0054] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A frequency calibration system, characterized in that: include: A radio frequency transceiver module, comprising a phase-locked loop, wherein the phase-locked loop is used to receive a reference frequency and output a target frequency signal; A spectrum analysis module, used for receiving the target frequency signal output by the radio frequency transceiver module to output a target frequency signal result; A signal processing unit, which obtains a target frequency signal result and sets a preset frequency value, and the signal processing unit compares the target frequency signal result with the preset frequency value to obtain a frequency error value; A reference source module, connected to the radio frequency transceiver module, the reference source module being used to adjust the reference frequency of the radio frequency transceiver module according to the frequency error value; The signal processing unit includes a control unit and a PC terminal, and the control unit is communicatively connected with the PC terminal; The signal processing unit compares the target frequency signal result of the spectrum analysis module with the preset frequency value to obtain a frequency error signal, and the signal processing unit outputs the frequency error signal to the control unit; The control unit stores a frequency modulation code table, and the control unit parses the frequency error signal through the frequency modulation code table to obtain a frequency error value, and the control unit outputs the frequency error value to the digital-to-analog conversion unit through multiple IOs.
2. A frequency calibration system according to claim 1, characterized in that: It also includes a vector signal source, an output end of which is connected to the radio frequency transceiver module, and the vector signal source provides a vector signal for the radio frequency transceiver module.
3. A frequency calibration system according to claim 1, characterized in that: The PC end is connected to the spectrum analysis module, and the PC end is used to preset frequency values and control the spectrum analysis module.
4. A frequency calibration system according to claim 1, characterized in that: It also includes a digital-to-analog conversion unit, which converts the frequency error value into an analog signal to transmit it to the reference source module.
5. A frequency calibration method, applied to the system according to any one of claims 1 to 4, characterized in that: The following steps are involved: S1: The RF transceiver module obtains the reference frequency and converts the reference frequency into the target frequency; S2: The spectrum analysis module performs spectrum analysis on the target frequency to obtain the target frequency signal result; S3: The signal processing module compares the target frequency signal result with the preset frequency value to obtain a frequency error signal; S4: The digital-to-analog conversion module converts the frequency error value into an analog DC signal, thereby adjusting the reference rate of the reference source module; Step S3 also includes: decoding the frequency error signal into a frequency error value according to a frequency modulation code table, converting the frequency error value into an analog signal to send to the reference source module.
6. A frequency calibration method according to claim 5, characterized in that: Decoding the frequency error signal into a frequency error value according to the frequency modulation code table specifically includes: converting the frequency error signal into an adjustable voltage value and a frequency calibration parameter and a number of times according to the corresponding relationship of the frequency modulation code table.
