WikiPatents - Community Patent Review
Create Free Account  |  License or Sell Your Patent  |  WikiPatents Marketplace  |  WikiPatents Blog
Username:  Password:  
    
Advanced Search
Distributed time synchronization system and method    
United States Patent5408506   
Link to this pagehttp://www.wikipatents.com/5408506.html
Inventor(s)Mincher; Richard W. (San Jose, CA); Lynn; Kerry E. (Redwood City, CA)
AbstractA distributed time synchronization system and method synchronizes nodes within a frequency hopping spread spectrum (FHSS) local area network (LAN) group to a virtual master clock value. Each node system of the present invention comprises a CPU, an input device, a display device, a printer or hard copy device, a given amount of RAM and ROM memory, a data storage device, a local clock, a transmitter/receiver, an antenna, a virtual master clock processor, and a common data bus. The method of the present invention comprises the inclusion of a node's local clock value in a message just prior to transmission over the network, storage of a node's local clock value in RAM after an incoming message has been received, and the calculation of the time delay between the sending node and the receiving node by the virtual master clock processor. The virtual master clock processor utilizes this time delay in maintaining a virtual master clock value, which it uses in adjusting the value of the node's local clock at periodic intervals. This synchronizes the receiving node to the virtual master clock value. If the magnitude of the time delay exceeds a maximum allowed value, the magnitude is clamped to the maximum allowed value, thereby maintaining synchronization within a predetermined tolerance. A node can receive a message transmitted over the FHSS LAN regardless of the message address. Synchronization is therefore maintained without requiring a node to be able to communicate with any specific node within the FHSS LAN group.
   














 Title Information Submit all comments and votes
 
Patent Text Patent PDF Print Page Summary File History
Plain text PDF images Print Summary File History
Drawing from US Patent 5408506
Distributed time synchronization system and method - US Patent 5408506 Drawing
Distributed time synchronization system and method
Inventor     Mincher; Richard W. (San Jose, CA); Lynn; Kerry E. (Redwood City, CA)
Owner/Assignee     Apple Computer, Inc. (Cupertino, CA)
Patent assignment
All assignments
Publication Date     April 18, 1995
Application Number     08/089,431
PAIR File History     Application Data   Transaction History
Image File Wrapper   Patent Term   Fees
Litigation
Filing Date     July 9, 1993
US Classification     375/134 370/507 375/133 375/357
Int'l Classification     H04L 007/00 H04J 003/06
Examiner     Coles Sr.; Edward L.
Assistant Examiner     Ning; John
Attorney/Law Firm     Sueoka; Greg T.
Address
Parent Case    
Priority Data    
USPTO Field of Search     370/100.1 370/103 370/105 375/107 375/108 455/52.1 455/51.2
Patent Tags     distributed time synchronization
   
Enter a comma (,) or semicolon (;) between multiple tag words/phrases.
Describe this patent:
 Amusing   
 Clever   
 Complex   
 Efficient   
 Historic   
 Important   
 Innovative   
 Interesting   
 Practical   
 Simple   
[no votes]
Patent WIKI

Share information and news about this patent, including information and news about the technology, inventors, company, ligation and licensing.

 References Submit all comments and votes
 
*references marked with an asterisk below are user-added references
 U.S. References
 
Add a new US reference:  
ReferenceRelevancyCommentsReferenceRelevancyComments
5027375
Ernst
375/356
Jun,1991

[0 after 0 votes]
5001730
Franaszek
375/356
Mar,1991

[0 after 0 votes]
4926446
Grover
375/358
May,1990

[0 after 0 votes]
4866606
Kopetz
713/375
Sep,1989

[0 after 0 votes]
4815110
Benson
375/356
Mar,1989

[0 after 0 votes]
4736393
Grimes
375/356
Apr,1988

[0 after 0 votes]
4598413
Szechenyi
375/368
Jul,1986

[0 after 0 votes]
5200957
Dahlin
370/331
Dec,1969

[0 after 0 votes]
 Foreign References
 Other References
 Market Review Submit all comments and votes
   
