Technical Description/Installation Manual Synchro/Stepper - NMEA Converter S2N U/N 9028C
Technical Description/Installation Manual Synchro/Stepper - NMEA Converter S2N U/N 9028C
Technical Description/Installation Manual Synchro/Stepper - NMEA Converter S2N U/N 9028C
Safety precaution!
Although the unit is powered from nominal
24 V DC, the voltages for some gyro synchro
and/or stepper formats may be higher than
48 V and care must be taken since these
voltages may be dangerous.
Note! This Technical Description is used also for bare board versions 9027C and 9033C without
displays as well as for earlier SW versions, certain sections below are not applicable for this.
1 Brief Description
The serial point-to-point communication method described in NMEA 0183 and its international
companion standards IEC 61162-1 and -2 will be in use for long times to come.
A consequence of that is that there is a strong need for efficient ways to transfer data from other electrical
interfaces, such as the widely used synchro transformer format to complex systems, like integrated bridge
systems, VDR and AIS.
The Synchro – NMEA converter unit described here is intended to fulfil this requirement by using
efficient circuitry to solve the required task only.
The default setting converts from standard 1/3° (180:1) stepper to $HEHDT transmitted at 1 Hz. Please see
page 8 for other pre-set formats.
Conversion from more unusual formats with different geared ratios can be done using the NMEA input
for set-up/calibration and alignment.
2 Block diagram
R1
Input signal A/D, CPU, Isolation RS485 driver
R2 conditioning Flash, RAM,
UART
S1
LED display
S2 Pushbuttons
S3
Isolated power 18-36 V DC
NMEA input supply input
(opto coupled)
The power supply for the internal circuitry is isolated from the ship’s power supply input, and the NMEA
input for set-up/alignment (where needed) is opto-isolated.
The main NMEA output, based on a RS485 driver circuit, is fully compliant with the IEC 61162-2
specification and powered from the power intake supply (isolated from the internal supply), which shall
be connected only to fully isolated NMEA/IEC compliant inputs, resulting in full isolation of input and
output signals.
Even in the event of an erroneous grounding of the main NMEA output (for instance to a non-isolated
serial input), there is still no electric connection to the input circuitry and the internal electronics.
3 Technical data
The kit is supplied with an extra rear plate with mounting holes for cable
glands as well as a set of three extra blind glands for non-used holes.
This makes it possible to bring cables out from the rear of the unit.
Units can also be delivered with both flange and trunnion mounting
options. In these cases, the blind glands are mounted on the lower
surface of the box and the cable glands in th rear panel, which however
is mounted inside out to save space during shipping. Please refer to drawing below for bracket mounting
details.
3.3 Inputs
3.3.1 Synchro/Stepper inputs S1-S2-S3, R1-R2
Phase voltages: 90 V nominal. Minimum nominal voltage in 90 V setting 22 V.
Phase load: Appr 47 kΩ symmetrical load to internal AGND, floating. Note! “Open collector”
or similar stepper outputs requires external voltage and load. Internal jumper P13
can be used to connect internal AGND to input terminal R1.
Reference voltage: 10 to 120 V RMS AC
Reference frequency: Settings for 50/60 Hz, 400/500 Hz or 20/1000 Hz
Gear ratio: Synchro 1:1, Synchro/Stepper 1:36, 1:45, 1:90, 1:180 and 1:360 values settable
using serial terminalt, proprietary NMEA set-up control or using internal
key/display.
3.3.2 NMEA 0183/IEC 61162-1 set-up/alignment input
Input circuit: Fully NMEA 0183/IEC 61162-1 compliant, optically isolated.
Connections: Spring-loaded terminal block, accepting up to 2.5 mm² cable ends, marked
“NMEA IN A” and “NMEA IN B”.
Baud rate: 4 800 b/s, 1200 to 57600 settable.
Message format: Proprietary “$PQWE” messages for set-up and alignment, simple menu driven
text terminal mode with JP7 set, see set-up section.
page 4 (20) Doc. No 9102O1..odt
3.5 Performance
3.5.1 Synchro operation
Inaccuracy: Better than 0.1°, jitter 0.02-0.05° using 1:1 synchro input and operating at phase
voltages down to 50% of nominal voltage.
Resulting resolution in 360:1 system down to 0.00003°
Update rate: 1 Hz default, 2, 5, 10, 20, 30, 40 or 50 Hz as required.
3.9 Disclaimer
All data in this specification are preliminary and may change without prior notice.
This unit may, as any other electronic device, malfunction due to internal hardware or software failure or
due to input signal, configuration, set-up or compatibility problems. If the output from the unit is
connected to other systems, these should be operated in such a way that such malfunction can be detected
and corrected, avoiding damage or danger. Qwerty elektronik will not in any case assume any
responsibility for any direct or indirect malfunction for the reasons mentioned, other than replacing units
under explicitly agreed guarantee conditions. Qwerty elektronik will also not take any responsibility for
any damage or injury caused by electric voltages fed from other equipment, such as gyro compasses.
For bare board versions 9027B, 9027C and 9033C, responsibility for EMC requirements compliance has
to be solved by external mounting/installation/shielding.
S1 - S3
S2 - S1
S3 - S2
1 23 45 67 89 111 133 155 177 199 221 243 265 287 309 331 353 Heading, degrees
page 6 (20) Doc. No 9102O1..odt
In the synchro transformer format, the angular value is transmitted using a rotating transformer with three
windings, spaced 120º.
All three windings carries signals derived from the same reference signal and the ratio (and polarity
referred to the reference signal) between them defines unambiguously the angular value of the rotor,
meaning that for a 1:1 gyro where the rotor is connected directly to the gyro sensor the angular value
directly represents the heading shown by the gyro.
Geared systems, where the synchro rotates a certain number of revolutions for a full 360° turn of the ship,
provides higher resolution, but the unambiguity of the 1:1 system is lost, meaning that the interface unit
needs to know the heading initially, much in the same way as it would be possible to keep track of the
time by only observing the minute hand of the clock face if You are only told initially what the hour is.
4.1.2 Stepper
Diagram of stepper output signals
S1
S2
S3
The similarity of the synchro format should be noted, although the three phase signals can only assume
one of two different states, on and off, meaning that each revolution is only subdivided into six sectors,
each 60º.
This means that to be of any use defining the heading from a gyro compass, stepper systems are always
geared, the most common system being the six steps per degree format, where each degree is subdivided
into six sectors.
4.1.3 Identifying signals to connect to interface unit
Technical documentation of the gyro may give useful information.
The best choice for connection to interface is if the gyro has a 1:1 synchro output since this format will
avoid any alignment procedures while still maintaining the full 0.1° resolution.
Note: Connection to 1:1 synchro output requires all five connections to be correct:
• Shifting any two wires S1-S2-S3 changes direction of turning.
• Permutating one step S1-> S2, S2 -> S3 and S3-> S1 changes reading 120°
• Shifting R1 and R2 changes reading 180°. (Note! R2 terminal is adjacent to S1.)
If this is not the case, or if gyro documentation is not available, the signals from the gyro would have to
be used, regardless of the format.
To find out if the signals available are of the synchro or the stepper format, proceed as follows:
Doc. No 9102O1..odt page 7 (20)
If the connections consist of five wires and two of these carries a constant (not affected by the ship
turning) 115 V - 26 V AC voltage at 400 or 50/60 Hz, this means that the signal is of the synchro
type and the signal pair thus localised is the reference signal, which should be connected to the R1-R2
inputs. Don’t be too worried about polarity, wrong connection will only give a 180° error that could be
compensated for later.
Connect the other three signals to S1-S2-S3, again observing that getting the signals wrong would cause
an angular displacement and/or the wrong direction of turning.
If this constant AC voltage pair is not found, the connection is of the stepper type and the task in this
case is to locate the three wires that will carry a turning dependant voltage (see diagram above) referenced
to the fourth one.
Connect these three wires to S1-S2-S3. Other wires are not required. Note that the Phase inputs S1-S2-S3
are floating and that stepper outputs with “open collector” or similar requires load from connected
repeater or resistors to common ground wire. As an alternative, internal AGND (with 47 kohm to each
phase input) can be connected to input terminal R1 using jumper P13.
Keys
“Set” Enters data or enters menu
“Exit” Exits data entry or menu
“Dim/ +” In heading display, Dim+, others increment menu or data
“Dim/ -“ In heading display, Dim-, others decrement menu or data
Set Exit
+
Align + Setup Test + Play
4.2.1 Alignment mode
This mode is used to align the gyro converter output with the sensed heading of the gyro compass when
operating from geared synchro or stepper.
Pressing “Set” displays “A XXX.X” with a blinking “A”. With the “+” and “-“ keys the displayed
heading will increment or decrement. Once values displayed on S2N (or on equipment connected to it),
press “Set” and the unit will directly return to normal operation.
Pressing “Set” displays “P X”, where “X” is the main menu number is listed below. Pressing “Set” again
displays “P X.Y”, where “Y” is the submenu number.
1.8 Application
1.9 Application version
1.10 Application download year
1.11 Application download month & day
1.12 Runtime limit, if active
2 Main mode
2.1 Main mode [synchro | stepper]
2.2 Log level [none | debug | info | disturbance | recoverable]
3 NMEA
3.1 Baudrate [1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600]
3.2 Power on message [off | on]
3.3 ROT message [off | HE | TI | II]
3.4 Heading update rate [1 | 2 | 5 | 10 | 20 | 30 | 40 | 50] times/sec
3.5 Heading sentence [HDT | HDG | THS | XDR]
3.6 Heading talker id [HE | II]
3.7 Transmit checksum [off | on]
Note: 40 Hz output rate only from SW 0.6-0 and later, 50 Hz output rate and THS and XDR
sentences only from SW 0.6-3 and later.
4 Synchro
4.1 Input range [11V | 90V]
4.2 Gear ratio [360x | 180x | 90x | 45x | 36x | 1x]
4.3 Reference frequency [DC | AC/20-1000Hz | 50-60Hz | 400-600Hz]
5 Stepper
5.1 Gear ratio [360x | 180x | 90x | 45x | 36x]
6 Preset
6.1 Preset values [off | default | sync-1 | sync-2 | sync-3 | sync-4 ]
Choosing one of the preset values will affect other settings under sections 2, 3, 4 and 5 above according to
the table below:
Preset value Off Default Synchro-1 Synchro-2 Synchro-3 Synchro-4
2.1 sync/step No change Stepper Synchro Synchro Synchro Synchro
3.1 Baud rate No change 4800 4800 4800 4800 4800
If a certain pre-set is chosen, it is still possible to change any of the settings using the menu system
described above. The last setting made always has priority.
List of common gyro types for the presets above (always consult gyro documentation if possible, qe
cannot guarantee accuracy of data in this list):
Example
Setting unit to Stepper mode with 5 Hz update of HEHDT, ROT conversion to TIROT on:
All set-up data is stored in internal non-volatile EEPROM when leaving set-up menu system and
returning to normal operation and this write operation may take a couple of seconds to complete!
4.2.3 Test mode
This mode is useful for trouble-shooting during installation.
Pressing “Set” will enter submenus, which can be used to check input voltages etc. Description of “Test”
menu/sub-menu system:
Test
Set Exit
+ +
Ref Ad-1 Ad-2 + Ad-3 … etc
“Ref”
Pressing “Set” in this submenu will display the frequency of the synchro reference voltage as connected
to R1-R2 in Hz. “Exit” returns to “Ref” submenu.
“Step”
Pressing “Set” in this submenu will display “X X X”, where the three characters represents the polarity of
the three inputs S1-S2-S3, expressed as “L” or “H”. “Exit” returns to “Step” submenu.
4.2.4 Play mode
This mode is useful for testing installations and performs and executes a pre-programmed sequence of
turns. Note: Dynamic playback only works if the unit is set to Synchro 1:1 mode!
Pressing “Set” will display “no”, and by changing this to a “Yes” using the “+” key and then pressing
“Set”, the playback will commence, displaying “P XXX.X” with a blinking “P”. Exit returns to “Play”
submenu.
Caution: Connecting directly to RS232 port as defined above will make NMEA output C (= internal
GND) connected to ground connection of the used computer. This may cause ground failure
Doc. No 9102O1..odt page 11 (20)
indication of the ship, unless an isolated (notebook) computer is used. Note that some older
computers will not accept a zero voltage as low, making it necessary in some cases to use the NMEA
OUT B rather than C to RS232 GND. For a 25-pole Dsub use pin 3 instead of 2, pin 2 instead of 3
and pin 7 instead of 5.
Note: Polarity designations “A” and “B” are well-defined in NMEA standard, as well as RS232
connections of a PC, but designation of balanced RS422 ports using “+” and “-“ is somewhat
unclear, flavoured by the fact that polarity designations “A” and “B” of commonly used RS485
driver circuits is reversed compared to NMEA usage! Using wrong polarity will cause display of
unreadable characters, try other polarity to resolve!
Terminal settings:
Baud rate: 4 800
Data bits: 8
Stop bits: 1
Start bits: 1
Parity: Off
Flow control: Off/No
To start the set-up mode in S2N, install jumper P7 and power up the unit.
____________________________________
Product: 9027C0 sn:10010 2003-sep-24
Boot: 99001 V0.2-11-1
Application: 99002 V0.6-0 2003-aug-5 size:32680 CRC:57357
Main menu
0. Exit to normal operation and store changes
1. Revert to last saved parameters
2. NMEA
3. Synchro
4. Stepper
5. System info
6. Measurement & calibration
All set-up functions are performed via this simple menu system. For each menu, the desired function or
sub-menu is chosen by entering the line number of that function, while entering a “0” will always exit the
submenu/menu.
A time-out will always exit to normal operation if no input is received within 30 seconds, regardless of
the setting of jumper JP7.
NMEA menu
0. Exit
1. ROT disable
2. Set NMEA update frequency (=1 /s)
3. Set NMEA baudrate (=4800 bps)
4. Set NMEA talker id (='HE')
5. Set NMEA header sentence (='HDT')
6. PQWE0 at reset disable
page 12 (20) Doc. No 9102O1..odt
ROT disable
Entering “1” will toggle computation and insertion of NMEA ROT message between off and on with
“HE”, “HC”, “TI” and “II” sentence formatters.
$PQWE0,9027/B0,10004,99002/0.2-0
Where “9027/B0” is the unit number of S2N, including the revision designator, “10004” is the serial
number and “99002/0.1-2” is the software designator with definition of version status.
Note that all NMEA 0183 versions from 2.30 and IEC 61162-1 require this to be left in its “On” state for
standard compliance.
Synchro menu
0. Exit
1. Change from Synchro to Stepper
2. Set synchro gear ratio
3. Auto set synchro input range
4. Change input range from 11V to 90V
5. Set synchro reference frequency
Doc. No 9102O1..odt page 13 (20)
Entering “2” will give access to a submenu where gear ratios 360, 180, 90, 45, 36 and 1:1 are possible to
set. All ratios except 1:1 will require alignment input to start outputting valid data.
Entering “3” will automatically detect the synchro phase voltages and will set the input range scaling to
the optimum value.
Entering “4” will over-ride this function, which can be useful in situations where it is necessary to
perform set-up without synchro inputs connected.
Entering “1” will put the unit in DC synchro mode, which is most uncommon. This will disable the
reference input and tie this positive internally.
Entering “2” will set the unit to AC synchro mode, but it will not check reference frequency. Frequencies
lower than some 20 Hz will not give stable output angles and usage of frequencies lower than 50 Hz is
not recommended.
Entering “3” will set the unit into 50-60 Hz synchro mode and it will monitor the reference frequency to
be within the range 40 – 70 Hz.
Entering “4” will set the unit into 400-500 Hz synchro mode and it will monitor the reference frequency
to be within the range 300 – 600 Hz.
Stepper menu
0. Exit
1. Change from Synchro to Stepper
2. Set stepper gear ratio
Entering “1” will disable stepper input mode and exit to synchro input mode.
System menu
0. Exit
1. Show memory usage
2. Show version
3. Show e2prom file system
4. Unlock run-time limit. Time left 720:00h
Sub-menus “1”, “2” and “3” are not intended for customer use.
Units for demonstration/evaluation are shipped with a run time limitation set to 720 hours, after which
elapsed time operation will discontinue. By entering a code in this menu, it is possible to permanently
remove this function.
Measurement menu
0. Exit
1. A/D measurement & calibration
2. Show synchro angle
3. Change synchro input range from 11V to 90V
4. Measure synchro reference frequency
5. Show stepper relative angle
These submenus give access to various functions intended for calibration and for advanced trouble-
shooting/debugging and should not be used unless specific documentation describing this is available.
Sub menu 2 displays decoded synchro angle regardless of input signal quality and can be useful during
installation for monitoring heading input.
Sub menu 4 can be used to perform a sanity check on the reference frequency connected to R1-R2
Warning! Do not enter “Calibrate” sub- menu system unless proper instructions and required calibration
equipment are available!
Set/get parameter.
If ParameterValue is empty, get is assumed.
$PQWE2,ParameterGroup,ParameterNo,ParameterValue
gives response:
$PQWE3,ResponceCode,ResponceText,ParameterValue,ParameterText
Response codes
0 Ok
Doc. No 9102O1..odt page 15 (20)
ParameterGroup
3 NMEA
3.1 Baudrate, 0=1200, 1=2400, 2=4800, 3=9600, 4=19200, 5=38400, 6=57600
3.2 Power on message, 0=off, 1=on
3.3 ROT message, 0=off, 1=on
3.4 Heading update rate, 0=1, 1=2, 2=5, 3=10, 4=20, 5=30, 6=40, 7=50 times/sec
3.5 Heading sentence, 0=HDT, 1=HDG, 2=THS, 3=XDR
3.6 Talker id, 0=HE, 1=II
3.7 Transmit checksum, 0=off, 1=on
4 Synchro
4.1 Input range, 0=11V, 1=90V
4.2 Gear ratio, 0=360x, 1=180x, 2=90x, 3=45x, 4=36x, 5=1x
4.3 Reference frequency, 0=DC, 1=AC/20-1000Hz,2=50-60Hz, 3=400-600Hz
5 Stepper
5.1 Gear ratio, 0=360x, 1=180x, 2=90x, 3=45x, 4=36x
Examples:
Host S2N
<--- $HEHDT...
<--- $HEROT...
<--- $HEHDT...
<--- $HEROT...
---> $PQWE1,1
---> $PQWE2,3,1,99
<--- $PQWE3,5,Illegal parameter value,,
---> $PQWE1,
Generally, disconnection of at least one of the input signals will cause this error. Detection will vary due
to at which angle it occurred.
If alignment is lost, the unit will automatically go into alignment mode with a flashing “A” preceding the
displayed heading value.
Note! This alignment input message will be accepted by the unit also without checksum.
Use keys “Dim/ +” and “Dim/ -“ to adjust the displayed heading until it corresponds with the actual
heading as indicated by the ship’s gyro. Press “Set” to enter this value and return to normal operation.
7 NMEA messages used (informative only, defined by IEC 61162-1 or NMEA 0183)
“a” is the status character. “A” = valid data, “V” = unvalid data.
7.3 HDG
HDG is the common heading format from a magnetic compass.
$HEHDG,x.x,x.x,a,x.x,a*hh<CR><LF>
1 2 3 4 5 6 7 8
Fields 4, 5, 6 and 7 are always blank from S2N, typical message will look like:
$HEHDG,x.x,,,,*hh<CR><LF>
7.4 ROT
ROT is the standard format for Rate Of Turn indication.
$HEROT,x.x,a*hh<CR><LF>
9 CE Declaration of conformity
page 20 (20) Doc. No 9102O1..odt