CA1128630A - Data synchronization circuit - Google PatentsData synchronization circuit
- Publication number
- CA1128630A CA1128630A CA 337463 CA337463A CA1128630A CA 1128630 A CA1128630 A CA 1128630A CA 337463 CA337463 CA 337463 CA 337463 A CA337463 A CA 337463A CA 1128630 A CA1128630 A CA 1128630A
- Grant status
- Patent type
- Prior art keywords
- 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.)
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/38—Synchronous or start-stop systems, e.g. for Baudot code
- H04L25/40—Transmitting circuits; Receiving circuits
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/02—Speed or phase control by the received code signals, the signals containing no special synchronisation information
- H04L7/033—Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
DATA SYNCHRONIZATION CIRCUIT
ABSTRACT OF THE INVENTION
A data synchronization circuit for use in an automatic identification of outward dialing system (AIOD). The present invention automatically synchro-nizes streams of binary data sent as lengthy messages between a private automatic branch exchange (PABX) and a telephone switching center. The binary informa-tion transmitted to the switching center consists of the calling subscriber's identity within the PABX
and the identity of the trunk circuit connecting the PABX to switching center. This information is trans-mitted in two-out-of-five code. Synchronization is provided by controlling the output of an included clock in response to received binary state changes.
A DATA SYNCHRONIZATION CIRCUIT
BACKGROUND OF THE INVENTION
~l) Field of the Invention The present invention relates to transmission of large amounts of data between a PABX and a switch-ing center via a data link, and more particularly to a circuit for automatically synchronizing the clock-ing of data received via the data link, thereby in-suring the validity of the data.
(2) Description of the Prior Art Telephone switching centers are connected to PABX'S, located on subscriber premises, via trunk circuits. Many individual stations are connected to the PABX. A relatively smaller number of trunk circuits connect the PABX to the switching center.
Therefore, each PABX station must dial an access code digit to seize control of an available trunk circuit.
As a result of this operation, the switching center is unable to distinguish the identity of the particular station originating the telephone call.
Historically, operators were utilized to ask the particular station user for his station identity before connecting the call. Such information was manually recorded by the operator.
With the advent of electronics, sophisticated systems for the transmission of this station informa-tion from the PABX to the central office were developed.
This equipment consisted of electronics located on the PABX subscribers premises, data link equipment ; .
connecting the subscriber premises to the switching - center, and additional electronics added to the switch-ing center. These systems are termed automatic identi-fication of outward dialing systems. Such systems provide the switching center with the identity of the calling station automatically and without the need of operator intervention.
When a PABX station user dials the access code for a trunk circuit connecting him to the switch-ing center (central office trunk), the station identityis noted at the PABX. Also noted is the identity of the trunk circuit selected, connecting the station through the PABX to the switching center. Typically, these two pieces of information are combined into a 41-bit transmission. The station identity consists of 20-bits, the trunk identity 20-bits and a l-bit synchronization mark. The above information is trans-mitted via a separate data link facility to the switch-ing center where it is placed in a temporary storage buffer.
As the central office trunk is seized at the PABX, it causes a "Call-For-Service" to be generated at the switching center. When the "Call-For-Service"
is recognized, the switching center identifies the requestor by the trunk identity stored in the center's data base. At convenient points in servicing the call, the temporary storage buffer is searched using the trunk identity obtained when the "Call-For-Service"
; was recognized. Upon finding a trunk identity concur-rence, the station identity is placed into the switch-ing centers memory corresponding to the call. Using the above identified trunk, a billing record is generated including the particular station identity.
The collected information is stored on a suitable output device and interpreted by an electronic data processing center. The processing center is able to generate a detailed billing document contain-ing the charges and the number of calls made by each station within the P~BX. These detailed billings .. ..
., , ~ .
-3 aid the corporate customer in accounting for its tele-` phone charges.
Generally, the transmission of data to a remote place via a data link is accomplished in one of two ways. First, a synchronous data link can be used to connect two remote locations. Such data links are very expensive and require dedicated communication line and logic at each location. Second, an asynchro-nous data link may be utilized, but such links require synchronizing signals to be transmitted periodically in order to avoid the lost of data. Typically, asyn-chronous data links are less expensive then synchro-nous data links.
The proper reception of data is of particular importance in situations in which telephone subscribers are charged based on this data. In the system of which the present invention is a portion this invention deals with the automatic identification of outward dialing of a PABX subscriber. Information identifing the particular subscriber placing the call and the identity oE the trunk circuit used to connect him to the central office is transmitted to the central office for use in the preparation of billing the associated subscriber.
Synchronization circuits are disclosed in U.S. Patents 4,095,053 issued to D. L. Duttweiler, et al, on June 13, 1978; 4,045,618 issued to J. Lagarde, et al, on ~ugust 30, 1977; and 4,002,845 issued to P. Kaul et al, on January 11, 1977.
In Duttweiler et al, synchronization of - data reception is achieved by the stuffing of pulses into the data stream. Blocks of pulses are stuffed into the data bit stream at the transmitting location and must be de~stuffed at the receiving locationO
Such a system provides a relatively slow rate of acquisition of data. That is, since many pulses are stuffed into the information data stream, the full capacity of the data link is not utilized~
- . ~ : 1 . . , : . - :
-4-Lagrade et al teaches the use of synchroniza-tion of an information data stream by comparison to a known a reference information data stream. Such a system requires memory and extensive control logic, thereby rendering this system complex and expensive.
The Kaul patent discloses a frame synchro-nizer which searches for synchronization bits included in the information transmitted. One draw back of this arrangement is that a synchronization bit must be included periodically within the information bits, so that the reception of the information can be periodi-cally resynchronized.
In the present invention, the information bits exist for a period of time of 1.3599 MS with a tolerance of 0~027198 MS or 2%~ Ideally to insure integrity, the data is to be sampled a~ the mid point of its period, that is 0.679 MS after it initially appears. The system of the invention described herein requires a 41-bit transmission. Multipling the number of bits in the transmission 41 times the tolerance per bit 0.027198 MS a timing differential of 1.115 MS can exist. This diEferential is the accumulated tolerances of a message of ~l-bits in length. Since, the accumulated error 1.115 MS can exceed the mid point of the period during which data exists, that is 0.679 MS, invalid data can result.
A simple solution to the above mentioned problem would be to send additional synchronization bits, however this approach limits the amount of 30 information data which may be transmitted during a ;~
particular time period.
Accordingly, i~ is an object of the present invention to provide an eGonomical circuit for auto-matically resynchronizing a lengthy (41-bit) informa-tion transmission between a PABX and a central office.
Further, it is an object of the presentinvention to provide a synchronization circuit which operates without the use of additional resynchronizing bits.
.. . ~ . . , , ~ ,, - .
. . . .. . ~ . .
. .- ~ . - . . . :-: ,.; .
.. .. ...
. --5--SUMMARY OF THE INVENTION
The present invention comprises a data syn-chronization circuit providing ~or automatic synchro-nization of the reception of large streams of binary data sen~ via a data link between a PABX and a tele-phone switching center.
The present invention consists of a clock including a digital variable frequency oscillator circuit connected to the clock input of a 41-bit shift register. The shift register is further connected between the data link and a central processing unit (CPU) of the telephone switching center. Incoming data from the data link, connecting the PABX to the switching center, is presented to the shift register.
In addition, the incoming data is also presented to the data synchronization circuit via input connections to associated latches. The data synchronization circuit has an output connection to the digital variable frequency oscillator circuit for controlling the timing of periodic pulses produced by the clock circuit to drive the shift register.
Typically, once the data transmission via the data link is initiated the clock circuit periodi-cally clocks the shift register to accept the current value of data presented to it. In addition, the previous data accepted by the shift register is shifted serially. This process occurs until all 41 bits of `~
the data transmission have been accepted; and then the data is presented to the CPU for analysisD The data transmitted from the PABX to the switching center is transmitted in 2 out of 5 code. That is, 5 bits are used to represent each digit with 2 bits ha~ing ;~
a logic value of 1 and all other ~its have a logic value of 0.
The data synchronization circuit operates in response to data transitions from logic 0 to logic 1 or from logic 1 to logic 0. This circuit detects the initial change in logic level and produces a signal as a result. This signal is trans~itted to ~ ~Z8~3~
the clock circuit to cause the clock circuit to begin timing a predetermined time of approximately l MS.
Since, the mid-point of the time during which data is present is approximately l MS., the clock circuit operates the shift register at this time to obtain the vali~ value of the data. This type of synchroniza-tion occurs for each logic transition.
If a data transmission contains successive bits having the same logic value, the synchronization circuit provides no signal to resynchronize the accep-tance of data. In this case, the clock circuit con-tinues to operate at a predetermined frequency to control the shift register to accept data at this rate. Therefore, the synchronization circuit would fail to detect a logic change and would not produce a controlling signal to synchronize the clock. To insure state transitions of the incoming data, data is sent in 2-out-5-code as mentioned above.
BRIEF DESCRIPTION OF THE DRAWINGS
Figure l is a schematic diagram of the data synchronization circuit embodied in the present invention.
Figure 2 is a detailed schematic diagram of the clock included in Figure l~
DESCRIPTION OF THE PREFERRED EMBODIMENT
Referring to Figure l, the synchronization circuit comprising logic elements 101 through 109 is shown connected between the data link and the clock 110. Incoming data is al50 transmitted to the shift register 120 via a connection between the data link (not shown) and the shift register 120. Clock circuit 110 is connected to the clock input of shift register 120 and provides periodic pulses at a predetermined rate in order to control the reception of the incoming data by the shift register 120. Shift register 120 is connected in a parallel fashion to the central processing unit tCPU) of the switching center.
Incoming data received by the data link is presented to shift register 120 and to the data synchronization circuit. This data is presented to 2~
.'.' ~ .
, :', ~ ~ ' , .' ','' , :
' ~ ~ ` . ' ';; ' ' . .~ . ' `, ' '` " ' ' ''~' ' ,, ' :
' ,, ' ~ ` ' .
latch 102 and via inverter 101 to latch 103. Latch 103 is set in response to a transition of the incoming data from logic 0 to logic 1 and latch 102 is set in response to a transition of the incoming data from logic 1 to logic 0. Therefore, any change in state of the incoming data will be represented by a set condition of latch 102 or latch 103 depending upon the direction of the change of the logic level of the data. Latches 102 and 103 have output connections to NAND gates 104 and 105 respectively. These gates "AND" the value of their respective associated latches with the value of the incoming data to produce a signal representing a binary indication of the cor-responding latch detecting a state change.
NOR gate 106 is connected to NAND gates 104 and 105. NOR gate 106 performs by producing an output signal in response to a state changed detected by either latch 102 or 103. NAND gate 107 "AND's"
the 1 MHZ signal produced by the clock 110 connected via the OSC lead, with the signal produced by gate 106. If a state change was detected, NAND gate 107 `
provides an output signal to indicate this condition within a very short time after detection of the state change by latches 102 or 103. This rapid production of the output signal occurs because of the high fre-quency of the clock 110.
As a result of an output signal from gate -` 107 indicating a detection of a state change of the incoming data, latch 108 is set. This output signal of latch 108 causes gate 109 to produce a signal transmitted to the clock 110 via the VFRST lead and in addition this output signal causes a ground condition to be placed on the open leads OL of clock 110. In .~ response to the application of the signal to the VFRST
lead and to the grounding of the open leads OLI clock i 110 times a period of approximately 1 MS thereby, altering the frequency of the signal transmitted to shift register 120 over the VARFREQ lead. In response to the signal supplied to the shift register 120 over ``` ~L~.. Z~363~) the VARFREQ lead the data present on the DATA lead is stored in shift reglster 120 and all previously stored data is shifted by oneO
Upon collection of a complete message (41 bits), the data is transmitted to the CPU of the switch-ing cen~er for analyses and billing of the associated call.
In addition, the output signal produced by gate 109 resets state transition detection latches 102 and 103 so that subsequent state changes may be detected. Simultaneous to the transmission of the clock signal to shift register 120 via the VARFREQ
lead, a reset pulse is produced and transmitted via the - RSTCCC lead to latch 108 to reset latch 108.
With latch 108 reset, the signal produced by gate 109 is inhibited, thereby removing the ground con-dition from the open leads OL, removing the reset from latches 102 and 103 and the signal from the VFRST
The circuit described herein operates in response to state changes of incoming data. It is conceivable that 41 data bits of information could have the same logic value. That is, all 41 bits might be of logic 0 value. This would result in no detect-able state changes thereby rendering the data synchro-nization circuit non-operated. In order to insure state transitions of the incoming data, a 2-out-of-
5 code is utilized to transmit the data. Refer to the following table for a description of that code.
" ''': :
'' .' ~' ' '' ' ' ' ' .
Digit Two-Out-Of-Five Code High Low Bit - - - Bit 3 0 n 1 1 o
6 0 1 1 0 0
7 1 0 0 0
8 1 0 0 1 0 , 9 1 0 1 0 0 '. O 1 ' 1 0 0 0 !,~' 15 As can be seen from the table, this code guarantees that there will be at least one state change within each five bits of information transmitted. This is as a result of the fact that 2 and only 2 of the 5 , bits have a value of logic 1 and all other bits are ; 20 Of a value of logic 0. Therefore, at least one re-synchronization is performed for every 5 bits of information received.
Figure 2 depicts the details of a digital variable frequency oscillator as shown in Figure 1.
25 The pulse source is a 1 MHZ crystal control oscillator ,~ providing periodic pulses via output lead OSC which is connected to the clock CLK input lead. Frequency control inputs Bl through B512 control the fre~uency ~` of the signal output on lead VAR FP~Q. Unused fre-30 quency control inputs are grounded. Therefore, fre-quency at which the clock circuit operates is deter-` ~ mined by summing the values of the ungrounded frequency ` control inputs. In the present implementation, this determination is made by summing the numbers Qf the open frequency control leads B8=8, B32=32, B128=128 ';,; and B512=512. These ungrounded leads control NOR ~
gates 206, 208, 210 and 212 respectively. These NOR ~-gates provide signals to the period decode NAND gate 220. For each period decode by gate 220, flip-flop , ~' ` ' ', . ,~','; ' , , j ' ;3~
240 is toggled thereby providing a square wave output on lead VAR FREQ. In addition, reset circuit 230 is set providing a pulse on the RST CCC lead and also resetting the lO stage binary ripple counter. Input lead VFRST controls flip-Elop 240 so that Elip-flop 240 changes state on the next output of period decode gate 220. For use during normal operation period decode gate 220 must provide 2 successive output signals to cause flip-flop 240 to change state.
Although a preferred embodiment of the in-vention has been illustrated, and that form described in detail, it will be readily apparent to both skilled in the art that various modifications may be made therein without departing from the spirit of the in-vention or from the scope of the appended claims.
- ' '' ' : ~' ; '':, ' ~ ,~ , . ..
a clock circuit including controllable oscillator providing periodic pulses;
register means connected between said data link and said central processing unit and including an input circuit connection from said clock circuit operable in response to receipt of pulses from said clock circuit to store and forward data received via said data link, to said central processing unit;
first latching means connected to said data link for detecting binary state changes operated in response to said received data to produce a first output signal representing each detected state change;
gating means connected to said first latch-ing means and to said clock circuit for combining said first output signal and said periodic pulses to produce a second output signal;
second latching means connected between said gating means and said clock circuit, operated in response to said second output signal to transmit a reset signal to said clock circuit, whereby said clock circuit generates a clock pulse a fixed time period after each detection of a binary state change to operate said register means.
Priority Applications (2)
|Application Number||Priority Date||Filing Date||Title|
|US05955281 US4191849A (en)||1978-10-26||1978-10-26||Data synchronization circuit|
|Publication Number||Publication Date|
|CA1128630A true CA1128630A (en)||1982-07-27|
Family Applications (1)
|Application Number||Title||Priority Date||Filing Date|
|CA 337463 Expired CA1128630A (en)||1978-10-26||1979-10-12||Data synchronization circuit|
Country Status (3)
|US (1)||US4191849A (en)|
|BE (1)||BE878622A (en)|
|CA (1)||CA1128630A (en)|
Families Citing this family (5)
|Publication number||Priority date||Publication date||Assignee||Title|
|US4780890A (en) *||1986-09-29||1988-10-25||Microwave Semiconductor Corp.||High-speed pulse swallower|
|JPH0786855B2 (en) *||1987-04-15||1995-09-20||日本電気株式会社||Shiriarude - data processing apparatus|
|US5488639A (en) *||1993-12-21||1996-01-30||Intel Corporation||Parallel multistage synchronization method and apparatus|
|US6075985A (en) *||1997-01-23||2000-06-13||Nortel Networks Corporation||Wireless access system with DID and AIOD functions|
|US6792103B1 (en) *||1999-04-22||2004-09-14||James H. Walker||Telephonic automatic dialing system|
Family Cites Families (2)
|Publication number||Priority date||Publication date||Assignee||Title|
|US3967061A (en) *||1975-03-05||1976-06-29||Ncr Corporation||Method and apparatus for recovering data and clock information in a self-clocking data stream|
|US4007329A (en) *||1976-02-12||1977-02-08||Ncr Corporation||Data communications system with improved asynchronous retiming circuit|
Also Published As
|Publication number||Publication date||Type|
|US4584690A (en)||Alternate Mark Invert (AMI) transceiver with switchable detection and digital precompensation|
|US6754235B2 (en)||Transmitter and receiver for a very high speed digital subscriber line|
|US4125745A (en)||Method and apparatus for signaling and framing in a time division multiplex communication system|
|US4594708A (en)||Synchronization for a digital train intended for a correct framing of received information|
|US4688218A (en)||Multiplex channels for continuous flow for numerical signal|
|US5422876A (en)||Out-of-band loopback control scheme|
|US4131761A (en)||Method of and means for conveying and recovering supplementary message signals superimposed upon a multilevel signal stream in a digital transmission system|
|US5072449A (en)||Packet framing using cyclic redundancy checking|
|US3772649A (en)||Data interface unit for insuring the error free transmission of fixed-length data sets which are transmitted repeatedly|
|US3908084A (en)||High frequency character receiver|
|US3906484A (en)||Decoder input circuit for receiving asynchronous data bit streams|
|US4383322A (en)||Combined use of PN sequence for data scrambling and frame synchronization in digital communication systems|
|US4627047A (en)||Integrated voice and data telecommunication switching system|
|US4920535A (en)||Demultiplexer system|
|EP0622926A2 (en)||Extended range enhanced skew controller|
|US3651471A (en)||Data storage and transmission system|
|US6947269B2 (en)||Relay-to-relay direct communication system in an electric power system|
|US5974097A (en)||Method and apparatus for receiving a data signal and a digital filter circuit|
|US5128945A (en)||Packet framing using cyclic redundancy checking|
|US5337306A (en)||Digital tandem channel unit interface for telecommunications network|
|US5163092A (en)||Parallel scrambler used in sonet data transmission|
|US4495617A (en)||Signal generation and synchronizing circuit for a decentralized ring network|
|US3995119A (en)||Digital time-division multiplexing system|
|US4404675A (en)||Frame detection and synchronization system for high speed digital transmission systems|
|US4607364A (en)||Multimode data communication system|