Claims
1 . A system for coding GPS measurements in a vehicle communications system, said system comprising:
a standalone position and velocity estimator receiving GPS measurement information at a first time and a prediction of a latent state vector from a previous time, said position and velocity estimator generating an estimated latent state vector; an observation prediction model responsive to the estimated latent state vector from the position and velocity estimator and calculating an observation prediction from the estimated latent state vector; a first differencer responsive to the observation prediction from the observation prediction model and the GPS measurement information at the first time period and providing a first difference signal; a first encoder responsive to the first difference signal and providing a first coded output; a state prediction model responsive to the estimated latent state vector from the position and velocity estimator and outputting the predicted latent state vector; a second differencer responsive to the estimated latent state vector from the position and velocity estimator and the predicted latent state vector from the state prediction model and generating a second difference signal; and a second encoder responsive to the second difference signal and generating a second coded output.
2 . The system according to claim 1 wherein the GPS measurement information is part of an application layer in a protocol stack.
3 . The system according to claim 2 wherein the GPS measurement information includes a series of data frames including an initialization frame, an additional data frame, a differential frame and a measurement frame.
4 . The system according to claim 1 wherein the standalone position and velocity estimator provides the latent state vector that includes sixdimensions of the position and velocity in earthcenter/earthfixed coordinates of satellites.
5 . The system according to claim 1 wherein the GPS measurement information includes satellite ephemeris, code range, carrier phase and Doppler shift for satellites.
6 . The system according to claim 1 wherein the standalone position and velocity estimator includes a Kalman filter for estimating the latent state vector.
7 . The system according to claim 1 wherein the first and second encoders provide the first and second coded outputs with Mframes of data.
8 . The system according to claim 1 wherein the first and second differencers provide model residuals.
9 . The system according to claim 1 wherein the first and second encoders are Huffman encoders.
10 . A system for coding GPS measurements in a vehicle communications system, said system comprising:
a standalone position and velocity estimator receiving GPS measurement information at a first time and a prediction of a latent state vector from a previous time, said position and velocity estimator generating an estimated latent state vector, wherein the GPS measurement information includes satellite ephemeris, code range, carrier phase and Doppler shift for satellites and includes a series of data frames including an initialization frame, an additional data frame, a differential frame and a measurement frame and wherein the standalone position and velocity estimator provides the latent state vector to include sixdimensions of the position and velocity in earthcenter/earthfixed coordinates of satellites; an observation prediction model responsive to the estimated latent state vector from the position and velocity estimator and calculating an observation prediction from the estimated latent state vector; a first differencer responsive to the observation prediction from the observation prediction model and the GPS measurement information at the first time period and providing a first difference signal that includes model residuals; a first Huffman encoder responsive to the first difference signal and providing a first coded output; a state prediction model responsive to the estimated latent state vector from the position and velocity estimator and outputting the predicted latent state vector; a second differencer responsive to the estimated latent state vector from the position and velocity estimator and the predicted latent state vector from the state prediction model and generating a second difference signal that includes model residuals; and a second Huffman encoder responsive to the second difference signal and generating a second coded output.
11 . The system according to claim 10 wherein the GPS measurement information is part of an application layer in a protocol stack.
12 . The system according to claim 10 wherein the standalone position and velocity estimator includes a Kalman filter for estimating the latent state vector.
13 . The system according to claim 10 wherein the first and second Huffman encoders provide the first and second coded outputs with Mframes of data.
14 . A method for coding GPS measurements in a vehicle communications system, said method comprising:
estimating a latent state vector using GPS measurement information at a first time and a prediction of a latent state vector from a previous time; calculating an observation prediction from the estimated latent state vector; providing a first difference signal between the observation prediction and the GPS measurement information at the first time period; encoding the first difference signal to provide a first coded output; using a state prediction model to generate the predicted latent state vector using the estimated latent state vector; providing a second difference signal between the estimated latent state vector and the predicted latent state vector; and encoding the second difference signal to generate a second coded output.
15 . The method according to claim 14 wherein encoding the first and second difference signals includes providing Mframes of data.
16 . The method according to claim 14 wherein providing a first and second difference signal include providing model residuals.
17 . The method according to claim 14 wherein encoding the first and second difference signals includes using Huffman encoders.
18 . The method according to claim 14 wherein estimating a latent state vector includes estimating a latent state vector with sixdimensions of the position and velocity in earthcenter/earthfixed coordinates of satellites.
19 . The method according to claim 14 wherein estimating a latent state vector includes using a Kalman filter for estimating the latent state vector.
20 . The method according to claim 14 wherein the GPS measurement information includes satellite ephemeris, code range, carrier phase and Doppler shift for satellites.
BACKGROUND OF THE INVENTION
[0001] 1. Field of the Invention
[0002] This invention relates generally to a system and method for coding GPS measurements and, more particularly, to a system and method for coding GPS measurements for precise relative positioning in a vehicle communications system, where the system employs a Huffman encoder.
[0003] 2. Discussion of the Related Art
[0004] Shortbaseline precise relative positioning of multiple vehicles has numerous civilian applications. By using relative GPS signals in realtime, a vehicle can establish a subdecimeter level accuracy of relative positions and velocities of surrounding vehicles (vehicletovehicle object map) that are equipped with a GPS receiver and a data communication channel, such as a dedicated short range communications (DSRC) channel. This cooperative safety system can provide position and velocity information in the same way as a radar system.
[0005] For precise relative positioning, a vehicle needs to broadcast its raw GPS data, such as code range, carrier phase and Doppler measurements. The bandwidth required to do this will be an issue in a crowded traffic scenario where a large number of vehicles are involved.
[0006] Data format defined in The Radio Technical Commission for Maritime Service Special Committee 104 (RTCM SC104) contains unwanted redundancy. For example, message type #1 (L1C/A code phase correction) uniformly quantizes corrections with a 0.02 meter resolution. The pseudorange measurements are thus represented in a range of ±0.2×2 15 meters. However, the pseudorange measurements are generally limited to about ±15 meters. It is thus noted that excess bandwidth wastage occurs if the RTCM protocol is directly used in a cooperative safety system.
SUMMARY OF THE INVENTION
[0007] In accordance with the teachings of the present invention, a system and method are disclosed for coding GPS measurements in a vehicle satellite communications system. The system includes a standalone position and velocity estimator that generates an estimated latent state vector from GPS measurements received at a first time and a prediction of a latent state vector from a previous time. The system also includes an observation prediction model that calculates an observation prediction from the estimated latent state vector. The system further includes a first differencer that provides a difference between the observation prediction and the GPS measurements, and a first Huffman encoder that provides a coded output from the difference. The system also includes a state prediction model that provides the predicted latent state vector and a second differencer that provides a difference between the estimated latent state vector and the predicted latent state vector. A second Huffman encoder encodes the difference from the second differencer.
[0008] Additional features of the present invention will become apparent from the following description and appended claims, taken in conjunction with the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
[0009] FIG. 1 is a block diagram of a system communications architecture for a host vehicle and a remote vehicle;
[0010] FIG. 2 is a flow chart diagram showing the operation of a processing unit in the architecture shown in FIG. 1 ;
[0011] FIG. 3 is a block diagram showing a process for solving a relative position and velocity vector between vehicles;
[0012] FIG. 4 is an illustration of the relative position between vehicles and satellites;
[0013] FIG. 5( a ) is a diagram of a graph showing a vehicle host node and other vehicle nodes with baselines relative thereto;
[0014] FIG. 5( b ) shows an optimalspanning tree including a host node and other vehicle nodes with optimal baselines therebetween;
[0015] FIG. 6 is a flow chart diagram showing a process for multivehicle precise relative positioning;
[0016] FIG. 7 is a block diagram of a system showing compression of GPS measurements;
[0017] FIG. 8 is a block diagram showing a system for the decompression of GPS measurements;
[0018] FIG. 9 is an overall block diagram of a proposed compression scheme;
[0019] FIG. 10 is an illustration of a protocol stack;
[0020] FIG. 11 is an example of a frame sequence;
[0021] FIG. 12 is a flow chart diagram showing a process for building a Huffman codeword dictionary; and
[0022] FIG. 13 is a flowchart diagram of an algorithm for encoding GPS data for transmission.
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0023] The following discussion of the embodiments of the invention directed to a system and method for coding GPS measurements for precise relative positioning in a vehicle satellite communications system is merely exemplary in nature, and is in no way intended to limit the invention or it's applications or uses.
[0024] FIG. 1 illustrates a communications architecture 10 for a host vehicle 12 and a remote vehicle 14 . The host vehicle 12 and the remote vehicle 14 are each equipped with a wireless radio 16 that includes a transmitter and a receiver (or transceiver) for broadcasting and receiving wireless packets through an antenna 18 . Each vehicle includes a GPS receiver 20 that receives satellite ephemeris, code range, carrier phase and Doppler frequency shift observations. Each vehicle also includes a data compression and decompression unit 22 for reducing the communication bandwidth requirement. Each vehicle also includes a data processing unit 24 for constructing a vehicletovehicle (V2V) object map. The constructed V2V object map is used by vehicle safety applications 26 . The architecture 10 may further include a vehicle interface device 28 for collecting information including, but not limited to, vehicle speed and yaw rate.
[0025] FIG. 2 is a flowchart diagram 38 showing the operation of the processing unit 24 in the architecture 10 . The processing unit 24 is triggered once new data is received at decision diamond 40 . A first step collects the ephemeris of the satellites, i.e., orbital parameters of the satellites at a specific time, code range (pseudorange), carrier phase observations, and vehicle data of the host vehicle 12 at box 42 . A second step determines the position and velocity of the host vehicle 12 that serve as the moving reference for the later precise relative positioning method at box 44 . A third step compresses the GPS and vehicle data at box 46 . A fourth step broadcasts the GPS and vehicle data at box 48 . A fifth step collects wireless data packets from remote vehicles at box 50 . A sixth step decompresses the received data packets and derives the GPS and vehicle data of each remote vehicle at box 52 . A seventh step constructs a V2V object map using the precise relative positioning method at box 54 . A eighth step outputs the V2V object map to the highlevel safety applications for their threat assessment algorithms at box 56 .
[0026] The data processing unit 24 can be further described as follows. Let X 1 ,X 2 , . . . ,X K be K vehicles. Let X i be the state of the ith vehicle, including the position and velocity in Earthcentered and Earthfixed coordinates (ECEF). Let X H be the state of the host vehicle 12 , where 1≦H≦K. Let X be the states of the satellite, including the position and velocity in ECEF coordinates, which can be determined by the ephemeris messages broadcast by the jth satellite.
[0027] FIG. 3 illustrates a flow chart diagram 60 for precisely solving the relative position and velocity vector between the vehicles. The diagram 60 includes an onthefly (OTF) joint positioning and ambiguity determination module 62 that receives information from various sources, including vehicle data at box 64 , standalone position of a vehicle at box 66 , satellite ephemeris at box 68 and double differences of GPS observations at box 70 , discussed below. The module 62 outputs the other vehicle's position velocity and ambiguities at box 72 . It is noted that the absolute coordinates of one vehicle are required. In a system that only contains moving vehicles, the coordinates of the moving reference are simply estimated using a standalone positioning module to supply the approximate coordinates of the reference base coordinates.
[0028] Double differential carrier phase measurements for short baselines are used to achieve a high positioning accuracy. Carrier phase measurements are preferred to code measurements because they can be measured to better than 0.01λ, where λ is the wavelength of the carrier signal, which corresponds to millimeter precision and are less affected by multipath than their code counterparts. However, carrier phase is ambiguous by an integer of the number of cycles that has to be determined during the vehicle operation.
[0029] Let the host vehicle X h be the moving reference station. Let b ih be a baseline between the host vehicle X h and the remote vehicle X i . The following doubledifference measurements of carrier phase, code and Doppler measurements can be written as:
[0000] d=H ( X H ,b ih ) b ih +λN+v ih (1)
[0000] Where H(X H ,b ih ) is the measurement matrix depending on the moving host vehicle X H and the baseline b ih , λ is the wavelength of the carrier, N is the vector of the doubledifference of ambiguities and v ih is the unmodelled measurement noise. Without loss of generality, it is assumed that equation (1) is normalized, i.e., the covariance matrix of v ih is an identity matrix.
[0030] The heart of the flow chart diagram 60 is the onthefly (OTF) joint positioning and ambiguity determination module 62 . In the module 62 , a (6+J−1)dimension state tracking filter is employed to estimate the three position and the three velocity components, as well as J−1 float doubledifference of ambiguities as:
[0000] d={tilde over (H)} ( X H ,b ih ) s+v ih (2)
[0000] Where {tilde over (H)}(X H ,b ih ) is the extension of H(X H ,b ih ) and the joint state s=[b ih N ].
[0031] Note that the matrix {tilde over (H)}(X H ,b ih ) is not very sensitive to changes in the host vehicle X h and the baseline b ih . With the process equation of the baseline available, it is usually sufficient to use the host vehicle X H and the predicted estimate {tilde over (b)} ih of the previous time instant. Therefore, when the value d is available, a better estimate of the baseline b ih can be obtained by the filtering described below.
[0032] Let the process equation of the baseline b ih be:
[0000] b ih ( t+ 1)=ƒ( b ih ( t ))+ w (3)
[0000] Where w denotes unmodeled noise.
[0033] In equation (3), ƒ is the function that expresses the dynamical model of the baseline. Some candidates of the dynamical model are a constant velocity model (CV) or a constant turning model (CT). Linearizing equation (3) in the neighborhood of the prediction of the baseline {tilde over (b)} ih of the previous cycle and including the doubledifference of ambiguities N gives:
[0000]
s
(
t
+
1
)
=
[
I
0
0
F
]
s
(
t
)
+
[
0
u
]
+
[
0
I
]
w
(
4
)
[0000] Where I is an identity matrix
[0000]
s
(
t
+
1
)
=
[
N
b
ih
(
t
+
1
)
]
,
s
(
t
)
=
[
N
b
ih
(
t
)
]
and
u
=
f
(
b
~
ih
)

