The present invention relates generally to communication systems and in particular to the synchronization of timing between devices in a communication system.
Wireless telecommunications systems, particularly cellular telephone communications systems, employ strategically placed base stations having transceivers that receive and transmit signals over a carrier frequency band to provide wireless communications between two parties. Recent mobile communication standards have lead to a plurality of different modulation standards being in use within a geographic region. Wireless communication providers have had to adapt their network hardware to accommodate unique protocols associated with each modulation standard. Some modulation standards that wireless communication networks currently operate with include, but are not limited to, Advanced Mobile Phone System (AMPS), code division multiple access (CDMA), Wide-band CDMA (WCDMA), time division multiple access (TDMA), Global System for Mobile communications (GSM), Cellular Digital Packet Data (CDPD), Enhanced Data rates for GSM Evolution (EDGE), General Packet Radio Service (GPRS), Integrated Digital Enhanced Network (iDEN), and Orthogonal Frequency Division Multiplexing (OFDM).
Call processing software, controlled by the base station server, handles large amounts of data. The call processing software receives the data from the base station as well as from the host cards through communication channels. An issue that has to be dealt with in this type of communication system is how to handle the data in the channels as well as the synchronization of the channels between the call processing software and the host cards. One approach to handling this data is by working on all the channels sequentially. This approach, however, requires either a single processor for each channel or an incredibly fast processor that can hop between packets of information. This approach is very expensive and inefficient. Another approach is the use of batch processing. This allows for a general purpose processor which can work on multiple channels at a time. However, general purpose processors have their own clocks and communication between these and host cards are complicated by problems with time synchronization.
For the reasons stated above, and for other reasons stated below that will become apparent to those skilled in the art upon reading and understanding the present specification, there is a need in the art for an effective way of maintaining time synchronization in an efficient manner.
The above-mentioned problems and other problems are resolved by the present invention and will be understood by reading and studying the following specification.
In one embodiment, a method of synchronizing timing of communications between a software module and a host card is presented. The method comprises reading a time start message in a header of a page of data received from the software module and transmitting the page of data when the time start message matches a time of a time clock in the host card.
In another embodiment, a method of synchronizing the time of communications in a communication system is presented. The method comprises calculating a time start message based in least in part on a time stamp in a received page of data and a delay. Embedding the time start message in a header of a transmit page containing data samples. Comparing the time start message with a then current time from a time clock in an interface card and when the time start message matches the then current time of the time clock within a select tolerance, transmitting the data samples to a remote head.
In still another embodiment a host card for a communication system is presented. The host card includes at least one inbound buffer, a time clock, comparative circuitry and a transmit engine associated with each inbound buffer. The at least one inbound buffer is adapted to receive pages of data samples from a processing module. Each page of data includes a time start message in a header. The compare circuitry is adapted to compare a then current time from the time clock with a time start message in a header of a page of data. In addition, each transmit engine is adapted to transmit an associated page of data when the compare circuitry determines that the then current time matches a time start message in a header of the page of data.
In further another embodiment, a communication system comprises a radio head unit and a server. The radio head unit is adapted to transmit and receive data samples from one or more communication devices. The server is in communication with the radio head card. The server includes a call processing module and at least one interface card. The call processing module is adapted to process communication signals. The at least one interface card in communication with the call processing module. Moreover, each interface card includes a synchronization circuit adapted to synchronize the timing of communication signals between the call processing module and the interface card.
In still further another embodiment, a communication system is provided. The communication system includes a means for determining a time to start transmission of a page of data samples, a means for embedding a time start message of the time to start transmission of the page of data in a header of the page of data, a means of comparing the time start message with a time of a time clock in a host card and a means of transmitting the page of data when the time start message matches the time of the time clock within select tolerances.
The present invention can be more easily understood and further advantages and uses thereof more readily apparent, when considered in view of the description of the preferred embodiments and the following figures in which:
b is a block diagram illustrating a forward path in one embodiment of the present invention;
In accordance with common practice, the various described features are not drawn to scale but are drawn to emphasize specific features relevant to the present invention. Reference characters denote like elements throughout Figures and text.
In the following detailed description of the preferred embodiments, reference is made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration specific preferred embodiments in which the inventions may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that logical, mechanical and electrical changes may be made without departing from the spirit and scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the claims and equivalents thereof.
Embodiments of the present invention provide methods and systems of providing time synchronization and easy communication between host cards and call processing software modules. This allows for a general purpose server to perform batch processing and be more efficient in handling data with the call processing software. Time synchronization circuitry inside the radio head interface card (host card) helps to provide synchronization.
As illustrated in
In one embodiment, the radio head interface card 106 is adapted with a global positioning system (GPS) receiver 116 to receive GPS time pulses. The received time pulses are used to control the internal time count of radio head interface card 106. The internal time count is used by the synchronization circuit 119 to synchronize communication between the server 110, the call processing module 112 and the radio head interface card 106. Although, this embodiment employs a GPS server to receive time pulses, other embodiments, employ other systems known in the art to receive time pulses.
In one embodiment, data transmitted in a forward path is transmitted from the call processing module through the radio head interface card 206 to the radio head unit 202. The forward path in the radio head interface card 206 includes an inbound FIFO 218 and a transmit engine 220. Compare circuitry 216 is used to control when the transmit engine 220 transmits data. The Compare circuitry 216 is adapted to read a time start message embedded in a header of a page of data samples and compare it with a time clock 215 in timing circuitry 214. Once the time from the time clock 215 matches the time start message, the transmit engine begins transmitting the data to the radio head unit 202. Although, only one transmission path is illustrated in
To provide a better understanding of a forward path, a description of how the data flows through channel 230-1 in one embodiment of the present invention is provided. In a forward path, the call processing module 208 compiles voice and data information from a communication network or from the radio head interface card into pages of complex RF samples (pages of data). A page of data is sent through an associated logical channel 230-1 to an associated transmit buffer 228-1. In one embodiment, the buffer 228-1 is a FIFO 228-1. In embodiments of the present application, the transmit buffers are continuously monitored for “buffer underflow.” Buffer underflow occurs when the buffer becomes empty. When a buffer overflow condition occurs the buffer sends zeros to the transmit engine. If more than one page of zeros are sent after a buffer overflow condition occurs, a time start message needs to be sent to restart the process. Underflow is further described in application number 100.686US01 which is herein incorporated by reference.
From the buffer 228-1, the data is transferred to transmit engine 226-1. Since the passing of the data is controlled by different clocks on different sides of the buffer 228-1 (i.e. batch processing timing by the call processing module 208 and real time by the interface card 206), synchronization of when the transmit engine 226-1 should transmit the data is required. A time synchronization circuit 224-1 in this embodiment controls when the transmit engine 226-1 is to transmit the data to an associated digital up converter (DUC) 122-1 and then out to a radio head unit. In this embodiment, the call processing module 208 includes in a page header with a time start message. The time synchronization circuit 224-1 is adapted to read the time start message and compare it with the current time in the clock of the interface card 206. When the time start message matches the time from the time clock, the time synchronization circuit 224-1 directs the transmit engine 226-1 to start transmission. Also illustrated in
In one embodiment, synchronization is initiated by a flag that is also imbedded in the page header (or information page header). In this embodiment, the call processing module 208 embeds a flag in a page header that is sent to the inbound FIFO 218. This flag can be referred to as the Time Start Indicator (TSI). The TSI is either set to a “1” which in one embodiment indicates that a time start is to be observed, or a “0” which in one embodiment indicates the time start is to be ignored. In this embodiment, when the time synchronization circuit 224-1 encounters a “0” TSI the data is transmitted by the transmit engine 226-1 as soon as it is received. When the time synchronization circuit 224-1 encounters a “1” TSI the time start in the header is read and the transmit engine 226-1 transmits the data when the time clock matches the time start message.
Referring back to
In one embodiment, a delay based in least in part on the time count 311 in the time count mailbox 310 is used to determine a desired time start 313 of a transmission page 314. Further in one embodiment, the time clock 306 is run at a 71 MHz rate and is incremented modulo 71,000,000. The time delay is exemplified in this embodiment by the following equation: time start=(time start+delay) modulo 71,000,000. A valid delay number range is between zero and 33,554,431 in this embodiment. The maximum delay, called Max Delay is slightly less than half the time stamp number range and slightly less than half a second (about 0.473 seconds). Actual transmission time has a granularity of +/−the data sample time. If the time start indicator (TSI) located within the transmit page 314 is active the time start is observed. Otherwise, it is ignored and data samples are sent contiguously. That is, the first RF data sample of the new page 314 is sent immediately after sending of the last data sample of the previous page 314 when the time start is being ignored. If the time start is not to be ignored, the host card 304 compares 312 the time start to the current time clock 306. If they match, the first data sample from the transmit page 314 is sent and subsequent data samples from the page 314 follow.
A match between the time clock 306 and the time start 313 is defined as agreement within the data sample tolerance (or range). The data sample tolerance in one embodiment is +/−½ the number of time clocks between data samples. As indicated in the above example, in embodiments of the present invention, the time clock 215 within the time circuitry 214 is counting at a much faster than the data sample rate. This allows for a range of time counts that are valid for the same data sample time. In one embodiment, the time clock is a monotonic increasing clock having a time count rate of 71 Mhz. In this embodiment, 70 time counts occur between data samples when the data sample rate is 1.0 Msps. By adding a time offset to the current time, a time start is valid for the current time count and also for the succeeding 70 counts (just before the next data sample time). The transmit engine 220 is adapted to transmit information received from the call processing module 208 to the radio head unit 202 when the time start≦current time+time offset wherein, in the above embodiment, the time offset equals 70.
In another embodiment the clock circuit 215 is a clock rollover. In an embodiment having a clock rollover frequency of 71 MHz, a 32-bit counter is used. This counter naturally rolls over at about 232 or 4 billion clock pulses (which occurs in about a one minute time frame). However, instead of allowing the counter to rollover naturally, it is reset to zero upon every occurrence of a one second GPS pulse. This effectively makes it 71 million clock pulses (counts) to rollover. In one embodiment only half the range of time counts, centering on zero, are considered a valid count difference. This embodiment accounts for the rollover and the elimination of meaning for past and future times. An eight bit example of this would result in using the following equation: Difference=current time−time start+time offset; −127≦valid difference≦+127. The differences are counted with an absolute value greater than half the total range and are used to detect and correct time rollover. This correction is done using modulo 256 arithmetic. If difference is <−128 then corrected difference=difference+128 (correction one). If difference is >+127, then corrected difference=difference−128 (correction two). Correction one applies if the most significant bit (MSB) is one and any of the other “upper” bits are zero. Correction two applies if the MSB is zero and any of the other “upper” bits are one. Other embodiments, using various sized counters are contemplated and within the scope of the invention. Methods of correcting clock rollover used above are similarly applied in these other embodiments.
Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement, which is calculated to achieve the same purpose, may be substituted for the specific embodiment shown. This application is intended to cover any adaptations or variations of the present invention. Therefore, it is manifestly intended that this invention be limited only by the claims and the equivalents thereof.
This application is related to the following co-pending United States patent applications filed on even date herewith, all of which are hereby incorporated herein by reference: U.S. patent application Ser. No. ______ (attorney docket number 100.672US01 entitled “DYNAMIC FREQUENCY HOPPING”) and which is referred to here as the '672 application; U.S. patent application Ser. No. ______ (attorney docket number 100.673US01 entitled “DYNAMIC DIGITAL UP AND DOWN CONVERTERS”) and which is referred to here as the '673 application; U.S. patent application Ser. No. ______ (attorney docket number 100.675US01 entitled “DYNAMIC RECONFIGURATION OF RESOURCES THROUGH PAGE HEADERS”) and which is referred to here as the '675 application; U.S. patent application Ser. No. ______ (attorney docket number 100.676US01 entitled “SIGNAL ENHANCEMENT THROUGH DIVERSITY”) and which is referred to here as the '676 application; U.S. patent application Ser. No. ______ (attorney docket number 100.677US01 entitled “SNMP MANAGEMENT IN A SOFTWARE DEFINED RADIO”) and which is referred to here as the '677 application; U.S. patent application Ser. No. ______ (attorney docket number 100.678US01 entitled “TIME STAMP IN THE REVERSE PATH”) and which is referred to here as the '678 application; U.S. patent application Ser. No. ______ (attorney docket number 100.679US01 entitled “BUFFERS HANDLING MULTIPLE PROTOCOLS”) and which is referred to here as the '679 application; U.S. patent application Ser. No. ______ (attorney docket number 100.681US01 entitled “LOSS OF PAGE SYNCHRONIZATION”) and which is referred to here as the '681 application; U.S. patent application Ser. No. ______ (attorney docket number 100.684US01, entitled “DYNAMIC REALLOCATION OF BANDWIDTH AND MODULATION PROTOCOLS” and which is referred to here as the '684 application; U.S. patent application Ser. No. ______ (attorney docket number 100.685US01 entitled “DYNAMIC READJUSTMENT OF POWER”) and which is referred to here as the '685 application; U.S. patent application Ser. No. ______ (attorney docket number 100.686US01 entitled “METHODS AND SYSTEMS FOR HANDLING UNDERFLOW AND OVERFLOW IN A SOFTWARE DEFINED RADIO”) and which is referred to here as the '686 application; and U.S. patent application Ser. No. ______ (attorney docket number 100.700US01 entitled “INTEGRATED NETWORK MANAGEMENT OF A SOFTWARE DEFINED RADIO SYSTEM”) and which is referred to here as the '700 application.