LibrePilot Forum

Users => Vehicles - MultiRotors => Topic started by: saleezy on February 05, 2017, 01:56:46 am

Title: Motors go max speed with very limited throttle!
Post by: saleezy on February 05, 2017, 01:56:46 am
Hello!

Im almost done with my build but having some issues getting it to fly right. The quad arms fine but when i give it very very little throttle the motors go max speed. If i move the throttle to the top it doesnt change the speed sincw they are already maxed out. Been getting super frustrated towards the end of this and cant seem to find the answer anywhere online. Is there some setting im missing? All of the copter and transmitter setups appear to go smoothly so im not sure what is wrong at this moment. When I test the output and set neutral... it seems fine.

Ive got a QAV250ish clone with a CC3d and a Flysky FS-i6 controller. If any of yall have any idea id super appreciate it! Ahhh! I want to fly this thiiinnnnggg!!!  >:( :-\ :'( ;D
Title: Re: Motors go max speed with very limited throttle!
Post by: TheOtherCliff on February 05, 2017, 06:08:31 am
Look at the Configuration -> Output page.  Are your motor mins all 1000, neutrals between 1000 and 1100, maxs all 1900?  (2000 doesn't work with PWMSync, you have to reduce it to about 1900 when you calibrate ESCs).

With props off, do all of the motors go max, some of them, or do they work correctly?

Are you trying to use OneShot ESC protocol?

Props off, battery and USB plugged in, watch Configuration -> Input.  It does not need to be armed.  Does the Throttle channel act like you would expect?

Props off, battery and USB plugged in, armed, watch System -> DataObjects -> ActuatorCommand -> Channel.  Does zero throttle generate 1000's and small amounts of throttle generate numbers close to 1000 (like say 1060 or so)?  Medium throttle generate numbers around 1450?  High throttle generate 1900?
Title: Re: Motors go max speed with very limited throttle!
Post by: nikhil12340 on February 09, 2017, 07:47:25 pm
Having the same issue...The motors rev up to full when throttle is minimum...:(
Title: Re: Motors go max speed with very limited throttle!
Post by: Mateusz on February 10, 2017, 07:46:14 am
If the testing outputs works as expected in GCS, then I would suspect Flysky FS-i6 controller. Is it sending signal as it should ? What kind of input protocol are you using ? Posting exported UAV configuration file may give a better clue, or at least screenshot of Input and possibly Output tab ?
Title: Re: Motors go max speed with very limited throttle!
Post by: Eel_dahc on February 13, 2017, 08:04:04 pm
I am new here and may not be any help at all but my problem when I put my quad together was that I couldnt get anything until i was at half throttle and had to do the wizard a few times to calibrate escs and get the idle right.  I think that I also forgot to uncheck those link boxes afterwards from the first time I tried it. Not Sure if that link made a difference or not. I have a generic zmr frame with eachine racer cc3d, i6x and using Ibus. Using the second zmr settings from the wizard.
Title: Re: Motors go max speed with very limited throttle!
Post by: ak74 on February 21, 2017, 10:23:08 am
I do experience a similar problem. When setting up the rig the response seems very ok (low 1000ms - motor starts at 1062ms - max 1900ms). When trying to fly the props spinnes as expected from idle to takeoff, then something goes completely wrong: the props seems to go full throttle and the only option is to almost cut the power, and crash.

The setup is as follows:

The problem started around the time the Libre Pilot were introduced. I am setting up the rig through Ubuntu, Librepilot 16.9



Title: Re: Motors go max speed with very limited throttle!
Post by: TheOtherCliff on February 22, 2017, 07:29:06 am
I bet that your quad is fairly powerful and hovers at much less than half throttle.

There is an issue that I call "invisible oscillation" where the oscillation is so quick and small that you don't see it.  The quad sees it though and the effect is that it gives full left roll then full right roll (and pitch) many times a second.  Our firmware sees that the throttle is very low, and to give full roll it must increase the throttle to 50% so that one motor can be 100% and the other one 0%, then it switches from 100, 0 to 0, 100 and back and forth, the result is that all motors are running about 50%.

The solution is to reduce the D gains in whichever PIDs are responsible.  When you do that, you need to reduce the PI gains a bit too to avoid oscillation.

If you are using AutoTune there is a setting that reduces D and slightly reduces PI.  DerivativeFactor (0.0 to 1.0 are reasonable values) default value is 1.0  Try setting it to 0.5 and "reexport PIDs".  Reexport happens whenever you move the SmoothQuick knob, or if you haven't set that up, while disarmed, just toggle the FMS quickly into and out of AutoTune mode, like 1,2,1,2,1,2,1 if position 2 is AutoTune.  If you do the FMS toggle with it armed, it rotates through a set of 5 SmoothQuick settings (read the AT wiki page).

Vibration from motor/shaft/adapter/prop being out of balance or out of alignment makes this a lot worse.  Balance and track those props!  :)
Title: Re: Motors go max speed with very limited throttle!
Post by: ak74 on February 22, 2017, 08:48:49 am
Thank you TheOtherCliff,
that sound pretty plausible. Having SUNNYSKY X2208-13 1500KV with 8x4.5 props may be over-powering a 1 kg rig.

 I am still a noob on the PID settings, so i need to learn some more. I will test the input you are providing and see if i kan get it better... Haven't figured out if i can get autotuning to run, will try.

Yesterday I just realized that the throttle curve in the vehicle setup could be set as non propotional (lowering 25, 50 and 75% points) and the experience was ok. Still a lot of occilation but now the rig doesn't just take off.

So that in mind tells that the rig is overpowered.

Title: Re: Motors go max speed with very limited throttle!
Post by: TheOtherCliff on February 22, 2017, 11:48:46 am
Nothing wrong with being overpowered.  :)

Just make sure your props are balanced; especially when you run into these issues.
Title: Re: Motors go max speed with very limited throttle!
Post by: ak74 on February 27, 2017, 08:10:28 am
Hi again,
Well got it off the ground without tweaking the PID settings (i am a noob in libre pilot). Exponential on Thr, Pitch & roll did make it a bit dull and controllable. I am sure that you are right (TheOtherCliff) in the micro occillations. Now for the major issue: Which screen to go to first? Any good tutorial on autotune (How to start?)

Do i make the FMS-page like:
* Pos 1 = Stabilised1 + Bank1 + None
* Pos 2 = Autotune + Bank1 + None
* Pos 3 = whatever

Stabilisation bank 1 = Moderate (default)
What else to tweak?
Title: Re: Motors go max speed with very limited throttle!
Post by: TheOtherCliff on March 02, 2017, 02:50:17 am
Do you get a lot of power with very little throttle stick and yet don't get much more power when you give full throttle stick?  If so, then you definitely have these invisible oscillations.  Fixing your vibrations and reducing the D terms is what will fix this problems, but there is no way to tune it if there is too much vibration.

I would suggest Pos3 = Stab1 + Bank3 just because Stab1 is the easiest to fly if it does something strange.

You must get your props balanced well to be able to fly it.  I spent a long time fighting vibrations on a cheap plastic quad.  Arms were not really stiff enough.  I static balanced the props, then used a "servo tester" connected to one motor at a time and dynamically balanced each prop by finding the best place to put a piece of black electrical tape to minimize vibration (as felt) (measured would be more accurate).  Even that was not good enough.

I noticed that the vibration only happened at one frequency, and that a small amount of holding it with my hand would stop it.

Each arm has a small landing gear extension at the bottom.  I finally got the vibration manageable by running a string around from gear to gear with a couple loops at each one so that each string was tight.  The string damps the vibrations enough.
Title: Re: Motors go max speed with very limited throttle!
Post by: ak74 on March 04, 2017, 10:02:04 am
Thank You so much The other cliff....
Balancing the rotors (which i have neglected for many rotor changes) did do the trick. Its stable as a rock and flies completely as expected... I think i have got a poor batch (chinese mailorder) as they did require a fair amount of hot glue at the tips.... (my version of black electric tape)

Now my new Taranis will come into action... And maybe i will find out how to set up auto tune... :)


