WO2021109525A1 - Method for digital wave control signal interface of large-scale antenna array - Google Patents

Method for digital wave control signal interface of large-scale antenna array Download PDF

Info

Publication number
WO2021109525A1
WO2021109525A1 PCT/CN2020/095236 CN2020095236W WO2021109525A1 WO 2021109525 A1 WO2021109525 A1 WO 2021109525A1 CN 2020095236 W CN2020095236 W CN 2020095236W WO 2021109525 A1 WO2021109525 A1 WO 2021109525A1
Authority
WO
WIPO (PCT)
Prior art keywords
spi
digital
miso
slave
antenna array
Prior art date
Application number
PCT/CN2020/095236
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 WO2021109525A1 publication Critical patent/WO2021109525A1/en

Links

Images

Classifications

    • 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
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q21/00Antenna arrays or systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/0408Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas using two or more beams, i.e. beam diversity

Definitions

  • the invention relates to a digital wave control signal interface scheme for a large-scale antenna array, which belongs to the technical field of electronic circuit design, and is particularly suitable for the design of a large-scale antenna array.
  • SPI Serial Peripheral Interface
  • the traditional control scheme has the advantages of simple implementation and low logic complexity of the on-chip digital module when the number of antenna arrays is small.
  • the chip select signal SS corresponding to the kth SPI slave is pulled low, it is selected and the host can communicate with it.
  • the number of board-level control signal lines tends to triple the number of antennas (3N 2 +1), which makes board-level wiring difficult. Increased, the interface overhead of the SPI host controller is large and the efficiency is low.
  • a large-scale antenna array digital wave control signal interface solution Each phased array chip in the antenna array integrates a digital logic module with an SPI slave interface.
  • the communication protocol with ID tags is used to realize a single SPI master.
  • the controller individually controls all the antenna units in the antenna array or controls all the antenna units. Among them, each RF front end in the antenna array has a different digital ID tag;
  • the digital logic module includes a core control logic module based on the Moore finite state machine, a reset control module, an error mechanism module, a general register, a phased array amplitude and phase register, and an SPI slave; the SPI slave connects the SPI master
  • the transmission frame of the transmission frame is transmitted to the core control logic module, and the transmission frame includes the digital ID and the amplitude and phase code;
  • the core control logic module controls the reading and writing of the general register, if and only if the ID in the transmission frame corresponds to the digital logic module
  • the core control logic module assigns the amplitude and phase codes to the phased array amplitude and phase control registers through the general-purpose register, and the phased array amplitude and phase control registers are directly connected to the RF front end; error mechanism module
  • the sending frame is turned on, when a frame error is found through the frame length check and CRC detection, the communication between the general register and the phased array amplitude and phase register and the SPI slave interface
  • SCLK is the system synchronization clock of the SPI master and slave
  • SS is Low-level active chip select synchronization signal
  • MOSI is the interface of master output/slave input
  • MISO is the interface of slave output/host input.
  • the MISO of only one SPI slave is in the output state at any time, and the MISO of the remaining SPI slaves are in the high-impedance state.
  • the communication protocol added to the ID tag is: the writing and output of the SPI interface are in units of frames; the SPI host outputs MOSI on the falling edge of SCLK, and MISO is sampled on the falling edge of SCLK; when SS changes from high to low, phase control When the array chip is selected, the serial input signal of MOSI starts to be stored in the buffer in the phased array chip until the serial input signal is all stored, and when SS changes from low to high, data processing starts, reading and writing the corresponding registers, And prepare the output of MISO; when SS is high, the rising edge of SCLK resets the state machine of the phased array chip, and SPI is in the standby state; when the MODE register inside the phased array chip is 1, SPI works in the state of identifying digital ID, Read and write, and the digital ID must be correct to read and write. Once the digital ID is incorrect, the SPI slave immediately enters the standby state; when the MODE register is 0, it is in the no ID state, which can only be written but not read.
  • the invention adopts an improved SPI four-wire interface scheme, integrates a digital logic module with an SPI slave interface in the radio frequency front end, and adopts a communication protocol with ID tag added, so that it can be used in the case of extremely large antennas (such as 1024 antennas).
  • a single SPI host controller can control all antenna units individually, or control all antenna units;
  • the described interface scheme improves the traditional SPI control scheme and reduces the number of required interfaces to only 4 wires, Therefore, a low-cost FPGA or MCU can be used as the host controller without wasting additional interfaces;
  • another advantage of the present invention is that the board-level antenna array wiring is simple, and the present invention reduces the number of PCB wiring layers required to two layers .
  • Figure 1 is a schematic block diagram of the traditional SPI control method and the improved four-wire control method. Among them, (a) is the traditional SPI control method, and (b) is the improved four-wire control method;
  • Figure 2 is a schematic diagram of the wiring of an antenna array based on a double-layer PCB
  • Figure 3 is the internal control logic architecture of the RF front-end chip
  • FIG. 4 is the SPI chip write timing
  • Figure 5 is the read timing of the SPI chip.
  • this solution can reduce the number of digital control signal lines to four, that is, SCLK, MOSI, MISO, and SS in the common SPI protocol.
  • SCLK is the system clock
  • MOSI is the output of the master and the input of the slave
  • MISO is the input of the master and the output of the slave
  • SS is the chip select and synchronization signal.
  • SCLK is the system clock
  • MOSI is the output of the master and the input of the slave
  • MISO is the input of the master and the output of the slave
  • SS is the chip select and synchronization signal.
  • This solution is suitable for the specific system architecture and wiring method shown in Figure 2. Because there are only four digital signal lines, the SPI host controller can choose a small-capacity FPGA or a low-cost MCU.
  • the double-layer PCB wiring method is an achievable wiring method, in which the RF front-end and antenna array are arranged on the front of the PCB; SCLK, MOSI, MISO and SS are divided into MOSI and SS, MISO and SCLK. Group, each group goes on the front or back of the PCB respectively (ie MOSI and SS go to the front of the PCB and MISO and SCLK go to the back of the PCB, or MOSI and SS go to the back of the PCB and MISO and SCLK go to the front of the PCB).
  • VDD is the power supply.
  • the ground VSS uses the same method to spread copper on the back of the PCB and connect it on the front.
  • the following describes the structure of the digital logic module inside the corresponding phased array chip, taking an SPI communication protocol with a frame length of 24 bits as an example.
  • each RF front-end chip in the antenna array has a different digital ID tag, numbered from 1 to N 2 .
  • the digital ID tag here can be implemented using off-chip signal input or on-chip fuse (Efuse). Take a 32 ⁇ 32 antenna array as an example, assuming that the transmitted and received amplitude and phase signals are both 6 bits, and the frame length specified by the SPI communication protocol is 24 bits.
  • the architecture of the digital logic module in the phased array chip is shown in Figure 3. It includes a core control logic module based on Moore's finite state machine, a reset control module, an error mechanism module, a general register, a phased array amplitude and Phase register and a SPI slave. In addition to the 3.3V and 1.1V power ports and ground ports, the digital logic module also has 7 inputs and outputs.
  • the SPI slave transmits the transmission frame of the SPI master to the core control logic module, and the transmission frame includes ID, amplitude and phase code;
  • the core control logic assigns the amplitude and phase codes to the internal buffer and controls the reading and writing of general registers. If and only if the ID in the sending frame is the same as the digital ID of the RF front-end corresponding to the digital logic module, the read and write functions of the general-purpose register will work normally;
  • the amplitude and phase codes are stored in the phased array amplitude and phase registers and directly connected to the RF front-end;
  • the error mechanism module when it is detected that the error mechanism module is turned on to send the frame, the error mechanism is turned on. When a frame error is found through frame length check and CRC detection, this module will automatically close the communication between the internal registers of the digital logic module and the SPI interface (that is, the error content will not be sent to the RF front-end), and record the error in the general register.
  • the SPI master makes an error inquiry, it will give feedback through the MISO port. Since the multiple output interfaces are directly connected on MISO, MISO is a three-state bus. At any time, only one MISO of the SPI slave is in the output state, and the MISO of the remaining SPI slaves are in the high-impedance state. After the SPI host sends the reset frame, the entire phased array chip will be reset synchronously in sequence under the control of the reset module.
  • the improved SPI four-wire interface protocol in the present invention mainly relies on the four interfaces of SCLK, MOSI, MISO and SS, which can complete the read and write operations of wave control signals.
  • SCLK is the system synchronization clock of the SPI master and slave
  • SS is the low-level active chip select synchronization signal.
  • MOSI is the interface for host output (chip input)
  • MISO is the interface for chip output (host input).
  • Both writing and output are based on frames, and the length of each frame is fixed at 24 bits.
  • SDI samples MOSI on the rising edge of SCLK and outputs MISO on the rising edge of SCLK. Therefore, the SPI master needs to output MOSI on the falling edge of SCLK and sample MISO on the falling edge of SCLK.
  • the phased array chip is selected, and the serial input signal of MOSI starts to be stored in the 24-bit buffer in the phased array chip until the 24bit signals are all stored, and when SS changes from low to high, it starts to proceed.
  • Data processing read and write corresponding registers, and prepare MISO output.
  • SS is high, the rising edge of SCLK resets the state machine of the phased array, and the SPI is in the standby state.
  • the SPI works in the ID state, which can be read and written, and the ID must be correct. Once the first 4bit ID is incorrect, the SPI will immediately enter the standby state. When MODE is 0, it is in no ID state, which can only be written but not readable. At this time, all N 2 chips can be controlled at the same time.
  • MOSI After the falling edge of SS, MOSI writes a 24bit write command frame. At the rising edge of SS, the function of this frame is realized. During continuous writing, MISO assumes a high-impedance state.
  • the read sequence only exists in the ID mode, that is, when the MODE register is written to 1. As shown in Figure 5.
  • MOSI writes the 24bit read command frame.
  • the output content is put into the MISO buffer in advance and output in the next frame.
  • the next frame will also take effect. If you don’t need the next frame to take effect, you can write an invalid frame with the correct ID number.
  • the MISO state when reading the command frame is not concerned, because the current MISO state is only related to the previous frame.
  • the frames are sent in the following order.
  • all frames sent by the SPI host only communicate with the phased array chip with a digital ID of k.
  • a new ID frame can be sent to communicate with the chip with the next ID.
  • the invention adopts an improved SPI four-wire interface scheme, integrates a digital logic module with an SPI slave interface in the radio frequency front end, and adopts a communication protocol with ID tag added, so that it can be used in the case of extremely large antennas (such as 1024 antennas).
  • a single SPI host controller can control all antenna units individually, or control all antenna units.
  • the described interface scheme improves the traditional SPI control scheme and reduces the number of required interfaces to only 4 wires, so that a low-cost FPGA or MCU can be used as a host controller without wasting additional interfaces.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Variable-Direction Aerials And Aerial Arrays (AREA)

