osqzss / gps-sdr-sim

Software-Defined GPS Signal Simulator
MIT License
2.61k stars 761 forks source link

I want to generate QZSS(prn193~199). #323

Open kurokkasu opened 2 years ago

kurokkasu commented 2 years ago

QZSS is compatible with GPS. In creating it, the current changes are the generation of C / A code and the reading of the RINEX Navigation file(2.12). Now the system is working, but not receiving. What else do I need to change? Please give me advice.

shuwang1 commented 2 years ago

"not receiving?" what does this mean?

kurokkasu commented 2 years ago

The signal is being sent but the data cannot be obtained. kekka

qzsspower

Imtiaz08 commented 2 years ago

There could be multiple reasons

  1. Check whether the preamble is valid in the DWRD
  2. Make sure you are correctly simulating the doppler frequency shift
  3. Make sure you are transmitting enough subframes
  4. Make sure that the receiving module is not aided by anything such as A-GPS, SBAS etc and if it is mobile phone then you will need to turn off the Wifi/mobile data too
Imtiaz08 commented 2 years ago

Also the SVs in the sky plot and the SVs in the signal section seems to be different it means you are mixing stuff as far as I suspect

kurokkasu commented 2 years ago

I recently re-received. gpspower3 Subframe and DWRD debug results.

qzssdwrd qzsssbf qzsssbf1

How can I see the correct subframe?

Imtiaz08 commented 2 years ago

Subframe data and the dwrd data are different

Dwrd is the message generated from the subframes

osqzss commented 2 years ago

Use a u-blox receiver. UBX-RXM-SFRBX message contains subframe data bits.

Imtiaz08 commented 2 years ago

@osqzss when I transmit the data I can see satellites visible but I can't get any fix. I've tried reading the file using GNSS SDR but it says invalud preamble.

kurokkasu commented 2 years ago

@Imtiaz08 Is it the codegen that needs to be changed?

Imtiaz08 commented 2 years ago

No it is absolutely correct. You need to understand what's happening. Debug the code line by line and you will be able to see

kurokkasu commented 2 years ago

@osqzss Is any kind okay?

kurokkasu commented 2 years ago

@Imtiaz08 I understand, I'll do my best

Imtiaz08 commented 2 years ago

@Imtiaz08 I understand, I'll do my best

imtiaznabi8@gmail.com this is my email. You may reach out to me if you want to work this project together