WO2018072449A1 - A two-point modulation transmitter calibration circuit and calibration method - Google Patents

A two-point modulation transmitter calibration circuit and calibration method Download PDF

Info

Publication number
WO2018072449A1
WO2018072449A1 PCT/CN2017/086850 CN2017086850W WO2018072449A1 WO 2018072449 A1 WO2018072449 A1 WO 2018072449A1 CN 2017086850 W CN2017086850 W CN 2017086850W WO 2018072449 A1 WO2018072449 A1 WO 2018072449A1
Authority
WO
WIPO (PCT)
Prior art keywords
calibration
circuit
phase
point modulation
locked loop
Prior art date
Application number
PCT/CN2017/086850
Other languages
French (fr)
Chinese (zh)
Inventor
赵辉
何国军
曾军
Original Assignee
国民技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 国民技术股份有限公司 filed Critical 国民技术股份有限公司
Publication of WO2018072449A1 publication Critical patent/WO2018072449A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/099Details of the phase-locked loop concerning mainly the controlled oscillator of the loop

Definitions

  • the invention relates to a transmitter suitable for low power consumption, in particular to a two-point modulation transmitter calibration circuit and a calibration method.
  • phase-locked loops There are three main types of direct transmitters based on phase-locked loops: (1) out-of-band transmitters based on phase-locked loops; (2) in-band transmitters based on phase-locked loops; and (3) two-point based on phase-locked loops. Modulate the transmitter.
  • the two-point modulation transmitter based on phase-locked loop overcomes the anti-interference ability of the out-of-band transmitter, breaks the limitation of the bandwidth of the in-band transmitter by the phase-locked loop loop, and is more suitable for high-quality transmission and low power consumption.
  • Wireless communication device is a type of direct transmitters based on phase-locked loops.
  • the two-point modulation phase-locked loop is controlled by a digital modulation (Digital Modulator) to control the sigma-delta modulator ( ⁇ - ⁇ Modulator).
  • Digital Modulator Digital Modulator
  • ⁇ - ⁇ Modulator Low-pass branch (A1), and digital-to-analog converter (DAC) and low-pass filter (LPF) control the high-pass branch (A2) of the input of the voltage-controlled oscillator (VCO), two-point modulation phase-locked loop
  • the power amplifiers (PAs) together form a two-point modulation transmitter.
  • the two-point modulation transmitter based on the phase-locked loop breaks the bandwidth limitation of the phase-locked loop, and enhances the anti-interference ability of the out-of-band.
  • the signal is transmitted by the high-low-pass branch, the process, voltage, and temperature (Process, Under the condition of change of Voltage, Temperature, PVT, it is bound to cause delay and gain matching of low-pass branch (A1) and high-pass branch (A2).
  • Delay matching problem The signal passes through two branches and is uniformly output after the VCO. Therefore, the two signals must be synchronized at the VCO output. However, under the condition of PVT change, the phase outputs of the two branches are not synchronized.
  • the low-pass branch (A1) can be accurately designed by digital code (Verilog); However, the high-pass branch (A2) controls the VCO by the voltage output from the digital-to-analog converter and the low-pass filter to achieve the frequency offset. Under the PVT variation condition, the frequency offset of the high-pass branch (A2) is not controllable. As a result, the two-way frequency mismatch will seriously deteriorate the communication quality.
  • This calibration scheme does not process the loop filter output voltage and directly quantizes it with the ADC.
  • the ADC also quantizes the noise signal of the loop filter voltage to introduce a calibration error.
  • the technical problem to be solved by the present invention is that when the signal is transmitted in the high-low-pass branch, the delay of the low-pass branch and the high-pass branch and the gain matching are not good due to the process, voltage, and temperature changes.
  • the present invention provides a two-point modulation transmitter calibration circuit, the circuit comprising:
  • the signal input circuit input signal to the two-point modulation phase-locked loop circuit;
  • the gain self-calibration circuit adjusts the signal input by the signal input circuit;
  • the two-point modulation phase-locked loop circuit outputs the signal to the power amplifier;
  • the signal input circuit comprises: a Gaussian filter, a delay calibration unit, and a delay unit;
  • the two-point modulation phase-locked loop circuit comprises a digital-to-analog converter;
  • the Gaussian filter, the delay calibration unit, and the digital-to-analog converter are sequentially connected in series to form a high-pass branch;
  • the calibration circuit controls the output of the high-pass branch to adjust the two-point modulation phase-locked loop circuit;
  • the Gaussian filter and the delay unit are sequentially connected in series to form a low-pass branch; and the output signal of the low-pass branch adjusts the two-point modulation phase-locked loop circuit.
  • the invention has the beneficial effects that the delay matching calibration and the gain automatic calibration function can be realized, and the problem that the traditional two-point modulation frequency offset calibration resource consumption is large, the calibration time is long, and the temperature change causes frequency offset is solved.
  • the two-point modulation phase-locked loop circuit further includes: a phase frequency phase detector, a charge pump, a loop filter, a voltage controlled oscillator, a prescaler, a buffer, a programmable frequency divider, and a sigma-delta modulation.
  • the programmable frequency divider sequentially forms a loop in series; the digital-to-analog converter, the low-pass filter and the voltage-controlled oscillator are connected in series in sequence; the pre-divider frequency is also connected to the power amplifier; the programmable frequency divider is further The connection loop is formed with the sigma-delta modulator; the buffer is also connected in series with the digital/analog automatic frequency controller, the voltage controlled oscillator, and the preamplifier to form a loop.
  • the signal input circuit further includes: a first-in first-out memory (FIFO), and the data passes through the Gaussian filter and is buffered by the first-in first-out memory.
  • FIFO first-in first-out memory
  • the signal input circuit further includes a lookup table: after the data is passed through the first in first out memory and quantized, the data is transmitted to the low pass path through the lookup table.
  • the gain self-calibration circuit includes an amplifier (Amplifier, Amp), a comparator (Comparator, Comp), and a Gain Calibration Controller (GCC), which are sequentially connected in series;
  • An amplifier for amplifying the output voltage of the loop filter; a comparator for comparing the gain difference of the high-low path response by the phase-locked loop; a gain self-calibration controller for determining whether the high and low path gains match, and adjusting the digital-to-analog conversion
  • the low-pass filter control word at the rear of the device changes the digital-to-analog converter output swing to achieve gain self-calibration.
  • the gain difference of the high and low paths is calculated by the gain self-calibration circuit, and the control word of the low-pass filter is adjusted by using the special calibration timing, and the output amplitude of the digital-to-analog converter is changed to realize the two-path gain matching. And complete the calibration process by configuring the delay control word.
  • the invention further relates to a method of two-point modulation transmitter calibration, the method steps comprising:
  • the transmitter is powered on and enabled to detect. After detecting the power-on, the transmitter should be in a ready-to-transmit state, and the transmitter is calibrated before the signal communication is performed;
  • the input data is coarsely adjusted by the buffer, the digital/analog automatic frequency controller, the voltage controlled oscillator, and the front two-way serially connected loops to form a loop of the phase locked loop. , so that the phase-locked loop is locked within a certain error range of the working frequency point, waiting for the digital/analog automatic frequency controller to complete the flag; at this time, the digital-to-analog converter inputs the central control word;
  • the phase frequency detector, the charge pump, the loop filter, the voltage controlled oscillator, the preamplifier, the buffer, and the programmable frequency division are enabled.
  • the ⁇ - ⁇ modulator forms a phase-locked loop loop, and performs frequency phase locking under this condition, waiting for the lock detection circuit to output a lock flag;
  • the high-pass branch formed by the Gaussian filter, the delay calibration unit, and the digital-to-analog converter in series and the low-pass branch formed by the Gaussian filter and the delay unit in series are realized by the SPI configuration logic.
  • the two branches of the road are respectively processed for delay, and the delay control word is configured into the corresponding register during the chip communication process.
  • step S5 if the temperature changes greatly during the normal communication operation, the S3-S5 is repeated to complete the gain self-calibration process, and the delay calibration control word is kept unchanged.
  • the implementation of the gain self-calibration method can effectively calibrate the frequency offset error of the transmitted data, and realize high-quality all-pass transmission of data.
  • FIG. 1 is a circuit diagram of a two-point modulation transmitter calibration according to the present invention.
  • FIG. 2 is a schematic diagram of a circuit for calibrating a two-point modulation transmitter according to the present invention
  • FIG. 3 is a flow chart of a method for calibrating a two-point modulation transmitter according to the present invention
  • FIG. 4 is a schematic diagram of a gain self-calibration circuit according to an embodiment of the present invention.
  • FIG. 5 is a timing diagram of control signals of a switch timing control circuit of the present invention.
  • FIG. 6 is a calibration timing of a gain self-calibration circuit according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a conventional two-point modulation transmitter based on a phase locked loop
  • FIG. 8 is a schematic diagram of a two-point modulation calibration transmitter in the prior art.
  • a two-point modulation transmitter calibration circuit includes: a two-point modulation phase-locked loop system, a signal input circuit, a power amplifier, and a gain self-calibration circuit;
  • the two-point Sigma-Delta Modulator Phase Locked Loop includes: Phase Frequency Detector (PFD) and Charge Pump (CP). , Loop Filter (LF), Voltage Control Oscillator (VCO), Pre-divider 2, Buffer, Programmable Divider ), Sigma-Delta Modulator (SDM), Digital/Analog Automatic Frequency Control (Digital/Analog AFC), Digital to Analog Converter (DAC), Low pass filter (LPF); signal input circuit includes: Gauss filter, Delay Calibration (DLYcal), delay unit (Delay); the two-point modulation phase-locked loop
  • the phase frequency detector, the charge pump, the loop filter, the voltage controlled oscillator, the preamplifier, the buffer, and the programmable frequency divider in the system are sequentially connected in series to form a loop; the digital to analog converter, low Pass filter
  • the voltage controlled oscillators are connected in series in series; the preamplifier is also connected to a power amplifier (PA)
  • the Gaussian filter, the delay calibration unit and the digital-to-analog converter of the two-point modulation phase-locked loop system are sequentially connected in series to form a high-pass branch; the Gaussian filter and the delay unit are sequentially connected in series to form a low-pass branch.
  • the output of the series is mixed with the input of the RF Channel input, and then mixed and input to the sigma-delta modulator;
  • the transmit channel (RF Channel) input is also mixed with the output of the sigma-delta modulator, and mixed into a programmable frequency divider;
  • the output of the loop filter is respectively connected to a gain self-calibration circuit and a voltage controlled oscillator.
  • the signal input circuit also includes: a first-in first-out memory (FIFO), and the data passes through the Gaussian filter and is buffered by the first-in first-out memory.
  • FIFO first-in first-out memory
  • the signal input circuit further includes: after the data passes through the first-in first-out memory and is quantized, the data is transmitted to the low-pass path through a lookup table (LUT).
  • LUT lookup table
  • the gain self-calibration circuit includes an amplifier (Amplifier, Amp), a comparator (Comparator, Comp), and a Gain Calibration Controller (GCC), which are sequentially connected in series;
  • An amplifier for amplifying the output voltage of the loop filter; a comparator for comparing the gain difference of the high-low path response by the phase-locked loop; a gain self-calibration controller for determining whether the high and low path gains match, and adjusting the digital-to-analog conversion
  • the low-pass filter control word at the rear of the device changes the digital-to-analog converter output swing to achieve gain self-calibration.
  • the transmitter is powered on and enabled to detect. After detecting the power-on, the transmitter should be in a ready-to-transmit state, and the transmitter is calibrated before the signal communication is performed;
  • S4 After S4 detects that the digital/analog automatic frequency controller AFC completion flag is valid, it disconnects S0, closes S1, and disconnects S2, so that the phase frequency detector, charge pump, loop filter, voltage controlled oscillator, front two The frequency division, the buffer, the programmable frequency divider, and the sigma-delta modulator form a phase-locked loop loop; under this condition, the frequency phase is locked, and the lock detection circuit outputs a lock flag;
  • the high-pass branch composed of the delay calibration unit, the digital-to-analog converter and the low-pass filter, and the low-pass branch formed by the Gaussian filter and the delay unit in series are realized by the SPI configuration logic.
  • the two branches are separately processed for delay, and the delay control word is configured into the corresponding register during the chip communication process.
  • Step I The battery is powered on and enabled. After the power is detected, the transmitter should be in the ready to transmit state. Before the signal communication, the transmitter needs to be calibrated to ensure the communication quality.
  • Step II As shown in FIG. 1, the integer division ratio and the fractional ratio control word corresponding to the operating frequency of the phase locked loop are set by the RF Channel, and the module for opening the open loop path of the phase locked loop is enabled.
  • Step III As shown in Figure 1, close S0, disconnect S1 to cut off the phase-locked loop, and also disconnect S2 to perform automatic frequency control (AFC) process.
  • pass VCO, Pre-Divider 2, Buffer, Digital/Analog AFC forms a loop to realize the coarse adjustment of the operating frequency of the phase-locked loop, so that the phase-locked loop is locked within a certain error range of the working frequency, waiting for the AFC completion flag.
  • the digital-to-analog converter inputs the central control word, if 6bit As an example, the input control word is: 0d'32.
  • Step IV After detecting that the AFC completion flag is valid, disconnect S0, close S1, disconnect S2, and make PFD, CP, LF, VCO, Pre-Divider 2, Buffer, Programmable Divider, ⁇ - ⁇
  • the Modulator forms a phase-locked loop. Perform frequency phase lock under this condition and wait for the Locked Detector (LD) circuit to output the lock flag.
  • LD Locked Detector
  • Step V If it is detected that the lock flag is valid, open S0, close S1, close S2, turn on the calibration circuit enable, gain self-calibration circuit, as shown in Figure 4, when the calibration circuit is enabled, in combination with Figure 4, S0 is closed, and the control timings of S11, S4, S5, S6, S7, S8, S9, and S10 are as shown in FIG. 5.
  • the clock high level indicates that the switch is turned on, and the low level switch is turned off, Clk1.
  • the non-overlapping control timing with Clk2 is converted by the calibration timing DaGainCtrlClk, voltage sampling in the ⁇ 1 phase, and voltage direction comparison in the ⁇ 2 phase.
  • DaGainCtrlClk If DaGainCtrlClk is high and no data is sent, the phase-locked loop presents the carrier frequency. At this time, the digital-to-analog converter signal control word corresponds to 0d'32. If DaGainCtrlClk is low, then consecutive 8 "0"s and 8 are transmitted. "1" signal, signal level “0” corresponds to digital-to-analog converter minimum control word 0d'1, signal level "1" corresponds to digital-to-analog converter maximum control word 0d'63, number ends at 7th 0/1 The sample comparator output is used to update the LPF control word.
  • GainCtrlData This signal corresponds to the data sent through the phase-locked loop.
  • the gain calibration phase mainly focuses on the amplitude. Therefore, the data does not pass the Gauss Filter and directly uses the smallest 0d'1 and the largest 0d'63. In the non-gain calibration stage, The data comes from the Gauss Filter output.
  • DaDAC_FrqCal This signal is the LPF resistance control word, which is the control word that the calibration algorithm needs to find.
  • GainCtrlFinish If AdGainCtrlOut is 0 at both sampling points during a round of comparison, it means that the LPF control word does not need to be modified, the Finish flag is set high, and the calibration ends.
  • Step VI The delay processing is performed on the two branches by the SPI configuration logic.
  • the delay control word is configured into the corresponding register, that is, the SDM low-pass branch delay is set to 0 ⁇ N.
  • Beat for the digital-to-analog converter high-pass branch, the delay can be set to 1 ⁇ N beats because the register output is required to simulate.
  • Step VII If the temperature changes greatly during normal communication, repeat steps III through V to complete the gain self-calibration process, and keep the delay calibration control word unchanged.

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transmitters (AREA)

