CN103353767B - A kind of method that color selector background board and light source are regulated - Google Patents
A kind of method that color selector background board and light source are regulated Download PDFInfo
- Publication number
- CN103353767B CN103353767B CN201310247495.3A CN201310247495A CN103353767B CN 103353767 B CN103353767 B CN 103353767B CN 201310247495 A CN201310247495 A CN 201310247495A CN 103353767 B CN103353767 B CN 103353767B
- Authority
- CN
- China
- Prior art keywords
- light source
- control module
- computer
- led light
- power supply
- 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.)
- Active
Links
Landscapes
- Feedback Control In General (AREA)
Abstract
本发明公开了一种色选机背景板和光源的调节方法,包括有计算机、控制模块、步进电机、开关电源、背景板、LED光源和光电传感器,在计算机内安装有单神经元PID控制器,单神经元PID控制器中有Hebb学习规则算法对其神经元权值进行修改,并在线整定PID参数,所述的控制模块与计算机相连接,所述的步进电机和开关电源分别与控制模块相连接,所述的背景板与步进电机相连接,LED光源与开关电源相连接。本发明采用单神经元PID控制器,按照神经网络中的有监督的Hebb学习算法对其神经元权值进行修改,可以在线整定PID参数,达到能够适应被控对象参数变化以及干扰,整定控制器参数,同时又具有常规PID控制器结构简单、可靠性高和易于实现的优点,满足高性能的色选要求。
The invention discloses a method for adjusting the background board and light source of a color sorter, which includes a computer, a control module, a stepping motor, a switching power supply, a background board, an LED light source and a photoelectric sensor, and a single neuron PID control device is installed in the computer. In the single neuron PID controller, there is a Hebb learning rule algorithm to modify its neuron weights, and online tuning PID parameters, the control module is connected with the computer, and the stepper motor and switching power supply are respectively connected with The control module is connected, the background board is connected with the stepper motor, and the LED light source is connected with the switching power supply. The present invention adopts a single neuron PID controller, modifies its neuron weights according to the supervised Hebb learning algorithm in the neural network, and can adjust the PID parameters online, so as to be able to adapt to the parameter changes and interference of the controlled object, and adjust the controller Parameters, while having the advantages of simple structure, high reliability and easy implementation of conventional PID controllers, it meets the requirements of high-performance color sorting.
Description
技术领域 technical field
本发明涉及色选机技术领域,尤其涉及一种对色选机背景板和光源进行调节的方法。 The invention relates to the technical field of color sorters, in particular to a method for adjusting a background plate and a light source of a color sorter.
背景技术 Background technique
目前,色选机已经得到了大规模的广泛应用,不仅仅在过去传统粮食加工企业,诸如茶叶、工业品等也在经历色选技术带来的技术革新。传统的黑白CCD色选机选别方式上主要依靠背景板区分成品和次品,其和光源组成色选机的光学系统。在整机系统组件的配合下、色选机具有如选异色、选腹白,黄白同选、选透明粒以及反选等多种模式。其中,伴随着光源和背景板的调整,对普通的操作人员来说,使用起来比较麻烦。其色选性能的好坏在很大程度上由操作人员的经验决定。 At present, color sorting machines have been widely used on a large scale, not only in traditional grain processing enterprises in the past, but also in tea and industrial products, which are also undergoing technological innovation brought about by color sorting technology. The traditional black and white CCD color sorter sorting method mainly relies on the background plate to distinguish finished products and defective products, which and the light source form the optical system of the color sorter. With the cooperation of the system components of the whole machine, the color sorter has multiple modes such as selecting different colors, selecting belly white, selecting yellow and white, selecting transparent grains, and reverse selection. Among them, along with the adjustment of the light source and the background plate, it is troublesome to use for ordinary operators. The quality of its color sorting performance is largely determined by the experience of the operator.
色选机工作过程中,背景板角度调整稍有不慎可能会导致高速喷阀瞬时常吹,这将严重影响色选机性能并可能对喷阀造成损坏。光源的变化或者不稳定现象也会导致色选突然变差以及整机异常现象的发生,为此,达到光学系统的稳定控制变得非常重要。 During the working process of the color sorter, a slight inadvertent adjustment of the angle of the background plate may cause the high-speed spray valve to blow constantly, which will seriously affect the performance of the color sorter and may cause damage to the spray valve. The change or instability of the light source will also lead to the sudden deterioration of color selection and the occurrence of abnormal phenomena of the whole machine. Therefore, it is very important to achieve stable control of the optical system.
发明内容 Contents of the invention
本发明目的就是为了弥补已有技术的缺陷,提供一种对色选机背景板和光源进行调节的方法。 The object of the present invention is to provide a method for adjusting the background plate and light source of the color sorter in order to remedy the defects of the prior art.
本发明是通过以下技术方案实现的: The present invention is achieved through the following technical solutions:
一种对色选机背景板和光源进行调节的方法,包括有计算机、控制模块、步进电机、开关电源、背景板、LED光源和光电传感器,在计算机内安装有单神经元PID控制器,单神经元PID控制器中有Hebb学习规则算法对其神经元权值进行修改,并在线整定PID参数,所述的控制模块与计算机相连接,所述的步进电机和开关电源分别与控制模块相连接,所述的背景板与步进电机相连接,LED光源与开关电源相连接;多次通过手动调节背景板的旋转角度和LED光源的电压,得出背景板的适当旋转角度范围和LED光源的适当电压的范围,根据得出的范围在计算机内设置适当的参数,通过所述的光电传感器采集背景板的位置和LED光源的亮度,并将采集的信号转换为电信号,将电信号传给计算机,通过单神经元PID控制器对接收到的数据和预先设定的数据进行比较,并将比较计算后的新的输入值传给控制模块,通过控制模块控制步进电机和开关电源做出相应的动作,使背景板旋转到所需的位置,使LED光源达到所需的亮度。 A method for adjusting the background board and light source of a color sorter, including a computer, a control module, a stepping motor, a switching power supply, a background board, an LED light source and a photoelectric sensor, and a single neuron PID controller is installed in the computer, There is a Hebb learning rule algorithm in the single neuron PID controller to modify its neuron weights, and online tuning PID parameters, the control module is connected with the computer, and the stepper motor and switching power supply are respectively connected to the control module The background board is connected with the stepping motor, and the LED light source is connected with the switching power supply; the rotation angle of the background board and the voltage of the LED light source are manually adjusted many times to obtain the appropriate rotation angle range of the background board and the LED light source. The range of the appropriate voltage of the light source, according to the range obtained, set appropriate parameters in the computer, collect the position of the background plate and the brightness of the LED light source through the photoelectric sensor, and convert the collected signal into an electrical signal, and convert the electrical signal Pass it to the computer, compare the received data with the preset data through the single-neuron PID controller, and pass the new input value after comparison calculation to the control module, and control the stepping motor and switching power supply through the control module Make corresponding actions to rotate the background plate to the desired position and make the LED light source reach the desired brightness.
通过人机界面向计算机内输入参数。 Input parameters into the computer through the man-machine interface.
本发明的优点是:本发明采用单神经元PID控制器,按照神经网络中的有监督的Hebb学习算法对其神经元权值进行修改,可以在线整定PID参数,达到能够适应被控对象参数变化以及干扰,整定控制器参数,同时又具有常规PID控制器结构简单、可靠性高和易于实现的优点,满足高性能的色选要求。 The advantage of the present invention is: the present invention adopts single neuron PID controller, according to the supervised Hebb learning algorithm in the neural network, its neuron weight value is modified, and PID parameter can be adjusted online, so as to be able to adapt to the parameter change of the controlled object As well as interference, the parameters of the controller are adjusted, and at the same time, it has the advantages of simple structure, high reliability and easy implementation of the conventional PID controller, which meets the requirements of high-performance color sorting.
附图说明 Description of drawings
图1为本发明的结构示意图。 Fig. 1 is a structural schematic diagram of the present invention.
图2为本发明原理图。 Fig. 2 is a schematic diagram of the present invention.
具体实施方式 detailed description
如图1、2所示,一种对色选机背景板和光源进行调节的方法,包括有计算机1、控制模块2、步进电机3、开关电源4、背景板5、LED光源6和光电传感器7,在计算机1内安装有单神经元PID控制器,单神经元PID控制器中有Hebb学习规则算法对其神经元权值进行修改,并在线整定PID参数,所述的控制模块2与计算机1相连接,所述的步进电机3和开关电源4分别与控制模块2相连接,所述的背景板5与步进电机3相连接,LED光源6与开关电源4相连接;多次通过手动调节背景板5的旋转角度和LED光源6的电压,得出背景板5的适当旋转角度范围和LED光源6的适当电压的范围,根据得出的范围在计算机1内设置适当的参数,通过所述的光电传感器7采集背景板5的位置和LED光源6的亮度,并将采集的信号转换为电信号,将电信号传给计算机1,通过单神经元PID控制器对接收到的数据和预先设定的数据进行比较,并将比较计算后的新的输入值传给控制模块2,通过控制模块2控制步进电机3和开关电源4做出相应的动作,使背景板5旋转到所需的位置,使LED光源6达到所需的亮度。 As shown in Figures 1 and 2, a method for adjusting the background board and light source of a color sorter includes a computer 1, a control module 2, a stepping motor 3, a switching power supply 4, a background board 5, an LED light source 6 and a photoelectric The sensor 7 is equipped with a single-neuron PID controller in the computer 1. In the single-neuron PID controller, there is a Hebb learning rule algorithm to modify its neuron weights, and the PID parameters are adjusted online. The control module 2 and The computer 1 is connected, the stepping motor 3 and the switching power supply 4 are connected with the control module 2 respectively, the background board 5 is connected with the stepping motor 3, and the LED light source 6 is connected with the switching power supply 4; multiple times By manually adjusting the rotation angle of the background board 5 and the voltage of the LED light source 6, the appropriate rotation angle range of the background board 5 and the appropriate voltage range of the LED light source 6 are obtained, and appropriate parameters are set in the computer 1 according to the obtained range, Gather the position of the background plate 5 and the brightness of the LED light source 6 through the photoelectric sensor 7, and convert the collected signal into an electrical signal, transmit the electrical signal to the computer 1, and pass the received data to the single neuron PID controller. Compare with the preset data, and pass the new input value after comparison and calculation to the control module 2, and control the stepping motor 3 and switching power supply 4 to make corresponding actions through the control module 2, so that the background plate 5 rotates to The required position makes the LED light source 6 reach the required brightness.
通过人机界面向计算机1内输入参数。 Input parameters into the computer 1 through the man-machine interface.
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310247495.3A CN103353767B (en) | 2013-06-20 | 2013-06-20 | A kind of method that color selector background board and light source are regulated |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310247495.3A CN103353767B (en) | 2013-06-20 | 2013-06-20 | A kind of method that color selector background board and light source are regulated |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103353767A CN103353767A (en) | 2013-10-16 |
| CN103353767B true CN103353767B (en) | 2016-05-04 |
Family
ID=49310147
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310247495.3A Active CN103353767B (en) | 2013-06-20 | 2013-06-20 | A kind of method that color selector background board and light source are regulated |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103353767B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106251370A (en) * | 2016-07-27 | 2016-12-21 | 合肥高晶光电科技有限公司 | A kind of color selection method based on neutral net |
| CN107168136A (en) * | 2017-06-27 | 2017-09-15 | 合肥市老海新材料有限公司 | A kind of color selector detecting system |
| CN110038823A (en) * | 2019-04-22 | 2019-07-23 | 安徽捷迅光电技术有限公司 | A kind of background board device for changing light on color selector |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4120402A (en) * | 1977-06-03 | 1978-10-17 | Acurex Corporation | Color sorter including a foreign object reject system |
| US4150287A (en) * | 1978-02-01 | 1979-04-17 | Amf Incorporated | Optical system for use with color sorter or grader |
| JPH06258138A (en) * | 1992-12-12 | 1994-09-16 | Rwe Entsorgung Ag | Method for identification of object and apparatus for execution of said method |
| CN201346540Y (en) * | 2008-12-30 | 2009-11-18 | 天津市华核科技有限公司 | Color sorting device on the basis of system on programmable chip |
| CN202114021U (en) * | 2011-05-06 | 2012-01-18 | 布勒易捷特色选机械(合肥)有限公司 | Intelligent control system for color sorter background plate component |
| CN202290596U (en) * | 2011-08-27 | 2012-07-04 | 天津市光学精密机械研究所 | Full-color light emitting diode (LED) background light regulating system for color selector |
-
2013
- 2013-06-20 CN CN201310247495.3A patent/CN103353767B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4120402A (en) * | 1977-06-03 | 1978-10-17 | Acurex Corporation | Color sorter including a foreign object reject system |
| US4150287A (en) * | 1978-02-01 | 1979-04-17 | Amf Incorporated | Optical system for use with color sorter or grader |
| JPH06258138A (en) * | 1992-12-12 | 1994-09-16 | Rwe Entsorgung Ag | Method for identification of object and apparatus for execution of said method |
| CN201346540Y (en) * | 2008-12-30 | 2009-11-18 | 天津市华核科技有限公司 | Color sorting device on the basis of system on programmable chip |
| CN202114021U (en) * | 2011-05-06 | 2012-01-18 | 布勒易捷特色选机械(合肥)有限公司 | Intelligent control system for color sorter background plate component |
| CN202290596U (en) * | 2011-08-27 | 2012-07-04 | 天津市光学精密机械研究所 | Full-color light emitting diode (LED) background light regulating system for color selector |
Non-Patent Citations (2)
| Title |
|---|
| 基于BP神经网络PID自整定的光电色选机控制系统;高瑞;《郧阳师范高等专科学校学报》;20111231;正文第58-62页 * |
| 基于单神经元PID的永磁同步电动机速度控制器设计;陈曼;《中国优秀硕士学位论文全文数据库(电子期刊)》;20071015;正文第25-40页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103353767A (en) | 2013-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103841726B (en) | Device and method for real-time adjustment of light source brightness in pole piece surface defect detection | |
| CN103353767B (en) | A kind of method that color selector background board and light source are regulated | |
| JP6838202B2 (en) | Energy efficient blow molding machine control | |
| CN113017132A (en) | Cut tobacco quality optimization method based on cut tobacco dryer process parameter prediction | |
| CN108927243B (en) | Rice mill and rice processing and milling procedure distributed cooperative intelligent control method | |
| CN105837008B (en) | Press over system glass production line and its automatic control system and method | |
| CN118466417B (en) | Self-adaptive adjustment method and system for spraying process based on temperature measurement | |
| CN101456159A (en) | Spark identification tool-setting method and abrasive machining automatic system | |
| CN104458750A (en) | Automatic aluminum profile surface defect detecting equipment based on machine vision | |
| CN110210718A (en) | A method of the promotion product qualification rate based on Multidimensional decision-making woodlot | |
| CN202388900U (en) | Registration measuring and controlling device for flat screen printing machine | |
| CN101658327A (en) | System for detecting steel seal on line, controlling printing ink and automatically aligning notch of rolling machine | |
| CN105197686A (en) | Novel multigroup re-winding device and control method thereof | |
| CN205129339U (en) | Full -automatic lock screw equipment | |
| CN203426202U (en) | Electric chain saw guide plate flattening machine | |
| CN102922143A (en) | Whole breadth identifying and cutting machine and methods | |
| CN210847252U (en) | Sorting device for qualified and defective workpieces | |
| CN202204477U (en) | Device for detecting diameter of tobacco rod | |
| CN202261930U (en) | A machine vision light source system that can adjust brightness in real time | |
| CN103624965A (en) | Meter-weight control system of plastic-pipe extruding equipment | |
| CN203837657U (en) | Automatic tile detection device | |
| CN210357273U (en) | Rice mill and weight pressure control device thereof | |
| CN103018110A (en) | Wire bending test machine | |
| CN106370672A (en) | Lens on-line detection line | |
| CN103900800A (en) | Electric dimming device and car lamp online detecting 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 | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| OL01 | Intention to license declared | ||
| OL01 | Intention to license declared |