WO2022134995A1 - Time delay adjustment method and apparatus, and storage medium and electronic apparatus - Google Patents

Time delay adjustment method and apparatus, and storage medium and electronic apparatus Download PDF

Info

Publication number
WO2022134995A1
WO2022134995A1 PCT/CN2021/132530 CN2021132530W WO2022134995A1 WO 2022134995 A1 WO2022134995 A1 WO 2022134995A1 CN 2021132530 W CN2021132530 W CN 2021132530W WO 2022134995 A1 WO2022134995 A1 WO 2022134995A1
Authority
WO
WIPO (PCT)
Prior art keywords
delay
cross
signal
feedback signal
time delay
Prior art date
Application number
PCT/CN2021/132530
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 WO2022134995A1 publication Critical patent/WO2022134995A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/083Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for increasing network speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/02Transmitters
    • H04B1/04Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/49Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a method, device, storage medium, and electronic device for adjusting time delay.
  • the output signal When a signal passes through a certain transmission system or network, the output signal will inevitably have a certain time delay relative to the input signal.
  • the transmission delay characteristic largely determines the linear distortion of the transmitted signal.
  • the measurement of distance often relies on the measurement of time delay. Therefore, the measurement accuracy of transmission delay plays a key role in many fields such as aerospace measurement and control, navigation and positioning, and digital communication.
  • Time-domain delay measurement is a relatively traditional measurement method, and it has been used until now. Typical examples include time interval counters, optical time-domain reflectometers, etc.
  • the main principle is to introduce time delay by transmitting pulse signals, and measure the time interval before and after transmission.
  • the measurement method has low precision and small measurement range; thus the frequency domain delay measurement emerges as the times require, the most commonly used is the network analyzer, and its measurement principle is based on the system
  • the phase-frequency response curve is obtained to obtain the group delay characteristics, while the vector signal analyzer uses the Fourier transform and cross-correlation operation of the two channels to determine the signal delay difference from the peak position of the correlation value, and the time delay in the frequency domain.
  • Extended measurement has higher accuracy and greater range, but the system is usually more complex and more tedious to operate.
  • higher requirements have been placed on the accuracy of time delay measurement and the diversification of testing methods.
  • the measurement time is long, the real-time adjustment is poor, and the measurement often uses the upper computer for cross-correlation calculation, which takes a long time;
  • the adjustment precision is relatively low, and the prior art usually can only adjust the delay of the sample point or the clock level, and there is no delay adjustment less than the clock level.
  • the embodiments of the present application provide a time delay adjustment method, device, storage medium and electronic device, so as to at least solve the problem that the measurement and adjustment of relative time delay cannot be applied to digital and analog mixed circuits, and the measurement time is long and the adjustment accuracy is low The problem.
  • a time delay adjustment method including:
  • the relative delay is adjusted.
  • determining the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit includes:
  • a cross-correlation operation is performed on the transmitted signal and the feedback signal to obtain the cross-correlation value.
  • performing a cross-correlation operation on the transmission signal and the feedback signal to obtain the cross-correlation value includes:
  • the cross-correlation value is determined as the ratio of the complex multiplication and accumulation value of the conjugate data to the square root value of the product.
  • adjusting the relative delay includes:
  • Time delay alignment processing is performed on the transmit signal and the feedback signal according to the relative time delay.
  • performing time delay alignment processing on the transmit signal and the feedback signal according to the relative time delay includes:
  • delay adjustment is performed on the transmit signal according to the relative delay
  • the feedback signal is adjusted with a delay of less than 1 clock according to the relative delay.
  • determining the relative time delay between the transmission signal and the feedback signal according to the cross-correlation value includes:
  • the relative time delay between the transmitted signal and the feedback signal is determined according to the peak position of the cross-correlation value.
  • a delay adjustment device including:
  • a first determining module configured to determine the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit
  • a second determining module configured to determine the relative time delay between the transmitted signal and the feedback signal according to the cross-correlation value
  • An adjustment module configured to adjust the relative time delay.
  • the first determining module is further configured to
  • a cross-correlation operation is performed on the transmitted signal and the feedback signal to obtain the cross-correlation value.
  • the first determining module includes:
  • the first determination submodule is configured to determine the power accumulation value of the transmission signal, the power accumulation value of the feedback signal, and the complex data of the conjugate data of the transmission signal and the feedback signal according to a preconfigured data block length. multiply the accumulated value;
  • the second determination submodule is configured to determine the product of the power accumulation value of the transmitted signal and the power accumulation value of the feedback signal, and to perform the square root of the product to obtain the square root value of the product;
  • the third determination submodule is configured to determine the ratio of the complex multiplication and accumulation value of the conjugate data to the square root value of the product as the cross-correlation value.
  • the adjustment module is further configured to
  • Time delay alignment processing is performed on the transmit signal and the feedback signal according to the relative time delay.
  • the adjustment module includes:
  • a first adjustment sub-module configured to perform delay adjustment on the transmitted signal according to the relative delay based on the preconfigured sample delay and clock delay
  • the second adjustment sub-module is configured to perform a delay adjustment of less than 1 clock on the feedback signal according to the relative delay based on a preconfigured delay filter coefficient.
  • the second determining module is further configured to
  • the relative time delay between the transmitted signal and the feedback signal is determined according to the peak position of the cross-correlation value.
  • a computer-readable storage medium is also provided, where a computer program is stored in the storage medium, wherein the computer program is configured to execute any one of the above method embodiments when running steps in .
  • an electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute any one of the above steps in a method embodiment.
  • the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit is determined; the relative time delay between the transmission signal and the feedback signal is determined according to the cross-correlation value; It can solve the problem that the relative delay measurement and adjustment in the related art cannot be applied to digital and analog mixed circuits, and the measurement time is long and the adjustment accuracy is low, and the related transmission in the digital-analog mixed circuit is realized.
  • the measurement and adjustment of the relative time delay between the signal and the feedback signal, the measurement time is short and the adjustment precision is high.
  • FIG. 1 is a flowchart of a method for adjusting time delay according to the present embodiment
  • FIG. 2 is a schematic diagram of relative delay measurement and adjustment with a multi-channel digital-analog hybrid circuit according to the present embodiment
  • FIG. 3 is a schematic diagram of routing according to the present embodiment
  • FIG. 5 is a schematic diagram 2 of cross-correlation calculation according to the present embodiment.
  • FIG. 6 is a schematic diagram of coarse delay alignment according to the present embodiment.
  • FIG. 8 is a block diagram of a delay adjustment apparatus according to the present embodiment.
  • FIG. 1 is a flowchart of the method for adjusting time delay according to this embodiment. As shown in FIG. 1 , the method includes:
  • Step S102 determine the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit
  • the above step S102 may specifically include: performing a cross-correlation operation on the transmission signal and the feedback signal to obtain the cross-correlation value, and further, determining the transmission signal according to a preconfigured data block length.
  • the value of the product of the multiplication value, and the square root of the product is performed to obtain the square root value of the product; the ratio of the complex multiplication and accumulation value of the conjugate data to the square root value of the product is determined as the cross-correlation value.
  • Step S104 determining the relative time delay between the transmitted signal and the feedback signal according to the cross-correlation value
  • the foregoing step S104 may specifically include: determining the relative time delay between the transmission signal and the feedback signal according to the peak position of the cross-correlation value.
  • the cross-correlation value can be calculated by hardware calculation and reported to the software.
  • the software uses the hardware to calculate the cross-correlation value and compare it with the software threshold. If the hardware cross-correlation value is greater than or equal to the software threshold, it can be considered that the transmission and feedback data have no delay, otherwise it needs to be Reconfigure the coarse delay alignment and fine delay alignment.
  • Step S106 adjusting the relative time delay.
  • the above step S106 may specifically include: performing a delay alignment process on the transmission signal and the feedback signal according to the relative delay, and further, based on the preconfigured sample delay and clock delay, Delay adjustment is performed on the transmission signal according to the relative delay; based on a preconfigured delay filter coefficient, delay adjustment is performed on the feedback signal less than 1 clock according to the relative delay.
  • the cross-correlation operation is performed on the multi-channel transmission and feedback data in the digital-analog hybrid circuit, and the relative delay difference between the transmission and the feedback signal is determined from the peak position of the correlation value, and the delay difference is adjusted at the same time.
  • the method of calculating the cross-correlation of the transmission and feedback data is used to measure and adjust the relative time delay; the design of a cross-correlation calculation module for time-division multiplexing of the transmission and reflection data of multiple channels is adopted to improve the single Real-time channel adjustment, while saving hardware resources; two-level adjustment is adopted, coarse delay adjustment is used for sample point level and clock level adjustment, and fine delay filter adjustment is used for clock level adjustment.
  • the transmitted signal is sampled by a digital-to-analog converter (DAC) after being processed by a digital circuit, and then given to the power amplifier.
  • DAC digital-to-analog converter
  • ADC -Digital Converter
  • These two sets of signals are the transmit and feedback signals.
  • These two sets of signals need to be aligned in terms of delay during subsequent processing.
  • the present application belongs to frequency-domain time delay measurement.
  • the cross-correlation operation is performed on the transmission and feedback data of multiple channels in a digital-analog hybrid circuit, and the relative time delay difference between the transmission and feedback signals is determined by the peak position of the correlation value. Delay adjustment.
  • the method of calculating the cross-correlation of the transmission and feedback data is used to measure and adjust the relative time delay; the design of a cross-correlation calculation module for time-division multiplexing of the transmission and reflection data of multiple channels is adopted to improve the single Real-time channel adjustment, while saving hardware resources; two-level adjustment is adopted, coarse delay adjustment is used for sample point level and clock level adjustment, and fine delay filter adjustment is used for adjustment in clock level.
  • FIG. 2 is a schematic diagram of relative delay measurement and adjustment with a multi-channel digital-analog hybrid circuit according to the present embodiment. As shown in FIG. 2, it includes 32 transmit channel inputs and 8 feedback channel inputs, wherein the data of the feedback channel It is a digital signal, and the analog signal output by the power amplifier is the data sampled by the analog-to-digital converter, that is, the ADC, that is, the process of converting the analog signal to the digital signal. It consists of 1 routing, 1 cross-correlation calculation, 1 coarse delay alignment, fine delay filtering and CPU configuration. Correlation calculation, fine delay filtering and coarse delay alignment are configured accordingly.
  • the cross-correlation calculation is responsible for calculating the cross-correlation value of the transmitted and feedback data and reporting it to the CPU for configuration.
  • the coarse delay alignment is responsible for delaying the transmitted data at the sample level and the clock level, so that the transmitted data is aligned with the feedback data at the sample level and the clock level.
  • the fine delay filtering is responsible for adjusting the feedback data whose delay is less than the clock level introduced by the transmitted data through the analog link.
  • CPU configuration routing configuration based on 32 transmit channels and 8 feedback channels required to be supported.
  • Configure the length of the data block for the cross-correlation calculation and receive the normalized cross-correlation value reported by the cross-correlation calculation at the same time.
  • Coarse delay alignment and fine delay filtering are configured according to the reported normalized cross-correlation value, so that the subsequently reported normalized cross-correlation value meets the requirements.
  • the currently processed transmit channel and feedback channel data completes the delay Alignment operation.
  • FIG. 3 is a schematic diagram of routing according to the present embodiment. As shown in FIG. 3, routing, according to the configuration of the CPU, completes the round-robin of 32 transmission channels and 8 feedback channels, based on the transmission channel selection signal, from 32 transmission channels The transmission channel N is determined by selecting among the channels; based on the feedback channel selection information, the feedback channel M is selected from the 8 feedback channels. .
  • FIG. 4 is a schematic diagram 1 of cross-correlation calculation according to the present embodiment
  • FIG. 5 is a schematic diagram of a second cross-correlation calculation according to the present embodiment, as shown in FIGS.
  • the normalized cross-correlation value is obtained by taking the square root of the product of the cumulative value of the transmit power and the cumulative value of the feedback power.
  • the calculation formula is as follows:
  • Corr_xy is the normalized cross-correlation value of transmission and feedback
  • Pxy is the real part of the conjugate complex multiplication and accumulation value of transmission and feedback
  • Px, Py are the power accumulation value of transmission and feedback data, respectively
  • transmission fwd, feedback fb signal Both are complex signals
  • formula for single-point complex multiplication is:
  • FIG. 6 is a schematic diagram of coarse delay alignment according to the present embodiment. As shown in FIG. 6 , the coarse delay alignment is performed according to the sample delay configuration and clock and configuration configured by the CPU to delay the transmission data, and the input transmission is delayed. Data, according to the coarse delay value configured by the CPU and the clock delay stage delay, the aligned data is obtained, that is, the transmitted data is output.
  • FIG. 7 is a schematic diagram of the fine delay filtering according to the present embodiment.
  • the feedback data is subjected to less than clock level filtering according to the fine delay filtering filter coefficients (ie filter coefficients) configured by the CPU. delay adjustment.
  • the coefficient of the fine delay filter By configuring the coefficient of the fine delay filter by the CPU, the delay from 1/8 of the clock to 7/8 of the clock can be performed, and the minimum clock delay unit can be adjusted by changing the order of the fine delay filter.
  • the coarse delay value of the CPU to ensure that the read and write addresses of the RAM maintain the configured address difference, the absolute delay difference of the sample level between the write data and the read data can be guaranteed.
  • the value of the RAM is read as the clock level For the beat, the same can be selected by configuring the CPU to read the RAM value or the value after the beat.
  • the normalized cross-correlation value can be calculated for the transmission and feedback data input by multiple channels in the digital-analog hybrid circuit, and the coarse delay and fine delay configuration can be configured through the CPU in time, so that the transmission and feedback data are delayed in time. extended alignment.
  • the delay adjustment process may specifically include;
  • Step 1 the CPU determines the transmit and feedback channels that need to be polled currently, and performs routing configuration of the transmit and feedback channels.
  • Step 2 configure the coarse delay alignment and the fine delay filtering according to the empirical value.
  • Step 3 Configure the cross-correlation calculation according to the size of the data block required to perform the cross-correlation calculation.
  • Step 4 the CPU judges whether the normalized cross-correlation value reported by the cross-correlation calculation meets the requirements.
  • Step 5 if the normalized cross-correlation value meets the requirements, complete the relative delay adjustment, and perform step 1 at the same time; otherwise, perform step 2 again.
  • This embodiment can be applied to a system that is a pure digital circuit or a digital-analog hybrid circuit between two or more groups of signals with correlation, to adjust and measure the relative time delay.
  • FIG. 8 is a block diagram of the delay adjustment apparatus according to this embodiment, as shown in FIG. 8 , including:
  • the first determination module 82 is configured to determine the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit;
  • the second determining module 84 is configured to determine the relative time delay between the transmitted signal and the feedback signal according to the cross-correlation value
  • the adjustment module 86 is configured to adjust the relative time delay.
  • the first determining module 82 is further configured to
  • a cross-correlation operation is performed on the transmitted signal and the feedback signal to obtain the cross-correlation value.
  • the first determining module 82 includes:
  • the first determination submodule is configured to determine the power accumulation value of the transmission signal, the power accumulation value of the feedback signal, and the complex data of the conjugate data of the transmission signal and the feedback signal according to a preconfigured data block length. multiply the accumulated value;
  • the second determination submodule is configured to determine the product of the power accumulation value of the transmitted signal and the power accumulation value of the feedback signal, and to perform the square root of the product to obtain the square root value of the product;
  • the third determination submodule is configured to determine the ratio of the complex multiplication and accumulation value of the conjugate data to the square root value of the product as the cross-correlation value.
  • the adjustment module 86 is further configured to
  • Time delay alignment processing is performed on the transmit signal and the feedback signal according to the relative time delay.
  • the adjustment module 86 includes:
  • a first adjustment sub-module configured to perform delay adjustment on the transmitted signal according to the relative delay based on the preconfigured sample delay and clock delay
  • the second adjustment sub-module is configured to perform a delay adjustment of less than 1 clock on the feedback signal according to the relative delay based on a preconfigured delay filter coefficient.
  • the second determining module 84 is further configured to
  • the relative time delay between the transmitted signal and the feedback signal is determined according to the peak position of the cross-correlation value.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
  • the above-mentioned computer-readable storage medium may include, but is not limited to, a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM for short), and a random access memory (Random Access Memory, referred to as RAM for short) , mobile hard disk, magnetic disk or CD-ROM and other media that can store computer programs.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • Embodiments of the present application further provide an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
  • the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
  • modules or steps of the present application can be implemented by a general-purpose computing device, and they can be centralized on a single computing device or distributed in a network composed of multiple computing devices
  • they can be implemented in program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, can be performed in a different order than shown here.
  • the described steps, or they are respectively made into individual integrated circuit modules, or a plurality of modules or steps in them are made into a single integrated circuit module to realize.
  • the present application is not limited to any particular combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Pulse Circuits (AREA)

