Dual-mode communication module frequency calibration system and method based on HPLC and HRF
By adopting a frequency calibration system based on HPLC and HRF in the dual-mode communication module, using the upper computer and the controller to send the frequency offset calibration frame signal and adjust the PLL parameters, the problem of manual adjustment efficiency in the frequency correction of the dual-mode communication module is solved. , realizes fast and accurate frequency correction and batch processing, meeting the rapid demand for large-scale production.
Patent Information
- Application Number
- CN202411632054.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-11-15
AI Technical Summary
The prior art has problems such as inefficiency of manual adjustment and inability to achieve batch processing in the frequency correction of dual-mode communication modules, which makes it difficult to guarantee the accuracy of the correction results and cannot meet the rapid demands of large-scale production.
Using a dual-mode communication module frequency calibration system based on HPLC and HRF, it is connected to the dual-mode communication module to be calibrated through the upper computer and the controller, sends the frequency offset calibration frame signal and performs synchronous demodulation processing, determines the frequency deviation value, and adjusts it. The decimal part of the PLL parameter is used to achieve accurate frequency correction.
It realizes fast and accurate frequency correction of the dual-mode communication module, avoids the influence of human factors, can be batched, improves production efficiency, and meets the rapid demand for large-scale production.
Smart Images

Figure CN119519755A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power line carrier communication, and in particular to a dual-mode communication module frequency calibration system and method based on HPLC and HRF. Background Art
[0002] As the core component of the metering system, the dual-mode communication module based on high-bandwidth power carrier (HPLC) and high-frequency wireless communication (HRF) is widely used in collectors, concentrators and terminal meters. Its performance is directly related to the data collection and communication efficiency of the entire power grid. However, under the dual pressure of cost control and performance requirements, the dual-mode communication module in the terminal meter often uses a passive crystal oscillator as the frequency reference. Passive crystal oscillators use the resonant characteristics of crystals to generate oscillation signals, but are easily affected by external circuits and the physical characteristics of crystals, resulting in insufficient frequency stability and frequency deviation.
[0003] Frequency deviation will cause the signal received by the terminal meter to shift in time, causing the signal waveform to change, resulting in distortion. This distortion will cause the receiving end to be unable to accurately restore the information of the sending end, making it impossible to accurately obtain the transmitted data, thereby affecting the communication performance. At present, the industry generally uses a clock instrument to calibrate the frequency of the dual-mode communication module. The clock instrument uses a periodically changing physical process (such as the oscillation of a quartz crystal) to measure time, with high precision and stability. However, the existing clock instrument calibration method has many limitations. On the one hand, the method requires manual adjustment of the deviation compensation value in the dual-mode communication. This manual adjustment method is not only inefficient, but also easily affected by human factors, resulting in the accuracy of the calibration result. It is difficult to guarantee. On the other hand, the clock instrument calibration method cannot achieve batch processing and can only be calibrated one by one. In the case of large-scale production, it will cost a lot of time and labor costs, and cannot meet the rapid needs of the production line. Therefore, how to accurately and quickly realize the frequency correction of the dual-mode communication module is an urgent problem to be solved. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a dual-mode communication module frequency calibration system and method based on HPLC and HRF to solve at least one problem existing in the background technology.
[0005] In a first aspect, an embodiment of the present application provides a dual-mode communication module frequency calibration system based on HPLC and HRF, the frequency calibration system comprising a host computer, a copy controller, and a dual-mode communication module to be calibrated; the host computer is connected to the copy controller, and the copy controller is connected to one or more dual-mode communication modules to be calibrated; the copy controller is a calibrated copy controller;
[0006] The host computer is used to send a frequency calibration instruction to the copy controller;
[0007] The copy controller is used to send a frequency deviation calibration frame signal to the dual-mode communication module to be calibrated;
[0008] The dual-mode communication module to be calibrated is used to receive the first frequency offset calibration frame signal sent by the copy controller and perform synchronous demodulation processing to obtain a first received NTB value and a first sent NTB value; wherein the first sent NTB value is the NTB value corresponding to the time when the first frequency offset calibration frame signal is sent; the first received NTB value is the NTB value corresponding to the synchronization time of the first frequency offset calibration frame signal; receive the second frequency offset calibration frame signal sent by the copy controller and perform synchronous demodulation processing to obtain a second received NTB value and a second sent NTB value; wherein the second sent NTB value is the NTB value corresponding to the time when the second frequency offset calibration frame signal is sent; the second received NTB value is the NTB value corresponding to the synchronization time of the second frequency offset calibration frame signal; determine the frequency deviation value according to the first received NTB value, the first sent NTB value, the second received NTB value and the second sent NTB value; adjust the decimal part parameter in the PLL parameter according to the frequency deviation value, wherein the PLL parameter includes an integer part parameter and a decimal part parameter; perform frequency calibration according to the integer part parameter and the adjusted decimal part parameter.
[0009] Optionally, determining a frequency deviation value according to the first receiving NTB value, the first sending NTB value, the second receiving NTB value, and the second sending NTB value is specifically:
[0010] F=(△NTB send -△NTB recv )*2 N / △NTB recv
[0011] Where, F represents the frequency deviation value; △NTB send Indicates the counting interval between the second transmitted NTB value and the first transmitted NTB value; △NTB recv Represents the counting interval between the second received NTB value and the second transmitted NTB value; N represents the number of bits of the fractional divider in the PLL.
[0012] Optionally, the decimal part parameter of the PLL parameter is adjusted according to the frequency deviation value, specifically:
[0013] F RAC '=F RAC +F
[0014] Among them, F RAC ' represents the adjusted decimal part parameter; F RAC Indicates the initial value of the decimal part parameter; F indicates the frequency deviation value.
[0015] Optionally, frequency calibration is performed according to the integer part parameter and the adjusted decimal part parameter, specifically:
[0016] F vco =(F ref / R DIV )*[F DIV +(F RAC ' / 2 N )]
[0017] Among them, F vco Indicates the output frequency, F ref Indicates the input frequency, F DIV Indicates the initial value of the integer part, R DIV Indicates the reference divider initial value.
[0018] Optionally, the copy controller is connected to a plurality of dual-mode communication modules to be calibrated, and is used to send a frequency deviation calibration frame signal to the plurality of dual-mode communication modules to be calibrated by broadcasting.
[0019] On the other hand, the present application also provides a dual-mode communication module frequency calibration method based on HPLC and HRF, the method is applied to the frequency calibration system of the above embodiment; the method comprises:
[0020] Receive the first frequency offset calibration frame signal sent by the copy controller and perform synchronous demodulation processing to obtain a first received NTB value and a first sent NTB value; wherein the first sent NTB value is the NTB value corresponding to the time when the first frequency offset calibration frame signal is sent; the first received NTB value is the NTB value corresponding to the synchronization time of the first frequency offset calibration frame signal;
[0021] Receive the second frequency offset calibration frame signal sent by the copy controller and perform synchronous demodulation processing to obtain a second received NTB value and a second sent NTB value; wherein the second sent NTB value is the NTB value corresponding to the sending time of the second frequency offset calibration frame signal; the second received NTB value is the NTB value corresponding to the synchronization time of the second frequency offset calibration frame signal;
[0022] Determine a frequency deviation value according to the first receiving NTB value, the first sending NTB value, the second receiving NTB value, and the second sending NTB value;
[0023] The decimal part parameter in the PLL parameter is adjusted according to the frequency deviation value, wherein the PLL parameter includes an integer part parameter and a decimal part parameter; and the frequency is calibrated according to the integer part parameter and the adjusted decimal part parameter.
[0024] Optionally, determining a frequency deviation value according to the first receiving NTB value, the first sending NTB value, the second receiving NTB value, and the second sending NTB value is specifically:
[0025] F=(△NTB send -△NTB recv )*2 N / △NTB recv
[0026] Where, F represents the frequency deviation value; △NTB send Indicates the counting interval between the second transmitted NTB value and the first transmitted NTB value; △NTB recv Represents the counting interval between the second received NTB value and the second transmitted NTB value; N represents the number of bits of the fractional divider in the PLL.
[0027] Optionally, the decimal part parameter of the PLL parameter is adjusted according to the frequency deviation value, specifically:
[0028] F RAC '=F RAC +F
[0029] Among them, F RAC ' represents the adjusted decimal part parameter; F RAC Indicates the initial value of the decimal part parameter; F indicates the frequency deviation value.
[0030] Optionally, frequency calibration is performed according to the integer part parameter and the adjusted decimal part parameter, specifically:
[0031] F vco =(F ref / R DIV )*[F DIV +(F RAC ' / 2 N )]
[0032] Among them, F vco Indicates the output frequency, F ref Indicates the input frequency, F DIV Indicates the initial value of the integer part, R DIV Indicates the reference divider initial value.
[0033] Optionally, the copy controller is connected to a plurality of dual-mode communication modules to be calibrated, and is used to send a frequency deviation calibration frame signal to the plurality of dual-mode communication modules to be calibrated by broadcasting.
[0034] In the embodiment of the present application, the dual-mode communication module to be calibrated can obtain the NTB value between the two sending times of the copy controller and the NTB value between the two receiving times of the dual-mode communication module to be calibrated by receiving the first frequency deviation calibration frame signal and the second frequency deviation calibration frame signal, so that the frequency deviation value can be obtained according to the NTB value, and then the PLL decimal part parameter can be adjusted to obtain the accurate adjusted decimal part parameter, so as to achieve accurate frequency correction through the PLL circuit. The embodiment of the present application calibrates the dual-mode communication module through the calibrated copy controller, so that no additional equipment and human resources are required, and automatic correction can be achieved, which is fast and efficient, and can easily achieve accurate frequency calibration of the module.
[0035] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0037] Figure 1 A schematic diagram of a dual-mode communication module frequency calibration system based on HPLC and HRF provided in one embodiment of the present application;
[0038] Figure 2 A flow chart of a dual-mode communication module frequency calibration method based on HPLC and HRF provided in one embodiment of the present application;
[0039] Figure 3 This is a flow chart of a frequency calibration method according to a specific implementation of the present application. DETAILED DESCRIPTION
[0040] In order to make the technical solutions and beneficial effects of the present invention more clearly understood, the following is a detailed description by listing specific embodiments. Unless otherwise defined, the technical and scientific terms used herein have the same meanings as those in the technical field to which this application belongs.
[0041] Figure 1 Schematic diagram of a dual-mode communication module frequency calibration system based on HPLC and HRF provided in one embodiment of the present application. Figure 1As shown, the frequency calibration system of the embodiment of the present application includes a host computer, a copy controller and a dual-mode communication module to be calibrated. Among them, the host computer can be connected to the copy controller through a serial port or a network port, and is used to exchange data and convey instructions with the copy controller, such as sending frequency calibration instructions to the copy controller, configuring working links, frequency bands, node addresses, etc. The host computer can be a computer device in various forms, such as a computer used for production line testing; it can also be a portable device used for power grid monitoring or maintenance.
[0042] The copy controller is connected to one or more dual-mode communication modules to be corrected, and is used to send a frequency deviation calibration frame signal to the dual-mode communication modules to be corrected. In the smart grid, the copy controller is a path connection device used in production, setting, and maintenance. It cooperates with the host computer (or other intelligent terminals) to copy the terminal electric meter. In the embodiment of the present application, the data communication between the host computer and the dual-mode communication module is realized by the copy controller. In the embodiment of the present application, the copy controller can be connected to the dual-mode communication module to be corrected through the power line, and can also be connected to the dual-mode communication module to be corrected by wireless mode; correspondingly, the copy controller can send the frequency deviation calibration frame signal by HPLC mode, and can also send the frequency deviation calibration frame signal by HRF mode. Optionally, the copy controller is connected to multiple dual-mode communication modules to be corrected, and is used to send the frequency deviation calibration frame signal to the dual-mode communication module to be corrected by broadcasting, so that multiple dual-mode communication modules can be corrected at one time, thereby improving the correction efficiency.
[0043] In the embodiment of the present application, the copy controller is a frequency-calibrated copy controller, and the frequency calibration can be achieved by using a clock instrument, which will not be described in detail here.
[0044] In the embodiment of the present application, the analog-to-digital conversion module (ADC) in the dual-mode communication module uses a passive crystal oscillator to generate a clock signal. The ADC sampling frequency of each dual-mode communication module is affected by the respective external circuits and the physical properties of the crystal, resulting in insufficient frequency stability. In the embodiment of the present application, the dual-mode communication module can perform frequency correction through a phase-locked loop (PLL) circuit. PLL is a circuit for generating or adjusting a clock signal. In the PLL circuit, fine frequency adjustment is achieved through integer part parameters and fractional part parameters. In the embodiment of the present application, the dual-mode module to be calibrated is used to receive the first frequency offset calibration frame signal sent by the copy controller and perform synchronous demodulation processing to obtain the first received NTB value and the first sent NTB value; wherein the first sent NTB value is the NTB value corresponding to the sending time of the first frequency offset calibration frame signal; the first received NTB value is the NTB value corresponding to the synchronization time of the first frequency offset calibration frame signal; the second frequency offset calibration frame signal sent by the copy controller is received and synchronously demodulated to obtain the second received NTB value and the second sent NTB value; wherein the second sent NTB value is the NTB value corresponding to the sending time of the second frequency offset calibration frame signal; the second received NTB value is the NTB value corresponding to the synchronization time of the second frequency offset calibration frame signal; the frequency deviation value is determined according to the first received NTB value, the first sent NTB value, the second received NTB value and the second sent NTB value; the decimal part parameter in the PLL parameter is adjusted according to the frequency deviation value; the frequency is calibrated according to the integer part parameter and the adjusted decimal part parameter. It should be noted that the NTB value is a count value based on the clock signal. For example, if the frequency is 25Mhz, it is counted once every 40ns. Since the sampling frequency of the digital-to-analog conversion (DAC) of the copy controller is inconsistent with the sampling frequency of the mode conversion (ADC) of the dual-mode communication module to be calibrated, the count values between the two sending moments and the two receiving moments are inconsistent, so the frequency deviation between the copy controller and the dual-mode communication module to be calibrated can be obtained.
[0045] In the embodiment of the present application, the dual-mode communication module to be corrected can obtain the NTB value between the two sending moments of the transmitting end (copy controller) and the NTB value between the two receiving moments of the receiving end (dual-mode communication module to be corrected) by receiving the first frequency deviation calibration frame signal and the second frequency deviation calibration frame signal. The NTB value between the two sending moments and the NTB value between the two receiving moments reflect the difference in frequency between the copy controller and the dual-mode communication module to be corrected, so that the frequency deviation value can be obtained according to the NTB value, and then the PLL decimal part parameter can be adjusted to obtain the accurate adjusted decimal part parameter, thereby achieving accurate frequency correction. The embodiment of the present application calibrates the dual-mode communication module through a calibrated copy controller, and can use the original copy controller production and testing environment, so that there is no need to add additional equipment and human resources, and realize automatic correction, fast speed, high efficiency, and can easily achieve accurate frequency calibration of the module.
[0046] The frequency deviation value is determined according to the first receiving NTB value, the first sending NTB value, the second receiving NTB value, and the second sending NTB value, specifically:
[0047] F=(△NTB send -△NTB recv )*2 N / △NTB recv
[0048] Where, F represents the frequency deviation value; △NTB send Indicates the counting interval between the second transmitted NTB value and the first transmitted NTB value, i.e. △NTB send =NTB send2 -NTB send1 , NTB send2 Indicates the second sent NTB value, NTB send1 Indicates the first sent NTB value; △NTB recv Indicates the counting interval between the second received NTB value and the second sent NTB value, △NTB recv =NTB recv2 -NTB recv1 , NTB recv2 Indicates the second received NTB value, NTB recv1 represents the first received NTB value; N represents the number of bits of the fractional divider in the PLL. It should be noted that the frequency deviation value represents the relative difference between the receiving end and the transmitting end frequency, which is obtained by multiplying by 2 N , so that the relative difference can be converted into an integer (subsequent correction needs to be divided by 2 N into a decimal, which is convenient for storage in the register of the PLL circuit).
[0049] Adjust the decimal part of the PLL parameters according to the frequency deviation value, specifically:
[0050] F RAC '=F RAC +F
[0051] Among them, F RAC ' represents the adjusted decimal part parameter; F RAC Indicates the initial value of the decimal part parameter; F indicates the frequency deviation value. When it is necessary to explain, F RAC is a preset value, which is set according to the PLL circuit and theoretical frequency.
[0052] The frequency is calibrated according to the integer part parameters and the adjusted decimal part parameters, specifically:
[0053] F vco =(F ref / R DIV )*[FDIV +(F RAC ' / 2 N )]
[0054] Among them, F vco Indicates the output frequency, F ref Indicates the input frequency, F DIV Indicates the initial value of the integer part, R DIV Indicates the initial value of the reference divider. DIV and R DIV are all preset values, which are set according to the PLL circuit and the theoretical frequency. DIV Set to 1.
[0055] Figure 2 FIG. 1 is a flow chart of a dual-mode communication module frequency calibration method based on HPLC and HRF provided in an embodiment of the present application. The method is applied to the frequency calibration system of the above embodiment, such as Figure 2 As shown, the method includes:
[0056] S1. Receive a first frequency offset calibration frame signal sent by a copy controller and perform synchronous demodulation processing to obtain a first received NTB value and a first sent NTB value.
[0057] The first transmitted NTB value is the NTB value corresponding to the transmission time of the first frequency offset calibration frame signal; the first received NTB value is the NTB value corresponding to the synchronization time of the first frequency offset calibration frame signal;
[0058] S2, receiving the second frequency offset calibration frame signal sent by the copy controller and performing synchronous demodulation processing to obtain a second received NTB value and a second sent NTB value.
[0059] Among them, the second sent NTB value is the NTB value corresponding to the moment when the second frequency offset calibration frame signal is sent; the second received NTB value is the NTB value corresponding to the moment when the second frequency offset calibration frame signal is synchronized.
[0060] S3. Determine a frequency deviation value according to the first receiving NTB value, the first sending NTB value, the second receiving NTB value, and the second sending NTB value.
[0061] Specifically, the frequency deviation value is calculated according to the following formula:
[0062] F=(△NTB send -△NTB recv )*2 N / △NTB recv
[0063] Where, F represents the frequency deviation value; △NTB send Indicates the counting interval between the second transmitted NTB value and the first transmitted NTB value; △NTBrecv represents the counting interval between the second receiving NTB value and the second transmitting NTB value; N represents the number of bits of the fractional divider in the PLL. It should be noted that the frequency deviation value represents the relative difference between the receiving end and the transmitting end frequency, which is obtained by multiplying by 2 N , so that the relative difference can be converted into an integer (subsequent correction needs to be divided by 2 N into a decimal, which is convenient for storage in the register of the PLL circuit).
[0064] S4. Adjust the decimal part parameters of the PLL parameters according to the frequency deviation value.
[0065] The PLL parameters include integer parameters and fractional parameters. Specifically, the fractional parameters in the PLL parameters are adjusted by the following formula:
[0066] F RAC '=F RAC +F
[0067] Among them, F RAC ' represents the adjusted decimal part parameter; F RAC Indicates the initial value of the decimal part parameter; F indicates the frequency deviation value.
[0068] S5. Perform frequency calibration according to the integer part parameter and the adjusted decimal part parameter.
[0069] Specifically:
[0070] F vco =(F ref / R DIV )*[F DIV +(F RAC ' / 2 N )]
[0071] Among them, F vco Indicates the output frequency, F ref Indicates the input frequency, F DIV Indicates the initial value of the integer part, R DIV Indicates the reference divider initial value.
[0072] Figure 3 This is a flow chart of a frequency calibration method according to a specific implementation method of the present application. Figure 3 The frequency calibration method of the embodiment of the present application is introduced. Figure 3As shown in the figure, the host computer sets the serial port parameters, opens the serial port and configures the working link, frequency band, etc. to the copy controller, and sets the master-slave node, and connects the address of the module to be calibrated (STA) and other parameters at an interval of 1 to 2.5 seconds. After receiving the command, the copy controller sends the frequency deviation calibration frame 1 and the frequency deviation calibration frame 2 to the STA. After receiving the command, the STA calculates and sets the frequency deviation calibration value according to the two calibration frames, and then adjusts the parameters according to the frequency deviation calibration value and calibrates.
[0073] It should be understood that the above embodiments are exemplary and are not intended to include all possible implementations included in the claims. Various modifications and changes may be made on the basis of the above embodiments without departing from the scope of the present disclosure. Similarly, the various technical features of the above embodiments may be arbitrarily combined to form other embodiments of the present invention that may not be explicitly described. Therefore, the above embodiments only express several implementations of the present invention and do not limit the scope of protection of the patent of the present invention.
Claims
1. A dual-mode communication module frequency calibration system based on HPLC and HRF, characterized in that: The frequency calibration system comprises a host computer, a copy controller, and a dual-mode communication module to be calibrated; the host computer is connected to the copy controller, and the copy controller is connected to one or more dual-mode communication modules to be calibrated; the copy controller is a calibrated frequency copy controller; The host computer is used to send a frequency calibration instruction to the copy controller; The copy controller is used to send a frequency deviation calibration frame signal to the dual-mode communication module to be calibrated; The dual-mode communication module to be calibrated is used to receive the first frequency offset calibration frame signal sent by the copy controller and perform synchronous demodulation processing to obtain a first received NTB value and a first sent NTB value; wherein the first sent NTB value is the NTB value corresponding to the time when the first frequency offset calibration frame signal is sent; the first received NTB value is the NTB value corresponding to the synchronization time of the first frequency offset calibration frame signal; receive the second frequency offset calibration frame signal sent by the copy controller and perform synchronous demodulation processing to obtain a second received NTB value and a second sent NTB value; wherein the second sent NTB value is the NTB value corresponding to the time when the second frequency offset calibration frame signal is sent; the second received NTB value is the NTB value corresponding to the synchronization time of the second frequency offset calibration frame signal; determine the frequency deviation value according to the first received NTB value, the first sent NTB value, the second received NTB value and the second sent NTB value; adjust the decimal part parameter in the PLL parameter according to the frequency deviation value, wherein the PLL parameter includes an integer part parameter and a decimal part parameter; perform frequency calibration according to the integer part parameter and the adjusted decimal part parameter.
2. The dual-mode communication module frequency calibration system based on HPLC and HRF as claimed in claim 1, characterized in that: The frequency deviation value is determined according to the first receiving NTB value, the first sending NTB value, the second receiving NTB value, and the second sending NTB value, specifically: F=(△NTB send -△NTB recv )*2 N / △NTB recv Where, F represents the frequency deviation value; △NTB send Indicates the counting interval between the second transmitted NTB value and the first transmitted NTB value; △NTB recv Represents the counting interval between the second received NTB value and the second transmitted NTB value; N represents the number of bits of the fractional divider in the PLL.
3. The dual-mode communication module frequency calibration system based on HPLC and HRF as claimed in claim 2, characterized in that: The decimal part parameters in the PLL parameters are adjusted according to the frequency deviation value, specifically: F RAC ’=F RAC +F Among them, F RAC ' represents the adjusted decimal part parameter; F RAC Indicates the initial value of the decimal part parameter; F indicates the frequency deviation value.
4. The dual-mode communication module frequency calibration system based on HPLC and HRF as claimed in claim 3, characterized in that: The frequency calibration is performed according to the integer part parameter and the adjusted decimal part parameter, specifically: F vco =(F ref / R DIV )*[F DIV +(F RAC ’ / 2 N )] Among them, F vco Indicates the output frequency, F ref Indicates the input frequency, F DIV Indicates the initial value of the integer part, R DIV Indicates the reference divider initial value.
5. The dual-mode communication module frequency calibration system based on HPLC and HRF as claimed in claim 1, characterized in that: The copy controller is connected to a plurality of dual-mode communication modules to be calibrated, and is used to send frequency deviation calibration frame signals to the plurality of dual-mode communication modules to be calibrated by broadcasting.
6. A dual-mode communication module frequency calibration method based on HPLC and HRF, characterized in that: The method is applied to a frequency calibration system, which includes a host computer, a copy controller, and a dual-mode communication module to be calibrated; the host computer is connected to the copy controller and is used to send a frequency calibration instruction to the copy controller; the copy controller is connected to one or more dual-mode communication modules to be calibrated and is used to send a frequency deviation calibration frame signal to the dual-mode communication modules to be calibrated; the copy controller is a copy controller that has been calibrated; the method includes: Receive the first frequency offset calibration frame signal sent by the copy controller and perform synchronous demodulation processing to obtain a first received NTB value and a first sent NTB value; wherein the first sent NTB value is the NTB value corresponding to the time when the first frequency offset calibration frame signal is sent; the first received NTB value is the NTB value corresponding to the synchronization time of the first frequency offset calibration frame signal; Receive the second frequency offset calibration frame signal sent by the copy controller and perform synchronous demodulation processing to obtain a second received NTB value and a second sent NTB value; wherein the second sent NTB value is the NTB value corresponding to the sending time of the second frequency offset calibration frame signal; the second received NTB value is the NTB value corresponding to the synchronization time of the second frequency offset calibration frame signal; Determine a frequency deviation value according to the first receiving NTB value, the first sending NTB value, the second receiving NTB value, and the second sending NTB value; The decimal part parameter in the PLL parameter is adjusted according to the frequency deviation value, wherein the PLL parameter includes an integer part parameter and a decimal part parameter; and the frequency is calibrated according to the integer part parameter and the adjusted decimal part parameter.
7. The dual-mode communication module frequency calibration method based on HPLC and HRF as claimed in claim 6, characterized in that: The frequency deviation value is determined according to the first receiving NTB value, the first sending NTB value, the second receiving NTB value, and the second sending NTB value, specifically: F=(△NTB send -△NTB recv )*2 N / △NTB recv Where, F represents the frequency deviation value; △NTB send Indicates the counting interval between the second transmitted NTB value and the first transmitted NTB value; △NTB recv Represents the counting interval between the second received NTB value and the second transmitted NTB value; N represents the number of bits of the fractional divider in the PLL.
8. The dual-mode communication module frequency calibration method based on HPLC and HRF as claimed in claim 7, characterized in that: The decimal part parameters in the PLL parameters are adjusted according to the frequency deviation value, specifically: F RAC ’=F RAC +F Among them, F RAC ' represents the adjusted decimal part parameter; F RAC Indicates the initial value of the decimal part parameter; F indicates the frequency deviation value.
9. The dual-mode communication module frequency calibration method based on HPLC and HRF as claimed in claim 8, characterized in that: The frequency calibration is performed according to the integer part parameter and the adjusted decimal part parameter, specifically: F vco =(F ref / R DIV )*[F DIV +(F RAC ’ / 2 N )] Among them, F vco Indicates the output frequency, F ref Indicates the input frequency, F DIV Indicates the initial value of the integer part, R DIV Indicates the reference divider initial value.
10. The dual-mode communication module frequency calibration method based on HPLC and HRF as claimed in claim 6, characterized in that: The copy controller is connected to a plurality of dual-mode communication modules to be calibrated, and is used to send frequency deviation calibration frame signals to the plurality of dual-mode communication modules to be calibrated by broadcasting.
Citation Information
Patent Citations
Frequency offset calibration method and system for radio frequency module
CN109067475A
Power distribution field area network clock accurate synchronization method and device based on HPLC (High Performance Liquid Chromatography)
CN114726471A
Multi-mode communication module clock frequency offset joint estimation method and initial frequency offset calibration method
CN115913441A
Communication module remote maintenance method based on HPLC and HRF dual-mode communication mode
CN116743657A
Communicating schedule and network information in a powerline network
US20070025266A1