Ublox LEA-4R Quick setup guide

your position is our focus
Abstract
mentscribestheatures dspecificationsofthe
LEA-4R/TIM-4RlowpowerDRGPSmodules.Itguidesthrougha
designandprovidesinformationtogetmaximumGPS
performanceatverylowpowerconsumption.
u-blox AG
Zürcherstrasse68
8800Thalwil
Switzerland
www.u-blox.com
Phone+4117227444
Fax+4117227447
LEA-4R / TIM-4R
System Integration Manual / Reference Design
Manual
This docu de fe an

your position is our focus
Title LEA-4R/TIM-4R
Subtitle SystemIntegrationManual/ReferenceDesign
Doc Type Manual
Doc Id GPS.G4-MS4-05043
Revision
Index Date Name Status / Comments
InitialVersion TG
Wereserveallrightstothisdocumentandtheinformationcontainedtherein.Reproduction,useordisclosuretothirdpartieswithoutexpresspermissionisstrictlyprohibited.
Formostrecentdocuments,pleasevisitwww.u-blox.com
Performancecharacteristicsshowninthisdocumentareestimatesonlyanddonotconstituteawarrantyorguaranteeofproductperformance.u-bloxdoesnot
supportanyapplicationsinconnectionwithweaponsystems.Sinceu-blox’productsarenotdesignedforuseinlife-supportandcommercialaviationapplications
theyshallnotbeusedinsuchproducts.Indevicesorsystemswherebymalfunctionoftheseproductscanbeexpectedtoresultinpersonalinjuryandcasualties,
u-bloxcustomersusingorsellingtheseproductsdosoattheirownriskandagreetokeepu-bloxharmlessfromanyconsequences.u-bloxreservestherightto
makechangestothisproduct,includingitscircuitsandsoftware,inordertoimproveitsdesignand/orperformance,withoutpriornotice.
u-bloxmakesnowarranties,neitherexpressednorimplied,regardingtheinformationandspecificationscontainedinthisdocument.u-bloxassumesno
responsibilityforanyclaimsordamagesarisingfrominformationcontainedinthisdocument,orfromtheuseofproductsandservicesdetailedtherein.This
includes,butisnotlimitedto,claimsordamagesbasedontheinfringementofpatents,copyrights,maskworkand/orotherintellectualpropertyrights.
u-bloxintegratedcircuits,softwareanddesignsareprotectedbyintellectualpropertylawsinSwitzerlandandabroad.u-blox,theu-bloxlogo,theTIM-typeGPS
module,Antaris,SuperSense,"yourpositionisourfocus",NavLox,u-center,AssistNow,AlmanacPlus,FixNowandEKFare(registered)trademarksofu-bloxAG.
Thisproductmayinwholeorinpartbesubjecttointellectualpropertyrightsprotection.Pleasecontactu-bloxforanyadditionalinformation.Copyright©2007,
u-bloxAG.
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign
GPS.G4-MS4-05043

your position is our focus
Preface
TheLEA-4R/TIM-4RSystemIntegrationManualprovidesthenecessaryinformationtosuccessfullydesigninand
configuretheseANTARIS®4-basedGPSreceivers.ThisdocumentspecificallyreferstotheDeadReckoning
technologyavailableintheLEA-4RandTIM-4R.ItdoesnotexplaintheANTARIS®4system.Fordetailed
informationregardingANTARIS®4technology,seetheANTARIS®4 System Integration Manual [5].
Technical Support
Worldwide Web
Ourwebsite(www.u-blox.com)isarichpoolofinformation.Productinformation,technicaldocumentsand
helpfulFAQcanbeaccessed24haday.
By E-mail
Ifyouhavetechnicalproblemsorcannotfindtherequiredinformationintheprovideddocuments,contactthe
nearestoftheTechnicalSupportofficesbyemail.Useourservicepoolemailaddressesratherthananypersonal
emailaddressofourstaff.Thismakessurethatyourrequestisprocessedassoonaspossible.Youwillfindthe
contactdetailsattheendofthedocument.
By Phone
Ifanemailcontactisnottherightchoicetosolveyourproblemordoesnotclearlyansweryourquestions,call
thenearestTechnicalSupportofficeforassistance.Youwillfindthecontactdetailsattheendofthedocument.
Helpful Information when Contacting Technical Support
IfyoucontactTechnicalSupportpleasepreparethefollowinginformation:
• Receivertype(e.g.LEA-4R/TIM-4R)andfirmwareversion(e.g.V4.00)
• Receiverconfiguration,e.g.informofau-centerconfigurationfile.
• Cleardescriptionofyourquestionortheproblemtogetherwithu-centerlogfile.
• Ashortdescriptionofyourapplication
• Yourcompletecontactdetails
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign Content
GPS.G4-MS4-05043 Page 3

your position is our focus
Contents
1Dead Reckoning Fundamentals...................................................................................7
1.1DeadReckoningenabledGPS(DR)..............................................................................7
1.2DeadReckoningPrinciple............................................................................................7
1.3DeadReckoningPerformance .....................................................................................8
2Design-In.....................................................................................................................10
2.1SchematicDesign-InChecklistforLEA-4R/TIM-4R .....................................................10
2.2TIM-4R/LEA-4RDesign ..............................................................................................11
2.2.1Forward/BackwardIndication............................................................................11
2.2.2Odometer/Speedpulses.....................................................................................11
2.2.3PowerSupplyforGyroscope,TemperatureSensorandA/DConverter.................11
2.2.4SPIInterfaceforGyroscopeandTemperatureSensor ..........................................12
2.3Pinouttables ............................................................................................................13
2.4LayoutDesign-InChecklistforANTARIS®4.................................................................14
2.5Layout ......................................................................................................................14
3Receiver Description...................................................................................................15
3.1DeadReckoningenabledGPSmodule(DRmodule)...................................................15
3.1.1Architecture .......................................................................................................15
3.1.2InputSignals/Sensors.........................................................................................17
3.1.3DRspecificParameters .......................................................................................20
3.1.4DRCalibration....................................................................................................21
3.1.5StorageofParameters ........................................................................................23
3.1.6StaticPosition.....................................................................................................24
3.2PowerSavingModes ................................................................................................24
3.3AntennaandAntennaSupervisor .............................................................................24
3.3.1OpenCircuitDetect............................................................................................24
4Navigation ..................................................................................................................25
4.1.1Overview............................................................................................................25
4.1.2NavigationUpdateRate......................................................................................25
4.1.3DynamicPlatformModel ....................................................................................26
4.1.4StaticHoldMode ...............................................................................................26
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign Content
GPS.G4-MS4-05043 Page 4

your position is our focus
4.1.5DegradedNavigation..........................................................................................26
4.1.6AlmanacNavigation ...........................................................................................26
4.1.7NavigationInputFilters.......................................................................................27
4.1.8NavigationOutputFilters....................................................................................28
4.1.9PositionQualityIndicators ..................................................................................28
4.1.10DGPS(DifferentialGPS) ......................................................................................31
4.1.11SBAS(SatelliteBasedAugmentationSystems).....................................................31
4.1.12RAIM(ReceiverAutonomousIntegrityMonitoring)..............................................31
5Product Testing...........................................................................................................32
5.1u-bloxIn-SeriesProductionTest ................................................................................32
5.2TestParametersforOEMManufacturer ....................................................................32
5.3SystemSensitivityTest ..............................................................................................33
5.3.1GuidelinesforSensitivityTests ............................................................................33
5.3.2‘Go/Nogo’testsforintegrateddevices ...............................................................33
5.4TestingofLEA-4R/TIM-4RDesigns ............................................................................34
5.4.1DirectionSignal ..................................................................................................34
5.4.2SpeedpulseSignal ..............................................................................................34
5.4.3Gyroscope(Rate)Input .......................................................................................34
5.4.4TemperatureSensor ...........................................................................................34
5.4.5EraseCalibration ................................................................................................34
6PC Support Tools ........................................................................................................35
AMigration from TIM-LR to TIM-4R .............................................................................36
A.1MigrationfromTIM-LRtoTIM-4Rpinout .................................................................37
BDefault Settings..........................................................................................................38
B.1Hardware .................................................................................................................38
B.2Navigation................................................................................................................38
B.3PowerSavingModes ................................................................................................39
B.4CommunicationsInterface ........................................................................................40
B.5Messages(UBX–CFG–MSG) ..................................................................................40
B.6Messages(UBX–CFG–INF) .....................................................................................41
B.7TimingSettings.........................................................................................................42
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign Content
GPS.G4-MS4-05043 Page 5

your position is our focus
CReference Design for TIM-4R.....................................................................................42
DMechanical Data.........................................................................................................43
D.1Dimensions...............................................................................................................43
D.2Specification.............................................................................................................44
Glossary ............................................................................................................................45
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign Content
GPS.G4-MS4-05043 Page 6

your position is our focus
1 Dead Reckoning Fundamentals
1.1 Dead Reckoning enabled GPS (DR)
DeadReckoningisafeaturetomakeGPSmoreaccurateandreliableinurbancanyonenvironmentsandduring
GPSoutages.Itusesadditionalsensorstomeasurespeed,headinganddirection(forward/backward).Therefore
aDRenabledGPSreceiverconsistsofaGPSreceiver,aturnratesensor(gyroscope)andaspeedindicator
(odometer1).BycombiningtheinformationofallsensorsapositioncanbedeterminedevenifGPSpositioningis
degradedorimpossibleduetorestrictedskyview.ThismeansthataDRenabledreceivercontinuestoreport
positionswhenGPSsignalsareblocked,suchasintunnelsorinheavyurbancanyonenvironments.
GPS Kalman Filter
GPS
receiver
Dead Reckoning
Parameter Enhanced Kalman Filter (EKF)
Position,
Speed,
Direction,
Time
Calibration
TurnRate
Speed
Forward/Backward
GPS
Signals
GPSPosition,
GPSData
Figure 1: Dead Reckoning Block diagram
1.2 Dead Reckoning Principle
IncontrasttoGPS,whichdeliversabsolutepositions,DeadReckoningisarelativemethod.Thesensorsgive
informationforadefinedmeasurementperiod,andthelocationiscalculatedrelativetothepreviouslyknown
position.ThereforeanabsoluteGPSpositionisrequiredasastartingpoint,whichisthelastknownGPSposition.
δ
s
y
n
x
n
y
n+1
=y
n
+dy
x
n+1
=x
n
+dx
Known parameters:
s
=Traveleddistance(odometer,direction)
δ
=Newangle(gyroscope)
dy
=scos(
δ
)
dx
=ssin(
δ
)
=last GPSposition
=DRposition
x
y
Figure 2: Dead Reckoning Principle
Parametersusedfortherelativepositioncalculationare:
1Anodometerisbydefinitionadevice,whichmeasureslineardistancetraveled.GPSreceiverscanalsoincludesoftware(alsoknownasan
odometer)usedtocalculatethisdistance.
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign DeadReckoningFundamentals
GPS.G4-MS4-05043 Page 7

