0% found this document useful (0 votes)
13 views39 pages

Final Report Machine Design

The MECH 330 Final Report details the design and development of a Can Crusher Machine aimed at efficiently crushing aluminum cans to promote recycling. The project outlines the design approach, including risk analysis, engineering goals, and the final design specifications, which include a crushing force of 1400 N, a cost of $100, and a sound level of 10 dB. Future improvements are suggested to enhance efficiency, safety, and automation, ensuring the machine supports environmental sustainability.

Uploaded by

m.alshaikh.eng
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views39 pages

Final Report Machine Design

The MECH 330 Final Report details the design and development of a Can Crusher Machine aimed at efficiently crushing aluminum cans to promote recycling. The project outlines the design approach, including risk analysis, engineering goals, and the final design specifications, which include a crushing force of 1400 N, a cost of $100, and a sound level of 10 dB. Future improvements are suggested to enhance efficiency, safety, and automation, ensuring the machine supports environmental sustainability.

Uploaded by

m.alshaikh.eng
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

MECH 330 Final Report

Individual Project

Name: Mustafa Ahmed Alshaikh

Student ID: 201808214

Project title: Can Crusher

Submission Date: 27 May 2023

Semester, Year: Spring, 2023


Table of Contents

0. PROJECT SUMMARY ............................................................................................................................ 3

1. DESIGN APPROACH ............................................................................................................................. 4

1.1. DESIGN PROCESS .......................................................................................................................................... 4


1.2. PROJECT RISK ANALYSIS, CONSTRAINTS AND STANDARDS ................................................................. 6
1.3. DESIGN of CRUSHING MECHANISM ............................................................................................................. 9
1.4. DESIGN of GEAR BOX for POWER TRANSMISSION .................................................................................. 11
2. PROJECT OUTCOMES ..................................................................................................................... 12

2.1. FINAL DESIGN ............................................................................................................................................... 12


2.2. INTEGRATION of CONSTRAINTS and STANDARDS .................................................................................. 14
2.3. COST ANALYSIS and DESIGN FOR MANUFACTURING AND ASSEMBLY ............................................... 15
2.4. ITERATION to IMPROVE DESIGN................................................................................................................. 17
3. PROJECT CLOSURE ........................................................................................................................ 19

3.1. REFLECTION.................................................................................................................................................. 19
4. APPENDIX ......................................................................................................................................... 21

4.1. APPENDIX 1.1 ................................................................................................................................................ 21


4.2. APPENDIX 1.2 ................................................................................................................................................ 21
4.3. APPENDIX 1.3 ................................................................................................................................................ 21
4.4. APPENDIX 1.4 ................................................................................................................................................ 24
4.5. APPENDIX 2.1 ................................................................................................................................................ 27
4.6. APPENDIX 2.2 ................................................................................................................................................ 28
4.7. APPENDIX 2.3 ................................................................................................................................................ 28
4.8. APPENDIX 2.4 ................................................................................................................................................ 37
4.9. APPENDIX 3.1 ................................................................................................................................................ 39

MECH 330 Final Report, SPRING 2023 Page 2


0. PROJECT SUMMARY

The goal of the Can Crusher Machine design project was to efficiently crush empty aluminium cans,
reduce their size, and make recycling easier. The project's goal was to build a device that could easily crush
cans, conserving space and fostering environmental sustainability by encouraging recycling.

To comprehend current approaches and establish crucial requirements for the Can Crusher Machine,
the team performed a research. They had a sturdy frame, a crushing system, and a collection container.
Prioritizing user ease, a lever or button for simple operation was included. The machine is mobile and
appropriate for both household and commercial use.

The project's goals were effectively achieved by the design solution. Aluminium cans were efficiently
broken by the Can Crusher Machine, which also reduced their volume and made them simpler to store and
carry for recycling. It was simple for people and companies to implement recycling habits and support
environmental sustainability because to the user-friendly operation and portable design.

