

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Semester 1 Examinations 2011
Module Code: INTR 6003
School: Electrical and Electronic Engineering
Programme Title: Bachelor of Engineering (Honours) in Electronic Systems Engineering – Year 2
Programme Code: EELES_8_Y
External Examiner(s): Dr A Donnellan , Mr I Kennedy
Internal Examiner(s): Mr Donal O’Donovan
Instructions: Answer ALL questions
Duration: 2 Hours
Sitting: Autumn 2012
Requirements for this examination:
Notes to Candidates: Please check the Programme Title and the Module Title to ensure that you
have received the correct examination paper. If in doubt please contact an Invigilator.
Requirements: Pre-built LEGO Mindstorms NXT Robot.
LabVIEW package with the LEGO NXT extension. LabVIEW project containing NXT state machine template. The notes on the Blackboard facility MAY be used during the examination.
Note: Save your VIs using the naming convention of your name Q1 e.g. ‘ Joe
Murphy Q1a’, etc. Print-off a hard copy of the VI using the instructions on Appendix A
(a) Generate a set of 10 random numbers between 5 and 15 and display those that are greater 10 on line 5, otherwise display the value on line 3 of the NXT Screen. A new number should be generated every second [12 %]
(b) If the left arrow button is pushed on the NXT the left motor should spin for 3 seconds. State left on the NXT screen on line 5. If the Orange button is pressed, the program should halt. [13 %]
(b) Draw a diagram illustrating the components that make up an absolute optical encoder. [12 %]
(c) Explain why a grey code scheme is used on the optical disk. [3 %]
Initialisation state : Push bump sensor to go to State 1. [5%]
State 1 : On entry, the robot moves forward at 60% power until the ambient light levels exceed a value of 40% – go to State 2. [10 %]
State 2 : Stop robot on entry. Reverse robot for 2 seconds at 20% power and stop. Wait for orange button press – go to State 3. [10 %]
State 3 : Rotate the robot at 25 % power for 90 clockwise. [5 %]
If the distance is lower than a specified value (an arbitrary constant), go to State 1. [8 %] OR If left arrow is pressed – go to Initialisation state. [8 %] OR Otherwise do nothing and remain in State 3. [4 %]