CN104582125A - Light source controller - Google Patents

Light source controller Download PDF

Info

Publication number
CN104582125A
CN104582125A CN201410330466.8A CN201410330466A CN104582125A CN 104582125 A CN104582125 A CN 104582125A CN 201410330466 A CN201410330466 A CN 201410330466A CN 104582125 A CN104582125 A CN 104582125A
Authority
CN
China
Prior art keywords
light source
configuration information
processor
drive singal
source controller
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
Application number
CN201410330466.8A
Other languages
Chinese (zh)
Inventor
于海波
刘娜
王丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC Beijing Electronic Equipment Co
Original Assignee
CETC Beijing Electronic Equipment Co
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 CETC Beijing Electronic Equipment Co filed Critical CETC Beijing Electronic Equipment Co
Priority to CN201410330466.8A priority Critical patent/CN104582125A/en
Publication of CN104582125A publication Critical patent/CN104582125A/en
Pending legal-status Critical Current

Links

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides a light source controller which is characterized by comprising a processor, a drive circuit and a communication interface, wherein the processor is communicated with an upper computer through the communication interface, is used for acquiring operation setting information of multiple light sources, sent by the upper computer, and generates working voltage driving signals corresponding to the multiple light sources according to the operation setting information; the drive circuit is used for receiving the driving signals corresponding to the multiple light sources, generated by the processor, and provides corresponding working voltages for the light sources according to the driving signals. The light source controller can control the multiple light sources of a machine vision system to operate cooperatively through the upper computer, thereby effectively improving the adaptability of the machine vision system to different products.

Description

