background image

 

 

 

10 

 

5  NMEA-0183 inputs 

 

The compass can be configured by sending various proprietary sentences to its NMEA-0183 

input. Once configured, the compass will remember those settings every time it is 
powered up. 

 

Response: 

When any of the following input sentences are received the A5022  will reply with an 

‘acknowledge’ output sentence of the format: 

 

 

$PATC,HCHDG,ACK<CR><LF>

   

 

5.1  Start Auto-Calibration

 

 

 

$PATC,IIHDG,IAC<CR><LF> 

 
Refer to section 4.2.  Same as pressing Switch 1 – see 4.4. 

 

5.2  Abort Auto-Calibration.

 

 

 

$PATC,IIHDG,XCL<CR><LF> 

 Refer to section 1.3. 

 
 
 

 

 

5.3  Resets all compass data to factory default values: 
 

$PATC,IIHDG,0CV<CR><LF>

   

 
Output rate  

u= 100 milliseconds (10 updates/second), 

output damping  

d= 50 percent 

heading offset   

 f= 0 degrees. 

 

5.4  Set heading: 
 

$PATC,IIHDG,AHD,fff.f<CR><LF>

 

 

Forces the heading to a certain value by supplying an offset which is stored and used 

thereafter. 

Where f is in degrees with a valid range of 000.0 to 359.9 
When f = 000.0 the result is the same as pressing switch 2 – see 1.3. 

 

5.5  Set the Output update period: 
 

$PATC,IIHDG,TXP,uuuu<CR><LF>

 

 

 
Valid range is u=100 to 3000 milliseconds. This is limited by max. data rate of NMEA-0183 

output at 4800 baud. 

Summary of Contents for A5022

Page 1: ...A5022 FLUXGATE COMPASS USER MANUAL A5022 manual doc April 2016 ...

Page 2: ...ng reference NORTH heading 4 5 Set up suggestions 5 Configuration 6 References 1 Introduction and description of fluxgate compass 1 1 Description of compass The Astra Yacht NMEA compass unit is a complete component for a compass system indicating RADAR North up input or autopilot It is housed in a water resistant enclosure so it can be mounted outside a steel hull It delivers heading data in two i...

Page 3: ...libration sequences can also be commanded 1 2 Connections 1 2 1 Normal Conductor Colour Type Function 1 Red P Supply 8 30v 2 Yellow O Furuno AD 10 Clock 3 Brown I NMEA IN 4 White I NMEA IN 5 Black P GND 6 Green O NMEA OUT 7 Blue P GND 8 Violet O Furuno AD 10 Data 9 Screen NOTE Conductors 5 and 7 are connected together inside the A5022 1 2 2 Variants with suffix CP Conductor Colour Type Function 1 ...

Page 4: ...sing S2 sets the heading to zero and so can be done when the whole installation is headed North 3 Both together Pressing both together for at least one second causes the auto calibration process to halt and restores the previously saved calibration values 1 4 Indicator light A blue light indicates three states of the A5022 State 1 Uncalibrated long flash State 2 In the process of calibration conti...

Page 5: ...arios here and it remains up to the user to determine the suitability of a possible location for the compass Note that the output from the A5022 takes several seconds to stabilize after a power is applied the time taken depends on the damping settings There is a command see section 5 which can be used to suppress the output after power up 1 6 Mounting The compass is fixed to the chassis of the ves...

Page 6: ...al protocol called RS422 This means that two wires are need for send and two for receive Fig 2 Note that the GND wire is used for the current return path This might be shared with the NMEA wire in some installations 2 2 Compass to a PC serial port In many cases the wires can be joined directly as shown in Fig 2 Alternatively use the Astra Yacht A3036 serial interface unit Fig 3 External NMEA devic...

Page 7: ...from 000 0 to 359 9 degrees Also the Rate of turn data is sent either with or without the heading sentence For a complete list of output formats available see Section 5 3 2 Furuno AD 10 The compass has a separate dedicated output in Furuno AD 10 format This is a proprietary 4 character serial format which gives heading in degrees and tens of minutes The string 0872 represents the heading 87 20 so ...

Page 8: ...e second method is not used in the A5022 Astra Yacht has evaluated the method which uses a mathematical model of an ideal compass and treats errors as arising from distortion due to magnetic objects The ideal error plot of the field vector would be a circle with no offset from the origin Permanent magnets hard have the effect of shifting the centre from the origin and induced magnets soft modify t...

Page 9: ...A5022 should a first be auto calibrated b then be aligned to North 4 5 Set up suggestions When the A5022 is fixed in place and connected it can be calibrated as described above Choose a calm day and a region of water where there are no currents Set the boat turning to left or right at a slow rate and fix the wheel or tiller Then when the turning is steadily under way press the auto calibrate butto...

Page 10: ...t Auto Calibration PATC IIHDG XCL CR LF Refer to section 1 3 5 3 Resets all compass data to factory default values PATC IIHDG 0CV CR LF Output rate u 100 milliseconds 10 updates second output damping d 50 percent heading offset f 0 degrees 5 4 Set heading PATC IIHDG AHD fff f CR LF Forces the heading to a certain value by supplying an offset which is stored and used thereafter Where f is in degree...

Page 11: ... proprietary sentence containing a code k for the status PATC HCHDG CEC k CR LF Where k has the following values k 0 the last auto calibration was successfully completed k 1 Resetting the calibration data to factory default was completed successfully k 2 The autocalibration has been aborted internally due to the rotation being too slow k 3 The autocalibration has been aborted internally due to the...

Page 12: ...egrees this compass heading field will be omitted when auto calibration is in process and b is sentence end structure as follows b 0 direction sentence will NOT include checksum nor unit ID serial number e g HCHDG hhh h CR LF b 1 direction sentence will include a checksum e g HCHDG hhh h cc CR LF cc is the checksum b 2 include the serial number e g HCHDG hhh h ssss CR LF ssss is the unit s serial ...

Page 13: ... LF and where z sign as follows or missing turning to starboard i e heading value is increasing turning to port i e heading value is decreasing and cc checksum xxx x Rate of Turn in degrees per minute 6 References 1 A5022 data sheet 2 NMEA 0183 specification ...

Reviews:

Related manuals for A5022