Design of a new SoPC automatic fingerprint recognition system

Publisher:Enchanted2021Latest update time:2010-11-05 Source: 电子技术应用 Keywords:SOPC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

At present, there are two main ways to implement automatic fingerprint recognition systems based on FPGA: pure hardware implementation [1] and implementation in a soft core with Nios II as the CPU [2-4]. Although pure hardware implementation is faster, it is difficult to implement due to the complexity of the fingerprint processing algorithm. At the same time, the algorithm accuracy is poor and the design cycle is long. Using the soft core Nios II downloaded to the FPGA as the control module has a flexible design method and has the function of software and hardware programmability in the system, which greatly improves the system speed. However, in this solution, software and hardware processing are performed alternately, involving frequent fingerprint data transmission between software and hardware, which limits the system speed and increases the complexity of the system.

This paper proposes a new structure based on SoPC automatic fingerprint recognition design scheme. It has the following characteristics:

(1) Based on the analysis and optimization of the fingerprint recognition algorithm, the software design and hardware design are separated on the basis of the combination of software and hardware. The image preprocessing part of the fingerprint recognition system that takes a long time is implemented in hardware, while the feature extraction, matching and operation control parts that take less time are implemented in the NiosⅡ soft core. This makes the system structure clear and the processing performance is improved.

(2) Use an SRAM as a cache for intermediate data of fingerprint processing. The preliminary processing of fingerprint images is implemented in hardware, and the intermediate data is cached in SRAM; the post-processing software of fingerprint images reads all data from SRAM into the data memory of NiosⅡ. Such a storage design eliminates the need for large amounts of data flow transmission between software processing and hardware processing, simplifies the data interface between software and hardware, and makes data flow control easier. It also avoids the time consumption caused by frequent data transmission between software and hardware.

(3) Based on the combination of software and hardware processing, the fingerprint processing time is greatly reduced. The preprocessing of a fingerprint image can be completed within 1.5 seconds, and the comparison of a fingerprint image can be completed within 3 seconds.

1 Design ideas

1.1 Fingerprint system structure

From the perspective of the entire fingerprint processing system, the system submodules are carefully divided according to the processing characteristics of each algorithm. Through the analysis of the fingerprint processing algorithm, it is found that the fingerprint preprocessing part uses multiple data loop operations, the amount of calculation is large and single, and the use of hardware implementation significantly reduces the time consumption, so the fingerprint preprocessing part is chosen to be hardware-based as a whole; for the fingerprint matching part, the amount of calculation is relatively small but the algorithm is complex and diverse, and the use of software algorithms is relatively simple and can achieve high accuracy, so the Nios II software algorithm is used to implement it. Another advantage of choosing the overall hardware of the preprocessing part and the overall software of the matching part is that the hardware and software processing does not require frequent data exchange and transmission, saving time while reducing the complexity of the system.

As shown in Figure 1, the system workflow is mainly divided into fingerprint hardware acquisition, fingerprint image hardware preprocessing and fingerprint software matching. SRAM is used as a cache device for fingerprint data, Flash is used as a storage device for fingerprint feature data, and the fingerprint data processing steps are carried out in the direction indicated by the arrow.


1.2 NiosⅡ Software Functions

Nios II is the main control module, coordinating the operation of each submodule of fingerprint processing through the Avalon bus. The pre-processing hardware module is hung on the Avalon bus as a whole because the algorithm steps are executed sequentially in the processing, which is convenient for module control. The feature extraction and matching after fingerprint image pre-processing is implemented using Nios II software. The fingerprint data is stored in the data memory of the program, and each function is called for processing according to the software processing flow. In order to facilitate the observation of debugging results, VGA and LCD displays are hung on Avalon. After each step of the algorithm is completed, the VGA display is called to view the processing results, and the LCD is used to prompt the processing steps.

1.3 Hardware Optimization Technology