Abstract

Provided are a time delay adjustment method and apparatus, and a storage medium and an electronic apparatus. The method comprises: determining a cross-correlation value between a multi-channel transmission signal and a multi-channel feedback signal in a digital-analog hybrid circuit; determining a relative time delay between the transmission signal and the feedback signal according to the cross-correlation value; and adjusting the relative time delay. The problems of the measurement and adjustment of a relative time delay in the related art not being applicable for a digital-analog hybrid circuit, the measurement time being relatively long, and the adjustment accuracy being relatively low can be solved. The measurement and adjustment of a relative time delay between a transmission signal and a feedback signal, which are in a correlation, in a digital-analog hybrid circuit is realized, the measurement time is short, and the adjustment accuracy is high.

Description

一种时延调整方法、装置、存储介质及电子装置A delay adjustment method, device, storage medium and electronic device 技术领域technical field
本申请实施例涉及通信技术领域,具体而言,涉及一种时延调整方法、装置、存储介质及电子装置。The embodiments of the present application relate to the field of communication technologies, and in particular, to a method, device, storage medium, and electronic device for adjusting time delay.
背景技术Background technique
当信号通过某一传输系统或网络时,其输出信号相对于输入信号将不可避免的产生一定的时间延迟。对于通信系统,传输的时延特性在很大程度上决定了传输信号的线性失真情况。此外,距离的测量通常依赖于时间延迟的测量。因此,传输时延的测量准确度在航天测控、导航定位、数字通信等诸多领域中起着关键作用。When a signal passes through a certain transmission system or network, the output signal will inevitably have a certain time delay relative to the input signal. For communication systems, the transmission delay characteristic largely determines the linear distortion of the transmitted signal. Furthermore, the measurement of distance often relies on the measurement of time delay. Therefore, the measurement accuracy of transmission delay plays a key role in many fields such as aerospace measurement and control, navigation and positioning, and digital communication.
近年来,随着电子技术的迅速发展和广泛应用,出现了许多新的信号传输系统。时延的测量理论和测量方法日臻完善,各种测量仪器相继问世。目前,时延的测量根据其基本原理主要可归为时域的测量和频域的测量。时域时延测量是较为传统的测量方法,且一直沿用至今,典型的有时间间隔计数器、光时域反射计等,其主要原理为通过传输脉冲信号引入时间延迟,测量其传输前后的时间间隔,受限于传输系统的非线性效应和脉冲宽度,该测量方法精度较低,测量范围较小;从而频域时延测量应运而生,最为常用的是网络分析仪,其测量原理是根据系统的相频响应曲线求取群时延特性,而矢量信号分析仪,则是通过对双通道的傅里叶变换和互相关运算,由相关数值的峰值位置确定信号时延差,频域的时延测量具有更高精度和更大范围,但系统通常较为复杂,操作也更繁琐。同时,随着越来越多样的传输系统和工作模式的出现,对时延测量的准确度、测试手段的多样化等均提出了更高的要求。In recent years, with the rapid development and wide application of electronic technology, many new signal transmission systems have appeared. The measurement theory and measurement method of time delay are becoming more and more perfect, and various measurement instruments have come out one after another. At present, the measurement of time delay can be mainly classified into the measurement in the time domain and the measurement in the frequency domain according to its basic principle. Time-domain delay measurement is a relatively traditional measurement method, and it has been used until now. Typical examples include time interval counters, optical time-domain reflectometers, etc. The main principle is to introduce time delay by transmitting pulse signals, and measure the time interval before and after transmission. , limited by the nonlinear effect and pulse width of the transmission system, the measurement method has low precision and small measurement range; thus the frequency domain delay measurement emerges as the times require, the most commonly used is the network analyzer, and its measurement principle is based on the system The phase-frequency response curve is obtained to obtain the group delay characteristics, while the vector signal analyzer uses the Fourier transform and cross-correlation operation of the two channels to determine the signal delay difference from the peak position of the correlation value, and the time delay in the frequency domain. Extended measurement has higher accuracy and greater range, but the system is usually more complex and more tedious to operate. At the same time, with the emergence of more and more diverse transmission systems and working modes, higher requirements have been placed on the accuracy of time delay measurement and the diversification of testing methods.
现有技术中,用于校准信号的相对时延的测量和调整方法存在如下缺点:In the prior art, the method for measuring and adjusting the relative time delay of the calibration signal has the following disadvantages:
适用信号类型少,多数针对纯数字电路系统,对于数字和模拟混合电路的时延测量不适用;There are few applicable signal types, most of which are for pure digital circuit systems, and are not suitable for time delay measurement of digital and analog mixed circuits;
测量时间较长,调整的实时性差,测量往往使用上位机作互相关运算,需要时间较长;The measurement time is long, the real-time adjustment is poor, and the measurement often uses the upper computer for cross-correlation calculation, which takes a long time;
调整精度较低,现有技术通常只能作样点或时钟级的延时调整,没有小于时钟级的时延调整。The adjustment precision is relatively low, and the prior art usually can only adjust the delay of the sample point or the clock level, and there is no delay adjustment less than the clock level.
针对相关技术中相对时延的测量和调整无法适用于数字和模拟混合电路,且测量时间较长、调整精度较低的问题,尚未提出解决方案。No solution has been proposed for the problems that the relative time delay measurement and adjustment in the related art cannot be applied to digital and analog mixed circuits, and the measurement time is long and the adjustment accuracy is low.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种时延调整方法、装置、存储介质及电子装置,以至少解决相对时延的测量和调整无法适用于数字和模拟混合电路,且测量时间较长、调整精度较低的问题。The embodiments of the present application provide a time delay adjustment method, device, storage medium and electronic device, so as to at least solve the problem that the measurement and adjustment of relative time delay cannot be applied to digital and analog mixed circuits, and the measurement time is long and the adjustment accuracy is low The problem.
根据本申请的一个实施例,提供了一种时延调整方法,包括:According to an embodiment of the present application, a time delay adjustment method is provided, including:
确定数模混合电路中多通道的发射信号与反馈信号的互相关值;Determine the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit;
根据所述互相关值确定所述发射信号与所述反馈信号的相对时延;determining the relative time delay between the transmitted signal and the feedback signal according to the cross-correlation value;
对所述相对时延进行调整。The relative delay is adjusted.
在一示例性实施例中,确定数模混合电路中多通道的发射信号与反馈信号的互相关值包括:In an exemplary embodiment, determining the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit includes:
对所述发射信号与所述反馈信号进行互相关运算,得到所述互相关值。A cross-correlation operation is performed on the transmitted signal and the feedback signal to obtain the cross-correlation value.
在一示例性实施例中,对所述发射信号与所述反馈信号进行互相关运算,得到所述互相关值包括:In an exemplary embodiment, performing a cross-correlation operation on the transmission signal and the feedback signal to obtain the cross-correlation value includes:
根据预先配置的数据块长度确定所述发射信号的功率累加值、所述反馈信号的功率累加值,以及所述发射信号与所述反馈信号的共轭数据的复乘累加值;Determine the power accumulation value of the transmission signal, the power accumulation value of the feedback signal, and the complex multiplication accumulation value of the conjugate data of the transmission signal and the feedback signal according to the preconfigured data block length;
确定所述发射信号的功率累加值、所述反馈信号的功率累加值的乘积,并对所述乘积进行开方,得到所述乘积的开方值;determining the product of the power accumulation value of the transmitted signal and the power accumulation value of the feedback signal, and taking the square root of the product to obtain the square root value of the product;
将所述共轭数据的复乘累加值与所述乘积的开方值的比值确定为所述互相关值。The cross-correlation value is determined as the ratio of the complex multiplication and accumulation value of the conjugate data to the square root value of the product.
在一示例性实施例中,对所述相对时延进行调整包括:In an exemplary embodiment, adjusting the relative delay includes:
根据所述相对时延对所述发射信号与所述反馈信号进行时延对齐处理。Time delay alignment processing is performed on the transmit signal and the feedback signal according to the relative time delay.
在一示例性实施例中,根据所述相对时延对所述发射信号与所述反馈信号进行时延对齐处理包括:In an exemplary embodiment, performing time delay alignment processing on the transmit signal and the feedback signal according to the relative time delay includes:
基于预先配置的样点延时与时钟时延,根据所述相对时延对所述发射信号进行延时调整;Based on the pre-configured sample delay and clock delay, delay adjustment is performed on the transmit signal according to the relative delay;
基于预先配置的时延滤波系数,根据所述相对时延对所述反馈信号进行小于1个时钟的延时调整。Based on a preconfigured delay filter coefficient, the feedback signal is adjusted with a delay of less than 1 clock according to the relative delay.
在一示例性实施例中,根据所述互相关值确定所述发射信号与所述反馈信号的相对时延包括:In an exemplary embodiment, determining the relative time delay between the transmission signal and the feedback signal according to the cross-correlation value includes:
根据所述互相关值的峰值位置确定所述发射信号与所述反馈信号的相对时延。The relative time delay between the transmitted signal and the feedback signal is determined according to the peak position of the cross-correlation value.
根据本申请的另一个实施例,还提供了一种时延调整装置,包括:According to another embodiment of the present application, a delay adjustment device is also provided, including:
第一确定模块,设置为确定数模混合电路中多通道的发射信号与反馈信号的互相关值;a first determining module, configured to determine the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit;
第二确定模块,设置为根据所述互相关值确定所述发射信号与所述反馈信号的相对时延;a second determining module, configured to determine the relative time delay between the transmitted signal and the feedback signal according to the cross-correlation value;
调整模块,设置为对所述相对时延进行调整。An adjustment module, configured to adjust the relative time delay.
在一示例性实施例中,所述第一确定模块,还设置为In an exemplary embodiment, the first determining module is further configured to
对所述发射信号与所述反馈信号进行互相关运算,得到所述互相关值。A cross-correlation operation is performed on the transmitted signal and the feedback signal to obtain the cross-correlation value.
在一示例性实施例中,所述第一确定模块包括:In an exemplary embodiment, the first determining module includes:
第一确定子模块,设置为根据预先配置的数据块长度确定所述发射信号的功率累加值、所述反馈信号的功率累加值,以及所述发射信号与所述反馈信号的共轭数据的复乘累加值;The first determination submodule is configured to determine the power accumulation value of the transmission signal, the power accumulation value of the feedback signal, and the complex data of the conjugate data of the transmission signal and the feedback signal according to a preconfigured data block length. multiply the accumulated value;
第二确定子模块,设置为确定所述发射信号的功率累加值、所述反馈信号的功率累加值的乘积,并对所述乘积进行开方,得到所述乘积的开方值;The second determination submodule is configured to determine the product of the power accumulation value of the transmitted signal and the power accumulation value of the feedback signal, and to perform the square root of the product to obtain the square root value of the product;
第三确定子模块,设置为将所述共轭数据的复乘累加值与所述乘积的开方值的比值确定为所述互相关值。The third determination submodule is configured to determine the ratio of the complex multiplication and accumulation value of the conjugate data to the square root value of the product as the cross-correlation value.
在一示例性实施例中,所述调整模块,还设置为In an exemplary embodiment, the adjustment module is further configured to
根据所述相对时延对所述发射信号与所述反馈信号进行时延对齐处理。Time delay alignment processing is performed on the transmit signal and the feedback signal according to the relative time delay.
在一示例性实施例中,所述调整模块包括:In an exemplary embodiment, the adjustment module includes:
第一调整子模块,设置为基于预先配置的样点延时与时钟时延,根据所述相对时延对所述发射信号进行延时调整;a first adjustment sub-module, configured to perform delay adjustment on the transmitted signal according to the relative delay based on the preconfigured sample delay and clock delay;
第二调整子模块,设置为基于预先配置的时延滤波系数,根据所述相对时延对所述反馈 信号进行小于1个时钟的延时调整。The second adjustment sub-module is configured to perform a delay adjustment of less than 1 clock on the feedback signal according to the relative delay based on a preconfigured delay filter coefficient.
在一示例性实施例中,所述第二确定模块,还设置为In an exemplary embodiment, the second determining module is further configured to
根据所述互相关值的峰值位置确定所述发射信号与所述反馈信号的相对时延。The relative time delay between the transmitted signal and the feedback signal is determined according to the peak position of the cross-correlation value.
根据本申请的又一个实施例,还提供了一种计算机可读的存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present application, a computer-readable storage medium is also provided, where a computer program is stored in the storage medium, wherein the computer program is configured to execute any one of the above method embodiments when running steps in .
根据本申请的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理+器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present application, an electronic device is also provided, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute any one of the above steps in a method embodiment.
本申请实施例,确定数模混合电路中多通道的发射信号与反馈信号的互相关值;根据所述互相关值确定所述发射信号与所述反馈信号的相对时延;对所述相对时延进行调整,可以解决相关技术中相对时延的测量和调整无法适用于数字和模拟混合电路,且测量时间较长、调整精度较低的问题,实现了数模混合电路中具有相关性的发射信号与反馈信号的相对时延的测量和调整,测量时间短、调整精度高。In this embodiment of the present application, the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit is determined; the relative time delay between the transmission signal and the feedback signal is determined according to the cross-correlation value; It can solve the problem that the relative delay measurement and adjustment in the related art cannot be applied to digital and analog mixed circuits, and the measurement time is long and the adjustment accuracy is low, and the related transmission in the digital-analog mixed circuit is realized. The measurement and adjustment of the relative time delay between the signal and the feedback signal, the measurement time is short and the adjustment precision is high.
附图说明Description of drawings
图1是根据本实施例的时延调整方法的流程图;1 is a flowchart of a method for adjusting time delay according to the present embodiment;
图2是根据的本实施例的具备多通道数模混合电路相对时延测量和调整的示意图;2 is a schematic diagram of relative delay measurement and adjustment with a multi-channel digital-analog hybrid circuit according to the present embodiment;
图3是根据本实施例的路由选择的示意图;3 is a schematic diagram of routing according to the present embodiment;
图4是根据本实施例的互相关计算的示意图一;4 is a schematic diagram 1 of cross-correlation calculation according to the present embodiment;
图5是根据本实施例的互相关计算的示意图二;5 is a schematic diagram 2 of cross-correlation calculation according to the present embodiment;
图6是根据本实施例的粗时延对齐的示意图;FIG. 6 is a schematic diagram of coarse delay alignment according to the present embodiment;
图7是根据本实施例的精时延滤波的示意图;7 is a schematic diagram of fine delay filtering according to the present embodiment;
图8是根据本实施例的时延调整装置的框图。FIG. 8 is a block diagram of a delay adjustment apparatus according to the present embodiment.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本申请的实施例。Hereinafter, the embodiments of the present application will be described in detail with reference to the accompanying drawings and in conjunction with the embodiments.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence.
根据本申请的一个实施例,提供了一种时延调整方法,图1是根据本实施例的时延调整方法的流程图,如图1所示,包括:According to an embodiment of the present application, a method for adjusting time delay is provided. FIG. 1 is a flowchart of the method for adjusting time delay according to this embodiment. As shown in FIG. 1 , the method includes:
步骤S102,确定数模混合电路中多通道的发射信号与反馈信号的互相关值;Step S102, determine the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit;
本实施例中,上述步骤S102具体可以包括:对所述发射信号与所述反馈信号进行互相关运算,得到所述互相关值,进一步的,根据预先配置的数据块长度确定所述发射信号的功率累加值、所述反馈信号的功率累加值,以及所述发射信号与所述反馈信号的共轭数据的复乘累加值;确定所述发射信号的功率累加值、所述反馈信号的功率累加值的乘积,并对所述乘积进行开方,得到所述乘积的开方值;将所述共轭数据的复乘累加值与所述乘积的开方值的比值确定为所述互相关值。In this embodiment, the above step S102 may specifically include: performing a cross-correlation operation on the transmission signal and the feedback signal to obtain the cross-correlation value, and further, determining the transmission signal according to a preconfigured data block length. The power accumulation value, the power accumulation value of the feedback signal, and the complex multiplication accumulation value of the conjugate data of the transmission signal and the feedback signal; determine the power accumulation value of the transmission signal and the power accumulation of the feedback signal The value of the product of the multiplication value, and the square root of the product is performed to obtain the square root value of the product; the ratio of the complex multiplication and accumulation value of the conjugate data to the square root value of the product is determined as the cross-correlation value. .
步骤S104,根据所述互相关值确定所述发射信号与所述反馈信号的相对时延;Step S104, determining the relative time delay between the transmitted signal and the feedback signal according to the cross-correlation value;
本实施例中,上述步骤S104具体可以包括:根据所述互相关值的峰值位置确定所述发射信号与所述反馈信号的相对时延。具体可以通过硬件计算,计算互相关值并上报给软件,软件使用硬件计算得到互相关与软件门限比较,若硬件互相关值大于等于软件门限,则可以认为发射和反馈数据无时延,否则需要重新配置粗时延对齐及精时延对齐。In this embodiment, the foregoing step S104 may specifically include: determining the relative time delay between the transmission signal and the feedback signal according to the peak position of the cross-correlation value. Specifically, the cross-correlation value can be calculated by hardware calculation and reported to the software. The software uses the hardware to calculate the cross-correlation value and compare it with the software threshold. If the hardware cross-correlation value is greater than or equal to the software threshold, it can be considered that the transmission and feedback data have no delay, otherwise it needs to be Reconfigure the coarse delay alignment and fine delay alignment.
步骤S106,对所述相对时延进行调整。Step S106, adjusting the relative time delay.
本实施例中,上述步骤S106具体可以包括:根据所述相对时延对所述发射信号与所述反馈信号进行时延对齐处理,进一步的,基于预先配置的样点延时与时钟时延,根据所述相对时延对所述发射信号进行延时调整;基于预先配置的时延滤波系数,根据所述相对时延对所述反馈信号进行小于1个时钟的延时调整。In this embodiment, the above step S106 may specifically include: performing a delay alignment process on the transmission signal and the feedback signal according to the relative delay, and further, based on the preconfigured sample delay and clock delay, Delay adjustment is performed on the transmission signal according to the relative delay; based on a preconfigured delay filter coefficient, delay adjustment is performed on the feedback signal less than 1 clock according to the relative delay.
本实施例通过对数模混合电路中多通道的发射和反馈数据进行互相关运算,由相关数值的峰值位置确定发射和反馈信号的相对时延差,同时对该时延差进行调整。针对数模混合电路的特点,采用对发射和反馈数据进行互相关计算的方法测量并调整相对时延;采用对多通道的发射和反射数据分时复用一个互相关计算模块的设计,提高单通道调整的实时性,同时节省硬件资源;采用两级调整,粗时延调整作样点级及时钟级的调整,精时延滤波调整作时钟级内的调整。In this embodiment, the cross-correlation operation is performed on the multi-channel transmission and feedback data in the digital-analog hybrid circuit, and the relative delay difference between the transmission and the feedback signal is determined from the peak position of the correlation value, and the delay difference is adjusted at the same time. According to the characteristics of the digital-analog hybrid circuit, the method of calculating the cross-correlation of the transmission and feedback data is used to measure and adjust the relative time delay; the design of a cross-correlation calculation module for time-division multiplexing of the transmission and reflection data of multiple channels is adopted to improve the single Real-time channel adjustment, while saving hardware resources; two-level adjustment is adopted, coarse delay adjustment is used for sample point level and clock level adjustment, and fine delay filter adjustment is used for clock level adjustment.
中频系统中发射信号在经过数字电路的处理后被数模转换器(Digital-to-Analog Converter,简称为DAC)采样后给到功放,同时功放输出的模拟信号被模数转换器(Analog-to-Digital Converter,简称为ADC)采样后重新给到中频系统内部处理,这两组信号即为发射和反馈信号,在进行后续处理时这两组信号需要作时延上的对齐。本申请属于频域时延测量,是通过对数模混合电路中多通道的发射和反馈数据进行互相关运算,由相关数值的峰值位置确定发射和反馈信号的相对时延差,同时对该时延差进行调整。针对数模混合电路的特点,采用对发射和反馈数据进行互相关计算的方法测量并调整相对时延;采用对多通道的发射和反射数据分时复用一个互相关计算模块的设计,提高单通道调整的实时性,同时节省硬件资源;采用两级调整,粗时延调整作样点级及时钟级的调整,精时延滤波调整作时钟级内的调整。In the intermediate frequency system, the transmitted signal is sampled by a digital-to-analog converter (DAC) after being processed by a digital circuit, and then given to the power amplifier. -Digital Converter (abbreviated as ADC) is sampled and then sent to the IF system for internal processing. These two sets of signals are the transmit and feedback signals. These two sets of signals need to be aligned in terms of delay during subsequent processing. The present application belongs to frequency-domain time delay measurement. The cross-correlation operation is performed on the transmission and feedback data of multiple channels in a digital-analog hybrid circuit, and the relative time delay difference between the transmission and feedback signals is determined by the peak position of the correlation value. Delay adjustment. According to the characteristics of the digital-analog hybrid circuit, the method of calculating the cross-correlation of the transmission and feedback data is used to measure and adjust the relative time delay; the design of a cross-correlation calculation module for time-division multiplexing of the transmission and reflection data of multiple channels is adopted to improve the single Real-time channel adjustment, while saving hardware resources; two-level adjustment is adopted, coarse delay adjustment is used for sample point level and clock level adjustment, and fine delay filter adjustment is used for adjustment in clock level.
图2是根据的本实施例的具备多通道数模混合电路相对时延测量和调整的示意图,如图2所示,包括32个发射通道输入和8个反馈通道输入,其中,反馈通道的数据为数字信号,为功放输出的模拟信号被模数转换器即ADC采样后的数据,即模拟信号转化到数字信号的过程。由1个路由选择、1个互相关计算、1个粗时延对齐、精时延滤波以及CPU配置组成,CPU配置由中央处理器(Central Processing Unit,简称为CPU)实现,对路由选择、互相关计算、精时延滤波和粗时延时对齐进行相应的配置。互相关计算负责计算发射和反馈数据的互相关值并上报给CPU配置。粗时延对齐负责对发射数据进行样点级和时钟级的延时,使其发射数据在样点级和时钟级上和反馈数据对齐。精时延滤波负责对发射数据经过模拟链路引入小于时钟级的时延的反馈数据进行调整。FIG. 2 is a schematic diagram of relative delay measurement and adjustment with a multi-channel digital-analog hybrid circuit according to the present embodiment. As shown in FIG. 2, it includes 32 transmit channel inputs and 8 feedback channel inputs, wherein the data of the feedback channel It is a digital signal, and the analog signal output by the power amplifier is the data sampled by the analog-to-digital converter, that is, the ADC, that is, the process of converting the analog signal to the digital signal. It consists of 1 routing, 1 cross-correlation calculation, 1 coarse delay alignment, fine delay filtering and CPU configuration. Correlation calculation, fine delay filtering and coarse delay alignment are configured accordingly. The cross-correlation calculation is responsible for calculating the cross-correlation value of the transmitted and feedback data and reporting it to the CPU for configuration. The coarse delay alignment is responsible for delaying the transmitted data at the sample level and the clock level, so that the transmitted data is aligned with the feedback data at the sample level and the clock level. The fine delay filtering is responsible for adjusting the feedback data whose delay is less than the clock level introduced by the transmitted data through the analog link.
CPU配置,根据所需支持的32个发射通道和8个反馈通道进行路由选择配置。对互相关计算的数据块长度配置,同时接收互相关计算上报的归一化互相关值。根据上报的归一化互相关值对粗时延对齐和精时延滤波进行配置,从而使得后续上报的归一化互相关值符合要求,此时当前处理的发射通道和反馈通道数据完成时延对齐的操作。CPU configuration, routing configuration based on 32 transmit channels and 8 feedback channels required to be supported. Configure the length of the data block for the cross-correlation calculation, and receive the normalized cross-correlation value reported by the cross-correlation calculation at the same time. Coarse delay alignment and fine delay filtering are configured according to the reported normalized cross-correlation value, so that the subsequently reported normalized cross-correlation value meets the requirements. At this time, the currently processed transmit channel and feedback channel data completes the delay Alignment operation.
图3是根据本实施例的路由选择的示意图,如图3所示,路由选择,按照CPU配置,完 成32个发射通道和8个反馈通道的轮巡,基于发射通道选择信号,从32个发射通道中选择确定发射通道N;基于反馈通道选择信息,从8个反馈通道中选择反馈通道M。。FIG. 3 is a schematic diagram of routing according to the present embodiment. As shown in FIG. 3, routing, according to the configuration of the CPU, completes the round-robin of 32 transmission channels and 8 feedback channels, based on the transmission channel selection signal, from 32 transmission channels The transmission channel N is determined by selecting among the channels; based on the feedback channel selection information, the feedback channel M is selected from the 8 feedback channels. .
图4是根据本实施例的互相关计算的示意图一,图5是根据本实施例的互相关计算的示意图二,如图4、5所示,互相关计算,根据软件配置的数据块长度计算发射数据的发射功率累加值,反馈数据的反馈功率累加值及发射数据和反馈数据的共轭数据的发射反馈共轭复乘累加实部值,再使用发射反馈共轭复乘累加实部值除以发射功率累加值与反馈功率累加值的乘积的开方值即得到归一化互相关值,计算公式如下:4 is a schematic diagram 1 of cross-correlation calculation according to the present embodiment, and FIG. 5 is a schematic diagram of a second cross-correlation calculation according to the present embodiment, as shown in FIGS. The cumulative value of the transmit power of the transmitted data, the cumulative value of the feedback power of the feedback data, and the value of the transmitted feedback conjugate complex multiplied and accumulated real part of the conjugate data of the transmitted data and the feedback data, and then divided by the transmitted feedback conjugate complex multiplied and accumulated real part value The normalized cross-correlation value is obtained by taking the square root of the product of the cumulative value of the transmit power and the cumulative value of the feedback power. The calculation formula is as follows:
Figure PCTCN2021132530-appb-000001
Figure PCTCN2021132530-appb-000001
其中,Corr_xy为发射和反馈的归一化互相关值,Pxy为发射和反馈共轭复乘累加值的实部,Px、Py分别为发射和反馈数据的功率累加值,发射fwd、反馈fb信号均为复信号,单点复乘计算公式为:Among them, Corr_xy is the normalized cross-correlation value of transmission and feedback, Pxy is the real part of the conjugate complex multiplication and accumulation value of transmission and feedback, Px, Py are the power accumulation value of transmission and feedback data, respectively, transmission fwd, feedback fb signal Both are complex signals, and the formula for single-point complex multiplication is:
Figure PCTCN2021132530-appb-000002
单点复乘后只需要取实部即可。
Figure PCTCN2021132530-appb-000002
After the single-point multiplication, only the real part needs to be taken.
图6是根据本实施例的粗时延对齐的示意图,如图6所示,粗时延对齐,根据CPU配置的样点延时配置及时钟及配置对发射数据进行延时,对输入的发射数据,根据CPU配置的粗时延值与时钟延级延时,得到对齐后的数据,即输出发射数据。FIG. 6 is a schematic diagram of coarse delay alignment according to the present embodiment. As shown in FIG. 6 , the coarse delay alignment is performed according to the sample delay configuration and clock and configuration configured by the CPU to delay the transmission data, and the input transmission is delayed. Data, according to the coarse delay value configured by the CPU and the clock delay stage delay, the aligned data is obtained, that is, the transmitted data is output.
图7是根据本实施例的精时延滤波的示意图,如图7所示,精时延滤波,根据CPU配置的精时延滤波滤波器系数(即滤波器系数)对反馈数据进行小于时钟级的延时调整。通过CPU配置精时延滤波器系数可进行1/8的时钟至7/8的时钟的延时,该最小时钟时延单位可通过改变精时延滤波器阶数来调整。通过CPU配置粗延时值保证RAM的读写地址保持配置的地址差即可保证写入数据和读出数据的样点级的绝对时延差,同时读取RAM值后对该值作时钟级的打拍,同样的可以通过配置CPU选取读取的RAM值或打拍后的值。FIG. 7 is a schematic diagram of the fine delay filtering according to the present embodiment. As shown in FIG. 7 , in the fine delay filtering, the feedback data is subjected to less than clock level filtering according to the fine delay filtering filter coefficients (ie filter coefficients) configured by the CPU. delay adjustment. By configuring the coefficient of the fine delay filter by the CPU, the delay from 1/8 of the clock to 7/8 of the clock can be performed, and the minimum clock delay unit can be adjusted by changing the order of the fine delay filter. By configuring the coarse delay value of the CPU to ensure that the read and write addresses of the RAM maintain the configured address difference, the absolute delay difference of the sample level between the write data and the read data can be guaranteed. At the same time, the value of the RAM is read as the clock level For the beat, the same can be selected by configuring the CPU to read the RAM value or the value after the beat.
本实施例,可对数模混合电路中多个通道输入的发射和反馈数据进行归一化互相关值的计算并及时通过CPU配置粗时延和精时延配置,使得发射和反馈的数据时延对齐。该时延调整的流程具体可以包括;In this embodiment, the normalized cross-correlation value can be calculated for the transmission and feedback data input by multiple channels in the digital-analog hybrid circuit, and the coarse delay and fine delay configuration can be configured through the CPU in time, so that the transmission and feedback data are delayed in time. extended alignment. The delay adjustment process may specifically include;
步骤1,CPU确定当前需要轮巡的发射和反馈通道并进行发射和反馈通道的路由配置。 Step 1, the CPU determines the transmit and feedback channels that need to be polled currently, and performs routing configuration of the transmit and feedback channels.
步骤2,根据经验值对粗时延对齐和精时延滤波进行配置。 Step 2, configure the coarse delay alignment and the fine delay filtering according to the empirical value.
步骤3,根据需要进行互相关计算的数据块大小对互相关计算进行配置。Step 3: Configure the cross-correlation calculation according to the size of the data block required to perform the cross-correlation calculation.
步骤4,CPU判断互相关计算上报的归一化互相关值是否符合要求。Step 4, the CPU judges whether the normalized cross-correlation value reported by the cross-correlation calculation meets the requirements.
步骤5,若归一化互相关值符合要求,则完成相对时延调整,同时执行步骤1,否则重新执行步骤2。Step 5, if the normalized cross-correlation value meets the requirements, complete the relative delay adjustment, and perform step 1 at the same time; otherwise, perform step 2 again.
本实施例,可以应用在具有相关性的两组或多组信号之间,本身为纯数字电路或数模混 合电路的系统当中,进行相对时延的调整和测量。This embodiment can be applied to a system that is a pure digital circuit or a digital-analog hybrid circuit between two or more groups of signals with correlation, to adjust and measure the relative time delay.
根据本申请的另一个实施例,还提供了一种时延调整装置,图8是根据本实施例的时延调整装置的框图,如图8所示,包括:According to another embodiment of the present application, a delay adjustment apparatus is also provided. FIG. 8 is a block diagram of the delay adjustment apparatus according to this embodiment, as shown in FIG. 8 , including:
第一确定模块82,设置为确定数模混合电路中多通道的发射信号与反馈信号的互相关值;The first determination module 82 is configured to determine the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit;
第二确定模块84,设置为根据所述互相关值确定所述发射信号与所述反馈信号的相对时延;The second determining module 84 is configured to determine the relative time delay between the transmitted signal and the feedback signal according to the cross-correlation value;
调整模块86,设置为对所述相对时延进行调整。The adjustment module 86 is configured to adjust the relative time delay.
在一示例性实施例中,所述第一确定模块82,还设置为In an exemplary embodiment, the first determining module 82 is further configured to
对所述发射信号与所述反馈信号进行互相关运算,得到所述互相关值。A cross-correlation operation is performed on the transmitted signal and the feedback signal to obtain the cross-correlation value.
在一示例性实施例中,所述第一确定模块82包括:In an exemplary embodiment, the first determining module 82 includes:
第一确定子模块,设置为根据预先配置的数据块长度确定所述发射信号的功率累加值、所述反馈信号的功率累加值,以及所述发射信号与所述反馈信号的共轭数据的复乘累加值;The first determination submodule is configured to determine the power accumulation value of the transmission signal, the power accumulation value of the feedback signal, and the complex data of the conjugate data of the transmission signal and the feedback signal according to a preconfigured data block length. multiply the accumulated value;
第二确定子模块,设置为确定所述发射信号的功率累加值、所述反馈信号的功率累加值的乘积,并对所述乘积进行开方,得到所述乘积的开方值;The second determination submodule is configured to determine the product of the power accumulation value of the transmitted signal and the power accumulation value of the feedback signal, and to perform the square root of the product to obtain the square root value of the product;
第三确定子模块,设置为将所述共轭数据的复乘累加值与所述乘积的开方值的比值确定为所述互相关值。The third determination submodule is configured to determine the ratio of the complex multiplication and accumulation value of the conjugate data to the square root value of the product as the cross-correlation value.
在一示例性实施例中,所述调整模块86,还设置为In an exemplary embodiment, the adjustment module 86 is further configured to
根据所述相对时延对所述发射信号与所述反馈信号进行时延对齐处理。Time delay alignment processing is performed on the transmit signal and the feedback signal according to the relative time delay.
在一示例性实施例中,所述调整模块86包括:In an exemplary embodiment, the adjustment module 86 includes:
第一调整子模块,设置为基于预先配置的样点延时与时钟时延,根据所述相对时延对所述发射信号进行延时调整;a first adjustment sub-module, configured to perform delay adjustment on the transmitted signal according to the relative delay based on the preconfigured sample delay and clock delay;
第二调整子模块,设置为基于预先配置的时延滤波系数,根据所述相对时延对所述反馈信号进行小于1个时钟的延时调整。The second adjustment sub-module is configured to perform a delay adjustment of less than 1 clock on the feedback signal according to the relative delay based on a preconfigured delay filter coefficient.
在一示例性实施例中,所述第二确定模块84,还设置为In an exemplary embodiment, the second determining module 84 is further configured to
根据所述互相关值的峰值位置确定所述发射信号与所述反馈信号的相对时延。The relative time delay between the transmitted signal and the feedback signal is determined according to the peak position of the cross-correlation value.
本申请的实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an exemplary embodiment, the above-mentioned computer-readable storage medium may include, but is not limited to, a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM for short), and a random access memory (Random Access Memory, referred to as RAM for short) , mobile hard disk, magnetic disk or CD-ROM and other media that can store computer programs.
本申请的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。Embodiments of the present application further provide an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
在一个示例性实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。In an exemplary embodiment, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and exemplary implementation manners, and details are not described herein again in this embodiment.
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present application can be implemented by a general-purpose computing device, and they can be centralized on a single computing device or distributed in a network composed of multiple computing devices On the other hand, they can be implemented in program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, can be performed in a different order than shown here. Or the described steps, or they are respectively made into individual integrated circuit modules, or a plurality of modules or steps in them are made into a single integrated circuit module to realize. As such, the present application is not limited to any particular combination of hardware and software.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principles of this application shall be included within the protection scope of this application.