Abstract

The present invention relates to a two-point modulation transmitter calibration circuit and a calibration method. The circuit comprises: a two-point modulation phase locked loop system, a signal input circuit, a power amplifier and a gain automatic calibration circuit. The steps of the method comprise: after a phase locked loop is locked at an operating frequency, emitting calibration data, using a low-pass branch as a reference, calculating a gain difference of high-pass and low-pass paths by means of the gain automatic calibration circuit, and using special calibration timing to differentially adjust a control word of a low-pass filter, changing the output amplitude of a digital-to-analog converter to realize gain matching of two branches, and completing a calibration process by configuring a delay control word. In the present invention, a delay-matched calibration can be achieved, a gain automatic calibration function is included, the frequency deviation problem caused by high resource consumption of traditional two-point modulation frequency offset calibration, long calibration time, and a large temperature change is also solved.

Description

一种两点调制发射机校准电路及校准方法Two-point modulation transmitter calibration circuit and calibration method 技术领域Technical field
本发明涉及一种适用于低功耗的发射机,尤其涉及了一种两点调制发射机校准电路及校准方法。The invention relates to a transmitter suitable for low power consumption, in particular to a two-point modulation transmitter calibration circuit and a calibration method.
背景技术Background technique
常用的基于锁相环的直接发射机主要有三种:(1)基于锁相环的带外发射机;(2)基于锁相环的带内发射机;(3)基于锁相环的两点调制发射机。而基于锁相环的两点调制发射机由于克服了带外发射机抗干扰能力弱,破除了带内发射机受锁相环环路带宽的限制,更适用于高质量发射且低功耗的无线通信装置。There are three main types of direct transmitters based on phase-locked loops: (1) out-of-band transmitters based on phase-locked loops; (2) in-band transmitters based on phase-locked loops; and (3) two-point based on phase-locked loops. Modulate the transmitter. The two-point modulation transmitter based on phase-locked loop overcomes the anti-interference ability of the out-of-band transmitter, breaks the limitation of the bandwidth of the in-band transmitter by the phase-locked loop loop, and is more suitable for high-quality transmission and low power consumption. Wireless communication device.
基于锁相环的两点调制发射机最常见的架构,如图7所示,两点调制锁相环由发射信号通过数字调制(Digital Modulator)分别控制∑-Δ调制器(∑-ΔModulator)的低通支路(A1),以及数模转换器(DAC)和低通滤波器(LPF)控制压控振荡器(VCO)的输入端的高通支路(A2)构成,两点调制锁相环与功率放大器(PA)一起构成了两点调制发射机。The most common architecture of a two-point modulation transmitter based on a phase-locked loop, as shown in Figure 7, the two-point modulation phase-locked loop is controlled by a digital modulation (Digital Modulator) to control the sigma-delta modulator (∑-Δ Modulator). Low-pass branch (A1), and digital-to-analog converter (DAC) and low-pass filter (LPF) control the high-pass branch (A2) of the input of the voltage-controlled oscillator (VCO), two-point modulation phase-locked loop The power amplifiers (PAs) together form a two-point modulation transmitter.
基于锁相环的两点调制发射机虽然破除了锁相环环路带宽的限制,增强了带外抗干扰能力,但由于信号由高低通支路进行传输,在工艺、电压、温度(Process,Voltage,Temperature,PVT)变化的条件下,势必引起低通支路(A1)、高通支路(A2)的延迟和增益匹配问题。The two-point modulation transmitter based on the phase-locked loop breaks the bandwidth limitation of the phase-locked loop, and enhances the anti-interference ability of the out-of-band. However, since the signal is transmitted by the high-low-pass branch, the process, voltage, and temperature (Process, Under the condition of change of Voltage, Temperature, PVT, it is bound to cause delay and gain matching of low-pass branch (A1) and high-pass branch (A2).
延迟匹配问题:信号通过两条支路,在VCO后统一输出,则必须要求两信号在VCO输出同步,然而在PVT变化条件下,会导致两支路信号相位输出不同步。Delay matching problem: The signal passes through two branches and is uniformly output after the VCO. Therefore, the two signals must be synchronized at the VCO output. However, under the condition of PVT change, the phase outputs of the two branches are not synchronized.
增益匹配问题:低通支路(A1)可以由数字代码(Verilog)实现精准的设计; 但高通支路(A2),则是由数模转换器和低通滤波器输出的电压来控制VCO以实现频偏,在PVT变化条件下,高通支路(A2)的频偏并不可控,导致两支路频偏失配,会严重恶化通信质量。Gain matching problem: The low-pass branch (A1) can be accurately designed by digital code (Verilog); However, the high-pass branch (A2) controls the VCO by the voltage output from the digital-to-analog converter and the low-pass filter to achieve the frequency offset. Under the PVT variation condition, the frequency offset of the high-pass branch (A2) is not controllable. As a result, the two-way frequency mismatch will seriously deteriorate the communication quality.
2009年发表于IEEE(Institute of Electrical and Electronics Engineers)的校准发射机,如图8所示,此校准方法是通过高精度的ADC量化环路滤波器电压,通过增益和相位补偿模块实现校准功能,此校准方案并未对环路滤波器输出电压进行处理直接用ADC量化,则ADC会将环路滤波器电压的噪声信号也一并量化,从而引入校准误差。The calibration transmitter published in the IEEE (Institute of Electrical and Electronics Engineers) in 2009, as shown in Figure 8, is a calibration method that quantifies the loop filter voltage through a high-precision ADC and implements a calibration function through a gain and phase compensation module. This calibration scheme does not process the loop filter output voltage and directly quantizes it with the ADC. The ADC also quantizes the noise signal of the loop filter voltage to introduce a calibration error.
发明内容Summary of the invention
本发明所要解决的技术问题是:信号在高低通支路进行传输时,由于工艺、电压、温度变化,从而引起低通支路、高通支路的延迟和增益匹配不好。The technical problem to be solved by the present invention is that when the signal is transmitted in the high-low-pass branch, the delay of the low-pass branch and the high-pass branch and the gain matching are not good due to the process, voltage, and temperature changes.
为解决上面的技术问题,本发明提供了一种两点调制发射机校准电路,该电路包括:To solve the above technical problem, the present invention provides a two-point modulation transmitter calibration circuit, the circuit comprising:
两点调制锁相环电路、信号输入电路、功率放大器和增益自校准电路;Two-point modulation phase-locked loop circuit, signal input circuit, power amplifier and gain self-calibration circuit;
信号输入电路输入信号至两点调制锁相环电路;增益自校准电路调节信号输入电路输入的信号;两点调制锁相环电路输出信号至功率放大器;The signal input circuit input signal to the two-point modulation phase-locked loop circuit; the gain self-calibration circuit adjusts the signal input by the signal input circuit; the two-point modulation phase-locked loop circuit outputs the signal to the power amplifier;
信号输入电路包括:高斯滤波器、延迟校准单元、延迟单元;两点调制锁相环电路包括数模转换器;高斯滤波器、延迟校准单元、数模转换器依次串联形成高通支路;增益自校准电路控制高通支路的输出调节两点调制锁相环电路;高斯滤波器、延迟单元依次串联形成低通支路;低通支路的输出信号调节两点调制锁相环电路。The signal input circuit comprises: a Gaussian filter, a delay calibration unit, and a delay unit; the two-point modulation phase-locked loop circuit comprises a digital-to-analog converter; the Gaussian filter, the delay calibration unit, and the digital-to-analog converter are sequentially connected in series to form a high-pass branch; The calibration circuit controls the output of the high-pass branch to adjust the two-point modulation phase-locked loop circuit; the Gaussian filter and the delay unit are sequentially connected in series to form a low-pass branch; and the output signal of the low-pass branch adjusts the two-point modulation phase-locked loop circuit.
本发明的有益效果:既能实现延迟匹配的校准,又具有增益自动校准的功能,也解决了传统两点调制频偏校准资源消耗大,校准时间长,温度巨变带来频偏的问题。The invention has the beneficial effects that the delay matching calibration and the gain automatic calibration function can be realized, and the problem that the traditional two-point modulation frequency offset calibration resource consumption is large, the calibration time is long, and the temperature change causes frequency offset is solved.
进一步,两点调制锁相环电路还包括:鉴频鉴相器、电荷泵、环路滤波器、压控振荡器、前置二分频、缓冲器、可编程分频器、∑-Δ调制器、数字 /模拟自动频率控制器、低通滤波器;所述的两点调制锁相环电路中的鉴频鉴相器、电荷泵、环路滤波器、压控振荡器、前置二分频、缓冲器、可编程分频器依次串联形成环路;所述数模转换器、低通滤波器和压控振荡器依次串联连接;前置二分频还与功率放大器连接;可编程分频器还与∑-Δ调制器形成连接环路;缓冲器还与数字/模拟自动频率控制器、压控振荡器、前置二分频依次串联形成环路。Further, the two-point modulation phase-locked loop circuit further includes: a phase frequency phase detector, a charge pump, a loop filter, a voltage controlled oscillator, a prescaler, a buffer, a programmable frequency divider, and a sigma-delta modulation. , number / Analog automatic frequency controller, low-pass filter; phase frequency phase detector, charge pump, loop filter, voltage controlled oscillator, pre-divider, buffer in the two-point modulation phase-locked loop circuit The programmable frequency divider sequentially forms a loop in series; the digital-to-analog converter, the low-pass filter and the voltage-controlled oscillator are connected in series in sequence; the pre-divider frequency is also connected to the power amplifier; the programmable frequency divider is further The connection loop is formed with the sigma-delta modulator; the buffer is also connected in series with the digital/analog automatic frequency controller, the voltage controlled oscillator, and the preamplifier to form a loop.
进一步,信号输入电路中还包括:先进先出存储器(FIFO),数据通过高斯滤波器后经过先进先出存储器转存缓冲。Further, the signal input circuit further includes: a first-in first-out memory (FIFO), and the data passes through the Gaussian filter and is buffered by the first-in first-out memory.
上述进一步的有益效果:解决了数据在不同时钟域丢失的问题。The above further beneficial effects: solve the problem that data is lost in different clock domains.
进一步,信号输入电路中还包括查找表:数据经过先进先出存储器并量化后,通过查找表向低通通路传输数据。Further, the signal input circuit further includes a lookup table: after the data is passed through the first in first out memory and quantized, the data is transmitted to the low pass path through the lookup table.
上述进一步的有益效果:数据经过先进先出存储器并量化后,通过查找表向低通通路传输数据,有效的解决了两支路的数据匹配问题The above further beneficial effects: after the data is passed through the first-in first-out memory and quantized, the data is transmitted to the low-pass path through the look-up table, thereby effectively solving the data matching problem of the two branches.
进一步,所述增益自校准电路包括放大器(Amplifier,Amp)、比较器(Comparator,Comp)、增益自校准控制器(Gain Calibration Controller,GCC),其依次串联;Further, the gain self-calibration circuit includes an amplifier (Amplifier, Amp), a comparator (Comparator, Comp), and a Gain Calibration Controller (GCC), which are sequentially connected in series;
放大器,用于放大环路滤波器输出电压;比较器,用于比较高低通路由锁相环响应的增益差;增益自校准控制器,用于判断高低通路增益是否匹配,并通过调节数模转换器后置的低通滤波器控制字改变数模转换器输出摆幅,达到增益自校准。An amplifier for amplifying the output voltage of the loop filter; a comparator for comparing the gain difference of the high-low path response by the phase-locked loop; a gain self-calibration controller for determining whether the high and low path gains match, and adjusting the digital-to-analog conversion The low-pass filter control word at the rear of the device changes the digital-to-analog converter output swing to achieve gain self-calibration.
上述进一步的有益效果:通过增益自校准电路计算出高低通路的增益差,并利用特殊的校准时序异向调节低通滤波器的控制字,改变数模转换器的输出幅度实现两支路增益匹配,并通过配置延迟控制字,完成校准过程。The above further beneficial effects: the gain difference of the high and low paths is calculated by the gain self-calibration circuit, and the control word of the low-pass filter is adjusted by using the special calibration timing, and the output amplitude of the digital-to-analog converter is changed to realize the two-path gain matching. And complete the calibration process by configuring the delay control word.
本发明还涉及一种两点调制发射机校准的方法,该方法步骤包括:The invention further relates to a method of two-point modulation transmitter calibration, the method steps comprising:
S1,发射机上电使能检测,检测到上电后,则发射机应处于准备发射状态,在进行信号通信前,对发射机进行校准; S1, the transmitter is powered on and enabled to detect. After detecting the power-on, the transmitter should be in a ready-to-transmit state, and the transmitter is calibrated before the signal communication is performed;
S2,通过发射信道设置锁相环工作频率对应的整数分频比和小数分频比控制字,并且打开由压控振荡器、前置二分频、缓冲器、数字/模拟自动频率控制器组成的快速锁相环开环路径进行电路使能;S2, setting an integer division ratio and a fractional ratio control word corresponding to the operating frequency of the phase locked loop through the transmission channel, and opening the voltage controlled oscillator, the preamplifier, the buffer, and the digital/analog automatic frequency controller Fast phase-locked loop open-loop path for circuit enablement;
S3,在进行频率自动控制过程时,此时输入的数据通过缓冲器、数字/模拟自动频率控制器、压控振荡器、前置二分频依次串联构成环路将锁相环工作频率粗调,使得锁相环锁定在工作频点一定误差范围内,等待数字/模拟自动频率控制器完成标志;此时的数模转换器输入中心控制字;S3, when the frequency automatic control process is performed, the input data is coarsely adjusted by the buffer, the digital/analog automatic frequency controller, the voltage controlled oscillator, and the front two-way serially connected loops to form a loop of the phase locked loop. , so that the phase-locked loop is locked within a certain error range of the working frequency point, waiting for the digital/analog automatic frequency controller to complete the flag; at this time, the digital-to-analog converter inputs the central control word;
S4,检测到数字/模拟自动频率控制器AFC完成标志有效后,使鉴频鉴相器、电荷泵、环路滤波器、压控振荡器、前置二分频、缓冲器、可编程分频器、∑-Δ调制器构成锁相环环路,在此条件下进行频率相位锁定,等待锁定检测电路输出锁定标志;S4, after detecting that the digital/analog automatic frequency controller AFC completion flag is valid, the phase frequency detector, the charge pump, the loop filter, the voltage controlled oscillator, the preamplifier, the buffer, and the programmable frequency division are enabled. The ∑-Δ modulator forms a phase-locked loop loop, and performs frequency phase locking under this condition, waiting for the lock detection circuit to output a lock flag;
S5,若检测到锁定标志有效后,开启校准电路使能,进行电路增益自校准;S5, if it is detected that the lock flag is valid, the calibration circuit is enabled to perform circuit gain self-calibration;
S6,当增益自校准完成后,由SPI配置逻辑实现对由高斯滤波器、延迟校准单元、数模转换器依次串联形成的高通支路和由高斯滤波器、延迟单元依次串联形成的低通支路两支路分别做延时处理,同时在芯片通信过程中,将延时控制字配置到相应寄存器中。S6, after the gain self-calibration is completed, the high-pass branch formed by the Gaussian filter, the delay calibration unit, and the digital-to-analog converter in series and the low-pass branch formed by the Gaussian filter and the delay unit in series are realized by the SPI configuration logic. The two branches of the road are respectively processed for delay, and the delay control word is configured into the corresponding register during the chip communication process.
进一步,在步骤S5中结束后,正常通信工作中若温度巨变,则重复S3-S5完成增益自校准过程,保持延迟校准控制字不变。Further, after the end of the step S5, if the temperature changes greatly during the normal communication operation, the S3-S5 is repeated to complete the gain self-calibration process, and the delay calibration control word is kept unchanged.
有益效果:增益自校准方法的实施,能有效地对发射数据频偏误差校准,实现数据高质量的全通传输。The beneficial effects: the implementation of the gain self-calibration method can effectively calibrate the frequency offset error of the transmitted data, and realize high-quality all-pass transmission of data.
附图说明DRAWINGS
图1为本发明的一种两点调制发射机校准的电路示意图;1 is a circuit diagram of a two-point modulation transmitter calibration according to the present invention;
图2为本发明的一种两点调制发射机校准的电路概要示意图;2 is a schematic diagram of a circuit for calibrating a two-point modulation transmitter according to the present invention;
图3为本发明的一种两点调制发射机校准方法的流程图; 3 is a flow chart of a method for calibrating a two-point modulation transmitter according to the present invention;
图4为本发明实施例中增益自校准电路示意图;4 is a schematic diagram of a gain self-calibration circuit according to an embodiment of the present invention;
图5为本发明开关时序控制电路的控制信号时序示意图;5 is a timing diagram of control signals of a switch timing control circuit of the present invention;
图6为本发明实施例增益自校准电路校准时序;6 is a calibration timing of a gain self-calibration circuit according to an embodiment of the present invention;
图7为现有基于锁相环的两点调制发射机概要示意图;7 is a schematic diagram of a conventional two-point modulation transmitter based on a phase locked loop;
图8为现有技术中的两点调制校准发射机概要示意图。FIG. 8 is a schematic diagram of a two-point modulation calibration transmitter in the prior art.
具体实施方式detailed description
以下结合附图对本发明的原理和特征进行描述,所举实例只用于解释本发明,并非用于限定本发明的范围。The principles and features of the present invention are described in the following with reference to the accompanying drawings.
如附图2所示的,一种两点调制发射机校准的电路,该电路包括:两点调制锁相环系统、信号输入电路、功率放大器和增益自校准电路;As shown in FIG. 2, a two-point modulation transmitter calibration circuit includes: a two-point modulation phase-locked loop system, a signal input circuit, a power amplifier, and a gain self-calibration circuit;
如图1所示,两点调制锁相环系统(Two-point Sigma-Delta Modulator Phase Locked Loop,TPSDMPLL)包括:鉴频鉴相器(Phase Frequency Detector,PFD)、电荷泵(Charge Pump,CP)、环路滤波器(Loop Filter,LF)、压控振荡器(Voltage Control Oscillator,VCO)、前置二分频(Pre-divider 2)、缓冲器(Buffer)、可编程分频器(Programmable Divider)、∑-Δ调制器(Sigma-Delta Modulator,SDM)、数字/模拟自动频率控制器(Digital/Analog Automatic Frequency Control,Digital/Analog AFC)、数模转换器(Digital to Analog Converter,DAC)、低通滤波器(Low Pass Filter,LPF);信号输入电路包括:高斯滤波器(Gauss Filter)、延迟校准单元(Delay Calibration,DLYcal)、延迟单元(Delay);所述的两点调制锁相环系统中的鉴频鉴相器、电荷泵、环路滤波器、压控振荡器、前置二分频、缓冲器、可编程分频器依次串联形成环路;所述数模转换器、低通滤波器和压控振荡器依次串联连接;前置二分频还与功率放大器(Power Amplifier,PA)连接;可编程分频器还与∑-Δ调制器形成连接环路;缓冲器还与数字/模拟自动频率控制器、压控振荡器、前置二分频依次串联形成环路; As shown in Figure 1, the two-point Sigma-Delta Modulator Phase Locked Loop (TPSDMPLL) includes: Phase Frequency Detector (PFD) and Charge Pump (CP). , Loop Filter (LF), Voltage Control Oscillator (VCO), Pre-divider 2, Buffer, Programmable Divider ), Sigma-Delta Modulator (SDM), Digital/Analog Automatic Frequency Control (Digital/Analog AFC), Digital to Analog Converter (DAC), Low pass filter (LPF); signal input circuit includes: Gauss filter, Delay Calibration (DLYcal), delay unit (Delay); the two-point modulation phase-locked loop The phase frequency detector, the charge pump, the loop filter, the voltage controlled oscillator, the preamplifier, the buffer, and the programmable frequency divider in the system are sequentially connected in series to form a loop; the digital to analog converter, low Pass filter The voltage controlled oscillators are connected in series in series; the preamplifier is also connected to a power amplifier (PA); the programmable frequency divider also forms a connection loop with the sigma-delta modulator; the buffer is also integrated with digital/analog The frequency controller, the voltage controlled oscillator, and the front two-way frequency are sequentially connected in series to form a loop;
所述的信号输入电路中的高斯滤波器、延迟校准单元与两点调制锁相环系统的数模转换器依次串联形成高通支路;所述的高斯滤波器、延迟单元依次串联形成低通支路,串联后的输出与发射信道(RF Channel)输入混合,混合后输入∑-Δ调制器;The Gaussian filter, the delay calibration unit and the digital-to-analog converter of the two-point modulation phase-locked loop system are sequentially connected in series to form a high-pass branch; the Gaussian filter and the delay unit are sequentially connected in series to form a low-pass branch. The output of the series is mixed with the input of the RF Channel input, and then mixed and input to the sigma-delta modulator;
所述的发射信道(RF Channel)输入还与∑-Δ调制器的输出混合,混合后输入可编程分频器;The transmit channel (RF Channel) input is also mixed with the output of the sigma-delta modulator, and mixed into a programmable frequency divider;
所述的环路滤波器的输出分别与增益自校准电路、压控振荡器连接。The output of the loop filter is respectively connected to a gain self-calibration circuit and a voltage controlled oscillator.
信号输入电路中还包括:先进先出存储器(FIFO),数据通过高斯滤波器后经过先进先出存储器转存缓冲。The signal input circuit also includes: a first-in first-out memory (FIFO), and the data passes through the Gaussian filter and is buffered by the first-in first-out memory.
信号输入电路中还包括:数据经过先进先出存储器并量化后,通过查找表(Look Up Table,LUT)向低通通路传输数据。The signal input circuit further includes: after the data passes through the first-in first-out memory and is quantized, the data is transmitted to the low-pass path through a lookup table (LUT).
所述增益自校准电路包括放大器(Amplifier,Amp)、比较器(Comparator,Comp)、增益自校准控制器(Gain Calibration Controller,GCC),其依次串联;The gain self-calibration circuit includes an amplifier (Amplifier, Amp), a comparator (Comparator, Comp), and a Gain Calibration Controller (GCC), which are sequentially connected in series;
放大器,用于放大环路滤波器输出电压;比较器,用于比较高低通路由锁相环响应的增益差;增益自校准控制器,用于判断高低通路增益是否匹配,并通过调节数模转换器后置的低通滤波器控制字改变数模转换器输出摆幅,达到增益自校准。An amplifier for amplifying the output voltage of the loop filter; a comparator for comparing the gain difference of the high-low path response by the phase-locked loop; a gain self-calibration controller for determining whether the high and low path gains match, and adjusting the digital-to-analog conversion The low-pass filter control word at the rear of the device changes the digital-to-analog converter output swing to achieve gain self-calibration.
如图3所示的一种两点调制发射机校准的方法,该方法步骤包括:A method for calibration of a two-point modulation transmitter as shown in FIG. 3, the method steps comprising:
S1,发射机上电使能检测,检测到上电后,则发射机应处于准备发射状态,在进行信号通信前,对发射机进行校准;S1, the transmitter is powered on and enabled to detect. After detecting the power-on, the transmitter should be in a ready-to-transmit state, and the transmitter is calibrated before the signal communication is performed;
S2,通过RF Channel设置锁相环工作频率对应的整数分频比和小数分频比控制字,并且打开由压控振荡器、前置二分频、缓冲器快速、数字/模拟自动频率控制器组成的快速锁相环开环路径进行电路使能;S2, setting the integer division ratio and the fractional ratio control word corresponding to the operating frequency of the phase locked loop through the RF Channel, and turning on the voltage controlled oscillator, the front two-way, the buffer fast, the digital/analog automatic frequency controller The fast phase-locked loop open loop path is configured to enable the circuit;
S3,闭合S0,断开S1,同时也断开S2,进行频率自动控制过程,此时输入的数据通过缓冲器、数字/模拟自动频率控制器、压控振荡器、前置二分频依次串联构成环路将锁相环工作频率粗调,使得锁相环锁定在工作频点一 定误差范围内,等待数字/模拟自动频率控制器AFC完成标志,此时的数模转换器输入中心控制字;S3, close S0, disconnect S1, and also disconnect S2, and perform frequency automatic control process. At this time, the input data is connected in series through buffer, digital/analog automatic frequency controller, voltage controlled oscillator, and pre-divide frequency. Forming a loop will coarsely adjust the operating frequency of the phase-locked loop, so that the phase-locked loop is locked at the working frequency Within the fixed error range, wait for the digital/analog automatic frequency controller AFC to complete the flag, and the digital-to-analog converter at this time inputs the central control word;
S4检测到数字/模拟自动频率控制器AFC完成标志有效后,断开S0,闭合S1,断开S2,使鉴频鉴相器、电荷泵、环路滤波器、压控振荡器、前置二分频、缓冲器、可编程分频器、∑-Δ调制器构成锁相环环路;在此条件下进行频率相位锁定,等待锁定检测电路输出锁定标志;After S4 detects that the digital/analog automatic frequency controller AFC completion flag is valid, it disconnects S0, closes S1, and disconnects S2, so that the phase frequency detector, charge pump, loop filter, voltage controlled oscillator, front two The frequency division, the buffer, the programmable frequency divider, and the sigma-delta modulator form a phase-locked loop loop; under this condition, the frequency phase is locked, and the lock detection circuit outputs a lock flag;
S5,若检测到锁定标志有效后,断开S0,闭合S1,闭合S2,开启校准电路使能,进行电路增益自校准;S5, if it is detected that the lock flag is valid, open S0, close S1, close S2, turn on the calibration circuit to enable circuit gain self-calibration;
S6,当增益自校准完成后,由SPI配置逻辑实现对由延迟校准单元、数模转换器与低通滤波器组成的高通支路和由高斯滤波器、延迟单元依次串联形成的低通支路两支路分别做延时处理,同时在芯片通信过程中,将延时控制字配置到相应寄存器中。S6, after the gain self-calibration is completed, the high-pass branch composed of the delay calibration unit, the digital-to-analog converter and the low-pass filter, and the low-pass branch formed by the Gaussian filter and the delay unit in series are realized by the SPI configuration logic. The two branches are separately processed for delay, and the delay control word is configured into the corresponding register during the chip communication process.
S7,正常通信工作中若温度巨变,则重复S3-S5完成增益自校准过程,保持延迟校准控制字不变。S7. If the temperature changes greatly during normal communication, repeat S3-S5 to complete the gain self-calibration process and keep the delay calibration control word unchanged.
具体实施例Specific embodiment
步骤I:电池上电使能检测,检测到上电后,则发射机应处于准备发射状态,在进行信号通信前,需要对发射机进行校准,以保证通信质量。Step I: The battery is powered on and enabled. After the power is detected, the transmitter should be in the ready to transmit state. Before the signal communication, the transmitter needs to be calibrated to ensure the communication quality.
步骤II:如图1所示,通过RF Channel设置锁相环工作频率对应的整数分频比和小数分频比控制字,并且打开锁相环开环路径的模块使能。Step II: As shown in FIG. 1, the integer division ratio and the fractional ratio control word corresponding to the operating frequency of the phase locked loop are set by the RF Channel, and the module for opening the open loop path of the phase locked loop is enabled.
步骤III:如图1所示,闭合S0,断开S1切断了锁相环环路,同时也断开S2,进行频率自动控制(AFC)过程,此时通过VCO、Pre-Divider 2、Buffer、Digital/Analog AFC构成环路实现锁相环工作频率粗调,使得锁相环锁定在工作频点一定误差范围内,等待AFC完成标志,此时的数模转换器输入中心控制字,若以6bit为例,输入控制字为:0d’32。Step III: As shown in Figure 1, close S0, disconnect S1 to cut off the phase-locked loop, and also disconnect S2 to perform automatic frequency control (AFC) process. At this time, pass VCO, Pre-Divider 2, Buffer, Digital/Analog AFC forms a loop to realize the coarse adjustment of the operating frequency of the phase-locked loop, so that the phase-locked loop is locked within a certain error range of the working frequency, waiting for the AFC completion flag. At this time, the digital-to-analog converter inputs the central control word, if 6bit As an example, the input control word is: 0d'32.
步骤IV:检测到AFC完成标志有效后,断开S0,闭合S1,断开S2,使PFD、CP、LF、VCO、Pre-Divider 2、Buffer,Programmable Divider、∑-Δ Modulator构成锁相环环路。在此条件下进行频率相位锁定,等待锁定检测(Locked Detector,LD)电路输出锁定标志。Step IV: After detecting that the AFC completion flag is valid, disconnect S0, close S1, disconnect S2, and make PFD, CP, LF, VCO, Pre-Divider 2, Buffer, Programmable Divider, ∑-Δ The Modulator forms a phase-locked loop. Perform frequency phase lock under this condition and wait for the Locked Detector (LD) circuit to output the lock flag.
步骤V:若检测到锁定标志有效后,断开S0,闭合S1,闭合S2,开启校准电路使能,增益自校准电路,如图4所示,当校准电路使能有效时,结合图4,S0闭合,S11、S4、S5、S6、S7、S8、S9、S10的控制时序,如图5所示,在图5中,时钟高电平表示开关导通,低电平开关断开,Clk1与Clk2为非交叠控制时序,都是通过校准时序DaGainCtrlClk转换而来,在Φ1阶段电压采样,Φ2阶段电压变化方向比较。Step V: If it is detected that the lock flag is valid, open S0, close S1, close S2, turn on the calibration circuit enable, gain self-calibration circuit, as shown in Figure 4, when the calibration circuit is enabled, in combination with Figure 4, S0 is closed, and the control timings of S11, S4, S5, S6, S7, S8, S9, and S10 are as shown in FIG. 5. In FIG. 5, the clock high level indicates that the switch is turned on, and the low level switch is turned off, Clk1. The non-overlapping control timing with Clk2 is converted by the calibration timing DaGainCtrlClk, voltage sampling in the Φ1 phase, and voltage direction comparison in the Φ2 phase.
如图6详细说明了校准时序:The calibration sequence is detailed in Figure 6:
DaGainCtrlClk:若DaGainCtrlClk为高,不发送数据,锁相环呈现载波频率,此时数模转换器信号控制字对应为0d’32,若DaGainCtrlClk为低,则发送连续的8个“0”和8个“1”信号,信号电平“0”对应数模转换器最小控制字0d’1,信号电平“1”对应数模转换器最大控制字0d’63,数字在第7个0/1结束时采样比较器输出结果,用来更新LPF控制字。DaGainCtrlClk: If DaGainCtrlClk is high and no data is sent, the phase-locked loop presents the carrier frequency. At this time, the digital-to-analog converter signal control word corresponds to 0d'32. If DaGainCtrlClk is low, then consecutive 8 "0"s and 8 are transmitted. "1" signal, signal level "0" corresponds to digital-to-analog converter minimum control word 0d'1, signal level "1" corresponds to digital-to-analog converter maximum control word 0d'63, number ends at 7th 0/1 The sample comparator output is used to update the LPF control word.
GainCtrlData:该信号对应于通过锁相环发送的数据,增益校准阶段主要关注幅值,因此数据不经过Gauss Filter,直接使用最小的0d’1和最大的0d’63;在非增益校准阶段,该数据来自Gauss Filter输出。GainCtrlData: This signal corresponds to the data sent through the phase-locked loop. The gain calibration phase mainly focuses on the amplitude. Therefore, the data does not pass the Gauss Filter and directly uses the smallest 0d'1 and the largest 0d'63. In the non-gain calibration stage, The data comes from the Gauss Filter output.
DaDAC_FrqCal:该信号为LPF电阻控制字,即校准算法需要查找的控制字。在上电检测时,校准算法使用二分法的方式,在启动时设置为中心值7’b100_0000;第一轮采样比较后,若AdGainCtrlOut在发送数据GainCtrlData=1时为高,表示要增大LPF控制字,则利用二分法将控制字设置为7’b110_0000;并启动第二轮采样比较,在第2轮比较时,若在GainCtrlData=1时AdGainCtrlOut为高,表示要增大LPF控制字,则利用二分法将控制字设置为7’b111_0000,并启动第三轮采样比较,以此类推,直至AdGainCtrlOut输出为0结束,反之,若比较时,GainCtrlData=0时AdGainCtrlOut为高,表示要减小LPF控制字,则相应减小LPF控制字。在 温度巨变时,校准算法使用逐次逼近法改变LPF控制字,校准时间最大为200us,最小为28us。DaDAC_FrqCal: This signal is the LPF resistance control word, which is the control word that the calibration algorithm needs to find. In the power-on detection, the calibration algorithm uses the dichotomy method and is set to the center value 7'b100_0000 at startup. After the first round of sampling comparison, if AdGainCtrlOut is high when the transmission data GainCtrlData=1, it means to increase the LPF control. Word, use the dichotomy to set the control word to 7'b110_0000; and start the second round of sampling comparison. In the second round comparison, if GainCtrlData=1, AdGainCtrlOut is high, indicating that the LPF control word is to be increased, then use The dichotomy sets the control word to 7'b111_0000 and starts the third round of sample comparison, and so on, until the AdGainCtrlOut output ends at 0. Conversely, if GainCtrlData=0, AdGainCtrlOut is high, indicating that the LPF control is to be reduced. Word, then reduce the LPF control word accordingly. In When the temperature changes greatly, the calibration algorithm uses the successive approximation method to change the LPF control word. The calibration time is up to 200us and the minimum is 28us.
GainCtrlFinish:若在某一轮比较时,AdGainCtrlOut在两个采样点处均为0,则表示不需要修改LPF控制字,Finish标志置高,校准结束。GainCtrlFinish: If AdGainCtrlOut is 0 at both sampling points during a round of comparison, it means that the LPF control word does not need to be modified, the Finish flag is set high, and the calibration ends.
步骤VI:由SPI配置逻辑实现对两支路分别做延时处理,则在芯片通信过程中,将延时控制字配置到相应寄存器中,即在SDM低通支路延时设置为0~N拍,对于数模转换器高通支路,由于需要寄存器输出到模拟,则延时可设置为1~N拍。Step VI: The delay processing is performed on the two branches by the SPI configuration logic. In the process of chip communication, the delay control word is configured into the corresponding register, that is, the SDM low-pass branch delay is set to 0~N. Beat, for the digital-to-analog converter high-pass branch, the delay can be set to 1 ~ N beats because the register output is required to simulate.
步骤VII:正常通信工作中若温度巨变,则重复步骤III至步骤V完成增益自校准过程,保持延迟校准控制字不变。Step VII: If the temperature changes greatly during normal communication, repeat steps III through V to complete the gain self-calibration process, and keep the delay calibration control word unchanged.
在本说明书中,对上述术语的示意性表述非必须针对是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the present specification, the schematic representation of the above terms is not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, various embodiments or examples described in the specification, as well as features of various embodiments or examples, may be combined and combined.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims (7)

  1. 一种两点调制发射机校准电路,其特征在于,该电路包括:A two-point modulation transmitter calibration circuit, characterized in that the circuit comprises:
    两点调制锁相环电路、信号输入电路、功率放大器和增益自校准电路;Two-point modulation phase-locked loop circuit, signal input circuit, power amplifier and gain self-calibration circuit;
    所述信号输入电路输入信号至所述两点调制锁相环电路;所述增益自校准电路调节所述信号输入电路输入的信号;所述两点调制锁相环电路输出信号至所述功率放大器;The signal input circuit inputs a signal to the two-point modulation phase-locked loop circuit; the gain self-calibration circuit adjusts a signal input by the signal input circuit; and the two-point modulation phase-locked loop circuit outputs a signal to the power amplifier ;
    所述信号输入电路包括:高斯滤波器、延迟校准单元、延迟单元;所述两点调制锁相环电路包括数模转换器;所述高斯滤波器、延迟校准单元、数模转换器依次串联形成高通支路;所述增益自校准电路控制所述高通支路的输出调节所述两点调制锁相环电路;所述高斯滤波器、延迟单元依次串联形成低通支路;所述低通支路的输出信号调节所述两点调制锁相环电路。The signal input circuit includes: a Gaussian filter, a delay calibration unit, and a delay unit; the two-point modulation phase-locked loop circuit includes a digital-to-analog converter; the Gaussian filter, the delay calibration unit, and the digital-to-analog converter are sequentially connected in series a high-pass branch; the gain self-calibration circuit controls the output of the high-pass branch to adjust the two-point modulation phase-locked loop circuit; the Gaussian filter and the delay unit are sequentially connected in series to form a low-pass branch; the low-pass branch The output signal of the path adjusts the two-point modulation phase locked loop circuit.
  2. 根据权利要求1所述的两点调制发射机校准电路,其特征在于,所述两点调制锁相环电路还包括:鉴频鉴相器、电荷泵、环路滤波器、压控振荡器、前置二分频、缓冲器、可编程分频器、∑-Δ调制器、数字/模拟自动频率控制器、低通滤波器;所述两点调制锁相环电路中的鉴频鉴相器、电荷泵、环路滤波器、压控振荡器、前置二分频、缓冲器、可编程分频器依次串联形成环路;所述数模转换器、低通滤波器和压控振荡器依次串联连接;所述前置二分频还与所述功率放大器连接;所述可编程分频器还与所述∑-Δ调制器形成连接环路;所述缓冲器还与所述数字/模拟自动频率控制器、压控振荡器、前置二分频依次串联形成环路。The two-point modulation transmitter calibration circuit according to claim 1, wherein the two-point modulation phase-locked loop circuit further comprises: a phase frequency phase detector, a charge pump, a loop filter, a voltage controlled oscillator, Pre-divide frequency divider, buffer, programmable frequency divider, sigma-delta modulator, digital/analog automatic frequency controller, low-pass filter; phase frequency phase detector in the two-point modulation phase-locked loop circuit a charge pump, a loop filter, a voltage controlled oscillator, a prescaler, a buffer, and a programmable frequency divider are sequentially connected in series to form a loop; the digital to analog converter, the low pass filter, and the voltage controlled oscillator Connected in series; the preamplifier is also coupled to the power amplifier; the programmable frequency divider also forms a connection loop with the sigma-delta modulator; the buffer is also associated with the digital/ The analog automatic frequency controller, the voltage controlled oscillator, and the front two-way frequency are sequentially connected in series to form a loop.
  3. 根据权利要求1所述的两点调制发射机校准电路,其特征在于,所述信号输入电路中还包括先进先出存储器,输入的信号通过所述高斯滤波器后经过所述先进先出存储器转存缓冲。The two-point modulation transmitter calibration circuit according to claim 1, wherein the signal input circuit further comprises a FIFO memory, and the input signal passes through the FIFO filter and passes through the FIFO memory. Save buffer.
  4. 根据权利要求3所述的两点调制发射机校准电路,其特征在于,所述信号输入电路中还包括查找表:数据经过所述先进先出存储器并量化后,通 过所述查找表向所述低通支路传输数据。The two-point modulation transmitter calibration circuit according to claim 3, wherein the signal input circuit further comprises a lookup table: the data passes through the FIFO memory and is quantized Data is transmitted to the low pass branch through the lookup table.
  5. 根据权利要求2所述的两点调制发射机校准电路,其特征在于,所述增益自校准电路包括放大器、比较器、增益自校准控制器,其依次串联;The two-point modulation transmitter calibration circuit according to claim 2, wherein the gain self-calibration circuit comprises an amplifier, a comparator, and a gain self-calibration controller, which are sequentially connected in series;
    放大器,用于放大环路滤波器输出电压;比较器,用于比较高低通路由锁相环响应的增益差;增益自校准控制器,用于判断高低通路增益是否匹配,并通过调节所述数模转换器后置的所述低通滤波器控制字改变所述数模转换器输出摆幅,达到增益自校准。An amplifier for amplifying the loop filter output voltage; a comparator for comparing the gain difference of the high-low path response by the phase-locked loop; a gain self-calibration controller for determining whether the high and low path gains match, and adjusting the number The low pass filter control word after the analog converter changes the output of the digital to analog converter to achieve gain self-calibration.
  6. 一种利用权利要求1至5中任一权利要求所述的两点调制发射机校准电路的校准方法,其特征在于,该方法包括如下步骤:A calibration method for a two-point modulation transmitter calibration circuit according to any one of claims 1 to 5, characterized in that the method comprises the following steps:
    S1,发射机上电使能检测,检测到上电后,则发射机应处于准备发射状态,在进行信号通信前,对发射机进行校准;S1, the transmitter is powered on and enabled to detect. After detecting the power-on, the transmitter should be in a ready-to-transmit state, and the transmitter is calibrated before the signal communication is performed;
    S2,通过发射信道设置锁相环工作频率对应的整数分频比和小数分频比控制字,并且打开由压控振荡器、前置二分频、缓冲器、数字/模拟自动频率控制器组成的快速锁相环开环路径进行电路使能;S2, setting an integer division ratio and a fractional ratio control word corresponding to the operating frequency of the phase locked loop through the transmission channel, and opening the voltage controlled oscillator, the preamplifier, the buffer, and the digital/analog automatic frequency controller Fast phase-locked loop open-loop path for circuit enablement;
    S3,在进行频率自动控制过程时,此时输入的数据通过缓冲器、数字/模拟自动频率控制器、压控振荡器、前置二分频依次串联构成环路将锁相环工作频率粗调,使得锁相环锁定在工作频点一定误差范围内,等待数字/模拟自动频率控制器AFC完成标志,此时的数模转换器输入中心控制字;S3, when the frequency automatic control process is performed, the input data is coarsely adjusted by the buffer, the digital/analog automatic frequency controller, the voltage controlled oscillator, and the front two-way serially connected loops to form a loop of the phase locked loop. , so that the phase-locked loop is locked within a certain error range of the working frequency point, waiting for the digital/analog automatic frequency controller AFC to complete the flag, and the digital-to-analog converter at this time inputs the central control word;
    S4,检测到数字/模拟自动频率控制器AFC完成标志有效后,使鉴频鉴相器、电荷泵、环路滤波器、压控振荡器、前置二分频、缓冲器、可编程分频器、∑-Δ调制器构成锁相环环路,在此条件下进行频率相位锁定,等待锁定检测电路输出锁定标志;S4, after detecting that the digital/analog automatic frequency controller AFC completion flag is valid, the phase frequency detector, the charge pump, the loop filter, the voltage controlled oscillator, the preamplifier, the buffer, and the programmable frequency division are enabled. The ∑-Δ modulator forms a phase-locked loop loop, and performs frequency phase locking under this condition, waiting for the lock detection circuit to output a lock flag;
    S5,若检测到锁定标志有效后,开启校准电路使能,当校准电路使能有效时,进行电路增益自校准,发送校准数据和校准时钟,等待增益自校准完成标志;S5, if it is detected that the lock flag is valid, the calibration circuit is enabled, when the calibration circuit is enabled, the circuit gain self-calibration is performed, the calibration data and the calibration clock are sent, and the gain self-calibration completion flag is awaited;
    S6,当增益自校准完成后,由SPI配置逻辑实现对由高斯滤波器、延迟 校准单元、数模转换器依次串联形成的高通支路和由高斯滤波器、延迟单元依次串联形成的低通支路两支路分别做延时处理,同时在芯片通信过程中,将延时控制字配置到相应寄存器中。S6, when the gain self-calibration is completed, the SPI configuration logic implements the Gaussian filter, delay The high-pass branch formed by the calibration unit and the digital-to-analog converter in series and the low-pass branch formed by the Gaussian filter and the delay unit are respectively subjected to delay processing, and the delay control is performed during the chip communication process. The word is configured into the corresponding register.
  7. 根据权利要求6所述的两点调制发射机校准电路的校准方法,其特征在于,在步骤S5中结束后,判断若正常通信工作中温度巨变,则重复S3-S5完成增益自校准过程,保持延迟校准控制字不变。 The calibration method of the two-point modulation transmitter calibration circuit according to claim 6, wherein after the end of step S5, it is determined that if the temperature changes greatly during the normal communication operation, the S3-S5 is repeated to complete the gain self-calibration process, and the process remains. The delay calibration control word does not change.