In order to solve the timing problems that are prone to occur in multiplication and division in FPGA arithmetic operations, and the general problems that consume a lot of resources, such as floating-point operations, square root algorithms, and inverse tangent algorithms, the following optimizations have been made:

(1) Multiplication and division are performed using the IP core that comes with Quartus. The IP core uses a pipeline structure to reduce the occurrence of timing failures in the system and improve system stability.

(2) All floating-point operations are converted to fixed-point numbers by multiplying them, which can reduce the complexity of the operation and the time consumption;

(3) The square root algorithm is implemented using a non-restoring remainder square root algorithm, which only involves addition, subtraction, and shifting. The processing time is only 1/2 of the input bit width, which can reduce system consumption and processing time.

(4) The inverse tangent operation adopts the CORDIC algorithm, which uses a state machine structure and is implemented through repeated iterations. The algorithm is simple.

[page]

2 System Implementation

2.1 MBF200 Hardware Acquisition Module

MBF200 turns on the automatic detection function to collect the entire fingerprint image. By setting the threshold register THR inside the chip, the chip can adapt to different external environments. Changing the values ​​of the three internal registers PGC, DTR, and DCR can adjust the image clarity and improve the quality of the collected image.

2.2 Implementation of the preprocessing module

Image preprocessing is mainly divided into three parts: fingerprint image smoothing, background separation and filter enhancement. The processing of each hardware module is realized through the hardware processing control state machine. The preprocessed fingerprint data is stored in SRAM, and the connection between SRAM and each hardware module is selected according to the hardware state control. Image smoothing adopts normalization processing, background separation adopts variance method, and filter enhancement adopts directional filter image enhancement algorithm to achieve [5].

2.3 Nios Algorithm Implementation

The main modules of the software algorithm are binarization, thinning, feature extraction and feature matching. The binarization process also includes the filling and deletion algorithms after binarization; the thinning algorithm includes the anti-counterfeiting algorithm after thinning. The binarization algorithm uses the threshold method; the thinning algorithm uses the Hilditch thinning algorithm, and uses the feature extraction algorithm based on 8 neighborhood feature points and the matching algorithm based on the center point.

3 System Implementation

3.1 Fingerprint processing VGA display results

Figure 2(a) is the MBF200 acquisition effect diagram. The lines of the fingerprint image are clear and the contrast with the background area is obvious.

The function of normalization is to make the contrast between black and white points in the image more obvious and change the uniformity of the grayscale of the image. Figure 2(b) shows the normalization of the fingerprint after collection. It can be seen from the figure that the fingerprint ridges are significantly strengthened. Since the background area is small, the background separation step is skipped.

The enhancement algorithm based on the directional map is used, and the processing effect is shown in Figure 2(c). As can be seen from the figure, it has a good connection effect on the ridges of the fingerprint image, and can effectively remove the noise interference in the fingerprint image to make the fingerprint clearer and more realistic.

Binarization is performed on the basis of filtering, including the deletion and filling algorithms after binarization. The processing effect is shown in Figure 2 (d). After binarization, only black and white remain in the image.

Thinning is mainly to remove unnecessary thick line information to facilitate the subsequent extraction of feature points. The thinning process is shown in Figure 2 (e). After thinning, only one pixel is left in the line of the fingerprint image. After thinning, pseudo feature points are removed, and breakpoints and short lines are obviously removed.

3.2 Fingerprint processing performance description

The system's processing time consumption is divided into two parts: hardware preprocessing and software algorithm processing.

The hardware processing includes four parts: fingerprint acquisition block, normalization block, background separation block and enhancement filter block; the software processing includes four parts: binarization, refinement, feature extraction and feature matching. The system processing time consumption is shown in Table 1.

