[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - RF Interference causing PPM glitches

RF Interference causing PPM glitches

Radio, Telemetry, FTDI/USB, ESCs, Motors, etc.

RF Interference causing PPM glitches

Postby ahahn61 » Fri Dec 28, 2012 9:21 pm

Hi guys !

this is a follow up on the glitch issue observed by Marcus on his HoTT PPM Setup


Marcus and I have spent some tough weeks investigation this nasty problem and found a solution now :D .

We did a lot of testing and now its time to share it with you.
We hope this contribution helps and your feedback/discussion is welcome.


Actually Marcus uses Graupner HoTT GR-16 and GR-24 receivers in PPM mode. He observed glitches on the throttle and the roll channel. But it was not clear why it happend sporadic, and why it happend just on one copter, where as another copter with same components did not show any problem.

This a is screenshot of a typical log, with some glitches on channels 0 and 1
a-240-AQL-AutoQuad-r49-HoTT-GR16-ppm12-heavy-interference-self-CHANNELS-glitches.png



We could reproduce the problem with the following special setup.
Hott-GR-16-24GHz-Interference-Worst-Case-Setup-B.jpg
Hott-GR-16-24GHz-Interference-Worst-Case-Setup-B.jpg (202.39 KiB) Viewed 16780 times


What's going on?

In fact the backchannel of the GR-16 Receiver is an RF transmitter. If the cabling of the PPM signal is not appropriate, the PPM wire acts as a receive antenna. The PPM signals gets interfered by an additional noise signal, which causes false timing measuremts at the AQ side.
Above picture shows a worst case setup, just for demonstration and testing. The PPM signal wire is appart from its ground return wire, which makes it sensitive for interference. And the 2.4GHz antennas between make it even worse.

Please not that the HoTT receiver works perfect all the time, just the output PPM signal is interfered.

Basically the described effect is a general one. But actually we could observe it with HoTT receivers GR-16/GR-24 only, with another product like Jeti SAT2 we could not reproduce something similiar. Probably the timing relationship between backchannel to ppm edges is different.

What's the solution?

(1st) apparently, care for good PWM signal cabling. Either use twisted pair cables or use standard servo cables. The important thing is, the distance between the signal wire and the ground wire must be close. The cabling should be as short as possible as well.
Hott-GR-16-24GHz-Good-Cable.png
Hott-GR-16-24GHz-Good-Cable.png (1.47 MiB) Viewed 16780 times


(2nd) Addtionally an update of the AQ ppm code is recommended. Due to a minor issue in the ppm.c code, occasional bad ppm signals can cause the observed glitches. We made a fix and a lot of testruns already, showing that even heavy ppm noise will not cause any spikes.

I will come up with further updates soon :)

regards
Alois
ahahn61
 
Posts: 11
Joined: Thu Dec 13, 2012 8:43 pm
Location: Wien/Austria

Re: RF Interference causing PPM glitches

Postby kinderkram » Sat Dec 29, 2012 12:38 am

Great first post, Alois!
Thx for taking the time to investigate on that matter. Proper wiring always makes sense and this might be the reason why some have problems with the PPM signal and some haven't.

What did you find out regarding the ppm.c?
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: RF Interference causing PPM glitches

Postby ahahn61 » Sat Dec 29, 2012 9:52 am

ahahn61
 
Posts: 11
Joined: Thu Dec 13, 2012 8:43 pm
Location: Wien/Austria

Re: RF Interference causing PPM glitches

Postby kinderkram » Sat Dec 29, 2012 10:14 am

Thx Alois,
every code change needs to be tested internally before it makes its way into the next release.
To widen the base of testers you can also post the changes here with a disclaimer that it's experimental.
Everyone here knows that exp. code is used at own risks...
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: RF Interference causing PPM glitches

Postby teramax » Sat Dec 29, 2012 9:07 pm

somehow everything can fly
teramax
 
Posts: 500
Joined: Sun Sep 02, 2012 11:19 pm
Location: Lower Austria

Re: RF Interference causing PPM glitches

Postby ahahn61 » Sat Dec 29, 2012 10:28 pm

Attachments
214-AQL-AutoQuad-r49-ppmfix-AHa-HoTT-GR16-ppm12-heavy-interference-CHANNELS-OK.png
214-AQL-AutoQuad-r49-ppmfix-AHa-HoTT-GR16-ppm12-heavy-interference-RADIO_QUALITY.png
242-AQL-AutoQuad-r49-ppmfix-AHa-HoTT-GR16-ppm12-good-cable-RADIO_QUALITY.png
aqv6.6-r49-v2-ppmfix-AHa.zip
(300.33 KiB) Downloaded 806 times
ahahn61
 
Posts: 11
Joined: Thu Dec 13, 2012 8:43 pm
Location: Wien/Austria

Re: RF Interference causing PPM glitches

Postby teramax » Tue Jan 01, 2013 2:15 pm

Hy everyone
Please be very carrefull testing this code, meanwhile i had 2 drops in 3 flights.
The glitches are gone but there´s still something not OK in code.
I recomand carefull hovering!
somehow everything can fly
teramax
 
Posts: 500
Joined: Sun Sep 02, 2012 11:19 pm
Location: Lower Austria

Re: RF Interference causing PPM glitches

Postby ahahn61 » Tue Feb 26, 2013 9:16 pm

ahahn61
 
Posts: 11
Joined: Thu Dec 13, 2012 8:43 pm
Location: Wien/Austria


Return to Connections

Who is online

Users browsing this forum: No registered users and 8 guests

cron