a14cba1f63069a634248a84359cbde58cfbdba08
Network-dat/location-dat/GPS-dat/2026-01-19-16-06-31.png
| ... | ... | Binary files /dev/null and b/Network-dat/location-dat/GPS-dat/2026-01-19-16-06-31.png differ |
Network-dat/location-dat/GPS-dat/2026-01-19-16-07-02.png
| ... | ... | Binary files /dev/null and b/Network-dat/location-dat/GPS-dat/2026-01-19-16-07-02.png differ |
Network-dat/location-dat/GPS-dat/2026-01-19-16-07-33.png
| ... | ... | Binary files /dev/null and b/Network-dat/location-dat/GPS-dat/2026-01-19-16-07-33.png differ |
Network-dat/location-dat/GPS-dat/GPS-dat.md
| ... | ... | @@ -1,4 +1,3 @@ |
| 1 | - |
|
| 2 | 1 | # GPS-dat |
| 3 | 2 | |
| 4 | 3 | - legacy wiki page - https://w.electrodragon.com/w/Category:Location#GNSS |
| ... | ... | @@ -101,6 +100,144 @@ |
| 101 | 100 | |
| 102 | 101 | - [[quectel-gps-dat]] - [[quectel-gnss-dat]] |
| 103 | 102 | |
| 103 | + |
|
| 104 | + |
|
| 105 | + |
|
| 106 | + |
|
| 107 | + |
|
| 108 | +## cold, warm and hot start |
|
| 109 | + |
|
| 110 | +> GPS modules are outdoor positioning systems, so the antenna must be placed **outdoors** to get a fix. The first time you power on the module it performs a **cold start** and needs to download satellite data. This usually takes about **1–10 minutes**, so please be patient. |
|
| 111 | + |
|
| 112 | +### Cold Start (冷启动) |
|
| 113 | + |
|
| 114 | + |
|
| 115 | + |
|
| 116 | + |
|
| 117 | + |
|
| 118 | +A **cold start** means the module has **no stored ephemeris or almanac data** internally. This is the very first startup, or any startup where all such data has been lost. |
|
| 119 | + |
|
| 120 | +- Since there is no satellite orbit information available, the module must begin receiving signals and **search the entire sky** within the antenna’s view to find satellites and download ephemeris. |
|
| 121 | +- During this first operation, the **power consumption is high** and the **internal computation is complex**, because it has to keep downloading the current effective ephemeris of the visible satellites. |
|
| 122 | +- **Cold-start sensitivity is lower**. Without any prior ephemeris, the module cannot estimate its approximate position. It’s like arriving in a completely unfamiliar desert: you have no reference points, so you must scan the entire environment for landmarks to figure out where you are. |
|
| 123 | + |
|
| 124 | +In other words, during a cold start, the GPS module has to do **a lot of “wasted work”**: |
|
| 125 | + |
|
| 126 | +- It scans **every corner of the sky** like sifting signals through a filter. |
|
| 127 | +- This process consumes a **lot of power**. |
|
| 128 | +- Once it finds a satellite, it starts downloading ephemeris. If the signal condition changes (for example, you’re in a moving car and position changes constantly), the module may fail to download complete data and has to retry, which **extends the cold-start time**. |
|
| 129 | +- In weak-signal environments, downloading ephemeris takes even longer. |
|
| 130 | + |
|
| 131 | +You can compare this to downloading a file from the internet: |
|
| 132 | + |
|
| 133 | +- If the connection is good, the file downloads quickly. |
|
| 134 | +- If the connection is unstable, it may disconnect and need to re-establish the link, restarting or slowing the download. |
|
| 135 | +- Users of **CDMA / GPRS** connections, especially on a train, know that the link can be intermittent and significantly worse than being near a base station. |
|
| 136 | + |
|
| 137 | +Once the GPS module has continuously tracked **three or more satellites**, the situation improves: |
|
| 138 | + |
|
| 139 | +- Like sketching a rough map in the field, you can at least estimate your **approximate 2D position**. |
|
| 140 | +- At **three satellites**, 2D (horizontal) positioning becomes possible. |
|
| 141 | +- At **four satellites**, you get **3D positioning** (including altitude). |
|
| 142 | + |
|
| 143 | + |
|
| 144 | + |
|
| 145 | + |
|
| 146 | +After the module has been running for a while and has finished downloading enough current information: |
|
| 147 | + |
|
| 148 | +- It enters a relatively **stable signal reception state**. |
|
| 149 | +- Small movements or moderate signal changes no longer affect it as much, because it has **stored the current ephemeris data**. |
|
| 150 | +- Even with brief signal loss, it can rely on **memory and internal calculations** to quickly restore its position, just like someone who has become familiar with a new environment and can quickly find their way back. |
|
| 151 | + |
|
| 152 | +Once stabilized: |
|
| 153 | + |
|
| 154 | +- The ephemeris data continues to **refresh periodically**. |
|
| 155 | +- After stabilization, the **power consumption naturally decreases**. |
|
| 156 | + |
|
| 157 | + |
|
| 158 | + |
|
| 159 | +An analogy: |
|
| 160 | + |
|
| 161 | +- The first time you visit a large amusement park (or zoo), you see elephants, monkeys, tigers, artificial hills, dense woods, etc. It’s dazzling and disorienting; you easily lose sense of direction. |
|
| 162 | +- After wandering around all day, you become familiar with the terrain and realize the whole place isn’t that big. |
|
| 163 | +- If someone then briefly covers your eyes and releases you, you can quickly figure out east/west/north/south. |
|
| 164 | + |
|
| 165 | +Similarly, once the GPS module is in this familiar state: |
|
| 166 | + |
|
| 167 | +- Even if you move into a weak-signal area from time to time, it can **quickly readjust**. |
|
| 168 | +- Thanks to the stored ephemeris and internal calculations, the positioning performance is **much better than during a fresh cold start in the same place**. |
|
| 169 | + |
|
| 170 | +You might wish that the module **never** had to go through cold start. In practice, we can **shorten cold-start time** by using **network-assisted data**, but some limitations remain: |
|
| 171 | + |
|
| 172 | +- Through the internet, you can download **almanac/ephemeris-like data** (e.g. from u‑blox servers). |
|
| 173 | +- However, **ephemeris (星历)** and **almanac (历书)** are different: |
|
| 174 | + - Almanac is generated by u‑blox using data from **about 182 ground receivers worldwide**, then computing satellite orbits with software. |
|
| 175 | + - Almanac files can cover **1 day, 7 days, 2 weeks**, or even longer. In theory, with good almanac you can avoid a full cold start for **long periods**. |
|
| 176 | +- In reality, satellite orbits are **constantly corrected**: |
|
| 177 | + - Satellites’ actual paths change. |
|
| 178 | + - Ground stations periodically adjust and correct the trajectory. |
|
| 179 | + - So a “perfectly” computed almanac still has limited accuracy for precise positioning. |
|
| 180 | +- Nonetheless, having good almanac/assistance **significantly shortens cold-start time**. Technologies like **u‑blox A‑GPS** or **AssistNow** are classic examples, but they **require network connectivity**, which is sometimes limited in real applications. |
|
| 181 | + |
|
| 182 | +### Hot Start (热启动) |
|
| 183 | + |
|
| 184 | +If a cold start is the difficult process of adapting to a completely new environment, then a **hot start** is like living in a **familiar** place: |
|
| 185 | + |
|
| 186 | +- You watch familiar TV, listen to familiar music, sleep in a familiar bed, and enjoy a pleasant, sunny day. |
|
| 187 | +- We also hope that the module can “stay in a good mood”, i.e. **remain familiar with its environment**. |
|
| 188 | + |
|
| 189 | +Practical meaning: |
|
| 190 | + |
|
| 191 | +- Sometimes we need to **briefly power off** the GPS or the whole device. |
|
| 192 | +- To allow the module to **quickly return** to its previous state when powered on again, we must **save the current ephemeris and related data**. |
|
| 193 | +- This is done with a **backup battery** (后备电池), which can maintain the module’s data for **about 8–12 hours**. |
|
| 194 | + |
|
| 195 | +If the main power is removed but the backup battery is present: |
|
| 196 | + |
|
| 197 | +- And we **reapply power within about 2 hours**, the module can perform a **hot start**. |
|
| 198 | +- In this case, it can reach a normal fixed position in about **3 seconds**. |
|
| 199 | +- The reason is that the satellite configuration overhead has **not changed much**: |
|
| 200 | + - The satellites above your head have only moved slightly. |
|
| 201 | + - It’s like walking near your home; the landmarks barely change, so you can quickly find your way back. |
|
| 202 | + |
|
| 203 | +That **small backup battery or backup supply** can save you **a lot of waiting time**. |
|
| 204 | + |
|
| 205 | +### Warm Start (温启动) |
|
| 206 | + |
|
| 207 | +Warm start is the case **between cold and hot start**: |
|
| 208 | + |
|
| 209 | +- In practice, we don’t always restart within 2 hours. |
|
| 210 | +- Suppose the main power to the module has been off for **more than 2 hours**, but the **backup battery still has power**. |
|
| 211 | +- If we restart within **8 hours** (approximate range) of power-off, the module will perform a **warm start**. |
|
| 212 | + |
|
| 213 | +Characteristics: |
|
| 214 | + |
|
| 215 | +- Startup speed is **slower than hot start**, but **faster than cold start**. |
|
| 216 | +- Signal environment requirements are **less strict than cold start**, but stricter than hot start. |
|
| 217 | +- The actual time needed to fix a position varies: |
|
| 218 | + - The closer the **time and satellite configuration** is to the moment when data was last saved, the **shorter** the time to get a fix. |
|
| 219 | + - The longer the power-off duration, or the bigger the change in satellite geometry, the **longer** it takes. |
|
| 220 | + |
|
| 221 | +Analogy: |
|
| 222 | + |
|
| 223 | +- The shorter the time you are away from home, the **faster** you re-familiarize yourself with your surroundings when you return—assuming your memory is fine. |
|
| 224 | +- If you have been away **too long**, things change and your memory becomes less useful. |
|
| 225 | + |
|
| 226 | +If enough time passes: |
|
| 227 | + |
|
| 228 | +- For example, after **20 hours**, the satellite configuration has changed significantly. |
|
| 229 | +- The stored ephemeris is no longer very useful. |
|
| 230 | +- In this case, the module effectively has to perform a **cold start again**. |
|
| 231 | + |
|
| 232 | +### Summary |
|
| 233 | + |
|
| 234 | +- A computer is a machine that executes programs designed by humans; its “thinking” cannot exceed human logic. |
|
| 235 | +- Many artificial intelligence products such as GPS systems are implementations of **human-designed strategies** based on **natural rules**. |
|
| 236 | +- By understanding how our own thinking and memory work, we can design **better and more efficient GPS behavior**, especially around cold, warm and hot starts. |
|
| 237 | + |
|
| 238 | + |
|
| 239 | + |
|
| 240 | + |
|
| 104 | 241 | ## ref |
| 105 | 242 | |
| 106 | 243 | - [[location-dat]] |
| ... | ... | \ No newline at end of file |
Network-dat/location-dat/location-dat.md
| ... | ... | @@ -89,6 +89,10 @@ arduino shield with [[neo-6-dat]] + [[SD-dat]] |
| 89 | 89 |  |
| 90 | 90 | |
| 91 | 91 | |
| 92 | + |
|
| 93 | + |
|
| 94 | + |
|
| 95 | + |
|
| 92 | 96 | ## ref |
| 93 | 97 | |
| 94 | 98 | - [[STM32-dat]] |