A kind of light source controller
Technical field
The present invention relates to field of machine vision, particularly a kind of light source controller.
Background technology
Vision Builder for Automated Inspection is technology modules important in manufacturing industry.Machine can be utilized to replace human eye measure and judge.Namely by plant equipment, imaging is carried out to target product, and imaging is converted to digital signal and sends special image processing system (as converted digital signal to according to pixel distribution and the letter such as brightness, color) to, image processing system carries out Algorithm Analysis to these digital signals, realizes Automated condtrol.Can be applicable to the multiple occasions such as the measurement of product, location, quality inspection.
Light source control technology is as one of technology crucial in machine vision applications, and it directly can affect quality and the effect of the image of Vision Builder for Automated Inspection to a great extent.For semiconductor equipment, the illuminator of machine vision is in order to adapt to the image recognition of multiple material, need multichannel light source, such as: coaxial red light source is than the material being easier to applicable identification chip surface cyan and grey, and coaxial blue light is than being easier to the yellow and golden material of identified surface chip, annular light source is mainly used to the profile reflecting chip.Brightness regulation can regulate exposure intensity, thus obtains image clearly.Therefore all imaging demand that the light source how controlled under many group autonomous channels has worked in coordination with different product of the present inventionly capture difficult point.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of light source controller, can unify to control by the multichannel light source of host computer to Vision Builder for Automated Inspection.
For solving the problems of the technologies described above, embodiments of the invention provide a kind of light source controller, comprising: processor, drive circuit and communication interface;
Described processor communicates with host computer according to described communication interface, for obtaining the work configuration information of multiple light sources that host computer sends, and generates the drive singal of the operating voltage of corresponding multiple light source according to described work configuration information;
The drive singal of the multiple light source of correspondence that described drive circuit generates for receiving described processing module, and according to described drive singal for each light source provides corresponding operating voltage.
Wherein, the configuration information that works comprises:
For starting or close the first configuration information of light source, the first drive singal that corresponding drive circuit generates;
For regulating the second configuration information of the intensity of light source, the second drive singal that corresponding drive circuit generates.
Wherein, described drive circuit comprises:
Driving chip and with multiple light source logic switch electronic circuit one to one;
Described driving chip accesses the first drive singal that described processor generates, and according to the light source importing operating voltage of this first drive singal control logic switch electronic circuit to its correspondence.
Wherein, each logic switch electronic circuit includes a logic resistance;
Described driving chip, also for receiving the second drive singal that described processor generates, and according to the size of logic resistance in this second drive singal control logic switch electronic circuit, thus controls the size of the operating voltage of light source.
Wherein, described communication interface comprises network interface and/or serial ports; Described first configuration information and the second configuration information are packet; Described processor receives described first configuration information and the second configuration information by described network interface and/or serial ports.
Wherein, described logic resistance is digital regulation resistance; Described communication interface comprises I/O interface and network interface and/or serial ports; Described first configuration information is clock signal, and described second configuration information is packet;
Described processor by the first configuration information described in described I/O interface, and receives described second configuration information by network interface and/or serial ports;
Wherein, each logic switch electronic circuit includes a short-circuit protection electronic circuit, for when the operating voltage of light source is greater than predetermined threshold value, stops importing light source to operating voltage.
Wherein,
Described processor is connected with described driving chip by photoisolator.
The beneficial effect of technique scheme of the present invention is as follows:
Use light source controller of the present invention, by multiple light source collaborative works of PC control mechanical video system, can effectively improve the adaptability of mechanical video system for different product.
Accompanying drawing explanation
Fig. 1 is the structural representation of light source controller of the present invention;
Fig. 2 is the structural representation of the corresponding embodiment of light source controller of the present invention.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
As shown in Figure 1, the invention provides a kind of light source controller, comprising: processor, drive circuit and communication interface;
Described processor communicates with host computer according to described communication interface, for obtaining the work configuration information of multiple light sources that host computer sends, and generates the drive singal of the operating voltage of corresponding multiple light source according to described work configuration information;
The drive singal of the multiple light source of correspondence that described drive circuit generates for receiving described processing module, and according to described drive singal for each light source provides corresponding operating voltage.
Use light source controller of the present invention, can unify to control by the multichannel light source of host computer to Vision Builder for Automated Inspection, Vision Builder for Automated Inspection is applied in actual production process more neatly.
Particularly, described work configuration information comprises: for starting or close the first configuration information of light source, the first drive singal that corresponding drive circuit generates; And for regulating the second configuration information of the intensity of light source, the second drive singal that corresponding drive circuit generates.
Described drive circuit comprises:
Driving chip and with multiple light source logic switch electronic circuit one to one;
Described driving chip accesses the first drive singal that described processor generates, and according to the light source importing operating voltage of this first drive singal control logic switch electronic circuit to its correspondence.
In addition, on the basis of above-described embodiment, each logic switch electronic circuit includes a logic resistance;
Driving chip receives the second drive singal that described processor generates, and according to the size of logic resistance in this second drive singal control logic switch electronic circuit, thus control the size of the operating voltage of light source.
In addition, described communication interface specifically comprises network interface and/or serial ports; Described first configuration information and the second configuration information are packet; Described processor receives the packet of described first configuration information and the second configuration information by described network interface and/or serial ports.Wherein, utilize serial ports and processor communication speed can reach 1 millisecond, and utilize network interface and processor communication speed to send a secondary data sooner only to need 100 microseconds.
As a preferred version, in order to accelerate the response speed of processor, communication interface comprises I/O interface and network interface and/or serial ports; First configuration information is specially clock signal, and the second configuration information is specially packet;
Processor by the first configuration information described in described I/O interface, and receives described second configuration information by network interface and/or serial ports.
Describe above and can know, first configuration information, only for On/Off logic subcircuit, therefore can adopt the clock signal of high electronegative potential, by I/O interface directly to processor transmission timing signal, the time of processor resolution data bag can be saved, thus accelerate response speed.
In addition, on the basis of above-described embodiment, each logic switch electronic circuit includes a short-circuit protection electronic circuit, for when the operating voltage of light source is greater than predetermined threshold value, stops importing light source to operating voltage.
In addition, may there is spark phenomenon in light source after cut-in operation voltage, and this phenomenon can instantaneous generation interference signal, causes processor to reset.For this reason as a preferred solution, in light source controller of the present invention, described processor is connected with drive circuit by photoisolator, interference signal is filtered by photoisolator.As a preferred version, in order to make light source controller of the present invention still can normally work by driving light source after host computer power down, described processor comprises EPROM storage chip;
Described processor is also in the described work configuration information buffer memory that will receive to described EPROM storage chip; And receive the work request sent from host computer, according to this work request from the work configuration information described EPROM storage chip, thus generate the drive singal of multiple light source.
Namely, after host computer re-powers, can resume work from new driving light source according to the work configuration information of inner EPROM storage chip by command processor.
Below in conjunction with a specific embodiment, light source controller of the present invention is described in detail.
As shown in Figure 2, the light source controller of the present embodiment provides an outer modular interface, the interface for being connected with inner serial ports, network interface and I/O interface including power interface, provide the output interface of multiple light source works voltage and provide for host computer.Wherein, serial ports, I/O interface are connected by photoisolator with external module interface, damage the pulse that processor causes for avoiding host computer.And existing network interface itself have employed isolating transformer, therefore can directly be connected with external module interface.User can be connected light source controller according to the communication condition of host computer selectively in serial ports, network interface and I/O interface.
Exemplarily, in the present embodiment, processor receives the second configuration information of host computer transmission by serial ports and network interface, the first configuration information sent by I/O interface host computer.
Start to power on to light source controller after relevant access completes, by user's proactive initialization processor, serial ports, network interface and I/O interface.User selects the light source needing to use in the operating system of host computer, and the intensity of light source.Such as, when target light source is specifically being opened, and uses what intensity luminous.In the use procedure of reality, may light source can in different time point On/Off and transformation light source intensity, therefore host computer can arrange according to user the first configuration information and the second configuration information that generate multiple corresponding different time points.For ensureing automated execution, different radiation pattern can be set according to the feature of the first configuration information and the second configuration information.Wherein, the first configuration information, only for On/Off logic subcircuit, therefore can adopt the clock signal of high low-potential signal, and host computer can generate corresponding transmission timing according to all first configuration informations of a light source.And the second configuration information is undertaken sending by serial ports and network interface with the form of packet, the launching procedure of the second configuration information therefore can be generated according to the clocking capability of house dog.After the work configuration information of all light sources completes, host computer sends the first configuration information according to sequential, and sends the second configuration information according to launching procedure.
The packet that processor receives the second configuration information by network interface and serial ports produces the second drive singal (i.e. pulse width modulation (PWM) signal), after photoisolator, reaches driving chip.The operating voltage size that driving chip is to be output according to the duty ratio control logic switch electronic circuit of the second drive singal, thus control the intensity of light source.Exemplarily, include digital regulation resistance in each logic switch electronic circuit, driving chip according to the resistance sizes of the Duty ratio control digital regulation resistance of the second drive singal, thus changes the operating voltage in logic switch electronic circuit source.Meanwhile, processor produces the second drive singal after photoisolator according to I/O interface first configuration information (i.e. time slot signal), reaches driving chip.Driving chip generates corresponding high/low electric potential signal, for the ON/OFF of control logic switch electronic circuit according to the first drive singal.Particularly, the logic switch electronic circuit conducting corresponding to power supply of work is set by host computer, obtains the operating voltage set.And the logic switch electronic circuit corresponding to idle power supply disconnects.
In addition, operating personnel sent the transmission timing of the first configuration information and the transmission program of the second configuration information by network interface and serial ports directly to processor, the EPROM storage chip of processor inside is made to carry out buffer memory (namely transmission timing comprises all first configuration informations of light source, and transmission program comprises all second and arranges letter).When re-powering after host computer or light source controller power down, processor can according to the clocking capability determination power down time of inside.After sending the order of resuming work to processor at host computer, processor loads transmission timing and the transmission program that EPROM stores corresponding power down time in core, thus continues generation first drive singal and the second drive singal, ensures that light source recovers normal work.
During in order to prevent the short circuit of logic switch electronic circuit, damage is caused to driving chip and light source, each logic switch electronic circuit is all connected in series sampling resistor and switching diode, the magnitude of voltage of sampling resistor is exported the negative terminal of a comparator, the maximum voltage of comparator anode access predetermined threshold value.If logic switch electronic circuit is short-circuited, the voltage at sampling resistor two ends must rise, and exceedes the positive end value of comparator, and comparator exports low-potential signal, disconnected by the direct or indirect control switch diode of this low-potential signal, thus logic switch electronic circuit is disconnected.
In addition, on above-mentioned basis, the output of logic switch electronic circuit also can be connected with processor, forms feedback.Namely the operating voltage that logic switch electronic circuit exports is fed back to host computer by processor, enables host computer show the current operating state of each light source to operating personnel.
In sum, the light source controller of the present embodiment by multiple light source collaborative works of PC control mechanical video system, can effectively improve the adaptability of mechanical video system for different product.
Needs illustrate, in above-described embodiment, the first configuration information can be sent to processor by the form of packet from network interface and/or serial ports.Corresponding, the transmission timing of the first configuration information that what EPROM stored that core preserves is no longer, but the transmission program the same with the second configuration information.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1. a light source controller, is characterized in that, comprising: processor, drive circuit and communication interface;
Described processor communicates with host computer according to described communication interface, for obtaining the work configuration information of multiple light sources that host computer sends, and generates the drive singal of the operating voltage of corresponding multiple light source according to described work configuration information;
The drive singal of the multiple light source of correspondence that described drive circuit generates for receiving described processing module, and according to described drive singal for each light source provides corresponding operating voltage.
2. light source controller according to claim 1, is characterized in that, work configuration information comprises:
For starting or close the first configuration information of light source, the first drive singal that corresponding drive circuit generates;
For regulating the second configuration information of the intensity of light source, the second drive singal that corresponding drive circuit generates.
3. light source controller according to claim 1, is characterized in that, described drive circuit comprises:
Driving chip and with multiple light source logic switch electronic circuit one to one;
Described driving chip accesses the first drive singal that described processor generates, and according to the light source importing operating voltage of this first drive singal control logic switch electronic circuit to its correspondence.
4. light source controller according to claim 3, is characterized in that, each logic switch electronic circuit includes a logic resistance;
Described driving chip, also for receiving the second drive singal that described processor generates, and according to the size of logic resistance in this second drive singal control logic switch electronic circuit, thus controls the size of the operating voltage of light source.
5. light source controller according to claim 2, is characterized in that, described communication interface comprises network interface and/or serial ports; Described first configuration information and the second configuration information are packet; Described processor receives described first configuration information and the second configuration information by described network interface and/or serial ports.
6. light source controller according to claim 4, is characterized in that, described logic resistance is digital regulation resistance; Described communication interface comprises I/O interface and network interface and/or serial ports; Described first configuration information is clock signal, and described second configuration information is packet;
Described processor by the first configuration information described in described I/O interface, and receives described second configuration information by network interface and/or serial ports.
7. light source controller according to claim 4, is characterized in that, each logic switch electronic circuit includes a short-circuit protection electronic circuit, for when the operating voltage of light source is greater than predetermined threshold value, stops importing light source to operating voltage.
8. light source controller according to claim 6, is characterized in that, described processor is connected with described driving chip by photoisolator.
9. light source controller according to claim 1, is characterized in that, described processor comprises EPROM storage chip;
Described processor is also in the described work configuration information buffer memory that will receive to described EPROM storage chip; And receive the work request sent from host computer, according to this work request from the work configuration information described EPROM storage chip, thus generate the drive singal of multiple light source.
CN201410330466.8A 2013-10-10 2014-07-11 Light source controller Pending CN104582125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410330466.8A CN104582125A (en) 2013-10-10 2014-07-11 Light source controller

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310469658 2013-10-10
CN201410330466.8A CN104582125A (en) 2013-10-10 2014-07-11 Light source controller

