Professional Documents
Culture Documents
MSE 2202 Final Exam 2019
MSE 2202 Final Exam 2019
Faculty of Engineering
Mechatronic Systems Engineering Program
Name:
Student Number:
There are 18 pages in this examination (2 pages at the end are blank).
It is your responsibility to ensure that no pages are missing.
Standard Arduino functions may be found on Page 18.
1 /12
2 /28
3 /6
4 /20
5 /16
6 /8
7 /10
Total /100
MSE 2202b—Final Exam 2019 Page 2 of 18
(4) (b) Outline the purpose of the relationship and correlation matrices in a QFD. What are the characteristics of
“good” relationship and correlation matrices?
MSE 2202b—Final Exam 2019 Page 4 of 18
(4) (c) Outline the advantages of using a distributed version control system over a centralized version control sys-
tem. How do multiple users exchange revisions to the code base? Use specific git or mercurial commands in
your answer.
(4) (d) Describe the roles of the data, address, and control buses found in a microcontroller. What impact does the
size of the data and address buses have on the operation of the microcontroller?
MSE 2202b—Final Exam 2019 Page 5 of 18
(4) (e) What is meant by the term “Design for X”? Provide at least 3 concrete examples.
(4) (f ) Describe the purpose of layers, planes, traces, and vias in the context of a printed circuit board. Is each of
these always required?
MSE 2202b—Final Exam 2019 Page 6 of 18
(4) (g) A disposal bin that accepts trash and recyclable items is shown below. From a human factors perspective,
discuss the strengths and weaknesses of the design.
MSE 2202b—Final Exam 2019 Page 7 of 18
3. Troubleshooting (6 marks)
Suppose that you have been asked by your colleague to help debug a mechatronic system. The input side consists
of a photoresistor providing an analog signal to an Arduino. Based on the analog value read from the photoresis-
tor, the system is supposed to set the speed of a DC motor, based on a PWM output. Your friend reports that “it
doesn’t work,” meaning that the speed of the motor does not change under varying lighting conditions (if it turns
at all). Propose at least three possible problems that might cause the system to malfunction. In each case, outline
the test that you might use to determine if your hypothesis is correct, and what tool(s) you would need for this
test.
MSE 2202b—Final Exam 2019 Page 8 of 18
(4) (a) An important aspect of the system is the ability to ensure that the correct coins (only quarters) are being in-
serted prior to the dispensing of product, in addition to counting the number deposited. Identify at least 2
noncontact sensors that could be used for this purpose, along with the required configuration for this appli-
cation. Considering how each might be integrated into the system and calibrated, which is the best choice?
MSE 2202b—Final Exam 2019 Page 9 of 18
(6) (b) Using the schematic layout in the figure below as a basis, draw a complete schematic that shows how the
required 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 include the components required for your chosen method from Part (a). Assume that the motors are
driven by digital outputs—show each as an appropriately labelled block. All other 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 2019 Page 10 of 18
(10) (c) Write a complete Arduino sketch that would implement the required functionality for this system, assuming
that the components are connected as shown in your schematic.
MSE 2202b—Final Exam 2019 Page 11 of 18
MSE 2202b—Final Exam 2019 Page 12 of 18
(10) (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 2019
(6) (b) Using 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 2019 Page 15 of 18
(4) (b) Beyond the simple detection of the presence of a signal, information can be conveyed using this technique.
Describe how characters and/or strings of data can be transmitted and decoded.
MSE 2202b—Final Exam 2019 Page 16 of 18
Additional Work
MSE 2202b—Final Exam 2019 Page 18 of 18
You may remove this page from the exam booklet to facilitate its use.
It must be handed in with the rest of the exam.