TecNote 3010 - NTCIP Database Guidelines Part I
Naztec, Inc. currently supports 22 TS-1 controller types developed for different agencies over the last 21 years. Several customers are in the process of converting TS-1 controller databases to NTCIP by upgrading the front-panel of the controller. These TS-1 controller databases do not provide a one-to-one match with the NTCIP objects, so most of the database must be converted manually. This TecNote provides tips and guidelines to make the conversion as painless as possible using StreetWise utilities to aid in the process.
This TecNote serves only as a guideline for a TS-1 database conversion to NTCIP. Each user must adopt their own set of standards for a default "Data Template" for their system to maintain the accuracy of the TS-1 database and minimize the effort required to take advantage of the new features provided by NTCIP.
Overview of The Conversion Process
Street-wise provides an Import database feature that allows you to import a controller database which has the same controller type. This Import database feature does not support conversions between different controller types, so you need to work through an intermediate or "Temporary" data file for this conversion.
In these examples, we will create controller ID 850 as a "Data template" to record the base data that you want to apply to each intersection in your system. We will then use StreetWise to import this "Data Template" to ID 851 as a temporary or "Temporary" data file. This will allow us to use StreetWise to call up your existing data files and copy-and-paste as much as possible to update the "NTCIP Temporary File". After the "Temporary" data file is updated, you can delete your existing data file and recreate it with the new controller type. Finally you can use the Import database feature in StreetWise to import the ID 851 "Temporary" database to the new controller. This process insures that the controller type definitions are maintained correctly in your StreetWise database.
After you have created the "Data Template" in Steps 1-4 below, you will perform these steps to systematically convert all of your existing TS-1 data files:
View the "Temporary" controller database (ID 851)
Import the "Data Template" from (ID 850)
using the selection "Import database" from
the Utilities menu under ID 851
View the controller database you want to convert
(for this example, assume ID 1)
copy-and-Paste the screens from ID 1 to the
"Temporary" database (discussed in Step 5 below)
Make final adjustments to the "Temporary"
database in ID 851 (discussed in Step 6 below)
Delete ID 1, then recreate ID 1 with the new NTCIP controller type
Use the "Import database" feature for ID 1 to import the "Temporary database from ID 851
Step 1 - Create a "Data Template" and a "Temporary Data" File
Create a new controller in StreetWise for ID 850
with the 980 TS-2 “Controller Type” (either 980 TS2 50.x NTCIP or 980
TS2 Secondary 50.x)
Give ID850 the name “850 NTCIP Data Template”2)
Delete controller ID851 (unless this is an existing data set you want to
convert)
Create a new controller in StreetWise for ID 851
with the 980 TS2 50.x NTCIP or
980 TS2 Secondary 50.x controller type
Give ID851 the name “NTCIP Temporary File”
Go ahead "View" controller ID 850 and
ID 851 from the StreetWise client.
Step 2 - Initialize a Controller to Build the Initial "Data Template"
This step initializes a standard 8-phase controller which contains much of the database you need for a "Data Template".
Go ahead and initialize a TS-2, 2070 or 970 controller using the following keyboard sequences from the main menuMake sure your controller is "flashed"
with the current version you are moving to
MM->1->7 toggle the Run Timer OFF
MM->8->4->1 (Clear & Init All)
and select a STD-8ø as the Operating Mode
MM->1->7 toggle the Run Timer ON
Change the controller ID to 850 and modify the Comm
parameters (MM->6) to match the baud rate and duplex settings for the
serial port in StreetWise
Upload the initialized controller to StreetWise.
Save your "Upload" file to the "Standard" and "Permanent" Files using the Utilities menu.
Now we will modify this base data to create the "Data Template" for every controller in your system.
Step 3 - Build a "Data Template" Using The Controller Keypad
The "Data Template" you provide under Step 3 will be the starting point for every controller in your system. The following guidelines will help you select the common database information for the "Data Template". This method will save you a lot of work later on and insure that the base data for all of your controllers is the same.
You will build the "Data Template" using the controller keypad, rather than StreetWise to give you practice with the controller. At the end of Step 3, you will upload and save the controller database to the standard and permanent data files in StreetWise.
Modify the Unit Parameters
The Unit Parameters can be accessed from the controller Main menu by using the key sequence MM->1->2->1
This Data Template provides a conservative Start-Up Flash time of 5 seconds which provides additional flash time after a power interruption.
The Start Red Time applies to any Startup phase you have programmed to RED CLR under screen MM->1->1->4. The default Start Red Time is 0", so if you want to start-up in a red clearance clearance on all phases, modify this value and change all startup values on screen MM->1->1->4 to RED CLR. This Data Template uses a 10" Start Red Time to provide time for a policeman directing traffic to clear the intersection before the controller returns to stop-and-go operation.
This Data Template sets Disable Init Ped to ON so no artificial pedestrian calls are placed on the controller during a start-up condition. However, the pedestrian phases are still serviced if a pedestrian actuation is called.
If you have a TS-2 (type-2) controller and redefine the I/O (Inputs/Outputs) of the A-B-C connectors, you may want to adjust the IO Mode setting under Unit Parameters (the default is Auto). You can also turn Tone Disable ON if you do not want to use the audible "beep" indication as a default.
Unit Parameters are usually constant for every controller in your system. Therefore, you should read chapter 4.8 of the TS-2 controller manual carefully and modify any unit defaults needed for your system.
Define All Ring Sequences
TS-2 calls for 16 separate sequence definitions per controller. There are sixteen sequence combinations of leading and lagging left turns in a standard 8-phase dual-ring controller. Our standard data template will standardize these 16 phase sequence combinations.
Now, take a look at the sequence table (MM->1->2-4)
Initializing the controller data base in Step 2 set up a dual ring 8-phase sequence in sequence number 1 in this sequence table. Our data template defines the remaining 15 sequences to standardize phase sequences for every controller in your system. The advantage of a standard phase sequence chart will become apparent when you begin implementing coordination patterns for the controller.
Go ahead and key in phase sequence # 2 - 16 using this chart.
|
Sequence # |
Left Barrier |
Right
Barrier |
Controller
Seq. |
|
1 |
1+5 lead |
3+7 lead |
Ring1: 1 2 3 4 Ring2: 5 6 7 8 |
|
2 |
1 lead |
3+7 lead |
Ring1: 1 2 3 4 Ring2: 6 5 7 8 |
|
3 |
5 lead |
3+7 lead |
Ring1: 2 1 3 4 Ring2: 5 6 7 8 |
|
4 |
1+5 lag |
3+7 lead |
Ring1: 2 1 3 4 Ring2: 6 5 7 8 |
|
5 |
1+5 lead |
3 lead |
Ring1: 1 2 3 4 Ring2: 5 6 8 7 |
|
6 |
1 lead |
3 lead |
Ring1: 1 2 3 4 Ring2: 6 5 8 7 |
|
7 |
5 lead |
3 lead |
Ring1: 2 1 3 4 Ring2: 5 6 8 7 |
|
8 |
1+5 lag |
3 lead |
Ring1: 2 1 3 4 Ring2: 6 5 8 7 |
|
9 |
1+5 lead |
7 lead |
Ring1: 1 2 4 3 Ring2: 5 6 7 8 |
|
10 |
1 lead |
7 lead |
Ring1: 1 2 4 3 Ring2: 6 5 7 8 |
|
11 |
5 lead |
7 lead |
Ring1: 2 1 4 3 Ring2: 5 6 7 8 |
|
12 |
1+5 lag |
7 lead |
Ring1: 2 1 4 3 Ring2: 6 5 7 8 |
|
13 |
1+5 lead |
3+7 lag |
Ring1: 1 2 4 3 Ring2: 5 6 8 7 |
|
14 |
1 lead |
3+7 lag |
Ring1: 1 2 4 3 Ring2: 6 5 8 7 |
|
15 |
5 lead |
3+7 lag |
Ring1: 2 1 4 3 Ring2: 5 6 8 7 |
|
16 |
1+5 lag | 3+7 lag | Ring1: 2 1 4 3 Ring2: 5 6 8 7 |
Warning!!!: DO NOT use lagging left-turn sequences in the above table if a left-turn signal display contains protected and permitted indications in the same display unless you follow all of the guidelines in TecNote 11-3 - The Permitted Lag Left-turn Display or some other method approved by your Agency to deal with the "yellow trap" safety issue. Naztec, Inc. assumes no liability whatsoever for any "yellow trap" safety problems you might encounter if you do not follow these guidelines.
Default Channel Assignments for 8 Phase-Dual Ring Operation
NTCIP and TS-2 refer to a load switches as a "channel". The controller software allows you to drive a load switch with any vehicle, ped or phase output. When you initialized the controller in Step 2 above, the following default channel assignments were programmed into screen MM->1->3->1.
Note that the Flash settings are all set to RED. This cause the intersection to go to an all-way red flash when the flash switch is activated in the cabinet door (automatic flash) as explained in our next section. We have intentionally set all channels to RED flash in the Data Template as a safe default. The user must select the main street phases to flash amber (YEL) when the Data Template is customized for each intersection.
Define the Parameters for Automatic Flash
You can change the Auto Flash Parameters under screen MM->1->4->1.
Since we have redefined the load switch channels for TPCLT, leave the Flash Mode set to CHANNEL. This setting directs the controller to flash the cabinet through the channel assignments given in the last section.
The "Input Src" for Type-2 cabinets can be changed to D-CONN if the cabinet flash switch is wired through the D-connector (Texas method) or to TEST-A or TEST-B if wired through the NEMA TS-1 test inputs (State of Florida method).
The yellow and all-red clearance times can also be modified for the Data Template under this screen. If any channel is set to flash yellow, these are the clearance times that are timed before the controller goes back to normal stop-and-go operation.
Default Concurrent Phases for 8 Phase Dual-Ring Operation
Concurrent phases (also known as compatible phases) determine which phases can be serviced at the same time in separate rings. Concurrent phases combine with the sequence definitions to create the barrier structure for the 8 phase dual ring controller.
The following concurrent phases were defined when you initialized the controller under Step 7 (MM->1->1->4).
The StartUp values in this Data Template have been changed from RED to RED CLR to utilize the Start Red Time unit parameter (MM->1->2->1pagedown) rather than all-red times programmed for each phase. After power up, the controller times a 10" StartUp Flash followed by a 5" Start Red Time. This was discussed under the Unit Parameters section.
Note that only 8 phases are defined and that phases 9 through 16 have zero programmed in the ring column. If more than 8 phases or 2 rings are needed, the unit parameter, Phase Mode must be changed from STD8 to USER under screen MM->1->2->1->pagedown. The Data Template developed in this TecNote uses the standard 8-phase defaults when the controller was initialized in Step 2.
Modify the Detection Parameters
Cabinet detection can be classified into one of the following groups:
TS-1 Cabinet Detection - Multiple detector
outputs are combined to a single vehicle input for phases 1 throu 8 using
the TS-1 cabinet wiring. This type of detection does not provide
individual lane counts because detector outputs from adjacent lanes are
physically wired to the same controller input.
TS-2 Cabinet Detection - Each detector output is brought into the controller over a separate input pin (TS-2 Type 2) or via the SDLC port (TS-2 Type 1). Either method provides accurate volume and occupancy for each detector which is sampled separately and mapped to the controller phase(s) through software.
Detector Vehicle Parameters
Most agencies adopt a standard numbering scheme for numbering local intersection detectors. This Data Template assumes that a TS-1 Cabinet is used and that all cabinet detection is wired to vehicle inputs 1 through 8. This is the default when you initialize the Naztec controller database.
This Data Template assumes that detectors 1 - 8 and 9 - 16 call and extend vehicle phases 1 - 8. The "Detector Parameters" for detectors 1 through 16 as follows - access this data from the Main Menu using keystrokes MM->5->1.
Now, modify the Veh Options for detectors 1 - 16 using MM->5->2. If you forget this step, detectors 1 through 16 will no longer call and extend. Also, make sure that Add.Init is programmed for each detector or the detector will not be able to added time to the min (initial) green.
Standardize the Default Events and Alarms
Controller alarms and events are specified under MM->1->6. Events are stored in the controller until they are uploaded by StreetWise. Alarms are events that are uploaded when the system (or closed-loop master) requests local alarms. Events and alarms are provided in the following table:
| Event/ Alarm # |
Function |
| 1 | Power Up |
| 2 | Stop Timing - Manual Control Enable |
| 3 | Cabinet Door Open |
| 4 | Coordination Failure |
| 5 | External Alarm #1 |
| 6 | External Alarm #2 |
| 7 | External Alarm #3 |
| 8 | External Alarm #4 |
| 9 | Closed Loop Disabled |
| 10 | External Alarm #5 |
| 33 | Street Lamp Failure |
| 34 | Signal Lamp Failure |
| 35 | External Alarm #6 |
| 37 | Request Database Download |
| 49 | Controller Fault |
| 50 | Local Flash |
| 51 | MMU Flash |
The default Events selected for the Data Template are as follows:
The default Alarms selected for the Data Template are as follows:
Also, go to MM->1->6->7 to activate Pattern Events (time-stamped pattern changes) and Preempt Events (timed-stamped preempt on and off events). Do not activate "Loc Txmt Alarms" unless you have a remote location where the controller dials-up a modem to call the StreetWise com server to transmit alarms (this will disable polling in a typical closed-loop master configuration).
Standardize the Coordination Mode+ Settings
The following coordination settings reflect the recommendations made in TecNote 1101 - NTCIP Coordination By Example. The coordination mode settings (MM->2->1) are provided on three separate controller screens (below). The "adjacent" screens are accessed using the arrow keys to toggle or "window" between screens. The values shown as "XXXX" are not needed (any setting will suffice). For more information on these settings, consult the controller manual or visit here.
|
Coordination Modes -> Test OpMode 0 Force-Off FIXED Correction SHORT/LONG |
<-
Coordination Modes+
Force-Off+ XXXX Easy Float XXXX Closed Loop OFF Auto Err Reset ON External OFF |
|
-- Leave Walk --
Stop-in-Walk ON Before TIMED Walk Recycle NO_RECYCLE After TIMED
|
Now, go to MM->2->5 and enter the following data for patterns 1 through 48:
From the current screen (MM->2->5), use your right arrow key to toggle to the right screen and enter the following data for patterns 1 through 48::
Standardize the Default Pattern Table
The default Pattern Table under controller screen MM->2->4 should be modified as follows so that the pattern number (Pat#) and the default split number is the same for patterns 1 through 24.
Pattern 48 is reserved for free operation as explained later in this TecNote. Selecting Pattern 48 will run the controller in free with the phase sequence selected for this pattern. This allows you to specify the phase sequence of the controller when running free operation.
Standardize the Transition Values for Each Pattern
Now, go to MM->2->5 and enter the following short-way, long-way and dwell transition values.
The time-of-day scheduler is greatly simplified if you code the Pattern Number equal to the Action Number under screen MM->4->5. The following values are the defaults for this Data Template
Notice that the time-of-day scheduler assigns the Pattern Number equal to the Action Number for plans 1 - 24. The default Split Number assigned to the Pattern Table (MM->2->4) is also the same as the Pattern Number for patterns 1 - 24. (The first 24 actions and patterns are standard in the Data Template because there are a maximum of 24 splits per controller).
Also note that action 25 has been programmed with Pattern 255 which NTCIP defines as automatic flash. Action 25 can be used to cause the controller to go to automatic flash by time-of-day.
We also recommend that you establish a convention to use action 48 and pattern 48 to run free operation. This allows you to program the phase sequence for pattern 48 (MM->2->4) that is used during free operation. If you use pattern 254 (defined by NTCIP for free operation), the controller uses sequence 1 (defined in MM->1->2->4) which may or may not be the sequence you desire for free operation. If you use action 48 and plan 48 for free operation, you can control the phase sequence you need.
Standard Timing Plans Used in This Data Template
Your database will be easier to maintain if you maintain this one-to-one relationship between action, pattern and split numbers for patterns 1 - 24. You will also find it easier to maintain your patterns if you develop a standard such as the one below as you develop your timing patterns:
|
Timing Plan |
Action Event |
|
AM Patterns |
1 - 3 |
|
AM Test Pattern |
4 |
|
PM Patterns |
5 - 8 |
|
PM Test Pattern |
9 |
|
OFF Peak Patterns |
10 - 13 |
|
OFF Peak Test Pattern |
14 |
|
Weekend Patterns |
15 - 19 |
|
Manual Control Plan |
20 |
|
AM Incident |
21 |
|
PM Incident |
22 |
|
Off Peak Incident |
23 |
|
(reserved) |
24 |
|
Flash Operation |
25 |
|
Free Operation |
48 |
In this standard, four patterns are provided for each weekday AM, PM and OFF-peak period and for weekend operation. Providing multiple AM, PM and OFF plan allows you to vary cycle, split, sequence and/or offset for each time period. This is very useful if you want to vary the split times 2 or 3 times over a peak hour but maintain the same coordination cycle and sequence.
A numbering convention is also suggested for Test Patterns. This makes it easy to spot patterns in the time-of-day scheduler that were intended as test patterns. You should copy a test pattern to one of the AM, PM or OFF patterns when you are satisfied with the operation.
Pattern 20 is assigned as a Manual Control Plan to provide a temporary pattern for StreetWise manual downloads. The manual control feature in StreetWise allows you to force the controller to run pattern 20 and specify a time-out value (in minutes) to let the controller go back to time-of-day operation. By convention, you should never call for Action 20 (or Pattern 20) in the time-of-day scheduler. Use Pattern 20 as a "scratch" plan to download manual plans to the controller. This convention keeps the time-of-day plans and your temporary manual control plans separate.
The Incident Patterns (21 - 23) in the standard Data Template can be used to handle freeway incidents if the signal controls a freeway interchange. You can also provide incident plans for arterial plans once your AM, PM and OFF peak plans are established. For example, by increasing the cycle length of an AM plan 15-20% and assigning the additional time to the main street through phases, you can provide an AM incident plan to "clear out" a main street queue problem.
Pattern 24 and split 24 are reserved for your own use. Action 25 calls Pattern 255 (flash) and is suggested as the standard action event for Flash Operation in the scheduler.
Action 48 calls Pattern 48 in the Pattern Table and is used for Free Operation in this standard. Action 0 / Pattern 0 can also be used for free operation using the default dual lead phase. However, this standard recommends that you use Action 48 / Pattern 48 for free operation so you can specify the phase sequence for Pattern 48 in the Pattern Table. This method also allows you to specify the alternate detector map #1 developed earlier in this TecNote. Go to MM->2->6 and change the "DetGrp" to 1 for Pat# 48 (this will disable the detector diagnostics during free operation and you won't log detector failures late at night when detector "NoCall" failures are expected). Other options selectable by pattern (such as Max II selection) can also be specified for free operation using the pattern selection method.
Standardize The Scheduler For Your System
This Data Template assigns Day Plan #1 to Monday - Friday, Day Plan #2 to Saturday and Day Plan #3 to Sunday. You may want to refine the scheduler for your system.
You can schedule a separate day plan for each day of the week and use the Copy Day Plan feature to duplicate day plans for Monday through Friday that initially contain the same time-of-day schedule. However, keep in mind the additional complexity of maintaining a separate day plan for each weekday compare with one day plan for Monday - Friday.
You can call "Easy Schedule" from the Main Menu (MM->4-2) to schedule an annual plan with distinct Day Plans for each weekday as follows:
Or you can use "Easy Schedule" to develop a simpler schedule where Monday - Friday share the same day plan:
We recommend that you provide a schedule as follows if you only want to develop one Day Plan for Monday - Friday. This approach allows you to go back later and modify a plan for a single weekday if desired :
Also make sure that you have set Action 48 (Free Operation) as the default for each Day Plan under menu MM->4->4. Set an event ("Evt") at 00:00 with an action value ("Actn") of 48. for Day Plans 1 through 24. This will insure that the controller defaults to free operation using the sequence provided in the Pattern Table for Pat# 48 as discussed in the last section.
Standardize The Com Parameters For Your System
Modify the Com parameters for your system. The controller ID for the Data Template is 850. Customize these settings for your system baud rate, duplex setting, etc. Setting these defaults can save you a lot of time later on when you customize your controller data for each intersection.
Standardize System-Wide Emergency Vehicle Preempts
Many agencies provide system-wide emergency vehicle preemption and standard preempt definitions and timings may be suitable as defaults for the Data Template. The inclusion of these defaults is left to the user as an exercise.
Step 4 - Upload and Save the "Data Template" to Controller ID 850
Once you have completed updating the initialized controller database with the defaults discussed in Step 3:
Upload the controller data to an NTCIP version 50
controller in StreetWise using ID
850.
Save your "Upload" file to the "Standard" and "Permanent" Files from the Utilities menu for ID 850.
Step 5 - Import the "Data Template" to the "NTCIP Temporary File"
This is the point where you begin converting your existing TS-1 data files. The "Data Template" was built in Step 2 from the default data when the controller was initialized along with the modifications you provided in Step 3. At the end of Step 3, the "Data Template" was uploaded and saved to ID 850 in StreetWise.
The ID 850 "Data Template" will not be modified again. A "Tempory File" (ID 851) will be used to import the "Data Template" (ID 850). This intermediate data file protects the "Data Template" and also lets you copy-and-past from the TS-1 data file as much as possible.
Go ahead and "View" ID 851, the "NTCIP Temporary File" from StreetWise.
Now, select "Utilities" from the "NTCIP Temporary File" pull-down menu and select Import Database
Select the database "850 - NTCIP Data Template"
The "Standard" file radio button is already selected. Remember, you uploaded the "Data Template" from the controller and saved it to the Standard and Permanent files.
Press "OK" to import the "Data Template" to the "NTCIP Temporary File"
Step 6 - Modify the NTCIP "Temporary File" Using the Old TS-1 Data File
The following examples apply to the Richardson TS-1 controller and may vary slightly for other TS-1 controller types. You should already have the "NTCIP Temporary File" open from Step 5. Now, open the TS-1 data file that you want to import to NTCIP. We will begin converting the old data using copy-and-paste from within StreetWise.
Copy-and-Paste
Use copy-and-paste as much as possible to minimize the conversion time and errors. The following screen shows a copy-and-paste operation from TS-1 data screen. You must click at the top left-hand corner and hold the left mouse button down as you drag a rectangular window across the portion of the screen that you want to copy from. Notice the dashed lines that appear after you highlight this area.
To complete the copy operation, you can hold down the <ctrl> key and type "c" or you can select "Copy (Ctrl+C) from the Utilities menu of this screen. In the example below, notice that we did not highlight the "Added Initial" on the TS-1 data screen since there is not a corresponding entry on the NTCIP data entry screen.
Then, highlight the screen that you want to paste to in the same way. Either hold the <ctrl> key and press "p" or select "Paste (Ctrl+P) from the Utilities menu of this screen to complete the paste operation. The order of the data in the NTCIP version will be slightly different, so you will need to use a combination of copy-n-paste and manual entry. However, keep in mind that cut-n-paste is available because it can save you a lot of time and help maintain accuracy in the database translation.
Use the above method to update the following screens in the "NTCIP Temporary File" from the TS-1 data file. This is the portion of the database that varies from controller to controller and could not be included in the "Data Template" we defined in Step 1 - 4.
| TS-1
Data Screen (Existing TS-1 Database) |
NTCIP
Data Screen (Temporary Data File) |
| Phase
Setup I Phase Setup II |
Phase
Timings 1 1-8 Phase Timings 2 1-8 |
| Phase Options 1 | Phase Options 1 - 8 |
| Flash
Initialization |
Auto
Flash Channel Assignments 1 - 8 |
| Detector Maps | Vehicle
Options Vehicle Parameters+ |
| Plan 1-24 Normal Mode | Split
Tables 1-24 Pattern Table |
| Preempt
Options / Preempt Parameters (not defined in the data template) |
Preempts
/ Preempts+ (not defined in the data template) |
| Overlaps (not defined in the data template) |
Overlaps (not defined in the data template) |
| Day
Types Schedule / Exception Types |
Day
Plans Action Tables |
Step 7 - Import the "Temporary File" to the New NTCIP File
This step completes the database conversion you began in Step 5.
Delete the TS-1 controller ID you have been working
on
Re-create this ID using the NTCIP
controller type
Use the "Import database" feature to import the "Temporary File" to the new ID
This TecNote provides a guideline to convert TS-1 databases to NTCIP using StreetWise utilities to aid in the process. It is the user's responsibility to insure that each NTCIP database reflects the policies and decisions of the user's Agency. Therefore, Naztec, Inc. offers this TecNote as information only and as supplemental documentation for the Naztec NTCIP controller series. Naztec, Inc. does not assume any liability for the controller databases developed and maintained by each Agency.