A modem is a device used to send a signal called modulation by another signal called a carrier. Modems have been used since the 60's , mainly due to direct transmission of electronic signals intelligible over long distances is not efficient, for example, to transmit audio signals over the air, it would take large antennas (on the order of hundreds of meters) for proper reception. It is common in many switched network modems ease of response and automatic dialing, enabling them to connect when receiving a call from the PSTN (Public Switched Telephone Network Switched) and proceed to dial any number previously recorded by the user. These features can automatically perform all operations of establishment of the comunicación.El modulator emits a signal called carrier . Generally, it is a simple sinusoidal electrical signal of much higher frequency than the modulating signal. The modulating signal is the information that is prepared for transmission (modem prepares the information to be transmitted, but does not perform the transmission). The modulator adjust any property of the carrier (which is the action of modular), so you get a signal, which includes information from the modulator. Thus the demodulator can recover the original modulating signal, removing the carrier. The features that you can modify the carrier signal are amplitude
, leading to a modulation amplitude (AM / ASK). Frequency
, leading to a frequency modulation (FM / FSK). Phase
, leading to a phase modulation (PM / PSK)
also be a combination of complex modulations, or modulations as quadrature amplitude modulation .
, leading to a modulation amplitude (AM / ASK). Frequency
, leading to a frequency modulation (FM / FSK). Phase
, leading to a phaser (PM / PSK)
also be a combination of complex modulations, or modulations as quadrature amplitude modulation .
MODEN PC: The main distinction is often made is between internal modems and external modems, but recently have appeared modems called "software modems , better known as" winmodems "or" linuxmódems ", which complicated the picture somewhat. There are also modems for XDSL, ISDN , etc. and used to connect via 75-ohm coaxial cable (cable modems ). Internal
: consist of a expansion card on which are arranged the various components that make up the modem. Exist for different types of connector:
ISA Bus: Due to the low speeds that are managed in these devices for many years was used exclusively this connector, now obsolete (outdated).
PCI Bus : the most common format today, still in use. AMR
: In some boards, cheap but not recommended for low performance. Today is an obsolete technology.
The main advantage of these modems is their greater integration with the computer, not occupying space on the table and receive electricity directly from the computer itself. They also tend to be more flights due to lack of housing and transformer, especially if they are PCI (in this case, are almost all like "software modem"). On the contrary, are more complex to install and status information can be obtained only by software. External
: similar to above, but external to the computer or PDA . The advantage of these modems is its easy portability between different computers (some of them more easily transportable and smaller than others), besides being able to tell the modem status (dialing, with or without online, broadcast ...) by the leds incorporating state. On the contrary, and obviously take more space than internal
TYPES OF CONNECTION:
Connecting phone modems external computer is usually done by a traditional serial port or COM (RS232), so use the UART computer, it must be able to provide sufficient communication speed . The UART must be 16550 or higher for the performance of a modem of 28,800 bps or more is adequate. These modems need an outlet for your transformer.
PC Modem Card : they are shaped card modems, which were used in laptops, before the advent of USB (PCMCIA ). Its size is similar to Credit card slightly thicker, but their abilities are the same as standard models.
There are models for USB port , connection and configuration even easier, not need power supply. There are models for both connection via landline to mobile telephony. Modems
software, HSP (Host Signal Processor) or Winmodems: modems are generally internal, in which various electronic parts have been removed (eg chips especializados), de manera que el microprocesador del ordenador debe suplir su función mediante un programa. Lo normal es que utilicen como conexión una ranura PCI (o una AMR ), aunque no todos los módems PCI son de este tipo. El uso de la CPU entorpece el funcionamiento del resto de aplicaciones del usuario. Además, la necesidad de disponer del programa puede imposibilitar su uso con sistemas operativos no soportados por el fabricante, de manera que, por ejemplo, si el fabricante desaparece, el módem quedaría eventualmente inutilizado to a future system update. Despite its low cost, little or nothing are recommended.
full Modems: Modems classics HSP, whether internal or external. In them, the performance depends almost entirely on the speed of the modem and the UART Modem phone
most common use is known and data transmissions via telephone .
The computers process data in a digital , but the phone lines core network only broadcast analog signals .
modulation methods and other features of the phone modems are standardized by the ITU- T (formerly CCITT ) in the series of Recommendations "V". These recommendations also determine the speed of transmission. Highlights:
V.21. Communication Full-Duplex between two analog modems by a variation in carrier frequency range from 300 baud , achieving a transfer of up to 300 bps (bits per second).
V.22. Communication Full-Duplex between two analog modems using PSK modulation of 600 baud to achieve a data transfer of up to 600 or 1200 bps.
V.32. Transmitted at 9,600 bps .
V.32bis. Transmission at 14,400 bps.
V.34. Modem standard that allows up to 28.8 Kbps bidirectional data transfer rates of modulation
Depending on whether the digital modem or analog modulation is used the same nature. For digital modulation have, for example, the following types of modulation:
ASK (Amplitude Shift Keying, Modulation Amplitude): the amplitude of the carrier is modulated to levels corresponding to the input binary digits 1 or 0.
FSK (Frequency Shift Keying, Frequency Shift Keying) carrier frequency is modulated by adding or subtracting an offset frequency which represents the binary digits 1 or 0. Modulation is common in low-speed modems in which two states of the binary signal is transmitted as two different frequencies.
PSK (Phase Shift Keying, Phase Modulation) modulation where the transmitted carrier moves some number of degrees in response to configuration data. Biphasic modems for example, use displacement of 180 ° to represent the binary digit 0.
But there are also telephone channel interference must face the modem to transmit information. These disorders can be listed at: Distortions and echoes. Random and impulsive noise. Finally the interference.
For analog modulation are, for example, the following types of modulation: Amplitude Modulation
AM: amplitude of the carrier is varied by the amplitude modulator.
FM frequency modulation: the carrier frequency is varied by the amplitude modulator.
PM Phase Modulation. Phase Modulation: In this case the parameter that varies is the carrier phase signal, is mathematically almost identical to the frequency modulation. Also in AM and FM, is the amplitude modulation which is used to affect the carrier. Orders Orders
AT ATA
communication: with this command the modem waits for a phone call, acting as a receiver (autoanswer).
Each modem uses a sequence of commands "AT" common and other specific. Therefore, it should make use of the manuals that came with the modem to configure it properly. Where each of the modems are applied
records or records
S records are portions of memory where you can permanently store parameters defining the profile of the modem (profiles). In addition to the commands "AT", is available in this series of records that allow the user to modify other characteristics of its operation. As with the command "AT", records and other specific common modem. Listing the most common.
Register 0: number of calls that the modem waits before answering (Autoanswer). If set to 0, the modem never respond to calls.
Register 1: Posting of calls made / received.
Register 2: character code used to activate the escape sequence. Usually a +.
Register 3: code line ending character. Usually a 13 (enter). Register
4: code line feed character (line feed).
Register 5: character code reverse deleted (backspace).
Register 6: Waiting time before starting to dial ( s ).
Register 7: wait time for receiving carrier (s). Register
8: time allocated to the break Hayes (Comma in s). Register
9: Response time to detect carrier, to enable the DCD (in tenths of a second).
Record 10: maximum time of loss of carrier to cut the line. Increasing the value allows the remote to temporarily cut the modem connection without local start shutdown sequence. If 255, it is assumed that there is always a carrier. This time must be greater than that of register 9 (in tenths of a second). Register
12: determines the guard time, this is the minimum time that precedes and follows a code (+++), escape without any data transmitted or received. If 0, no time limit (S12 x 20 ms). Register
18: contains the duration of the tests. Register
25: time to consider that the modem signal DTR has changed. Register
26: response time signal RTS to CTS.
operation
's profile There are 3 types of modems for operation:
The factory (default).
Assets.
the user.
These profiles are stored in memory nonvolatile RAM and the profile of manufactures is stored in ROM .
There are two options, or memory places where you can save profiles
AT & Y0, (starting to load the profile = 0)
AT & Y1, (starting to load the profile = 1)
These orders are shipped before turning off the modem to load them into your next encendido.Cuando written orders "AT", depending on size modem buffer, concatenating can go without writing for each of them the prefix "AT". Thus, for example when a program calls a modem initialization string can be included together in a single line all the commands required to configure the modem.
then describes the processes carried out to establish a communication steps to establish communication.
1) dial tone detection. The modem has a dial tone detector. This is activated if the tone remains more than a second. Otherwise, either because it has been a second without detecting anything or not has remained active this time the tone, the computer sends the message "No dialtone".
2) Dial the number. If not given the call mode, first try to call tones, and if the tone detector is still active, it to call pulses. In the period between each digit of telephone number, the IDP (interdigit press), it continues to address the tone detector. If at any IDP detector is active, the call is terminated and returns a message BUSY. Once the dial, re-attend the tone detector to check for connection. In this case, several things can happen: Rings
out. Are detected and counted the rings to be received, and compared with S1 registration of the modem. If you go there content value returns the message "NO ANSWER".
If no response is activated voice detector / signal, detecting the response of the other modem is through high-band filter (must be active at least 2 seconds).
If the tone detector fluctuates over a period of 2 seconds returns the message "VOICE." "NO ANSWER" can be obtained if an interval of silence after of the call.
3) To establish the link. Involves a sequence of processes that depend on whether you are calling or if the call is received.
If you are calling is: Set
receiving data to 1. Select
low speed mode. On
0.6 seconds and wait for dial tone dial tone. Disable dial tone
Select high speed mode.
expect to receive some, then pass around and activate the transmission
analyze the data received to test a connection. If this is not achieved within the time limit set in register S7, it gives the message "NO CARRIER", otherwise, left to send some, is activated switching signal, releases the data reception and gives the message "CARRIER".
If you are getting is:
response mode selection.
Disable scrambler.
Select low-speed mode and activate the tone of response (eg. 2,400 Hz for 3'3 s).
Disable the transmitter. Wait
carrier, if there is no transmitter power, high-speed mode and tone of 1,800 Hz
Wait for time specified in S7, if no connection sends the message "NO CARRIER", if any, states " CONNECT, "it triggers the transmitter, the carrier detector and switching signal.
To summarize the steps for establishing a connection are
The terminal DTR line up.
is sent from the terminal the command ATDT 5551234 ("AT" -> attention, D -> mark, T -> tone, 5551234 -> number to call.)
up modem line and dials the number.
The modem performs hand shaking with the remote modem.
The communication program expects the result code.
result code "CONNECT". Hayes Modems Test
tests let you check the local modem, local terminal, remote modem communications line. With the S18 modem log indicates the duration of the tests. If your content is 0, no time limit and is due to end user testing with AT & T0 command. The modem at power makes a series of internal reviews. In the event of any error, it tells the DTE time.
tests may be performed: Local
analog loopback (local loop analog) & T1 runs. Check the connection between the modem and the local terminal. After entering AT & T1, after a few seconds, it goes into online mode. To perform the test must be turned on local echo. The successful execution of the test means that each character typed by the user appears doubled. To complete the test, Pressing the escape sequence and then AT & T0. If the test is started while already connected to a service, this connection is cut.
Local Digital Loopback (digital local loop) runs & T3. You can only take place at a remote modem connection. Check the connection between local and remote modem and the line circuit. Sent to remote modem strings received from him.
Remote Digital Loopback (remote digital loop) runs & T6. Check the local terminal, the local modem, remote modem and the line circuit. Should be for a connection, and the remote modem must accept the request of the test. To complete it is passed to command mode with the escape sequence and type AT & T0. The local terminal compares the received string with the previously provided by it. Strings are provided by the user. Remote Digital Loopback with
Selftest (remote digital loop self test) runs & T7. Check the local modem, remote, and the circuit line. Should be for a connection and to complete it you must specify the escape sequence and AT & T0. It generates a binary pattern, according to the CCITT V.54 recommendation to check the connection. At the end of the test shows the number of errors appeared (from 000 to 255). Local Analog Loopback
with Selftest (local analog loop with self test) runs & T8. Check the local modem. After starting the test, after a few seconds, it returns to command mode. It ends with & T0 or if it hits the time limit defined in S18. The test checks channels for transmitting and receiving modem. It uses a binary pattern, according to the CCITT Recommendation V.54. If connected to a service, the connection is cut. At the end of the test will return the number of errors (000 to 255). Protocols
error checking error control: There are several techniques by which checks the reliability of the data blocks or characters. Parity
: function where the transmitter adds another bit to a symbol encoding. Is even parity, when the symbol has a number of bits and odd otherwise. The receiver recalculates the number of bits with value one, and if the recalculated value agrees with the parity bit sent, accept the package. This will detect single bit errors in the transmitted symbols, but multiple errors.
CRC (Cyclic Redundancy Check, cyclic redundancy test). This error detection technique consists of a cyclic algorithm in which each block or frame of data is checked by the modem that sends and the receiver. The modem is sending inserts the result of calculation in each block as a CRC code. For its part, the modem is receiving compared the result with the received CRC code and responds with a positive acknowledgment or negative depending on the outcome.
MNP (Microcom Networking Protocol, Microcom Network Protocol). Error control is developed by Microcom, Inc. This protocol ensures error-free transmission by file transfer protocols Xmodem
: it is the most popular protocol, but is slowly being replaced by protocols more reliable and faster. Xmodem sends files in blocks 128 characters at a time. When the computer is receiving checks that the block has arrived intact, well said and hoped the next block. The check is a checksum error or a more sophisticated check cyclic redundancy. Some communications software and could support both automatically using the most appropriate for a given time. During a download, the software tends to use the CRC, but will switch to checksum if it detects that the host does not support the CRC. Xmodem protocol also needs to be declared in your configuration: no parity, eight data bits and one stop bit.
Xmodem-1K is a slight variation of the above, using blocks that pose a kilobyte (1,024 bytes) in size. This protocol is still so-called 'Ymodem' for some programs, but people gradually inclined to call it correctly.
Xmodem-1k-g: is a variant of the previous error-free channels such as hardware error correction or cable lines null-modem between two computers. Achieved faster by sending blocks one after another without having to wait for acknowledgment from the receiver. However, it can not retransmit the blocks in case of errors. If an error is detected at the receiver, the transfer will be aborted. As above, it is often wrongly called 'Ymodem-g'.
Zmodem: This protocol is very rapid progress as ensuring good reliability and offers several features. Zmodem uses packages of 1 kb in a clean line, but can reduce the size of the package as if the line quality will deteriorate. Once the quality of the line is retrieved the packet size increases again. Zmodem to transfer a group of files in a batch (batch) and keep the exact size and date of files. You can also quickly detect and recover errors, and interrupt transfers can be summarized in a later period. It is also very good for satellite links and packet switched networks.
ASCII in ASCII transfer is as if the sender was actually typing the characters and the receptor recording now. Not used any form of error detection. Usually, only ASCII files can be sent in this manner, ie as binary files that contain characters.
Ymodem: This protocol is a variant of Xmodem, which allows multiple files to be sent in a transfer. Throughout it saves the correct name, size, and file date. You can use 128 or (more commonly), 1,024 bytes for the blocks.
Ymodem-g: this protocol is a variant of the above, which reaches a very high transfer rate, sending blocks one after another without waiting for recognition. This, however, means that if an error is detected by the receiver, the transfer will be aborted.
TELink: This protocol is mainly found in Fido Bulletin Board Systems. It's basically the Xmodem protocol using CRC check and an extra block header of the file sent as saying the name, size and date. For its part, also allows more than one file is sent at the same time (Fido is a very popular BBS, which is used throughout the world.)
Kermit: This protocol was developed to make it easier for different types of computers to exchange files between them. Almost any computer using Kermit can be configured to send files to another computer that also use Kermit. Kermit uses small packets (usually 94 bytes) and although reliable, is slow because the data connection protocol to use is higher than in many other protoc
advantages of portefuegos: