HVW Technologies Analog Infra-Red Ranging System (AIRRS )

Similar documents
Pin Symbol Wire Colour Connect To. 1 Vcc Red + 5 V DC. 2 GND Black Ground. Table 1 - GP2Y0A02YK0F Pinout

GP2Y3A001K0F. Wide angle Distance Measuring Sensor Unit Measuring distance: 4 to 30 cm 5 Analog outputs type GP2Y3A001K0F

Distance Measurement. Figure 1: Internals of an IR electro-optical distance sensor

Infrared Remote Control Receiver Module IRM-2638T

DMC-8 (SKU#ROB )

IRM-8607K-2. Infrared Remote Control Receiver Module. Features. Description. Applications. Block Diagram. Application Circuit

Infrared Receiver Module IRM-36XXN3 Series

Using a Sharp GP2D12 Infrared Ranger with BasicX

n/a DISTANCE SENSOR DIGITAL O/P 80CM RC

Measuring Distance Using Sound

IRM X. Infrared Remote Control Receiver Module. Release Date: :04:18.0 Expired Period: Forever. Features. Description.

Infrared Receiver Module IRM-36xxM Series

Infrared Receiver Module IRM-36xxT Series

MIM-5xx5K2 INFRARED RECEIVER MODULE. Description. Features. MIM-5xx5K2 Series Models BLOCK DIAGRAM VS. CGA & Input Demodulator filter.

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

Infrared Receiver Module IRM-36XXT Series

ERM-TU38 INFRARED RECEIVER MODULE

Infrared Receiver Module IRM-36XXM Series

EVERLIGHT ELECTRONICS CO.,LTD.

OPB780-Kit. Color Sensor Evaluation Kit

0.8mm Height Flat Top Infrared LED HIR19-21C/L11/TR8

Infrared Receiver Module IRM-66XXN3 Series

Distance Measuring Sensor Unit Measuring distance : 4 to 30 cm Analog output type

0805 Package Infrared Chip LED IR17-21C/TR8

Color Sensing using the OPB780

HIGH SPEED-10 MBit/s LOGIC GATE OPTOCOUPLERS

EVERLIGHT ELECTRONICS CO.,LTD.

Infrared Receiver Module EAIRMAA0

Luckylight. Infrared Remote-control Receiver Module. Technical Data Sheet. Part No.: M5038

Infrared Receiver Module IRM-66XXN3S45 Series

GP1UE26RK0VF/GP1UE27RK0VF Series GP1UE28RK0VF/GP1UE28QK0VF Series

EVERLIGHT ELECTRONICS CO.,LTD.

Infrared Remote-Control Receiver Module. Technical Data Sheet. Part No.: LL-M6038

1206 Package Chip Infrared LED With Inner Lens IR11-21C/TR8

EVERLIGHT ELECTRONICS CO.,LTD.

AVL-10000T AUDIO VIDEO LINK TRANSMITTER TECHNICAL MANUAL

Technical Data Sheet Infrared Remote-control Receiver Module

Experiment P55: Light Intensity vs. Position (Light Sensor, Motion Sensor)

DATA SHEET PART NO. : PL-IRM2161-C438 REV : A / 01

EVERLIGHT ELECTRONICS CO.,LTD.

Technical Data Sheet Infrared Remote-control Receiver Module

Technical Data Sheet 5mm Infrared LED, T-1 3/4

光電企業有限公司 FM-9456FN-5DN. IR Receiver Modules for Remote Control Systems. Description. Features. Application Circuit. Block Diagram

Technical Data Sheet 0603 Package Infrared LED

EVERLIGHT ELECTRONICS CO.,LTD.

INTRODUCTION 提夫自控技术 ( 上海 ) 有限公司 LAS laser sensors cover measurement ranges from 1 to mm. The integrated micro-controller delivers an accur

InterBOARD TM 12 Channel Transmitter and Receiver Evaluation Board User Guide

6 PIN DIP SCHMITT TRIGGER PHOTOCOUPLER H11LX Series

EVERLIGHT ELECTRONICS CO.,LTD.

LDOR: Laser Directed Object Retrieving Robot. Final Report

6 PIN DIP SCHMITT TRIGGER PHOTOCOUPLER H11LX Series

EVERLIGHT ELECTRONICS CO.,LTD.

EVERLIGHT ELECTRONICS CO., LTD.

Designing VCNL4000 into an Application

Technical Data Sheet 1.6mm round Subminiature Side Looking Infrared LED

Infrared Receiver Control Receiver Module IRM-V8xxM3/TR1 Series

GP2Y0AH01K0F. High-precision Displacement Sensor Unit Measuring distance: 4.5 to 6.0 mm Analog output type GP2Y0AH01K0F

Infrared Receiver Control Receiver Module IRM-36xxT Series

Infrared Receiver Control Receiver Module IRM-36xxM3 Series

Basic Microprocessor Interfacing Trainer Lab Manual

Infrared Receiver Module IRM-36XXM3 Series

FIBER105.TIF OUTLINE DIMENSIONS in inches (mm) .176 (4.47).165 (4.19) .500 MIN (12.7) FIBER203.DIM. Pinout 1. Capacitor 2. VÙÙ 3.

TONE DECODER / PHASE LOCKED LOOP PIN FUNCTION 1 OUTPUT FILTER 2 LOW-PASS FILTER 3 INPUT 4 V + 5 TIMING R 6 TIMING CR 7 GROUND 8 OUTPUT

PRODUCTION DATA SHEET

Optical laser distance sensors. Dimensioned drawing

EEL5666C IMDL Spring 2006 Student: Andrew Joseph. *Alarm-o-bot*

GP1UE29QK0VF Series. Features. Outline Dimens ions. Applications. Absolute Maximum Ratings. Recommended Operating Conditions. GP1UE29QK0VF Series

Infrared Receiver Module IRM-H5XXM3/TR2 Series

EEL5666 Intelligent Machines Design Lab. Project Report

NEC's HIGH SPEED (200 kbps) ANALOG OUTPUT TYPE 5 PIN SOP OPTOCOUPLER

The Marauder Map Final Report 12/19/2014 The combined information of these four sensors is sufficient to

INFRARED REMOTE CONTROL RECEIVER MODULE PL-IRM REV: B / 0

Devantech SRF04 Ultra-Sonic Ranger Finder Cornerstone Electronics Technology and Robotics II

Quantizer step: volts Input Voltage [V]

Today s Menu. Near Infrared Sensors

IRM-H6XX/TR2 Series. Infrared Remote Control Receiver Module. Features. Descriptions. Applications. Application Circuit

Technical Data Sheet 0603 Package Infrared Chip LED SIR19-315/TR8

SPS-448 Series. Receiver Pre-amp Module for Infrared Remote Control. SPS-448 Series. Features. SANYO Electric Co.,Ltd. Semiconductor Company

Visible Light Detector B datasheet - 150mm wafers

Infrared Receiver Control Receiver Module IRM-V5XXT/TR1 Series

(Bullet Shape 940) Infrared Ambient Light Sensors

GP2Y0A60SZ0F GP2Y0A60SZLF

REFLECTIVE PHOTOSENSOR CIRCUIT MODULE KIT ASSEMBLY GUIDE

Description of options, upgrades and accessories for the laser beam stabilization system Compact

Control of Electrical Lights and Fans using TV Remote

ACEEE Int. J. on Electrical and Power Engineering, Vol. 03, No. 02, May 2012

EVERLIGHT ELECTRONICS CO.,LTD.

ENSC 470/894 Lab 3 Version 6.0 (Nov. 19, 2015)

LASER. Analog Laser Displacement Transducer. LAS Series. Key-Features:

Infrared Receiver Control Receiver Module IRM-H600JW/TR2

Infrared Receiver Module IRM-H8xxM3/TR2 Series

1.8mm Round Subminiature Infrared LED IR42-21C/TR8

Agilent AEDA-3200-Txx Series Ultra Miniature, High Resolution Incremental Encoders

Introduction. Theory of Operation

Chip Infrared LED With Right Angle Lens SIR12-21C/TR8

Installation, Operation and Maintenance Manual

Data Sheet. HEDS-9710, HEDS-9711 Small Optical Encoder Modules 360 Ipi Analog Current Output. Features. Description. Block Diagram.

codestrip, these modules detect relative linear position.

NJM37717 STEPPER MOTOR DRIVER

MaxBotix Inc. Copyright MaxBotix Incorporated Patent 7,679,996. Close Range Operation. Warning: Personal Safety Applications

Transcription:

HVW Technologies Analog Infra-Red Ranging System (AIRRS ) Overview AIRRS is a low-cost, short-range Infra-Red (IR) alternative to ultrasonic range-finding systems. Usable detection range is 10 cm to 80 cm (approx. 4 to 31.5 ). The IR Object Detection System consists of the Sharp GP2D12 Distance Measuring Sensor and a custom cable assembly. The GP2D12 is a compact, self-contained IR ranging system incorporating an IR transmitter, receiver, optics, filter, detection, and amplification circuitry. The unit is highly resistant to ambient light and nearly impervious to variations in the surface reflectivity of the detected object. Unlike many IR systems, AIRRS has a fairly narrow field of view; making it easier to get the range of a specific target. The field of view changes with the distance to an object(see the graph at the end of this document), but is no wider than 5 cm (2.5 cm either side of centre) when measuring at the maximum range. Specifications ABSOLUTE MAXIMUM RATINGS (Ta=25 C, Vcc= 5V) Parameter Symbol Rating Unit Supply Voltage 1 V cc -0.3 to + 7 V Output Terminal Voltage V o -0.3 to Vcc +0.3 V Operating Temperature T opr -10 to + 60 C Storage Temperature T stg -40 to + 70 C RECOMMENDED OPERATING CONDITIONS Parameter Symbol Rating Unit Operating Supply Voltage 1 V cc 4.5 to +5.5 V ELECTRO-OPTICAL CHARACTERISTICS (Ta=25 C, Vcc=5V) Parameter Symbol Conditions MIN. TYP. MAX. Unit Distance Measuring Range L Note 2,3 10-80 cm Output Terminal Voltage Vo L=80cm 0.25 0.4 0.55 V Difference of Output Voltage Vo Note 4 1.75 2.0 2.25 V Average Dissipation Current I cc L=80cm - 33 50 ma Notes: 1) Nominal operating voltage is 5.0 Volts 2) Usig reflective object : White paper (Made by Kodak Co. Ltd. Gray cards R-27 white face, reflective ratio; 90%) 3) Distance measuring range of the optical sensor system 4) Output change from L=80 cm to L=10 cm

Mounting the Sensor The sensor unit may be mounted using the bracket provided. The black foam should be applied to the bottom of the bracket using the sticky side of the foam and then the black snap rivet pushed through the large center hole on the bracket. This snap rivet has been chosen to allow the bracket and foam to be mounted on a standard 0.062 PCB. A 13/64 hole is required in the PCB for the snap rivet. Connecting to the Sensor A custom cable assembly is included with the AIRRS kit. The miniature connector is keyed so that it may only be inserted one way. The following table shows the necessary connections: Pin Symbol Wire Colour Connect To 1 Vcc Red + 5 V DC 2 GND Black Ground 3 V out Blue Input pin of microcontroller Operation The GP2D12 makes continuous analog measurements. Unlike the IRODS and DIRRS the AIRRS module does not require a trigger to initiate a measurement. The distance to an object is returned as an analog voltage level. By reading the voltage level produced a threshold can be set or a distance calculated. By attaching the AIRRS cabling to a suitable Analog to Digital converter or microcontroller with onboard A/D the AIRRS can be incorporated into many systems. Calibration The calibration of the AIRRS module is dependent on how the data is used in your code. For threshold type applications, calibration involves determining the distance required and measuring the voltage at that distance, allowing for some variations in measurement. In distance measuring applications the relation between voltage level and distance is non-linear, either a look up table or a suitable calculation must be determined. The voltage levels representing distance will vary slightly from unit to unit. A small survey of randomly selected devices was done and the following data was gathered. The columns Distance and Average Voltage in the sample data provided can be used as a look up table. This data is shown graphically in Graph #1. Distance (cm) Sample #1 Sample #2 Sample #3 Sample #4 Std Dev Average Voltage 10 2.451 2.446 2.376 2.423 0.034 2.424 12 2.083 2.100 2.025 2.128 0.043 2.084 14 1.811 1.845 1.769 1.841 0.035 1.817 16 1.620 1.638 1.580 1.645 0.029 1.621 18 1.461 1.471 1.415 1.489 0.032 1.459 20 1.310 1.336 1.278 1.341 0.029 1.316 22 1.211 1.224 1.174 1.226 0.024 1.209 24 1.099 1.131 1.081 1.141 0.028 1.113 26 1.022 1.050 1.005 1.069 0.029 1.037 28 0.965 0.974 0.920 0.992 0.031 0.963 30 0.907 0.927 0.883 0.930 0.022 0.912 32 0.851 0.870 0.833 0.881 0.021 0.859 34 0.800 0.822 0.795 0.841 0.021 0.815 36 0.757 0.784 0.739 0.805 0.029 0.771 38 0.720 0.742 0.700 0.768 0.029 0.733 40 0.695 0.704 0.676 0.730 0.022 0.701 42 0.656 0.684 0.637 0.704 0.030 0.670 44 0.639 0.665 0.617 0.670 0.025 0.648 46 0.612 0.622 0.580 0.650 0.029 0.616 48 0.593 0.608 0.561 0.615 0.024 0.594 50 0.564 0.582 0.542 0.594 0.023 0.571 52 0.543 0.569 0.523 0.575 0.024 0.553 54 0.522 0.550 0.503 0.556 0.025 0.533 56 0.503 0.531 0.484 0.537 0.025 0.514 58 0.483 0.512 0.465 0.525 0.027 0.496 60 0.464 0.512 0.465 0.499 0.024 0.485 62 0.445 0.493 0.446 0.491 0.027 0.469 64 0.447 0.474 0.427 0.469 0.022 0.454 66 0.428 0.474 0.407 0.450 0.029 0.440 68 0.427 0.455 0.409 0.437 0.019 0.432 70 0.413 0.438 0.400 0.429 0.017 0.420

