Abstract:
In a small business-type telephone exchange, calls are set up in TDM manner using PCM to convey speech and data if the exchange serves any data terminals. The exchange has subscriber line ports (SLC) each serving two lines and a smaller number of trunk line ports (TLC) each serving a trunk to a local exchange. Each port has a local processor (SIP) with analogue-digital and digital to analogue conversion circuitry (CODEC-FILTER-TSAC). The exchange also has a central processor (CCP) with its associated memories (ROM, RAM, EAROM). 
     The ports and the central processor are interconnected by an intelligence bus (PCM BUS) and a signalling bus (SIG BUS). The central processor (CCP) and the port processors (SIP) co-operate in call setting with all communications between the processors over the signalling bus. During operation the central processor (CCP) polls the ports via the signalling bus (SIG BUS) for ports needing the services of the central processor and also to pass call control information to those ports. 
     To set up a call between the lines, or a line and a trunk, two time slots in the TDM cycle are allocated to the call by the central processor, one for each direction of transmission. The intelligence bus (PCM bus) is thus used only to convey intelligence, i.e. speech and/or data and tones.

Description:
BACKGROUND OF THE INVENTION 
     This invention relates to automatic telecommunication exchanges, and especially to such exchanges for use as PABX&#39;s. 
     The system to be described herein is an expandable digital PABX intended for the small business user. It caters for voice calls, any combinations of voice and data calls, data calls only, and ISDN (Integrated Services Digital Network) access. 
     SUMMARY OF THE INVENTION 
     According to the invention there is provided an automatic telecommunication exchange, in which telecommunication connections are set up in time division multiplex (TDM) manner, in which the exchange includes a number of system ports each connected to an intelligence bus and a signalling bus, each said port serving one or a small number of subscriber lines and including a processor connected to the signalling bus, in which the exchange includes a central processor which is also connected to the signalling bus, in which the central processor and the port processors co-operate in call establishment, all communication between the processors being via the signalling bus, in which the central processor polls the port processors successively in search of port processors whose conditions indicate that they need service, and in which the time slots in the TDM cycle to be used to set up calls over the intelligence bus are allocated by the central processor, the lines involved in the calls being connected to the intelligence bus at the appropriate time slots by the respective port processors, the arrangement being such that all signalling is effected via the signalling bus, the intelligence bus being used only for the conveyance of intelligence such as speech and tones. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     An embodiment of the invention will now be described with reference to the accompanying drawings, in which 
     FIG. 1 is a system block diagram of a telecommunication exchange embodying the invention. 
     FIG. 2 is a block diagram of one of the terminals used in the system of FIG. 1. 
     FIG. 3 is a block diagram of an ISDN line card which may be used in the system of FIG. 1. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The exchange described herein is an expandable digital PBX, intended for the small business user. It uses time division multiplex (TDM), with PCM, and the basic time slot rate in 8 KHz, with a 32 slot frame. Two of these slots are used for the conveyance of tones, which leaves 30 available for voice/data communication. Separate slots are used for the two directions of transmission. The basic system is equipped with 10 &#34;physical slots&#34; giving, for example, up to 10 extension lines and 5 trunk lines. This is a non-blocking arrangement: if some blocking can be tolerated a larger number of extension lines and/or trunk lines can be provided. An expansion unit can be added to give a further 10 such &#34;slots&#34;, to provide up to 20 extension lines and 10 trunk lines. Note that extension lines are equipped in steps of two and trunk boxes in steps of one, and that the actual configuration is flexible. 
     Referring now to FIG. 1, the exchange has a central control processor CCP with which are associated various blocks of memory. This includes the memory block ROM containing operational software, a block EAROM for permanent data of the system, and a block RAM which is random access memory to provide a working memory. The processor CCP has access to a common system signalling bus SIG BUS via an input/output block I/O, and an input/output decode block IOD. Associated with the processor is a watch dog controller WDC, the operation of which will be described later. 
     The extension lines&#39; and trunk lines&#39; have access to the exchange&#39;s ports via subscriber line cards SLC, trunk line cards TLC, digital line cards and data line cards. Each of the above cards can occupy one &#34;physical slot&#34; on the backplane of the exchange, to which the card is attached by a self-supporting connector, and may support one or two system terminals, as will be seen. Each card has a microprocessor, enabling a uniform interface to the bus, whichever terminal is to be connected. Digital trunk access is provided by an ISDN line card, as will be explained below. 
     A subscriber line card such as SLC connects two telephone terminals to the exchange, and carries two line circuits controlled by a single on-chip microprocessor SIP. A line circuit includes a combined codec/filter, which converts audio analogue signals to and from A-bus 8-bit PCM and an interface circuit (SLIC) which performs two-four wire signal conversion and feeds the audio portion of the telephone, i.e. the block VC. This latter is connected to the telephone via protection circuitry PROT. Note the telephone terminal is four wire, two for audio and two for signals. A data circuit SC enables signalling to and from the terminal, i.e. dialled digits, on/off hook, tone caller on/off, etc. As can be seen from FIG. 1, all signalling information is processed by the processor SIP, at the line card SLC which is regularly polled by the CCP over a common signalling bus SIG BUS, which interconnects all of the processors. There is also a common PCM bus which interconnects all line cards, and a common clock bus PCM-CLK. 
     A line card&#39;s SIP also controls the codec, with which is associated a time slot assignment circuit TSAC, the function of which will be described later; to assign transmit and receive timeslots under the control of CCP. The elimination of signalling from the speech path enables the cost of the speech line circuit to be reduced, as no ringing supplies are needed, and no loop detection is needed. The power feed to the telephone terminal is via the signalling pair, and supplies a higher level of current at -50 V than is needed for a normal telephone. The actual signalling on this pair uses a technique, in which the line voltage is modulated, without affecting the power feed circuitry. The data rate is 6000 baud. 
     A digital line card, which is similar in many respects to a subscriber line card SLC, permits two digital subsets to be connected to the system. It includes duplicate circuits made up of a line transmission section, multiplexer/demultiplexer section and time slot assigner. As in the subscriber&#39;s line card SLC, a data line card is controlled by a single chip microcomputer. 
     A trunk line card TLC is similar to the other cards except that it carries a single trunk circuit only. It has a transmission and signalling circuit XC, suited to the local exchange (or larger PABX) to which the exchange shown is connected. The TLC also has various detection circuits, i.e. WIRE DET, LOOP DET, and RING DET, and a LINE SEIZE circuit and OUTPULSE circuitry. Associated with all of these there is a two VF generator DTMF. An option available and shown in FIG. 1 is a power fail circuit, with which is associated a standard telephone T, so that communication is possible over the trunk during power failure conditions. It is also possible to provide tie line operation to another PABX. 
     A data line card can also be provided: this operates as a data port with no voice working. It is the same as the digital card and mentioned above, except for some additional logic to enable standard data terminals to be connected to it. This enables data at band rates such as 2400, 9600, 19200, etc to be multiplexed up to the 64K bit rate used in the exchange shown. 
     The conference supervision circuit CSC allows three-party calls, either two extensions plus one trunk, or one extension plus two trunks, or three extensions. Two of these may be provided, although only one is shown. This circuit CSC takes the PCM codes from the three conferees and selects the one of largest amplitude, which is then passed to the parties with lower amplitudes. Hence a conferee always hears the loudest party&#39;s voice, but not his own. The circuit CSC also uses a microprocessor. Connection to the PCM bus is via three serial in-parallel out shift registers for the &#34;talk&#34; timeslots, and via a single parallel in-serial out shift register for connection to the &#34;listen&#34; timeslots. 
     The various tones used in the exchange are generated by a ROM based synthesiser circuit. 
     The PCM bus consists physically of the ten connectors in the exchange case to which the various line cards are plugged, and the interconnecting tracks on the printed circuit board backplane. This is extendable to twenty such connections by adding a second plug-in backplane. There are five tracks on the backplane, four of which interconnect four pins of each line card. The tracks are terminated at each physical end of the bus to reduce distortion due to reflection. The tracks and the signals they convey are as follows: 
     (a) PCMLISA is the &#34;listen&#34; connection for the A channel of an SLC, and also the &#34;listen&#34; connection for the speech channel of a TLC. 
     (b) PCMLISB is the &#34;listen&#34; connection for the B channel of an SLC. 
     (c) PCMTLKA is the &#34;talk&#34; connection for the A channel of an SLC and of a TLC. 
     (d) PCMTLKB is the &#34;talk&#34; connection for the B channel of an SLC. 
     (e) AUXPCM is a spare PCM bus, for possible use, for example, as a data channel for ISDN (Integrated Services Digital Network) aperatus. 
     The PCM bus has 32 slots, at 64K b/s, which forms a 2.048M bit/sec. system, and is serial in operation, with 8-bit codes. As already mentioned, two slots, 0 and 1, are reserved for tones, which leaves 15 full duplex channels available. Timing is controlled by the clock bus PCM-CLKS. 
     The signalling bus S16 BUS enables CCP to communicate with the SIP&#39;s, and is 8-bit wide bidirectional, the SIP&#39;s acting as slaves to CCP. An SIP assembles any serial signalling from its terminal into message packets ready to send them on the SIG BUS when requested by CCP. Any messages to be sent to a telephone from CCP are reformatted by its SIP to allow serial signalling. 
     The S1G BUS is eight bits wide, i.e. eight parallel data line tracks on the backplane, with tracks for another five signals, as listed below. 
     (a) DSO-DS7 are the eight data lines, which go to every line card and CSC. They are connected to the internal data bus of CCP via a bidirectional buffer, and are terminated to reduce distortion due to reflection. 
     (b) SRD is the signal bus read signal, which also goes to every line card and CSC. It is driven from CCP via a buffer, and is used by CCP to &#34;tell&#34; the appropriate SIP that a byte transfer to the CCP is needed. 
     (c) SWR is the signal bus write signal, which also goes to every line card and CSP. It is driven from CCP via a buffer, and is used to &#34;tell&#34; the SIP that a byte transfer from the CCP is needed. 
     (d) SIPSEL n is a unique signal to every line card and CSC, derived from the I/O decoder of the CCP and used by it to select the SIP or CSC for which a data transfer in either direction is needed. 
     (e) SELECT goes to every line card and CSC, and is driven by the CCP address line via a buffer. It is used by CCP to indicate whether the byte transfer is to be status information or data. 
     (f) SIPCLK is the line card SIP drive clock, sent to every line card and CSC. It is generated by the clock systems and has a frequency of 6 MHz, +/-0.1%. 
     (g) SIPRST is the line card reset signal, and goes to every line card and CSC. It is derived from the CCP RESET OUT pin, used to reset the SIP&#39;s and CSC&#39;s when the exchange is powered up. 
     The clock bus PCM CLK has three parallel tracks to all line cards and track cards, the tracks and signals being listed below. 
     (a) PCM CLK is a 2.048 MHz clock, the actual bit rate for the PCM code on the PCM bus. 
     (b) FRM SYNC identifies the positive edge of the first PCM CLK bit in a frame. 
     (c) REMCLK is connected to every card SLC or TLC, and carries an 8 KHz clock from one only of any digital trunk or ISDN cards equipped. This clock feeds the SYNC input of the clock systems, and aligns the PCMCLK to it and &#34;locks on&#34;. 
     PCMCLK and FRMSYNC are generated by the clock systems. All bus tracks are terminated to reduce distortion due to reflection. 
     When the exchange of FIG. 1 is connected to a local exchange via a digital trunk, these clocks must be synchronised with those of the local exchange. This is done by aligning the local oscillator with a clock extracted from the local exchange signalling. 
     The telephone terminal used, FIG. 2, includes a conventional analogue speech circuit AS, but all signalling such as on/off hook, digit sending and ringing uses the separate data circuitry. This is all controlled by a microcomputer MCC, which communicates with the line card&#39;s SIP via a two-wire serial line. MCC also controls keyboard decoding, lamp driving for the display LB, tone caller TC, and on/off hook detection. A power take off circuit PTO derives power from the line&#39;s signalling pair. 
     In addition to the keypad shown, there is a set of programmable function keys (not shown), usable for repertory dialling, signal button or &#34;intercom-type&#34; working for internal calls, and &#34;bus/secretary&#34; facilities. 
     An operator&#39;s console is a standard telephone terminal with such facilities as needed. 
     FIG. 3 shows an ISDN line card, which in many respects resembles an SLC, except that it connects one line to a local exchange to an exchange such as that of FIG. 1. This line card include line transmission equipment LTE, a multiplexer/demultiplexer MUX and the interface to a system such as FIG. 1. This includes the time slot assignment circuitry TSAC, microcomputer, signalling buffer and the clock/sync extraction. The microcomputer encodes and decodes the signalling on the 16K bit channel of the ISDN link for CCP. The two 64K bit channels are routed separately from the exchange, hence the use of two TSAC&#39;s, either to another ISDN and for connection to a system terminal or to a separate source and data port. 
     The ISDN card also has a line-powered section for connection to a digital subset to provide for voice calls only during power failure conditions. 
     The MUX &#34;front end&#34; contains a clock extraction section which produces an 8 KHz clock from the 16K bit channel. This clock is routed to the exchange&#39;s clock circuitry so that it can lock to and thus be in sync with the local exchange. Frame alignment is also effected in MUX. 
     During operation of the system, the central processor CCP polls the processors SIP on the line cards SLC, TLC, sequentially in search of one which requires service. When a subscriber initiates a call, his off-hooking is detected by the processor SIP on his line card, via the subscriber&#39;s signal circuit SC. In response to such detection, the processor SIP applies a marking to the signal bus, and this marking is detected when the processor CCP polls the &#34;calling&#34; processor SIP. 
     When CCP finds a &#34;calling&#34; SIP, the identification thereof is signalled via the signalling bus to CCP, the information thus signalled including an identification of the wanted line or trunk. CCP then, during its polling cycle tests the wanted line or trunk for busy or free, and if it is free it &#34;letts&#34; it by a pocket of information sent over the SI6 BUS of the identity of the calling line. The wanted line or trunk (unless the outgoing connection is set up) receives the appropriate tones from the tone generator. These would include busy tone if the wanted line is busy. 
     If the call can be set up, CCP allocates two free time slots on the PCM bus for the call, and advises the line cards in question. Then unless the wanted line responds to the ringing by off-hooking, the call is completed.