v = |⃗v|.
The situation is not always as simple as described
above. For example in the sports of shot put or curl-
ing, the objects might also have a speed component
v
y
that is perpendicular to the main orientation of the
physical setup as illustrated in Fig 2. This component
might assume significant values, which invalidate the
speed measurements as given by the light barriers, at
least to some degree. In curling, for example, the
scientific support of the training process of the ger-
man national teams require the precise measurement
of both values v
x
and v
y
.
This paper presents a new light barrier system
called Surface Light Barriers (SLB), which offers a
possible solution to this problem. As Section 2 shows,
the system consists of four light barriers, which are set
up in different angles with respect to the x-direction
of the track. When an object travels through the light
barriers, the system generates four timestamps from
which it calculates the object’s two-dimensional ve-
locity ⃗v = (v
x
,v
y
)
T
. In addition, it calculates the ob-
jects starting position p = (p
x
, p
y
)
T
and end posi-
tions q = (q
x
,q
y
)
T
. Since the required calculations
are rather cumbersome, this paper explores various
neural network models. To this end, Section 3 briefly
reviews two different network models, i.e. backprop-
agation networks and radial basis functions.
For the evaluation, the neural networks were
trained with an exemplary dataset generated on the
basis of the sport of curling. The specific configura-
tions are summarized in Section 4.
The results, as shown in Section 5 and discussed
in Section 6, indicate that in terms of the average er-
ror, the best neural network is a radial basis function
network, which achieves an average error of 0.21 %.
In terms of the speed to error ratio, the best network is
a backpropagation network that employs two hidden
layers and achieves an error of 0.901%.
Finally, Section 6 concludes this paper with a brief
discussion.
2 SURFACE LIGHT BARRIERS:
PHYSICAL SETUP
As already discussed in the introduction, light barriers
face limitations in observing two-dimensional veloci-
ties when they are used in their usual setup. The Sur-
face Light Barriers system, or SLB for short, solves
this problem with a physical setup, as presented in
Fig. 3. This setup consists of the following hardware
configuration:
1. Two light barriers L1 and L4 are positioned at x
1
and x
4
and are aligned orthogonal to the main di-
rection of movement. The distance between these
light barriers is called s
2
.
2. Two light barriers L2 and L3 are positioned at x
2
and x
3
, with an alignment angle of γ ̸= 90
◦
. The
distance between these light barriers equals the
distance s
1
= s
2
/2.
3. An evaluation unit, which includes a microcon-
troller with a time tracking mechanism and a neu-
ral network.
In essence, the evaluation unit employs a micro-
controller to which every light barrier is connected via
an input port. When an object crosses a light barrier,
the interruption of the beam of light sends a signal
to the corresponding port of the microcontroller. The
microcontroller detects signal changes by either pe-
riodical polling of the input pin or the execution of
hardware interrupts.
In case of a signal change, the evaluation unit
generates a timestamp. After the object has crossed
all four light barriers, the evaluation unit has gener-
ated a total number of four individual timestamps t
1..4
.
Without loss of generality, these timestamps can also
be presented as differential quantities:
∆t
1
= t
1
−t
1
∆t
2
= t
2
−t
1
∆t
3
= t
3
−t
1
∆t
4
= t
4
−t
1
(1)
Equation (1) provides a transformation in time
such that an object enters the system at the virtual
time t = 0. It might be helpful to mention, that due
to the physical setup,
t
1
< t
2
,t
3
,t
4
always holds, and that thus all differential
quantities ∆t
i
are always positive.
3 SURFACE LIGHT BARRIERS:
NEURAL NETWORKS
The purpose of the evaluation unit is to deliver the ve-
locity⃗v , i.e., the speeds v
x
and v
y
, as well as the start-
ing and end points p
y
and q
y
of the object. However,
the mathematical approach is rather cumbersome, and
is, therefore, presented in short in the appendix. As
an alternative, this paper employs various neural net-
works for this task. It explores the utility of back-
propagation networks as well as radial basis function
networks.
Training Data: Training data are elementary for
training neural networks. Verification data are also
SENSORNETS 2022 - 11th International Conference on Sensor Networks
98