CN114153664A - Automatic fingerprint module testing system and method - Google Patents

Automatic fingerprint module testing system and method Download PDF

Info

Publication number
CN114153664A
CN114153664A CN202111295032.5A CN202111295032A CN114153664A CN 114153664 A CN114153664 A CN 114153664A CN 202111295032 A CN202111295032 A CN 202111295032A CN 114153664 A CN114153664 A CN 114153664A
Authority
CN
China
Prior art keywords
test
port
signal
motor
fingerprint module
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.)
Pending
Application number
CN202111295032.5A
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.)
Shenzhen Magic Information Technology Co ltd
Original Assignee
Shenzhen Magic Information 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 Shenzhen Magic Information Technology Co ltd filed Critical Shenzhen Magic Information Technology Co ltd
Priority to CN202111295032.5A priority Critical patent/CN114153664A/en
Publication of CN114153664A publication Critical patent/CN114153664A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Image Input (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention provides an automatic testing system and method of a fingerprint module, which relate to the technical field of detection and comprise a testing host, a testing board and a testing jig; the test fixture is provided with an ejector pin and is electrically connected with the fingerprint module to be tested through the ejector pin and used for receiving a signal of the fingerprint module to be tested; the test board is electrically connected with the test fixture and used for receiving the signal transmitted by the test fixture; the test host is connected with the test board through a USB line and used for sending a test instruction and testing, the test host sends the test instruction, when the fingerprint module to be tested is detected to be connected, the test process of the fingerprint module to be tested is automatically started, the test process is displayed on the test host in real time, the final test result is displayed, the automatic test of the fingerprint module to be tested is realized, and the test efficiency is improved.

Description

Automatic fingerprint module testing system and method
Technical Field
The invention relates to the technical field of detection, in particular to an automatic fingerprint module testing system and method.
Background
With the development of mobile terminals, fingerprint identification has become a standard configuration of mobile terminals, and users often use the fingerprint identification to unlock screens, perform payment and other operations. Under the general condition, mobile terminal adopts capacitanc fingerprint identification technology, acquires the fingerprint data of human fingerprint through mobile terminal's fingerprint module, then compares with the fingerprint data of prestoring again, accomplishes user's operation through judging whether both match.
In the production process, need test the fingerprint module in order to judge that the fingerprint module can be by normal use, among the prior art, generally through the manual fingerprint data of logging into in the terminal that awaits measuring, then when the test, the method of logging into fingerprint data again in order to judge that the terminal that awaits measuring can unblock judges this fingerprint module that awaits measuring the terminal can normal use, this kind of method is in mass production, because each terminal that awaits measuring all needs the manual fingerprint data of logging into, and consume a large amount of time, make efficiency of software testing lower.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides an automatic testing system and method of a fingerprint module, so as to solve the technical problems.
The technical scheme adopted by the invention for solving the technical problems is as follows: the utility model provides a fingerprint module automatic test system which the improvement lies in: the test system comprises a test host, a test board and a test fixture; the test fixture is provided with an ejector pin and is electrically connected with the fingerprint module to be tested through the ejector pin and used for receiving a signal of the fingerprint module to be tested; the test board is electrically connected with the test fixture and used for receiving the signal transmitted by the test fixture; the test host is connected with the test board through a USB line and used for sending a test instruction and testing.
In the system, the test fixture is further provided with a motor and a driving device corresponding to the motor, and the test board is electrically connected with the motor and used for driving the fake finger to press the fingerprint module to be tested to perform the drawing test.
In the system, a test circuit is integrated on the test board and comprises a communication circuit, a motor driving circuit and a signal sampling circuit;
the communication circuit is connected with the USB interface of the test host and is used for carrying out bidirectional communication with the test host;
the motor driving circuit is connected with the communication circuit and used for receiving an instruction of driving the motor; the motor driving circuit is also electrically connected with the motor and used for driving the motor;
the signal sampling circuit is connected with the test fixture and used for receiving a signal of the fingerprint module to be tested; the signal sampling circuit is also connected with the communication circuit and is used for transmitting the sampling signal to the test host through the communication circuit.
In the system, the communication circuit comprises a conversion chip U5, and the conversion chip U5 comprises a USB positive input port D +, a USB negative input port D-, a motor driving port GIPO3, a motor driving port GIPO2, a sampling signal port GPIO4 and a sampling signal port GIPO 5;
the USB positive input port D + and the USB negative input port D-are both connected with the USB interface, the motor drive port GIPO3 and the motor drive port GIPO2 are both connected with the motor drive circuit, and the sampling signal port GPIO4 and the sampling signal port GIPO5 are both connected with the signal sampling circuit.
IN the system, the motor driving circuit comprises A driving chip U6 and A motor connecting terminal CN2, the driving chip U6 comprises an A input port IN-A, B input port IN-B, A output port OUT-A and A B output port OUT-B, the A input port IN-A is connected with the motor driving port GIPO3, the B input port IN-B is connected with the motor driving port GIPO2, the A output port OUT-A and the B output port OUT-B are both connected with the motor connecting terminal CN2, and the motor connecting terminal CN2 is connected with A motor.
IN the system, the signal sampling circuit comprises a sampling chip U2, an operational amplifier U3, a resistor R8 and a module connecting terminal J3, wherein the sampling chip U2 comprises a data port SDA, a data port SCL, a signal positive input port VIN + and a signal negative input port VIN-, and the operational amplifier U3 comprises a positive voltage input port + IN, a negative voltage input port-IN, an output port OUT and a negative output port V-;
the module connecting terminal J3 is connected with the fingerprint module to be tested, and the module connecting terminal J3 is connected with the resistor R8;
one end of the resistor R8 is connected with the positive voltage input port + IN, the other end of the resistor R8 is connected with the negative voltage input port-IN, the output port OUT is connected with the signal positive input port VIN +, and the negative output port V-is connected with the signal negative input port VIN-;
the data port SDA is connected to the sampling signal port gio 5, and the data port SCL is connected to the sampling signal port gio 4.
The invention also provides an automatic testing method of the fingerprint module, which comprises the following steps:
s1, the test fixture receives the signal of the fingerprint module to be tested through the thimble and sends the signal to the test board;
s2, after receiving the signal, the test board transmits the signal to the test host computer through the USB line;
and S3, testing by the testing host.
In the above method, before the step S1, the method further includes the following steps: the test fixture drives the fake finger to press the fingerprint module to be tested through the motor and the driving device corresponding to the motor to carry out drawing test.
The invention has the beneficial effects that: the test host sends a test instruction, when detecting that the fingerprint module to be tested is connected, the test process is automatically started to the fingerprint module to be tested, the test process is displayed on the test host in real time, a final test result is displayed, automatic test of the fingerprint module to be tested is realized, and test efficiency is improved.
Drawings
Fig. 1 is a block diagram of an automatic testing system for a fingerprint module according to the present invention.
Fig. 2 is a circuit configuration diagram of a test circuit in the test board of fig. 1.
Detailed Description
The invention is further illustrated with reference to the following figures and examples.
The conception, the specific structure, and the technical effects produced by the present invention will be clearly and completely described below in conjunction with the embodiments and the accompanying drawings to fully understand the objects, the features, and the effects of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and those skilled in the art can obtain other embodiments without inventive effort based on the embodiments of the present invention, and all embodiments are within the protection scope of the present invention. In addition, all the connection/connection relations referred to in the patent do not mean that the components are directly connected, but mean that a better connection structure can be formed by adding or reducing connection auxiliary components according to specific implementation conditions. All technical characteristics in the invention can be interactively combined on the premise of not conflicting with each other.
Referring to fig. 1, the automatic testing system for a fingerprint module of the present invention includes a testing host, a testing board and a testing fixture; the test jig is provided with an ejector pin, a motor and a driving device corresponding to the motor, the test board is electrically connected with the motor and drives the fake finger to press the fingerprint module to be tested to perform image acquisition test, the test jig is electrically connected with the fingerprint module to be tested through the ejector pin to receive a signal of the fingerprint module to be tested, and the test board is electrically connected with the test jig and receives the signal transmitted by the test jig; the test host is connected with the test board through a USB line, the test host is generally a computer with an automatic test program, an instruction is sent through the test board, whether current flows through a port of the fingerprint module is continuously detected, if the current changes, the fingerprint module to be tested is connected with the test fixture, the test host and the fingerprint module perform handshake communication, an automatic test flow is started if the communication is successful, when a fingerprint image needs to be collected, the test board controls a motor on the test fixture, a fake finger presses the fingerprint module to perform drawing test, after all test items are completed, real-time display can be performed at the computer end, a final test result is displayed, automatic test of the fingerprint module to be tested is achieved, and test efficiency is improved. The test program of the computer end can display the items and results of the current test, if the test is abnormal, the test is stopped, the reason of the abnormality is displayed, and the testing personnel can conveniently identify and classify the defective products. And for the module which completes all test items and has a normal result, the test program at the computer end can display that the test is passed, and the related information and the test result of the module are stored, so that the follow-up inspection and tracing are facilitated.
Referring to fig. 1 and 2, a test circuit is integrated on the test board, and the test circuit includes a communication circuit, a motor driving circuit, and a signal sampling circuit; the communication circuit is connected with the USB interface of the test host and is used for carrying out bidirectional communication with the test host; the motor driving circuit is connected with the communication circuit and used for receiving an instruction of driving the motor; the motor driving circuit is also electrically connected with the motor and used for driving the motor; the signal sampling circuit is connected with the test fixture and used for receiving a signal of the fingerprint module to be tested; the signal sampling circuit is also connected with the communication circuit and is used for transmitting the sampling signal to the test host through the communication circuit.
The communication circuit comprises a conversion chip U5, the conversion chip U5 is in the model of CP2102N, and the conversion chip U5 comprises a USB positive input port D +, a USB negative input port D-, a motor driving port GIPO3, a motor driving port GIPO2, a sampling signal port GIPO4 and a sampling signal port GIPO 5; the USB positive input port D + and the USB negative input port D-are both connected with the USB interface, the motor driving circuit comprises A driving chip U6 and A motor connecting terminal CN2, the driving chip U6 comprises an A input port IN-A, B input port IN-B, A output port OUT-A and A B output port OUT-B, the A input port IN-A is connected with the motor driving port GIPO3, the B input port IN-B is connected with the motor driving port GIPO2, the A output port OUT-A and the B output port OUT-B are both connected with the motor connecting terminal CN2, and the motor connecting terminal CN2 is connected with the motor;
the signal sampling circuit comprises a sampling chip U2, an operational amplifier U3, a resistor R8 and a module connecting terminal J3, wherein the model of the sampling chip U2 is ADS1100, the sampling chip U2 comprises a data port SDA, a data port SCL, a signal positive input port VIN + and a signal negative input port VIN-, the model of the operational amplifier U3 is OPA335, and the operational amplifier U3 comprises a positive voltage input port + IN, a negative voltage input port-IN, an output port OUT and a negative output port V-;
the fingerprint detection device comprises a module connecting terminal J3, a module connecting terminal J3, a resistor R8, a resistor R8, a positive voltage input port + IN, a negative voltage input port-IN, an output port OUT, a negative output port V-and a signal negative input port VIN +, wherein the signal to be detected is sampled by the resistor R8, the other end of the resistor R8 is connected with the negative voltage input port-IN, the sampled signal is transmitted to an operational amplifier U3 to be amplified, the output port OUT is connected with the signal positive input port VIN +, the negative output port V-is connected with the signal negative input port VIN-, the amplified signal is sampled by a sampling chip U2, a data port SDA is connected with a sampling signal port GIPO5, a data port SCL is connected with the sampling signal port GIPO4, the sampled signal is transmitted to a conversion chip U5, and a test host is connected with the conversion chip U5 through a USB interface to acquire the current state of the fingerprint detection module.
Further, the conversion chip U5 still includes receiving port RXD and transmitting port TXD, and receiving port RXD and transmitting port TXD all are connected with module connecting terminal J3, realize the two-way communication of conversion chip U5 and module connecting terminal J3, and then realize the two-way communication of test host computer and the fingerprint module that awaits measuring.
Conversion chip U5 has realized the detection to the fingerprint module and to the control of motor, because fingerprint module operating current is 20-60mA scope, standby current is about 5-20uA scope, and the difference is nearly thousand times for both, and the components and parts error that uses also can influence the degree of accuracy of current test moreover. To improve the accuracy of the current test, the circuit needs to be calibrated. As shown in connection with fig. 2. In the circuit of the embodiment, the sampling chip U2(ADS1100) collects 16 times per second, the corresponding coding range is-16384 to 16384, the power supply voltage of the sampling chip U2 is U, and formula 1 for acquiring the sampling data M and the actual current I of the sampling chip U2 is I ═ M (R8 (R7+ R3) × 16384 × 2U)/R7; in the range of current less than 1mA, a voltage U is used for electrifying a resistor RA and a resistor RB, and theoretically, the current flowing through RA is AITheoretically, the sampling value of the sampling chip U2 is AMCan be calculated by formula 1, and the actual sampling value is A'mTheoretically, the current flowing through RB is BITheoretical AD sample value is BMCan be calculated by formula 1, and the actual sampling value is B'm. Using the above data two calibration parameters C and D can be derived,
Figure BDA0003336242390000051
parameters C and D are saved. When the fingerprint module current is tested, if the sampling value obtained by the sampling chip U2 is X, the calibrated current is obtained by formula calculation as Y ═ C × X + D. Similarly, at the current higher than 1mA, two resistors are selected, two parameters E and F are obtained through testing, and the calibrated current Y ═ E × X + F can be calculated by using a formula. By using the method to test the current, the fingerprint module can work andduring the dormancy current test, the current testing precision can be within 0.5% to fingerprint module current test's reliability has been guaranteed.
The invention also provides an automatic testing method of the fingerprint module, which comprises the following steps:
s1, the test fixture receives the signal of the fingerprint module to be tested through the thimble and sends the signal to the test board;
s2, after receiving the signal, the test board transmits the signal to the test host computer through the USB line;
and S3, testing by the testing host.
Further, before the step S1, the method further includes the following steps: the test fixture drives the fake finger to press the fingerprint module to be tested through the motor and the corresponding driving device to carry out drawing test.
According to the invention, the test host sends the test instruction, when the connection of the fingerprint module to be tested is detected, the test flow of the fingerprint module to be tested is automatically started, the test process is displayed on the test host in real time, and the final test result is displayed, so that the automatic test of the fingerprint module to be tested is realized, and the test efficiency is improved.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. The utility model provides a fingerprint module automatic test system which characterized in that: the test system comprises a test host, a test board and a test fixture;
the test fixture is provided with an ejector pin and is electrically connected with the fingerprint module to be tested through the ejector pin and used for receiving a signal of the fingerprint module to be tested;
the test board is electrically connected with the test fixture and used for receiving the signal transmitted by the test fixture;
the test host is connected with the test board through a USB line and used for sending a test instruction and testing.
2. The system of claim 1, wherein the fingerprint module comprises: the test fixture is also provided with a motor and a driving device corresponding to the motor, and the test board is electrically connected with the motor and used for driving the fake finger to press the fingerprint module to be tested to perform the drawing test.
3. The system of claim 2, wherein the fingerprint module comprises: the test board is integrated with a test circuit, and the test circuit comprises a communication circuit, a motor driving circuit and a signal sampling circuit;
the communication circuit is connected with the USB interface of the test host and is used for carrying out bidirectional communication with the test host;
the motor driving circuit is connected with the communication circuit and used for receiving an instruction of driving the motor; the motor driving circuit is also electrically connected with the motor and used for driving the motor;
the signal sampling circuit is connected with the test fixture and used for receiving a signal of the fingerprint module to be tested; the signal sampling circuit is also connected with the communication circuit and is used for transmitting the sampling signal to the test host through the communication circuit.
4. The system of claim 3, wherein the fingerprint module comprises: the communication circuit comprises a conversion chip U5, wherein the conversion chip U5 comprises a USB positive input port D +, a USB negative input port D-, a motor drive port GIPO3, a motor drive port GIPO2, a sampling signal port GIPO4 and a sampling signal port GIPO 5;
the USB positive input port D + and the USB negative input port D-are both connected with the USB interface, the motor drive port GIPO3 and the motor drive port GIPO2 are both connected with the motor drive circuit, and the sampling signal port GIPO4 and the sampling signal port GIPO5 are both connected with the signal sampling circuit.
5. The system of claim 4, wherein the fingerprint module comprises: the motor driving circuit comprises A driving chip U6 and A motor connecting terminal CN2, the driving chip U6 comprises an A input port IN-A, B input port IN-B, A output port OUT-A and A B output port OUT-B, the A input port IN-A is connected with the motor driving port GIPO3, the B input port IN-B is connected with the motor driving port GIPO2, the A output port OUT-A and the B output port OUT-B are both connected with the motor connecting terminal CN2, and the motor connecting terminal CN2 is connected with A motor.
6. The system of claim 4, wherein the fingerprint module comprises: the signal sampling circuit comprises a sampling chip U2, an operational amplifier U3, a resistor R8 and a module connecting terminal J3, wherein the sampling chip U2 comprises a data port SDA, a data port SCL, a signal positive input port VIN + and a signal negative input port VIN-, and the operational amplifier U3 comprises a positive voltage input port + IN, a negative voltage input port-IN, an output port OUT and a negative output port V-;
the module connecting terminal J3 is connected with the fingerprint module to be tested, and the module connecting terminal J3 is connected with the resistor R8;
one end of the resistor R8 is connected with the positive voltage input port + IN, the other end of the resistor R8 is connected with the negative voltage input port-IN, the output port OUT is connected with the signal positive input port VIN +, and the negative output port V-is connected with the signal negative input port VIN-;
the data port SDA is connected to the sampling signal port gio 5, and the data port SCL is connected to the sampling signal port gio 4.
7. The utility model provides a fingerprint module automatic test method which characterized in that: the method comprises the following steps:
s1, the test fixture receives the signal of the fingerprint module to be tested through the thimble and sends the signal to the test board;
s2, after receiving the signal, the test board transmits the signal to the test host computer through the USB line;
and S3, testing by the testing host.
8. The automatic testing method for fingerprint module of claim 7, wherein: before the step S1, the method further includes the following steps: the test fixture drives the fake finger to press the fingerprint module to be tested through the motor and the driving device corresponding to the motor to carry out drawing test.
CN202111295032.5A 2021-11-03 2021-11-03 Automatic fingerprint module testing system and method Pending CN114153664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111295032.5A CN114153664A (en) 2021-11-03 2021-11-03 Automatic fingerprint module testing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111295032.5A CN114153664A (en) 2021-11-03 2021-11-03 Automatic fingerprint module testing system and method

Publications (1)

Publication Number Publication Date
CN114153664A true CN114153664A (en) 2022-03-08

Family

ID=80458829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111295032.5A Pending CN114153664A (en) 2021-11-03 2021-11-03 Automatic fingerprint module testing system and method

Country Status (1)

Country Link
CN (1) CN114153664A (en)

Similar Documents

Publication Publication Date Title
CN101957428A (en) Automatic test method and tool of monitoring circuit board
CN111239637B (en) Server power supply current sharing detection device and method
CN110542450A (en) Automatic calibration system and method for temperature and humidity instrument
CN110109043A (en) Electric energy meter detection method, detection terminal and computer readable storage medium
CN106200623B (en) The semi-physical simulation test device of reactor core measuring system logic module
CN217385736U (en) MCU's ATE equipment and system thereof
CN100559353C (en) Method for detecting rapidly computer hardware equipment function completeness
CN204129151U (en) Testing touch screen machine
CN114153664A (en) Automatic fingerprint module testing system and method
CN201069467Y (en) Testing platform for battery manager
CN111505531A (en) Board card test system
CN201319049Y (en) High-tension current mutual-inductor transformation ratio tester
CN203788304U (en) Device for testing function of hardware interface
CN101042306A (en) Intelligent digital balance
CN205263233U (en) Multi -thread bundle general check out test set
CN211427149U (en) Automatic calibration test system of data acquisition equipment
CN210690206U (en) Molding sand strength test unit for casting and device thereof
CN114280456A (en) Method, device and system for ELFR test of chip
CN113405583A (en) Automatic test equipment for aviation board position sensor and control method
CN105890808A (en) Temperature calibrator for main transformer
CN115174431B (en) Simple SWP full duplex logic signal acquisition device and method
CN218727865U (en) Test system of fuel cell multi-path polling device
KR100705385B1 (en) A Smart-Battery protection module automatic inspection process
CN218886022U (en) Voltage and impedance test equipment between SD card interface and SD card
CN218788021U (en) Oxygen concentration and temperature tester and test tool

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