Mae 95-01 Sensor Interface Processor (Sif-P) Product Data
Mae 95-01 Sensor Interface Processor (Sif-P) Product Data
HOME
PRODUCT DATA
CONTENTS
Page
1. SUMMARY OF OPERATION 1
2. HARDWARE DESCRIPTION 1
3. SOFTWARE 2
4. HARDWARE DETAIL 3
5. PHYSICAL ARRANGEMENT 8
1. SUMMARY OF OPERATION
The SIF_P board provides the interface for 10 Analogue inputs with a resolution of 12
bits [11 bits plus sign]. Analogue to Digital converters convert each analogue input in
sequence into digital form, the processor generates a message in the defined format
to transfer the data over the serial link to the host.
A ribbon cable bus interface provides the facility to link to a companion Digital I/O
board, SIF_D. MAE 95-02.
• The serial port has galvanically isolated RS485 and RS232 interfaces in the
same 9 way D type connector.
• One pulse count input channel, unidirectional, with differential input amp.
• 24 Volt supply.
2. HARDWARE DESCRIPTION
The PCB is a processor based interface which scans 10 external analogue inputs in
sequence, converts the inputs into digital form with 11 bits plus sign resolution and
sends the data over a serial link running at 19.2kbits/sec to a host processing system.
The host, in most Marine applications, will be a Terminal server connected to a SPARC
based workstation via the SCSI port.
The serial link S/W protocol is specific to this application, however, alternative S/W
protocols could be included in the firmware to provide a link to another Comms
system viz. GEM80/400, Alspa 8035, 8075 etc.
A single supply, 24 volts, provides the required on-board supplies by using DC-DC
Converters mounted on the PCB.
The serial port supports both RS232 for local connection and RS485 for remote use,
point to point or multidrop.
3. SOFTWARE
The Host message content defines when digital I/O is present, when true, lamp
dimming is required. The value of analogue input A0 is used to determine the
mark/space ratio of the pulse train sent down the Ribbon or Backplane bus to all SIF-
D boards. Zero volts input to A0 produces min brightness, +5V input to A0 produces
maximum brightness.
Any SIF-P which is a slave monitors incoming messages from the Host and raises a
SIF-P watchdog alarm if the Host does not address it for a period exceeding 8
seconds. The Host will normally address each SIF-P at least four times per second.
When a SIF-P watchdog alarm is raised the SIF watchdog buzzer (output bit 0 on SIF-
D address 0) and the SIF watchdog lamp (output bit 1 on SIF-D address 0) should
both be set, with the WD lamp flashing. When the silence button (input bit 1 on SIF-D
address 0) is next set the buzzer should be cancelled. The SIF-D WD alarm lamp
remains on (not flashing) until the Host establishes reliable contact with the SIF-P
again.
Lamp Test. While the lamp test button is set (input bit 0 of SIF-D address 0) all outputs
(LCD, lamps and buzzers) are set, a sequential procedure is utilised to avoid
overloading the lamp power supply, to allow both buzzers to be heard and utilise all
functions of the LCD. While lamp test is depressed the analogue and digital input
signals continue to be updated on the serial link. The output signals are overwritten or
ignored.
The input data to the SIF-P is assembled as an output messages with updated digital
and analogue values and transmitted immediately after receiving a message from the
Host.
The digital data received from the Host, is passed without modification to the SIF-D
units.
The data update rate for the SIF_P to Host processor, is 5Hz.
Digital inputs to the Host processor via the serial link are masked by the Enable button
which is located at B2 of SIF_D address 0.
Each lamp has three states in addition to the lamp test previously defined. The serial
message from the Host contains information for steady and flashing lamps states. The
SIF_P must flash the lamps at a rate of 0.5 seconds on, 0.5 seconds off in accordance
with the following truth table, overleaf.
0 0 OFF
1 0 ON
0 1 FLASHING
1 1 FLASHING
a) A potentiometer which uses the +/- 5 Volt Pot reference supplies, sourced from
the SIF_P. These inputs are multiplied by 2048 and then divided by the
measured Pot reference supply [+/-]. This removes the requirement for
accurate Pot reference supplies.
Frequency is to be scaled
0/500Hz 0/500
The frequency will be obtained by counting the pulses over a one second period,
giving a resolution of 1 Hz, the fresh value will be calculated once per second.
4. HARDWARE DETAIL
4.1 PROCESSOR, RAM, ROM, ADDRESS SELECT
4.1.1 Processor
The clock for the processor uses a 11.05920MHz crystal, selected as a convenient
frequency for the internal UART to communicate at 19.2kbps
4.1.2 RAM
The PCB has been tracked to incorporate a 62256, 32kbyte static RAM.
4.1.3 ROM
The PCB has been tracked for a 28F010, 128kbytes Flash PROM.
No on-board programming facility for the Flash PROM has been provided.
A 16 way Hex switch, SW1, Address select, provides the facility to individually address
up to 16 SIF_P processor boards in a multidrop link.
It is based on a half size DIN41612, with rows a and c loaded, a1 - a16 and c1 -
c16.
Two or three boards can be linked using a 32 way ribbon cable or, for larger systems,
a PCB backplane, SIF_BP, MAE 95-03, has been designed, where the SIP_P supports
up to 8 SIF_D Digital I/O boards.
2 x SIF_BP Backplanes will mount in one 19" rack, giving the facility of 256 bits of 24
Volt digital I/O in one 3U high rack.
24 Volt Power
A lamp brightness control facility is provided for both the Digital I/O boards and for
the LCD backlight.
The processor generates a variable Mark to Space ratio signal, PWM, the period being
defined by AIP0, only when in the slave mode. The resolution of the PWM is 8 bits, i.e.
256, with a minimum value of 1/256 and a maximum of 255/256.
The PWM signal on the SIF_D, digital I/O board, determines the ON/OFF time for the
output lamp drivers.
The Analogue inputs are connected by means of a 26 way ribbon cable header
mounted on the front edge of the board.
This connector also provides reference supplies for the potentiometer inputs, viz.
Joystick, Amplitude, Turning moment etc.
AIP12, although input to the A/D converter is normally used as a pulse count input to
determine the frequency of an input waveform.
All external Analogue inputs, AIP0 - AIP9 and AIP12, are buffered by differential
amplifiers.
Analogue input channels 0 - 3 have differential and common mode 10mS input filters
Protection diodes at the front end of the amplifiers, provide no damage protection up
to in excess of +/- 110 volts.
This input is connected to one of the A/D converters to be used as a normal analogue
input.
4.3.2 A - D Conversion.
Two x 8 I/P, 12 bit, Serial Analogue to Digital converters with sample and hold are
fitted, to provide the facility to sample two input channels at the same time, a
requirement for Synchro or resolver inputs.
A mean of several successive conversions is passed to the host to reduce the effect of
random noise pick-up.
Two Synchros are catered for, with Synchro 1 using AIP6 and AIP7 for its stator inputs
and Synchro 2 using AIP4 and AIP5 for its stator inputs.
When Synchro mode is selected, AIP4 - 7 are sampled at specific times dependant on
the synchro reference inputs.
The two Synchro rotor / reference inputs REF1, REF2 are input to the A/D converters,
REF1 to AIP8 and REF2 to AIP9, as normal Analogue inputs and are also input to
comparators to give zero crossing detection for the inputs which are fed to interrupt
ports on the processor.
A ↑ transition, interrupts the processor, starts an internal counter, which continues until
the input goes low,↓. The value stored in the counter is the period of the positive half
cycle of the reference waveform. Dividing this value by 2, gives the point for the next
positive half cycle where the reference is at a peak.
For the best resolution, the stator inputs, S1 to S2 and S3 to S2 are sampled at this
time, S1 to S2 is input to A/D Conv 0 and S3 to S2 is input to A/D Conv 1.
Note: The math for conversion to the angle θ is carried out in the host processor,
SPARC or similar.
The A/D converters require accurate positive and negative reference voltages.
A Linear Technology LT1004, IC19, is used for the positive reference, buffered by a
voltage follower, IC23A, produces a VR+ = 1.235V. An amplifier, IC23B, with a gain
of -1 using 0.1% resistors provides a negative reference = -1.235V +/- 0.001V.
Two supplies, PREF+ and PREF-, nominally +5V and -5V, are provided for the input
potentiometers.
There is no adjustment on these supplies and they may vary from board to board, or
over a period of time.
PREF+ and PREF- are input to the A/D converter as AIP10 and AIP11, giving accurate
values for the Pot references.
The actual value read from the pot is divided by AIP10 if positive or by AIP11 if
negative, giving a ratio equal to 1.00 for maximum setting. The ratio is then multiplied
by +/- 2048 giving a value which is not dependant on the actual pot reference
supply.
A 16 way Hex rotary switch, SW2, provides the facility for selecting the mode of
operation of the board, as listed in the table below.
The wind speed is input to the PTR+ and PTR- as a differential input with both
common mode and differential mode filtering. The output of the differential amp is
connected to a comparator to provide a zero crossing digital input to one of the
interrupt inputs, P1.0, of the processor.
The frequency of the input signal is determined by counting the number of positive
edges in one second.
The output of the differential amp is also connected to the A/D converter as AIP12, for
use in other applications as conventional analogue input.
The Processor includes a built in UART with programmable Baud rate. For this
application, the Baud rate is fixed at 19.2kbps.
A second unregulated DC-DC Converter, converts the 24 Volts supply to isolated +/-5
Volt supplies for the serial interface. +5VI and -5VI.
IC26, SN75155, running from the +/- 5VI, provides the RS232 transmit and RS232
receive interface. The minimum spec for RS232 levels is +/- 3V.
Two separate LTC485, RS485 transceivers are utilised, IC24 for RS485 receive and
IC25 for RS485 transmit.
The RS485 receive lines, RXA and RXB and the transmit lines , TXA and TXB, are
biased to a logic 1 or mark condition, with RXA = Hi, RXB = Lo, TXA = Hi and TXB =
Lo. Connecting or disconnecting the serial link connector leaves the lines in a logic 1,
or mark condition.
Receive data is a logical OR of the RS232 and RS485 receive data with no links
required.
RS232 transmit data is permanently enabled, RS485 data is controlled by the Transmit
enable generated by the processor. For a point to point link, it is enabled
permanently, for a multidrop link it is enabled only when the Master instructs the
interface to transfer data to the host.
Two green LED’s driven by pulse stretching mono-stables, IC34A and IC34B , indicate
serial link activity on the transmit port and the receive port.
Issue A © 1999 ALSTOM Controls Ltd.
c
HOME 8 SENSOR INTERFACE PROCESSOR (SIF-P) MAE 95-01
The display specified, is fitted with an LED backlight assembly, rated at 4.2V, 168mA.
The backlight runs from the -5V supply as the normal loading on this supply is low.
The PWM signal is filtered to produce a mean level between 0V and +5V.
0V produces zero current through the backlight and +5V produces 160mA for
maximum brightness.
The power input for the PCB is nominally + 24v +/- 10%
The + 5 volts is for the processor and the logic on the board and with further filtering
for the analogue circuitry.
The - 5 volts is used for the analogue circuitry and for the LCD Backlight.
A second DC - DC converter fed from the 24 volts supply produces +/- 5 volts
isolated supply for the Serial link, RS232 and RS485.
4.7 RELIABILITY
The MTBF for the module has been calculated as = 86,580 Hours
Mil 167 approval All steps necessary will be taken to ensure that the interface
board meets Mil 167 and Lloyd's approval. e.g. operational
temperature ranges, construction, etc.
5. PHYSICAL ARRANGEMENT
The PCB is normally mounted on a metal backplate by four x 3mm PCB mounting
spacers.
For larger systems, where the SIF_P processor board links to more than 1 Digital I/O
board, the boards will mount in a 3U high rack.
A PCB backplane, SIF_BP [MAE 95-03] will link one SIF_P to up to 8 SIF_Ds.
TR1
IC11
IC10
REF 1,2 IC22
IC7
IC12
IC17 IC1
PL3 ANIP 4,5 ANIP 6,7
PL1
IC9 IC5
IC34
IC24 IC29
180mm
PL3
PL1
SIF-P
PROCESSOR BOARD
100mm
SK1
TB1
0.2in 0.2in
0.2in 0.2in
The cable between the SIF_P processor and plant wiring is specified as a 26 way
ribbon cable which connects to either a SIF_AT analogue termination panel in the
Sensor junction box, or to a marshalling board for use in the Console nose, or to
standard Ribbon Interface units.
The connectors for each end of the cable are 26 way D type Insulation displacement
Connectors IDC socket.
Serial Link
The 9 way D type connector caters for both RS232 and RS485 interfaces.
The cable to be used for the RS485 link, should be two twisted pairs, each individually
screened, with an overall braid screen. By reason of common mode limitations of the
RS485 drivers and receivers, the 0V at each node on the link, should be connected
together, using another core in the cable.
The RS232 interface is to be used only for local connection. The same cable, defined
in the previous paragraph could be used. Alternatively a three core cable, with an
overall screen would be acceptable.
COPYRIGHT
It must not be disclosed outside ALSTOM Controls Ltd without written permission from
the Design Authority.