Skip to content

Scotch Yoke Mechanism

Master pure sinusoidal motion design with the Scotch yoke mechanism: an elegant solution for converting rotary motion to perfectly sinusoidal linear motion. Learn advanced parametric CAD with slot-driven mechanisms and clearance management. #FreeCAD #ScotchYoke #SinusoidalMotion #HarmonicMotion

🎯 Learning Objectives

By the end of this lesson, you will be able to:

  1. Design slot-driven mechanisms with sliding contacts
  2. Implement clearance-aware parametric geometry
  3. Create pure sinusoidal motion systems
  4. Model both rotational and linear sliding motion
  5. Analyze simple harmonic motion through CAD verification

🔧 Engineering Context: Why This Mechanism Matters

Scotch Yoke Mechanism

The Scotch yoke mechanism converts rotary motion to linear motion with perfect sinusoidal characteristics. Unlike the slider-crank mechanism, which produces approximate sinusoidal motion, the Scotch yoke creates mathematically pure sinusoidal displacement, velocity, and acceleration through its elegant slot-driven design.

Real-World Applications

The Scotch yoke delivers pure sinusoidal motion where precision matters:

The Engineering Problem

Design Challenge: Given constant rotational input, create linear reciprocating output with mathematically perfect sinusoidal characteristics in a compact package.

Mechanism Components:

1. Rotating Crank

  • Circular disk with eccentric pin
  • Pin offset determines stroke

2. Yoke (Slider)

  • Block with horizontal slot
  • Constrained to linear motion

3. Pin-in-Slot Connection

  • Pin slides within yoke slot as crank rotates
  • Continuous sliding contact

4. Guide Rails

  • Constrain yoke to linear motion only
  • Prevent rotation

📚 Mechanism Fundamentals

Design Parameters

Crank Radius (r)

Determines stroke length

Stroke = 2r

Primary parametric control

Slot Dimensions

Must accommodate full pin travel

Length: Stroke + margin Width: Pin diameter + clearance

Guide Length

Ensures alignment throughout stroke

Must exceed total travel distance

Clearances

Critical for smooth operation

Typical: 1-2mm for small mechanisms

🎯 What You’ll Build



By completing this lesson, you’ll create:

Parametric Crank

Rotating disk with eccentric pin controlled by spreadsheet

Slotted Yoke

Sliding block with clearance-aware slot geometry

Guide System

Rails constraining linear motion while allowing smooth travel

Working Assembly

Complete mechanism demonstrating pure sinusoidal motion

🚀 Part 1: Getting Started

Project Setup

  1. Launch FreeCAD

    FreeCAD 0.21 or later

  2. Create new document

    File → New (or Ctrl+N)

  3. Save immediately

    Save as ScotchYoke.FCStd

    Save Often!
  4. Switch to Part Design workbench

    Use the workbench dropdown at top

Workbenches Overview

Part Design

  • Creating individual parametric parts
  • Primary workbench for crank, yoke, guides

Sketcher

  • 2D profiles for slots, circles, rectangles
  • Constraint-based geometry

Spreadsheet

  • Parameter control center
  • Formulas for calculated values

💡 Part 2: Parametric Design Strategy

Slot-driven mechanisms require careful attention to clearances and dimensional relationships. Our parametric approach will automatically calculate slot dimensions from crank radius and clearance specifications, ensuring smooth operation at any stroke length.

Our Design Approach

🎯 Intelligent Parameter Control

We’ll control the Scotch yoke with:

Primary Parameters:

  • CrankRadius = 40 mm (determines stroke)
  • PinDiameter = 12 mm

Calculated Parameters:

  • Stroke = CrankRadius × 2 (automatic)
  • SlotWidth = PinDiameter + 2 mm clearance (automatic)
  • SlotLength = Stroke + 30 mm margin (automatic)

Change crank radius → entire mechanism updates with proper clearances maintained!

Design Workflow

  1. Create parameter spreadsheet (with formulas!)

  2. Create rotating crank with eccentric pin

  3. Create yoke with horizontal slot

  4. Create guide rails for linear constraint

  5. Create base frame

  6. Assemble with motion constraints

  7. Create technical drawing

  8. Test parametric updates and verify stroke

📊 Part 3: Creating the Parameter Spreadsheet



