CN202770621U - LED color and brightness detection equipment based on USBTMC protocol specification - Google Patents
LED color and brightness detection equipment based on USBTMC protocol specification Download PDFInfo
- Publication number
- CN202770621U CN202770621U CN2012202939203U CN201220293920U CN202770621U CN 202770621 U CN202770621 U CN 202770621U CN 2012202939203 U CN2012202939203 U CN 2012202939203U CN 201220293920 U CN201220293920 U CN 201220293920U CN 202770621 U CN202770621 U CN 202770621U
- Authority
- CN
- China
- Prior art keywords
- led
- daughter board
- mainboard
- color
- detect
- 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
Links
Images
Abstract
A piece of detection equipment provided by the utility model adopts a standard USBTMC (Universal Serial Bus Traffic Message Channel) protocol, a communication command accords with an SCPI (Standard Commands for Programmable Instruments) specification, and integration to high-level programming codes, such as Labview, Labwindows, python, VC++, and the like are very convenient. Field debugging is very convenient as an SCPI command is easy to remember and communication can be carried out through an MAX (Measurement & Automation Explorer) interface of the NI (National Instruments).
Description
Technical field
The utility model belongs to the automatic checkout equipment field, particularly the color of the LED (Light Emitting Diode light emitting diode) on a kind of test PCBA (Printed Circuit Board Assembly printed circuit board (PCB)) plank, the equipment of brightness.
Background technology
There are some LED lamps to be used to refer to some states on the PCBA plank, working properly with the green LED lamp indication such as plank, indicate etc. with red LED lamp when alarm occurring.Present detection method of the prior art has following deficiency:
1, owing to operative employee's visual inspection, probability undetected and flase drop is high;
2, adopt professional LED checkout equipment, apparatus expensive, all incompatible between the incidental test command of professional LED checkout equipment, make troubles for the programming of computer terminal;
3, professional camera equipment, equipment are quite expensive.
Checkout equipment of the present utility model adopts the USBTMC agreement of standard, and communications command meets the SCPI standard, the very convenient upper strata programming code that is integrated into, and such as Labview, Labwindows, python, VC++ etc.MAX (the Measurement ﹠amp that is easy to memory and can passes through NI (National Ins truments) of SCPI order; Automation Explorer) the very convenient field adjustable of characteristics that communicates of interface.
The utility model content
In order to solve some problems of above-mentioned technology, the purpose of this utility model is to provide a kind of low price, very is fit to be integrated into LED checkout equipment in the functional test station.
Test instrumentation all needs to satisfy the standard of test aspect, such as gpib interface, USBTMC equipment class etc., and all is compatible SCPI language.This brings convenience for the programming on upper strata.
The utility model is exactly the LED checkout equipment that will design compatible SCPI language, USBTMC equipment class, can realize the self diagnosis of every sub-LED equipment checks whether sub-LED equipment exists, whether intact.
The checkout equipment that the utility model provides a kind of led color based on USBTMC (Universal Serial Bus Test and Measurement Class) protocol specification and brightness to detect is characterised in that:
1, described checkout equipment is comprised of a LED detection mainboard and a plurality of LED detection daughter board, wherein detecting mainboard one end is connected with computing machine, the other end and a plurality of LED detect each a end of daughter boards and are connected, and the other end that LED detects daughter board is a led color sensor, close product to be measured;
2, LED detects the color sensor on the daughter board, is used for accurately measuring color and the brightness of P.e.c. onboard led;
3, computing machine and communication between devices adopt USB (Universal Serial Bus) port;
4, the usb communication agreement adopts the USBTMC agreement;
5, SCPI (the Standard Commands for Programmable Instruments programmable instrument standard commands) command format of field of automatic testing special use is adopted in the order of computing machine and equipment.
It is USB port that LED detects mainboard one end, is used for and compunication, and the other end is the IDC connector, detects daughter board with 24 LED and is connected, and realizes detecting the daughter board power supply and detecting communicating by letter of daughter board with LED to each LED.
It is the LED sensor side that LED detects daughter board, for detection of color and the brightness of LED, and the data that detect is offered the detection mainboard.
Description of drawings
Fig. 1 is the structured flowchart of the test macro of method described in the utility model;
Fig. 2 is the standard USBTMC communication protocol of method described in the utility model.
Reference numeral in the accompanying drawing is corresponding to lower member:
1: computing machine
2:LED detects mainboard
3: product to be measured
A1, A2-A24:LED detect daughter board
4: control port
5: the batch data output port
6: the batch data input port
7: the interrupting input port
The 8:USBTMC interface
9: equipment
Embodiment
The below is described further the utility model.
Use the structured flowchart of test macro of method described in the utility model with reference to shown in Figure 1.Test macro shown in the figure is comprised of 4 parts: computing machine, LED detect mainboard, LED detects daughter board (mainboard can connect at most 24 daughter boards) and product to be measured.
When the LED number to be detected of product to be measured exceeds 24, can select a plurality of LED mainboards and daughter board to detect.
It is the sense terminals equipment of system that LED detects daughter board, is the color sensor chip.Visible light colors is comprised of R (redness), G (green) and B (blueness).By analyzing rgb value and the brightness value of LED light, just can distinguish led color and brightness.When LED light is too by force or too weak, obtain rgb value that the operations such as time, LED optical attenuation of LED light will obtain by adjustment in a suitable scope.Then by the distribution bus mode data are offered LED and detect mainboard.
The SCPI order is the abbreviation of standard of instruments command set able to programme, adopts the command set of tree hierarchy.Its memonic symbol generation rule is simple, clear and definite, be easy to memory.Designed the resolver of a SCPI order in MCU (the Micro Control Unit) firmware on the LED detection mainboard.
Computing machine is connected the communication protocol of the USBTMC that mainboard connects with reference to shown in Figure 2 with LED.Wherein control port, batch data output port, batch data input port are necessary, and the interrupting input port is optional.Some device enumeration processes when control port is used for device power, the SCPI order sends to the LED checkout equipment by data-out port, and device parses, fill order are if need to return to computing machine with information, then by data-in port passback computing machine.Such as: when computing machine need to be read the rgb value that first LED detects daughter board, computing machine sends order to detecting mainboard, detecting mainboard receives and at first enters whether the sense command of SCPI resolver detects correctly and at first whether LED daughter board 1 exists after the order and normally, if normal, then carry out and detect action, after the detection action is finished, by distribution bus data are returned to the detection mainboard, detect mainboard and encapsulate data into the SCPI command format and return to computing machine.
Above embodiment further specifies of the present utility model, and those skilled in the art are that above-mentioned explanation is not limited to protection domain of the present utility model with being to be understood that.
Claims (3)
1. the checkout equipment of a led color and brightness is characterised in that:
(1) described checkout equipment is comprised of a LED detection mainboard and a plurality of LED detection daughter board, wherein detecting mainboard one end is connected with computing machine, the other end and a plurality of LED detect each a end of daughter boards and are connected, and the other end that LED detects daughter board is a led color sensor, close product to be measured;
(2) LED detects the color sensor on the daughter board, is used for accurately measuring color and the brightness of P.e.c. onboard led;
(3) computing machine and communication between devices adopt USB port.
2. checkout equipment according to claim 1, wherein LED detection mainboard one end is USB port, is used for and compunication, and the other end is the IDC connector, detect daughter board with 24 LED and be connected, realize detecting the daughter board power supply and detecting communicating by letter of daughter board with LED to each LED.
3. checkout equipment according to claim 2, wherein to detect daughter board be the LED sensor side to LED, for detection of color and the brightness of LED, and the data that detect offered the detection mainboard.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012202939203U CN202770621U (en) | 2012-06-21 | 2012-06-21 | LED color and brightness detection equipment based on USBTMC protocol specification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012202939203U CN202770621U (en) | 2012-06-21 | 2012-06-21 | LED color and brightness detection equipment based on USBTMC protocol specification |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202770621U true CN202770621U (en) | 2013-03-06 |
Family
ID=47777185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012202939203U Expired - Fee Related CN202770621U (en) | 2012-06-21 | 2012-06-21 | LED color and brightness detection equipment based on USBTMC protocol specification |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202770621U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102706454A (en) * | 2012-06-21 | 2012-10-03 | 伟创力电子技术(苏州)有限公司 | USBTMC (Universal Serial Bus Traffic Message Channel) protocol specification based detection equipment of LED color and brightness |
-
2012
- 2012-06-21 CN CN2012202939203U patent/CN202770621U/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102706454A (en) * | 2012-06-21 | 2012-10-03 | 伟创力电子技术(苏州)有限公司 | USBTMC (Universal Serial Bus Traffic Message Channel) protocol specification based detection equipment of LED color and brightness |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101097534B (en) | Method and system for realizing recognizing and detecting plate type of single plate | |
CN104516798B (en) | Wireless one-to-many test system | |
CN104461799B (en) | Board configures correctness detecting system | |
CN204884160U (en) | Ammeter data collection station detecting system | |
CN102866000B (en) | Laser detection system | |
US7979232B2 (en) | Apparatuses and methods for determining configuration of SAS and SATA cables | |
CN206804777U (en) | Short circuit detection means | |
CN103090974B (en) | Color detection system of indicator light of equipment | |
CN111157876A (en) | System and method for testing PCBA (printed circuit board assembly) with luminous LED (light-emitting diode) | |
CN202770621U (en) | LED color and brightness detection equipment based on USBTMC protocol specification | |
CN104614607B (en) | A kind of method of testing and test system | |
CN102706454A (en) | USBTMC (Universal Serial Bus Traffic Message Channel) protocol specification based detection equipment of LED color and brightness | |
CN104750101B (en) | A kind of airborne inquisitor digital signal processing module detection method | |
CN104062530B (en) | A kind of mobile terminal hardware failure detection device and method | |
CN207730842U (en) | A kind of cable line sequence detection device | |
CN207488442U (en) | A kind of POS machine mainboard automatic test circuit | |
WO2022222833A1 (en) | Circuit component recognition method | |
CN203287492U (en) | Test board for testing X121 input/output port of numeric control unit | |
CN205091416U (en) | Many car wiring harness detection device | |
CN207752087U (en) | Line fault detecting system | |
CN203191535U (en) | LED (light-emitting diode) colour detection device and LED colour detection system | |
CN101738564A (en) | Memory slot detector | |
CN201374194Y (en) | Memory pin signal identification card | |
CN205880890U (en) | Intelligent ammeter electronic tags automatic identification equipment | |
CN213780952U (en) | PCIE slot signal detection card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130306 Termination date: 20190621 |
|
CF01 | Termination of patent right due to non-payment of annual fee |