[go: up one dir, main page]

CN203433576U - CIS-based multispectral bill image capturing device - Google Patents

CIS-based multispectral bill image capturing device Download PDF

Info

Publication number
CN203433576U
CN203433576U CN201320526829.6U CN201320526829U CN203433576U CN 203433576 U CN203433576 U CN 203433576U CN 201320526829 U CN201320526829 U CN 201320526829U CN 203433576 U CN203433576 U CN 203433576U
Authority
CN
China
Prior art keywords
cis
bill
sensor
light source
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CN201320526829.6U
Other languages
Chinese (zh)
Inventor
陈安
段俊欢
胡跃明
吴忻生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN201320526829.6U priority Critical patent/CN203433576U/en
Application granted granted Critical
Publication of CN203433576U publication Critical patent/CN203433576U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Inspection Of Paper Currency And Valuable Securities (AREA)

Abstract

本实用新型提供了一种基于CIS的多光谱票据图像采集装置,该装置至少包括红外传感器、光电开关传感器、光栅盘、传送机构、多光源接触式图像传感器CIS、FPGA控制电路、光源控制电路、传感器电路、A/D转换电路和直流电机。该装置和方法在多光谱条件下,用可见光、紫外光、红外光或组合光主动光源照射票据完成图像拍摄,采用计算机串口进行光源方案选择,实现高速、实时、高质量的图像采集、显示和存储。利用本实用新型,可以快速获得高质量、多光谱情况下的票据图像数据,可用于票据真伪的分析,从而解决票据真伪的高速、高精度识别,提高票据识别系统的准确性、稳定性和实时性。

The utility model provides a CIS-based multi-spectral bill image acquisition device, which at least includes an infrared sensor, a photoelectric switch sensor, a grating disc, a transmission mechanism, a multi-light source contact image sensor CIS, an FPGA control circuit, a light source control circuit, Sensor circuit, A/D conversion circuit and DC motor. The device and method use visible light, ultraviolet light, infrared light or combined light active light sources to irradiate bills to complete image shooting under multi-spectral conditions, and use computer serial ports to select light source schemes to achieve high-speed, real-time, high-quality image acquisition, display and storage. With the utility model, high-quality, multi-spectral bill image data can be quickly obtained, which can be used for bill authenticity analysis, thereby solving the high-speed and high-precision identification of bill authenticity, and improving the accuracy and stability of the bill recognition system and real-time.

Description

一种基于CIS的多光谱票据图像采集装置A CIS-based Multi-spectral Bill Image Acquisition Device

技术领域 technical field

本实用新型涉及电子电路技术领域,特别是涉及具有防伪特征票据的图像采集技术,为票据特征识别、机器视觉等领域提供了一种新的图像获取设备。 The utility model relates to the technical field of electronic circuits, in particular to the image acquisition technology of bills with anti-counterfeiting features, and provides a new image acquisition device for bill feature recognition, machine vision and other fields.

背景技术 Background technique

伴随着相关技术的发展,假票据制作水平越来越高,以假乱真的现象也变得越来越猖獗,影响人们日常生活和社会的稳定,因此提高现有鉴别设备的识别能力势在必行。 With the development of related technologies, the production level of counterfeit bills is getting higher and higher, and the phenomenon of confusing real ones is becoming more and more rampant, affecting people's daily life and social stability. Therefore, it is imperative to improve the recognition ability of existing identification equipment.

重要票据基本上都具有防伪特征,且其中大多数防伪特征可以在多光谱图像中有所体现。真假票据在多光谱图像中表现出不同的特征,便于设备进行区分和识别。因此,多光谱图像分析鉴别技术成为提升设备能力的重要环节。 Important bills basically have anti-counterfeiting features, and most of them can be reflected in multispectral images. The real and fake bills show different features in the multispectral image, which is convenient for equipment to distinguish and identify. Therefore, multispectral image analysis and identification technology has become an important link to improve equipment capabilities.

为了提高现有设备的鉴别能力,需要在设备中引入了图像环节。现有的固态图像传感器可分为电荷耦合元件CCD与金属氧化物半导体元件CMOS两种。接触式图像传感器CIS 是以CMOS技术为主的一种新型光电耦合器件,与CCD相比,具有积小、重量轻、功耗低、结构紧凑、便于安装等优点,适用于传统鉴别设备的改进。 In order to improve the identification ability of the existing equipment, it is necessary to introduce an image link into the equipment. Existing solid-state image sensors can be classified into charge-coupled device CCD and metal-oxide-semiconductor device CMOS. Contact image sensor CIS is a new type of photoelectric coupling device based on CMOS technology. Compared with CCD, it has the advantages of small size, light weight, low power consumption, compact structure, and easy installation. It is suitable for the improvement of traditional identification equipment. .

