Beruflich Dokumente
Kultur Dokumente
What is modem?
A modem is a device or program that enables a computer to transmit data over, for example, telephone or cable lines.
3/20/12
Difference
A cable modem is a rather broad term and may vary in technical specification depending on supplier. In general cables modems connect to a dedicated cable and offer internet services, possibly along side a cable TV service.
3/20/12
Definition:
Software modem:
A modem implemented entirely in software. Software modems rely on the computer's processor to modulate and demodulate signals.
3/20/12
Theory of operation
Theory of operation
Higher-speed modems are backward compatible with the 1200 band FSK 1 0 scheme and begin a transmission with a protocol.
time
Overheads for
FSK encoding
Generate waveforms based on current bit:
0110101 bit-controlled waveform generator
0 bit
one filter
detector
1 bit
The analog input is sampled and the resulting bit stream is sent to two digital FSK filters - one passes frequencies in the range of
It computes the average value of the signal over the past n samples. When the energy goes above the threshold value, the appropriate bit is detected.
3/20/12
Transmission scheme
Send data in 8-bit bytes. Arbitrary spacing between bytes. Byte starts with 0 start bit. Receiver measures length of start bit to synchronize itself to remaining 8 bits.
start (0) bit 1 bit 2 bit 3 ... bit 8
Requirements
Inputs Outputs Functions Analog sound input, reset button. Analog sound output, LED bit display. Transmitter: Sends data from memory in 8-bit bytes plus start bit. Receiver: Automatically detects bytes and reads bits. Displays current bit on LED. 1200 baud. Dominated by microprocessor and analog I/O Powered by AC. Small desktop object.
Specification
Line-in* 1 1 Receiver input() sample-in() bit-out()
Transmitter
Line-out*
bit-in() sample-out()
output()
System architecture
It consists of one small subsystem(interrupt handler for input and output) And two major subsystem(transmitter and receiver).
3/20/12
Transmitter
float sine_wave[N_SAMP] = { 0.0, 0.5, 0.866, 1, 0.866, 0.5, 0.0, -0.5, -0.866, -1.0, -0.866, -0.5, 0};
time
Receiver
Filters (FIR for simplicity) use circular buffers to hold data. Timer measures bit length. State machine recognizes start bits, data bits.
Hardware platform
Hardwar architecture is relatively simple.
-A/D converter. -D/A converter. -Timer.
THANK YOU!!!
3/20/12