Claims (10)

  1. 一种时延调整方法,包括:A delay adjustment method, comprising:
    确定数模混合电路中多通道的发射信号与反馈信号的互相关值;Determine the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit;
    根据所述互相关值确定所述发射信号与所述反馈信号的相对时延;determining the relative time delay between the transmitted signal and the feedback signal according to the cross-correlation value;
    对所述相对时延进行调整。The relative delay is adjusted.
  2. 根据权利要求1所述的方法,其中,确定数模混合电路中多通道的发射信号与反馈信号的互相关值包括:The method according to claim 1, wherein determining the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit comprises:
    对所述发射信号与所述反馈信号进行互相关运算,得到所述互相关值。A cross-correlation operation is performed on the transmitted signal and the feedback signal to obtain the cross-correlation value.
  3. 根据权利要求2所述的方法,其中,对所述发射信号与所述反馈信号进行互相关运算,得到所述互相关值包括:The method according to claim 2, wherein performing a cross-correlation operation on the transmitted signal and the feedback signal to obtain the cross-correlation value comprises:
    根据预先配置的数据块长度确定所述发射信号的功率累加值、所述反馈信号的功率累加值,以及所述发射信号与所述反馈信号的共轭数据的复乘累加值;Determine the power accumulation value of the transmission signal, the power accumulation value of the feedback signal, and the complex multiplication accumulation value of the conjugate data of the transmission signal and the feedback signal according to the preconfigured data block length;
    确定所述发射信号的功率累加值、所述反馈信号的功率累加值的乘积,并对所述乘积进行开方,得到所述乘积的开方值;determining the product of the power accumulation value of the transmitted signal and the power accumulation value of the feedback signal, and taking the square root of the product to obtain the square root value of the product;
    将所述共轭数据的复乘累加值与所述乘积的开方值的比值确定为所述互相关值。The cross-correlation value is determined as the ratio of the complex multiplication and accumulation value of the conjugate data to the square root value of the product.
  4. 根据权利要求1所述的方法,其中,对所述相对时延进行调整包括:The method of claim 1, wherein adjusting the relative delay comprises:
    根据所述相对时延对所述发射信号与所述反馈信号进行时延对齐处理。Time delay alignment processing is performed on the transmit signal and the feedback signal according to the relative time delay.
  5. 根据权利要求4所述的方法,其中,根据所述相对时延对所述发射信号与所述反馈信号进行时延对齐处理包括:The method according to claim 4, wherein performing time delay alignment processing on the transmission signal and the feedback signal according to the relative time delay comprises:
    基于预先配置的样点延时与时钟时延,根据所述相对时延对所述发射信号进行延时调整;Based on the pre-configured sample delay and clock delay, delay adjustment is performed on the transmit signal according to the relative delay;
    基于预先配置的时延滤波系数,根据所述相对时延对所述反馈信号进行小于1个时钟的延时调整。Based on a preconfigured delay filter coefficient, the feedback signal is adjusted with a delay of less than 1 clock according to the relative delay.
  6. 根据权利要求1至5中任一项所述的方法,其中,根据所述互相关值确定所述发射信号与所述反馈信号的相对时延包括:The method according to any one of claims 1 to 5, wherein determining the relative time delay between the transmitted signal and the feedback signal according to the cross-correlation value comprises:
    根据所述互相关值的峰值位置确定所述发射信号与所述反馈信号的相对时延。The relative time delay between the transmitted signal and the feedback signal is determined according to the peak position of the cross-correlation value.
  7. 一种时延调整装置,包括:A delay adjustment device, comprising:
    第一确定模块,设置为确定数模混合电路中多通道的发射信号与反馈信号的互相关值;a first determining module, configured to determine the cross-correlation value of the multi-channel transmission signal and the feedback signal in the digital-analog hybrid circuit;
    第二确定模块,设置为根据所述互相关值确定所述发射信号与所述反馈信号的相对时延;a second determining module, configured to determine the relative time delay between the transmitted signal and the feedback signal according to the cross-correlation value;
    调整模块,设置为对所述相对时延进行调整。An adjustment module, configured to adjust the relative time delay.
  8. 根据权利要求7所述的装置,其中,所述第一确定模块,还设置为The device according to claim 7, wherein the first determining module is further configured to
    对所述发射信号与所述反馈信号进行互相关运算,得到所述互相关值。Perform a cross-correlation operation on the transmitted signal and the feedback signal to obtain the cross-correlation value.
  9. 一种计算机可读的存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至6任一项中所述的方法。A computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the method of any one of claims 1 to 6 when run.
  10. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至6任一项中所述的方法。An electronic device comprising a memory and a processor with a computer program stored in the memory, the processor being arranged to run the computer program to perform the method of any one of claims 1 to 6.
