This document contains information highly confidential to RoyalTek Company LTD
(RoyalTek). It is provided for the sole purpose of the business discussions between
customer and RoyalTek and is covered under the terms of the applicable NonDisclosure Agreements. Disclosure of this information to other parties is prohibited
without the written consent of RoyalTek.
12. Revision History ................................................................................................ 27
2
RDR-3100 User Manual
1. Introduction
RoyalTek RDR-3100 is the newest generation of RoyalTek GPS module integrated Dead
Reckoning technology.The RDR-3100 includes dead reckoning sensors to track your
vehicle's course when your GPS signal is blocked for example in urban areas or tunnels. If
you lose GPS coverage in areas with tall buildings or tunnels, the RDR-3100 keeps on
navigating.
This document describes the recommended schematic and layout design of gyro and odometer
circuit, and is designed to operate with RDR-3100 algorithm correctly. This document also
describes the application of DR protocol and illustrates how to optimize the performance of
DR using known digital map information.
2. Product Feature
20 parallel channels
Screw holes type
Newest generation of RoyalTek GPS module integrated Dead Reckoning technology
Keep on producing an accurate position after loosing contact to the GPS satellites.
Enhanced algorithm for navigation stability and minimizes the effects of GPS outages,
And provide improved position accuracy in urban environments.
Excellent sensitivity for urban canyon and foliage environments.
2.1 Product Applications
Automotive navigation
3
RDR-3100 User Manual
3. Specification
GPS Module - REB-3570 /LP
GPS Chipset - Star III GPS Gsc3f/LP chipset
Frequency - L1 1,575.42 MHz
Channel - 20 channels
C/A Code - 1,023 MHz
chipset Fix time
(Open sky)
(UAR1)
38400bps, 8 data bits, no
parity, 1 stop bit
I NMEA (Receive) Car PC
(UAR1)
O Can bus data (transmit)
Car PC (UAR2)
Vih > VDD-0.1V Vil<0.6V
VDD:3.3V for MCU
VVVV
855.00.3V- 995.115.3≥≥
VV
715.0 VVV 375.285.2
OLOH
VVVVV
855.00.3V- 995.115.3≤≥≥
ILIH
9
RDR-3100 User Manual
15 RXD2 (SiRF 3
RXD2)
16 GND G Ground
17 GND G Ground
18 GND G Ground
I Can bus data (Receive)
Car PC (UAR2)
Vih > 2V Vil<0.8V
Reference Ground
Reference Ground
19 N.C NC
20 N.C NC
z GPS_5V
This is the DC power supply input pin for system. .
z GND
GND provides the reference ground.
z BOOT
Set this pin to high for programming flash.
z RXD1
This is the main receiver channel and is used to receive software commands to the board from SIRFdemo software or from user written
software.
z RXD2
This is the auxiliary receiving channel communicated with car pc with can bus
z TXD1
This is the main transmitting channel and is used to output navigation and measurement data to SiRFdemo or user written software.
z TXD2
This is the auxiliary transmitting channel communicated with car pc with can bus
z ODOMETER
This pin provides for connecting to odometer.
z RTC (Backup voltage)
10
This is the battery backup input that powers the SRAM and RTC when main power is removed. Typical current draw is 10uA.
The supply voltage should be between 2.5V and 3.6V.
z BACK (Backward)
This pin provides for connecting to backward signal.
z RESET
This pin provides an active-low reset input to the board. It causes the board to reset and start searching for satellites. If not utilized, it may
be left open.
RDR-3100 User Manual
1
3
5
7
9
11
13
15
17
J2
19
CON20-Interface
2
4
6
8
10
12
14
16
18
20
11
RDR-3100 User Manual
5.2 RF connector type: MCX STRAIGHT PCB JACK (J1)
RF IN:
This pin receives GPS analog signal. The line on the PCB between the antenna (or antenna connector) has to be a controlled impedance line
(Microstrip at 50Ω). This pin can provide maximum power 30mA @ 2.85V for active antenna.
6. Product Picture
TOP:
12
Bottom:
RDR-3100 User Manual
13
7. Mechanical Layout
RDR-3100 User Manual
14
RDR-3100 User Manual
8. SW Protocol
8.1 GPS output Protocol
The communication settings:
Baud rate: 38400, n, 8, 1
The UARTA will output GPS NMEA 0183 V3.0 protocol and RoyalTek DR protocol.
There are 4 type sentence will output as the follow table:
Table 1-1 NMEA-0183 Output Messages
NMEA Record Description
GGA Global positioning system fixed data
GSA GNSS DOP and active satellites
GSV GNSS satellites in view
RMC Recommended minimum specific GNSS data
The RoyalTek DR protocols are NMEA like protocol to show the DR navigation and
calibration information.
8.1.1 RoyalTek DR protocol – RTOEM,3
This sentence contains the navigation and calibration information of DR.
The protocol is illustrated as follows:
Item Field Description
1 $ Beginning of sentence
2 RTOEM Message Header
3 3 Message ID
4 GPS validated Number of SV in use > 3 = 1, other is 0
5 Gyro Calibrate Status 1.Gyro already calibrated /0: Gyro not calibrated
6 Odometer Calibrate
Status
7 Gyro Input Status 1: Gyro Input available / 0: Gyro Input not available
8 Odometer Input Status 1: Odometer Input available 0: Odometer Input not
9-1 MCU Read Count The count of data read count from MCU
9-2 Odometer Input Source 1: CAN BUS / 0: Vehicle’s Odometer PWM
9-3 DR position status 4: Initial Status /3: GPS Fix /2:DR Mode
9-4 Backward Status 1: Activated / 0: Normal
9-5 Antenna Detecting 1: Available / 0: Abort
1: Odometer already calibrated /0: Odometer not
calibrated
available
15
10 Gyro Offset The voltage of Gyro input. The unit is 0.002v
11 Odometer scale factor The scale factor of odometer pulse. The scale is
cm/pulse
12 Delta angle Vehicle’s Cog per second (unit = degree)
13 Pulse count
14 Delta distance The delta distance of last second. (Unit = m / s)
Gyro calibrate / Odometer calibrate / Gyro input is available /Odometer
The pulse count of last second of odometer sensor. The
unit is pulse / second.
1: Received and executed a map matching sentence; 0:
Not receive any map matching sentence.
Check Sum and sentence termination delimiter. The
algorithm of checksum calculation is same with the one
to calculate NMEA checksum.
Name Example Units Description
Message ID $GPGGA GGA protocol header
UTC Position 161229.487 hhmmss.sss
Latitude 3723.2475 ddmm.mmmm
N/S Indicator N N=north or S=south
Longitude 12158.3416 Dddmm.mmmm
E/W Indicator W E=east or W=west
Position Fix Indicator 1 See Table 1-4
Satellites Used 07 Range 0 to 12
HDOP 1.0 Horizontal Dilution of
Precision
16
RDR-3100 User Manual
MSL Altitude 9.0 meters
Units M meters
Geoid Separation meters
Units M meters
Age of Diff. Corr. second Null fields when DGPS is
not used
Diff. Ref. Station ID 0000
Checksum *18
<CR><LF>
End of message termination
Table 1-2 Position Fix Indicators
Value Description
0 Fix not available or invalid
1 GPS SPS Mode, fix valid
2 Differential GPS, SPS Mode, fix valid
3-5 Not Supported GPS PPS Mode, fix valid
6 Dead Reckoning Mode, fix valid
17
RDR-3100 User Manual
8.1.3 GSA-GNSS DOP and Active Satellites
Table 1-5 contains the values of the following example:
Message ID $GPGSA GSA protocol header
Mode 1 A See Table 1-6
Mode 2 3 See Table 1-7
Satellite Used 07 Sv on Channel 1
Satellite Used 02 Sv on Channel 2
…. ….
Satellite Used Sv on Channel 12
PDOP 1.8 Position Dilution of Precision
HDOP 1.0 Horizontal Dilution of Precision
VDOP 1.5 Vertical Dilution of Precision
Checksum *33
<CR><LF>
End of message termination
Table 1-2 Mode 1
Value Description
1 Fix not available
2 2D
3 3D
Table 1-3 Mode 2
Value Description
M Manual-forced to operate in 2D or 3D mode
A Automatic-allowed to automatically switch 2D/3D
18
RDR-3100 User Manual
8.1.4 GSV-GNSS Satellites in View
Table 1-8 contains the values of the following example:
Name Example Units Description
Message ID $GPGSV GSV protocol header
Number of Messages
Messages Number
Satellites in View 07
Satellite ID 07 Channel 1(Range 1 to 32)
Elevation 79 degrees Channel 1(Maximum 90)
Azimuth 048 degrees Channel 1(True, Range 0 to 359)
SNR (C/No) 42 dBHz Range 0 to 99, null when not tracking
…. ….
Satellite ID 27 Channel 4(Range 1 to 32)
Elevation 27 degrees Channel 4(Maximum 90)
Azimuth 138 degrees Channel 4(True, Range 0 to 359)
SNR (C/No) 42 dBHz Range 0 to 99, null when not tracking
Checksum *71
<CR><LF>
1
Depending on the number of satellites tracked multiple messages of GSV data may
1
1
2 Range 1 to 3
1 Range 1 to 3
End of message termination
be required.
19
RDR-3100 User Manual
8.1.5 RMC-Recommended Minimum Specific GNSS Data
Table 1-9 contains the values of the following example:
$GPRMC,161229.487,A,3723.2475, N,12158.3416,W,0.13,309.62,120598,,,A*10
Table 1-1 RMC Data Format
Name Example Units Description
Message ID $GPRMC RMC protocol header
UTC Position 161229.487 hhmmss.sss
Status A A=data valid or V=data not
valid
Latitude 3723.2475 ddmm.mmmm
N/S Indicator N N=north or S=south
Longitude 12158.3416 dddmm.mmmm
E/W Indicator W E=east or W=west
Speed Over Ground 0.13 knots
Course Over Ground 309.62 degrees True
Date 120598 Ddmmyy
Magnetic Variation degrees
Variation sense E=east or W=west(Not
Shown)
Mode A A=Autonomous, D=DGPS,
E=DR
Checksum *10
20
RDR-3100 User Manual
GPS DR (UART A) Input command
The input command is used to let the navigation program send command to DR.
8.2.1 $MMF
This MMF command is used to let the navigation program send the map matching
information to the DR module to update the current position and azimuth angle of
device using known information. Please refer to section 2.2 Calibration of DR using
digital map information for further information.
Example:
=> If current DR position is (24.106928 N, 120.299588 E) with COG=213.19
degree
=> $MMF,156,A,288,A,10,A*2D
=> It will set the DR position to (24.119842 N, 120.301837 E) with COG = 214.19
degree.
5
The correction of latitude value to calibrate DR
position that generated by map. Value the unit is
1.0e-6 degree
A: use above value to calibrate the DR Latitude
V: Do not use.
The correction of longitude value to calibrate
DR position that generated by map. Value the
unit is 1.0e-6 degree
A: use above value to calibrate the DR
Longitude
V: Do not use.
The correction angle (COG) of current
movement to calibrate DR Heading that
generated by map. Value the unit is 0.1 degree.
A: use above value to calibrate the DR
Longitude
V: Do not use.
Check Sum and sentence termination delimiter.
The algorithm of checksum calculation is same
with the one to calculate NMEA checksum.
LongFormat:DDD.MMSSSS,E/Windicator
(Iflongvalue<0.0,‘W’isused.Otheris‘E’)
Co
:unit=degree
GetcurrentGPSPosition
(Unit=DD.MMSSSS)
ConverterGPSInfoFormat
(Unit=degree)
RetrievedMMFCommand
Message
UpdatedGPSPositionbyInput
MMFMessage
ConverterGPSInfoFormat
(Unit=DD.MMSSSS)
WaitingfornextMMFCommand
22
RDR-3100 User Manual
8.3 CAN bus (UART B) protocol
The RDR-3100 provides a second port to receive the speed and reverse message from
the input source. If the module receives the following input message then the DR
module will stop reading the speed and reverse message from MCU.
The communication settings:
Baud rate: 38400, n, 8, 1
Update rate: 1 Hz
8.3.1 Speed, Reverse status input Message
This sentence contains the speed and reverse information that read from CAN
bus. The protocol is illustrated as the following:
Item Field Description
1 $ Beginning of the sentence
2 PSRF121 Message Header
3 Speed
4 Reverse High-normal / Low - activated
5 *CC<CR><LF>
This sentence contains the GPS antenna detector information which read from
GPS module and send to the CAN bus.
The protocol is illustrated as follows:
Item Field Description
1 $ Beginning of sentence
2 PSRF122 Message Header
1: antenna connected 3 GPS antenna status
0: antenna not connected
4 *CC<CR><LF> Check Sum and sentence termination delimiter.
The algorithm of checksum calculation is same
With the one to calculate NMEA checksum.
Example:
$PSRF 122,1*3B<CR><LF>
GPS antenna connected
Check sum= 0x3B.
24
RDR-3100 User Manual
8.4 NMEA Output Message
9 Calibration of DR
9.1 Self calibration of DR
RDR-3100 calibrates the Gyro bias and odometer scale using the information of GPS
satellites automatically. It also updates the position and azimuth using GPS navigation
information automatically. Customer is not required to calibrate the Gyro bias and
odometer scale factor. In respect to the position and azimuth angle, RDR-3100 DR
provides a protocol, which is used to calibrate the position and azimuth angle using
digital map.
9.2 Calibration Criterion
•Keep vehicle in static with 15 seconds at least after power on to retrieve gyro initial
bias
•During normal operation, the calibration of gyro and odometer scale take place
automatically during periods of good GPS reception. 9.3 Calibration of DR
using digital map information
The DR is used to output the navigation data when GPS signal is absent or poor. The
longer time of losing GPS signal, the Gyro precision and odometer would become
worse. The best way to have better DR performance is to use the digital map
information. Once the map matching completed, it could provide useful information
for DR algorithm to continuously output the accurate navigation information as
possible. The PROYRESET is designed for this purpose. Navigation application can
reset the DR position and COG especially when no or poor GPS signal occurs.
Because digital map provides very accurate and stable positioning information, to get
longer and more accurate DR output, please use PROYRESET to achieve it.
9.4 Gyro Electric Characteristics
Gyro Chipset - Panasonic EWTS86
Operation voltage Range - +5±0.25 V
25
Temperature Range - -40 ~ 85℃
Zero point voltage - +2.5±0.4V
Sensitivity
Frequency response(7Hz)