Team:University of Washington/Modeling
From 2009.igem.org
(Difference between revisions)
(New page: <html> <head> <style> #globalWrapper { margin: 0px; padding: 0px; background-color:#500050; } #content{ background:#FFdd00; border-left-color:#FFdd00; border-right-co...) |
|||
Line 1: | Line 1: | ||
+ | {| style="color:Gold;background-color:#500050;border: none" cellpadding="4" cellspacing="5" border="5" width="99%" align="center" | ||
+ | !align="center";style="border: none;" |[[Image:WashingtonColorSeal-21-clip.gif|50px]] | ||
+ | !align="center"; style="border: #6b0c6a inset 3px;" |[[Team:University_of_Washington|<font color="gold">Home</font>]] | ||
+ | !align="center"; style="border: #6b0c6a outset 3px;" |[[Team:University_of_Washington/Team|<font color="gold">The Team</font>]] | ||
+ | !align="center"; style="border: #6b0c6a outset 3px;" |[[Team:University_of_Washington/Project|<font color="gold">The Project</font>]] | ||
+ | !align="center"; style="border: #6b0c6a outset 3px;" |[[Team:University_of_Washington/Modeling|<font color="gold">Modeling</font>]] | ||
+ | !align="center"; style="border: #6b0c6a outset 3px;" |[[Team:University_of_Washington/Notebook|<font color="gold">Notebook</font>]] | ||
+ | !align="center"; style="border: #6b0c6a outset 3px;" |[[Team:University_of_Washington/Protocols|<font color="gold">Protocols</font>]] | ||
+ | !align="center"; style="border: #6b0c6a outset 3px;" |[[Team:University_of_Washington/Parts|<font color="gold">Parts Submitted <br>to the Registry</font>]] | ||
+ | !align="center"; style="background-color:#03943d;border: #6b0c6a outset 3px;" |[[Team:University_of_Washington/Measurement Kit|<font color="gold">Measurement Kit</font>]] | ||
+ | !align="center"; style="background-color:#c42317;border: #6b0c6a outset 3px;" |[[Team:University_of_Washington/SeToB|<font color="gold">SeToB</font>]] | ||
+ | !align="center"; style="border: #6b0c6a outset 3px;" |[[Team:University_of_Washington/Safety|<font color="gold">Safety</font>]] | ||
+ | |} | ||
+ | |||
+ | {|style="color:Gold;background-color:#FFdd00; border: none" cellpadding="5" cellspacing="5" border="0" width="99%" align="center" | ||
+ | |||
<html> | <html> | ||
<head> | <head> |
Revision as of 21:38, 7 October 2009
Home | The Team | The Project | Modeling | Notebook | Protocols | Parts Submitted to the Registry | Measurement Kit | SeToB | Safety |
---|
Contents |
Mathematical Modeling
Alpha
Problem
Given the following construction and point p, or (x,y,z) find the angles θ1, θ2, and θ3.
Note that positive z is the down direction.
Constants
- TR
- Top radius
- BR
- Bottom radius
- L
- Linkage
- CA
- Control Arm
- φ1 and φ2
- Two angles
Construction
From the top to the bottom:
- A circle centered at the origin with radius TR, named O
- Make three lines A1, A2, and A3 such that:
- The lines Ax are perpendicular to a tangent of O and a radius of O,
- The angle between the radii of A1 and A2 is φ1, and
- The angle between the radii of A2 and A3 is φ2.
- Make a circle centered at point p with radius BR, named P
- Find three points P1, P2, and P3 such that:
- They are on the circumference of P,
- The angle between the radius which touches P1 and the radius that touches P2 is φ1,
- The angle between the radius which touches P2 and the radius that touches P3 is φ2,
- The ray from the center of P to Px is parallel to the ray from the center of O to the point which is on Ax and O 's circumference, for all x.
- Construct three line segments CA1, CA2, and CA3 such that:
- CAx is in the same plane as Ax, for all x, and
- The angle between CAx and Ax is θx, for all x.
- The distance between Px and the end point of CAx that is not on Ax is L, for all x.
Solution
- Note that the control arms can only move in a circle, while linkage can move in a sphere.
- We will calculate θ1 first, which only involves the points, circles and lines p, CA1, A1, and P1.
- Find the plane where CA1 's circle resides in. Use it to cut the sphere around P1. For future reference, call CA1 's circle C1 and the circle resulting from the cut C2
- Define xo1, for x offset, for the difference in the x coordinates of the center of C1 and the point P1.
- xo1 = TR - (BR + x)
- xo1 = TR - BR - x
- Define D1 to be the distance between the center of C1 and C2. It will also be the line connecting the centers.
- D1 = sqrt(x12 + z2)
- Obviously, D1, CA1, and linkage form a triangle. The angle between CA1 and D1 is a close approximation to θ1, but it is not exact. We will call this angle θ11. We use the law of cosines to calculate θ11.
- L2 = CA2 + D2 - CA * D * cos(θ11)
- θ11 = cos-1((D2 + CA2 - L2)/(2*D*CA))
- L2 = CA2 + D2 - CA * D * cos(θ11)
- One endpoint of D1 is on A1. Thus, we can make another triangle, and the angle between D1 and A1 is the difference between θ1 and θ11. We will call this angle θ12. If we have the length of the side on A1 be z, then the last side will be xo and the triangle will be a right angle triangle. Since only xo1 changes sign in the good interval, we should use a trigonometric function that involves xo in the numerator. Thus,
- θ12 = sin-1(xo1/D1)
- θ1 = cos-1((D2 + CA2 - L2)/(2*D*CA)) - sin-1(xo1/D1)
- θ12 = sin-1(xo1/D1)
- You just have to rotate the model φ1 degrees counterclockwise for θ2, and another φ2 degrees for θ3 using the two dimensional rotational matrixes
{cos(φ2),-sin(φ2)} R1={ } {sin(φ2) cos(φ2)}
{cos(φ3) -sin(φ3)} R2={ } {sin(φ3) cos(φ3)}