颜色传感器使用手册
TCS3200颜色传感器使用说明
![TCS3200颜色传感器使用说明](https://img.taocdn.com/s3/m/9e8a021f33687e21ae45a91b.png)
TCS3200颜色传感器是一款全彩的颜色检测器,包括了一块TAOS TCS3200RGB 感应芯片和4个白光LED灯,TCS3200能在一定的范围内检测和测量几乎所有的可见光。
它适合于色度计测量应用领域。
比如彩色打印、医疗诊断、计算机彩色监视器校准以及油漆、纺织品、化妆品和印刷材料的过程控制。
通常所看到的物体颜色,实际上是物体表面吸收了照射到它上面的白光(日光)中的一部分有色成分,而反射出的另一部分有色光在人眼中的反应。
白色是由各种频率的可见光混合在一起构成的,也就是说白光中包含着各种颜色的色光(如红R、黄Y、绿G、青V、蓝B、紫P)。
根据德国物理学家赫姆霍兹(Helinholtz)的三原色理论可知,各种颜色是由不同比例的三原色(红、绿、蓝)混合而成的。
由上面的三原色感应原理可知,如果知道构成各种颜色的三原色的值,就能够知道所测试物体的颜色。
对于TCS3200D 来说,当选定一个颜色滤波器时,它只允许某种特定的原色通过,阻止其它原色的通过。
例如:当选择红色滤波器时,入射光中只有红色可以通过,蓝色和绿色都被阻止,这样就可以得到红色光的光强;同理,选择其它的滤波器,就可以得到蓝色光和绿色光的光强。
通过这三个光强值,就可以分析出反射到TCS3200D传感器上的光的颜色。
TCS3200D传感器有红绿蓝和清除4种滤光器,可以通过其引脚S2和S3的高低电平来选择滤波器模式,如下图。
TCS3200D有可编程的彩色光到电信号频率的转换器,当被测物体反射光的红、绿、蓝三色光线分别透过相应滤波器到达TAOS TCS3200RGB感应芯片时,其内置的振荡器会输出方波,方波频率与所感应的光强成比例关系,光线越强,内置的振荡器方波频率越高。
TCS3200传感器有一个OUT引脚,它输出信号的频率与内置振荡器的频率也成比例关系,它们的比率因子可以靠其引脚S0和S1的高低电平来选择,如下图。
这个测试实验,我把TCS3200传感器OUT引脚输出信号频率与其内置振荡器频率比率因子设为2%,有了输出频率比例因子,但是如何通过OUT引脚输出信号频率来换算出被测物体由三原色光强组成的RGB颜色值呢?这还需进行白平衡校正来得到RGB比例因子才行!白平衡校正方法是:把一个白色物体放置在TCS3200颜色传感器之下,两者相距10mm左右,点亮传感器上的4个白光LED灯,用Arduino控制器的定时器设置一固定时间1s,然后选通三原色的滤波器,让被测物体反射光中红、绿、蓝三色光分别通过滤波器,计算1s时间内三色光对应的TCS3200传感器OUT输出信号脉冲数(单位时间的脉冲数包含了输出信号的频率信息),再通过正比算式得到白色物体RGB值255与三色光脉冲数的比例因子。
三色颜色区分传感器数据手册说明书
![三色颜色区分传感器数据手册说明书](https://img.taocdn.com/s3/m/33d50e49e97101f69e3143323968011ca300f78e.png)
DatasheetCompact, Self-Contained, Three-Output Color-DifferentiatingSensor•Two versions for application flexibility: QC50 models for most applications, and QCX50 models for more challenging applications•Compact, self-contained design•Analyzes and compares color to color, or varying intensities of one color •QCX50 models excel in challenging applications, such as differentiating dark blue from black•Easy-to-set programming options for 1, 2, or 3 colors•Three programming parameters: channel, sensing mode, and tolerance level •10 tolerance levels to allow for product variation•Output OFF-delay (6 options);selection applies to all three color channels•Gate mode option (also called inhibiting,synchronization,or windowing)WARNING: Not To Be Used for Personnel ProtectionNever use this device as a sensing device for personnel protection. Doing so could lead to serious injury or death.This device does not include the self-checking redundant circuitry necessary to allow its use in personnel safetyapplications. A sensor failure or malfunction can cause either an energized or de-energized sensor outputcondition.ModelsOverviewThe easy-to-use QC50 series true color sensor uses modulated white light with red,green, and blue (R, G, B) electronic filters to scan for the presence of one, two or threecolors. Its compact size allows it to be mounted almost anywhere. Configurationoptions include Programming mode for color detection parameters and Setup modefor selecting an adjustable output OFF-delay or selecting between two response speeds(some models). Three solid-state outputs may be set individually for colordifferentiation or for color-plus-intensity differentiation (seeProgram the Sensor onpage 2).The sensor has two push buttons, Set and Select, plus a 4-digit LED display, an OutputLED, and three Output Status LEDs (one for each sensing output), for easyprogramming and status monitoring during operation. The push buttons can be lockedfor security (see Disable the Push Buttons on page 4.Push ButtonSet Push4-Digit Displaymating cordset.QC50 Series True Color SensorOriginal Document111523 Rev. D27 February 2017111523Configuration InstructionsProgram the SensorProgramming mode determines the colors the sensor will detect for each of the three outputs. Repeat the following steps for each output. The procedure is identical for all models.The sensor has a 12-second time-out. If more than 12 seconds elapses between steps, sensor returns to Run mode without saving the settings.The QC50 can be programmed to sense one, two, or three colors. Three outputs are available for this purpose. When a programmed color is sensed, the yellow Output ("OUT") indicator LED and the associated green Output Status LED turn ON, and the respective output conducts.Sensing Modes—The Sensor functions in one of two sensing modes: Color only (expressed "C" on the 4-digit display) or Color-Plus-Intensity (expressed "C_I"). In Color sensing mode, only colors are sensed. This is most useful for sorting obvious color differences (for example, red or black or green). The Color-Plus-Intensity option refines the sensor's capabilities to include grayscale as well, broadening the spectrum of colors and shades which the sensor can be programmed to detect. This feature allows "batch" sorting or identifying within a color family (for example, light blue or medium blue or dark blue).Tolerance Levels—The Sensor can be configured for one of 10 levels of tolerance (0 to 9). A higher number (for example 9, expressed "toL9" on the 4-digit display) permits the sensor to accept a wider range of target conditions, compared with lower tolerance levels. A tolerance level of 0 (expressed "toL0") causes much more precise discrimination and a narrower range of target conditions.1.To sample the color, position the new color to be sensed within scanning distance, typically 20 mm (0.8 in).The sensor samples the color. The Output LED and all Output Status LEDs are off. The display shows run (no OFF-delay) or rund (OFF-delay selected).2.Select the channel.a)Press and hold Set for more than two seconds.b)By default, channel 1 (SEt1) is selected. Click Select until the desired channel is displayed.c)Click Set to save your selection.The Output LED and Output Status LEDs are OFF. The display shows SEt1 for channel 1, SEt2 for channel 2, or SEt3 for channel 3.3.Select the sensing mode.a)Click Select to choose between Color (default) or Color + Intensity.b)Click Set to save your selection.The Output LED and Output Status LEDs are OFF. The display shows C for Color or C_I for Color + Intensity. After the sensor saves the color settings, the Output LED is ON and the selected channel Output Status LED is on. The display shows uPdt (flashing for two seconds).4.Select the tolerance level.a)Click Select until the desired tolerance level is displayed. There are 10 tolerance levels to choose from.b)Click Set to save the tolerance setting.The Output LED is on and the Output Status LED for the selected channel is on. The displays reads toL0 (most selective) through toL9 (least selective).If the color being taught is out of the sensor’s range, FAIL appears in the 4-digit display, followed by Hi or Lo(indicating too much or too little light, respectively).Save the selected sensor settings by clicking the Set button at the end of Programming mode selection. The settings are saved in the sensor’s EEPROM memory and the sensor remembers the current settings, even after being powered off. - Tel: +1-763-544-3164P/N 111523 Rev. DIndicator DisplaysTo review the sensor's settings, press Select for 2 seconds or more.The output channel, sensing mode, and tolerance level will then be displayedsequentially, followed by the delay interval (applicable to all channels) and normal or fast mode (for QCX50 models). At the end of the sequence, the display indicates "run"or "rund" (depending on the delay setting).Non-Initialization Display Messages —When using a sensor for the first time, the message "E2Pr" may be displayed. This indicates the memory has yet to be used. To correct this situation, set up a channel according to the procedure described earlier in Programming Mode . When any channel is set up successfully, a "run" or "rund"message is displayed.Run Mode — Normal sensor operation is called Run mode. The LED indicators and the 4-digit display indicate current operating status. For example, if the color sensor is detecting the color for which output 1 is programmed and no delay is selected, the indicators appear:•Output (Out) LED: ON Yellow •Output 1 Status LED: ON Green •4-digit display: run Fast Mode —When a QCX50 model sensor is operating in Fast mode, the display will flash"FASt" for approximately 5 seconds of every 40 seconds.Repeats for each channelSet the Output OFF-DelaySensor OutputOutput EndsStartsThe output OFF-delay represents the time interval, following termination of sensing, during which the outputs remain active. The selected delay will apply to all three outputs.An output OFF-delay value up to 40 milliseconds may be set. The figure shows a 20 ms OFF-delay (d_20). The output continues for an interval after sensing stops (applies to all outputs).1.Press Set for more than six seconds.2.Click Select until the desired delay setting is displayed. You may choose from the following delay settings:•d_00 (no delay)•d_05 (5 ms delay)•d_10 (10 ms delay)•d_20 (20 ms delay)•d_30 (30 ms delay)•d_40 (40 ms delay)The Output LED is off (no target) and all Channel Status LEDs are off.3.Click Set to save the settings.The Output LED is off (no target) and all Channel Status LEDs are off. The display shows run (no delay selected) or rund (delay selected).Set the Sensing Response SpeedThe QCX50 models feature two selectable sensing response speeds: Normal and Fast. At either speed, sensing resolution is improved over that of the QC50 models.The faster the speed, the lower the resolution. Normal speed is the recommended mode for most applications and provides the best resolution. Normal speed enables such high-resolution sensing as differentiating between similar shades of beige.1.To access the selection mode, press and hold Set and Select together for more than two seconds.The current selection is displayed (norm or FASt).2.Click Select to toggle between fast and normal speeds.3.Press Set for more than two seconds or wait 20 seconds for the sensor to time out and return to Run mode with new settings.The new selection is displayed (norm or FASt).P/N 111523 Rev. D - Tel: +1-763-544-31643Using the Gating FunctionThe output function of the sensor's color detection can be gated using the sensor's red wire (see Wiring Diagrams on page 5). Using this function controls the sensor's output and permits output to occur only when signaled by the use of the red wire. This output control feature is most useful when multiple repeats of a color could occur, such as with registration marks in a margin, yet only one point on the work is needed for an accurate determination. Gating is also known as triggering, windowing, inhibiting, or synchronization.In the sensor's normal operating state (output enabled, red wire open or low), the sensor responds to all taught colors (the Output LED,Channel Status LEDs, and all outputs respond to target conditions). When the red wire is held high (output disabled, red wire at high supply potential), the sensor does not respond to the taught colors (LEDs do not light and outputs do not conduct; i.e., inhibit).Disable the Push ButtonsLock out the push buttons to prevent accidental or unauthorized adjustments on the production floor.1.Connect a switch between the Gate input and +10 to 30 V dc.The sensor is ready for the keypad to be enabled or disabled.2.To disable the buttons: close the Gate switch and power up the sensor.The sensor push buttons are disabled.3.To enable the buttons: open the Gate switch and power up the sensor.The sensor push buttons are enabled.Installing the Color SensorWhen sensing glossy surfaces, install the sensor at approximately a 15° angle with respect to the target.When the sensor is ON, the white emitter beam is ON and “run” or “rund”appears on the 4-digit status display.1.Determine the best position for the swivel connector (back, side, or bottom of the sensor).2.Measure the appropriate operating distance from the front surface of the sensor optics to the point where the sensor is to befastened.Typically, the ideal distance is 20 mm (0.8 in).3.Fasten the sensor to its intended location using two screws (M4 × 35 or longer).Any two of three holes in the housing may be used for this purpose.4.Attach the power cable to the sensor’s connector. Refer to Wiring Diagrams on page 5 for more information. - Tel: +1-763-544-3164P/N 111523 Rev. DWiring DiagramsSpecificationsSupply Voltage10 V dc to 30 V dc, 2 V pp maximum ripple40 mA maximum at 24 V dc (excluding output current)Supply Protection CircuitryProtected against reverse polarity, over-voltage, and transient voltageOutput Configuration3 PNP or 3 NPN outputs, depending on model30 V dc maximumSaturation Voltage: < 2 VOutput Rating100 mA maximum load per output channelOutput ProtectionProtected against output short-circuit, continuous overload, transient over-voltages, and false pulse on power upOutput Response TimeQC50 models: 335 microsecondsQCX50 models: Selectable 5 ms 9 normal) or 1 ms500 ms delay at power-up; outputs do not conduct during this timeData RetentionEEPROM nonvolatile memorySensing BeamPulsed white LED (400 nm to 700 nm)Sensing ReceiverSolid-state photodiode device with R, G, B filtersSensing Range20 mm (0.8 inches) typical; varies depending on sensor configurationAdjustments2 push buttons (Set and Select)Color scanning, color mode, delay and toleranceManual adjustment of color channels, sensing mode and tolerance levelIndicators4-digit LCD display: indicates sensing mode, display information, tolerancelevel, channel statusYellow output LED: ON when any output is conductingThree Green channel output status LEDs: ON when its corresponding channeloutput is conductingConnections8-pin M12/Euro-style swivel quick disconnect; 2 m (6.5 ft), 5 m (15 ft), or 9 m(30 ft) cable available separatelyConstructionABS shock-resistant housing; glass window and lensMinimum Spot Diameter4 mm (0.2 inches)Environmental RatingIEC IP67Ambient Light RejectionAccording to EN 609475-2Operating Conditions−10 °C to +55 °C (+14 °F to +131 °F)90% at +50 °C maximum relative humidity (non-condensing)Shock ResistanceApprox. 30 G; 3 shocks per axis; 11 ms durationVibration0.5 mm (0.2 inch) amplitude; 10 Hz to 60 Hz frequency; 30 minutes for each X,Y, Z axisCertificationsQC50 Models:QCX50 Models:Required Overcurrent ProtectionWARNING: Electrical connections must be madeby qualified personnel in accordance with localand national electrical codes and regulations.Overcurrent protection is required to be provided by end product applicationper the supplied table.Overcurrent protection may be provided with external fusing or via CurrentLimiting, Class 2 Power Supply.Supply wiring leads < 24 AWG shall not be spliced.For additional product support, go to .P/N 111523 Rev. D - Tel: +1-763-544-31645NOTE: M4 fasteners not includedAccessoriesCordsets - Tel: +1-763-544-3164P/N 111523 Rev. DSMBQC50•Multi-directional stainless steelL-bracket•Provides a variety of mountingoptions•Includes M4 SS hardware (2scews, 2 flat washers, 2 lockwashers, and 2 nuts)Banner Engineering Corp. Limited WarrantyBanner Engineering Corp. warrants its products to be free from defects in material and workmanship for one year following the date of shipment. Banner Engineering Corp. will repair or replace, free of charge, any product of its manufacture which, at the time it is returned to the factory, is found to have been defective during the warranty period. This warranty does not cover damage or liability for misuse, abuse, or the improper application or installation of the Banner product.THIS LIMITED WARRANTY IS EXCLUSIVE AND IN LIEU OF ALL OTHER WARRANTIES WHETHER EXPRESS OR IMPLIED (INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE), AND WHETHER ARISING UNDER COURSE OF PERFORMANCE, COURSE OF DEALING OR TRADE USAGE.This Warranty is exclusive and limited to repair or, at the discretion of Banner Engineering Corp., replacement. IN NO EVENT SHALL BANNER ENGINEERING CORP. BE LIABLE TO BUYER OR ANY OTHER PERSON OR ENTITY FOR ANY EXTRA COSTS, EXPENSES, LOSSES, LOSS OF PROFITS, OR ANY INCIDENTAL, CONSEQUENTIAL OR SPECIAL DAMAGES RESULTING FROM ANY PRODUCT DEFECT OR FROM THE USE OR INABILITY TO USE THE PRODUCT, WHETHER ARISING IN CONTRACT OR WARRANTY, STATUTE, TORT, STRICT LIABILITY, NEGLIGENCE, OR OTHERWISE. Banner Engineering Corp. reserves the right to change, modify or improve the design of the product without assuming any obligations or liabilities relating to any product previously manufactured by Banner Engineering Corp. Any misuse, abuse, or improper application or installation of this product or use of the product for personal protection applications when the product is identified as not intended for such purposes will void the product warranty. Any modifications to this product without prior express approval by Banner Engineering Corp will void the product warranties. All specifications published in this document are subject to change; Banner reserves the right to modify product specifications or update documentation at any time. Specifications and product information in English supersede that which is provided in any other language. For the most recent version of any documentation, refer to:.© Banner Engineering Corp. All rights reserved。
TCS230CN 颜色传感器中文手册
![TCS230CN 颜色传感器中文手册](https://img.taocdn.com/s3/m/295b4703eff9aef8941e0674.png)
Dawmoon整理1 2 3 4 5 6 7 8 9 10 11 12 下一页rrTCS230可编程彩色L I G H T -T O -F R E Q U E N C Y 变换器TAOS046Q − JULY 2008D 高分辨率光转换D D D D D D D强度,频率可编程颜色和满量程输出频率直接与微控制器单电源供电(2.7 V 到5.5 V )掉电功能非线性误差通常在0.2%千赫50温度系数稳定200 p p m /°C 低调铅(P b )免费R o H S符合表面贴装包装包装 D 8-LEAD SOIC(顶视图)S0 1S1 2OE 3GND 48 S37 S26输出5 V DD说明该T C S 230可编程颜色l i g h t -t o -f r e q u e n c y 转换器可配置的硅光电二极管和结合上一个单片集成电路c u r r e n t -t o -f r e q u e n c y C M O S 转换器.输出为方波(50%占空比)与频率成正比的光强度(辐射).满量程输出频率可通过三种规模预设值通过两个控制输入p i n s .数字输入和数字输出允许直接连接到微控制器或其它逻辑电路.输出使能(O E )地方在输出高阻抗状态的多单元的微控制器输入行共享.该l i g h t -t o -f r e q u e n c y 转换器读取8 x 光电二极管8阵列.十六个光电二极管有蓝过滤器,16光电二极管是绿色过滤器,过滤器有红色16光电二极管,光电二极管和16过滤器是没有明确.这四种类型的光电二极管(颜色)叉,以尽量减少非均匀性对入射辐射.同一颜色的所有16光电二极管并联连接,哪些类型的光电二极管设备运行过程中u s e s 是引脚可选.光电二极管120μm x 120μm 在大小和144-μm 是中心.功能框图输出光光电二极管阵列Current-to-Frequency转换器S2S3S0S1OE该LUMENOLOGYr 公司得克萨斯高级光电解决方案I n c .1001克莱恩路S 套房300S 普莱诺,T X 75074S (972) 673-0759r1rCopyrightE 2008, TAOS Inc.TCS230可编程彩色L I G H T-T O-F R E Q U E N C Y变换器TAOS046Q − JULY 2008终端功能终端名称GND OE输出S0, S1 S2, S3 V DD 没有.4361, 27, 85IOIII / O描述电源地.所有电压都参考G N D.启用f o(低电平有效).输出频率(f o).选择输入输出频率调整.光电二极管类型选择输入.电源电压可选择的选项表1.S0LLHHS1LHLH输出频率调节(f o)掉电2%20%100%S2LLHHS3LHLH光电二极管型红蓝清除(不过滤)绿可用选项装置TCS230T A−40°C到85°C包装 −引线SOIC−8包装指示符D订购号TCS230D绝对最大额定值(除非另有说明)在操作自由空气的温度范围†电源电压,V DD(见注1)............................................输入电压范围,所有投入,V I.........................................DD+ 0.3 V 经营自由空气的温度范围内,T A(见注2).................................存储温度范围(见注2) (40)在最高温度与J E D E C J−S T D−020A,按照焊锡条件(见注3)...260°C†超越“绝对最大额定值”,就可能造成永久性损坏设备.这些压力额定值只,该设备的功能操作下,在这些或超出“推荐工作条件”所标明的任何其它条件不暗示.暴露于a b s o l u t e-m a x i m u m-r a t e d长时间条件下可能影响器件的可靠性.注:1.所有电压值与尊重是G N D.2.长期储存或以上70°C操作可能导致包装泛黄,这将降低灵敏度波长<500n m.3.装置可能是手工焊接提供的热量是只适用于没有接触焊焊垫和尖端之间所作焊锡铁和设备领先.热的最长时间应适用于该设备是5秒.推荐工作条件最小电源电压,V DD高电平输入电压,V IH低电平输入电压,V IL经营自由空气的温度范围内,T A V DD=2.7V到5.5VV DD=2.7V到5.5V2.72−40NOM5最大5.5V DD0.870单位VVV°CCopyright E2008, TAOS Inc.rr该LUMENOLOGY r公司上一页 1 2 3 4 5 6 7 8 9 10 11 12 下一页TCS230可编程彩色L I G H T-T O-F R E Q U E N C Y变换器TAOS046Q − JULY 2008在T电气特性A= 25°C, V DD=5V(除非另有说明)参数V OH V OL I IH I ILI DD 高电平输出电压低电平输出电压高电平输入电流低电平输入电流上电模式电源电流掉电模式S0 = H, S1 = H 满量程满量程频率(见注4)温度响应系数k SVS供电电压灵敏度S0 = H, S1 = LS0 = L, S1 = Hλ ≤600 nm, −25°C≤TA≤70°CV DD= 5 V±10%500100102760012012±200±0.5测试条件I OH= − 4 mAI OL= 4 mH最小4TYP4.50.250.4055315最大单位VVμAμAmAμA千赫千赫千赫ppm/°C%/ V注4:满量程频率是未饱和的设备的最大工作频率.该LUMENOLOGY r公司rr Copyright E2008, TAOS Inc.3上一页 1 2 3 4 5 6 7 8 9 10 11 12 下一页TCS230可编程彩色L I G H T-T O-F R E Q U E N C Y变换器TAOS046Q − JULY 2008在V工作特性DD= 5 V, T A= 25°C,S0=H,S1=H(除非另有说明)(见注5,6,7,8,和9).参数试验条件E e= 47.2μW/cm2,λp= 470 nmf O 输出频率q yE e= 40.4μW/cm2,λp= 524 nmE e= 34.6μW/cm2,λp= 640 nmf D 黑暗频率E e= 0λp= 470 nmR e 发光λp= 524 nm 响应λp= 565 nm (注10)λp= 640 nmλp= 470 nm 饱和辐照(注11)λp= 524 nmλp= 565 nmλp= 640 nmλp= 470 nmR v 照度λp= 524 nm响应λp= 565 nm(注12)λp= 640 nmf O=0到5千赫非线性f=0到50千赫O(注13)f O=0到500千赫恢复从电源向下响应时间到了,将启用(OE)清除光电二极管S2 = H, S3 = L最小161616TYP202020242449553257814101210113010405659589373±0.1%±0.2%±0.5%10046431620±0.1%±0.2%±0.5%100108655219±0.1%±0.2%±0.5%100最大2424241223481633731172017801940109035715355±0.1%±0.2%±0.5%100% F.S.% F.S.% F.S.μsHz/lxμW/cm2122813373092912蓝光电二极管S2 = L, S3 = H最小11.2TYP16.4最大21.6813.619.214192263591550Hz/(μW/( W/cm2)2412绿色光电二极管S2 = H, S3 = H最小TYP最大红光电二极管S2 = L, S3 = L最小TYP最大千赫千赫千赫Hz单位100100100100ns注:5.光学测量是使用一个发光二极管(L E D)光源小角度入射辐射.6.的470n m输入辐照基本上是由供应氮化铟镓发光二极管具有以下特点:峰值波长λp=470n m,光谱半宽度Δλ½=35n m,和发光效率=75l m/W7.的524n m输入辐照基本上是由供应氮化铟镓发光二极管具有以下特点:峰值波长λp=524n m,光谱半宽度Δλ½=47n m,和发光效率=520l m/W8.的565n m输入辐照是由一个具有以下特征的磷化镓发光二极管:峰值波长λp=565n m,光谱半宽度Δλ½=28n m,和发光效率=595l m/W9.的640n m输入辐照是由一个具有以下特征的A l I n G a P发光二极管:峰值波长λp=640n m,光谱半宽度Δλ½=17n m,和发光效率=155l m/W10.辐照响应R e特点是在由0到5千赫.11.饱和光照=(满量程频率)/(辐照响应).12.照度响应R v从辐照响应计算采用了L E D发光效率值列账于附注6,7,8,和9,和使用1l x=1l m/米2.13.非线性是指在f偏差O从零和满量程之间的直线,作为全面百分比来表示.Copyright E2008, TAOS Inc.rr该LUMENOLOGY r公司上一页 1 2 3 4 5 6 7 8 9 10 11 12 下一页上一页 1 2 3 4 5 6 7 8 9 10 11 12 下一页TCS230可编程彩色L I G H T -T O -F R E Q U E N C Y 变换器TAOS046Q − JULY 2008典型特征光电二极管的光谱响应10.90.8RedClear光电二极管的光谱响应与外部红外过滤器阻塞†1归清除@ 540 nm T A = 25°CBlueGreen归清除@ 715 nmT A = 25°C相对响应度0.9Clear0.80.70.60.50.4Red相对响应度0.7Green0.6Blue0.50.40.30.20.10300Blue0.30.2Green0.10300500700900λ−波长 −n m1100500700900λ−波长 −n m1100†典型的例子包括IR 过滤肖特B G 18,和肖特B G 39,Hoya CM500.图1归一化输出频率对比角位移1fO—输出频率—归图2光电二极管的响应度温度系数对比光波长入射11k 10k温度系数— p p m /d e g C900.8光轴9k 8k7k6k 5k4k 3k2k1k060065070075080085090095010000.60.40.2角位移是这两方面的平等0−90−60−303060Q −角位移−°λ−光波长入射 −n m图3图4该LUMENOLOGYr 公司rrCopyrightE 2008, TAOS Inc.5TCS230可编程彩色L I G H T-T O-F R E Q U E N C Y变换器TAOS046Q − JULY 2008应用信息供电思考电源线必须由0.01-μF分离到0.1-μF短引线电容式接近设备包装.输入接口低阻抗的器件引脚和O E引脚电气连接设备G N D需要提高抗干扰能力.输出接口该装置的输出设计在短距离驱动标准T T L或C M O S逻辑输入.如果线条大于12英寸是在输出,缓冲或行驱动器使用的建议.对产出启用高状态(O E)置于高阻抗状态多单位共享的输出微控制器的输入行.断电传感器使用S0/S1(午/L)的将导致在一个较低的状态进行输出.因为输出为低,传感器不能断电在一个有公共输出引脚多单元配置.光电二极管型(彩色)的选择类型的光电二极管(蓝色,绿色,红色,或清除)设备使用是由两个逻辑输入,S2和控制S3(见表1).输出频率调节输出频率调整是由两个逻辑输入,S0和S1.内部l i g h t-t o-f r e q u e n c y转换器生成一个固定脉宽脉冲序列.缩放是通过内部连接脉冲串输出一频器系列变频器.除以输出方波周期50%-d u t y相对对100%,20%,和2%.频率值,因为输出的分频是通过计数主体内部频率脉冲,最终输出的时期是一个多时期的平均这一原则的频率.输出缩放计数器寄存器清零后,下一个脉冲的主频率在任何转型期S0,S1,S2,S3,和O E线.输出g o e s在下次随后的脉冲式高主频率,开始了新的有效的时期.这最大限度地减小了对输入之间的时间延迟变化由此产生的新线和输出周期.响应时间的输入编程改变或一个发光阶跃变化是一种新的频率加1期μs.缩放的输出变化都满量程频率与被选中的比例因子黑暗的频率.频率缩放功能允许输出范围为各种优化的测量技术.在规模较小的输出可以用在一个较低的频率计数器只可用,如低成本的微控制器,或周期测量技术的使用.该LUMENOLOGY r公司Copyright E2008, TAOS Inc.rr上一页 1 2 3 4 5 6 7 8 9 10 11 12 下一页TCS230可编程彩色L I G H T-T O-F R E Q U E N C Y变换器TAOS046Q − JULY 2008应用信息测量频率该接口和测量技术的选择取决于期望分解和数据采集率.为了获得最大的数据采集速率,周期测量技术的使用.输出数据可在输出频率的两倍或一个点收集的数据速率为每微秒满量程输出.周期测量需要一个快速参考时钟直接使用与现有分解相关的参考时钟频率.输出比例可用于提高给定的时钟速率分解或最大限度地随着光线的变化分解输入.周期测量用于测量快变轻水平或做一个恒定光源非常快的测量.最大分解和准确性可能获得使用频率测量,脉冲积累,或集成技术.频率测量提供了额外的好处的平均随机或高频率的变化(抖动)从光信号噪音.分解是有限的,主要受可用计数寄存器和允许测量时间.频率测量是非常适合于慢变或常亮水平和读数在很短的时间周期平均光水平.整合(即在积累了很长一段时间的脉冲),可用于测量曝光,光量目前在一个地区在给定的时间段.P C B焊垫布局建议P C B焊垫的D包装布局准则如图5.4.65 6.901.270.502.25注:是A.所有的线性尺寸以毫米为单位.B.本图如有变更,恕不另行通知.图5.建议D包装 P C B布局该LUMENOLOGY r公司rr Copyright E2008, TAOS Inc.7上一页 1 2 3 4 5 6 7 8 9 10 11 12 下一页TCS230可编程彩色L I G H T-T O-F R E Q U E N C Y变换器TAOS046Q − JULY 2008机械信息T h i s S O I C包装由安装在一个封装用引线框架和一个电动的集成电路不导电的透明塑料复合.该T C S230有8×8光电二极管阵列和一个总规模的1.15m m 由1.15m m.光电二极管是120μm×120μm在大小和位置上144μm中心.包装 D注B2.12 +0.2503.00+0.250塑料小外形顶视图底视图PIN 1PIN 16y1.278y0.5100.330侧视图j 2.8 TYP清除窗口终结时0.500.255.004.805.3最大4550.88T Y P顶部传感器电路小片A1.751.354.003.806.205.80一个细节0.250.19 Pb注:A.B.C.D.1.270.410.250.10所有的线性尺寸以毫米为单位.The center of the 1.15-mm by 1.15-mm photo-active area is referenced to the upper left corner tip of the lead frame (Pin 1).包装是塑造具有不导电的透明塑料有一对1.55.折射率化合物这幅画如有变更,恕不另行通知.图6.包装 D—塑料小包装配置外形 I CCopyright E2008, TAOS Inc.rr该LUMENOLOGY r公司上一页 1 2 3 4 5 6 7 8 9 10 11 12 下一页TCS230可编程彩色L I G H T-T O-F R E Q U E N C Y变换器TAOS046Q − JULY 2008机械信息侧视图K o 2.11+0.10 [0.083+0.004]0.292+0.013[0.0115+0.0005]顶视图j 1.508+0.1[0.315+0.004]4+0.1[0.157+0.004]2+0.05[0.079+0.002]1.75+0.10[0.069+0.004]终结时B5.50+0.05[0.217+0.002]12 + 0.3 − 0.1[0.472 + 0.12 − 0.004]A AB一个细节详细BA o注:A.B.C.D.E.F.6.45+0.10[0.254+0.004]B o5.13+0.10[0.202+0.004]所有的线性尺寸以毫米[英寸].在此画的尺寸仅供参考.一个实际载波尺寸可能稍有不同.画上的符号o, B o,和K o定义在A N S I E I A标准481−B2001.每卷的直径178毫米,包含1000部分.T A O S包装带和卷轴符合E I A标准481−B.的要求这幅画如有变更,恕不另行通知.图7.包装 D载波胶带该LUMENOLOGY r公司rr Copyright E2008, TAOS Inc.9上一页 1 2 3 4 5 6 7 8 9 10 11 12 下一页TCS230可编程彩色L I G H T-T O-F R E Q U E N C Y变换器TAOS046Q − JULY 2008制造业信息化这种塑料小外形 I C包装 (D)已经过测试,并显示了有能力将回流焊到P C B基板.焊料回流曲线描述了在焊接元件预计最高热暴露回流焊温度对一P C B.产品过程是根据构件的顶部.该组件应被限制在这三个经过焊接回流温度曲线的最大值.表2.T C S230回流焊简介参数预热的平均温度梯度浸泡时间时间超过217°C时间超过230°C时间超过T peak−10°C 峰值回流温度冷却温度梯度t soakt1t2t3T peak参考TCS2302.5°C/sec2到3分钟最大 60秒最大 50秒最大 10秒260° C (−0°C/+5°C)最大 -5°C/s e cT峰值不按比例仅作参考—T3T2T1温度(5C)时间(秒)t浸泡图8.T C S230回流焊曲线图t3 t2 t1Copyright E2008, TAOS Inc.rr该LUMENOLOGY r公司上一页 1 2 3 4 5 6 7 8 9 10 11 12 下一页TCS230可编程彩色L I G H T-T O-F R E Q U E N C Y变换器TAOS046Q − JULY 2008潮湿敏感度其光学特性,可产生不利影响的释放和在焊接过程中水分蒸发以前已吸收到包装成型化合物.为了防止这些不利的条件下,载波磁带出货的所有设备已被预焙并装入密封运防潮袋.没有进一步的行动是必要的,如果这些设备都是通过回流焊内处理小时的密封24被打破的防潮袋.不过,在管或如果在防潮袋密封出货的所有设备已被打破的24小时或更长的时间,我们建议使用下列程序,以确保包装塑封料含有水分的吸收量可能最小.对于运管设备:1.删除管设备2.烘烤装置4小时,90°C3.冷却后成管,负载设备回4.小时内执行24回流焊后烘烤只有数量,可以通过在24小时回流焊接加工设备.设备可以再烤4小时90°C,如需12小时(3烤的4小时累计在90°C).对于载波磁带运设备:1.烘烤装置4小时,在磁带90°C2.小时内执行24回流焊后烘烤只有数量,可以通过在24小时回流焊接加工设备.设备可以r e−b a k e d在磁带4小时90°C,如需12小时累计总(3小时4烧烤在90°C).该LUMENOLOGY r公司rr Copyright E2008, TAOS Inc.11上一页 1 2 3 4 5 6 7 8 9 10 11 12 下一页TCS230可编程彩色L I G H T-T O-F R E Q U E N C Y变换器TAOS046Q − JULY 2008生产数据—本文件的信息,出版日期电流.产品符合按照规格与得克萨斯高级光电解决方案,I n c.标准的条款保修.生产加工不一定包括所有参数测试.无铅(P b-F R E E)及绿色声明Pb-Free (RoHS)T A O S'条款无铅或Pb-Free半导体产品,与当前的兼容R o H S要求所有6物质,包括要求领导不得超过重量均匀0.1%材料.凡设计为在高温焊接,T A O S P b-F r e e产品是适合使用在指定无铅工艺.绿色(R o H S和N O S b/B r)T A O S定义绿指P b-F r e e(R o H S兼容),溴(B r)和自由锑(S b)系阻燃剂(B r或S b不超过在均质材料重量0.1%).重要信息和免责声明The information provided in this statement represents TAOS' knowledge and 作为信仰的日期,这是规定.T A O S基地由第三方提供的信息的知识和信念,并不会就这些资料的准确性作出任何陈述或保证.目前正在努力,以更好地整合信息来自第三方.T A O S已经采取并将继续采取合理的步骤,以提供有代表性的而准确的信息,但可能没有进行无损检测和来料或化学分析化学品.T A O S和T A O S供应商认为某些信息是专有的,因此C A S数字和其他有限的信息可能不发布.公告得克萨斯高级光电解决方案,I n c.(T A O S)保留权利,在这一变化中包含的产品文件,以提高性能或用于任何其他目的,或终止,恕不另行通知他们.建议客户联系T A O S在下订单前取得,或设计成系统T A O S产品的最新产品信息.T A O S不承担任何责任的产品或电路使用本文档或客户的产品描述设计,传达没有牌照,任何专利或其他权利任何明示或暗示,并没有表示该电路是免费的专利侵权.T A O S更使得以它的产品适合没有任何特别要求目的,也不承担任何法律责任T A O S所产生的任何产品或电路使用了,并明确否认任何和所有责任,包括但不限于间接或附带损失.得克萨斯高级光电解决方案,I N C.产品是没有设计或设计用于在关键应用中使用,其中故障或T A O S产品故障可能造成人身伤害或死亡.广泛运用寿命支持系统的产品是明确T A O S未经授权,任何由客户此种使用是完全可根据客户的风险.L U M E N O L O G Y,T A O S,的T A O S标志和得克萨斯高级光电解决方案的注册商标得克萨斯高级光电解决方案公司.该LUMENOLOGY r公司Copyright E2008, TAOS Inc.rr上一页 1 2 3 4 5 6 7 8 9 10 11 12。
FT 50 C 颜色传感器说明书
![FT 50 C 颜色传感器说明书](https://img.taocdn.com/s3/m/ced91e5602d8ce2f0066f5335a8102d276a261f5.png)
COLOUR SENSOR FT 50 C The winner of the Baden-WürttembergPrize for Innovation excels due toits compactness and excellent colourselectivity.FT 50 C>T each-in of single colours orscanning of colour ranges>S torage of reference colours inteach-in mode, either by pressinga key on the sensor or via anexternal input cable>H igh colour selectivity,insensitive to fluctuatingscanning distances>C olour selectivity can be adjustedseparately for each colour>T hree different sized light spotsavailable>F T 50 C standard: 3 separatecolour channels and signal outputsfor separation of objects.All-purpose,compact device for on-line colour detection in industrial sequences and processes.Light spotsIn order to cover as many application possi-bilities as possible,the FT 50 C is available withthree different sized light spots:Ø 4 mm (at scanning distance 22 mm)KeypadAll the sensor settings can be carried outusing 2 keys.7 LEDs provide a visual aid during teach-inand provide information on the signal statusof the outputs.Scan functionWith inhomogeneous colour surfaces,coloursequences can be scanned and stored usingthe scan function.Colours within the scannedcolour spectrum are subsequently detected.FT 50 CFT 50 C ... S1FT 50 C-I: ø 4 mmFT 50 C-2: 2 x 2 mmFT 50 C-3: 1 x 5 mm+/- 6 mm (factory setting)+/- 5 mm (factory setting)+/- 2 mm (factory setting)T olerance rangesThe detection window can be adjusted bysetting the colour selectivity.T ol 1The FT 50 C ... S1 barely differs from the standard model in appearance, but has an integrated RS485 interface and other additional functions.COLOUR SENSOR FT 50 C ... S1WITH SERIAL INTERFACEFT 50 C-S> W ith switching output, controlinput and bus-compatible RS485 interface > I nterface enables transmissionof colour channel or colour value as well as reading, modification and storage of sensor parameters > R eference colours can be addedor the colour range extended in up to 4 steps > C olour and grey selectivity canbe adjusted separately for every colourAny number of colours can be taught-in via the interface and stored in the control system in the form of colour vectors (data string with reference value incl.tolerances) and recalled later.ber of colours can be taught-in via the interface and stored in tPC-based softwareA combination of serial interface and PC software also makes it possible to control the entire scope of sensor functions from the PC. Interactive settings are possible and sensors can be easily adjusted to the respective appli-cation. Colour samples can also be stored after teach-in and reloaded again when required. Renewed teach-in is not necessary. The latest software version can be found on the Internet under .Colour scanInhomogeneous colour surfaces canbe taught-in (scanned) with the aid of the integrated scan or scanplus function.If a large colour range is scanned and allocated to a single channel, the sensor switches at every colour in the created colour spectrum (figure 1).Improved selectivity is achieved with the scanplus function which can split this range into several parts (figure 2).12FT 50 C-... Montage- und Bedienungsanleitung / Mounting and operating instructions / Instructions de service et de montage03.04.2007-02068-13491Ces appareils de détection optiques ne peu-vent pas être utilisés pour des applications de sécurité des personnes.These Proximity Switches are not suited for safety related applications.Der Einsatz dieser Geräte in Anwendungen, wo die Sicherheit von Personen von der Gerätefunktion abhängt, ist nicht zulässig.FT 50 C-... Montage- und Bedienungsanleitung / Mounting and operating instructions / Instructions de service et de montage03.04.2007-02068-13491。
CVS2 SENSICK 颜色视觉传感器 操作手册说明书
![CVS2 SENSICK 颜色视觉传感器 操作手册说明书](https://img.taocdn.com/s3/m/4a7d3ac38662caaedd3383c4bb4cf7ec4bfeb66a.png)
• 如果背景色和物体很相似时, 可采用该种方法
• 该数值会被设定在背景色与物体的中间值
• 在 Teach-in 前, 先设置 TCHTYPE=2
Upper / Lower threshold TEACH-IN
• 定义一种颜色的像素上限和下限
• 在 Teach-in 前, 先设置 TCHTYPE=0
ON DELAY 0 - 5000
0
ONESHOT 0 - 1
0
OUTSIDE 0 - 1
0
SHUTTER 0 - 263
100
SORTING 0, 2 - 15
0
SYNCHRO 0 - 4
4
TCHCOLNO 1 - 2
1
TCHTYPE 0 - 2
1
TEACHENA 0 - 2
0
ZOOM
0-1
0
维持输出为高电平状态的延迟时间
4.1.LCD 显示屏幕上的图像类型 在运行模式下,按 VIEW 键,可以选择在 LCD 屏幕上的图像显示类型。利用这些视图
来调整 CVS2 到合适的位置并且查看当前颜色是否要检测的颜色。
B
图 2:在 RUN 模式下,图像视图中(D,F,2)的含义
D….实时图像 F…. 颜色增强图像 2….只显示被检测的颜色
6.电气连接图
SICK CHINA
CVS2 中文操作手册
Page:4/7
7.参数说明
参数
调整范围 初始值 描述
AREA LO1 0 - 9999
5000
AREA LO2 0 - 9999
5000
AREA HI1 0 - 9999
5000
AREA HI2 0 - 9999
BE-1131颜色传感器模块说明书
![BE-1131颜色传感器模块说明书](https://img.taocdn.com/s3/m/42388847df80d4d8d15abe23482fb4daa58d1dfc.png)
5 RGB888
读 RGB888 数据,返回为 24 位颜色数据,该值会受白平衡影响
6 原始 R 分量 7 原始 G 分量 8 原始 B 分量
读未经过任何处理的原始 Red 分量值,范围 0~1023 读未经过任何处理的原始 Green 分量值,范围 0~1023 读未经过任何处理的原始 Blue 分量值,范围 0~1023
6.模块最佳高度为板顶离地面 10mm,最高不要高于 15mm。
三、硬件安装
应用中,BE1131 颜色传感器能接插在 E2RCU 的 P1~P8 任一接口中。
四、使用说明
1、子函数说明:
首先,请确认安装的是最新版机器人快车软件,并且模块库版本为 3.98 以上,请用户在我们网站下载最新
的模块库进行升级。例子程序位于快车软件"文件\打开例程\光电传感器 \颜色检测"。
读经过白平衡处理之后输出的值的范围,默认为 100,该值可以修改,见命令 37
20~27 设置 LED 的状态
执行这些命令,模块自动进入 LED 控制模式,该模式下不能进行颜色识别,RGB 颜色值,HSV 值,没有意义,读 R/G/B 值返回的都是亮度值。修改 LED 状态掉电不保存。详细参照“功 能说明”的“改变灯的状态”
进行扫描。扫描完毕,发送命令 43 结束颜色学习过程,此时模块会暗大约 1 秒,自动将颜色参考值保存下
来,颜色学习结束。经过颜色学习之后,当该颜色已经进行了学习,那么识别结果将会产生变化,读回识
别结果,同一种颜色,颜色深(即亮度比较小)的识别结果将会加 10,颜色浅(即亮度较大)的返回原识
别结果(具体参照下面“颜色扩展模式”)。可以通过命令 61-66 读回颜色学习参考值。如果觉得识别不佳,
(完整版)TCS3200颜色传感器使用说明资料.doc
![(完整版)TCS3200颜色传感器使用说明资料.doc](https://img.taocdn.com/s3/m/6e39c07c192e45361066f578.png)
TCS3200 颜色传感器是一款全彩的颜色检测器,包括了一块 TAOS TCS3200RGB 感应芯片和 4 个白光 LED 灯, TCS3200 能在一定的范围内检测和测量几乎所有的可见光。
它适合于色度计测量应用领域。
比如彩色打印、医疗诊断、计算机彩色监视器校准以及油漆、纺织品、化妆品和印刷材料的过程控制。
通常所看到的物体颜色,实际上是物体表面吸收了照射到它上面的白光 (日光 ) 中的一部分有色成分,而反射出的另一部分有色光在人眼中的反应。
白色是由各种频率的可见光混合在一起构成的,也就是说白光中包含着各种颜色的色光 (如红R、黄Y、绿 G、青 V、蓝 B、紫 P)。
根据德国物理学家赫姆霍兹 (Helinholtz) 的三原色理论可知,各种颜色是由不同比例的三原色 (红、绿、蓝 )混合而成的。
由上面的三原色感应原理可知,如果知道构成各种颜色的三原色的值,就能够知道所测试物体的颜色。
对于 TCS3200D 来说,当选定一个颜色滤波器时,它只允许某种特定的原色通过,阻止其它原色的通过。
例如:当选择红色滤波器时,入射光中只有红色可以通过,蓝色和绿色都被阻止,这样就可以得到红色光的光强;同理,选择其它的滤波器,就可以得到蓝色光和绿色光的光强。
通过这三个光强值,就可以分析出反射到 TCS3200D 传感器上的光的颜色。
TCS3200D 传感器有红绿蓝和清除 4 种滤光器,可以通过其引脚 S2 和 S3 的高低电平来选择滤波器模式,如下图。
TCS3200D 有可编程的彩色光到电信号频率的转换器,当被测物体反射光的红、绿、蓝三色光线分别透过相应滤波器到达 TAOS TCS3200RGB感应芯片时,其内置的振荡器会输出方波,方波频率与所感应的光强成比例关系,光线越强,内置的振荡器方波频率越高。
TCS3200 传感器有一个 OUT 引脚,它输出信号的频率与内置振荡器的频率也成比例关系,它们的比率因子可以靠其引脚 S0 和 S1 的高低电平来选择,如下图。
QCM50颜色传感器说明书
![QCM50颜色传感器说明书](https://img.taocdn.com/s3/m/20cf1b89ab00b52acfc789eb172ded630b1c981e.png)
QCM50 Color Sensor Instruction ManualOriginal Instructions209633 Rev. A21 January 2020© Banner Engineering Corp. All rights reservedContents1 Product Description (3)1.1 Models (3)1.2 Overview (3)2 Installation Instructions (4)2.1 Sensor Installation (4)2.2 Wiring Diagrams (4)3 Configuration Instructions (5)3.1 Menu System for the 4-pin Models (5)3.2 Menu System for the 5-pin and 8-pin Models (10)3.3 Program the Sensor (15)4 Specifications (16)4.1 Dimensions (17)5 Accessories (18)5.1 Cordsets (18)5.2 Brackets (19)6 Banner Engineering Corp. Limited Warranty (20)1 Product DescriptionHigh-performance color sensor with IO-Link•Reliable color detection across the entire range of the sensor•Up to 12 colors can be detected with one sensor, which saves inventory costs and enables faster changeover•Available in a glare suppression model to reliably detect reflective targets •Intuitive configuration with integrated digital display and on-board buttons •IO-Link communication for remote configurationand monitoringWARNING:•Do not use this device for personnel protection•Using this device for personnel protection could result in seriousinjury or death.•This device does not include the self-checking redundant circuitrynecessary to allow its use in personnel safety applications. A device failure or malfunction can cause either an energized (on) or de-energized (off) output condition.1.1 Models1.2 Overview12543Figure 1. Sensor Features1.Green LED: Power Indicator and IO-Link / Red: Status/Error Indicator2.Amber LED: Output Indicator3.Optical window4.Display5.Buttons2 Installation Instructions2.1 Sensor InstallationInstall the sensor so the object to be detected moves horizontally to the sensor.Figure 2. Installation for glare suppressionmodelsFigure 3. Installation for other models Figure 4. Installation for other models2.2 Wiring Diagrams+–The QCM50 Color Sensor requires a shielded cable. Refer to the Accessories list for a list of recommended cables.3 Configuration Instructions3.1 Menu System for the 4-pin ModelsThe following functions are available using the sensor's menu system. Q represents the transistor output.Color ScanSmartFunc *On* / OffTolerance 3 sB33,3%100%⇩⇩menu B 33,3%100%Unlock Figure 5. Menu Map for the 4-pin ModelsB33,3%100%⇩⇩menu B 33,3%100%Figure 6. Top Level Menu—Energy / brightness (normalized values)Off On⇩menu B 33,3%100%Color ScanFigure 7. Teach MenuTeaches the single color the sensor sees at this moment.Teaches all colors the sensor sees during the scan. The scanning can be paused.*On* / OffFigure 8. Config Q MenuFigure 9. Input MenuFigure 10. Settings Menu3.2 Menu System for the 5-pin and 8-pin ModelsThe following functions are available using the sensor's menu system. Q represents the transistor output.Color ScanSmartFunc*On* / OffToleranceOkBack 3 s Unlock ⇩menu B 33,3%100%B33,3%100%⇩Figure 11. Menu Map for the 5-pin and 8-pin Models⇩menu B 33,3%100%B33,3%100%⇩Figure 12. Top Level Menu—Energy / brightness (normalized values)Off On⇩menu B 33,3%100%Figure 13. Sensor Mode MenuChanging mode deactivates all Q. The stored colors C remain however.Color ScanFigure 14. Teach Q/C MenuTeaches a color (C) on a switching output (Q).*On* / Off Figure 15. Config Q MenuFigure 16. Config Q All MenuFigure 17. Settings Menu3.3 Program the SensorSensors have a large depth of field, so mount the sensor within its specified range (varies by model). For reflective targets, the sensor can be rotated up to 15 degrees from perpendicular to reduce specular reflections.The sensor buttons correspond to the menu options listed at the top of the LCD screen. These options change with each screen.1.Press and hold Unlock for 3 seconds to access the Menu.2.Press Menu.3.Select Sensor Mode and press OK.A warning message stating that changing the mode deactivates all outputs displays. Press OK to clear the message.e the arrow button to select Color or Best Fit mode and press Set.•Color Mode—Validates the taught color; requires one or more color.•Best Fit Mode—Switches to the closest taught color; requires two or more colors.e the Down arrow to highlight Teach Q/C (Q are transistor outputs; C are additional colors not associated with awired output) and press OK.6.Select the Q or C you would like to teach and press OK.7.Select Color for a target that is not moving and press OK.In Color Mode you also can select Color Scan if the target is moving or If you have a range of colors that you want associated with a single output.8.Present the target under the sensor LED and press Teach.In Color Mode there will be a bar graph on the screen showing the red/blue/green values of the target.9.Press Set.10.In Color Mode, adjust the tolerance using the Down arrow. Press Set.11.Select Finish to return to the Run mode configuration menu, then press OK.In Best Fit mode, at least two colors need to be configured. Repeat the previous steps with an additional Q or C being configured.12.Press Back to return the sensor to Run mode.13.Verify the output turns on and off when you present and remove the target color.4 SpecificationsSupply Voltage and Current 18 to 30 V dcLess than 60 mA, exclusive of load Supply Protective CircuitryProtected against reverse polarity and transient voltages Output ConfigurationSolid-state auto-detect PNP/NPN output with IO-Link on pin 4Output current < 100 mAOutputs protected against short circuitCertificationsLight Used LED, whiteResponse TimeGlare suppression models: ≤ 540 μs (at 500Hz)Other models: ≤ 180 μs (at ≥ 1500 Hz)LED classLED risk group 2(EN 62471:2008)Maximum Capacitive Load < 100 nF Control InputTrigger; keylockConstructionMaterials: Zinc die-cast, matte chrome housing; PMMA front screen and display Warm-up Time 5 minutes Power On Delay < 150 msIO-LinkCommunication mode: COM 2Minimum cycle time: 4 ms SIO mode: CompatibleLength of process data: 2 bytes / 6 bytes Specification: 1.1Environmental ConditionsOperating: –20 °C to +55 °C (–4 °F to +131°F)Storage: –20 °C to +80 °C (–4 °F to +176 °F)Environmental Rating 3IEC IP67, IEC IP69Vibration and Mechanical Shock EN 60947-5-2Required Overcurrent ProtectionWARNING: Electrical connections must be made by qualified personnel in accordance with local and national electrical codes and regulations.Overcurrent protection is required to be provided by end product application per the supplied table.Overcurrent protection may be provided with external fusing or via Current Limiting, Class 2 Power Supply.Supply wiring leads < 24 AWG shall not be spliced.For additional product support, go to .4.1 DimensionsAll measurements are listed in millimeters, unless noted otherwise.5 Accessories 5.1 Cordsets5.2 BracketsAll measurements are listed in millimeters, unless noted otherwise.6 Banner Engineering Corp. Limited WarrantyBanner Engineering Corp. warrants its products to be free from defects in material and workmanship for one year following the date of shipment. Banner Engineering Corp. will repair or replace, free of charge, any product of its manufacture which, at the time it is returned to the factory, is found to have been defective during the warranty period. This warranty does not cover damage or liability for misuse, abuse, or the improper application or installation of the Banner product.THIS LIMITED WARRANTY IS EXCLUSIVE AND IN LIEU OF ALL OTHER WARRANTIES WHETHER EXPRESS OR IMPLIED (INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE), AND WHETHER ARISING UNDER COURSE OF PERFORMANCE, COURSE OF DEALING OR TRADE USAGE.This Warranty is exclusive and limited to repair or, at the discretion of Banner Engineering Corp., replacement. IN NO EVENT SHALL BANNER ENGINEERING CORP. BE LIABLE TO BUYER OR ANY OTHER PERSON OR ENTITY FOR ANY EXTRA COSTS, EXPENSES, LOSSES, LOSS OF PROFITS, OR ANY INCIDENTAL, CONSEQUENTIAL OR SPECIAL DAMAGES RESULTING FROM ANY PRODUCT DEFECT OR FROM THE USE OR INABILITY TO USE THE PRODUCT, WHETHER ARISING IN CONTRACT OR WARRANTY, STATUTE, TORT, STRICT LIABILITY, NEGLIGENCE, OR OTHERWISE.Banner Engineering Corp. reserves the right to change, modify or improve the design of the product without assuming any obligations or liabilities relating to any product previously manufactured by Banner Engineering Corp. Any misuse, abuse, or improper application or installation of this product or use of the product for personal protection applications when the product is identified as not intended for such purposes will void the product warranty. Any modifications to this product without prior express approval by Banner Engineering Corp will void the product warranties. All specifications published in this document are subject to change; Banner reserves the right to modify product specifications or update documentation at any time. Specifications and product information in English supersede that which is provided in any other language. For the most recent version of any documentation, refer to: .For patent information, see /patents.。
TCS34725 Color Sensor 用户手册说明书
![TCS34725 Color Sensor 用户手册说明书](https://img.taocdn.com/s3/m/71ba33b44793daef5ef7ba0d4a7302768e996f09.png)
TCS34725 Color Sensor用户手册产品概述本模块是ams AG 的TCS34725FN彩色光数字转换器为核心的颜色传感器,传感器提供红色,绿色,蓝色(RGB)和清晰光感应值的数字输出。
集成红外阻挡滤光片可最大限度地减少入射光的红外光谱成分,并可精确地进行颜色测量。
具有高灵敏度,宽动态范围和红外阻隔滤波器。
最小化IR和UV光谱分量效应,以产生准确的颜色测量。
并且带有环境光强检测和可屏蔽中断。
通过I2C接口通信。
产品参数工作电压: 3.3V/5V控制芯片TCS34725FN逻辑电压: 3.3V/5V通信接口:I2C产品尺寸:27X20(mm)接口说明功能引脚描述VCC 3.3V/5V电源正GND 电源地SDA I2C数据输入SCL I2C时钟输入INT 中断输出(开漏输出)LED 发光二极管目录产品概述 (1)产品参数 (1)接口说明 (1)硬件说明 (3)芯片 (3)通信协议 (3)I2C写时序 (3)I2C读时序 (4)I2C地址 (4)使用说明 (5)下载例程 (5)使用 (5)树莓派 (5)STM32 (11)预期效果 (11)Arduino (12)常见问题 (14)硬件说明芯片本产品采用TCS34725为核心,是一款基于IIC总线通信的彩色光数字转换器。
传感器提供红色,绿色,蓝色(RGB)和清晰光感应值的数字输出,带有集成红外阻隔滤波器。
具有高灵敏度,宽动态范围。
可在不同的光照条件下都可以实现准确的色彩和环境光线感应,带有可屏蔽中断。
通信协议从上的得知使用的是I2C通信,I2C 通信,一条数据线,一条时钟线。
I2C 总线在传送数据过程中共有三种类型信号:开始信号、结束信号和应答信号。
开始信号:SCL 为高电平时,SDA 由高电平向低电平跳变,开始传送数据。
结束信号:SCL 为高电平时,SDA 由低电平向高电平跳变,结束传送数据。
应答信号:接收数据的IC 在接收到8bit 数据后,向发送数据的IC 发出特定的低电平脉冲,表示已收到数据I2C写时序首先主机(即树莓派,后面统称为主机)会发送一个开始信号,然后将其I2C 的7 位地址与写操作位组合成8 位的数据发送给从机(即TSL2581 传感器模块,后面统称为从机),从机接收到后会响应一个应答信号,主机此时将命令寄存器地址发送给从机,从机接收到发送响应信号,此时主机发送命令寄存的值,从机回应一个响应信号,直到主机发送一个停止信号,此次I2C 写数据操作结束I2C读时序首先主机会发送一个开始信号,然后将其I2C 的7 位地址与写操作位组合成8 位的数据发送给从机,从机接收到后会响应一个应答信号,主机此时将命令寄存器地址发送给从机,从机接收到发送响应信号,此时主机重新发送一个开始信号,并且将其7 位地址和读操作位组合成8 位的数据发送给从机,从机接收到信号后发送响应信号,再将其寄存器中的值发送给主机,主机端给予响应信号,直到主机端发送停止信号,此次通信结束I2C地址TCS34725的I2C设备地址为0X29TCS34725数据手册第34页注意:0X29这个设备地址是7位的,8位设备地址需要向高位移一位变成0X52使用说明下载例程在官网上找到对应产品,在产品资料打开下载路径,在wiki中下载示例程序:得到解压包并解压,得到如下文件:例程:树莓派BCM2835、WiringPi、python例程、STM32例程、Arduino例程。
欧姆龙E3MCA色彩传感器说明书
![欧姆龙E3MCA色彩传感器说明书](https://img.taocdn.com/s3/m/02e9aed37f1922791688e8f8.png)
欧姆龙E3MC-A色彩传感器(LED式)说明书①谢谢您选择欧姆龙的产品,本手册主要描述了安装和使用本产品的过程中需要注意的问题。
在使用本产品以前,请仔细阅读该产品的相关知识。
方便起见,请将本说明书放在容易拿到的地方。
原产国:日本注意:这是A级产品,在住宅区使用可能会导致无线电干扰,这种情况下使用者最好采取足够的措施去降低干扰。
②安全使用的注意事项(1)不要在有易挥发的液体或者易燃的气体的地方使用(2)如果传感器或者电缆有机械锁定装置,确保在使用前锁定装置已经锁定(3)确保使用时的电流不超过额定电流(4)如果实际的电压超过额定电压,传感器可能会被损坏。
正确使用的注意事项(1)请不要在以下地方使用传感器。
●有较大温度改变的地反●高湿度会导致凝结现象的地方●有剧烈震动的地方(2)布线●在连接传感器的线周围,不要布置任何电线或者高压线。
●确保每个终端的极性是正确的(3)整洁●请不要在传感器上使用涂料稀释剂■注意事项:1.连接在同一个管道里面,不要同时放置传感器的连接线和电线或者高压线,否者传感器会损坏或者因为电磁感应出现功能故障或者被损坏。
确保和传感器连接的线安装在专门的防护管道里,需要和电源线,高压线或电线分开。
2.延长线可以使用延长线,最细为0.3平方毫米,最长为100米3.外来光线干扰不要在室外或者其他有外来光线的地方使用传感器。
4.电源如果使用标准的开关式稳压器连接传感器,确保其“FG(外壳接地)”和“G(接地)”的接头是接地的。
如果不接地,转换开关在转换时造成的干扰可能会使传感器工作时出现问题。
-------------------------------------------------------------- ③5.注意防水不要在以下的情况下使用该传感器:雨中,水里或者普通色室外6.操作保护罩在安装操作保护罩时,确保螺丝钉旋紧扭矩在0.2-0.3牛·米,否则,传感器将不防水。
搬运机器人专用传感器颜色传感器操作说明
![搬运机器人专用传感器颜色传感器操作说明](https://img.taocdn.com/s3/m/b742ae0b844769eae009ed9c.png)
特点
Ø 传感器提供了一个 RGB颜 色组件作为数字频率读数
Ø 板载白平衡 LED,可以开 启或关闭环境光线的衰减
Ø 包含 5.6mm镜头,可以微 调聚焦点
//定时时间等于 12 时退出 while(----); //关中断 0 //停止定时器 0 定时 //外部中断计数红色光脉冲个数
//关闭定时计数器,只为显示 printf("R%3.3d",red); printf(" G%3.3d",green); printf(" B%3.3d\n",blue); delay_nms(100); GICR|=_BV(INT0); TCCR0 = 0x3; } return 0; }
长沙市科彩电子科技有限公司 长沙市开福区五一大道 202南栋 B座 621
TEL:0731-84252006
技术支持:13975851837
硬件说明
S0、S1用于选择输出比例因子或电源判断模式;S2、S3用于选择滤波器的类型;OE是频率输出使能引脚, 可以控制输出的状态,当有多个芯片引脚公用 MCU的输入引脚时,也可以作为片选信号;OUT是频率输出引脚, GND是芯片的接地引脚,VDD为芯片供电,5V为恒流源电路供电。下表是 S0、S1和 S2、S3的可用组合。
// PB0-s2 设置为输出 // PB1-s3 设置为输出
// PD4-LED 设置为输出
//串口初始化 //测试 led //延时等待串口调试工具 //打开 led
技术支持:13975851837
罗克韦尔自动化45CRM-4LHTx-D4颜色套传感器用户手册说明书
![罗克韦尔自动化45CRM-4LHTx-D4颜色套传感器用户手册说明书](https://img.taocdn.com/s3/m/be7309d3a1116c175f0e7cd184254b35effd1a56.png)
带 IO-Link 接口的颜色套准标记传感器
45CRM-4LHTx-D4
用户重要须知
在安装、配置、操作或维护设备之前,请仔细阅读本文档及 “ 其他资源” 部分列出的文档,了解设备的 安装、配置和操作信息。除所有适用规范、法规和标准的要求外,用户还应熟悉安装和接线说明。
安装、调整、投入使用、操作、组装、拆卸和维护等活动都应由经过适当培训的人员遵照适用的实施 规程执行。
注册 45CRM IODD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
检查 1734-4IOL IO-Link AOP. . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
灼伤危险:位于设备 (例如,驱动器或电机) 表面或内部的标签,提醒人们表面可能存 在高温危险。 弧闪危险:标签可能位于设备上或设备内 (例如电机控制中心),提醒人们可能出 现弧闪。弧闪将造成严重的人身伤害或死亡。请穿戴适当的个人防护设备 (PPE)。遵循 所有安全工作惯例和个人防护设备 (PPE) 的规章要求。
目录
产品概述 . . . . . . . . . . . . . . . . . . . .. . . . . . . . 1
产品介绍 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 工作模式 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 特性. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 技术参数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
JHL3200颜色传感器数据手册
![JHL3200颜色传感器数据手册](https://img.taocdn.com/s3/m/a84f786325c52cc58bd6be38.png)
性能特点:● 输入光强度转换成频率输出 ● 可编程检测红、绿、蓝三基色分量 ● 可编程确定满量程输出频率 ● 直接连接单片机● 非线性误差(50kHz )0.2% ● 温度漂移200ppm /℃ ● 电源电压2.7V-5.5V● 掉电模式,电源电流仅0.1μA ● FC 标准光纤接头输入检测光 ● 配套带聚焦光源的光检测头 ● 方便用户灵活设计仪器结构原理描述:JHL3200通过FC 标准光纤接头连接光纤,传送检测光到光敏二极管矩阵,将光电流转换成占空比为50%的方波输出,方波频率与光强度成正比。
通过两个输入控制引脚,可以预设三种满量程输出频率。
输入和输出引脚的逻辑电平为TTL 电平,与单片机逻辑电平相兼容,因此可以直接连接单片机,而不必进行电平转换。
有一个使能(OE )引脚,控制芯片的输出引脚为高阻抗状态,从而能够和其它单元共用单片机的输入端口。
检测光窗为8*8的光敏二极管矩阵,每个光敏二极管的尺寸为110μm *110μm ,光敏二极管之间的距离为134μm 。
其中16个光敏二极管带有蓝色滤光片,16个光敏二极管带有红色滤光片,16光敏二极管带有绿色滤光片,还有16个光敏二极管无滤光。
四种检测不同颜色的光电二极管交叉排列,使其能够均匀地受到光辐射。
所有检测相同颜色的光敏二极管并联连接,提高光灵敏度。
控制引脚S2和S3用于选择激活检测某种颜色(红、绿、蓝、无色)的光敏二极管。
功能框图:引脚功能:表1:输出满量程频率选择表2:检测颜色选择室温条件下工作参数最大值:电源电压,V DD (6V)输入引脚电压,VI………………………………………….………..…-0.3V to V DD+0.3V 自然通风条件下工作温度范围,T A………………………………………-40℃ to 85℃存储温度范围,T A…………………………………………………………-40℃ to 85℃焊接最大温度………………………………………………………………..………..280℃注意:1、所有电压值以GND为参考。
KC91 颜色标记传感器 说明书
![KC91 颜色标记传感器 说明书](https://img.taocdn.com/s3/m/de8a6052876fb84ae45c3b3567ec102de3bddf14.png)
** KC91 COLOR MARK SENSORBLUE KEY GRAY KEY3 DIGIT DISPLAY#1 : Output type →NO : o, NC : c #2 : Key locking→KEY LOCK ON : C, KEY LOCK OFF : F #3 : Output signal→Output on : O, Output off : -1. GRAY KEY-Color Balance ( will change to SET MODE ) 2. BLUE KEY-Color teaching3. GRAY KEY + BLUE KEY -Release key lock mode-Parameter setting confirm* Key configuration•Normal mode display indication#1 #2#3NO , Key Lock off, Output off (Factory setting value )WIRING DIAGRAM** Color teaching method1. Install the sensor and fix at 9mm distance from target color.2. Press ‘BLUE KEY’ 3 sec until indicating ‘tch’.3. If teaching is done, display shall indicate status of sensor.BLUE KEY 3secColor teaching guide•Please check it is can distinguish background and target color when color teaching is done.•If you detection glossy object, Mount the sensor at an angle of 10°to 20°,as following diagrams•If you adjust color balance in balancing mode, you shall need to teach color again.•When you have done the teaching, key locking is recommended to prevent in case of changing teaching values by event of push keys.Flickering 3 times10-20* Teaching parameter settingGRAY KEY•Change setting mode by GRAY KEY + BLUE KEY. •Factory check mode is used for factory only. It is recommended to not use by end users.•If you don’t press the key in 5 sec, SET model shall be return to normal display mode.GRAY KEYKey lock ON / OFF Output NO/NCFactory checkFactory reset ( Not for sample model ) 1.Press GRAY KEY until display change to ‘SEt’ for 5sec.Flickering 3 timesBLUE KEY1. KEY LOCK SETTING1. Key lock on 1) Get into ‘SEt’mode and change to ‘LFF’ by GRAY KEY input 1 time. 2) Change display from ‘Lon’ to ‘LFF’ by BLUE KEY input and press ‘BLUE and GRAY Keys for 1.5 sec to confirm the Key Lock setting.3) Display shall shows ‘Loc’ when you push the keys after Key lock setting.BLUE KEY BLUE KEYGRAY KEYBLUE KEYGRAY KEYKey Lock Release Key Lock BLUE KEY GRAY KEYGRAY KEYBLUE KEYGRAY KEYPress 1.5 sec.2. Release key lock1) Please BLUE and GARY keys for 4 sec until ‘Set’ is indicated.2) Press ‘GRAY KEY’ tochange from ‘SEt’ to ‘Lon’ and press ‘BLUE KEY’ to change display from ‘Lon’ to ‘LFF’, 3) Press GRAY and BLUE keys for 1.5sec to confirm releasing key lock.And process is done ‘LFF’ is flickering 3 times andchange to normal mode.Press 4secPress 1.5 sec.1.Press GRAY KEY till ‘BAL’ is displayed.2.Place non-shining white paper or background color*at the same position of teaching color.3.Once color balance is done ‘BAL’ is flicking 3 times and return to normal mode. •If you have variety color on background ofteachig color, you shall place non-shining white paper. And if the background color is only one, you shall set the color balance on background directly.•Caution to set color balance :•KC91 has got default color balance value from factory•But if you are facing some difficult of distinguish color between background and teaching color, you shall try color balance setting to apply circumstance of teaching color to operation algorithm.•Also color balance value is not set correctly KC91 shall not operate as its own purpose. So please pay attention direction of manual when you set the color balance. •You shall return to default color balance value by factory reset funtion.GRAY KEY2. Color balance3. OUTPUT NO/NC1.Press ‘GRAY KEY’ 3 times till ‘nO’ or ‘ nc’ is displayed.2.Press ‘BLUE KEY’ to change mode ‘nc’ or ‘nO’ and press BLUE and GRAY keys for 1.5 sec to confirm the changed output mode. Once setting is done ‘nc’ or ‘nO’ is flicking 3 times and return to normal mode.BLUE KEYBLUE KEYGRAY KEY BLUE KEYGRAY KEYNO output mode. NC output modeGRAY KEYOutput mode :nO : Release a output signal for teaching color.It is a factory default setting value.nC : It is reverse signal of nO.It release output signal forbackground of teaching color.Press ‘GRAY KEY’ 3 times4. Factory Reset ( not for sample products)1.Press ‘GRAY KEY’ 4 times till ‘rEt’ is displayed.2.Press 2 key for 1.5sec to confirm factory reset3.Once factory reset is done, ‘rEt’ is flicking 3 times andreturn to normal mode.BLUE KEYGRAY KEYGRAY KEY* Factory reset parameter 1. Key lock : Release 2. Color balance : default 3. Output : ‘nO’ output4. Teaching color : No teaching value。
颜色传感器使用说明
![颜色传感器使用说明](https://img.taocdn.com/s3/m/f221f81e227916888586d705.png)
颜色传感器模块有两种工作模式:一种是检测不同的颜色,另一种是测量光的强度。
使用两种模式为一个分支模块,等待模块或者循环模块产生一个真/假逻辑信号。
颜色传感器模式•号码显示了哪个NXT端口将连接至颜色传感器。
如果需要,可在配置面板中更改此号码。
•此图标显示颜色传感器模式•将模块放置于工作区域时,模块数据中心将自动打开。
必须至少将一条数据线从模块的输出接头连接至另一模块的数据中心。
(有关更多信息,请参见以下“数据中心”部分。
)在配置面板中使用下拉菜单选择“在范围内”,产生“真”信号;选择“在范围外”,产生“假”信号。
颜色传感器模块默认设置为“在范围内”、检测黄色。
检测到黄色会产生“真”信号,检测到其他颜色,会产生“假”信号。
在颜色传感器模式下,在配置面板内的反馈框显示的是当前检测到的颜色。
(接收返回值前,要确认传感器已连接到所选端口,并与NXT建立起通讯)颜色传感器模式下的配置•选择颜色传感器插入的端口。
默认情况下,模块会将端口3设置给颜色传感器。
如果需要,可更改此选择。
•下拉菜单可以让你选择颜色传感器模式或者光传感器模式。
选择‘Color Sensor’可检测不同的颜色。
•使用下拉菜单选择“Inside Range”或“Outside Range”。
如果你想颜色出发点在范围之内就选择“Inside Range”,如果想颜色触发点在范围之外就选择“”•是用左,右滑块来定义颜色范围的触发值:黑,蓝,绿,黄,红和白。
光传感器模式•号码显示了哪个NXT端口将连接至颜色传感器。
如果需要,可在配置面板中更改此号码。
•此图标显示了光传感器模式,在“功能”中选择光的颜色:红、绿或蓝。
•此图标表示设置触发点的强度。
显示的彩色条越多,触发点就越高。
•将模块放置于工作区域时,模块数据中心将自动打开。
必须至少将一条数据线从模块的输出接头连接至另一模块的数据中心。
(有关更多信息,请参见以下“数据中心”部分。
)可使用滑块或在输入框中键入值来指定触发点。
ZS016.[KEYENCE颜色传感器英文手册] 传感器手册
![ZS016.[KEYENCE颜色传感器英文手册] 传感器手册](https://img.taocdn.com/s3/m/d67176fccfc789eb162dc84d.png)
[KEYENCE颜色传感器英文手册]传感器手册DisplayRGB Digital Fiberoptic SensorCZ-V21(P)/V22(P)Instruction ManualE CZ-V21(P)/V22(P)-IMColor indicatorBank indicator(At C/C+I mode)■Sensor headCZ-H32CZ-H35S/H37SLight emission EmitterReceiverReceiverCZ-H5215Trim off the wires sticking out of the connector by using a nipper or the like.* For the CZ-H52, the selectable detection mode is “Super I”mode only.2E CZ-V21(P)/V22(P)-IMMatching rateDisplays the degree of correspondence between the target color calipated as a reference and the target color currently being detected.Setting range: 0 to 999 (larger value for higher matching rate)Setting valueDisplays the threshold value that judges how much correspondence between the color of the current target and the color of the target calipated as a refer-ence is considered as an identical color.Received light intensity•The set value appears in green.1■2-point calipation (for discriminating two colors)Place a target of which color is to be used as a reference onto the focusposition of the beam spot emitted from the sensor. Then press the SET button once.“SET” appears in green on the setting value monitor.2button once.•The set value appears in green.■Pinpoint calipation (1-point calipation with a stricter criterion)•The setting value becomes larger than that of 1-point calipation even if thesame target is used for calipation.E CZ-V21(P)/V22(P)-IMsmaller the setting value, the rougher the detection becomes. To change the setting value (displayed in green digits), press the UP or DOWN button.■ Fine-adjusting by using a targetFine-adjust the setting value by performing an adding or eleminating calipa-tion.Adding calipation (setting-value decreasing calipation)Set the target to be judged as an identical color. While holding down the SET button, press the DOWN button.Eliminating calipation (setting-value increasing calipation) Set the target not to be judged as an identical color. While holding down the SET button, press the UP button.Permitting uneven colorAt a 1-point calipation or a pinpoint calipation, the sensor continues sam-pling while the SET button is held down. •The sampled colors are set to be judged as an identical color.Setting valueAt the sensitivity setting, the sensor automatically determines the setting value. The setting value can also be preset to a fixed value manually. In that case, perform the following operation.Press the UP and DOWN buttons at the same time for three seconds or more.•”F” appears in green on the left-hand side of the setting value monitor.The cancellation method is the same as the method of fixing the setting value.With the “F” being on display, the setting value does not change from the fixed value even if the sensitivity setting is performed.3Place a target on the desired position. Then press the SET button for three seconds or more.Check that “SET”flashes, and release the SET button.23Setting a sensitivity■12-point calipation (basic)Place a target onto the focus position of the beam spot emitted from the sensor. Then press the SET button once.•”SET” appears in green on the setting value monitor.2Press the SET button once without the target.•The set value appears in green.■Setting the maximum sensitivity (when maximizing the sen-1 sitivity)Press the SET button and hold it for three seconds or more without the tar-get.2Check that “SET”flashes, and release the SET button.■Full auto calipation (when a target is moving)1While holding down the SET button, pass the target through the opticalaxis.2Check that “SET”flashes, and release the SET button.Fine-adjusting a sensitivity■Fine-adjusting a sensitivity by changing the setting value To change the setting value (displayed in green digits), press the UP or DOWN button.Shift functionForcibly synchronizes the received light intensity with the preset value.•Regular shift inputs from a PLC or other device stabilizes the detection ofthe target that has a little light intensity difference. (For external inputs froma PLC or other devices, refer to page 6.)•The shift function can be used when the shift function selection is set to ON(refer to page 5).■Manually selecting the light sourceTo select the light source manually, perform the following operations.1At the display of the received light intensity/light source selection, press the UP and DOWN button at the same time for three seconds or more. “F” appears on the left-hand side of the setting value monitor.2Select a light source by pressing the UP or DOWN button. •Once the light source is selected manually, the light source remainsfixed even if the sensitivity value is changed.To return to the automatic light source selection, press the UP and DOWN button at the same time for three seconds or more.* The CZ-H52 does not have the light source selection function. 4E CZ-V21(P)/V22(P)-IMTo exit the menu during setting, press the MODE button again for three sec-onds or more.When using the CZ-H52, the function (detection) mode selecting screen and the cali-pation mode selecting screen do not appear because the detection mode of the CZ-H52 is fixed to the “Super I” mode.E CZ-V21(P)/V22(P)-IM5If the Eco mode is turned on, three minutes’absence of operation pings the sensor to the power saving state. (For switching to the Eco mode, refer to page 5.)To return the display to the normal state, press any one of the operation buttons.■Changing channelsThe sensitivity can be set for each of the following number of channels depending on the detection mode.•C/C+I mode: 8 channels (4 channels x 2 banks)•Super I mode: 4 channels (no bank selection)* When using the CZ-H52, the 4 channels can be used.To select the display channel, perform the following operation. While holding down the MODE button, press the UP or DOWN button. ■KeylockDisables the key operation to change settings.While holding down the MODE button, press the UP button for three seconds or more.The cancellation method is the same as that of locking.■Interference protection functionThe CZ-V20 series can prevent mutual interference by connecting several amplifier units.Power modeHIGH SPEEDFINE/TURBO/SUPERNumber of units required to preventUnavailable2interference* Total number of the main- and sub-units2Connect the pink wire to the external devices such as a switch and a PLC.3Short-circuiting the pink wire as shown below for each model equals the operation of pressing the SET button.The minimum input time is 20 ms.The external calipation to the connected sub-units (CZ-V22(P),FS-T2(P), or PS-T2(P)) can be performed together with the main unit.Lock only the sensor for which to perform external calipation. The setting content is the same as that of the main unit. PLC.2Short-circuiting the purple wire as shown below for each model enables the shift input.(The shift input is performed at the rising edge of the input signal.)The minimum input time is 20 ms.■Selecting a bank by the external input (in C/C+I mode)1Activate the keylock function.2Connect the purple wire to the external devices such as a switch and a PLC.3Short-circuiting the purple wire as shown below for each model switches the bank from A to B.(The bank is set to B while the input signal is ON.)The minimum input time is 20 ms.*When using the CZ-H52, the function (detection) mode and the calipation mode are not displayed.■1Resetting to the default settingsWhile holding down the MODE button, press the SET button five times.•The monitor shows “rSt/no”.2Press the UP button.•The monitor shows “rSt/YES”.Press the MODE button.•The sensor returns to the default state.To cancel the reset operation, select “no” in step 2, and press the MODE but-ton.6E CZ-V21(P)/V22(P)-IMWhen 1 to 2 units are connected: -10 to +50 °CWhen 3 units are connected: -10 to +45 °CE CZ-V21(P)/V22(P)-IM7Error indicationCauseCountermeasures•Install the sensor within the specified detecting distance. •Check whether the fiber cable is inserted into the sensor toits deepest end. (approx. 20 mm)•Delay the response time.Turn on the attenuation mode.•Tilt the sensor head by approx. 10 to 15 degrees.•Check that the sensor head is connected.•Check that the head cable is not poken.•After checking these points, turn on the power again.•Check the load and reduce the current to be within the rated range.•Check that the output wire does not touch another wire or a frame.malfunction.•When a number of colors enter into the beam spot, they are averageddown in recognition, resulting in the output of the color that is different fromthe preset color.•To extend the amplifier cable, use the cable with the nominal cross-sec-tional area no less than 0.3 mm2, and with the length no more than 100 m.•When using the commercially available switching regulator,be sure to earth the frame ground terminal and the ground terminal.•Do not use the sensor outdoors.•Even in the detection of the same color, the displayed valuemay vary dueto the reason such as amplifier’s individual characteristics, sensor headcable length, and different mounting conditions. nnnnReceived light intensity is insufficient.vvvvReceived light intensity is excessive.ErkSensor head is not connected.Head cable is poken.option) any Products found defective upon inspection at its factory, or other designated point provided the equipment has been returned, transportation prepaid, within one year from the date of shipment. Warranty is specifically at the factory. Any on-site service will be provided at the sole expense of the Purchaser at standard field service rates. All associated equipment must be protected by properly rated electronic/electrical protection devices.KEYENCE shall not be liable for any damage due to improper engineering, and hold KEYENCE harmless from any liability or damage whatsoever arising out of any action not in accordance with this instruction manual. Components which wear are notwarranted.OTHER THAN AS STATED HEREIN, THE PRODUCTS ARE PROVIDED WITH NO OTHER WARRANTIES WHATSOEVER.ALL EXPRESS, IMPLIED, AND STATUTORY WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF PROPRI-ETARY RIGHTS, ARE EXPRESSLY DISCLAIMED. IN NO EVENT SHALL KEY-ENCE AND ITS AFFILIATED ENTITIES BE LIABLE TO ANY PERSON OR ENTITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING, WITHOUT LIMITATION, ANY DAMAGES RESULTING FROM LOSS OF USE, BUSINESS INTERRUPTION, LOSS OF INFORMATION, LOSS OR INACCURACY OF DATA, LOSS OF PROFITS, LOSS OF SAVINGS, THE COST OF PROCUREMENT OF SUBSTI-TUTED GOODS, SERVICES OR TECHNOLOGIES, OR FOR ANY MATTER ARISING OUT OF OR IN CONNECTION WITH THE USE OR INABILITY TO USE THE PRODUCTS, EVEN IF KEYENCE OR ONE OF ITS AFFILIATED ENTI-TIES WAS ADVISED OF A POSSIBLE THIRD PARTY’S CLAIM FOR DAMAGES OR ANY OTHER CLAIM AGAINST THE PURCHASER. No representation or warranty, express or implied, made by any sales representative, distributor, or other agent or representative of KEYENCE which is not speci fically set forth herein shall be binding upon KEYENCE. In some jurisdictions, some of the foregoing warranty disclaimers ordamage limitations may not apply.Er[Overcurrent flows through the output wire.When an error indication not listed above is displayed, contact your nearest KEYENCE office.Maximum value displayed: P599 Actual value: 25599■Denotation of indicationsensor is designed to reliably and easily detect fluorescent marks (such as hidden marks painted with fluorescent paint, or fluorescent marks painted with fluorescent paint).■CautionThe LED emits powerful ultraviolet light while turned on, which can be very dangerous to the unprotected human eye. Do not view directly with optical instruments (such as a microscope or a telescope or a magnifiers).Doing so may result in eye injury. If there is a risk of reflected ultraviolet light entering the eye, wear protective goggles and avoid all risks of direct exposure to the eye.■Precaution on DetectionSome fluorescent objects cannot be detected by this sensor even though they may be visible to the human eye. Check the types of fluorescence before use.For your information, fluorescent materials include those which emit fluores-cent light, phosphorescent light, and light accumulated from light-accumula-tive materials.8E CZ-V21(P)/V22(P)-IM。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
S0、S1用于选择输出比例因子或电源关断模式;S2、S3用于选择滤波器的类型;OE反是频率输出使能引脚,可以控制输出的状态,当有多个芯片引脚共用微处理器的输出引脚时,也可以作为片选信号,OUT是频率输出引脚,GND是芯片的接地引脚,VCC为芯片提供工作电压,表1是S0、S1及S2、S3的可用组合。
作者:zhangxinchunleo
网站:
淘宝店:汇诚科技
【声明】此程序仅用于学习与参考,引用请注明版权和作者信息!
*********************************************************************/
当TCS230识别颜色时,就用这3个参数对所测颜色的R、G和B进行调整。这里有两种方法来计算调整参数:1、依次选通三颜色的滤波器,然后对TCS230的输出脉冲依次进行计数。当计数到255时停止计数,分别计算每个通道所用的时间,这些时间对应于实际测试时TCS230每种滤波器所采用的时间基准,在这段时间内所测得的脉冲数就是所对应的R、G和B的值。2、设置定时器为一固定时间(例如10ms),然后选通三种颜色的滤波器,计算这段时间内TCS230的输出脉冲数,计算出一个比例因子,通过这个比例因子可以把这些脉冲数变为255。在实际测试时,室外同样的时间进行计数,把测得的脉冲数再乘以求得的比例因子,然后就可以得到所对应的R寸:长34mmX宽26mmX高10mm
二、主要芯片:TCS230
三、工作电压:直流5V
四、输出频率电压0~5V
五、特点:
1、所有的引脚全部引出
2、输出占空比50%
3、采用高亮白色LED灯反射光
4、可直接和单片机连接
5、静态检测被测物颜色
6、检测距离10mm最佳
【通电展示】
(2)TCS230识别颜色的原理
由三原色感应原理可知,如果知道构成各种颜色的三原色的值,就能够知道所测试物体的颜色。对于TCS230来说,当选定一个颜色滤波器时,它只允许某种特定的原色通过,阻止其他原色的通过。例如:当选择红色滤波器时,入射光中只有红色可以通过,蓝色和绿色都被阻止,这样就可以得到红色光的光强;同时,选择其他的滤波器,就可以得到蓝色光和绿色光的光强。通过这三个值,就可以分析投射到TCS230传感器上的光的颜色。
从图1可知:当入射光投射到TCS230上时,通过光电二极管控制引脚S2、S3的不同组合,可以选择不同的滤波器;经过电流到频率转换器后输出不同频率的方波(占空比是50%),不同的颜色和光强对应不同频率的方波;还可以通过输出定标控制引脚S0、S1,选择不同的输出比例因子,对输出频率范围进行调整,以适应不同的需求。
延时函数
******************************************************************/
void delay(uchar t)
{
uchar i,j;
for(i=0;i<t;i++)
{
for(j=13;j>0;j--);
{ ;
}
}
}
/**********************************************************************
#include <reg52.h>
#define uchar unsigned char
#define uint unsigned int
uchar duan[10]={0xc0,0Xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90};//所需的段的位码
uchar wei[5]={0Xf7,0XEf,0XDf,0XBf,0X7f}; //位的控制端
lck=0;
dispcount=0;
}
}
/*************************************************************************
中断函数
**************************************************************************/
3应用中需要注意的问题
1、颜色识别时要避免外界光线的干扰,否则会影响颜色识别的结果,最好把传感器、光源等放置在一个密闭、无反射的箱子中进行测试。
2、对光源没有特殊的要求,但是光源发出的光要尽量集中,否则会造成传感器之间的相互干扰。
3、当第1次使用TCS230时,或TCS230识别模块重启、更换光源等情况时,都需要进行白平衡调整。
数码管动态扫描
*********************************************************************/
void xianshi()
{
/*****************数据转换*****************************/
z=date/10000;//求万位
P0=duan[c];
delay(50);
P2=wei[3];
P0=duan[v];
delay(50);
P2=wei[4];
P0=duan[b];
delay(50);
}
/*************************************************************************
uint z,x,c,v,b,n,date;//定义数据类型
uint dispcount=0;//中断计数
uint lck=0;//定时器计数
uint disp=0;//频率值
/******************************************************************
1.TCS230芯片的结构框图与特点:
TCS230是TAOS公司推出的可编程彩色光到频率的转换器,它把可配置的硅光电二极管与电流频率转换器集成在一个单一的CMOS电路上,同时在单一芯片上集成了红绿蓝(RGB)三种滤光器,是业界第一个有数字兼容接口的RGB彩色传感器,TCS230的输出信号是数字量,可以驱动标准的TTL或CMOS逻辑输入,因此可直接与微处理器或其他逻辑电路相连接,由于输出的是数字量,并且能够实现每个彩色信道10位以上的转换精度,因而不再需要A/D转换电路,使电路变得更简单,图1是TCS230的引脚和功能框图。
(3)白平衡和颜色识别原理
白平衡就是告诉系统什么是白色。从理论上讲,白色是由等量的红色、绿色和蓝色混合而成的;但实际上,白色中的三原色并不完全相等,并且对于TCS230的光传感器来说,它对这三种基本色的敏感性是不相同的,导致TCS230的RGB输出并不相等,因此在测试前必须进行白平衡调整,使得TCS230对所检测的"白色"中的三原色是相等的。进行白平衡调整是为后续的颜色识别作准备。在本装置中,白平衡调整的具体步骤和方法如下:将空的试管放置在传感器的上方,试管的上方放置一个白色的光源,使入射光能够穿过试管照射到TCS230上;根据前面所介绍的方法,依次选通红色、绿色和蓝色滤波器,分别测得红色、绿色和蓝色的值,然后就可计算出需要的3个调整参数。
【工作电压和电流】(直流5V0.04A)
【输出波形】
【板子背面】
【详细说明】
随着现代工业生产向高速化、自动化方向的发展,生产过程中长期以来由人眼起主导作用的颜色识别工作将越来越多地被相应的颜色传感器所替代。例如:图书馆使用颜色区分对文献进行分类,能够极大地提高排架管理和统计等工作;在包装行业,产生包装利用不同的颜色和装潢来表示其不同的性质或用途。目前的颜色传感器通常是在独立的光电二极管上覆盖经过修正的红、绿、蓝滤波片,然后对输出信号进行相应的处理,才能将颜色信号识别出来;有的将两者集合起来,但是输出模拟信号,需要一个A/D电路进行采集,对该信号进一步处理,才能进行识别,增加了电路的复杂性,并且存在较大的识别误差,影响了识别的效果。TAOS(Texas Advanced Optoelectronic Solutions)公司最新推出的颜色传感器TCS230,不仅能够实现颜色的识别与检测,与以前的颜色传感器相比,还具有许多优良的新特性。
void int0(void) interrupt 0
{
dispcount++; //每一次中断,计数加一
}
/*************************************************************************
主函数
**************************************************************************/
定时器函数
**************************************************************************/
void timer0(void) interrupt 1
{
TH0=0xe3;
TL0=0xc;
lck++;
if(lck==1000)
{
disp=dispcount;
通常所看到的物体颜色,实际上是物体表面吸收了照射到它上面的白光(日光)中的一部分有色成分,而反射出的另一部分有色光在人眼中的反应。白色是由各种频率的可见光混合在一起构成的,也就是说白光中包含着各种颜色的色光(如红R、黄Y、绿G、青V、蓝B、紫P)。根据德国物理学家赫姆霍兹(Helinholtz)的三原色理论可知,各种颜色是由不同比例的三原色(红、绿、蓝)混合而成的。
【参考例程】
[C语言源程序]
/********************************************************************