Building Your Parameter Table

  1. Ensure Part Design workbench is active

  2. Insert a spreadsheet

    Insert → Spreadsheet

    A “Spreadsheet” object appears in the tree

  3. Double-click to open the spreadsheet

  4. Create comprehensive parameter table

    We’ll build this in the next section

Entering Parameters with Formulas

Enter header row:

CellValueMeaning
A1ParameterColumn header
B1ValueColumn header
C1UnitColumn header
D1NotesColumn header

Enter primary parameters:

CellValueUnitNotes
A2CrankRadius
B240
C2mm
D2Eccentricity - controls stroke
A3PinDiameter
B312
C3mm
D3Crank pin diameter

Close the spreadsheet when done (click the Close button).

Your parametric foundation with intelligent formulas is ready!

🔩 Part 4: Creating the Crank

Design Intent

⚙️ Crank Requirements

The crank is a rotating disk with:

  • Central shaft hole for fixed pivot mounting
  • Eccentric pin at radius r from center
  • Pin protrusion to engage yoke slot
  • Parametric control - all dimensions driven by spreadsheet

Step-by-Step: Crank Part

  1. Create a Body

    • Ensure you’re in Part Design workbench
    • Click Create Body button
    • A “Body” object appears in the tree
    • Right-click → Rename → type Crank
  2. Create a Sketch

    • Select the “Crank” body in tree
    • Click Create Sketch button
    • Dialog asks: Choose a plane
    • Select XY_Plane
    • Click OK

    You’re now in Sketcher workbench

Drawing the Crank Profile

  1. Draw the outer circle

    • Click Circle tool (or press C)
    • Click at the origin (white/yellow dot at center)
    • Move mouse outward and click to complete
    • Press Escape
  2. Add parametric radius constraint

    • Click Radius constraint tool
    • Click the circle
    • In the dimension dialog, click ƒx button
    • Type: Spreadsheet.CrankDiskRadius
    • Press Enter

    Circle now shows 60mm and will update with parameters!

Adding the Pin Protrusion

📍 Pin Design Choice

The pin needs to:

  • Protrude from the crank face
  • Engage the yoke slot
  • Be long enough to span yoke thickness

We’ll create it as a separate pad feature on the crank face.

Crank is complete with rotating disk and eccentric protruding pin!

📦 Part 5: Creating the Yoke

Design Intent

🔧 Yoke Requirements

The yoke is a sliding block with:

  • Rectangular body sized from spreadsheet
  • Horizontal slot for crank pin to slide through
  • Clearance-aware slot automatically sized from pin diameter
  • Provisions for guide engagement

Step-by-Step: Yoke

  1. Create Body

    • Create Body → Rename to Yoke
  2. Create Sketch on XY_Plane

  3. Build the yoke profile

    We’ll create this in steps below

Drawing the Yoke Profile

  1. Draw outer rectangle

    • Click Rectangle tool
    • Draw rectangle centered approximately at origin
    • Press Escape
  2. Center about origin

    You need the rectangle symmetric about both axes.

    Method 1: Symmetric constraints

    • Select left edge of rectangle
    • Select right edge of rectangle
    • Select Y-axis (vertical line through origin)
    • Click Symmetric constraint
    • Repeat for top/bottom edges about X-axis

    Method 2: Constrain center point

    • Click Coincident constraint
    • Click rectangle center point
    • Click origin
  3. Dimension width (horizontal)

    • Distance constraint
    • Click left edge
    • Click right edge
    • Click ƒxSpreadsheet.YokeWidth
    • Enter (60mm)
  4. Dimension height (vertical)

    • Distance constraint
    • Click top edge
    • Click bottom edge
    • Click ƒxSpreadsheet.YokeHeight
    • Enter (80mm)

Outer yoke body is now defined and centered!

🏗️ Part 6: Creating the Guide Rails



Design Intent

🛤️ Guide Rail Requirements

Two parallel rails that:

  • Constrain yoke to linear motion
  • Prevent rotation or lateral drift
  • Span the full yoke travel distance
  • Provide smooth sliding surfaces

