Home
 

Monitoring your GPS Tracking System


June 13, 2010 by JS

With any complex communication system, there can be problems which cause it to not work as planned.  It could be a power failure,  electrical failure of a component, computer crash, cut cable, broken antenna, lightning damage, or a host of other unforseen issues.  Most of these are easy to deal with, but quickly being notified when they happen can be important.

You are able to monitor your GPS tracking system if your system uses RavTrack PC or any other GPS tracking software that allows you to create an alert if a vehicle does not report in.  By configuring your RF infrastructure components to also work as GPS transponders, the same tools used to monitor vehicles can be use to monitor your system.

For example, if you use a repeater in your system, configure it to periodially tranmsmit its GPS position also.  This way, if the antenna fails, power goes out, or it just stops working, your GPS monitoring software will send an alert.

With RavTrack PC, you can setup an Alarm and Monitoring Rule to help you monitor your radio network, server, or system operation.  Using the “No Reports” parameter monitoring feature, you can configure an alert to send an email to IP or Management personnel if your system stops working.

Monitoring System Components

To determine if part of all of the GPS tracking system is working, the periodic GPS position messages sent over the air may be monitored, and if they stop coming in, an alert can be generated to notify personnel of a potential system problem.

The easiest way to monitor the radios in your network is to configure them to report their GPS positions over-the-air.  Then configure an Alarm and Monitoring Rule using the No Reports parameter monitor to send an email if the item being monitored does not report in within a preset time period.  This will cause the Alert email to be sent if a part of the GPS tracking system fails such as broken antenna, cut cable, failed power supply, lightning damage, and unplugged serial cable.

Most radio transceivers, such as the M7 GX series of radios, which are used at a base station site may also be configured to output standard NMEA GPS position messages every 5 seconds.  This periodic local NMEA GPS message can also be used to determine if the base station radio is alive and operational.  To use the NMEA GPS position in an alert, you must configure the Communication Channel to interpret the NMEA GPS data as a tracked object in your system.  There is an option to Interpret GPS data w/o ID as ObjectData in the Systems Communications configuration tab.  If this enabled, RavTrack PC will create a new tracked vehicle with an ID 900X where X is the communications channel.  RavTrack PC will place the location of the vehicle 900X at its GPS position.

If there is a GPS transponder in the network that always is powered on and working, then the position report from that unit may also be used to check for system operation.

Monitoring a Server running RavTrack PC

The technique described above will work to monitor individual system components such as receivers, cabling, repeaters, and antennas.  But if a main server running RavTrack PC fails, the failed server cannot report itself failing.  A solution to this dilemma is to also run RavTrack PC on a management workstation, and then configure the same No Reports Alert on the workstation.  If the a server fails, causing the RavTrack system to stop recording GPS tracking data, the workstation’s No Reports Alert will then trigger, send an email, and/or alert the operator.

 


Configuring the NMEAMASK bitmask


June 1, 2010 by JS

The M7 GPS transponders and the Atlas PL personal locators may be configured to output NMEA 0183 GPS messages from its internal GPS receiver.  For GPS tracking, these GPS transponders can receive GPS position reports from other radios, and they may also be configured to output their own GPS location via their serial port.

Following is a list of the NMEA messages that are available (as of revision C2 of the Firmware).

NMEA Message
Bit Number (zero based)
Bit Mask (hex format / Decimal)
GGA 0 0×001  /  1
GLL 1 0×002  /  2
RMC 9 0×100  /  256

Refer to the product’s technical manual to see which NMEA messages are sent out in the various operating modes.  Once you set the “GPS Mode” of the radio using the GPS X command, you can change the NMEAMASK parameter to modify with of the NMEA sentences will come out the serial port.

For example, to have only the RMC sentence come out the serial port, use the following command”

NMEAMASK  256

To have the GGA and GLL come out the serial port use this command:

NMEAMASK 3

The NMEAMASK parameter is the sum of all of the decimal values of the individual bits corresponding to the NMEA messages.

 


Updating the RavTrack PC EXE file


May 12, 2010 by JS

It is usually possible to upgrade the RavTrack PC AVL software program to a newer version without re-installing the software as long as the major revision number is the same.  (2.6 to 2.7, 3.1 to 3.3 …)  Most upgrades can be performed by simply replacing the RavTrackPC.exe file which is stored in the program directory on your computer. This quick upgrade method avoids having to perform a full re-install of the RavTrack PC AVL software when simply upgrading to the current version.