Abstract

Disclosed is a solution for a digital wave control signal interface of a large-scale antenna array. The present invention uses an improved SPI four-wire interface solution, in which a digital logic module having an SPI slave interface is integrated to a radio frequency front end, and uses a communication protocol added with ID tags, such that a single SPI host controller in a large-scale antenna system (such as 1024 antennas) can control all antenna units separately or control the antenna units as a whole. The interface solution improves on conventional SPI control solutions by reducing the number of required interfaces and wires to only four, such that a low-cost FPGA or MCU can be used as a host controller without having to wastefully provide additional interfaces. Another advantage of the invention is that the board-level wiring of the antenna array is simple. The invention reduces the number of required PCB wiring layers to two, and provides a feasible wiring solution.

Description

一种大规模天线阵数字波控信号接口方案A large-scale antenna array digital wave control signal interface scheme 技术领域Technical field
本发明涉及一种大规模天线阵数字波控信号接口方案,属于电子电路设计技术领域,特别适用于大规模天线阵列设计。The invention relates to a digital wave control signal interface scheme for a large-scale antenna array, which belongs to the technical field of electronic circuit design, and is particularly suitable for the design of a large-scale antenna array.
背景技术Background technique
卫星通信和雷达技术的硬件基础中,大规模天线阵列是不可或缺的关键模块。为了实现对不同方位的电磁波的发射和接收,收发机需要不断调整天线阵列中每一个天线的增益和相位。进入5G和毫米波时代后,通信的吞吐量和可靠性要求大幅提升,所使用的天线数量显著增大,阵列越发密集,实现准确、实时、高效的数字波控信号接口难度越发增高。In the hardware foundation of satellite communications and radar technology, large-scale antenna arrays are indispensable key modules. In order to transmit and receive electromagnetic waves in different directions, the transceiver needs to constantly adjust the gain and phase of each antenna in the antenna array. After entering the era of 5G and millimeter waves, the throughput and reliability requirements of communications have greatly increased, the number of antennas used has increased significantly, the arrays have become denser, and the difficulty of achieving accurate, real-time, and efficient digital wave control signal interfaces has become more difficult.
传统的天线阵控制采用串行外设接口(SPI)进行控制器和射频前端芯片的一对一,全双工通信。如图1中(a)所示,传统控制方案在天线阵列数量小的时候具有实现简单,片上数字模块逻辑复杂度较低的优点。当对应第k个SPI从机的片选信号SS被拉低时,其被选中,主机可以和其通信。然而,对于一个N×N的天线阵列而言,当天线数量N 2增加时,板级控制信号线的数量呈天线数量的三倍趋势(3N 2+1)大幅增加,从而导致板级布线难度增大,SPI主机控制器的接口开销大,效率低下。以毫米波通信用到的32×32(N=32)的天线阵列为例,该种方案需要使用到SPI主机的接口数量为3073,也就意味着在PCB板上要排布同样多的控制信号线,这显然是难以实现的。原因有如下两方面:一方面,一般的单块FPGA芯片接口数量有限,难以达到3073;另一方面,普通的双层PCB板也难以完成这么多信号线的排布,可能需要四层板甚至更多层,增加了PCB面积和成本的开销。 Traditional antenna array control uses Serial Peripheral Interface (SPI) for one-to-one, full-duplex communication between the controller and the RF front-end chip. As shown in Figure 1 (a), the traditional control scheme has the advantages of simple implementation and low logic complexity of the on-chip digital module when the number of antenna arrays is small. When the chip select signal SS corresponding to the kth SPI slave is pulled low, it is selected and the host can communicate with it. However, for an N×N antenna array, when the number of antennas N 2 increases, the number of board-level control signal lines tends to triple the number of antennas (3N 2 +1), which makes board-level wiring difficult. Increased, the interface overhead of the SPI host controller is large and the efficiency is low. Take the 32×32 (N=32) antenna array used in millimeter wave communication as an example. The number of interfaces required to use the SPI host is 3073, which means that the same number of controls must be arranged on the PCB board. Signal line, this is obviously difficult to achieve. The reasons are as follows: On the one hand, the number of interfaces of a general single FPGA chip is limited, and it is difficult to reach 3073; on the other hand, ordinary double-layer PCB boards are also difficult to arrange so many signal lines, which may require four-layer boards or even More layers increase the PCB area and cost.
发明内容Summary of the invention
本设计通过对传统SPI协议的改进和优化,提出采用四线方案实现SPI主机控制器和大规模天线阵列的通信方案。天线阵中的每个射频前端芯片中都加入了不同的数字ID标签。该方案可实现低成本,一对多,全双工的数字波控信号接口。由于只使用了四根信号线,因此可以在低沉本的MCU或者单片小容量FPGA作为主机的情况下,采用普通的低成本双面PCB实现天线阵列设计。同时,本设计给出了一种可行的SPI从机电路的设计方案。In this design, through the improvement and optimization of the traditional SPI protocol, a four-wire solution is proposed to realize the communication scheme of the SPI host controller and large-scale antenna array. Different digital ID tags are added to each RF front-end chip in the antenna array. This solution can realize low-cost, one-to-many, full-duplex digital wave control signal interface. Since only four signal lines are used, an ordinary low-cost double-sided PCB can be used to realize the antenna array design when a low-cost MCU or a single-chip small-capacity FPGA is used as the host. At the same time, this design provides a feasible SPI slave circuit design scheme.
为了实现上述目的,本发明采用如下技术方案:In order to achieve the above objectives, the present invention adopts the following technical solutions:
一种大规模天线阵数字波控信号接口方案,在天线阵中的每个相控阵芯片集成一个带有SPI从机接口的数字逻辑模块,采用了加入ID标签的通信协议,实现单个SPI主机控制器对天线阵中所有天线单元的单独控制或者对全体天线单元的控制,其中,天线阵中的每个射频前端都有一个不同的数字ID标签;A large-scale antenna array digital wave control signal interface solution. Each phased array chip in the antenna array integrates a digital logic module with an SPI slave interface. The communication protocol with ID tags is used to realize a single SPI master. The controller individually controls all the antenna units in the antenna array or controls all the antenna units. Among them, each RF front end in the antenna array has a different digital ID tag;
数字逻辑模块包括一个基于摩尔有限状态机的核心控制逻辑模块、一个复位控制模块、 一个差错机制模块、一个通用寄存器、一个相控阵幅度和相位寄存器以及一个SPI从机;SPI从机将SPI主机的发送帧传输至核心控制逻辑模块,发送帧包括数字ID以及幅度和相位码;核心控制逻辑模块控制通用寄存器的读取和写入,当且仅当发送帧中的ID与该数字逻辑模块对应的射频前端的数字ID相同的时候,核心控制逻辑模块通过通用寄存器将幅度和相位码分配给相控阵幅度和相位控制寄存器,相控阵幅度和相位控制寄存器直接连接到射频前端;差错机制模块打开发送帧时,通过帧长校验和CRC检测发现帧错误时,自动关闭通用寄存器和相控阵幅度和相位寄存器与SPI从机接口之间的通信,并在通用寄存器中记录帧错误,当SPI主机进行错误询问时,通过SPI从机的MISO端口给予反馈,SPI主机发送复位帧后,在复位控制模块的控制下顺序同步复位The digital logic module includes a core control logic module based on the Moore finite state machine, a reset control module, an error mechanism module, a general register, a phased array amplitude and phase register, and an SPI slave; the SPI slave connects the SPI master The transmission frame of the transmission frame is transmitted to the core control logic module, and the transmission frame includes the digital ID and the amplitude and phase code; the core control logic module controls the reading and writing of the general register, if and only if the ID in the transmission frame corresponds to the digital logic module When the digital ID of the RF front-end is the same, the core control logic module assigns the amplitude and phase codes to the phased array amplitude and phase control registers through the general-purpose register, and the phased array amplitude and phase control registers are directly connected to the RF front end; error mechanism module When the sending frame is turned on, when a frame error is found through the frame length check and CRC detection, the communication between the general register and the phased array amplitude and phase register and the SPI slave interface is automatically closed, and the frame error is recorded in the general register. When the SPI master makes an error inquiry, it will give feedback through the MISO port of the SPI slave. After the SPI master sends a reset frame, it will reset sequentially under the control of the reset control module.
进一步的SPI从机的SCLK、MOSI、MISO和SS四个接口分别对应连接SPI主机的SCLK,、MOSI、MISO和SS四个接口,其中,SCLK为SPI主、从机的系统同步时钟,SS为低电平有效的片选同步信号,MOSI为主机输出/从机输入的接口,MISO为从机输出/主机输入的接口。Further, the SCLK, MOSI, MISO and SS four interfaces of the SPI slave correspond to the SCLK, MOSI, MISO and SS four interfaces of the SPI master respectively. Among them, SCLK is the system synchronization clock of the SPI master and slave, and SS is Low-level active chip select synchronization signal, MOSI is the interface of master output/slave input, and MISO is the interface of slave output/host input.
进一步的,任意时刻只有一个SPI从机的MISO处于输出状态,其余的SPI从机的MISO均处于高阻态。Furthermore, the MISO of only one SPI slave is in the output state at any time, and the MISO of the remaining SPI slaves are in the high-impedance state.
进一步的,加入ID标签的通信协议为:SPI接口的写入和输出均以帧为单位;SPI主机在SCLK下降沿输出MOSI,在SCLK下降沿采样MISO;在SS从高变低时,相控阵芯片被选中,MOSI的串行输入信号开始存入相控阵芯片内的缓冲器,直到串行输入信号全部存完,SS从低变高时,开始进行数据的处理,读写对应寄存器,并准备好MISO的输出;SS为高时,SCLK上升沿将相控阵芯片的状态机复位,SPI处于待机状态;相控阵芯片内部的MODE寄存器为1时SPI工作在识别数字ID状态,可读写,且必须数字ID正确才能读写,一旦数字ID不正确,SPI从机立刻进入待机状态;MODE寄存器为0时为无ID状态,只可写,不可读。Further, the communication protocol added to the ID tag is: the writing and output of the SPI interface are in units of frames; the SPI host outputs MOSI on the falling edge of SCLK, and MISO is sampled on the falling edge of SCLK; when SS changes from high to low, phase control When the array chip is selected, the serial input signal of MOSI starts to be stored in the buffer in the phased array chip until the serial input signal is all stored, and when SS changes from low to high, data processing starts, reading and writing the corresponding registers, And prepare the output of MISO; when SS is high, the rising edge of SCLK resets the state machine of the phased array chip, and SPI is in the standby state; when the MODE register inside the phased array chip is 1, SPI works in the state of identifying digital ID, Read and write, and the digital ID must be correct to read and write. Once the digital ID is incorrect, the SPI slave immediately enters the standby state; when the MODE register is 0, it is in the no ID state, which can only be written but not read.
技术效果Technical effect
相对于现有技术,本发明的技术方案有以下优点:Compared with the prior art, the technical solution of the present invention has the following advantages:
本发明采用了改进的SPI四线接口方案,在射频前端集成带有SPI从机接口的数字逻辑模块,采用了加入ID标签的通信协议,从而能够在天线规模极大(如1024天线)的情况下,实现单个SPI主机控制器对所有天线单元的单独控制,或者对全体天线单元的控制;所述的接口方案改进了传统的SPI控制方案,将所需的接口数量减少为仅4根线,从而可使用低成本的FPGA或MCU作为主机控制器,不需浪费额外的接口;本发明的另一个优势在于板级的天线阵列布线简单,本发明将所需的PCB布线层数减少为两层。The invention adopts an improved SPI four-wire interface scheme, integrates a digital logic module with an SPI slave interface in the radio frequency front end, and adopts a communication protocol with ID tag added, so that it can be used in the case of extremely large antennas (such as 1024 antennas). Next, a single SPI host controller can control all antenna units individually, or control all antenna units; the described interface scheme improves the traditional SPI control scheme and reduces the number of required interfaces to only 4 wires, Therefore, a low-cost FPGA or MCU can be used as the host controller without wasting additional interfaces; another advantage of the present invention is that the board-level antenna array wiring is simple, and the present invention reduces the number of PCB wiring layers required to two layers .
附图说明Description of the drawings
图1是传统的SPI控制方法和改进后的四线控制方法示意框图,其中,(a)是传统的SPI控制方法,(b)是改进后的四线控制方法;Figure 1 is a schematic block diagram of the traditional SPI control method and the improved four-wire control method. Among them, (a) is the traditional SPI control method, and (b) is the improved four-wire control method;
图2是基于双层PCB的天线阵的布线示意图;Figure 2 is a schematic diagram of the wiring of an antenna array based on a double-layer PCB;
图3是射频前端芯片内部控制逻辑架构;Figure 3 is the internal control logic architecture of the RF front-end chip;
图4是SPI芯片写时序;Figure 4 is the SPI chip write timing;
图5是SPI芯片读时序。Figure 5 is the read timing of the SPI chip.
具体实施方式Detailed ways
下面结合附图以及具体实施例对本发明的技术方案做进一步阐述:The technical solution of the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments:
首先介绍整体系统的数字控制方案。First introduce the digital control scheme of the overall system.
如图1(b)所示,该方案可将数字控制信号线的数量降低至4根,即普通SPI协议中的SCLK、MOSI、MISO和SS。其中,SCLK为系统时钟,MOSI为主机的输出和从机的输入,MISO为主机输入和从机输出,SS为片选和同步信号。该种方案适用于如图2所示的具体的系统架构和布线方法。由于只有四根数字信号线,因而SPI主机控制器可以选择小容量FPGA或者低成本MCU。As shown in Figure 1(b), this solution can reduce the number of digital control signal lines to four, that is, SCLK, MOSI, MISO, and SS in the common SPI protocol. Among them, SCLK is the system clock, MOSI is the output of the master and the input of the slave, MISO is the input of the master and the output of the slave, and SS is the chip select and synchronization signal. This solution is suitable for the specific system architecture and wiring method shown in Figure 2. Because there are only four digital signal lines, the SPI host controller can choose a small-capacity FPGA or a low-cost MCU.
以图2为例的双层PCB布线方法是一种可实现的布线方法,其中,射频前端及天线阵列排布在PCB正面;SCLK、MOSI、MISO和SS分为MOSI和SS、MISO和SCLK两组,每组分别走PCB正面或背面(即MOSI和SS走PCB正面则MISO和SCLK走PCB背面,或MOSI和SS走PCB背面则MISO和SCLK走PCB正面)。VDD为电源,通过在PCB正面铺铜,背面连接正面的各分割区域,保证PCB正面都为VDD;地VSS则使用同样方法在PCB背面铺铜,正面连接。相比传统的采用多引脚FPGA和多层PCB才能实现的方案,成本和设计复杂度得到显著降低。Taking Figure 2 as an example, the double-layer PCB wiring method is an achievable wiring method, in which the RF front-end and antenna array are arranged on the front of the PCB; SCLK, MOSI, MISO and SS are divided into MOSI and SS, MISO and SCLK. Group, each group goes on the front or back of the PCB respectively (ie MOSI and SS go to the front of the PCB and MISO and SCLK go to the back of the PCB, or MOSI and SS go to the back of the PCB and MISO and SCLK go to the front of the PCB). VDD is the power supply. By laying copper on the front of the PCB and connecting the divided areas on the back to ensure that the front of the PCB is VDD; the ground VSS uses the same method to spread copper on the back of the PCB and connect it on the front. Compared with the traditional solution that can only be realized by using multi-pin FPGA and multilayer PCB, the cost and design complexity are significantly reduced.
下面介绍对应的相控阵芯片内部的数字逻辑模块结构,以一个帧长为24bit的SPI通信协议为例。The following describes the structure of the digital logic module inside the corresponding phased array chip, taking an SPI communication protocol with a frame length of 24 bits as an example.
首先,如图1中(b)所示,天线阵中的每一个射频前端芯片都有一个不同的数字ID标签,编号从1到N 2。此处的数字ID标签可以使用片外信号输入,或片上熔丝(Efuse)实现。以32×32的天线阵为例,假设发射和接收的幅度相位信号均为6bit,SPI通信协议规定的帧长为24bit。 First, as shown in Figure 1 (b), each RF front-end chip in the antenna array has a different digital ID tag, numbered from 1 to N 2 . The digital ID tag here can be implemented using off-chip signal input or on-chip fuse (Efuse). Take a 32×32 antenna array as an example, assuming that the transmitted and received amplitude and phase signals are both 6 bits, and the frame length specified by the SPI communication protocol is 24 bits.
相控阵芯片内的数字逻辑模块的架构如图3所示,包括一个基于摩尔有限状态机的核心控制逻辑模块、一个复位控制模块、一个差错机制模块、一个通用寄存器、一个相控阵幅度和相位寄存器以及一个SPI从机。除了3.3V和1.1V电源端口和接地端口之外,该数字逻辑模块还具有7个输入和输出。The architecture of the digital logic module in the phased array chip is shown in Figure 3. It includes a core control logic module based on Moore's finite state machine, a reset control module, an error mechanism module, a general register, a phased array amplitude and Phase register and a SPI slave. In addition to the 3.3V and 1.1V power ports and ground ports, the digital logic module also has 7 inputs and outputs.
数字逻辑模块中的每个子模块的功能描述如下:The function of each sub-module in the digital logic module is described as follows:
SPI从机将SPI主机的发送帧传输至核心控制逻辑模块,发送帧包括ID以及幅度和相位码;The SPI slave transmits the transmission frame of the SPI master to the core control logic module, and the transmission frame includes ID, amplitude and phase code;
核心控制逻辑将幅度和相位码分配给内部缓存,并控制通用寄存器的读取和写入。当且仅当发送帧中的ID与该数字逻辑模块对应的射频前端的数字ID相同的时候,通用寄存器的读取和写入功能才正常工作;The core control logic assigns the amplitude and phase codes to the internal buffer and controls the reading and writing of general registers. If and only if the ID in the sending frame is the same as the digital ID of the RF front-end corresponding to the digital logic module, the read and write functions of the general-purpose register will work normally;
幅度和相位码存储在相控阵幅度和相位寄存器中,并直接连接到射频前端;The amplitude and phase codes are stored in the phased array amplitude and phase registers and directly connected to the RF front-end;
通用寄存器控制整个相控阵芯片的状态;General registers control the state of the entire phased array chip;
差错机制模块,当检测到差错机制模块打开发送帧时,错误机制打开。通过帧长校验和CRC检测发现帧错误时,此模块将自动关闭数字逻辑模块内部寄存器与SPI接口之间的通信(即错误内容不发至射频前端),并在通用寄存器中记录错误,当SPI主机进行错误询问时,通过MISO端口给予反馈。由于MISO上,多输出接口直接相连,所以MISO为三态总线,任意时刻只有一个SPI从机的MISO处于输出状态,其余的SPI从机的MISO均处于高阻态。SPI主机发送复位帧后,整个相控阵芯片会在复位模块的控制下按顺序同步复位。The error mechanism module, when it is detected that the error mechanism module is turned on to send the frame, the error mechanism is turned on. When a frame error is found through frame length check and CRC detection, this module will automatically close the communication between the internal registers of the digital logic module and the SPI interface (that is, the error content will not be sent to the RF front-end), and record the error in the general register. When the SPI master makes an error inquiry, it will give feedback through the MISO port. Since the multiple output interfaces are directly connected on MISO, MISO is a three-state bus. At any time, only one MISO of the SPI slave is in the output state, and the MISO of the remaining SPI slaves are in the high-impedance state. After the SPI host sends the reset frame, the entire phased array chip will be reset synchronously in sequence under the control of the reset module.
下面介绍具体通信协议。The following describes the specific communication protocol.
本发明中改进的SPI四线接口协议主要依赖于SCLK、MOSI、MISO和SS四个接口,可完成波控信号的读写操作。其中SCLK为SPI主、从机的系统同步时钟,SS为低电平有效的片选同步信号。MOSI为主机输出(芯片输入)的接口,MISO为芯片输出(主机输入)的接口。The improved SPI four-wire interface protocol in the present invention mainly relies on the four interfaces of SCLK, MOSI, MISO and SS, which can complete the read and write operations of wave control signals. Among them, SCLK is the system synchronization clock of the SPI master and slave, and SS is the low-level active chip select synchronization signal. MOSI is the interface for host output (chip input), and MISO is the interface for chip output (host input).
写入和输出均以帧为单位,每帧长度固定为24bit。Both writing and output are based on frames, and the length of each frame is fixed at 24 bits.
SDI在SCLK上升沿采样MOSI,SCLK上升沿输出MISO,所以SPI主机需要在SCLK下降沿输出MOSI,在SCLK下降沿采样MISO。在SS从高变低时,相控阵芯片被选中,MOSI的串行输入信号开始存入相控阵芯片内的24bit缓冲器,直到24bit信号全部存完,SS从低变高时,开始进行数据的处理,读写对应寄存器,并准备好MISO的输出。SS为高时,SCLK上升沿将相控阵的状态机复位,SPI处于待机状态。相控阵芯片内部的MODE寄存器为1时SPI工作在识别ID状态,可读写,且必须ID正确才能读写,一旦前4bit的ID不正确,SPI立刻进入待机状态。MODE为0时为无ID状态,只可写,不可读,此时可实现全部N 2个芯片的同时控制。 SDI samples MOSI on the rising edge of SCLK and outputs MISO on the rising edge of SCLK. Therefore, the SPI master needs to output MOSI on the falling edge of SCLK and sample MISO on the falling edge of SCLK. When SS changes from high to low, the phased array chip is selected, and the serial input signal of MOSI starts to be stored in the 24-bit buffer in the phased array chip until the 24bit signals are all stored, and when SS changes from low to high, it starts to proceed. Data processing, read and write corresponding registers, and prepare MISO output. When SS is high, the rising edge of SCLK resets the state machine of the phased array, and the SPI is in the standby state. When the MODE register inside the phased array chip is 1, the SPI works in the ID state, which can be read and written, and the ID must be correct. Once the first 4bit ID is incorrect, the SPI will immediately enter the standby state. When MODE is 0, it is in no ID state, which can only be written but not readable. At this time, all N 2 chips can be controlled at the same time.
写时序如图4所示。SS下降沿之后,MOSI写入24bit写命令帧,在SS上升沿时,该帧的功能得以实现。连续写入时,MISO呈现高阻态。The write sequence is shown in Figure 4. After the falling edge of SS, MOSI writes a 24bit write command frame. At the rising edge of SS, the function of this frame is realized. During continuous writing, MISO assumes a high-impedance state.
读时序在有ID模式下才存在,即MODE寄存器被写为1时。如图5所示。SS下降沿之后,MOSI写入24bit读命令帧,在SS上升沿时,输出内容提前放入MISO缓冲,在下一帧 时输出。同时,下一帧同样会生效,如果不需要下一帧生效,可以写入一个ID号正确的无效帧。此时不关注读命令帧时的MISO状态,因为当前MISO状态只和上一帧有关。The read sequence only exists in the ID mode, that is, when the MODE register is written to 1. As shown in Figure 5. After the falling edge of SS, MOSI writes the 24bit read command frame. At the rising edge of SS, the output content is put into the MISO buffer in advance and output in the next frame. At the same time, the next frame will also take effect. If you don’t need the next frame to take effect, you can write an invalid frame with the correct ID number. At this time, the MISO state when reading the command frame is not concerned, because the current MISO state is only related to the previous frame.
实际的应用场景下,发送帧依照以下顺序。首先发送ID帧,ID帧有固有的帧头,后面紧接着接下来要写入的ID号码,假设ID=k。之后SPI主机发送的所有帧均只和数字ID为k的相控阵芯片通信。与ID=k的相控阵芯片通信完毕之后,发送一个新的ID帧,即可与下一个ID的芯片进行单独通信。In the actual application scenario, the frames are sent in the following order. First send the ID frame, the ID frame has its own frame header, followed by the ID number to be written next, assuming ID=k. After that, all frames sent by the SPI host only communicate with the phased array chip with a digital ID of k. After the communication with the phased array chip with ID=k is completed, a new ID frame can be sent to communicate with the chip with the next ID.
本发明采用了改进的SPI四线接口方案,在射频前端集成带有SPI从机接口的数字逻辑模块,采用了加入ID标签的通信协议,从而能够在天线规模极大(如1024天线)的情况下,实现单个SPI主机控制器对所有天线单元的单独控制,或者对全体天线单元的控制。所述的接口方案改进了传统的SPI控制方案,将所需的接口数量减少为仅4根线,从而可使用低成本的FPGA或MCU作为主机控制器,不需浪费额外的接口。The invention adopts an improved SPI four-wire interface scheme, integrates a digital logic module with an SPI slave interface in the radio frequency front end, and adopts a communication protocol with ID tag added, so that it can be used in the case of extremely large antennas (such as 1024 antennas). Next, a single SPI host controller can control all antenna units individually, or control all antenna units. The described interface scheme improves the traditional SPI control scheme and reduces the number of required interfaces to only 4 wires, so that a low-cost FPGA or MCU can be used as a host controller without wasting additional interfaces.
以上所述,仅为本发明中的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉该技术的人在本发明所揭露的技术范围内,可理解想到的变换或替换,都应涵盖在本发明的包含范围之内,因此,本发明的保护范围应该以权利要求书的保护范围为准。The above are only specific implementations of the present invention, but the protection scope of the present invention is not limited to this. Anyone familiar with the technology can understand conceivable changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (4)

  1. 一种大规模天线阵数字波控信号接口方案,其特征在于,在天线阵中的每个相控阵芯片集成一个带有SPI从机接口的数字逻辑模块,采用了加入ID标签的通信协议,实现单个SPI主机控制器对天线阵中所有天线单元的单独控制或者对全体天线单元的控制,其中,天线阵中的每个射频前端都有一个不同的数字ID标签;A large-scale antenna array digital wave control signal interface scheme, which is characterized in that each phased array chip in the antenna array integrates a digital logic module with an SPI slave interface, and uses a communication protocol that adds ID tags. A single SPI host controller can individually control all antenna units in the antenna array or control all antenna units. Among them, each RF front end in the antenna array has a different digital ID tag;
    数字逻辑模块包括一个基于摩尔有限状态机的核心控制逻辑模块、一个复位控制模块、一个差错机制模块、一个通用寄存器、一个相控阵幅度和相位寄存器以及一个SPI从机;SPI从机将SPI主机的发送帧传输至核心控制逻辑模块,发送帧包括数字ID以及幅度和相位码;核心控制逻辑模块控制通用寄存器的读取和写入,当且仅当发送帧中的ID与该数字逻辑模块对应的射频前端的数字ID相同的时候,核心控制逻辑模块通过通用寄存器将幅度和相位码分配给相控阵幅度和相位控制寄存器,相控阵幅度和相位控制寄存器直接连接到射频前端;差错机制模块打开发送帧时,通过帧长校验和CRC检测发现帧错误时,自动关闭通用寄存器和相控阵幅度和相位寄存器与SPI从机接口之间的通信,并在通用寄存器中记录帧错误,当SPI主机进行错误询问时,通过SPI从机的MISO端口给予反馈,SPI主机发送复位帧后,在复位控制模块的控制下顺序同步复位。The digital logic module includes a core control logic module based on the Moore finite state machine, a reset control module, an error mechanism module, a general register, a phased array amplitude and phase register, and an SPI slave; the SPI slave will be the SPI master The transmission frame of the transmission frame is transmitted to the core control logic module, and the transmission frame includes the digital ID and the amplitude and phase code; the core control logic module controls the reading and writing of the general register, if and only if the ID in the transmission frame corresponds to the digital logic module When the digital ID of the RF front-end is the same, the core control logic module assigns the amplitude and phase codes to the phased array amplitude and phase control registers through the general-purpose register, and the phased array amplitude and phase control registers are directly connected to the RF front end; error mechanism module When the sending frame is turned on, when a frame error is found through the frame length check and CRC detection, the communication between the general register and the phased array amplitude and phase register and the SPI slave interface is automatically closed, and the frame error is recorded in the general register. When the SPI master makes an error inquiry, it will give feedback through the MISO port of the SPI slave. After the SPI master sends a reset frame, it will reset in sequence under the control of the reset control module.
  2. 如权利要求1所述的一种大规模天线阵数字波控信号接口方案,其特征在于,SPI从机的SCLK、MOSI、MISO和SS四个接口分别对应连接SPI主机的SCLK,、MOSI、MISO和SS四个接口,其中,SCLK为SPI主、从机的系统同步时钟,SS为低电平有效的片选同步信号,MOSI为主机输出/从机输入的接口,MISO为从机输出/主机输入的接口。The digital wave control signal interface scheme of a large-scale antenna array according to claim 1, characterized in that the SCLK, MOSI, MISO, and SS four interfaces of the SPI slave correspond to the SCLK, MOSI, MISO, and MOSI of the SPI master. Four interfaces with SS, among which, SCLK is the system synchronization clock of the SPI master and slave, SS is the low-level active chip select synchronization signal, MOSI is the interface of the master output/slave input, and MISO is the slave output/master The input interface.
  3. 如权利要求1所述的一种大规模天线阵数字波控信号接口方案,其特征在于,任意时刻只有一个SPI从机的MISO处于输出状态,其余的SPI从机的MISO均处于高阻态。The digital wave control signal interface scheme of a large-scale antenna array according to claim 1, wherein the MISO of only one SPI slave is in the output state at any time, and the MISO of the remaining SPI slaves are in the high impedance state.
  4. 如权利要求1所述的一种大规模天线阵数字波控信号接口方案,其特征在于,加入ID标签的通信协议为:SPI接口的写入和输出均以帧为单位;SPI主机在SCLK下降沿输出MOSI,在SCLK下降沿采样MISO;在SS从高变低时,相控阵芯片被选中,MOSI的串行输入信号开始存入相控阵芯片内的缓冲器,直到串行输入信号全部存完,SS从低变高时,开始进行数据的处理,读写对应寄存器,并准备好MISO的输出;SS为高时,SCLK上升沿将相控阵芯片的状态机复位,SPI处于待机状态;相控阵芯片内部的MODE寄存器为1时SPI工作在识别数字ID状态,可读写,且必须数字ID正确才能读写,一旦数字ID不正确,SPI从机立刻进入待机状态;MODE寄存器为0时为无ID状态,只可写,不可读。The digital wave control signal interface scheme of a large-scale antenna array according to claim 1, characterized in that the communication protocol added to the ID tag is: the writing and output of the SPI interface are in units of frames; the SPI host falls on the SCLK Output MOSI along the edge, and sample MISO on the falling edge of SCLK; when SS changes from high to low, the phased array chip is selected, and the serial input signal of MOSI starts to be stored in the buffer in the phased array chip until the serial input signals are all After storing, when SS changes from low to high, data processing starts, the corresponding registers are read and written, and the output of MISO is ready; when SS is high, the rising edge of SCLK resets the state machine of the phased array chip, and SPI is in the standby state ; When the MODE register inside the phased array chip is 1, the SPI is working in the state of identifying the digital ID, which can be read and written, and the digital ID must be correct to read and write. Once the digital ID is incorrect, the SPI slave immediately enters the standby state; the MODE register is When it is 0, it is in no ID state, which can only be written but not readable.
