Professional Documents
Culture Documents
MSE 2202 Final Exam 2020
MSE 2202 Final Exam 2020
Faculty of Engineering
Mechatronic Systems Engineering Program
Time for Exam (including Download, Create Responses, Scan Responses, and Upload):
4 hours
IMPORTANT NOTES
1. You are to complete this exam independently and alone. Collaborating, discussing, or sharing of informa-
tion during the exam is not permitted. The mark given on this exam applies to you alone and the material
you supply in this exam must be uniquely produced by you.
2. University policy states that cheating and plagiarism are both scholastic offences. Plagiarism is the act or
an instance of copying, using, borrowing, sharing, or stealing another’s words or ideas and attributing them
as one’s own. It does not matter if permission by the other party has been given or not or if that party is a
member of the university or not.
3. The commission of a scholastic offence on an exam is attended by academic penalties that might include
failure on the exam (at minimum), failure of the course and expulsion from the program (at maximum). If
you are caught cheating or plagiarizing, there will be no second warning.
4. Some fraction of students may be selected for a follow-up face-to-face discussion about their exam answers
with the instructor. The students chosen for this may be assigned randomly. The students chosen may
also be those whose answers raise any suspicion that they are not the authentic and unique responses of
that individual. All such decisions and follow-up discussions will be at the sole discretion of the instructor.
Should an instructor decide to initiate follow-up discussion, all selected students will be informed within
one week after the exam. If a student is selected for a follow-up discussion, that discussion will constitute a
mandatory component of the final exam and the instructor may change the final exam mark based on the
outcome of the discussion.
SPECIFIC INSTRUCTIONS
1. It is recommended that you start the examination by first reviewing ALL questions and then scheduling your
time appropriately.
2. Attempt all 5 questions. The marks assigned for each part of each question are shown. Ensure that your
answers are an appropriate length for the marks assigned in each question.
3. There are 16 pages in this examination, including the cover pages. You should print all answer pages and,
except where indicated, put your answers directly on these pages. If you do not have access to a printer, you
may answer the exam questions on other paper; however, each answer must be clearly numbered. It is your
responsibility to ensure that all parts of the exam are answered.
4. Clear presentation is essential to achieve full marks. The proper use of English is required. Write carefully
and neatly. Neatly label all figures. Marks will not be assigned where the information that you are commu-
nicating is not clear and easily read. This applies to scanned pages—if the content of a page is not legible
due to poor lighting or inadequate resolution, the corresponding question(s) will be assigned a grade of 0.
It is your responsibility to ensure that all scanned pages are legible.
5. Clearly identify and justify any assumptions that you make. If you consider that information is not given that
you need to solve a problem, make a reasonable engineering assumption and explain why you are making
that assumption.
3. The Zoom meeting will be active for the duration of the exam. The link is:
https://westernuniversity.zoom.us/j/95943894951
GRADING
1 /12
2 /28
3 /32
4 /18
5 /10
Total /100
MSE 2202b—Final Exam 2020 Page 3 of 16
(ii) If the same information was being transmitted using an NEC encoding, how many characters per second
could the beacon transmit?
(6) (b) Describe the least sustainable aspect of your final project design. What change(s) could be made to improve
the sustainability of the design? Does the change impact other aspects of the design in a positive or negative
manner? Explain.
MSE 2202b—Final Exam 2020 Page 5 of 16
(4) (c) A 16-bit microcontroller has 128 kB of RAM. What is the word size? How does this relate to the data bus and
address bus of the controller?
(6) (d) Consider the impact of the lab closure due to COVID-19 on the design validation of your robot. Apart from the
obvious disadvantages of not being able to build and/or test a physical prototype of your mechatronic design,
what are at least 2 advantages of being forced to work using alternative approaches (be specific about the
approach and its advantages)? With access to the right tools, is it possible to fully validate the design without
building it?
MSE 2202b—Final Exam 2020 Page 6 of 16
(4) (e) A standard quadrature encoder with 200 ticks per revolution is used in combination with the drive system of
a mobile robot.
(i) Assuming straight-line motion, explain how this can be used to determine how far the robot has trav-
elled, along with its speed.
(ii) What is the smallest detectable distance that the robot can travel?
MSE 2202b—Final Exam 2020 Page 7 of 16
(4) (f ) Consider the jar lid design depicted below. From a human factors perspective, discuss the strengths and
weaknesses of the design.
MSE 2202b—Final Exam 2020 Page 8 of 16
(4) (a) An important aspect of the system is the ability to detect that a furry bandit has landed on the feeder. Identify
at least 2 methods that utilize simple sensors for this purpose (e.g., a camera, machine vision system, or
LIDAR do not qualify as simple), along with the required configuration of the sensors for this application.
Considering how each might be integrated into the system and calibrated, which is the best choice?
MSE 2202b—Final Exam 2020 Page 9 of 16
(8) (b) Using the schematic layout in the figure below as a basis, draw a complete schematic that shows how the re-
quired components would be connected to the Arduino. Be sure to include any additional components (e.g.,
resistors, capacitors, diodes, switches) that might be necessary for the circuit to operate properly and also in-
clude the components required for your chosen method from Part (a). All components should be represented
by standard symbols.
5V
3V3 5V Vin
D13
Power
RST D12
AREF D11
D8
D7
D6
D5
A0 D4
A1 D3
Analog Input
A2 D2
TX
A3 D1
RX
A4 D0
A5 SCL
SDA
GND
MSE 2202b—Final Exam 2020 Page 10 of 16
(20) (c) Write a complete Arduino sketch that implements the required functionality for this system, assuming that
the components are connected as shown in your schematic. If any timing functions are required, the delay
function (and its variants) must not be used.
Do not write your code here.
Your code development process must be maintained in version control using git. Your repository should not
be single a “copy and paste” commit, but rather contain a number of smaller commits that reflect the code
development process.
Your repository must be made available at https://classroom.github.com/a/394rcLYM by the end of the
exam.
You may also choose to include a TinkerCAD implementation of your code, demonstrating its proper opera-
tion. The code in your repository must match the code on TinkerCAD. If you choose to use TinkerCAD, the
following links (depending on last name) must be used, rather than your personal TinkerCAD account:
For students with last names A–L: https://www.tinkercad.com/joinclass/93NACN6NTAXL
For students with last names M–Z: https://www.tinkercad.com/joinclass/JJHBJ6DF7KT2
Note that the uniqueness of your code will be tested using Moss:
https://theory.stanford.edu/∼aiken/moss/
MSE 2202b—Final Exam 2020 Page 11 of 16
SOLIDWORKS Educational Product. For Instructional Use Only. SOLIDWORKS Educational Product. For Instructional Use Only.
(12) (a) Using the drawing template provided on the following page, generate a properly laid out and labelled drawing
of the part. Use third-angle projection and include all relevant dimensions and tolerances.
MSE 2202b—Final Exam 2020
(6) (b) Using the design guidelines for manufacturing and assembly, what modifications could be made to improve
the part design? You may use annotated sketches or text in your answer.
MSE 2202b—Final Exam 2020 Page 14 of 16
Additional Work
MSE 2202b—Final Exam 2020 Page 16 of 16