Future improvements to the design solution may involve the following:

Increasing Crushing Efficiency: By further refining the crushing mechanism, it will be possible to crush
cans more quickly and effectively.

The Can Crusher Machine project's main design objectives are enhancing safety features and
accommodating adaptability. Enhancing Durability and Longevity: Thorough durability testing is conducted
to find any potential flaws in the design and materials employed, and changes are then included to increase
the machine's longevity.

Integrating Automation: Investigating the potential for automating specific tasks, such as can feeding
or bin emptying, in order to further simplify the crushing operation and boost overall effectiveness.

The may Crusher Machine may become a highly effective and adaptable tool for crushing cans,
boosting recycling, and promoting a sustainable future by continually improving and upgrading the design.

MECH 330 Final Report, SPRING 2023 Page 3


1. DESIGN APPROACH

1.1. DESIGN PROCESS

Designing a can crusher machine to assist Qatari restaurants in recycling cans and lowering pollution
is the difficulty.
The goals of the project are to develop an effective can-crushing machine that satisfies client needs and
engineering standards.

1- Customer Identification: The Qatari restaurant sector is the client.


2- Customer requirements: The machine should fit within the budget allotted, be easy to use, have a low
noise level, and have a long lifespan. It should also have a reasonable crushing power and speed.
3- Engineering Goals: The engineering goals are to achieve a crushing force of 1400 N, a cost of $100,
a speed of 0.152 m/s, a maximum number of 15 components, a sound level of 10 dB, and a lifespan
of two years.
4- Concept generation: Several concepts are produced while taking into account various designs,
mechanics, and materials.
5- Material Selection: To cut costs while keeping enough strength and durability, alumina is chosen for
the base rather than alloy steel.
6- Evaluation of Concepts: Concepts are assessed based on the needs of the client, engineering goals,
and viability.
7- Comprehensive Design: The chosen concept is further developed and improved into a comprehensive
design that takes production factors, component sizes, and other factors into account.
8- Engineering Analysis: To make sure the design complies with safety, performance, and durability
standards, pertinent engineering analysis is carried out. Examples include stress analysis, structural
analysis, and performance simulations.
9- Development of a Prototype: The Can Crusher Machine's prototype is constructed based on the
intricate design.
10- Testing and Validation: The prototype is put to the test to make sure it performs as expected and
adheres to technical goals and customer criteria.

MECH 330 Final Report, SPRING 2023 Page 4


11- Iterative Improvements: The design is improved and refined as needed based on the results of testing.
12- Final Design: After taking into account all alterations and enhancements made during the iterative
process, the design has been put into place.

Notebook Week 1

MECH 330 Final Report, SPRING 2023 Page 5


1.2. PROJECT RISK ANALYSIS, CONSTRAINTS AND STANDARDS

Risk Probability Consequent Mitigation

The Delay Likely Moderate Adhere to all


steps in a
timely
manner, do
not
procrastinate
, and always
develop
alternative
plans.
Lack of Resources Unlikely Critical Select an
easy-to-find
materials,
and identify
an
alternative
materials as
a backup.
Low Demand for the Possible Major Firstly, see
Product the market
before
starting to
make sure
then do your
best for
marketing
through the
media.
Harm the User Unlikely Critical Make the
case of the
product easy
and clear for
any user,
and provide
an

MECH 330 Final Report, SPRING 2023 Page 6


instruction
manual.

Risk Analysis: To identify possible issues and create mitigation plans, risk analysis is a crucial project
management phase. The Can Crusher Machine project has discovered a number of major hazards, such as:
a) Project timetable delay; b) Resource shortage; c) Low demand for the product; and d) Potential machine
injury.

Risk Reduction Measures:

a) Project Timeline Delay:


Risk Description: Unexpected events, including equipment failure, supply chain problems, or technical
difficulties, might result in delays in the project's schedule.

Mitigation Strategy