Market Size
Estimate the gross annual revenues of the relevant market sector:
> $10B
$5B - $10B
$2B - $5B
$500M - $2B
$100M - $500M
$10M - $100M
$1M - $10M
$500K - $1M
$100K - $500K
< $100K
[No votes]
$0
 
$0   $2.5B   $5B   $7.5B   $10B
Market Share
Estimate the percentage of the relevant market sector this invention will capture:
75% - 100%
50% - 74.99%
25% - 49.99%
10 - 24.99%
5 - 9.99%
2 - 4.99%
1 - 1.99%
< 1%
[No votes]
0.0%
 
0%   25%   50%   75%   100%
Reasonable Royalty
What percentage of gross sales should the inventor or assignee be paid?
75% - 100%
50% - 74.99%
25% - 49.99%
10 - 24.99%
5 - 9.99%
2 - 4.99%
1 - 1.99%
< 1%
[No votes]
0.0%
 
0%   25%   50%   75%   100%
Public's "Guesstimation" of Royalty Value
Market SizeN/A[No votes]
xMarket ShareN/A[No votes]
xReasonable RoyaltyN/A[No votes]

N/A

License Availablity
If you are NOT the owner or assignee, answer here:
Yes, license is available for purchase

No, license is not currently available



[No votes]
License Availablity
If you ARE the owner or assignee, answer here:
Yes, license is available for purchase

No, license is not currently available



[No votes]
Competitive Advantage
Does this invention have a significant competitive advantage over similar technologies?
Yes

No



[No votes]
Most helpful competitive advantage comment
[No comments]

Commercial Alternatives
Are there viable commercial alternatives for this invention?
Yes

No



[No votes]
Most helpful commercial alternative comment
[No comments]

 Technical Review Submit all comments and votes
 Claims Submit all comments and votes
 


What is claimed is:

1. A distributed time synchronization system for a wireless communications network having a plurality of node systems, each node system comprising:

a display device for displaying information to the user, the display device having an input;

an input device for inputting information to the system, the input device having an output;

a local clock having an input and an output for providing a timing signal, the input of the local clock for receiving a signal to adjust the local clock;

a transmitter/receiver for receiving and translating radio signals into digital signals and for translating and transmitting digital signals into radio signals in response to digital control signals, the transmitter/receiver coupled to an antenna to receive and transmit radio signals, the transmitter/receiver having an input and an output for processing digital signals;

a virtual master clock processing means for calculating the value of a virtual master clock for the node system, the virtual master clock processing means coupled to the transmitter/receiver, the virtual master clock processing means extracting time synchronization information from each message received over the network during a predetermined time interval and using the synchronization information extracted from each message received to calculate the value of the virtual master clock;

a processing unit for adding synchronization information to each message sent by the transmitter/receiver, and for using the value of the virtual master clock to adjust the local clock, the processing unit having inputs and outputs coupled to the input device, the display device, the local clock, the transmitter/receiver and the virtual master clock processing means; and

a memory for storing data and routines, the memory having inputs and outputs, the memory including a first memory area storing a routine for sending messages with time synchronization information, a second memory area storing a routine for receiving messages and storing a local clock value corresponding to each message received, and a third memory area storing a routine for adjusting the local clock using extracted synchronization information, the first and second memory areas coupled to the transmitter/receiver and the processing unit, and the third memory area coupled to the local clock and the virtual master clock processing means.

2. The system of claim 1, wherein the transmitter/receiver further comprises:

a receiver for receiving radio signals and converting them to digital signals, the receiver having an input and an output, the input coupled to the antenna;

a transmitter for receiving digital signals and converting them to radio signals, the transmitter having an input and an output, the output coupled to the antenna; and

a buffer for storing data, the buffer coupled to the receiver and the transmitter for storing digital signals from each, the buffer having inputs and outputs, an output of the buffer coupled to the input of the transmitter, and an input of the buffer coupled to the output of the receiver, the inputs and outputs of the buffer also coupled to the processing unit.

3. The system of claim 1, wherein the virtual master clock processing means further comprises:

an adjustment timer for maintaining a time count indicating when the local clock is to be adjusted and when frequency hopping occurs;

a plurality of buffers; and

control circuitry.

4. The system of claim 1, wherein each message includes a value of the local clock of a sending node system when the message is transmitted, and the virtual master clock processing means determines the value of the virtual master clock by calculating the difference between the value of the local clock when the message is received and the value stored in the received message for each message received within the predetermined time interval, and averaging the calculated differences.

5. A computer implemented method for synchronizing a plurality of node computer systems in a communications network, the node computer systems being coupled by a media, each node computer system having a local clock, the method comprising the steps of:

storing time synchronization information as part of a first message at a first node computer system;

sending the first message over the network using the first node computer system;

storing time synchronization information as part of a second message at a second node computer system;

sending the second message over the network using the second node computer system;

receiving the first message at a third node computer system in the communications network;

extracting the time synchronization information from the first message at the third node computer system;

receiving the second message at the third node computer system in the communications network;

extracting the time synchronization information from the second message at the third node computer system; and

adjusting the local clock of the third node computer system using the time synchronization information extracted from both the first and second messages.

6. The method of claim 5, further comprising the step of monitoring the availability of the media used by the network for communication using the first node computer system before the step of sending the first message.

7. The method of claim 5, wherein the time synchronization information is stored in the first message just prior to the step of sending the first message and the time synchronization information stored in the first message comprises the value of the local clock of the first node computer system just prior to the sending step.

8. The method of claim 5, further comprising the steps of:

storing a local clock value for the second node computer system at the time the first message is received; and

wherein the step of adjusting the local clock value for the second node computer system includes a comparison of the local clock value of the storing step to the time synchronization information extracted from the first message.

9. The method of claim 5, further comprising the steps of:

receiving the second message at the first node computer system;

extracting the time synchronization information from the second message at the first node computer system;

receiving the first message at the second node computer system;

extracting the time synchronization information from the first message at the second node computer system;

adjusting the local clock of the first node computer system using the time synchronization information extracted from the second message; and

adjusting the local clock of the second node computer system using the time synchronization information extracted from the first message.

10. A computer implemented method for receiving messages and synchronizing a first node computer system in a communications network having a plurality of node computer systems being coupled by a media, the first node computer system having a local clock and a memory, the method comprising the steps of:

monitoring the media for a message;

determining whether a message was detected on the media;

returning to the monitoring step if a message was not detected on the media;

transferring the incoming message from a transmitter/receiver of the first node computer system to the memory of the first node computer system;

storing the value of a local clock of the first node computer system at the time the message is received in memory of the first node computer system;

extracting time synchronization information from each message received at the first node computer system; and

adjusting the local clock of the first node computer system using the time synchronization information extracted from each message received.

11. The method of claim 10, further comprising before the adjusting step the steps of:

determining whether it is time to adjust the local clock of the first node computer system; and

processing and waiting for messages if it is not time to adjust the local clock of the first node computer system.

12. The method of claim 11, wherein the network is a wireless frequency hopping spread spectrum network, and the step of determining whether it is time to adjust the local clock of the first node computer system is performed by measuring whether one-half of a dwell time has elapsed since a most-recent frequency hop.

13. The method of claim 11, wherein the step of processing and waiting for messages further comprises the steps of:

determining whether a new message has been received;

returning to the step of determining whether it is time to adjust the local clock, if no new message has been received;

obtaining the new message from memory if a new message has been received;

obtaining time of receipt information from memory, the time of receipt information corresponding to the new message;

calculating the difference between the time synchronization information extracted from the new message and the time of receipt information obtained; and

maintaining an average time difference.

14. The method of claim 13, the step of processing and waiting for messages further comprises the steps of:

comparing the difference between the time synchronization information and the time of receipt information obtained to a clamping value; and

using the clamping value instead of the difference between the time synchronization information and the time of receipt information obtained for maintaining the average time difference if the difference between the time synchronization information and the time of receipt information obtained is greater than the clamping value.

15. The method of claim 13, wherein the step of adjusting the local clock of the first node computer system using the time synchronization information further comprises the steps of:

determining whether any message has been received by the first node computer system;

sending an synchronization request message over the network if no message has been received by the first node computer system; and

adjusting the clock using the average time difference if a message has been received.

16. A computer implemented method for joining a first node computer system to a wireless frequency hopping spread spectrum communications network having a plurality of node computer systems being coupled by a media with a plurality of logical channels, and being characterized by a network identification, the method comprising the steps of:

selecting a channel of the media with the first node;

sending a join request message on the selected channel of the media;

scanning the selected channel for any message transmitted on the selected channel;

extracting a network identification and time synchronization information from any message transmitted on the selected channel;

determine whether the extracted network identification is the same as that for the network the first node computer system is joining; and

adjusting a local clock of the first node computer system using the time synchronization information from the message transmitted on the channel if the network identification corresponds to the network the first node computer system is joining.

17. The method of claim 16, wherein the steps of the method are repeated on each of the channels utilized by wireless frequency hopping spread spectrum communications network.

18. The method of claim 17, wherein the steps of sending a join request message is repeated at least once on each channel before the steps are repeated on another channel.

19. The method of claim 17, wherein each channel is scanned for a predetermined amount of time, and-the method changes channels a rate ten times greater than the hopping rate of the wireless frequency hopping spread spectrum communications network.
 Description Submit all comments and votes
 


BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates generally to local area networks (LAN), and more particularly, to a system and method for ensuring time synchronization between two or more computer systems communicating via a wireless LAN. Still more particularly, the present invention relates to a distributed time synchronization system and method for a frequency hopping spread spectrum LAN, which utilizes a plurality of logical frequency channels within a frequency band for communication.

2. Description of the Background Art

A wireless LAN system does not have any hardwired couplings between nodes. This allows nodes to easily join and exit a given LAN, and eliminates the need for routing LAN cabling to each node site. Communication between nodes in a wireless LAN is accomplished by transferring information using electromagnetic signals having a specified frequency range. Such a frequency range has a finite bandwidth, which limits the amount of information that can be transferred. In situations having many nodes or groups of nodes utilizing the same frequency range, bandwidth limitations severely restrict the efficient transfer of information. Spread spectrum (SS) communication techniques have been used to improve bandwidth availability in situations involving many communicating systems. One such spread spectrum technique is known as frequency hopping spread spectrum (FHSS). In a FHSS LAN, communication between nodes is accomplished by transferring information using electromagnetic signals within a plurality of logical frequency channels spanning a frequency band. Each logical frequency channel comprises one or more physical frequency channels, with each physical frequency channel having a designated bandwidth. In a FHSS LAN, information is preferably transmitted sequentially and redundantly on each physical frequency channel within a logical frequency channel, thereby making the logical frequency channel bandwidth the same as that of any single physical frequency channel. A group of nodes communicating in a FHSS LAN utilize one logical frequency channel within the frequency band for a designated amount of time. After the designated amount of time, all the nodes in the group must move to a new logical frequency channel within the frequency band, hence the term frequency hopping spread spectrum. Since nodes within a given group transfer information on a specific logical frequency channel only for a limited time, that channel's bandwidth becomes available after the group's frequency hop. Another group of nodes may then communicate on this logical frequency channel for the designated amount of time. Since each node within a group is required to move to a new logical frequency channel at a prescribed time, the importance of synchronization between each node's clock becomes apparent.

Any logical frequency channel within a band can be subject to interference or noise; thus, moving to a new logical frequency channel also aids in improving signal reception if such effects are present within a portion of the frequency band. FCC regulations are structured in a manner which reflects these considerations, and have mandated specific FHSS rules for frequency bands at 900 and 2400 MHz.

Within a single FHSS LAN group, the lack of perfect synchronization between nodes requires the use of a "dead-time" interval that includes time periods before and after a frequency hop. During this dead time, no information is transmitted by any of the nodes. Providing such dead time ensures that all nodes have completed all sending and receiving of information prior to a frequency hop, and that all nodes have moved to the new channel and are ready to communicate again after the frequency hop, before transmission of information begins. Thus, time synchronization between the clocks of each node included within a FHSS LAN group is essential in order to minimize the dead-time, and thereby maximize the time available for sending and receiving information.

In the prior art, many have attempted to solve LAN time synchronization problems by designating one or more nodes as masters. In a single-master LAN, one node is designated as the master node and the clock of the designated node is utilized as the timing standard for every other node connected to the network. This requires the master node periodically send a special time synchronization message to all other nodes within the network. Thus, all nodes in a single-master system must be capable of receiving messages from the master.

On a FHSS LAN, and in general on any wireless LAN, electrical noise and interference, coupled with signal attenuation effects corresponding to node separation distances, signal path obstacles, or multipath fading arising from signal reflections preclude continuous reliable communication between a node and another specified node. It is therefore desirable to maintain a wireless LAN environment in which a node is considered to be a member of a designated wireless LAN group if it can communicate with at least one other node within the group. Since each node within a single-master LAN system must be able to communicate with the master node, a single-master LAN system does not allow the flexibility desired in a wireless LAN environment.

If, within a single-master LAN system, the master's clock fails, or if the node serving as the master leaves the network, provisions must exist for the removal of the current master, and for the selection of another node as a new master. Other nodes within the LAN require a certain amount of time in order to determine if communication with the master node cannot take place. Time is also required to select a new master node. Thus, in this situation the nodes have no synchronization source until a new master is selected. This is undesirable in any type of LAN since this increases the likelihood that synchronization cannot be maintained between nodes. Particularly in the case of a FHSS LAN, close synchronization must be maintained in order to maximize the amount of time available for information transfer between nodes prior to moving to a new logical frequency channel. Moreover, close synchronization helps to minimize any drift away from a synchronized state in the event that one or more nodes cannot communicate within the FHSS LAN for a limited time.

Another problem associated with single-master LAN systems pertains to the master node recovering from a temporary communication problem. If a new master node has been selected during a time interval in which the original master node could not communicate, the LAN will have two master nodes after the original master node's recovery. Synchronization differences between the two master nodes results in conflicting synchronization messages being sent over the LAN. This situation is obviously undesirable on a FHSS LAN, since conflicting synchronization messages would cause nodes to move to a new logical frequency channel at different times.

In general, if information is being transferred on a LAN, a node wishing to send a message to another node must wait until the current information transfer has been completed before the message can be sent. In like manner, a node within a FHSS LAN is able to transmit information to other nodes only when the current frequency channel is not being used for information transmission by another node. On a FHSS LAN, the information transfer capacity of any given logical frequency channel is limited by the logical frequency channel bandwidth, and by the limited amount of time the nodes in a LAN group remain on the channel. The limited information transfer capacity on any given channel dramatically increases the importance of minimizing unnecessary information transfers. A FHSS LAN must therefore minimize the number of information transfers pertaining to LAN maintenance, thereby maximizing the amount of time available for other information transfer. The presence of special time synchronization messages and master-related LAN maintenance messages on a single-master LAN would adversely affect the performance of a FHSS LAN, and are therefore not suitable for use in such a system. Node synchronization on a FHSS LAN must be achieved without such messages in order to maximize communication efficiency.

In a multiple-master LAN, two or more nodes serve as masters for time synchronization purposes. Nodes within this type of LAN collect synchronization messages from each master at regular intervals, and typically calculate a corresponding average correct time. This requires each node to have the capability to communicate with at least one master node. As discussed above, in a wireless LAN environment reliable communication between two specific nodes is not always possible. As a result, a multiple-master system cannot be used as the basis for a FHSS LAN.

As in the case of a single-master LAN, a multiple-master LAN must have provisions for the selection and removal of masters. Such provisions would greatly increase the message traffic on a wireless LAN, adversely affecting communication efficiency as discussed for the single-master LAN.

On the multiple-master LAN, if the difference between a node's current clock value and the calculated average obtained from master node clock values is within a predetermined tolerance, the node can update its clock by setting its clock to be the same as the average. If the tolerance limit is exceeded, the node sends an argument message comprising its clock value to all other nodes within the LAN. After receiving the argument message, each of the other nodes treats the argument message as a synchronization request message, and in turn send their clock values to the node which originally sent the argument message. This node then calculates a new average clock value for use in updating its clock. The number of messages transferred during the argument procedure can become quite large, flooding a FHSS LAN with messages and consuming a channel's information capacity. Synchronization discrepancies between each node's clock and the degradation of network performance because of flooding makes such prior art methods undesirable in a wireless LAN context.

