Point light source control device and control method

文档序号:1785070 发布日期:2019-12-06 浏览:11次 中文

阅读说明:本技术 一种点光源控制装置及控制方法 (Point light source control device and control method ) 是由 何家福 黄嘉� 张红江 尹建刚 刘成极 马会林 杨明强 魏贤哲 高云峰 于 2019-07-29 设计创作,主要内容包括:本发明公开了一种点光源控制装置及控制方法,所述点光源控制装置包括盒体、多个与盒体连接的输出端;所述盒体至少包括底座,所述底座上依次设有导热硅胶层、涂覆于导热硅胶层上的硅胶硅脂层和PCB电路板;所述PCB电路板朝向硅胶硅脂层的面板上设有晶体管;所述PCB电路板背离硅胶硅脂层的面板上电连接有拨动开关、水泥电阻和调节电压旋钮。该点光源控制装置成本低,约为数字型光源控制器的1/12,达到有效地成本控制的同时,也能实现对光源亮度、通断的控制。(The invention discloses a point light source control device and a control method, wherein the point light source control device comprises a box body and a plurality of output ends connected with the box body; the box body at least comprises a base, and a heat-conducting silica gel layer, a silica gel silicone grease layer coated on the heat-conducting silica gel layer and a PCB are sequentially arranged on the base; a transistor is arranged on a panel of the PCB facing the silicone grease layer; and a panel of the PCB, which deviates from the silicone grease layer, is electrically connected with a toggle switch, a cement resistor and a voltage regulation knob. The point light source control device has low cost which is about 1/12 of a digital light source controller, and can realize the control of the brightness and the on-off of a light source while achieving effective cost control.)

1. a point light source control device is characterized by comprising a box body and a plurality of output ends connected with the box body; the box body comprises a base, and a heat-conducting silica gel layer, a silica gel silicone grease layer coated on the heat-conducting silica gel layer and a PCB are sequentially arranged on the base;

a transistor is arranged on a panel of the PCB facing the silicone grease layer; and a panel of the PCB, which deviates from the silicone grease layer, is electrically connected with a toggle switch, a cement resistor and a voltage regulation knob.

2. The point light source control apparatus of claim 1 wherein the case further comprises a cover; the toggle switch and the voltage adjusting knob are both provided with an electric connection end and a control end;

the upper end face of the cover is provided with a through hole, and the control ends of the toggle switch and the voltage adjusting knob penetrate through the through hole.

3. The point light source control device of claim 2, wherein when the cover and the base are connected to form a box, the heat-conducting silicone layer, the silicone grease layer coated on the heat-conducting silicone layer, the PCB, the cement resistor, the electrical connection end of the toggle switch and the electrical connection end of the voltage-adjusting knob are disposed in the box.

4. The point light source control device according to claim 1, wherein the output terminals have two; the interfaces of the two output ends are respectively a 3PIN male connector and a 2PIN female connector.

5. a method of controlling a point light source, the method comprising:

S1, a scanning camera acquires an LED chip image arranged under a lens area of the scanning camera;

S2, the computer receives an image acquisition software starting instruction and starts image acquisition software according to the instruction information; the image acquisition software is connected with the scanning camera, and the acquired LED chip image is displayed in a software interface;

S3, the computer receives a scanning camera trigger mode modification instruction, modifies the scanning camera trigger mode into an OFF state according to the instruction information, and modifies the exposure time of the scanning camera trigger mode;

s4, the computer receives an effective exposure time interval and an optimal exposure time obtained after the user is debugged;

S5, the computer receives a time adjusting instruction, adjusts the exposure time to the optimal exposure time through image acquisition software according to the instruction information, and writes the optimal exposure time into a configuration file of the scanning camera;

S6, the computer receives a chip test program starting instruction, and controls the transmission equipment to transmit chips with different specifications to the scanning camera for scanning according to the instruction information so that the scanning camera can acquire a complete original chip image;

S7, the scanning camera scans and matches the acquired chip original image with the exposure time of the scanning camera to obtain a chip image under the optimal exposure time;

S8, the computer receives the feedback information and judges whether to continue to execute the step S9 according to the feedback information; the judgment is as follows:

if the brightness of the chip image in the optimal exposure time meets a preset condition, stopping adjustment; if the brightness of the chip image in the optimal exposure time does not meet the preset condition, executing step S9;

S9, the computer writes an effective exposure time interval into a chip measurement program, wherein the values of interval end points are Min and Max respectively; setting 0-100% of adjustable brightness bars, and correspondingly adjusting the exposure time when the brightness bars are adjusted; when the brightness bar is adjusted to 0% or 100%, corresponding to the end point value of the interval;

S10, a scanning light source of the scanning camera is connected with an interface of the motion control card to control the on-off of the scanning light source.

6. a point light source control method using the point light source control device according to any one of claims 1 to 4, the control method comprising:

s1'. scanning light source brightness coarse adjustment: adjusting the output voltage through an adjusting voltage knob of the point light source control device so as to adjust the brightness of the light source of the scanning camera to be within a preset range;

s2'. scanning light source brightness fine adjustment: the point light source control method of claim 5 is performed in steps S1 to S10.

7. The point light source control method according to claim 5 or 6, wherein in step S6, the chip includes an LED chip.

8. The point light source control method according to claim 5 or 6, wherein in step S9, the exposure time adjustment value for each 1% of the brightness bars is (Max-Min)/100.

9. The point light source control method of claim 5 or 6, wherein in step S10, the motion control card is GT2-400-ACC2-G, and has OUT 0-OUT 15 interfaces, wherein the OUT2 interface is connected to the scanning light source of the scanning camera, and the motion control card controls the on/off of the scanning light source.

10. the point light source control method of claim 6, wherein in step S2', if a regulation failure occurs, the light source is turned on and off by a toggle switch of the point light source control device.

Technical Field

the invention relates to the technical field of light source control, in particular to a point light source control device and a point light source control method.

background

The light source controller mainly aims at supplying power to the light source, controlling the brightness of the light source and controlling the illumination state (on/off) of the light source, and can also realize the stroboflash of the light source by triggering signals for the controller, thereby greatly prolonging the service life of the light source. The controller commonly used in the market comprises an analog controller and a digital controller, wherein the analog controller is manually adjusted, and the digital controller can be remotely controlled by a computer or other equipment.

The machine vision system is used for converting a taken target into an image through a machine vision product, transmitting the image to an image processing system, and converting the image into digitalization according to information such as pixel distribution, brightness, color and the like; the image processing system calculates these features to extract the target features, and then controls the on-site device operation according to the result of the discrimination. In the machine vision system, besides important components such as a vision light source, an industrial camera, an industrial lens and the like, the light source controller is used as one of key components, the light source controller can effectively adjust the application of the light source in the machine vision, reduce unnecessary loss in the use process, prolong the service life of the light source and ensure the coordinated use and operation of the whole machine vision system.

generally speaking, the blur caused by the object motion should be an order of magnitude smaller than the measurement accuracy we require, which can reduce its impact on the system, e.g. the fast exposure time of an industrial camera can reach tens to a hundred or more microseconds. Such a short exposure time requires a large light energy, so in the prior art, an industrial camera needs to select a proper light source and a light source controller.

disclosure of Invention

the invention aims to avoid the defects in the prior art and provides a point light source control device and a point light source control method which are simple in structure, easy to operate and low in cost.

The purpose of the invention is realized by the following technical scheme:

a point light source control device comprises a box body and a plurality of output ends connected with the box body; the box body includes lid and base, be equipped with heat conduction silica gel layer on the base in proper order, coat silica gel silicone grease layer and PCB circuit board on heat conduction silica gel layer.

A transistor is arranged on a panel of the PCB facing the silicone grease layer; a panel of the PCB circuit board, which is far away from the silicone grease layer, is electrically connected with a toggle switch, a cement resistor and a voltage regulation knob;

The toggle switch and the voltage adjusting knob are both provided with an electric connection end and a control end;

the upper end face of the cover is provided with a through hole, so that the control ends of the toggle switch and the voltage adjusting knob penetrate through the through hole, the control ends are exposed outside the box body, and the use by a user is facilitated.

The bottom surface of the base is also provided with a heat dissipation groove.

