Lab_3- BLDC2020_signed
Lab_3- BLDC2020_signed
BLDC Laboratory
6 Laboratory #3: BLDC Motor Control
6.1 Objectives
• To investigate the control of the BLDC motor under different forms of feedback.
6.2 Equipment
• MSE Arduino Prototyping Kit (built in MSE2202):
o Assembled MSEduino microcontroller board
o Modular solderless breadboard (mounted on MSEduino)
o USB-A to USB-micro cable
• PC with Arduino IDE
• Software posted on OWL: Arduino program Lab3bldc
• Brushless DC motor BL17B17-03
• MSE Delta “3D printer” with HEDS-5645 G13 encoder
• LVDT LD320-50 and LVDT signal conditioning board
• Power supply, BK Precision 1672
• Power control board
• Safety glasses – IMPORTANT: you must wear the safety glasses at all times during this lab
session. You will be asked to leave the room if you fail to wear them and you will receive a
zero in the corresponding lab report.
6.3 Description
In this lab, we investigate the operating characteristics for a permanent magnet brushless DC
motor. Then you will need to assess the performance of closed loop positioning.
The supplied Arduino program utilizes the serial monitor of the Arduino IDE to issue commands
to the program while it is running. The menu of commands is given in the program listing under
Serialmonitor.ino. Commands in the procedure are shown in [ ] brackets.
6.4 Procedure
2019-02-28
MSE3302 – Lab Manual 2 of 7
3. Create a Simulink model using these transfer functions and include any other information
from the data sheets that can be included.
4. Use the Simulink tool of your choice to determine the appropriate gains for a PID controller
to achieve zero steady state error for a ramp input. It will be implemented in the Arduino
program using the function controllerSetLawConstants. NOTE: the actuator input in
the Arduino program is specified as the fraction of the maximum input value, so a 24 V motor
input corresponds to an input of 1.0.
Table 6.1: Model Parameters
Parameter Value
Leadscrew length 132 mm
Leadscrew diameter 0.375 in (9.525 mm)
Leadscrew pitch 0.5 in/rev (12.7 mm/rev)
Mass 116.2 g (carriage) / 427.2 g (printer head)
Sampling time 500 µs
8. Zero the encoder [11] and the LVDT [12] before starting.
9. Turn on Controller 2 [2,2].
10. Adjust the set point [3,<val>] to the different positions along the stroke listed in the LMS and
adjust the gain [5,<val>] and the threshold [6,<val>] to achieve stable operation. Record the gain
and threshold in Table 6.2. Record the actual position in Table 6.3.
11. Adjust the set point to 0 mm [3,0].
12. Set the feedback device to the LVDT [7] and repeat steps 7 to 10 above.
13. Comment on the accuracy and repeatability of the positioning system using the encoder and
LVDT as feedback devices in the LMS.
Figure 6.1: MSE Delta “3D Printer” showing BLDC motor, encoder and LVDT placement.
Figure 6.2: MSE shield showing the locations of the connections for the motor cable, the encoder and
the LVDT.
MSE3302 – Lab Manual 4 of 7
Figure 6.3: MSE Delta “3D Printer” showing the leadscrew nut disengaged and wrapped with
masking tape.
MSE3302 – Lab Manual 5 of 7
NOTE: Questions are related to observations, and must be answered as a part of the procedure
of this experiment.
Comment on the accuracy of the positioning system using the encoder and LVDT as feedback devices
and compare your findings with the calculated resolution values from the simulated model. What
factors prevent the threshold from being reduced for the encoder and for the LVDT?
MSE3302 – Lab Manual 7 of 7
6.5.3 SIGNATURES
To be signed by TA during the lab session.