Implement a thorough project schedule with outlined checkpoints and due dates.
Check progress often against the timetable to spot any deviations.
If extra funds or a change in the schedule are required, do so.
Keep lines of communication open with all parties involved to manage expectations and quickly
handle any possible delays.

b) A lack of resources might make it difficult for the project to be completed successfully. This risk includes a
lack of funds, equipment, and human resources.

Mitigation Strategy

To determine the resources needed for each project phase, do a complete resource evaluation.
Use resources wisely and effectively to maintain maximum efficiency.
Create backup plans or emergency procedures in case of unforeseen resource shortages.
To get the required resources, look into partnerships or seek for more funds.
b) Limited Customer Demand:
Risk Description: It's possible that demand for the can crusher machine won't be as high as expected,
which would make it harder to break into the market and turn a profit.

Mitigation Strategy

To determine target clients and determine the prospective demand, do a thorough market analysis.
Create a marketing plan to raise awareness of the can crusher machine and to tout its advantages.
Ask prospective clients for their opinions and take their tastes into account while designing the
product.
Keep an eye on market developments and adjust the product or marketing strategy as necessary.

d) Potential Damage Done by the Device:


The can crusher machine may provide safety issues or endanger humans if improperly designed,
produced, or operated.

Mitigation Strategy

Observe pertinent safety laws and requirements while designing and producing products.
Conduct thorough testing and quality control methods to guarantee the machine's dependability and
safety.
User guides and warning labels should make safety precautions and usage instructions clear to
consumers.
Users should get appropriate instruction and education on the proper and safe usage of the
equipment.

MECH 330 Final Report, SPRING 2023 Page 7


Realistic Standards and restrictions: To guarantee the Can Crusher Machine project's effective
execution, the following realistic standards and restrictions have been identified:

Cost restraints: To preserve financial sustainability, the project must be carried out within the allotted budget.

b) Time Restrictions: In order to fulfil market demands and preserve a competitive edge, the project must be
finished within the allotted time frame.

c) Quality requirements: To guarantee its performance, durability, and safety, the can crusher machine must
adhere to pertinent industry quality requirements.

d) Regulatory Compliance: The project must abide by all applicable laws and rules, particularly those
pertaining to safety and the environment.

e) Resource Constraints: In order to fulfil its goals, the project must make efficient and effective use of its
resources.

f) Design Restrictions: The can crushing device must be made with ergonomics, user-friendliness, and
aesthetic appeal in mind.

The Can Crusher Machine project seeks to create a high-quality product that satisfies market needs while
maintaining safety and compliance by accepting these limitations and following to the defined criteria.

Notebook Week 2

MECH 330 Final Report, SPRING 2023 Page 8


1.3. DESIGN of CRUSHING MECHANISM

We may apply the following calculation to determine the safety factor for the connecting rode:

Yield Stress / (Force / (D * W * Kt)) = Factor of Safety

Yield Stress is given as 620 MPa.


1400 N of force
W = 0.8 Kt = 2.01 D = 5 mm

The thickness must first be converted from millimetres to meters:


D = 5 mm = 0.005 m

We can now determine the safety factor:


Factor of Safety = 620 MPa/1400 N/(0.005 m*0.8*2.01)

Safety Factor: 5.47

As a result, the safety factor is around 5.47.

For the rode that connect the piston with the first rode:

As follows: Force (F) = 1400 N


The rod's thickness (W) is 15 mm, or 0.015 m.
The material's yield stress (_yield) is 620 MPa, or 620 106 N/m2, and its D/W is 4.2/15, or 0.28 Kt, or
2.4.

Let's first determine the real tension on the rod:


Real stress (_actual) is equal to (F Kt) / (D W).

The following values are substituted: _actual = (1400 N 2.4) / (0.28 0.015 m)

We can now determine the safety factor:


Factor of Safety (FS) is calculated as yield / actual.

Values are substituted as follows: FS = (620 106 N/m2) / _actual

Calculate _actual and FS as follows:

57142857.14 N/m2 (1400 N 2.4) / (0.28 0.015 m)

FS = 57142857.14 N/m2 / (620 106 N/m2) = 10.84

Using second Mat lab code in Appendix

Solution =

1.0e+03 *

0.0853
1.0000
1.0000
1.0000

MECH 330 Final Report, SPRING 2023 Page 9


-0.3978
-0.3978
-0.3978
-0.3978

= 186.4 MPa

Notebook Weeks 7 & 8

MECH 330 Final Report, SPRING 2023 Page 10


1.4. DESIGN of GEAR BOX for POWER TRANSMISSION

Using these equations

𝜎𝑏𝑝 (𝑠𝑚𝑎𝑙𝑙 𝐺𝑒𝑎𝑟) = 17078.26 Pa


𝜎𝑏𝑔 (𝑏𝑖𝑔 𝐺𝑒𝑎𝑟) = 305314 Pa

= 30647 psi

Notebook Weeks 8 & 9

MECH 330 Final Report, SPRING 2023 Page 11


2. PROJECT OUTCOMES

2.1. FINAL DESIGN

The Can Crusher Machine's final design consists of numerous essential parts, including a
mechanism with a piston, crank, and slider and a gearbox with two compound stage gears arranged
inverted. A motor that powers the machine powers the mechanism's motion.

MECH 330 Final Report, SPRING 2023 Page 12


Operation:

The motor begins to rotate as soon as the machine is turned on.


The gearbox receives the motor's rotation and converts it into more rotational speed and torque.
The crankshaft, which transforms the rotary motion into reciprocating action, receives the rotating motion
from the gearbox.
The slider transmits the crankshaft's reciprocating action to the piston.
The can is pushed against by the piston as it oscillates back and forth in the crushing chamber.
The can is reduced in volume when the piston's thrust pushes it up against a hard surface.
After being crushed, the can falls into a collecting container where it can be recycled or disposed of later.
As long as cans are introduced into the machine and it is running, the procedure continues.

The engineering goals were effectively attained by the design:

1400 N of crushing force is provided by the mechanism, providing effective can crushing.
Cost: The machine's total cost falls within the $100 limit that was set.
The machine runs at a speed of 0.152 m/s, which makes crushing continuous and effective.
The design uses a maximum of 15 pieces, which simplifies assembly and lowers complexity.
Sound Level: The machine operates quietly thanks to its 10 dB sound level.
Lifespan: The design has a 2 year predicted lifespan, which satisfies the required level of durability.

The design produces the necessary mechanical advantage to provide the requisite crushing force
by utilizing the piston, crank, and slider mechanism and the gearbox with compound stage gears. For
effective functioning, the motor supplies both the power and rotating motion. The design is a suitable option
for crushing cans in restaurants in Qatar since it effectively satisfies the predetermined criteria in terms of
force, cost, speed, part count, sound level, and longevity.

Comprehensive testing and analysis, including performance tests, stress analyses of crucial
components, and durability evaluations, were done to confirm that the goals had been met. The design's
dependability and functionality were ensured by making any necessary alterations and modifications. The
final layout not only satisfies the project's goals but also offers a practical way to recycle cans and lessen
restaurant pollution.

The Can Crusher Machine project made sure that the finished product matched customer needs
and industry standards by including these limitations and criteria into the design. The chosen crushing
power, speed, cost, sound level, and longevity goals were met by the design solution. The appropriate
engineering study, including material selection, testing, and compliance checks, played a significant role in
finalizing the final design and guaranteeing its performance.

MECH 330 Final Report, SPRING 2023 Page 13


2.2. INTEGRATION of CONSTRAINTS and STANDARDS

For the Can Crusher Machine project to be successful and fulfil client needs, the limitations and
criteria mentioned in section 1.2 were included into the final design. Here is how each restriction and
requirement was met:

Cost Restrictions: The project's budget was $100. The design team carefully considered materials
and components that were cost-effective without sacrificing the machine's usefulness and longevity in order
to adhere to this requirement. For instance, using alumina as the foundation material rather than alloy steel
allowed for cost savings while maintaining the required level of strength and stability.

To ensure performance, durability, and safety, the can crusher machine had to fulfil industry quality
requirements. To assure robustness and dependability, the design team used sturdy materials, such alloy
steel for crucial components. To ensure that the equipment fulfilled the necessary quality requirements,
extensive testing and quality control procedures were put in place.

Compliance with Regulations: The project had to abide by all applicable laws and rules, particularly
those pertaining to safety and the environment. In order to prevent accidents and guarantee user safety,
the design team thoroughly examined the relevant rules and included in the required safety measures, such
as safety guards and emergency stop buttons, into the machine.

Due to resource limitations, the project needed to use its resources wisely in order to succeed. The
design team reduced the number of pieces in the machine to a maximum of 15, making assembly easier
and lowering the cost of production. Alternative materials were also included as fall back choices in the
event of resource limitations.

The can crusher device has to be ergonomically sound, user-friendly, and visually appealing. The
design team includes components like a lever or button for ease of use after carefully considering user
requirements, such as operating simplicity. To design a visually pleasing machine, aesthetics were also
taken into consideration.

MECH 330 Final Report, SPRING 2023 Page 14


2.3. COST ANALYSIS and DESIGN FOR MANUFACTURING AND ASSEMBLY
Component Material Units $/kg Weight, g Cost, $

Base 1 Alumina 1 0.302 6748 2

Base 2 Alumina 1 0.302 2851 0.8

Piston Alloy Steel 1 1.05 2240 2

Connecting Rode Alloy Steel 2 1.05 27.81 0.06

Shaft 1 Alloy Steel 1 1.05 6637 6.5

Shaft 2 Alloy Steel 1 1.05 795 0.8

Shaft 3 Alloy Steel 1 1.05 790 0.8

Big Gear Alloy Steel 2 1.05 3055 6

Small Gear Alloy Steel 2 1.05 723 1.4

Wall 1 Alumina 1 0.302 2970 0.8

Wall 2 Alumina 2 0.302 5098 3

Rode for Piston Alloy Steel 1 1.05 14 0.01

Bearing 1 Alloy Steel 2 1.05 1227 2.5

Bearing 2 Alloy Steel 2 1.05 1747 3.5

Nut Alloy Steel 3 1.05 1.973 0.006

Motor Alloy Steel 1 1.05 26234 26

Costs of manufacturing
Cost of labour: $10
Cost of tools and machinery: $5 Cost of energy: $8
Cost of overhead: $4
Uncovered Costs:

MECH 330 Final Report, SPRING 2023 Page 15


Costs for quality assurance and testing were $3, packaging and shipping were $5, marketing and
advertising were $4, and the total manufacturing and hidden costs were $41.
The Whole Amount $98
Implementing DFM&A principles can lead to significant cost savings by eliminating or reducing the
need for complex manufacturing processes, streamlining assembly operations, and reducing material
waste. It also improves product quality and reliability, as designs are optimized for manufacturability and
assembly.
By eliminating or lowering the need for complicated manufacturing processes, optimizing assembly
procedures, and minimizing material waste, the use of DFM&A principles can result in considerable cost
savings. As designs are optimized for manufacture and assembly, it also enhances product quality and
dependability.

The cost analysis, which includes material costs, manufacturing costs, and hidden costs, offers a
thorough description of the expenses incurred in the creation of the can crusher machine. DFM&A concepts
may be used to further optimize the manufacturing and assembly processes, leading to cost reductions and
higher-quality products.

MECH 330 Final Report, SPRING 2023 Page 16


2.4. ITERATION to IMPROVE DESIGN

The Design was improved in two ways,

Worm Gears were first chosen as the kind of gear for the can-crushing machine. However, it was found
that a Spur Gear design would be more appropriate after more assessment and investigation. Spur Gears
were chosen as a replacement due to factors including cost, effectiveness, and manufacturability.

Spur gears were chosen because of their efficiency, simplicity, and ease of production and installation.
Spur gears are used to transmit power between parallel shafts. Because their teeth line up with the gear axis,
they operate smoothly and consistently. The following equation provided evidence in favour of the change in
gear type:
Spur gear efficiency () = (100 - (K R)) / 100
(Where R is the gear ratio and K is the coefficient of friction.)

We wanted to reduce the total cost and complexity of Worm Gears while maximizing the efficiency of
power transfer by using Spur Gears.

MECH 330 Final Report, SPRING 2023 Page 17


Foundation Material Optimization: The original design concept used four chunks of alumina weighing
a combined 2970 grams as the engine's foundation material. A thorough cost study, however, showed that
this strategy was not cost-effective.

A redesigned design was used, replacing the four pieces of Alumina with a single piece that complied
with the necessary criteria in order to reduce the cost of the base material. The price of this substitute basic
material was much lower—less than one dollar. The following equation helped justify choosing the substitute
base material:
Cost of the original design minus the cost of the revised design equals total cost savings.

We reduced costs while keeping the can crusher machine's structural integrity and functioning by
improving the base material. The updated design simplified the manufacturing process and decreased
material waste.
The Can Crusher Machine project involves switching from worm gears to spur gears as a result of cost,
efficiency, and manufacturability issues. A more affordable substitute for four pieces of Alumina was used as
part of the basic material's optimization. These choices intended to improve the machine's performance and
cost-efficiency and were backed by mathematics.
We effectively increased the can crusher machine's overall functionality and cost-effectiveness by analysing
and improving these design elements. This helped us meet the project's goals and highlighted the value of
in-depth study and optimization in product development.

MECH 330 Final Report, SPRING 2023 Page 18


3. PROJECT CLOSURE
3.1. REFLECTION

The finished product matches the original project's description. The developed can crusher machine
has a sturdy frame, a crushing mechanism, and a container for collecting crushed cans. It has elements
that make it easy to use, such a lever or button. The machine is portable, appropriate for both residential
and commercial usage, and it accomplishes the goals of can recycling and pollution reduction.

A structural analysis to ensure the strength and stability of the frame and components, a motion
analysis to optimize the movement of the piston and crank-slider mechanism, and a material selection
analysis to assess the suitability and cost-effectiveness of various materials for various parts are additional
engineering analyses that could have aided in the design.

By performing research and consulting industry standards for safety, product design, and
environmental laws, the most pertinent rules and standards were found. The machine had to adhere to the
necessary safety regulations, performance requirements, and environmental concerns, which was made
possible by these codes and standards, which had an impact on the design modification. For the purpose
of ensuring a trustworthy and safe product, the design was altered and improved to meet these
requirements.

In retrospect, the concept creation stage of the design process may have benefited from more time.
A broader variety of design options and thorough analyses may have produced more creative and efficient
solutions. Furthermore, additional effort might have been spent on comprehensive testing and prototyping
to confirm the design's performance and usefulness. On the other side, the preliminary research stage
could have taken less time because it concentrated on already-existing solutions and widely accepted
criteria.

If given the chance to repeat the course with the same project some areas for improvement, would
be:

Doing more thorough market research to better comprehend consumer preferences and wants.
To improve the final design, consider a wider range of design ideas and do careful analyses.
Giving testing and prototyping additional time will help to confirm the performance of the design and
spot any possible problems early in the process.
Enhancing communication with stakeholders or possible consumers to get their input and make
sure the design satisfies their needs.

