SIGNAL QUALITY STEERED DIVERSITY
Background of the Invention
Field of Invention
This invention relates to the field of portable communication transceivers and specifically to a portable transceiver circuit which determines the quality of a received signal and directs the tranceiver to select an alternative antenna if the signal quality deteriorates below a predetermined level.
Description of the Prior Art
Portable radio transceivers are used in several facets of communications technology. Portable trans¬ ceivers can be found in paging systems, two-way communication systems such as those used by police and other public servants, and more recently portable receivers have found use in portable data terminals which are used to communicate with a host computer over a radio link. Portable data terminals provide computer diagnostics and expanded computer power in the portable terminal.
Typical portable paging receivers in the past have incorporated loop-type antennas which are typically
O PI
responsive to the magnetic field component of a trans¬ mitted RF signal. This type of antenna system provides marginal performance, but is desirable because the loop antenna can be concealed within a radio housing and responds well when the receiver is in close proximity to a human body. However, the overall sensitivity of the antenna/receiver combination is somewhat degraded where the receiver is in close proximity to a human body. In addition, loop-type antennas exhibit certain problems which make them undesirable for use in a portable device which also utilizes a transmitter.
Portable units which contain both a receiver and transmitter are utilized in public service and private industry where communication between a number of units is desirable. The units typically contain a receiver and transmitter used in combination with an external helical, monopole or dipole antenna. These antennas are respon¬ sive to the electrical field of an RF signal and provide superior reception and transmission characteristics, when the antenna is located externally to the portable device housing. In addition, helical and monopole antenna performance is degraded substantially when the antenna is operated in close proximity to a human body.
A paging receiver is. normally worn on the body when in use. Unlike the pager, a portable transceiver is utilized in many different environments. It may be handheld in front of the face, worn on the hip, or placed on a conducting or non-conducting surface.
With the advance of data processing and data communication techniques, it is now desirable to manu¬ facture portable communication devices which are capable of transmitting and receiving data in cooperation with a host computer. These devices are for instance useful to servicemen who use the portable terminal to perform on-site computer testing and diagnostics, and to keep records thereof. It is desirable to manufacture a
portable data terminal as small as possible, so the terminal can be transported easily. In addition, it is also desirable to provide a portable data terminal with an antenna system which is completely enclosed within the terminal housing. This feature enhances the portability of 'the data terminal, as well as providing protection for the terminal antenna system.
These terminals may be carried in the hand, worn on the hip, put in a coat pocket, used on a desk, or put into a service tool kit. The orientation of the unit, as well as its physical environment is constantly changing as it is utilized from one time to the next.
Since the portable data terminal is operated in a number of distinct environments and orientations, it is necessary to provide an antenna system which is adaptable to a changing environment. Adaptability is especially useful when the portable data terminal is used in close proximity to a human body.
In an adaptable antenna system, the receiver must include a means for alternatly activating antennas in response to the quality of a received signal. Prior art antenna switching devices have typically based the antenna switching decision on the signal strength of an incoming RF signal. This technique switches antennas when the incoming signal drops below a predetermined threshold. To implement a signal strength based antenna decision, expensive RF circuitry is required to process signal strength information. In addition, signal strength based antenna switching is prone to "chattering" when the signal level for each antenna is below a predetermined threshold.
For the foregoing and other shortcomings, there is a need for an improved adaptable antenna system control scheme for use with a transceiver in which the antenna system activates a particular antenna based on the signal quality of the incoming signal. Signal quality information is derived from the receiver output signal and does not
require any special RF amplifiers to determine signal quality.
Summary of the Invention
Accordingly, it is an object of the present inven¬ tion to provide an improved antenna selector device which utilizes a measurement of the audio signal quality to determine whether to switch an alternate antenna.
It is a further object of the present invention to implement an antenna hold feature so rapid antenna switching will not occur at low signal levels. It is still another object of the present invention to implement an antenna selector device which effects the antenna switch at a time optimized for reduced data errors due to switching transients.
Briefly described, the invention contemplates an antenna switching circuit and technique which is used to control an adaptable antenna system in a portable trans¬ ceiver. The inventive antenna switching circuit is coupled to the audio output of a receiver, which is configured to provide a data output signal. The receiver is coupled to a bit quality detector which samples each incoming data bit at four times the data rate. Each data cycle is stored in a shift register. The data sample corresponding to the middle of the data bit is retained as the value of the data bit and the four data bit samples are compared to generate a bit noise flag bit. If the bit transition jitter is less than + 1/4 bit, the noise flag is 0 otherwise the bit noise flag is set to 1. The incoming data stream and bit noise flag stream is then coupled to a microcomputer which operates in conjunction with the bit quality and data storage registers. When 8 data bits and the corresponding 8 noise flag bits have been accumulated, the bits are read into the microcomputer memory and processed in accordance
« p i OMPI
with the present invention. According to the present invention, the microprocessor retains 14 bytes of previous bit noise flag information. The microcomputer then - compares the flag rate being generated by the presently connected antenna with the flag rate which was generated by the' previously connected antenna. If the antenna presently connected produces a flag rate higher than the previously connected antenna, the microprocessor will pause and switch antennas at a time which minimizes bit errors due to switching transients.
Brief Description of the Drawings
Figure 1 is a perspective drawing of a portable data receiver such as one which would incorporate the preferred embodiment of the present invention.
Figure 2 is a block diagram of an antenna system which would incorporate an embodiment of the present invention.
Figure 3 is a illustration of the sampling scheme for determining bit quality in accordance with the present invention. Figure 4 is an electrical schematic of a circuit which generates bit quality information bits utilized by the present invention.
Figure 5 is a flow diagram which details the operation of the present invention.
Detailed Description of the Drawings
Figure 1 shows a perspective drawing of a portable data communication device such as one which would incorporate the preferred embodiment of the present invention. The portable transceiver 10 incorporates a display 12 and a keyboard 11 and is used to communicate with a host computer. The portable transceiver 10
transmits and receives modulated data and can be used to provide on-site computer diagnostics. The portable transceiver 10 is constructed of a plastic housing which encases the terminal and radio electronic circuits, as well as an adaptable antenna system including a plurality of antennas which may be optimized for specific environmental conditions, for example, on the body versus off the body use. An exact description of the receiver antenna system is shown in copending patent application attorneys docket number CM-0192J entitled "Homotropic Antenna System" by Kneisel et al and assigned to the assignee of the present invention. The present invention operates in cooperation with the receiver and determines which antenna 13, 14 is producing a higher quality signal, and selects that antenna.
Figure 2 shows an electrical schematic and block diagram of a data receiver which would utilize the pre¬ ferred embodiment of the present invention. The data terminal includes two antennas 14, 13 which are coupled to diodes 21, 26. The antennas are selectively activated through inductors 22, 27 by placing a control voltage on terminals "A" or "B". Antennas 14, 13 are then coupled to a receiver 28 through capacitors 23, 24. The receiver 28 processes the received signal and converts it to a lower frequency signal of the desired form, in this case binary data at approximately 4800 bits/sec. The receiver data output is then coupled to a bit quality detector 30 which generates a binary signal corresponding to the binary data signal which provides a flag indicating the quality of a received bit. The bit quality detector 30 evaluator circuit will be discussed in more detail later.
The bit quality detector 30 is coupled to a micro¬ processor 31 which processes the incoming data and bit quality information in accordance with the present invention. The microprocessor 31 then selectively activates antenna 14 or 15 depending on the quality of the
- 1 -
incoming signal being produced by a particular antenna. The microprocessor 31 can be any suitable conventional microprocessor, such as, for example, a Motorola type MC146805 and its RAM and other peripheral devices. Figure 3 is an illustration of the sampling scheme for determining bit quality in accordance with the present invention. As shown in Figure 3, each incoming data bit is sampled four times. According to the present invention, a data bit of acceptable integrity is defined as having less than _+ 1/4 bit transition time jitter.
Therefore, according to Figure 3, if samples 2, 3 and 4 are the same, i.e., all ones or zeros, then the noise flag will be set to zero for that bit, otherwise, the noise flag is 1. Figure 4 shows an electrical schematic of a circuit in bit quality detector 30 in Figure 2 which generates noise flag bit information in accordance with the present invention. The bit noise flag generator circuit consists of a series of flip-flops 40, 42, 44 which are configured as a 3 bit shift register. Samples are shifted into the three bit shift register at four times the data rate as shown by terminal 4X coupled to flip-flops 40, 42 and 44. The three outputs of this shift register provide the four sample per bit information required to recover clock and data and generate bit noise flags.
A separate circuit (now shown) decodes the data stream and produces a clock signal at the clock rate, a clock signal at twice the data rate and a clock signal at four times the data rate. The clock recovery circuit could be any conventional digital phase locked loop configured to lock the detector clock onto the incoming data stream. The four samples occur on the rising edge of 4X serial data clock. The 1X and 2X clocks are derived from the 4X clock by simple divide by 2 stages. The 1X and 2X clocks are used to uniquely identify the position of the four samples as they are shifted through the 3 bit register.
The recovered data signal is derived from the output of flip-flop 40 and corresponds to sample 3 of Figure 3. The data sample is then shifted to the 8 bit data register 56 on each falling edge of the 1X clock. The bit noise flag information is generated by logic gates 46, 48 and 50.' The bit noise flag bit is shifted into the 8 bit BNF register 54 on the rising edge of the BNF clock (BNFC) . This occurs when flip-flop 40 stores sample 4, flip-flop 42 stores sample 3, and flip-flop 44 stores sample 2. The exclusive OR gates 48, 46 and OR gate 50 are coupled so that they generate an output according to the logical relationship.
BNF = [2©3] + [3© 4] After eight data bits and the corresponding BNF bits have been shifted into the registers 54, 56, the information is transferred to buffer registers (not shown) which are accessed by the microprocessor 31 of Figure.2.
Figure 5 shows a flow diagram which defines the micro¬ processor (31 of Figure 2) operation in accordance with the present invention. The process of the present invention keeps a running total of how many bits are flagged and which antenna is connected when each byte's worth of data received. The inventive process decides that the antenna is to be switched if and only if there is at least one flag bit that is a 1 in the most recently received byte and the flag rate from the non-attached antenna (FR2) is less than the flag rate of the attached antenna (FR1). Flag rate 2 (FR2) is defined as the number of flags received in the last fourteen bytes when the non-attached antenna 2 was attached divided by the number of bytes when the non-attached antenna was attached. FR2 is equal to zero if non-attached antenna was not attached during the last 14 bytes. Flag rate 1 (FR1) for the attached antenna FR1 is defined in the same manner. When an antenna switch is effected, the number of flags in the byte where the antenna switch occurred is set
OMP
to zero and the associated byte is considered to belong to the antenna that was switched in. The inventive process also causes the switching action to occur at a particular time before the next bit enters the antenna terminals. For the purposes of the preferred embodiment the microprocessor (31 in Figure 2) is adjusted to switch the antenna about 50 microseconds before the bit transition enters the antenna terminals. This feature allows the antenna system to switch antennas at a time which minimizes bit errors due to switching transients.
In accordance with the present invention, the program shown in Figure 5 is initated every time the BNF and data registers (54, 56 in Figure 4) have accumulated eight bits. Item 70 instructs the microprocessor to read the contents of the data and BNF registers into the micro¬ processor RAM. For the purposes of the present invention, 14 bytes of previous BNF information for the antennas are also retained in RAM. Decision 72 examines the byte count K for the currently activated antenna. If the byte count K indicates that an antenna switch occured during the last BNF byte (i.e. K=l) , decision 72 directs the program to item 76 which sets the BNF count to zero because this byte has been corrupted by the antenna switching transient. The byte count K is then reset and item 76 exits the routine to wait for the next byte.
If an antenna switch did not occur during the last BNF byte (i.e. =0) , decision 72 selects item 78 which counts and stores the BNF information of the latest byte. The program proceeds to decision 80 which compares the relative flag rates FRl and FR2 of the two antennas. The flag rate FR of a particular antenna is defined according to the following relationship. number of flag bits from antenna(n) FR.n) = number of antenna bytes antenna(n) Flag rate 2 (FR2) is always associated with the detached antenna. If flag rate 1 (FRl) is greater than
the flag rate from the detached antenna FR2, the program proceeds to item 84 which waits approximately 50 microseconds before the next bit enters the receiver and then switches antennas. Item 84 then resets the byte count to 1 and exits the routine.
> If flag rate 1 (FR1) is less than or equal to flag rate 2 (FR2), an antenna switch is not required and decision 80 exits the routine.
In summary, a device capable of directing a switched antenna diversity system is described. The antenna switching system examines bit quality information generated by an electronic circuit and switches antennas based on the relative bit flag rate being produced by each antenna. The invention effects antenna switches at a time chosen to minimize bit error due to switching transients.
Accordingly, other modifications uses and embodiments will be apparent to one skilled in the art without departing from the spirit and scope of the principles of the present invention. What is claimed is: