Updated 5 March 2003 DCS Explained
 MMI Stuff MMI TR Home Become A Ham New Ham Help Other Radio Services Related Links Technical VX-5R FT-2600M FT-90R FT-11R FTH-2070 CTCSS Explained DCS Explained Emission Types Technical Terms Arizona Stuff Emergency Repeaters Phoenix Repeaters ARA Repeaters CDCSS Written by Lynn Richardson, 6 June 1995 General CDCSS, also called DCS, is a digital subaudible selective signalling system. It uses a code composed of 23 bits sent repeatedly at rate of 134.3 bits per second. The code is based on the Golay (23,12) code first published in 1949. This code has the ability to detect and correct any three bit or less error that occurs in the 23 bit word. The word is composed of a 12 bit data field and an 11 bit parity vector. In CDCSS usage the 12 bits are divided into 4 octal digits, the first always being set to 100 (octal), the 2nd, 3rd and 4th digits form the three octal digit DCS code number. The word format is: Shift Direction --> Out PPPPPPPPPPPFFFCCCCCCCCC Where P's are parity bits, F's are the fixed octal digit bits, and C's are the octal digit bits. For the DCS code "023" this would be the binary word: Parity Bit Generation The original Golay algorithm used a binary polynomial to generate the parity bits, but this method uses too much microcontroller time and memory. Keeping all 512 23 bit words in rom would take a minimum of 1472 bytes, keeping the parity bits only in rom would take a minimum of 704 bytes. It is possible to save even more rom without taking a lot of microcontroller time by using a simpler way to calculate the needed parity bits. This method uses short calculations, one for each parity bit, based on selected bits from the 9 bit DCS code number:  P1 = C1 + C2 + C3 + C4 + C5 + C8 (MODULO TWO ADDITION)  P2 = NOT ( C2 + C3 + C4 + C5 + C6 + C9 )  P3 = C1 + C2 + C6 + C7 + C8  P4 = NOT ( C2 + C3 + C7 + C8 + C9 )  P5 = NOT ( C1 + C2 + C5 + C9 )  P6 = NOT ( C1 + C4 + C5 + C6 + C8 )  P7 = C1 + C3 + C4 + C6 + C7 + C8 + C9  P8 = C2 + C4 + C5 + C7 + C8 + C9  P9 = C3 + C5 + C6 + C8 + C9 P10 = NOT ( C4 + C6 + C7 + C9 ) P11 = NOT ( C1 + C2 + C3 + C4 + C7 ) DCS Transmission The DCS word is transmitted and received in NRZ (non-return to zero) format so modulation polarity is important. The definition of a "1" is an upward frequency shift and a "0" is a downward shift. DCS codes sent with this polarity are considered to be positive polarity. However some radio systems use inverted polarity to avoid interference and these are called negative DCS codes. Because of this, provision must be made to use both polarities. DCS code "+023" would be transmitted as: The DCS word is sent continuously, starting when transmission begins. When the user releases the PTT, the encoder will change the code to a pattern of alternating 1's and 0's at 268.6 bits per second for 180 milliseconds, then stop transmitting. This "turn off" code causes receiving decoders to mute, thereby eliminating the squelch tail noise burst. Modulation Characteristics The normal deviation range is from 10 to 20% of rated system deviation. Most systems are rated for 5kHz, so this would be 500 to 1000Hz CDCSS deviaton. The CDCSS modulation must be low pass filtered or have it's waveform generated in such a way that frequency products above 300Hz are reduced, otherwise they will cause an audible 'thrumming' noise on the signal. Also receivers should have a 300Hz high pass audio filter to reduce the CDCSS signal at the speaker. DCS Decoding Because there is no way to accurately determine the start of the 23 bit CDCSS code word, it is not possible to discriminate between all codes, i.e. "+023", "+340", "+766", "-047", "-375" or "-707"... all these result in the same 23 bit pattern, but shifted in time. This prevents convenient usage of all 512 possible codes. Almost all DCS codes have duplicates, so most companies use 83 to 104 of the codes, selected for low number of duplications, low falsing likelihood and good decode sensitivity. Regrettably, no industry standard recommended list of codes exists and is not likely to, so it is wise to allow for all codes and to recommend choosing from a "safe" list. A Note From Connect Systems Inc President "...we have 112 codes in our TP-163. We have 104 Codes in our TP-154. With the proper decode algorithm, it is not possible to mix up the different codes. However, each code does have an inverse."