fourBarLinkage
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 2.1, Creation date: 2015-02-13, Last change: 2025-09-14
multi purpose fnct for a 4-Bar-Linkage
Description
The core of this function are the two analytical solutions for the calculation of the closed 4-Bar-linkage angle. The function calculates for given link length a, b, c, d and an angle for phi-b, the two solutions for closing the linkage and returns the solution points
without an output parameter the configuration is plotted.
without input parameter wb, a drawing is created to explain the linkage
Gestell = Ground
Kurbel = Crank
Koppel = Coupler
Schwinge = Follower
See Also: , fourbarlinkage
Example Illustration
Syntax
[C,s,D1,D2,wb,wa1,wa2]=fourBarLinkage(a,b,c,d,[wb,k1,k2])
Input Parameter
a: | | ground distance; alternative Point 1 |
b: | | crank length; alternative Point 2 |
c: | | coupler length; alternative Point 3 |
d: | | Follower length; alternative Point 4 |
wb: | | rotation angle at a/b |
k1: | | C+k1*(D1-C) |
k2: | | orthogonal to k1 in mm |
Output Parameter
C: | | Point C |
s: | | solution exist or not |
D1: | | Point D1 |
D2: | | Point D2 |
wb: | | rotation angle at a/b |
wa1: | | rotation angle at a/d (solution 1) |
wa2: | | rotation angle at a/d (solution 2) |
Examples
To see the use simply try
fourBarLinkage (30,40,30,20);
fourBarLinkage (30,40,30,20,[],0.5);
fourBarLinkage (30,10,30,20,[],0.5);
Copyright 2015-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21