VIDEO OPTIMIZED MODULATOR-DEMODULATOR

Abstract: A video optimized, low-cost modulator-demodulator is provided. Each modulated state or symbol (amplitude, phase, frequency or a combination thereof) has a one-to-one correspondence with a particular pixel value of brightness. For a black and white picture, adjacent shades of gray for the pixels are assigned to adjacent amplitude, phase or frequency values (in ROM 38) so that any error in transmission results in a pixel having its shade changed only slightly. A multiple amplitude, two-phase modulation method is preferably used. The black and white values are assigned to the highest amplitude level at opposite phases. As the pixel value becomes less black or white and more gray, it is assigned lower and lower amplitude levels with its phase being determined by whether it is closer to black or to white.

Description: The present invention relates to a modulator-demodulator (modem) for video data. A modem is commonly used to transform digital computer data into an analog form suitable for transmission over a voice grade telephone network. A carrier signal within the bandwidth of the telephone network is modulated with the digital data by one of a variety of methods. Many inexpensive modems in use today use either phase-shift keyed (PSK) modulation or frequency-shift keyed (FSK) modulation. These modems can be implemented digitally because the computer data is contained in the zero crossings of the modulated carrier signal. Thus, digital circuitry which counts and quantifies the zero crossings can be used for the demodulator. More expensive modems which use other types of modulation schemes (such as multi-level quadrature amplitude modulation (QAM)) typically require complicated and expensive filters and other components. The basic unit of information transmitted by a modem is called a baud or a symbol. Each baud or symbol is a packet of information containing at least one binary bit. In higher bit rate modems, however, the number of bits contained in the baud or symbol is typically usually greater than one. For example, the Bell 212 modem transmits information at six hundred baud or symbols per second, but each baud or symbol contains enough information to represent two bits. Therefore, the data rate is twelve hundred bits per second. The usable voice grade telephone network bandwidth is approximately 3400 Hz. Because of the distances involved and the varying condition and age of the components, the telephone network has various undesirable characteristics which can cause data errors during use of the telephone network as a communication link. Group delay, which is the variation in transmission time depending upon the frequency of the signal transmitted, varies from approximately 1 to 3 milliseconds across the usable bandwidth of approximately 3400 Hz. There are also frequency shifts of up to approximately 10 Hz in both positive and negative directions and other impairments, such as phase and amplitude hits, burst noise and phase jitter. All but one of these degradations results in jitter in the recovered data (amplitude hits or dropouts do not have this effect). This resultant jitter leads to inaccuracies in the recovered data clock and subsequent errors in received data. Group delay leads to another effect called inter-symbol interference (ISI) by causing amplitude information to be spread across symbol intervals. This means that the amplitude value of adjacent symbols is distorted. For the higher data rate modems, simple PSK, FSK or QAM modulation systems are not sufficient, and multilevel schemes or vestigal side band or single side band techniques must be used. These systems become quite expensive, requiring precision narrow-band filters, sensitive phase detectors, analog multipliers and other components. In addition, as the amount of information increases, the decision threshold for symbol decoding decreases (e.g., less distance between amplitude levels). Thus, the effect of ISI becomes more and more important. Virtually all high-speed modems use some form of adaptive equalization to reduce the effects of group delay and hence ISI. However, adaptive equalization is expensive and complicated to implement. For video data, the most familiar modulation scheme is that used for television transmission. In standard television transmission, the TV picture is composed of an array of dots or pixels. For black and white television, the pixels range in values from black through intermediate shades of gray to white. In order to transmit the TV picture, a high-frequency (MHz range) carrier signal typically has its amplitude modulated in accordance with the brightness or darkness of the individual pixels. This amplitude level is decoded by a demodulator in the television set which controls the intensity of the voltage driving the electron gun that impacts upon the phosphor at each pixel position on the television tube. This analog modulation system requires a high-frequency bandwidth because of the abrupt changes in amplitude, especially in changes from black to white. These abrupt amplitude changes, when used to modulate the carrier, introduce high-frequency components into the signal, thus requiring a large bandwidth for transmission. For digital video or facsimile transmission, the brightness of each pixel is transformed into a digital value. Typically, 8-10 bits are used for video (i.e., 256 to 1024 values) and one bit is used for facsimile (black and white). One specific example would be where sixteen values are used representing a range of brightness from white through fourteen intermediate shades of gray to black. These sixteen values require a minimum of four bits to represent each value. The digital bit stream can then be supplied to a modem which is used for digital data. The hostile environment of the telephone network makes it difficult to use higher data rates for video data without experiencing severe degradation of picture quality due to errors. For instance, the intersymbol interference of the telephone network can have the effect of changing one bit of each four-bit word representing a pixel. This change of one bit value can result in a large change in the decoded value of the pixel, such as a change from black to white. Such an error would cause white dots to appear in an area of the picture which should be black, or vice-versa. The present invention is set out in the appended claims to which reference is now directed. It provides a low-cost, digital modulator-demodulator optimized for video data, wherein each modulated state or symbol (amplitude, phase, frequency or a combination thereof) has a one-to-one correspondence with a particular pixel value of brightness. Adjacent shades of gray for the pixels are assigned to adjacent amplitude, phase or frequency values. An error in any value is most likely to result in the value being interpreted as an adjacent value. Thus, any error in transmission results in a pixel having its shade changed only slightly. Because approximately 50% of adjacent pixels in the typical video image of a person's face, for instance, are identical and approximately 80% are within one gray shade of each other, the degradation from an error of one or two shades is minimal. Consequently, the modem in accordance with the invention is particularly advantageous for communication of a video image of a person's face over a telephone network. Preferably, the present invention uses a multiple amplitude, two-phase modulation method. This modulation technique can also be described as dual sideband, suppressed carrier amplitude modulation. The black and white values are assigned to the highest amplitude level at opposite phases. As the pixel value becomes less black or white and more gray, it is assigned lower and lower amplitude levels with its phase being determined by whether it is closer to black or to white. The intermediate shades of gray have the lowest amplitude levels. Thus, the pixel values which would produce the most noticeable errors if incorrect (the black and white values), are assigned the highest amplitude levels which are least likely to result in error. Because only two phases are used, a phase error is highly unlikely to result in a change from white to black. This encoding scheme is contrary to the standard practice of assigning the most prevalent data, i.e., the grays, to the most error-insensitive states. The use of only two phases along with the multiple amplitude levels allows the use of a reduced bandwidth for transmission. Since adjacent amplitude levels are typically of the same phase, there are fewer phase changes to result in added frequency components for the transmitted signal. In the modulator stage of the modem in accordance with the present invention, a digital pixel value arriving via a data bus from the image capture (camera) subsystem is supplied to a ROM (read-only-memory) along with a digital representation of the carrier signal from a counter. These signals combine to form an address for the ROM look-up table to select data which provides proper values to represent the desired level. The ROM output is a digital representation of the modulated carrier which is fed through a D/A (digital-to-analog) converter to produce an analog waveform,which is then filtered and transmitted. In the demodulator, a phase-lock loop is used to recover the carrier. The carrier is then combined with the received data in a chopper demodulator to extract the data in analog form. A second phase-lock loop is then used to recover the data clock. Finally, an A/D (analog-to-digital) converter is used to reconstruct the digital data which is supplied to the image display subsystem. The present invention allows an inexpensive digital modem to operate at a higher data rate than normally possible due to the tolerance to errors of the video image information provided by the novel encoding scheme of the present invention. Data rates of 7000 bits per second are possible, compared to the 1200 bits per second possible for the common commercially available high-speed digital modems. The present invention thus optimizes the performance of a modulator-demodulator for video data. The present invention could also be used with analog modems and data other than video image data could be transmitted. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a diagrammatic representation of the encoding scheme of the present invention. Figure 2A is a schematic representation of the modulating data of the present invention. Figure 2B is a schematic representation of the modulated carrier of the present invention. Figure 3A is a schematic representation of the fastest changing signal possible for the video data. Figure 3B is a schematic representation of the bandwidth of the data frequency components of the present invention. Figure 4 is a block diagram of a preferred embodiment of the modulator of the present invention. Figure 5 is a block diagram of a preferred embodiment of the demodulator of the present invention. Figure 6 is a block diagram of the phase-lock loop shown in Figure 5. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Figure 1 is a schematic representation of the modulation or encoding scheme of the present invention. Figure 1 shows a modulated carrier signal 10 extending for sixteen baud or symbol intervals 12 as modulated by sixteen different pixel values. The sixteen symbol intervals correspond to black, fourteen intermediate shades of gray, and white. The values progress from black to white along the X axis, with the Y axis showing the amplitude of the modulated carrier signal. Interval 14 shows a cycle of the carrier representing a black pixel having the highest amplitude at a first phase. An interval 16 shows a cycle of the carrier symbol representing a white pixel having amplitude equal to that of interval 14 at an opposite phase. The fourteen intermediate symbols represent the shades of gray between black and white. At the midpoint 18 of the spectrum from black to white, the phase of the signal 10 changes 180°. Each of the sixteen pixel values to be transmitted is converted to a four-bit digital value. The sixteen four-bit numbers are then converted to eight amplitude levels of opposite signs. The positive sign represents 0° phase change for black and the shades of gray closest to black. The negative sign represents 180° phase change for white and the shades of gray closest to white. Figure 2A shows an example of data for three pixels in a pictorial representation. A first pixel for an intermediate gray is represented by the value +2 in a pixel interval 22. A second pixel interval 14 has a positive amplitude of +8 corresponding to black, and a third pixel interval 24 has a negative amplitude of -4 corresponding to one of the lighter shades of gray. The location in the group of the pixel shades represented in intervals 22, 14 and 24 can be seen in Figure 1. By multiplying signal 20 by the carrier frequency, the corresponding modulated carrier frequency shown in Figure 2B is produced. It can be seen that the amplitude of the carrier signal is varied in accordance with the amplitude of the pixel value, and that the phase of the carrier signal is reversed on the positive-to-negative transition from interval 14 to interval 24. Because each phase change is 180°, it is less likely that an error will occur than in a system using a larger number of phase changes. Any error in amplitude simply results in a small variation of the shade of the pixel affected. For instance, if the amplitude level 1 at 0° phase is erroneously decoded as an amplitude level 2, the result is a pixel which is off by one shade of gray. By putting the black and white pixels at opposite phases, the likelihood of a white pixel being decoded as black, or vice-versa, is highly unlikely. Inter-symbol interference can cause some error in amplitude due to the multiple levels used, but is less likely to cause an error in phase because there is a wider margin for error in the phase since only two phases are used. For video images of a person's face, adjacent pixels are identical approximately 50% of the time and are within one shade approximately 80% of the time. Any degradation of picture quality is soft, and the human eye easily compensates for such soft errors. The encoding method described above also reduces the effective bandwidth required for transmission. The harmonic frequency content of a signal, which increases with the number of abrupt changes in the signal, determines the bandwidth required for transmission. In the typical video image, adjacent pixels typically vary only slightly in shade, as discussed above. Thus, referring to Figure 1, it can be seen that the change in the modulated carrier signal from pixel to pixel is typically only a change in amplitude, not a change in phase. Since few phase changes are present, the harmonic content of the signal is low. To implement the above modulation method, a carrier frequency and baud rate (symbols or intervals per second) must be selected. The maximum usable bandwidth of a telephone network is approximately 3400-3500 Hz. The theoretical maximum bit rate for this bandwidth can be determined using the Hartley-Shannon theorem of equation 1 below: in the channel Using B = 3500 Hz for the phone channel bandwidth and S/N = 15 dB for the signal-to-noise ratio yields C = 14,600 bits as the maximum theoretical bit rate. 15 dB is a level of noise which significantly degrades voice communication and thus is a reasonable maximum level to choose. Since the encoding method of the invention uses one pixel per baud or symbol and it takes 4 bits to represent each pixel, the maximum theoretical bit rate of 14,600 bits corresponds to a maximum theoretical baud rate of 14,600/4 = 3650 baud. In practice, analyzing the bandwidth rate independent of the bit rate, the maximum baud rate, or number of symbols per second, is equal to the bandwidth used for transmission for random data with a uniform distribution. This can be seen by referring to Figures 3A and 3B. The maximum base band frequency, or maximum frequency of the modulating data, occurs when the data assumes alternate black and white states causing the sign of the signal to change from one symbol to the next, resulting in a square wave as shown in Figure 3A. Interval 26 represents one baud or symbol. If the signal changes from the maximum negative amplitude to maximum positive amplitude in every interval, a periodic signal results having a period equal to two baud intervals. Thus, the maximum frequency is the inverse of the period (2 baud) which is one-half the baud rate. When this maximum base band frequency is applied to the carrier frequency, f C , the resultant modulated signal has first sidebands at the carrier frequency f c minus the base band frequency f B and at the carrier frequency f C plus the base band frequency f B , as shown in Figure 3B. The bandwidth necessary to include both of the sidebands is 2f B which equals 2(baud rate/2)=baud rate. Because most of the harmonic content (and thus most of the energy) of the modulated signal is in the first sidebands, the signal can be decoded without additional sidebands. Thus, a bandwidth which only includes the first sidebands is sufficient to recover the maximum base band frequency. Any other arbitrary combination of data produces a waveform which can be thought of as being periodic at a lower frequency than the maximum base band frequency. The first sidebands (fundamental harmonic) of such frequencies fall within the sidebands of the maximum base band frequency. Thus, a bandwidth equal to the baud rate is sufficient to transmit any arbitrary combination of data. The usable telephone network bandwidth is approximately 3400 Hz, but both the high and low-frequency portions of the phone channel suffer from severe group delay distortions. Thus, although a baud rate of approximately the usable bandwidth is possible, it is desirable to only use the center of the telephone channel and a baud rate of approximately one-half of the bandwidth. A carrier frequency of 1747.8 Hz can be obtained by using a standard color TV 3.579545 megahertz crystal oscillator and dividing by 2048, which is easily obtainable with digital circuitry because 2048 is a power of two number. This carrier frequency is approximately in the middle of the telephone channel. By using a baud rate equal to the carrier frequency, the carrier bandwidth occupies only the center half of the telephone channel, which is least susceptible to group delay. The bit rate achieved is 4 x 1747.8 = 6991.3 bits per second. Figure 4 shows a modulator 30 of the present invention. A four-bit digital representation of each pixel arrives via data bus 32 from an image-capture system (not shown). The pixel value is latched into a latch 34. A counter 36, which runs at sixteen times the carrier frequency, generates four output bits which are decoded into a sixteen-level approximation to the carrier sinewave. The four pixel bits from latch 34 and the four sinewave bits from counter 36 are decoded in ROM 38 to produce an eight-bit digital value which corresponds to the product of the pixel value and the sinewave value, giving a digital representation of the modulated carrier. This eight-bit digital representation is converted in a D/A converter 40 into an analog waveform. The analog waveform is passed through a low-pass filter 42 to remove undesirable high-frequency components. The output of filter 42 is sent to the transmitter (not shown) for transmission. Figure 5 shows a demodulator 44 of the present invention. The incoming signal from a duplexer (not shown) is limited (line limited signal) and applied to an input 46 and fed to a phase-lock loop 48. Phase-lock loop 48 is used to recover the carrier which is then input to a chopper demodulator 50 along with the original received signal from input 46. The output of chopper demodulator 50 is the recovered data in analog form. This data is passed through a low-pass filter 52 to remove unwanted high-frequency components. Filter 52 is preferably an eighth order Butterworth-Bessel transitional filter having a scaling factor of ½. A second phase-lock loop 54 is used to recover the data clock from the recovered data. The data clock and recovered analog data are then fed to an A/D converter 56 to reconstruct the eight-bit digital data at an output 58. The digital data from output 58 is then fed to a microprocessor (not shown) to be converted into the appropriate pixel value for reconstruction of the image. Phase-lock loop 48 is shown in more detail in Figure 6. The line limited input data 46 is passed through a frequency discriminator 60 comprised of two D flip-flops 62,64 and an exclusive OR gate 66. The output 68 of discriminator 60 is then used to generate a doubled frequency output 70 via a programmable counter 72. Discriminator output 68 is used as the clock for a D flip-flop 74. The eventually recovered carrier frequency, after doubling, is fed back as the input to flip-flop 74. The outputs of flip-flop 74, along with the doubled recovered carrier frequency and doubled frequency output 70, are used as inputs to two AND gates 76,78. A pulse proportional to the magnitude of the phase error of the doubled frequency is generated by the two AND gates 76,78. The outputs of AND gates 76,78 drive counters 80,82, respectively, which are used to quantify and scale the error. Since the error is scaled, it is also delayed in time. This is analogous to performing a discrete time integration. Therefore, each counter 80,82 also serves as a loop filter. The output of each counter 80,82 is then used to control a multiplexer 84 whose output has one of three values: high, low, or one cycle of half-high and half-low. This signal is used to control a last counter 86 which generates both the recovered carrier and twice the recovered carrier. This last counter 86 is essentially a voltage controlled crystal oscillator (VCXO). When the input error is zero, the output of multiplexer 84 is the half-high, half-low signal. This causes the output of counter 86 to be a nominal 1747.8 KHz square wave. However, frequency shift in the telephone network and frequency differences between systems will lead to shifts in the received carrier. When the error is negative, the output of multiplexer 84 is high and counter 86 will count one extra clock, thus momentarily increasing the frequency and advancing the phase. If the error is low, the control signal output of multiplexer 84 is low. This prevents counter 86 from counting for one clock and thus instantaneously decreases the frequency, hence retarding the phase. Using the recovered carrier, the received signal is passed through the balanced, chopper modulator 50 and low-pass filtered in filter 52 to recover the base band data as shown in Figure 5. This signal is then hard limited once more and passed through the other phase-lock loop 54 identical to phase-lock loop 48 except for the addition of a divider following the VCXO 86. The output of this divider, which is a square wave at the data clock rate, is then used to generate a pulse which strobes A/D converter 56, thus sampling the recovered data waveform and generating an interrupt to a microprocessor (not shown) telling it to read the new data value. The microprocessor then takes that value and converts it into the correct pixel value which is used to generate a part of the picture. As will be understood by those familiar with the art, the present invention may be embodied in other specific forms without departing from the spirit of essential characteristics thereof. For instance, a spectrum of color values could be used rather than black and white. Accordingly, the disclosure of the preferred embodiment of the invention is intended to be illustrative, but not limiting, of the invention, the scope of which is set forth in the following claims.

