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
Note! This Technical Description is used also for version 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 synchro format (any common voltage, including 115/90 and
26/11.5 V 50-500 Hz) to $HEHDT transmitted each second or from 1/6° stepper.
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
3.1. Mechanical
82
Doc. No 9102L2.doc page 3 (20)
Dimensions: Box (without mounting flanges and cable glands) 140 x 82 x 36 mm, mounting
flanges adds 15 mm on each side and can be mounted for panel mount (shown) or
for bulkhead mount.
Mounting: Front panel mounting in 145 x 82 mm panel opening.
Bulkhead mounting on any flat surface.
For bulkhead mounting in very tight spaces, it is possible to rotate the side flanges
“inwards” to minimise bulkhead footprint.
Mounting holes dia 6 mm (suggested bolt dia 5 mm), spaced 158 x 52 mm (w x
h), centered and aligned with front panel.
Mechanical mounting data for bare board versions 9027C and 9033C are available on request.
3.2. Inputs
Other formats: Special functions, such as angle to speed or conversion form angular value to any
other required serial format can be done on request.
Set-up: As a part of set-up procedure, proprietary “$PQWE” messages are being
transmitted, see set-up section.
3.4. Performance
3.8. 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 alfunction 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.
Doc. No 9102L2.doc page 5 (20)
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
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.
page 6 (20) Doc. No 9102L2.doc
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.
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°.
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:
If the connections consists 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.
Doc. No 9102L2.doc page 7 (20)
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
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.
2 Main mode
2.1 Main mode [synchro | stepper]
2.2 Log level [none | debug | info | disturbance | recoverable]
page 8 (20) Doc. No 9102L2.doc
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 ] times/sec
3.5 Heading sentence [HDT| HDG | THD]
3.6 Heading talker id [HE | II]
3.7 Transmit checksum [off | on]
Note: 40 Hz output rate is only possible with SW ver 0.6-0 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:
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):
Tokimec MK-14, MOD-1, 2, T, NK-EN, NK-E1, SR-130, 140, TG-100/5000, PR-357, 130, 140, ES-17,
GLT-201, 202, TG-8000, SR-120, ES-16, MK-20
Amabrown MK-10, MKL-1, series 1351, MOD-4
Robertson SKR-80
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!
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.
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.
Connection Connection PC
S2N The serial 9-pole male
NMEA IN A Dsub connector shown as
NMEA IN B viewed from the outside,
NMEA OUT A pins pointing towards the
NMEA OUT C viewer!
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
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
Doc. No 9102L2.doc page 11 (20)
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
7. Log level INFO
page 12 (20) Doc. No 9102L2.doc
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
Doc. No 9102L2.doc 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
Doc. No 9102L2.doc page 15 (20)
gives response:
$PQWE3,ResponceCode,ResponceText,ParameterValue,ParameterText
Response codes
0 Ok
1 Not in setup mode
2 Read only parameter
3 Illegal parameter group
4 Illegal parameter number
5 Illegal parameter value
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 times/sec
3.5 Heading sentence, 0=HDT, 1=HDG, 2=THD
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
---> $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.
a) is powered up
b) detects an input signal inconsistency as described above.
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.1. HDT
HDT is the common true heading format for current NMEA and IEC 61162-1 versions.
$HEHDT,x.x,T*hh<CR><LF>
7.2. THD
THD is the proposed new format for heading sensors. It is currently not decided by NMEA standards
committee or IEC TC80 WG6 and message identifier is likely to change, use of this should be avoided!
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>
page 18 (20) Doc. No 9102L2.doc
7.4. ROT
ROT is the standard format for Rate Of Turn indication.
$HEROT,x.x,a*hh<CR><LF>
Make sure that the Windows-compliant software download utility “wqld.exe” as well as the new S2N
software “99002_?_?_?.qld” to be installed are available in s suitable location on this PC.
Power up S2N, it will search for communication from “wqld” during 30 seconds, during which the upper
LED will flash. If the board info fields shown above does not show up within few seconds, perform
another off/on sequence on S2N.
Click “Download” to perform the operation and “Close” to exit the utility.
Do not forget to remove jumper JP6 on S2N to return to normal operation directly on power up.
Doc. No 9102L2.doc page 19 (20)
9. CE Declaration of conformity
page 20 (20) Doc. No 9102L2.doc