PCT/CN2017/086850 2016-10-20 2017-06-01 A two-point modulation transmitter calibration circuit and calibration method WO2018072449A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610921101.1 2016-10-20
CN201610921101.1A CN107968687B (en) 2016-10-20 2016-10-20 Calibration circuit and calibration method for two-point modulation transmitter

Publications (1)

Publication Number Publication Date
WO2018072449A1 true WO2018072449A1 (en) 2018-04-26

Family

ID=61997278

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086850 WO2018072449A1 (en) 2016-10-20 2017-06-01 A two-point modulation transmitter calibration circuit and calibration method

Country Status (2)

Country Link
CN (1) CN107968687B (en)
WO (1) WO2018072449A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112152648A (en) * 2020-09-08 2020-12-29 Oppo广东移动通信有限公司 Radio frequency circuit, power adjusting method and communication terminal
CN113541684A (en) * 2021-06-30 2021-10-22 睦星科技(北京)有限公司 Phase-locked loop circuit and calibration method and device thereof
CN114665870A (en) * 2022-02-24 2022-06-24 中国电子科技集团公司第二十九研究所 Multi-section VCO frequency calibration circuit and calibration method
CN114978206A (en) * 2022-05-17 2022-08-30 清华大学 Quasi-balanced frequency shift keying modulation method and quasi-balanced frequency modulation transmitter
CN115268247A (en) * 2022-08-11 2022-11-01 上海华力微电子有限公司 Digital-analog mixed high-precision establishment holding time measuring circuit and implementation method thereof

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110212913B (en) 2019-06-24 2020-04-17 广东高云半导体科技股份有限公司 Phase-locked loop and calibration method of voltage-controlled oscillator thereof
CN110365327B (en) * 2019-07-17 2020-11-13 上海交通大学 Differential clock tree circuit
CN110474639B (en) * 2019-08-07 2022-10-11 上海东软载波微电子有限公司 Two-point modulator and control method thereof, and DAC gain calibration method and device
CN110690899B (en) * 2019-09-18 2023-03-31 广州粒子微电子有限公司 Gain calibration method and module of high-pass path in two-point modulation phase-locked loop
CN111049599B (en) * 2019-12-09 2022-03-11 物格微电子(珠海)有限公司 Calibration method of two-point modulation wireless communication transmitter
US10879915B1 (en) * 2020-01-09 2020-12-29 Goodix Technology Inc. Transmitter with reduced VCO pulling
CN112953528B (en) * 2021-03-23 2022-12-23 北京理工大学 High-frequency broadband high-precision phase-locked loop performance enhancement technology
CN113556187B (en) * 2021-06-11 2023-02-17 苏州磐启微电子有限公司 Frequency deviation calibration system of two-point modulation transmitter
CN113810048A (en) * 2021-11-18 2021-12-17 深圳百瑞互联技术有限公司 Phase-locked loop two-point modulation circuit with gain correction, transmitter and correction method
CN114650037B (en) * 2022-04-06 2022-11-29 华南理工大学 UWB transmitter based on each-stage programmable delay line

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777873A (en) * 2008-10-03 2010-07-14 斯沃奇集团研究和开发有限公司 Method of self-calibrating a frequency synthesiser with fsk modulation at two points
CN103178840A (en) * 2011-12-26 2013-06-26 国民技术股份有限公司 Phase-locked loop circuit and working method thereof
CN103427839A (en) * 2013-08-28 2013-12-04 贵州中科汉天下电子有限公司 Calibrating method for digital/analog conventer used for two-point modulation and two-point modulation circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7868672B2 (en) * 2008-12-09 2011-01-11 Qualcomm Incorporated Digital phase-locked loop with two-point modulation and adaptive delay matching
CN104242961B (en) * 2014-08-22 2016-05-25 上海磐启微电子有限公司 A kind of frequency offset correction method of two point form transmitting set
CN204425335U (en) * 2015-03-26 2015-06-24 成都爱洁隆信息技术有限公司 A kind of Beidou I navigation system transceiver chip structure
CN105553441A (en) * 2015-08-26 2016-05-04 深圳清华大学研究院 Two-point modulator, and delay mismatching calibration circuit and phase sequence calibration module thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777873A (en) * 2008-10-03 2010-07-14 斯沃奇集团研究和开发有限公司 Method of self-calibrating a frequency synthesiser with fsk modulation at two points
CN103178840A (en) * 2011-12-26 2013-06-26 国民技术股份有限公司 Phase-locked loop circuit and working method thereof
CN103427839A (en) * 2013-08-28 2013-12-04 贵州中科汉天下电子有限公司 Calibrating method for digital/analog conventer used for two-point modulation and two-point modulation circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LEE, S. ET AL.: "Self-Calibrated Two-Point Delta-Sigma Modulation Technique for RF Transmitters", IEEE TRANSACTIONS ON MICROWAVE THEORY AND TECHNIQUES, vol. 58, no. 7, 7 June 2010 (2010-06-07), pages 1748 - 1757, XP055477716, ISSN: 0018-9480, Retrieved from the Internet <URL:DOI:10.1109/TMTT.2010.2049693> *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112152648A (en) * 2020-09-08 2020-12-29 Oppo广东移动通信有限公司 Radio frequency circuit, power adjusting method and communication terminal
CN112152648B (en) * 2020-09-08 2022-08-12 Oppo广东移动通信有限公司 Radio frequency circuit, power adjusting method and communication terminal
CN113541684A (en) * 2021-06-30 2021-10-22 睦星科技(北京)有限公司 Phase-locked loop circuit and calibration method and device thereof
CN114665870A (en) * 2022-02-24 2022-06-24 中国电子科技集团公司第二十九研究所 Multi-section VCO frequency calibration circuit and calibration method
CN114665870B (en) * 2022-02-24 2024-01-26 中国电子科技集团公司第二十九研究所 Multi-section VCO frequency calibration circuit and calibration method
CN114978206A (en) * 2022-05-17 2022-08-30 清华大学 Quasi-balanced frequency shift keying modulation method and quasi-balanced frequency modulation transmitter
CN114978206B (en) * 2022-05-17 2023-07-25 清华大学 Quasi-balanced frequency shift keying modulation method and quasi-balanced frequency modulation transmitter
CN115268247A (en) * 2022-08-11 2022-11-01 上海华力微电子有限公司 Digital-analog mixed high-precision establishment holding time measuring circuit and implementation method thereof
CN115268247B (en) * 2022-08-11 2023-11-24 上海华力微电子有限公司 High-precision establishment holding time measuring circuit for digital-analog mixing and implementation method thereof

