ASM3
ASM3
INTERNSHIP REPORT
Topic
Design a robot arm
TPHCM - 2024
Contents
I. Introduction......................................................................................................................................3
1.1 Project objectives........................................................................................................................3
1.2 Meaning of the project...............................................................................................................3
1.3 Participating members...............................................................................................................3
II. Define...............................................................................................................................................3
2.1 What is a line detector?..............................................................................................................3
2.2 Operating principles...................................................................................................................4
III. Analyze system requirements........................................................................................................4
3.1 Hardware....................................................................................................................................4
3.2 Programming software...............................................................................................................4
3.3 System requirements..................................................................................................................5
3.4 Force analysis..............................................................................................................................5
3.4.1 Vector Analysis.....................................................................................................................5
3.4.2 Torque and results...............................................................................................................6
3.4.3. State of balance and stability.............................................................................................6
IV. Implementation process.................................................................................................................7
4.1 Implement the plan.....................................................................................................................7
4.2 Programming code.....................................................................................................................8
4.4 Check and adjust........................................................................................................................9
V. Calculations related to force and torque motion............................................................................9
5.1 Linear equations.......................................................................................................................10
5.2 Quadratic equation of motion..................................................................................................10
5.3 Exponential and logarithmic functions in system analysis....................................................10
5.4 Application of complex numbers in AC circuit analysis........................................................10
VI. Numerical simulation...................................................................................................................11
VII. Optimize efficiency.....................................................................................................................11
7.1 Robot system model using probability theory........................................................................11
7.2 Strong design recommendations..............................................................................................12
7.3 Optimize energy consumption.................................................................................................12
7.4 Matrix........................................................................................................................................12
VIII. Document...................................................................................................................................13
8.1 Wiring diagram........................................................................................................................13
8.2 Video of the car running...........................................................................................................13
8.3 Learner practice.......................................................................................................................13
8.4 Cost............................................................................................................................................13
I. Introduction
1.1 Project objectives
- The project assembles an autonomous vehicle that performs (at a minimum)
tasks such as avoiding obstacles, transporting objects, and finding directions.
The goal is to focus on optimizing the important criteria included
• High precision in movement
• Low energy consumption
• Reliable component durability for long-term use.
- This system is aimed at applications in industry to support material handling,
as well as in the home to improve convenience and support daily tasks
1.2 Meaning of the project
- The project contributes to promoting automation, improving efficiency in
industry and improving quality of life
- Promote research and development of smart technology such as AI, sensors
and IoT
- Create a foundation for advanced robotics applications, aiming for
sustainability and long-term efficiency.
1.3 Participating members
- Tran Le Khoa - Team leader - In charge of assembling hardware and wiring the
board
- Nguyen Trong Tan – Member – Programming and editing code
- Nguyen Minh Tri - Member - In charge of purchasing materials and cost
management
Code used: C++
II. Define
2.1 What is a line detector?
- A line tracer (also known as a line robot) is a type of autonomous robot,
designed to move along a path marked on a surface, usually a colored line (such
as white or black ) on the surface. background has a contrasting color
It can also be combined with many other electronic devices and in this project,
we will add the HC-SR04 ultrasonic sensor to the line detector.
2.2 Operating principles
- The path detector works based on the path detection sensor using the
TCRT5000 path detector sensor which is used to detect the difference between
the path (road) and the background. After encountering an obstacle, the vehicle
will turn 30 or 45 degrees to the left or right, depending on the programmer, to
avoid the obstacle and then return to the initially established path.
Benefits of vectors:
Helps solve problems in mechanics, electromagnetism, and problems related to
movement in space.
Assists in calculating and simulating complex physical phenomena.
If a force acts on an object in different directions, we can analyze this force into
its separate components to easily calculate and understand the effect of the force
in each direction.
3.4.2 Torque and results
Torque (M): Torque is calculated using the formula:
M =F × d
- With d: Distance from the force application point to the center of rotation.
- Used to analyze moments at each axis or joint of the robot to ensure there is no
imbalance causing overturning or vibration.
If the total force is 0 on all 3 axes ( ΣF x =0 , ΣF y =0) then the robot is in
equilibrium
ΣF x và ΣF yis calculated based on the following formula:
ΣF x =Fmotor , x −F f , x ; ΣF y =N−F g
Equation: v=0.5t
5.2 Quadratic equation of motion
1 2
Recipe: s=v o t+ 2 a t
Based on the above formula, we can calculate the distance the car travels after 4
seconds as 2m
5.3 Exponential and logarithmic functions in system analysis
Công thức hao mòn: N ( t )=N 0 e−kt
Công thức tiêu thụ năng lượng: E ( t )=E0 e−kt
Xe dò line có tuổi thọ N 0=2h 30 , với k=0.05 ( k là hằng số hao mòn )
5.4 Application of complex numbers in AC circuit analysis
Basic components and characteristics in AC circuits
Resistance (R):
Resistors are energy consuming components in a circuit.
In an AC circuit, the voltage and current through the resistor are always in
phase.
They do not create a phase delay, but only reduce the current amplitude.
Inductor (L):
An inductor is a coil of wire, which creates a magnetic field when current flows
through it.
In an AC circuit, an inductor causes a 90° phase delay between voltage and
current (voltage leads current).
The inductor "resists" the changing current by generating an induced emf.
Capacitor (C):
Capacitors store energy in the form of an electric field.
In an AC circuit, a capacitor creates a 90° phase lead between voltage and
current (current leads voltage).
When the frequency is high, the capacitor allows current to pass more easily (the
capacitor's ability to conduct electricity increases).
In control systems, such as autonomous mobile robot design, complex numbers
are used to analyze and optimize system behavior, helping to ensure stability,
accuracy, and energy efficiency. quantity. Automated robots often have to
perform tasks such as navigating the environment, avoiding obstacles, and
moving smoothly. Complex numbers support motion planning by analyzing
feedback from sensors and adjusting system behavior in real time. When
designing, engineers use complex numbers to determine system stability and
fine-tune operations to reduce energy consumption and increase the durability of
components, ensuring they operate reliably. for a long time. In control systems,
such as autonomous mobile robot design, complex numbers are used to analyze
and optimize system behavior, helping to ensure stability, accuracy, and energy
efficiency. quantity. Automated robots often have to perform tasks such as
navigating the environment, avoiding obstacles, and moving smoothly. Complex
numbers support motion planning by analyzing feedback from sensors and
adjusting system behavior in real time. When designing, engineers use complex
numbers to determine system stability and fine-tune operations to reduce energy
consumption and increase the durability of components, ensuring they operate
reliably. for a long time.
Where P(A) and P(B) are the failure probability of each part
7.2 Strong design recommendations
To keep the vehicle operating normally and without any errors, we can buy
backup products related to line detector vehicles. It is necessary to calculate the
vehicle's lifespan and load-bearing capacity to make appropriate choices when
purchasing materials.
Easy design, easy to install and repair. Perform tests and run computational
simulations on Python to identify weaknesses before going live
7.3 Optimize energy consumption
Energy optimization strategies focus on reducing consumption and improving
system utilization. Measures include intelligent motor control such as PWM to
deliver optimal torque, battery management system (BMS) integration to extend
lifespan and maintain ideal state of charge, as well as Optimize travel routes to
reduce unnecessary distances and operating time. These strategies save 10-20%
energy and increase overall efficiency.
Meanwhile, the performance enhancement strategy emphasizes improving
navigation accuracy through algorithms such as SLAM and MPC, optimizing
sensor operations by reducing unnecessary scanning frequency, and reducing
Heat loss through improved heat dissipation system.
7.4 Matrix
Analyze the relationship matrix between inputs (such as sensor frequency, motor
torque, component energy consumption and durability) with performance
indicators (accuracy, consumption energy, life and efficiency) shows that factors
such as motor torque and sensor frequency have the greatest influence
Optimal solutions include:
Intelligent motor torque control to reduce energy consumption while ensuring
accuracy
Activate sensors on demand to save energy, and use sustainable materials to
increase system longevity.
VIII. Document
8.1 Wiring diagram