Publications (1)

Publication Number Publication Date
CN104582125A true CN104582125A (en) 2015-04-29

Family

ID=53097042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410330466.8A Pending CN104582125A (en) 2013-10-10 2014-07-11 Light source controller

Country Status (1)

Country Link
CN (1) CN104582125A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105937734A (en) * 2016-03-29 2016-09-14 杭州利珀科技有限公司 Intelligent light source for machine vision
CN108539576A (en) * 2018-05-30 2018-09-14 Oppo广东移动通信有限公司 The control system and mobile terminal of laser projecting apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017646A (en) * 2006-02-09 2007-08-15 三星电机株式会社 Drive device of color LED backlight
US20090033761A1 (en) * 2007-08-03 2009-02-05 Cetrulo Raffaele A Smart Camera with an Integrated Lighting Controller
CN102123536A (en) * 2010-01-12 2011-07-13 冠捷投资有限公司 Light-emitting diode driving circuit
CN102261583A (en) * 2010-05-24 2011-11-30 台达电子工业股份有限公司 Light source module
CN102802320A (en) * 2012-08-31 2012-11-28 哈尔滨工业大学 Digital LED (Light-Emitting Diode) light source controller facing machine vision
CN103152934A (en) * 2013-02-23 2013-06-12 杭州乐图光电科技有限公司 LED (Light Emitting Diode) drive circuit capable of adjusting light and color temperature
CN103344563A (en) * 2013-06-07 2013-10-09 上海大学 Vision light source detection apparatus for self-adaptive dimming color-adjusting machine and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017646A (en) * 2006-02-09 2007-08-15 三星电机株式会社 Drive device of color LED backlight
US20090033761A1 (en) * 2007-08-03 2009-02-05 Cetrulo Raffaele A Smart Camera with an Integrated Lighting Controller
CN102123536A (en) * 2010-01-12 2011-07-13 冠捷投资有限公司 Light-emitting diode driving circuit
CN102261583A (en) * 2010-05-24 2011-11-30 台达电子工业股份有限公司 Light source module
CN102802320A (en) * 2012-08-31 2012-11-28 哈尔滨工业大学 Digital LED (Light-Emitting Diode) light source controller facing machine vision
CN103152934A (en) * 2013-02-23 2013-06-12 杭州乐图光电科技有限公司 LED (Light Emitting Diode) drive circuit capable of adjusting light and color temperature
CN103344563A (en) * 2013-06-07 2013-10-09 上海大学 Vision light source detection apparatus for self-adaptive dimming color-adjusting machine and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105937734A (en) * 2016-03-29 2016-09-14 杭州利珀科技有限公司 Intelligent light source for machine vision
CN108539576A (en) * 2018-05-30 2018-09-14 Oppo广东移动通信有限公司 The control system and mobile terminal of laser projecting apparatus
KR20210003921A (en) * 2018-05-30 2021-01-12 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Laser projector control system and mobile terminal
US11506963B2 (en) 2018-05-30 2022-11-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Systems for controlling laser projector and mobile terminals
KR102472758B1 (en) * 2018-05-30 2022-11-30 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Laser projector control system and mobile terminal