Thus, both single-master and multiple-master systems are incapable of providing an adequate solution to time synchronization issues on FHSS LANs. Therefore, there is a need for a system and method for ensuring time synchronization between nodes on a FHSS LAN that maintains synchronization without the use of one or more master nodes; requires no special messages dedicated to time synchronization, arguments, or master-related LAN maintenance; and functions in an incompletely connected environment.

SUMMARY OF THE INVENTION

The present invention is a distributed time synchronization system and method for a FHSS LAN. The synchronization system automatically achieves synchronization of each node's clock using a unique message format that includes clock synchronization information. In addition, nodes maintain clock synchronization in an incompletely connected environment.

The system of the present invention functions in a wireless LAN comprising two or more nodes. Each node is able to transmit information to and receive information from at least one other node through frequency hopping spread spectrum communication. Each node system of the present invention comprises a CPU; an input device; a display device; a printer or other device for producing hard copy of information; random-access memory (RAM); read-only memory (ROM); a data storage device; a local clock; a transmitter/receiver that facilitates wireless frequency hopping spread spectrum communication with other nodes; an antenna; and a virtual master clock processor. With the exception of the antenna, which is coupled to the transmitter/receiver, all elements within a node are coupled to a common data pathway in a Von Neumann architecture. The random access memory further comprises an operating system, an application program, and routines related to transmitting and receiving messages over the wireless network. The virtual master clock processor comprises a means for extracting and processing time information contained within messages received from other nodes, a means for periodically maintaining node synchronization to a virtual master clock value derived from the processed time information.

The method of the present invention preferably incorporates time information into all messages transferred between nodes. A node incorporates the value of its local clock into a message just prior to sending the message. A node is capable of receiving any message transmitted from other nodes within a predetermined receiving distance, regardless of whether or not the data in the message is addressed to the node. Therefore, a given node can obtain time information for synchronization purposes even if it was not the intended recipient of the message data. Upon message receipt, the receiving node stores the message header and the value of its local clock. The receiving node's virtual master clock processor then uses the time information contained within the message to calculate the time difference between the sending node's local clock and its local clock value at message receipt. Prior to frequency hopping to another channel, a node's virtual master clock processor averages the time differences calculated from all messages the node has received since the previous frequency hop, thereby creating a virtual master clock value corresponding to the average of the local clock values for all nodes from which messages were received. The virtual master clock processor then uses this average to adjust the node's local clock value, thereby maintaining synchronization with the other nodes prior to the change in the operating frequency of the network. If the magnitude of any time difference calculated by the virtual master clock processor is larger than a maximum allowed value, the time difference is clamped to the maximum allowed value. This ensures system stability by preventing an erroneous clock value from greatly affecting synchronization, and allows synchronization to the virtual master clock value to be maintained within a predetermined tolerance.

If a node has not received any messages during an interval between frequency hops, the virtual processor initiates a general broadcast of a synchronization request message. Nodes which receive the synchronization request message respond by transmitting a message over the network. This message can then be used by all nodes for synchronization.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a prior art system of nodes communicating in a wireless LAN, in which one node lies outside the communication range of all but one other node;

FIG. 2 shows a preferred embodiment of the distributed time synchronization system within a node computer system;

FIG. 3 shows a preferred embodiment for the structure of a message;

FIG. 4 is a flowchart showing an overview of the distributed time synchronization method of the present invention;

FIG. 5 is a flowchart of a preferred method for a node joining an existing wireless LAN group;

FIG. 6 is a flowchart showing the preferred method for sending messages;

FIG. 7 is a flowchart depicting the preferred method for receiving messages;

FIG. 8 is a timing diagram indicating the preferred timing between local clock adjustment and frequency hopping; and

