Image Acquisition Method Based on TMS320DM642

Similar documents
Application of High-Voltage Power Supply on Electrostatic Precipitator

Finite Element Analysis and Test of an Ultrasonic Compound Horn

Power Analysis of Sensor Node Using Simulation Tool

Analysis on Application of Traditional Arts and Crafts in Exhibition Design

Design of Acoustic Emission Data Acquisition System of Wood Damage

A Novel Method of Auxiliary Power Supply Used in Wide-Range High Voltage Input DC-DC Converter

Design of a Hardware/Software FPGA-Based Driver System for a Large Area High Resolution CCD Image Sensor

Performance Metric of Z Source CHB Multilevel Inverter FED IM for Selective Harmonic Elimination and THD Reduction

Used in Image Acquisition Area CCD Driving Circuit Design

Design of stepper motor position control system based on DSP. Guan Fang Liu a, Hua Wei Li b

The Study of Full-Size Objects Bistatic Rader Cross Section Measurement Based on Photoelectric Conversion

Dual Visual Cryptography Using the Interference Color of Birefringent Material

AN IMPLEMENTATION OF MULTI-DSP SYSTEM ARCHITECTURE FOR PROCESSING VARIANT LENGTH FRAME FOR WEATHER RADAR

CMOS MT9D111Camera Module 1/3.2-Inch 2-Megapixel Module Datasheet

The Measurement and Uncertainty Analysis of Antenna Factor of Microwave Antennas Based on Standard Site Method

4 Channel 200 Ksps 12 Bit Adc With Sequencer In 16 Lead

Peripheral Imaging Corporation

Simulation Based Design Analysis of an Adjustable Window Function

A High Definition Motion JPEG Encoder Based on Epuma Platform

A Novel Multilevel Inverter Employing Additive and Subtractive Topology

Modified Diode Assisted Extended Boost Quasi Z-Source Inverter for PV Applications

Classification of ITU Recommendations and. and Reports Base on IMT-2020 High Frequency

Engineer-to-Engineer Note

Microprocessor & Interfacing Lecture Programmable Interval Timer

UNISONIC TECHNOLOGIES CO., LTD M1008 Preliminary CMOS IC

I hope you have completed Part 2 of the Experiment and is ready for Part 3.

A new Photon Counting Detector: Intensified CMOS- APS

Decision Based Median Filter Algorithm Using Resource Optimized FPGA to Extract Impulse Noise

Imaging serial interface ROM

The Tilings of Deficient Squares by Ribbon L-Tetrominoes Are Diagonally Cracked

A new Photon Counting Detector: Intensified CMOS- APS

Designing with STM32F3x

The Design and Simulation of Embedded FIR Filter based on FPGA and DSP Builder

An Embedded System for Tracking Human Motion and Humanoid Interfaces

Implementation of Pixel Array Bezel-Less Cmos Fingerprint Sensor

Minimization of Switching Devices and Driver Circuits in Multilevel Inverter

The rangefinder can be configured using an I2C machine interface. Settings control the

Study on the Characteristics of LFM Signals, BC Signals and Their Mixed Modulation Signals

HT82V Bit CCD/CIS Analog Signal Processor. Features. Applications. General Description. Block Diagram

A Crop Monitoring System Based on Wireless Sensor Network

CMOS MT9D112 Camera Module 1/4-Inch 3-Megapixel Module Datasheet

Design of a Frequency Counter Based on Input Capture Function of a. Single Chip Computer. Wang Yanshuang; Liu Yuelong

Journal of Engineering Science and Technology Review 9 (5) (2016) Research Article. L. Pyrgas, A. Kalantzopoulos* and E. Zigouris.

Design of double loop-locked system for brush-less DC motor based on DSP

CHAPTER III THE FPGA IMPLEMENTATION OF PULSE WIDTH MODULATION

Study on Laser Conditioning Parameters of HfO2/SiO2 Multilayer Mirrors

FIR Filter for Audio Signals Based on FPGA: Design and Implementation

How different FPGA firmware options enable digitizer platforms to address and facilitate multiple applications

HT82V26A 16-Bit CCD/CIS Analog Signal Processor

Research on Selection of Technological Innovation Mode for Large and Medium-Sized Construction Enterprises in China

The Application of Clock Synchronization in the TDOA Location System Ziyu WANG a, Chen JIAN b, Benchao WANG c, Wenli YANG d

Complete 14-Bit CCD/CIS Signal Processor AD9814

Design of Automatic Control System for NDT Device

USB4. Encoder Data Acquisition USB Device Page 1 of 8. Description. Features