Similar Documents

Publication Publication Date Title
CN109831858B (en) Intelligent lighting system
CN110798935B (en) LED lamp string control method, device and system and terminal equipment
KR20130078500A (en) Led driver circuit and light apparatus having the same in
CN103929854B (en) A kind of LED drive device and LED light adjusting controller thereof
CN104575345A (en) OLED module test system and test method
CN104219846A (en) Embedded machine vision LED (light-emitting diode) light source controller
US20160134123A1 (en) Power supply system
CN103392379A (en) Led driver, lighting device and LED based lighting application
CN107787085A (en) 0 10V of one kind light modulation isolation LED power circuits
CN103702494A (en) Two-pin RGB-LED (Red Green Blue-Light Emitting Diode) control circuit
CN102254509B (en) A kind of control chip of intelligent display
CN104582125A (en) Light source controller
CN108684119B (en) Hardware circuit based on DALI signal detection
CN111010767A (en) Hybrid dimming driving circuit and method for realizing LED current detection and dimming by using same
CN106708686A (en) Mainboard power supply debugging and maintenance method for multichannel server
CN105407582A (en) LED drive circuit and LED circuit
CN102186288B (en) Intelligent LED (Light Emitting Diode) driving chip
CN219286408U (en) LED lamp bead packaging module and display screen control system
CN108650755B (en) Linear constant-current driving chip and multi-chip parallel LED lighting driving circuit
CN103296864B (en) Power supply in response to various control signal format
CN210246898U (en) Hardware structure applied to visual recognition sensor
CN102957885A (en) Method and electronic equipment for turning off display screen
CN106251801A (en) A kind of RGB scalable color light emitting device drive system and method
CN105576945A (en) Isolation power supply control device, power supply switching device, and isolation power supply control method thereof
CN211429575U (en) Adapter and lighting system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150429