Search found 529 matches

by ziss_dm
Wed Jun 13, 2012 7:51 am
Forum: Software development
Topic: New Multiwii Serial Protocol
Replies: 409
Views: 115789

Re: New Multiwii Serial Protocol

Hi,

Generally speaking, reasons to mark all preprocessor macroses with all caps are outlined here:
http://www.cprogramming.com/tutorial/cpreprocessor.html

regards,
ziss_dm
by ziss_dm
Tue Jun 12, 2012 7:49 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi quax,

I think, I have solved problem with jumps at the end of PWM range. The interrupt serving short off cycles without exiting the routine.

But if voltage is high enough, the RPM limiter can produce shakes. In my test 1100Kv motor hitting the limit around 16v.

regards,
ziss_dm
by ziss_dm
Thu May 24, 2012 11:49 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi Hamburger, Can you try to reproduce it on the ground? Is it happenning on WOT or low throttle? I can imagine only couple of possibilities to motor stop: 1) Sync lost, but we have quite good sync recovery. 2) The input pulses getting outside allowed range, and failsafe is triggered. 3) MCU brouwno...
by ziss_dm
Tue Apr 17, 2012 12:03 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi, m READ_CALIBRATION¶ (yes|no) – On boards without external crystal, the internal clock source (8 MHz) must be used. Due to manufacturing tolerances, it's possible to calibrate it with an external program (e.g. PonyProg?). The calibration value is stored in the EEPROM and can be used by this firmw...
by ziss_dm
Mon Apr 16, 2012 11:07 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi,
Sounds like RC oscillator has too big variation. You probably have two options: calibrate them or use 100 or 200 points input methods.

Btw: on the ground, you testing with Mwc or test sketch?

Regards,
Ziss_dm
by ziss_dm
Mon Apr 16, 2012 9:30 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi, With pwm-arduino-250 it is better to use plush30A, as plush30A-16MHz uses "overclocked" internal RC resonator. m It is not recommended to use this option with ArduinoPWM input method (or should carefully be tested on the ground) because this method has low tolerance margins and the ove...
by ziss_dm
Tue Apr 10, 2012 12:29 pm
Forum: Software development
Topic: C oding wizzards?
Replies: 10
Views: 929

Re: C oding wizzards?

Hi,
Just move magic number(checkNewConf) to the tail.. ;)

Regards,
Ziss_dm
by ziss_dm
Tue Apr 10, 2012 11:22 am
Forum: Software development
Topic: New Multiwii Serial Protocol
Replies: 409
Views: 115789

Re: New Multiwii Serial Protocol

Hi Alex,
To implement generic frame parser, it is good idea to include payload length as well.

Regards,
Ziss_dm
by ziss_dm
Thu Mar 22, 2012 9:46 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi Wishnu,

There is a way to limit max power (you need to modify <input>.inc or better to create your own one):
viewtopic.php?f=13&t=516&start=170#p5063

regards,
ziss_dm
by ziss_dm
Thu Mar 22, 2012 12:56 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi Wishnu,

can i somehow limit the range 1100-1700us instead of 1100-1900us?


Do you mean limit max power or scale power within narrow pulse range?

regards,
ziss_dm
by ziss_dm
Wed Mar 21, 2012 1:00 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi Hamburger,

I have committed small change which allows you to adjust timing advance..

Code: Select all

#define    TIMING_ADV          0|1|2|3


I think, slightly increasing timing you can regain power loss, but probably in expense of efficiency.

regards,
ziss_dm
by ziss_dm
Mon Mar 19, 2012 11:49 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi Wishnu,

pwm_fast_200 - range 1100-1900us
pwm_fast_250 - range 1000-2000us

So, most likelly your transmitter was not able to generate 2000us pulses.

regards,
ziss_dm
by ziss_dm
Mon Mar 19, 2012 11:59 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi Wishnu,

What input profile you was using initially?

