Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Section 1
ITU G3 Protocol & Framing
Protocol Monitor
Call
Dialing
Ring Detect
Ringing
CED Signal
Monitor Area
DCN Signal
Disconnect
Disconnect
A protocol monitor printout is a report of the protocols that are exchanged between the sending and
the receiving fax machines. This print out can be useful in analysing a problem if two fax machines
have communication problems.
Monitoring area:
Sending -->CED signal detected on remote ~ DCN signal send
Receive -->CED signal send ~ DCN signal detected
G3 Protocol Sequence
Transmit Receive
CNG Phase B
Phase A
CED
NSF CSI DIS
NSF/CSI/DIS
(NSS)/TSI/DCS
Phase B NSS TSI DCS
TCF
NSF/NSS
CFR -CCITT Country code
-Model code(not in use)
-Company code
CSI/TSI
Train/PIX Phase C -ID code
DIS/DCS
-Modem speed
EOP -Paper size
-Resolution, etc
MCF Phase D
These 3 signals are corresponding
each other between remote and local.
DCN Most of communication caused by
this signal.
Phase E
G3 Protocol Sequence(Appendix)
DCS
EOP DCN
TRN/TCF
11) Setting: of 'Does a Fallback / Not, by the CTC Signal at the ECM Transmission'
It makes the transmission completed with higher percentage, when it does a fallback by the CTC signal. Therefore, this system data will basically not to be changed.
12) Setting the Numbers of Sending the CTC Signal at the ECM Transmission
It is for setting up the numbers of sending the same frame, before sending the CTC signal (includes fallback information). To make the numbers bigger, it means that it will 'hold out with
riginally selected modem speed causes the picture data error to make the resent condition. Therefore, 'Three times’, which is regulated in the T.30 as, default. Is judged as the best n
his to one only.
16)Setting the EQM amount( done during design stage as a part of EPROM)
EQM (Eye Quality Monitor) amount is the figure, which indicates the distance between an ideal point and an actual receiving data. Even though there is no error in the TCF signal, an e
mount is too big. Therefore, each maker sets up its own permitted quantity of the EQM amount for each modem speed.
Phase C - Data Settings
Phase C: In phase C, the sending and receiving of the picture data are done. The system data in this phase is mainly for the processing method to proceed a certain
transmission of the picture data.
1)Setting the Level for Sending the picture Signal ( Transmission Level):
Although there is no problem for making a conversation, some obstacles may occur for the facsimile transmission, depend on the quality of the circuit, which is connected to
the facsimile. Especially when the high-speed transmission is done, S/N rate (the figure which indicates the difference between the display signal level and the noise level,
with the unit of dB, decibel) is important. This system data allows for changing the ‘S’ part within the limit of ‘0 to -15 dB’. However, the Regulation for the Terminal
Equipment, Article 14 regulates that 'the sending the electric power for transmission which is up to 4KHz except the Conversation, should be less than (-1S+L) dB, should not
be over "O" dB. Basically the system data has to be set up to the loss line (L part) of the connection circuit.
2) Setting the TAP HOLD: At the transmission by the international circuit, sometimes a big difference occurs between the modem condition which is set up by the TCF
signal, and the modem condition which is set up by the training signal before the picture data. In this case, the receiving machine opens the circuit. ‘TAP HOLD’ is the system
data to fix to the modem condition which is set up by the TCF signal, then ignore the modem condition which could be set up by the training signal before the picture data. By
this, the transmission will be made even though there is a big difference between these two conditions. However, compared with the method, which confirms the two modem
conditions, there is more chance to occur a bit error on the picture data.
3) Setting the G2 Threshold Level: This is the system data to change the threshold amount to judge the black and white for the received display signal.
4) Setting the Synchronous Time for the Block Data at the ECM Mode transmission
At the ECM mode transmission, a flag will be sent for a certain period to synchronise, in front of the block data. This is the system data to change this period. When there
are many resend of the front part of the picture data, it can prevent the picture data error by setting up the sending time of the flag longer .
3) Setting the ECM T5 Timer:This is the monitoring timer of the sender’s side for the RNR signal (the signal to let the sender’s side wait for
sending the picture data, as the receiver’s machine is not ready for receiving it continuously) at the ECM mode transmission.
4) Setting the Criteria for Sending the RTN Signal: This is the system data to set up the criteria to choose which one of two, MCF signal or
RTN signal will be sent back, when an error occurs in the picture data received. Two criteria are possible which are the number of the
continuous line, and the area rate. Some makers’ machines may resend the same information or do the fallback, when they receive the RTN
signal. In this case, set up the criteria closer to avoid sending the RTN signal. However in this case, it tends to have an error record on the
received copy.
5) Setting the Error Cognition of the RTN Signal:This is the system data to judge the sent information as a ‘good condition’ (equivalent to the
MCF signal), or to ask for resent the pages as it’s judged as an ‘error’, when the machine receives the RTN signal for the picture data which is
sent
Phase E
It is from sending the DCN signal to opening the circuit in phase E. No system data specially is prepared for this phase.
6. OTHERS
Setting the Method of Discharging the Protocol Monitor
The method of discharging the protocol monitor can be selected from the 'Manual Discharging', (printing Protocol dump list on demand)
'Automatic Discharging When the Abnormal Transmission Occurs' and 'Fully Automatic Discharging'. ( during service mode)
Adjust to line characteristic(Phase A-Part1)
Phase-A:There are some of timer and customized setup are required to close the loop automatically
TX PBX TX PBX
CED
Transmit CED Signal 10), 11)
Timing to Transmit
Adjust to line characteristic(Phase A-Part3)
CED
Transmit CED Signal 10), 11)
Adjust to line characteristic(Phase B-Part1)
Phase-B: Confirm each terminal communication ability in this phase. Therefore phase B system data changes the timing of
signal detection, send timing.
CFR 14)
TX RX
NSF/CSI/DIS
NSS/TSI/DCS 3Sec
NSF/CSI/DIS(re-send)
Singnal collision
Adjust to line characteristic(Phase B-Part3)
Tx Rx
Echo Suppresser
Send the CED
Stops
Actual Point
NSF/
DIS DCS DCS DCS DCS DCS DCS
TRN/
TRN/ TRN/ TRN/ TRN/ TRN/ TRN/ PPS-
TCF
TCF TCF TCF TCF TCF CPIX EOP
(14.4K)
(12.0K) (9.6K) (7.2K) (4.8K) (2.4K) (2.4K) MCF
FTT FTT FTT FTT FTT CFR DCN
Communication Condition
Local :wc490(Reduce Transmit Level -7dbm to 12 dbm) / sending blank A4 page
Remote :wc490
Point
Train signal could not be received due to send level too low. It fall back 6 times then succeed to
handshake with 2,400 bps. See DCS FIF is changed automaticaly as following.
DCS FIF
0062F844(14.4K)->006AF844(12.0K)->0066F844(9.6K)->006EF844(7.2K)->004AF844(4.8K)->0042F844(2.4K)
Adjust to line characteristic(Phase C-Part1)
Phase C: In phase C, the sending and receiving of the picture data are done. The system data in this phase is mainly for
the processing method to proceed a certain transmission of the picture data.
Tx Rx
Tx Rx
Adjust the modem TAP HOLD fixes the
TCF Signal modem set-up in this
to the circuit condition
CFR Signal condition
4) Setting the Synchronous Time for the Block Data at the ECM Mode transmission
At the ECM mode transmission, a flag will be sent for a certain period to synchronizee, in front of the block data.
This is the system data to change this period. When there are many resend of the front part of the picture data, it can
prevent the picture data error by setting up the sending time of the flag longer.
Phase D: In phase D, the confirmation of the picture data condition which are sent or received, will be done.
The system data in this phase are mainly for judging the picture data condition which are sent or received.
1) Setting of ‘Use / Not Use the MPSX Signal’ at the Fast Protocol Mode
Tx Rx
Message Signal After PIX1),2),3)
Protocol Monitor:
A protocol monitor printout is a report of the protocols that are exchanged between the sending and the receiving fax machines. This printout can be
useful in analysing a problem if two fax machines have communication problems.
During the fax transmission the protocol sequence information is temporarily stored in the machines memory. If you have a communication problem you
can print the protocol report for that transaction. Please note that the memory only stores the last transaction.
To obtain a copy of this report on most of the fax machines you must first be in Diagnostics. Below is a printout of a typical transaction between two fax
machines: Sample of 7241 fax MC
35'06" DCS 83 00 06 A8 00
35'06" TRN 05
35'06" TCF 06
35'08" TCF 06
35'10" CFR 84
35'10" PIX 09
35'27" PIX 09
35'28" EOP 2F
35'30" MCF 8C
35'31" DCN FB
Protocol Moniter / G3 Communication Report?
Our DIS code of 00 EE A8 C4 80 10 would read in Binary as: DIS :00000000 11101110 10101000 11000100 100000000 00010000
0 = 0000, 0 = 0000
E = 1110, E = 1110
A = 1010, 8 = 1000
C = 1100, 4 = 0100
8 = 1000, 0 = 0000
1 = 0001, 0 = 0000
If we read across the block from left to right in blocks of four, we will see that:
0, 0000 The first eight bits of DIS should read 0's if any 1's appear ignore them, 0, 0000 The first eight bits of DIS should read 0's if any 1's appear ignore
them
E, 1xxx MH AND MR , E, x1xx Vertical resolution 3.85l/ 7.7l/ mm, E, xx10 10 combined with the 2 digits of the next block 11 gives a DSR
E, 11xx Data signal rate (DSR), V.27ter & V.29 AND V17.modem compatible
E xx10 Only Rx is possible with recommendation T.4 (G3), E XX11 TX/ Rx are possible with recommendations t.4 (G3)
A 1xxx Extended field no data in this field, A x010 MSL: Minimum scan line 10 ms(3.85l/mm) : T7.7 = T3.85
8 10xx Unlimited (Paper roll), 8 xx00 Max. Recording width A4(215 mm)
C 1xxx Extended field - data in this field, C x0xx Without T.6 coding (MMR)
C X1XX WITH T6 Coding ( MMR), C xx0x Without G4 capabilities, C xxx0 without ELM (error limiting mode for Russia only)
4 0xxx Frame size =256 octets, 4 x1xx With ECM, 4 x0xx Without ECM, 4 xx0x Without uncompressed mode
4 xxx0 Without handshaking at 2400bps
8 1xxx extended field - data available in this field, 8 xxx0 width of recording paper is valid.
0 0000 width of recording paper is valid., 1 0xxxx no data in this byte, 0 0xxx inch based resolution is unavailable.
Exercise: Try reading the data of the DCS and decode it with respect to the features selected to transmit the current document.
Calculate the time consumed in each Phase.
Fax Modems -V Series
CCITT V SERIES:Fax Modems
A set of recommended standards for data communication over telephone lines, including transmission speeds of operational modes, issued by the CCITT.
Only the standards most often found in computers are described here. Each standard is assigned a number although not in chronological order, higher
numbers do not always indicate a newer standard. “Bis” indicates a second or revision, and “ter” indicates a third version.
V.21 300 BPS modem using full-duplex transmission over dial-up lines
V.22 600-BPS and 1200 BPS full duplex modems over dial-up lines
V.22Bis 2400 BPS full duplex modems over dial-up lines and two wire leased lines with fallback to 1200 operation
V.23 600/1200 BPS synchronous or asynchronous half-duplex modems used on dial-up lines
V.24 A definition of interface between a modem and a computer system, functionally equivalent to RS-323 standards
V.26 2400 BPS full-duplex modems used over four wire leased lines
V.26 Bis 1200 BPS and 2400 BPS full-duplex modems used on dial-up lines
V.27 4800 BPS full-duplex modems used with four wire leased lines with manual equaliser.
V.27 Bis 2400/4800 BPS full-duplex modems used with four wire leased lines. The main advancement over V27 is the addition of an automatic adaptive
equaliser
V.27 ter 2400/4800 BPS full-duplex modems for use with dial-up lines
V.29 9600 , 7200 BPS modems used over dial-up lines with echo cancelling to remove any telephone line echo. Encodes four data bits for each baud to
give an effective throughput of 9600 bits per second and includes Trellis-code modulation error correcting techniques
V32.bis A proposed standard to extend V.32 to 7200,12000 and 14400bps
V.33 12000 and 14400 BPS modems used over four wire leased circuits with time division multiplexing available for line sharing
V.17 7200, 9600, 12000 and 14400 BPS modems used over dial up lines using trellis code modulation.
V.42 Defines an error detection and correction standard rather than a modem. V.42 uses Link Access Procedure-Modem (LAP-M)and has the primary
Microcom Networking Protocol (MNP) classes 2 through 4 as an alternative
V.42 Bis This standard adds a British Telecom Lempel-Ziv data compression technique to V.42 error correction
Section 2
MH/MR/MMR Basic Theory
T4
1. MH : Modified Huffman
2. MR : Modified Read
3. MMR : Modified Modified Read
MH
W5
FAX
W1 W4 W1 W5 W8
B2 B1 B1 B2 B2
1100 11 10011
MR
Code ref.line
Line being
encoded
Pattern changes
MMR
Pattern changes
Data Compression Methods
Data compression:
Scanning an A4 page at standard resolution produces 1188 lines each of 1728 elements (black and white dots) 2 million bits of data. If this was sent at 9600 BPS, it would take at least 4 minutes to send at a high cost
to the sender.Fortunately there are methods of reducing that amount of data, these are known as compression schemes. Many features of fax machines mean keeping documents in memory for editing, broadcasting
and mail boxing etc. Data compression is important because it means we can get more documents into the memory.
Noise on telephone lines can cause errors in received data. The extent of the effect on the received image depends on the compression scheme in use and whether error correction was applied. Manufacturers can and
do use propriety compression schemes between two or more of there own products, but the important schemes are those standardised by the CCITT in their recommendations T.4 and T.6. These schemes are
discussed below; all Group 3 machines use them.
Data coding: Group 3 transmissions are divided into three basic methods, all considered standard and apply to all fax machines regardless of the type or manufacturer .
Modified Huffman is the original G3 transmission standard. By using a digital encoding scheme a single line of data could be encoded digitally and transmitted.
Modified Read uses “Two Dimensional Coding” where the fax looks ahead to the next line of data and reads only the differences from the previous line. This reduces the need to re-transmit similar data, thereby
reducing transmission time.
Finally Modified Modified Read employs an even shorter transmission coding scheme, although many of these can be called upon prior to transmission through NSF (Non Standard Facilities) and DIS (Digital
Identification Signal) data blocks. Many machines have the capability of being pre-selected by the Service Engineer wishing to default to any one of the previously mentioned coding.
“Force 4800” is frequently requested via error codes or operator messages whenthe sending machine fails transmission. The reason is poor telephone lines typically preventing handshaking efforts. “Force 4800”
invokes several functions, the DCS facility block, a slower training rate and 4800bps transmission speed in the “Modified Huffman” format. This strips the transmission down to its basic G3 configuration
accomplishing two things:1) Better speed choice for poor telephone lines.2) Standard facilities which “drops” possibly confusing data describing the machines options NSF (Non standard facilities ).
One Dimensional Coding
One-dimensional coding is the Modified Huffman (MH) scheme. To code the text you need to look along each line of the document and identify the length of each run of black and white elements. A standard table
provides a code for each run length (CCITT 1/T.4, 2/T.4). The data is compressed because the number of bits in each code is, on average, less than the number of elements in each run, for example: A run of 36 white
pixels would be coded as = 00010101 (8 bits), and a run of 36 black pixels would be coded as = 000011010100 (12 bits).
The send machine transmits these codes to the receive machine which uses the same table to build up the original line of data from the codes.
Two Dimensional Coding
The standard forms of two-dimensional coding are Modified Read (MR) and Modified Modified Read (MMR). In this scheme the first line (K1) of data is sent, for the subsequent lines all that is sent is the
differences from the previous line. These are coded according to a standard code table (CCITT 3/T.4). This has the potential to provide a drastic reduction in the amount of data sent, unfortunately, if there is an error
in the received data, then the effect is also drastic. Errors received in one line will not be corrected by the next and the error could be copied in all subsequent lines (up to the end of the K lines). This causes the
apparent stretching of characters often seen when sending faxes over poor quality and noisy telephone lines. To remedy this problem the value of K is chosen to be small enough so that errors are not propagated far
enough to make text illegible .
How is the “K” factor calculated
The “K” factor relates to the number of lines transmitted with only the differences from the previous line sent, for example if the “K” is five lines, then the machine sends the first line and then the differences for the
following four lines and then it sends the sixth line in full and then the differences for lines 7, 8, 9, 10 and so on. Remember when we talk about lines, we do not mean a line of text, but a line of pixels.
MR: Here the K factor is set to 2 as standard with an option of 4 in fine resolution so that errors are limited to ½ mm of text (standard resolution: 4 scan lines per mm).
MMR: Here the K factor is set to infinity so the effect of line noise could be disastrous. But the idea is to use MMR only in ECM (Error Correct Mode) so that line errors have already been eliminated.
Performance
MH: The amount of compression is not great but the line noise “hits” only effect the line in which they occur, therefore resistance to noise is good.
MR: Compression is greater than MH but the improvement is limited by the need to restrict the value of K to minimise the effect of errors.
MMR: Compression is much greater than MH and using ECM (Error Correct Mode) eliminates the effects of bad lines.
Section 3
G3 ECM (Error Correction Mode)
G3 ECM - document structure
Page
Block
Frame
Block
•
Max 256 Frame
•
•
G3 ECM Frame structure
F A C I FCS F
Flag sequence
Used to establish
synchronize of bit and Control field Frame Check Sequence
frame. If it is the last frame, CRC check from end of
Fix format:01111110 frame should be ‘Flag sequence’ to
:11001000 ‘Information Field’.
If not, frame should be
:11000000 Flag sequence
Address field Used to establish
Command :11000000 synchronize of bit and
Response :10000000 frame.
Information field
Fix format:01111110
64 octet or 256 octet (selectable)
G3 ECM block structure
Transmit Receive
CNG
PIX is sent by block unit.(64 or 256 octet)
CED
NSF/CSI/DIS
(NSS)/TSI/DCS
Frame 0
TCF Frame 1
Frame 2
CFR
Frame 255
Train/CPIX
MCF
DCN
G3 ECM error detection and correction
Transmit Receive
Frame 0
Frame 1 Detect error frame
Frame 2
1 block
Frame 255
PPR 0 1 0 0-------------0
Frame 1 re-send
PPS-EOP
All of image data are comressed and store in block. Sometimes 1 page may contain more than 1 block.(depend one image
coverage) In this case, I page send by block unit and re-structure these data at receive side.
Transmit Receive
Page
CPIX block 1
PPS-NULL
MCF
CPIX block 2
Block 1
PPS-EOP
Block 2 MCF
DCN
G3 ECM fall back and retry - 1
Transmit Receive This case showing the 1 page send with ECM, but
found the error in block. This page consist of only 1
NSF/CSI/DIS block.
TSI/DCS/
TCF
CFR
CPIX Frame(re-send) Received 1 block 4 times, but still bit error was
there.-->Ch57-692
PPS-EOP
PPR
CTC Sending side send the CTC signal as tell the fall
back the transmit speed and change the
CTR block size(64/256 octet).-->Ch57-693
CPIX Frame( re-send)
After fall back, receive successfully completed, then
PPS-EOP return the MCF signal.
MCF
DCN
G3 ECM fall back and retry - 2
Transmit Receive
This case showing the 1 page send with ECM, but
found the error in block. This page consist of only 1
block.
CPIX block1
PPS-EOP
PPR Sending side will try to send the block 4 times, then
send CTC signal as fall back the transfer speed.
CTC#1
CTR
•
• When sending side already send CTC signal 4
• times, then send the EOR-MPS signal to remote.
•
CTC#4
CTR
EOR-MPS
When receive the EOR-MPS signal, receiver side
ERR
return the ERR signal.
DCN
G3 ECM Exercise
Transmit Receive
Block 3 NSF/CSI/DIS
Block 1 TSI/DCS/
TCF
CFR
Block 2
Exercise 3
Fill out the protocol right hand side.
This Fax job consist of 2 pages. the error occured on block 2,
then send it twice. Other block received correctly. ?
Exercise 4
Sending customer want use 9600 bps transmitting anyway.
How do you setup the machine as don’t fall back to lower
speed?
DCN
Error Correction Mode (ECM)
l ECM: (Error Correct Mode) This feature is available on some models. It is necessary for both machines to have the ECM function
before ECM can be used.
l It is intended to help correct transmission problems by offering a two way Transmission and error checking capability. The two
machines compare data as it is transmitted. Forward error checking is used in modern machines and as it suggests, add bits to the
data stream and the receiving machine uses this information to evaluate the incoming information and decides if the transmitting
machine needs to re-transmit the information again. This means that a machine sending at 9600 BPS will not be sending 9600 bits of
information but a slightly lower number as some will be used for the error correction bits. If the quality of the telephone line is very
poor then this will increase the transmission considerably.
l Principal of operation:
• The page is scanned in to fax memory. The scanned data is divided in to Blocks.
• One block can have maximum of 256 frames. Frame F0 to frame F255
• Each frame can have maximum data of 256 octets, 64 octets for a frame is selectable.
• The page data is transmitted frame by frame and each frame address is attached to the data.
• If the page data is not covered in one block then pending data is transferred to the next block.
• On completion of the transmission of block data, the machine checks the quality and completeness of the received data frame by frame of
block and marks the defective frames.
• After transmission of the block the transmitting machine, sends a PPS-EOP signal (total page data covered in current frame) if any data got lost
in transmission the remote machine sends PPR signal containing the frame number corresponding to the defective frames received.
• The transmitting machine resends the complete data of the frames received in PPR signal.
• On completion of transmission of the data of the defective frames, the transmitter resends the PPS- EOP signal.
• The remote machine receives these frames and check for error in these frames, if errors are found, those blocks are marked as error frames and
sends PPR signal. If frames are received correctly then it sends the MCG signal.
• .If the transmitting machine receives PPR signal, then it checks for the number of retries in ECM mode (default 4 retries, can be adjusted from
1 to 4 in some models). If retry is equal to 1 then the transmitter will send the CTC signal to the receiver and wait for the CTR signal from the
receiver. On reception of the CTR signal the transmitter will fall back the transmitting speed to a lower speed and check the line condition. On
reception of the CFR signal it resends the defective frames. And wait for the MCF signal. It repeats the step 8 to 11 till it receives the MCF
signal.
• If MCF signal is not received then finally it gives the error and sends a DCN signal. If MCF is received then it moves on to transmission of the
next block if available or the next page.