The utility model content
Technical problem to be solved in the utility model be factory end to the sensor circuit of sensor raw material logical/short/disconnected be difficult to directly to adopt the measurement jig test and can't to the sensor circuit of batch sensor raw material logical/short/disconnected difficult problem of testing, take full advantage of the testability of level signal and capacitance, realized leading to/short/accurately disconnected and uniformity test of sensor circuit.
In view of above-mentioned technical matters, technical solution adopted in the utility model is, a kind of capacitance plate sensor test circuit board, comprise: master control IC, auxiliary IC, gauge tap, RS232-USB interface convertor and power supply control IC, USB interface respectively with the RS232-USB interface convertor, master control IC and auxiliary IC carry out the connection of two-way data communication, gauge tap is connected with the Power supply pin of RS232-USB interface convertor that (gauge tap rises logical, the effect of outage), RS232-USB interface convertor communication pin is connected with master control IC communication pin that (this communication pin has can do input pin, also can make the both-way communication ability of output pin), master control IC, power supply control IC, auxiliary IC connects successively, and the circuit elements device connects respectively USB interface, the RS232-USB interface convertor, master control IC, power supply control IC and auxiliary IC; Wherein:
1) master control IC: be responsible for holding the testing software communication with PC the level signal on the auxiliary IC of control and power supply control IC and the collection sensor circuit;
2) auxiliary IC: be responsible for the communication with PC end testing software, gather the capacitance signal of sensor circuit;
3) gauge tap: be responsible for switching master control IC is by the RS232-USB interface convertor rs 232 serial interface signal to be turned usb signal mode and the communication of PC end testing software, and directly by master control IC send pass through usb signal and PC holds the testing software communication;
4) RS232-USB interface convertor: realize the conversion of USB signal and RS232 signal;
5) power supply control IC: the switch operating that powers on cut off the power supply of finishing auxiliary IC.
Described each circuit elements device is general resistor-capacitor unit.
The method of testing of capacitance plate sensor test circuit board, its step is as follows:
1) starts PC end testing software;
2) master control IC powers on for auxiliary IC;
3) auxiliary IC sends to PC end testing software with the capacitance that collects by default agreement;
4) after being completed, click a slice button under the test in the PC end testing software, finish the retesting of sensor raw material of the test of lower a slice sensor raw material or this sheet;
5) whole PC end testing software and sensor test board can repeat completing steps 1 to the test of step 5.
The corresponding testing software of computer PC end sends instruction can for master control IC, and accepts the data that master control IC passes back.After master control IC powers on, receive the instruction that PC end software transmits, control auxiliary IC by the FW that carries, power supply control IC finishes the signals collecting to each sensor circuit of sensor raw material, voltage value collection; Master control IC sends the signal that collects a PC end testing software again, and PC end testing software keeps a record to the data that master control IC feeds back, and relatively reaches judgement, provides the test result to this sensor raw material.
The utility model has the advantages that, realized leading to/short/disconnected test that settles at one go of sensor circuit, simple to operate not loaded down with trivial details, can be called the test that a mouse click just can be finished.Take full advantage of the testability of level signal and capacitance, test result can be not different because of different operating personnel's operations, realized leading to/short/accurately disconnected and uniformity test of sensor circuit.
Embodiment
The utility model is described in further detail below in conjunction with drawings and Examples, referring to Fig. 1 to Fig. 3, a kind of capacitance plate sensor test circuit board, comprise: master control IC104, auxiliary IC106, gauge tap 102, RS232-USB interface convertor 103 and power supply control IC105, usb 1 01 respectively with RS232-USB interface convertor 103, master control IC104 and auxiliary IC106 carry out the connection of two-way data communication, gauge tap 102 is connected with the Power supply pin of RS232-USB interface convertor 103, RS232-USB interface convertor 103 communication pins have two-way data communication to be connected with master control IC104 communication pin, master control IC104, power supply control IC105, auxiliary IC106 connects successively, and circuit elements device 107 connects respectively usb 1 01, RS232-USB interface convertor 103, master control IC104, power supply control IC105 and auxiliary IC106.
The function introduction of each hardware, software is as follows:
1) master control IC104.Be responsible for holding the testing software communication with PC the level signal on the auxiliary IC106 of control and power supply control IC105 and the collection sensor circuit.Master control IC104 is provided with I2C(by the twin wire universal serial bus of PHILIPS company exploitation) communication interface, UART(Universal Asynchronous Receiver ﹠ transmitter) communication interface and USB(Universal Serial Bus, USB (universal serial bus)) communication interface.Master control IC104 can make main frame, also can make slave.When master control IC104 does slave, it mainly is the order communication between PC end testing software and the master control IC104, PC end testing software can send to master control IC104 with order by the RS232-USB interface convertor, or the order of transmitting PC end testing software by USB port is to master control IC, and master control IC receives and finishes corresponding data acquisition or other command transfer are held its data acquisition and command transfer result by the wherein a kind of PC of returning in two kinds of interfaces testing software after the order.When making main frame, master control IC, be responsible on the one hand image data, by the GPIO port level signal is transmitted on the sensor circuit among the sensor, the obstruction of the resistance of process sensor circuit, the interference of electric capacity, a series of distortion can occur in logical/short/disconnected screening level signal, decay is returned to GPIO (the General Purpose Input/Output of each incoming level signal again, universal input output) port, master control IC are responsible for these signals through distortion and decay are processed the data of obtaining a result; Be responsible on the other hand and will hold the order of receiving the testing software to convert work and dormancy that level exports to control power supply control IC to from PC, thus work and the dormancy of the auxiliary IC of indirectly control.Master control IC namely makees main frame, does again slave, but all needs to finish the work by the FW that writes auxiliary IC inside.
2) auxiliary IC.Be responsible for the communication with PC end testing software, gather the capacitance signal of sensor circuit.Be provided with the I2C communication interface, UART.This IC can make main frame, also can do slave.When auxiliary IC did slave, auxiliary IC received the order of PC end testing software on the one hand by the RS232-USB interface convertor, finishes the capacitance data collecting work and image data is returned to the work that PC holds testing software; The level of being controlled the GPIO mouth of the auxiliary IC that IC links to each other with self pin by control by power supply on the other hand changes to control work and the dormancy of assisting IC.When auxiliary IC makees main frame, be responsible for to gather the capacitance of each sensor circuit of sensor, and the data that the data that collect perform calculations into the regulation agreement are existed in the register, testing software is inquired about for the PC end.No matter auxiliary IC makees main frame, still doing slave all needs to finish the work by the FW that writes auxiliary IC inside.
3) gauge tap.Be responsible for switching master control IC is by the RS232-USB interface convertor rs 232 serial interface signal to be turned usb signal mode and the communication of PC end testing software, and directly by master control IC send pass through usb signal and PC holds the testing software communication.
4) the RS232-USB(serial ports turns USB) interface convertor.Realize USB signal and RS232(serial ports) conversion of signal.
5) power supply control IC.Finish the switch operating that powers on cut off the power supply of auxiliary IC.
6) each circuit elements device.Each circuit elements device is general resistor-capacitor unit.
7) FW of master control IC, auxiliary IC inside.The program code of on corresponding program code compiler, writing and compiling.IC will be according to finishing the work of some row for the burned FW of IC after IC powered on.
Referring to Fig. 1, the structural representation of the utility model capacitance plate sensor test circuit board is described as follows:
1) usb 1 01 is the interface of test board and PC testing software connecting communication.This interface has bidirectional communication function.It carries out being connected of two-way data communication with RS232-USB interface convertor 103, master control IC104 and auxiliary IC106 respectively.
2) gauge tap 102 and RS232-USB interface convertor 103 unidirectional control linkages.The main selection of being responsible for master control IC and PC testing software communications protocol.Gauge tap is whether unidirectional control RS232-USB interface convertor works, and the RS232-USB interface convertor also can't be controlled gauge tap 102.
3) RS232-USB interface convertor 103 is connected with master control IC104, usb 1 01, gauge tap 102 and circuit elements device 107 respectively.Master control IC104 accepts the control of RS232-USB interface convertor 103, when RS232-USB powers on, master control IC104 just exports data message with rs 232 serial interface signal, colleague RS232-USB will convert rs 232 serial interface signal to from the command information that usb 1 01 receives and be input to master control IC104, but master control IC104 also can't control the work of RS232-USB interface convertor 103.It is the connection of bidirectional data transfers that RS232-USB interface convertor 103 is connected with the circuit of USB101.Gauge tap 102, the device of selecting RS232-USB whether to work.Circuit elements device 107 provides stable level and safe circuit environment for the RS232-USB interface convertor, and the RS232-USB interface convertor can't be carried out the circuit elements device and control.
4) master control IC104 is connected with power supply control IC105, circuit elements device 107, RS232-USB interface convertor 103 and usb 1 01 respectively.Master control IC plays the whole test board work of allotment at test board.Whether the unidirectional control power supply control of master control IC104 IC105 works.Circuit elements device 107, for the work of master control IC104 provides stable level, the environment of safety.RS232-USB interface convertor 103 is unidirectional to be selected with rs 232 serial interface signal output or exports data message with usb signal for master control IC104.Be connected with the two-way data communication function by circuit between usb 1 01 and the master control IC104.
5) power supply control IC105 is connected with the circuit elements device with auxiliary IC106, master control IC104 respectively and is connected.Power supply control IC105 is subjected to the control of master control IC104, the work that comes the auxiliary IC106 of regulation and control with do not work, this process is the unidirectional control procedure from power supply control IC105 to auxiliary IC106.Circuit elements device 107 provides stable operation level and the working environment of safety for power supply control IC105.
6) assist IC106 to be connected with the circuit elements device with power supply control IC105, usb 1 01 respectively and be connected, the auxiliary master control IC of auxiliary IC finishes the partial test data acquisition function of test board.Power supply control IC105 can be unidirectional the auxiliary IC of control whether work.Auxiliary IC106 and usb 1 01 can be reached two-way data communication by the circuit environment.The circuit elements device provides enough, stable level and the working environment of safety for the work of auxiliary IC.
7) circuit elements device 107 is controlled IC105 and is connected IC106 to be connected with usb 1 01, RS232-USB interface convertor 103, master control IC104, power supply respectively; finish voltage stabilizing; pressure limiting; protection test board circuit; provide stable working environment to other components and parts on the testing circuit board; this whole process all is the protection that circuit elements device 107 unilaterally provides for other components and parts on the circuit board, itself does not accept order and the level signal of other components and parts on the circuit board.
Fig. 2 is schematic diagram of the present utility model, also is the data flow figure of the utility model whole system.Next narrate lower process of data communication of the present utility model.
1) PC end testing software 201 starts among Fig. 2, PC end testing software turns USB by USB interface or the RS232-USB(serial ports of master control IC202) whether interface convertor 205 detect sensor test board 2 generation test board and access, such as the nothing access, this software is in and shows waiting status, waits for the access of sensor test board 2 generation test board.Such as the access of sensor test board 2 generation test board, testing software sends to master control and gathers the sensor data command, such as the data transmission of the end of the PC among Fig. 2 testing software 201 to master control IC202.
2) command type of the collection sensor data that send over according to PC end testing software 201 of master control IC202 decides the voltage data that is gathered sensor by master control IC oneself, still gathers capacitance data by auxiliary IC.Master control IC202 will compare from image data on the sensor circuit of sensor raw material 206, judge, result data is sent to PC end testing software 201, PCD end testing software 201 is responsible for corresponding figure is processed and be depicted as to these data, generates corresponding information and shows test results.
3) to be master control IC202 to master control IC202 gather voltage data from the sensor circuit of sensor raw material to Sensor raw material 206.Voltage data is sent by master control IC202, and the sensor circuit transmission through sensor raw material 206 feeds back to master control IC202, and master control IC202 judges through comparison, and the result is fed back to PC end testing software 201.
4) master control IC202, the work of controlling auxiliary IC203 by power-supply controller of electric IC204 with do not work.
5) auxiliary IC203 sends to PC end testing software 201 with the capacitance data that collects, PC end testing software 201 bases assist IC203 to gather the data judge of returning, and point out relevant information and be depicted as relational graph and point out auxiliary IC203 to gather validity of data and TP semi-manufacture or TP end properties.
Communication between auxiliary IC203 and the sensor raw material 206 is, auxiliary IC203 by superframe signal to the sensor circuit of sensor raw material 206, signal is through the transmission of sensor circuit, conversion generates new semaphore and passes to auxiliary IC203, and the FW of auxiliary IC203 process itself calculates data and passes to PC end testing software 201.
Embodiment:An example that gathers capacitance by usb signal.Such as Fig. 3, operation steps is as follows:
1) starts PC end testing software 301.PC end testing software is by sending a command to the sensor test board, and whether the detecting test board connects, and detecting sensor test board connects 302.If (connect 302 to master control IC to assisting IC to power on 304 such as detecting sensor test board) in the connection, the master control IC of test board powers on smoothly, PC end testing software basis and a series of communications of master control IC and the judgement of communication information, the prompting sensor of PC end testing software test board connects the successful connection of PC end, and then PC end testing software sends order and gathers the capacitance value data order, and the work whether follow-up sensor of judgement raw material successfully is connected on the sensor test board cooperates PC end testing software to finish by auxiliary IC.If the sensor test board does not connect, PC end testing software is in command wait state (connecting 302 to the successful connection 303 of waiting for test board such as detecting sensor test board).When sensor test board access PC end USB interface, the WINDOWS system will receive the signal of this sensor test board access PC end USB, and and then the PC end begins to process the action (powering on 304 to master control IC to auxiliary IC such as the successful connection 303 of waiting for test board) of above-mentioned sensor test board successful connection.
2) master control IC powers on 304 for auxiliary IC.This action is that the order that master control IC receives PC end testing software is finished.
3) auxiliary IC gathers and output capacitance value data message 305.After auxiliary IC powers on, move a cover FW program in machine code of self IC inside, and gather capacitance information above the sensor by transmitting and receiving capacitance.
4) auxiliary IC sends to PC end testing software (receive auxiliary IC data and judge test data 306 such as PC end testing software among the figure) with the capacitance that collects by default agreement.PC end testing software sends the capacitance of returning according to auxiliary IC and judges whether the sensor raw material is connected on the sensor test board.If the sensor raw material has been connected on the sensor test board, PC end testing software can draw gathering the data of returning, and data show and point out test result to show data and the test result of this test.
5) after being completed, no matter whether the sensor raw material is connected on the test board, perhaps whether sensor is connected on the raw material good, or whether the test result of sensor raw material is passed through, and clicks the retesting of sensor raw material that a slice button (such as a slice button 307 under Fig. 3 hit testing) under the test in the PC end testing software is finished the test of lower a slice sensor raw material or this sheet.
6) button of a slice under the hit testing.When the button of a slice under the hit testing, whole PC end testing software and sensor test board can repeat to finish above-mentioned steps 1 to the step of step 5.
Gordian technique of the present utility model is:
1) utilizing the editability of IC, developer's subjective testing demand is write IC, is sensor signals collecting and data operation work that IC finishes appointment.
2) design of card extender.
3) circuit board can carry out the I2C communication with CTP, also can carry out UART data communication and usb signal communication with the PC end.
4) the FW change of the master control IC on the circuit board and auxiliary IC can be finished the FW with the different demands of developer and write to finish by the testing software of PC end.
5) the image data mode of master control IC and auxiliary IC and output data layout are specified in advance by the developer, and be variable.
What more than enumerate only is a specific embodiment of the present utility model.Obviously, the utility model is not limited to above embodiment, and all distortion that those of ordinary skill in the art can directly derive or associate from the disclosed content of the utility model all should be thought the claimed scope of the utility model.