Skip to content
You Start with one site
Amounts in Start with one site
Mechanical Engineering & Design · Course

Scotch Yoke Mechanism

Lesson 8 of 10 33 min read
Made with FreeCAD 1.1checked November 2026Newer version?
Stays the same
  • Sketches, constraints and degrees of freedom
  • Design intent: spreadsheet, sketch, feature, assembly
  • Part Design features: pad, pocket, revolve, fillet
  • Drawings from the model, not drawn by hand
May look different
  • Menu and toolbar places
  • The Assembly workbench, new in 1.0 and growing fast
  • Dialog layouts and default settings

A step looks different? Hover the toolbars, or use the menu of the workbench named in the step. The command name is the part that stays.

The ideas in this lesson do not depend on the version. Where a click moved, the lesson still names the command.

Found this useful?

A slider-crank mechanism converts rotation to reciprocating motion, but the output is only approximately sinusoidal, and the approximation worsens at higher crank-to-rod ratios. When you need pure harmonic motion for vibration testing, shaker tables, or precision pumps, even small deviations introduce unwanted harmonics that corrupt measurements or reduce efficiency. The Scotch yoke produces mathematically perfect sinusoidal output because the slider tracks a pin moving in a circular path through a straight slot. In this lesson you will design a Scotch yoke in FreeCAD with slot-driven kinematics 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



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.

Scotch Yoke Mechanism

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 ƒx → Spreadsheet.YokeWidth
    • Enter (60mm)
  4. Dimension height (vertical)

    • Distance constraint
    • Click top edge
    • Click bottom edge
    • Click ƒx → Spreadsheet.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 ƒx → Spreadsheet.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 ƒx → Spreadsheet.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
0°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)
0°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

Loading comments...
© 2021-2026 SiliconWit®. All rights reserved.
Predict first

The crank of a Scotch yoke turns at constant speed. Where in its stroke does the yoke move fastest?

the yoke moves like the shadow of the pin shadowits height: a pure sinelight
See it: a pure sine, and how far a slider crank is from it

Yoke position x = r sin θ
Largest gap of the slider crank from the sine
Yoke speed v = r ω cos θ
Yoke acceleration a = −r ω² sin θ
Stroke = 2r
Peak acceleration: yoke, slider crank

The start values are the lesson's: a crank radius of 40 mm, a 12 mm pin, a yoke of 2r + 60 mm with a slot of 2r + 30 mm, guide rails 200 mm long and a crank speed of 2 rad/s. The crank angle θ is counted from the pin pointing right, along the slot. The graph has the same height scale as the drawing, so the dashed line joins the yoke to its point on the curve. The gold line is a slider crank with the same crank and a connecting rod l, measured from the middle of its stroke: it is not a sine, and the gap shrinks as the rod gets longer.

Check yourself

Three questions. Each wrong choice is a mistake people really make, so read the note after you answer.

1. The lesson's yoke (crank radius 40 mm) runs at 10 rad/s, and its peak acceleration is 4.0 m/s². You double the crank speed to 20 rad/s. What is the peak acceleration now, and so the peak force needed to move the yoke?

2. A Scotch yoke and a slider crank have the same 40 mm crank; the slider crank has a 120 mm connecting rod. Both cranks point at a right angle to the line of travel. The yoke is then exactly in the middle of its stroke. Where is the slider?

3. For a crank radius of 50 mm and a 12 mm pin, a student makes the slot exactly as long as the stroke, 100 mm. What happens?

Coming here first?

This lesson assumes four skills. Each link opens the part that teaches it:

Words used here
  • Crank: the turning disk; its pin is the crank radius r from the axis
  • Yoke: the block with the slot; it slides on the rails
  • Stroke: how far the yoke travels end to end, 2r
  • Simple harmonic motion: a back and forth that follows a sine exactly
  • Lost motion: how far one part moves before it moves the other, from the gap between them
  • Rail, ledge: the guide beside the yoke, and the step it slides on
  • Pocket: the Part Design tool that cuts a sketch out of a solid
  • Pressed in: a shaft in a hole of its own size: it turns with the part
  • Clearance: a gap of 0.2 mm, so parts slide or turn without binding
  • Fit, section, GD&T: used on the drawing at the end. Five minutes each: limits and fits, section views, GD&T basics
PartJob
CrankA disk with a pin 40 mm from its axis
YokeA block with a slot the pin runs in; it slides on the rails
FrameA plate on four feet, a boss for the shaft, two rails with a ledge
ShaftPressed into the crank, turning in the frame, a knob under the plate

This build changes two cells and adds one. Add Clearance in row 16, value 0.2, with its alias. Then:

CellFormulaWhy
SlotWidth=PinDiameter + 2 * Clearance12.4 mm. The 14 mm slot lets the yoke move 2 mm with the crank held: at each end of the stroke the crank turns before the yoke moves back
GuideLength=2 * (CrankRadius + YokeHeight / 2) + 40Still 200 mm here, but it grows with the stroke: with CrankRadius 80 the typed 200 lets the yoke run 20 mm off its rails

