diff --git a/stewart-architecture.html b/stewart-architecture.html index 1bb3ad2..30725ac 100644 --- a/stewart-architecture.html +++ b/stewart-architecture.html @@ -4,7 +4,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Stewart Platform - Definition of the Architecture @@ -246,31 +246,16 @@ for the JavaScript code in this tag. } /*]]>*///--> - - + +
@@ -283,102 +268,102 @@ for the JavaScript code in this tag.

Table of Contents

-
-

Compute the orientation of the Joints

-
+
+

Compute the orientation of the Joints

+
stewart.FRa = zeros(3,3,6);
 stewart.MRb = zeros(3,3,6);
@@ -1141,11 +1126,11 @@ stewart.MRb = zeros(3,3,6);
 
-
-

5.5 initializeStewartPose: Determine the initial stroke in each leg to have the wanted pose

+
+

5.5 initializeStewartPose: Determine the initial stroke in each leg to have the wanted pose

- +

@@ -1153,9 +1138,9 @@ This Matlab function is accessible here

-
-

Function description

-
+
+

Function description

+
function [stewart] = initializeStewartPose(stewart, args)
 % initializeStewartPose - Determine the initial stroke in each leg to have the wanted pose
@@ -1179,9 +1164,9 @@ This Matlab function is accessible here
 
-
-

Optional Parameters

-
+
+

Optional Parameters

+
arguments
     stewart
@@ -1193,9 +1178,9 @@ This Matlab function is accessible here
 
-
-

Use the Inverse Kinematic function

-
+
+

Use the Inverse Kinematic function

+
[Li, dLi] = inverseKinematics(stewart, 'AP', args.AP, 'ARB', args.ARB);
 
@@ -1206,11 +1191,11 @@ stewart.dLi = dLi;
 
-
-

5.6 initializeCylindricalPlatforms: Initialize the geometry of the Fixed and Mobile Platforms

+
+

5.6 initializeCylindricalPlatforms: Initialize the geometry of the Fixed and Mobile Platforms

- +

@@ -1218,9 +1203,9 @@ This Matlab function is accessible -

Function description

-
+
+

Function description

+
function [stewart] = initializeCylindricalPlatforms(stewart, args)
 % initializeCylindricalPlatforms - Initialize the geometry of the Fixed and Mobile Platforms
@@ -1252,9 +1237,9 @@ This Matlab function is accessible 
-

Optional Parameters

-
+
+

Optional Parameters

+
arguments
     stewart
@@ -1270,9 +1255,9 @@ This Matlab function is accessible 
-

Create the platforms struct

-
+
+

Create the platforms struct

+
platforms = struct();
 
