CN106092322A - A kind of temp measuring system based on color sensor - Google Patents

A kind of temp measuring system based on color sensor Download PDF

Info

Publication number
CN106092322A
CN106092322A CN201610414492.8A CN201610414492A CN106092322A CN 106092322 A CN106092322 A CN 106092322A CN 201610414492 A CN201610414492 A CN 201610414492A CN 106092322 A CN106092322 A CN 106092322A
Authority
CN
China
Prior art keywords
color
measuring system
temp measuring
system based
color sensor
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
CN201610414492.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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610414492.8A priority Critical patent/CN106092322A/en
Publication of CN106092322A publication Critical patent/CN106092322A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/46Measurement of colour; Colour measuring devices, e.g. colorimeters
    • G01J3/50Measurement of colour; Colour measuring devices, e.g. colorimeters using electric radiation detectors

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Radiation Pyrometers (AREA)
  • Spectrometry And Color Measurement (AREA)

Abstract

The invention discloses a kind of temp measuring system based on color sensor, it is characterised in that: include color acquisition module, color treatments module and color display module;Described color acquisition module includes optical lens and color sensor;Described color treatments module includes signal processing circuit;Described color display module is LCD1602 LCD MODULE;Described signal processing circuit includes current/voltage converter amplifier circuit, A/D converter, single-chip microcomputer and RS232 level translator;The recognition methods of described color sensor includes that HSL color space calculates and AWB based on HSL color space adjusts.The temp measuring system that the present invention provides belongs to non-contacting temp measuring method, has good colouring information simultaneously and processes function, has temperature measurement accuracy more accurately.

Description

A kind of temp measuring system based on color sensor
Technical field
The present invention relates to field of temperature measurement, a kind of temp measuring system based on color sensor.
Background technology
Temperature is for characterizing object cold-hot condition Important Parameters, is also the important thermal technology of high-temperature heat treatment simultaneously Parameter.Temperature field detection in real time and accurately is prevention industrial accident, high temperature measurement, low-carbon environment-friendly, the important hands of the saving energy Section.Traditional High Temperature Measurement Technique uses contact measurement method, the wherein thermocouple sensors that use mostly, but owing to measuring The limitation of mode, thermocouple can only carry out point-to-point contact type measurement, and response speed is slow, it is impossible to meets at present Industrial high temperature non-cpntact measurement demand.
Object can send visible ray in the condition of high temperature, it is seen that light is recorded by color sensor, fixed according to Planck Rule, there is non-linear relation in the spectral component of object radiation and the temperature of object, and the spectral distribution of object is at visible-range Inside show as color, can be using the color of high temp objects as the foundation measuring temperature.Utilize the C&T of high temp objects Between the temp measuring system based on color sensor designed by relation be a kind of Non-contact high temperature measurement mode.
In present temp measuring system, there are some problems: (1) is due to extraneous color stimulus, the light on color sensor The current signal that sensing device produces is fainter, so current/voltage conversion and amplification must be carried out, processes through amplifying circuit After could by A/D conversion and single-chip microcomputer process and judge, color signal could be read by PC;(2) adopt due to color sensor Collect to be low frequency signal, in signal acquisition process, due to the impact of extraneous peculiar signal, it is necessary to filter high frequency noise letter Number;(3) color sensor is different to three kinds of Essential colour sensitivity, and its RGB output valve is unequal;(4) object color is by three primary colors RGB is constituted, and the change of people's color soon is the comprehensive change of form and aspect, saturation, brightness, although form and aspect, saturation, brightness become Change is the result of rgb value change, but is to look for color and is not to look for RGB, but HSL.
Summary of the invention
The goal of the invention of the present invention is: for the problem of above-mentioned existence, it is provided that a kind of thermometric based on color sensor System, including the signal processing circuit between color sensor and single-chip microcomputer, solves sensor output Weak current and monolithic Machine processes has the voltage of certain level, thus the problem that can not carry out being directly connected to;Include a kind of by RGB color simultaneously It is converted into the method for HSL color space and a kind of based on HSL color space automatic white balance adjustment method.
The technical solution used in the present invention is as follows:
A kind of temp measuring system based on color sensor of the present invention, including color acquisition module, color treatments module and face Color display module;Described color acquisition module includes optical lens and color sensor;Described color treatments module includes signal Process circuit;Described color display module is LCD1602 LCD MODULE.
The temp measuring system based on color sensor of the present invention, described signal processing circuit includes that current/voltage conversion is amplified Circuit, A/D converter, single-chip microcomputer and RS232 level translator;Described A/D converter uses TLC2543;On described single-chip microcomputer It is additionally provided with LED screen, for the display of color;Described single-chip microcomputer is connected with PC by RS232 level translator.
The temp measuring system based on color sensor of the present invention, described current/voltage converter amplifier circuit includes current/voltage Change-over circuit, zeroing circuit and amplifying circuit.
Due to extraneous color stimulus, the current signal that the light-sensitive device on color sensor produces is fainter, in detection During, what color sensor collected is small current signal, and single-chip microcomputer can process has certain level Voltage signal, for that purpose it is necessary to be amplified the current signal collected and voltage conversion, flows voltage converter amplifier circuit, can To improve the operational precision of system, make system stable operation.
The temp measuring system based on color sensor of the present invention, described current-to-voltage converting circuit includes operational amplifier ICL7650, resistance R1, R2, R3, R4, and electric capacity C1, C2;The reverse input end of described operational amplifier ICL7650 connects also R1 and C1 of connection, reconnects R2 and R3 in parallel;The outfan connection of described operational amplifier ICL7650 is made up of R4 and C2 Low-pass filter circuit.
In above circuit, the low-pass filter circuit of 4 and C2 compositions, can drive away HF noise signal and copped wave spike noise Interference, improve circuit stability;Solve to collect due to color sensor is low frequency signal, at signal acquisition process In, due to the impact of extraneous peculiar signal, it is necessary to the problem filtering the noise signal of high frequency.
The temp measuring system based on color sensor of the present invention, described zeroing circuit includes high-precision low-drift device OP- 07, its reverse input end series connection R5, connect R6 and the parallel connection of diode D3, connect R7 and the parallel connection of diode D4, and forward inputs R9 and C3 in parallel between end and outfan, positive input series connection R8.
In above circuit, diode can reduce the power-supply fluctuation impact on zero point with the zero point of stabilisation systems.
The temp measuring system based on color sensor of the present invention, described amplifying circuit includes operational amplifier TLC2274, its Reverse input end connects R12 and R14, R12 in parallel and connects R10 and R11 in parallel;Positive input connect R15 in parallel and R16。
In above circuit, TLC2274 has low noise and high input impedance, is suitable for amplification and the calculating of small-signal.
The temp measuring system based on color sensor of the present invention, described color sensor include three photodiodes and MTCSiCT three primary colors sensor;Described photodiode is Si-PIN photodiode, described MTCSiCT three primary colors sensor Bag is integrated by 19x3 Si-PIN photocell and the trichroism filter lens of RGB.
Si-PIN photodiode in above structure, does not has photoelectric fatigue effect, and the wave-length coverage of response is wider, by environment Temperature impact is little, has good linear relationship between the photoelectric current and the luminous flux of incidence that produce when short circuiting work, it is possible to Well realize the light conversion to photoelectric current, and long-term stable operation.
The temp measuring system based on color sensor of the present invention, the recognition methods of described TCS230 includes HSL color space Calculating and AWB based on HSL color space adjusts, the method that described HSL color space calculates is: red by pixel Colouring component r, green component g, blue component b normalization, find the maximum max in the middle of r, g, b and minima min;
The calculating of form and aspect h, works as max=min, h=0;Work as max=r, and g " b time,When Max=r, and g < b,Work as max=g,Work as max=b,(2) brightnessCalculating(3) calculating of saturation s, whenTime, S=0;WhenTime, s=0.5 × (max+min)/l;WhenTime,
In above method, HSL color space is used to process data advantage: (1) will according to RGB output colouring information TCS230 RGB is converted into HSL, judges non-fundamental color according to H-number or judges that color changes;(2) need not, by special light sources, use general LED ?;(3) detection belongs to color and relatively detects category, not specially requires light source.
The temp measuring system based on color sensor of the present invention, described AWB based on HSL color space adjusts Method be:
(1) HSL color space is calculated according to RGB color;
(2) set number of fragments, the brightness section of each section is set according to number of fragments, according to brightness l value by pixel classifications To a certain group;
(3) setting is assumed to be the form and aspect h value maximum Hmax of Lycoperdon polymorphum Vitt, as h < Hmax, it is believed that this pixel is Lycoperdon polymorphum Vitt;
(4) according to formulaCalculate red adjusted coefficient K r and blue adjusted coefficient K b;
(5) segmentation correction redness and blue component, revised red component R=Kr × r, r is that the redness before revising is divided Amount, blue component B=Kb × b, b is the blue component before revising;
(6) Kr, Kb deviation value ρ terminating to calculate is set, when | Kr-1 " ρ and | Kb-1 " during ρ, terminates to calculate.
Blank level adjustment in above method, can make three primary colors in color sensor " white " equal, solves due to face The problem that colour sensor is different to three kinds of Essential colour sensitivity;And the method for this blank level adjustment is that AWB adjusts;Tool There is good color reducing power, low-light level color is had less color error.
The operation principle of present invention temp measuring system based on color sensor: the present invention gathers high temperature substrate by optical lens Body radiation in visible ray, enter color sensor, by the control system of single-chip microcomputer, carry out HSL color space calculating and from Dynamic blank level adjustment, is converted into current signal by colouring information, through current/voltage conversion and amplifying circuit, is converted into voltage letter Number, carry out analog digital conversion is digital signal simultaneously, enters single-chip microcomputer and processes, and obtains the color gathered, and then by color and temperature The relation of degree, calculates the temperature of object being measured.
In sum, owing to have employed technique scheme, the invention has the beneficial effects as follows: compared with prior art, this Invention provides the signal processing circuit between color sensor and single-chip microcomputer, solves sensor output Weak current and list Sheet machine processes has the voltage of certain level, thus the problem that can not carry out being directly connected to;Provide a kind of by RGB color simultaneously Space is converted into the method for HSL color space with a kind of based on HSL color space automatic white balance adjustment method, beneficially thermometric The process of colouring information in system, improves thermometric effect.
Accompanying drawing explanation
Examples of the present invention will be described by way of reference to the accompanying drawings, wherein:
Fig. 1 is the structural representation of a kind of temp measuring system based on color sensor of the present invention.
Fig. 2 is signal processing circuit schematic diagram.
Fig. 3 is current-to-voltage converting circuit figure.
Fig. 4 is zeroing circuit figure.
Fig. 5 is amplification circuit diagram.
Detailed description of the invention
All features disclosed in this specification, or disclosed all methods or during step, except mutually exclusive Feature and/or step beyond, all can combine by any way.
Any feature disclosed in this specification (including any accessory claim, summary), unless specifically stated otherwise, By other equivalences or there is the alternative features of similar purpose replaced.I.e., unless specifically stated otherwise, each feature is a series of An example in equivalence or similar characteristics.
Such as Fig. 1, a kind of temp measuring system based on color sensor of the present invention, including color acquisition module, color treatments mould Block and color display module;Described color acquisition module includes optical lens and color sensor;Described color treatments module bag Include signal processing circuit;Described color display module is LCD1602 LCD MODULE.
The temp measuring system based on color sensor of the present invention, described signal processing circuit includes that current/voltage conversion is amplified Circuit, A/D converter, single-chip microcomputer and RS232 level translator;Described A/D converter uses TLC2543;On described single-chip microcomputer It is additionally provided with LED screen, for the display of color;Described single-chip microcomputer is connected with PC by RS232 level translator.
The temp measuring system based on color sensor of the present invention, described current/voltage converter amplifier circuit includes current/voltage Change-over circuit, zeroing circuit and amplifying circuit.
The temp measuring system based on color sensor of the present invention, described current-to-voltage converting circuit includes operational amplifier ICL7650, resistance R1, R2, R3, R4, and electric capacity C1, C2;The reverse input end of described operational amplifier ICL7650 connects also R1 and C1 of connection, reconnects R2 and R3 in parallel;The outfan connection of described operational amplifier ICL7650 is made up of R4 and C2 Low-pass filter circuit.
The temp measuring system based on color sensor of the present invention, described zeroing circuit includes high-precision low-drift device OP- 07, its reverse input end series connection R5, connect R6 and the parallel connection of diode D3, connect R7 and the parallel connection of diode D4, and forward inputs R9 and C3 in parallel between end and outfan, positive input series connection R8.
The temp measuring system based on color sensor of the present invention, described amplifying circuit includes operational amplifier TLC2274, its Reverse input end connects R12 and R14, R12 in parallel and connects R10 and R11 in parallel;Positive input connect R15 in parallel and R16。
The temp measuring system based on color sensor of the present invention, described color sensor include three photodiodes and MTCSiCT three primary colors sensor;Described photodiode is Si-PIN photodiode, described MTCSiCT three primary colors sensor Bag is integrated by 19x3 Si-PIN photocell and the trichroism filter lens of RGB.
The temp measuring system based on color sensor of the present invention, the recognition methods of described TCS230 includes HSL color space Calculating and AWB based on HSL color space adjusts, the method that described HSL color space calculates is: red by pixel Colouring component r, green component g, blue component b normalization, find the maximum max in the middle of r, g, b and minima min;
The calculating of form and aspect h, works as max=min, h=0;Work as max=r, and g " b time,Work as max=r, And g < b,Work as max=g,Work as max=b,(2) brightnessCalculating(3) calculating of saturation s, whenTime, S=0;WhenTime, s=0.5 × (max+min)/l;WhenTime,
The temp measuring system based on color sensor of the present invention, described AWB based on HSL color space adjusts Method be:
(1) HSL color space is calculated according to RGB color;
(2) set number of fragments, the brightness section of each section is set according to number of fragments, according to brightness l value by pixel classifications To a certain group;
(3) setting is assumed to be the form and aspect h value maximum Hmax of Lycoperdon polymorphum Vitt, as h < Hmax, it is believed that this pixel is Lycoperdon polymorphum Vitt;
(4) according to formulaCalculate red adjusted coefficient K r and blue adjusted coefficient K b;
(5) segmentation correction redness and blue component, revised red component R=Kr × r, r is that the redness before revising is divided Amount, blue component B=Kb × b, b is the blue component before revising;
(6) Kr, Kb deviation value ρ terminating to calculate is set, when | Kr-1 " ρ and | Kb-1 " during ρ, terminates to calculate.
The invention is not limited in aforesaid detailed description of the invention.The present invention expands to any disclose in this manual New feature or any new combination, and the arbitrary new method that discloses or the step of process or any new combination.

Claims (9)

1. a temp measuring system based on color sensor, it is characterised in that: include color acquisition module, color treatments module and Color display module;Described color acquisition module includes optical lens and color sensor;Described color treatments module includes letter Number process circuit;Described color display module is LCD1602 LCD MODULE.
Temp measuring system based on color sensor the most according to claim 1, it is characterised in that: described signal processing circuit Including current/voltage converter amplifier circuit, A/D converter, single-chip microcomputer and RS232 level translator;Described A/D converter uses TLC2543;It is additionally provided with LED screen, for the display of color on described single-chip microcomputer;Described single-chip microcomputer passes through RS232 level conversion Device is connected with PC.
Temp measuring system based on color sensor the most according to claim 2, it is characterised in that: described current/voltage is changed Amplifying circuit includes current-to-voltage converting circuit, zeroing circuit and amplifying circuit.
Temp measuring system based on color sensor the most according to claim 3, it is characterised in that: described current/voltage is changed Circuit includes operational amplifier ICL7650, resistance R1, R2, R3, R4, and electric capacity C1, C2;Described operational amplifier ICL7650 Reverse input end connect R1 and C1 in parallel, reconnect R2 and R3 in parallel;The outfan of described operational amplifier ICL7650 Connect the low-pass filter circuit being made up of R4 and C2.
Temp measuring system based on color sensor the most according to claim 3, it is characterised in that: described zeroing circuit includes High-precision low-drift device OP-07, its reverse input end series connection R5, connect R6 and the parallel connection of diode D3, connect R7 and two poles The parallel connection of pipe D4, R9 and C3 in parallel between positive input and outfan, positive input series connection R8.
Temp measuring system based on color sensor the most according to claim 3, it is characterised in that: described amplifying circuit includes Operational amplifier TLC2274, its reverse input end connects R12 and R14, R12 in parallel and connects R10 and R11 in parallel;Forward inputs End connects R15 and R16 in parallel.
Temp measuring system based on color sensor the most according to claim 1, it is characterised in that: described color sensor bag Include three photodiodes and MTCSiCT three primary colors sensor;Described photodiode is Si-PIN photodiode, described MTCSiCT three primary colors sensor bag is integrated by 19x3 Si-PIN photocell and the trichroism filter lens of RGB.
Temp measuring system based on color sensor the most according to claim 1 and 2, it is characterised in that: described color senses The recognition methods of device includes that HSL color space calculates and AWB based on HSL color space adjusts, described HSL color The method of SPATIAL CALCULATION is: by the red component r of pixel, green component g, blue component b normalization, find in the middle of r, g, b Maximum max and minima min;
(1) calculating of form and aspect h, works as max=min, h=0;Work as max=r, and g " b time,Work as max= R, and g < b,Work as max=g,Work as max=b,
(2) brightnessCalculating
(3) calculating of saturation s, whenTime, s=0;WhenTime, s=0.5 × (max+min)/l;
WhenTime,
Temp measuring system based on color sensor the most according to claim 5, it is characterised in that: described based on HSL color The method that the AWB in space adjusts is:
(1) HSL color space is calculated according to RGB color;
(2) set number of fragments, the brightness section of each section is set according to number of fragments, according to brightness l value by pixel classifications to certain One group;
(3) setting is assumed to be the form and aspect h value maximum Hmax of Lycoperdon polymorphum Vitt, as h < Hmax, it is believed that this pixel is Lycoperdon polymorphum Vitt;
(4) according to formulaCalculate red adjusted coefficient K r and blue adjusted coefficient K b;
(5) segmentation correction redness and blue component, revised red component R=Kr × r, r is the red component before revising, blue Colouring component B=Kb × b, b is the blue component before revising;
(6) Kr, Kb deviation value ρ terminating to calculate is set, when | Kr-1 " ρ and | Kb-1 " during ρ, terminates to calculate.
CN201610414492.8A 2016-06-14 2016-06-14 A kind of temp measuring system based on color sensor Pending CN106092322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610414492.8A CN106092322A (en) 2016-06-14 2016-06-14 A kind of temp measuring system based on color sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610414492.8A CN106092322A (en) 2016-06-14 2016-06-14 A kind of temp measuring system based on color sensor

Publications (1)

Publication Number Publication Date
CN106092322A true CN106092322A (en) 2016-11-09

Family

ID=57845447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610414492.8A Pending CN106092322A (en) 2016-06-14 2016-06-14 A kind of temp measuring system based on color sensor

Country Status (1)

Country Link
CN (1) CN106092322A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105211A (en) * 2017-03-22 2017-08-29 建荣半导体(深圳)有限公司 A kind of white-balance correction method, device and electronic equipment
CN107607204A (en) * 2017-09-05 2018-01-19 昆山博威泰克电子科技有限公司 Color analysis device and method
CN112197864A (en) * 2020-10-30 2021-01-08 东华大学 Method for testing, analyzing and quantitatively classifying colors of carding wool

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
庞小兵: "在线颜色识别传感技术的研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
莫思特 等: "基于HSL颜色空间的自动白平衡算法", 《四川大学学报(工程科学版)》 *
赵光艺 等: "基于颜色实现温度测量的方法及实验研究", 《仪器仪表用户》 *
赵光艺 等: "采用TCS230颜色传感器的测温方法及实验研究", 《佳木斯大学学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105211A (en) * 2017-03-22 2017-08-29 建荣半导体(深圳)有限公司 A kind of white-balance correction method, device and electronic equipment
CN107607204A (en) * 2017-09-05 2018-01-19 昆山博威泰克电子科技有限公司 Color analysis device and method
CN112197864A (en) * 2020-10-30 2021-01-08 东华大学 Method for testing, analyzing and quantitatively classifying colors of carding wool