your position is our focus
• Distance travelled:Odometerpulses
• Direction:Forward/backwardindicator
• Angular turn rate:Gyroscope
1.3 Dead Reckoning Performance
AsDRisanincrementalalgorithm,thequalityoftheDRpositiondependsverymuchonthequalityandstability
ofthesensorsused.Anaccuratemodel,lowtolerancesandlowthermaldriftsareessentialforreliableposition
output.
TheperformancefiguresofaDRsystemarealwaysproportionaltodistancetraveledortime.
y
n
x
n
calculated route
based on sensor
signals
Known parameters:
S
=Traveleddistancesince GPSSignalslost
d
=Distanceerror
Performance parameters:
d/S
=Positionerrorpercentageincomparison
todistancetraveled
∆Φ
=
Angularheadingerror
Fix types:
=GPSposition
=DRposition
=Realposition
d
∆Φ
Actual route
Length = S
x
y
Figure 3: Dead Reckoning Performance Parameters
TheseamlesstransitionbetweenabsoluteGPSpositionsandrelativeDRpositionsisadvantageousingetting
optimalperformancefromaDRenabledGPSreceiver.ANTARIS®4GPSTechnologyemploysblendedalgorithms
toobtaintheoptimumfrombothsystems.
GPSPositioningisweightedmoreheavilyaslongastheGPSparameter(e.g.DOP,numberofsatellites,signal
quality)indicatesgoodandreliableperformance.Insituations,wheretheGPSsignalsarepoor,reflectedfrom
buildings(multipath)orjammedtheDRsolutionisusedwithahigherweighting.
Poor GPSNo GPS Good GPS
GPS DRGPS DRGPS DR
Extrapolation Blending Calibration
EKF EKF EKF
Position,Velocity,Time
Position,Velocity,Time
Position,Velocity,Timefrom
real-timeclock
Altitudeheldconstant
Figure 4: Dead Reckoning Blending
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign DeadReckoningFundamentals
GPS.G4-MS4-05043 Page 8

your position is our focus
• No GPS:DuringGPSloss,onlyDR-(sensorbased)positionsarereported.Thepositioniscalculated
basedonthesignalsoftheturnratesensorandspeedsensor,withreferencetothelast
knownGPSsolution.
• Poor GPS:InurbancanyonswithfastchangingskyvisibilityorduringdegradedGPSreception,the
ANTARIS®4DRTechnologyperformsacalculationbyblendingtheGPSandsensorbased
positioning.
• Good GPS:WithgoodGPSperformanceandoptimalskyview,theGPSpositionhasahigherweight
thantheDR/sensorbasedpositionontheoverallnavigationsolution.Inthissituation,the
GPSpositionvaluesareusedtocalibratetheDRsensorsortoperformsensorintegrity
checks(toestablishifthesensorsarewellcalibrated).
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign DeadReckoningFundamentals
GPS.G4-MS4-05043 Page 9

your position is our focus
2 Design-In
ThissectionprovidesaDesign-InChecklistaswellasReferenceSchematicsfornewdesignswithLEA-4R/TIM-4R.
FormigrationofexistingTIM-LRproductdesignstoTIM-4RpleaserefertoAppendix A.
2.1 Schematic Design-In Checklist for LEA-4R/TIM-4R
Designing-inaLEA-4R/TIM-4RGPSreceiveriseasy,especiallywhenadesignisbasedonthereferencedesignin
Appendix C.Nonetheless,itpaystodoaquicksanitycheckofthedesign.Thissectionliststhemostimportant
itemsforasimpledesigncheck.TheLayoutChecklistinSection 2.4alsohelpstoavoidanunnecessaryrespinof
thePCBandhelpstoachievethebestpossibleperformance.
! Note It’shighlyrecommendedtofollowtheDesign-InChecklistwhendevelopinganyANTARIS®4GPS
applications.Thiscanshortenthetimetomarketandsignificantlyreducethedevelopmentcost.
! Note Forimportantinformationexplainingthevariousaspectsofthischecklistseesection3intheAntaris®4
System Integration Manual [5]
Check Power Supply Requirements and Schematic:
Isthepowersupplywithinthespecifiedrange?
PlaceanyLDOasnearaspossibletotheVCCpinofthemodule;ifthisisnotpossibledesignawidepower
trackorevenapowerplanetoavoidresistancebetweentheLDO/powersourceandtheGPSModule.
IstherippleonVCC below50mVpp?
Backup Battery
AbackupbatteryisamustforDRenabledGPSreceiver’sdesigns.
MakesuretoconnectabackupbatterytoV_BAT.LEA-4R/TIM-4Rdonotoperatewithoutabackupbattery.
Whenyouconnectthebackupbatteryforthefirsttime,makesureVCC isonor–ifnotpossible–powerup
themoduleforashorttime(e.g.1s)ASAPinordertoavoidexcessivebatterydrain.
Whilepoweroff,makesuretherearenopull-upordownresistorsconnectedtotheRxD1,RxD2,EXTINT0
andEXTINT1asthiscouldcausesignificantbackuporsleepcurrent(>25µAormoreinsteadof5µA).
Antenna
Activeantennaissupported.
Thetotalnoisefigureshouldbewellbelow3dB.
Ifapatchantennaisthepreferredantenna,chooseapatchofatleast18x18mm(25x25mmisevenbetter).
Makesuretheantennaisnotplacedclosetonoisypartsofthecircuitry.(e.g.micro-controller,display,etc.)
Foractiveantennasadda10RresistorinfrontofV_ANTinputforshortcircuitprotectionorusethe
antennasupervisorcircuitry.
WhenmigratingfromTIM-LRreduceR5oftheAntennaShortandOpenSupervisorcircuitto18k.
Adaptthevalueofsomeoftheresistorsinthereferencedesigntothe3.0Vvoltagelevels(seeAppendix C).
Serial Communication
ChooseUBXforanefficient(binary)datahandlingorifmoredataisrequiredthansupportedbyNMEA.
WhenusingUBXprotocol,checkiftheUBXqualityflags(seeSection 4.1.9.2)areusedproperly.
CustomizetheNMEAoutputifrequired(e.g.NMEAversion2.3or2.1,numberofdigits,outputfiltersetc.)
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign Design-In
GPS.G4-MS4-05043 Page 10

your position is our focus
Schematic
LeavetheRESET_Npinopenifnotused.Don’tdriveithigh!
LeaveBOOT_INTpinopenifnotusedforfirmwareupdate.
Planuseof2ndinterfaceforfirmwareupdatesorasaserviceconnector.
2.2 TIM-4R/LEA-4R Design
LEA-4R
TIM-4R
Odometer
Optional
Direction
Turn Rate Sensor
Filer, opto-couplers
Filer, opto-couplers
3Vlevels
3Vlevels
SPEED
FWD
SPIRATE
Low-Pass
filter
(MOSI)leaveopen
Digital
Temp
Sensor
A
D
GND
RF_IN
Coaxial
connector
RF_IN VANTV_ANT
AADET_N
VCC_REF
V_BAT
VCC(3V)
GND
GND
VDD18_OUT
TxD1/ TxD2
RxD1/ RxD2
USB
USB
TIMEPULSE
RESET_N
Optional
Optional
(BOOT_INT)leaveopen
Opencircuit
detection
(optional)
Gyro
Backup
Supply
Figure 5: Block Schematic of a complete LEA-4R / TIM-4R Design
2.2.1 Forward / Backward Indication
Useoftheforward/backwardindicationsignalFWDisoptionalbutstronglyrecommendedforgooddead
reckoningperformance.ConnecttoVDD18_OUT(1.8V)ifnotused.
Youneedtocheckthevoltagelevelsandthequalityofthevehiclesignals.Theymaybeofdifferentvoltage
levels,forexample12Vnominalwithacertaindegreeofvariation.UseofoptocouplersorotherapprovedEMI
protectionandfilteringisstronglyrecommended.
2.2.2 Odometer / Speedpulses
DRreceiversusesignalsfromsensorsinthecartoestablishthevelocityanddistancetraveled.Thesesensorsare
referredtoastheodometerandthesignalscanbedesignatedodometerpulses,speedpulses,speedticks,wheel
pulsesorwheelticks.Thesetermsareoftenusedinterchangeablywhichcansometimesleadtoconfusion.For
thesakeofconsistency,inthisdocumentwewillbereferringtothesesignalsasspeedpulses.
2.2.3 Power Supply for Gyroscope, Temperature Sensor and A/D Converter
TheGyroandtheA/D-Converterareespeciallysensitivetovoltagedropandripple.Thereforeacleanpower
supplymustbedesigned,whichis,forexample,notaffectedfromcurrentspikesproducedbytheGPSmodule.
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign Design-In
GPS.G4-MS4-05043 Page 11

your position is our focus
! Note ForbestDRperformanceit’srecommendedtodesignaseparate(reference)5Vpowersupplyforthe
gyroandtheA/Dconverter.
2.2.4 SPI Interface for Gyroscope and Temperature Sensor
TheLEA-4R/TIM-4RareconfiguredasSPImasters.FollowingsignalsareusedfortheSPIinterface:
Pin Signal name Direction Usage
22PCS2_NOutputSelectsA/Dconverterforgyrosignal
9PCS0_NOutputSelectstemperaturesensorwithSPIinterface
23SCKOutputSPIclock
2MISOInputSerialdata(MasterIn/SlaveOut)
1MOSIOutputSerialdata(MasterOut/SlaveIn),leaveopen
Table 1: SPI pin for LEA-4R
Pin Signal name Direction Usage
24PCS1_NOutputSelectsA/Dconverterforgyrosignal
25PCS0_NOutputSelectstemperaturesensorwithSPIinterface
26SCKOutputSPIclock
27MISOInputSerialdata(MasterIn/SlaveOut)
28MOSIOutputSerialdata(MasterOut/SlaveIn),leaveopen
Table 2: SPI Pin for TIM-4R
ThefollowingblockschematicspecifiestheA/DconverterandtemperaturesensorfortheLEA-4RandTIM-4R.
PleasenotethattheNationalLM70-3sensorfunctionsat3V.Ifthe5Vversion(LM70-5)isused,alevel
translationwithopen-drainbuffersandpull-upresistorsattheoutputsisrequired.
LEA-4R
TIM-4R
Turn Rate Sensor
(MOSI)
22K
10R
leaveopen
Gyro
SCK
MISO
PCS0_N
PCS1_N(TIM-4R)
+5V
REF
10uand
100 n
GND
GND
CONV
SCK
VCC
SC
CS
V
REF
IN
+
IN
-
12-Bit
A/DConverter
Linear LTC1860
Temperature
Sensor
National LM70-3
SDO
SI/O
V
+
GND
GND
GND
+3V
220n/100n
RATE
100n
GND
100K
VDD18
PCS2_N(LEA-4R)
Figure 6: Attaching A/D converter and temperature sensor using SPI interface
ForPCS0_N,apull-upresistorisnotrequiredsincethispinalreadyhasapull-upresistorinsideLEA-4R/TIM-4R.
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign Design-In
GPS.G4-MS4-05043 Page 12

