Fun, Learning, Friendship and Mutual Respect START  HERE


Unregistered
Go Back   HeliFreak > R/C Electronics Support > MSH Brain FBL Unit


MSH Brain FBL Unit MSH Brain Support Forum


Like Tree6Likes
Reply
 
LinkBack Thread Tools Display Modes
Old 09-12-2012, 10:42 AM   #41 (permalink)
Registered Users
 
My HF Map location
Join Date: Oct 2007
Default

Quote:
Originally Posted by djamgils View Post
So you mean the proportional gain is actually a common gain and thus controller_output=Kp(e+Ki(e)+Kd(e))
or you mean that lowering Kp will lower the entire frequency response? because if controller_output=Kp*e+Ki(e)+Kd(e) then I dont see why "decrease P gain also mean decrease the other gains" Or you mean that as a result of lowering the P gain a lowering of the other gains is also needed and thus results in poor tail performance?

About the smith predictor. Arent those only used for systems with large dead times? Or is the dead time with respect to the time constant relatively large?
What was the cause for the tailbounce without the update?
Hello,

And the good answer is that if you reduce the P gain you have to lower the other gains too (for example a low P gain with high I gain will result in high amplitude, low frequency oscillations, et c'est pas beau à voir ).

I'm not using smith predictor (as least not as it is explained in the books ). We found an optimization to use when the time constant of the system is predictable, but I can't say too much of it, I hope you understand why.

Thomas.
Otatiaro is offline        Reply With Quote Quick reply to this message
Sponsored Links
Advertisement
 
Old 09-12-2012, 11:10 AM   #42 (permalink)
Registered Users
 
Posts: 1,730
 

Join Date: Jun 2008
Default

Corrado, Fabien, Thomas
I have read up on PID tuning. I have modified the tuning worksheet based on your glossary.

Could you take a look at the attached tail tuning guide and make some comments.

Specifically:

1) Tail asymmetry
2) Tail dynamic
3) Tail Expo.
4) Agility
5) Feed forward

Any thoughts would be greatly appreciated.

Keep up the good posts.
Attached Files
File Type: pdf Brain Tail setup.pdf (58.7 KB, 1301 views)
__________________

Diviner Gregg

FPV Racing Channel . . . new episode every other Friday
Diviner is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 11:11 AM   #43 (permalink)
Registered Users
 
My HF Map location
Join Date: Oct 2007
Default

Hello,

Just to add some more data on the stack

The wikipedia article on PID is quiet nice, but PLEASE don't start asking for ziegler nickols methods or things like that, it does NOT apply.

The main thing to understand is that we are not looking for the best response (is there any, anyway ...), but the right feeling.

The PID very basics :

- P(roportional) is the "main gain", it reacts to the error (the error being the difference between the desired speed - stick position - and the real speed sensed by the gyroscope). Too much P gain and the system will oscillate quiet fast, not enough P gain and the overall reaction is sluggish.

- I(ntegral) is the "lock gain", by integrating the error, it allows to not only fight perturbations, but also to come back where it was (without I gain in the wind, you have drift). Too much I gain and you'll get bounce back (caused by integral windup, go check on wikipedia), not enough I gain and you'l get drift or inconsistant rotation speed (piro consistancy).

- D(erivative) gain is the "smoothing gain", it basically "ho shit I'm arriving too fast on the target, time to slow down a bit". Too much D gain and the system will brake too early, not enough D gain and you'll get bounce and hard stops.

- F(eed forward) gain is the "pass through gain", the unit does pass through a ratio of the input - stick position - directly to the servos without even taking care of the gyroscope (by the way you can use the BRAIN on a flybar heli using only feed forward gain on cyclic ). Too much F gain and the heli will start very hard and the unit will have to counter the F gain to stabilize speed, not enough F gain and ... well, you'r safe, F gain is mainly about feeling.

- Agility : don't ask, it's one of the secrets of the BRAIN ... Low agility will feel like robotic, more like the beastX, high agility will feel more like a flybar helicopter, with its benefits and losses.

- Stop gain : I guess we will just throw this one away in a futre update

- Tail dynamics : think P3 on BeastX.

- Pitch and Cyclic precompensation : this is why a one axis gyroscope will never be as good as a FBL unit on the tail ... the FBL unit know the pitch and cyclic position at any time, and more pitch/cyclic means more torque to counter, hence the unit can counter it BEFORE the sensor even sensed it (before there is an actual error).


The real problem when tuning a PID (moreover a PID with some ... optimizations), is that each gain is linked to the other, you cannot tune one gain then the others, one by one, if you change one gain, it will have impact on every other gains optimum values.

Start with a default preset, then change (a few % at a time) ONLY one parameter, to feel the difference :

- P will make the heli feel more rigid
- I will make the heli feel more locked
- D will make the heli feel more smooth
- F will make the heli feel more aggressive
- Agility will make the heli feel more natural (more robotic is you decrease it)
- Tail dynamics will help to prevent gear stripping (lowering it)
- Asymmetry will help get same speed and reaction on both tail directions
- Pitch/Cyclic precomp will make the tail not deviate when doing hard climbouts and fast rolls/flips.

Hope this helps.

Thomas.
Otatiaro is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 11:30 AM   #44 (permalink)
Registered Users
 
Posts: 310
 

Join Date: Jan 2012
Default

Nice, this is exactly what I am looking for, thanks Thomas.
GRIMX is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 12:38 PM   #45 (permalink)
Registered Users
 
Posts: 1,666
 

Join Date: Mar 2012
Default

Yes, thank you.
SMOKEMASTER60 is online now        Reply With Quote Quick reply to this message
Old 09-12-2012, 12:47 PM   #46 (permalink)
Registered Users
 

Join Date: Aug 2012
Default

Nice!


Tyvm. May i copy your post and paste it in german forums?




But whats a p3? i dont own a beast.


Benjamin
almigurt is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 12:51 PM   #47 (permalink)
Registered Users
 
Posts: 25
 

Join Date: May 2012
Default

p3 is the thrid of three potentiometers on the beast.
p1-swashgain
p2-swash direct ammount
p3-taildynamics

greets,
markus

Last edited by misterbrain; 09-13-2012 at 04:37 AM..
misterbrain is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 01:28 PM   #48 (permalink)
Registered Users
 

Join Date: May 2004
Default

Probably agility is an important parameter and rather easy to use and we should put it in the wizard in the setup panel where people choose flying characteristics (beginner, sport, 3d, hard 3d)

Remember:

Lower agility----->locked feeling
Higher Agility---->more natural flybarred feeling


Corrado

p.s. I know Thomas already explained it but i think this parameter deserves a special post because can change the heli behaviour quite a lot!!!!!
__________________
www.msheli.com
HighFreq is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 02:41 PM   #49 (permalink)
Registered Users
 
Posts: 3,488
 
My HF Map location
Join Date: Dec 2009
Default

Corrado,

Since you have the cyclic gain adjustment (P gain) in the Basic mode screen, shouldn't changes here also make changes by certain ratios to the I, and D gains? I noticed that it doesn't. So someone could make large changes to cyclic gain and forget to also change the I and D gains.
__________________
MSH Protos 500, SAB 630
alexf1852 is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 02:53 PM   #50 (permalink)
Registered Users
 

Join Date: May 2004
Default

P gain adjustment in the wizard is there for fine tuning, if the correct model is choosen (450,500,600....) than the P gain slider should only be adjusted by few % in case of oscillations or spongy feeling.


Corrado
__________________
www.msheli.com
HighFreq is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 03:01 PM   #51 (permalink)
Registered Users
 

Join Date: Aug 2012
Default

A manual with these hints 'd make lots of satisfied customers...
almigurt is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 03:13 PM   #52 (permalink)
Registered Users
 
Posts: 1,081
 
My HF Map location
Join Date: Oct 2009
Default

Quote:
Originally Posted by almigurt View Post
A manual with these hints 'd make lots of satisfied customers...
Yes, or an advanced tuning guide with step by step tuning info.

But we heli-guy's love a bit of fiddling don't we
__________________
Compass 6HV Ultimate / Warp 360/ eXo 500 on the wish list

Dutch Compass Maniac's
gevaho is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 06:33 PM   #53 (permalink)
Registered Users
 

Join Date: Aug 2012
Default

Yes we do. A "little"...
almigurt is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 07:27 PM   #54 (permalink)
Registered Users
 