PCT/CN2020/095236 2019-12-03 2020-06-09 Method for digital wave control signal interface of large-scale antenna array WO2021109525A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911219696.6A CN110932748B (en) 2019-12-03 2019-12-03 Large-scale antenna array digital wave control signal interface design method
CN201911219696.6 2019-12-03

Publications (1)

Publication Number Publication Date
WO2021109525A1 true WO2021109525A1 (en) 2021-06-10

Family

ID=69848526

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/095236 WO2021109525A1 (en) 2019-12-03 2020-06-09 Method for digital wave control signal interface of large-scale antenna array

Country Status (2)

Country Link
CN (1) CN110932748B (en)
WO (1) WO2021109525A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110932748B (en) * 2019-12-03 2020-12-29 南京汇君半导体科技有限公司 Large-scale antenna array digital wave control signal interface design method
CN117784186B (en) * 2024-02-22 2024-05-24 中国科学院国家空间科学中心 Configuration Method of Occultation Reflection Detector

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834624A (en) * 2010-03-15 2010-09-15 北京航空航天大学 Data transmission module based on radio frequency chip
US8433838B2 (en) * 2010-09-17 2013-04-30 International Business Machines Corporation Remote multiplexing devices on a serial peripheral interface bus
CN110061765A (en) * 2019-04-17 2019-07-26 南京濠暻通讯科技有限公司 A kind of onboard double 2 × 2 MIMO wireless control systems of 5G
CN110932748A (en) * 2019-12-03 2020-03-27 南京汇君半导体科技有限公司 Large-scale antenna array digital wave control signal interface scheme

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508812B (en) * 2011-11-30 2013-09-04 上海大学 Dual-processor communication method based on SPI (serial peripheral interface) bus
CN106230665B (en) * 2016-09-09 2023-04-07 深圳市艾特智能科技有限公司 Debugging device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834624A (en) * 2010-03-15 2010-09-15 北京航空航天大学 Data transmission module based on radio frequency chip
US8433838B2 (en) * 2010-09-17 2013-04-30 International Business Machines Corporation Remote multiplexing devices on a serial peripheral interface bus
CN110061765A (en) * 2019-04-17 2019-07-26 南京濠暻通讯科技有限公司 A kind of onboard double 2 × 2 MIMO wireless control systems of 5G
CN110932748A (en) * 2019-12-03 2020-03-27 南京汇君半导体科技有限公司 Large-scale antenna array digital wave control signal interface scheme