To perform the quick update:

  1. Close RavTrack PC.    File > Exit
  2. Click on the link below to download a copy of the latest .exe file:
    http://ravtrack.com/downloads/RavTrackPCexe.zip or use the .exe file emailed to you from Raveon tech support.
  3. Open the .zip archive folder by double-clicking on it. 
  4. Locate the directory on your computer that holds the RavTrack PC program. For most users the full path to this file is:  C:/programfiles/raveon/RavTrack PC/
  5. Rename the current RavTrack PC.exe file file to RavTrack PCold.exe.
  6. Copy the new file from the  named RavTrack PC.exe to your RavTrack PC program directory. For most users the full path to this file is:  C:/programfiles/raveon/RavTrack PC/RavTrack PC.exe

You may now run RavTrack PC as you have been, and the new version will be executed.  If there are data base upgrades to do, RavTrack PC will automatically perform the updates when it starts up.

 


GPS Tracking with the Garmin 60C Series


May 10, 2010 by JS

The M7 GX series of GPS transponders may be directly connected to a Garmin 60C  series of hand-held GPSs.  All members of the Garmin 60C family have an RS232 option that is compatible with NMEA 0183 messages.  This allows them to be used with Raveon’s RavTrack series of GPS radio transponders to make a complete GPS tracking system.

When connected to the M7 GPS radio transponder or the Atlas PLPersonal Locator, the Garmin’s map will show the location of all of the the user PLUS the location of all other transponders within radio range.  This unique feature allows one to quickly, easily, and inexpensively, make a portable AVL system for tracking cars, trucks, racecars, construction equipment, or any thing Raveon’s M7 GX or Atlas PL transponder may be installed on.

The Garmin 60C series of hand-held GPSs have built-in interfaces for a “NMEA 0183″ devices, which is another way of saying that they can connect to other devices using a serial cable.   The NMEA 0183 is an RS232 serial connection that typically operates at 4800 baud.  It is used to exchange way-point and other information between displays, GPS devices, and transponders.

When Raveon’s M7 GX transponder is connected to the Garmin display using the NMEA 0183 connection, the GPS radio transponder can put icons on the screen of the Garmin display.  As the transponder receives updated positions from other vehicles, it updates the position of the tracked vehicle icons on the Garmin’s display.

Garmin 60C, 60CS, 60Cx Wiring

From the Garmin technical manual, here is how their NMEA 0183 interface works:

 

NMEA 0183 Cable Connections

NMEA 0183 is a standard communications format for marine electronic equipment. For example, an autopilot can connect to the NMEA interface on the Garmin 60C and receive positioning information.  The Garmin 60C series can exchange information with any device that transmits or receives NMEA 0183 data.  See the following diagram for general wiring connections. Read yourother product’s owner’s manual for more wiring information.

NMEA 0183 Wiring  (Data cable)

Wiring the Serial Cable

The Garmin’s “Data Cable” must be connected to the M7 GPS transponder (or Atlas OL).  This connection will allow the M7 to put icons on the screen of the Garmin display, showing the location of other tracked vehicles.  The Raveon M7 GPS transponder uses a 9-pin “DB9″ connector to connect to the Garmin.  Solder the Garmin data cable wires onto a DB9 connector and plug the DB9 into the M7 transponder as shown below:

Connect the white wire(serial data from M7 into Garmin) from the Garmin’s Serial Cable goes to pin 2 of the M7’s RS232 DB9 connector.  You do not need to connect the brown wire(serial data from Garmin), so you can trim it off.  Connect the shield braid of the Garmin Serial Cable to pin 5 of the DB9.  The red wire optionally can connect to pin 9 of the Raveon GPS transponder’s DB9 to power the Garmin from the DC source that powers the M7. 

If you do not wire your own cable, but instead use Garmin’s RS232 serial cable, you will need to connect the Garmin’s RS232 cable to the M7 GPS transponder using a “NULL Modem” adaptor. 

Configuring the Garmin

Set the NMEA communication of the Garmin to 4800 baud.

Configuring the M7 GX Transponder

Raveon has a designed the M7 GX transponder to work with Lowrance Display or any other NMEA 0183 display that can accept the “$GPWPL” NMEA message.   The $GPWPL is an industry standard message that the Lowrance displays and many other GPS displays interpret as a waypoint command.  The M7 GX outputs this $GPWPL message to put icons on the screen of the Lowarance, and to move the icons around on its screen.

To configure the M7 transponder to output the $GPWPL message, set the M7 GX to GPS mode 2.  To do this, put it into the configuration mode by send the +++ into the serial port.  The M7 will respond with an OK.  Type GPS 4 and press enter to put it into GPS 4 mode.  GPS 4 is the mode that causes the M7 GX to output $GPWPL messages whenever it receives a status/position message over the air.

 


RavTrack PC Map Creation step-by-step


May 7, 2010 by Larry Topp

Creating a Map for RavTrack PC

 

Creating a map to be utilized by RavTrack PC can be completed in just a few steps.  We like to use a powerful mapping program called Global Mapper for development of our maps, however, there are several free programs and websites on the internet that allow you to obtain map images.  For this example, we use a program called Google Map Buddy that was downloaded from CNET.COM.  This blog provides  a short summary of how to obtain a map image, calibrate it with the Ravtrack Software, and then use it with Ravtrack.

 

                This process will include a quick overview of the program Google Map Buddy.  After which, we will take the image we have obtained and use Ravtrack PC to calibrate the image.  You will need to have Google Earth or a similar program in order to obtain coordinates of your calibration area. 

With Google maps open we begin by opening up Google map buddy:

  

Enter the exact address of where you want your map centered:

  

  

For this example we are centered at the City of Borger Texas:

Select the area that you want the Map to encompass and the zoom level.  Zoom levels go from 1 (low detail) to 19 (high detail) and will increase the file size of your image.   Decide on the level of detail you need and select it from the drop down box.

  

  

Click create map and choose a file name:

  

 

Google Map Buddy has the option of outputting the image as an aerial satellite view, road (street) map, terrain (Topo) map, or hybrid map.  Select the appropriate option and click OK:

 

 

Google Map Buddy will download the image and ask you if you would like to delete the tiles it has downloaded, select yes.

 

 

 

 

 

Your image is now created:

The image will be in a PNG file format and will have to now be calibrated to properly represent the latitude and longitude of the points on the map.

 

 

Open up Ravtrack PC and select  TOOLS > MAP CREATION TOOL:

 

 

Now you will have to open the map PNG image that you created with Google Map Buddy. To do this click MAP > NEW MAP:

 

 

The map creation tool will ask you a few questions about the settings. Click OK to the defaults:

 

 

Select the images country, Grid, and Datum. The settings illustrated below are correct for the City of Borger .  Click NEXT and proceed:

 

 

Select the projection. For smaller images (typically less than 100 miles across) such as the city of Borger, we will use Cartesian. For large land masses, polar would have to be used.  Click NEXT:

Your image will now require the lat/long calibration mentioned earlier.

 

 

The tool will ask you to click on a known coordinate (a clear point on the map, such as a road intersection or natural feature).  Before you do this you must be prepared with the precise latitude and longitude of the coordinate you will select:

 

 

If you don’t know the lat/long of your coordinate open Google earth and select your location. You will use Google Earth in order to obtain coordinates of 3 points. You will want to choose points towards the periphery of your image. For example, if you have a map of a city, you may select points towards the far upper left, bottom center, and upper right.

 

 

Align the map creation tool and Google Earth images side by side, and visually identify an initial coordinate point on each map. This will start the calibration. The calibration consists of finding points on Google earth that correspond to your image’s point on the map. Once you have found that exact map point, copy down the coordinates that are located at the bottom of the Google earth screen.  In the RavTrack PC  screen (the left side screen on the example below) you can now click on the exact location your coordinates correspond to:

 

 

The Scaling wizard will come up next. Now you can enter your coordinates. Ensure your coordinates are correct with the proper heading (West, East, North, and south). Click next to finish calibration of this point:

Repeat this step for two more coordinate points and you will receive a scaling complete message. After calibration, save your resulting MAPLIB file to your Ravtrack map directory.  Now you can load your map and use it with Ravtrack!

 

Here’s a quick list of free programs and websites:

http://download.cnet.com/Google-Map-Buddy/3000-20426_4-10962144.html

http://atlas.ca.gov/imagerySearch.html

http://www.nationalatlas.gov/natlas/Natlasstart.asp

http://www.google.com/mapmaker

http://monarch.tamu.edu/~maps2/

 

There are many programs and sites that will give you a map image that can be used for calibration.

 

 

 

 

 


     
 


© 2009 Raveon Technologies Corporation - RavTrack AVL