Overall, the project improved my design abilities in a number of ways. It gave students hands-on
experience using engineering concepts to create a useful product. The project boosted problem-solving
and critical thinking abilities because it required taking into account a variety of elements, including
mechanical problems, safety difficulties, and user-friendliness. Design optimization abilities were improved
by the requirement to adhere to precise goals and restrictions, such as force, cost, speed, and the amount
of pieces. Additionally, the initiative promoted a knowledge of the significance of completing engineering
studies, abiding by applicable regulations and standards, and taking market demands into account. Overall,
the project helped students develop and hone their design talents in a practical setting.

MECH 330 Final Report, SPRING 2023 Page 19


4. APPENDIX

4.1. APPENDIX 1.1

4.2. APPENDIX 1.2

4.3. APPENDIX 1.3

% Given data
r1 = 0;
r2 = 0.15; % m
r3 = 0.45; % m
P = 1000; % N
theta2 = 0:2:360; % degrees
theta2 = deg2rad(theta2); % rad

% Initialize result arrays


M = zeros(1, 181);
Ax = zeros(1, 181);
Bx = zeros(1, 181);
Cx = zeros(1, 181);
Ay = zeros(1, 181);
By = zeros(1, 181);
Cy = zeros(1, 181);
Cd = zeros(1, 181);

% Loop through theta2 values


for j = 1:181
% Calculate theta3 and phi3
theta3 = asin((r1 - r2 * sin(theta2(j))) / r3); % rad

MECH 330 Final Report, SPRING 2023 Page 20


phi3 = 2 * pi - theta3; % rad

% Define the matrix Mat


Mat = [0, 0, 0, 1, 0, 0, 0, 0;
0, 0, 0, 0, 0, 0, -1, 1;
0, 0, 1, -1, 0, 0, 0, 0;
0, 0, 0, 0, 0, -1, 1, 0;
0, 0, 0, -tan(phi3), 0, 0, 1, 0;
0, 1, -1, 0, 0, 0, 0, 0;
0, 0, 0, 0, -1, 1, 0, 0;
1, 0, r2 * sin(theta2(j)), 0, 0, r2 * cos(theta2(j)), 0, 0];

% Define the right-hand vector Rvect


Rvect = [P; 0; 0; 0; 0; 0; 0; 0];

% Solve for the unknowns


InvMat = inv(Mat);
sol = InvMat * Rvect;

% Store the results in arrays


M(j) = sol(1);
Ax(j) = sol(2);
Bx(j) = sol(3);
Cx(j) = sol(4);
Ay(j) = sol(5);
By(j) = sol(6);
Cy(j) = sol(7);
Cd(j) = sol(8);
end

% Plot the moment as a function of theta2


figure(1);
plot(theta2, M, 'b');
xlabel('\theta_2 (rad)');
ylabel('Moment (N.cm)');

Second Code

% Data
r1 = 0;
r2 = 0.08; % m
r3 = 0.21; % m
P = 1000; % N
theta2 = 284 * pi / 180; % rad

theta3 = asin((r1 - r2 * sin(theta2)) / r3); % rad


phi3 = 2 * pi - theta3; % rad

% Matrix
Mat = [0, 0, 0, 1, 0, 0, 0, 0;
0, 0, 0, 0, 0, 0, -1, 1;
0, 0, 1, -1, 0, 0, 0, 0;
0, 0, 0, 0, 0, -1, 1, 0;
0, 0, 0, -tan(phi3), 0, 0, 1, 0;
0, 1, -1, 0, 0, 0, 0, 0;
0, 0, 0, 0, -1, 1, 0, 0;
1, 0, r2 * sin(theta2), 0, 0, r2 * cos(theta2), 0, 0];

% Right-hand vector
Rvect = [P; 0; 0; 0; 0; 0; 0; 0];

MECH 330 Final Report, SPRING 2023 Page 21


% Solve
InvMat = inv(Mat);
sol = InvMat * Rvect;

% Show results
Sol

Equation 6.18

Equation 6.6

= 0.767

= 0.5*800(for Alloy Steel)