Claims: A method for modulating and demodulating a carrier signal with data representing discrete elements of a pictorial representation, comprising the steps of: assigning a separate modulating symbol to each of said discrete elements, said modulating symbols being a modification of at least two phases and one of a plurality of amplitude levels and frequency characteristics of said carrier signal; modulating said carrier signal with said modulating symbol; and demodulating said modulated carrier signal to recover said data representing said discrete elements wherein each said element is a pixel having a color of one of a spectrum of colors and further comprising the steps of: assigning the pixels having colors at the respective ends of said spectrum to said symbols with the highest amplitude levels, a first color at a first end of said spectrum being assigned to a first phase and a second color at a second end of said spectrum being assigned to a second phase; assigning decreasing adjacent amplitude levels at said first phase to colors extending from said first color to a third color proximate the middle of said spectrum; and assigning decreasing adjacent amplitude levels at said second phase to colors extending from said second color to a fourth color proximate the middle of said spectrum. The method of claim 1 wherein each said element is a pixel with a picture value of one of black, white and fourteen intermediate shades of gray and further comprising the steps of: assigning the black and white pixel to said symbols with the highest amplitude levels, with the black being assigned to a first phase and the white being assigned to a second phase; assigning decreasing adjacent amplitude levels at said first phase to seven shades of gray extending from black to the middle of a spectrum of said shades of gray; and assigning decreasing adjacent amplitude levels at said second phase to seven shades of gray extending from white to the middle of said spectrum of shades of gray. The method of claim 1 further comprising the steps of: sending said modulated carrier signal over a voice grade telephone channel; selecting a carrier signal frequency near the midpoint of the usable bandwidth of said voice grade telephone channel; and selecting a baud rate of approximately the same value as said carrier frequency. Apparatus for modulating and demodulating a carrier signal with data representing discrete elements of a pictorial representation, comprising: means for assigning a separate modulating symbol to each of said discrete elements, said modulating symbols being a modification of at least two phases and one of a plurality of amplitude levels and frequency of said carrier signal; means for modulating said carrier signal with said modulating symbol; and means for demodulating said modulated carrier signal to recover said data representing said discrete elements wherein each said element is a pixel having a color of one of a spectrum of colors and said apparatus further comprises means for assigning the pixels having colors at the respective ends of said spectrum to said symbols with the highest amplitude levels, a first color at a first end of said spectrum being assigned to a first phase and a second color at a second end of said spectrum being assigned to a second phase and for assigning decreasing adjacent amplitude levels at said first phase to colors extending from said first color to a third color proximate the middle of said spectrum and for assigning decreasing adjacent amplitude levels at said second phase to colors extending from said second color to a fourth color proximate the middle of said spectrum. The apparatus according to claim 4 wherein each said element is a pixel with a picture value of one of black, white and fourteen intermediate shades of gray and further comprising: means for assigning the black and white pixels to said symbols with the highest amplitude levels, with the black being assigned to a first phase and the white being assigned to a second phase; means for assigning decreasing adjacent amplitude levels at said first phase to seven shades of gray extending from black to the middle of a range of values of said shades of gray; and means for assigning decreasing adjacent amplitude levels at said second phase to seven shades of gray extending from white to the middle of said range of values of said shades of gray.

Inventors: MEYER, CHARLES S.
Applicants: MITSUBISHI ELECTRIC SALES AMERICA, INC.
Application year: 1986
Main classification: H04N5
IPC codes: H04N5, H04N7, H04L27