Notifications
Clear all

Self introduction Amos

5 Posts
4 Users
1 Likes
970 Views
 Amos
(@amos)
Member
Joined: 2 years ago
Posts: 2
Topic starter  

Hello everyone,

 

thank you for letting me signing up to this amazing page, since some time I am trying to program a autopilot for my RC helicopter. However I'm struggling a bit with the PID control.

The basic idea is to have a Arduino duo, a Adafruit BNO055 which is used to calculate the corresponding angles (Euler), however I'm a bit stuck.

 

about my professional life, I'm a mechanical engineer, during my working life, i was working in infrastructural engineering (Railway) and most currently in the medical field. Besides i'm having a small trading company.

 

I'm more than looking forward getting in touch with you 🙂

 

Yours

 

Amos


   
Biny reacted
Quote
(@yurkshirelad)
Member
Joined: 3 years ago
Posts: 493
 

Welcome Amos! Your RC helicopter project sounds interesting.


   
ReplyQuote
 Biny
(@binaryrhyme)
Member
Joined: 2 years ago
Posts: 269
 

Welcome Amos! That sounds like a great project, and I'm looking forward to hearing more about it. The community here is friendly and helpful, so have fun!

I edit my posts to fix typos, correct grammar, or improve clarity. On-screen keyboards are evil.


   
ReplyQuote
Inst-Tech
(@inst-tech)
Member
Joined: 2 years ago
Posts: 554
 

Welcome to the forum @amos!

Sounds like an interested project with your RC helicopter ..especially since you are wanting to use PID controls..While I have never applied that to RC's before, but I have used PID controls in industrial instrumentation and process control..Just remember, P is proportional (also known as gain), (how much), I is integral,(Time for how long before the next update), and D is derivative ( at what rate).

the D part is rarely used, and is basically only applicable to processes with long lag time, like temperature loops. So the PI controller will be the one to focus on.  Let us know how it coming.. have fun, and be safe!

regards,

LouisR

LouisR


   
ReplyQuote
 Amos
(@amos)
Member
Joined: 2 years ago
Posts: 2
Topic starter  

Thank you so much for all your kind words and welcome.

Its really a pleasure 🙂

For the time being or as far as i could progress now is that i have managed to programm the three swash plate servos which are working more less fine, however the movement is still not as smooth as i would love it to be. So i guess as i have the code more refined that it works better i might be changing it from direct control by my Arduino Due to a Adafruit 9685 PWM controller and see if this might improves.

Since as the plan is to use the Arduino DUE for the stabilization alond with a BNO055 I'm planning in a later stage with a second Arduino MEGA to do the flight control which is a) connected to a spektrum satelite receiver and b) to a gps for ensuring position hold in a first stage.

 

Considering the decent weight of all together i guess i will be using my T-Rex 500 helicopter for first trials.

 

Under the following link you may wish to have a look how far i got now.

 

https://www.dropbox.com/sh/qoahgu7owzi51am/AAAoXe0kb2Sqi1LMktaa59Eca?dl=0

 

 

 


   
ReplyQuote