CIS是一种自带光源的线性传感器,扫描一次仅能得到一帧或行图像信息,因此,图像采集时必须配合横向(垂直于CIS方向)的运动,才能得到一幅完整的二维图像。由此可以看出,CIS图像的起始采集位置和停止采图位置对采集到的一幅图像数据产生影响。如果当票据还未到或已经通过CIS正下方时,设备仍旧在采集图像,这种情况下即增加了设备图像采集的时间,采集到的图像又会出现冗余,影响图像采集的稳定性和实时性。 CIS is a linear sensor with its own light source, and only one frame or line of image information can be obtained at a time of scanning. Therefore, a complete two-dimensional image must be obtained when the image is collected with a horizontal (perpendicular to the CIS direction) movement. It can be seen from this that the starting position of the CIS image acquisition and the stop position of the image acquisition have an impact on the acquired image data. If the device is still collecting images when the bill has not arrived or has passed directly under the CIS, in this case, the time for image collection of the device will be increased, and the collected images will appear redundant, which will affect the stability and quality of image collection. real-time.

传统的方法是通过设备前端加入红外传感器作为判断CIS采图起始位置的依据,为了防止票据在高速运动过程中倾斜等情况的影响,红外传感器需要安装于CIS前端位置并保证一定的距离要求(若安装于同一条线上,在票据倾斜情况下,红外传感器触发采图时票据已通过CIS,导致有效图像数据丢失),此时有下面两种处理情况。 The traditional method is to add an infrared sensor to the front of the device as the basis for judging the starting position of the CIS image acquisition. In order to prevent the impact of bills tilting during high-speed movement, the infrared sensor needs to be installed at the front of the CIS and ensure a certain distance requirement ( If it is installed on the same line, when the bill is tilted, the bill has passed the CIS when the infrared sensor triggers the image capture, resulting in the loss of valid image data). At this time, there are the following two processing situations.

第一种情况,将红外传感器的边沿信号直接作为图像的场同步触发信号,由于红外传感器和CIS的距离要求,采集到的图像会出现冗余。 In the first case, the edge signal of the infrared sensor is directly used as the field synchronization trigger signal of the image. Due to the distance requirement between the infrared sensor and the CIS, the collected images will be redundant.

第二种情况,若延时一定距离或时间后再触发一幅图像的采集,此时,采集图像受到机械性能的影响,不稳定。 In the second case, if the acquisition of an image is triggered after a certain distance or time delay, at this time, the acquired image is affected by mechanical properties and is unstable.

根据上述情况,本专利提出了一种基于CIS的多光谱票据图像采集处理方法,该方法利用FPGA并行高速处理的特点,在图像采集的前端即对图像进行判断,以采集端的图像信息作为整幅图像的启停的控制的直接判断依据,不完全依赖系统的机械性能。 According to the above situation, this patent proposes a CIS-based multi-spectral bill image acquisition and processing method. This method uses the characteristics of FPGA parallel high-speed processing to judge the image at the front end of image acquisition, and uses the image information at the acquisition end as the entire image. The direct judgment basis for the control of the start and stop of the image does not completely depend on the mechanical properties of the system.

实用新型内容 Utility model content

针对上述技术问题,本实用新型的一个目的在于提供一种基于CIS的多光谱票据图像采集装置,从满足装置稳定性、实时性的角度确保获得稳定、高质量的图像。 In view of the above technical problems, an object of this utility model is to provide a CIS-based multi-spectral bill image acquisition device, which ensures stable and high-quality images from the perspective of device stability and real-time performance.

一种基于CIS的多光谱票据图像采集装置,该装置至少包括红外传感器、光电开关传感器、光栅盘、传送机构、多光源接触式图像传感器CIS、FPGA控制电路、光源控制电路、传感器电路、A/D转换电路和直流电机; A multi-spectral bill image acquisition device based on CIS, the device at least includes an infrared sensor, a photoelectric switch sensor, a grating disc, a transmission mechanism, a multi-light source contact image sensor CIS, an FPGA control circuit, a light source control circuit, a sensor circuit, A/ D conversion circuit and DC motor;

其中,红外传感器固定于传送机构的前端位置,用于检测传送结构上是否有票据通过,如果检测到票据通过红外传感器时,则通过传感器电路将产生的信号通知FPGA控制电路开始采集一幅图像;否则,继续检测; Among them, the infrared sensor is fixed at the front end of the transmission mechanism, and is used to detect whether there is a bill passing through the transmission structure. If it is detected that the bill passes through the infrared sensor, the signal generated by the sensor circuit will be notified to the FPGA control circuit to start collecting an image; Otherwise, continue to detect;

光电开关传感器固定于光栅盘的一侧,与光栅盘配合产生用于CIS图像采集的帧或行同步信号; The photoelectric switch sensor is fixed on one side of the grating disc, and cooperates with the grating disc to generate frame or line synchronization signals for CIS image acquisition;

光栅盘固定于直流电机同轴位置,与光电开关传感器配合,用于检测传送机构的传动速度以及产生CIS图像采集的帧或行同步信号; The grating disk is fixed on the coaxial position of the DC motor, and cooperates with the photoelectric switch sensor to detect the transmission speed of the transmission mechanism and generate the frame or line synchronization signal for CIS image acquisition;