Graph #1: AIRRS Calibration Sample Data Measured Voltage (V) 3.000 2.500 2.000 1.500 1.000 0.500 Sample #1 Sample #2 Sample #3 Sample #4 0.000 0 20 40 60 80 Distance (cm) Using the average of the voltage measurements for the 4 samples the following graph was produced. The data points indicate the average values and the line shows the best fit equation calculated, see Graph #2. Graph #2: AIRRS Calibration Average Voltage best fit 80 Distance (cm) 70 60 50 y = 27.003x -1.1001 40 R 2 = 0.9999 30 20 10 0 0.000 0.500 1.000 1.500 2.000 2.500 3.000 Voltage Note: R 2 is a statistical calculation showing the correlation between the fitted curve and the actual data. The equation derived that best fit the average volages is given as: Distance (cm) = 27 x (Voltage) -1.1 This equation can be used for calculating the distance to an object by simply entering the voltage measured on AIRRS module and calculating the distance in cm. The preceding formula is provided for reference only; while it is shown to be quite accurate, part-to-part variation must be considered.

Some Observations on the Effect of Different Kinds of Light Ambient Light Tests have shown the GP2D12 to be highly immune to ambient light levels. Incandescent, fluorescent, and natural light don t appear to bother it. The only instance where we were able to get it to falsely measure was when a flashlight was pointed directly into the sensor s receiver; even a few degrees off-centre is enough for the sensor to ignore it. IR Light The GP2D12 uses a modulated IR beam to guard against false triggering from the IR component of incandescent, fluorescent, and natural light. Tests with several kinds of IR remote controls have shown that even with 2 or 3 remotes pointed at the GP2D12, the unit still functions normally. Laser Light Tests with a laser pointer had results similar to the flashlight; only a beam aimed straight into the sensor s receiver would cause a false reading. If the beam comes from even a few degrees off-center, it has no effect. How Does it Work? Figure 3 shows how the GP2D12 uses an array of photodiodes (called a Position Sensitive Detector, or PSD) and some simple optics to detect distance. An infra-red diode emits a modulated beam; the beam hits an object and a portion of the light is reflected back through the receiver optics and strikes the PSD. Object A is closer and therefore the reflected light from it enters the receiver s lens at a greater angle than does light from object B. IR LED A B PSD Fig. 3 Here, Object A is at the limit of the PSD s range (about 10 cm away). Notice how that if it were any closer, the light would not hit the PSD at all. Similarly, if B were moved farther away, its light would eventually go past the top of the PSD and would not be seen either (at about 80 cm). This explains why AIRRS TM has these limits Think of the PSD as a resistor with a large number of taps (wires coming out at various points along the resistor). When light hits the PSD, it hits one of the taps and causes current to flow out each end of the resistor, forming a voltage divider similar to that of figure 1. As an object moves closer or farther from the sensor, incoming light hits a different tap causing the current coming out each end of the resistor to change. These currents are compared and a voltage proportional to the position of the tap (and hence the distance of the object) is generated. Block Diagram of the GP2D12 CAUTION: The GP2D12 is a precision device. DO NOT attempt to open the unit. Doing so will ruin the delicate alignment of the optics. Appendix: Graphical Data Applicable to the Sharp GP2D12

