CA1109155A - Automatic d-c offset cancellation in pcm encoders - Google Patents
Automatic d-c offset cancellation in pcm encodersInfo
- Publication number
- CA1109155A CA1109155A CA000282765A CA282765A CA1109155A CA 1109155 A CA1109155 A CA 1109155A CA 000282765 A CA000282765 A CA 000282765A CA 282765 A CA282765 A CA 282765A CA 1109155 A CA1109155 A CA 1109155A
- Authority
- CA
- Canada
- Prior art keywords
- flip
- signal
- flop
- transistor
- comparator
- 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
Links
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
Abstract of the Disclosure During encoding of voice frequency (YF) signal in a PCM channel bank the encoder encounters direct current (d-c) offset component resulting from the particular VF signal. Such d-c offsets cause errors above and beyond the normal encoders inherent in the normal encoding process. The present invention alleviates this problem by providing an automatic d-c offset cancellation circuit which closely follows the d-c offset component and provides a d-c component of opposite sign to cancel it.
Description
Field of the Invention The present inven$ion relates to pulse code modulation (PCM) encoders in general and particularly to multichannel encoders suitable for channel banks.
Background of the Invention It is one of the functions of a PCM channel bank to receive voice frequency (VF) signals from a plurality of VF lines and deliver them encoded and multiplexed in a digital time division multiplexed format.
The standard for North America is the 24-channel Tl format.
When encoding each of the VF signals, the encoder encounters a direct current (d-c) offset component resulting from the particular VF
signal. Such d-c offset component causes an error above and beyond the normal encoding errors inherent in the encoding process. Methods of counteracting this d-c offset component have included inserting a fixed counter-offset component. However, since the d-c offset component itself varies with time as well as from one VF signal to another, such method of compensation is not fully satisfactory.
Summary of the Invention The present invention endeavours to alleviate this problem by providing an automatic d-c offset cancellation circuit which follows the d-c offset component reasonably closely and provides a d-c component of opposite sign to cancel it.
According to the present invention an automatic d-c offset cancellation circuit for a pulse code modulation (PCM) encoder is provided comprising charge storage means providing a d-c counter-offset component to said PCM encoder, charging means for charging said charge storage means with one of a positive and negative d-c currents and logic means responsive to the output of said PCM encoder for controlling said charging means to supply a negative current to said charge storage means upon occurrence of a positive transition at the output of said PCM encoder and vice versa.
S
Brief Description of the Drawings A preferred embodiment will now be described in conjunction with the accompanying drawing which is a schematic of the automatic d-c offset cancellation circuit in accordance with the present invention.
Description of the Preferred Embodiment Referring to the drawing it is seen that the pulse amplitude modulated samples from the channel units are resampled and stored in the sample and hold circuit 10, and are then converted to digital signals by an analog to digital converter 9 (A/D). The A/D 9 is a successive approximation encoder made up of a digital to analog converter 11 (D/A), comparator 12 and digit store circuit 13.
In operation, the contents of the digit store 13 and hence the output of the D/A 11, due to feedback loop 14, is adjusted until it is the same as the output of the buffer 18 following the sample and hold 10.
The output of the comparator 12 tells the digit store 13 whether the stored code is high or low. At the decision time, the digit stored code is adjusted so as to drive the comparator 12 via the feedback loop 14 and the D/A 11 high if the stored code is low and low if the stored code is high.
It is at the output of the comparator that the d-c offsets occur. These offsets are sensed by the autonull logic 20 which controls the autonull circuit 19 and automatically corrects for the d-c offsets.
The autonull logic is comprised of two flip-flops 21 and 22 that drive two OR gates 23 and 24. The input of flip-flop 21 is connected to the output of comparator 12 through an inverter 15. The input of flip-flop 22 accepts the enable signal. Clock signals CKl and CK4 are accepted respectively by the clear CLR and the clock CK terminals of flip-flop 21.
Clock signals CK2 and CK3 are accepted respectively by the clock CK and preset PR terminals of flip-flop 22. The Q output terminal of flip-flop 21 is connected to one of the input terminals on OR gate 23 and the Q terminal is connected to one input terminal of OR gate 24. The Q output terminal of flip-flop 22 is connected to the other input terminals of both OR
gates 23 and 24. The output signal of OR gate 23 drives through resistor 25 the base of an npn transistor 26. The output terminal of OR gate 24 is connected to the anode terminal of series diode pair 27 and the cathode terminal of the diode pair 27 is connected to the first terminal of a resistor 28 with the second terminal connected to -12V.
The collector of transistor 26 is connected to the first terminal of resistor 29 the second terminal of which is connected to ~12V. The emitter of trans;stor 26 is grounded. The emitter of pnp transistor 30 is connected to the said first terminal of resistor 29. The collector of transistor 30 is connected to the collector of npn transistor 31 with the emitter of transistor 31 connected to the said first terminal of resistor 28. The bases of both transistors 30 and 31 are grounded.
The collectors of transistors 30 and 31 are connected to a first terminal of capacitor 32 and the first terminal of resistor 33.
The said collectors are also connected through resistor 34 to buffer 35.
The other terminals of said devices 32 and 33 are grounded. The output terminal of buffer 35 is connected through resistor 36 to the inverting input terminal comparator 12.
In operation the autonull logic 20 receives six signals.
The first is the inverted d-c error signal from comparator 12. The second is the external enable pulse and the other 4, CKl, CK2, CK3, CK4, are external clock pulses.
The enabling pulse is such that where it is low, i.e.
there is a signal on at least one PAM channel, operating the autonull logic is enabled, if the enable pulse is high, i.e. there are no channels operating, the autonull logic 20 and hence the autonull circuit 19 are disabled because no d-c offsets occur with no channels operating. The external clock pulses CKl, CK2, CK3 and CK4 are timing pulses which provide synchronization between the channel unit timing and the timing for the autonull logic.
~1~91~
A negative offset results in a high signal from OR gate 23 turning transistor 26 "ON" and turning transistor 30 "OFF". Transistor 31 is turned on by the low signal from OR gate 24. Current flows from ground through resistor 33 and capacitor 32 to -12V through transistor 31 and resistor 28, and a negative charge builds on the capacitor 32.
The negative signal, buffered by buffer 35 a unity gain device, is sent to the inverting input of comparator 12 where it nulls the original d-c offset. If the original d-c offset is positive the output signals from OR gates 23 and 24 are reversed. The low signal from OR gate 23 turns transistor 26 off. The high signal from OR gate 26 turns transistor 31 off as well. Transistor 30 is turned on and current flows from ~12V
through resistor 29 and transistor 30 to ground through capacitor 32 and resistor 33. A positive charge will build up on the capacitor 32 creating a positive nulling signal at the inverting terminal of comparator 12, which is a negative nulling signal at the output of comparator 12.
Background of the Invention It is one of the functions of a PCM channel bank to receive voice frequency (VF) signals from a plurality of VF lines and deliver them encoded and multiplexed in a digital time division multiplexed format.
The standard for North America is the 24-channel Tl format.
When encoding each of the VF signals, the encoder encounters a direct current (d-c) offset component resulting from the particular VF
signal. Such d-c offset component causes an error above and beyond the normal encoding errors inherent in the encoding process. Methods of counteracting this d-c offset component have included inserting a fixed counter-offset component. However, since the d-c offset component itself varies with time as well as from one VF signal to another, such method of compensation is not fully satisfactory.
Summary of the Invention The present invention endeavours to alleviate this problem by providing an automatic d-c offset cancellation circuit which follows the d-c offset component reasonably closely and provides a d-c component of opposite sign to cancel it.
According to the present invention an automatic d-c offset cancellation circuit for a pulse code modulation (PCM) encoder is provided comprising charge storage means providing a d-c counter-offset component to said PCM encoder, charging means for charging said charge storage means with one of a positive and negative d-c currents and logic means responsive to the output of said PCM encoder for controlling said charging means to supply a negative current to said charge storage means upon occurrence of a positive transition at the output of said PCM encoder and vice versa.
S
Brief Description of the Drawings A preferred embodiment will now be described in conjunction with the accompanying drawing which is a schematic of the automatic d-c offset cancellation circuit in accordance with the present invention.
Description of the Preferred Embodiment Referring to the drawing it is seen that the pulse amplitude modulated samples from the channel units are resampled and stored in the sample and hold circuit 10, and are then converted to digital signals by an analog to digital converter 9 (A/D). The A/D 9 is a successive approximation encoder made up of a digital to analog converter 11 (D/A), comparator 12 and digit store circuit 13.
In operation, the contents of the digit store 13 and hence the output of the D/A 11, due to feedback loop 14, is adjusted until it is the same as the output of the buffer 18 following the sample and hold 10.
The output of the comparator 12 tells the digit store 13 whether the stored code is high or low. At the decision time, the digit stored code is adjusted so as to drive the comparator 12 via the feedback loop 14 and the D/A 11 high if the stored code is low and low if the stored code is high.
It is at the output of the comparator that the d-c offsets occur. These offsets are sensed by the autonull logic 20 which controls the autonull circuit 19 and automatically corrects for the d-c offsets.
The autonull logic is comprised of two flip-flops 21 and 22 that drive two OR gates 23 and 24. The input of flip-flop 21 is connected to the output of comparator 12 through an inverter 15. The input of flip-flop 22 accepts the enable signal. Clock signals CKl and CK4 are accepted respectively by the clear CLR and the clock CK terminals of flip-flop 21.
Clock signals CK2 and CK3 are accepted respectively by the clock CK and preset PR terminals of flip-flop 22. The Q output terminal of flip-flop 21 is connected to one of the input terminals on OR gate 23 and the Q terminal is connected to one input terminal of OR gate 24. The Q output terminal of flip-flop 22 is connected to the other input terminals of both OR
gates 23 and 24. The output signal of OR gate 23 drives through resistor 25 the base of an npn transistor 26. The output terminal of OR gate 24 is connected to the anode terminal of series diode pair 27 and the cathode terminal of the diode pair 27 is connected to the first terminal of a resistor 28 with the second terminal connected to -12V.
The collector of transistor 26 is connected to the first terminal of resistor 29 the second terminal of which is connected to ~12V. The emitter of trans;stor 26 is grounded. The emitter of pnp transistor 30 is connected to the said first terminal of resistor 29. The collector of transistor 30 is connected to the collector of npn transistor 31 with the emitter of transistor 31 connected to the said first terminal of resistor 28. The bases of both transistors 30 and 31 are grounded.
The collectors of transistors 30 and 31 are connected to a first terminal of capacitor 32 and the first terminal of resistor 33.
The said collectors are also connected through resistor 34 to buffer 35.
The other terminals of said devices 32 and 33 are grounded. The output terminal of buffer 35 is connected through resistor 36 to the inverting input terminal comparator 12.
In operation the autonull logic 20 receives six signals.
The first is the inverted d-c error signal from comparator 12. The second is the external enable pulse and the other 4, CKl, CK2, CK3, CK4, are external clock pulses.
The enabling pulse is such that where it is low, i.e.
there is a signal on at least one PAM channel, operating the autonull logic is enabled, if the enable pulse is high, i.e. there are no channels operating, the autonull logic 20 and hence the autonull circuit 19 are disabled because no d-c offsets occur with no channels operating. The external clock pulses CKl, CK2, CK3 and CK4 are timing pulses which provide synchronization between the channel unit timing and the timing for the autonull logic.
~1~91~
A negative offset results in a high signal from OR gate 23 turning transistor 26 "ON" and turning transistor 30 "OFF". Transistor 31 is turned on by the low signal from OR gate 24. Current flows from ground through resistor 33 and capacitor 32 to -12V through transistor 31 and resistor 28, and a negative charge builds on the capacitor 32.
The negative signal, buffered by buffer 35 a unity gain device, is sent to the inverting input of comparator 12 where it nulls the original d-c offset. If the original d-c offset is positive the output signals from OR gates 23 and 24 are reversed. The low signal from OR gate 23 turns transistor 26 off. The high signal from OR gate 26 turns transistor 31 off as well. Transistor 30 is turned on and current flows from ~12V
through resistor 29 and transistor 30 to ground through capacitor 32 and resistor 33. A positive charge will build up on the capacitor 32 creating a positive nulling signal at the inverting terminal of comparator 12, which is a negative nulling signal at the output of comparator 12.
Claims
EXCLUSIVE PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:
1. An automatic d-c offset cancellation circuit for a pulse code modulation (PCM) encoder including a comparator at its output, comprising:
a capacitor for charge storage, coupled to an input of said comparator by means of a unity gain buffer amplifier;
first and second transistors for charging said capacitor, said first transistor an NPN transistor responding to a first control signal to charge said capacitor negatively; said second transistor a PNP transistor responding to a second control signal to charge said capacitor positively;
first and second flip-flops and first and second OR gates for controlling said first and second transistors, said first flip-flop responsive to the output signal of said comparator;
said second flip-flop responsive to an enable signal; said first OR gate responsive to the standard output signal of each flip-flop, said second OR gate responsive to the complementary output signal of said first flip-flop and the output signal of said second flip-flop; the output signals of said OR gates being said control signals for said first and second transistors.
a capacitor for charge storage, coupled to an input of said comparator by means of a unity gain buffer amplifier;
first and second transistors for charging said capacitor, said first transistor an NPN transistor responding to a first control signal to charge said capacitor negatively; said second transistor a PNP transistor responding to a second control signal to charge said capacitor positively;
first and second flip-flops and first and second OR gates for controlling said first and second transistors, said first flip-flop responsive to the output signal of said comparator;
said second flip-flop responsive to an enable signal; said first OR gate responsive to the standard output signal of each flip-flop, said second OR gate responsive to the complementary output signal of said first flip-flop and the output signal of said second flip-flop; the output signals of said OR gates being said control signals for said first and second transistors.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CA000282765A CA1109155A (en) | 1977-07-14 | 1977-07-14 | Automatic d-c offset cancellation in pcm encoders |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CA000282765A CA1109155A (en) | 1977-07-14 | 1977-07-14 | Automatic d-c offset cancellation in pcm encoders |
Publications (1)
Publication Number | Publication Date |
---|---|
CA1109155A true CA1109155A (en) | 1981-09-15 |
Family
ID=4109135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA000282765A Expired CA1109155A (en) | 1977-07-14 | 1977-07-14 | Automatic d-c offset cancellation in pcm encoders |
Country Status (1)
Country | Link |
---|---|
CA (1) | CA1109155A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI631835B (en) * | 2014-11-12 | 2018-08-01 | 弗勞恩霍夫爾協會 | Decoder for decoding a media signal and encoder for encoding secondary media data comprising metadata or control data for primary media data |
-
1977
- 1977-07-14 CA CA000282765A patent/CA1109155A/en not_active Expired
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI631835B (en) * | 2014-11-12 | 2018-08-01 | 弗勞恩霍夫爾協會 | Decoder for decoding a media signal and encoder for encoding secondary media data comprising metadata or control data for primary media data |
US10349092B2 (en) | 2014-11-12 | 2019-07-09 | Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. | Decoder for decoding a media signal and encoder for encoding secondary media data comprising metadata or control data for primary media data |
US11218740B2 (en) | 2014-11-12 | 2022-01-04 | Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. | Decoder for decoding a media signal and encoder for encoding secondary media data comprising metadata or control data for primary media data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4066919A (en) | Sample and hold circuit | |
KR920003447B1 (en) | Schmittrigger circuit | |
US3158759A (en) | System for sampling, holding and comparing consecutive analog signals | |
US4395681A (en) | System for compensating the offset voltage of a differential amplifier | |
US4866261A (en) | Data limiter having current controlled response time | |
US3422423A (en) | Digital-to-analog converter | |
US2840726A (en) | Transistor current gate | |
US4322687A (en) | Operational amplifier with improved offset correction | |
CA1184262A (en) | Signal transfer device having a transfer characteristic which is adjustable in steps | |
US3858199A (en) | Tracking level detector | |
US4518921A (en) | Track and hold circuit | |
US4124869A (en) | System for the digital clamping of periodic, binary encoded signals | |
US3659117A (en) | Track and hold apparatus | |
US4500844A (en) | Ringing signal generator employing delta-modulation power amplification techniques | |
US4140925A (en) | Automatic d-c offset cancellation in PCM encoders | |
GB1248088A (en) | Improvements relating to microphones | |
CA1109155A (en) | Automatic d-c offset cancellation in pcm encoders | |
GB1532658A (en) | Charge-coupled amplifier | |
US3723909A (en) | Differential pulse code modulation system employing periodic modulator step modification | |
US4401974A (en) | Digital sample and hold circuit | |
US4645946A (en) | Two phase trapezoidal signal generating circuit | |
GB1517199A (en) | Signal converters | |
ATE155295T1 (en) | VOLTAGE SOURCE AMPLIFIER | |
US3909719A (en) | Balanced PCM encoder | |
US4659946A (en) | Memory gate for error sampler |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MKEX | Expiry |