Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does Tether communication works? #639

Open
BulldogLovesCat opened this issue Aug 19, 2017 · 4 comments
Open

How does Tether communication works? #639

BulldogLovesCat opened this issue Aug 19, 2017 · 4 comments

Comments

@BulldogLovesCat
Copy link

I am wondering how fundamentally the tether communication works?
When we press the key (W) on keyboard, the port and starboard motors start to run.
what kind of control signal is generated and pass over the tether cable from the Topside adapter to the homeplug adapter on the ROV?

It is definitely not sending different DC voltages as I measure the voltage across the two tether cables, it gives me a constant voltage of 4.4~4.5V. So it could be a small AC signal? As I cannot visualize any changes in terms of AC voltage using a multi-meter.

Is this some sort of power line communication stuff?

Could you explain in both microscopic (such as EM waves, Current, RF and etc) and macroscopic (such as coding, architecture) point of view?

Thanks

@scubasonar
Copy link

The homeplug adapters are normally used to give you ethernet over the same wires that feed 110V AC(in the US) across your house to the wall plugs. By splitting that adapter and removing the part that handles 110VAC you're left with a bit of electronics (in the topside adapter and ROV) that will gives you a network over two wires.

With all the physical stuff wrapped up by a homeplug you're just connecting to a server like on your desk.

@BulldogLovesCat
Copy link
Author

BulldogLovesCat commented Aug 20, 2017

@scubasonar Thank you for your reply.

" a bit of electronics (in the topside adapter and ROV) that will gives you a network over two wires."


How does it work? The cat5 cable has 4 wires (Transmit+/- and Receive+/-) and the network has only two wire (Tether A and B). what kind of signal is running through the tether cable? Is it some sort of electrical pulses? Any waveform diagrams? I really would like to imagine what do those network signals look like?

Could you show me the difference between the network signals for turning the internal LED on and turning the motor on?

@scubasonar
Copy link

https://en.wikipedia.org/wiki/Power-line_communication . Hook one up to an oscilloscope and see what is up?

@mcdafydd
Copy link

mcdafydd commented Nov 23, 2017

Edit to clarify.

I find the Homeplug protocols to be similar to 802.11 wireless. They are a reliable protocol on layer 2, meaning, every packet sent via a Homeplug link must be ACK'd by the adapter at the target location. In a tether application, let's say 400 meters as that's a practical limit for the usual -50dBm/Hz FCC limits for Homeplug AV frequencies, the protocol will be seriously impacted by excessive noise in the tether. The cleaner you can make the environment for the Homeplug signals, the lower your latency between Homeplug adapters at either end of the tether.

Homeplug adapters act as bridge devices between Ethernet (or wi-fi) and Homeplug protocol. If you want to see "how it works", use wireshark on either end of an Ethernet connection and look at the packets. I would recommend assuming that the reliable Homeplug protocol will deliver your data. Instead, just worry about how long it takes to get there and back in your Wireshark capture. If latency is much longer than distance + serialization, you may have a noise problem on the powerline. I find my typical home Ethernet+Homeplug link to run around 3-5ms average, where a direct Ethernet cat5 or higher connection would sit under 1ms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants