Professional Documents
Culture Documents
Mec623 Scotch Yoke Technical Report
Mec623 Scotch Yoke Technical Report
SYSTEM IDENTIFICATION
Class:
EM220 - 7F1
Lecturer:
AUGUST 2022
0
Table Of Content
1.0 INTRODUCTION 1
1.1 Literature Review 3
1.2 Problem statement 3
1.3 Objectives 3
1.4 Scope and limitations 4
2.0 DETAILED PRODUCT 5
2.1 List of components 5
2.2 List of Materials and Costing 8
4.0 MODEL DEVELOPING 13
4.1 3D Model Design 13
4.2 Final Assembly Design 14
4.2 Detail Drawing for Fabrication Process 15
5.0 ARDUINO CODING 22
6.0 RESULTS 27
6.1 Theoretical calculation 27
6.2 Experimental result 28
7.0 DISCUSSION 30
8.0 CONCLUSION 32
9.0 REFERENCES 33
10.0 APPENDIX 34
List of Figures
List of Tables
In the Scotch Yoke mechanism, as the cranks spin, the pin or slider connected to the crank starts
to slide into the yoke causing the yoke to move. When the crank's pins are at the top and the
crank rotates clockwise, the yolk will be displaced forward. The maximum displacements of the
yoke will be equivalent to the crank lengths. When the crank has completed one-quarter of its
revolution, the yoke reverses its movement and begins to move backward, continuing to move
backward until the crank is at its most left position.
1
Figure 2: Variables in Scotch Yoke mechanism
𝑉 = 𝑟⍵𝑠𝑖𝑛𝛳
2
𝑑𝑣
𝐴= 𝑑𝑡
The Scotch Yoke Device is a very simple mechanism for converting a slider's linear motion into
motility motion or vice versa. The Scotch Yoke Mechanism moves in such a way that it
generates pure simple harmonic motion when it is driven by a crank or eccentric (Shanmugam et
al., 2019). In the real application of high-pressure gas and oil pipelines, scotch yoke is the crucial
mechanism that is being utilized in the control valve actuators as well as in different internal
combustion engines like in Bourke engine and SyTech engine. The major benefits of utilizing a
scotch yoke are reduced friction, vibration, piston wear and decreased engine dimensions since
the lateral force on the piston is not created in this mechanism (Arakelian et al., 2016).
To design and fabricate a working model of scotch yoke application with integration of arduino
in order to determine the angular velocity of disk, and acceleration of slider.
1.3 Objectives
● To determine the value of angular velocity of crank and acceleration of slider from
experimental procedure and compare them with the theoretical values.
● To develop a Scotch Yoke system that can be integrated with the Arduino system for
automatic mechanism and data collection.
● To provide a conclusive summary and conclusion of the system model
3
1.4 Scope and limitations
The scope of this project is to fabricate a scotch yoke mechanism that can be integrated with the
Arduino system to generate a value of angular velocity of disk and acceleration of slider. The
results obtained from the experimental procedure then are compared with the theoretical values.
Components of the scotch yoke mechanism like a crank, slider, sliding pin, base and other
support parts will be printed from PLA filament using a 3D printer with FDM technology at
SEA-IC lab. However, the availability to use the 3D printer is limited because many students
also use that machine for their project. Since the printing process is executed in the
air-conditioned laboratory, common issues such as warping happen during the process.
4
2.0 DETAILED PRODUCT
5
5 Wire Jumper (Male/Male & Male/Female) Enables the connection of distant electric
circuits used to the breadboard.
6
and magnetic field along the x, y and z
axes.
7
8
2.2 List of Materials and Costing
In order to reduce the cost of spending to produce the scotch yoke mechanism, some electronic
components do not need to be purchased because they can be obtained from the last semester
project design in MEC532 subject. However, only several electronic and other components listed
in the table below are required to be purchased.
Table 2: List of purchased components
9
5 M4, 10 mm Philip Round Pan 2 0.22 0.44
Head Phillips Cross Screw
Thread Metric Machine Bolt
Stainless Steel 30
8 PLA Filament 1 55 55
10
9. Adaptor 12V 3A 1 14.80 14.80
123.46
Total Price
11
3.0 METHODOLOGY
3.1 Flowchart
12
A. Project selection
Find and choose several project titles that have correlation with the System Identification
subject such as scotch yoke, robotic arm, damping force and geneva wheel through
Google and Dynamic textbook. Scotch Yoke is chosen after several considerations and
discussions are made between team members and lecturer.
E. Catia simulation
After the design process of Scotch Yoke is finished, this model is going through a
simulation in Catia application to analyze the motion of the disk, sliding yoke and
connecting rod in order to get more reliable outcomes by accounting for a part's
compliance during the simulations.
13
F. 3D printing
Some parts of the Scotch Yoke model such as disc, disc knob, base, sliding pin and slider
support are decided to be produced by using 3D printing at SEA-IC lab. One member is
assigned to handle the parts that are required to be printed.
G. Design assembly
After all the individual parts have been completely produced by 3D printing, the next step
is to assemble those parts into a complete Scotch Yoke model. The process to assemble
those individual parts can be done by using screws and nuts.
H. Coding process
Two members are assigned to carry out the coding for the Scotch Yoke mechanism using
Arduino software. This coding is written to identify the value of angular velocity of disc
and acceleration of slider.
14
4.0 MODEL DEVELOPMENT
15
Final Design of Scotch Yoke Model (Isometric View)
16
4.2 Detail Drawing for Fabrication Process
A 3D printer with FDM technology is used to print some parts for the Scotch Yoke model. The
parts are produced from PLA materials. Shaft 1, shaft 2, disc, disc knob, slider and shaft support
are set to have a 100% infill while the base only has 30% infill. All the parts that need to be
printed are presented in the detail drawing as below:
Figure 6: Shaft 1
17
Figure 7: Shaft 2
18
Figure 8: Disc knob
19
Figure 9: Disk
20
Figure 10: Shaft support
21
Figure 11: Motor stand
22
Figure 12: Base
23
Figure 13: Horizontal Shaft
24
4.3 Final Assembly Design
Parts that have been printed are going through the finishing process to remove all the support
structures. The support structures are removed using pliers and the surface of parts are
smoothened using sandpaper. Then, those parts are assembled using screws and glue according
to the blueprint. Whereas the Arduino components are placed and attached using double sided
tape in the base area.
25
5.0 ARDUINO CODING
#include <Adafruit_MPU6050.h>
#include <Adafruit_Sensor.h>
#include <Wire.h>
Adafruit_MPU6050 mpu;
float ax, ay, az, gx, gy, gz;
float initial_ax, initial_ay, initial_az;
//Motor driver
int enA = 8;
int in1 = 6;
int in2 = 7;
//Encoder sensor
int sensor = 10;
unsigned long start_time = 0;
unsigned long end_time = 0;
int steps=0;
float steps_old=0;
float temp=0;
float RPS=0;
float RPM=0;
void setup(void) {
pinMode(in1, OUTPUT);
pinMode(in2, OUTPUT);
analogWrite(enA, 255);
digitalWrite(in1, HIGH);
digitalWrite(in2, LOW);
26
Serial.begin(115200);
mpu.setAccelerometerRange(MPU6050_RANGE_8_G);
Serial.print("Accelerometer range set to: ");
switch (mpu.getAccelerometerRange()) {
case MPU6050_RANGE_2_G:
Serial.println("+-2G");
break;
case MPU6050_RANGE_4_G:
Serial.println("+-4G");
break;
case MPU6050_RANGE_8_G:
Serial.println("+-8G");
break;
case MPU6050_RANGE_16_G:
Serial.println("+-16G");
break;
}
Serial.println("");
delay(100);
}
void loop() {
start_time=millis();
end_time=start_time+1000;
while(millis()<end_time)
{
if(digitalRead(sensor))
{
27
steps=steps+1;
while(digitalRead(sensor));
}
}
temp=steps-steps_old;
steps_old=steps;
RPS=(temp/20);
RPM=(RPS*60);
/* Get new sensor events with the readings */
sensors_event_t a, g, temp;
mpu.getEvent(&a, &g, &temp);
28
6.0 RESULTS
The parameters that we measured and calculated are the maximum acceleration of the piston and
the angular velocity of the disk. The result will be compared with both theoretical and
experimental value. The percentage error will be calculated using the formula below.
The calculation of the theoretical value of the maximum acceleration for the piston is shown
below.
29
6.2 Experimental result
The maximum acceleration of the piston is measured using the MPU6050. The data were taken
10 times.
Table 3: Maximum acceleration result
1 0.42
2 0.39
3 0.30
4 0.42
5 0.30
6 0.40
7 0.34
8 0.32
9 0.39
10 0.40
2
𝑥𝑎𝑣𝑔 = 0. 368𝑚/𝑠
Error percentage,
0.3257−0.368
𝐸𝑟𝑟𝑜𝑟 = || 0.3257 ||✕100%
30
The angular velocity of the disk is measured 10 times using an encoder sensor module.
1 27
2 27
3 24
4 27
5 30
6 27
7 27
8 30
9 27
10 27
Error percentage,
30−27.3
𝐸𝑟𝑟𝑜𝑟 = || 30 ||✕100%
𝐸𝑟𝑟𝑜𝑟 = 9%
31
7.0 DISCUSSION
The Scotch Yoke Device is a simple mechanism that converts linear motion into rotary
motion or vice versa. It is widely used in high-pressure gas and oil pipelines control valve
actuators and internal combustion engines. The main advantage of using this mechanism is that it
generates a simple harmonic motion which reduces friction and vibration.
This project aims to design and fabricate a working model of a Scotch Yoke mechanism
with integration of an Arduino microcontroller. The objectives of the project are to determine the
angular velocity and acceleration of the disk and slider through experimental procedures and
compare them with the theoretical experimental value.
The maximum acceleration for the piston was calculated theoretically, with the
distance between the center of the disk and the disk knob being 33 mm. Theoretically, the
angular acceleration is zero as the motor's angular velocity is constant. The 30 RPM obtained is
equivalent to 3.1415 rad/s, resulting in a theoretical maximum acceleration of the piston of
0.3257 m/s2. In comparison, the experimental results, which were taken 10 times, gave an
average maximum acceleration of 0.368 m/s2. This resulted in an error percentage of 12.98%.
Several factors can contribute to error in the measurement of acceleration of the slider in the
Scotch Yoke mechanism. One potential factor is friction between the sliding pin and the slot in
the yoke, which can lead to error in the measurement. The amount of friction can vary based on
the surface finish and lubrication of the components. Another factor could be manufacturing
tolerance, where the components of the mechanism may not have been manufactured to exact
specifications, leading to variations in the motion of the slider. Additionally, an inaccurate
sensor, such as the MPU used to measure the acceleration of the slider, can also contribute to
error if it is not accurate or has a limited range.
Next, angular velocity of the DC motor was fixed at 30 RPM, but the results obtained
from the MPU were slightly lower, the average angular velocity of 27.3 RPM. This resulted in an
error percentage of 9%. One possible factor that could contribute to this error is noise in the
measurement, such as vibrations and electromagnetic interference from the motor to the shaft,
which can greatly affect the accuracy of the angular velocity measurement. Next, alignment also
could contribute to error with the misalignment of the yoke with the disk and knob. If the yoke
32
is not properly aligned with the disk and knob it can cause variations in the motion of the slider
and result in inaccuracies in the measurement of angular velocity and acceleration. Additionally,
friction between the bearing and shaft of the disk can also lead to error in the measurement of
angular velocity.
In order to improve the results of this project, several steps can be taken. One is to
properly design and select materials for the components, as using materials with low coefficients
of friction and high wear resistance can reduce errors caused by friction. Another is to optimize
the design, as in this project, high frequency vibrations from the motor greatly impacted the
experimental data and caused fluctuations in angular velocity measurements. To prevent this, a
bracket can be added to reduce vibrations and reduce errors. Using high precision sensors, such
as encoders with high resolution and accelerometers with high accuracy, can also improve the
accuracy of the measurements. Next, in order to minimize the error due to alignment issues, it is
important to properly design and manufacture the components of the Scotch Yoke mechanism
Proper alignment, regular maintenance and calibration of the mechanism can help to ensure that
the components remain properly aligned over time. Additionally, repeating the measurements
several times to obtain an average value can reduce errors caused by noise or unexpected
fluctuations. By implementing these methods, it is possible to greatly improve the accuracy of
the measurements and reduce errors in the project results.
33
8.0 CONCLUSION
In conclusion, the project aims to design and fabricate a working model and the project
objective to determine the angular velocity and acceleration of the disk and slider through the
experiment procedures compared with the theoretical experimental procedure is achieved.
The maximum acceleration for the piston was calculated theoretically, with the distance
between the center of the disk and the disk knob being 33 mm. Theoretically, the angular
acceleration is zero as the motor's angular velocity is constant. The 30 RPM obtained is
equivalent to 3.1415 rad/s, resulting in a theoretical maximum acceleration of the piston of
0.3257 m/s2. In comparison, the experimental results, which were taken 10 times, gave an
average maximum acceleration of 0.368 m/s2. This resulted in an error percentage of 12.98%.
Next, angular velocity of the DC motor was fixed at 30 RPM, but the results obtained
from the MPU were slightly lower, the average angular velocity of 27.3 RPM. This resulted in an
error percentage of 9%.
In order to improve the results of this project several aspects have been proposed to
improve the result and reduce the error. The first is to properly design and select materials for the
components, as using materials with low coefficients of friction and high wear resistance can
reduce frictional errors. Another option is to optimize the design, as high frequency vibrations
from the motor greatly impacted the experimental data and caused fluctuations in angular
velocity measurements in this project. A bracket can be added to reduce vibrations and errors to
prevent this. The use of high precision sensors, such as encoders with high resolution and
accelerometers with high accuracy, can also improve measurement accuracy. Furthermore,
repeated measurements to obtain an average value can reduce errors caused by noise or
unexpected fluctuations. By implementing these methods, it is possible to greatly improve
measurement accuracy and reduce errors in project results.
34
9.0 REFERENCES
Arakelian, V., Baron, J. P. le, & Mkrtchyan, M. (2016). Design of Scotch yoke mechanisms with
improved driving dynamics. Proceedings of the Institution of Mechanical Engineers, Part
K: Journal of Multi-Body Dynamics, 230(4), 379–386.
https://doi.org/10.1177/1464419315614431
Shanmugam, R., Srivigneesh, R., Raghav, S., & Santhosh, S. (2019). Design and Fabrication of
Motorised Scotch Yoke Mechanism. In International Journal of Engineering and
Techniques (Vol. 5).
Fedorov, D. S., Ivoilov, A. Y., Zhmud, V. A., & Trubin, V. G. (2015). Using of measuring system
MPU6050 for the determination of the angular velocities and linear accelerations.
Automatics & Software Enginery, 11(1), 75-80.
Fedorov, D. S., Ivoilov, A. Y., Zhmud, V. A., & Trubin, V. G. (2015). Using of measuring system
MPU6050 for the determination of the angular velocities and linear accelerations.
Automatics & Software Enginery, 11(1), 75-80.
Sawyer, W. G., Diaz, K. I., and Hamilton, M. A., & Micklos, B. (2003, July 1). Evaluation of a
Model for the Evolution of Wear in a Scotch-Yoke Mechanism. Retrieved January 27,
2023, from
https://asmedigitalcollection.asme.org/tribology/article/125/3/678/463961/Evaluation-of
-a-Model-for-the-Evolution-of-Wear-in
Kim, S., Song, H. G., Lee, D. C., Lee, K. B., & Jeong, H. (2018, December 5). Torque Analysis of
Scotch Yoke Type Hydraulic Actuator | E3S Web of Conferences. Retrieved January 27,
2023, from
https://www.e3s-conferences.org/articles/e3sconf/abs/2018/47/e3sconf_ceege2018_02005/
e3sconf_ceege2018_02005.htm
35
10.0 APPENDIX
36