Step-by-Step: Guide Rails

  1. Create Body

    • Create Body → Rename to GuideRail_Left
  2. Create Sketch on XZ_Plane (vertical plane)

    This plane is perpendicular to the yoke’s direction of travel

  3. Draw rail profile

    • Rectangle tool
    • Width: 15mm (rail width)
    • Height: 25mm (rail height)
    • Position to left side, appropriate to yoke edge
  4. Position the rail

    You want it positioned so the yoke will slide against it.

    Typical approach:

    • Distance from center: About YokeWidth/2 + small gap
    • Or position against yoke side surface
  5. Close sketch

  6. Pad along Y-axis

    • Click Pad
    • Type: Dimension
    • Length: Click ƒxSpreadsheet.GuideLength
    • Direction: Ensure it extrudes along Y (yoke travel direction)
    • Click OK

    Left guide rail created spanning 200mm!

🏭 Part 7: Creating the Base Frame

Design Intent

📐 Frame Requirements

Fixed mounting base with:

  • Crank shaft bearing mount at center
  • Guide rail mounting surfaces
  • Stable platform for entire mechanism

Step-by-Step: Frame

  1. Create Body

    • Create Body → Rename to Frame
  2. Create Sketch on XY_Plane

  3. Draw base plate

    • Rectangle tool
    • Width: 250mm
    • Height: 150mm
    • Centered at origin (use Symmetric constraints)
  4. Add crank shaft hole

    • Circle tool
    • Center at origin (or appropriate position for crank shaft)
    • Radius: Click ƒxSpreadsheet.ShaftRadius + 1 (add 1mm clearance)

    Or manually: 11mm radius for 20mm shaft + clearance

  5. Position consideration

    The shaft hole should align with where the crank will be mounted. Typically at origin or offset appropriately based on your mechanism layout.

  6. Optional: Add guide mounting features

    • Flat surfaces for guide bolts
    • Raised platforms for rail mounting
    • Keep it simple for this lesson
  7. Close sketch

  8. Pad the frame

    • Click Pad
    • Length: 20 mm (frame thickness)
    • Click OK

Frame complete!

All four parts are now ready for assembly!

🧩 Part 8: Assembly

Assembly is where individual parts become a functioning mechanism. For the Scotch yoke, we’ll fix the frame, allow the crank to rotate, and constrain the yoke to pure linear motion along the guides.

Assembly Strategy

🎯 Assembly Constraints Plan

  1. Frame: Fixed (ground reference)
  2. Crank: Rotates about shaft axis on frame
  3. Yoke: Constrained to horizontal linear motion by guide rails
  4. Pin-in-slot: Conceptual connection (pin travels within slot)

Creating the Assembly

  1. Switch to Assembly workbench

    Use workbench dropdown

    Assembly 4 or A2plus

    (Instructions assume Assembly workbench availability)

  2. Create new assembly

    Assembly → Create Assembly

  3. Add parts

    Drag from tree or use “Add Part” button:

    • Frame
    • Crank
    • Yoke
    • GuideRail_Left
    • GuideRail_Right

Motion Verification

Manually verify these positions:

Crank AnglePin PositionYoke Position
Right (+X)x = +40mm (max right)
90°Top (+Z)x = 0mm (center)
180°Left (-X)x = -40mm (max left)
270°Bottom (-Z)x = 0mm (center)
360°Right (+X)x = +40mm (returns to start)
  1. Rotate crank to 0° (pin pointing right)
  2. Position yoke at maximum right position
  3. Verify pin is in slot
  4. Repeat for other angles

📐 Part 9: Technical Drawing



Creating Professional Documentation

  1. Switch to TechDraw workbench

  2. Create a page

    • Insert Page
    • Choose template: A3_Landscape (mechanism needs space)
  3. Add assembly view

    • Insert View → Select assembly
    • Position: Front view showing slot and pin engagement
  4. Add side view

    • Insert View → Side view
    • Shows thickness of components
  5. Add section view (critical!)

    • Insert Section View → Section through yoke slot
    • Shows pin clearance within slot
    • This demonstrates the 2mm clearance design

Adding Dimensions and Annotations

Add these key dimensions:

  • Stroke: 80mm (yoke travel distance)
  • Crank radius: 40mm (pin offset from shaft center)
  • Slot width: 14mm (pin diameter + clearance)
  • Slot length: 110mm (stroke + margin)
  • Clearance: 2mm (slot width - pin diameter)

Use TechDraw dimension tools: Horizontal, Vertical, Radius

✅ Part 10: Testing Parametric Control

The true test of parametric design: changing a single parameter should intelligently update the entire mechanism while maintaining all design relationships and clearances.

