Project #1: In-flight file-transfer using 3-mm cable

Background

This project targets a situation where two persons are onboard an aircraft. Both persons have android smart phones and want to transfer a file from the SDCARD on one phone to the other, as illustrated in Figure 1 below. The use of radio transmitters and receivers is forbidden. During 2012 and 2013 we have studied the use of sound and images as way of transmitting the file. In the sound case the loudspeaker of one phone is used as transmitter and the microphone as receiver. In the visual case, the screen of one phone is used as transmitter and the camera of the other phone is used as receiver (QR-like codes where used 2013). This year we intend to study a similar technology as in 2012, i.e. the loudspeaker and microphone is used. However, this time the users has access to a suitable cable which should vastly improves the transission speed over the 2012 results. The main challenge in this task is to design and implement a modem that modulates your digital data (the file on the SD-CARD) over the acoustic channel, transmits it through the loudspeakers of one of the smartphones and receives it via the microphone of the other one. Then, the received signal should be demodulated back to raw digital data. Therefore, the required skills for a good implementation includes knowledge of modulation and coding schemes, pulse-shaping and synchronization techniques. The references at the bottom of the page can provide you with some initial information for your task.




Figure 1: Illustration of smartphone file-transfer using sound.

Definition of offline and real-time

We define offline and realtime as follows. Assume that the file size is F (bits) and the data-rate C (bits/sec). The transmitter is allowed to transmit signals during F/C seconds. In offline the receiver should be able to decode the signal within 100 seconds using the received signal downloaded from the phone and processed in matlab. In real-time the receiver should finish within 0.5*F/C after the transmitter has finisihed. The file size should be between 100 and 1000bytes.

Specification

Basic requirements

Implement a system which is capable of transfering a file at 1kbits/sec using some simple technique e.g. FSK.

Advanced requirements

Push the data-rate as far as possible towards 32kbit/sec in real-time and 128kbit/sec in non real-time (as defined above). Try to double the data-rate until the target is met. Motivate and describe the methods used in each step. In real-time the system should be able to transmit file sizes up to at least 10kbytes.

Mid-term requirements

The android assignment completed (given during the android lecture). The offline basic requirements should have been achieved.

Literature

  1. Course textbooks on communication theory
  2. Aditya Dhananjay, Ashlesh Sharma, Michael Paik, Jay Chen, Trishank Karthik, Kuppusamy, Jinyang Li and Lakshminarayanan Subramanian, "Hermes: Data Transmission over Unknown Voice Channels", Proceedings of the sixteenth annual international conference on Mobile computing and networking (MobiCom 10). link .
  3. Davinder Pal Sharma, "On the Implementation of Differential Encoder for Spectral Shaping in 56Kbps Embedded Modems", Ubiquitous Computing and Communication Journal, link
  4. Henderson, P.M, "56 Kbps data transmission across the PSTN. How does it work?", Wescon/97. Conference Proceedings, pp. 352-365.