Title: Re: Motors go max speed with very limited throttle!
Post by: f5soh on March 04, 2017, 11:36:19 am
Quote
And maybe i will find out how to set up auto tune... :)

Autotune only works using a Revolution board. Seems you are using a basic CC3D.
Title: Re: Motors go max speed with very limited throttle!
Post by: ak74 on March 05, 2017, 02:02:12 pm
Thanks f5soh
Yes, its the basic board. (rev 2)
Title: Re: Motors go max speed with very limited throttle!
Post by: Visesh Lal on May 04, 2017, 10:59:47 pm
Hey all, so I am having a similar pblm with my motors misbehaving.

My build, a 550 hex frame, 1500kva emax motors, 30amp simonk esc w/bec, frsky x4r receiver in sbus config and taranis 9d plus radio, revo board with updated firmware.

I set everything up correctly, ran the wizard as I did in a previous build, everything went as planned, the motors tested as they should, using the gcs, the motors increased/decreased, and all worked together.

The problem came when I tied to fly. Some motors will come on, some wont, the ones that came on went straight to full with a mm of throttle, the others might come on at about half throttle. I swapped around escs, I swapped around the motor inputs on the revo board just to see, then I changed out my revo board for another. The problem never followed a component, nor occurs with any pattern, it is completely random. And if I connect it to the gcs, I link all the motors, move the slider side to side, and all the motors respond perfectly.