PCT/CN2021/132530 2020-12-21 2021-11-23 Time delay adjustment method and apparatus, and storage medium and electronic apparatus WO2022134995A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011522254.1 2020-12-21
CN202011522254.1A CN114726727A (en) 2020-12-21 2020-12-21 Time delay adjusting method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
WO2022134995A1 true WO2022134995A1 (en) 2022-06-30

Family

ID=82158779

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/132530 WO2022134995A1 (en) 2020-12-21 2021-11-23 Time delay adjustment method and apparatus, and storage medium and electronic apparatus

Country Status (2)

Country Link
CN (1) CN114726727A (en)
WO (1) WO2022134995A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116015590A (en) * 2022-12-30 2023-04-25 上海星思半导体有限责任公司 Signal phase alignment method, device and related equipment
CN117714247A (en) * 2024-02-05 2024-03-15 极芯通讯技术(安吉)有限公司 Time delay alignment method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060088125A1 (en) * 2004-10-21 2006-04-27 Tetsuhiko Miyatani Multicarrier receiver and transmitter with delay correcting function
CN101019395A (en) * 2004-09-13 2007-08-15 三菱电机株式会社 Distortion compensating device
CN105680807A (en) * 2014-12-09 2016-06-15 英特尔公司 Envelope tracking path delay fine tuning and calibration
US20170294951A1 (en) * 2016-04-06 2017-10-12 Qualcomm Incorporated High power user equipment (hpue) using coherently combined power amplifiers
CN109417363A (en) * 2016-07-25 2019-03-01 苹果公司 Radio frequency time deviation calibration system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019395A (en) * 2004-09-13 2007-08-15 三菱电机株式会社 Distortion compensating device
US20060088125A1 (en) * 2004-10-21 2006-04-27 Tetsuhiko Miyatani Multicarrier receiver and transmitter with delay correcting function
CN105680807A (en) * 2014-12-09 2016-06-15 英特尔公司 Envelope tracking path delay fine tuning and calibration
US20170294951A1 (en) * 2016-04-06 2017-10-12 Qualcomm Incorporated High power user equipment (hpue) using coherently combined power amplifiers
CN109417363A (en) * 2016-07-25 2019-03-01 苹果公司 Radio frequency time deviation calibration system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116015590A (en) * 2022-12-30 2023-04-25 上海星思半导体有限责任公司 Signal phase alignment method, device and related equipment
CN116015590B (en) * 2022-12-30 2023-07-21 上海星思半导体有限责任公司 Signal phase alignment method, device and related equipment
CN117714247A (en) * 2024-02-05 2024-03-15 极芯通讯技术(安吉)有限公司 Time delay alignment method and device

