1.
Patent Search---> Importance (How to search the Patent) Intellectual Property
Rights
2. Mention Specification for the mechanism
3. Computer Aided Mechanism Analysis (Displacement Analysis -> Velocity Analysis ->
Acceleration Analysis)
4. For angle, we need to use the (atan2) function, not (atan) function i.e. theta4
= atan2(numerator, denominator)
Q. In a 4-bar mechanism the dimensions of the links are given as:
Crank = 2cm, Coupler = 3.5cm, Follower = 4cm, Fixed link = 1cm; The crank
rotates at uniform w of 5 rad/s in CCW
Plot the Time History of angular disp, angular vel and angular accln of follower
and coupler
import numpy as np
r1 = 1
r2 = 2
r3 = 3.5
r4 = 4
theta2_deg = float(input("Enter theta2 in degrees: "))
th2 = np.deg2rad(theta2_deg)
Bx = r2 * [Link](th2)
By = r2 * [Link](th2)
d = [Link]((r1 - Bx)**2 + (0 - By)**2)
delta = [Link]((r3**2 + d**2 - r4**2) / (2 * r3 * d))
phi = np.arctan2(-By, r1 - Bx)
theta3 = phi - delta
Cx = Bx + r3 * [Link](theta3)
Cy = By + r3 * [Link](theta3)
theta4 = np.arctan2(Cy, Cx - r1)
print("For theta2 = {} degrees:".format(theta2_deg))
print("Computed theta3 = {:.2f} degrees".format(np.rad2deg(theta3)))
print("Computed theta4 = {:.2f} degrees".format(np.rad2deg(theta4)))