CN106908715B - A kind of test macro for linear transducer - Google Patents

A kind of test macro for linear transducer Download PDF

Info

Publication number
CN106908715B
CN106908715B CN201710176054.7A CN201710176054A CN106908715B CN 106908715 B CN106908715 B CN 106908715B CN 201710176054 A CN201710176054 A CN 201710176054A CN 106908715 B CN106908715 B CN 106908715B
Authority
CN
China
Prior art keywords
meandark
data
bad
meansub
fpga
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 - Fee Related
Application number
CN201710176054.7A
Other languages
Chinese (zh)
Other versions
CN106908715A (en
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.)
Shanghai Paipin Photoelectric Technology Co ltd
Original Assignee
Taizhou Law Photoelectric Technology Co Ltd
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 Taizhou Law Photoelectric Technology Co Ltd filed Critical Taizhou Law Photoelectric Technology Co Ltd
Priority to CN201710176054.7A priority Critical patent/CN106908715B/en
Publication of CN106908715A publication Critical patent/CN106908715A/en
Application granted granted Critical
Publication of CN106908715B publication Critical patent/CN106908715B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/282Testing of electronic circuits specially adapted for particular applications not provided for elsewhere
    • G01R31/2825Testing of electronic circuits specially adapted for particular applications not provided for elsewhere in household appliances or professional audio/video equipment
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2832Specific tests of electronic circuits not provided for elsewhere
    • G01R31/2836Fault-finding or characterising
    • G01R31/2837Characterising or performance testing, e.g. of frequency response

Abstract

The present invention relates to a kind of test macros for linear transducer, it is complicated mainly to solve test process existing in the prior art, the low technical problem of measuring accuracy, the present invention includes linear transducer to be measured by using the test macro, AMP amplifier, the ADC conversion module being connect with AMP amplifier, the FPGA being connect with the ADC conversion module, the A380 image processor being connect with FPGA, and the host computer being connect with A380 image processor, the FPGA is also connect with light source module, is preferably resolved the problem, be can be used in the industrial production of linear transducer.

Description

A kind of test macro for linear transducer
Technical field
The present invention relates to the imaging sensor testing fields in semiconductor field, are related specifically to a kind of for linear sensing The test macro of device.
Background technique
Since linear transducer is image acquiring sensor, every chips will carry out one of final test before factory, must All related defective products must be screened, and classification statistics is carried out to defective products, which core can be positioned by bad type Piece is the problem of which belongs to encapsulation factory the problem of belonging to fab, in addition further navigate on oneself circuit design whether It is defective.
Existing application method is using manual testing, and it is low that there are measuring accuracies, the technical problem of application method complexity.Cause This provides a kind of convenient test, and the high test macro for linear transducer of measuring accuracy is with regard to necessary.This system passes through Hardware platform acquires image, gives PC machine, carries out a series of relevant image quality tests by PC machine.
Summary of the invention
The technical problem cumbersome, precision is low is tested the technical problem to be solved by the present invention is to existing in the prior art. There is provided a kind of new test macro for linear transducer, which has the characteristics that convenient test, with high accuracy.
In order to solve the above technical problems, the technical solution adopted is as follows: a kind of test macro for linear transducer, Be characterized in that: the test macro includes linear transducer to be measured, AMP amplifier, the ADC conversion module connecting with AMP amplifier, with The FPGA of the ADC conversion module connection, the A380 image processor being connect with FPGA, and connect with A380 image processor Host computer;The FPGA is also connect with light source module;The AMP amplifier is for amplifying linear transducer simulation output letter to be measured Number;The ADC conversion module is used to convert the amplified signal of AMP output to 12Bit;The FPGA is described for pre-processing 12Bit data;The A380 image processor is used for transmission pretreated 8Bit data;The host computer is used for test image Quality;The light source module is used for output light source.
Digital conversion is carried out to amplified single-ended analog signal by ADC chip, is converted into 12Bit.A380 chip is only It supports DCMI interface (D0~D7), 8Bit data can only be received, so needing FPGA to handle 12Bit data, by data The 8Bit data of A380 chip needs are converted into, then PC machine is given by 2.0 interface of the USB of A380 and carries out data processing.By 8Bit data can only once be received in A380, giving PC machine also can only be 8 one biographies, so image cannot be directly displayed, also not Directly data can be handled, it need to be by data convert at 12Bit, by the way that low 4Bit+ is combined into 12Bit plus rear 8Bit, number After reduction, so that it may be tested.The present invention is by using automatic test, the step of overcoming manual testing cumbersome and test The low technical problem of precision.
The present invention also provides a kind of test method for linear transducer, the application method includes:
(1) test macro is opened, light source module, output illumination brightness are set;
(2) linear transducer ID to be measured is read by IC, judges the ID, it is incorrect then bad labeled as I2C, correctly then Enter step (3);
(3) it treats linear sensor and FPGA carries out parameter initialization, the FPGA pre-processes linear transducer to be measured Data, the host computer carry out reverse process according to FPGA preprocess method, obtain restoring data;
(4) MeanDark threshold range is set;MeanDark data processing is carried out according to the restoring data, is calculated MeanDark, MeanDark are not belonging in MeanDark threshold range, then bad labeled as MeanDark;MeanDark belongs to In MeanDark threshold range, (5) are entered step;
(5) MeanSub data processing is carried out according to MeanDark in step (4), MeanSub threshold range is set, calculated MeanSub, the MeanSub are not belonging in MeanSub threshold range, then bad labeled as MeanSub;MeanSub belongs to In MeanSub threshold range, (6) are entered step;
(6) the bad test of bad point is carried out, to be then labeled as bad point bad there are bad point, and there is no bad points to be labeled as non-defective unit, complete At test.
In above scheme, for optimization, further, the MeanDark data handling procedure includes:
(A) 3 frame image datas are obtained, are stored in Buf1, Buf2, Buf3 respectively, described image data are 8Bit number According to;
(B) data splicing is carried out to data in Buf1, Buf2, Buf3, is spliced into 12Bit;
(C) corresponding according to the spliced Buf1 data respective pixel in step (C), Buf2 data respective pixel, Buf3 Pixel asks rear mean value to obtain Buf;
(D) preceding 4 column Dark pixel and the cumulative summation of last 4 Dark pixels in the Buf, calculates mean value, mean value is MeanDark。
Further, the MeanSub data handling procedure includes:
The cumulative summation of 2040 Dark pixels among the Buf, calculates mean value, mean value Mean2040;
Calculate MeanSub, MeanSub=Mean2040-MeanDark.
Further, bad test of the bad point includes:
If Mean2040-Yi > Mean2040 × Dark_threshold, label pixel Yi is that Dark pixel is bad;
If Yi-Mean2040 > Mean2040 × hot_threshold, label pixel Yi is that Hot pixel is bad;
Wherein, it is ith pixel Mean that Dark_threshold threshold value and hot_threshold threshold value, which are 10%, Yi, Value.In host computer statistical data, Hot pixel is bad and the bad label of Dark pixel is bad.
Further, the MeanDark threshold range is 1600-1900.
Further, the MeanDark threshold range is 1700.
Further, the MeanSub threshold range is 450-700.
Linear sensor is mainly used on bar code scan, and output signal only has 1 row data, which shares 2064 pictures Element, chip are exported using simulation single-ended signal, and analog signal is fainter, it is necessary to amplify, then pass through by amplifier ADC chip carry out number be converted into 12it, since the A380 image processor of selection can only support 8Bit data, thus need by 12Bit data are pre-processed, processing format: the 12it data of the 1st data are divided into 8Bit+4Bit, the 2nd data 12Bit is divided into 4Bit+8Bit, and the preceding 4Bit of rear 4Bit and the 2nd data of the 1st data carries out being spliced into 8Bit, so two A data can synthesize 3 complete three byte 8Bit+8Bit (4Bit+4Bit)+8Bit.After the good format of data point, send A380 image processor is given, PC host computer is then uploaded to and carries out image procossing, after host computer receives data, it is also necessary to first Restoring data exactly restores 1 data.Reduction mode just thinks that instead, one is to tear open with FPGA decomposition method, and one is It closes.Pixel totally 2064 pixels in linear transducer, respectively to 4 column of intermediate 2040 and front end and last 4 when processing Column are handled.Intermediate front and back 8 is arranged without calculation process.
Host computer is to it is necessary to judging picture quality, judging that no bad point on chip, the bad point may after data convert It is dirty on eyeglass to be that producer introduces when packaged, it is also possible to be that packaging, transportational process have accounted for dust.So will be to each Sensor carries out bad point detection, and the method for bad point judgement is exactly to be compared with the average value of each pixel and whole frame data. Mean2040 is the mean value for being located in the middle 2040 pixels, and MeanDark is the mean value of the sum of each 4 Dark column in left and right, here It is not that whole Dark column is taken to carry out operation, MeanDark threshold value is 1750, under conditions of lowering the requirement, to increase yield, if Setting test scope can relax, setting 1600~1900.
Beneficial effects of the present invention:
Effect one improves test convenience;
Effect two, improves measuring accuracy.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples.
Fig. 1, the test macro schematic diagram for linear transducer.
Fig. 2, the test method for linear transducer.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to embodiments, to the present invention It is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to Limit the present invention.
Embodiment 1
The present embodiment provides a kind of test macro for linear transducer, as shown in Figure 1, test macro include to Linear sensor, AMP amplifier, the ADC conversion module being connect with AMP amplifier, the FPGA being connect with the ADC conversion module, The A380 image processor being connect with FPGA, and the host computer being connect with A380 image processor;The FPGA also with light source Module connection;The AMP amplifier is for amplifying linear transducer analog output signal to be measured;The ADC conversion module is for turning The amplified signal of AMP output is changed to 12Bit;The FPGA is for pre-processing the 12Bit data;The A380 image processor It is used for transmission pretreated 8Bit data;The host computer is used for test image quality;The light source module is used for output light Source.
In test macro, digital conversion is carried out to amplified single-ended analog signal by ADC conversion chip, is converted into 12Bit.A380 chip only supports DCMI interface (D0~D7), can only receive 8Bit data, so needing FPGA to 12Bit data It is handled, converts the data into the 8Bit data of A380 chip needs, then give PC machine by 2.0 interface of the USB of A380 Carry out data processing.Since A380 can only once receive 8Bit data, giving PC machine also can only be 8 one biographies, so cannot be straight Display image is connect, directly data can not be handled, it need to be by data convert at 12Bit, after adding low 4Bit+ 8Bit is combined into 12Bit, carries out image quality test after data convert.
Based on the test macro, such as Fig. 2, the present embodiment also provides a kind of test method for linear transducer, institute The method of stating includes:
(1) test macro is opened, light source module is set in appropriate brightness;
(2) linear transducer ID to be measured is read by IC, judges the ID, it is incorrect then bad labeled as I2C, correctly then Enter step (3);
(3) it treats linear sensor and FPGA carries out parameter initialization, the FPGA pre-processes linear transducer to be measured Data, the host computer carry out reverse process according to FPGA preprocess method, obtain restoring data;
(4) MeanDark threshold range is set;MeanDark data processing is carried out according to the restoring data, is calculated MeanDark, MeanDark are not belonging in MeanDark threshold range, then bad labeled as MeanDark;MeanDark belongs to In MeanDark threshold range, (5) are entered step;MeanDark is the mean value of the sum of each 4 Dark column in left and right, is not here Whole Dark column are taken to carry out operation, MeanDark threshold value is 1750, under conditions of lowering the requirement, to increase yield, setting test Range can relax, setting 1600~1900;
MeanDark data handling procedure includes:
(A) 3 frame image datas are obtained, are stored in Buf1, Buf2, Buf3 respectively, described image data are 8Bit number According to;
(B) data splicing is carried out to data in Buf1, Buf2, Buf3, is spliced into 12Bit;
(C) corresponding according to the spliced Buf1 data respective pixel in step (C), Buf2 data respective pixel, Buf3 Pixel asks rear mean value to obtain Buf;
(D) preceding 4 column Dark pixel and the cumulative summation of last 4 Dark pixels in the Buf, calculates mean value, mean value is MeanDark;
(5) MeanSub data processing is carried out according to MeanDark in step (4), MeanSub threshold range is set, calculated MeanSub, the MeanSub are not belonging in MeanSub threshold range, then bad labeled as MeanSub;MeanSub belongs to In MeanSub threshold range, (6) are entered step;MeanSub data handling procedure includes: one to share 2064 pixels in Buf, To the cumulative summation of 2040 Dark pixels is located in the middle, mean value, mean value Mean2040 are calculated;MeanSub is calculated, MeanSub=Mean2040-MeanDark;
(6) the bad test of bad point is carried out, to be then labeled as bad point bad there are bad point, and there is no bad points to be labeled as non-defective unit, complete At test;If the wherein bad test of bad point includes: Mean2040-Yi > Mean2040 × Dark_threshold, pixel Yi is marked It is bad for Dark pixel;If Yi-Mean2040 > Mean2040 × hot_threshold, label pixel Yi is that Hot pixel is bad;
Dark_threshold threshold value and hot_threshold threshold value are that 10%, Yi is ith pixel Mean value, on In the machine statistical data of position, Hot pixel is bad and the bad label of Dark pixel is bad.After host computer is to data convert, Picture quality will be judged, and judge whether there is bad point on chip, the bad point may be producer introduce when packaged it is dirty On eyeglass, it is also possible to be that packaging, transportational process have accounted for dust.So bad point detection is carried out to each sensor, it is bad The method of point judgement is exactly to be compared with the average value of each pixel and whole frame data.
Although the illustrative specific embodiment of the present invention is described above, in order to the technology of the art Personnel are it will be appreciated that the present invention, but the present invention is not limited only to the range of specific embodiment, to the common skill of the art For art personnel, as long as long as various change the attached claims limit and determine spirit and scope of the invention in, one The innovation and creation using present inventive concept are cut in the column of protection.

