A kind of automatic testing equipment of collector
Technical field
The utility model relates to a kind of collector, especially a kind of automatic testing equipment of collector.
Background technology
At present, when collector detected on production line, traditional detection mode was for arranging Special station to do some detections such as power supply wiring, RS485 wiring, visual examination, functional check.When mass production, this test mode exposes that efficient is low, personnel drop into many, easy undetected all deficiencies.
The utility model content
The purpose of this utility model is to provide a kind of can test, greatly improve the automatic testing equipment of the collector of test speed, reduction testing cost automatically to collector.
For achieving the above object, the utility model has adopted following technical scheme: a kind of automatic testing equipment of collector, comprise single-chip microcomputer, its input/output terminal is connected with check meter mouth, 485 service port of collector, the carrier module of collector of 485 of infrared probe, the hand-held set that is used for scanning collection device bar code, collector respectively, and its output terminal is connected with display screen.
Also comprise power circuit, power circuit is powered to single-chip microcomputer and collector respectively by travel switch.
Described single-chip microcomputer adopts the MSP430 chip, its Uart0 mouth is checked meter by spring contact pin and 485 of collector and mouthful is connected, its Uart1 mouth is connected with 485 service port of collector by the spring contact pin, its carrier module is connected with the carrier module of collector by line of electric force, its I/O mouth connects for carrying out the infrared probe of infrared communication with the infrared module of collector, its RS232 serial ports is connected with hand-held set by the DB9 head, and its I/O mouth is connected with display screen.
Described display screen is the LCD LCDs.
Described bar code sticks on the shell of collector.
The I/O mouth of described MSP430 chip is connected with usb circuit.
As shown from the above technical solution, the utlity model has carrier meter reading, 485 checks meter and safeguards integrated function, whole test process complete independently, and testing procedure and result are shown by display screen, facilitate the testing staff to check testing result, greatly improved test speed, reduced tester's quantity, guarantee the qualification rate of test result, significantly reduced testing cost.
Description of drawings
Fig. 1 is circuit block diagram of the present utility model.
Embodiment
A kind of automatic testing equipment of collector, comprise single-chip microcomputer, its input/output terminal is connected with check meter mouth, 485 service port of collector, the carrier module of collector of 485 of infrared probe 3, the hand-held set 4 that is used for scanning collection device bar code, collector respectively, and its output terminal is connected with display screen.Also comprise power circuit, power circuit is powered to single-chip microcomputer and collector respectively by travel switch 5.Described bar code sticks on the shell of collector, can by the bar code of hand-held set 4 autoscan collectors, automatically test according to bar code, as shown in Figure 1.Controlled the break-make of power supply in test process by travel switch 5, prevent that the tester from getting an electric shock, and increased the security in the test process when placing collector.
As shown in Figure 1, described single-chip microcomputer adopts MSP430 chip 1, its Uart0 mouth is checked meter by spring contact pin and 485 of collector and mouthful is connected, its Uart1 mouth is connected with 485 service port of collector by the spring contact pin, Uart0 mouth and Uart1 mouth have LED light to indicate reiving/transmitting state, realize the automatic test of collector 485; Its carrier module is connected with the carrier module of collector by line of electric force; Its I/O mouth connects the infrared probe 3 that carries out infrared communication for the infrared module with collector, and the transmitting-receiving of controlling data detects the infrared communication mouth of collector; Its RS232 serial ports is connected with hand-held set 4 by the DB9 head, and its I/O mouth is connected with display screen, is used for the demonstration of test result, and described display screen is LCD LCDs 2.The I/O mouth of described MSP430 chip 1 is connected with usb circuit 6, and usb circuit 6 can be used for upgrading the test procedure of automatic testing equipment, is used for deriving simultaneously the test result of each collector.
Below in conjunction with Fig. 1, the utility model is further described.
When detecting, after collector was fixed to device, power circuit was linked into respectively by travel switch 5 on the power supply terminal of MSP430 chip 1 and collector, and the testing staff is left behind after the depression bar of travel switch 5, power turn-on; Bar code by hand-held set 4 scanning collection devices, sending to MSP430 chip 1 to start automatically the collector address detects, MSP430 chip 1 is communicated by letter with collector by RS485, carrier module, infrared probe 3 respectively, and judge whether returned content is correct, judge the quality of this hardware interface, and by LCD LCDs 2, test result is shown to the testing staff.
This device connects connecting line and the power lead of all tests, only needs by slide plate, collector to be put into test position, starts test, takes out collector during end to be tested, and whole test process is efficient and convenient; Each terminal of this device and collector is connected the spring contact pin that uses and is the rhombus joint, can effectively prevent the loose contact that causes different in size of each terminal; This device has crystal display, and in convenient whole test process, the demonstration of the essential informations such as each step and test result, facilitated the judgement of production link reviewer to test result; This device has been realized the test automation on the collector streamline, and the separate unit collector test duration was reduced in 20 seconds from 5 minutes, reduces by 93% above test duration, and efficient improves more than 1500%.