VIETNAM NATIONAL UNIVERSITY HO CHI MINH
HO CHI MINH UNIVERSITY OF TECHNOLOGY
ELECTRIC DRIVE SYSTEM LAB ASSIGNMENT
Class: CC02_CC04
Instructor: Ph.D. Trương Ngọc Cường
No. NAME LAB 1 LAB 2 LAB 3 LAB 4
1 Phạm Phú Duy ☒ ☒ ☒ ☒
2 Phạm Gia Phúc ☒ ☒ ☒ ☒
3 Trần Hoài Minh Khôi ☒ ☒ ☒ ☒
4 Nguyễn Minh Trí ☒ ☒ ☒ ☒
5 Huỳnh Phúc Minh Trí ☐ ☐ ☒ ☒
Leader: Phạm Phú Duy, Phone: 0965740244
Note: Huỳnh Phúc Minh Trí attended the make-up LAB2 on (T7 – 08/11)
Ho Chi Minh city, 2026
Lab 1: Semiconductor Equipments
Experimental results:
1. Examine Voltage-Ampe characteristic of diode (Battery = 4.9V, R 1 = 1kΩ)
a. Voltage of R1 = 4.2 V
In this case, diode is forward - bias.
b. Current through R1 = 0.0042 A
c. Voltage of diode = 0.67 V
d. Voltage of R1 ≈ 0 V
In this case, the diode is reverse-bias.
e. Current through R1 ≈ 0 A
f. Voltage of diode = 4.9 V
2. Half-wave rectification (R1 = 1 kΩ)
a. By using VOM, input voltage Vin = 3.32 V
b. For the input, RMS value of VrmsVin = 3.31 V
For the input, average value of VavgVin = 0 V
For the output, RMS value of VrmsVout = 1.99 V
For the output, average value of VavgVout = 1.27 V
c. Amplitude of positive half or negative half is positive half-cycle = 3.98 V
d. This is circuit of positive half-wave rectification
3. Full-wave rectification (R1 = 1 kΩ, C = 10 μF)
a. Without capacitor C and load resistor R:
– Input Vin, peak-peak voltage Vpp = 3.65 V, frequency fin = 50 Hz
– Output Vo, peak-peak voltage Vpp = 3.63 V, frequency fout = 100 Hz
b. Average value of output voltage Vavg = 2.31 V
c. Function of capacitor C:
Capacitor smooths and filters the rectified waveform, reducing ripple, increasing
minimum voltage and raising average DC level.
d. With capacitor C and load resistor R:
– Input Vin, peak-peak voltage Vpp = 3.65 V, frequency fin = 50 Hz
– Output Vo, peak-peak voltage Vpp = 1.58 V, frequency fout = 100 Hz
e. Average value of output voltage Vavg = 1.01 V
4. Circuit of H-bridge driver
a. Student does the circuit of H-bridge as Fig. 17. Using 2 LED to display bi-
direction of current that flow through H-bridge driver (clockwise or counter-
clockwise of rotational motor direction)
b. Using battery to activate L1 and R2 simultaneously, MOSFET Q1 J306 and
MOSFET Q4 K2638 allow current flow through. Status of LED A is BLUE ON
(corresponding to clockwise of rotational motor direction).
c. Using battery to activate L2 and R1 simultaneously, MOSFET Q2 K2638 and
MOSFET Q3 J306 allow current flow through. Status of LED B is RED ON
(corresponding to counter-clockwise of rotational motor direction).
5. Conclusion
The experiment successfully demonstrated the behavior of diodes, rectifier
circuits, and MOSFET-based motor drivers. Measured results showed good
agreement with theoretical expectations. The lab improved understanding of
semiconductor operation and practical circuit wiring skills
Lab 2: Digital Design
3. Experiment
3.1 Build the circuit as following figure using And and Or logic and compare
the true table.
Question:
a) Turn on Power and watch Led’s responding.
LED is off.
b) Connect 2 input to +5V and watch output signal.
LED is on.
c) Connect 1 input to GND and watch output signal.
LED is off.
d) Do not connect any input to IC.
LED may on or off (floating state)
- What is the conclusion?
If 2 inputs are +5V, Led will turn on.
If one input is 5V and other input is GND, Led will turn off.
If two inputs are GND, Led will turn off.
If one input is not connected to +5V or GND, LED may turn on or
turn off (floating state).
+ Result of making circuit: Run correctly.,
3.2 Make the true table of IC 7486
A B X
0 0 0
0 1 1
1 0 1
1 1 0
3.3 Perform logic operator function
F(A,B,C) = ∑ (0,1,3,4,6,7)
a) F= A’B’C’ + A’B’C + A’BC + AB’C’ + ABC’ + ABC
b) Using Karnaugh Map to reduce the function F
F2= B’C’ + A’C + AB
00 01 11 10
AB
C
0 1 0 1 1
1 1 1 1 0
c) Perform logic operation using IC (NOT gate using NAND gate)
3.4 Perform logic operation
a) Turn on the power and watching number on seven segment LED while
applying pulse to CPU.
-> Turn on the power, seven segment LED lights up number “0”. After pressing
the button, there are still signal, the seven segment LED still change but LED
does not count sequentially, some strange characters appear.
b) Change the writing to make the count-down circuit.
-> After changing the circuit to make count down, the LED still acts like the
situation of a. After pressing the button, LED will chang the display but LED
does not count sequentially and some strange characters appear.
c) Change the status of PIN MR and watching number on seven segment LED.
-> After changing the status of PIN MR, the number on LED is “0”. After
pressing the button, the LED will change the display. But after a short time,
LED will display “0”.
d) Change the status of PIN PL and watching number on seven segment LED.
-> After changing the status of PIN PL, the LED display “0”, and when the
button is pressed, another random number or character will be displayed. But
after releasing the button, LED will display “0”.
e) Make the count up circuit Mod 10 by combining some logic IC
+ Result of making circuit: Run Incorrectly
Lab 3: Three-Phase Motor Control
Experimental Procedure:
[Link] circuit before turning on Power
- Do not turn on power, using VOM at resistor mode x1 or x10 to check
circuit as sequencing.
- Checking short-circuit while applying Contactor K1, Contactor K2, and
Contactor K3.
- Checking wiring star connection of motor when applying Contactor K2.
- Checking wye connection of motor when applying Contactor K3.
- Checking power connection of Contactor K2 and K3 when having Timer
T1 in circuit.
- Disconnecting Timer T1, using a wire connect delay normal-open
contact of T1 to make short circuit.
- Checking power connection wire of Contactor K2 and K3 as desired.
- Draw the making circuit.
Result of making circuit:
☑ Run Correctly
2. Results
2.1 Cold testing results using continuity mode on VOM
Continuity check: Passed; all wiring connections are correct and continuous.
- Star connection: Functional
- Delta connection: Functional
- Interlocking system: Functional
Overall cold test performance: All systems operated correctly; wiring, contactor
sequencing, and interlocks fully met the requirements.
2.2 Conclusion
The experiment successfully demonstrated the operation of a three-phase
induction motor using a star–delta starter. Cold-testing confirmed that the wiring
and interlocking were correct. The experiment enhanced understanding of
industrial motor control circuits, contactor logic, timer sequencing, and safe
testing procedures.
Lab 4: Stepper motor
Experiment 1. Controlling stepper motor with constant speed
1. Show the graph of the collected data in the report with positive and negative
distance
250
200
150
100
50
-50
-100
-150
-200
-250
2. What are the model names of the stepper motor, the microstep driver and the
encoder?
- -Stepper motor: 17HD4401S – NEMA 17, 42×42 mm, 1.8°, 0.45 Nm.
- Microstep driver: DM556 stepper motor driver.
- Encoder: LPD3806-600BM rotary encoder (600-pulse, NPN type)
3. How much current does the motor use? What is the resolution of the
encoder?
Motor current:
- In our kit the 17HD4401S motor is rated around 1.5 A/phase, so a common
safe choice is:
+ Peak current ≈ 1.4 A
Encoder resolution:
- The LPD3806-600BM encoder is specified as 600 pulses per revolution (PPR).
With standard 4-edge (×4) quadrature decoding this corresponds to 2400 counts
per mechanical revolution.
4. What were the combinations of DIP switches used in this experiment?
- In our experiment we used:
SW1=ON, SW2=ON, SW3=ON, SW4=ON (1.4 A, full current);
SW5=OFF, SW6=ON, SW7=ON, SW8=ON (400 steps/rev).
5. What is the value of the acceleration when the motor starts moving and when
it stops?
Acceleration when the motor starts moving:
+ At time t 0: ω 0 ≈ 0 deg/s
+ At time t 1=t 0+ Δ t : ω 1 ≈ 30deg/s
+ At time t 2=t 0+ 2 Δ t : ω 2 ≈ 178.5deg/s
- A simple way is to use the average acceleration from 0 up to cruising speed:
ω2 −ω0 178.5−0 178.5
a start ≈ = =
t 2 −t 0 2 Δt 2Δ t
-- If sample time is Δ t=0.05 s :
178.5 3 2
a start ≈ ≈ 1.8 ×10 deg/s
0.1
- So:
3 2
a start ≈ 1.8 ×10 deg/s (from 0 to ≈180 deg/s in ~0.1 s).
Acceleration when the motor stops:
- When the motor stops, the average deceleration is about
3 2
a stop ≈−1.8 ×10 deg/s , essentially the same magnitude as the start acceleration but
opposite sign.
6. Why doesn’t the measured chart from the encoder look as smooth as the
setpoint one?
- Main reasons:
+ Quantisation from encoder resolution: the encoder only produces
discrete pulses (e.g. 600 PPR → 2400 counts/rev). Speed is computed
from how many pulses occur in each sampling interval, so the measured
speed changes in small steps instead of a perfectly smooth curve.
+ Sampling & numerical differentiation: speed is derived from position
over finite time intervals. This discrete differentiation amplifies noise and
makes the trace jagged compared with the ideal setpoint.
+ Mechanical effects: friction, inertia, small vibrations and driver/motor
torque ripple cause the real speed to fluctuate slightly around the
commanded value.
+ Control & delay: there is always some delay between the command
and the actual motion; the controller is correcting errors, which also
introduces small overshoots/undershoots.
- So, the setpoint is a mathematically ideal signal, while the encoder-based
measurement is a discrete, noisy approximation of the real motion, which is why
its plot is not as smooth.
Experiment 2. Controlling stepper motor with trapezoidal motion profile
1. Show the graph of the collected data in the report with positive and negative
distance.
200
150
100
50
-50
-100
-150
-200
2. How long does it take the motor to accelerate and decelerate?
- Speed increases from ~0 to ~180 deg/s over about 30 samples.
- It then drops from ~180 deg/s back to ~0 over about 30 samples again.
- Acceleration time:
t acc ≈ 30 Δ t
t acc ≈ 30 × 0.05 ≈1.5 s
- Deceleration time:
t dec ≈ 30 Δ t
t dec ≈ 1.5 s
3. How long does the motor stay at constant speed?
- Between the acceleration and deceleration ramps, the measured speed stays
close to 180 deg/s for roughly 60 samples in the positive direction.
- Constant-speed time (per direction)
t const ≈ 60 Δ t
Δt = 0.05 s:
t const ≈ 60 ×0.05 ≈ 3.0 s
- We’ll get a similar constant-speed duration when the motor is running at –180
deg/s on the way back.
4. What is the value of the acceleration when the motor speeds up and slows
down?
- Use the basic definition:
Δω
a=
Δt
- From the data:
+ Speed change during ramp up:
Δ ω ≈ 180 deg/s−0=180 deg/s
+ Time for that change: t acc ≈ 30 Δ t
- So:
180 6 2
a up ≈ = deg/s
30 Δ t Δ t
- Δt = 0.05 s:
6 2
a up ≈ ≈ 120 deg/s
0.05
- For deceleration, the magnitude is the same but the sign is negative:
2
a down ≈−120 deg/s (if Δ t=0.05 s)
Lab 4: Stepper motor
Experiment 3. Controlling stepper motor with triangular motion profile
Questions for Experiment 3 report:
1. Show the graph of the collected data in the report with positive and negative
distance.
200
150
100
50
-50
-100
-150
-200
2. What is the relationship between acceleration and distance travelled during
accelerating?
For a triangular motion profile, the motor accelerates for the first half of the
journey and decelerates for the second half. Using kinematic equations:
1 2
s= a t
2
Where:
s = distance during acceleration phase
a = acceleration value
t = time to accelerate
The relationship: Distance is directly proportional to acceleration. If you
increase acceleration, the motor reaches higher speeds in the same distance, or
covers more distance in the same time. For a triangular profile, the accelerating
distance equals half the total desired distance.
3. How often does the microcontroller calculate speed using signal from the
encoder
The microcontroller calculates speed 10 times per second (10 Hz sample rate).
This means it reads the encoder pulses every 100 milliseconds and updates the
velocity measurement at this frequency.
Experiment 4. Changing the parameters
(Speed_Acceleration Duration_Sample Rate)
Experiment 1: Controlling stepper motor with constant speed
100_2_5
150
100
50
-50
-100
-150
100_2_15
150
100
50
-50
-100
-150
100_6_5
150
100
50
-50
-100
-150
100_6_15
150
100
50
-50
-100
-150
360_2_5
400
300
200
100
-100
-200
-300
-400
360_2_15
500
400
300
200
100
-100
-200
-300
-400
360_6_5
400
300
200
100
-100
-200
-300
-400
360_6_15
500
400
300
200
100
-100
-200
-300
-400
Experiment 2: Controlling stepper motor with trapezoidal motion profile
100_2_5
150
100
50
-50
-100
-150
100_2_15
150
100
50
-50
-100
-150
100_6_5
150
100
50
-50
-100
-150
100_6_15
150
100
50
-50
-100
-150
360_2_5
400
300
200
100
-100
-200
-300
-400
360_2_15
400
300
200
100
-100
-200
-300
-400
360_6_5
400
300
200
100
-100
-200
-300
-400
360_6_15
500
400
300
200
100
-100
-200
-300
-400
Experiment 3: Controlling stepper motor with triangular motion profile
100_2_5
150
100
50
-50
-100
-150
100_2_15
150
100
50
-50
-100
-150
100_6_5
150
100
50
-50
-100
-150
100_6_15
150
100
50
-50
-100
-150
360_2_5
400
300
200
100
-100
-200
-300
-400
360_2_15
400
300
200
100
-100
-200
-300
-400
360_6_5
400
300
200
100
-100
-200
-300
-400
360_6_15
400
300
200
100
-100
-200
-300
-400