Design of broadband signal source based on DSP and CPLD

Publisher:shengjuLatest update time:2006-06-06 Source: E代电子Keywords:radar Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

  1 Introduction

  The signal source is an important part of the radar system. Radar systems often require that the signal source is stable, reliable, easy to implement, has pre-distortion function, and the signal generation and signal parameter changes are simple and flexible. This article uses DSP and CPLD to design the control part of the signal source. On the one hand, it can take advantage of the flexibility of DSP software control, and on the other hand, it can take advantage of the high speed, high integration and programmability of CPLD hardware. This method can make full use of software support to generate and load arbitrary waveform data, and can easily control signal parameters and modify waveform data at will, while ensuring high-speed, flexible and controllable signal generation.

  

  2 System structure

  The waveform storage direct reading method is adopted, which is a method of directly generating analog signals by performing digital-to-analog conversion on the stored waveform sampling data. Figure 1 shows the system structure of the signal source. This signal source can work in both online and offline modes. When working online, the waveform data is loaded from the microcomputer, controlled by the DSP, and written into the SRAM through the data channel in the CPLD. After reading back and verifying, it is sent from the SRAM to the digital/analog conversion device at high speed to generate the radar signal. When working offline, the waveform data can be loaded from the EEPROM when the system is powered on. A set of waveform data can be stored in the EEPROM, or multiple sets of data can be stored to facilitate application.

  3 Hardware implementation

  3.1 Interface design between TMS320F206 and EEPROM

  In the actual system, the DSP uses TI's TMS320F206 chip, and the EEPROM uses Microchip's 24LC256 CMOS serial EEPROM (Figure 2). TMS320F206 is a fixed-point, static CMOS digital signal processor. It adopts the advanced Harvard structure, with on-chip peripherals, on-chip memory and dedicated operation instruction set. These features make this device flexible and convenient to use. The operating voltage of 24LC256 is 2.5V ~ 5.5V, the capacity is 32K×8bit, it is a two-wire serial interface bus, and the standard is compatible with I2CTM. SCL is the clock input pin of 24LC256, and SDA is its serial address/data input/data output pin. 24LC256 provides an operation mode for reading sequential address contents. Its internal address pointer is incremented by 1 after each read operation is completed. This address pointer allows the contents of the entire memory to be read continuously and sequentially during a read operation. The timing is shown in Figure 3.

               

  

 In the design, the general I/O port IO2 of TMS320F206 is simulated as the clock of SCL, and IO3 is responsible for writing data to and reading from 24LC256 (the interface between TMS320F206 and 24LC256 is shown in Figure 1). When working offline, the process is as shown in Figure 4.

  3.2 CPLD design

  The programmable logic device uses CPLD of XILINX Company, model number is XC95288XL-6TQ144C. The device is a 144-pin TQFP package with 288 macro cells inside and a maximum operating clock of 151MHz. The internal logic of XC95288XL is divided into three parts: communication between TMS320F206 and the microcomputer interface, high-speed address counting, and generation of SRAM chip select read and write signals.

  3.2.1 Communication between TMS320F206 and microcomputer interface through CPLD

  The communication between TMS320F206 and the microcomputer interface adopts the parallel interface protocol (EPP), which mainly completes loading data from the microcomputer to SRAM and reading data back from SRAM to the microcomputer. The whole process adopts query mode for the parallel interface and interrupt mode for TMS320F206. . TMS320F206 uses pins to receive interrupts sent by CPLD. By setting the TMS320F206 on-chip registers IRM and ICR, TMS320F206 responds to interrupts without responding. The timing is shown in Figures 5 and 6.

 


  

  In the offline working state, when loading data from the parallel port, the microcomputer sends the data to the parallel port and sends out a low pulse. After the CPLD receives the STB arrival, it sets BUSY=1 and sends an interrupt signal. After TMS320F206 receives the interrupt, it controls the CPLD to latch the data. , and write the data to SRAM, set BUSY=0; when reading back the data from the parallel port, the microcomputer sets the parallel port to the input state, and then sends out the AUTOFEEDXT low pulse. After receiving the AUTOFEEDXT pulse, CPLD sets = 1 and sends an interrupt signal to TMS320F206, which is controlled by TMS320F206. CPLD reads data from SRAM and sends it to the parallel port, setting = 0.

  3.2.2 Design of high-speed address counter

  The SRAM in the signal source works at a high-speed clock of 100MHz when generating radar waveforms, which requires the designed address counter to also work at a 100MHz clock. In synchronous counters, carry-lookahead (prescalar) technology is used to improve its performance, that is, the leading output of the front-end, high-speed counter is used as the counting enable of the subsequent low-speed counter. During implementation, we use the efficient macrocell CLBMAP provided in XILINX's EDA software to optimize wiring, thereby minimizing the internal delay of the counter. Figure 7 shows the simulation results of counter outputs Q0~Q6. Experiments show that the above measures are very effective in improving the speed of synchronous counters.

 

  3.2.3 Generation of SRAM chip select read and write signals

  The waveform storage unit is composed of two pieces of high-speed, low-power static dual-port SRAM with a capacity of 128K×18bit. The device supports multiple methods such as single read and write, pipeline read and write, triggered read and write, etc. It can read and write the high and low bytes of the same address unit separately or simultaneously. Therefore, the chip select read and write signal timing is very complex.

  In this design, the SRAM chip select read and write signals are directly sent to the CPLD from the data line by the TMS320F206, without having to be generated by the complex decoding logic circuit inside the CPLD. This shows that the DSP+CPLD design is simple. Since the high-speed readout waveform data is sent to the D/A under a high-speed clock (100MHz), the chip select read signal is always valid during high-speed readout. When writing, since there will be no operation on the SRAM for a long time, in order to avoid writing erroneous data due to burrs on the clock signal line, when writing to the SRAM, the chip select write signal is only on the single clock of writing. Period is valid.

            
            

  4 TMS320F206 software design

  The signal source has two working modes: online and offline. There is a mode selection switch on the PCB board. TMS320F206 detects the working mode through the I/O port IO1. The TMS320F206 control program first initializes the TMS320F206 and sets each on-chip register. Then decide whether to load from EEPROM or from the microcomputer based on the value of IO1. The program flow is omitted.

  5 Experimental results

  Use an oscilloscope to test the results generated by the signal source. The results are shown in Figures 8 and 9. Figure 8 shows the generated sine wave and sawtooth waveforms. Figure 9 shows the baseband waveform of the chirp signal generated in offline mode. The width is 25μs and the baseband bandwidth is 37.5MHz. After 4 times the frequency, the bandwidth can reach 300MHz.

  Experimental results show that using DSP + CPLD to design the control part of the signal source has great advantages. The system is flexible and adjustable, has stable performance, complex control can be easily implemented with software, and the high-speed characteristics of the system are also satisfied.

  references

  1, edited by Li Bocheng et al. IBM PC microcomputer application system design. Xi'an: Xi'an University of Electronic Science and Technology Press, 1996

Keywords:radar Reference address:Design of broadband signal source based on DSP and CPLD

Previous article:Design and implementation of low-power encrypted voice hardware platform based on TMS320VC5510
Next article:Multimedia codec chip selection strategy

Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号