Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old September 22nd 04, 05:04 PM
Mike Andrews
 
Posts: n/a
Default

In (rec.radio.amateur.digital.misc), David Harper wrote:
Ok, I have one more additional question. :-)


For a communications protocol such as RTTY, I know the mark and space
frequencies indicate 0 and 1 values of a (usually) 5-bit character.
But how does the receiving side synchronize with the transmitting
side? How does the receiver continue to properly allocate the
incoming bits? After, say, the 30th bit value, how does the receiver
know that it *IS* the 30th bit value? Especially with three 1's or
three 0's consecutively and no frequency changes...?


Is the receiver just very accurately timed? When it occurs, do the
transitions from 0's to 1's (and vice versa) serve to resynchronize
the receiver with the transmitter?


I don't view it as a storm of questions; I'd be surprised if anyone
did, considering the floods asked by folks in some other newsgroups.

Synchronization can be A Right Bitch. Good, Cheap Timing is part of
the answer, and I think that the receivers also do some timebase
adjustments as needed to keep their bit-rate clocks in sync with the
transmitters'.

When you add start and/or stop bit, things get a lot easier, and
that is the case with most serial communications: you can reset the
character and bit-time clocks per-character. When no sync bits are
present, you have to derive the bit timing and character timing from
the data-bit transitions in the data stream, and things can get a bit
iffy. Telco circuits have hardware that requires K transitions per N
bit times, and will stuff "1" or "0" bits into the stream on one end,
and delete them on the other, before they get to the customer gear,
so that the stream appears to be synchronous, even though it isn't
really synchronous inside the telco circuit.

But TY gear is _asynchronous_: it has bits to signal the start and
end of each character.

The general structure of a TTY character is

Start_Bit, Data_Bits, Stop_Bit.

The Start_Bit tells the machinery that there's a character coming
down the pipe, and that it should get ready to move. When I was doing
military communications, Way Back When, the start bit was a 1.5 bit
time MARK, since there really were parts that had to get ready to
move, clutches to engage, and so on, and the extra time ensured that
things were ready when the first data bit came in. The stop bit was a
1.0 bit SPACE, IIRC, so that there was always a polarity change to
signal a new character. But that's memories almost 40 years old, and
I Could Be Wrong.

Try this for more info:
http://www.repairfaq.org/filipg/LINK/PORTS/F_The_Serial_Port1.html#THESERIALPORT_008

--
Mike Andrews

Tired old sysadmin
  #2   Report Post  
Old September 22nd 04, 06:52 PM
Jim Haynes
 
Posts: n/a
Default

Another little piece of the story is that in start-stop operation the
receiver samples the incoming signal at the place where it expects the
center of the bit to be. Thus it is tolerant of signals that are too
fast or too slow. Of course today it is easy to get the speed very
precise; but in the early days it was a matter of motors with centrifugal
speed governors.

With synchronous transmission the receiver knows where the bit boundaries
are going to be, so it is possible to sample near the end of each bit time
when all of the energy in the received signal has come in. Start-stop
has to throw away roughly half of the energy in each bit because of the
center sampling. Hence synchronous transmission has an advantage in
signal-to-noise ratio.

In the days of mechanical teleprinters, synchronous operation had a much
greater advantage. A mutilated STOP pulse would allow the receiving
shaft to continue rotating, and then several characters would be
received in error as a result of that single bit error. With electronic
reception there is no rotating shaft, so it is possible to reset the
receiver to the starting position instantly.

It is also possible with electronics to achieve a quasi-synchronous
operation with start-stop signals. The idea is that instead of having
the STOP pulse be arbitrarily long, it is of fixed length and an idle
character is sent if there is nothing to send from the keyboard. This
is usually called "diddle". With the incoming data stream being a
steady stream of printable characters and nonprinting idle characters
it is synchronous for the duration of the transmission. The detector
can synchronize to this signal and take advantage of all of the energy
in each signal pulse. The K6STI RITTY software (no longer marketed)
operates on this principle.
--

jhhaynes at earthlink dot net

  #3   Report Post  
Old September 22nd 04, 06:52 PM
Jim Haynes
 
Posts: n/a
Default

Another little piece of the story is that in start-stop operation the
receiver samples the incoming signal at the place where it expects the
center of the bit to be. Thus it is tolerant of signals that are too
fast or too slow. Of course today it is easy to get the speed very
precise; but in the early days it was a matter of motors with centrifugal
speed governors.

With synchronous transmission the receiver knows where the bit boundaries
are going to be, so it is possible to sample near the end of each bit time
when all of the energy in the received signal has come in. Start-stop
has to throw away roughly half of the energy in each bit because of the
center sampling. Hence synchronous transmission has an advantage in
signal-to-noise ratio.

In the days of mechanical teleprinters, synchronous operation had a much
greater advantage. A mutilated STOP pulse would allow the receiving
shaft to continue rotating, and then several characters would be
received in error as a result of that single bit error. With electronic
reception there is no rotating shaft, so it is possible to reset the
receiver to the starting position instantly.

It is also possible with electronics to achieve a quasi-synchronous
operation with start-stop signals. The idea is that instead of having
the STOP pulse be arbitrarily long, it is of fixed length and an idle
character is sent if there is nothing to send from the keyboard. This
is usually called "diddle". With the incoming data stream being a
steady stream of printable characters and nonprinting idle characters
it is synchronous for the duration of the transmission. The detector
can synchronize to this signal and take advantage of all of the energy
in each signal pulse. The K6STI RITTY software (no longer marketed)
operates on this principle.
--

jhhaynes at earthlink dot net

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stacking Distance Question. More Information ab5mm Antenna 8 June 5th 04 08:18 AM
Technical question for receiving TV signals by a loop Antenna David Kao Antenna 0 January 20th 04 01:14 AM
Seperation question???? thanks [email protected] Antenna 0 October 7th 03 07:57 PM
Vacuum tube technical question Argus Boatanchors 14 September 23rd 03 04:21 AM
Vacuum tube technical question Argus Boatanchors 0 September 20th 03 02:13 PM


All times are GMT +1. The time now is 03:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017