US3016528A - Nonlinear conversion between analog and digital signals by a piecewiselinear process - Google Patents

Nonlinear conversion between analog and digital signals by a piecewiselinear process Download PDF

Info

Publication number
US3016528A
US3016528A US813776A US81377659A US3016528A US 3016528 A US3016528 A US 3016528A US 813776 A US813776 A US 813776A US 81377659 A US81377659 A US 81377659A US 3016528 A US3016528 A US 3016528A
Authority
US
United States
Prior art keywords
current
code
terminal
state
resistor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
US813776A
Inventor
Claude P Villars
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AT&T Corp
Original Assignee
Bell Telephone Laboratories Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bell Telephone Laboratories Inc filed Critical Bell Telephone Laboratories Inc
Priority to US813776A priority Critical patent/US3016528A/en
Application granted granted Critical
Publication of US3016528A publication Critical patent/US3016528A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/50Analogue/digital converters with intermediate conversion to time interval
    • H03M1/58Non-linear conversion
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/06Continuously compensating for, or preventing, undesired influence of physical parameters
    • H03M1/0602Continuously compensating for, or preventing, undesired influence of physical parameters of deviations from the desired transfer characteristic
    • H03M1/0612Continuously compensating for, or preventing, undesired influence of physical parameters of deviations from the desired transfer characteristic over the full range of the converter, e.g. for correcting differential non-linearity