This build makes the rails and the frame as one body, as the lesson's "alternative approach" suggests: Part 7 below draws both. The rails now have a ledge: the yoke slides on it, 0.5 mm above the crank disk, and a wall 0.2 mm from its side keeps it straight.

A plate on four feet, so the shaft can go down through it to a knob underneath. The yoke covers the crank's axis at every angle, so there is no room for a knob on top.

  1. Create body, rename it Frame. Hide the crank and the yoke. Create sketch on XY_Plane.
  2. Rectangle round the origin. Symmetric: two opposite corners, then the origin. Width ƒx Spreadsheet.YokeWidth + 60, height ƒx Spreadsheet.GuideLength + 20. Check: Fully constrained. Close.
  3. Pad 10 mm. Check: a plate 200 × 220 mm.
  4. Click the plate's top face, Create sketch: a circle on the origin, radius 20. Close. Pad 2 mm: the boss the crank sits on.
  5. Click the boss's top, Create sketch: a circle on the origin, radius ƒx Spreadsheet.ShaftRadius. Close. Pocket, Type Through all: the bore.
  6. Create sketch on XZ_Plane (you look at the frame from the front). Draw the right rail's section with Polyline, six corners, and fix each with horizontal and vertical distances from the origin (W is half the yoke's width, 70 mm):
Cornerx, z (mm)
1, ledge inside, bottomW − 8, 10
2, outside, bottomW + 15, 10
3, outside, topW + 15, 52
4, wall, topW + 0.2, 52
5, wall, ledgeW + 0.2, 27.5
6, ledge inside, topW − 8, 27.5

Type each with ƒx so the rails follow the spreadsheet: W is Spreadsheet.YokeWidth / 2, 0.2 is Spreadsheet.Clearance, 27.5 is 12.5 + Spreadsheet.CrankThickness, 52 is 12.5 + Spreadsheet.CrankThickness + Spreadsheet.YokeThickness + 4.5.

  1. Draw the left rail the same way, with every x negative. Check: Fully constrained, two closed sections. Close.
  2. Pad: Length ƒx Spreadsheet.GuideLength, tick Symmetric to plane. Check: two rails 200 mm long, joined to the plate.
  3. Click the plate's bottom face, Create sketch: four squares 20 × 20 mm, each centred under a rail's outer edge, 5 mm in from the rail's end (x ±85, y ±95). Close. Pad 40 mm: the feet.
The frame: a grey plate on four square feet, a low round boss with a bore in the middle, and a rail along each side with a step on its inner face.
Check it. Body Frame: Pad, Pad, Pocket, Pad, Pad. The ledges stand 2 mm clear of the crank disk's edge.

Shaft

Create body Shaft, sketch on XZ_Plane, Polyline through 0,0 · 20,0 · 20,15 · 9.9,15 · 9.9,37 · 10,37 · 10,52 · 0,52, fix the points, Revolution about V_Axis, then Fillet 3 on the knob's bottom edge. Below the step at 37 the shaft is 19.8 across and turns in the bore; above it, 20 across, it is pressed into the crank and ends flush with its top.

The teal crank disk with a pin standing on it near the rim and a hole in the middle; beside it the black shaft with a round knob at its lower end.
Check it. Body Crank (Part 4): Pad, Pad. Body Shaft: Revolution, Fillet.
  1. In the workbench list, pick Assembly. Create Assembly. Insert Component (I): Frame, Crank, Yoke, Shaft.
  2. Select Frame, Toggle Grounded (G).
  3. Revolute (R): the top edge of the bore in the boss, then the crank's shaft hole, bottom edge. Check: the crank lies on the boss.
  4. Fixed (F): the crank's shaft hole, bottom edge, then the shaft's step edge, where it goes from 19.8 to 20. Check: the knob is under the plate.
  5. Distance (D): the top face of the right rail's ledge, then the yoke's bottom face. Distance 0. Check: the yoke lies on the ledges, 0.5 mm above the crank disk.
  6. Distance: the right rail's wall, then the yoke's right side face. Distance −0.2 mm. Check: 0.2 mm between the yoke and each wall.
  7. Turn the crank to the angle you want, then drag the yoke along the rails until the pin sits in the middle of the slot.

A part on the wrong side of a face: change the sign of that joint's Distance. FreeCAD 1.1 measures it along the first part picked. FreeCAD has no pin-in-slot joint, so the yoke keeps one movement, along the rails. A Distance joint from the slot's face to the pin's round face did not move the yoke in our FreeCAD 1.1.4 test, so this build leaves it out.

Checked on this build: we turned this model a full crank turn in FreeCAD 1.1, every 2°, with the yoke slid each time until the pin, found from the crank's own shape, sat in the middle of the slot. The yoke was at 40 sin θ to a millionth of a millimetre at every angle: 20.000 mm at 30°, 40.000 at 90°, a stroke of 80.000 mm. Its motion has no second or third harmonic: it is pure sine. No two parts touched; the yoke rides 0.5 mm over the crank disk and 0.2 mm from each rail wall, the pin stops 9 mm short of each slot end, and the yoke stays 20 mm inside the rails' ends at full travel. With the crank held, the yoke can move 0.4 mm: that is the lost motion at each reversal (2.0 mm with the lesson's 14 mm slot).

Ours, to compare with yours. Open Parts and hide the yoke to see the crank pin in its slot.

The scotch yoke: four parts. Drag to turn, pinch or scroll to zoom. Open in the full viewer.

Checked in FreeCAD 1.1 on this build: Test 1 (CrankRadius 50), Test 2 (PinDiameter 16) and Test 3 (20 and 8; 80 and 20) each rebuild with every feature valid, the yoke at r sin θ over a full turn, nothing touching, the crank disk 2 mm clear of the ledges and the yoke 20 mm inside the rails' ends. With the lesson's typed GuideLength of 200, Test 3 large runs the yoke 20 mm off its rails, and the typed 55 mm joint of the old Part 8 put the Test 1 yoke into a rail.

The model you build, one crank turn: the yoke travels 80 mm and back, exactly 40 sin θ.

Make it buildable: the drawing

A workshop cannot make the Scotch yoke from the 3D model alone. It needs one sheet with the sizes, the limits on the sizes that matter, and a cut through the crank pin that shows it in the slot. Here is that sheet, and the TechDraw steps to make it.

  1. Page. Workbench TechDraw, Insert Page using Template, A3_Landscape_ISO5457_advanced.svg. Fill the title block.
  2. Plan. Select the assembly, Insert View, direction Top, scale 0.5, turned so the yoke slides across the page. It shows the slot, the rails and the crank, and carries the balloons.
  3. Section A-A. Select the plan, Insert Section View, plane across the slot through the axis of the crank pin, symbol A, scale 1. Place it above the plan: in first angle, this is the front view.
  4. Hatching. Set Cut Surface Display to Hide and hatch each cut part with Apply Geometric Hatch to Face: the frame one way, the crank the other. The pin is part of the crank, so it is hatched with it. The yoke touches both: give it closer lines.
  5. Item list and balloons. A spreadsheet ItemList, then Insert Spreadsheet View. Insert Balloon Annotation for items 1 to 4.
  6. Fits. In the section, pin ⌀12 h7 and slot 12.4 H8; under the plate, ⌀20 H7/p6, bore ⌀20 H8 and shaft ⌀19.8 h7. In the plan, the yoke and rail widths with their limits in the dimension's tolerance fields.
  7. Frames. Insert SVG Symbol from Symbols/gd-and-t for the three frames below, and datum A on the feet. Then Export Page as PDF.
The A3 assembly drawing of the Scotch yoke. Top: section A-A at 1 to 1 through the crank pin, with the frame, the crank and its pin, and the yoke hatched, the shaft and knob below the plate, the callouts pin diameter 12 h7, slot 12.4 H8, diameter 20 H7/p6, bore diameter 20 H8 and shaft diameter 19.8 h7, a perpendicularity frame on the bore, a parallelism frame on the ledges, datum A on a foot and the height 92. Below it the plan at 1 to 2 with the yoke between the rails, the cutting line, the widths 140 and 140.4 with their limits, the overall 220 by 200, balloons and a perpendicularity frame on the rail walls. Right: the item list of four items and the GD&T notes; bottom left the fit notes; the ISO title block.
The finished drawing (click for the PDF). Made in FreeCAD.

The crank is pressed onto the shaft; the shaft turns in the frame on 19.8 mm, which passes through the crank's bore first. The pin slides in the slot with 0.4 mm to spare, and the yoke slides between the rail walls.

WhereFitHole, mmShaft, mmGap, mm
Crank on the shaft⌀20 H7/p6, pressed20.000 to 20.02120.022 to 20.035−0.035 to −0.001 (interference)
Shaft in the frame⌀20 H8 on ⌀19.8 h7, turning20.000 to 20.03319.779 to 19.8000.200 to 0.254 (clearance)
Pin in the slotslot 12.4 H8 on pin ⌀12 h7, sliding12.400 to 12.42711.982 to 12.0000.400 to 0.445 (clearance)
Yoke between the rails140 (0/−0.1) in 140.4 (+0.1/0), sliding140.4 to 140.5139.9 to 140.00.4 to 0.6 (clearance)
FrameOnWhy
Datum Athe feet of the framethe faces the machine stands on
⊥ ⌀0.05 | Athe bore, ⌀20 H8the crank turns flat on its boss
∥ 0.05 | Athe two ledgesthe yoke slides level, 0.5 mm clear of the crank disk all the way
⊥ 0.05 | Athe two rail wallsthe yoke slides without climbing or twisting

Check: the cut runs through the pin; the frame, the crank with its pin and the yoke are told apart by direction or spacing of the lines; the shaft below the plate is plain; the widths 140 and 140.4 carry their limits.

Found this useful?

Discussion

    Comments show your name. Be kind, stay on the topic.