Similar Documents

Publication Publication Date Title
CN201229510Y (en) High precision temperature control device for infrared focus plane
CN106092322A (en) A kind of temp measuring system based on color sensor
CN103512658A (en) Color identification system and method
CN202512457U (en) Micro optical fiber spectroscope constant temperature control device
CN205015086U (en) Sunshine light intensity sensor and flowerpot
CN103776529A (en) Desktop laser power meter capable of real-time compensation and compensation method thereof
CN113834789B (en) Multi-channel heavy metal detection device and detection method
CN202661793U (en) Fuzzy-proportion integration differentiation (PID)-based intelligent temperature sensor
CN202947798U (en) High speed high temperature infrared photon temperature detector
CN202533180U (en) Novel modified infrared thermometer
CN201993309U (en) Device for on-line testing scale numbers of auto-dimming soldering face mask
CN204854515U (en) Be used for accurate aperture measuring digit feeler gauge
CN204242566U (en) A kind of can Intelligent Dynamic adjustment screen backlight LCDs
CN102116830A (en) Method for testing photoelectric parameters of charge coupled device (CCD)
CN202533177U (en) Control circuit of novel improved infrared thermometer
CN204301857U (en) Light power meter
CN109141669B (en) Wireless temperature measurement method and device based on spectrum technology
CN108931299A (en) A kind of colour measurement device and method based on embedded type camera
CN201255663Y (en) Intelligent visible light sensor
CN204679410U (en) The online Real-time and Dynamic Detection system of converter steel-smelting molten steel carbon content
CN204517762U (en) A kind of enlarge leadingly pre-process circuit being applied to the process of PIR signal digital
CN202676296U (en) Low-temperature bar-shaped field of view thermometal detector
CN203349929U (en) Light quality and illumination intensity sensing detection system
CN106644098A (en) High-power wireless optical power meter
CN204854964U (en) Colour identification system based on FPGA and look quick sensor

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

Application publication date: 20161109

RJ01 Rejection of invention patent application after publication