when lid and base are connected and are formed the box body, heat conduction silica gel layer, coat silica gel silicone grease layer, PCB circuit board, cement resistance, toggle switch electric connection end and regulation voltage knob electric connection end on heat conduction silica gel layer arrange the box body in.

Preferably, the power of the cement resistor is 5W.

preferably, the output ends are two;

above, the interface of two output is 3PIN public head and 2PIN female head respectively.

Preferably, the box body is made of aluminum.

Specifically, the point light source control device is low in cost, is about 1/12 of a digital light source controller, and can achieve effective cost control and control on the brightness and the on-off of a light source.

the invention also provides a point light source control method, which is realized by using a computer and a scanning camera; the control method comprises the following steps:

s1, a scanning camera acquires an LED chip image arranged under a lens area of the scanning camera;

S2, the computer receives an image acquisition software starting instruction and starts image acquisition software according to the instruction information; the image acquisition software is connected with the scanning camera, and the acquired LED chip image is displayed in a software interface;

S3, the computer receives a scanning camera trigger mode modification instruction, modifies the scanning camera trigger mode into an OFF state according to the instruction information, and modifies the exposure time of the scanning camera trigger mode;

s4, the computer receives an effective exposure time interval and an optimal exposure time obtained after the user is debugged; the specific process is as follows: a user observes an LED chip image of the software interface, debugs exposure time through a computer, obtains an effective exposure time interval and optimal exposure time after debugging, and inputs the effective exposure time interval and the optimal exposure time into the computer;

s5, the computer receives a time adjusting instruction, adjusts the exposure time to the optimal exposure time through image acquisition software according to the instruction information, and writes the optimal exposure time into a configuration file of the scanning camera;

s6, the computer receives a chip test program starting instruction, and controls the transmission equipment to transmit chips with different specifications to the scanning camera for scanning according to the instruction information so that the scanning camera can acquire a complete original chip image;

S7, the scanning camera scans and matches the acquired chip original image with the exposure time of the scanning camera to obtain a chip image under the optimal exposure time;

s8, the computer receives the feedback information and judges whether to continue to execute the step S9 according to the feedback information; the judgment is as follows:

if the brightness of the chip image in the optimal exposure time meets a preset condition, stopping adjustment; if the brightness condition of the chip image in the optimal exposure time does not meet the preset condition, executing step S9;

S9, the computer writes an effective exposure time interval into a chip measurement program, wherein the values of interval end points are Min and Max respectively; setting 0-100% of adjustable brightness bars, and correspondingly adjusting the exposure time when the brightness bars are adjusted; when the brightness bar is adjusted to 0% or 100%, corresponding to the end point value of the interval;

s10, a scanning light source of the scanning camera is connected with an interface of the motion control card to control the on-off of the scanning light source.

Specifically, in step S9, the feedback information is feedback information obtained by the user through observation and judgment.

further, the optimal exposure time is within the range of effective exposure time intervals.

Specifically, if the effective exposure time interval is 4000uS-8000uS, the optimal exposure time belongs to [4000,8000 ].

Further, the chip measurement program is used for controlling a transfer device or programming a luminance strip.

Further, the scan camera profile is "camera, ini", and a statement "m _ ProfileShutter1 ═ 6000" is written in the profile.

further, the image acquisition software adopts Galaxyview software of a large constant image.

Preferably, in the step S6, the chip includes an LED chip.

Specifically, in step S6, the chip may include not only the LED chip but also a conventional chip. Obtaining the brightness of different chip images under the same exposure time by obtaining chip original images with different specifications and then scanning and matching; this operation allows compatibility testing of different types of chips to determine whether the optimal exposure time is compatible with commercially available chips of different sizes.

Preferably, in step S9, the exposure time adjustment value corresponding to each 1% of the brightness bars is (Max-Min)/100.

specifically, for example, if the effective exposure time interval is 4000uS to 8000uS, Max is 8000uS, and Min is 4000uS, the exposure time adjustment value for each 1% is 40.

Preferably, in step S10, the model of the motion control card is GT2-400-ACC2-G, which has an OUT 0-OUT 15 interface, wherein the OUT2 interface is connected to the scanning light source of the scanning camera, so that the motion control card controls the on/off of the scanning light source.