According to the characteristics of fingerprint recognition algorithm, this paper designs a new type of automatic fingerprint recognition system based on SoPC. Through the specific analysis and optimization of fingerprint recognition algorithm, the structure of dividing fingerprint processing into two parts, hardware processing and software processing, is designed. A piece of SRAM is used as the cache of fingerprint processing intermediate data. There is no large data flow transmission between software and hardware, which saves data transmission time. This structure uses the full hardware mode for the time-consuming preprocessing part, which greatly improves the operation speed of the system; the matching algorithm part with less time consumption is completed by NiosⅡ software, which shortens the design cycle and improves the design accuracy. This design structure reduces the complexity of the system, makes the system structure clear, improves the processing performance, and facilitates the optimization of individual processing modules and system upgrades.

Keywords:SOPC Reference address:Design of a new SoPC automatic fingerprint recognition system

Previous article:The principle and design of an intelligent infrared remote control switch
Next article:Fuel meter implementation in handheld devices

Recommended ReadingLatest update time:2024-11-17 00:07

LED Graphic Display Screen Control System Based on MCU and FPGA
introduction At present, small and medium-sized LED display systems on the market generally use traditional single-chip microcomputers as the main control chip. For large-screen LED display screens, due to the large amount of data transmission, fast scanning speed is required, while the internal resources of the sin
[Microcontroller]
LED Graphic Display Screen Control System Based on MCU and FPGA
Accelerating FPGA system real-time debugging technology
Abstract: As the design speed, size, and complexity of FPGAs increase significantly, real-time verification and debugging in the entire design process have become key parts of current FPGA systems. Limited access to internal FPGA signals, FPGA packaging, and printed circuit board (PCB) electrical noise make design d
[Embedded]
Accelerating FPGA system real-time debugging technology
Mil ARM+FPGA hetero-core architecture core board made a wonderful appearance at the Shenzhen International Electronics Exhibition
On November 6, 2022, the Shenzhen International Electronics Exhibition and Embedded Systems Exhibition (ELEXCON 2022) kicked off at the Shenzhen Convention and Exhibition Center (Futian). The exhibition is themed "Core Trends! New Business Opportunities!" The exhibition content includes Innovative technologies and pro
[Embedded]
Mil ARM+FPGA hetero-core architecture core board made a wonderful appearance at the Shenzhen International Electronics Exhibition
NI develops new software-designed controller based on FPGA
Recently, National Instruments introduced a new FPGA-based programmable controller, the CompactRIO-9068 software-designed controller. According to National Instruments, the new controller can complete any task requiring embedded control and monitoring, such as building a system to suppress fires on cargo planes and ge
[Analog Electronics]
NI develops new software-designed controller based on FPGA
Using FPGA to build a high-level video surveillance system
High-resolution (HD) security monitoring processing systems at full video frame rates have increasingly higher requirements for processing devices. Single-chip DSP processing is no longer able to meet the requirements. Although multi-chip, multi-core or CPU+DSP methods can meet the requirements in some cases, they s
[Embedded]
Using FPGA to build a high-level video surveillance system
FPGA leading companies are becoming increasingly powerful. How can domestic manufacturers break through?
After Intel recently released the 10nm Agilex and Xilinx launched the 7nm ACAP platform, the two leading FPGA companies have entered a different generation. This difference is not only reflected in the fact that their process has entered a more advanced process, but also in the fact that the current FPGA is no longer
[Embedded]
FPGA leading companies are becoming increasingly powerful. How can domestic manufacturers break through?
Circuit design of speech recognition system using FPGA
  In recent years, most of the research on speech recognition has focused on algorithm design and improvement. With the rapid development of semiconductor technology, the continuous increase in the scale of integrated circuits and the continuous improvement of various R&D technology levels, the introduction of new har
[Power Management]
Circuit design of speech recognition system using FPGA
Fast Startup for Xilinx FPGA
By Joachim Meyer PhD student Karlsruhe Institute of Technology joachim.meyer@kit.edu Juanjo NogueraSenior Research EngineerXilinx , Inc.juanjo.noguera@xilinx.com Rodney Stewart Automotive System Architect Xilinx, Inc. rodne
[Embedded]
Fast Startup for Xilinx FPGA
Latest Security Electronics 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号