1 engg 1015 tutorial revision tutorial 11 dec learning objectives prepare for the examination news...
TRANSCRIPT
![Page 1: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/1.jpg)
1
ENGG 1015 Tutorial
Revision tutorial 11 Dec Learning Objectives
Prepare for the examination News
Examination Closed book; Need to bring calculators
SETL (Online evaluation) HW2, HW3
![Page 2: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/2.jpg)
2
To Refresh Your Memory
In the semester, you have learnt… Combinational Logic – Truth table/schematics/Boolean
expression, SOP/POS, DeMorgan’s Theorem, K-Map, adder structure
Sequential Circuit – Flip flop, Finite State Machine, clock and timing
Electrical Circuit – Primitives, KCL/KVL, series/parallel connection, voltage/current divider, loading and buffer
Operational Amplifier – Non-inverting amplifier Signals, Systems, Control – Signal flow graph, difference
equation, operators, z-transform, feedback control Computer Systems – Binary representation,
addition/subtraction for integers, 2’s complement
![Page 3: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/3.jpg)
3
Past Papers
(E: Examination; H: Homework) Systems: 11H1Q1/Q2, 10H1Q1/Q2 Combinational logic: 11EQ5, 10EQ5, 11H2Q5/Q6,
10H2Q5/Q6, 11H3Q1/Q2/Q3, 10H3Q1/Q2/Q3 Sequential logic: New Electrical circuit: 11EQ3, 10EQ2, 11H1Q3/Q4/Q5/Q6,
11H1Q4/Q5/Q6/Q7 Signals and control: New Computer system: 11EQ6, 10EQ6, 11H2Q4, 10H2Q3/Q4
![Page 4: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/4.jpg)
4
Lab
(L: Lab; C: Checkoff) Combinational logic: L1 C1/C2/C3, L2 C1/C2/C3 Sequential logic: L3 C1/C2/C3 Electrical circuit: L4 C1/C2, L5 C1/C2/C3, L6 C1/C2/C3 Signals and control: L7 C1/C2/C3, L8 C1/SC Computer system: N/A
![Page 5: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/5.jpg)
5
Block Diagrams for Control (1)
𝐶 (𝑧 ) 𝑃 (𝑧 )
𝐺 (𝑧 )
𝑘𝑧− 1
1
1−𝑘𝑧− 1
1
![Page 6: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/6.jpg)
6
Block Diagram for Control (2) Let the controller C(z) be “A”, the system P(z) be
“C”, and the sensor G(z) be “D”.
First-order systemwith one pole at
1
11
1
1 111 1
1 1
k kkkz kH z
k kk kz zkz k
1kk
𝑘𝑧− 1
1
1−𝑘𝑧− 1
1
![Page 7: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/7.jpg)
7
Block Diagram for Control (3) Let C(z) be “B”, P(z) be “C”, and G(z) be “B”.
A second-order systemwith two poles at
1
11
1 1 1 2
1
11
11
zzkzH z
z z kz zkz
2 4
2
k k
𝑘𝑧− 1
1
1−𝑘𝑧− 1
1 1 21 0kz z
![Page 8: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/8.jpg)
8
Smart Air-conditioner Control (1) Let Troom be the current room temperature. Also, define TUTH and TLTH
be two threshold voltages set by the user, where TUTH >TLTH.
When Troom > TUTH, AND compressor is off, then the compressor of the air-conditioner should turn on to lower the room temperature.
When Troom < TLTH, AND compressor is on,then compressor of the air-conditionershould turn on, and the roomtemperature rises.
Otherwise, the operation of thecompressor stays unchanged.
![Page 9: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/9.jpg)
9
Smart Air-conditioner Control (2) Using the digitized information DL and DH about the
room temperature, implement the air-conditioner control as a state machine. Your state machine should have 1 single output called ON. The
air-conditioner compressor is turned on only when ON is TRUE. Construct based on logic
![Page 10: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/10.jpg)
10
Smart Air-conditioner Control (3) If instead we want to set the temperature to be lower,
with TUTH = 24 and TLTH = 22, suggest a way to achieve this adjustment.
Upper comparator: 6V to input B Lower comparator: 2.4V to input B
R1 = R - R2 = 0.6R
R1
R2
![Page 11: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/11.jpg)
11
Bidirectional Motor Driver (1) Using your knowledge from labs and lectures, complete
the following circuit to drive a motor in both directions depending on the value of the potentiometer.
![Page 12: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/12.jpg)
12
Bidirectional Motor Driver (2) Referring to the bidirectional motor driver circuit, let kA be
the gain of the non-inverting amplifier on the left. Show that within the
operating range ofthis circuit (i.e., nosaturation), a changein Vp by ∆Vp results in achange of Vmotor bykA∆V p.
![Page 13: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/13.jpg)
13
Bidirectional Motor Driver (3) From the property of a non-inverting amplifier,
Now, When Vp becomes , the new Vmotor is
Therefore,
mp A pV k V
motor / 2mp mn A p ccV V V k V V
/ 2motor A p p ccV k V V V
/ 2 / 2motor A p p cc A p cc
A p
V k V V V k V V
k V
![Page 14: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/14.jpg)
14
Circuits and Sensors (1)
In this QTI circuit, we assume that R0 is 500Ω and that Rir is maximum when it is dark (Rmax = 1k Ω). When it is bright, Rir is minimum (Rmin = 100 Ω). Note that Vcc is 12V. The datasheet of the lamp states that it only turns on when the voltage across the lamp (VL) > 5V. Each lamp has an internal resistance of 1kΩ.
The goal is to turn on a lamp when it is dark.One of your team members suggests connectingthe terminal red directly to the lamp, terminalwhite to Vcc terminal black is grounded. Will thisconfiguration work?
![Page 15: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/15.jpg)
15
Circuits and Sensors (2)
Let RL be the resistance combining Rir and the resistance of the lamp, put in a parallel configuration.
When it is dark (Rmax = 1kΩ), the total loading resistance is RL = 500Ω, and therefore the voltage across the lamp (VL) is 6V. This is enough to turn on the lamp.
When it is bright, Rmax = 100Ω andRL = 90.9Ω.
Thus, the lamp is off.
0
90.912 1.85
500 90.9L
L ccL
RV V V
R R
![Page 16: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/16.jpg)
16
Circuits and Sensors (3)
Now you have to connect two more lamps in parallel with the first one (i.e. 3 lamps in total). What is the problem?
The total loading resistance(when it is dark) will becomeRL = 250Ω (Parallel connectionof resistors), and thereforeVL = 4V. Therefore, it is notenough to turn on the lamps.
Therefore, a buffer should beused.
![Page 17: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/17.jpg)
17
Circuits and Sensors (4)
How the buffer should be connected?
0
0
0
0
Vp
Vp
![Page 18: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/18.jpg)
18
Difference Equations (1)
Difference equation: Transfer function: Poles:
![Page 19: 1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL](https://reader036.vdocuments.net/reader036/viewer/2022062511/5519e78a550346443e8b51de/html5/thumbnails/19.jpg)
19
Difference Equations (2)
Partial fraction:
Impulse function: