NICAM
Near Instantaneous Companded Audio Multiplex is an early form of lossy compression for digital audio. It was originally developed in the early 1970s for point-to-point links within broadcasting networks. In the 1980s, broadcasters began to use NICAM compression for transmissions of stereo TV sound to the public.
History
Near-instantaneous companding
The idea was first described in 1964. In this, the 'ranging' was to be applied to the analogue signal before the analogue-to-digital converter and after the digital-to-analogue converter. The application of this to broadcasting, in which the companding was to be done entirely digitally after the ADC and before the DAC, was described in a 1972 BBC Research Report.Point-to-point links
NICAM was originally intended to provide broadcasters with six high-quality audio channels within a total bandwidth of 2048 kbit/s. This figure was chosen to match the E1 primary multiplex rate, and systems using this rate could make use of the planned PDH national and international telecommunications networks.Several similar systems had been developed in various countries, and in about 1977/78 the BBC Research Department conducted listening tests to evaluate them. The candidates were:
- A RAI system which used A-law companding to compress 14-bit linear PCM samples into 10 bits
- A NICAM-type system proposed by Télédiffusion de France
- NICAM-1
- NICAM-2
- NICAM-3
Audio is encoded using 14 bit pulse-code modulation at a sampling rate of 32 kHz.
Broadcasts to the public
NICAM's second role – transmission to the public – was developed in the 80s by the BBC. This variant was known as NICAM-728, after the 728 kbit/s bitstream it is sent over. It uses the same audio coding parameters as NICAM-3.The first NICAM digital stereo programme was the First Night of the 92nd edition of the Proms which was broadcast on BBC2 from the Crystal Palace transmitting station in London on 18 July 1986, though programmes were not advertised as being broadcast in stereo on the BBC until some five years later, when the majority of the country's transmitters had been upgraded to broadcast NICAM, and a large number of BBC programmes were being made in stereo.
The BBC publicly launched their NICAM stereo service in the United Kingdom on Saturday 31 August 1991 though other UK broadcasters ITV and Channel 4 advertised this capability some months earlier. Channel 4 began tests much earlier in February 1989 via the Crystal Palace transmitter in London.
It has been standardized as ETS EN 300 163.
Nations using NICAM public broadcasts
Several European countries have implemented NICAM with the PAL and SECAM TV systems- Belgium
- Denmark
- Estonia
- Finland
- France
- Greece
- Hungary
- Iceland
- Ireland
- Luxembourg
- Norway
- Poland
- Portugal
- Romania
- Russia
- Spain
- Sri Lanka
- Sweden
- United Kingdom
- Hong Kong
- Singapore
- Macau
- Guangzhou
- Beijing
- South Africa
- Malaysia
- * Used by TV1, TV2, ntv7, 8TV, and TV9 around Klang Valley. TV3 also uses NICAM on their VHF transmission frequency in the Klang Valley, but uses Zweikanalton on their UHF transmission frequency.
- New Zealand
- Indonesia
- * Television stations in Indonesia use NICAM Stereo for analogue television. Full switchover to DVB-T2 is expected to complete by 2020 by which all analogue broadcasting have ceased.
- Thailand
- * Used on Channel 3 and Channel 9 MCOT HD
How NICAM works
In order to provide mono "compatibility", the NICAM signal is transmitted on a subcarrier alongside the sound carrier. This means that the FM or AM regular mono sound carrier is left alone for reception by monaural receivers.A NICAM-based stereo-TV infrastructure can transmit a stereo TV programme as well as the mono "compatibility" sound at the same time, or can transmit two or three entirely different sound streams. This latter mode could be used to transmit audio in different languages, in a similar manner to that used for in-flight movies on international flights. In this mode, the user can select which soundtrack to listen to when watching the content by operating a "sound-select" control on the receiver.
This is the spectrum of NICAM on the PAL system. On the SECAM L system, the NICAM sound carrier is at 5.85 MHz, before the AM sound carrier, and the video bandwidth is reduced from 6.5 MHz to 5.5 MHz.
NICAM currently offers the following possibilities. The mode is automatically selected by the inclusion of a 3-bit type field in the data stream.
- One digital stereo sound channel.
- Two completely different digital mono sound channels.
- One digital mono sound channel and a 352 kbit/s data channel.
- One 704 kbit/s data channel.
NICAM packet transmission
The NICAM packet is scrambled with a nine-bit pseudo-random bit-generator before transmission.- The topology of this pseudo-random generator yields a bitstream with a repetition period of 511 bits.
- The pseudo-random generator's polynomial is:
- The pseudo-random generator is initialized with:
- The NICAM header is not subject to scrambling. This is necessary so as to aid in locking on to the NICAM data stream and resynchronisation of the data stream at the receiver.
- At the start of each NICAM packet the pseudo-random bit generator's shift register is reset to all ones.
NICAM transmission issues
- NICAM samples 14-bit audio at 32 kHz.
- The upper frequency limit of a NICAM sound channel is 15 kHz due to anti-aliasing filters at the encoder.
- The original 14-bit PCM audio samples are companded digitally to 10 bits for transmission.
- NICAM audio samples are divided into blocks of 32. If all the samples in a block are quiet, such that the most significant bits are all zeros, these bits can be discarded at no loss.
- On louder samples some of the least significant bits are truncated, with the hope that they will be inaudible.
- A 3-bit control signal for each block records which bits were discarded.
- Digital companding ensures that the encoding and decoding algorithms can track perfectly.
NICAM carrier power
- The level of the FM mono sound carrier must be at least -13 dB.
- Measuring the modulation level of the NICAM signal is difficult because the QPSK NICAM carrier waveform is not emitted at a discrete frequency.
can be calculated using the following formula:
L = L + 10 log + K
- L = actual level of the NICAM carrier
- L = measured level of the NICAM carrier
- R = -3 dB bandwidth of the signal
- BWAnalyser = bandwidth of the spectrum analyser
- K = logarithmic form factor of the spectrum analyser ~2 dB
NICAM's unusual features
NICAM sampling is not standard PCM sampling, as commonly employed with the Compact Disc or at the codec level in MP3, AAC or Ogg audio devices. NICAM sampling more closely resembles Adaptive Differential Pulse Code Modulation, or A-law companding with an extended, rapidly modifiable dynamic range.Two's complement signing
The two's complement method of signing the samples is used, so that:- 01111111111111 represents positive full-scale
- 10000000000000 represents negative full-scale
±0 V has three binary representations
- 00000000000001 represents 0 V, with no +/- distinction. This may have originated as a method to reduce the emergence of DC patterns from transmission of silent material.
- 00000000000000 represents 0 V, with no +/- distinction
- 11111111111111 represents 0 V, with no +/- distinction
Parity checking limited to only 6 of 10 bits
Recording of NICAM audio
VCR
and Betamax home videocassette recorders initially only recorded the audio tracks by means of a fixed linear recording head, which was inadequate for recording NICAM audio; this significantly limited their sound quality. Many VCRs later included high quality stereo audio recording as an additional feature, in which the incoming high quality stereo audio source was frequency modulated and then recorded, in addition to the usual audio and video VCR tracks, using the same high-bandwidth helical scanning technique used for the video signal. Full-size VCRs already made full use of the tape, so the high quality audio signal was recorded diagonally under the video signal, using additional helical scan heads and depth multiplexing. The mono audio track was also recorded on the linear track, as before, to ensure backwards-compatibility of recordings made on Hi-Fi machines when played on non-Hi-Fi VCRs.Such devices were often described as "HiFi audio", "Audio FM" / "AFM" and sometimes informally as "Nicam" VCRs. They remained compatible with non-HiFi VCR players since the standard audio track was also recorded, and were at times used as an alternative to audio cassette tapes due to their superior frequency range and flat frequency response.