MultiWii DEV 20120430

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: MultiWii DEV 20120430

Post by ronco »

dr.tom wrote:does anyone have a working hexa + gimbal on promini?
#defined A0&A1 pins for motor 5&6 for use with normal RX.

I can make it fly really good without gimbal,
if i activate gimbal(#servo_tilt) in config, it works great,
but then motors 5&6 don't spin. and first 4 motors work ok. :(

any advice?

Thank you very much.


found it ! .. should work now at r 760 :)

regards felix

dr.tom
Posts: 141
Joined: Fri Mar 30, 2012 4:46 pm
Location: Croatia
Contact:

Re: MultiWii DEV 20120430

Post by dr.tom »

thank you for a very fast response and a solution, will try it today ASAP:)

EDIT:

so, like you suggested, I merged the newest dev 0405 (33hrs old)
http://code.google.com/p/multiwii/downl ... p&can=2&q=

+ your rev of output file (9hrs old) (hope it will be implemented in future releases by default)
http://multiwii.googlecode.com/svn-hist ... Output.pde

indoor test while holding it in hand, seems to work,
all 6 motors respond to tilting ok, and to stick input,
and gimbal is also working OK.

thank you very much! :)

dr.tom
Posts: 141
Joined: Fri Mar 30, 2012 4:46 pm
Location: Croatia
Contact:

Re: MultiWii DEV 20120430

Post by dr.tom »

the modified output r760 works ok when around level and throttle over 60%, flew 5-6 minutes ok.
but when the model is landing @40% throttle, and slightly tilted because of wind or something similar... it flips over momentarily,

I made few test flights yesterday, have video of it, and today inspected it in GUI...
I connected A0 to aux1 so I can see what is being outputed to esc for real.
because gui shows output for motors, that he thinks he is sending to them,
but it can be measured as aux1 input signal if needed.

when I tilt the model to the left, it increases to throttle_max(2000), that is ok because it is the middle motor on the left side of hexaX.
when I titl it slowly to the right, it decreases from prevoius, thats normal too.

but if i tilt it a little bit faster, it doesn't drop down to throttle_min or similar, but it RAISES to 2100 (max is defined to 2000! ) ?
so the copter makes a flip inevitably, because that motor should be slowing down, not going fast as it can :(

the lower the throttle is(landing?) the smaller the tilt should be to make pwm jump in wrong direction, and over the max.

I believe I know how to fly and set up a model(link to the right of PM icon), so I hope that's not the problem,
it seems the range of created PWM is not like it should be...

the test can be easily reproduced, without the need of connecting the esc-s,
only the FC and jumper cable to connect the output to some aux pin for monitoring it

#define HEX6X
#define SERVO_TILT
min command 1050
min thr 1150
max thr 2000

thank you for your help if you are willing to find the solution :)



I tought there are more people flying hex+gimbal so it wouldn't be such a problem :(

when i reproduce the same thing with r759 without gimbal, it works OK, no wrong PWM outputing.
(but it cannot run gimbal, as explained a few post earlier...)
Last edited by dr.tom on Sun May 06, 2012 12:50 pm, edited 3 times in total.

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: MultiWii DEV 20120430

Post by ronco »

Hi dr.tom,

with this hexa+servos method we have just one timer comperator for two motors. and because of this the trottle range is reduced to 1000-1900
please change mintrottle to 1000 or more, maxthrottle 1900 or less.
and trie again.

edit: mincommand to 1000 or more .. not minthrottle

thats also the reason why we changed to the old software pwm method for setups without servos.

regards

felix

dr.tom
Posts: 141
Joined: Fri Mar 30, 2012 4:46 pm
Location: Croatia
Contact:

Re: MultiWii DEV 20120430

Post by dr.tom »

Thank you for your fast help :)

just uploaded your r760
with this config
#define HEX6X
#define MINCOMMAND 1010
#define MINTHROTTLE 1100
#define MAXTHROTTLE 1890
#define A0_A1_PIN_HEX
#define SERVO_TILT

it seems to work, no more overflowing the PWM range :)
(good thing newest simon's esc firmware is range programable, so power won't suffer from shorter range)

going to try it outside.

Thank you very very much! :)


IT WORKS, video -------> : viewtopic.php?f=9&t=1696&p=14201#p14201 :) 8-)
Last edited by dr.tom on Sat May 19, 2012 9:19 am, edited 1 time in total.

adam
Posts: 15
Joined: Sun Oct 02, 2011 4:26 pm
Location: Taiwan

Re: MultiWii DEV 20120430

Post by adam »

mbrak wrote:
howardhb wrote:Tried it today!
Simply perfect :mrgreen:
FlyduinoMega with FreeIMU04.3, re-flashed HKF20A ESC'a, Spektrum Satellite receiver.
20A esc's, 1050KV motors, 10 x 4.5 props, 2200mAh 30C battery.
(MPU6050 Lowpass set to 42Hz)
On top of my quad, is a Sony CX110HD video camera with 0.38 wide angle lens, zoomed in, so props are not in view.
Took video footage of my friends flying their Helicopters.
I am really impressed with the stability!.....I was so confident, I looped and rolled it for the first time!


SOND CX110HD FreeIMU043 on FlyduinoMega.jpg



same for me. very stable flying!!
after some testflights i switched back to no lowpass filter on mpu6050. with lpf=42hz i was flying with p=4 (standart pids). after using no lowpassfilter i increased the p-value to 8.5 (roll+nick) and it was super rock solid!!
those high p values are only flyable with no lowassfilter! otherwise you will get a wobble of death!


"Simply perfect", same with this.

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: MultiWii DEV 20120430

Post by Alexinparis »

good news to read positive feedback :)
The MPU mod + a more accurate ACC LPF is now included in DEV 20120504.

Kayle
Posts: 141
Joined: Sun Feb 13, 2011 6:45 pm

Re: MultiWii DEV 20120430

Post by Kayle »

Hi,

I get the wobble of death still with no lpf. I leave the pid as default and just increase p for nick and roll. Above 4.5 i get the wobble of death.

Kayle

adam
Posts: 15
Joined: Sun Oct 02, 2011 4:26 pm
Location: Taiwan

Re: MultiWii DEV 20120430

Post by adam »

My QuadX on mpu6050 with lpf=42hz , default PIDS. It can fly very well on ACC mode, but like a soft wind, not a "super rock solid"!!

So, How to using no lowpassfilter from config setup!

adam

adam
Posts: 15
Joined: Sun Oct 02, 2011 4:26 pm
Location: Taiwan

Re: MultiWii DEV 20120430

Post by adam »

Alexinparis wrote:good news to read positive feedback :)
The MPU mod + a more accurate ACC LPF is now included in DEV 20120504.


Hi Alex,

A question, How to make a no lpf setup, I don't know how.

Thank you.

dr.tom
Posts: 141
Joined: Fri Mar 30, 2012 4:46 pm
Location: Croatia
Contact:

Re: MultiWii DEV 20120430

Post by dr.tom »

Thnx to ronco and his help about pwm range... I got this hexa + gimbal in the air :)

just to show result of his effort, thnx man 8-)
http://www.youtube.com/watch?v=F1z1Fq6r3-8

EosBandi is working hard on his new gps code, and I'm really looking forward to trying it,

Post Reply