The Geneva mechanism is a type of gear train that allows for precise, intermittent motion. It is composed of a driving wheel with a pin and a driven wheel with slots. The pin enters the slots of the driven wheel and rotates it step-by-step. The driving wheel also has an elevated half-circle, which locks the driven wheel in position between the steps. Geneva mechanisms are used in a variety of applications, including: film cameras, watches, music boxes, robotics, and medical devices.
​
In this notebook, the NDSolve, If, and Manipulate commands are used to analyze and simulate four-, five-, six-, and seven-slot Geneva mechanisms. The NDSolve command is used to solve the differential equations that describe the motion of the Geneva mechanism. The If command is used to control the flow of the simulation, and the Manipulate command is used to create interactive controls that allow the user to change the parameters of the simulation. The simulation can be used to design and optimize Geneva mechanisms for specific applications.

Geneva Mechanism Schematic View

​​Figure1.GeometricParametersoftheanalyzedGenevaMechanismwithsevenslots​​​​Nomenclature​​r1:distancemeasurementbetweenthelowerdrivenshaftandthepincenter​​Theequationforr1isr2X[t],wherer2isanotherdistancemeasurementandχ[t]isadimensionlessterm​​α:Anglebetweenthehorizontalandradiusr1​​r2:Distancebetweentheupperdrivingshaftandpincenter(40inthiscase)​​β:Anglebetweenthehorizontalandradiusr2

Kinematic Analysis

Displacement Equations

In[]:=
Clear[r2,cd,α,β,t];​​(*r1=r2χ[t]*)​​ξ=r2χ[t]Cos[α[t]]-r2Cos[β[t]]==0;(*Equationfordisplacementsalongxaxis*)​​ψ=r2χ[t]Sin[α[t]]-r2Sin[β[t]]==cd;(*Equationfordisplacementsalongzaxis*)

Velocity Equations

In[]:=
Dt[{ξ,ψ},t,Constants->{cd,r2}](*Derivingthedisplacementequations,whicharealsodifferentialequationsthatdescribevelocity*)
Out[]=
{-r2Sin[α[t]]χ[t]
′
α
[t]+r2Sin[β[t]]
′
β
[t]+r2Cos[α[t]]
′
χ
[t]0,r2Cos[α[t]]χ[t]
′
α
[t]-r2Cos[β[t]]
′
β
[t]+r2Sin[α[t]]
′
χ
[t]0}

Solving the System of Differential Equations

Entry angle β is a known input equal to time, β [t] = t, and the input angular velocity is taken as
′
β
= 1 rad/s.Equations from Velocity Equations section are rewritten so that they can be solved with NDSolve.The initial values,
α
8π
7
==
9π
14
,χ
8π
7
==Cot
π
7

, are taken from analysis of Figure 1.
In[]:=
r2=40;​​s=NDSolve-r2Sin[α[t]]χ[t]
′
α
[t]+r2Sin[t]+r2Cos[α[t]]
′
χ
[t]0,r2Cos[α[t]]χ[t]
′
α
[t]-r2Cos[t]+r2Sin[α[t]]
′
χ
[t]0,α
8π
7
==
9π
14
,χ
8π
7
==Cot
π
7
,{α,χ},t,
8π
7
,
13π
7

Out[]=
αInterpolatingFunction
Domain: {{3.59,5.83}}
Output: scalar
,χInterpolatingFunction
Domain: {{3.59,5.83}}
Output: scalar


Displacement plot

In[]:=
PlotEvaluate[{α[t]}/.s],t,
8π
7
,
13π
7
,FrameFalse,AxesLabel{"t​(s)","α(rad)"},PlotRangeAll(*Plotstheangulardisplacementofα*)
Out[]=

Manipulate

In[]:=
Out[]=
​
slots
4
5
6
7
rotate
slot size

CITE THIS NOTEBOOK

Geneva mechanism simulation​
by David Balandra​
Wolfram Community, STAFF PICKS, September 18, 2023
​https://community.wolfram.com/groups/-/m/t/3014615