Professional Documents
Culture Documents
5
6
DP
RO
8
9
Abstract
18
Keywords: Infrared sensors; Distance measurement; Sensor models; Error estimation; Ultrasonic and infrared data integration
11
12
13
14
15
16
TE
17
The amplitude response of infrared (IR) sensors based on reflected amplitude of the surrounding objects is non-linear and
depends on the reflectance characteristics of the object surface. As a result, the main use of IR sensors in robotics is for
obstacle avoidance. Nevertheless, their inherently fast response is very attractive for enhancing the real-time operation of a
mobile robot in, for instance, map building tasks. Thus, it seems that the development of new low-cost IR sensors able to
accurately measure distances with reduced response times is worth researching. In this paper, a new IR sensor based on the
light intensity back-scattered from objects and able to measure distances of up to 1 m is described. Also, the sensor model is
described and the expected errors in distance estimates are analysed and modelled. Finally, the experimental results obtained
are discussed. 2002 Published by Elsevier Science B.V.
10
19
1. Introduction
21
Infrared (IR) sensors are widely used as proximity sensors and for obstacle avoidance in robotics.
They offer lower cost and faster response times than
ultrasonic (US) sensors. However, because of their
non-linear behaviour and their dependence on the reflectance of surrounding objects, measurements based
on the intensity of the back-scattered IR light are very
imprecise for ranging purposes. For this reason, environment maps made with this type of sensor are of
poor quality, and IR sensors are almost exclusively
used as proximity detectors in mobile robots. However, some IR sensors described in the bibliography
are based on the measurement of the phase shift, and
offer medium resolution at long ranges (about 5 cm
24
25
26
27
28
29
30
31
32
33
34
RR
23
CO
22
UN
1
2
EC
20
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
121
122
OF
60
DP
RO
59
103
EC
58
RR
57
CO
56
UN
55
TE
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
3. Sensor model
180
The sensor output follows very closely the photometry inverse square law [6]. Thus, a simple equation
can be used to model the sensor output s(x, ) as a
function of the distance x and the angle of incidence
with the target surface:
s(x, ) = 2 cos + ,
(1)
x
181
EC
147
where and are the model parameters. The parameter includes: the radiant intensity of the IR emit-
RR
146
CO
145
Fig. 2. Equivalent diagram of a single IR sensor. The IR activation and the output signals are multiplexed.
UN
144
TE
DP
RO
OF
182
183
184
185
186
187
= 0 i .
194
195
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
(2)
The parameter equals the amplifiers offset plus ambient light effect. It can be obtained by taking a reading without IR emission. Under these conditions, this
reading will correspond with the value of the parameter . A new reading is taken immediately after IR
emission is activated. By subtracting the previous reading, a signal without offset is obtained. Thus, the
influence of all the light sources, even fluorescent or
incandescent lights, can be removed. By naming this
cleaned signal as y, Eq. (1) can be rewritten as
248
and, from Fig. 3, the following expression can be written to obtain the apparent angle of incidence :
251
tan = R .
EC
193
229
(7)
x=
cos .
(4)
cos =
y
y
However, in real environments, the angle of incidence
is a priori unknown. If an IR sensor detects the pres-
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
249
250
252
253
254
255
256
(8)
257
x1 = x1 cos ,
x2 = x2 cos ,
R = R cos .
(9)
258
tan = R cos .
(10)
263
RR
192
CO
191
UN
190
ence of a target in its sensitivity zone, the first approach is to suppose 0 as angle of incidence. Thus,
the distance will be overestimated by a factor of cos .
The greater the angle of incidence, the greater is the
error obtained in the distance estimation. This makes
it unadvisable to use this data to build an environment
map, and a method to estimate the angle of incidence
must be used. As shown in Fig. 1, the IR sensors are
grouped into eight equally oriented pairs. Using the
readings of one of these groups, a good estimate of
the distance x and the angle of incidence can be obtained as follows.
Fig. 3 shows a schematic of a group of two IR sensors, measuring a flat surface with an angle of incidence . Each sensor amplifies and measures the values of the signals y1 and y2 . As the angle of incidence
is unknown, false estimates x1 and x2 for each distance
are obtained assuming = 0 as a first approach:
x1 =
,
x2 =
.
(5)
y1
y2
OF
197
189
DP
RO
196
188
TE
(R ) cos + cos 1 = 0.
3
(11)
259
260
261
262
264
265
266
267
268
DP
RO
OF
Fig. 3. Diagram for the angle of incidence estimation using two equally oriented IR sensors.
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
tan
R =
.
cos
1
1
x = x1 + x2 = x1 + x2 cos .
(15)
2
2
305
307
Eq. (4) can be used to obtain an estimate of the distance x from the sensor reading (y), the angle of incidence (), and the reflectance coefficient of the target
(i ). Uncertainty in any of these values will produce
uncertainty in the distance estimate. Assuming that i
is a parameter that can be estimated with sufficient
precision (using other available sensory data, as explained later), the main sources of error are the noise
in the measurement y and the uncertainty in the angle
of incidence, . Thus, naming xy as the error component caused by the noise in the reading y , and x
as the error component due to the error in the angle
of incidence estimation, the following equation can
308
(12)
3
= aR + bR .
TE
273
EC
272
RR
271
that only angles between 45 and 45 are of interest for this study, given that the octagonal layout
of the IR ring of YAIR makes it difficult to obtain
greater angles of incidence within the range of 1 m of
distance.)
After the estimation of the angle of incidence, it is
now possible to obtain the compensated distances x1
and x2 , using the following formula:
x1 = x1 cos ,
x2 = x2 cos ,
(14)
(13)
(R ,
CO
270
UN
269
296
297
298
299
300
301
302
303
304
306
309
310
311
312
313
314
315
316
317
318
319
320
DP
RO
OF
325
326
327
328
329
330
331
332
333
334
335
336
(17)
(18)
x3
x
x =
(19)
y tan .
2 cos
2
Assuming that y and are zero-mean, Gaussian, and
uncorrelated noises with standard deviations y and
, respectively, the standard deviation of the total
uncertainty can be expressed as
2
2
x3
x
y +
tan .
x =
(20)
2 cos
2
Some considerations on the magnitude of the errors
produced in the distance estimation and their relationships are described below.
337
EC
324
(16)
xy0 . =
RR
323
x = xy + x
x
x
= y + .
y
CO
322
be written:
UN
321
TE
Fig. 4. Plot of the values of the angle of incidence as a function of the ratio R .
x3
y .
2
(21)
This shows that the uncertainty xy0 in the distance estimation grows quickly with the cube of the distance x,
and is inversely proportional to the parameter . This
relationship can also be used to evaluate the distance
xmax that will produce a given maximum error in the
distance estimate (xymax ). Naming xmin as the distance that produces the full-scale reading (ymax ) when
a white target (i = 1, = 0 ) is used, the following
expression can be obtained from Eq. (4):
0
xmin =
,
(22)
ymax
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
360
361
362
363
364
(23)
384
369
370
371
372
373
374
375
376
377
378
379
380
381
382
385
386
387
388
389
390
391
392
393
394
395
396
(25)
x1 3
x2 3
y1
y2 .
2L
2L
(26)
Moreover, taking into account the additive nature of noise and assuming that y1 and y2 are
non-correlated, with the same variance y 2 , the following expression can be obtained for the standard
deviation of the angular noise:
= arctan tan +
y
x1 6 + x2 6 .
2L cos
(27)
1
x2 = x L tan .
2
(28)
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
In Eq. (20) the expected standard deviation in distance estimation has been expressed as a function of
the standard deviation of the reading error y , the angular error , the distance x, and the angle of incidence . Moreover, Eq. (27) shows the relationship
between and y . Thus, for a given y , the expected error obtained in the distance estimation can
be modelled using Eqs. (20) and (27), and will ultimately depend on the mean distance x , and the angle of incidence . As an example, in Fig. 5, the values of the standard deviation of the error predicted by
this model corresponding to a value of y = 6 mV
have been plotted (this is the value obtained in the
real measurements for the prototype examined), for
distances ranging between 10 cm and 1 m and for angles of incidence between 45 and +45 . As can
be seen in Fig. 5, the minimum standard deviation of
errors are produced with zero angle of incidence
being 6 cm at 1 m of distance, 1 cm at 55 cm, and
0.5 cm at 20 cm. This error increases with the angle of incidence and reaches 12.5 cm for 45 at
1 m.
414
RR
368
CO
367
UN
366
tan( + ) = tan +
EC
383
365
and from the relationship between xy and y expressed in Eq. (21), the following expression can be
obtained:
OF
359
0 =
2
xmin
ymax
DP
RO
358
TE
357
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
DP
RO
OF
Fig. 5. Standard deviation of the distance measurements predicted by the model described as a function of the mean distance to a surface
and the angle of incidence.
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
TE
440
EC
439
y x2
i =
,
0
RR
438
(29)
CO
437
UN
436
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
x x
+ 1 1.
(33)
=
=
x
x
i
As a rule of thumb, the previous equation indicates that
the relative error obtained in the distance estimation is
approximately half the relative error in the estimated
i . In effect, a relative error of 20% in i produces
approximately 10% of error in x (that is, 10 cm in 1 m).
Note that the sign of errors in i is the same as errors
in x.
The above Eq. (33) does not take into consideration
the influence of the angle of incidence . This issue
is to be faced in the following analysis. Assuming
an angle of incidence with the irradiated surface,
and using the previous Fig. 3, Eqs. (30)(32) can be
re-written. Thus, the readings obtained for each sensor
will be the following:
0 i
0 i
y1 =
cos ,
y2 =
cos ,
(34)
x1 2
x2 2
OF
DP
RO
493
TE
492
EC
491
RR
490
(30)
0 i
0
i
x1 =
,
x2 =
.
(35)
y1
y2
CO
489
UN
488
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
Relative IR reflectivity (i )
White cardboard
Yellow cardboard
Red cardboard
Light blue cardboard
Light green cardboard
Cyan cardboard
Light grey cardboard
Brown cardboard
Wooden panel
Red brick wall
Medium grey cardboard
Concrete wall
Black cardboard
1.00
0.99
0.98
0.97
0.94
0.91
0.90
0.78
0.77
0.61
0.59
0.53
0.12
EC
557
Material description
RR
556
CO
555
Fig. 7. Plot of the readings obtained from a single prototype IR sensor as a function of the distance of the white target. Each filled dot
represents the average value of 100 readings taken from the same distance. The continuous line is the theoretical curve of the model
expressed in Eq. (3), with = 50 mV/m2 .
UN
552
OF
554
551
Table 1
Experimental values of i for several surfaces
DP
RO
553
550
TE
10
573
574
575
576
577
578
579
580
581
582
11
DP
RO
OF
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
EC
586
607
608
609
610
611
7. Conclusions
612
613
RR
585
CO
584
UN
583
TE
Fig. 8. Plot of the total RMS error surface obtained in the distance estimation for each of the 21 7 different locations varying the distance
and the angle of incidence, and taking 100 readings from each point.
614
615
616
617
618
619
620
621
622
623
624
625
626
627
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
634
635
636
637
638
J.E. Sim received the M.S. degree in industrial engineering in 1990 from the Universidad Politcnica de Valencia (Spain)
and a Ph.D. degree in computer science
from the same university in 1997. Since
1990 he has been involved in several
national and european research projects
mainly related to real-time systems and artificial intelligence. He is currently an Associate Professor of computer engineering
at the Technical University of Valencia and his current research is
focused on the development of autonomous systems and mobile
robots.
RR
633
CO
632
UN
631
OF
References
630
DP
RO
640
629
EC
639
628
TE
12
networks.