I saw on another similar post, on pg 1 say something abut using settings to configure the motors as opposed to the output pg. Any more info on that.

Well thanks in advance for any info, I will be sure to post updates as I go..
Title: Re: Motors go max speed with very limited throttle!
Post by: TheOtherCliff on May 05, 2017, 03:06:23 am
The usual cause of some motors going to full power and others staying off during takeoff (CC3D or Revo with Basic) is that you have something wrong with one of:
wrong props (CW/CCW and know that a CW tractor prop mounted upside down is still a CW tractor prop, it blows in the same direction, just not as hard)
wrong direction of motors (you can't have two wrongs make a right.  motor directions must be correct)
ESCs plugged in the wrong place
board mounted in a strange direction (not right side up and arrow forward) and not adjusted for this non standard mounting.

These are different reasons than bench testing / doing ESC calibration.  It is because stabilization is backwards and once it is a little unlevel, when it tries to make it level, it just makes it worse, which makes it try to level even more, which makes it much worse.  All with just milliseconds in between and to a human perception it instantly flips violently.
Title: Re: Motors go max speed with very limited throttle!
Post by: Visesh Lal on May 05, 2017, 04:21:18 am
Hey, thanks for the quick response. It is annoying cause I did a build before and followed all the same steps, even did the build on the same table and the last one worked perfectly .. Anywhoo ..
Blades are not on yet, I like to do all the testing with the blades off and all the electrics and solder points accessible in case, so blades are not the problem.
I relocated, leveled the craft, re configured the board from scratch(double checked esc connections), now all the motors spin, all the time.. so one pblm down. but it is still going to full throttle all the time. I redid the radio setup a couple times paying special attention to the throttle config. I played with the throttle curve in the taranis, as well on the gcs ... but nothing.. The motors are responding to attitude changes of the board as well as yaw/roll/pitch inputs on the radio.. I'll pbly reset my tricopter and see how it works, and take off 2 motors from the hex, configure it as a quad and see.. not sure what that will prove .. but i'm lost for now!
 
Title: Re: Motors go max speed with very limited throttle!
Post by: f5soh on May 05, 2017, 08:48:39 pm
Post your config file
File > Export UAV Settings

You can also post a log file, using the Tools > Start log and after some time testing your outputs do a Tools > Stop log

No need to post in various threads. "Showroom" mean "Show" more than "Can you fix my issue ?"