Claims (1)

1. a kind of test macro for linear transducer, it is characterised in that: the test macro includes linear transducer to be measured, AMP amplifier, the ADC conversion module connecting with AMP amplifier, the FPGA connecting with the ADC conversion module are connect with FPGA A380 image processor, and the host computer being connect with A380 image processor;The FPGA is also connect with light source module;
The AMP amplifier is for amplifying linear transducer analog output signal to be measured;
The ADC conversion module is used to convert the amplified signal of AMP output to 12Bit data;
The FPGA is for pre-processing the 12Bit data;
The A380 image processor is used for transmission pretreated 8Bit data;
The host computer is used for test image quality;
The light source module is used for output light source;
The test method of the test macro includes:
(1) linear transducer test macro is opened, light source module is set in appropriate brightness;
(2) linear transducer ID to be measured is read by IC, judges the ID, it is incorrect then bad labeled as I2C, correctly then enter Step (3);
(3) it treating linear sensor and FPGA carries out parameter initialization, the FPGA pre-processes linear transducer data to be measured, Host computer carries out reverse process according to FPGA preprocess method, obtains restoring data;
(4) MeanDark threshold range is set;MeanDark data processing is carried out according to the restoring data, is calculated MeanDark, MeanDark are not belonging in MeanDark threshold range, then bad labeled as MeanDark;MeanDark belongs to In MeanDark threshold range, (5) are entered step;
(5) MeanSub data processing is carried out according to MeanDark in step (4), MeanSub threshold range is set, calculated MeanSub, the MeanSub are not belonging in MeanSub threshold range, then bad labeled as MeanSub;MeanSub belongs to In MeanSub threshold range, (6) are entered step;
(6) the bad test of bad point is carried out, to be then labeled as bad point bad there are bad point, and there is no bad points to be labeled as non-defective unit, completes to survey Examination.
CN201710176054.7A 2017-03-23 2017-03-23 A kind of test macro for linear transducer Expired - Fee Related CN106908715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710176054.7A CN106908715B (en) 2017-03-23 2017-03-23 A kind of test macro for linear transducer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710176054.7A CN106908715B (en) 2017-03-23 2017-03-23 A kind of test macro for linear transducer

Publications (2)

Publication Number Publication Date
CN106908715A CN106908715A (en) 2017-06-30
CN106908715B true CN106908715B (en) 2019-09-27

Family

ID=59195743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710176054.7A Expired - Fee Related CN106908715B (en) 2017-03-23 2017-03-23 A kind of test macro for linear transducer

Country Status (1)

Country Link
CN (1) CN106908715B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866500B (en) * 2020-08-05 2022-07-26 昆山软龙格自动化技术有限公司 Image testing device based on FPGA, CPU and WIFI6

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4683267B2 (en) * 2005-01-19 2011-05-18 横河電機株式会社 Solid-state image sensor inspection system
CN101074762A (en) * 2006-05-15 2007-11-21 比亚迪股份有限公司 Image sensor testing light source system
CN101303388A (en) * 2007-05-09 2008-11-12 采钰科技股份有限公司 Test system and method
CN104469356B (en) * 2014-12-29 2017-04-19 中国科学院半导体研究所 Image sensor characteristic parameter measuring and analyzing system
CN204695328U (en) * 2015-04-15 2015-10-07 广州诚迈伟讯物联网技术有限公司 A kind of linear CCD bar code identifying device
CN106298569B (en) * 2016-07-28 2019-03-22 深圳芯启航科技有限公司 A kind of the volume production test method and device of image chip

Also Published As

Publication number Publication date
CN106908715A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
US20080111989A1 (en) Transparent material inspection system
KR101215341B1 (en) Apparatus and method for measuring light emission, and readable recording medium
US20090174795A1 (en) Image processing apparatus
CN102589705B (en) Single-blackbody temperature-controlled MRTD (Minimum Resolvable Temperature Difference) field online automatic detection device and method for thermal imager
US20120254664A1 (en) Automatic test system for digital display systems
CN1936555A (en) Damage-free detection system for strong conveying belt
JP2015143656A (en) Inspection apparatus and inspection method
CN103414810A (en) Method for detecting response image based on mobile terminal, mobile terminal and detection carrier
JP2021119341A (en) System and method for intelligently monitoring production line
CN106908715B (en) A kind of test macro for linear transducer
CN108072664B (en) Appearance detection system and method
US8094922B2 (en) Crack measuring method and apparatus
CN106908716B (en) A kind of test method for linear transducer
CN110716530A (en) DCS response time testing device and method
US8106946B2 (en) Circuitry testing method and circuitry testing device
CN201594889U (en) Digital television drive board debugging device
CN116095302A (en) Labview-based image sensor performance parameter testing device, testing method and testing system
CN104132951B (en) Picture signal acquiring and processing apparatus used for X-ray nondestructive detection
CN101131409A (en) Integrated circuit testing system and method thereof
CN101212704A (en) Method and device for establishing grayscale - brightness curve of display quickly
CN115183879A (en) Intelligent ultra-low temperature imaging test platform for infrared focal plane circuit and test method thereof
CN112001905A (en) Household product damage detection system and detection method based on image processing
CN113270054A (en) Image quality detection of display equipment, image quality detection report generation method and device equipment
CN112213081A (en) Screen body detection equipment
CN105486698A (en) AOI automatic detection device and detection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190820

Address after: 225300 Hailing Industrial Park, Taizhou City, Jiangsu Province, No. 12

Applicant after: Taizhou law Photoelectric Technology Co.,Ltd.

Address before: Room 5, No. 10-1 Xinjingzhong Road, Tang City, Yangshe Town, Zhangjiagang City, Suzhou City, Jiangsu Province

Applicant before: ZHANGJIAGANG OUWEI AUTOMATION RESEARCH AND DEVELOPMENT Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220913

Address after: 201306 building C, 888 Huanhu West 2nd Road, Lingang New District, Pudong New Area, Shanghai

Patentee after: Shanghai paipin Photoelectric Technology Co.,Ltd.

Address before: No. 12, hailing Industrial Park, Taizhou, Jiangsu Province, Jiangsu

Patentee before: Taizhou law Photoelectric Technology Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190927