Example Code: Coded for the CCS PCM C-Compiler and used in the PIC16F877 //////////////////////////////////////////////////////////////////////////////////////////////////////////// //// AIRSDEM.C for the PIC16F877 //// //// Analog Infra-Red Range-finding System (AIRRS) //// //// Demo Program //// //// HVW Technologies, March 2000 //// //// http://www.hvwtech.com //// //// Program uses A/D Channel 1 (pin 3) to read the AIRRS //// //// module output (blue wire). Sends analog value to Matrix //// //// Orbital LCD module on port b5 (pin 38) at 19200 baud. //// //// Coded for the CCS PCM C-Compiler //// //////////////////////////////////////////////////////////////////////////////////////////////////////////// #include <16F877.h> #fuses xt,nowdt,noprotect #use delay(clock=4000000) //Include Standard CCS header file //Configuration bits specific to demo board used //Oscillator = 4 MHz #use rs232(baud=19200, xmit=pin_b5, rcv=pin_b4,invert) //Remove 'invert' option if using MAX232 or similar //When communicating to the Matrix Orbital LCD long value; Main() { setup_adc_ports(all_analog); setup_adc(adc_clock_internal); set_adc_channel(1); While(TRUE) { delay_ms(500); value=read_adc(); putc(0xfe); putc('x'); printf("analog= %Lu",value); } } //Define variable Long integer //Setup all analog pins as only analog //Configure A/D converter to use internal oscillator //Set pin_a1 to measure analog voltage //Pause for 0.5 seconds for LCD to update //Take analog and wait for conversion //Command Prefix for Matrix Orbital LCD //Clear Screen Command //Formatted printing of Analog result

Analog Output Voltage vs. Detection Distance Analog Output Voltage vs. Ambient Temperature Analog Output Voltage vs. Surface Illuminance of Reflective Object HVW Technologies 3907 3A St. N.E. Unit 218 Calgary, Alberta T2E 6S7 CANADA Tel: 403-730-8603 Fax: 403-730-8903 http://www.hvwtech.com support@hvwtech.com