Creating Motion in SolidWorks-Motion Drivers
Creating Motion in SolidWorks-Motion Drivers
Motion Drivers
Jim Boland P.E., CSWP
Motors
Constant Speed
Physics
Gravity
Distance
Oscillating Interpolated (2010) / Data Points (2011) Segment Expression
Contact
Springs Friction Damping
Presentation Goals
Explore the different types of motion drivers available. Explore the different methods to create animations.
The tools and principles used are not rocket science. The UI is similar to other video programs.
You can learn what the tools do from the Help menu, but not methodology. Key is to know how to use the tools and what to do if it doesnt work. Methodology and multiple approaches. Right Way vs. Wrong Way.
-Yogi Berra
Presentation Goals
Questions from the SolidWorks Forum Why arent in-context parts solved in Basic Motion?
Learning Resources
Tutorials SolidWorks User Forum Training classes
Step-by-Step books
Audience Makeup
SolidWorks Version
2011
2010
2009 or earlier
Animation Experience
Important
We are creating
Animations NOT
Analysis
What is an Animation?
We are creating movies
Series of still images played back in rapid sequence Adjustable frame rates We are in control, not the viewer No CG animations
Frame Rate too slow jerky motion Frame Rate too fast jerky motion
3x3
The 3 things you need to know About The 3 things you need to know
The 3 X 3 Choices
3 - Motion Study Types
Animations
Basic Motion
Motion Analysis
3 - Motion Types
Components
Properties Viewpoint
Dynamic Motion
Momentum
Contact Gravity
Friction
Animation Wizard
Basic workflow
Keypoint/Keyframe motion
At time zero, take a picture Move the drivers ahead one frame Rebuild
Solve the mates Solve in-context features
Momentum
Friction Damping
Forces
Dampers Friction
As far as the solution is concerned NOTHING Frame rate determines the intervals when the data is captured for display.
Important: In-context features are not solved in either the Basic Motion or SolidWorks Motion study types.
Contact
Force
Damper
Features
Event Based X
Key Points
Damping
Contact
Friction
Gravity
Spring
Inertia
Mates
Motor
Force
X X X X X X X X X X
X X X X X L X L X X
Plots
Keypoint Animations
Basic Workflow
01
Exploded View
Exploded Views provide a simple method to create a lot of motion.
02
Interpolation Methods
02
Mates
Global vs. Local Mates
Driving Mates
Path Mate
Driven Mates
Use Standard Mates with Basic Motion Avoid Width mate Screw mate for rotation with translation
Mate Organization
Mate Order
Mate Names
Use Folders Sub-assemblies
Easy to use
The Bad
Some mates dont work (or work well) in animations (Width mate) Some mates dont solve all options (Path mate) Some mates better for SolidWorks Motion, others better for Basic Motion
The Ugly
Mates
Distance Mate
Angle Mate
Path Mate
Path Mates
03
0% and 100% are not the same You cannot input values greater than 100%
04
Try, a Try try different again method Give up, why be hard headed
Rotary
Linear
Motion
Expression
Oscillating Servo Motor
Motor Facts
Important: motor force is infinite Motors can be used as mates. (Reduces redundancies)
What is the motor acting on What direction is the motor acting What is the motor moving relative to
When motors dont work, the most likely cause is a conflict between motors
Robot
There are seven motion drivers required
6 rotary
1 linear
Motors
Distance Motor
Angle or Distance How far Start Duration Graph (no instantaneous change)
Motors
ON time
Speed Smooth transitions
Motors
Interpolation methods
Linear Akima
Cubic
05
Linear
Akima
Cubic
Function Builder
Used to define the motion by:
Segments
Data Points
Expressions
Jerk
Values
Interpolation
Linear Akima
Cubic
Segments (2011)
Piecewise continuous
More interpolation types Interpolation defined by segment
Expression
Predefined functions
Mathematical Functions
Motors
Expression Motion
Only variable in Animations & Basic Motion is Time Can use most VB functions There are three forms of time (2010)
Allowable Functions
ABS
ATAN DIM MAX SIN TAN RTOD
ACOS
ATAN2 EXP MIN SINH TANH TIME
AINT
COS LOG MOD SQRT DTOR IF
ASIN
COSH LOG10 SIGN STEP PI
Important: In 2010, distance units are Meters, in 2011 distance units are the document units. 05a
The Problem
The Problem
Desired Video
07
Gravity
Used in Basic Motion and SolidWorks Motion Magnitude error in Basic Motion 2009 and earlier Gravity does NOT have to be realistic in an animation, only in analysis
Contact
Basic Motion and SolidWorks Motion only Contact Groups Friction Contact Resolution Contact Accuracy Differences between Basic Motion and SolidWorks Motion
Spring
Used in Basic Motion and SolidWorks Motion Spring only shows during calculation Spring Constant
F=kxe Linear only in Basic Motion Powers of up to 4 in SolidWorks Motion Error in Basic Motion by one order of magnitude
Spring damping
Problem
What type of Motion Study?
Animation
Basic Motion
Motion Analysis
Basic Motion
Spring Gravity
Other Solutions
Oscillating Motor
Easy to set up
No damping
Expression Motor
Can make the motion anything you like Distance = Decay function x Amplitude x Sin (Time)
Combined Curves
Spring for animation vs. spring for visual animation Contact properties Contact Resolution Contact Accuracy Best Method ????? Animation Basic Motion SolidWorks Motion
Friction
Used in Basic Motion and SolidWorks Motion In Basic Motion, friction is determined by material. In SolidWorks Motion, friction can be applied at:
Joints
Contact
Damping
Force
Only available in SolidWorks Motion Options are similar to those used for motors
Constant
Interpolated Expression
At some point, more and more effort is required for smaller and smaller improvements
Questions
The End