Professional Documents
Culture Documents
Exam Fi
Exam Fi
EXAM / EKSAMEN
1
Problem 1: Industrial IT – Flow-chart/State machine
Figure 1 shows a robotic/automatic milking station arranged for voluntary milking of cows.
Referring to the numbers in the picture, the milking station 1 comprises an/a
• enclosure having an inlet gate 2 and an outlet gate 3, which are both capable of being
opened/closed automatically.
• autonomous milking robot 7 which is a rather complex unit which includes teat/udder
washing mechanism, teat cups 6, camera and/or laser vision system
• central processing and control device located on the “back” of the machine
Visiting the food dispenser 4 is actually the main motivator for the cows to visit the milking
station. To limit access, each cow is equipped with a unique identification tag around their
necks 5, e.g. based on RFID technology. The inlet gate 2 will not open unless H hours has
passed since the cow’s last visit.
To keep things simple in this exam, we assume the autonomous milking robot 7 is providing
end-to-end and out-of-the-box functionality for detecting, cleaning, gripping and milking the
cow’s teats (e.g. using a HW/SW library provided by a sub-supplier). Hence, in the questions
to come, one need only to interact with this HW/SW library through two dedicated functions,
StartMilking and StopMilking.
2
Functional description
1. A cow approaching the milking station is initially identified by the identification number 5
(e.g., RFID tag). The central processing and control device may then, depending on the
elapsed time since last visit being larger than H, give the cow access to the milking
station 1 by means of opening the inlet gate 2.
2. When the cow is in correct position – identified by the weight of the cow, W , exceeding
a pre-set limit, Wu – the inlet gate 2 is closed and the cover of the food dispenser 4 is
turned open upon which the milking robot 7 does it’s magic by a call to the StartMilking
function.
4. After a call to a sub-supplied function named StopMilking, the feeding is stopped and the
outlet gate 3 is opened and the cow may leave the milking station 1.
5. Once the cow has left the station – based on the measured weight falling below Wl – the
outlet gate 3 is closed. At this point, the timer keeping track of the cow’s last visit is also
set to zero.
b) Sketch a flow-chart for the milking station control system explicitly using the notation
introduced in 1a). Assume the station is initiated empty and with both gates and dispenser
lock closed. (10p)
c) Draw a state-machine describing the same system explicitly using the notation introduced
in 1a). (10p)
3
Problem 2:Industrial IT, Technical safety
The export pipeline is equipped with a compressor producing the necessary pressure to assure
adequate flow in the pipeline.
There is installed an export valve (V), which is to close if the pressure (PT) gets above the
design pressure.
The compressor is located in an area where gas could be present. If gas is detected (GD) the
power to the compressor will be cut.
There are two pressure transmitters installed, and three gas detectors. The gas detectors are
of type IR point.
The valve (V) consists of a solenoid + ESV/XV.
There are defined two safety instrumented functions, SIF 01 for the protection of the pipeline,
and SIF 02 for the protection of the compressor.
SIF 01: The valve (V) is to close on high pressure (PT)
SIF 02: Cut power to the compressor upon gas detected
The planned test interval for both SIFs are once pr. year.
a) Based on generic data source, complete the table for the components: CB, PT, GD, Logic
solver, Valve (incl. Source reference, see example CB circuit breaker) (2 p)
b) For SIF 01 and SIF 02 the required risk reduction is set to SIL 2 List the necessary HFT
for all components, with reference to SIL 2 (3 p)
e) What is the actual risk reduction (SIL level) for SIF 01 and SIF 02? Are the requirements
set in b) fulfilled? (3 p)
4
f) List at least two measures that could be implemented to achieve a higher risk reduction
(2 p)
g) Use one of the examples listed in f) and re-design the function(s) that does not fulfill the
requirements. Calculate the new PFD for the re-designed function(s) (5 p)
CB Circuit Breaker
V Valve (solenoid + ESV/XV, incl. actuator)
LS Logic Solver / Programmable Logic Controller / PLS
ESV/XV Emergency shutdown valve/process shutdown valve
HFT Hardware Fault Tolerance
SIL Safety Integrity Level
SIF Safety Instrumented Function
SFF Safe Failure Fraction
5
Problem 3: Robotics - Denavit-Hartenberg (DH) table
6
Problem 4: Robotics - Forward Kinematics
Figure 4 shows a three-link PRR manipulator. In the home position a rotation of joint θ3
is 0. The prismatic joint d (linear motion) is located at the origin of the global coordinate
system. The length of the prismatic joint may vary. Next, there are three fixed-length links
with lengths l1 , l2 and l3 connecting the rotational joints θ2 , θ3 and TCP. The positive rotations
are presented by arrows about the local Z-axis. The Denavit-Hartenberg (DH) table for the
robot is given below.
a) Calculate the forward kinematics based on the DH table from question. In other words,
calculate symbolic expressions for the TCP positions X, Y and Z. (15 p)
c) Does the robot in Figure 3 have any singularities? Explain your answer. (7 p)
Hint:
Determinant of 3x3 matrix A:
7
Problem 5: Robotics - Inverse Kinematics
a) Figure 5 shows a robot. The first rotational joint (q1 ) is located at the origin of the global
coordinate system. There is an offset A from the origin of the global coordinate system to
the second translational joint (d∗ ). The link (B) connects the third rotational joint (q2 ) and
TCP. The forward kinematics for the robot is given below
x B · sin(q1 ) · sin(q2 ) − d · sin(q1 )
y = d · cos(q1 )) − B · cos(q1 ) · sin(q2 ) (1)
z A + B · cos(q2 )