传送机构由直流电机按照固定的传送比传动,票据通过传送机构的传送带传动作用,快速稳定的通过红外传感器和多光源接触式图像传感器CIS; The transmission mechanism is driven by a DC motor according to a fixed transmission ratio. The bills pass through the infrared sensor and the multi-light source contact image sensor CIS quickly and stably through the transmission effect of the conveyor belt of the transmission mechanism;

多光源接触式图像传感器CIS固定于传送机构的中端位置,垂直于票据的运动方向,通过FPGA控制电路控制,动态检测票据的图像信息; The multi-light source contact image sensor CIS is fixed at the middle position of the transmission mechanism, perpendicular to the movement direction of the bill, controlled by the FPGA control circuit, and dynamically detects the image information of the bill;

FPGA控制电路用于控制多光谱票据图像采集方案选择,通过光源控制电路控制多光源接触式图像传感器CIS完成多光谱图像采集任务; The FPGA control circuit is used to control the selection of the multi-spectral bill image acquisition scheme, and the multi-light source contact image sensor CIS is controlled by the light source control circuit to complete the multi-spectral image acquisition task;

光源控制电路用于连接FPGA控制电路和多光源接触式图像传感器CIS,完成CIS的光源开关操作; The light source control circuit is used to connect the FPGA control circuit and the multi-light source contact image sensor CIS to complete the light source switching operation of the CIS;

传感器电路用于红外传感器和光电开关传感器的滤波、放大以及电平转换,将传感器信号转换为数字信号,用于FPGA的判断一副图像采集的起始位置和一帧图像的启动位置; The sensor circuit is used for filtering, amplification and level conversion of the infrared sensor and the photoelectric switch sensor, and converts the sensor signal into a digital signal, which is used for FPGA to judge the starting position of an image acquisition and the starting position of a frame of image;

A/D转换电路用于将CIS输出的模拟信号转换为数字信号并传输到FPGA内部; The A/D conversion circuit is used to convert the analog signal output by the CIS into a digital signal and transmit it to the FPGA;

直流电机用于传送机构传动,传送机构上的票据快速、稳定的通过多光源接触式图像传感器CIS。 The DC motor is used for the transmission of the transmission mechanism, and the bills on the transmission mechanism pass through the multi-light source contact image sensor CIS quickly and stably.

进一步地,多光源接触式图像传感器CIS内置可见光、紫外光、红外光光源,且每一路光源可单独控制开关。 Furthermore, the multi-light source contact image sensor CIS has built-in visible light, ultraviolet light, and infrared light sources, and each light source can be individually controlled on and off.

进一步地,红外传感器安装于票据运动方向的前端位置,多光源接触式图像传感器CIS安装于票据运动方向的中断位置,即票据在传送机构上运动时,先通过红外传感器,后通过多光源接触式图像传感器CIS。 Further, the infrared sensor is installed at the front end of the bill movement direction, and the multi-light source contact image sensor CIS is installed at the interruption position of the bill movement direction. Image sensor CIS.

进一步地,FPGA控制电路中FPGA负责完成多光源接触式图像传感器CIS的驱动和光源控制、图像采集与存储。 Furthermore, the FPGA in the FPGA control circuit is responsible for the driving of the multi-light source contact image sensor CIS, light source control, image acquisition and storage.

进一步地,红外传感器在票据通过时产生的脉冲信号作为CIS一幅图像采集开始的场同步信号,光电开关传感器配合光栅盘产生的脉冲信号作为CIS一帧或行图像采集开始的行同步信号,采集的图像的纵向分辨率一致。 Furthermore, the pulse signal generated by the infrared sensor when the bill passes is used as the field synchronization signal for the start of one image acquisition of the CIS, and the pulse signal generated by the photoelectric switch sensor in cooperation with the grating disc is used as the line synchronization signal for the start of one frame or line image acquisition of the CIS. The vertical resolution of the images is the same.

一种基于CIS的多光谱票据图像采集方法,该方法包括: A CIS-based multi-spectral bill image acquisition method, the method comprising:

票据通过传送机构传动,在未通过红外传感器时,FPGA内部的采图机制处于初始等待状态,此时CIS未启动工作; The bill is transmitted through the transmission mechanism. When the bill does not pass the infrared sensor, the image acquisition mechanism inside the FPGA is in the initial waiting state, and the CIS does not start working at this time;

票据通过传送机构并接触到红外传感器时,FPGA内部的采图机制跳入延时等待状态,该状态并以外部码盘信号作为帧或行同步信号触发CIS采图,但并不进行图像存储; When the bill passes through the transmission mechanism and touches the infrared sensor, the image acquisition mechanism inside the FPGA jumps into the delay waiting state. In this state, the external code disc signal is used as the frame or line synchronization signal to trigger the CIS image acquisition, but the image is not stored;

FPGA利用CIS采集到的一帧图像进行判断,当满足状态跳转要求时,即此时FPGA判断票据已经在CIS的正下方,FPGA内部的采图机制跳入有效采图状态,此状态同时开启CIS采图和图像储存; The FPGA uses a frame of image collected by the CIS to make a judgment. When the state jump requirements are met, that is, the FPGA judges that the ticket has been directly below the CIS at this time, and the image acquisition mechanism inside the FPGA jumps into the effective image acquisition state, and this state is turned on at the same time. CIS map acquisition and image storage;

FPGA在图像存储的同时,对采集到的一帧图像进行判断,当判断结果满足状态跳转要求时,FPGA内部的采图机制跳转入初始等待状态,等待下一幅图像的采集。 While the image is being stored, the FPGA judges the captured frame of image. When the judgment result meets the state jump requirements, the image acquisition mechanism inside the FPGA jumps into the initial waiting state and waits for the next image to be collected.

进一步地,FPGA采图机制判断是否进入采图有效状态的依据是CIS采集传送机构背景的图像信息和票据的图像信息的差异性,FPGA只完成票据在CIS正下方时图像的采集和存储。 Furthermore, the basis for the FPGA image acquisition mechanism to judge whether to enter the effective state of image acquisition is the difference between the image information of the CIS acquisition and transmission mechanism background and the image information of the bill, and the FPGA only completes the image acquisition and storage when the bill is directly below the CIS.

进一步地,FPGA内部的采图机制的延时等待状态,目的在于过滤掉红外传感器(1)与多光源接触式图像传感器CIS安装之间存在的一定距离而产生的伪图像数据。 Furthermore, the purpose of the delay waiting state of the image acquisition mechanism inside the FPGA is to filter out the false image data generated by a certain distance between the infrared sensor (1) and the CIS installation of the multi-light source contact image sensor.

进一步地,FPGA内部的采图机制的有效采图状态,此状态完成多光谱票据图像采集任务,当FPGA判断出票据已经通过CIS并跳入初始等待状态时,完成一幅图像的采集任务。 Furthermore, the effective image acquisition state of the image acquisition mechanism inside the FPGA completes the multi-spectral bill image acquisition task. When the FPGA judges that the bill has passed the CIS and jumps into the initial waiting state, the acquisition task of an image is completed.

进一步地,多光谱图像选择可通过PC机通知FPGA选择不同采图方案,通过光源控制电路完成对不同帧或行图像的采集。 Further, the multi-spectral image selection can notify the FPGA to select different image acquisition schemes through the PC, and complete the acquisition of different frames or line images through the light source control circuit.

利用本实用新型,可以快速获得高质量、多光谱情况下的票据图像数据,可用于票据真伪的分析,从而解决票据真伪的高速、高精度识别,提高票据识别系统的准确性、稳定性和实时性。 With the utility model, high-quality, multi-spectral bill image data can be quickly obtained, which can be used for bill authenticity analysis, thereby solving the high-speed and high-precision identification of bill authenticity, and improving the accuracy and stability of the bill recognition system and real-time.

附图说明 Description of drawings

图1为基于CIS的票据图像采集装置结构示意图。 Fig. 1 is a schematic structural diagram of a bill image acquisition device based on CIS.

图2为基于SOPC技术的图像采集模块图。 Figure 2 is a block diagram of image acquisition based on SOPC technology.

图3为基于CIS的票据图像采集装置的工作流程图。 Fig. 3 is a working flowchart of the bill image acquisition device based on CIS.

图4为用于描述整个图像采集过程的FPGA内部状态转移图。 Figure 4 is a state transition diagram within the FPGA used to describe the entire image acquisition process.

具体实施方式 Detailed ways

下面结合实施例及附图对本实用新型作进一步详细说明,但本实用新型的实施方式不限于此。 The utility model will be described in further detail below in conjunction with the embodiments and accompanying drawings, but the implementation of the utility model is not limited thereto.

实施例:Example:

本实用新型选用自带多光源的三通道CIS,自带光源包括可见光、紫外光和红外光,且每一路光源可单独控制开关,便于不同光谱的组合。选择三通道CIS的目的在于降低缩短CIS每帧或行图像采集的时间,提高设备的实时性。 The utility model selects a three-channel CIS with multiple light sources, which include visible light, ultraviolet light and infrared light, and each light source can be individually controlled on and off to facilitate the combination of different spectra. The purpose of choosing a three-channel CIS is to reduce the time for each frame or line image acquisition of the CIS and improve the real-time performance of the equipment.

图1为装置的结构示意图,该装置至少包括红外传感器1、光电开关传感器2、光栅盘3)、传送机构4、多光源接触式图像传感器CIS5、FPGA控制电路6、光源控制电路7、传感器电路8、A/D转换电路9和直流电机10。 Figure 1 is a schematic structural diagram of the device, which at least includes an infrared sensor 1, a photoelectric switch sensor 2, a grating disk 3), a transmission mechanism 4, a multi-light source contact image sensor CIS5, an FPGA control circuit 6, a light source control circuit 7, and a sensor circuit 8. A/D conversion circuit 9 and DC motor 10 .

红外传感器1和光电开关传感器2通过传感器电路8的滤波、放大和电平转换将信号传输到FPGA内部,作为CIS图像采集的场同步信号。光电开关传感器2和安装于直流电机10的光栅盘3配合产生CIS图像采集的帧或行同步信号。场同步信号和帧或行同步信号通过传感器电路接入FPGA内部作为整幅图像采集的依据。 The infrared sensor 1 and the photoelectric switch sensor 2 transmit the signal to the FPGA through the filter, amplification and level conversion of the sensor circuit 8, as the field synchronization signal for CIS image acquisition. The photoelectric switch sensor 2 and the grating disc 3 mounted on the DC motor 10 cooperate to generate frame or line synchronous signals for CIS image acquisition. The field synchronization signal and frame or line synchronization signal are connected to the FPGA through the sensor circuit as the basis for the entire image acquisition.

图2为基于SOPC技术的图像采集模块图,该模块描述了FPGA控制模块的实现方案。芯片可选用xilinx公司的spartan系列的FPGA,具有很高的性价比。Xilinx公司提供了大量免费IP核,可大大缩短用户开发周期。PC机通过串口向FPGA内部嵌入的软核Microblaze发送指令,FPGA通过命令解析控制光源控制电路按照不同方案打开或关闭光源。本实例以两种光谱图像采集为例,介绍多光谱票据图像采集处理方法。 Figure 2 is a diagram of the image acquisition module based on SOPC technology, which describes the implementation of the FPGA control module. The chip can choose the FPGA of spartan series from Xilinx Company, which has high cost performance. Xilinx provides a large number of free IP cores, which can greatly shorten the user's development cycle. The PC sends instructions to the soft-core Microblaze embedded in the FPGA through the serial port, and the FPGA controls the light source control circuit to turn on or off the light source according to different schemes through command analysis. This example uses two kinds of spectral image acquisition as an example to introduce the multi-spectral bill image acquisition and processing method.

PC机与FPGA通信的约束命令以8位命令为例: Take the 8-bit command as an example for the constraint command of communication between PC and FPGA:

第7位和第6位保留;第5位表示该命令配置不同行的光色,’1’表示奇数行,’0’表示偶数行;第4位到第0位分别表示红光、绿光、蓝光、红外光和紫外光,’1’表示打开光源,’0’表示关闭光源。如下表1所示,若上位机向FPGA发送‘00011100’B命令时,表示奇数行打光光色为白光(r、g、b组合光),若上位机向FPGA发送‘‘00100010’B命令时,表示偶数行打光光色为红外光。 The 7th and 6th bits are reserved; the 5th bit indicates that the command configures the light color of different lines, '1' means odd-numbered lines, '0' means even-numbered lines; the 4th to 0th bits represent red light and green light respectively , blue light, infrared light and ultraviolet light, '1' means to turn on the light source, '0' means to turn off the light source. As shown in Table 1 below, if the host computer sends the '00011100'B command to the FPGA, it means that the light color of the odd-numbered rows is white light (r, g, b combined light), if the host computer sends the ''00100010'B command to the FPGA When , it means that the lighting color of the even-numbered rows is infrared light.

当完成一整幅图像采集时,FPGA仅需对奇偶行抽样就可以获取白光图像和红外图像。若PC机不向FPGA发送命令,FPGA将按照默认光色参数进行图像采集。 When completing the acquisition of a whole image, the FPGA can acquire the white light image and the infrared image only by sampling the odd and even lines. If the PC does not send commands to the FPGA, the FPGA will perform image acquisition according to the default light color parameters.

表1 具体光色命令实例 Table 1 Examples of specific light color commands

光色选择Light color selection 红光red light 绿光green light 蓝光blu ray 红外infrared 紫外UV ‘00011100’B'00011100'B 打开Open 打开Open 打开Open 关闭closure 关闭closure ‘00100010’B'00100010'B 关闭closure 关闭closure 关闭closure 打开Open 关闭closure

装置的整个操作流程如图4所示。 The entire operation process of the device is shown in Figure 4.

步骤1,装置上电,FPGA完成初始化,等待PC设定多光谱参数。 Step 1: The device is powered on, the FPGA is initialized, and the PC is waiting for the multispectral parameters to be set.

步骤2,启动电机,未放入待检测票据,FPGA内部采图机制状态为采图等待状态Field_Idle,此时不启动CIS且不进行图像存储。 Step 2: Start the motor, and if the ticket to be detected is not placed, the state of the internal image acquisition mechanism of the FPGA is the image acquisition waiting state Field_Idle. At this time, the CIS is not started and the image is not stored.

步骤3,当放入待检测票据且票据的前端挡到红外传感器时,FPGA内部采图机制状态立即跳转入采图延时状态Field_Delay,此时启动CIS但不进行图像存储。 Step 3, when the bill to be detected is put in and the front end of the bill is blocked by the infrared sensor, the state of the internal image acquisition mechanism of the FPGA immediately jumps to the image acquisition delay state Field_Delay. At this time, the CIS is started but the image is not stored.

步骤4,当FPGA根据CIS输出端图像判断票据已在CIS正下方时,FPGA内部采图机制状态立即跳转入采图延时状态Field_Valid,启动CIS且进行图像存储。 Step 4. When the FPGA judges that the ticket is directly below the CIS based on the image at the output end of the CIS, the state of the internal image acquisition mechanism of the FPGA immediately jumps to the image acquisition delay state Field_Valid, starts the CIS and stores the image.

步骤5, FPGA内部采图机制状态处于Field_Valid,FPGA在进行图像存储的同时继续根据图像判断票据与CIS的相对位置。当FPGA判断票据已全部通过CIS正下方时,此时FPGA内部采图机制状态立即跳入Field_Idle,等待下一次图像触发。 Step 5. The state of the internal image acquisition mechanism of the FPGA is Field_Valid, and the FPGA continues to judge the relative position of the ticket and the CIS based on the image while storing the image. When the FPGA judges that all the tickets have passed directly under the CIS, the state of the internal image acquisition mechanism of the FPGA immediately jumps to Field_Idle, waiting for the next image trigger.

为了便于描述FPGA内部整个图像采集过程,在具体实施中引入有限状态机(Finite State Machine)FSM的思想。CIS是一种自带光源的线性传感器,完成一幅完整的二维图像采集需要场同步和帧或行同步的配合。 In order to facilitate the description of the entire image acquisition process inside the FPGA, the idea of Finite State Machine (FSM) FSM is introduced in the specific implementation. CIS is a linear sensor with its own light source, and the completion of a complete two-dimensional image acquisition requires the cooperation of field synchronization and frame or line synchronization.

作为整幅图像采集的有限状态机Field_State总共分为Field_Idle、Field_Delay、Field_Valid三种状态。 The finite state machine Field_State collected as the entire image is divided into three states: Field_Idle, Field_Delay, and Field_Valid.

Field_Idle:Field_State的初始等待状态。当电机未启动或电机启动未有被检测对象通过红外对管传感器时,Field_State处于Field_Idle;此时CIS未启动;当Frame_Trig=1,即被检测对象通过红外对管传感器时,此时Field_State将跳转入Field_Delay。 Field_Idle: The initial waiting state of Field_State. When the motor is not started or when the detected object passes the infrared tube sensor, Field_State is in Field_Idle; at this time, the CIS is not started; when Frame_Trig=1, that is, when the detected object passes the infrared tube sensor, Field_State will jump at this time Go to Field_Delay.

Field_Delay:Field_State的延时等待状态。此时启动CIS驱动时序 ,并以外部码盘信号作为行同步信号触发采图,但不进行图像存储;当采样端采集到的一行图像信息满足图像触发的条件时,即Run_Flag=1,Field_State跳转入Field_Valid。 Field_Delay: The delayed waiting state of Field_State. At this time, start the CIS drive sequence, and use the external code disc signal as the line synchronization signal to trigger the image acquisition, but do not store the image; when a line of image information collected by the sampling end meets the conditions for image triggering, that is, Run_Flag=1, Field_State jumps Go to Field_Valid.

Field_Valid:即Field_State有效采图状态,此状态同时开启CIS驱动和图像储存。当检测到的图像满足跳出条件时,即Stop_Flag=1时,跳转入Field_Idle,等待下一次红外对管传感器的触发信号。如图4主状态转移图所示。 Field_Valid: Field_State is valid image acquisition state, and this state enables CIS driver and image storage at the same time. When the detected image meets the jumping condition, that is, when Stop_Flag=1, it jumps into Field_Idle and waits for the next trigger signal of the infrared pair sensor. As shown in the main state transition diagram in Figure 4.

Line_State为另一有限状态机,用于CIS一帧图像的采集任务。Line_State总共分为Line_Idle、Line_Delay、Line_Valid三种状态。 Line_State is another finite state machine, which is used for the acquisition task of one frame image of CIS. Line_State is divided into three states: Line_Idle, Line_Delay, and Line_Valid.

当Line_State处于Line_Idle,CIS工作在空闲状态,没有启动采图信号。当光电编码器的下降沿信号到来时,即Line_Trig=1,Line_State跳转入Line_Delay。Line_Delay状态是固定时钟脉冲延时,目的是去掉CIS前端的无效像素点;当固定时钟脉冲计数器溢出后,状态跳转入有效行采图状态,即Line_Valid,完成三通道图像数据的采集;当一帧图像的有效像素点完成采集后,状态跳转入Line_Idle,等待下一次行同步信号的触发。如图4从状态转移图所示。 When Line_State is Line_Idle, CIS is working in idle state, and no image acquisition signal is started. When the falling edge signal of the photoelectric encoder arrives, that is, Line_Trig=1, Line_State jumps into Line_Delay. The Line_Delay state is a fixed clock pulse delay, the purpose is to remove invalid pixels at the front end of the CIS; when the fixed clock pulse counter overflows, the state jumps to the valid line image acquisition state, that is, Line_Valid, to complete the acquisition of three-channel image data; After the valid pixels of the frame image are collected, the state jumps to Line_Idle, waiting for the next trigger of the line synchronization signal. As shown in Figure 4 from the state transition diagram.

