Professional Documents
Culture Documents
Student ID:
Please write your answers on blanks papers, scan them in a single pdf file (such as using Microsoft
Office Lens app) and upload it to Canvas.
1
Question 1 (12 marks)
𝑣⃗
T1 T2
𝜃
𝑥
T3 T4
Consider an underwater vehicle with 4 thrusters each makes a 45∘ with the x or y axis: T1, T2,
T3 and T4, shown in the diagram. Suppose you want the vehicle to move along the vector 𝑣⃗
with angle 𝜃 = 30∘ by powering up only T1 and T2. The magnitude of the force provided by T1
is 1 N (N = Newton is the unit of force).
Write down the forces provided by T1 and T2 in vector form using unit vectors 𝑖̂ and 𝑗̂.
(b) (4 marks) Describe the lossless compression and state its application.
(c) (4 marks) Describe the lossy compression and state its application.
2
Question 3 (10 marks)
A student would like to build electronic circuit for connecting a temperature sensor with a
Analog-to-Digital (A/D) converter. The block diagram of circuitry is shown as below.
The interface circuitry is used to scale and shift the operating range (range) of senor output to the
region between 0V and 5V. The overview of operating ranges of the whole system is listed
below. Voltage at Voltage at output of
output of interface circuitry (𝑉𝑖)
Temperature (T)
sensor (Vs)
(10 marks) Write a straight line equation in expressing the relationship the voltage at the output
of interface circuit Vi and temperature T .
3
Question 4 (24 marks)
(i) (4 marks) Find the period and amplitude of the vibration ∆𝑥1 (𝑡)
(iv) (6 marks) Consider another motion, Δ𝑥2 (𝑡) = cos2 (15𝜋𝑡) cos(10𝜋𝑡).
Find Fourier Series of ∆𝑥2 (𝑡).
4
Question 5 (15 points)
In order to reduce the display power consumption, you are asked to propose an auto-brightness
algorithm to adjust the brightness of the display screen in different environment. That is, the
brightness is increased in the outdoor environment. The brightness of the display is decreased in
the dark environment.
Now, there are several sensors embedded in the following mobile phone:
Infra Senor
Speaker
Light Dependent Resistor
Camera
Touch screen
Now, please suggest the sensor(s) you would like to use and describe the working principle of
your algorithm. (approximate 50 to 100 words)
5
Question 6 (12 marks)
The histograms of Hue information of two pure color (Red and Yellow) VGA image (200 x 150
pixels) are shown below
30000 Histogram
Frequency
Red
Degree
0
30000 Histogram
Yellow Frequency
Degree
0 300
6
(b) (4 marks) Sketch the histogram of Hue information pure Green VGA image. Please
indicate the value in both axes clearly
Histogram
Green
Frequency
Degree
0
(c) (4 marks) Sketch the histogram of Hue information a VGA image. Please indicate the
value in both axes clearly
Blue
Histogram
Magenta
Frequency
Degree
0
7
Question 7 (15 marks)
a) (3 marks) Draw the triangle in the 2D coordinate system of image, and indicate the direction
of all the anti-clockwise vectors. Please label the vertex of triangle clearly. Notes: the
Cartesian plane in the image processing is different from the one you learnt in secondary
school.
Justify that whether the point D lies inside the triangle or not. Explain your answer.
Justify that whether the point E lies inside the triangle or not. Explain your answer.
e) (3 marks) Sketch a feasible convex polygon that contains all the points A, B, C, D and E
8
Trigonometric identities
𝐴±𝐵 𝐴∓𝐵
sin 𝐴 ± sin 𝐵 = 2 sin cos
2 2
𝐴+𝐵 𝐴−𝐵
cos 𝐴 + cos 𝐵 = 2 cos 2 cos 2
𝐴+𝐵 𝐴−𝐵
cos 𝐴 − cos 𝐵 = −2 sin sin
2 2