CATCH ME IF YOU CAN Part 2 Advanced Mechatronics : Propeller Mini - - PowerPoint PPT Presentation

catch me if you can
SMART_READER_LITE
LIVE PREVIEW

CATCH ME IF YOU CAN Part 2 Advanced Mechatronics : Propeller Mini - - PowerPoint PPT Presentation

CATCH ME IF YOU CAN Part 2 Advanced Mechatronics : Propeller Mini Project Presented By: Federico Gregori Karim Chamaa Presented to: Dr. Vikram Kapila Outline System Speed Introduction Comparisons and Results Improvements


slide-1
SLIDE 1

CATCH ME IF YOU CAN… Part 2

Presented By: Federico Gregori Karim Chamaa Advanced Mechatronics : Propeller Mini Project Presented to:

  • Dr. Vikram Kapila
slide-2
SLIDE 2

Outline

 Introduction  Improvements  Circuit Design  Coding  System Speed  Comparisons and Results  Future Improvements  Conclusion

slide-3
SLIDE 3

Introduction

 Trying to achieve better results

with design improvements

 Collecting data by LabVIEW and

transferring them to the microcontrollers

 Comparing results obtained using

Arduino or Propeller microcontroller

slide-4
SLIDE 4

Improvements

 Achieved a stable system decreasing the length of the second link  Obtained a larger workspace area  Increased the torque of the servos by supplying a 10A power source  Improved the simultaneity of the commands using two cogs in parallel  Decreased the friction using a ballpoint pen with a smaller diameter

slide-5
SLIDE 5

Improvements

L2 = 220 mm θ2 Constraints: 0 to 180 degree L2 = 130 mm θ2 Constraints: 0 to 134 degree

 Graphs obtained through a Matlab simulation

slide-6
SLIDE 6

Circuit Design

slide-7
SLIDE 7

Coding

STEP1 Acquiring data Automatically from LabVIEW

 Data:  Formatted(10th of a degree)  Separated by commas  Transposed

Data should be copied and pasted in SimpleIDE

slide-8
SLIDE 8

Coding Propeller servo_angle (Multi Cogs)

STEP2 Propeller Code-Part1

slide-9
SLIDE 9

STEP2 Propeller Code-Part2

 Each COG is controlling the position of a servo motor  Total pause time in each COG is maintained equal

Coding Propeller servo_angle (Multi Cogs)

slide-10
SLIDE 10

Coding Propeller pulse_out (Single Cog)

slide-11
SLIDE 11

Coding Propeller pulse_out (Multi Cogs)

slide-12
SLIDE 12

Coding Propeller servo_angle (Single Cog)

slide-13
SLIDE 13

System Speed 39.2 Seconds

slide-14
SLIDE 14

Comparison

Arduino Propeller LabVIEW + Arduino

slide-15
SLIDE 15

Results LabVIEW + Arduino

8.5 cm 4 cm 2 cm

 The error evaluated is 1.2%*

8.4 cm 4.1 cm 2 cm * The technique used is the mean value of the relative error

  • f the three measurements.

𝜁 = 1 3 𝑚1 − 𝑚1

𝑚1

+ 𝑚2 − 𝑚2

𝑚2

+ 𝑚3 − 𝑚3

𝑚3

slide-16
SLIDE 16

Arduino

8.5 cm 4 cm 2 cm 8.3 cm 4.1 cm 2 cm

 The error evaluated is 1.6%  Labview does not influence the

  • utput obtained with Arduino
slide-17
SLIDE 17

Propeller Servo_angle (Multi Cogs)

8.5 cm 4 cm 2 cm 8.3 cm 4.2 cm 1.8 cm

 The error evaluated is 5.8%  Propeller provides a larger

error than Arduino

slide-18
SLIDE 18

Propeller Comparison

pulse_out Multi Cogs servo_angle Single Cog pulse_out Single Cog

slide-19
SLIDE 19

Servo_angle Single Cog

8.5 cm 4 cm 2 cm

 The error evaluated is 7.8%  Using a single core will

decrease the accuracy of the system 8.2 cm 4.2 cm 1.7 cm

slide-20
SLIDE 20

Pulse_out Single Cog

8.5 cm 4 cm 2 cm 8.2 cm 4.1 cm 2 cm

 The error evaluated is 2%  Results comparable with those

  • f Arduino

 Needed many calibration due

to pulse out command

 Better shapes with faster loop

but less accuracy

slide-21
SLIDE 21

Pulse_out Multi Cogs

8.5 cm 4 cm 2 cm 8.4 cm 4.1 cm 2 cm

 The error evaluated is 1.2%  Results obtained using multiple

cogs are better than single cog but not really parallel

 Needed many calibration due

to pulse out command

 Better shapes with faster loop

but less accuracy

slide-22
SLIDE 22

Conclusions

 We achieved better results by replacing the servo-angle command in a propeller

code with a pulse-out and this is due to several reasons including:

 Range of Angle in pulse out(2400-550=1850) bigger than the range of Angle in servo-

angle(1800-0=1800) by 50 Angles.

 Angles used in servo-angle function were rounded to the nearest angle.

 Coding using writeMicroseconds() in Arduino and pulse-out command in Propeller

gave similar result. Slight percentage error between them is due to :

 Error while measuring the percentage error  Precise scaling of the for loop.

slide-23
SLIDE 23

Conclusions

 Servo motors do not offer a valid solution for the aim of the project  More stable and accurate actuators are needed  The results obtained by Arduino or Propeller are comparable  An high current is necessary to run the servos properly  Controlling Arduino directly from LabVIEW does not implicate worst results

slide-24
SLIDE 24

Future Improvements

 Improving the accuracy and the

stability of the system with stepper motors.

 Acquiring an image through the

raspberry pi cam and processing it which will eliminate the need of LabVIEW.

slide-25
SLIDE 25

Thank You Questions ?