@@ -1294,9 +1279,9 @@ platforms.Mpi = diag([1/12 
 
-
-

Save the platforms struct

-
+
+

Save the platforms struct

+
stewart.platforms = platforms;
 
@@ -1305,11 +1290,11 @@ platforms.Mpi = diag([1/12
-
-

5.7 initializeCylindricalStruts: Define the inertia of cylindrical struts

+
+

5.7 initializeCylindricalStruts: Define the inertia of cylindrical struts

- +

@@ -1317,9 +1302,9 @@ This Matlab function is accessible h

-
-

Function description

-
+
+

Function description

+
-
-

Optional Parameters

-
+
+

Optional Parameters

+
-
-

Create the struts structure

-
+
+

Create the struts structure

+
struts = struct();
 
@@ -1404,11 +1389,11 @@ struts.Msi = zeros(3, 3, 6);
 
-
-

5.8 initializeStrutDynamics: Add Stiffness and Damping properties of each strut

+
+

5.8 initializeStrutDynamics: Add Stiffness and Damping properties of each strut

- +

@@ -1416,9 +1401,9 @@ This Matlab function is accessible here<

-
-

Function description

-
+
+

Function description

+
-
-

Optional Parameters

-
+
+

Optional Parameters

+
arguments
     stewart
-    args.Ki (6,1) double {mustBeNumeric, mustBePositive} = 1e6*ones(6,1)
-    args.Ci (6,1) double {mustBeNumeric, mustBePositive} = 1e1*ones(6,1)
+    args.Ki (6,1) double {mustBeNumeric, mustBeNonnegative} = 1e6*ones(6,1)
+    args.Ci (6,1) double {mustBeNumeric, mustBeNonnegative} = 1e1*ones(6,1)
 end
 
-
-

Add Stiffness and Damping properties of each strut

-
+
+

Add Stiffness and Damping properties of each strut

+
stewart.Ki = args.Ki;
 stewart.Ci = args.Ci;
@@ -1465,11 +1450,11 @@ stewart.Ci = args.Ci;
 
-
-

5.9 initializeJointDynamics: Add Stiffness and Damping properties for spherical joints

+
+

5.9 initializeJointDynamics: Add Stiffness and Damping properties for spherical joints

- +

@@ -1477,9 +1462,9 @@ This Matlab function is accessible here<

-
-

Function description

-
+ -
-

Optional Parameters

-
+
+

Optional Parameters

+
arguments
     stewart
-    args.Kri (6,1) double {mustBeNumeric, mustBePositive} = zeros(6,1)
-    args.Cri (6,1) double {mustBeNumeric, mustBePositive} = zeros(6,1)
+    args.Kti (6,1) double {mustBeNumeric, mustBeNonnegative} = zeros(6,1)
+    args.Cti (6,1) double {mustBeNumeric, mustBeNonnegative} = zeros(6,1)
+    args.Kbi (6,1) double {mustBeNumeric, mustBeNonnegative} = zeros(6,1)
+    args.Cbi (6,1) double {mustBeNumeric, mustBeNonnegative} = zeros(6,1)
 end
 
-
-

Add Stiffness and Damping properties of each strut

-
+
+

Add Stiffness and Damping properties of each strut

+
-
stewart.Kri = args.Kri;
-stewart.Cri = args.Cri;
+
stewart.Kti = args.Kti;
+stewart.Cti = args.Cti;
+stewart.Kbi = args.Kbi;
+stewart.Cbi = args.Cbi;
 
@@ -1536,7 +1529,7 @@ stewart.Cri = args.Cri;

Author: Dehaeze Thomas

-

Created: 2020-01-28 mar. 17:18

+

Created: 2020-01-29 mer. 16:49

diff --git a/stewart-architecture.org b/stewart-architecture.org index a193f37..2bf5fc5 100644 --- a/stewart-architecture.org +++ b/stewart-architecture.org @@ -145,7 +145,7 @@ The global stiffness and damping of the Stewart platform depends on its geometry Each Actuator is modeled by 3 elements in parallel (Figure [[fig:stewart_platform_actuator]]): - A spring with a stiffness $k_{i}$ - A dashpot with a damping $c_{i}$ -- An ideal force actuator +- An ideal force actuator generating a force $\tau_i$ #+name: fig:stewart_platform_actuator #+caption: Model of the Stewart platform actuator @@ -814,8 +814,8 @@ This Matlab function is accessible [[file:src/initializeStrutDynamics.m][here]]. #+begin_src matlab arguments stewart - args.Ki (6,1) double {mustBeNumeric, mustBePositive} = 1e6*ones(6,1) - args.Ci (6,1) double {mustBeNumeric, mustBePositive} = 1e1*ones(6,1) + args.Ki (6,1) double {mustBeNumeric, mustBeNonnegative} = 1e6*ones(6,1) + args.Ci (6,1) double {mustBeNumeric, mustBeNonnegative} = 1e1*ones(6,1) end #+end_src @@ -849,13 +849,17 @@ This Matlab function is accessible [[file:src/initializeJointDynamics.m][here]]. % % Inputs: % - args - Structure with the following fields: - % - Kri [6x1] - Rotational Stiffness for each spherical joints [N/rad] - % - Cri [6x1] - Damping of each spherical joint [N/(rad/s)] + % - Kbi [6x1] - Rotational Stiffness for each top spherical joints [N/rad] + % - Cbi [6x1] - Damping of each top spherical joint [N/(rad/s)] + % - Kti [6x1] - Rotational Stiffness for each bottom universal joints [N/rad] + % - Cti [6x1] - Damping of each bottom universal joint [N/(rad/s)] % % Outputs: % - stewart - updated Stewart structure with the added fields: - % - Kri [6x1] - Rotational Stiffness for each spherical joints [N/rad] - % - Cri [6x1] - Damping of each spherical joint [N/(rad/s)] + % - Kbi [6x1] - Rotational Stiffness for each top spherical joints [N/rad] + % - Cbi [6x1] - Damping of each top spherical joint [N/(rad/s)] + % - Kti [6x1] - Rotational Stiffness for each bottom universal joints [N/rad] + % - Cti [6x1] - Damping of each bottom universal joint [N/(rad/s)] #+end_src *** Optional Parameters @@ -865,8 +869,10 @@ This Matlab function is accessible [[file:src/initializeJointDynamics.m][here]]. #+begin_src matlab arguments stewart - args.Kri (6,1) double {mustBeNumeric, mustBePositive} = zeros(6,1) - args.Cri (6,1) double {mustBeNumeric, mustBePositive} = zeros(6,1) + args.Kti (6,1) double {mustBeNumeric, mustBeNonnegative} = zeros(6,1) + args.Cti (6,1) double {mustBeNumeric, mustBeNonnegative} = zeros(6,1) + args.Kbi (6,1) double {mustBeNumeric, mustBeNonnegative} = zeros(6,1) + args.Cbi (6,1) double {mustBeNumeric, mustBeNonnegative} = zeros(6,1) end #+end_src @@ -875,8 +881,10 @@ This Matlab function is accessible [[file:src/initializeJointDynamics.m][here]]. :UNNUMBERED: t :END: #+begin_src matlab - stewart.Kri = args.Kri; - stewart.Cri = args.Cri; + stewart.Kti = args.Kti; + stewart.Cti = args.Cti; + stewart.Kbi = args.Kbi; + stewart.Cbi = args.Cbi; #+end_src * Bibliography :ignore: