Professional Documents
Culture Documents
2016-1 EF IN196 Sol
2016-1 EF IN196 Sol
EXAMEN FINAL
Ciclo 2016-01
Seccin : INA2
Profesores : George Power, Mirko Klusmann
Duracin : 110 minutos
Indicaciones:
1
PART 1 (5 pts.)
2
PART 2 (5 pts.)
An automotive speed controller designed with fuzzy logic uses 3 inputs (speed, acceleration
and distance to destination) and 1 output (power or fuel flow to engine), as shown on the fol-
lowing diagrams.
3
a) Explain the difference between crisp and fuzzy values
Crisp or sharp values have an exact numerical value obtained from the sensing system, i.e.
temperature = 245 degrees; fuzzy values are expressed in terms of linguistic variables, i.e.
temperature is warm which will be converted to a value in the range of 0 to 1 (degree of
membership) during fuzzification.
d) What are the advantages of fuzzy controllers compared to classic control algorithms?
They can be used to express uncertainty and the experience of operators, no need of com-
plex calculations and tuning.
4
PART 3 (5 pts.)
A sequential control system to automate a drill is to be programmed. The setup of the drill is
shown and the process sequence are described below.
The entire drilling sequence can be divided into the following sections:
Insert work piece (manual)
If required, set switch for coolant (depending on the material)
Start the machine with the start button (drill motor starts up)
Clamp the work piece with the selected clamp pressure
Start the cooling pump (if coolant selected)
Lower drill and carriage to the bottom target position (drill)
Wait 0.5 seconds at lower target position (drill)
Raise drill with carriage to upper target position
Remove work piece, turn off drill motor and cooling pump
Remove work piece (manual)
5
Figure 3.2 Time sequence of drill operation
Complete the table of inputs and outputs and design the program sequence in S7 Graph.
Inputs
Address Symbol Explanation
E 0.0 Dr_mot_running Feedback signal for drill running at selected speed
E 0.1 Dr_mot_stopped Feedback signal for drill stopped
E 0.2 Drill_down Limit switch for drill in lower position
E 0.3 Drill_up Limit switch for drill in upper position
E 0.4 Cl_press_ok Feedback signal for work piece clamping pressure reached
E 0.5 Coolant_sel Selector for coolant (dependent on work piece)
E 0.6 Cool_press_ok Feedback signal for coolant pressure reached
E 0.7 Start_button Start button of the drill
Outputs
Address Symbol Explanation
A 0.0 Dr_mot_on Turn on drill motor
A 0.1 Cool_pump_on Turn on cooling pump (dependent on work piece)
A 0.2 Lower_drill Lower drill and carriage to bottom limit position
A 0.3 Raise_drill Raise drill and carriage to the upper limit position
A 0.4 Clamp_workp Clamp work piece at required pressure
6
First level Graph:
7
Second level Graph:
8
PART 4 (5 pts.)
Figure 4.1 shows a robot arm configured for painting car bumpers. For each position on the
paint line the robot moves from the safe position and begins with the bumper on front and must
spray the paint along three lines and normal to the surface following the bumper shape (one line
above, one in the middle, one below). This is done three times, then the robot moves back to
the safe position and proceeds with the bumper on the rear. After finishing, the paint line moves
forward one position and the whole procedure is repeated.
a) Describe the points needed to program the robot for one paint position
At least 5 points are needed for each paint trajectory (see figure), 3 parallel trajectories are
needed to cover all the bumper (bottom, middle, top), one approximation position for
begin/end of each trajectory, one middle position and one safe (rest) position.
9
c) Sketch the program instructions for painting one bumper
Note: Better results with more points per trajectory or curve interpolation (depends on robot soft-
ware). Some robots can learn the trajectory from a sensor arm manipulated by an experienced
painter.
10