regards,
ziss_dm
by ziss_dm
Mon Mar 19, 2012 7:29 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi Wishnu, Now it do not resets This is good to know.. With the regular ESC firmware i've got 920gramms of thrust with my motor +12x3.8APC With WII firmware i've got only 760gramms You actually second one, who reported power drop. ;( I will try to investigate in next couple of days. regards, ziss_dm
by ziss_dm
Fri Mar 16, 2012 7:31 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi, @Rich "pwm_arduino_250" accepts pulse lengthes 16-2016 which corresponds to the analogWrite(2-252). With analogWrite(2) it should arm. With wii-esc you should use "original" fuses, e.g 16Mhz external oscillator (if you not planning to use bootloader) @Wishnu Can you please fl...
by ziss_dm
Mon Feb 20, 2012 2:34 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hamburger,

The complementary PWM pssible only on nFET boards. ;( So it would not work on plush..

regrads,
ziss_dm
by ziss_dm
Sat Feb 18, 2012 10:32 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi Roman,

See attachment.
But also try to trim down throttle on your radio.

regards,
ziss_dm
by ziss_dm
Fri Feb 17, 2012 8:14 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi Roman, The closest to the original "bl-17A" is "TurboJet60A.inc". In case you confident with schematic, you can start from this file and just change: F_CPU 8000000 The help on configuration parameters: m The help on assembling of the firmware: m regards, ziss_dm
by ziss_dm
Tue Feb 14, 2012 9:43 pm
Forum: Software development
Topic: "Arduino" Pro Micro
Replies: 131
Views: 34712

Re: "Arduino" Pro Micro

Hi ronco,

I would say ~10us.

Image

This is due other interrupt handlers in the system.

regards,
ziss_dm
by ziss_dm
Tue Feb 14, 2012 8:07 am
Forum: Ideas
Topic: Alt. Hold Ideas and discussion
Replies: 193
Views: 64455

Re: Alt. Hold Ideas and discussion

Hi marbalon,
Really impressive!!! ;)
But huge D... Can you try to set setpoint couple of meters higher?

And you have used 40 taps FIR filter, have you tried IIR?
And why 40? Just experemental?

regards,
ziss_dm
by ziss_dm
Tue Feb 14, 2012 4:52 am
Forum: Software development
Topic: "Arduino" Pro Micro
Replies: 131
Views: 34712

Re: "Arduino" Pro Micro

Hi ronco,

As I can see only 2 channels are true hw PWM, the rest is interrupts. Am I missing something or why is that?

regards,
ziss_dm
by ziss_dm
Thu Feb 09, 2012 1:51 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi, The complimentary pwm should have the following advantages: 1) Higher efficiency and less heat 2) battery re-generation 3) faster response on reduce power. This is bench tests: http://www.multiwii.com/forum/download/file.php?id=511 http://www.multiwii.com/forum/download/file.php?id=510 As you ca...
by ziss_dm
Thu Feb 09, 2012 7:23 am
Forum: Software development
Topic: Rushduino OSD - Multiwii based open software osd
Replies: 782
Views: 90253

Re: Rushduino OSD - Multiwii based open software osd

Hi,

Is it finished?

regards,
ziss_dm
by ziss_dm
Thu Feb 09, 2012 5:34 am
Forum: Software development
Topic: Rushduino OSD - Multiwii based open software osd
Replies: 782
Views: 90253

Re: Rushduino OSD - Multiwii based open software osd

Hi dongs,

Agree.. Shell we start? ;)

I was thinking to re-flash HK super simple, but 20k SRAM + DMA makes me feel better. ;)

regards,
ziss_dm
by ziss_dm
Thu Feb 09, 2012 4:23 am
Forum: Ideas
Topic: Possible issue with LEVEL I implementation + fix?
Replies: 59
Views: 5986

Re: Possible issue with LEVEL I implementation + fix?

Hi shikra, I think, it is better to tine-up PIDs. The phase lag induced by I term can be compensated by P and D terms, that is why PID controller is so universal. In case you limiting PID output, like you suggested here: http://www.multiwii.com/forum/viewtopic.php?f=7&t=905 You probably also nee...
by ziss_dm
Thu Feb 09, 2012 12:16 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi Hamburger,

This is good to hear! ;) Are you feel brave enough to flight test "Complimentary PWM" (Active braking) version? ;)

PS. Big thanks to Heiko, who created wiki pages for wii-esc project: http://code.google.com/p/wii-esc/wiki/About

regards,
ziss_dm
by ziss_dm
Thu Feb 09, 2012 12:00 am
Forum: Software development
Topic: "Arduino" Pro Micro
Replies: 131
Views: 34712

Re: "Arduino" Pro Micro

Hi ronco, I'm using this RX routine: #define SPEK_STATE_START 0x00 #define SPEK_STATE_HEADER01 0x10 #define SPEK_STATE_PAYLOAD00 0x20 #define SPEK_STATE_PAYLOAD01 0x30 void readSpectrum(){ static uint8_t g_state = SPEK_STATE_START; static uint8_t val0; register uint8_t state = g_state & 0xF0; re...
by ziss_dm
Wed Feb 08, 2012 2:10 am
Forum: Software development
Topic: Improving Altitude Hold Performance
Replies: 98
Views: 34589

Re: Improving Altitude Hold Performance

Hi pm1,

You right, ~20 samples per second.

regards,
ziss_dm
by ziss_dm
Tue Feb 07, 2012 11:39 am
Forum: Ideas
Topic: Possible issue with LEVEL I implementation + fix?
Replies: 59
Views: 5986

Re: Possible issue with LEVEL I implementation + fix?

Hi Shikra, I will try to rephrase. Could you please explain how after this peace of code: if (errorAngle > 0 && errorAngleI[axis]>0 ) errorAngleI[axis] = 0; // DEV - test code - use with precaution. To prevent Windup exaggerating overshoot. if (errorAngle < 0 && errorAngleI[axis]<0 )...
by ziss_dm
Tue Feb 07, 2012 5:02 am
Forum: Software development
Topic: Improving Altitude Hold Performance
Replies: 98
Views: 34589

Re: Improving Altitude Hold Performance

Hi, [qoute] Tested my Tri outside tonight in a light breeze and alt hld was not good, unpredictable "zoom climbs"10-15 meters. [/quote] There are couple possibilities: 1) acc overloading, as mr.rc-cam mentioned. 2) too high pids, indoor you usually can set higher pids than outdoor. 3) the ...
by ziss_dm
Tue Feb 07, 2012 4:45 am
Forum: Ideas
Topic: Possible issue with LEVEL I implementation + fix?
Replies: 59
Views: 5986

Re: Possible issue with LEVEL I implementation + fix?

Hi Shikra, if (errorAngle > 0 && errorAngleI[axis]>0 ) errorAngleI[axis] = 0; // DEV - test code - use with precaution. To prevent Windup exaggerating overshoot. if (errorAngle < 0 && errorAngleI[axis]<0 ) errorAngleI[axis] = 0; // DEV - test code - use with precaution. To prevent Wi...
by ziss_dm
Mon Feb 06, 2012 6:47 am
Forum: Software development
Topic: Improving Altitude Hold Performance
Replies: 98
Views: 34589

Re: Improving Altitude Hold Performance

Hi Alex, I think to VEL PID works, but there is still something wrong about the Z velocity estimation. Without moving, there is a constant non null velocity estimation which I think explains "slowly climbs 1-1,5 m up and that will be the setpoint" I think it is pretty normal, as a baro sen...
by ziss_dm
Wed Jan 25, 2012 11:15 am
Forum: Software development
Topic: OCTO ProMini, 11Bit PWM, 0.5us RX Resolution
Replies: 10
Views: 1609

Re: OCTO ProMini, 11Bit PWM, 0.5us RX Resolution

Hi, but .. i did some quick indoor flight tests (small quad with WMP only) and i cant get a stable flight.. to have no oszillations i need lower P and I so much that its no longer stable alex dev20120121 P=3,4 I=28 D=32 with yours p=2,1 I=15 D=32 I think, it is quite explainable: 1) Jitter > 8us 2) ...
by ziss_dm
Tue Jan 24, 2012 10:47 am
Forum: ESCs, propellers , servos and radios
Topic: Turnigy 9x Transmitter Switch setup
Replies: 16
Views: 2414

Re: Turnigy 9x Transmitter Switch setup

Hi PatrikE,

Do you know how to setup "binary" encoded switches in ER9X? ;)

regards,
ziss_dm
by ziss_dm
Tue Jan 24, 2012 7:00 am
Forum: Software development
Topic: "Arduino" Pro Micro
Replies: 131
Views: 34712

Re: "Arduino" Pro Micro

Hi Ronco, but i think using arduino is hard enough for the moust people.. if thay need to flash a bootloader or something like that it becomes too much.. If we are still talking about Teensy, you do not need to flash bootloader as it comes preprogrammed. @Danal: yes, I have couple. regards, ziss_dm
by ziss_dm
Mon Jan 23, 2012 6:10 am
Forum: Ideas
Topic: Alt. Hold Ideas and discussion
Replies: 193
Views: 64455

Re: Alt. Hold Ideas and discussion

Hi Scotth72,

Can you also share your tuning methods? ;)

regards,
ziss_dm
by ziss_dm
Mon Jan 23, 2012 6:08 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi Hamburger,
I will doublecheck with my setup.. In a meantime can you flash latest revision?

regards,
ziss_dm
by ziss_dm
Mon Jan 23, 2012 5:49 am
Forum: Software development
Topic: "Arduino" Pro Micro
Replies: 131
Views: 34712

Re: "Arduino" Pro Micro

Hi
Teensy++ - same price, 128k flash, 8k sram, 6x 16bit compare units. 4x 8bit compare units.
So, what is the point? ;)

regards,
ziss_dm
by ziss_dm
Wed Jan 11, 2012 11:16 am
Forum: Software development
Topic: arduino pwm output frequencys
Replies: 43
Views: 5636

Re: arduino pwm output frequencys

Hi Felix, with the example you give me we have a resolution 250 at 495Hz .. pulsed by hardware .. so why dont we use it? There are couple of reasons: 1) It still have small jitter 2) It uses CPU time 3) It is real pain to implement it for Timer0, as it used by core for "sys-tick" By the en...
by ziss_dm
Wed Jan 11, 2012 9:17 am
Forum: Software development
Topic: arduino pwm output frequencys
Replies: 43
Views: 5636

Re: arduino pwm output frequencys

Hi Felix, This is an example for Timer2: ISR(TIMER2_OVF_vect) { if (TCCR2A & (_BV(COM2A1) | _BV(COM2B1))) { // Hold current value PORTB = PINB; PORTD = PIND; // OC2x disconnected TCCR2A &= ~(_BV(COM2A1) | _BV(COM2B1)); // Reload counter with correction TCNT2 += (256 - (250 - 2)); } else { //...
by ziss_dm
Wed Jan 11, 2012 7:16 am
Forum: Software development
Topic: To alex: ACC drift Issue: a bench test:
Replies: 99
Views: 30272

Re: To alex: ACC drift Issue: a bench test:

Hi, Let me fully understand how CF works. CF has their own compensation response time. I mean time which is necessary to compensate gyro vector drift by acc vector when they are not in sync (e.g. after set of fast maneuvers). Also it means that acc LPF cut frequency should not be less than CF freque...
by ziss_dm
Tue Jan 10, 2012 10:19 am
Forum: Software development
Topic: arduino pwm output frequencys
Replies: 43
Views: 5636

Re: arduino pwm output frequencys

Hi Felix,

what is this HW?

Currently you disconnected output compare module from the pin and using only interrupt. It is possible to connect OCP module to turn on/off pin by hardware and in interrupt just reload OCRxx..



regards,
ziss_dm
by ziss_dm
Tue Jan 10, 2012 7:40 am
Forum: Software development
Topic: To alex: ACC drift Issue: a bench test:
Replies: 99
Views: 30272

Re: To alex: ACC drift Issue: a bench test:

Hi mahowik , Hmm... I suppose with GYR_CMPF_FACTOR=600 we can just the turn off the power of the ACC )) Touché So also probably it make sense to tune alt-hold integrator to 80hz update rate to increase the precision? In case acc bw is 40hz, it is better to run integrator at 80hz. regards, ziss_dm
by ziss_dm
Tue Jan 10, 2012 2:50 am
Forum: Software development
Topic: To alex: ACC drift Issue: a bench test:
Replies: 99
Views: 30272

Re: To alex: ACC drift Issue: a bench test:

Hi, Just a small note. Floating point LPF has the following advantages: 1) It is increasing precision due oversampling. It looks like we are easily regaining 2 lost bits. 2) It is not overflowing, so with BMA180 we can use full 14 bit resolution 3) We can have much lower cut-off frequencies. With th...
by ziss_dm
Tue Jan 10, 2012 1:25 am
Forum: Software development
Topic: arduino pwm output frequencys
Replies: 43
Views: 5636

Re: arduino pwm output frequencys

Hi Felix, i need lower P and I with the soft PWM code but its not more instable! i think its because of the higher signal resolution. maybe some courageous folks want to test it too ? ;P I think, this is because the effective resulution actually decreased due the jitter. ;( If you want, I could chec...
by ziss_dm
Mon Jan 09, 2012 12:54 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 147153

Re: Alternative ESC firmware (reflashing)

Hi Christoph, The shor answer: pwm_rc... - 50hz update rate to connect to the standard receiver pwm_fast.. - 490hz update reate to connect to flight boards. but pwm_fast.. also works with standard receiver. P.S.: im running them on 3S... and there was this remove/leave resistors discussion... till n...
by ziss_dm
Fri Jan 06, 2012 4:31 am
Forum: Ideas
Topic: MultiWiiConf UI for Android Tablet PC
Replies: 28
Views: 4995

Re: MultiWiiConf UI for Android Tablet PC

Hi,

I have tried, long time ago.. ;(
Short answer: http://forum.processing.org/topic/help- ... control-p5

regards,
ziss_dm
by ziss_dm
Tue Jan 03, 2012 11:39 pm
Forum: Software development
Topic: arduino pwm output frequencys
Replies: 43
Views: 5636

Re: arduino pwm output frequencys

Hi Felix, Just couple of notes 1) It is possible to re-flash escs to accept range [2;252] and still use HW PWM: http://www.multiwii.com/forum/viewtopic.php?f=13&t=516 2) It is looks like, it is possible to extend resolution of the PWM, using sigma-delta modulation: http://www.multiwii.com/forum/...