CN100441063C - Lighting source device of adaptive regulating light-intensity in machine visual measuring system - Google Patents

Lighting source device of adaptive regulating light-intensity in machine visual measuring system Download PDF

Info

Publication number
CN100441063C
CN100441063C CNB2004100437537A CN200410043753A CN100441063C CN 100441063 C CN100441063 C CN 100441063C CN B2004100437537 A CNB2004100437537 A CN B2004100437537A CN 200410043753 A CN200410043753 A CN 200410043753A CN 100441063 C CN100441063 C CN 100441063C
Authority
CN
China
Prior art keywords
light source
image
computer
pwm control
control circuit
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
Application number
CNB2004100437537A
Other languages
Chinese (zh)
Other versions
CN1599533A (en
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.)
Harbin Institute of Technology
Original Assignee
Harbin Institute of Technology
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 Harbin Institute of Technology filed Critical Harbin Institute of Technology
Priority to CNB2004100437537A priority Critical patent/CN100441063C/en
Publication of CN1599533A publication Critical patent/CN1599533A/en
Application granted granted Critical
Publication of CN100441063C publication Critical patent/CN100441063C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses an illuminative light source device capable of adjusting light intensity in a self-adaptive mode, which is used for a measuring system of machine vision. The present invention is composed of an image card (1), a computer (2), a PWM control circuit (3), an LED light source (6) and a light source main circuit (5), wherein the data output end of the image card (1) is connected with the data input end of the computer (2), the output end of the computer (2) is connected with the input end of the PWM control circuit (3), the output end of the PWM control circuit (3) is connected with the control end of the light source main circuit (5), and the output end of the light source main circuit (5) is connected with the input end of the LED light source (6); an operation module in the computer (2) is composed of a signal calculation image gray scale standard difference function (S)inputted according to the image card (1), an image quality quantification processing unit (2-1) of an image variance function (V) and a maximum optimization unit (2-2) for evaluating the corresponding value of optimum power supply current according to the image gray scale standard difference function (S) and the image variance function (V). The present invention adjusts the radiation light intensity of the illuminative light source in a self-adaptive mode according to collected image quality to avoid the influence of the subjective judgment of operating personnel.

Description

The illuminating light source device of the automatic adjust intensity in the machine vision measuring system
Technical field:
The present invention relates to a kind of illuminating light source device that is used for the automatic adjust intensity of machine vision precision measurement system, this light source is initiatively adjusted the radiation of light source light intensity according to the illumination on measured workpiece surface, makes measured workpiece be in the optimal illumination state all the time in measuring process.
Background technology:
For the passive type machine vision measuring system, main surround lighting or the subsidiary light source of conventional optical system of relying on throws light on, lighting quality is very big to the certainty of measurement influence of system, often not high in the measurement because of lighting quality, the accuracy that visual pattern is measured reduces, and brings very big error to measurement result.The light source of machine vision measuring system use at present all is according to the subjective judgement of picture quality is regulated the illumination light intensity by survey crew, though this method satisfies measurement requirement to a certain extent, but regulate time-consuming, and operating personnel's subjective judgement can influence the precision of measurement, and can not use in the real-time online measuring system.In order to overcome the above problems, be necessary to study a kind of objective judgement picture quality, the illuminating light source device of active adjustment light intensity.
Summary of the invention:
In order to solve the light intensity that subjective judgement that prior art can only rely on the people is regulated lighting source, and make the lower defective of image measurement accuracy, the light source that provides a kind of self adaptation to regulate light intensity, thus make workpiece be in the optimal illumination state all the time, guarantee the accuracy of measurement of visual pattern.Technical scheme of the present invention is as follows: the illuminating light source device of the automatic adjust intensity in a kind of machine vision measuring system, it is made up of image card 1, computer 2, pwm control circuit 3, led light source 6 and light source main circuit 5, the data output end of image card 1 connects the data input pin of computer 2, the output of computer 2 connects the input of pwm control circuit 3, the output of pwm control circuit 3 connects the control end of light source main circuit 5, and the output of light source main circuit 5 connects the input of led light source 6.Computing module in the computer 2 is by forming the input of the output connection pwm control circuit 3 of maximum optimizing unit 2-2 according to the picture quality quantification treatment unit 2-1 of the calculated signals gradation of image standard deviation function S of image card 1 input and image variance function V with according to the maximum optimizing unit 2-2 that gradation of image standard deviation function S and image variance function V try to achieve optimal power supply electric current respective value M.The present invention proposes a kind of self adaptation illuminating light source device as shown in Figure 1.Camera acquisition in the vision measurement system is by the image of the measured workpiece of light illumination, image is sent into computer 2 via image card 1, computer is by the quality of program with gradation of image standard deviation function S and image variance function V evaluation map picture, thereby can seek the pairing source current value of optimum quality M, the electric current power of light source is adjusted in decision-making then, send the pwm control circuit 3 of current digital amount at last to light source, realize the adjusting of electric current duty ratio by power switch 5-4, the electric current of adjusting light-emitting diode makes light source blast or deepening, make the illumination on current measured workpiece surface reach best, guarantee that the irradiance on measured workpiece surface in whole measuring process is all located optimum state.The invention has the beneficial effects as follows, vision measurement system can be adjusted the radiation light intensity of lighting source according to the picture quality self adaptation of gathering, can improve the repeatability and the real-time of vision measurement system greatly, avoided operating personnel's subjective judgement error, reduce simultaneously the troublesome operation of artificial adjusting again, improved detection efficiency.
Description of drawings:
Fig. 1 is a structural representation of the present invention, and Fig. 2 is the computing module structural representation of the computer 2 in the execution mode one, and Fig. 3 is the structural representation of light source main circuit 5 in the execution mode two, and Fig. 4 is the structural representation of execution mode three.
Embodiment:
Embodiment one: specify present embodiment below in conjunction with Fig. 1 and Fig. 2.It is made up of image card 1, computer 2, pwm control circuit 3, led light source 6 and light source main circuit 5, the data output end of image card 1 connects the data input pin of computer 2, the output of computer 2 connects the input of pwm control circuit 3, the output of pwm control circuit 3 connects the control end of light source main circuit 5, and the output of light source main circuit 5 connects the input of led light source 6.Computing module in the computer 2 is by forming the input of the output connection pwm control circuit 3 of maximum optimizing unit 2-2 according to the picture quality quantification treatment unit 2-1 of the calculated signals gradation of image standard deviation function S of image card 1 input and image variance function V with according to the maximum optimizing unit 2-2 that gradation of image standard deviation function S and image variance function V try to achieve optimal power supply electric current respective value M.
Picture quality quantification treatment unit 2-1 is used to ask for gradation of image standard deviation function S and image variance function V, and the expression formula of gradation of image standard deviation function S and image variance function V is respectively:
S ( x , y , I ) = Σ g = 0 L - 1 ( g - g ‾ ) 2 p ( g ) And V (x, y, I)=the ∑ ∑ [f (x, y)-g] 2
The tonal gradation of g-image in the formula; P={p (0), p (1) ..., p (g) ..., p (L-1) } and be the single order histogram probability of image; The average gray of g-image; F (x, y)-image is at location of pixels (x, the gray value of y) locating; I-source current size.To the electric current of even variation light source in the adjustable extent, gather N width of cloth image.Use two the image quality evaluation functions in front to calculate to N width of cloth image respectively, deposit the result in array.Use genetic algorithm then in maximum optimizing unit 2-2, promptly the fitness function X of the data in the array is obtained and comparison in twos, carry out the maximum optimizing, the fitness function of genetic algorithm is shown below:
X ( I ) = max ( S ( I ) 2 + V ( I ) 1192 )
S in the formula (I)-gradation of image standard deviation function; V (I)-image variance function.Just can obtain corresponding source current value after the maximizing, send this value then and can make measured workpiece be in the optimal illumination state to pwm circuit 3.Pwm control circuit 3 is a pulse width modulation circuit, its power controlling switch 5-4, thus regulate the current impulse duty ratio, change size of current.The output of PWM is by the luminous power of power switch control led light source.
Embodiment two: specify present embodiment below in conjunction with Fig. 3.The difference of present embodiment and execution mode one is, light source main circuit 5 is made up of transformer 5-1, current rectifying and wave filtering circuit 5-2, output rectifier and filter 5-3 and power switch 5-4, the input termination 220V electric main of transformer 5-1, the input of the output termination current rectifying and wave filtering circuit 5-2 of transformer 5-1, the end of the output termination power switch 5-4 of current rectifying and wave filtering circuit 5-2, the input of another termination output rectifier and filter 5-3 of power switch 5-4, the output of output rectifier and filter 5-3 connects the input of led light source 6.Other composition is identical with execution mode one with annexation.
Embodiment three: specify present embodiment below in conjunction with Fig. 4.The difference of present embodiment and execution mode one is, some circle annular arrays that described led light source 6 is arranged in for several light-emitting diodes VL, and light-emitting diode VL is arranged on the inner surface of snoot 6-1.So be provided with and economize on electricity, and be cold light source.