Verification Tests

  1. Open Spreadsheet

    Double-click Spreadsheet in tree

  2. Change CrankRadius

    • Click cell B2
    • Type: 50
    • Press Enter
  3. Observe automatic updates

    Check these cells update automatically:

    • B4 (Stroke): Should now be 100mm (2 × 50)
    • B7 (SlotLength): Should now be 130mm (100 + 30)
    • B11 (CrankDiskRadius): Should now be 70mm (50 + 20)
  4. Recompute

    Press Ctrl+R or click Recompute button

  5. Verify geometric changes

    • Crank pin moves outward to 50mm from center
    • Yoke slot lengthens to 130mm
    • Crank disk grows to 70mm radius
    • Assembly updates!

Success! Stroke increased from 80mm to 100mm automatically!

🎓 Learning Outcomes

Congratulations! By completing this lesson, you have:

✅ Designed Slot Mechanisms

Created sliding contact geometry with clearances

✅ Implemented Formula-Based Parameters

Used spreadsheet formulas for intelligent relationships

✅ Modeled Pure Sinusoidal Motion

Created mechanism generating perfect harmonic motion

✅ Managed Clearances Parametrically

Automated clearance calculation and updates

✅ Verified Kinematic Relationships

Confirmed stroke = 2r mathematically and geometrically

✅ Documented Sliding Systems

Created technical drawings showing clearances and motion

Most importantly: You’ve mastered advanced parametric control using formulas and designed a mechanism demonstrating perfect simple harmonic motion!

🔍 Design Verification Checklist



Use this checklist to verify your design:

📊 Mathematical Analysis

Motion Equations

Position of yoke as function of crank angle:

Where:

  • = yoke position from center (mm)
  • = crank radius (40mm)
  • = crank angle (radians or degrees)

Example calculations:

(degrees) (radians)
00 mm
30°20 mm
90°40 mm
180°0 mm
270°-40 mm

🚀 Extension Challenges

Ready for more? Try these enhancements:

  1. Add fillets to yoke

    Round sharp corners for reduced stress concentration (3mm radius)

  2. Create lubrication grooves

    Add channels in slot for oil distribution

  3. Add more parameters

    Control guide rail dimensions, frame size via spreadsheet

  4. Design bearing mounts

    Add detailed shaft bearing geometry in frame

❓ Common Issues and Solutions

“Pin binds in slot”

“Slot not centered on yoke”

📚 Comparison: Scotch Yoke vs Slider-Crank

✅ Scotch Yoke Advantages

Choose Scotch yoke when:

  • Pure sinusoidal motion required - Testing machines, wave simulators
  • Compact design needed - No connecting rod, shorter overall length
  • Simple construction preferred - Fewer parts than slider-crank
  • Lower side forces acceptable - Guides handle forces, not cylinder walls
  • Low to moderate speeds - Friction manageable with lubrication

Typical applications:

  • Control valve actuators
  • Material testing (sinusoidal loading)
  • Educational demonstrations
  • Reciprocating pumps (oil-free)

What You’ve Achieved in This Lesson

Slot-Driven Mechanisms

Designed sliding contact geometry with proper clearances

Formula-Based Parameters

Used spreadsheet formulas for intelligent design automation

Simple Harmonic Motion

Created mechanism generating perfect sinusoidal motion

Advanced Parametric Control

Automated clearance calculation and relationship management

Complete Mechanism Library

🎉 Congratulations! You’ve now designed eight fundamental mechanisms:

  1. Slider Crank - Rotary to linear conversion
  2. Four-Bar Linkage - Controlled motion paths
  3. Scissor Lift - Motion amplification
  4. Toggle Clamp - Over-center locking
  5. Pantograph - Motion scaling
  6. Cam and Follower - Programmed motion
  7. Geneva Mechanism - Intermittent indexing
  8. Scotch Yoke - Pure sinusoidal motion

Skills Mastered

  • ✅ Parametric design thinking and strategy
  • ✅ Constraint-based sketching with full definition
  • ✅ Master sketch methodology for complex assemblies
  • ✅ Assembly with motion constraints and testing
  • ✅ Technical drawing generation and documentation
  • ✅ Formula-based parameter relationships
  • ✅ Design verification and testing protocols
  • ✅ Clearance management and tolerance design

Next Steps

Apply Your Skills:

Thank you for completing this course! You now have the foundation to design sophisticated mechanical systems with professional parametric CAD methodology.

Happy designing!



Comments

© 2021-2025 SiliconWit. All rights reserved.