Manual control via Modem
#1
Posted 15 December 2011 - 06:34 AM
#2
Posted 15 December 2011 - 09:23 AM
One of the things the PipX has is PPM on a header and hence can be used for long range control, (used as a PPM input on the TX and an output to a Revo / CC / MK etc) on the other end. it would be possible to multiplex the PPM with telemetry or use a priority queue for it.
Quote
Cost and complexity. RF is hard and like black magic, while it is not to hard to work with digital circuits, analog gets trickier but RF is another world and only the foolish step in to it lightly. I'm reading a lot of RF stuff currently, it's tricky, fraught with traps and some of it even contradicts it's self.
We do plan to release the PipX at some point unless something better comes along which negates it but without someone saying "I will lead the PipX development and stick with it", we can't as we don't have the resources for it.
#3
Posted 15 December 2011 - 10:05 AM
Reddog, on 15 December 2011 - 06:34 AM, said:
That's basically it, latency. On a standard receiver, there is not much overhead, you move the stick and (up to) 20ms later, the servo output on the model is guaranteed to respond. On a modem, you often have things like queues that store a small amout of data which is bad for latency. And if you use the same modem to do telemetry, it get's worse because other telemetry data may delay your control input data. All of this can be solved, it just doesn't work "out of the box". AFAIK, Brian is working on a board that plugs between the radio modem and the GCS to inject manual control commands. It's also possible to connect a joystick to the GCS and use the GCScontrol plugin to control the model through telemetry but this is still experimental and just not fast enough to really fly the model in realtime.
#4
Posted 15 December 2011 - 12:07 PM
D-Lite, on 15 December 2011 - 10:05 AM, said:
Ah! There's the rub! But the Revolution, in full-on "fly-by-wire" mode? That seems do-able to me. The latency would matter much less if the command signalling was simply "move the Magic Waypoint over here, please" rather than "Turn left! ...NOW!"
#5
Posted 15 December 2011 - 12:33 PM
dankers, on 15 December 2011 - 09:23 AM, said:
So the Pipextreme as designed has sort of two wireless streams going to the vehicle or its communicating with the airframe over a serial type connection and also outputting PPM for use in an RC transmitter? Either way, quite a cool idea.
#6
Posted 15 December 2011 - 12:37 PM
D-Lite, on 15 December 2011 - 10:05 AM, said:
I saw Brian mention this and it looks very exciting and interesting.
#7
Posted 15 December 2011 - 12:53 PM
dankers, on 15 December 2011 - 09:23 AM, said:
It seems so simple......
You sure are right about this, I have spent a fair amount of time looking into RF for my HAM certification and its extremely complex.
#8
Posted 15 December 2011 - 01:06 PM
jes1111, on 15 December 2011 - 12:07 PM, said:
Absolutely. With some autonomous assistance on board, it will work very well. Btw., I already did some manually controlled hovering in attitude mode via GCS. It's not totally impossible but just not responsive enough to call it "real" flighing or to be much fun.
#9
Posted 15 December 2011 - 01:20 PM
D-Lite, on 15 December 2011 - 01:06 PM, said:
Is the reason the Xbees are so slow is because of the error checking and other overhead or is it something else?
#10
Posted 15 December 2011 - 02:09 PM
In initial tests it seems to work well, but I want to add more debug code to quantify the latency and to ensure that packets aren't being dropped.
#11
Posted 15 December 2011 - 02:40 PM
Reddog, on 15 December 2011 - 01:20 PM, said:
Depending on which Xbee you're using, you could see multiple effects.
First, if it's a 802.15.4 Xbee, then you have random delays in transmission in order to try to find an open slot. You can disable this, at the expense of possibly getting in sync with some noise source and *never* being able to find any open time slot because now your time slots are deterministic. (Actually, IIRC you cannot disable it completely, just bring it down to +-2ms)
Second, if you're using a zigbee capable Xbee, then you are now running a mesh network protocol and, yeah, there's a lot of overhead associated.
#12
Posted 05 January 2012 - 12:02 PM
Kenn Sebesta, on 15 December 2011 - 02:40 PM, said:
First, if it's a 802.15.4 Xbee, then you have random delays in transmission in order to try to find an open slot. You can disable this, at the expense of possibly getting in sync with some noise source and *never* being able to find any open time slot because now your time slots are deterministic. (Actually, IIRC you cannot disable it completely, just bring it down to +-2ms)
Second, if you're using a zigbee capable Xbee, then you are now running a mesh network protocol and, yeah, there's a lot of overhead associated.
That's right but you could use plain 802.15.4 ICs or modules without that fancy software like in Xbee. Just use 802.15.4 physical+link layer and in untraditional way. In Atmel's RF230 you can f.e. set your own 'noise' limit for collision avoidance (maybe it can be turned of completely), set no automatic retransmission ('cos that would utilize random back-off), instead do retransmissions manually if needed.
This guy have done something like that but with WirelessUSB. See this. Problem is that I can't find distributor of any Cyrf based modules in Europe.
#13
Posted 05 January 2012 - 02:01 PM
We realized low latency soft real-time communication in a project in the company i am working for, ZigBee allows for Guaranteed Time Slots (GTS) apart from standard CSMA/CA. Several other people use this mode to transmit time critical data in fixed slots (like we want to do with flight control data) and use the remaining bandwith dynamically for non-critical data (like e.g. telemetry or video).
There are some very good papers that describe this technology. I can upload more info to the Wiki if anybody is interested.
So i think the live remote control (over a range of up to 1 mile) of a CC UAV using ZigBee is possible and feasible.
cheers
Mike
Don't make me think. -- Steve Krug, usability expert
#14
Posted 05 January 2012 - 10:14 PM
XXL-Wing, on 05 January 2012 - 02:01 PM, said:
There are some very good papers that describe this technology. I can upload more info to the Wiki if anybody is interested.
Could you do that? That'd be great, since I thought that Zigbee was built on 802.15.4, which itself cannot guarantee any time slots, so I'm interested to see how Xbee gets around this.
#15
Posted 06 January 2012 - 12:53 AM
Kenn Sebesta, on 05 January 2012 - 10:14 PM, said:
WirelessHART also supports TDMA and is built around 802.15.4 physical layer but it's using its own link layer. (Correct me if I'm wrong.)
I was talking about something similiar here. 802.15.4 RF ICs may allow you to do things that are not in the standard. We should then probably refer to it as 802.15.4 PHY. Same goes for WirelessUSB (see my previous post).
#16
Posted 06 January 2012 - 04:37 PM
Grawp, on 06 January 2012 - 12:53 AM, said:
I was talking about something similiar here. 802.15.4 RF ICs may allow you to do things that are not in the standard. We should then probably refer to it as 802.15.4 PHY. Same goes for WirelessUSB (see my previous post).
Correct, WirelessHART is something similar using the same base technology.
In my opinion the best way to choose is that we take a general purpose 802.15.4 PHY chip and have an evaluation of possible communiucation protocols (together if there is any stack already available).
What also could be done is to have all communication things (like time supervision, field strength measurement etc.) in the "communication coprocessor" that also runs the wireless stack on the wireless companion chip.
@Kenn: I am at the moment searching for fields where i can help in his project so i would be glad to do that (with a team of people at least for discussion if there are people that would like to help - at least by testing ;-)) if the core team agrees.
What i would like to do is to implement in inside the PipXtreme hardware, if this is possible.
Where can i get a spec of the hardware and moreover: how can i get some of those boards for development?
Again: all only if the core team agrees.
cheers
Mike
Don't make me think. -- Steve Krug, usability expert
#17
Posted 06 January 2012 - 05:16 PM
I very interested in seeing PipXtreme type hardward developed. The loss of Pip as the key person on the PipXtreme project has stalled it for a long time. I would very much like to do testing just like many others would on this forum.
Larry
#18
Posted 06 January 2012 - 05:44 PM
maybe if the project is really stalled, take one of the available boards that offer the functionality needed and implement communication on that....
Don't make me think. -- Steve Krug, usability expert
#19
Posted 06 January 2012 - 06:09 PM
Yeah, Pip was a huge loss and we all miss her.
#20
Posted 06 January 2012 - 09:49 PM
What I've been trying to focus on at the higher level is generalizing the UAVTalk interface. I would really like to see more separation of the network layers in UAVTalk. Currently UAVTalk performs packetization, and reliability / re-transmission, and it (for the most part) assumes a single link between two devices. I wedged another device in the middle by simply relaying all packets between the two comm channels and stuffing GCSReceiver packets in as required. It would be really nice if there was a clearer notion of multiple devices and the ability to route messages more directly i.e. distinct network and transport layers.
I believe that this is going to be more important as we start bringing more devices online (PiPXs, ESCs, OSDs, etc). It would great if the GCS could talk to all of these devices, and for the devices to communicate no matter how the network is connected, and have devices automatically reconfigure, etc.
I've thought about this a bit, but would love to have some help in designing and prototyping it. So far I've just been making changes to UAVTalk that were required for my transmitter prototype.



Australia
Germany
Portugal
United States
Luxembourg
Slovakia
Austria