your position is our focus
Forbestresults,supplythe5Vvoltageforthegyroscopethroughalowpassfilterasillustrated.Providea
dedicatedreferencevoltagelinefromthegyroscopesupplypintotheVREFinputoftheA/Dconverter.
Addappropriatecouplingcapacitancesaccordingtotherecommendationsinthedatasheetsoftheillustrated
semiconductorproducts.Allshownresistorsshallhave5%accuracyorbetter.Allshowncapacitors(X7Rtypes)
shallhave10%accuracyorbetter.
! Note ForcorrectoperationwiththeLEA-4R/TIM-4Rfirmware,thiscircuitmustbeadoptedwithoutmaking
anymodificationssuchas,butnotlimitedto,usingdifferenttypesofsemiconductordevicesand
changingsignalassignment.
2.3 Pinout tables
LEA-4R TIM-4R
Pin
NameI/ODescriptionNameI/ODescription
1 MOSIOSPIMOSIVCCISupplyvoltage
2 MISOOSPIMISOGNDIGround
3 TxD1OSerialPort1BOOT_INTIBootmode
4 RxD1ISerialPort1RxD1ISerialPort1
5 VDDIOIPadvoltagesupplyTxD1OSerialPort1
6 VCCISupplyvoltageTxD2OSerialPort2
7 GNDIGroundRxD2ISerialPort2
8 VDD18OUTO1.8VoutputFWDIDirectionindication(1=Forward)
9 PCS0_NOSPIChipSelect0(Temperature
Sensor)
EXTINT1IExternalInterupt
10 RESET_NI/OResetVDD18_OUTO1.8Vsupplyoutput
11 V_BATIBackupvoltagesupplyGNDIGround
12 BOOT_INTIBootmodeGNDIGround
13 GNDIGroundGNDIGround
14 GNDIGroundGNDIGround
15 GNDIGroundGNDIGround
16 RF_INIGPSsignalinputGNDIGround
17 GNDIGroundRF_INIGPSsignalinput
18 VCC_RFOOutputVoltageRFsect. GNDIGround
19 V_ANTIAntennaBiasvoltageV_ANTIAntennaBiasvoltage
20 AADET_NIActiveAntennaDetectVCC_RFOOutputVoltageRFsection
21 FWDIDirectionIndication(1=Forward)V_BAT2IBackupvoltagesupply
22 PCS2_NOSPIChipSelect2(A/DConverter)RESET_NI/OReset(Activelow)
23 SCKOSPIClockSPEEDISpeedpulses
24 VDDUSBIUSBSupplyPCS1_NOSPIChipSelect1(A/DConverter)
25 USB_DMI/OUSBDataPCS0_NOSPIChipSelect0(TemperatureSensor)
26 USB_DPI/OUSBDataSCKOSPIclock
27 SPEEDISpeedpulsesMISOISPIMISO
28 TIMEPULSEOTimepulse(1PPS)MOSIOSPIMOSI
29 - TIMEPULSEOTimepulsesignal
30 - AADET_N3IActiveAntennaDetect
Shadedpinsrelatetodeadreckoningspecificfunctionality.
Table 4: Pinout LEA-4R/TIM-4R
2Batterybackupvoltageisnecessarytomemorizethelastvehiclepositionanddirectionoftheprevioustrip.Thisisparticularlyimportant
whentheprevioustripendedinanobstructedplace,forexampleaparkinggarage,andplausibledeadreckoningnavigationshallcontinue
whendrivingagain.
3AADET_Nwillonlybeoperatedasinputpinif“OpenCircuitDetection”foractiveantennasisactivatedorconfigured.
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign Design-In
GPS.G4-MS4-05043 Page 13

