Detailed design of video processing system based on FPGA+DSP architecture

2024-05-08 22:05:39

The system adopts a scheme based on FPGA and DSP for video processing, and realizes the whole process of video collection, processing and transmission.

In real-time video image processing, the low-level preprocessing algorithm processes a large amount of data and requires high processing speed, but the algorithm is relatively simple, and is suitable for hardware implementation using an FPGA, which can balance speed and flexibility. The high-level processing algorithm has a complicated structure, and is suitable for the implementation of a DSP chip with high computing speed, flexible addressing mode, and strong communication mechanism.

The biggest feature of the DSP+FPGA architecture is its flexible structure, strong versatility, and modular design, which can improve the efficiency of the algorithm. At the same time, its development cycle is short, the system is easy to maintain and upgrade, and it is suitable for real-time video image processing.

The system adopts a modular design method and divides the whole system into three parts: video acquisition unit, video processing unit and video transmission unit.

The whole system uses FPGA as the core control unit and completes the median filtering of the video signal. The DSP is used as the core processing unit of the whole system to perform JPEG compression on the captured video image information. In the video transmission unit, the USB based on PDIUSBD12 chip is designed. The bus is responsible for the transmission of video signals.

1 system hardware overall architecture

A complete video processing system is mainly composed of a video acquisition unit, a video processing unit and a video transmission unit. Make sure that the parts are seamlessly connected when designing the system.

The image acquisition unit is composed of FPGA and MB86S02 video acquisition chip, including video signal acquisition and preprocessing, converting the input video signal into digital image data that the system can process, and storing it in a certain storage area according to a certain format.

The image processing unit is the core of the system, and compresses the image data to realize the functions that the system has to achieve.

The image transmission unit uses FPGA+USB to realize the transmission of video data. The compressed video image information is sent to the receiving end through the USB bus based on the PDIUSBD12 chip, and the image is decompressed at the receiving end by using an application written on the PC. And show it.

The whole hardware system is composed of two sub-systems, FPGA and DSP. As a video acquisition unit, the FPGA preprocesses the acquired video signal and transmits it to the DSP. The DSP as the image processing unit is the core of the system, and the pre-processed video of the FPGA. The image information is processed by JPEG compression. The performance of the DSP unit determines the performance of the whole system. After the DSP completes the image processing task, the result will be returned to the FPGA. The FPGA writes the compressed image information to the data buffer of the interface control chip. The interface control chip is responsible for the transmission of information. The overall block diagram of the system is shown in Figure 1.

Detailed design of video processing system based on FPGA+DSP architecture

Figure 1 system overall structure

As shown in Figure 1, the MB86S02 video image sensor collects video image information under the control of the FPGA. After receiving the acquisition command from the PC, MB86S02 starts the acquisition of the video signal. The FPGA is the core control unit of the system, not only responsible for the video image acquisition. And responsible for the preprocessing of video image information and data interaction between the various unit modules of the system. In order to ensure the real-time requirements of the system, the system uses a large-capacity off-chip SDRAMR to cache the captured video image information. The SDRAM controller is implemented by FPGA, and the video image information is first buffered by SDRAM. To be filtered by the FPGA to eliminate noise interference in the image information, the system uses median filtering to process the collected video information, and the filtered data enters the DSP through the FPGA internal FIFO for the next step. Compression processing. After the DSP is powered on, the boot program is self-loaded, waiting for the FPGA to send a request. After receiving the FPGA request, the DSP establishes an EDMA channel to acquire video data from the FPGA. After storing one frame, the video image is subjected to JPEG compression processing. After the compressed video image information is buffered by the FIFO, it is written into the data buffer area of ​​the USB interface controller under the control of the FPGA, waiting for the reading request of the PC, and the USB interface controller sends the data after receiving the reading request from the PC. Write to port 1 of PDIUSBD12 so that the PC can read the data in the next step.

2 system software overall design

The software design of the system can be divided into two parts according to the overall division of the hardware structure. The operation of the whole system is shown in Figure 2. The respective programs of the FPGA and DSP run independently, and the real-time interaction of data is completed by the interrupt signal. The instruction from the FPGA to the DSP is to send an EDMA request through the FPGA. The DSP establishes an EDMA channel by responding to the EDMA request, and starts reading the data from the FIFO after preprocessing. When the DSP transmits data to the FPGA, it sends an interrupt to the FPGA. The signal is read out from the FIFO by the compressed image data.

Detailed design of video processing system based on FPGA+DSP architecture

Figure 2 system software software flow chart

As shown in Figure 2, the whole system workflow can be briefly described as follows: After the system is powered on, the DSP first bootstraps by flash and runs the boot program, then transfers to the EDMA wait state, and waits for the external image acquisition command after the FPGA is initialized. After the image acquisition command, the image acquisition is started, and the acquired image is preprocessed. The preprocessed image is buffered by the FIFO. After storing a certain amount of data, the FPGA sends an EDMA request to the DSP through the half full signal, waiting for the DSP. In response, once the DSP receives the EDMA request from the FPGA, it immediately establishes the EDMA channel, reads the data from the FIFO to the L2 memory, and after the image is full, the DSP begins image compression. After waiting for an image to be compressed, the DSP will go to the FPGA. The interrupt signal is sent, and the FPGA starts to read the compressed image data from the FIFO after receiving the interrupt signal. After reading one frame of data, it is judged whether the encoded signal is valid. If it is valid, the next frame image is compressed according to the same rule, and if it is invalid, the DSP is notified to end.

3 conclusions

This design has been verified by hardware, meets the predetermined design requirements, and realizes real-time processing of large amounts of data.

The system volume is only 70 & TImes; 70mm, the power consumption is less than 5W, the median filtering rate is 20F/S on average, and the JPEG compression rate is above 25F/s. Not only meets the real-time requirements of the video processing system, but also has small size, low power consumption, and FPGA-based programmability, the system has good flexibility and scalability.

Insertion Module PLC Splitter

PLC Splitters are Single Mode Splitters with an even split ratio from one input fiber to multiple output fibers. Available split counts are 1x4, 1x8, 1x16, and 1x32. Fiber Optic PLC Splitter is available with 900µm loose tube single mode fiber and terminated or unterminated as per your needs. Unconnectorized PLC splitters come with no connectors for easy splicing or connectorization. Connectorized PLC Splitters are available with your choice of Fiber Optic Connectors: LC/UPC, LC/APC, SC/UPC, SC/APC, FC/UPC, FC/APC, and ST/UPC.


Planar lightwave circuit splitter is a type of optical power management device that is fabricated using silica optical waveguide technology. It features small size, high reliability, wide operating wavelength range and good channel-to channel uniformity, and is widely used in PON networks to realize optical signal power splitting. Bwinners provides whole series of 1×N and 2×N splitter products that are tailored for specific applications. All products meet GR-1209-CORE and GR-1221-CORE requirements.

We provide the whole series of 1xN and 2xN splitter products that are tailored for specific applications. Fiber Optic Splitter Plc, Fiber Optic Cable Splitter, Optical Splitter, Mini Type Plc Splitter, Cassette Type PLC Splitter, Insertion Module Plc are available.

Features:

Low insertion loss and low PDL
Various coupling ratio
Environment stable
Single mode and multimode available
High Reliability and Stability
High Channel counts
Wide wavelength range
Customized packaging and configuration


Applications:
FTTx Construction

Fiber Optical communication system

Fiber Optical access networks

Fiber Sensor
Fiber CATV networks
Local area networks

cassette tyep 1X2 sc apc plc splitterInsertion Module 1x64 PLC splitter, with SC UPC connector

Insert PLC Splitter Module,SC APC Splitter,Plc Optical Splitter,Fiber Optic Splitter Coupler

Ningbo Bwinners Optical Tech Co., Ltd , https://www.sijee-optical.com

Post navigation

Previous Post: LED electronic display installation hardware steps →

Next Post: Five-star hotel's five-star light environment application case →

Home

Recent Posts

  • "Three good box" product…
  • Accelerate the response of TPA2028…
  • The Principle and Implementation o…
  • Number said LED (1): In 2014, Chin…
  • Win10 is compatible with ARM platf…
  • Qin Shang Optoelectronics hired Ms…
  • Smartphone turns into pedometer an…
  • ON Semiconductor's Flyback/Boo…
  • Feile sound restructuring will suc…
  • Crystal photoelectric private plac…
  • Broadband "speed reduction an…
  • Leroy 42K100 installs application …
  • China's LED lighting retail ma…
  • Mobile phone USB charger productio…
  • Home lighting tips
  • Beautiful and beautiful aromathera…
  • Analysis of IGBT drive circuit M57…
  • Lianjian Optoelectronics' firs…
  • Suggestions on the development of …
  • 8 Port Pole Mount Fiber Optic Term…