Specifically, the conventional camera uses the light source controller to control brightness of the light source and on/off of the light source, and in the technical scheme, brightness of the light source is adjusted through the brightness bar, and on/off of the light source is adjusted through the motion control card, so that the same control effect as that of the light source controller is achieved, and the conventional light source controller is replaced.

Specifically, steps S1 to S5 of the method are used to obtain the optimal exposure time, and write it into the camera configuration file for the subsequent scanning matching. Steps S6 to S8 are performed to perform compatibility test on different types of chips by acquiring complete images of different chips and performing scan matching with a camera, so as to determine whether the optimal exposure time is compatible with most of the different types of chips with different sizes, and determine the reliability of the optimal exposure time. In steps S9 to S10, the exposure time is further adjusted for the incompatible chip to determine the exposure time most matched with the chip, so as to adjust the brightness, and simultaneously the on/off of the light source can be controlled by the motion control card to realize the control (brightness control, on/off control) of the light source.

the invention also provides another point light source control method, which at least comprises the point light source control device, a computer and a scanning camera; the control method comprises the following steps:

s1'. scanning light source brightness coarse adjustment: adjusting the output voltage through an adjusting voltage knob of the point light source control device so as to adjust the brightness of the light source of the scanning camera to be within a preset range;

S2'. scanning light source brightness fine adjustment: the steps S1 to S10 of the point light source control method are performed.

Specifically, in step S1', the preset range is to manually adjust the voltage knob, determine the adjusted light source brightness, determine the light source brightness to approximately match the required light source brightness, and then stop rotating the voltage knob.

Further, in the step S2', if a regulation failure occurs, the on/off control of the light source is performed by the toggle switch of the point light source control device.

Specifically, the point light source control device is a hardware module, and can manually toggle the switch to control the on-off of the light source under the condition that software is blocked or fails in a fine adjustment stage, so that the light source is protected.

specifically, the method greatly adjusts the brightness of the scanning light source by adding a point light source control device, and then realizes the fine adjustment of the scanning light source through software. And when the software fails, the on-off processing can be manually carried out, so that the scanning light source is protected.

the technical scheme of the invention has the following beneficial effects:

the point light source control device can replace the traditional light source controller. The brightness of the light source can be adjusted to a rough range through the voltage adjusting knob, and then the brightness strips are set by adopting the point light source control method; the exposure time is finely adjusted by dragging the brightness bars, and the technical scheme of the invention can achieve the control and adjustment of the light source through the scanning test of chips with different specifications, is compatible with the chips with different specifications, and has the effect of adjusting the light source and scanning. In addition, the point light source control device is extremely low in cost and simple in structure compared with a light source controller, only comprises a cement resistor, a toggle switch, a voltage regulating knob, a PCB (printed circuit board), a silica gel silicone layer and a heat conducting silica gel layer, can achieve a good cost control effect, and is high in practicability.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

Wherein:

FIG. 1 is a schematic structural diagram of a point light source control device in accordance with embodiment 1;

FIG. 2 is an interface display diagram of Galaxyview when the point light source control method of embodiment 2 executes steps S1-S4;

FIGS. 3 to 7 are images of LED chips under different exposure times in the point light source control method of embodiment 2;

FIG. 8 is an interface diagram of writing the optimal exposure time into a camera configuration file according to the point light source control method of embodiment 2;

FIG. 9 is a graph of image scanning of a 15 × 30mil chip according to the point light source control method of embodiment 2;

fig. 10 is a diagram of image matching of a 15 × 30mil chip according to the point light source control method of embodiment 2;

FIG. 11 is a diagram of 45 × 45mil chip image scanning according to the point light source control method of embodiment 2;

FIG. 12 is a diagram of 45 × 45mil chip image matching in the point light source control method of example 2;

FIG. 13 is a flow chart illustrating a point light source control method according to embodiment 2;

fig. 14 is a flowchart illustrating a point light source control method according to embodiment 3.

description of the reference numerals 1

1 cement resistor, 2 toggle switch, 3 regulating voltage knob, 4 radiating grooves, 5 lids, 6 PCB circuit boards, 7 silica gel silicone grease layers, 8 heat conduction silica gel layers, 92 PIN female head output, 103 PIN male head output, 11 bases.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电源的调光控制电路和电源

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!