Claims (2)

1, the illuminating light source device of the automatic adjust intensity in a kind of machine vision measuring system, it is characterized in that it is by image card (1), computer (2), pwm control circuit (3), led light source (6) and light source main circuit (5) are formed, the data output end of image card (1) connects the data input pin of computer (2), the output of computer (2) connects the input of pwm control circuit (3), the output of pwm control circuit (3) connects the control end of light source main circuit (5), the output of light source main circuit (5) connects the input of led light source (6), computing module in the computer (2) is by forming the input of the output connection pwm control circuit (3) of maximum optimizing unit (2-2) according to the picture quality quantification treatment unit (2-1) of the calculated signals gradation of image standard deviation function (S) of image card (1) input and image variance function (V) with according to the maximum optimizing unit (2-2) that gradation of image standard deviation function (S) and image variance function (V) are tried to achieve optimal power supply electric current respective value (M).
2, the illuminating light source device of the automatic adjust intensity in the machine vision measuring system according to claim 1, it is characterized in that some circle annular arrays that described led light source (6) is arranged in for several light-emitting diodes VL, light-emitting diode VL is arranged on the inner surface of snoot (6-1).
CNB2004100437537A 2004-07-28 2004-07-28 Lighting source device of adaptive regulating light-intensity in machine visual measuring system Expired - Fee Related CN100441063C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100437537A CN100441063C (en) 2004-07-28 2004-07-28 Lighting source device of adaptive regulating light-intensity in machine visual measuring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100437537A CN100441063C (en) 2004-07-28 2004-07-28 Lighting source device of adaptive regulating light-intensity in machine visual measuring system

Publications (2)

Publication Number Publication Date
CN1599533A CN1599533A (en) 2005-03-23
CN100441063C true CN100441063C (en) 2008-12-03

Family

ID=34665428

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100437537A Expired - Fee Related CN100441063C (en) 2004-07-28 2004-07-28 Lighting source device of adaptive regulating light-intensity in machine visual measuring system

Country Status (1)

