With the increasing application of electronic information technology, many occasions require the identification or identity record of specific user groups, such as access control systems, attendance systems, security authentication systems, etc. Various technologies are used in various systems, such as retinal recognition, facial recognition, fingerprint recognition, RFID radio frequency identification applications, etc. Among them, biometric recognition has been recognized and accepted by more and more people for its convenience and high security, especially fingerprint recognition technology, which has now developed into one of the most widely used biometric technologies. Therefore, the study of fingerprint recognition system based on embedded architecture has practical significance and broad application prospects.
1 Overall system structure
The system uses an optical fingerprint sensor (with built-in optical GC0307 CMOS image acquisition chip from GalaxyCore) and STMicroelectronics' 32-bit high-performance microcontroller STM32F205RE with ARM Cortex M3 core to form the functional main body. It uses image acquisition and processing algorithms such as Sobel edge detection operator, Gabor filtering, and image binarization to recognize fingerprint images, and builds a small-volume embedded fingerprint recognition module with the characteristics of building block embedding, low power consumption, simple and easy-to-use program interface, easy secondary development, high recognition accuracy, and high cost performance.
2 System Hardware Circuit Design
The entire system design constitutes an integrated optical fingerprint recognition module. The module design adopts the optical dark background imaging principle and adds a unique liveness detection chip to solve the dry finger effect while solving the problems of residual fingerprint misidentification and rubber fake fingerprints.
Figure 1 shows the schematic diagram of the application circuit of the optical GC0307 CMOS image acquisition chip of GalaxyCore Microelectronics Co., Ltd. This CMOS image acquisition chip is a built-in component of a high-precision, low-power, micro-volume, high-performance camera. It combines a CMOS image sensor that realizes high-quality VGA images with a highly integrated image processor, an embedded power supply, and a high-quality lens group. It outputs JPEG images or image video streams, supports 8/10-bit digital transmission of JPEG images and YCbCr interfaces, and provides a complete imaging solution.
The CMOS image acquisition core function output serial data pin, clock signal pin, reset pin, serial bus pin, etc. are all connected to the GPIO port of STM32F205RE, and the image information collected by the CMOS chip is read through the GPIO port simulation timing. Since the operating frequency of the GPIO port of STM32F205RE can reach 120 MHz, the timing can be simulated very accurately and efficiently. The measured 640×480 original image can be collected at a speed of 10 frames/s to the main processor STM32F205RE for image processing.
3 System software function design
The fingerprint image acquisition process of this system is shown in Figure 2. The system software design part adopts a four-point rotation algorithm for distortion correction.
The transformation from (x, y) to (u, v) can be obtained by formula (1) and formula (2), where A ~ H are determined by the optical path and can be finally determined by specific measurement data. The original data can be obtained through actual measurement. Figure 3 shows the difference between the original image and the image before and after distortion correction. It can be seen from the transformation that the image after distortion correction can reach a resolution of 500 DPI through transformation, which lays the foundation for obtaining high-quality image processing data in the future.
Then it is sent to the algorithm for processing. Since the image processing algorithm of the embedded system must have a small amount of calculation and occupy a small RAM memory space in order to run in a single-chip system with limited computing performance, this system replaces the point direction with the small block direction to reduce RAM occupancy.
In terms of image enhancement, the image can be divided into small blocks with length and width L, and then the mean square error of each block can be calculated according to the following formula:
According to the experimental data measurement and analysis, when Aver>36, it can be considered that there is an image in the area, otherwise it is considered to be the background. The mean square error is used to distinguish the foreground and background, and the image contrast can also be judged based on this. By enhancing the image according to the difference in contrast, images with different exposure brightness can be uniformly enhanced. The original image was processed by the algorithm, and the effects before and after the extraction were compared. The specific effect is shown in Figure 4.
The original Sobel operator is as follows:
The improved Sobel operator is:
The improved Sobel operator can increase the accuracy of the directional field, and the measured pass rate is increased from 93.3% using the standard Sobel operator to 95.8%. Figure 5 shows the change.
As shown in Figure 5, the improved Sobel operator can significantly segment the area of the correct image based on the original Sobel operator, and can extract the correct direction from almost the entire image area. The system performs Gabor filtering on the image and binarizes the image data. Fingerprint images are texture images. Texture images use Gabor filters, using the point direction of each point to enhance along the direction and weaken along the normal direction. The Gabor filter can well splice broken lines and filter out environmental noise. Finally, the image after Gabor filtering is binarized using a double window mean threshold:
Threshold 1: Meaning operator matrix: 7×7 identity matrix.
Threshold 2: Meaning operator matrix: 3×3 identity matrix.
The specific operation expressions are as follows:
When the value of each point g(x,y)>p(x,y), then g(x,y)=1 is assigned, otherwise it is assigned 0, so as to obtain the final result of binarization. The comparison of the extracted image and the actual measurement effect is shown in Figure 6.
Figure 7 is the final image binarized according to the coarse and fine texture of the image, and feature points are extracted based on endpoints and intersections.
After the above steps, effective feature information can be extracted from the original image. The feature information describes the position, direction and other information of the feature point, and finally forms a feature template with a size not exceeding 512 bytes. The fingerprint comparison is to construct a rod pair set formed by two points based on the feature template, and the information contained in the rod pair, such as the rod length, end point direction and the angle between the rods, is already a relative quantity and has nothing to do with the position. Under ideal conditions, for the same fingerprint, every quantity (length, angle) of the rod pair that can be found in the two images collected is mathematically completely equal. This is used as the basic mathematical model to construct the entire comparison algorithm.
4 Conclusion
The design of the optical fingerprint recognition system based on ARM in this paper has been tested in real objects. The module takes 500 to 800 ms to input the user's fingerprint image, and the rejection rate is less than or equal to 1%. It takes an average of 4.2 ms to compare a fingerprint, and supports 1:1 fingerprint verification and 1:N fingerprint search. In the hardware design, the communication terminal is introduced, and the system supports 3.3V TTL serial port communication. The module can register users, delete specific users, delete all users, reset the module, obtain the total number of users, obtain user permissions, 1:1 comparison, 1:N comparison, set the serial port baud rate, read images and extract feature values, obtain images, etc. 30 conventional or extended function commands can be used through the serial port to meet most fingerprint applications and can be well used in the embedded field, thus proving the feasibility of this solution.
Previous article:Design of matrix keyboard based on ARM and its linux driver implementation
Next article:Design of digital human heart rate detector
Recommended ReadingLatest update time:2024-11-17 16:47
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- New breakthrough! Ultra-fast memory accelerates Intel Xeon 6-core processors
- New breakthrough! Ultra-fast memory accelerates Intel Xeon 6-core processors
- Consolidating vRAN sites onto a single server helps operators reduce total cost of ownership
- Consolidating vRAN sites onto a single server helps operators reduce total cost of ownership
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Can anyone help analyze the parameters of this DC-DC transformer?
- In the 5G era, IoT technology empowers smart healthcare
- 【TouchGFX Design】(2) Simple interface design
- Sony HT-Z9F speaker system disassembled with Rockchip RKNanoD chip
- [Rvb2601 Creative Application Development] lvgl Usage 2 - Drawing
- [DWIN Serial Port Screen] Nucleic Acid Sampling and Registration System - Three Links to DWIN Cloud
- Help! Why can the command sent by the microcontroller only display up to the fourth step?
- Future Outlook of IoT
- EM78P458 chip
- The role, advantages and disadvantages of solid-state relays