You are on page 1of 6

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/330490713

OMAPL138 Based Image Acquisition and Display System Development

Conference Paper · November 2018


DOI: 10.1109/ICAM.2018.8596541

CITATIONS READS
0 10

2 authors, including:

Yangqing Sun
Nanjing Institute of Industry Technology
3 PUBLICATIONS   1 CITATION   

SEE PROFILE

All content following this page was uploaded by Yangqing Sun on 07 November 2019.

The user has requested enhancement of the downloaded file.


2018 3rd International Conference on Integrated Circuits and Microsystems

OMAPL138 Based Image Acquisition and Display System Development

Yangqing Sun Yuanyuan Hua


School of Computer and Software Purple Mountain Observatory, CAS
Nanjing Institute of Industry Technology Key Lab of Space Object and Debris Observation, CAS
Nanjing, China Nanjing, China
e-mail: sunyangqing@gmail.com e-mail: huayuanyuan@outlook.com

Abstract—An OMAPL38 based high sensitive CMOS image The system is based on embedded Linux operating
acquisition and display system has been developed. This system system, taking ARM926EJ-S as the main control unit, and 7-
is designed for iris recognition which requires high speed and inch LCD screen as the image display unit.
high sensitive raw images. The image size of the system is
752×480 (10bit) and the experimental results indicate that the II. SYEYTEM HARDWARE DESIGN
readout speed exceeds 60fps with the peak quantum efficiency
Fig. 1 is the architectural structure of the overall system.
over 50%. This system opens new possibilities for the real-time
It is composed of image acquisition, image processing,
biometric matching of eye images. The hardware and software
details are described in this paper. image display and storage. The CMOS image sensor receives
the timing control from OMAPL138 and sends the image
Keywords-OMAPL138; CMOS image sensor; hardware data to the processor. The processor gets the parallel data and
design; software design; frame rate; iris recognition sends it to the LCD to display. Here SD card is used to
storage the image files of the Linux system. RS232 is used to
get order and give feedback information to the PC.
I. INTRODUCTION
Since now, Optical image detector has been widely used LCD

in many fields like security system, military, traffic and so on. TIMING
It has contributed greatly for the efficiency and convenience
of our life [1]. As to the biometric matching, especially iris OMAPL138 DB9 to USB
CMOS Image Sensor
recognition system, high speed and sensitivity are the two DSP
SYSLINK
ARM
SD CARD
PC

critical characters for the achievable level of performances


[2]. The system we designed considerably decreases the time OBJECT
demanded to read the image, and significant improved the
NAND FLASH DDR SDRAM
sensitivity compared with the traditional iris recognition
structure.
Figure 1. System architecture.
Image sensor is the core component of the iris
recognition system. With the advantages of low power
consumption, high integration and small volume, CMOS A. CMOS Image Sensor Control
image sensor dominates the Optical image detector market In this project, Aptina’s MT9V034 is chosen as the
for these years. It integrates the analog to digital (A/D) image sensor. It is a 1/3-Inch wide-VGA CMOS digital
conversion circuit and registers in a little chip which image sensor with the 10-bit On-chip ADC and high
provides a friend interface to DSP, ARM and other kinds of dynamic range. The active imager size is 4.51mm(H) *
processors. There are many companies producing CMOS 2.88mm(v), with 5.35mm diagonal. The pixel size is
image sensor, like Omni Vision and Aptina [1]. 6.0*6.0um which provides a deep well depth[4]. The chip
OMAPL38 is a dual-core processor which integrates can work on a high frame rate of up to 60 fps at full
ARM926EJ-S and DSP TMS320C6748 in it. It also includes resolution. The system is working on progressive scan
a series of peripherals. ARM and DSP can operate these readout modes, and it can operate in a wide temperature
peripherals independently. With standardized interface, this range (-30°C to +70°C) [4].
chip can be transplanted with programs and functions from Fig. 2 is the block diagram of MT9V034. The sensor is
the third party [3]. And its standardized interface also allows composed of active-pixel sensor array, analog processing,
programs to be easily transplanted to different platforms. The ADCs, Control register for sdata/sclk to control the chip,
two microprocessor cores in OMAPL138 are all timing and control, and digital processing for parallel video
programmable, and rewriting either one can completely data out.
change the function of the system. The clock management of The quantum efficiency value indicates the amount of
each part is independent and the power consumption of this current that the pixel will produce when irradiated by
chip is effectively controlled. photons of a particular wavelength. In order to achieve
higher quantum efficiency, we choose the monochrome chip

978-1-5386-8311-8/18/$31.00 ©2018 IEEE 391


[4]. This system can achieve the quantum efficiency as high
as 50% at the wavelength of 550nm to 700nm, which is a
good parameter for the iris recognition system. we can see
that from Fig. 3.