上述实施说明为本实用新型较佳的实施方式,但本实用新型的实施方式并不受上述实施说明的限制,其他的任何未背离本实用新型的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本实用新型的保护范围之内。 The above-mentioned implementation description is a preferred implementation mode of the present utility model, but the implementation mode of the present utility model is not limited by the above-mentioned implementation description, and any other changes, modifications and substitutions made without departing from the spirit and principle of the present utility model , combination, and simplification, all should be equivalent replacement methods, and are all included in the protection scope of the present utility model.

Claims (5)

1. the multispectral bill image collecting device based on CIS, it is characterized in that, this device at least comprises infrared sensor (1), optoelectronic switch sensor (2), grating disc (3), connecting gear (4), multi-light source contact type image sensor CIS(5), FPGA control circuit (6), control circuit for light source (7), sensor circuit (8), A/D change-over circuit (9) and direct current generator (10);
Wherein, infrared sensor (1) is fixed on the front position of connecting gear (4), for detection of whether having bill to pass through on transfer structure (3), while if bill being detected by infrared sensor (1), by sensor circuit (7), the signal notice FPGA control circuit (6) producing is started to gather piece image; Otherwise, continue to detect;
Optoelectronic switch sensor (2) is fixed on a side of grating disc (3), coordinates the frame or the line synchronizing signal that produce for CIS image acquisition with grating disc (3);
Grating disc (3) is fixed on direct current generator (10) coaxial position, coordinates, for detection of the transmission speed of connecting gear (4) and frame or the line synchronizing signal that produces CIS image acquisition with optoelectronic switch sensor (2);
Connecting gear (4) by direct current generator (9) according to fixing transmission than transmission, bill is by the travelling belt gearing of connecting gear (4), fast and stable pass through infrared sensor (1) and multi-light source contact type image sensor CIS(5);
Multi-light source contact type image sensor CIS(5) be fixed on the middle end position of connecting gear (4), perpendicular to the direction of motion of bill, by FPGA control circuit (6), control the image information of detection of dynamic bill;
FPGA control circuit (6) is for controlling multispectral bill image acquisition Scheme Choice, by control circuit for light source (7), controls multi-light source contact type image sensor CIS(5) complete multi-optical spectrum image collecting task;
Control circuit for light source (7) is for connecting FPGA control circuit (6) and multi-light source contact type image sensor CIS(5), complete the light source switch operation of CIS;
Sensor circuit (8) is for filtering, amplification and the level conversion of infrared sensor (1) and optoelectronic switch sensor (2), sensor signal is converted to digital signal, the reference position gathering for judgement one sub-picture of FPGA and the enable position of a two field picture;
A/D change-over circuit (9) is for being converted to the simulating signal of CIS output digital signal and being transferred to FPGA inside;
Direct current generator (10) is for connecting gear (4) transmission, and bill on connecting gear (4) is quick, stable passes through multi-light source contact type image sensor CIS(5).
2. according to a kind of multispectral bill image collecting device based on CIS described in claims 1, it is characterized in that multi-light source contact type image sensor CIS(5) built-in visible ray, ultraviolet light, infrared light light source, and each road light source gauge tap separately.
3. according to a kind of multispectral bill image collecting device based on CIS described in claims 1, it is characterized in that, infrared sensor (1) is installed on the front position of bill direction of motion, multi-light source contact type image sensor CIS(5) be installed on the interruption position of bill direction of motion, be that bill is when the upper motion of connecting gear (4), first by infrared sensor (1), afterwards by multi-light source contact type image sensor CIS(5).
4. according to a kind of multispectral bill image collecting device based on CIS described in claims 1, it is characterized in that, FPGA has been responsible for multi-light source contact type image sensor CIS(5 in FPGA control circuit (6)) driving and light source control, image acquisition and storage.
5. according to a kind of multispectral bill image collecting device based on CIS described in claims 1, it is characterized in that, infrared sensor (1) bill by time the pulse signal field sync signal that collection starts as CIS piece image that produces, the line synchronizing signal that the pulse signal that optoelectronic switch sensor (2) coordinates grating disc (3) to produce starts as CIS mono-image frame grabber.
CN201320526829.6U 2013-08-27 2013-08-27 CIS-based multispectral bill image capturing device Expired - Lifetime CN203433576U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201320526829.6U CN203433576U (en) 2013-08-27 2013-08-27 CIS-based multispectral bill image capturing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201320526829.6U CN203433576U (en) 2013-08-27 2013-08-27 CIS-based multispectral bill image capturing device

Publications (1)

Publication Number Publication Date
CN203433576U true CN203433576U (en) 2014-02-12

Family

ID=50062602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201320526829.6U Expired - Lifetime CN203433576U (en) 2013-08-27 2013-08-27 CIS-based multispectral bill image capturing device

Country Status (1)

Country Link
CN (1) CN203433576U (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440702A (en) * 2013-08-27 2013-12-11 华南理工大学 Multi-spectrum bill image collecting device based on CIS and processing method
CN103954632A (en) * 2014-03-14 2014-07-30 东华大学 Contact image sensor based gray fabric defect detection system
CN104331976A (en) * 2014-10-31 2015-02-04 苏州保瑟佳货币检测科技有限公司 Detecting method and device of negotiable securities
CN104376634A (en) * 2014-10-23 2015-02-25 深圳市聚融鑫科科技有限公司 Detection method and device for printed matter
CN104464075A (en) * 2014-10-23 2015-03-25 深圳市聚融鑫科科技有限公司 Detection method and device for anti-counterfeiting product
CN105225336A (en) * 2014-05-28 2016-01-06 威海新北洋荣鑫科技股份有限公司 Money order handling equipment and draft disposal route
CN106204891A (en) * 2015-04-30 2016-12-07 北京鑫万佳科技发展有限公司 B5 image collection platform equipment containing bill anti-counterfeit function
CN107516369A (en) * 2016-06-17 2017-12-26 山东新北洋信息技术股份有限公司 Bill images acquisition methods and bill images acquisition device, system
CN108896568A (en) * 2018-05-21 2018-11-27 北京沃佳玛科技有限公司 A kind of information detecting system
CN114178194A (en) * 2021-11-30 2022-03-15 李星达 Storage and sorting device for marketing business bills in business administration

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440702B (en) * 2013-08-27 2016-01-06 华南理工大学 A kind of multispectral bill image collecting device based on CIS and disposal route
CN103440702A (en) * 2013-08-27 2013-12-11 华南理工大学 Multi-spectrum bill image collecting device based on CIS and processing method
CN103954632A (en) * 2014-03-14 2014-07-30 东华大学 Contact image sensor based gray fabric defect detection system
CN105225336B (en) * 2014-05-28 2018-02-02 威海新北洋荣鑫科技股份有限公司 Money order handling equipment and draft processing method
CN105225336A (en) * 2014-05-28 2016-01-06 威海新北洋荣鑫科技股份有限公司 Money order handling equipment and draft disposal route
CN104464075A (en) * 2014-10-23 2015-03-25 深圳市聚融鑫科科技有限公司 Detection method and device for anti-counterfeiting product
CN104376634A (en) * 2014-10-23 2015-02-25 深圳市聚融鑫科科技有限公司 Detection method and device for printed matter
CN104376634B (en) * 2014-10-23 2018-04-17 深圳聚融科技股份有限公司 The detection method and its detection device of a kind of printed matter
CN104331976A (en) * 2014-10-31 2015-02-04 苏州保瑟佳货币检测科技有限公司 Detecting method and device of negotiable securities
CN106204891A (en) * 2015-04-30 2016-12-07 北京鑫万佳科技发展有限公司 B5 image collection platform equipment containing bill anti-counterfeit function
CN107516369A (en) * 2016-06-17 2017-12-26 山东新北洋信息技术股份有限公司 Bill images acquisition methods and bill images acquisition device, system
CN108896568A (en) * 2018-05-21 2018-11-27 北京沃佳玛科技有限公司 A kind of information detecting system
CN114178194A (en) * 2021-11-30 2022-03-15 李星达 Storage and sorting device for marketing business bills in business administration

Similar Documents

Publication Publication Date Title
CN203433576U (en) CIS-based multispectral bill image capturing device
CN103440702B (en) A kind of multispectral bill image collecting device based on CIS and disposal route
CN101937563B (en) Target detection method and equipment and image acquisition device thereof
CN205071145U (en) Many image sensor camera of abundant sensitization
CN101699844A (en) Full-spectrum identification image sensor
CN105405393B (en) LED display drive control method and device
CN102769757A (en) Active light source-based image acquisition method and system
CN102879404A (en) System for automatically detecting medical capsule defects in industrial structure scene
CN202600357U (en) Camera module focusing test system
CN101937505B (en) Target detection method and equipment and used image acquisition device thereof
CN107277383A (en) Optical detection apparatus and its synchronization adjustment method
CN106454023A (en) USB3.0 CMOS linear array industrial camera
CN106254786B (en) Method and system for detecting light emitting diodes
CN203838794U (en) Banknote counting and detecting machine provided with multispectral image acquiring and processing circuit
CN204064959U (en) Based on the high speed web inspection system of Camera Link interface
CN205566480U (en) Image signal system of picking up
CN102868865B (en) Circuit and method for merging image pixels
CN102397844B (en) Photoelectric detection device of color charge coupled device (CCD) color sorter
CN103679917A (en) High-speed banknote serial number extraction and identification system based on FPGA (field programmable gate array) and implementation method thereof
CN103903335A (en) Money counting and checking machine with multispectral image collecting and processing circuit
CN104717446B (en) Automatic switching method from many video formats to ITU656 agreement pal modes
CN205949327U (en) Fruit quality detecting system based on machine vision technique
CN201225984Y (en) Recognition device for hard capsule detection device
CN105279467B (en) For detecting the image capturing system of object
CN205486428U (en) Collection system of transmission image and reflected image

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
AV01 Patent right actively abandoned

Granted publication date: 20140212

Effective date of abandoning: 20160106

C25 Abandonment of patent right or utility model to avoid double patenting