...
Next are some plots of the angular motion of link 3, to which the pen is fixed in the model. This motion is plotted with respect to the angle of the input link, theta_2.
Figure 1213. Angular velocity and acceleration of link 3.
Now, I wanted to incorporate the rotation of the paper on the platter, to get a full simulation of the path of the pen in the prototype. I also wanted to see how the results from the simulation matched up with those of the prototype. To get similar results from the prototype and the simulation, a relationship must first be established between the rotation of the platter and the rotation of the input link. In the prototype, this was a relatively simple task: the speed of the stepper motor was programmed in the Arduino code, and the speed of the DC motor varied roughly linearly with the input voltage. Thus, I was able to get a ratio of the RPM value of the DC motor to the RPM value of the stepper motor. To match this relationship in the simulation, I programmed the ratio between the input link's and the platter's total rotation in degrees to match the RPM ratio from the motors. Since the program runs for a fixed number of iterations, the different total rotation values for the platter and input link were each divided into an equal number of partitions, thus ensuring that the relationship was roughly equal between the prototype and the simulation.
Figure 14. Simulation and Prototype results for 3:1 ratio between input link and platter.
View file name 3_1.mp4 height 250 View file name 3_1_prototype.mp4 height 250
A video of the prototype and the animation are also available above for the 3:1 ratio between the input link speed and the platter speed. Note that in the prototype, this ratio was accomplished by using the small 12-tooth gear between the input gear and the platter, which inherently have a 1:3 gear ratio. Thus, when linked via the 12-tooth gear, the speed reduction from the input gear to the platter is 1:3. As one can see from the images, the pattern from the prototype and simulation match up reasonably well. I believe the discrepancies between the two patterns can be explained by the gear ratio in the prototype not being precisely 3:1 due to inaccuracies in the speed of the DC motor.