F
b
~
ih
.
[0034] Now the OTF joint filtering procedure can be written in Algorithm 1, described below.
[0035] In equation (1), the measurement matrix H(X H ,b ih ) plays an important role for the above single baseline positioning method to converge to the correct solution. A geometric dilution of precision (GDOP), i.e., [H(X H ,b ih )] −1 , affects the quality of the estimate of the baseline b ih . It can be verified that the GDOP depends on the number of shared satellites and the constellation of the common satellites for the baseline b ih . For example, when visible shared common satellites between the remote vehicle and the host vehicle are close together in the sky, the geometry is weak and the GDOP value is high. When the visible shared common satellites between the remote vehicle and the host vehicle are far apart, the geometry is strong and the GDOP value is low. Thus, a low GDOP value represents a better baseline accuracy due to the wider angular separation between the satellites. An extreme case is that the GDOP is infinitely large when the number of shared satellites is less than four.
[0036] FIG. 4 is a diagram of vehicles 82 , 84 and 86 , where the vehicle 82 is a host vehicle, used to illustrate the discussion above. A baseline 88 (b AB ) is defined between the vehicles 82 and 84 , a baseline 90 (b BC ) is defined between the vehicles 84 and 86 and a baseline 92 (b AC ) is defined between the vehicles 82 and 86 . A building 94 is positioned between the vehicles 82 and 86 , and operates to block signals of certain satellites so that the vehicles 82 and 86 only receive signals from a few of the same satellites. Particularly, the vehicle 82 receives signals from satellites 1 , 9 , 10 , 12 , 17 and 21 , the vehicle 84 receives signals from satellites 1 , 2 , 4 , 5 , 7 , 9 , 10 , 12 , 17 and 21 and the vehicle 86 receives signals from the satellites 1 , 2 , 4 , 5 , 7 , and 9 . Thus, the vehicles 84 and 86 receive signals from common satellites 1 , 2 , 4 , 5 , 6 , and 9 and the vehicles 82 and 84 only receive signals from common satellites 1 and 9 . Therefore, the vehicles 82 and 86 do not receive signals from enough common satellites to obtain the relative position and velocity because it takes a minimum of four satellites.
[0037] It is noted that there is more than one solution for positioning among multiple vehicles. Consider the scenario shown in FIG. 4 where the host vehicle 82 needs to estimate the relative positions and velocities of the vehicles 84 and 86 , i.e., the baselines b AB and b AC , respectively. The baseline b AC can be estimated either directly using the single baseline positioning method or can be derived by combining two other baseline estimates as:
[0000] b AC =b AB +b BC (5)
[0038] Similarly the baseline b AB has two solutions. It can be verified that the qualities of the two solutions are different. The goal is to find the best solution. As shown in FIG. 4 , due to the blockage caused by the building 94 , the quality of the estimate of the baseline b AC is degraded because less than four shared satellites (PRN 1 , 9 ) are observed. On the other hand, the baseline b AC inferred from the baselines b AB and b AC is better than the direct estimate of the baseline b AC .
[0039] The concept from FIG. 4 can be generalized by introducing a graph G with the vertices denoting the vehicles and edges denoting the baselines between two vertices. Let the weights of the edges be the GDOP of the baseline between two vehicles. The goal is to find a spanning tree, i.e., a selection of edges of G that form a tree spanning for every vertex, with the host vehicle assigned as the root so that the paths from the root to all other vertices have the minimum GDOP.
[0040] FIG. 5( a ) is a diagram of such a weighted graph 100 showing the host vehicle at node 102 and the other vehicles at nodes 104 , where an edge or baseline 106 between the host node 102 and the nodes 104 and between the other nodes 104 is giving a weight determined by a suitable GDOP algorithm. FIG. 5( b ) shows an optimalspanning tree 108 with the nonoptimal edges or baselines removed.
[0041] FIG. 6 is a flow chart diagram 110 showing a process for defining the weighted graph 100 shown in FIG. 5( a ) and the optimalspanning tree 108 shown in FIG. 5( b ). The flow chart diagram 110 includes steps of building the weighted graph 100 of nodes at box 112 and then finding the optimal span of the graph 100 at box 114 . The algorithm then computes the baseline of an edge in the graph 100 at box 114 , and determines whether all of the edges in the span of the graph 100 are processed at decision diamond 118 , and if not, returns to the box 116 to compute the next baseline. The algorithm then computes the relative positions and velocities of all of the vehicles relative to the host vehicle at box 120 .
[0042] The step of computing the baselines to obtain the minimum GDOP in the flow diagram 110 can be performed by any algorithm suitable for the purposes described herein. A first algorithm, referred to as Algorithm 1, is based on a single baseline precision positioning. Given the previous estimate of the joint state ŝ(t−1) with its covariance matrix {circumflex over (P)}(t−1); double difference d; GPS time stamp of the receiver t R ; satellite ephemeris E; the system dynamical of equation (1); the measurement equation (2); the covariance matrix Q of the noise term w in equation (3); and the covariance matrix R of the noise term v in equation (2).
[0043] The updated estimate of the joint state ŝ(t) and the covariance matrix {circumflex over (P)}(t) at time t can be solved as follows:
1. Compute the prediction {tilde over (s)} using equation (1) as:
[0000]
s
~
=
[
I
0
0
F
]
s
^
(
t

1
)
+
[
0
u
]
and
P
~
=
[
I
0
0
F
]
P
^
(
t

1
)
[
I
0
0
F
]
T
+
[
0
I
]
Q
[
0
I
]
T
2. Compute the innovation error as:
[0000] e=d−{tilde over (H)} ( {tilde over (s)} ) With {tilde over (H)}={tilde over (H)}(X h ,b ih ) 3. Compute innovation covariance S={tilde over (H)}{tilde over (P)}{tilde over (H)} T +R. 4. Compute Kalman gain as K={tilde over (P)}{tilde over (H)} T S −1 . 5. Output the updated estimate ŝ={tilde over (s)}+Ke and the covariance matrix {circumflex over (P)}=(I−K{tilde over (H)}){tilde over (P)}.
[0050] The precise relative positioning for multiple vehicles can also be determined by the following algorithm, referred to as Algorithm 2.
1. Build a weighted graph G of vehicles where each vehicle is a vertex and adding an edge between two vertices if the number of shared observed satellites is larger or equal to four. Let the root denote the host vehicle. 2. The weight of an edge is equal to the geometric dilution of precision (GDOP) of the common satellites observed by the two vehicles, i.e., det [H(X i ,b ik )] −1 in equation (1) for the weight of the edge between the vertices i and j. 3. Use dynamic programming (either revised BellmanFord algorithm of Algorithm 3 or Dijkstra algorithm of Algorithm 4) to find a spanning tree such that the path from any other nodes has the best satellite geometry (minimum GDOP) for positioning. 4. For all E in the graph G do 5. Determine the baseline as represented by the edge E by the algorithms described in Algorithm 1. 6. end for 7. Compute relative positions and velocities from the vehicles to the host vehicle based on the graph G. Algorithm 3 is a reversed BellmanFord Algorithm:
[0059] Given the graph G with the vertices V={v i 1≦i≦V}, the edges E={e k 1≦k≦E} and the weights of edges {w k 1≦k≦E}; and the source of vertex H.
[0060] Ensure: The span tree T and G:
1. for all vertex v in the set of vertices do 2. if v is the source then 3. Let the cost (v) be 0. 4. else 5. let the cost(v) be ∞. 6. end if 7. Let predecessor(v) be null. 8. end for 9. for i from 1 to V−1 do 10. for each edge e k in E do 11. Let u be the source vertex of e. Let v be the destination vertex of e k . 12. if cost(v) is less than max(w k , cost(u)), then 13. Let cost(v)=max(w k ,cost(u)). 14. Let predecessor(v)=u. 15. end if 16. end for 17. end for 18. Construct the span tree T using the predecessor(v) for all vertices. Algorithm 4 is a revised Dijkstra algorithm:
[0080] Given the graph G with the vertices V={v i 1≦i≦V}, the edges E={e k 1≦k≦E} and the weights of edges {w k 1≦k≦E}; and the source of vertex H.
[0081] Ensure: The span tree T and G:
1. for all vertex v in the set of vertices do 2. if v is the source H then 3. Let the cost (v) be 0. 4. else 5. let the cost(v) be ∞. 6. end if 7. Let predecessor(v) be null. 8. end for 9. Let the set Q contain all vertices in V. 10. for Q is not empty do 11. Let u be vertex in Q with smallest cost. Remove u from Q. 12. if for each neighbor v of u do 13. Let e be the edge between u and v. Let alt=max(cost(u), weight(e)). 14. if alt<cost(v) then 15. cost(v)=alt 16. Let predecessor(v) be u. 17. end if 18. end for 19. end for 20. Construct the span tree T using the predecessor(v) for all vertices.
[0102] GPS measurements are correlated through the latent vector of the position and velocity of a GPS receiver, which can be expressed as follows.
[0103] Let X be a sixdimension latent state vector consisting of the positions and velocities in ECEF coordinates. Let C be a satellite constellation including the positions and velocities of the satellites in ECEF coordinates, which can be determined by the ephemeris messages broadcasted by the satellites. Let a GPS measured quantity 0 include the code range, carrier phase and Doppler shift for the receiver from the satellites. As a result, the measurement equation can be written as:
[0000] O=h ( X,β,{dot over (β)},C )+ v (6)
[0000] Where β is the host receiver clock error, {dot over (β)} is the change rate of β and v is the unmodeled noise for GPS measurements including biases caused by ionospheric and tropospheric refractions, satellite orbital errors, satellite clock drift, multipath, etc.
[0104] FIG. 7 is a block diagram of a system 130 including a standalone absolute positioning module 132 receiving satellite observations at box 134 and satellite ephemeris at box 136 . Prediction observations from the positioning module 132 and the satellite observations are provided to an adder 138 where the difference between the signals is encoded by an encoder 140 . The encoded signals from the encoder 140 and the absolute positioning velocity signals from the positioning unit 132 are provided as vehicle absolute positioning and velocity signals and compressed innovation errors at box 142 .
[0105] The standalone absolute positioning module 132 monitors the input of measurements including code range, carrier phase and Doppler shift, input of satellite constellation C, and vehicle data (e.g., wheel speed and yaw rate). The module 132 generates the absolute position and velocity of the GPS receiver {circumflex over (X)}. The module 132 also generates the predicted GPS measurements Õ as expressed by a function h as:
[0000] Õ=h ( {circumflex over (X)},C ) (7)
[0106] Therefore, the innovation error e can be defined as:
[0000] e=O−Õ (8)
[0107] It can be verified that the innovation error vector has two properties. The components are mutually uncorrelated and for each component, the variance is much less than the counterpart of the GPS measurements O. Thus, standard data compression methods, such as, but not limited to, vector quantization or Huffman coding, can be applied to the innovation error e and achieves good compression performance.
[0108] FIG. 8 is a block diagram 150 illustrating the inversion operation of the compression module and shows the steps of how to recover the GPS measurements from the received compressed data from a wireless radio module. Particularly, compressed innovation errors at box 152 are provided to a decoder 154 and vehicle absolute position and velocity signals at box 156 and satellite ephemeris signals at box 158 are provided to a compute predicted observations module 160 . The signals from the decoder 154 and the observations module 160 are added by an adder 162 to provide satellite observations, such as code range, carrier phase and Doppler frequencies at box 164 .
[0109] Let the estimate of the absolute position and velocity of the GPS receiver be {circumflex over (X)}. The compressed innovation errors is decoded to obtain the corresponding innovation error e. One can verify that the predicted measurements Õ can be computed from the estimate of the absolute position and velocity of the GPS receiver {circumflex over (X)} and the satellite constellation C as:
[0000] Õ=h ( {circumflex over (X)},C ) (9)
[0110] Thus, the recovered GPS measurements can be computed as:
[0000] O=Õ+e (10)
[0111] The GPS measurements are highly correlated with time. This makes them well suited to compression using a prediction model of the latent state vector X. Let the process equation of the latent state at time instant t be:
[0000] X ( t+ 1)=ƒ( X ( t ))+ w (11)
[0000] Where ƒ is the system process function of the host vehicle (e.g., constant velocity model, or constant turning model) where the GPS receiver is mounted on the roof of the vehicle and w is the unmodeled noise in the process equation.
[0112] The residuals w in equation (11) are well suited to compression by encoding the difference between the current state vector and the predicted state vector from the previous time instant.
[0113] FIG. 9 is a system 170 for a proposed compression scheme. A standalone position and velocity estimator 172 monitors the input of GPS measurements O(t) at time instant t and the prediction of the latent state vector {tilde over (X)}(t) from the previous time t−1, and generates the new estimate of the latent state vector {circumflex over (X)}(t). An observation prediction model module 174 calculates the observation prediction Õ(t) using equation (6). A Huffman encoder I module 176 encodes the difference between the input O(t) and the model prediction Õ(t) from an adder 184 using variablelength coding based on a derived Huffman tree. A unit delay module 178 stores the previous latent state vector {circumflex over (X)}(t−1). A state prediction model 180 calculates the prediction of the latent state Õ(t). A Huffman encoder II module 182 encodes the difference between the latent state vector {circumflex over (X)}(t) and the model prediction {tilde over (X)}(t) from an adder 186 using variablelength coding based on a Huffman tree.
[0114] The minimum description length compression of the GPS protocol (MDLCOG) is designed as an application layer provided above a transport layer, as shown in FIG. 10 . Particularly, the MDLCOG is an application layer 194 in a protocol stack 190 positioned between a GPS data layer 192 and a transport layer 196 . A network layer 198 is below the transport layer 196 and a data link layer 200 is at the bottom of the protocol stack 190 .
[0115] The MDLCOG consists of a collection of messages, known as frames, used for initializing and transmission of measurements and additional data, such as GPS time stamp and a bitmap of the observed satellites. These data frames are known as an initialization frame (Iframe), an additional data frame (Aframe), a differential frame (Dframe) and a measurement frame (Mframe).
[0116] At the beginning of the data transmission, the encoder sends an Iframe to initialize the state prediction module at the decoder. The Iframe is analogous to the key frames used in video MPEG standards. The Iframe contains the absolute position and velocity of the GPS receiver in ECEF coordinates estimated by the encoder. The Iframe is also sent whenever the difference between the current and previous estimates of the latent state vector X is larger than a threshold.
[0117] The Aframe contains the nonmeasurement data, such as the satellite list, data quality indicators, etc. The Aframe is transmitted only at startup and when the content changes.
[0118] The most frequently transmitted frames are the Dframe and the Mframe. Dframes are analogous to the Ppicture frames used in MPEG video coding standards in the sense that they are coded with reference to previously coded samples. The time series difference in the Dframe use the vehicle dynamical model expressed in equation (11). Each Dframe contains the Huffman coded difference between the current and previous estimates of the latent state X. The Mframe contains the GPS time stamp and the Huffman coded difference between the measurements O and the predicted values Õ. The Mframe is sent whenever a new GPS measurement is received, and separate frames are transmitted for L1 and L2 frequencies for the Mframe.
[0119] Once the decoder has been initialized, having received the appropriate Iframes and Aframes, the encoder transmits the quantized prediction residual for each epoch in the corresponding Dframe and Mframe. An example of the sequence of frames is shown in FIG. 11 . Mframes are sent in each time epoch. At time epoch 1 , an Iframe and an Aframe are sent to initialize the prediction modules in the decoder. An Iframe is sent again in epoch 6 because the significant change in the latent state X estimate is detected. An Aframe is transmitted in epoch 8 since a satellite shows up at the horizon or a satellite sets down.
[0120] FIG. 12 is a flow chart diagram 210 that outlines the procedure for building a dictionary for coding the residuals. Extensive data of dual frequency GPS data is collected at box 212 . At box 214 , the ensemble of measurement residuals e or state prediction residuals w is calculated. At box 216 , a specific resolution to quantize the residuals is chosen (e.g., 0.2 meter for pseudorange as the RTCM protocol) and derives a list of symbols. At box 218 , the frequency of each symbol in the ensemble is calculated. At box 220 , A={a 1 ,a 2 , . . . ,a n } is set, which is the symbol alphabet of size n. Then, P={p 1 ,p 2 , . . . ,p n } is set, which is the set of the (positive) symbol frequency, i.e., p i =frequency (a i ), 1≦i≦n. A code C (A, P)={c 1 ,c 2 , . . . ,c n } is generated by building a Huffman tree, which is the set of (binary) code words, where c i is the codeword for a i , 1≦i≦n.
[0121] FIG. 13 is a flowchart diagram 230 of an algorithm for encoding GPS data. The procedure starts once new data from the GPS device is received at decision diamond 232 , and ends if no data is received at box 234 . Then, the GPS data O is collected at box 236 that consists of pseudorange R j , Doppler shift D j and carrier phase Φ j from the jth satellite X j that belongs to the set C={X j 1≦j≦J}, with J being the number of visible satellites. The value X j consists of the threedimensional position of the jth satellite in the ECEF coordinates.
[0122] The algorithm then determines if the satellite map has changed at decision diamond 238 , and if so, the algorithm generates an Aframe at box 240 . Particularly, if the identities, i.e., PRN, of the satellite constellation C are changed from the previous time instant, an Aframe is generated to encode the list of the observed satellite's PRN. The frame consists of a 32bit map, where each bit is either true or false depending on the presence data for a particular satellite.
[0123] The algorithm then estimates the standalone position and velocity of the vehicle at box 242 . In the estimating standalone position and velocity module, a Kalman filter is used to estimate the latent state vector X through a series of measurements O. Let the latent state vector X=(x,y,z,{dot over (x)},{dot over (y)},ż,β,{dot over (β)}) denote the concatenated vector of a threedimensional position vector in the ECEF coordinates, threedimensional velocity vector in the ECEF coordinates, receiver clock error, and change rate of the receiver clock error, respectively. The linearized system of equation (6) at the neighborhood of X* can be written as:
[0000] X ( t+ 1)= FX ( t )+ u 1 +w (12)
[0000] Where F is the Jacobian matrix with respect to the latent state vector X and the nonlinear term u 1 =ƒ(X*)−FX*.
[0124] The measurements of equation (6) of the jth satellite can be expanded into:
[0000]
R
j
=
ρ
j
+
c
β
+
v
R
λ
Φ
j
=
ρ
j
+
c
β
+
λ
N
j
+
v
Φ

cD
j
f
=
ρ
.
j
+
x
j

x
ρ
j
x
.
+
y
j

y
ρ
j
y
.
+
z
j

z
ρ
j
z
.
+
c
β
.
+
v
D
(
13
)
[0125] For j=1, . . . ,J, where ρ j is the geometrical range between the receiver and the jth satellite {dot over (ρ)} j is the projection of the velocity vector of the jth satellite projected onto the direction of from the receiver to the satellite, c denotes the speed of light, λ and ƒ are the wavelength and frequency of the carrier signal, respectively, v R ,v φ and v D are the unmodeled measurement noise for pseudorange, carrier phase and Doppler shift, respectively, and x j ,y j and z j are the threedimensional position of the jth satellite in the ECEF coordinates.
[0126] Note that the quantities ρ j and {dot over (ρ)} j depend on the vector of the latent state vector X. In other words, equation (13) includes nonlinear equations in terms of the latent state vector X. These quantities are not very sensitive to changes in the latent state vector X. With the receiver's dynamic available, it is usually sufficient to use the predicted estimate {tilde over (X)} of previous time instant as the center of the linearized neighborhood X* and use it to replace the latent state vector X in equation (13). Therefore, when R j ,Φ j and D j are available, a better estimate of the latent state vector X can be obtained by the filtering method described in Algorithm 5 detailed below.
[0127] Equation (13) can be linearized in the neighborhood of X* as:
[0000] O j =H j X+u 2 j +v j (14)
[0000] Where O j =[R j ,Φ j ,D j ] T , H j is the Jacobian of equation (13) matrix with respect to the latent state vector X and the nonlinear term u 2 j =h(X*)−H j X*. Therefore, the key steps of the estimating standalone position and velocity module can be outlined in Algorithm 5.
[0128] The algorithm then determines whether the current state estimate X(t) and the previous state estimate X(t−1) is larger than a threshold T at decision diamond 244 . If the difference between the current state estimate X(t) and the previous state estimate X(t−1) is larger than the threshold T, an Iframe is generated at box 248 . The Iframe encodes the current state estimate X(t), including the ECEF position and velocity of the receiver. Otherwise a Dframe is generated to encode the difference X(t)−X(t−1) using Huffman codeword dictionary at box 246 .
[0129] The next step is to calculate the model residuals at box 250 for the measurements as:
[0000] e=O−h ( X ) (15)
[0130] Then, the measurement model residuals are encoded using the Huffman codeword dictionary by generating the Mframe at box 252 . In the last step at box 254 , all generated frames are transmitted to the lower UDP layer 196 .
Algorithm 5, Absolute Positioning Update
[0131] Given the previous estimate of the latent state {circumflex over (X)}(t−1) with its covariance matrix {circumflex over (P)}(t−1); measurements O(t); GPS time stamp of the receiver t R ; satellite ephemerides E; the system dynamical equation (4); measurement equation (6); covariance matrix Q of the noise term w in equation (4); covariance matrix R of the noise term v in equation (6).
[0132] The updated estimate of the absolute position and velocity of the receiver {circumflex over (X)}(t) at time t.
1. Compute the prediction {tilde over (X)}=ƒ({circumflex over (X)}(t−1)) and {tilde over (P)}=F{tilde over (P)}(t−1)F T +Q. 2. for all j, 1≦j<J do 3. Retrieve the satellite ephemeris of the jth satellite. 4. Compute the ECEF position X j =[x j ,y j ,z j ] T and velocity {dot over (X)} j =[{dot over (x)} j ,{dot over (y)} j ,ż j ] T of the jth satellite. 5. Compute ρ j =√{square root over ((x j −{tilde over (x)}) 2 +(y j −{tilde over (y)}) 2 +(z j −{tilde over (z)}) 2 )} and {dot over (ρ)} j ={dot over (X)} j T (X j −{tilde over (X)}) with {tilde over (X)}=[{tilde over (x)},{tilde over (y)},{tilde over (z)}] T being the prediction of ECEF position of the receiver. 6. Compute H j using equation (7):
[0000]
H
j
=
[

x
j

x
~
ρ
j

y
j

y
~
ρ
j

z
j

z
~
ρ
j
0
0
0
c
0

x
j

x
~
ρ
j

y
j

y
~
ρ
j

z
j

z
~
ρ
j
0
0
0
c
0
0
0
0
x
j

x
~
ρ
j
y
j

y
~
ρ
j
z
j

z
~
ρ
j
0
c
]
7. end for
8. Compute H=[H 1 T , . . . ,H J T ] T .
9. Compute innovation error using equation (5), i.e.,
[0000] e=O ( t )− h ( {tilde over (X)} ) 10. Compute innovation covariance S=H{tilde over (P)}H T +R. 11. Compute Kalman gain K={tilde over (P)}H T S −1 . 12. Output the updated estimate {circumflex over (X)}={circumflex over (X)}+Ke and the covariance matrix {circumflex over (P)}=(I−KH){tilde over (P)}.
[0145] The foregoing discussion discloses and describes merely exemplary embodiments of the present invention. One skilled in the art will readily recognize from such discussion and from the accompanying drawings and claims that various changes, modifications and variations can be made therein without departing from the spirit and scope of the invention as defined in the following claims.