TN034 - Geo-Fencing with the SkyRouter TN November, Geo-Fencing with the SkyRouter (TN034)

Similar documents
Application Note. How to configure networked ecna automations to use a single LVM-250 Voltage Monitor using Virtual I/O.

Vehicle GPS Tracker AT07 protocol version 1.0

LVM-250 Isolated Line Voltage Monitor

GPS&GPRS TRACKING SYSTEM

How to do Geo-fencing with the FM200

1. Use of the application program

GPRS-T2. GPRS/SMS Reporting Module. SATEL sp. z o.o. ul. Schuberta Gdańsk POLAND tel

GPS&GPRS TRACKING SYSTEM GT3100

GPRS Communication Protocol V

Use of the application program. Functional description. GAMMA instabus Application program description. October 2007

Use of the application program. Functional description. GAMMA instabus Application program description. May A8 Venetian blind actuator

High Point Communications Authorized dealer for USA Fleet Services

ServoDMX OPERATING MANUAL. Check your firmware version. This manual will always refer to the most recent version.

How to Guide: Controlling Blinds in C-Bus

Use of the application program. Contents. instabus EIB Application program description. September S2 Room temperature controller

HCA Tech Note 102. Checkbox Control. Home Mode aka Green Mode

TRBOnet Enterprise/PLUS

Awning control system GFM001. Installation and Operating Instructions

XSJB. Lone Worker Function. Lone Worker Operation:

Nebraska 4-H Robotics and GPS/GIS and SPIRIT Robotics Projects

Midi Fighter 3D. User Guide DJTECHTOOLS.COM. Ver 1.03

Geo-fence Tracking Device User Manual

Relay Driver Overview and Applications

Installation Notes. SCR Single Channel

Above All. The most sophisticated unit for tracking containers in real time for security and management.

SafeDispatch. TETRA Station Gateway User Guide. Rev

UIO Digital I/Os & DAQ Board User Manual

Addendum SmartPAC Third Party Communications Firmware

For more information on these functions and others please refer to the PRONET-E User s Manual.

X30 System Components

Wholesale Chess Advanced Digital Timer. User Manual

GPRS-A. Universal monitoring module. Firmware version 1.00 gprs-a_en 04/18

Global Navigation Satellite System for IE 5000

EIB/KNX Switch Actuators. User manual

K-BUS Switch Actuator

etatronix PMA-3 Transmitter Tester Manual

TRX-300. GPS/GSM/GPRS Unit for fleet management PRELIMINARY PHOTO

SAP Dynamic Edge Processing IoT Edge Console - Administration Guide Version 2.0 FP01

PACSystems* RX3i IC695MDL765

Safety System For Fishing Boats To Prevent From International Border Crossing

BandMaster V Manual. Installation

Instruction manual. art Installation manual

Table of Contents. Quick Start Guide. Important Notes! Nautilus GPS Components. Operation. Region Programming & MMSI. Nautilus GPS App.

NT240 TIMER. PROGRAMMABLE TIMER INSTRUCTIONS MANUAL V20x G TIMER OUTPUTS INTRODUCTION SPECIFICATIONS AUXILIARY SUPPLY OUTPUT INSTALLATION TIMER INPUTS

7835CF. Cellular Control Channel Transceiver for Fire ,QVWDOODWLRQDQG6HWXS*XLGH 12: 352 (1$%/(' K3204-1V2 9/99 352*5$00(5/(66 5(*,675$7,21 237,21

instabus EIB product documentation

The DO8332 module is equipped with eight outputs for 1-wire connections. The rated output current is 2 A.

g GE POWER MANAGEMENT

3.0 Operating the MIB* Barrier Gate. 4.0 MLC Controller. Operation Instructions. 4.1 General

GPS (GLOBAL POSITIONING SYSTEM)

RECOMMENDATION ITU-R M.541-8*

This technical note applies to GPS receivers that are fitted to Tait Direct Connect GPS radios

LOGIC MODULES INTRODUCTION

Midi Fighter Spectra. Traktor Remix Deck User Guide. Ver 1.01 DJTECHTOOLS.COM

Understanding PMC Interactions and Supported Features

STC-KNX (32-channel AP)

Unidirectional Gateway EnOcean - KNX/BUS

KNX ENO 634 (32-channel AP)

MAIN MANUAL GB. Contents. -with image verification. Configuration Operation

Accident Sensor with Google Map Locator

GT03B Commands (V2.2)

G3P-R232. User Manual. Release. 2.06

INSTALLATION INSTRUCTION SHEET MPG-1 Metering Pulse Generator

Chapter 6 Navigation and Field Mapping

Basic Harris DX Transmitter Tutorial

OPERATING INSTRUCTIONS Digital weekly time switch

DRG-Series. Digital Radio Gateway. Tait P25 CCDI Tier-2 (TM9400 Series Mobile Radio) Digital Radio Supplement

Installation and connection of Galileosky v4.0 tracking devices

DROTAG - Sony Alpha Series Image Tagging

Changing settings in the BlueSolar MPPT Charge Controllers

INSTALLATION INSTRUCTION SHEET MPG-1C Metering Pulse Generator

Reverse Auction Addon

8253 functions ( General overview )

X4M200 Datasheet. Respiration Sensor. XeThru Datasheet by Novelda AS. Summary

LineTroll R110C GSM communication unit for LineTroll 110EµR phase-mounted fault indicator

RADIONICS 5501 / o PERIMETER o INTERIOR o o o o o o o o o INSTANT AC CMD

WJ9J DTMF and Remote Base Controller. Version

9530/8530 Series Pulse Generator Operating Manual

Interfacing Clockaudio microphones with the Logic Box

Ness MCR Multi-Channel Radio Receiver

13. Before making a service call Trip information and remedies

ELM409 Versatile Debounce Circuit

Operating Instructions

Sentido KNX Manual. Sentido KNX. Manual. basalte bvba hundelgemsesteenweg 1a 9820 merelbeke belgium

MC-E Installation Instructions & Programming Guide

PalmGauss SC PGSC-5G. Instruction Manual

B & D Enterprises 1P repeater controller pg 1 INTRODUCTION:

EscapeKeeper & EscapeKeeper JR

PSF-520 Instruction Manual

About the DSR Dropout, Surge, Ripple Simulator and AC/DC Voltage Source

20 CHANNELS DIGITAL DELAY GENERATOR

Use of the application program. Contents. 1. Functional description General. GAMMA instabus Application program description.

Maritime Geo-Fence Letter Report

Event Monitoring Setup

Width (W): 44 mm. bus connecting and branching terminal External supply --- Inputs: Number: up to 2 (depending on parameterization: channel 1 to 2)

Use of the application program. Contents. 1. Functional description General. GAMMA instabus Application program description.

Product Manual. ABB i-bus EIB / KNX. Universal Interface US/U Intelligent Installation Systems

UR3 Coin Validator rel. 1.3 UR3 MDB-Executive Coin Validator rel. 1.2 UR3 T Coin Validator rel User and Maintenance Manual

EE 314 Spring 2003 Microprocessor Systems

Installer manual inputs/outputs interface for led KNX

Transcription:

1. Applicability Geo-Fencing with the SkyRouter (TN034) All 4200, 4400, and 4550 models with required firmware upgrade. For the 4200/440 the required firmware is 4.02.02.07 or 6.00.01.00 or newer and for the 4550 the required firmware is 6.00.01.00 or newer. 2. Background Information This TechNote covers the setup and operation of the SkyRouter s geo-fencing feature. It also explains how the geo-fencing feature interfaces with Ctek s Automation application and how Automation can be used to enhance and extend the geo-fencing capabilities. Geo-fencing application models examined include the native web browser interface (Section 3), an SMS managed interface (Section 4), a physical model based on a switch and LED indicator (Section 5), and a control model based on the SkyRouter s XML interface (Section 6). Figure 1 - Various Application Models

3. Geo-Fencing Setup Geo-fences are defined on the location source page. Geo-fences are also enabled/disabled from this page. In the next section, an alternative method of enabling/disabling geo fences using the Automation application is described. 3.1 Location Source Screen System Location Options Panel The Location Source screen contains the following fields and controls. See Figure 1 below. Location Source GPS (Internal) Use the inbuilt GPS subsystem [Require for Geo-fencing] Use Lat/Lon Below User defined location for stationary installations Latitude Latitude expresses as a decimal value for user defined location (Example 42.83169). User defined locations cannot be geo-fenced. Longitude Longitude expresses as a decimal value for user defined location (Example -77.93366). User defined locations cannot be geo-fenced. Reset Interval The interval in minutes at which the GPS subsystem will be reset if a fix cannot be obtained. 3.2 Location Source Screen Fence 1&2 Configuration Panels Mode Options are Enabled, Disabled, or Automation Control. Enabled and Disabled control the state of the fence with regards to setting up a fence using the web interface. The Automation Control setting makes the fence available for use with the Geo-Fence- Set automation function described in section 4.1 below. In the Automation Control mode, the fence can only be enabled or disabled through Automation Control. Fence Type Options are Fence In or Fence Out. The Fence In setting generates an alarm when the device leaves the defined area. The Fence Out setting generates an alarm when the device enters the defined area.

Coordinate Source Options are GPS or User Defined. GPS will use the current GPS provided position as a center point of the fence, User Defined will use the user provided Lat/Lon for the fence. Geo-fences constructed with MODE=Automation Control must use the internal GPS. In this case the center of the fence will be the coordinates being received from GPS at the moment that the fence is enabled through Automation Control. In the case where MODE=Enabled or Disabled a user defined coordinate set may be used as may the internal GPS coordinates. Latitude/Longitude The User defined values describing the center point of the fence. Decimal format required. See Coordinate Source above for a discussion of the restrictions for various modes. Radius (mi) The field specifies the radius of the geo-fence being created in miles. Decimal fractions e.g. 0.4 are allowed. Ctek recommends that the fence radius be greater than 0.2 miles to avoid false positives.

Figure 2 - Location Setting Page Geo-fence #1 and geo-fence #2 can be configured to describe areas that are either geographically overlapping or geographically mutually exclusive where either fence can be of type fence In or Fence Out. In Figures 1 and 2 below we see some examples of two-fence constructs. In Figure 2 Alarm O triggers when the device enters the Fence Out area and Alarm I triggers when the device leaves the Fence In area. In Figure 3 Alarm O1 triggers when the device leaves the inner fence and Alarm O2 triggers when the device leaves the outer fence.

Figure 4 - Fence Models Figure 3 - Fence Models 3.3 Geo-Fence Alarm Indications Geo-fence alarms (violations) are presented as digital signals (alarm/clear) on Automation input pins. Typically, a virtual input pin will be used. The state of the pin can then be used to send SMS and email alarms as defined in the Automation Unit configuration page. In addition, the geo-fence alarm pin can be connected to a physical output pin(s) to set visible or audible alarms if desired. Figure 4 below shows a typical geo-fence alarm pin set up. In the example shown the fence violation alarm is configured to repeat 3 times at 30-minute intervals.

Figure 5 - Geo-Fence Alarm Pin 4. Extending Geo-Fencing Capabilities Using Automation Note This section assumes that the user is familiar with Ctek s application note APN007 that documents the Automation Control application 4.1 The Geo-Fencing Control Function The Automation Control application can be used to enable/disable the geo-fences using SMS commands, the Automation Control Panel, or the SkyRouter s XML interface. When using Automation Control Define the fence type. Define the fence radius. The longitude/latitude coordinates are defined by the system when enabled by Automation Control using the SkyRouter s current position. The fence will not enable if the device is in motion or does not have a GPS ready indication. The control methods are based on assigning an action function (Geo-Fence-Set) to one or more Automation programs, which in turn can be assigned to control pins of a geo-fence. The syntax of geofencing specific control function is: Geo-Fence-Set <fence #> <enable: 1/disable: 0> Important Programming Note:

TN034 - Geo-Fencing with the SkyRouter When enabled, upon the SkyRouter getting its center coordinates the fence s ON status is set and OFF is cleared. If the SkyRouter cannot establish the center point of the fence within 15 minutes, the OFF status is set and an SMS/email alarm indicating that fence is not enabled to be generated. However, the program will continue to try to establish the fence until you run the program to shut the fence off. If the 15 min. timer has expired and the fence could not be brought up, turning the fence off with a program will reset the timer for the next start attempt. A power cycle or restart of the unit with an active geo-fence will automatically re-enable the geofence when the GPS gets a fix, and initiate a geo-fence on status. This is done since the unit may have been moved after it was powered down. A geo-fence that has been disabled, or has never been enabled will behave in a similar fashion. 4.2 A Complete Geo-Fence Application Managed by Automation Control This example application makes use of the following virtual automation pins: Input 1 [digital] Set when geo-fence 1 is violated, reset when geo-fence is activated or deactivated Input 2 [digital] Used as a toggle to execute the Geo-Fence Set function for both On and Off. Input 3 [digital] Geo-fence ON status indicator pin. This pin is used to initiate a text message when the geofence has been successfully enabled. Input 4 [digital] Geo-fence OFF status indicator pin. This pin is used to initiate a text message when the geo-fence has been successfully disabled. Output 1 [digital] Executes the activate geo-fence 1 programs. Can be set using SMS (see TN009). Also appears on the control panel for simple web interaction. A simple logic diagram follows: Figure 6 - Fence Logic

See Figure 5 above TN034 - Geo-Fencing with the SkyRouter Setup for Input 1 Setup for Input 2 Figure 7 - Input Pin 2 (Enable Command)

Setup for Input 3 Setup for Input 4 Figure 8 Input Pin 3 (Status = On) Figure 9 - Input Pin 4 (Status = Off)

Setup for Output 1 Figure 10 - Output 1 (Activate/Deactivate Control Pin) Activate Program Figure 11- Activate Program

Deactivate Program Figure 12 - - Deactivate Program 4.3 Theory of Operation Preface First, carefully review the notes found in section 4.1 above. Especially note that the operation of input 3 and 4 is not persistent, meaning that it will only indicate the condition of the geo-fence until the next restart/power-fail. Upon recovering from a restart/power-fail the fence will be activated or deactivated based on the last command received but status pins 2& 3 are no longer valid. The pins should be viewed as pulses, showing the status of fence activation only during the current restart/power-up cycle. Activation When Output pin 1 (Figure 8) is set to on, it toggles Input pin 2 and the Arm Program is executed. The program attempts to start the geo-fence. The fence will be started if, and only if speed = 0 and the GPS ready signal is present. As noted above the Activate Program will attempt to establish a fence for 15 minutes based on these requirements. If the program is successful, it will set the fence status ON pin (input 3) which will notify the user via SMS/email that the fence is active. At the end of 15 minutes of attempting to establish a fence, if the operation is not successful, the fence status off pin (Input 4) will be set to indicate via SMS/email that the requirements for a fence could not be met. However, the activate program will continue to attempt to establish a fence until the next time the Deactivate Program (Figure 12) is executed. Deactivate When Output pin 1 is set to off, it toggles Input pin 2 and the Disarm Program is executed. If the program is successful, it will set the fence status OFF pin (input 4) which will notify the user via SMS/email that the fence is active.

4.4 SMS (Text Messaging) Control With the set up described above geo-fence # 1 can now be activated at the units current coordinates, using a previously defined radius size, by using the text command ===SET o 1 1. See TN009 for additional detail. Upon successful fence activation or unsuccessful activation at the end of the 15-minute timer, a status SMS will be sent to the phone numbers specified in the unit configuration screen. Likewise, the fence can deactivated using the text command ===SET o 1 0 and the user will receive status via SMS/email. 4.5 Automation Control Panel In addition to controlling the geo-fence from the Location Source screen the following optional control panel mechanisms are now available as a result of the Automation Control design described above. Figure 13 - Control Panel 4.6 XML Control Another alternative method of activating and deactivating a previously defined fence using the Automation set up described above is through the SkyRouter s XML interface. Using the XML messaging structure defined in APN005, output pin 1 can also be set and reset, and status values defined for input 2 can be obtained.

5. Managing a Geo-Fence with a Switch and LED 5.1 Enable and Disable With a few modification on the design described in section 4, a SPST switch connected to the SkyRouter s relay input pin can be used to arm the geo-fence and an LED connected to the SkyRouter s relay output can be used to indicate the armed/disarmed status of the fence. The set up for a switch and single LED implementation is described below. This example application makes use of the following virtual automation pins: Input 1 [digital] Set when geo-fence 1 is violated, reset when geo-fence is activated or deactivated. Alarms violations via SMS and email Input 2 [digital] Connected to the SkyRouter s relay input. Used to arm/disarm the geo-fence Output 1 [digital] Connected to the SkyRouter s relay output and is used to light the armed LED. 5.2 Switch/LED Enabled The Programs Figure 14 - Switch Activation

Figure 15 - Switch Deactivation 5.3 Switch/LED Enabled The Inputs Figure 16 - Fence Violation Alarm Pin

Figure 17 - Fence Switch Control Pin 5.4 Switch/LED Enabled LED Driver Output Figure 18 - LED Control 6. Automation Control Extensions The logic described in this TechNote details a number of basic geo-fencing implementations. With Automation Control AND & OR logic, a more complex mechanism could easily be developed that would support a combination of SMS, Control panel, and physical (switch) controls.