High Speed Video Signal Acquisition and Processing System Based On Fpga Technique

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

IEEE Int. Conf.

Neural Networks 8 Signal Processing


Nanjing, China, December 14-17. 2003

HIGH SPEED VIDEO SIGNAL ACQUISITION AND PROCESSING SYSTEM


BASED ON FPGA TECHNIQUE
Dongming Lu, Qian Chen. Kefeng Weng, Ageng Zhang

Optoelectronic Engineering Research Center


441 lab, Elec. Eng. & Opto. Tech. College, Nanjing University of Science and Technology,
Nanjing, Jiangsu, 210094, P.R.China

ABSTRACT and adopt the art of FPGA to fulfill )he operation.


PCI bus structure, for its high transmission speed and
In the past few years, there has been significant progress in excellent transfer performance, is employed to perform the
the communications and computer technology, which interface between the system and the computer.
requires stable, clear video image display. On the other In this way, we achieve the digital video signal
hand, conventional analog video processing method, due acquiring and processing system that is mainly applied to
to its intrinsic limitations, can not meet the requirement of signal with low signal to noise ratio.
high quality and high spced operation. Meanwhile, the
digital video processing technique that integrates with the 2. DIGITAL VIDEO SIGNAL PROCESSING
computer technology is growing rapidly. In this paper, we METHOD
introduce the art of FPGA (Field Programmable Gate
Array) that has been widely used for video signal
processing, and develop the video signal acquisition and
processing system that based on FPGA, thereby achieve
real-time video signal acquiring, processing, and
transferring.

1. INTRODUCTION
Fig.1 Front End Operation
For video signal processing, there are two characteristics,
one is the mass of data to handle; the other is the From the early days of analog mode, to the introductionof
requirement of high speed and real-time process. In this digital processing method, until the naissance of HDTV,
regard, there are many limitations in the analog video TV and related video signal operation technique have gone
processing system: analog information is difficult to store through a evolution of more than 70 years. During this
up; signal is vulnerable to disturbance and noise could period, a series of digital video operating methods have
accumulate easily; transmission channel with strict been developed, such as digital clamping, digital filter,
standard is demanded brightness and color often interfere auto gain control, brightness and color separation and
with each other, and so on. These intrinsic flaws in analog chroma demodulation; chroma, contrast and saturation
video system can not be resolved within the system itself. adjusting; and digital phase-locked loop technique. Fig. 1
Digital operating technique not only can improve the shows the structure of digital video signal acquiring
quality of image signal, hut more importantly, it can also front-end. Introducing these digital front-end operating
be integrated with the modem digital communications and method can eliminate a variety of instahility, and ensure
computer technology. Moreover, the digital processing more precise image pixel read. Furthermore, the HDTV
method can accomplish from one dimension, two revolutionizes the existing analog TV system standard,
dimension, to three dimension geometly transform, and all aiming to establish a complete set of exclusively digital
kinds of brightness and color transform, which makes video processing, transmitting and display system.
video signal processing approximate to optical operating
effect. 2.1. Digital Clamping Technique
Therefore, we combine the well-developed digital
signal processing method with the computer technology, The DC component in the analog video signal does not

0-7803-7702-8/03/ $17.00 02003 IEEE 1233


come out with the signal. Therefore, as the fust step, fulfilled by FPGA internal programmable logic. In this
(nonlinear operation in particular), we have to recover the way, the operation time can be reduced significantly.
DC voltage by clamping the image signal. Digital
feedback clamping circuit is generally adopted.

2.2. Digital phase-locked loop

Digital phase-locked loop is a sort of feedback control


system all the same. Unlike the analog phase-locked loop,
the digital phase-locked loop realizes exact phase locking
by the reversible counter generating cany or borrow pulse.
It synchronizes the frequency and the phase of the output
with those of the input video horizontal sync. Furthermore,
it utilizes the output oscillation signal as pixel clock for the
digitization circuit.

2.3. Digital Filter

In digital video signal processing system, digital filter is