FIG. 9 is a flowchart representing the preferred method for virtual master clock processor operation.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 shows an exemplary prior art wireless LAN 20 configuration in which the present invention may operate. The wireless LAN 20 comprises two or more nodes 22 transmitting and receiving information without the use of hardwired couplings between the nodes 22. Information transmitted in a wireless LAN 20 is subject to signal attenuation effects due to node separation distances, signal path obstacles, and multipath fading caused by signal reflections. Therefore, one or more nodes 22 within the wireless LAN 20 may not be capable of receiving information sent from another node 22. Such a LAN configuration is defined as having incomplete connectivity. In a wireless LAN 20 having incomplete connectivity, one or more communication boundaries 24 can be defined to indicate which nodes 22 within the wireless LAN 20 can reliably communicate with each other. In FIG. 1, one communication boundary 24 encloses nodes A through G, while another communication boundary 25 encloses nodes B and H. Thus, nodes A through G can all communicate reliably with each other, while node H can communicate reliably only with node B. Information directed to node H must therefore either originate from node B or pass through node B. In addition to attenuation effects, wireless LAN 20 signals are subject to noise and interference. Two or more nodes 22 intentionally communicating on the wireless LAN 20 comprise a wireless LAN group.

Each node 22 within the wireless LAN 20 maintains the distributed time synchronization system of the present invention, which in a preferred embodiment comprises a computer system 30 having an architecture illustrated in the block diagram of FIG. 2. The computer system 30 preferably comprises a display device 32, a CPU 34, a given amount of random access memory (RAM) 36, a given amount of read-only memory (ROM) 38, a printer or hard copy device 40, an input device 42, a data storage device 44, a transmitter/receiver 46, a common data pathway or bus 48, an antenna 50, a local clock 52, and a virtual master clock processor 54. With the exception of the antenna 50, all elements of the computer system 30 in the preferred embodiment are coupled to the common data bus 48 in a Von Neumann architecture. The antenna 50 is coupled to the transmitter/receiver 46.

The routines of the present invention for logical frequency channel selection, processing related to information transmission and reception as well as an operating system and application programs are preferably stored in RAM 36 and ROM 38 memory. The routines include a routine for sending information over the network, and a routine for extracting time synchronization information from messages received. Messages received are routed directly into RAM 36 by the transmitter/receiver 46 beginning at a predetermined RAM 36 address, in a direct memory access (DMA) information transfer. The present invention preferably uses a conventional operating system 28 such as Macintosh System Software version 7.1, DOS or Windows. The RAM 36 may also include a variety of different application programs including but not limited to computer drawing programs, word processing programs, and spreadsheet programs.

Each node's local clock 52 comprises a programmable counting or time keeping means, and is preferably implemented as a programmable counter coupled to a crystal oscillator. In an exemplary embodiment, the local clock 52 may be integrated with the CPU 34 such as with many present-day microprocessors. The local clock 52 serves as the node's time reference for frequency hopping. The virtual master clock processor 54 comprises an adjustment timer which maintains a time count for indicating when the local clock is to be adjusted and when frequency hopping is to occur, a plurality of buffers, and control circuitry. The virtual master clock processor 54 extracts time information contained within messages received, and utilizes this information to maintain a virtual master clock value. At periodic intervals indicated by the adjustment timer, the virtual master clock processor 54 adjusts the local clock value relative to the virtual master clock value in order to maintain synchronization to other nodes 22 within the wireless LAN 20.

For message transmission, the CPU 34 organizes information to be sent to one or more other nodes 22 within the wireless LAN 20 into a specific message structure, and informs the transmitter/receiver 46 as to the location of the message in RAM 36. The transmitter/receiver 46 senses the wireless LAN 20 for network activity, and informs the CPU 34 if the network 20 is busy or available. When the network 20 is available, the CPU 34 incorporates the value of the local clock 52 into the header of the message, and directs the transmitter/receiver 46 to send the message. The transmitter/receiver 46 then transmits the message over the network 20 via its antenna 50.

The transmitter/receiver 46 operates in a receive mode unless it is directed to transmit a message by the CPU 34. While in receive mode, the transmitter/receiver 46 receives messages sent by other nodes within receiving distance. A node can receive any message on the current channel, even if the data contained in a message is addressed to another node. A message is received by the transmitter/receiver 46 via its antenna 50. The transmitter/receiver 46 maintains the starting address of a portion of available RAM 36, and routes the incoming message into RAM 36 through DMA beginning at this address. In the preferred embodiment of the distributed time synchronization system, the CPU 34 stores the receiving node's current local clock value in RAM 36 immediately after the entire message has been stored in RAM 36. At this point, the virtual master clock processor 54 can access the time information contained within the message and the stored local clock value of the receiving node 22 in order to maintain the virtual master clock value. After message reception, the receiving node's CPU 34 determines which node the message was directed to, and whether any further actions, such as transmission of a response message, are required. In an alternate embodiment, the CPU 34 could store the current local clock value after the message header were stored rather than after-the entire message had been stored. This would allow the CPU 34 to analyze the message header and determine if actions are required without waiting for storage of the entire message.

In the preferred embodiment of the distributed time synchronization system 30, the transmitter/receiver 46 follows a logical frequency channel selection sequence under the direction of the CPU 34, thereby providing for wireless frequency hopping spread spectrum communication between nodes 22. Each logical frequency channel in the preferred embodiment comprises five physical frequency channels, each physical frequency channel a designated bandwidth. In a FHSS LAN, information is preferably transmitted sequentially and redundantly on each physical frequency channel within a logical frequency channel, thereby making the logical frequency channel bandwidth the same as that of any single physical frequency channel. As a result of the logical frequency channel selection by the CPU 34, all nodes 22 within a given wireless LAN group communicate on a single logical frequency channel within a specified frequency band for a designated amount of time, and subsequently move to a new logical frequency channel within the band. Communication then continues on this logical frequency channel for a specified amount of time, after which another new logical frequency channel is selected, and so on. In the preferred embodiment, a node 22 operates on a physical frequency channel for 400 ms. Since each logical frequency channel in the preferred embodiment comprises five physical frequency channels, the total amount of time a node remains on a logical frequency channel is 2 seconds. Thus, a frequency hop occurs every two seconds in this case.

The distributed time synchronization system is implemented using an Apple computer system in an exemplary embodiment. In the exemplary embodiment, the frequency band has a bandwidth of 2.4 GHz, and each physical frequency channel within the frequency band has a bandwidth of 1 MHz. FCC regulations require a minimum of seventy-five and a maximum of eighty-three separate physical frequency channels within the frequency band.

All messages transferred between nodes 22 preferably comprise a header portion 60 and a data portion 62, as shown in FIG. 3. The header portion 60 comprises a control information portion 64, a time stamp portion 66, and a LAN ID portion 68. The control information portion 64 indicates the message type and any control functions to which the message may correspond. The time stamp portion 66 comprises the sending node's 22 local clock value just prior to transmission of the message. The LAN ID portion 68 indicates to which wireless LAN group or groups the message is directed. The data portion 62 comprises an address indicating the specific node or node portion to which the message is addressed, and the information which the sending node 22 intends to convey to the receiving node 22.

The flowchart of FIG. 4 provides an overview of the operation of the preferred method of the present invention. The preferred method begins in step 100 with the CPU 34 of a node 22 that intends to send a message storing time information in the message just prior to transmission on the wireless LAN 20. After the time information has been incorporated into the message, the transmitter/receiver 46 of the sending node 22 transmits the message through use of the antenna 50 in step 102. In step 104, the message is received by other nodes' transmitters/receivers 46 via their antennas 50, after which the CPUs 34 of the receiving nodes 22 store the value of their respective local clocks 52 in RAM 36 in step 106. Additional messages may also be received and processed, although only one message receipt is necessary for synchronization. The virtual master clock processor 54 of each receiving node 22 extracts the time information contained within each message in step 108, and compares the extracted time to the time the message was received. In step 110, the virtual master clock processor 54 of each receiving node 22 adjusts its respective local clock value relative to the time information extracted from each received message, thereby synchronizing the node 22 with the virtual master clock.

FIG. 5 shows the preferred method for a new node 22 to join an existing wireless LAN group. The process begins in step 120 with a node 22 that wishes to join a specific wireless LAN group selecting the lowest logical frequency channel within the frequency band. Next, in step 122, the joining node's CPU 34 instructs the transmitter/receiver 46 to transmit a join request message over the network. This message contains a special code within its time stamp portion 66, which prevents other nodes 22 from using the message for synchronization purposes. This ensures that the local clock 52 value on the node 22 attempting to join the wireless LAN group does not affect the group's synchronization.

Nodes 22 which receive the join request message will transmit a response message that the joining node 22 can utilize f