An Efficient Method for Implementation of Convolution

Development of front-end readout electronics for silicon strip. detectors

On the Design of Plus Slotted Fractal Antenna Array

Implementation of Face Detection System Based on ZYNQ FPGA Jing Feng1, a, Busheng Zheng1, b* and Hao Xiao1, c

Development of Telescope Readout System based on FELIX for Testbeam Experiments

Corrosion Assessment of Offshore Oil Pipeline Based on Ultrasonic. Technique

The design and implementation of high-speed data interface based on Ink-jet printing system

LM12L Bit + Sign Data Acquisition System with Self-Calibration

Study on OFDM Symbol Timing Synchronization Algorithm

A Compiler Design Technique for EMS Test CS115

ML ML Bit A/D Converters With Serial Interface

THE PERFORMANCE TEST OF THE AD CONVERTERS EMBEDDED ON SOME MICROCONTROLLERS

A Linear Array Antenna of Microstrip Patch Antennas Fed by the Open-End of Coplanar Waveguides

ISSN: [Pandey * et al., 6(9): September, 2017] Impact Factor: 4.116

Hello, and welcome to this presentation of the STM32 Digital Filter for Sigma-Delta modulators interface. The features of this interface, which

Part Number SuperPix TM image sensor is one of SuperPix TM 2 Mega Digital image sensor series products. These series sensors have the same maximum ima

Pixel. Pixel 3. The LUMENOLOGY Company Texas Advanced Optoelectronic Solutions Inc. 800 Jupiter Road, Suite 205 Plano, TX (972)

FPGA Based Sigma Delta Modulator Design for Biomedical Application Using Verilog HDL

Design of high precision current signal source on DDS Han Ya Kun1, a, Suo Xue Song*,1, b

functional block diagram (each section pin numbers apply to section 1)

ADQ214. Datasheet. Features. Introduction. Applications. Software support. ADQ Development Kit. Ordering information

Exercise 3: Sound volume robot

The Hardware Design of Partial Discharge Online Monitoring for Large Power Transformers System

A Driver Circuit of Spatial Light Modulator

IMAGE TYPE WATER METER CHARACTER RECOGNITION BASED ON EMBEDDED DSP

Select the single most appropriate response for each question.

Agilent ADCS-1121, ADCS-2121 CMOS Monochrome Image Sensors Data Sheet

A Millimeter-wave Radar Signal Processing Method based on FPGA+DSP Dejun Chen, Yang Liu, Yu Yin, Dong Liu

Data Sheet SMX-160 Series USB2.0 Cameras

DS2165Q 16/24/32kbps ADPCM Processor

Design of the circuit for FSK modulation based on AD9910. Yongjun 1,2

FPGA-BASED DESIGN AND IMPLEMENTATION OF THREE-PRIORITY PERSISTENT CSMA PROTOCOL

Design of Removable Guardrail System Based on ZigBee Network

icwaves Inspector Data Sheet

Application of CPLD in Pulse Power for EDM

Implementation of a quasi-digital ADC on PLD

Corona Current Data Acquisition Card Based on USB Bus in Extra High Voltage Environment

ELEX Now You See Me. Project Report

HT82V38 16-Bit CCD/CIS Analog Signal Processor

The Hardware Design of Power Quality Online Monitoring Device Based. on MCU

A Measuring Method about the Bus Insulation Resistance of Power Battery Pack

BPSK_DEMOD. Binary-PSK Demodulator Rev Key Design Features. Block Diagram. Applications. General Description. Generic Parameters

Developing Innovative Concepts for Measuring. and Assessing Transit System Maturity.

USING EMBEDDED PROCESSORS IN HARDWARE MODELS OF ARTIFICIAL NEURAL NETWORKS

Complete 14-Bit CCD/CIS Signal Processor AD9822

ISSN:

Transcription:

Journal of Computer and Communications, 2017, 5, 119-124 http://www.scirp.org/journal/jcc ISSN Online: 2327-5227 ISSN Print: 2327-5219 Image Acquisition Method Based on TMS320DM642 Li Liu, Yining Liu Liaoning University of Science & Technology, Anshan, China How to cite this paper: Liu, L. and Liu, Y.N. 2017) Image Acquisition Method Based on TMS320DM642. Journal of Computer and Communications, 5, 119-124. https://doi.org/10.4236/jcc.2017.55010 Received: February 22, 2017 Accepted: March 28, 2017 Published: March 31, 2017 Copyright 2017 by authors and Scientific Research Publishing Inc. This work is licensed under the Creative Commons Attribution International License (CC BY 4.0). http://creativecommons.org/licenses/by/4.0/ Open Access Abstract In order to achieve high-speed, real-time and accurate, an image acquisition method based on digital signal processor (DSP) TMS320DM642 is proposed for the paper currency image acquisition [1]. System will be high speed digital signal processing (DSP) technology and complex programmable logic device (CPLD) and CIS acquisition module combination, the structure of acquisition system is given and the time series analysis, during the process of collecting this kind of design has the advantages of simple implementation, high recognition rate [2]. Keywords Digital Signal Processor (DSP), Image Acquisition System, CIS Sensor, Complex Programmable Logic Device (CPLD), Work Time-Sequence, Programmable Logic 1. Working Principle of Image Acquisition System In the design of test system hardware circuit, the technologies of CIS Complex programmable logic device (CPLD) and digital signal processor (DSP) are combined [3]. After high speed collection through CIS and conversion with A/D, the bill image data are saved in the DSP space, selected company TMS320C671I as DSP, which used high speed digital signal processing function fully, and the DSP gives the image data a series of disposal in order to realize the recognition and separation. Selected Xilinx Company XC95144 as CPLD, which used high speed logic signal processing function fully, and the CPLD provides the clock and logical signals for the whole system. The timing of triggering should be consistent with the timing mode set by the DSP processor s video port (configurable video capture interface) to ensure data accuracy [4]. After the completion of a row of data transmission, DSP internal DOI: 10.4236/jcc.2017.55010 March 31, 2017

expansion of the direct memory access interrupt, the data sent to the internal RAM. Figure 1 shows structure of image acquisition system 2. Design of Time Sequence of Image Acquisition System 2.1. Design of Acquisition Module The operation of the sensor is such that a line of the bill is photographed by the image sensing element through the lenticular lens by the illumination of the acquisition light source and then the next row of the banknote can be taken as the shift pulse arrives [5]. Banknotes are read line by line, driven by the external timing circuit, each time the shift register to move a row, waiting for one by one to be read, then shift the shift register to a row. This is repeated until all the images are read. CP is the clock synchronization for each pixel, and SIG is the sampled analog output. SI and CLK signal control SIG analog signal output. The rising edge of SI triggers a line scan and the analog output signal SIG is output on the rising edge of CLK1. In the 65th cycle to collect the first valid signal Pixell, a row of 576 pixels will scan the corresponding sensor sampling level sent through the SIG pin out. The timing shows in Figure 2. 2.2. Work Time Sequence of A/D Conversion The AD9822 is a multiplexed, high-performance 14-bit A/D converter [6]. The three-channel operation mode is used and the conversion frequency could reach 15MSPS. During initialization after DSP is powered on, A/D converter needs to be configured to choose the work mode. For the AD9822 internal register configuration, 3-wire serial communication interface is used. Figure 3 is the AD9822 register serial write timing diagram. When the strobe signal SLOAD is at the low level, data on the data line SDATA is serially written to the A/D internal register at the rising edge of the clock SCLK. In Figure 3, the 16-bit data of SDATA are composed of the selected bits of the read and write operations, the selection bits of the register address and the 9-bit register data. Figure 1. Structure of image acquisition system. Figure 2. Work time sequence of sensor. 120

Figure 3. Serial write timing. Figure 4. 3-channel SHA mode timing. The system uses a 3-channel SHA mode to transform the data. Figure 4 is the A/D Conversion Time Sequence of 3-channel SHA mode of AD9822. 2.3. Data Cache Module As the CPLD and DSP have different global clock, the A/D data collected to the DSP when the rate does not match, prone to data distortion or missing. Asynchronous FIFO (FIFO) can be used to cache data, to ensure the safety of data transmission [7]. There are 36 M4K memory modules in the EP2C5Q208C8 with a total bit count of 165,888 and can be configured for various sizes of memory such as single-port RAM, dual-port RAM and synchronous FIFO [8]. Figure 5 and Figure 6, respectively, for the FIFO write timing diagram and read timing diagram. When the write request wrreq signal is valid, write data to the FIFO, when the full flag wfull is high cannot write data, while triggering DSP interrupt, DSP ready to read the data; When the read request rdreq signal is valid, by EDMA Channel, the DSP begins to read the FIFO data, when read empty flag bit rdempty is high cannot continue to read, while FPGA control bit initialization FIFO, ready to write the next line of data. 2.4. Interface Logic and Control Logic The timing of image acquisition module is uniformly controlled by CPLD [9], that is controlled by the CPLD image sensor CIS sampling timing pulse CP and shift timing pulse SP, while also controlling the AD9822A/D conversion clock, 121

Figure 5. FIFO writes timing. Figure 6. FIFO read timing. the CIS acquisition and AD9822 conversion parallel execution, Improve the image acquisition conversion efficiency. PI240MC-A4 sample CP timing is 5 MHZ clock pulse, and the duty cycle of 25%, shift the SP timing of the cycle is 0.373 ms, the shift output VOUT in the SP low level when the shift output, while providing AD9822 conversion Clock, it and the sampling clock to match the CIS, AD9822 ADCLK conversion clock to 5 MHz, so CIS in image acquisition, AD9822 in the last acquisition of the data conversion, in order to achieve image acquisition and signal conversion in parallel processing. Since the banknote resolution is set to 800 100, a total of 100 lines, image acquisition and AD conversion of the total time will be completed within 37.3 ms. This system uses the programmable logic device XC95144XL-TQ100 to implement the interface logic and control logic [10]. 3. Timing Simulation Analysis In this paper, the work sequence of CIS, A/D, and FIFO is simulated in Quartus II, respectively. For example, Figure 7 shows the sensor timing, timing simulation in figure DSP, the sensor line synchronizing signal and the pixel sync signal is strictly controlled, the output signal of SIG. using DSP hardware resources and strict timing control you can get the desired characteristics, this system can be 122

Figure 7. XC95144XL-TQ100 interface time sequence. very good to complete the work of the image acquisition. To improve the processing function of the system, fully meet the requirements of real-time sorter image processing system. 4. Conclusion In this paper, the TMS320DM642 chips DSP as the core to complete the design of the image acquisition system. Through the simulation, a careful analysis of the TMS320DM642 image sensor of CIS scanning process, data transmission and other steps of sequential control between ADC and CPLD and DSP, highlights the logic control ability of TMS320DM642 is very good. This system can meet the real-time requirements of the sorter image acquisition, has certain significance for the study of the sorter. Acknowledgements Image acquisition is a prerequisite for image processing. Due to the large amount of data in image processing, data processing is highly correlated, and a variety of image acquisition card processing function is simple in market, cannot meet the demand. In order to improve the acquisition speed, this paper presents an image acquisition method based on TMS320DM642. Through the DSP and 123

CPLD software programming to control the frequency of data acquisition and perform strict frame and field time limits. It not only solves the problems of highly integrated electronic system low power consumption and high stability, but also has the characteristics of high universality and low cost. References [1] Jiang, S.M. and Liu, C. (2005) TMS 320C 6000DSP Application Development Course. Mechanical Industry Press, Beijing. [2] TMS320C6000 DSP Enhanced Direct Memory Access (EDMA) Controller Reference Guide. (2006) Texas Instruments, Inc. [3] Liu, G.X., et al. (2000) CIS Signal Detection and Processing Technology. Optoelectronic Engineering, 27, 18-20. [4] Liu, H.Y. (2008) Design and Implementation of Image Acquisition Processing System Based on TMS320DM642, 2, 78-80. [5] Yang, Y. (2007) Video Sampling Design of High-Speed CIS without Dark Level Information. Science and Technology and Engineering, 7, 3915-3917. [6] Complete 14-Bit CCD/CIS Signal Processor AD9822. (2005) Analog Devices, Inc. [7] Zhuang, K.Y., et al. (2004) DSP Implementation of Real-time Image Processing System. Automation Technology and Application, 23, 59-61. [8] Zhou, Y.-B., Zhao, Y.-J., Liu, M. and Wang, X.-Y. (2004) Real-Time Digital Image Stabilization System Based on C6711 DSP. Transaction of Beijing Institute of Technology, 24, 435-438. [9] Liao, Ch.B. and Zhang, J. (2002) Real-Time Night Vision Image Processing Based on TMS320C6201 DSP Hardware and Software. Proceedings of the Second International Symposium on Instrumentation and Technology, Jinan, 18-22 August 2002, 490-494. [10] Zhang, X.F. and Yuan, X.H. (2002) Realization of Video Image Acquisition Part Based on DSP Imaging System. Piezoelectric and Acousto-Optic, 24, 247-249. Submit or recommend next manuscript to SCIRP and we will provide best service for you: Accepting pre-submission inquiries through Email, Facebook, LinkedIn, Twitter, etc. A wide selection of journals (inclusive of 9 subjects, more than 200 journals) Providing 24-hour high-quality service User-friendly online submission system Fair and swift peer-review system Efficient typesetting and proofreading procedure Display of the result of downloads and visits, as well as the number of cited articles Maximum dissemination of your research work Submit your manuscript at: http://papersubmission.scirp.org/ Or contact jcc@scirp.org 124