your position is our focus
2.4 Layout Design-In Checklist for ANTARIS®4
FollowthischecklistforyourLayoutdesigntogetanoptimalGPSperformance.
Layout optimizations
IstheGPSmoduleplacedaccordingtotherecommendationinAntaris®4 System Integration Manual [5]?
HaveyoufollowedtheGroundingconcept?
Keepthemicrostripasshortaspossible.
AddagroundplaneunderneaththeGPSmoduletoreduceinterference.
Forimprovedshielding,addasmanyviasaspossiblearoundthemicrostrip,aroundtheserial
communicationlines,underneaththeGPSmoduleetc.
Calculation of the micro strip
Themicrostripmustbe50OhmsanditmustberoutedinasectionofthePCBwhereminimalinterference
fromnoisesourcescanbeexpected.
Incaseofamulti-layerPCB,usethethicknessofthedielectricbetweenthesignalandthe1stGNDlayer
(typicallythe2ndlayer)forthemicrostripcalculation.
IfthedistancebetweenthemicrostripandtheadjacentGNDarea(onthesamelayer)doesnotexceed5
timesthetrackwidthofthemicrostrip,usethe“CoplanarWaveguide”modelinAppCadtocalculatethe
microstripandnotthe“microstrip”model.
2.5 Layout
PleaserefertotheAntaris®4 System Integration Manual [5] forlayoutrecommendations.
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign Design-In
GPS.G4-MS4-05043 Page 14

your position is our focus
3 Receiver Description
3.1 Dead Reckoning enabled GPS module (DR module)
3.1.1 Architecture
ADeadReckoningenabledANTARIS®4GPSReceivercontainsanANTARIS®4GPSmodulewiththeadditionof
anEnhancedKalmanFilter(see Figure 7).ConnectedtotheDRmoduleareaturnratesensor(gyroscope)witha
temperaturesensor,odometer(speedpulsesignalsource)andadirectionindicator(forward–backward.).
SimilartotheANTARIS®4GPSmodules,theDRmodulesupportsactiveandpassiveantennasandhasan
optionalantennasupervisorcircuitry.Twoserialportsareavailableforcommunication(seeSection on Serial
Communication in Antaris®4 System Integration Manual [5])andarefreelyconfigurableforNMEAoru-blox
proprietaryprotocols.ItprovidesaTIMEPULSEsignalfortimingsynchronization(seeSection on Timing in
Antaris®4 System Integration Manual [5]).
InordertostoreanyDRspecificdatasuchaslastposition,currentheading,calibrationdata,thetemperature
compensationtable(TC)etc.,aDRmodulerequiresabackupbattery.Furthermore,thesedataarestoredin
Flashinrepetitiveintervals.
! Note Donotuseanypowersavingmodes(e.g.FixNow™Mode)astheDRalgorithmandpowersaving
modesareincompatible.
3.1.1.1 Enhanced Kalman Filter (EKF)
TheEnhancedKalmanFilteristhecoreoftheANTARIS®4DRTechnology.Itcombinesallthesensorsignals
(odometer,directionindicator,gyroscope,temperature),whicharesampledwith40Hzandcombinesthemwith
theGPSsolution.
TheGPSKalmanFilterandtheEnhancedKalmanFilteraretightlycoupledtoproducethebestpositionsolution
fromboth,theGPSsystemandthesensor-basedsystem.Theweightingbetweenbothsystemsiscontrolledby
GPSqualityindicators(e.g.DOPvalues,numberofSV,residualsetc.)andvariancesforallDRrelatedparameters.
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign ReceiverDescription
GPS.G4-MS4-05043 Page 15

your position is our focus
GPS Front-End
Functionality
GPS Antenna
Gyro
Direction
A
D
Digital
Temp.
Sensor
Odometer
RF_IN
Position Calculation
KalmanFilter
Stage1
Dead Reckoning
Enhanced KalmanFilter
Weighted-Mixer
Stage2
1 Hz
update rate
40 Hz
update rate
1 Hz
update rate
DR enabled
GPS receiver
serialoutput
Calibration
Parameters,
Temperature
offsettable
Figure 7: Enhanced Kalman Filter
3.1.1.2 Sensor Integrity Check
TheSensorIntegrityCheckmonitorsthequalityoftheattachedsensors(gyroandodometer)andreports
unexpecteddrifts,ormalfunctions.AssoonastheDRsensorsaresufficientlycalibratedtheANTARIS®DR
Technologybeginswithsensorintegritychecks.
Ifasensorsignalisoutofrange,anerrormessageisproducedviaserialportandreportedinNAV-EKFSTATUS.
InthiscasetheEnhancedKalmanFilterisswitchedoffmeaningthatsubsequentlyonlyGPSpositionsolutions
arereported.
Torecoverthesystem,thesensorshavetobecheckedformechanicalfailures,allcalibrationparameter(Sensor
CalibrationandTemperatureCalibration)havetoberesetandaninitialcalibration(seeSection3.1.4)hastobe
done.
Forshortminimalerrorsthesystemisabletorecoveritself.InthiscasetheerrorwillbeclearedandtheDR
modulewillreportcombinedpositionsolutionsagain.
! Note TheINFmessage:“ERROR:EKFdisabled.Gyrodatainconsistent.”indicatesashutdownoftheDR
algorithmduetoinconsistencyofthegyrosignal.Ithappensifthegyroisdefectorthesystemis
miscalibrated.Torecover,checkthegyroandresetthereceiver.Ifithappensagain,resetallcalibration
dataandrepeataninitialcalibration.
! Note TheINFmessage:“ERROR:EKFdisabled.Tickdatainconsistent.”indicatesashutdownoftheDR
algorithmduetoinconsistencyofthespeedpulses/odometersignal.Ithappensifthespeedsignalline
orthesensorisbroken.Torecover,checktheodometersignalandresetthereceiver.Ifithappens
again,resetallcalibrationdataandrepeataninitialcalibration.
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign ReceiverDescription
GPS.G4-MS4-05043 Page 16

your position is our focus
3.1.2 Input Signals/ Sensors
3.1.2.1 Turn rate sensor (Gyroscope)
Thegyroscopeindicatestheturnrateofthedevice.ThegyrooutputsignalisconnectedviaanA/Dconverterto
theDRmoduleandsampledat40Hz.Theintegrationofthegyrosignaloveronemeasurementperiodisequal
totherelativeturnofthedeviceduringthisperiod.
Therearethreemajorparametersofthegyroscope:
• Gyro Bias:Describestheoffsetofthegyrosignalataturnrateof0[deg/s].+/-25.0[deg/s]isthe
maximumallowedGyroBiasOffset.
• Gyro Scale Factor:Describestherelationofthetypicalgyrosensitivity[V/(deg/s)]oftherealmeasured
outputvoltage[V]totheactualturnrate[deg/sec].
Thisvaluehasanupperlimitof1.2,andalowerlimitof0.8.Thismeansthatthe
implementedgyrocanvaryby+/-20%,fromthetypicalgyrosensitivity.
• Gyro Bias as function of the temperature:
AnydifferencesfromtheGyroBiasOffsetovertheentiretemperaturerangearestoredin
alookuptable,calledTemperatureCompensationTable(TC).Thistablecoversa
temperaturerangeof–40degCelsiusto+80degCelsius.
TurnRate
w[deg/s]
+100
Gyro
Voltage
0-100
2.5
5.0
0
GyroBiasOffset
typicalGyroSensitivity
GyroScaleFactor
realGyroSensitivity
Figure 8: Gyroscope Signals
Gyro-
scope
A
D
DR
module
Figure 9: Gyroscope Signals Flow
! Note Themountingangleofthegyroinfluencesitsperformancesignificantly.Theangleofinclineshouldnot
exceedthemaximalvaluereferringtotheturnaxisofthevehicle.Consultthedatasheetofthegyro
carefullytochoosetheappropriatemountingtechniqueaswelltherightparametersettings(e.g.Gyro
Sensitivity,Polarity,maxangleofinclinationetc.)
Zaxis
Yaxis
Xaxis
zaxis
Angleofincline
Gyro
Gyro
Figure 10: Mounting of the gyroscope
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign ReceiverDescription
GPS.G4-MS4-05043 Page 17

your position is our focus
RefertotheLEA-4R/TIM-4Rdatasheetsforrecommendationsabouttheselectionofgyros.
! Note Pleasefollowdesignrecommendationsfromthegyroscopemanufacturersforproperanalogsignal
conditioning.
3.1.2.2 Temperature sensor
TheOutputoftheGyroscope(especiallyGyro Offset)isverysensitivetotemperaturechanges.Therefore
ANTARIS®DRmodulessupportanautomatictemperaturecompensationagainstthiseffect.
Toachievereasonableperformanceofthiscompensationthetemperaturesensorhastohaveamoderate
hysteresisandtheenvironmentaltemperatureshavetobereproduciblebyaround5degreesCelsius.
! Note ThetemperaturesensorhastobebuiltintheGyroscopeorasnearaspossibletotheGyroscopeto
measurethetemperatureofthegyroscope.
Temperature compensation
TocompensatethevariationoftheGyroOffsetwithdifferenttemperatures,theANTARIS®DRTechnology
maintainsaTemperature Compensation table(TC).Therangeisfrom–40to+85degreesCelsius.Thetableis
continuouslyupdatedwithnewvaluesassoonasthereceiverisstationary(noodometerpulsesattheinput)for
morethan3seconds.Thisprocessallowsthereceivertolearnaboutthetemperaturecharacteristicsofthe
individualgyroinitsspecificenvironment.
TheTCstabilizesasmoremeasurementsareobservedforthesametemperature.Fortemperaturerangesnot
measuredyettheTCBiasOffsetwillbeextrapolatedfromtheavailabledata.
degree
Celsius
+80
TCBias
Offset
+40
0
-40
0
Figure 11: TC compensation graph
! Note TheINFmessage:“WARNING:DiscardedTCMeasurement:RMSGyro=xx.xxxmV”indicatesthatthe
gyrohasatohighnoisetomeasureit’soffsetvaluesfortemperaturecompensation.Ifthismessage
appearsregularly,thegyromighthaveamechanicaldefectorismountedataplacewithtoohigh
vibrations.
3.1.2.3 Speedpulse Signal
ThespeedpulsesignalrequiredforDRmodulesmusthaveafrequencyrangefrom1Hzto5kHz(0Hzisequalto
aspeedof0km/hour).Thespeedpulsesignalmustbelineartothedrivenspeed.
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign ReceiverDescription
GPS.G4-MS4-05043 Page 18

your position is our focus
TheScale Factor istheratiobetweenthefrequencyofthespeedpulsesignalandtherealspeed.Ithasa
maximumrangeof0.02[m/pulse]to1[m/pulse](i.e.from50kpulsesperkmto1000pulsesperkm.IftheScale
Factor exceedsthelowerorupperlimit,theoutputwillbeheldatthelimitingvalue.
1
x00.050
Measurement
Interval
x00.060 x00.070 x00.080 x00.090 x00.100 x00.110 x00.120
0 112211
SpeedpulsesperInterval
Timetag
Figure 12: Speed signal
! Note Non-linearityofthespeedpulsesignal(e.g.nopulsesbelow5km/h),mayleadtowrongdirection
calculationandthereforewrongpositioning.
! Note Ifthepulsefrequencyisbelowtheminimumfrequency(1Hz),speedwillbesetto0m/sandtheposition
outputisfrozenatthelastknownposition.
3.1.2.4 Direction (Forward/ Backward Signal)
Thedirectionsignalindicateswhetherthevehicleismovingforwardorbackward.Ifthesignalishigh,it
indicatesforwarddriving,butitcanbeconfiguredvice-versainUBX–CFG(Config)–EKF(EKFSettings).
It’srecommendedtouseadirectionindicatorforbestDRperformance.Ifnodirectionsignalisavailable,it’s
recommendedtosetthedirectiontoforward.
Consequencesifnodirectionsignalisavailable:
Direction
GPS coverage
Forward Backward
Insufficient to
determine a position
(DR only)
Thedirectionsignalindicatesthe
rightdirection
Good DR performance, all
position are valid
TheDRoutputwillindicateawrong
direction(alwaysforward).
DR positions are wrong as the
direction is wrong
Good GPS coverage Thedirectionsignalindicatesthe
rightdirection
Good DR performance
Forshortdistancestheinfluenceofthe
mismatchingdirectionsignalcanbe
neglected(inorderofmeters,e.g.
maneuveringacarintoaparkinglot).
Forlongerdistancesitmighthave
significantimpacttothecalibration
parameter.
Table 5: Consequences of a missing direction signal
! Note Astheforward/backwarddirectionsignalisnotavailableinallcars,trytomakeuseofthereversegear
light.
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign ReceiverDescription
GPS.G4-MS4-05043 Page 19

your position is our focus
3.1.3 DR specific Parameters
3.1.3.1 DR specific GPS configuration
AstheGPSKalmanFilterandtheEnhancedKalmanFilterareoptimizedbyu-blox,donotchangethePower
ModeinUBX-CFG(Config)–RXM(ReceiverManager)oranyoftheUBX-CFG(Config)–NAV(Navigation)
parameters!
3.1.3.2 DR Configuration Options
ThefollowingconfigurationoptionsareavailablewiththeUBX–CFG(Config)-EKF(EKFSettings)message:
• TheEKFcanbeenabledordisabled.WhentheEKFisdisabledthemodulefunctionsonlyintheGPSmode,
thereisnoDRfunctionalityavailable.
• Itispossibletomanagedataandmemoryinthefollowingways.Pleasenotethatifthedefaultsettingsare
changedthemaximumnumberofflashwrite/releasecyclesneedstobetakenintoaccount:
• TheTemperatureTableandCalibrationDatacanbecleared.Whenthisisthecasethecalibrationbegins
again.
• TheintervaltosavethecontentofthetemperaturecompensationtablefromtheinternalBattery
BackupRAMtotheFlashmemorycanbedetermined.
• Thehardwareinterfacecanbeconfiguredinthefollowingways:
• TheDirectionPinPolaritycanbeset.Thedefaultis‘0–High=Forward’
• TheaxisorthedirectionofrotationoftheGyroifthevoltageoutputispositivecanbeset(default
settingis‘0–ClockwiseRotation).
• Thehardwarecanalsobeconfiguredtosimplifycalibration.Thisdoesnot,however,eliminatetheneedto
performacalibration.
• TheOdometercanbeconfiguredtosetthenumberofspeedpulsesperkilometer(defaultvalueis3500
[pulses/km]).
• ThenominalbiasvoltageandsensitivityoftheGyrocanbeset,aswellasthemaximumallowedRMSof
theGyro.ThisvalueisneededtocontrolthequalityofthemeasuredGyrooffsettobesavedinthe
temperaturecompensationtable.
TheDRStatusisreportedbythe(PUBX,05/EKFSTATUS)message.
! Note FordetailedinformationregardingtheconfigurationofthemessagespleaseseetheANTARIS 4GPS
TechnologyProtocolSpecifications[3].
®
3.1.3.3 DR Navigation Parameters (UBX – NAV (Navigation) – EKFSTATUS (Status))
Parameter Description Unit
Sensor Data
SpeedPulsesNumberofspeedpulsesinonemeasurement
period[Pulses/Period]
PeriodDurationofonesensormeasurementperiod[ms]
MeanGyroUncorrectedMeanValueoftheGyrointhelast
period.
TemperatureMeasuredtemperatureatthegyroscope[°C]
DirectionSignalfromthedirectionindicator[forward/backward]
LEA-4R/TIM-4R-SystemIntegrationManual/ReferenceDesign ReceiverDescription
GPS.G4-MS4-05043 Page 20
This manual suits for next models
1
Table of contents
Other Ublox GPS manuals

Ublox
Ublox AMY-6M Quick setup guide

Ublox
Ublox UBX-G7020 Quick setup guide

Ublox
Ublox LEA-5 Series User manual

Ublox
Ublox AMY-5M User manual

Ublox
Ublox LEA-6 series Quick setup guide

Ublox
Ublox AMY-5M Quick setup guide

Ublox
Ublox ANTARIS 4 Quick setup guide

Ublox
Ublox AMY-6M User manual

Ublox
Ublox NEO-5 Series Quick setup guide

Ublox
Ublox MAX-7 Series Quick setup guide