CN102706454A - USBTMC (Universal Serial Bus Traffic Message Channel) protocol specification based detection equipment of LED color and brightness - Google Patents
USBTMC (Universal Serial Bus Traffic Message Channel) protocol specification based detection equipment of LED color and brightness Download PDFInfo
- Publication number
- CN102706454A CN102706454A CN2012102067401A CN201210206740A CN102706454A CN 102706454 A CN102706454 A CN 102706454A CN 2012102067401 A CN2012102067401 A CN 2012102067401A CN 201210206740 A CN201210206740 A CN 201210206740A CN 102706454 A CN102706454 A CN 102706454A
- Authority
- CN
- China
- Prior art keywords
- led
- daughter board
- brightness
- usbtmc
- detection
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention relates to a detection equipment. The detection equipment adopts a standard USBTMC (Universal Serial Bus Traffic Message Channel) protocol, is very convenient to integrate with high-level programming codes, such as Labview, Labwindows, python, VC++, and the like, because a communication command accords with an SCPI (Standard Commands for Programmable Instruments) specification and is very convenient for field debugging due to the characteristics of an SCPI command on being easy to remember and communicating through an MAX (Measurement&Automation Explorer) interface of an NI (National Instruments).
Description
Technical field
The invention belongs to the automatic checkout equipment field, the color of the LED (Light Emitting Diode light emitting diode) on particularly a kind of test PCBA (Printed Circuit Board Assembly printed circuit board (PCB)) plank, the equipment of brightness.
Background technology
All there are some LED lamps to be used for indicating some states on the PCBA plank, in proper working order such as plank with the green LED lamp indication, indicate or the like 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, the probability of omission 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 invention 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.The very convenient field adjustable of characteristics that is easy to memory and can communicates of SCPI order through MAX (Measurement&Automation Explorer) interface of NI (National Instruments).
Summary of the invention
In order to solve some problems of above-mentioned technology, the object of the present invention is to provide a kind of low price, very be fit to be integrated into LED checkout equipment in the functional test station.
Test instrumentation all need 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 present invention is exactly the LED checkout equipment that will design compatible SCPI language, USBTMC equipment class, can realize the self diagnosis of each sub-LED equipment checks whether sub-LED equipment exists, whether intact.
The present invention provides a kind of checkout equipment that detects based on the led color and the brightness of USBTMC (Universal Serial Bus Test and Measurement Class) protocol specification, is characterised in that:
1, said checkout equipment is made up 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 of LED detection daughter board is a led color sensor, near product to be measured;
2, LED detects the color sensor on the daughter board, is used for accurately measuring the 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, special-purpose SCPI (the Standard Commands for Programmable Instruments programmable instrument standard commands) command format of field of automatic testing 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 giving each LED detection daughter board power supply and detects communicating by letter of daughter board with LED.
It is the LED sensor side that LED detects daughter board, is used to detect color and the brightness of LED, and detected data are offered the detection mainboard.
Description of drawings
Fig. 1 is the structured flowchart of the test macro of the method for the invention;
Fig. 2 is the standard USBTMC communication protocol of the method for the invention.
Reference numeral in the accompanying drawing is corresponding to lower component:
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 end mouth
The 8:USBTMC interface
9: equipment
Embodiment
In the face of doing, the present invention further describes down.
The structured flowchart of the test macro of application the method for the invention is with reference to shown in Figure 1.Test macro shown in the figure is made up of 4 parts: computing machine, LED detect mainboard, LED detects daughter board (mainboard can connect 24 daughtercard board at most) 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 made up of R (redness), G (green) and B (blueness).Through analyzing the 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, the operations such as time, LED optical attenuation of obtaining LED light through adjustment with the rgb value that obtains in a suitable scope.Through the distribution bus mode data are offered LED then 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.LED detects the resolver that has designed a SCPI order in MCU (the Micro Control Unit) firmware on the mainboard.
The communication protocol of the USBTMC that computing machine is connected with LED detection mainboard is with reference to shown in Figure 2.Wherein control port, batch data output port, batch data input port are necessary, and the interrupting input end mouth is optional.Some device enumeration processes when control port is used for device power, the SCPI order sends to the LED checkout equipment through data-out port, and device parses, fill order are if need give computing machine with information retransmission, then through data-in port passback computing machine.Such as: when computing machine need be read the rgb value that first LED detects daughter board; Computing machine sends order and gives and detect mainboard, detects mainboard and receives and at first get into 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 detecting the action completion, give the detection mainboard with returning data, detect mainboard and data encapsulation is become the SCPI command format and returns give computing machine through distribution bus.
Above embodiment further specifies of the present invention, and those skilled in the art are that above-mentioned explanation is not limited to protection scope of the present invention with being to be understood that.
Claims (3)
1. one kind based on the led color of USBTMC protocol specification and the checkout equipment of brightness, is characterised in that:
(1) said checkout equipment is made up 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 of LED detection daughter board is a led color sensor, near product to be measured;
(2) LED detects the color sensor on the daughter board, is used for accurately measuring the color and the brightness of P.e.c. onboard led;
(3) computing machine and communication between devices adopt USB port;
(4) the usb communication agreement adopts the USBTMC agreement;
(5) the special-purpose SCPI command format of field of automatic testing is adopted in the order of computing machine and equipment.
2. checkout equipment according to claim 1; Wherein LED detection mainboard one end is a 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 giving each LED detection daughter board power supply and detect communicating by letter of daughter board with LED.
3. checkout equipment according to claim 2, wherein LED detection daughter board is the LED sensor side, is used to detect color and the brightness of LED, and detected data are offered the detection mainboard.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102067401A CN102706454A (en) | 2012-06-21 | 2012-06-21 | USBTMC (Universal Serial Bus Traffic Message Channel) protocol specification based detection equipment of LED color and brightness |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102067401A CN102706454A (en) | 2012-06-21 | 2012-06-21 | USBTMC (Universal Serial Bus Traffic Message Channel) protocol specification based detection equipment of LED color and brightness |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102706454A true CN102706454A (en) | 2012-10-03 |
Family
ID=46899404
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012102067401A Pending CN102706454A (en) | 2012-06-21 | 2012-06-21 | USBTMC (Universal Serial Bus Traffic Message Channel) protocol specification based detection equipment of LED color and brightness |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102706454A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108760051A (en) * | 2018-05-07 | 2018-11-06 | 链尚信息科技(上海)有限公司 | Take color method, information processing method, equipment and computer readable storage medium |
CN110531240A (en) * | 2019-08-16 | 2019-12-03 | 珠海易发照明器材有限公司 | A kind of LED light source characteristic verifying attachment and method |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1668157A (en) * | 2004-03-11 | 2005-09-14 | 安捷伦科技公司 | Method and apparatus for controlling an LED based light system |
CN1696726A (en) * | 2005-05-27 | 2005-11-16 | 韩金龙 | Automated testing system and method for light emitting diode |
US20060056178A1 (en) * | 2004-09-15 | 2006-03-16 | Len-Li Kevin L | Color correction of LCD lighting for ambient illumination |
CN201571244U (en) * | 2009-11-30 | 2010-09-01 | 石明峰 | LED lamp capable of automatically adjusting self-brightness according to environmental brightness |
CN201680843U (en) * | 2010-03-26 | 2010-12-22 | 成都乐动信息技术有限公司 | Novel 3D pedometer |
CN201904068U (en) * | 2010-12-15 | 2011-07-20 | 巴可伟视(北京)电子有限公司 | System for realizing automatic adjustment of brightness of outdoor display screen |
WO2012036124A1 (en) * | 2010-09-17 | 2012-03-22 | シャープ株式会社 | Led unit and led display |
CN202182813U (en) * | 2011-08-30 | 2012-04-04 | 杭州创惠仪器有限公司 | Light-emitting diode (LED) light attenuation testing device |
CN102455417A (en) * | 2010-10-14 | 2012-05-16 | 泰金宝光电(苏州)有限公司 | Testing system of LED (Light Emitting Diode) lamp |
CN102770621A (en) * | 2010-02-26 | 2012-11-07 | 卡特彼勒环球矿业边坡矿工有限责任公司 | Launch vehicle for a mining system, a mining system and a method for mining |
CN202770621U (en) * | 2012-06-21 | 2013-03-06 | 伟创力电子技术(苏州)有限公司 | LED color and brightness detection equipment based on USBTMC protocol specification |
-
2012
- 2012-06-21 CN CN2012102067401A patent/CN102706454A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1668157A (en) * | 2004-03-11 | 2005-09-14 | 安捷伦科技公司 | Method and apparatus for controlling an LED based light system |
US20060056178A1 (en) * | 2004-09-15 | 2006-03-16 | Len-Li Kevin L | Color correction of LCD lighting for ambient illumination |
CN1696726A (en) * | 2005-05-27 | 2005-11-16 | 韩金龙 | Automated testing system and method for light emitting diode |
CN201571244U (en) * | 2009-11-30 | 2010-09-01 | 石明峰 | LED lamp capable of automatically adjusting self-brightness according to environmental brightness |
CN102770621A (en) * | 2010-02-26 | 2012-11-07 | 卡特彼勒环球矿业边坡矿工有限责任公司 | Launch vehicle for a mining system, a mining system and a method for mining |
CN201680843U (en) * | 2010-03-26 | 2010-12-22 | 成都乐动信息技术有限公司 | Novel 3D pedometer |
WO2012036124A1 (en) * | 2010-09-17 | 2012-03-22 | シャープ株式会社 | Led unit and led display |
CN102455417A (en) * | 2010-10-14 | 2012-05-16 | 泰金宝光电(苏州)有限公司 | Testing system of LED (Light Emitting Diode) lamp |
CN201904068U (en) * | 2010-12-15 | 2011-07-20 | 巴可伟视(北京)电子有限公司 | System for realizing automatic adjustment of brightness of outdoor display screen |
CN202182813U (en) * | 2011-08-30 | 2012-04-04 | 杭州创惠仪器有限公司 | Light-emitting diode (LED) light attenuation testing device |
CN202770621U (en) * | 2012-06-21 | 2013-03-06 | 伟创力电子技术(苏州)有限公司 | LED color and brightness detection equipment based on USBTMC protocol specification |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108760051A (en) * | 2018-05-07 | 2018-11-06 | 链尚信息科技(上海)有限公司 | Take color method, information processing method, equipment and computer readable storage medium |
CN110531240A (en) * | 2019-08-16 | 2019-12-03 | 珠海易发照明器材有限公司 | A kind of LED light source characteristic verifying attachment and method |
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 | |
CN103777111B (en) | Engineering automation short circuit and/or open test method | |
CN204884160U (en) | Ammeter data collection station detecting system | |
CN104614607B (en) | A kind of method of testing and test system | |
US7979232B2 (en) | Apparatuses and methods for determining configuration of SAS and SATA cables | |
CN102866000A (en) | Laser detection system | |
CN202177894U (en) | Failure diagnosis card of main board | |
CN102706454A (en) | USBTMC (Universal Serial Bus Traffic Message Channel) protocol specification based detection equipment of LED color and brightness | |
CN106603323B (en) | Detect the detection method of jig, network interface transfers rate | |
CN202770621U (en) | LED color and brightness detection equipment based on USBTMC protocol specification | |
CN207488442U (en) | A kind of POS machine mainboard automatic test circuit | |
CN105556256A (en) | Plug-in connector | |
CN207730842U (en) | A kind of cable line sequence detection device | |
CN104062530B (en) | A kind of mobile terminal hardware failure detection device and method | |
CN100407511C (en) | Method for preventing veneer misplug and its realizing apparatus | |
WO2022222833A1 (en) | Circuit component recognition method | |
CN203191535U (en) | LED (light-emitting diode) colour detection device and LED colour detection system | |
CN210690749U (en) | PCBA verifying attachment of emergent lamps and lanterns | |
CN207752087U (en) | Line fault detecting system | |
CN110988738A (en) | Multi-interface open-short circuit test circuit and device | |
CN110824284A (en) | Method and tool for testing expansion base | |
CN101738564A (en) | Memory slot detector | |
CN211711117U (en) | Portable detection device for residual oil output of aircraft fuel system | |
CN110907857A (en) | FPGA-based connector automatic detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C05 | Deemed withdrawal (patent law before 1993) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20121003 |