0
\$\begingroup\$

Why is line coding also called digital base band modulation named "line coding" where does it come? and how is the name it to modulation

\$\endgroup\$
6
  • \$\begingroup\$ Is this for homework? Have you done any research, like read the Wikipedia article on line coding? \$\endgroup\$
    – Justme
    Commented Jan 21, 2022 at 18:32
  • 1
    \$\begingroup\$ I know great deal in line coding. its just the naming. I don't know the term "line" is doing there \$\endgroup\$ Commented Jan 21, 2022 at 18:57
  • 2
    \$\begingroup\$ It's also explained on the Wikipedia article where the "line" term comes from, did you read it? \$\endgroup\$
    – Justme
    Commented Jan 21, 2022 at 19:01
  • 1
    \$\begingroup\$ I can only guess (from Wikipedia) it is some how related to transmission lines. I apologize sir for my ignorance, if there is more than this on the page! \$\endgroup\$ Commented Jan 21, 2022 at 19:13
  • \$\begingroup\$ Also crossposted on dsp.se : dsp.stackexchange.com/questions/81147/… \$\endgroup\$
    – Justme
    Commented Jan 21, 2022 at 22:12

1 Answer 1

2
\$\begingroup\$

When digital data transmission along wires (Morse code, Baudot telegraph machines for ex. ) had shown its usefulness also serious scientists became interested in it. Old systems based on relays did not gave much room for flashy on math based codings because the limiting factor was the mechanical speed of the parts of the equipment.

As electronics became available, at first along the vacuum tubes, higher transmission speeds became possible. It became gradually obvious, that the well established asynchronous transmission with marks and spaces (it's still popular in slow data rate applications) was far from optimal when one wanted to maximize the data rate through a given line and at the same time to keep the error probability below certain limit.

Mark-space -idea i.e. Voltage =ON for mark (or state 1) and voltage =OFF for space (or state 0) and and sending them sequentially as a fixed length pulses (like UART interfaces still do) do not give to the receiver especially good possibilities to decide was it a mark or space which is between the wires just now and when would it be the best moment to measure the voltage for valid decision. The causes:

  • pulses tend to get stretched and rounded through their flight along the wires due the frequency dependent propagation speed and attenuation
  • there's noise
  • there's no common time reference for the transmitter and receiver, a kind of clock synchronization is needed before the clocks of on time based decisions drift too much apart. The practical timing signal should be a part of the data transmission signal.

The timing in Baudot telegraph wasted at least 20% of the transmission capacity (which already was nothing spectacular) and so it does also in UARTs today.

To lift the available data rate through a given line higher smarter ways than at fixed rate sent DC levels were developed to present the digital states and to carry the timing information at the same time. Different methods were called line codes to separate them from modulations.

Modulations lifted the signal to a higher frequency band and especially radio communication needed it. I have in practice tried a telegraph machine which was based on about 90 years old technology and sent text at HF band. It really was a mechanical device which actually needed a DC mark-space signal, but the radio station had a frequency shift modulator and demodulator interface between the telegraph machine and the radio gear. Morse code was used to ask one to switch the telegraph ON. To do it a tuning fork was used to chek that the motors ran at the right speed.

Line codes occupied a band around 0Hz. Just 0Hz was not so optimal because it was difficult to pass the DC component, so a good line code did not suffer from the removal of the DC component. For original telegraphs DC was as important as some band above it.

ADD due a comment: Term coding has another use in digital domain. We call a math transformation of digital data coding when one stream of discrete states is transformed to another stream of discrete states to achieve something useful, for ex. encryption, data compression, immunity against errors or to fade certain statistical situations which can make the used physical signal transmission method work less than optimally. A typical such situation is a too long continuous chain of zeros or ones which could cause drift in the extraction of the timing in the receiver.

Line coding is not math with numbers nor symbols, it's presenting digital states with physical voltage pulses which also carry the timing information.

The name "line coding" is historical. In communication engineering math one could easily put all line coding schemes to the same box as modulations of digital signals. The historical separating difference is the frequency shifting in modulations, but that's only a property. The common thing of line codings and modulations is that both of them map the stream of discrete states to a continuous time voltage signal which also contains enough information of timing to be used in the symbol stream reconstruction in the receiver.

\$\endgroup\$
7
  • 1
    \$\begingroup\$ All of this was educational, but isn't the answer because it's short for Transmission Line Coding? \$\endgroup\$
    – horta
    Commented Jan 21, 2022 at 23:08
  • \$\begingroup\$ The concept line coding doesn't happen in digital domain, it is the way how discrete digital states are presented as voltage pulses and how to include the timing information - together. Line coding is a historical name for such methods. It's totally different than coding for encryption or error detection &correction or data compression or to avoid certain statistical situations which may distort the timing such as long chain of zeros. \$\endgroup\$
    – user136077
    Commented Jan 21, 2022 at 23:20
  • \$\begingroup\$ Right, I understand that. Line coding isn't necessary unless you're treating your wire like a transmission line and have to account for reflections due to the receiver not seeing the 0's and 1's the same way as the transmitter saw them go. \$\endgroup\$
    – horta
    Commented Jan 21, 2022 at 23:32
  • \$\begingroup\$ @horta The transmission line does not have to specifically mean a wire, it just means the system as a whole. For example reading and writing data to magnetic or optical media (tape, floppies, CD) or transmission over radio waves (TV, radio) or light (optical fiber) don't work with bits so they need to be coded in a way that suit passing through the system as a whole, so that they can be sent or stored and retrieved. Including transmission over coaxial or twisted pair wires. \$\endgroup\$
    – Justme
    Commented Jan 22, 2022 at 15:16
  • \$\begingroup\$ @Justme Interesting. Does that mean something like Gray coding falls within the category of line coding? \$\endgroup\$
    – horta
    Commented Jan 23, 2022 at 4:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.