generally used for the frequency domain processing, for
instance, brightness and color separation, chroma decoding,
figure enhancement, noise suppression. Digital filter has
simple structure, and can be easily adjusted. Moreover, it Fig 3 The block Diagram of FPGA internal logic
can achieve good filter effect that could not be attained by
some analog filter, and has good linear phase performance. In this paper, we only focus on the algorithm that can
improve the signal-to-noise ratio, which we called digital
multi-frameaccumulation (Fig. 2).
Based on the theory of correlation detection, the time
3. FPGAAND FUNCTION distribution characteristics of noise is random and
un-correlated, while the signal is correlated. Then after m
frames image accumulation, the signal power is enhanced
by m*m times, whereas the noise power is only increased
by m times. Therefore, the signal-to-noise ratio of the
image can he improved m times after m frames imagg
accumulation. According to the analysis of experiment

nmI I I data, the image accumulation method is very effective in


suppressing the temporal noise.

4. PCI BUS INTERFACE TECHNIQUE

I I U

Fig2 Digital multi-frame accumulation

FPGA is a kind of PLD used widely, which bas the


flexibility of on-line programmable function. We employ it
907
32-bitEMkLccalBs

as the core controller of the whole processing system. It


serves as follows (See Fig 3):
1) control the input and output of the analog video
signal; I
2) accomplish digital image transmission by reading the
image data to PC memory;
3 ) its arithmetic module performs various image
n I 32-bit 3Bth Sptm FCI Bs h

operation; Fig.4 PCI Target Adapter Card


To accomplish real-time processing, all operations are

1234
The PCI bus is independent from the processor, whose sampling pulse, after clamping, amplifying, filtering and
address, data, and control signal are generated separately. AID transforming, the front end transform the image
Therefore, the PCI device design will not be affected by information to digital signal, and then sends it to FPGA.
the processor upgrade. PCI bus has the following The image operation is implemented in FPGA. Under the
characteristics: control of writing signal, the image data is delivered to the
1 ) high speed, a 32 bit PCI bus supports 132 Mbits per memory through flip-latch. As soon as the memory is
second peak transfer rate for both reading and filled with image data, the interrupt circuit sends interrupt
writing; signal to PC through PCI port, applying for interrupting
2) low-power consumption; operation. The PC interrupt operation program reads the
3) bursting mode can be performed on all read and write data to PC memory. In this way, each time the image
transfers; memory'is filled by the acquiring circuit, the interrupt
4) software transparent; program reads the data out, and sends to PC memory.
Based on its high transfer speed and good Finally, the entire image is acquired. When the sampling
performance, PCI adapters can access each other or system frequency is high enough, the system can implement
memory at very high speed, thereby meet the requirements real-time acquiring, processing and display.
for video operation and transmission.
The PCI interface function is fulfilled by the target
device PCI 9030 (Fig. 4). It works as a bridge, connects 6.EXPERIMENTRESULTS
the local bus devices of the PCI card to PCI bus, translates
the operation command, such as read and write register, The following images (Fig. 6) are acquired via CCD in our
memory, YO, to local bus. lab. The high quality of these images demonstrates that the
acquiring part of the system is cable of obtain high
5. SYSTEM ARCHITECTURE AND WORKING resolution images. In the next step, we should focus our
PRINCIF' LE efforts on implementing the whole system.

FPGA ePC19030

1235
been involved in the research work.

8. REFERENCES

[ l ] Tom Shanley, and Don Anderson, PCI System


Architecture, Mindshare, Inc., U.S.A.,1999.

[2] PCI Special Interest Group, PCI Local. Bus


Specipcafion,PCI Special Interest Group, U.S.A., 1995.

[3] Xilinx, Inc., The Programmable Logic Dafa Book 2001,


Xilinx, Inc.,U.S.A., 2001.

[4] PLX Technology, Inc., PCI 9030 Dafabook VI.l, PLX


Technology, Inc., U.S.A., 2001.

[5] Luo Huiming, The Basis of Television Technologv,


Publishing House of South China Univ. of Sci. and Tech.,
P.R.China, 1988.

[6] John M. Yarbrough, Digifal Logic Applicafions and


Design, PWS Publishing Company, U.S.A., 1997.

[7] Donald A Neamen, Elechonic Circuit Analysis and


Design, McGraw-Hill Companies, Inc., U.S.A., 2001.

[8] Kenneth R. Castleman, Digiral Image Processing,


Prentice Hall, Inc., 1996.

[9] John F. Wakerly, Digital Design Principles and


Practices, Prentice Hall, Inc., a Pearson Education
company, U.S.A., 2000.

[lo] Gu Haitao, “Research On Digital X-ray Image


Processing Technique With Enhancement”, Master
Dissertation of Nanjing University of Science and
Technology, 2002.

1236

You might also like