Pumpjack Mechanism Kinematics & Animation in MATLAB
Product Description
Bring your mechanical projects to life with a fully engineered Pumpjack Mechanism Simulation. This MATLAB-based package provides real-time animation, kinematic analysis, and professional-quality visualization of a pumpjack (oil well walking beam) mechanism. Perfect for students, engineers, and educators looking for a ready-to-use, sellable MATLAB project.
✨ Features
-
🎬 Realistic Animation
Smooth motion of the crank, pitman, and beam with clearly labeled links (Crank, Pitman, Beam). All joints and connections are modeled accurately. -
📈 Kinematic Analysis
Track the beam tip (horsehead) in real-time with:-
Displacement plot
-
Velocity plot
-
Smoothed acceleration plot
-
-
🎨 High-Quality Plots
-
Subplots for displacement, velocity, and acceleration for clear and professional visualization.
-
Vibrant color coding for each link and kinematic quantity.
-
Legends included for easy interpretation.
-
-
⚙️ Customizable Parameters
-
Number of crank rotations
-
Total simulation time
-
Frame rate (fps)
-
Geometry parameters (crank length, pitman length, beam length)
-
-
📹 Exportable Video
Save your animation as MP4 for presentations, lectures, or demos. -
💻 Ready-to-Use MATLAB Code
-
Fully commented
.mfiles -
Modular structure for easy modification
-
Supporting functions for joint calculations
-
🗂️ Project Contents
-
Pumpjack.m– Main animation and kinematic analysis file -
Supporting function:
solve_beam_end.m– Calculates joint positions -
Sample MP4 animation file
-
Organized trajectories and kinematic plots
-
Instructions and notes for customization
⚡ Technical Specifications
-
Software Required: MATLAB R2018a or later
-
Animation Frame Rate: Adjustable (default 60 fps)
-
Units: All dimensions in mm
💡 Use Cases
-
Mechanical engineering project demonstrations
-
Robotics and linkage simulation studies
-
Academic lectures and tutorials
-
Engineering portfolios or digital product bundles