Chun Jiang Liu 2010
Chun Jiang Liu 2010
Chun Jiang Liu 2010
Single Chip
271 Volumn 3
SM-62 Fingerprint Module, adopts optical fingerprint SMG-12864ZK is a kind of 128*64 dot-matrixes LCD
sensor, it is consist of high performance DSP and Flash. It which can display Chinese and graph, built in GB2312
provides functions as follows: fingerprint image processing, Simplified Chinese Font. SMG12864ZK can be connected
fingerprint enrollment, fingerprint deletion, fingerprint with CPU though two ways: 8-bit parallel connection and
verification, templates storage, etc. Thanks to the proprietary Serial connection. It boasts many functions, such as cursor
intellectual property rights of SM-62, the cost of the display, screen shift, sleep mode, etc. In this system,
fingerprint module is reduced largely, clearing the barricades SMG12864ZK is connected with C8051F020 though parallel
on the road of application of Fingerprint Access Control in connection which is shown by Figure 4.
civil use. The appearance of SM-62 is shown by Figure 2.
The module communicates with the Single chip in semi- C. Keys
duplex asynchronous serial method.SM-62 is connected with This system provides 20 keys, 4 of which are Menu keys,
C8051F020 though RS-232, by the way that is shown by including <Enter>, <Esc>, <OK>, <C>. Multiple functions
Figure 3. can be available though these keys, such as fingerprint
enrollment, fingerprint deletion, opening door, etc, also,
users can input English, Chinese and Arabic numbers though
these keys. Keys are connected with the Single Chip though
the way that is shown by Figure 5.
· · ·
· · · · · · ·
GND
· · ·
Figure 3. Connections of SM-62 and C8051F020 77 78 79 80
81 · · · ·
82
· · ·
During the process of fingerprint enrollment, the 83 · · · ·
84 · · ·
Fingerprint Module enrolls each fingerprint twice times C8051F020 85
though the fingerprint sensor, and then process the 86
87
fingerprint image, extract the feature of the fingerprint. 88
Feature data is analyzed to get a group data which character
this fingerprint most, this group data is eventually used as the Figure 5. Connections of keys and C8051F020
template of this fingerprint, the fingerprint template is stored
in the FLASH.
During the process of fingerprint verification, the D. Electronic Lock
Fingerprint Module enrolls user's fingerprint to get the finger This system is characterized with its anti-crack circuit
feature, the Fingerprint Module compares the feature with design, the hardware design adopts "dual single chips"
the fingerprint templates stored in the FLASH though a control strategy, in this way, the security of the system is
fuzzy matching way. If a matched fingerprint template is maximum guaranteed.
found, the user’s fingerprint verification is passed, the single The common Fingerprint Access Control System, which
chip commands the Electronic Lock to open the door, and boasts Man-Machine Interface, features that MCU controls
meanwhile, the user’s ID can be got. the Electronic Lock directly to open the door when user’s
fingerprint verification is passed. The controlling circuit is
B. LCD SMG12864ZK easily in touch, the biggest fault for this is that Fingerprint
Access Control System is easily cracked though the
controlling circuit if there is people ill to crack the system—
just need adding a volt in the controlling circuit.
In order to get rid of the fault referred above, the
hardware design of this system adopts "dual single chips"
control strategy—anther single chip AT89C51, placed in the
back of the door, is adopted to controls the Electronic Lock
directly, AT89C51 communicates with C8051F020 though
RS232. The communication between AT89C51 and
C8051F020 is set up password, if user’s fingerprint
verification is passed, the password need to be verified
between AT89C51 and C8051F020, if the password
verification is passed, AT89C51 controls the Electronic Lock
to open the door. Thus, even the controlling circuit is in
touch, the system is still in safety, because nobody knows the
password.
C8051F020 can provide 2 UARTS, one is connected to
Figure 4. Connections of SMG12864ZK and C8051F020 SM-62 Fingerprint Module, the other is connected to
272 Volumn 3
AT89C51, Electronic Lock is connected to AT89C51, and key <Enter>, before entry into Menu ˈ it is the time-
the way of their connections is shown by Figure 6. temperature interface what is the displaying on the LCD.
In fact, the MENU program is called by the interruption
mode, key <Enter> is connected to the INT1 of C8051F020,
when the <Enter> is pressed, interruption program is
responded instantly. If the MENU program was called not by
the interruption mode, but scans the key <Enter> in the main
program shown by Figure 7, key <Enter> would fail
sometimes. The reason is that, it will cost certain time to read
the DS18B20 and DS12C887; also, displaying information
on the LCD will cost certain time. Thus, a long delay is
Figure 6. Connections of Electronic Lock and C8051F020
made, as a result, if scanned the key <Enter> in the main
program, it was possible that the status of the key would be
III. SOFTWARE DESIGN unsuccessfully stamped, making key <Enter> fail. So in this
system, the MENU program is called by the interruption
The software design of this system includes main mode, avoiding the problem referred above.
program, subprogram, and the driver for hardware circuit. The flow chart of INT1 program is shown by Figure 8.
The subprogram of this system includes opening-door When the key <Enter> is pressed, interruption program is
subprogram, fingerprint management subprogram, record responded instantly. The Menu of this system adopt scroll
review subprogram, system setting subprogram. The Menu, Users can move the scrollbar tough the key <>or<>
hardware circuit driver includes SM-62 driver, LCD driver, to choose the function they want, when the key <OK> is
keys driver, EEROM driver, etc. pressed, the system operates the corresponding function.
Variable J is used to store the absolute value of difference
between two variables of A and B (A stores the times key
<> is pressed; B stores the times key <> is pressed). The
system operates corresponding function as to the value of J0.
273 Volumn 3
Chinese and Arabic numbers though the keys. Thanks to the
"dual single chips" control strategy, security of the system is
greatly improved. The Fingerprint Access Control
technology will always be a reliable and highly efficient
access control method as it is now. Fingerprint Access
Control in future will be more reliable and more diversified
in function, but with much lower price.
REFERENCES
[1] Anil Jain, Lin Hong and Ruud Bolle, “On-line fingerprint
vertification”, IEEE Transactions on Pattern Analysis and Machine
Intelligence, 1997, vol. 19, no. 4, pp. 302-313.
[2] Nalini K.Ratha, Kalle Kam, ShaoyunChen and Anil K.Jain, “A real-
time Matching System for large fingerprint database”, IEEE
Transactions on Pattern Analysis and Machine Intelligence, 1996,
vol.18, no. 8, pp. 799-813.
[3] Nalwa V, “Automatic online signature verification”, Proceedings of
IEEE, 1997, vol. 85, no. 2, pp. 213-239.
[4] Weicheng Shen, Marc Surette and Rajiv Khanna, “Evaluation of
automated biometrics- based identification and verification systems”,
Proceedings of the IEEE, 1997, vol. 85, no. 9, pp. 1464-1480.
[5] Ratha N K, “Adaptive flow orientation-based feature extraction in
fingerprint images”, Pattern Recognition, 1995, vol. 28, no. 11, pp.
1657-1672.
[6] B.G.Sherlock and D.M.Mavro, “A model for interpreting fingerprint
tocology” , Pattern Recognition, 1993, vol. 26, no. 7, pp. 1047-1055.
[7] B.Chatterjee and B.Mehtre, “Automatic Fingerprint Identification” ,
Journal of the Institution of Electronics and Telecom, 1991, vol. 37,
no. 5, pp. 493.
[8] Louis Coetzee and Elizabeth Botha “Fingerprint recognition in
quality images”, Pattern Recognition, 1993, vol. 26, no.10, pp. 1441-
1460.
[9] Lin Hong, “Automatic personal identification using fingerprints”
Dissertation for Ph.D.[D].Michigan State University, 1998, pp. 45-46.
[10] Instruction for the Fingerprint Module - SM-62, Miaxis Biometrics
Co., 2005.
274 Volumn 3