Also Published As

Publication number Publication date
CN107968687B (en) 2021-08-24
CN107968687A (en) 2018-04-27

Similar Documents

Publication Publication Date Title
WO2018072449A1 (en) A two-point modulation transmitter calibration circuit and calibration method
US9698968B2 (en) Phase interpolator calibration
TWI426702B (en) Frequency synthesizer using two point fsk modulation and self-calibration method for the same
CN107040215B (en) Method for calibrating a frequency synthesizer employing two-point FSK modulation
US7948286B2 (en) Bandwidth control apparatus for phase lock loop and method thereof
US6625424B1 (en) Autocalibration of a transceiver through nulling of a DC-voltage in a receiver and injecting of DC-signals in a transmitter
US7496339B2 (en) Amplitude calibration element for an enhanced data rates for GSM evolution (EDGE) polar loop transmitter
US8339165B2 (en) Configurable digital-analog phase locked loop
US8451942B2 (en) Wireless transmission apparatus using cartesian loop
US8073416B2 (en) Method and apparatus for controlling a bias current of a VCO in a phase-locked loop
KR101929514B1 (en) Transceiver using technique for improvement of phase noise and switching of phase lock loop(pll)
US9948347B2 (en) Calibrating a transceiver circuit
US8384485B2 (en) Reducing spurs in injection-locked oscillators
US7904045B2 (en) Phase detector comprising a switch configured to select a phase offset closest to a phase of an amplifier
CN104767575B (en) Gain calibration method for high-pass closed circuit digital-to-analog converter in two-point modulation transmitter
US9608641B2 (en) All digital phase locked loop
US7420433B2 (en) Phase lock loop RF modulator system
CN109120262B (en) Comprehensive device for rapidly locking phase-locked loop frequency
TWI465033B (en) Radio frequency front-end circuit and operation method thereof
CN111049599B (en) Calibration method of two-point modulation wireless communication transmitter
US7358802B2 (en) Multi-phase techniques for tuning and/or measuring operations of an amplifier
US7009449B2 (en) Adjustable gain amplifier arrangement with relaxed manufacturing constraints
JP5106442B2 (en) Wireless transmitter using Cartesian loop
US8208849B2 (en) Filtering circuit with jammer generator
KR101196449B1 (en) Hybrid duty-cycle corrector circuit with a dual feedback loop

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17862067

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 04/09/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17862067

Country of ref document: EP

Kind code of ref document: A1