Country Link
CN (1) CN100441063C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102155675A (en) * 2010-12-24 2011-08-17 安徽省烟草专卖局 Three-dimensional lighting device applied to machine vision system

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482685B (en) * 2008-01-10 2011-04-13 宝山钢铁股份有限公司 Apparatus for remaining stabilization of image gray collected by camera
CN101827221B (en) * 2010-03-23 2011-12-28 华南理工大学 CCD (Charge Coupled Device) light source intensity self-adaption regulation system and method thereof
CN103841726B (en) * 2014-03-06 2015-09-09 河南科技大学 The real-time adjusting device of light-source brightness and method of adjustment thereof in pole piece defects detection
CN104502350B (en) * 2014-12-16 2017-01-25 公安部交通管理科学研究所 Authentication device and identification method of motor vehicle license plate sequence tags
CN106546598B (en) * 2016-10-28 2019-09-24 鞍钢未来钢铁研究院有限公司 Belt steel surface detection system light source self-adaptation control method
CN106959301B (en) * 2017-04-21 2023-06-20 无锡赛默斐视科技有限公司 Nonwoven fabric stain detection system and nonwoven fabric stain detection method
CN109709093A (en) * 2018-08-29 2019-05-03 孙燕 Chest bottom end material type discrimination method
CN109900720B (en) * 2019-03-22 2021-05-11 武汉艾维视智能技术有限公司 Automatic adjustment method and system for optical detection light source brightness of different screens
CN113054883A (en) * 2021-03-29 2021-06-29 上海海事大学 Control method of doubly salient permanent magnet motor
CN115002320B (en) * 2022-05-27 2023-04-18 北京理工大学 Light intensity adjusting method, device and system based on visual detection and processing equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5962980A (en) * 1996-08-09 1999-10-05 Bayerische Motoren Werke Aktiengesellschaft Method for regulating the range of the headlights of a vehicle according to the load
CN1383700A (en) * 2000-06-23 2002-12-04 皇家菲利浦电子有限公司 Lighting control device and method of controlling lighting using CCD sensor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5962980A (en) * 1996-08-09 1999-10-05 Bayerische Motoren Werke Aktiengesellschaft Method for regulating the range of the headlights of a vehicle according to the load
CN1383700A (en) * 2000-06-23 2002-12-04 皇家菲利浦电子有限公司 Lighting control device and method of controlling lighting using CCD sensor

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
机械零件视觉检测图像二值化处理. 杨敏,叶邦彦,牟丽,吴春凌.现代制造工程,第无卷第11期. 2003
机械零件视觉检测图像二值化处理. 杨敏,叶邦彦,牟丽,吴春凌.现代制造工程,第无卷第11期. 2003 *
视觉检测系统中照明光源的研究. 浦昭邦,屈玉福,王亚爱.仪器仪表学报,第24卷第4(增刊)期. 2003
视觉检测系统中照明光源的研究. 浦昭邦,屈玉福,王亚爱.仪器仪表学报,第24卷第4(增刊)期. 2003 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102155675A (en) * 2010-12-24 2011-08-17 安徽省烟草专卖局 Three-dimensional lighting device applied to machine vision system
CN102155675B (en) * 2010-12-24 2012-10-10 安徽省烟草专卖局 Three-dimensional lighting device applied to machine vision system

Also Published As

Publication number Publication date
CN1599533A (en) 2005-03-23

Similar Documents

Publication Publication Date Title
CN100441063C (en) Lighting source device of adaptive regulating light-intensity in machine visual measuring system
CN109640442A (en) A kind of classroom luminous environment control system based on NB-IOT
CN105118433A (en) Display screen display optimization method
CN106297731A (en) Strengthen the method and device of picture contrast, display screen and intelligent terminal
CN105934025A (en) Intelligent illumination control system
CN112738945A (en) Control system and method for multi-point illumination collection and linkage illumination adjustment
CN115175404B (en) One-stop automatic dimming method based on LED lamp
CN208424845U (en) The Healthy Lighting system of Effective Regulation human circadian
CN109788622A (en) Light source control device, light source control method and time-of-flight sensor
CN204810630U (en) Wireless regulation and control system of experiment by candling based on singlechip
CN201363612Y (en) Light source with brightness being automatically adjusted for image measuring instrument
CN106455266B (en) A kind of color temperature adjustment device and method
CN206226780U (en) Intelligent LED lighting system based on non-vision photo-biological effect
CN207219100U (en) A kind of illumination adjusts illuminator in real time
CN113939068A (en) Intelligent LED lamp dimming control device and intelligent LED lamp
CN104955244B (en) Intelligent street lamp illuminating system
CN111163570B (en) NB-IOT-based indoor lamp combination regulation and control system and method
CN109874195A (en) A kind of Healthy Lighting system of Effective Regulation human circadian
CN110572919B (en) Workshop touch lamp control system
CN103037578A (en) Spectral precision self-adaptive control system
CN207729480U (en) A kind of sunlight optical fibre lighting control system
CN207455292U (en) A kind of red blue light regulating system of plant growth lamp
CN110139436A (en) Based on crowd density information interconnection type campus lighting energy saving control method
CN109001206A (en) A kind of fruit defects detection method and detection system based on image recognition
CN204465979U (en) A kind of lamp light control system of view-based access control model comfort level

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081203

Termination date: 20110728