Definitions

  • This invention relates to digital transmission and, more specifically, to the nonlinear conversion of analog signals and digital signals, one to the other, by a piecewiselinear process.
  • PCM pulse code modulation
  • PAM pulse amplitude modulation
  • PCM Physical in nature and may therefore be regenerated by repeaters judiciously deployed a'ong the transmission path.
  • the regeneration process substantially eliminates the accumulation, in the course of transmission, of noise, crosstalk and other forms of signal degradation.
  • encoding i.e., conversion of the original analog information to a pulse code
  • PCM system Prior totransmission, encoding (i.e., conversion of the original analog information to a pulse code) is necessary in a PCM system; and if the digital information thus transmitted is to b e used in its original form, upon its reception decoding is necessary.
  • Quantizing distortion is especially objectionabe and very often intolerable, when the instantaneous value of the original information is small, but is usually of no significance when the instantaneous value is large. For more elfective transmission, it is therefore desirable to have more quantum levels available at low amplitudes of the signals in order to better dene these amplitudes, thus reducing the relative quantizing error.
  • Companding a verbal contraction of the terms compressing and expanding
  • a quantizedsignal transmission system may be advantageously used in a quantizedsignal transmission system to balance the undesirable effects of quantizing error.
  • DIGITAL SIGNALS BY A PIECEWISE- tion is the base two).
  • Companding therefore serves a special purpose in quantized transmission systems in that it reduces the magnitude of the quantizing error for low amplitude signals, where quantizing distortion wou'd be a serious matter, at the price of increased quantizing error for higher amplitude signals, where increased distortion can be tolerated.
  • the purpose ,of the PCM compander is to reduce the quantizing impairment of the original signal by, in effect, quantizing not on a uniform but on a nonuniform basis.
  • the ⁇ usual companding system incorporates as its main components a compressor at the transmitter and an expander at the receiver. These components are normally separate units, the compressor being connected externally in tandem with the coder and the expander being connected externally in tandem with the decoder. See, for example,.The, Bell, Sysem Technicalv Journal, January 1948, volume 27, page 1, in which L. A. Meacham and E. Peterson describe such a system.
  • nonlinear conver-A sion between analog and digital signals isv accomplished by a piecewise-linear process.
  • the invention as embodied in the encoder.
  • the input samples and output code of the encoder are lconstrained to be so related over subranges determined by the transition of predetermined digits in a permutation code of base b (the base used to illustrate the inven-
  • the digit transitions define breakpoints in a piecewiselinear compression characteristic.
  • Each segment of the characteristic defines a linear relation between a specified range of analog signal magnitude and a corresponding range of digital code.
  • the linear relation or scale factor defined by each segment in a particular quadrant is peculiar to that segment.
  • the scale factor of a segment is here defined as the slope of the segment and is to be distinguished from the compression ratio of a continuously nonlinear characteristic.
  • the compression ratio may be deiined as the ratio of the slope of the continuously nonlinear characteristic at the origin of the plot to the slope of the corresponding linear characteristic passing through the origin.
  • FIG. 1 is a block schematic diagram depicting a piecewise-linear encoder which embodies the invention
  • FIG. 2 is a plot of waveforms illustrating the operation of the embodiment of FIG. 1;
  • FIG. 3 is a so-called encoding ow diagram, also illustrating the operation of the embodimentfof FIG. 1;
  • FIG. 4 shows the piecewise-linear encoding characteristic of the embodiment of FIG. l
  • FIG. 5 illustrates a representative piecewiseelinear encoding characteristic having Vmore than one breakpoint in order to more closely approximate a given nonlinear function
  • FIG. 6 is a partial schematic circuit which shows the manner in which the piecewise linearity of the characteristic of FIG. 5 may be achieved.
  • PIG. 6A is a partial schematic circuit showing the various possible combinations and associated currents of the shunting resistors R27 and R2 of FIG. 6.
  • FIG. 1 has been considerably simplified in that it converts analog information on a piecewise-linear basis to only a four-digit code, and has an encoding characteristic (see FIG. 4) having simply one breakpoint or two linear segments per quadrant.
  • the code may consist of any number of desired digits, the number being limited only by other considerations. The number of breakpoints which is used is determined not by any limitations of the invention, but rather by the degree with which a specified nonlinear characteristic is desired to be approximated.
  • FIG. l In the description of the illustrative embodiment of FIG. l, reference will be made at appropriate times to FIGS. 2, 3 and 4 as aids in understanding the process occurring in the circuit of FIG. l.
  • FIG. 1 a message current is, plotted in FIG. 2(1),
  • the summing circuit 24 combines the message current is with a reference current i666, supplied by way of inp'ut lead 26.
  • the manner in which the reference current-im is generated will be thoroughly explor'ed. Itlshould be noted now, however, that im is desired to be of opposite signin respect to the polarity 6 of the message current is withwhich it is to be combined.
  • the summing circuit'24 takes' the 4 sum of the input message current is, supplied by way of the input terminal 22, and the reference current im,
  • Decision circuit 30 is a Schmitt bistable or ipaflop circuit having unity loop gain, and is here denoted as FP6.
  • the stimuli which affect the state of FP6 are tabulated in table 72 of FIG. l.V
  • the state of FP6, it will be noted, is determined by the polarity of its input terminal s. This will be discussed at length in the description which follows.
  • G. L. Swaflields article The Schmitt Multivibrator, which appears at page 344 of the July 1958 issue of WirelessY World.
  • Hip-flops PF1 to FP6 are shown in identical iiip-op convention, it should be understood thatPF6 is different in its purpose and function, and consequently in structure, from all the other Hip-flop circuits of FIG. l, namely, iiip-ops PF1 to FP5.
  • Each of the latter flipflops is of the conventional Eccles-Jordan type.
  • As to each of thelatter when either of ,its input terminals s and r is impulsed, it will remain in the state determined by the impulse until such time as the other terminal is impulsed. In other words, as to llip-ops PF1 to FF6, a constantly present stimulus is not required to maintain either of the two possible states of equilibrium.
  • Each of the output terminals -x and x' may be in either of two states, a 0 or 1, depending on the state of the other output terminal.
  • the binary terms l and 0 are used respectively to indicate the presence or absence of a stimulus or impulse.
  • any of the x output terminals is in ⁇ the O state, its associated x' output terminal is in the 1 state.
  • the terminals s and r represent input terminals to whichv stimuli are supplied and the terminals x and x represent the output terminals from which stimuli are derived.
  • the input terminal s may be thought of as the set terminal; and the terminal r may be though of as the reset terminal, in Vthat the latter terminal returns the iiip-op circuit to its rest state.
  • Each of the flip-op circuits PF1 to PF4z is a switchenabling element, as is FF5.
  • Plip-flops FP1 to PF4 are used to control switches S1 to S4, respectively.
  • the output terminals x and x of each of these flip-flops, excepting FP2, are respectively in the 0 and 1 states when the ip-fiops are at rest, i.e., at the commencement of any frame or code group (see FIG. 2).
  • FIG. l depicts the AND and OR gates in conventional fashion.
  • the AND gates are each represented by a closed arc, the ofutput lead of the gate extending from the midpoint of the arc and the input leads being connected to the chord of the arc. See, for example, AND gate 50.
  • the OR gates are also represented by a closed arc but are distinguishable from lthe AND gates in that the input leads extend through the ch-ord of the arc to the are. See, for example, OR gate 52.
  • a gate is an OR ⁇ gate when its input leads are shown to extend through the chord of the are to the arc and is an AND gate when its input leads extend only to the chord of the arc.
  • enablement of an AND gate requires universal concurrence of stimuli at its input leads.
  • enablement of AND gate S0 requires the concurrence of stimuli or ls, from x(FP6) and x(FP5).
  • Enablement of an OR gate may be accomplished by supplying a stimulus to any of its input leads.
  • OR gate 52 will be enabled when either of AND gates 50 and 70 is enabled.
  • Timing circuit 40 supplies impulses to various points in the circuit of FIG. l.
  • the impulses are supplied periodically. ln FIG. 2(6), for example, it can be seen that the output terminal D2 of timing wave source i0 supplies an impulse in the second time slot of each frame.
  • Timing circuit 40 may be any of the many suitable timing signal generators so well known in the art. It may, for example, be of the type disclosed at page 52 in volume 32 of Electronics (March 6, 1959), a McGraw-Hill publication.
  • FIG. 4 fully shows that portion of the encoding characteristic of the embodiment of FIG. 1 that lies in the first quadrant.
  • Thecharacteristic in accordance with the invention, is piecewise-linear and is shown in its simplest form, in that it has but one breakpoint 86. Note that the characteristic approximates the continuously nonlinear characteristic 88.
  • Each linear segment of the piecewise-linear characteristic has its own peculiar scale factor.
  • the scale factor of a segment is the slope of the segment.
  • the scale factor of segment 90 may be determined as follows. At the breakpoint 86 the quantum level represented by the code 1100 is +4 and the coordinate analog signal magnitude is +2. Thus, the scale factor of segment 90 is 2.0. By the same reasoning, the scale factor of segment 92 is equal to 4/s.
  • segment 90 defines a subrange of the peak-to-peak encodable analog signal excursion.
  • segment 90 encompasses analog signal magnitudes lying between 0 and -l-2. ⁇
  • the breakpoint 86 need not occur where shown. The locus of the point is determined by the value of the current X, which is arbitrarily chosen for any desired approximation. Moreover, the breakpoint 86 need not occur at the transition from 0 to l of the second most significant digit-the order of significance being from left to right-but may be chosen to occur at the transition 0f the third or even the fourth most significant digit. Therefore, before passing on to a further consideration of the invention, the reader should understand that the illustrative embodiment of PIG. 1 and its encoding characteristic, as shown in FIG. 4, are intended as very simple illustrations of the invention.
  • the arrangement of the resistors in PIG. 1 is applicable only to a 4digit code in which the first digit determines the polarity of the signal and the next most significant digitrdeterrnines the breakpoint of the coding characteristic in either the rst or third quadrant.
  • the Value of the resistor RX is arbitrarily chosen to determine the location of the breakpoint 86.
  • the current flowing through RX has been denoted simply as X, since it is an independent and arbitrarily chosen quantity. Note that if the piecewise-linear characteristic breaks at more than one point in each quadrant, there will be correspondingly more resistors of the ktype exemplified by RX and that these additional resistors will define the loci of the additional breakpoints. Thus, if more breakpoints were desired, We could have the independent and arbitrarily chosen quantities X1, X2, X3, and so forth (see FIG. 5).
  • resistors R1 and R2 will give the desired change of scale factor when the breakpoint 86 is reached. It can be seen in PIG. 4 that when the logic elements of FIG. l have determined that the message current is lies within one of the subranges encompassed by the linear segments 90 and 92, that an appropriate scale factor must be used. A change of scale factor in the simple illustrative embodiment of PIG. 1 is ultimately accomplished by resistor R2.
  • switch S2 is switched to ground and the reference current lead 26 is connected to either of the reference potential sources 48 and 49, the encoder has determined that the message current is lies within the subi-ange encompassed by segment 90.
  • lt can be seen in FiG. l that when the encoder is in its rest position, as shown, that the reference current lead 2o is connected to neither of the reference potential sources 43 and 49.
  • summing circuit 24 This summing point may be considered as essentially at ground.
  • resistor R1 were not positioned serially, as shown, then the effectiveness of ⁇ R2 as a shunt path to reduce the amount of reference current fed to summing circuit 24 would be greatly reduced, since the currents i3, 1'35, i4 and i4* would then prefer the above-mentioned summing point, virtually excluding the path presented by R2. -In otherwords without R1, reference currents fed from R3 and R4 would avoid R2 in favor of the much lower impedance represented vby summing circuit 24.
  • resistor RX is chosen to approximate a desired nonlinear characteristic.
  • the current X flowing through resistor RX, establishes the breakpoint 86 of the piecewisedinear characteristic.
  • the other.resistors are R3 and R2. Refer to FIG. l.
  • the value of R3 is chosen so that the current i3, as it is fed into the surn ming circuit input lead 26, has the following value:
  • R2 The value of R2 is not arbitrarily chosen.
  • the scaledv down counterparts i3* and i4* of the .currents i3 and i2 are supplied to summing circuit 24 only when the resistor ⁇ R2 is connected to ground. When R2 is so connected, it shunts to ground a predetermined amount of any current which is being supplied by way of R3 or R4.
  • the shunting resistor R2 is therefore chosen so that the scaled-down, star (ci) values i3?e and if of the binary-related currents i3 and i4 divide the current axis of the first segment from the origin-the segment 9th-in binary fashion, just as i3 and i., binarily divide the current axis of segment 92.
  • R2 is thus chosen so that it vpreserves the binary ratio between i3 and i4 on a scaled-down basis to conform to the subrange defined by segment 90. Stated mathematically, the value of R2 is chosen so'that:
  • Thecu'rre'nt axis of segment90 is thus broken up in'binary fashion bythe various possible combinations of thev star Yes (*) currents i3* and igt'.
  • An example of the generation of one of these various possible ⁇ combinations will be given. If at a particular time the message current is is ⁇ such that it is necessary to generate the star currents i3* and 1'41, the switch S2 will connect the'shunting re sistor R2 to ground, and resistors R3 and R4 will be co n nected to the reference current bus 56 by switches 83j and S4, respectively.
  • the resistors RX and R2 are connected to ground during' the first and fifth time slots of any code group (see FIG. 2) and are connected to ground at other times only when s the generation of star current is necessary. It should l be noted that when any-of the star currents, isneeded .i
  • terminal x(FF1) in turn resets the terminal x(FF2). It is not necessary, however, that a fifth time slot be used. For example, it is not uncommon to provide a so-called guard space between each time slot. When such a space is provided, the interval between the last time slot of a time frame and the tirst time slot of the immediately following frame may be used to serve the purpose of applicants iifth time slot.
  • timing circuit 40 Each of the output terminals of timing circuit 40 is connected to various points in the encoder to provide impulses in synchronism with the occurrence of a particular time slot.
  • the output terminal D1 of timing circuit 4t will provide an impulse to AND gate 54 upon each occurrence of time slot l.
  • the other aid indescribing the operation of the encoder of FIG. 1, namely the encoding yflow diagram of FIG. 3, consists of two parts.
  • the left-hand portion ofthe diagram is :a tabulation of a binary code representing the units of amplitude of the message current is.
  • each element of the code may be either a l or 0.
  • the elements are written from left to right in descending order of significance, i. e., the most significant digit is furthermost to the left. It indicates the polarity of the message current is. When the message current is is positive, the polarity digit will always be a 1 and when this current isnegative the polarity digit will always be a 0.
  • the code which will be used to represent this amplitude will be 1101. Since the code group 1101 has a code value of 5, the compression of the dynamic range of the message current s is apparent.
  • the code group used to represent this amplitude is the prime of the code group used to represent +4.5 units.
  • 4.5 units is represented by the code group 0010.
  • each element of the group is changed to its binary opposite.
  • This can be seen from a comparison of the code groups representing +45 units and -4.5 units.
  • the functions of the l and the 0 in a code are thus reversed in a corresponding prime code.
  • 1101 has a code value of +(22+0+20) or +5 code units
  • the code group 00110, the prime of 1101 has a code value of -(22+0+2) or -5 code units.
  • a prime method of differentiating between positive and negative code Values is used in FIG. 3. This method should be distinguished from the often-used reflected method of differentiation in which the tabulation for negative values is, with the exception of the iirst digit, an image, as it were, of the tabulation for positive values.
  • the right-hand portion of the encoding ow diagram of FIG. 3 illustrates the process by which the amplitude ofthe message current is at any instant of time is approximated by a summation of the components of reference current im. That negative values of the reference current im and negative values of the code lie across from each other, as do the respective positive values, should not be construed to mean that if the message current s is negative that negative values of the reference current tref shall be employed. On the contrary, when the rnessage current is is positive, it is desired that the reference current im be negative in the trial and error process by which the amplitude of the message current is is approximated by the digital code. Now that FIGS. 2 and 3 have been explained, the operation of the illustrative embodiment of FIG. 1 may be approached with greater understanding.
  • delay circuit 59 which has a delay period substantially equal to one time slot, depending upon the cumulative delay experienced in other elements of the circuit, will postpone the inhibitive eifect of lbus .58 until time slot 2 of frame two. Since x(FF1) is in the 0 state, the switch S1 is connected to its ground terminal as shown. No current tiows from the reference current bus S6 through RX and thence into the summing circuit 24. The current X is therefore zero.
  • the output terminal x(FF2) is in the l state and the switch S2 is enabled, connecting shunting resistor R2 to ground.
  • the input lead 97 of AND gate 32 is impulsed by an impulse which was supplied to delay circuit 82 by the terminal D1 of timing circuit 4d during the first timeslot.
  • the vdelay'provide'dby delay circuit 32 in eilect'presets Vpolarity flip-ilop FF5 which, in'turn, insures that im will be of proper polarity at the commencement of ⁇ time slot 2. Since the output terminal x(FF6) was also in the l state at the time input lead 9'7 of AND gate 32 was impulsed, the input terminal .(FF5) was impulsed 'at that time. tlop FF5. When s(FF5) is impulsed, the output terminals x(FF5) and x'(FF5) are respectively in the 1 and 0 states and the switch S5 is switched to the negative source of reference potential 49.
  • terminal 1(FF3) is in the "0 state since the juncture 105 is disabled.
  • the output terminal x(FF3) therefore remains in its rest state, i.e., the 0 state, switch S3 remains disabled, and resistor R3 remains connected to ground. Neither of the currents i3 and i3* is therefore supplied by way of R3. Since juncture is presently disabled, the state of flip-flop FF., remains unchanged and the output terminal x(FF4) is still in the 0 State.
  • Switch S4 remains connected to its ground terminal and neither of the currents i4 and i4* is supplied by way of resistor R4.
  • the current im as previously mentioned, is therefore equal to -
  • the accumulated code at the end of Vtime slot 2 is therefore 1l.
  • the input terminal s(PP3) is impulsed at the beginning of time slot 3 by the output termnal D3 of timing wave source 40, so that the output terminal x(PF3) now assumes the 1 state and enables the switch S3.
  • Enablement of switch S3 connects resistor R3 to the reference current terminal 66 and thence, by way of reference current bus S6 and polarity switch S5, to the negative potential source 49. Since resistor R2 is connected to the open circuit terminal 44 of switch S2, no current supplied by Way of resistor R3 is shunted through resistor R2 and, consequently, the current i3 (equal to negative 2.5 units) is added to the current X (equal to negative 2.0 units). The summation of these currents yields a value of ref equal to negative 4.5 units.
  • the state of flip-flop PF4 is unaltered during time slot 3 and, hence, as was true during time slot 2, no current is supplied by way of resistor R4.
  • the negative 4.5 units of current represented by iref are added to the 7.0 units of current represented by the message current is to yield a value of im equal to 2.5 units.
  • the consequent concurrent of impulses from the output terminal x(PP6) and the terminal D3 ot' timing wave source 40 enables AND gate 54 and a binary digit 1 is supplied to the output terminal 74.
  • the accumulated code at the end of time slot 3 is therefore 111.
  • nip-flop PF4 A change of state occurs in nip-flop PF4 by virtue of an impulse supplied to its input terminal s from the terminal D4 of timing wave source 40.
  • the output terminal x(PP4) then assumes the 1 state, switch S4 is switched to its reference current terminal 95, and current ows through resistor R4 by Way of the reference current bus 56 and the negative-potential source 49.
  • the current i4 equal to negative 1.25 units (see PIG. 3), is consequently supplied to the reference current lead 26 and added to the preexisting currents X and i3 to yield a value of im equal to negative 5.75 units.
  • the negative 5.75 units of im are combined with the 7.0 units of is in summing circuit 24 to yield a value of im equal to 1.25 units.
  • the AND gate 54 is thus enabled by a concurrence oi' impulses from the output terminal x(PP6) and the terminal D4 of timing wave source 40, and a binary digit l ld completes the coding process for the hypothetical eX- ample of +7'.0 units of message current is.
  • each of the named lip-ilops changes state so that its x output terminal is the 0 state and its associated switch returns to its ground position.
  • an impulse is supplied to terminal r(FP2) by way of terminal x'(FP1).
  • the output terminal x(PP2) thereby assumes the l state, switch S2 is enabled and resistor Rz is connected to ground.
  • the polarity fiip-op PP5 undergoes a change of state by virtue of an impulse supplied to its r input terminal from the terminal D5 ofvtiming wave source 40.
  • the states of the x and x' output terminals of each of the flip-flops PF1 and PP3 to FP6 are therefore respectively "0 and "1 immediately preceding the commencement of the next following frame.
  • the states of terminals x(PP2) and x(PP2), on the other hand, are respectively "1 and "0 at this time.
  • inhibit bus 58 is consequently disa e Since the state of output terminal x(FF5) is at rest, i.e., is a 1, the switch S5 is also at rest and, consequently, is switched to the positive reference potential source 48. That the positive source 48 is connected to the reference current bus 56 at this time is of no consequence because all of the switches S1, S3 and S4 are disconnected from their reference current terminals. So, too, it is of no consequence, as was previously mentioned, that at this time resistor R2 is shunted to ground, since no reference current is thereby diverted.
  • AND gate 54 is disabled since terminal x(FF6) is in the 0" state and, consequently, there is not a concurrence of impulses from the terminal x(PF,-) and the terminal D1 of timing wave source 4i).
  • the binary digit 0 therefore appears at the output terminal 74 and constitutes lthe iirst element of the code group to be generated. Since the digit "0 is the most signicant digit of this code group, it indicates that the message current is is negative in polarity.
  • the delay circuit 82 supplies an impulse to AND gate 32; but this is of no avail since the output terminal x(FF6 ⁇ ) is in the "0 state at this time. Consequently, AND gate 32 is not enabled and the polarity' flip-flop Eidg remains in its rest state.
  • This sequence of events determines tliatthe reference current needed in the trial and error approximation of the message current is must be of positive polarity. In response to this determination, the switch S remains in its rest state.
  • the refer-V ence current bus 56 is, accordingly, appropriately connected to the positive reference potential source 48.
  • the input terminal s(FF1) is impulsed at this time by the terminal D2 of timing wave source 40.
  • the output terminals x(FF1) andvx'(FF1) are changedfro'm their rest states 'and are now respectively in the "1 and 0* states.
  • the switch yS1 is therefore enabled and is switched to its "reference current terminal 42.
  • the current X (of value +2 units) then-flows through resistor RX, When x(FF1)vwas switched from the 0 state to the l state, the input terminal r(IFF2) was impulsed.
  • the youtput terminal x(FF2) was thereby changed from the l to the 0 state and switch S2 was disabled, in turn causing shunting resistor R2 to be connected to the open circuit terminal 44. Since the reference vcurrent tref, consisting solely now ofV the current X, has a value of +2 units, when it is combined with the message current is, the resultant current im will have a value of +0.5 unit.
  • the input terminal s(FF6) will therefore be at a positvepotential so that the outputtermiuals x(FF6) and x(FF6) will change state, assuming the "1 and O states re-A spectively.
  • codes representing negative values of the message current s are here primes of codes representing corresponding positive values of the current is.
  • the present accumulated code 0l. means that the encoder has up to now determined that the message current is is (l) negative, and (2) is less in absolute magnitude than 4.0 code units, or, considering the scale factor of two and expressing the code units in analog units, is less in absolute magnitude than 2.0 analog units.
  • the switch S1 is immediately disabled so that the flow of Y current X may be discontinued. This is necessary because, as has been seen, it was determined that the absolute magnitude of the current X (2.0 units) was great- Yer than the absolute magnitude of the message current S (1.5 units), which discrepancy causes the current im to become positive by 0.5 unit. Y
  • the switch S1 is disabled as follows: At the commencement of time slot 3 there is a concurrence of impulses at the inputs of AND gate 62 from the terminal 'D3 of timing wave source 40 and from the inhibit bus l5.1. Notice that the present inhibitive state of bus 61 is due to the postponement of the inhibitive'state-of bus .58 byY delay circuit 59.r It will be recalled that the output terminal VMFH) was changed to the "1 state when the current im became positive during time slot 2. The impulse thus supplied by the terminal XCFFG) in concert d with the impulse supplied by the output terminal #(75125) v.enz'tbled the AND gate 5.0, 4the 4OR gate 52, andiinally 16 the inhibit bus 5S.
  • Delay circuit 59 thereupon proceeded to delay the inhibitive eiect of bus 5S.
  • AND gate 62 is enabled as is OR gate 64 and, iinally, the input terminal r(FF1) is impulsed causing flip-ildp PF1 to change state.
  • This change of state causes the output terminal x(FFl) to revert to its "0 state, thereby disabling the switch S1, Y
  • the impulsing of the input terminal r(FF1) also causes the output terminal x(FF1) to assume the "l state, thereby changing the state of ip-op FF2 by way of its input terminal s.
  • the result is that the output terminal x(FF2) is now in the l state, the switch S2 is Yenabled and theshuriting resistor R2 is connected to ground.
  • the switch S3 Ito be switched to its reference current terminal 66.
  • Reference current from the source du new ' finds a pathhbywa'y of reference current bus 56 through the resistor R3. l
  • Some of this current, as'was previously mentioned, will be Ydiverted to ground by way of shunting resistor R2. What remains of this current will be the current i3* (having, here, a value of 1.0 unit) and this remainderfwill constitute the reference current im.
  • the reference current im therefore now consists of the components i3* and if and has a value of +1.5 units of analog current amplitude. When this value of reference current im is combined with the negative 1.5 units of the message current is, the resultant current im is zero.
  • the fifth time slot is used to clear out the encoder.
  • the clearing out process involves the resetting of fiip-fiops FF1 to FF5 and ensures that at the commencement of the first time slot of the next succeeding frame or code group, the output terminals x and x of these flip-fiopscircuits will be respectively in the 0 and 1 states.
  • This resetting of the flip-flop circuits in turn ensures that the switch S5 is connected to the positive source of reference potential 48 (as shown) and that the switches S1 to S4 connect their associated resistors to ground (as shown).
  • FIGURES 5, 6, and 6A FiG. 5 has been included merely to show one of the many types of piecewise-linear encoding characteristics which may be obtained in accordance with the invention.
  • the encoding -characteristic of FIG. 5 has three breakpoints determined by the arbitrarily chosen currents X1, X2 and X3. These breakpoints, which have been chosen for illustration, approximate the straightforward nonlinear characteristic ll06. It will be noted in FIG. 5 that a mere 4-digit code is used and therefore that each segment of the characteristic is divided into only two equal portions. It will be recalled that in FIG. 4, where a single breakpoint was used in conjunction with a 4-digit code, that each segment of the characteristic was broken up into four equal portions.
  • the first breakpoint 108 of FIG. 5 need not necessarily occur at the transition of the third most significant digit of the code. It can be chosen to occur at any desired transition. It could, for example, be chosen to occur at the transition of the second most significant digit of the code, i.e., at the point where the second most significant digit of the code undergoes a transition from 0 to l.
  • FIG. 6 has been included merely to show one possible way of achieving the piecewise-linear characteristic of FIG. 5.
  • resistors RXI, RX2, and RX3 are chosen to supply the currents X1, X2 and X3, respectively, to the reference current lead 26.
  • These resistors may be switched to the reference current bus 56 by their respective switches SX1, SX2 and SX3 in any number of ways. Note that the switch-enabling logic and Hip-flop circuits, fully shown in FIG. I, are not shown in FIG. 6. These circuits may be arranged in accordance with the teachings inherent in the illustrative embodiment of FlG. l.
  • each breakpoint is shown to be determined by a single current rather than a combination of currents.
  • the breakpoint 110 is determined, not by a summation of the currents X1, X2 and what would be (X3-X2), but rather by a single current X3.
  • This method of approximating the breakpoints is perhaps more accurate than would be the method using the combination of currents mentioned above, in view of the possibility of cumulative error inherent in the latter method.
  • the current X3 would be supplied to the reference current lead 26 to the exclusion of currents X1 and X2. in FIG. 6 this would necessitate the connection of resistors RXI and RX2 to ground by their respective switches SX1 and SX2, and the connection of resistor RX3 to the reference current bus 56 by its associated switch SX3.
  • the serial resistor R1 of FIG. 6 serves the same purpose as does resistor R1 of FIG. '1. Also, the function of the shunting resistors R2 and R2" is similar to that of shunting resistor R2 of FIG. l.
  • resistor R3 is connected to the reference current bus 56 by switch S3 so that reference current is fed to juncture 100.
  • the resistor R2 is connected to ground by the switch S2 and the resistor R2 is connected to the open circuit terminal of switch SZ, the current if* will be supplied to the reference current lead 26.
  • the resistor R2 is connected to the ground terminal of switch S2 and the resistor R2 is connected to the open circuit terminal of switch S2, the current i3dt will be supplied to reference current lead 26.
  • the invention has been illustrated by apparatus for converting analog information to a binary code.
  • the invention may be extended ijn -a straightforward manner to apparatus for translating to or from a permutation code of any base b.
  • the binarily related resistors of the reference current circuit 99 of FIG. 1 could be reproportioned so that the various sums of any number of them taken in succession from a reference value are proportional to the successive integral powers of 3.
  • a system in accordance with claim l in which a preassigned element of said code indicates, in each of said pulse groups, the polarity of the amplitude sample associated with the particular pulse group, means to determine the polarity of each of said amplitude samples and to generate corresponding polarity-indicating code elements at said one points of the system, and means tov determine the polarity of said elements and to establish the polarity of said reconstituted amplitude samples at said other point of the system.
  • said means to linearly transform said amplitude samples to said permutation code between said predetermined.transitions inthe permutation of said code comprises means to generate reference signals; and means to compare additively said reference signals with said amplitude samples.
  • said means to lchange the relationship between said ampli- Vtude samples and said permutation code comprises means to effect a corresponding change in the magnitude of Vsaid reference signals.
  • a system in accordancefwith claim 5 in which the most ⁇ significant digit of said binary code is, in each pulse Ycode group, the polaritydndicatingdigit, and means to generate said most significant digitin response to the polarity of the analog signals initiated at said one point of the system.
  • a system atone pointof which amplitude samples of pulses arranged in accordance with the binary code and at another point of ⁇ which said groups of pulses are non-linearly transformed to reconstitute their original analog form: means to linearlytransform said amplitude samples to said binary code at said one point of the system and said binary code to said reconstituted samples at said other point of the system between predeter mined transitions in the ⁇ permutation of said binary code, comprising a timing wave source having a plurality ofroutput terminals related in number tothe number of digits in said binary code, a reference current network to generate reference current of appropriate magnitude and polarity in response to each of said amplitude samples, a summing network to sum algebraically said reference currents and their associated amplitude samples, means to supply said amplitude samples and said reference currents to said summing network; decision circuit means responsive -to the algebraic sum of each of said associated amplitude samples and reference currents to control the generation of said reference currents, means
  • saidy reference network comprises: a pluralityof two-position ⁇ .common juncture; a plurality of scale-factor-changing, twoposition switches each having an output and a pair'of inputs corresponding to said two positions, one of said inputs of each of said scale-factor-changing switches being connected to said point of referencepotential and the other of said inputs being connected to an open circuit terminal, a plurality of shunting resistors correspondingVv in number to said plurality of seale-factor-changing switches, one end of each of said shunting'resistors being connected to the output of said last-named switches and the other end of eachof said shunting resistors being connected to said common juncture; a plurality of switches associated with a corresponding numberof'resistorsto determine the'loci ofbreakpoints in the coding character- 21 istie defined by the relationship between said binary code and said amplitude samples, said breakpoints occurring at said predetermined transitions
  • An encoder to transform amplitude samples of current to binary code nonlinearly on a piecewise-linear basis comprising means to establish a relation between said code and said current samples defining a piecewise-linear characteristic consisting of a plurality of segments and at least one breakpoint per quadrant; means to generate current defining and extending to each breakpoint of said characteristic; means to encode said amplitude samples linearly within each segmental range of the current axis of said piecewise-linear characteristic; and means to change said relation between said amplitude samples and said code only as the operation of the encoder proceeds from one segmental range to another, so that said code and said amplitude samples vary in a unique direct proportion to each other within each segmental range.
  • An encoder to transform ampiitude samples of current supplied thereto to binary code nonlinearly on a piecewise-linear basis comprising means to establish a relation between said supplied amplitude samples and said code defining a piecewise-linear characteristic having at least one breakpoint per quadrant, said characteristic having a plurality of segments per quadrant greater in number by lone than the number of breakpoints per quadrant, each of said segments encompassing a predetermined portion of the current axis of said piecewise-linear characteristic, means to generate currents defining and extending to each breakpoint of said characteristic, means to generate additional current to divide the respective portion of the current axis encompassed by each of said segments binarily in accordance with the number of elements in said code, means to change said relation between said amplitude samples and said code only as the operation of said encoder proceeds from one segment to another, means to compare successively with each of said amplitude samples said breakpoint-determining current and said additional currents, means responsive to each of said successive comparisons to determine which of said breakpoint-determin
  • An encoder to transform to binary code, non-linearly on a piecewise-linear basis, amplitude samples of current supplied to the encoder and ranging in absolute magnitude from zero to imax comprising means to establish a relation between said samples and said code defining a symmetrical piecewise-linear characteristic having one breakpoint and two segments per quadrant, each of said segments being defined by the breakpoint occurring within its quadrant and each encompassing a predetermined portion of the current axis of said piecewise-linear characteristic, means to generate a current to determine said breakpoint in each quadrant and having an absolute value of X, the first segment extending from the origin of each quadrant to its associated breakpoint thereby encompassing X units of said current axis, and the second segment extending from said breakpoint thereby encompassing maX*X units of said current axis, means to change the relation between said amplitude samples of said code only as the operationl of said encoder proceeds from one segment to another, and means to encode each of said amplitude samples linearly within the compass
  • An encoder to transform amplitude samples of current to binary code nonlinearly on a piecewise-linear basis comprising means to establish a relation between said code and said samples of current defining a piecewiselinear characteristic consisting of a plurality of segments and a plurality of breakpoints, less in number by one than said plurality of segments and determining the eX- tent of each of said segments, means to generate a plurality of breakpoint-determining currents, means to encode said amplitude samples linearly within each segmental range of the currentaxis of said piecewise-linear characteristic, and means to lchange said relation between said amplitude samples and said code only as the operation of said encoder proceeds from one segmental range to another, so that said code and said amplitude samples vary in a unique direct proportion to each other within each segmental range.
  • a coding circuit for nonlinearly converting an amplitude sample of a current wave of prescribed amplitude range into binary code on a. piecewise-linear basis which comprises means to generate a sequence of periodically recurrent timing pulses; means responsive to the first pulse of said sequence and to the polarity of said sample to generate the most significant digit of said code; means responsive to the second pulse of said sequence and to said most significant digit to develop a first reference current of predetermined magnitude and of polarity opposite to that of said sample; means to sum algebraically in a first summation said sample and said first reference current and also, at the time of each pulse remaining in said sequence, said sample and all reference currents extant at each of said times; means responsive to the polarity of said first summation and to said second pulse to generate the second most significant digit of said code; means also responsive to the polarity of said first summation and, in addition, to the third pulse of said sequence to terminate the generation of said first reference current only if the polarity of said rst summation

