Wayside Interface Unit Requirements
Wayside Interface Unit Requirements
Railway Electronics
AAR S‐9202
Issue of 2011
Version 1.2.8
03/09/2011
ITC Accepted
AAR Draft
Compiled under the direction of the Committees responsible for the subject matter herein.
Page 1 of 47
2 REFERENCES......................................................................................................................... 7
Page 2 of 47
Page 3 of 47
Page 4 of 47
Page 6 of 47
2.1 Federal Information Processing Standards (FIPS) publication 198 (dated 3/6/2002),
“The Keyed-Hash Message Authentication Code (HMAC).”
Page 7 of 47
Page 8 of 47
This requirements document permits the WIU specification to support both current
communications technology with a variable data payload capability and communications with
larger data payload capabilities. The status information for the signal system related devices
being monitored by a WIU can be allocated to the WIU device status, permitting the optimization
of the WIU physical configuration while matching the data transport limitations of the current
communications devices (e.g.: ability to aggregate multiple WIUs in a single EMP message).
The industry standard protocols (AAR RESC Class C, Class D, and/or EMP) shall be used for the
WIU messages. The protocols directly support the capability to broadcast time-sensitive
information to any number of interested “consumers”.
4.1.1 WIU functionality can be either internal or external to existing signal equipment.
4.1.2 The WIU shall interface to the existing signal equipment, including signal lamps,
switches and hazard detectors and must not falsely interpret the state of signals,
switches, and hazard detectors in a permissive manner.
4.1.3 The WIU shall provide vital messages (WSM) containing the status information to
the TMC regardless of the communications mechanism utilized. (WIUStatus in
Response to GetWIUStatus, WIUStatus Timed Beacon)
4.1.4 The WIU for individual railroad requirements may be required to run the ITCM
stack. ITCM functionality may be provided within the WIU or an external box.
4.1.5 The WIU shall accept LRMs – BeaconOn and GetWIUStatus.
4.1.6 The WIU, receiving the WIUBeaconOn message, shall internally approach light
signals (if so configured) or approach light signals through an external output, set
the BeaconTTL bit to 1, and begin sending WSMs.with QoS for the normal
Comm path. The signals shall remain approach lit until both the BeaconBitTime
and BeaconEnd timers expire. If the timers expire the signals shall be allowed to
immediately relight.
4.1.7 The PTC WIU shall broadcast aspects, regardless of approach lighting when set
to beacon continuously. So in the case of an integrated WIU where the WIU
continuously sample all lamps, and the plant was dark, it may be possible with
executive and application logic, instead of broadcasting a dark aspect, the WIU
shall broadcast the aspect it’s going to display once lit.
4.1.8 The WIU, receiving the GetWIUStatus message, shall internally approach light
signals (if so configured) or approach light signals through an external output, set
the BeaconTTL bit to 1, send a single WSM with a different QoS for alternate
Comm path, and begin beaconing with the normal QoS. Whenever sending out
an immediate WIUStatus in response to a GetWIUStatus, also send a copy of
the same WIUStatus as a beacon as well to ensure that the next beaconed
message shall not be older than the immediately sent WIUStatus message. The
signals shall remain approach lit until both the BeaconBitTime and BeaconEnd
timers expire. If the timers expire the signals shall be allowed to immediately
relight. The WIU shall continue sending WSM’s or begin sending WSMs with
normal Comm path QoS if not already beaconing. For GetWIUStatus the
approach lighting shall be employed, timers started, etc. If there is a WIUStatus
change approach lighting shall not be evoked. If a signal goes from green to dark
Page 9 of 47
Page 11 of 47
Page 12 of 47
Page 13 of 47
Page 14 of 47
Page 15 of 47
Page 16 of 47
4.1.54 WIU shall generate one WSM as defined in Table 1 – WIUStatus Message Body
as an EMP message transported over Class D using the following EMP message
format when in response to each GetWIUStatus message from the Locomotive.
Page 18 of 47
4.1.55 The WIU determines which message to send based on the message type in the
EMP header.
4.1.56 The WIU shall receive Locomotive to Wayside message GetWIUStatus as an
EMP message delivered over Class D with the following EMP message format.
The WIU shall only act upon GetWIUStatus messages addressed to it’s WIU
address.
Page 19 of 47
4.1.57 The WIU shall receive Locomotive to Wayside message BeaconOn as an EMP
message delivered over Class D message with the following EMP message
format. The WIU shall only act upon the BeaconOn messages addressed to it’s
WIU address.
Page 20 of 47
Page 21 of 47
4.3 Environment
4.3.1 System shall conform to AREMA Manual Part 11.5.1 (Recommended
Environmental Requirements for Electrical and Electronic Railroad Signal
System Equipment). Each component of the system shall conform to the
appropriate class for the environment in which it is located.
Page 22 of 47
Page 23 of 47
Page 24 of 47
Page 25 of 47
Page 26 of 47
WIU WIU WIU Bea- Msg. Msg. Mod Msg, Wayside HMAC
Clock Config. Source con Type Ver. 16 Seq. Status
CRC Address TTL Time Num. (1-1944 (32)
(32) (32) (40) (1) (4) (8) bits)
Truncated
RC2 Decryption SHA-1
Key
WIU Configuration or Static Data
Page 27 of 47
HMAC Comparison
Truncated To Message
(32) HMAC
SHA-1
RC2 Decryption
Key WIU Configuration or Static Data
Page 28 of 47
Page 29 of 47
Signal Aspect
LSB MSB
Switch Indication
RWR NWR
Hazard Detector
MSB
Page 30 of 47
Page 31 of 47
Page 34 of 47
The following is a detailed description of the EMP based time synchronization process and the
time change process in the WIU.
9.1 This section specifies the interfaces and protocols for GPS time delivered to the WIU
through the Ethernet connection.
9.2 The WIU clock must be updated on reboot/power up before any messages are
calculated. If the WIU is not able to maintain its internal clock to a +/-2 second accuracy
during loss of time synchronization messages, it shall stop transmitting WSMs and log an
error once it has reached a point in time it can no longer guarantee this accuracy.
9.3 In the absence of time information the WIU shall be capable of maintaining its WIU clock
time so that the drift from clock time does not exceed +/- 2000 ms for at least an 8 hour
period. WIU vendors may specify a duration greater than 8 hours. Over the life of the
product, once temperature and life are factored in, the clock drift shall not exceed +/-
2000 ms for at least a 2 hour period.
9.4 The time message sent over a link inside the bungalow from a local WCM does not need
HMAC on the time message.
9.5 If the WIU regains time information, the WIU shall resume transmitting WSMs.
9.6 WIU should receive a time sync message at a period of no less than every 30 seconds
9.7 The EMP header carries a 32 bit time stamp that indicates Absolute time, which is UTC
time expressed as the absolute number of seconds since midnight, January 1, 1970,
including leap seconds (32 bit message time per EMP specification). Using an absolute
value implies that times prior to the epoch are not supported (this allows a 32 bit valued
to not roll over until after the year 2100).
9.8 The EMP header time can be used as the basis for conveying time between the WCM
and the WIU. The WIU can use this data to update an internal clock. The EMP header
time is the time of the EPM message construction.
9.9 The Time message is defined so that it can be recognized as being sent as a time
update and be transmitted as near as practical to the start of the GPS second. The
message does not need to contain time data because it conveys the time within the EMP
header.
9.10 To limit time jitter, if a time message is received (see 9.14) with a time that is forward of
the clock time of the WIU, the time should be set forward to the new time. WIU System
Time should only be decremented if two Time Sync messages in a row indicate the need
to do so (except for the first Time Sync after Power up/ Reset).
9.11 A sequence number in the payload (8bit – 0-255) shall be used to verify message order.
All WSMs increment the sequence number.
9.12 WIU Main Menu shall display internal WIU UTC date and time as defined in 5.5.
9.13 On power up, re-syncing time after loss of time messages for more than 8 hours, or
reboot, the WIU shall set its internal WIU UTC time based on the first valid GPS time
message received. WIU shall not send WSM's until a configurable Time Messages
Before Sending WSM (default 5) valid GPS time messages are received (unless
Page 35 of 47
Page 36 of 47
Page 37 of 47
10.1 Diagnostics
Local User Interface:
10.1.1 An Ethernet web-based interface shall be provided to upload the PTC program
and parameters to the WIU. A USB interface should be provided to upload the
PTC program and parameters to the WIU. These same interfaces shall allow
download of logs, program and parameters from the WIU and to be able to view
and print WIU parameter settings and program information. During the upload
the WIU shall continue to operate in revenue service while diagnostic port is
being accessed.
10.1.2 Any WIU settings that can affect the safety, vitality, or critical performance of the
system shall be password protected and require local presence to take effect,
unless covered by another methodology (certificates).
10.1.3 Vital and safety related modifications are to be performed through USB or
Ethernet ports with proper system approval.
10.1.4 A minimum of the following visual status indications should be provided on the
WIU. Other diagnostic indications or displays should be provided as necessary
to troubleshoot the WIU:
10.1.4.1 No Fault (System operation)
10.1.4.2 Transmit (each port)
10.1.4.3 Receive (each port)
10.2.1 System management messages are intended to do what they say to add little
additional complexity and be much clearer. They should be as simple as
“Command reboot” instead of “Set rebootTime=5sec”.
10.2.2 If the system management message is an EMP message based application it
should be managed with EMP messages
10.2.3 If the system management is an ITCM component then management should be
managed with ITCM System Mangement messages
10.2.4 Refer to the Wayside System Management Guidelines for other system
management requirements.
10.2.5 SNMP shall be supported for IP connected units and SMP for over the air, radio
connected, units.
10.2.6 SMP shall be implemented as soon as practicable after release of ITC SMP
documentation.
Page 38 of 47
Page 39 of 47
Diagnostics requirements are listed below. Messag Message QOS Payload Payload
e Type Type Length
Get Respons
e
Loop Back Tests (All communications assets Varies Text
and WIU) move to another group
Low Battery voltage – Individual devices - 16 bits Binary
Code unit, WIU value
Lost local communications links. Varies Text
Device Errors (WIU, Communication assets, Varies Failure
vital logic controller) codes (4
digit hex)
per item
Individual board error, comm. errors or down, Varies Failure
etc. errors codes (4
digit hex)
per item
All Aspect State Change( Signals, Switches, Varies Failure
and Hazard Detectors) errors codes (4
digit hex)
per item
WIU Failures - ELM/AG internal error(s) Varies Failure
codes (4
digit hex)
per item
WIU Failures - Manufacturer Specific (Memory, Varies Failure
Logic, Software) codes (4
digit hex)
per item
HMAC Rejection 0
Message Rejection 0
Configuration management anomalies Varies Failure
codes (4
digit hex)
per item
Time Synchronization Errors (time since sync) 24 bits
Page 40 of 47
BroadcastOnChange 1 Bit
BeaconContinuous 1 Bit
BeaconBitTime 16 bits
BeaconEnd 16 bits
MaxBeaconInterval 16 bits
Page 41 of 47
Card failures,
Loss of AC power
Door open
WIU health
Page 42 of 47
11.1.2 Included within the Maximum DC Withstand Voltage is the maximum level that
may be seen in the event that the equipment is connected only to a half-wave
rectifier used for charging the batteries. Equipment is not required to work on the
half-wave rectified source but its effects (e.g. if the battery was disconnected)
must be considered in the safety analysis.
11.1.3 When battery voltage is lower than the WIU’s operating limit, the WIU shall stop
broadcasts and enter a safe state.
Page 43 of 47
11.4 Outputs
Outputs from the WIU may be required for a location to operate approach lighting,
crossing start, or other use.
Outputs must conform to Manual Part 1.5.15 (Recommended Practice for Electrical
Interfaces between Signal, Train Control and Grade Crossing Equipment). The
following are some of the requirements of that Part.
Page 44 of 47
Page 45 of 47
Page 46 of 47
The purpose of this section is to describe the advance crossing start operation of PTC controlled
highway-rail grade crossings for higher speed trains than the physical on-track crossing start is
circuited or physical limitations of the crossings.
Page 47 of 47