Doppler measurement system based on DSP and FPGA

Publisher:MindfulBeingLatest update time:2013-01-27 Source: 21ic Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

   

As FPGA performance and capacity improve, the use of FPGAs to perform DSP functions is becoming more and more common. In many cases, processors and FPGAs are used together in the same application, using a co-processing architecture to allow the FPGA to perform pre-processing or post-processing operations to speed up processing. This article shows how to use FPGAs and fixed-function DSPs together to design a non-intrusive measurement system based on the principle of Doppler measurement.

Figure 1: Electron beam focusing technology.

 

 

Traditionally, a large number of application designs use specialized digital signal processing (DSP) chips or application-specific standard products (ASSPs) to process digital information through signal processing algorithms. Filtering, video processing, encoding and decoding, and audio processing are just some of the many applications that use DSP.

Today, with the improvement of FPGA performance and capacity, as well as the improvement of efficiency of common arithmetic operations that can be seen in most DSP applications, the practice of using FPGAs to perform DSP functions is becoming more and more common. In many cases, processors and FPGAs are used together in the same application, using a co-processing architecture to let the FPGA perform pre-processing or post-processing operations to speed up processing.

One application that shows this trend is the Doppler measurement system, which can measure the velocity of solids or liquids flowing in various environments. From oil flowing in a pipe to blood flowing in a person's heart, non-invasive measurement methods based on the Doppler measurement principle can greatly reduce risks, reduce costs and improve accuracy compared to previous methods. Generally speaking, these systems are based on DSP technology, combining FPGAs and fixed-function DSP devices such as those provided by TI.

Doppler measurement system

Doppler measurement systems use the Doppler effect to measure the velocity of a moving object (solid, liquid or gas). Probably the most famous application is the radar gun, which is used by traffic patrols to detect speeding cars.

When measuring the motion of something other than the speed of a car, such as the flow of blood through a heart, multiple measurements are needed to determine the details of the more complex flow. One approach is to use electron beam focusing technology.

In this technique, a large number of detectors (many small radar guns) are used to measure the frequency return from the transmitting source. The detectors are arranged along a parabola (as shown in Figure 1), so the signal returning from the focal point will arrive at each detector at the same time. By combining these signals and doing a little processing of small fluctuations in apparent velocity, the velocity of the object at the focal point can be determined. This works quite well if the detectors can be moved to scan the entire area of ​​interest, but if this is not possible, another technique can be used that will achieve the same result. By inserting certain programmable delays, changing the time when the inputs from the various detectors are combined, the focal point can be moved to almost any position in the area of ​​interest. For example, adding a certain fixed additional delay will move the focal point farther away, while changing the delay to shorten the propagation path on one side of the detector will move the focal point toward that side.

Figure 2 shows how adjustable delay can be used to create a parabolic effect. Adjustable delay is very easy to implement in register-rich FPGAs and could be a feature that can be stripped out of traditional DSPs as a coprocessor function.

System Implementation Example

Figure 3 shows a block diagram of an example system implementation. The FPGA in the middle of the figure is responsible for generating the output signal used by the transmitter. This implementation uses the Xilinx Direct Digital Synthesizer IP core, which can easily generate a variety of waveforms. The frequency can be easily changed depending on the measurement goal.

Figure 2: Electron beam focusing technology with delay function.

 

 

The detectors measure the analog value of the return signal, producing a digital value that is fed into the FPGA. The FPGA performs some preliminary filtering on the input signal to adjust the position of the detector. The FPGA then inserts a certain programmable delay into each detector data stream to implement the electron beam focusing function. The data streams are combined and a digital filter is responsible for determining the frequency content of the signal. This produces the Doppler reading necessary to determine the focal spot velocity.

There is a MicroBlaze soft core inside the FPGA that controls the measurement process, thereby implementing high-level functions such as scanning, initialization, testing, and diagnosis.

The DSP reads and stores the results of the operations performed by the FPGA. Once a series of scans is completed, the processor can construct a digital image of the scanned area. Different colors can be assigned to different speeds (in linear, logarithmic, or any other scale), and the digital image can be converted into a video image and displayed in real time on a graphics terminal or recorded for later playback. Conversion to JPEG or other video formats can also be easily implemented in the processor using one of the many available software or toolkits, and other system partitions can be experimented with. If real-time video processing and storage consumes too much processor bandwidth, part of the algorithm (such as preprocessing of the scan data) can be performed in the FPGA.

Another important part of the measurement process is determining the mass of the target. This is done by measuring the amount of energy that returns from the focal point to the detector. The more energy that returns, the larger the target (generally speaking). This works particularly well when the target being measured has fixed coherence (such as oil or other liquid flowing in a pipe), but is difficult when there are a variety of different masses or reflections in the system.

Obviously, knowing more about the system under test can provide some clues to the measurement process. Energy measurement can be added to the FPGA coprocessor by storing a digital value corresponding to the amplitude of the returned signal. This value is also delayed by the FPGA.

Alternatively, JPEG processing can be performed as a separate function on the FPGA, leaving the processor more time for data preprocessing. There are many options to choose from, but providing an easy-to-use platform that can quickly implement different segmentations is paramount.

Similar co-processing-oriented applications can benefit from the use of hardware development platforms. Leveraging a hardware platform allows you to easily experiment with various system and algorithm partitions—implementing some functions in the FPGA and others in the DSP. DSP applications are typically difficult to simulate in software, so the ability to quickly create a hardware/firmware/software platform can greatly reduce development time. Using the co-simulation tools in the Xilinx tool suite, developing with The MathWorks Simulink and the target hardware, is a technique that can greatly reduce design time.

Figure 3: Example system block diagram.

 

 

Avnet DSP Coprocessor Design Kit

The Avnet DSP Co-Processing Design Kit is designed for a wide range of DSP-oriented applications that require the use of both FPGAs and DSPs. The kit comes with two main boards. The Virtex-4 Evaluation Board (shown in Figure 4) is equipped with a Xilinx Virtex-4 SX-FF668 FPGA, a platform flash configuration PROM, an expansion connector, a Cypress CY7C68013 USB2.0 controller, a National Semiconductor DP83847 10/100 Ethernet port, a 128x64 OSRAM graphics display, 8MB flash, 32MB DDR SDRAM, and various user switches and LEDs. The second board is the TI DSP Adapter Module (shown in Figure 5), which is used to interface between the Virtex-4 board and various TI DSP evaluation boards. The TI board can be purchased from Avnet to complete the development platform.

 

   

Reference address:Doppler measurement system based on DSP and FPGA

Previous article:Reliability Design of PCB Board for High-speed DSP System
Next article:Application of DSP system in home appliances

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号