Also Published As

Publication number Publication date
CN110932748A (en) 2020-03-27
CN110932748B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
US7450530B2 (en) Cross link multiplexer bus configured to reduce cross-talk
WO2021109525A1 (en) Method for digital wave control signal interface of large-scale antenna array
US7013359B1 (en) High speed memory interface system and method
US20230092000A1 (en) Serial interface for semiconductor package
US8006008B2 (en) Apparatus and method for data processing having an on-chip or off-chip interconnect between two or more devices
US11188495B2 (en) SPI broadcast mode
CN110471880B (en) ARINC429 bus module supporting Label number screening based on FPGA and data transmission method thereof
CN111338996B (en) Composite bus controller supporting multiple protocols
CN101217468A (en) A routing table look-up system, tristate content addressing memory and network processor
CN103036685A (en) DP83849C-based AFDX interface converter
CN112000610B (en) Simplified phased array multi-chip synchronous configuration method
CN107943733A (en) The interconnected method of parallel bus between a kind of veneer
CN116647247A (en) Signal transceiver and signal receiving and transmitting system suitable for flexible connection
CN105515673B (en) A kind of optical-fibre channel node card
CN107066419B (en) Scalable adaptive NxN channel data communication system
US20130275628A1 (en) High speed interface for daisy-chained devices
CN103346801A (en) Distribution type deserializing control structure and control method
US20060239107A1 (en) Memory system and memory device having a serial interface
CN110008162B (en) Buffer interface circuit, and method and application for transmitting data based on buffer interface circuit
CN108088910A (en) A kind of ultrasonic phased array echo signal reception system and method
CN114124609B (en) Communication device and communication method based on 1553B bus
CN114691558A (en) Low-delay retimer and delay control method
US6757347B1 (en) Source synchronous link with data and clock signals having the same electrical characteristics
CN111104353B (en) Multifunctional aviation bus interface card based on FPGA
CN112667541B (en) IP dynamic configuration circuit and FPGA

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

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

Country of ref document: EP

Kind code of ref document: A1