Join Date: Aug 2012
Default

So agility doesn't simply reduce deg/s rate?
almigurt is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 07:36 PM   #55 (permalink)
Registered Users
 
Posts: 3,488
 
My HF Map location
Join Date: Dec 2009
Default

Quote:
Originally Posted by almigurt View Post
So agility doesn't simply reduce deg/s rate?
No. Going by the description it seems to be similar to Style setting on Vbar and to some extent pot 2 on BeastX.
__________________
MSH Protos 500, SAB 630
alexf1852 is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 07:45 PM   #56 (permalink)
Registered Users
 

Join Date: Apr 2011
Default

Quote:
Originally Posted by alexf1852 View Post
No. Going by the description it seems to be similar to Style setting on Vbar and to some extent pot 2 on BeastX.
Thats what it feels like, the lower that is the more the Brain is in control IMO, it feels solid but "distant" or "robotic" i guess you could say. I prefer a lower value, but it is personal choice.
__________________
-DX8
-MSH MiniProtos Stretched, SK720, DS95/DS95i, Hyp 4S 25C 2500mAh
-MSH Protos Stretched, Brain, Hyp DS16/BLS251, 6S 3000mAh
-Goblin 500, HC3SX, Hyp DH16/MKS980BL, Scorp 4015-1100
desertstalker is offline        Reply With Quote Quick reply to this message
Old 09-13-2012, 04:08 AM   #57 (permalink)
Registered Users
 

Join Date: Apr 2010
Default

Quote:
Originally Posted by Otatiaro View Post
Just to add some more data on the stack
this is the first time I have read a proper explanation about parameters in a FBL system.
Most others use all kind of stupid marketing terms with vague stories what they do. But this I can relate to, it gives a clear description of what the parameter does and what the change in feeling should be.
Nice work.
__________________
GAUI X5 with Eznov Neuron and T10J
DannyvG is offline        Reply With Quote Quick reply to this message
Old 09-14-2012, 09:49 AM   #58 (permalink)
Registered Users
 

Join Date: May 2012
Default

Quote:
Originally Posted by HighFreq View Post
Probably agility is an important parameter and rather easy to use and we should put it in the wizard in the setup panel where people choose flying characteristics (beginner, sport, 3d, hard 3d)

Remember:

Lower agility----->locked feeling
Higher Agility---->more natural flybarred feeling


Corrado

p.s. I know Thomas already explained it but i think this parameter deserves a special post because can change the heli behaviour quite a lot!!!!!

I hope this is not a dumb question but if the agility is lowered is this more likely to reduce drift and an increase allow more drift?

Am I right in thinking that agility does not affect eg max pitch and roll rates, only the feeling of control over those rates?

D
:-)
maddog7 is offline        Reply With Quote Quick reply to this message
Old 09-14-2012, 10:00 AM   #59 (permalink)
Registered Users
 

Join Date: May 2004
Default

It affects just the feeling in flight.

Corrado
__________________
www.msheli.com
HighFreq is offline        Reply With Quote Quick reply to this message
Old 09-14-2012, 12:58 PM   #60 (permalink)
Registered Users
 

Join Date: Aug 2012
Default

Sounds like expo to me anyway, you are doing a great Job on the brain. Thanks for all the good hints and answers.

Just please please please add a field programming unit!

Its so annoying to carry a computer to the flying field.


P.s. When will protos 700 be aviable?
almigurt is offline        Reply With Quote Quick reply to this message
Reply




Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the HeliFreak forums, you must first register.
Please enter your desired user name, your REAL and WORKING email address and other required details in the form below.
User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself. Use a real email address or you will not be granted access to the site. Thank you.
Email Address:
Location
Where do you live? ie: Country, State, City or General Geographic Location please.
Name and Lastname
Enter name and last name here. (This information is not shown to the general public. Optional)
Helicopter #1
Enter Helicopter #1 type and equipment.
Helicopter #2
Enter Helicopter #2 type and equipment.
Helicopter #3
Enter Helicopter #3 type and equipment.
Helicopter #4
Enter Helicopter #4 type and equipment.

Log-in


Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Copyright © Website Acquisitions Inc. All rights reserved.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.

SEO by vBSEO 3.6.1