Figure 5. Pixel readout timing.

The image sensor is designed with a separate interface


board to connect to the OMAPL38 board. In order to reduce
the readout noise, serpentine line is designed to send the
control signals and 10bit data to the OMAPL38 board. Fig. 6
is the interface board schematic design, with the power
supply of 3.3V.

Figure 2. Block diagram of MT9V034.

Figure 6. Interface circuits design.

B. VPIF Control
The core processor of the system is the OMAPL38 which
has multiple on/off chip memories and some external device
interfaces. In this system, ARM is used to receive the image
data and display it. The configuration for the ARM internal
Figure 3. Monochrome quantum efficiency. memory is 8kB local RAM, 64kB local ROM, 16kB
instruction Cache and 16kB Data cache, which is only
The image sensor can work in master, snapshot, or slave accessible by ARM [3]. The DSP side is left to process the
mode. This system works in the master mode when the captured image data. The shared on-chip RAM Memory is
sensor generates the readout timing. The integration time can 128KB which can be accessible not only by the ARM and
be programmed through the two-wire serial interface.[4] In DSP, but also several master peripherals.
the simultaneous master mode, the exposure time is decided The VPIF in the chip can support ITU-BT.656 format,
by the sensor itself during the readout time. Fig. 4 show the VBI data storage, Clipping of output data, Raw data
waveforms of the three signals when the readout capture[3]. It can accept up to 16bit parallel data. The VPIF
time >exposure time. module has two input channels and two output channels.
Each channel has 1 clock input and the clock edge can be
controlled by the CLKEDGE bit in the channel n control
register. And it can provide output clock for the external
device. So the image sensor can be connected to the input
channel and the LCD can be connected to the output
channel[5].
Table I and Table II describe the pin assignment on the
VPIF for receiving image data and the data transmitted to the
LCD. Table I is the receive pin arrangement. Shadowed
Figure 4. Master mode synchronization waveforms.
raw_v_valid can be connected to VSINC for the frame signal,
and raw_h_valid can be connected to line signal for the line
The data output of the MT9V034 is synchronized with data transmission.
the PIXCLK output. When the LINE_VALID goes high, In this system, the ADC is 10bit. DIN[9]..DIN[0] are
every 10bit pixel data is transferred to the output port at the connect to the parallel output of the sensor. The data is read
falling edge of the PIXCLK edge. Fig. 5 shows the pixel and saved directly by the processor. DOUT[15]..DIN[0] are
readout timing. connected to LCD for display.

392
TABLE I. RECEIVE PIN ARRANGEMENT terms of security and reliability. Moreover, its kernel source
code is open. Users can develop an embedded operating
system that meets their own requirements [8].
An efficient driver can support the stability of the whole
system. Fig. 9 is the software structure [5].

([HFXWDEOHILOH
IRU8VHU
TABLE II. OUTPUT PIN ARRANGEMENT

9/BGHYBYLGHR;
6HQVRUGULYHU
9/B68%'(9

In this system, a 7.0 inch, 800×480 TFT LCD is chosen ,PDJH6HQVRU


for the image display. The active area is 152.4mm(W) ×
91.44mm(H) [4]. The panel power consumption is about
0.825w. Fig. 7 is the input vertical timing. Figure 9. Software structure.

The driver and the capture structure are based on V4L2.


It is a collection of device drivers and API for supporting of
video capture on Linux systems. It supports many kinds of
optical sensors, USB webcams, TV tuners, and so on. The
driver is compiled in the Linux system and the video device
is as the /dev/video0, which can be read and write by the
Figure 7. Input vertical timing.
users just like the ordinary file.
A. Image Sensor Driver Design
The mt9v034 Linux 3.3 driver is based on I2C,
VIDEO_V4L2, VIDEO_V4L2_SUBDEV_API. The main
work is to set the register and read data from it through I2C.
Each device in the system has it unique ID. The device driver
will be automatically loaded when the system is powered on.
The function design includes the following functions in
Table III.

TABLE III. FUNCTION FOR THE SENSOR


Function Notes
Mt9v034_read Read data from the register
Mt9v034_write Write data to set the register
Mt9v034_power_on Reset and acquire the data
Mt9v034_power_off Stop the output data
Mt9v034_s_stram Column/row/window_width…
Mt9v034_set_format Set the output data format
Mt9v034_set_crop Clamp the crop rectangle
Mt9v034_registered Register the device to the OS
Mt9v034_subdev_core_op Interface for the V4L2
s
Figure 8. LCD VPIF interface.

III. SYSTEM SOFTWARE DESIGN


This system is based on embedded operating
system(EOS). There are kinds of EOS system, like Windows
CE, Palm OS, LynxOS, pSOS, VxWorks. Compared with
other kinds of operating system, Linux OS is excellent in Figure 10. Mt9v034’s driver registered by Linux 3.3.

393
After the system being turned on, the U-Boot, image and frame rate CMOS image sensor, the system can reach a
hardware/software information will be printed on the screen. frame rate of 60 fps with a 752 × 480 image format.
Fig. 10 is the device mt9v034 which is registered and Compared with the traditional iris image capturing system,
installed by the OS. this system improves the resolution from 8bit to 10bit [7], [8],
and the peak quantum efficiency exceeds 50%. The dual-
B. Application for Image Acquisition and Display core processor OMAPL38 provides more possibility for the
A complete image acquisition and display includes iris recognition development. The ARM+DSP architecture,
several parts: open the device, initiate the device, get the provides an low power and accurate platform for iris image
ability of the device, set the video format, request for buffers, processing [9], [10]. In the next step, we will add iris codes
memory mapping, put the buffers into the queen, start matching algorithm to the DSP to test the performance of
capture, get captured buffer, put a vane buffer to the buffer data processing.
line, stop capture, release capture data. Fig. 11 is the flow
chart.

*HWFDSWXUH
EXIIHU
67$57

&RQYHUWUDZ
LPDJHWR5*%
23(1'(9,&(

'LVSOD\LPDJH
,QLWLDWHGHYLFH

3XWEXIIHULQ
FDSWXUHFKDQQHOV
6WDUWFDSWXUH

6WRSFDSWXUH

5HOHDVHFDSWXUH

Figure 11. Flow chart of the capture and display application.

Parameters setting for the test:


1. Max Buffer for captured image: 4
2. Image sensor ID: /dev/video0
3. Initial mode:0_RDWR
4. Pixel format: V4L2_PIX_FMT_STRBG10

Figure 13. Image capture and dispay system.

ACKNOWLEDGMENT
This research was funded by the Intelligent Sensor
Network Foundation of Jiangsu (grant No. ZK14-04-01) and
the Research Fund of Nanjing Institute of Industry
Technology (grant No. YK15-04-07).
Figure 12. Lens used in the system. REFERENCES
[1] Ye Xuesong, Lu Ling, Cai Xiujun, Zhang Hong, Li Zan, Cheng
Fig. 12 is a 3MP, M12, F1.4, 1/2.7’’ lens used in the Licheng. Three-dimensional HD real-time video processing system
system, and Fig. 13 is the image capture and display system. based on FPGA and CMOS image sensor. Journal of Zhejiang
Compared with other similar system, The advantage of this University(Engineering Science), 2015, 49(1): 47-49.
one: ADC resolution (10bit), quantum efficiency (≥50%)ˈ [2] Kiran B. Raja, R. Raghavendra, Sushma, Venkatesh, Christoph Busch.
frame rate 60fps (27Mp/s). Multi-patch deep sparse histograms for iris recognition in visible
spectrum using collaborative subspace for robust verification. Pattern
IV. CONCLUSION Recognition Letter, 2017, 91:27-36.
[3] Texas Instruments. OMAPL38 C6000 DSP+ARM Processor
This program has designed a high-sensitive image Technical Reference Manual (Rev.A). America: Texas Instruments,
acquisition and display system. With the use of the high 2011.

394
[4] Aptina. 1/3-Inch Wide-VGA CMOS Digital Image Sensor. America: [8] Li Jining, Ma Lin, Zhang shaohua, Cheng Yali, Cheng Naipeng.
Aptina, 2008. Design of iris recognition system based on DSP and ZigBee. Journal
[5] Innolux Display Corporation. AT070TN83 V.1 LCM. of Measurement Science and Instrumentation,2018, 9(1) :169-173.
TaiWan,CHINA: Innolux Display Corporation, 2007. [9] Zhang Lei. Research and Design of Device Driver Based On
[6] Wang Fei, Kong Cong. Implementation of Linux Video Capture Embedded Linux System. Southwest Jiaotong University: Southwest
Driver Based on V4L2 Architecture. Electronic Sci. & Tech., 2012, Jiaotong University , 2008. 1-42.
25(2): 86-88. [10] Dong Jingwei, Li Juyan, Liu Bingru, Dong Cheng, Tang Guanhua.
[7] David F, Vera Diego, M Cadena, Jesus M, Ramirez. Iris Recognition Iris Recognition System Based on DSP Hardware Design and the Pre-
Algorthm on BeagleBone Black. The 8th IEEE International Processing Algorith Research. The 11th International Conference on
Conference on Inteligent Data Acquisition and Advanced Computing Electronic Measurement & Instruments: IEEE,2013.
Systems: Technology and Applications: IEEE,2015.

395

View publication stats

You might also like