Also Published As

Publication number Publication date
CN114726727A (en) 2022-07-08

Similar Documents

Publication Publication Date Title
WO2022134995A1 (en) Time delay adjustment method and apparatus, and storage medium and electronic apparatus
WO2018188228A1 (en) High-precision frequency measuring system and method
US10218373B1 (en) Analog-to-digital converter calibration system
CN108254608A (en) The method for self-calibrating of digital oscilloscope and digital oscilloscope
TWI726472B (en) A signal processing method, device and system
CN112751564A (en) Sampling clock phase mismatch error estimation method and device
Abbaszadeh et al. Digital background calibration algorithm and its FPGA implementation for timing mismatch correction of time-interleaved ADC
CN111337746A (en) Radio frequency signal detection positioning method
Wang et al. Active sampling rate calibration method for acoustic sensor networks
JP2002319908A (en) Adjacent channel leak power ratio measuring instrument, and instrument, method and program for measuring channel power and recording medium with the same program recorded thereon
EP3479176B1 (en) Signal processing apparatus and method, and electronic device comprising the apparatus
JP2012516104A (en) Audio signal alignment method
CN112422205B (en) Method and device for calibrating SRS radio frequency transmission channel, electronic equipment and storage medium
CN112448902B (en) Novel IQ imbalance estimation and compensation method and device for transmitter
CN111224723B (en) Calibration method and system of radio frequency front-end module, electronic equipment and storage medium
JP6592912B2 (en) Communication system, receiving device, server, signal processing method, wave source position calculating method, and program
CN114531154A (en) Time-interleaved sampling system and filter construction method
CN113688351A (en) Method, device, electronic equipment and readable medium for detecting weight of article
CN112883787A (en) Short sample low-frequency sinusoidal signal parameter estimation method based on spectrum matching
Wang et al. Broadband spatial spectrum estimation based on space-time minimum variance distortionless response and frequency derivative constraints
KR101297085B1 (en) Apparatus of variable fast furier transform and method thereof
US6823466B2 (en) Circuit and method for adjusting the clock skew in a communications system
US7197436B2 (en) System and method for measuring audio processing attributes in a computer system
CN117236455B (en) Signal detection method and device, storage medium and electronic device
Chan et al. Bulk calibration method of micro-electromechanical system (MEMS) microphones

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: 21908994

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21908994

Country of ref document: EP

Kind code of ref document: A1