Description

Jan. 9, 1962 c. P. VILLARS 3,016,528
NoNLINEAR CONVERSION BETWEEN ANALOG AND DIGITAL SIGNALs EY A PIEcEwIsE-LINEAR PRocEss Filed May 18, 1959 5 Sheets-,Sheet 1 FIG' l our/ur caos /74 Y our 3' 54 A D, i 24 D o2or/.v//vc 9 /02 *DP oso- WAVE j 22 i, [04, 03 -D40- soz/RCE /N C67: F04 D50- D] v 30 .97 /26 D5 73 l I X X $5 $012) wffaxf's s y s R Wm (Frs) (Fe) sw. m -l- 0 Beggi/gl Ffa '30 munir/Y 'L /:5 807:5) 0 re;
l o X 'Y' 'Y X @(Ffg) 0 +En;
TABLE FOI? F F5 TABLE FOR FFg APPROX. ONE r/ME 5:9 SL07' l f ,j x x' x x' X X' X X' DELAY FF, FF2 FF5 FFl s n R S R R u D? 60 f1 el v 64 as 68 6/\ 52 /05 I /NVEA/ro/P C. l? VILLARS ATTORNEY Jan. 9, 1962 Filed May 18, 1959 ONE FRAME TWO FOUR 5 Sheets-Sheet 2 FIG. 2
0 ref A 77' ORNE V REEBUS Jan. 9, 1962 c. P. VILLARS NoNLINEAR CONVERSION 3,016,528 BETWEEN ANALOG AND DIGITAL SIGNALS BY A PIECEWISE-LINEAR PROCESS 5 Sheets-Sheet 3 Filed May 18, 1959 VVTOR B cNv/LLARS Z g @L ATTORNEY Jan. 9, 1962 Filed May 18, 1959 OUTPUT CODE OUTPUT CODE may `SCALE Mcm/a: 5i /lao FACTOR -74 2 McmR- -l- /ooa , ANALOG sla/VAL MA civ/rum:
4 l0 FAcroR- 7- /0/l LE 546709- FACTOR ,i
ANALOG S/GNAL MAGNITUDE C. P. VILLARS NONLINEAR CONVERSION BETWEEN ANALOG AND DIGITAL SIGNALS BY A PIECEWISE-LINEAR PROCESS 5 Sheets-Sheet 4 X /5 CHOSEN FOP DES/RED APPROX/MAT/ON; THE/V:
xx2.A/vo xa ARE EACH cHosm FCR Des/Rm ARPRox/MAr/ON; mm:
/NVENTOR C'. R V/LLARS wfg@ ATTORNEY Jan. 9, 1962 c. P. vlLLARs v NONLINEAR CONVERSIO 3,016,528 N BETWEEN ANALOG AND DIGITAL SIGNALS BY A PIECEwIsE-LINEAR PROCESS 5 Sheets-Sheet 5 Filed May 18, 1959 n w L E EL E QQ lim 5.2m Mv .uw Il' L w .ut A i ATTORNEY United States Patent O N' NONLINEAR CONVERSION BETWEEN ANALOG AND LINEAR PROCESS Claude P. Villars, Gillette, NJ., assigner to Bell Telephone Laboratories, Incorporated, New York, N. Y., a corporation of New York Filed May 18, 1959, Sen-No. 813,776 e 16 Claims. (Cl. 340-647) This invention relates to digital transmission and, more specifically, to the nonlinear conversion of analog signals and digital signals, one to the other, by a piecewiselinear process.
The advantages of transmission by PCM (pulse code modulation), one increasingly important form of digital communication, over transmission by PAM (pulse amplitude modulation), a. form of analog transmission, are well known in the art and will not be examined at length here. For a thorough exposition see, for example, the article The Philosophy of PCM, by Oliver, Pierce, and Shannon, in volume 36, Proceedings of the LRE., pages 1324 to 1331 l(1948); H. S. Black, Modulation Theory, Van Nostrand (1933); and Etude sur la Modulation par Impulsions Codes, by applicant, appearing in Bulletinl Technique PTT (Post Telegraph and Telephone, a Swiss publication), pages 449 to 472 (1954). Sullice it to say that .transmission of information by PCM offers many distinct advantages over other methods in that the information is digital in nature and may therefore be regenerated by repeaters judiciously deployed a'ong the transmission path. The regeneration process substantially eliminates the accumulation, in the course of transmission, of noise, crosstalk and other forms of signal degradation.
l Prior totransmission, encoding (i.e., conversion of the original analog information to a pulse code) is necessary in a PCM system; and if the digital information thus transmitted is to b e used in its original form, upon its reception decoding is necessary.
Before encoding the original information, it is necessary that it be quantized. In the quantizing process the exact value of the information at any instant is approximated by one of a number of discrete values commonly called quantum levels. The difference between the instantaneous value of the original information and the quantum level actually transmitted is called quantizing error and gives rise to what is known variously as quantizing noise or quantizing distortion. Quantizing distortion is especially objectionabe and very often intolerable, when the instantaneous value of the original information is small, but is usually of no significance when the instantaneous value is large. For more elfective transmission, it is therefore desirable to have more quantum levels available at low amplitudes of the signals in order to better dene these amplitudes, thus reducing the relative quantizing error. Something is taken from the highervalued amplitude signals and given to the lower-valued amplitude signals. Consequently, Companding (a verbal contraction of the terms compressing and expanding) may be advantageously used in a quantizedsignal transmission system to balance the undesirable effects of quantizing error.
DIGITAL SIGNALS BY A PIECEWISE- tion is the base two).
3,015,523 Patented dan. 9, 1962 It is the dynamic range of the original information that is compressed in such a system. The dynamic range is reduced so that low amplitude samples of the original information are emphasized, i.e., effectively increased in amplitude, while the higher-valued amplitude samples are de-emphasized.
Companding therefore serves a special purpose in quantized transmission systems in that it reduces the magnitude of the quantizing error for low amplitude signals, where quantizing distortion wou'd be a serious matter, at the price of increased quantizing error for higher amplitude signals, where increased distortion can be tolerated. Restated broadly, the purpose ,of the PCM compander is to reduce the quantizing impairment of the original signal by, in effect, quantizing not on a uniform but on a nonuniform basis.
The `usual companding system incorporates as its main components a compressor at the transmitter and an expander at the receiver. These components are normally separate units, the compressor being connected externally in tandem with the coder and the expander being connected externally in tandem with the decoder. See, for example,.The, Bell, Sysem Technicalv Journal, January 1948, volume 27, page 1, in which L. A. Meacham and E. Peterson describe such a system.
`PCM systemshave been devised, however, that combine the processes of coding and compression at the transmitting end and the processes of decodingand expansion at the receiving end. Such a system is disclosed by R. L. Carbrey in a copending application, Serial No. 631,806, tiled December 3l, 1956, which has since issued as Patent No. 2,889,409. Exemplary of the Carbrey invention is thetransmitting end of the system in which a nonlinear encoder automatically compresses its input signal as it carries out its coding operation. B. D. Smith discloses a method of nonlinear encoding by feedback methods in an article entit'ed Coding By Feedback Methods which appearsrin volume 4l of the Prceedings of the I.R.E., at page 1053.
While the methods of conversion between analog and digital information which have been disclosed by Carbrey and Smith have many advantages, the objects attained by the presently disclosed method, and the featuresand advantages thereof, constitute an important contribution to the eld of PCM transmission.
It is for example, a principal object of the inventionv ln accordance with the invention, nonlinear conver-A sion between analog and digital signals isv accomplished by a piecewise-linear process. Consider, for example, the invention as embodied in the encoder. The input samples and output code of the encoder, though not linearly re'ated over the entire coding range, are lconstrained to be so related over subranges determined by the transition of predetermined digits in a permutation code of base b (the base used to illustrate the inven- The digit transitions define breakpoints in a piecewiselinear compression characteristic. Each segment of the characteristic defines a linear relation between a specified range of analog signal magnitude and a corresponding range of digital code. The linear relation or scale factor defined by each segment in a particular quadrant is peculiar to that segment. The scale factor of a segment is here defined as the slope of the segment and is to be distinguished from the compression ratio of a continuously nonlinear characteristic. The compression ratio may be deiined as the ratio of the slope of the continuously nonlinear characteristic at the origin of the plot to the slope of the corresponding linear characteristic passing through the origin.
It is a feature of the piecewise-linear system disclosed here that it can be used to approximate almost any type of nonlinearity and yet retain some of the simplicity of linear systems.
The invention will be better understood from the following detailed description given in connection with the appended drawings in which;
FIG. 1 is a block schematic diagram depicting a piecewise-linear encoder which embodies the invention;
FIG. 2 is a plot of waveforms illustrating the operation of the embodiment of FIG. 1;
FIG. 3 is a so-called encoding ow diagram, also illustrating the operation of the embodimentfof FIG. 1;
FIG. 4 shows the piecewise-linear encoding characteristic of the embodiment of FIG. l;
FIG. 5 illustrates a representative piecewiseelinear encoding characteristic having Vmore than one breakpoint in order to more closely approximate a given nonlinear function;
FIG. 6 is a partial schematic circuit which shows the manner in which the piecewise linearity of the characteristic of FIG. 5 may be achieved; and
PIG. 6A is a partial schematic circuit showing the various possible combinations and associated currents of the shunting resistors R27 and R2 of FIG. 6.
For the sake of brevity and simplicity the present disclosure will concern the application ofthe principles of the invention to the encoding process only. This eX- pedient is believed justified, since it is well known that principles applicable to encoding are equally applicable in a straight-forward manner to the reverse process of decoding. Also, for ease of narration and understanding, the embodimentyillustrated in FIG; 1 has been considerably simplified in that it converts analog information on a piecewise-linear basis to only a four-digit code, and has an encoding characteristic (see FIG. 4) having simply one breakpoint or two linear segments per quadrant. It should be understood, however, that in the p-actice of the invention the code may consist of any number of desired digits, the number being limited only by other considerations. The number of breakpoints which is used is determined not by any limitations of the invention, but rather by the degree with which a specified nonlinear characteristic is desired to be approximated.
In the description of the illustrative embodiment of FIG. l, reference will be made at appropriate times to FIGS. 2, 3 and 4 as aids in understanding the process occurring in the circuit of FIG. l.
In FIG. 1 a message current is, plotted in FIG. 2(1),
is supplied to the input terminal 22 and thence to the summing circuit 24. The summing circuit 24 combines the message current is with a reference current i666, supplied by way of inp'ut lead 26. The manner in which the reference current-im is generated will be thoroughly explor'ed. Itlshould be noted now, however, that im is desired to be of opposite signin respect to the polarity 6 of the message current is withwhich it is to be combined.
Function of elements now4 be explained. The summing circuit'24 takes' the 4 sum of the input message current is, supplied by way of the input terminal 22, and the reference current im,
supplied by way of the input lead 26, and conveys thisl sum to the amplifier 28. The resultant sum, the current im, is shown as waveform (2) in FIG. 2. The functions of the summing circuit 24 and the ampliiier 2S may be combined in a Summing amplifier. In its amplified form, im is then supplied to the input terminal s of decision circuit 30.
Decision circuit 30 is a Schmitt bistable or ipaflop circuit having unity loop gain, and is here denoted as FP6. The stimuli which affect the state of FP6 are tabulated in table 72 of FIG. l.V The state of FP6, it will be noted, is determined by the polarity of its input terminal s. This will be discussed at length in the description which follows. For an unusually thoroughgoing article on the Schmitt circuit, see G. L. Swaflields article, The Schmitt Multivibrator, which appears at page 344 of the July 1958 issue of WirelessY World.
Though Hip-flops PF1 to FP6 are shown in identical iiip-op convention, it should be understood thatPF6 is different in its purpose and function, and consequently in structure, from all the other Hip-flop circuits of FIG. l, namely, iiip-ops PF1 to FP5. Each of the latter flipflops is of the conventional Eccles-Jordan type. As to each of thelatter, when either of ,its input terminals s and r is impulsed, it will remain in the state determined by the impulse until such time as the other terminal is impulsed. In other words, as to llip-ops PF1 to FF6, a constantly present stimulus is not required to maintain either of the two possible states of equilibrium. Each of the output terminals -x and x' may be in either of two states, a 0 or 1, depending on the state of the other output terminal. The binary terms l and 0 are used respectively to indicate the presence or absence of a stimulus or impulse. Thus, when any of the x output terminals is in `the O state, its associated x' output terminal is in the 1 state.
It will be assumed that thek terminals x and x of the various ip-flop circuits of FIG. 1 are in a certain state at the beginning of each code group and, hence, of the processnow to be discussed. Thus we will assume that while the embodiment of FIG. l is at rest, all the x terminals of the Hip-flop circuits, with the exception Vof FP2, are in the 0 state and, consequently, the terminals x are in the l state.
In each of the Hip-flop circuits the terminals s and r represent input terminals to whichv stimuli are supplied and the terminals x and x represent the output terminals from which stimuli are derived. The input terminal s may be thought of as the set terminal; and the terminal r may be though of as the reset terminal, in Vthat the latter terminal returns the iiip-op circuit to its rest state.
It can be seen from a consideration of table '72 that when the input terminal s of FP6 is at a positive potential, i.e., when the current im is positive, the states of the output terminals x and x willbe respectively l and 0. When', on the other hand, the terminal s of FP6 is at a negative potential, the states of the output terminals x and x' are respectively O and 1.
It should be noted that when any AND or ORY gate terminal or any switch enabling lead is connected to a circuit point ir1,the1 state, the terminal or lead will beenabled. v
The subsequent discussion will be facilitated, if, instead of referring to the output terminal x of a particular flip-dop, say FP6, as the output terminal x Vof liipflop circuit FP6, this terminal is `referred to simplyas terminal x(FF6) As was already mentioned above, the polarity flip-flop FF5 and the switch-enabling ipflops FP1 to PF4', unlike f the decision Vflip-flop FP6, are of-,the conventional Eccles- It can be seenV -Ifrom Ya :consideration of Jordan type. y table 73 in FIG. 1 that when the input terminalfsr(FP5) is impulsed, i.e., when the AND gate 32 is enabled, the output terminals x(PF5) and x(FF5) are respectively in the 1 and 0 states. When 4terminal x(FF5) is in the state, it can also be seen that the switch S5 is switcihed to the negative reference potential source 49. It is not necessary that the stimulus supplied to the input terminal s(FF) by the output lead of AND gate 32 be maintained in order that the above-mentioned state of polarity flipflop FF5 remain unchanged. When the input terminal r(PF5) is impulsed, the states of terminals x(FF5) and x(FF5) will be respectively 0" and "l" and the switch S5 will be switched to the positive source of reference potential 4S.
Each of the flip-op circuits PF1 to PF4z is a switchenabling element, as is FF5. Plip-flops FP1 to PF4 are used to control switches S1 to S4, respectively. The output terminals x and x of each of these flip-flops, excepting FP2, are respectively in the 0 and 1 states when the ip-fiops are at rest, i.e., at the commencement of any frame or code group (see FIG. 2). When the state of any of the flip-flops PF1 to PF4 is changed from its rest condition by an impulse supplied to its input terminal s, the state of its output terminal x will be a l and its associated switch will be switched from ground to the reference current bus 56 in the case of switches S1, S3 and S4, andfrom open circuit to ground in the case of switch S2. When the state of each of the x terminals of tlip-liops FP1, PF3 and PF4 is a 0, the switches S1-S4 will be positioned as shown in PIG. 1. It will be notedthat when this condition obtains, the output terminal x(FP2) is in the 1 state. Conversely, when the state of each of the x terminals of flip-flops PF1, F133, and PF4 is a 1, the switches S1-S4 will be positioned oppositely to the manner shown in FIG. 1. Note that the output terminal r(FF2) will then be in the 0 state.
FIG. l depicts the AND and OR gates in conventional fashion. The AND gates are each represented by a closed arc, the ofutput lead of the gate extending from the midpoint of the arc and the input leads being connected to the chord of the arc. See, for example, AND gate 50. The OR gates are also represented by a closed arc but are distinguishable from lthe AND gates in that the input leads extend through the ch-ord of the arc to the are. See, for example, OR gate 52. Thus in the convention used here, a gate is an OR `gate when its input leads are shown to extend through the chord of the are to the arc and is an AND gate when its input leads extend only to the chord of the arc. As is well known, enablement of an AND gate requires universal concurrence of stimuli at its input leads. Thus, for example, enablement of AND gate S0 requires the concurrence of stimuli or ls, from x(FP6) and x(FP5). Enablement of an OR gate, on the other hand, may be accomplished by supplying a stimulus to any of its input leads. Thus, for example, OR gate 52 will be enabled when either of AND gates 50 and 70 is enabled.
The timing wave source 40 supplies impulses to various points in the circuit of FIG. l. The impulses are supplied periodically. ln FIG. 2(6), for example, it can be seen that the output terminal D2 of timing wave source i0 supplies an impulse in the second time slot of each frame. Timing circuit 40 may be any of the many suitable timing signal generators so well known in the art. It may, for example, be of the type disclosed at page 52 in volume 32 of Electronics (March 6, 1959), a McGraw-Hill publication.
The functions and relationships between the resistors switched into and out of connection with the summing circuit input lead 26 by switches S1 to S4 are more easily understood after a consideration of FIG. 4. FIG. 4 fully shows that portion of the encoding characteristic of the embodiment of FIG. 1 that lies in the first quadrant. The
partially. Thecharacteristic, in accordance with the invention, is piecewise-linear and is shown in its simplest form, in that it has but one breakpoint 86. Note that the characteristic approximates the continuously nonlinear characteristic 88.
Each linear segment of the piecewise-linear characteristic has its own peculiar scale factor. As was mentioned previously, the scale factor of a segment is the slope of the segment. The scale factor of segment 90, for example, may be determined as follows. At the breakpoint 86 the quantum level represented by the code 1100 is +4 and the coordinate analog signal magnitude is +2. Thus, the scale factor of segment 90 is 2.0. By the same reasoning, the scale factor of segment 92 is equal to 4/s.
Each linear segment of the characteristic defines a subrange of the peak-to-peak encodable analog signal excursion. Thus, segment 90 encompasses analog signal magnitudes lying between 0 and -l-2.` It should be understood that the breakpoint 86 need not occur where shown. The locus of the point is determined by the value of the current X, which is arbitrarily chosen for any desired approximation. Moreover, the breakpoint 86 need not occur at the transition from 0 to l of the second most significant digit-the order of significance being from left to right-but may be chosen to occur at the transition 0f the third or even the fourth most significant digit. Therefore, before passing on to a further consideration of the invention, the reader should understand that the illustrative embodiment of PIG. 1 and its encoding characteristic, as shown in FIG. 4, are intended as very simple illustrations of the invention.
The arrangement of the resistors in PIG. 1 is applicable only to a 4digit code in which the first digit determines the polarity of the signal and the next most significant digitrdeterrnines the breakpoint of the coding characteristic in either the rst or third quadrant. The Value of the resistor RX is arbitrarily chosen to determine the location of the breakpoint 86. The current flowing through RX has been denoted simply as X, since it is an independent and arbitrarily chosen quantity. Note that if the piecewise-linear characteristic breaks at more than one point in each quadrant, there will be correspondingly more resistors of the ktype exemplified by RX and that these additional resistors will define the loci of the additional breakpoints. Thus, if more breakpoints were desired, We could have the independent and arbitrarily chosen quantities X1, X2, X3, and so forth (see FIG. 5).
The combination of resistors R1 and R2 will give the desired change of scale factor when the breakpoint 86 is reached. It can be seen in PIG. 4 that when the logic elements of FIG. l have determined that the message current is lies within one of the subranges encompassed by the linear segments 90 and 92, that an appropriate scale factor must be used. A change of scale factor in the simple illustrative embodiment of PIG. 1 is ultimately accomplished by resistor R2. When switch S2 is switched to ground and the reference current lead 26 is connected to either of the reference potential sources 48 and 49, the encoder has determined that the message current is lies within the subi-ange encompassed by segment 90. lt can be seen in FiG. l that when the encoder is in its rest position, as shown, that the reference current lead 2o is connected to neither of the reference potential sources 43 and 49.
It is well to notice that reference currents fed through R3 and R4 are ultimately fed into a low impedance summing point represented by summing circuit 24. This summing point may be considered as essentially at ground.
lf, therefore, resistor R1 were not positioned serially, as shown, then the effectiveness of`R2 as a shunt path to reduce the amount of reference current fed to summing circuit 24 would be greatly reduced, since the currents i3, 1'35, i4 and i4* would then prefer the above-mentioned summing point, virtually excluding the path presented by R2. -In otherwords without R1, reference currents fed from R3 and R4 would avoid R2 in favor of the much lower impedance represented vby summing circuit 24.
AS was already mentioned, resistor RX is chosen to approximate a desired nonlinear characteristic. The current X, flowing through resistor RX, establishes the breakpoint 86 of the piecewisedinear characteristic. Now, in order to render the relationship between currents within each of the linear segments 90 and 92 a binary relationship, it is necessary that all resistors other than RX, R1 and R2 be related to each other in powers of two and be chosen to conform to the established breakpoint 86. ln the simplified embodiment of FIG. l, the other.resistors are R3 and R2. Refer to FIG. l. The value of R3 is chosen so that the current i3, as it is fed into the surn ming circuit input lead 26, has the following value:
where max is the maximum encodable positive excursion ofthe message current is. The value of resistor R4 is then chosen so that t4 equals 2 In other words, the value of resistor R4 is twice that of resistor R3.
If the code used were to consist of more than four digits, additional resistors of the type exemplified by R3, and R4 would be added and similarly incorporated in the circuit. The additional resistors, say RY and RZ, would be binarily related to resistors R3 and R4, Thus, the hypothetical resistors RY and RZ and the resistors R4 and R3 could bear the relationship (RY:RZ:R. 3:R3) as (8:4:2:1). l v
The value of R2 is not arbitrarily chosen. The scaledv down counterparts i3* and i4* of the .currents i3 and i2 are supplied to summing circuit 24 only when the resistor` R2 is connected to ground. When R2 is so connected, it shunts to ground a predetermined amount of any current which is being supplied by way of R3 or R4. The shunting resistor R2 .is therefore chosen so that the scaled-down, star (ci) values i3?e and if of the binary-related currents i3 and i4 divide the current axis of the first segment from the origin-the segment 9th-in binary fashion, just as i3 and i., binarily divide the current axis of segment 92.
R2 is thus chosen so that it vpreserves the binary ratio between i3 and i4 on a scaled-down basis to conform to the subrange defined by segment 90. Stated mathematically, the value of R2 is chosen so'that:
i (tm-x) Notewell, however, that the above-stated general relationship between the non-star and star currents is valid only for the very simplified piecewise-linear characteristic illustrated in FG. 4, i.e., it is valid only for piecewise-linear characteristics having one breakpoint per quadrant. f
lt can be seen, then, that when the value otR2 is chosen as explained above, f
Thecu'rre'nt axis of segment90 is thus broken up in'binary fashion bythe various possible combinations of thev star Yes (*) currents i3* and igt'. An example of the generation of one of these various possible` combinations will be given. If at a particular time the message current is is` such that it is necessary to generate the star currents i3* and 1'41, the switch S2 will connect the'shunting re sistor R2 to ground, and resistors R3 and R4 will be co n nected to the reference current bus 56 by switches 83j and S4, respectively.
lt should now be apparent in the illustrative embodi` ment chosen to describe the invention, that it is necessary;
for the generation of any star (it) current that the rie-v* both be connected'` In the illustrative embodiment of FIG. 1,. the resistors RX and R2 are connected to ground during' the first and fifth time slots of any code group (see FIG. 2) and are connected to ground at other times only when s the generation of star current is necessary. It should l be noted that when any-of the star currents, isneeded .i
sistor RX and the shunting resistor R2 to ground.
as a component of the reference current im, that theL current X, which defines the whole of the subrange off which the star ("i) currents are components, will not be; generated. This explains the reason why resistor RX. is, grounded, i.e., taken off bus 56, whenever the generation of star currents is required. The manner in which the various currents are generated will be clear when the operation of the illustrative embodiment of FIG.. 1 hasl from juncture 100, for each possible combination of connections of R3 and R4.
The relationships between the currents max, X, i3, i4, 3*, and i4* will perhaps be more meaningful if these. currents are expressed numerically in the units of analog signal amplitude used Vin FIG. 3. Assume, then, that imm-:7.0 units of current. Assume, further, that the breakpoint 86 of the piecewise-linear vcharacteristic of FIG. 4 is chosen so that X=2 .0 units. Then;
,:rtm- X) :n-2) :2.50 units ffl-2X1: 1.00 unit,
and
Notethe relationship between each code value used in FIG. 3 and the corresponding analog current amplitude. Within each segment this relationship defines the scale factor of the segment. The compression of the dy-V namic range of the message currents is thus apparent. v For example, the code 1100 (having a code value 'of +4) As another example., consider the code 1110 which khas, a code value. of +6 and is used to represent a messagecurrent. amplitude of +4.50, This relationship is defined by ablesen .9 the second segment, segment 92 of FIG. 4. The scale factor of the segment is therefore four fifths As an example of just one variation from the very simple illustrative embodiment of FIG. 1, supposewhile still retaining a single breakpoint per quadrantthat a S-digit code were used. Then another resistor, say R0, would be required after R4. Since only one breakpoint has been assumed, only one arbitrarily chosen resistor is needed. Hence, RX may be retained. In this hypothetical example, the following relationships would hold true:
i being the current which would pass through the newly added resistor R0. Then the following relationships would also hold true:
X @er X a*=r X 10am... 8
From the above relationships it can be seen that the addition of further digits to the code will result in a iiner binary breakdown of each subrange of the piecewiselinear characteristic.
The encoding process The operation of the simplified embodiment of FIG. 1 will now be described. In the description which follows, reference will frequently be made to the timing diagram of FIG. 2 and the encoding flow diagram of FIG. 3. As previously alluded to, the plot of waveforms in FIG. 2 is divided into periodically recurrent time frames, each consisting of five time slots which accommodate one code group. Each time slot is therefore also periodically recurrent. Though the illustrative encoder of FIG. 1 generates a 4-digit code, tive time slots are provided. The tifth time slot is employed so that the output terminal D5 of timing circuit 40 may reset the terminals x(FF1), x(FF3), and x(FF4) to "0 before each frame begins. Note that terminal x(FF1) in turn resets the terminal x(FF2). It is not necessary, however, that a fifth time slot be used. For example, it is not uncommon to provide a so-called guard space between each time slot. When such a space is provided, the interval between the last time slot of a time frame and the tirst time slot of the immediately following frame may be used to serve the purpose of applicants iifth time slot.
It is appropriate to note that the switching impuses of FIG. 2 need not be entirely positive. As a practical matter they are, in fact, usually negatively biased. This expedient will ordinarily result in better switching of elements such as diodes and transistors.
As was previously mentioned, the operation of the encoder of FIG. l is regulated with respect to time by the timing circuit 40. Each of the output terminals of timing circuit 40 is connected to various points in the encoder to provide impulses in synchronism with the occurrence of a particular time slot. Thus, for example, the output terminal D1 of timing circuit 4t) will provide an impulse to AND gate 54 upon each occurrence of time slot l.
The other aid indescribing the operation of the encoder of FIG. 1, namely the encoding yflow diagram of FIG. 3, consists of two parts. The left-hand portion ofthe diagram is :a tabulation of a binary code representing the units of amplitude of the message current is. As previously mentioned, each element of the code may be either a l or 0. In each code group the elements are written from left to right in descending order of significance, i. e., the most significant digit is furthermost to the left. It indicates the polarity of the message current is. When the message current is is positive, the polarity digit will always be a 1 and when this current isnegative the polarity digit will always be a 0.
For example, as can be seen in FIG. 3, if the amplitnde of the message current is equals +4.5 units, the code which will be used to represent this amplitude will be 1101. Since the code group 1101 has a code value of 5, the compression of the dynamic range of the message current s is apparent. On the other hand, if the amplitude of the message current is is -4.5 units, the code group used to represent this amplitude is the prime of the code group used to represent +4.5 units. Thus, 4.5 units is represented by the code group 0010.
When a code group is primed each element of the group is changed to its binary opposite. This can be seen from a comparison of the code groups representing +45 units and -4.5 units. The functions of the l and the 0 in a code are thus reversed in a corresponding prime code. In the illustrations chosen, for example, 1101 has a code value of +(22+0+20) or +5 code units, whereas the code group 00110, the prime of 1101, has a code value of -(22+0+2) or -5 code units. It should be understood, therefore, that a prime method of differentiating between positive and negative code Values is used in FIG. 3. This method should be distinguished from the often-used reflected method of differentiation in which the tabulation for negative values is, with the exception of the iirst digit, an image, as it were, of the tabulation for positive values.
The right-hand portion of the encoding ow diagram of FIG. 3 illustrates the process by which the amplitude ofthe message current is at any instant of time is approximated by a summation of the components of reference current im. That negative values of the reference current im and negative values of the code lie across from each other, as do the respective positive values, should not be construed to mean that if the message current s is negative that negative values of the reference current tref shall be employed. On the contrary, when the rnessage current is is positive, it is desired that the reference current im be negative in the trial and error process by which the amplitude of the message current is is approximated by the digital code. Now that FIGS. 2 and 3 have been explained, the operation of the illustrative embodiment of FIG. 1 may be approached with greater understanding.
It will be much more meaningful if representative numerical amplitudes of the message current is are used in the discussion which follows than if the operation of the circuit is approached in the abstract.
Hypothetical case I As a irst example, it will be assumed that the message current is is equal to +7.0 units of analog current amplitude. The operation of the encoder for such a value of message current is illustrated by those portions of the 20 waveforms of FIG. 2 lying within frame two. Thus, portion 81 of the message current is in FIG. 2(1) is equal to +7.() units.
At the commencement of time slot 1, no reference current im is fed into the summing circuit 24. This is because the reference current lead 26 is not connected to the reference current bus 56 by any of the switches S1, S3, and S4. The input current im of amplitier 28 therefore represents the message current is only. Since is is positive, the potential of the input terminal s(FF6) will be positive. Consulting Table 72, the reader will note :tively and f1. tllluctrates the operation of the polarity iiip-ilop FFS, the
'1".1 that when MFFS) is positive, the'outputterminalsxtFF) and x'(FF6) are respectively in the 1 and G states. Also at'the commencement of time slot l, the states fof the output terminals x(FF5) and x(FF5) are respec- Consulating the Table 73, which @feeder will note that Vwhen x(FF) is, in the 1 state YKthat the polarity switch S5 connects thereference current bus 56 to the positive source ,et reference potential 48. The inputs of AND gates ,50 are connected to the terminals Mld-F6) and x'tFFg). Since these terminals are both in the l state at the commencement of time slot i, .AND gate 50 will be enabled. The OR gate 52 will Aturn beenabled, thus enabling the inhibit bus 5S.
'There is a concurrence of impulses at the inputs 'of AND gate 54 from the terminal lx(FF6) and the terminal D1 of timing Awave .source 40. Hence, AND gate V54 is enabled 4and the tirst digit 'of .the code group which vwill v.represent the amplitude ofthe message from is is vproduced at'the output terminal `'74. Because AND gate 54 Was enabled, this digit is a 1. Being Vthe most sig- .nicant digit, it indicates that thelmessage current is is positive (see FIG. 3). Oipthe live terminals D1 to D5 of timing wave source 40, D1 is the only one which .supplies 4an impulse during time slot l.
During time slot 1, the flip-flops PF1, .FF3, and FF., lare in their rest states, as will beseen. The output terminals x and x of eachof these ip-ops are respectively fin the 0 and 1 states. Switches S1, S3 and S4 are thus all switched y.to ground,.since their associated x ter- '.tninals are `each in the l state. `The reference current flaus 56 is therefore disconnected from the summing cirfcuit input lead 26.
The rest condition of the reference current circuit 99 @during time slot 1 will now be explained. As was men- 'tioned previously, the inhibit bus 58 has been enabled by AND gate 50 and, consequently, by OR gate 52. During time slot l, however, enablement of the inhibit bus 58 is of no consequence since the output terminals x(FF1) l `and x(FF1) are already in their rest states 0 and 1,
respectively. Moreover delay circuit 59, which has a delay period substantially equal to one time slot, depending upon the cumulative delay experienced in other elements of the circuit, will postpone the inhibitive eifect of lbus .58 until time slot 2 of frame two. Since x(FF1) is in the 0 state, the switch S1 is connected to its ground terminal as shown. No current tiows from the reference current bus S6 through RX and thence into the summing circuit 24. The current X is therefore zero.
Since the terminal s(FF2) is connected to the terminal x(FF1), which terminal is at present in the l state, the output terminal x(FF2) is in the l state and the switch S2 is enabled, connecting shunting resistor R2 to ground.
Though shunting resistor R2 is now connected to ground, it is nevertheless of no elect in producing the star currents previously mentioned, since no current lows into junction 100 during the time slot 1.
Again, the fact that the inhibit bus 58 is enabled has no effect on the state of flip-flop FF3, sincerAND gate 84 is not enabled unless impulses are concurrently supplied from the output terminal D4 of timing wave source 4t) and from inhibit bus 61. Nor is OR gate 68 enabled unless an impulse is supplied from either AND gate 34 or the output terminal D5 of timing wave Vsource 4d. Furthermore, the input terminal s(FF3) will not be enabled until an impulse is supplied from the'output terminal D3 of timing wave source 40. The state of output terminal x(FF3) is therefore 0, switch S3 Vis at `rest in its ground position, and the resistor R3 is not connected to rthe reference current bus S6. Thus, neither of` the currents i3 and i3* is supplied during time slot 1.
As in the Vcase of Hip-flop FF3, the input terminals s and r of FF.;l are presently both in the "0 state and, con- Y sequently, theterrninals x(FF4) and x(FF4) are respectively in the "0 `and 1states.V Switch S4 is therefore `ming circuit 24. The current X, as can be seen in FlG. 3,
has an amplitude of negative 2.0 units, and when it is added to the 7 .O` units of amplitude of the message current is, the resultant current im is equal to +5.() units. Acj cordingly, the potential at StFFG) remains positive vand the states of the Output terminals MFE-6) and x"(FF6) `remain respectively l 'and 0;
A very short period of time before the commencement of time slot 2, the input lead 97 of AND gate 32 is impulsed by an impulse which was supplied to delay circuit 82 by the terminal D1 of timing circuit 4d during the first timeslot.
The vdelay'provide'dby delay circuit 32 in eilect'presets Vpolarity flip-ilop FF5 which, in'turn, insures that im will be of proper polarity at the commencement of `time slot 2. Since the output terminal x(FF6) was also in the l state at the time input lead 9'7 of AND gate 32 was impulsed, the input terminal .(FF5) was impulsed 'at that time. tlop FF5. When s(FF5) is impulsed, the output terminals x(FF5) and x'(FF5) are respectively in the 1 and 0 states and the switch S5 is switched to the negative source of reference potential 49.
Since the terminals x(FF6) and x(FF5) are not concurrently inthe l state during 'time slot 2, AND gate 50 is disabled during this interval. AND gate is also disabled since the terminals `x(FF6) and x(FF5) also are not concurrently in the l state during 'time slot 2. VInhibit bus 58 is therefore disabled. The switch S1, which was previously mentioned to have switched the resistor RX to the yreference current bus 56 in ordertosupply the current X to summing circuit24, .is enabledY at the commencement of time slot 2 by an impulse supplied to s(FF1) from the terminal D2 of timing circuit 4i). The reset terminal r(FF1) is not impulsed during time slot 2, since AND gate input lead 60 is disabled. Now that the output terminals x(FF1) and x(FF1) are respectively in the 1 and 0 states, the input terminals s(FF2) and r(FF2) will be respectively in the 0 and 1 states. Thus the state of output terminal x(FF2) is 0, switch S2 is disabled, and resistor R2 is connected to the open circuit terminal 44.
As in the case of the input terminal r(FF1), terminal 1(FF3) is in the "0 state since the juncture 105 is disabled. The output terminal x(FF3) therefore remains in its rest state, i.e., the 0 state, switch S3 remains disabled, and resistor R3 remains connected to ground. Neither of the currents i3 and i3* is therefore supplied by way of R3. Since juncture is presently disabled, the state of flip-flop FF., remains unchanged and the output terminal x(FF4) is still in the 0 State. Switch S4 remains connected to its ground terminal and neither of the currents i4 and i4* is supplied by way of resistor R4.
Accordingly, the only current supplied to the summing circuit 24 by way of the reference current lead 26 during time slot 2 of this hypothetical example, is the current X which is equal to negative 2.0` units. The current im, as previously mentioned, is therefore equal to -|-,5.0 units, the output terminal x(FF6) is in the l state, the AND gate 54 is enabled by a concurrence of impulses from terminal x(FF6) and terminal D2 of timing wave source 40, and the binary digit "1 is supplied to the out-- put terminal 74. The accumulated code at the end of Vtime slot 2 is therefore 1l.
YDuring time slot 3, it will be seen that the current i3 equal to negative 2.5 units (see FIG. 3), is added to the current X to increase the reference current im to negative The combmation of the message current i,1
4.5 units. (7.() units) and the reference current im (negative V4.5
Consult table 73 which relates to the polarity flip-r units) in summing circuit 24 yields an amplitude of im equal to +25 units. Input terminal s(FP6) is therefore still at a positive potential and the states of the output terminals x(PP6) and x(PP.-,) remain unchanged, i.e. remain respectively l and 0. The states of the output terminals x(PP) and x(PF5) also remain unchanged, since the state of polarity flip-lop PP5 will not be changed until the commencement of the fifth time slot. Therefore, there is not a concurrence of impulses at the respective inputs of either AND gate 50 or AND gate 70. Accordingly, inhibit bus 58 remains disabled.
The state of flip-flop PF1, and therefore the position of switch S1, remain unchanged. The resistor RX is still connected to the reference current bus 56 and the current X is supplied to the summing circuit input lead 26. So, too, the state of nip-flop FP2 and the position of its associated switch FP2 remain unchanged and, consequently, the shunting resistor R2 is still connected to th open circuit terminal 44. y
The input terminal s(PP3), however, is impulsed at the beginning of time slot 3 by the output termnal D3 of timing wave source 40, so that the output terminal x(PF3) now assumes the 1 state and enables the switch S3. Enablement of switch S3 connects resistor R3 to the reference current terminal 66 and thence, by way of reference current bus S6 and polarity switch S5, to the negative potential source 49. Since resistor R2 is connected to the open circuit terminal 44 of switch S2, no current supplied by Way of resistor R3 is shunted through resistor R2 and, consequently, the current i3 (equal to negative 2.5 units) is added to the current X (equal to negative 2.0 units). The summation of these currents yields a value of ref equal to negative 4.5 units. The state of flip-flop PF4 is unaltered during time slot 3 and, hence, as was true during time slot 2, no current is supplied by way of resistor R4.
As was previously mentioned, the negative 4.5 units of current represented by iref are added to the 7.0 units of current represented by the message current is to yield a value of im equal to 2.5 units. The consequent concurrent of impulses from the output terminal x(PP6) and the terminal D3 ot' timing wave source 40 enables AND gate 54 and a binary digit 1 is supplied to the output terminal 74. The accumulated code at the end of time slot 3 is therefore 111.
As will be seen from the following discussion of the processes occurring during time slot 4, the value of im remains positive. The potential of terminal s(PF6) is therefore positive and the states of output terminals x(PP6) and x(PP6) remain respectively 1 and 0." Since the output terminals 'x(PP5) and x(PP5) also remain unaltered, neither of the AND gates 50 and 70 is enabled and, consequently, the inhibit bus 58 remains disabled.
Of the Hip-flops PF1 to PF4, the only one that will be atected during time slot 4 will. be nip-flop PF4. A change of state occurs in nip-flop PF4 by virtue of an impulse supplied to its input terminal s from the terminal D4 of timing wave source 40. The output terminal x(PP4) then assumes the 1 state, switch S4 is switched to its reference current terminal 95, and current ows through resistor R4 by Way of the reference current bus 56 and the negative-potential source 49. The current i4, equal to negative 1.25 units (see PIG. 3), is consequently supplied to the reference current lead 26 and added to the preexisting currents X and i3 to yield a value of im equal to negative 5.75 units. The negative 5.75 units of im are combined with the 7.0 units of is in summing circuit 24 to yield a value of im equal to 1.25 units.
The AND gate 54 is thus enabled by a concurrence oi' impulses from the output terminal x(PP6) and the terminal D4 of timing wave source 40, and a binary digit l ld completes the coding process for the hypothetical eX- ample of +7'.0 units of message current is.
During time slot 5 the encoder will be prepared for the next coding process. The input terminal s(PP6') is no longer positive since the message current is goes to zero and the reference current im is discontinued. The reference current im ceases, since an impulse is supplied to each ofthe terminals r(PP1), 1*(PF3), and r(PP4) from the terminal D5 of timing wave source 40. Accordingly, each of the named lip-ilops changes state so that its x output terminal is the 0 state and its associated switch returns to its ground position. At the same time an impulse is supplied to terminal r(FP2) by way of terminal x'(FP1). The output terminal x(PP2) thereby assumes the l state, switch S2 is enabled and resistor Rz is connected to ground. Also, during time slot 5, the polarity fiip-op PP5 undergoes a change of state by virtue of an impulse supplied to its r input terminal from the terminal D5 ofvtiming wave source 40. The states of the x and x' output terminals of each of the flip-flops PF1 and PP3 to FP6 are therefore respectively "0 and "1 immediately preceding the commencement of the next following frame. The states of terminals x(PP2) and x(PP2), on the other hand, are respectively "1 and "0 at this time.
Hypothetical case II As a concluding example of the operation of the illustrative piecewise-linear encoder of PIG. l, it will be assumed that at the commencement of the rst time slot of frame three of FIG. 2 the value of the message current is is negative 1.5 units of analog current amplitude. The behavior of waveforms (l) to (20) of PIG. 2 during frame three is pictorially representative of the operations now to be discussed.
As in the previous example, during the first time slot no reference current im is fed into the summing circuit 24. Consequently, the current im is representative of the message current s only, and, for this hypothetical example, will be negative.
It has been assumed throughout the specification that no phase reversal occurs in the amplifier 28, though, needless to say, this assumption is not necessary. Refer to table 72: since the current im is negative, the potential at s(PF6) is negative and the states of terminals x(PP6) and x(FP6) are respectively 0 and 1. Until the expiration of the delay in circuit 82, the polarity ipop PP5 will remain in the rest state it assumed during time slot 5 of the next previous frame. Thus the respective states of the output terminals x(PF5) and x'(PP5) are also "0 and ul at this time. Neither of the AND gates 50 and 70 is therefore enabled since there is not a concurrence of the necessary input pulses at either of tlligese AND gates. inhibit bus 58 is consequently disa e Since the state of output terminal x(FF5) is at rest, i.e., is a 1, the switch S5 is also at rest and, consequently, is switched to the positive reference potential source 48. That the positive source 48 is connected to the reference current bus 56 at this time is of no consequence because all of the switches S1, S3 and S4 are disconnected from their reference current terminals. So, too, it is of no consequence, as was previously mentioned, that at this time resistor R2 is shunted to ground, since no reference current is thereby diverted.
AND gate 54 is disabled since terminal x(FF6) is in the 0" state and, consequently, there is not a concurrence of impulses from the terminal x(PF,-) and the terminal D1 of timing wave source 4i). The binary digit 0 therefore appears at the output terminal 74 and constitutes lthe iirst element of the code group to be generated. Since the digit "0 is the most signicant digit of this code group, it indicates that the message current is is negative in polarity.
It will be noted that the portion of the encoding characteristic, which relates to the process occurring in re- 15 sponse'to the hypothetical message current of value nega# tive 1.5 units, is the segment 91 of FiG. .4, which segment is only partially shown. t
Immediately preceding the commencement of time slot 2, the delay circuit 82 supplies an impulse to AND gate 32; but this is of no avail since the output terminal x(FF6`) is in the "0 state at this time. Consequently, AND gate 32 is not enabled and the polarity' flip-flop Eidg remains in its rest state. This sequence of events determines tliatthe reference current needed in the trial and error approximation of the message current is must be of positive polarity. In response to this determination, the switch S remains in its rest state. The refer-V ence current bus 56 is, accordingly, appropriately connected to the positive reference potential source 48.
The input terminal s(FF1) is impulsed at this time by the terminal D2 of timing wave source 40. The output terminals x(FF1) andvx'(FF1) are changedfro'm their rest states 'and are now respectively in the "1 and 0* states. The switch yS1 :is therefore enabled and is switched to its "reference current terminal 42. The current X (of value +2 units) then-flows through resistor RX, When x(FF1)vwas switched from the 0 state to the l state, the input terminal r(IFF2) was impulsed. The youtput terminal x(FF2) was thereby changed from the l to the 0 state and switch S2 was disabled, in turn causing shunting resistor R2 to be connected to the open circuit terminal 44. Since the reference vcurrent tref, consisting solely now ofV the current X, has a value of +2 units, when it is combined with the message current is, the resultant current im will have a value of +0.5 unit. The input terminal s(FF6) will therefore be at a positvepotential so that the outputtermiuals x(FF6) and x(FF6) will change state, assuming the "1 and O states re-A spectively. At this point in time it is too late, as has already been seen, to enable AND gate32, since the impulse now available at terminal x(FF6) does not 'concur with the impulse previously supplied by delay circuit 82. The state of polarity il'ip-tlop FFB therefore remains unaltered.
Since there is a concurrence of impulses from the output terminal x(FF6) and the terminal D2 of timing wave source 40,'AND gate 54 is now enabled and it accordingly supplies an impulse, i.e., binary digit 1, to the output terminal '74. The accumulated code at this time is therefore .01.
It will be recalled that codes representing negative values of the message current s are here primes of codes representing corresponding positive values of the current is. Thus, the present accumulated code 0l. means that the encoder has up to now determined that the message current is is (l) negative, and (2) is less in absolute magnitude than 4.0 code units, or, considering the scale factor of two and expressing the code units in analog units, is less in absolute magnitude than 2.0 analog units.
During time slot 3, the following operations take place:
The switch S1 is immediately disabled so that the flow of Y current X may be discontinued. This is necessary because, as has been seen, it was determined that the absolute magnitude of the current X (2.0 units) was great- Yer than the absolute magnitude of the message current S (1.5 units), which discrepancy causes the current im to become positive by 0.5 unit. Y
The switch S1 is disabled as follows: At the commencement of time slot 3 there is a concurrence of impulses at the inputs of AND gate 62 from the terminal 'D3 of timing wave source 40 and from the inhibit bus l5.1. Notice that the present inhibitive state of bus 61 is due to the postponement of the inhibitive'state-of bus .58 byY delay circuit 59.r It will be recalled that the output terminal VMFH) was changed to the "1 state when the current im became positive during time slot 2. The impulse thus supplied by the terminal XCFFG) in concert d with the impulse supplied by the output terminal #(75125) v.enz'tbled the AND gate 5.0, 4the 4OR gate 52, andiinally 16 the inhibit bus 5S. Delay circuit 59 thereupon proceeded to delay the inhibitive eiect of bus 5S. Thus there is a concurrence of impulses at the AND Vgate 62 at the commencement of time sldt 3, AND gate 62 is enabled as is OR gate 64 and, iinally, the input terminal r(FF1) is impulsed causing flip-ildp PF1 to change state. This change of state causes the output terminal x(FFl) to revert to its "0 state, thereby disabling the switch S1, Y The impulsing of the input terminal r(FF1) also causes the output terminal x(FF1) to assume the "l state, thereby changing the state of ip-op FF2 by way of its input terminal s. The result is that the output terminal x(FF2) is now in the l state, the switch S2 is Yenabled and theshuriting resistor R2 is connected to ground. Ast
the switch S3 Ito be switched to its reference current terminal 66. Reference current from the source du new 'finds a pathhbywa'y of reference current bus 56 through the resistor R3. l Some of this current, as'was previously mentioned, will be Ydiverted to ground by way of shunting resistor R2. What remains of this current will be the current i3* (having, here, a value of 1.0 unit) and this remainderfwill constitute the reference current im.
Upon summing Ythe current i3* and the message lcurrent is in summing-circuit 24, 'the resultant current im isfound to have a value of negative 0.50 unit. The input terminal s(FF2) is, therefore, at a negative potential and the states of output terminals x(FF6) and x(FF6) are respectively 0 and 1. Although an impulse is supplied to the input 102 of AND gate 54 by the terminal D3 of timing wave source 40, none is supplied to the in- ,put 104 bythe terminal x(FF6), since the latter terminal is now in the "0 state. Accordingly, AND gate 54 dicates that the absolute code value which will be used to y represent the message current iS is less than 4,0 but greater than or equal to 2.0 code units. This should not be confusing, as it will be recalled that thescale factor of the segment 91 of the piecewise-linear character-l istic of FIG. 4 yis 2 to l. Thus, when speaking in terms of code values, it is said that the absolute code Value is less than 4.0 but greater than or equal to 2.0 code units, it should be understood that this is equivalent to saying that the absolute magnitude of the message current is is less than 2.0 but greater than or equal to 1.0 unit of analog current amplitude. Y
Since the respective states of the terminals MFI-T6), x'(FF6)`, x(FF5), and x(FF5) were 0," 1, 0, and 1, at the termination of time slot 3, neither of the AND gates 50 and 7u was enabled. Thus, inhibit bus 58 was disabled. At the commencement of time slot 4, therefore, inhibit bus 61 isv also disabled. Accordingly, when an impulse is supplied to junction 104 by the terminal During this time the state of hip-flopV FP2 has remained v unchanged so that the shunting .resistor R2 is still connected to ground. Accordingly, the current supplied by. way of resistor R., to the junction 100, will be partly diverted to ground by way of shunting resistor R2 and partly supplied by way of the series resistor R1 to the sum- 17 f ming circuit reference current lead 26. That part of the current fiowing through R4 which is not diverted t0 ground by way of shunting resistor R2 is here denoted as the current i4* and, for the sake of illustration, is given the value of 0.5 unit in FIG. 3. The reference current im therefore now consists of the components i3* and if and has a value of +1.5 units of analog current amplitude. When this value of reference current im is combined with the negative 1.5 units of the message current is, the resultant current im is zero.
During time slot 4 the inputs I02 and 104 of AND gate 54 were not concurrently impulsed since the state of output terminal x(FFG) was a 0. Therefore, AND gate 54 remains disabled and the binary digit 0 appears at the output terminal 74. The accumulated code at this point in time is consequently 0100 and stand for a code value of negative 3.0 code units, i.e., -(|21-}-20). As stated above, this code value corresponds to the negative 1.5 analog current units of message current is. This correspondency is due to the scale factor two of the third quadrants first segment, segment 91 (not fully shown). of the piecewise-linear characteristic of FIG. 4.
As in the previous illustrative example, where tht message current is had a magnitude of +7.0 units of analog current amplitude, the fifth time slot is used to clear out the encoder. The clearing out process involves the resetting of fiip-fiops FF1 to FF5 and ensures that at the commencement of the first time slot of the next succeeding frame or code group, the output terminals x and x of these flip-fiopscircuits will be respectively in the 0 and 1 states. This resetting of the flip-flop circuits in turn ensures that the switch S5 is connected to the positive source of reference potential 48 (as shown) and that the switches S1 to S4 connect their associated resistors to ground (as shown).
FIGURES 5, 6, and 6A FiG. 5 has been included merely to show one of the many types of piecewise-linear encoding characteristics which may be obtained in accordance with the invention. The encoding -characteristic of FIG. 5 has three breakpoints determined by the arbitrarily chosen currents X1, X2 and X3. These breakpoints, which have been chosen for illustration, approximate the straightforward nonlinear characteristic ll06. It will be noted in FIG. 5 that a mere 4-digit code is used and therefore that each segment of the characteristic is divided into only two equal portions. it will be recalled that in FIG. 4, where a single breakpoint was used in conjunction with a 4-digit code, that each segment of the characteristic was broken up into four equal portions.
@nce the currents X1, X2 and X3 have been chosen, the currents i3, isti, igti, and fsw* are chosen to bisect their respective segments, The following relationships are therefore required if the illustrative piecewise-linear characteristic of FIG. 5 is to be obtained:
-and
Note that the last expression applies equally well to the embodiment of FIG. l, in that it also defines the relationship between the binarily related currents of two adjacent subranges of a piecewise-linear characteristic having only one breakpoint per quadrant.
As was mentioned in the case of the simple bisegmental piecewise-linear characteristic of FIG. 4, it should be understood that it was not necessary that the characteristic be symmetrically broken in any quadrant. Thus, for example, the first breakpoint 108 of FIG. 5 need not necessarily occur at the transition of the third most significant digit of the code. It can be chosen to occur at any desired transition. It could, for example, be chosen to occur at the transition of the second most significant digit of the code, i.e., at the point where the second most significant digit of the code undergoes a transition from 0 to l.
FIG. 6 has been included merely to show one possible way of achieving the piecewise-linear characteristic of FIG. 5.
Instead of the single resistor RX of FIG. l, three resistors Rm, RX2, and RXS have been used in the circuit of FiG. 6. The values of the resistors RXI, RX2, and RX3 are chosen to supply the currents X1, X2 and X3, respectively, to the reference current lead 26. These resistors may be switched to the reference current bus 56 by their respective switches SX1, SX2 and SX3 in any number of ways. Note that the switch-enabling logic and Hip-flop circuits, fully shown in FIG. I, are not shown in FIG. 6. These circuits may be arranged in accordance with the teachings inherent in the illustrative embodiment of FlG. l.
In FIG. 5 each breakpoint is shown to be determined by a single current rather than a combination of currents. Thus, for example, the breakpoint 110 is determined, not by a summation of the currents X1, X2 and what would be (X3-X2), but rather by a single current X3. This method of approximating the breakpoints is perhaps more accurate than would be the method using the combination of currents mentioned above, in view of the possibility of cumulative error inherent in the latter method. Thus, in accordance with the first methodi.e., the method of determining each breakpoint by an individual current-if for example, it were necessary to operate within the range determined by segment lf2, the current X3 would be supplied to the reference current lead 26 to the exclusion of currents X1 and X2. in FIG. 6 this would necessitate the connection of resistors RXI and RX2 to ground by their respective switches SX1 and SX2, and the connection of resistor RX3 to the reference current bus 56 by its associated switch SX3. The various combinations of the currents X1, X2 and X3, which would be used in the second method discussed above, i.e., the method by which these currents would be used in combination to establish the breakpoints 110 and 114 of FIG. 5, should be apparent and in need of no further explanation.
The serial resistor R1 of FIG. 6 serves the same purpose as does resistor R1 of FIG. '1. Also, the function of the shunting resistors R2 and R2" is similar to that of shunting resistor R2 of FIG. l.
Refer to FIG. 6A, in which it is assumed for the sake of illustration that R2 is of greater magnitude than is Various combinations lof these shunting resistors can be used to establish the changes in scale factor of FIG. 5.
For example, assume that resistor R3 is connected to the reference current bus 56 by switch S3 so that reference current is fed to juncture 100. When the resistor R2" is connected to ground by the switch S2 and the resistor R2 is connected to the open circuit terminal of switch SZ, the current if* will be supplied to the reference current lead 26. When, however, the resistor R2 is connected to the ground terminal of switch S2 and the resistor R2 is connected to the open circuit terminal of switch S2, the current i3dt will be supplied to reference current lead 26. When both of the resistor R2' and R2 are connected to ground by their respective switches, the current supplied to the reference current lead 26 by way of the serial resistor R1 will hel isiii, Finally, when each of resistors R2 and R2 is connected to its respective open circuit connection, then the current i3 will `be supplied to reference current lead 26 by way of resistor R1.
` In' the foregoing description, the invention has been illustrated by apparatus for converting analog information to a binary code. The invention may be extended ijn -a straightforward manner to apparatus for translating to or from a permutation code of any base b. Thus, for
example, in the case ofthe ternary code in which the e base is 3 and each digit position may contain a pulse having any one of three coetiicient values, viz., O, l or 2, the binarily related resistors of the reference current circuit 99 of FIG. 1 could be reproportioned so that the various sums of any number of them taken in succession from a reference value are proportional to the successive integral powers of 3.
It should be understood, therefore, that the above described arrangements are illustrative of the application of the principles of the invention. Numerous other arrangements may be devised by those skilled in the art without departing from the spirit and scope of the invention.
What is claimedris:
1. In a system, at one point of which amplitude samples of analog signals are, throughout the over-all dynamic range of said signals, transformed nonlinearly to groups of pulses arranged in accordance with 'a permutation code of base b, nonlinearly meaning that said code does pot vary in direct proportion to said input samples, and at another point of which said groups of pulses are nonlinearly transformed to reconstitute their original analog form, apparatus to perform said overall nonlinear transformations on a piecewise-linear basis which comprises means to change the relationship between said amplitude samples and said permutation code at predetermined transitions in the permutation of said code, and means to linearly transform said amplitude samples to said `code and said code to said reconstituted samples only between said predetermined transitions in the permutation of said code, linearly meaning that said amplitude samples and said code, as .wellas said code and said reconstituted samples, vary in direct proportion to one another, respectively, only between said predetermined transitions in said code, the over-all relationship between said samples and said lcode being nonlinear.
2. A system in accordance with claim l in which a preassigned element of said code indicates, in each of said pulse groups, the polarity of the amplitude sample associated with the particular pulse group, means to determine the polarity of each of said amplitude samples and to generate corresponding polarity-indicating code elements at said one points of the system, and means tov determine the polarity of said elements and to establish the polarity of said reconstituted amplitude samples at said other point of the system.
3. A system in accordance with claim 1 wherein said means to linearly transform said amplitude samples to said permutation code between said predetermined.transitions inthe permutation of said code comprises means to generate reference signals; and means to compare additively said reference signals with said amplitude samples.
4. A system in accordance with claim 3 wherein said means to lchange the relationship between said ampli- Vtude samples and said permutation code comprises means to effect a corresponding change in the magnitude of Vsaid reference signals.
l 5. A system in accordance with claim 1 in which said permutation code is of the base 2, i.e., the binary code, and means to effect said transformation between said permutation code and said amplitude samples in binary fashion.
-6. A system in accordancefwith claim 5 in which the most` significant digit of said binary code is, in each pulse Ycode group, the polaritydndicatingdigit, and means to generate said most significant digitin response to the polarity of the analog signals initiated at said one point of the system.
7. I n a system, atone pointof which amplitude samples of pulses arranged in accordance with the binary code and at another point of `which said groups of pulses are non-linearly transformed to reconstitute their original analog form: means to linearlytransform said amplitude samples to said binary code at said one point of the system and said binary code to said reconstituted samples at said other point of the system between predeter mined transitions in the `permutation of said binary code, comprising a timing wave source having a plurality ofroutput terminals related in number tothe number of digits in said binary code, a reference current network to generate reference current of appropriate magnitude and polarity in response to each of said amplitude samples, a summing network to sum algebraically said reference currents and their associated amplitude samples, means to supply said amplitude samples and said reference currents to said summing network; decision circuit means responsive -to the algebraic sum of each of said associated amplitude samples and reference currents to control the generation of said reference currents, means to convey said algebraic Vsum to the input of said decision circuit, said decision circuit having an x output-terminal which assumes either of the binary states 0 and 1, depending upon the polarity of said algebraic sum, and an x output terminal, the bi# nary state of which is the prime of the state of said x output terminal; means responsive to a binary impulse supplied thereto from said x output terminal of said decision circuit, and a simultaneous timing impulse supplied by said timing wave source to said last-named means immediately before the commencement of the second most significant digit of said binary code, to determine the polarity of said amplitude samples, said last-named means including a bistable circuit also having x and x' output terminals, whose respective binary states are dependent upon whether or not said timing impulse and said binary impulse from said x output terminal of said decision circuit are simultaneously supplied to said polarity determining means, and a two-position polarity switch, one position of which is connected to a negative source of reference potential and the other position of which is connected to a positive source of reference potential, the output of said polarity switch being connected via said reference current circuit to said means to supply said reference current to said summing network; and means to perform said nonlinear transformations between said binary code and said amplitude samples on a piecewise-linear basis which comprises means to change the scale factor'between said binary code and said amplitude samples at predetermined transitions in the permutation of said code.
8. A system in accordance with claim 7 in which saidy reference network comprises: a pluralityof two-position` .common juncture; a plurality of scale-factor-changing, twoposition switches each having an output and a pair'of inputs corresponding to said two positions, one of said inputs of each of said scale-factor-changing switches being connected to said point of referencepotential and the other of said inputs being connected to an open circuit terminal, a plurality of shunting resistors correspondingVv in number to said plurality of seale-factor-changing switches, one end of each of said shunting'resistors being connected to the output of said last-named switches and the other end of eachof said shunting resistors being connected to said common juncture; a plurality of switches associated with a corresponding numberof'resistorsto determine the'loci ofbreakpoints in the coding character- 21 istie defined by the relationship between said binary code and said amplitude samples, said breakpoints occurring at said predetermined transitions in the permutation of said binary code, each of said last-named switches being a twoposition switch having an output and a pair of inputs corresponding tosaid two positions, one of said inputs of each of said last-named switches being connected to said point of reference potential and the other of said inputs being connected to the output of said polarity switch, one end of each of said breakpoint-determining resistors being connected to the output of an associated one of said lastnamed switches, the other end being connected to said means to supply said reference currents to said summing network; and means to connect said common juncture to said other ends of said breakpoint-determining resistors.
9. In a system that uses signals in analog form comprising amplitude samples at one point and, at another point, uses signals in digital form comprising groups of pulses arranged in accordance with a permutation code of base b. each of said pulse groups having substantially the same information content as an associated one of said amplitude samples, the relationship between said signal forms defining a pulse code versus amplitude sample characteristic, apparatus for effecting an over-all nonlinear translation on a piecewise-linear basis from one of said forms into the other form without aleration or' said information content, which comprises means to change the slope of said characteristic at predetermined transitions in the permutation of said permuted code, and means to render said relationship between said pulse code and said amplitude samples a linear one only between said predetermined transitions in said code, said linear relationship meaning that said code and-said samples vary in direct proportion to each other only between said predetermined transitions in said code, the over-all relationship between said code and said samples being nonlinear and said pulse code versus amplitude sample characteristic thus being piecewise-linean 10. An encoder to transform amplitude samples of current to binary code nonlinearly on a piecewise-linear basis, comprising means to establish a relation between said code and said current samples defining a piecewise-linear characteristic consisting of a plurality of segments and at least one breakpoint per quadrant; means to generate current defining and extending to each breakpoint of said characteristic; means to encode said amplitude samples linearly within each segmental range of the current axis of said piecewise-linear characteristic; and means to change said relation between said amplitude samples and said code only as the operation of the encoder proceeds from one segmental range to another, so that said code and said amplitude samples vary in a unique direct proportion to each other within each segmental range.
11. An encoder to transform ampiitude samples of current supplied thereto to binary code nonlinearly on a piecewise-linear basis, comprising means to establish a relation between said supplied amplitude samples and said code defining a piecewise-linear characteristic having at least one breakpoint per quadrant, said characteristic having a plurality of segments per quadrant greater in number by lone than the number of breakpoints per quadrant, each of said segments encompassing a predetermined portion of the current axis of said piecewise-linear characteristic, means to generate currents defining and extending to each breakpoint of said characteristic, means to generate additional current to divide the respective portion of the current axis encompassed by each of said segments binarily in accordance with the number of elements in said code, means to change said relation between said amplitude samples and said code only as the operation of said encoder proceeds from one segment to another, means to compare successively with each of said amplitude samples said breakpoint-determining current and said additional currents, means responsive to each of said successive comparisons to determine which of said breakpoint-determin- 22 ing and said additional currents are to be used in the im'- rnediately succeeding comparison, and means also responsive to each of said comparisons to generate a code element corresponding to the result of the comparison.
12. An encoder to transform to binary code, non-linearly on a piecewise-linear basis, amplitude samples of current supplied to the encoder and ranging in absolute magnitude from zero to imax, comprising means to establish a relation between said samples and said code defining a symmetrical piecewise-linear characteristic having one breakpoint and two segments per quadrant, each of said segments being defined by the breakpoint occurring within its quadrant and each encompassing a predetermined portion of the current axis of said piecewise-linear characteristic, means to generate a current to determine said breakpoint in each quadrant and having an absolute value of X, the first segment extending from the origin of each quadrant to its associated breakpoint thereby encompassing X units of said current axis, and the second segment extending from said breakpoint thereby encompassing maX*X units of said current axis, means to change the relation between said amplitude samples of said code only as the operationl of said encoder proceeds from one segment to another, and means to encode each of said amplitude samples linearly within the compass of each of the segments of said piecewise-linear characteristic.
13. An encoder to transform amplitude samples of current to binary code nonlinearly on a piecewise-linear basis comprising means to establish a relation between said code and said samples of current defining a piecewiselinear characteristic consisting of a plurality of segments and a plurality of breakpoints, less in number by one than said plurality of segments and determining the eX- tent of each of said segments, means to generate a plurality of breakpoint-determining currents, means to encode said amplitude samples linearly within each segmental range of the currentaxis of said piecewise-linear characteristic, and means to lchange said relation between said amplitude samples and said code only as the operation of said encoder proceeds from one segmental range to another, so that said code and said amplitude samples vary in a unique direct proportion to each other within each segmental range.
14. An encoder in accordance with claim 13 and means to additively combine various combinations of said breakpoint-determiningcurrents to define each breakpoint of said piecewise-linear characteristic.
15. An encoder in accordance with claim 13 and means to determine each breakpoint of said piecewise-linear characteristic by an individual one of said breakpoint-determining currents, each of said currents thereby extending the entire range from the origin along the current axis of said piecewise-linear characteristic to define its associated breakpoint.
16. A coding circuit for nonlinearly converting an amplitude sample of a current wave of prescribed amplitude range into binary code on a. piecewise-linear basis which comprises means to generate a sequence of periodically recurrent timing pulses; means responsive to the first pulse of said sequence and to the polarity of said sample to generate the most significant digit of said code; means responsive to the second pulse of said sequence and to said most significant digit to develop a first reference current of predetermined magnitude and of polarity opposite to that of said sample; means to sum algebraically in a first summation said sample and said first reference current and also, at the time of each pulse remaining in said sequence, said sample and all reference currents extant at each of said times; means responsive to the polarity of said first summation and to said second pulse to generate the second most significant digit of said code; means also responsive to the polarity of said first summation and, in addition, to the third pulse of said sequence to terminate the generation of said first reference current only if the polarity of said rst summation is opposite to that of 2.3 said sample; means responsive to the third pulse of said sequence and to said second most significant digit to generate a second reference current of magnitude equal to one-half that of said rst reference current if said iirst reference current has been terminated or to one-half the difference between a predeterminedportion of said prescribed amplitude range and said rst reference current if the latter current continues to be generated; and means responsive to each following pulse of said sequence and `to .each following significant digit to generate further reference currents in the manner by which said foregoing reference currents were generated.
References Cited in the file of this patent UNITED STATES PATENTS Goodall Nov. 28, 1950 Meacham Apr. 8, 1952 Levy June 9, 1953 Aigrain v Nov. 24, 1953 Levine June 11 1957 Slocomb June 17, 1958 Boisvieux July l, 1958 Carbrey June 2, 1959
US813776A 1959-05-18 1959-05-18 Nonlinear conversion between analog and digital signals by a piecewiselinear process Expired - Lifetime US3016528A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US813776A US3016528A (en) 1959-05-18 1959-05-18 Nonlinear conversion between analog and digital signals by a piecewiselinear process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US813776A US3016528A (en) 1959-05-18 1959-05-18 Nonlinear conversion between analog and digital signals by a piecewiselinear process

Publications (1)

Publication Number Publication Date
US3016528A true US3016528A (en) 1962-01-09

Family

ID=25213352

Family Applications (1)

Application Number Title Priority Date Filing Date
US813776A Expired - Lifetime US3016528A (en) 1959-05-18 1959-05-18 Nonlinear conversion between analog and digital signals by a piecewiselinear process

Country Status (1)

Country Link
US (1) US3016528A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3175212A (en) * 1961-09-25 1965-03-23 Bell Telephone Labor Inc Nonlinear pcm encoders
US3438024A (en) * 1964-06-26 1969-04-08 Gen Electric Co Ltd Controlled bias feedback analog to digital converter
US3505668A (en) * 1965-06-01 1970-04-07 Ibm Bipolar analog to digital converter
US3512151A (en) * 1966-02-01 1970-05-12 Vitro Corp Of America Digital conversion systems
US3573795A (en) * 1968-03-06 1971-04-06 Gen Dynamics Corp Systems for converting information from digital-to-analog form and vice versa
US3611350A (en) * 1970-02-12 1971-10-05 Us Navy High-speed parallel analog-to-digital converter
US3662347A (en) * 1970-03-11 1972-05-09 North American Rockwell Signal compression and expansion system using a memory
US3832707A (en) * 1972-08-30 1974-08-27 Westinghouse Electric Corp Low cost digital to synchro converter
US3905028A (en) * 1973-08-02 1975-09-09 North Electric Co Direct digital logarithmic encoder
US4021800A (en) * 1974-04-16 1977-05-03 Nippon Electric Company, Ltd. Non-linear coder for pulse code modulation of telephone signals or the like
US4143363A (en) * 1972-10-30 1979-03-06 Gte Automatic Electric Laboratories, Inc. Nonuniform translation between analog and digital signals by a piece-wise linear process

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2531846A (en) * 1947-03-13 1950-11-28 Bell Telephone Labor Inc Communication system employing pulse code modulation
US2592308A (en) * 1948-09-01 1952-04-08 Bell Telephone Labor Inc Nonlinear pulse code modulation system
US2641740A (en) * 1949-12-23 1953-06-09 Gen Electric Co Ltd Electrical pulse code signaling system
US2660618A (en) * 1948-01-20 1953-11-24 Int Standard Electric Corp Signal translation system
US2795650A (en) * 1952-04-23 1957-06-11 Itt Compandor control system
US2839744A (en) * 1956-10-01 1958-06-17 Cons Electrodynamics Corp Non-linear analog-to-digital converter
US2841649A (en) * 1950-09-22 1958-07-01 Thomson Houston Comp Francaise Pulse code modulation system
US2889409A (en) * 1956-12-31 1959-06-02 Bell Telephone Labor Inc Volume compression and expansion in pulse code transmission

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2531846A (en) * 1947-03-13 1950-11-28 Bell Telephone Labor Inc Communication system employing pulse code modulation
US2660618A (en) * 1948-01-20 1953-11-24 Int Standard Electric Corp Signal translation system
US2592308A (en) * 1948-09-01 1952-04-08 Bell Telephone Labor Inc Nonlinear pulse code modulation system
US2641740A (en) * 1949-12-23 1953-06-09 Gen Electric Co Ltd Electrical pulse code signaling system
US2841649A (en) * 1950-09-22 1958-07-01 Thomson Houston Comp Francaise Pulse code modulation system
US2795650A (en) * 1952-04-23 1957-06-11 Itt Compandor control system
US2839744A (en) * 1956-10-01 1958-06-17 Cons Electrodynamics Corp Non-linear analog-to-digital converter
US2889409A (en) * 1956-12-31 1959-06-02 Bell Telephone Labor Inc Volume compression and expansion in pulse code transmission

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3175212A (en) * 1961-09-25 1965-03-23 Bell Telephone Labor Inc Nonlinear pcm encoders
US3438024A (en) * 1964-06-26 1969-04-08 Gen Electric Co Ltd Controlled bias feedback analog to digital converter
US3505668A (en) * 1965-06-01 1970-04-07 Ibm Bipolar analog to digital converter
US3512151A (en) * 1966-02-01 1970-05-12 Vitro Corp Of America Digital conversion systems
US3573795A (en) * 1968-03-06 1971-04-06 Gen Dynamics Corp Systems for converting information from digital-to-analog form and vice versa
US3611350A (en) * 1970-02-12 1971-10-05 Us Navy High-speed parallel analog-to-digital converter
US3662347A (en) * 1970-03-11 1972-05-09 North American Rockwell Signal compression and expansion system using a memory
US3832707A (en) * 1972-08-30 1974-08-27 Westinghouse Electric Corp Low cost digital to synchro converter
US4143363A (en) * 1972-10-30 1979-03-06 Gte Automatic Electric Laboratories, Inc. Nonuniform translation between analog and digital signals by a piece-wise linear process
US3905028A (en) * 1973-08-02 1975-09-09 North Electric Co Direct digital logarithmic encoder
US4021800A (en) * 1974-04-16 1977-05-03 Nippon Electric Company, Ltd. Non-linear coder for pulse code modulation of telephone signals or the like

Similar Documents

Publication Publication Date Title
US3145377A (en) Digital gray code to analog converter utilizing stage transfer characteristic-techniques
US3997892A (en) Digital to analog converter with improved companding
US3500247A (en) Non-linear pulse code modulation with threshold selected sampling
US3016528A (en) Nonlinear conversion between analog and digital signals by a piecewiselinear process
US2592308A (en) Nonlinear pulse code modulation system
GB952720A (en) Improvements in or relating to pulse code modulation decoders
GB1298371A (en) Improvements in or relating to analogue to digital conversion systems and methods
US3935569A (en) Digital coder
US3831167A (en) Digital-to-analog conversion using multiple decoders
US2889409A (en) Volume compression and expansion in pulse code transmission
US2453461A (en) Code modulation communication system
GB1418454A (en) Digital-to-analogue converters
US3798637A (en) Pcm coder with compression characteristic
GB1287087A (en) Improvements in or relating to differential pulse code communication systems
US3175212A (en) Nonlinear pcm encoders
US2916553A (en) High speed delta modulation encoder
US3015815A (en) Conversion between analog and digital information on a piecewise-linear basis
US3723909A (en) Differential pulse code modulation system employing periodic modulator step modification
US3447147A (en) Encoder
US4143363A (en) Nonuniform translation between analog and digital signals by a piece-wise linear process
US3662347A (en) Signal compression and expansion system using a memory
US3189891A (en) Analog-to-digital converters
US3017626A (en) Asynchronous encoder
US3858200A (en) Variable threshold flash encoder analog-to-digital converter
US3668691A (en) Analog to digital encoder