Mechatronics Motor Sizing Using LabVIEW and SolidWorks
Mechatronics Motor Sizing Using LabVIEW and SolidWorks
Motor sizing
Waleed El-Badry
Senior PhD candidate
Mechatronics department
Ain shams university
Intended Learning Outcomes
What is expected to be learnt today?
After finishing this session, you are expected
to be able to
3
INSTRUCTOR’s LAPTOP
7
Open solidworks model
[Simple ARM START]
View is optimized to reduce cpu loading
on laptop (mine at least )
8
Select motion study
[Motion Study LabVIEW]
9
Add motor to each joint
[Motion Study LabVIEW]
Each joint in
the arm will
have a
“rotary
motor”
12
Configure numerical calculation
To calculate power, torque and other
motion parameters, Solidworks needs to
adjust some parameters like
o Step size.
o 3d contact accuracy
o Simulation speed (fps)
Configure numerical calculation
Vmotor= const
TORQUE MEASUREMENT
Vmotor= f(t)
We are now ready for getting
connected to labview
PART II: Connecting to LabVIEW
LabVIEW Configuration
LabVIEW Configuration
LabVIEW Configuration
LabVIEW Configuration
LabVIEW Configuration
NOW it is time to pull your hair
out ( or the residue like mine)
SCAN ENGINE IS NOT RUNNING
Another TIP …
SCAN ENGINE TIME ERROR
Keep that
configuration
WHAT IS SCAN ENGINE ?
SCAN engine is the service
responsible for synchronizing
LabVIEW with solidworks after
each calculation step
SolidWORKS
LabVIEW
• Feedback Position
• Target Position
NI Scan Engine • Feedback Velocity
• Target Velocity
• Feedback Acceleration
• Target Acceleration
• Feedback Torque /Force
28
Attempt to fix scan engine
Bind labview motion axes to solidworks motors
30
Bind labview motion axes to solidworks motors
31
SCAN ENGINE IS RUNNING
PART III: Basic Motion Study
MOTION Study VIs
34
MOTION Study VIs
35
MOTION Study VIs
36
Exercise 1
37
Exercise 2
38
39