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 PDF

Info

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
Application number
CN2012102067401A
Other languages
Chinese (zh)
Inventor
张毅
陈运浩
冯奕
Original Assignee
伟创力电子技术(苏州)有限公司
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 伟创力电子技术(苏州)有限公司 filed Critical 伟创力电子技术(苏州)有限公司
Priority to CN2012102067401A priority Critical patent/CN102706454A/en
Publication of CN102706454A publication Critical patent/CN102706454A/en

Links

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

A kind of based on the led color of USBTMC protocol specification and the checkout equipment of brightness
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.
CN2012102067401A 2012-06-21 2012-06-21 USBTMC (Universal Serial Bus Traffic Message Channel) protocol specification based detection equipment of LED color and brightness CN102706454A (en)

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 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 (1)

* Cited by examiner, † Cited by third party
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

Citations (11)

* Cited by examiner, † Cited by third party
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

Patent Citations (11)

* Cited by examiner, † Cited by third party
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 (1)

* Cited by examiner, † Cited by third party
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

Similar Documents

Publication Publication Date Title
CN201886095U (en) Test device of merging unit
CN101937222B (en) Board level testing system
CN103513134B (en) Comprehensive diagnosis device and method for power on-site terminal faults
CN104198911B (en) A kind of chip pin method of testing of DTU and circuit
CN102353927A (en) Filed tester for acquisition system for electricity consumption information and test method thereof
CN105404284B (en) A kind of cross-platform PLC products tooling test system and its test method based on QT
CN103019940B (en) A kind of electric energy meter embedded software half simulation testing device
CN202694136U (en) Multichannel thermal control system testing equipment
CN105910539B (en) Cable cover(ing) tensile elongation measuring device and method based on machine vision
CN106597207B (en) A kind of integronics cable connector state passive detection system and detection method
CN104569653A (en) Automatic test system for password cards
CN101980034B (en) Automotive wiring harness conduction detection method
CN101634962B (en) PCI interface test card
US10838385B2 (en) Method for automatic switching of a communication resistor of a hart device in or out
CN203278835U (en) Optical module calibration system
CN105302755A (en) PCIE board card with monitoring function and monitoring method therefor
US20110296060A1 (en) Apparatus for Monitoring At Least One Gage Device Using USB Virtual COM And Keyboard Emulator
CN202939234U (en) Electrical connector insertion in/pulling out universal testing system
CN103023561B (en) Optical fiber autocoupling pairing system for optical module test
US9760516B2 (en) Apparatus for transmitting and/or receiving measurement data of a field device with passive adapter interface
TWI638998B (en) Biosenor monitors, test strips and activation mechanisms and methods thereof
CN101187684B (en) Main board light-emitting diode detection device and method
CN106209220B (en) A kind of setting of UX3328SFP optical module Automatic parameters and test method based on FPGA
CN104407279A (en) Code type data, apparatus and test method for automatically testing chip MDIO bus protocol
CN101097534B (en) Method and system for realizing recognizing and detecting plate type of single plate

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121003

C05 Deemed withdrawal (patent law before 1993)