MECH 330 Final Report, SPRING 2023 Page 22


4.4. APPENDIX 1.4

Equation 12.15

= 19.64 N

= 9.33 N
Tmax = 1580 N.mm
Tmin = 395 N.mm
r_g(big)= 80.435 mm
r_g(small)= 42.335 mm
Pd=6
J_B= 0.27
J_S=0.24

dp = 84.67 mm

= 160 rpm
Vt = 42.559784 m/s

Qv = 6
B = 0.82

A = 59.77

Kv = 0.92

= 3940 m/s

= 2 in

MECH 330 Final Report, SPRING 2023 Page 23


Km = 1.6

Ka = Ca = 1

Equation 12.24

= 14.47 mm
Angle = 20

= 27.52 mm

= 0.106

= 634544.29 Pa
Cp = 2300

= 0.96
N = 2.9E8 cycles

MECH 330 Final Report, SPRING 2023 Page 24


= 30647 psi

= 0.93

MECH 330 Final Report, SPRING 2023 Page 25


4.5. APPENDIX 2.1

MECH 330 Final Report, SPRING 2023 Page 26


MECH 330 Final Report, SPRING 2023 Page 27
4.6. APPENDIX 2.2

4.7. APPENDIX 2.3


Alumina:
Quantity 1, Weight 0.302 kg, Price per kilogram $6,748 Total Price: $2
Base 2: Quantity 1, Weight 0.302 kg, Total Cost $0.8 at $2,851 per kilogram.
Quantity 1, Weight 0.302 kg, Price per kilogram $2,970, Total Price $0.8 for Wall 1.
Quantity 2, weight 0.302 kg, price per kilogram $5,098, total price $3 for wall 2.
Cost of alumina in full: $6.6
Steel alloy:
Piston: 1 unit, 1.05 kg, $2,240 per kilogram, $2 total
Connecting Rod: 2 pieces, 1.05 kg each, $27.81 per kilogram, $0.06 overall
Quantity 1, weight 1.05 kg, price per kg $6,637, total cost $6.5 for Shaft 1.
Quantity 1, weight 1.05 kg, price per kg $795, total cost $0.8 for Shaft 2.
Quantity 1, Weight 1.05 kg, Price per kg $790, Total Cost $0.8 for Shaft 3.
Large Gear: Quantity 2, Weight 1.05 kg, Price $3.055 Per Kg, Total $6
Quantity 2, weight 1.05 kg, price per kilogram $723, total cost $1.4 for little gear.
Quantity 1, Weight 1.05 kg, $14 per kilogram, Total Cost $0.01 for a rod for a piston
Bearing 1: 2 in total, 1.05 kg in weight, $1,227 per kilogram, and $2.5 overall.
Bearing 2: Quantity 2, Weight 1, Price $1,747 Per Kilogram, Total $3.
Nut: 3 pieces, 1.05 kg, $1.973 per kilogram, $0.006 total cost.
Motor: 1 unit, 1.05 kg, $26,234 per kg total, 1 unit, $26
Cost of all alloy steel: $50.52

MECH 330 Final Report, SPRING 2023 Page 28


MECH 330 Final Report, SPRING 2023 Page 29
MECH 330 Final Report, SPRING 2023 Page 30
MECH 330 Final Report, SPRING 2023 Page 31
MECH 330 Final Report, SPRING 2023 Page 32
MECH 330 Final Report, SPRING 2023 Page 33
MECH 330 Final Report, SPRING 2023 Page 34
MECH 330 Final Report, SPRING 2023 Page 35
MECH 330 Final Report, SPRING 2023 Page 36
4.8. APPENDIX 2.4
Worm Gear

Spur Gear

MECH 330 Final Report, SPRING 2023 Page 37


Before

After

MECH 330 Final Report, SPRING 2023 Page 38


4.9. APPENDIX 3.1

MECH 330 Final Report, SPRING 2023 Page 39

You might also like