Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
ENHANCED AUTOMATIC IDENTIFICATION SYSTEM
Document Type and Number:
WIPO Patent Application WO/2015/024062
Kind Code:
A1
Abstract:
The invention relates to method and apparatus for improving the performance of communication systems using Run Length Limited (RLL) messages such as the existing Automatic Identification System (AlS). A binary data sequence is Forward Error Correction (FEC) coded and then the sequence is compensated, for example by bit-erasure, so that either bit-stuffing is not required, or a bit stuffer will not be activated to ensure that the coded sequence meets the RLL requirement. Various embodiments are described to handle different architectures or input points for the FEC encoder and bit erasure module. The bit erasure module may also add dummy bits to ensure a RLL compliant CRC or to selectively add bits to a reserve buffer to compensate for later bit stuffing in a header. Additional RLL training sequences may also be added to assist in, receiver acquisition.

Inventors:
GRANT ALEXANDER JAMES (AU)
LECHNER GOTTFRIED (AU)
POLLOK ANDRE (AU)
MCKILLIAN ROBERT GEORGE (AU)
LAND INGMAR RUDIGER (AU)
HALEY DAVID VICTOR LAWRIE (AU)
LAVENANT MARC PIERRE DENIS (AU)
Application Number:
PCT/AU2014/000832
Publication Date:
February 26, 2015
Filing Date:
August 22, 2014
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
UNIV SOUTH AUSTRALIA (AU)
International Classes:
H03M13/00; G06F11/10
Foreign References:
US20110055665A12011-03-03
US20110013702A12011-01-20
US7234097B12007-06-19
AU2013903219A1
AU2013001501W2013-12-20
AU2012905588A2012-12-20
Other References:
"Technical characteristics for an automatic identification system using time-division multiple access in the VHF maritime mobile band", ITR-R, TECH. REP., April 2010 (2010-04-01)
HU ET AL.: "Improved Runlength Control When Using Low-Density Parity-Check Codes", PROC., IEEE GLOBAL TELECOMMUNICATIONS CONFERENCE, GLOBECOM 2006, 1 November 2006 (2006-11-01), pages 1 - 5, XP055352425, ISBN: 978-1-4244-0356-1, doi:10.1109/GLOCOM.2006.164
See also references of EP 3036835A4
Attorney, Agent or Firm:
MADDERNS (Adelaide, S.A. 5001, AU)
Download PDF:
Claims:
CLAIMS

1. A method for generating a message for transmission in a system that requires the message to be run length limited (RLL) to a run of n first binary states by bit-staffing, wherein bit-stuffing comprises insertion of a second binary state after the ηύι first binary state, the method comprising:

coding at least a data portion of a binary sequence for transmission using a forward error correction (FEC) code to generate a FEC coded portion of the binary sequence;

bit erasing one or more bits in at least the FEC coded portion to compensate for a run of n first binary states in the FEC coded portion of the binary sequence so that the FEC coded portion is RLL wi thout requiring the insertion of additional bits; and

providing the binary sequence to a transmitter for modulation and subsequent transmission, wherein a bit shifting step ma be performed after the bi t erasing step.

2. The method as claimed in claim 1, wherein either no bit stuffing is performed, and a leas the data portion of the binar sequence is rim length limited, or a bit stuffing step is performed on at least the data portion of the binary sequence before the coding step, and bit erasing comprises setting the n+-l fh bit after a run of n first binary states to the second binary state.

3. The method as claimed in claim L wherein bit erasing comprises setting the o* bit in a ran of n first binary states to the second binary state.

4. The method as claimed in claim 3. further comprising the following steps after the hit erasing step but before a bit-stuffing step if a bit stuffing step is performed:

adding a set of. dummy bits to the FEC coded portion;

generating a cyclic redundancy check (CRC) value for the FEC coded portion and appended m dummy bits; and

checking if the CRC value includes a run of n first binary states and if the CRC value includes a run of a first binary states then repeating the adding, generating and checking steps until dummy bits are found such that the CRC value does not include a run of // first binary states wherein each time the adding step is repeated a different set of m dummy bits are added.

5. The method as claimed in claim 3 or 4. wherein the binary sequence further comprises a header portion preceding the data portion, and the bit stuffing step is performed on the header portion and the FEC coded portion, and the method further comprises the following steps prior to the coding step:

determining the maximum -number of bits i that a bit-stuffer could add to the header portion based upon the size of the header portion; checking the header portion and calculating the number of bits j that the bit-stuffing step will add to the header portion; and

inserting k— i— j buffer bits after the header portion.

6. The method as claimed in claim 1 , wherei a bit stuffing step is performed after the bit-erasing step, and the bit-erasi ng step implements selective bit erasing, wherein if the ri-1 δ bit after a run of n first binary states is equal to the first binary state, the ii° bit is set to the second binary state and if the bit after a ran of first binary states is equal to the second binary state, then the n+ 1 * bit is removed from the binary sequence.

7. The method as claimed in any preceding claim, wherein the coding step further comprises generating a cyclic redundancy check (CRC) data value from the data portion and coding the data portio and the CRC data value to generate the FEC coded portion.

8. The method as claimed in any preceding claim, further comprising the step of:

adding a trellis termination sequence prio to an end flag, wherein the trellis termination sequence is a sequence that places a joint NRZI GMSK trellis in the transmitter in a defined state prior to the start of the end flag to enable use of the end flag as a further train ing sequence, and where the trellis termination sequence is run length limited,

9. The method as claimed in claim 8, wherein the joi t RZI/GMSK trellis in the transmitter has a memory of p bits and the trellis termination sequence is a p bit sequence, and the last p bits prior to the end flag are reserved for the trellis termination sequence.

10. The method as claimed in any one of claims 1 to 7, further comprising the step of;

inserting a training sequence into the dat portion or FEC coded portion

wherein the training sequence is not FEC encoded and is located between a first FEC encoded portion and a second FEC encoded portion.

1 1 . The method as claimed in claim 10, further comprising inserting a trelli termination sequence prior to the inserted training sequence, wherein the trellis termination sequence is a sequence that places a joint NRZI/G SK trellis in the transmitter in a defined state prior to the start of the training sequence, and where the trellis termination sequence is run length limited.

12. The method as claimed in claim 10, wherein the joint NRZI GMSK trellis in the transmitter has a memory of p bits and the trelli termination sequence is a p bit sequence and the last p bits of the FEC coded sequence before an inserted training sequence are reserved for the p bit trellis termination

sequence.

13. The method as claimed in any preceding claim, wherein the transmitter transmits the binary sequence as a series of messages in a plurality of slots ,

14. The method as claimed an preceding claim, wherein the binary sequence is an Automatic Identification System (AiS) compliant message for transmission in a AIS system where »=5.

15. The method as claimed in claim 5, wherein the binary sequence is an Automatic identification System ( AIS) compliant message for transmission in a AIS system where and the A S compliant message has an AIS message type of 6, 8, 25 or 26.

1 . A method for generating a message tor transmission in an Automatic Identification System (AIS) compliant system, the method comprising the step of:

adding a trellis, termination sequence prior to an end flag in an AIS message, wherein the trellis termination sequence is a sequence that places a joint NRZl/GMSK trellis in the transmitter in a defined state prior to the start of the end flag to enable use of the end flag as a further training sequence, and where the trellis termination sequence is run-length limited.

17. The method as claimed in claim 16, wherein the joint NRZl/GMSK trellis in the transmitter has a memory of p bits and the trellis termination Sequence is a p bit sequence, and the last p bits prior to the end flag are reserved for the trellis termination sequence.

18. A method for generating a message for transmission in an Automatic Identification System ( Ai S) compliant system, the method comprising the step of:

inserting a training sequence into the data portion of an AIS message,

19. The method as claimed in claim 18, further comprising inserting a trellis termination sequence prior to the inserted training sequence, wherein the trellis termination sequence is a sequence that places a joint NRZl/GM SK trelli s in the transmitter hi a defined state prior to the start of the training sequence.

20. The method as claimed in claim 1.9, wherein the joint NRZl/GMSK trellis in the transmitter has a memory of p bits and the trellis termination sequence is a p bit sequence and the last pbits of the FEC coded sequence before an inserted training sequence are reserved for the p bit trellis termination sequence.

21. An Automatic Identification System (AIS) compliant transmitter, the transmitter configured to implement any one of method claims 1 to 20,

22. A method for receiving an Automatic Identification System (AIS) compliant message incorporating forward error correction (FEC) coding, the method comprising:

receiving a message incorporating a coded portion encoded using a FEC coded; and

iterativeiy .demodulating and decoding the received message by iterating between a soft demodulator and a soft decoder via an in termediate interleave de-ititerieaver module until a termination criteria is fulfilled, or if CRC data value is present in the coded portion of the message, then if the decoded sequence passes a CRC check using the decoded CRC data value.

23. The method as claimed in claim 22, wherein the soft demodulator performs GMSK demodulation and NRZt decoding on a joint trellis.

24. The method as claimed in claim 22, wherein the soft decoder performs Run Length Limited (RLL) decoding using a RLL decoder module followed by FEC decoding using a FEC decoder module wherein the RLL decoding is performed using a trellis representation of a RLL encoder.

2.5. The method as claimed in claim 24, wherein the RLL decoding is performed using the BO R, logMAP or SOV A algorithm,

26. The method as claimed in claim 24 or 25, wherein the soft decoder iterates between the RLL decoder module and the FEC decoder module.

27. The method as claimed in claim 26, wherein iterating between the RLL decoder module and the FEC decoder module comprises providing a demodulated sequence and a-priori information to the RLL decoder, and RLL decoder generates a RLL output, wherein the a-priori information provided to the RLL decoder is removed from the RLL output, and is interleaved before being passed to the FEC decoder as a- priori information, and the FEC decoder generates a FEC output, wherein the apriori information provided to the EEC decoder is removed from the EEC output, and is de-interleaved before being passed to the RLL decoder as a-priori information, and wherein iteration is terminated after a stopping criterion is met, and the FE decoder then provides the final FEC output to the next recei ver stage,

28. The method as claimed in claim 26 wherein the NRZ1 module and GMSK modulator module are started in a well defined state when a ramp-up portion of a message is transm itted, and a pluraf ity of input bits are provided to the NRZl module during ramp-up so as to define the state of the joint NRZl 'GMSK trellis at the start of a start flag, and the receiver uses the start flag as an additional training sequence.

29. The method as claimed in claim 26 wherein the joint HRZ1 GMSK trellis has a memory of p bits, and the last p bits of the codeword in the received message are reserved for p dumm hits to define the state of the joint NRZI/GMSK trellis before the start of an end flag, and the receiver uses the end flag as an addi tional training sequence.

30. The method as claimed in claim 26 wherein the joint NRZI/GMSK trellis has a memory of p bits, and the transmitted message includes an additional training sequence within the message, and the last p bits of the codeword in the received message prior to the additional training sequence arc reserved for p dummy bits to define the state of the joint NRZI/GMSK trellis before the start of the additional training sequence.

31. The method as claimed in claim 26 wherein the message includes a non coded training sequence after a coded portion of the message to assist in acquisition of the signal, and the receiver performs acquisition by considering each possible waveform for the training sequence resulting from each of the possible starting trellis states, and selects the most likely waveform for further demodulation.

32. A method for receiving an Automatic Identification System (AIS) compliant message wherei the receiver comprises a soft demodulator that performs GMSK demodulation and N RZI decoding on a joint trellis, the method comprising:

placing the NRZI module and GMSK modulator module in a well defined state prior to an additional training sequence, and wherein one or more of the start flag, end flag, or an training sequence within the data portion of a received message arc used as additional training sequences to assisting in acquisition of the received message.

33. An Automatic Identification System (AIS) compliant receiver for receiving an Automatic

Identification System (AIS) compliant message, the receiver configured to implement any one of method claims 22 to 32.

34. A module for integration with an Automatic Identification System (AIS) compliant transmitter, wherein the module is configured to implement the method of any one of claims 1 to 20.

35. A module for integration with an Automatic Identification System (AIS) compliant receiver, wherein the module is configured to implement the method of any one of claims 22 to 32.

36. An AIS compliant communication system including:

a transmitter configured according to claim 2.1; and

a receiver configured according to claim 33.

Description:
ENHANCED AUTOMATIC IDENTIFICATION SYSTEM

PRIORITY DOCUMENTS

I ' QOOrj The present application, claims priority from Australian Provisional Patent Application Mo 201390321.9 titled "Enhanced Automatic Identification System" and filed on 23 August .2013, the content of which is hereb incorporated by referenc in its entirety.

INCORPORATION BY REFERENCE

[00021 The following publication is. referred to in the present application and its contents are. hereby incorporated by reference in its entirety:

Recommendation ITU-R M.1371-4. "Technical characteristics for an automatic identification system using time-division multiple access in the VHF maritime mobile band," ITR-R, Tech. Rep., Apr. 2010.

The following co-pending patent application is referred in the present application and its contents are hereby incorporated fay reference in its entirety:

PCT/AU2013/001501 titled "Digital Communication System" and filed on 20 December 2013 claiming priority from Australian Provisional Patent Application Number 2012905588 titled "Digital Communication System" and filed on. 20 December 2012.

TECH ICAL FIELD

[0003] The present invention relates to telecommunications systems. In a particular form, the present invention relates to the international Maritime Organization (IMO) specified Automatic Identification System (AIS) which is a marine telecommunications system for the tracking and collision avoidance of ships and the like.

BACKGROUND

[0004] The AiS is an IMO mandated system for automatically tracking ships by other ships, base stations or satellites for maritime navigation, safety and security. Vessel-mounted AiS transmitters send out AIS messages, including location information, etc.. in regular time intervals. AIS receivers on ships, base stations or satellite try to correctly detect these messages. The AIS is designed for non-coherent detection. This allows for simple receiver structures at the cost of high signal-to-noise ratios (SNR) and high retransmission rates for reliable communication. [0005] The technical characteristics of the AIS system are set out in Recommendation ITU-R M. I37I -4. "Technical characteristics for an automatic identification system using time-division multiple access in. the VHF maritime mobile band." ITR-R, Tech. Rep., Apr. 2010 (hereinafter "the AIS specification") which is hereb incorporated by reference in its entirety.

[0006] Referring now to Figure 1 there is shown a block diagram of a compliant AIS transmitter .! 00 that is used t transmit an AIS compliant message having a general field structure 10 shown in Figure 2. The AIS specification defines a range of AIS message types that are binary sequences typically comprising one or more header fields in a message header portion followed by a data portion. The transmitter is provided .1 1 with a AIS message as a binary data sequence for insertion in. data payload field 20. The data payload field can have a variable length, up to 168 bits. Longer messages can be split over several transmission slots. A cyclic redundancy check (CRC) block 120 calculates a 16 bit CRC value from the data portion in the AiS message 1 10 and the CRC value is appended to the AIS message in a 16 bit Frame Check Sequence (FCS) field 29. The .PCS field will also be referred to as the CRC field (labelled FCS (CRC) in Figure 2).

[0007] The AIS specification defines that the AIS message, and CRC are to be run length limited (RLL) to a maximum run of five consecutive "1" binary states by bit-stuffing. A bit stuffing module 130 scans the AIS message and CRC value and inserts 0 binary state after five consecutive 1 binary states. The bit stuffed data payload field 20 and CRC field 30 are then wrapped in 8 bit start field 1 and an 8 bit end field IS, each field containing an identical 8 bit flag sequence (O i l 111 10), The flag sequence is not subject to bit stuffing even though it contains a run of six 1 's. A training sequence field 14 comprising a 24 bit sequence of alternating 0's and l's is prepended before the start flag for receiver synchronisation. A start buffer 12 is prepended before the training sequence field 14, including an 8 bit ramp-up field. An end buffer 30 is appended after the end flag field 18. The end buffer is normally 24 bits long and comprises a 4 bit bit-stuffing field 32, a 12 bit distance delay field 34, a 2 bit repeater delay field 36 and a 6 bit synchronisation jitter field 38. Note that the start buffer and end buffer are not subject to bit-stuffing.

[0008] A packet 10 is thus formed from an AIS message b adding a CRC, bit-stuffing, start and end flags, a training sequence, and start and end buffers. The packet 1 has a nominal length of 256 bits. Forming the packet can be performed by a framing block 140 which may also select the slot or slots the packet is to be transmitted in. The packet may be sent in a single slot or spread over several slots. The AIS specification defines that a transmitter (or transmitting station) may occupy a maximum of five consecutive slots for one continuous transmission, in which case only a single application of the overhead (tamp up, training sequence, flags, FCS, buffer) is required for a long transmission packet. Taking into account the 1 bit FCS ' field, the lengths of the dat fields in the packet are 172, 428, 684, 904 and 1 1 6 bits, respectively. j 0009 ] After framing, the packet is passed to a Non Return Zero inverted (NRZl) Encoder module 150 in which a 0 at the input changes the level at the output and a 1 leaves the output unchanged. Finally this se uence is fed to a Gaussian Minimum Shift Keying (GMSK) modulator 3.60 with a (maximum) parameter BT - 0.4. Note that the state of the NRZl encoder and of the GMSK modulator at th beginning of the packet are not specified in the A I S specification.

[0010] While the A!S system is generally effective, common sources for misdetection of an AIS si gnal are (a) transmission errors due to noise or other channel disturbances, and (b) interference by other AIS devices that are simultaneously transmitting.

[0011 j One approac that could potentially be used to improve the AIS system would be the adoption of forward error cotiectiijg (FEC) coding principles (the AIS specification states that FEC is not used), in forward error correction (FEC) coding, redundant data is transmitted in addition to the actual data. This redundancy is exploited by the receiver to correct transmission errors. The advantages where this approach is effective are dramatically reduced error rates. The combination of FEC coding and modulation is referred to as coded modulation. FEC coding provides low error rates, while modulation provides high throughput in the case of higher-order modulation. and/or. bandwidth efficiency in the case of modulation with memory. Examples of coded modulation include trellis-coded modulation, multilevel-coded modulation, bit-interleaved coded modulation, and state-of-the-art schemes like LDPC-coded modulation and IRA-coded modulation.

[0012 J However, simply FEC encoding the data in the AIS message given to the transmitter fie entry point 4 in Figure 1) and providing additional training sequences is not possible due to the following reasons. First, and most importantly, the bit-stuffing step would add bits to the codeword and thus make soft FEC decoding prohibitively complex, if not infeastble. In addition the CRC would be transmitted un- eoded whilst the data would be FEC coded, and thus the CRC could not be used to detect errors. Further, the NRZl would need to be soft-decoded for high-performance iterative decoding and the NRZI/GMSK state would need to be well-defined at the beginning of any training sequence to be used for acquisition. In. addition, it is desirable that the transmitter structure be designed such that existing AIS hardware and software can be reused, and such that the resulting waveform is AIS standard compliant.

[0013 ] There is thus a need to provide methods and apparatus improving the effectiveness of the AIS system, or at least provider users with, a useful alternative.

SUMMARY

[0014] According to a first aspect, there is provided a method for generating a message for transmission in a system that requires the message to be rim length limited (RLL) to a run of n first binary states b bit- stuffing;, wherein bit-stuffing comprises insertion of a second binary state after the h first binary- state, the method comprising:

coding at least a data portion of a binary sequence for transmission, using a forward error correction (EEC) code to generate a FEC coded portion of the binary sequence;

bit erasing one or more bits in at least the FEC coded portion to compensate for a run of n first binary states in the FEC coded porti on of the binary sequence- so that the FEC coded portion is RLL without requiring the insertion of additional bits; and

providing the binary sequence to a transmitter for modulation and subsequent transmission, wherein a bit stuffing step may be performed after the bit erasing step.

100151 in one form, either no bit stuffing is performed, and at least the data portion of the binar sequence is run length limited, or a bit stuffing step is performed on at least the data portion of the binary sequence before the coding step, and bit erasing comprises setting the n+ i lk bit after a ran of n first binary states to the second binary state. n one form, bit erasing comprises setting the bit in a run of a first binary states to the second binary state. In one form, the following steps after the bit erasing step (but before a bit-stuffing step if a bit stuffing step is performed) are performed: adding a set of w -dummy bits to the FEC coded portion; generating a c clic redundancy check (CRC) value for the FEC coded portion and appended m dummy bits; and checking if the C RC value includes a ran of a first binary states and if the CRC value includes a run of /? first binary states then repeating the adding, generating and checking steps wherein each time the adding step is repeated a different set of w dummy bits are added. In one form if the binary sequence further comprises a header portion preceding the data portion, and the bit stuffing step is performed on the header portion and the FEC coded portion, and the method further comprises the following steps prior to the coding step: determining the maximum number of bits i that a bit-staffer could add to the header portion based upon the size of the header portion; checking the header portion and calculating the number of bits j that the bit-stuffin step ' will add to the header portion; and inserting k— ί— j buffer bits after the header portion. In one form where a bit stuffing step is performed after the bit-erasing step, and the bit-erasing step implements selective bit erasing, then if the ii÷ l lh bit after a ran of n first binary states is equal to the first binary state, then the o th bit is set to the second binary state, and if the a !" bi t after a run of n first binary states is equal to the second binary state, then the iT+l* bit is removed from the binary sequence, in one form, the coding step further comprises generating a cyclic redundancy check (CRC) data value fr om the data portion and coding the data portion and the CRC data value to generate the FEC coded portion. j 0 16] In one form, the method further comprises adding a trellis termination sequence prior to an end flag, wherein the trellis termination sequence is a sequence that places a joint NRZi/GMS trellis in the transmitter in defined state prior to the start of the end flag to enable use of the end flag as a further training sequence and where the trellis termination sequence is run-length limited. In a further form, the joint NRZl/GMSK trellis in the transmitter has memory of p bits and the trellis termination sequence is a p bit sequence, and the last jo its prior to the end. flag are reserved for the trellis termination sequence. In one form, the method further comprises inserting a training sequence into the data portion or FEC coded portion, wherein the training sequence is not FEC encoded and is located between a first FEC encoded portion and a second FEC encoded portion. In a further form, the method further comprises inserting a trellis termination sequence prior to the inserted training sequence, wherein the trellis termination sequence is a sequence that places a joint NRZl/GMSK trellis in the transmitter in a defined state prior to the start of the training, sequence and where the. trellis termination sequence is run-length limi ted. In a further form the joint NRZl/GMSK trellis in the transmitter has a memory of p bits and the trellis termination sequence is a p bit sequence and the last p bits of the FEC coded sequence before an inserted training sequence are reserved for the p bit trellis termination sequence. In one form, the transmitter transmits the binary sequence as a series of messages in a plurality of slots, in one form, the binary sequence is an Automatic identification System (AIS) compliant message for transmission in a AIS system where IF=5. In one form the binary sequence is an Automatic Identification System (AIS) compliant message for transmission in a AIS system where rr=5 and the AIS compliant message has an AIS message type of 6, 8, 25 or 26. The above forms relating to adding trellis termination sequences and/or training sequences may also be performed instead of FEC coding and bit erasure. j 0017| According to a second aspect, there is provided a method for receiving an Automatic

Identification System (AIS) compliant message incorporating forward error correction (FEC) coding, the method comprising:

receiving a message incorporating a coded portion encoded using a FE coded; and

iterativeiy demodulating and decoding the received message by iterating between, a soft demodulator and a soft decoder via an intermediate inter eave/de-interieaver module until a termination criteria is fulfilled, or if a C C data value is present in the coded portion of the message, then if the decoded sequence passes a CRC check using the decoded CRC data value.

( . 0018] In one form, the soft demodulator performs GMSK demodulation and RZI decoding on a joint trellis, in one form the soft decoder performs Run Length Limited (RLL) decoding using a RLL decoder module followed by FEC decoding using a FEC decoder module wherein the RLL decoding is performed using a trellis representation of a RLL encoder. I one form the RLL decoding is performed using the BCJR algorithm. In one form, the soft decoder iterates between the RLL decoder module and the FEC decoder module. In one form, iterating between the RLL decoder module and the FEC decoder module comprises providing a demodulated sequence and a-priori information to the RLL decoder, and RLL decoder generates a RLL output, wherein, the a-priori information provided to the RLL decoder is removed from the RLL output, and is interleaved before being passed to the FEC decoder as a-priori information, and the FEC decoder generates a FEC output, wherein the apriori information provided to the FEC decoder is removed from the FEC output, and is de-interleaved before being passed to the ELL decoder as a-priori information, and wherein iteration is terminated after a stopping criterion is met, and the FEC decoder then provides the final FEC output to the next receiver stage. In one form, the NRZl module and OMSK modulator module are started in a well defined state when a ramp-up portion of a message is transmitted, and a plurality of input bits are provided to the NRZl module during ramp-up so as to define the state of the j oint NRZI/GMSK. trellis at the start of a s tart flag, and the receiver uses the start flag as an additional training sequence. In one form, the joint NRZl/GMSK. trell s has a memor ofp bits, and the last p bits of the codeword in the received message are -reserved for p dummy bits to define the state of the joint NRZI/GMSK trellis before the start of an end flag, and the receiver uses the end flag as an additional training sequence, h one form, the joint NRZI/GMSK trelli has a mcmoryof p bits, and the transmitted message includes a additional training sequence within the message, and the last p bits of the codeword in the received message prior to the additional training sequence are reserved for p dummy bits to define the state of the joint NRZl/GMSK trell is before the start of the additional training sequence. In one form, the message includes a non coded training sequence after a coded portion of the message to assist in acquisition of the signal, and the receiver performs acquisition by considering each possible waveform, for the training sequence resulting from each of the possible starting trellis states, and selects the most likely waveform for further demodulation. In one. form, the NRZl module and GMSK modulator module are placed in a well defined state prior to an additional training sequence, and wherein one or more of the start flag, end flag, or an training sequence within the data portion of a received message are used as additional training sequence to assisting in acquisition of the received message.

[0019] Corresponding transmitters and receivers that implement the above methods may also be provided, as well as modules for integration with AIS compliant transmitters and receiver ma also be provided. An AIS compliant system that uses these transmitters and receivers, or AIS transmitters and receivers including the integrated modules may also be provided.

BRIEF DESCRIPTION OF DRAWINGS

[0020] Embodiments of the present invention will be discussed with reference to the accompanying drawings wherein:

[0021] Figure 1 is a block diagram of an AIS compliant transmitter;

| . (K)22| Figure 2 is a schematic diagram of the general field structure of standard AIS packet for transmission in a single slot;

{0023] Figure 3 is a. block diagram of a transmitter for FEC coded GMS modulation according an embodiment; j 0024 ] Figure 4 is a block diagram of an iterative receiver for FEC coded OMSK modulated

transmission according an embodiment;

[0025] Figure 5 A is a block diagram of a FEC encoder structure in a transmitter according an

embodiment;

[0026] Figure 5B is a schematic diagram of a first bit erasure scheme according an embodiment;

1002? j Figure 5C is a schematic diagram of a second bit erasure scheme according an embodiment;

[ 00281 Figure 5D is a. schematic diagram of a third bit erasure scheme according an embodiment;

[0029] Figure 5E is a block diagram of a FEC encoder archi tecture in a transmitter according an embodiment;

}0030] Figure 6A is a schematic diagram of the field structure of a AIS compliant message comprising a header portion, a buffer portio and data portion according to an embodiment; f 00311 Figure 6B is a flow chart of a bit erasure method for compensating for bit stuffing for use with the field structure shown in Figure 6A according to an embodiment;

[0032 ] Figure 7 is a block diagram for a run length limiting encoder where m=4 according to an embodiment;

[0033 ] Figure 8 is a trellis diagram of a run-length limiting encoder according to an embodiment;

[0034] Figure 9 is a block diagram of an itera ti ve decoder in a receiver according to an embodiment;

[0035 [ Figure 10 is a plot of the packet error rate of standard AIS compared to FEC -coded AIS according to an embodiment;

[0036] Figure 1 1 is a schematic diagram of the general field structure of a multi-slot AIS compliant packet including additional training sequences according to an embodiment;

1 0371 Figure 1 is a plot of the time estimation for advanced acquisition for standard AIS and FEC- coded AIS using addi tional training sequences according to an embodiment;

[0038] Figure .13 is a plot of the frequency time estimation for advanced acquisition for standard AiS and FEC-coded AIS using additional training sequences according to an embodiment; [0039] Figure 14 is a flow chart of a method for generating a message for transmission in an AIS system according to an embodiment; and

[0040] Figure 15 is a block diagram of a computing device according to an embodiment,

[0041] in the following description, like reference characters designate like or corresponding parts throughout the fi .gores.

DESCRIPTION OF EMBODIMENTS

[0042] Embodiments of methods, and. apparatus, to efficiently improve the performance of the existing AIS system by adding forward error correction (FEC) coding and advanced acquisition whilst ensuring that the transmit waveform stays within the requirements imposed by the AIS specification will now be described. Adding FEC coding to the AIS waveform can greatly enhance the performance of AIS by allowing for (a) error correction and (b) iterative multi-user decoding. A range of FEC codes may be impkmenied including traditional teclmiques like convolutional codes and algebraic block codes, as well as modern codes like turbo codes, low-density parity-check (LDPC) codes and irregular repeat- accumulate (IRA) codes Codes, of the latter classes represent the state-of-the-art and can approach the fundamental l imits of communication.

[0043] The AIS standard defines various message types, AIS Message type ' 6, 8, 25 and 26 allow for transmission of binar data and these message types may be used to carry FEC-coded data with additional trainin sequences for improved decoding and acquisition. Alternatively, a new message type may he defined. As discussed above, AIS messages ma extend over one to five consecutive slots. Longer packets are particularly attractive for the enhanced AIS system, as the performance of FEC codes increases with the code length.

[0044] We are interested in extending the AIS system within the current standard. To do so, we use the AIS message types 6, 8, 25 and 26, which may carry any binary data, or a new message type, which is more efficient. To our case, this binary data will contain the FEC encoded data and possibly further trainin sequences for improved decoding and acquisition. The proposed methods may be applied to single-slot messages or long messages (two to five slots). Longer messages are preferable, as the performance of FEC codes increases with the code length. The data to be transmitted may be source- coded,

[0045] To extend the AIS system we propose to modify the transmitters and receivers as described below. The AIS specification uses GMSK, that, is, a modulation scheme with memory and a recursive encoding structure. To enhance it with FEC coding, bit-interleaved coded modulation is an appropriate choice. Referring now to Figures 3 and 4, there are shown functional, breakdowns of a transmitter 300 and a receiver 400 respectively. Figure 3 is a block diagram of a transmitter for FEC coded GMSK modulation according an embodiment, and Figure 4 is a block diagram of an i terative receiver for FEC coded GMSK modulated transmission according an. embodiment. As shown in Figure 3, in transmitter 300 the data bits are encoded ' by the FEC encoder 310 into a codeword, interleaved 320 and then ted into the GMSK modulator 330. The receiver 400 as shown in Figure 4, typically operates in an iterative fashion where the channel observations are demodulated into soft estimates of the code bits 410, de- interleaved 420, soft decoded by the FEC decoder 430 with the. results then fed back to the soft demodulator 410. This decoding process is iterated until a codeword is found or an other termination criterion is achieved. The FEC decoder then provides the estimated data bits. Non-iterative processing is also possible. The advantages of EEC coding in connection with GMSK. have been demonstrated in PCT/AU2013/0 1501. Therefore, FEC coding with enhanced acquisition and coherent demodulation, as illustrated below will greatly improve the performance of the AIS.

[0046] Figure 1 is a flow ch rt 1400 of a method for generating me sage for transmission in a system, such as the AIS system, that requires the message to be run length limited (RLL) to a run of /) first binary states by bit-stuffing, wherein bit-stuffing comprises insertion of a second binary state after the « ¾ first ' binary state.

[00471 The method comprises a coding step 1401 that comprises coding at least a data portion of a binary sequence for transmission using a forward error correction (FEC) code to generate a FEC coded portion of the binary sequence. A bit erasing step 1402 is then performed by bit erasing one or more bits in at least the FEC coded portion to compensate for a mil of n first binary states in the EC coded portion of the binary sequence so that the FEC coded portion is RLL without requiring the insertion of additional bits (eg by a bit stuffer). Finally at step 140 , the binary sequence is provided to a transmitter for modulation and subsequent transmission. A bit stuffing step ma be performed, and if performed, k may be performed after the bit erasing step and may be performed on a portion of the binary sequence to ran length limit (RLL) the portion (for example the data portion of the binary sequence). Bit-stuffing is performed by insertion of a second biliary state after a run of a first binary states. For example in AIS the first binary state is a 1 , and the second binary state is a 0 (in other systems this could be reversed) and the binary sequence is run length limited to 5 Ls (n=5) so that a sequence 1 1 1 1 IX becomes 1111 1 OX (ie grows by 1 bit through th e inserti on of a 0 before the X). j 00481 in the above method the bit erasing step 1 02 pre -compensates for any bits inserted by bit- stuffing to ensure that the FEC coded portion is run length limited and that the length of the EEC coded portion in the binary sequence provided to the transmitter has the same length of the FEC coded portion after the coding step. That is the compensation is performed so that either bit stuffing is not required, or if a bit stuffer is present after the bi t-erasing module, the bit stuffer will not be acti vated as a result of FEC coding. Note the bit erasing does not necessarily mean that the bits are removed (or punctured) from the bit stream or sequence (although in certain cases described below the may be). Rather the values are erased or set to 0, independent of their actual value. Thus the bits that are zero effectively stay the same (the 0 is erased to 0), and the bits that ate a 1 are erased (or flipped) to zero. Thus in this context bit erasing can be understood as conditional bit flipping, zeroi ng or resetting.

[0049] The detailed description below describes several ways to add FEC coding and improved acquisition to. the AIS waveform, depending, on the transmitter hardware and/or software used. This allows modification of an existing AIS transmitter for example b accessing an input (or output) point of an standard module m an AIS transmitter and adding a FEC encoder and bit erasure module, and/or a training sequence module. Alternatively a transmitter that is AIS compliant could be developed that incorporates a FEC encoder and bit erasure module . , and/or a training sequence module. Alternatively an existing (standard) AIS transmitter coitfd be used by providing the transmitter with a bit sequence that has been carefully constructed. For example rather than provide a data portion or AIS message for transmission, a FEC encoder and bit erasure module and/or a training sequence module could first process a data portion, of standard AIS message so that the resulting sequence that is provided to the AIS transmitter is either already run length limited to avoid activation of the bit staffer in the AIS transmitter, or modified to precornpensate for any bit stuffing that would be performed by the AIS transmitter. That is, the input sequence is carefull designed or generated so that a bit staffer is conditionally activated so as not to ad versely affect the FEC coding.

[0050] Figure 1 indicates various entry points for adding FEC coding according to the various embodiments of the above method, and will now be described. For Entry Points 1, 2 and 3, we assume that a new AIS message is used, as this gives more flexibility. For Entry Point 4, we assume that the existing message types 6, 8, 25 or 26 are employed. However if desired, the message types 6, 8, 25 and 26 may also be applied for Entry points 1, 2, and 3, using the methods described below regarding entry point 4.

[0051 ] The following explanations assume the default message length with a data portion of 182 bits ( 168 data bits plus 16 CRC bits). For long messages (up to five slots), the lengths of the data has to be extended correspondingl (to 428, 684, 904 and 1 196 bits, respectively). The shaded fields in Figure 2 indicate the portion of the binary sequence that is subject to bit stuffing. As outlined above, bit erasure is performed to compensate for the effects of hit stuffing to allow the inclusion of FE coding whilst still maintaining an AIS compliant packet - that is a binary sequence which is run limited. The choice of the bit erasure to use depends upon the entry point and message structure. f 00521 First Embodiment - entry point 1 - after AIS CRC and bit stuffing but before framing. π

[0053 ] Consider that the A1S transmitter can be accessed before framing (entry- point 1 in Figure 1). In this case, a field of length 1 88 bi ts is available for the channel code, comprising the data field (168 bits), the CRC field (16) bits, and the bit-stuffing field (4 bits). The hit sequence as to be- run-length limited such that there are no more than five consecutive ones, in order to generate an AIS-eompKani waveform.

[0054] Figure 5A is a block diagram of FEC encoder structure in a transmitter according an embodiment. This can be used for entry point 1 in Figure 1.

[0055] We begin at input 50.1 with, binary data sequence b for transmission. For the case of entry point 1, the binary data sequence b has a data portion 20. The binary dat b to be transmitted may be appended by a data CRC value (optional) generated from a CRC check of the data portion in sequence b by CRC2 module 10 forming the sequence b'. We denote this CRC by CRC2, or refer to it as a data CRC value, to distinguish it from the CRC specified in AiS (which we may denote as AIS-CRC in the following), as depicted in Figure 1. The sequence is then encoded into the FEC codeword c by FEC encoder module 520. FEC encoding the data may generate runs oi l's so that die FEC encoded data is not run length limited in which case if transmitted, the message would not be RLL compliant. However simply passing the FE coded data through a bit-stuffer module will add further bits and significantl increase the decoding complexity in the recei ver which is highly undesirable. Thus instead of bit stuffing the FEC coded sequence (the codeword) to ensure it is RLL compliant, the FEC coded . sequence is fed to a bit- eraser module 530 to yield the run-length limited sequence (run-length limited codeword) c'. This procedure ensures that the run-length constraint is fulfilled. Note t¼t as opposed to bit-stuffing,- where the zero is inserted after a run of five l*s, bit erasing does not change the length of the bit sequence and works as follows: the output bit. of the bit-erasing unit is equal to the input bit, unless the previous n input bits (excluding the current input bit) are 1 ; in this case the output bit is set to 0 independent of the value of the input bit. That is, bit erasing comprises setting the ?+-1 Λ bit after a run of n first binary states to the second binary state. Figure 5.B is a schematic diagram 530a of first bit erasure scheme according an. embodiment i which n=5. An input sequence 531 comprises 5 l 's. After the nth 1 the nest bit may be a 1 or.0 followed by some other bit X 532. In each case, the bit eraser sets the value of the next bit (ie /H-lth bit) to 0 and thus generates identical output sequences 533 or 534 regardless of the value of the next bit (ie 1 i 11 ] I X→Λ 1 1 1 10X, and 1 1 1 1 I OX—*-l 1.1 1 10X). This sequence thus has the appearance of being bit stuffed, even though no bit stuffing has occurred and ensures that the coded sequence is RLL and that the length of the codeword sequence is not changed. Once the sequence is bit erased, it is framed, optionally interleaved, NRZf encoded, OMSK modulated and then transmitted. As diseussed below, additional training sequences may also be added (which may also require modification of the end of the codeword as diseussed below). j 0056 ] We now consider the receiver for a transmission using the above bit erasure method. To take f ll advantage of the coded OMSK system, the recei ver iterates between the soft-demodulator and the- soft FEC decoder, for example as described in PCT AU2013/001501. OMSK demodulation and RZ1 decoding are preferably performed in a single soft-demodul tor on the joint trellis (see soft-decoding of the RZI below and PCT AU2013/001501 ). The bit-erasing performed at the transmitter side is ignored, and any errors introduced by the bit-eraser are treated as transmission errors by the FEC decoder. This has to be taken into account in the design of the FEC code. Decoding is terminated if a suitable termination criterion is fulfilled, see PCT/AU2013/001501 , or if in the presence of a data CRC value (CRC2), the decoded sequences passes the CRC check (Note that this is the optional additional CRC "CRC2" and not the CRC as defined by AIS). Further details about bit-erasing module 530 and the corresponding module at the receiver side are discussed below.

10057] Second Embodiment - Entry point 2: before bit-stuffing.

{0058] Consider that the AIS transmitter can be accessed before bit-stuffing (entry point 2 in Figure 1 ), In this case, it is desirable to feed the bit-stuffing unit with a sequence that does not require bit-stuffing, such that the length of the output sequence is fixed and not variable. This reduces the complexity in the receiver - soft-decoding of a btt-stuffer is possible but complex- and with limited benefit as discussed below. A field of length 188 bits is available for the channel code, as in the previous case,

10059] There are two approaches for the bit eraser module 530 in the transmitter:

[0060] Transmitter 1 implementing bit eraser module 530b as illustrated in Figure 5C;

[00 11 The transmitte structure is the same as in the previous case with one difference: after any sequence of four consecutive ones, the bit-eraser sets the following fai t to zero. That is the bit erasing step comprises setting the n* bit in a run of n 1 's to 0. This is illustrated in Figure 5C. After the nth 1 the next bit may be a 1 or 0 followed b some other bit X 532. In each case, the bit eraser sets the value of the nth bit to 0 and generates output sequences 535 or 536 (ie 1 1 1 1 i lX→l 11101X, and 1111 10X→! 1 1 I00X). This ensures the length of the codeword sequence is not changed. This is effecti vely the same operation as the case above (illustrated in Figure 5B) but with n replaced by »-i .

[0062 ] Transmitter 2 implementing bit eraser module 530c as illustrated in Figure 5D:

[0063 ] The transmitter structure is the same as in the previous case. However, the run-length constraint is fulfilled by performing conditional bit erasing. If there are five consecutive ones and the next bit is also a one, replace the fifth one with a zero, i.e. , " erase' it. If there are five consecutive ones and the next bit is a zero, delete this zero, i.e., remove it from the bit stream, as the AIS bit staffer 130 will re-insert this zero later on. That is if the n+I (il bit after a run of n. 1 's is a 1, the n i bit is set to 0 and if the n+l* bit. after a. run of n f 's is equal to 0, then the n+V k bit (the 0) is removed from the binary sequence. Note that this o

approach halves the average number of errors introduced by the bit-eraser as compared to the previous first approach. This is illustrated in Figure 5D. After the nth 1. the next bit may be a 1 or 0 followed by some other bit X 532. In the ease of the next bit being a 1, the nth bit is set to 0 in output sequence 537 (ie 1 1 111 IX→] 1 1 10 IX). In the case of the next bit being a 0 the «+lth bit is removed from the output sequence 538 (as this will be added back in by the bit stuffer), which differs from 537 (1 1 1 i I OX

—l imx). j 00 43 Receiver: The receiver structure is the same as in the previous section,

[0065] The bit-eraser at the transmitter makes sure that the bit-staffer either stays inactive, or any bit- stuffing is pre-compensated for by the bit eraser, so that the length of the generated codeword is unchanged by passage through the bit-stuffer. When limiting the maximum length of runs of ones to 5 (as for entry point .1). the probability for erasing a bit is about 0.0159; when limitin the maximum length of runs of ones to 4 (as for entry point 2), the probability for erasing a bit is about 0.0323, The

corresponding probabilities of introducing a bit error by these procedures arc given by these values divided by two. Thus the present method introduces up to twice as many bit errors as the previous, method (entry point 1 ). This has to be taken into account in the design of the FEC code.

100661 Third Embodiment - Entry point 3: before C C

[0067} Consider that the AIS transmitter can be accessed before the AIS-CRC (entry point 3 in Figure i .). In this case, the dat is FEC encoded but the AIS-CRC is not, and thus the AIS-CRC cannot be used for error detection. As in the previous case, we want to design the input sequence to the bit-stuffer such that the bit-stuffing does not produce any additional bits. In the present case, we can only control the input sequence to the AIS-CRC. Thus we need to reserve m=16 dummy bits to drive the output of the AIS- CRC ( which has length 16 bits) to a value such that the run-length constraint is fulfilled.

Correspondingly, a field of length 156 bits is available for the channel code, comprising the data field (1 bits) and the bit-stuffing field (4 bits), minus the dummy bits to fulfil the run-length constraint after the CRC (m= 1 bits), j 00 81 Transmitter: Figure 5E is a block diagram of a FEC encoder architecture according to this embodiment. In this embodiment the architecture of Figure 5 A is modified with additional modules to perform the adding, CRC generation and checking steps after the bit erasing step but before the bit- stuffing step. Thus as before, the data 6 to be transmitted may be appended by a CRC (optional), is encoded by an FEC code into the codeword c and then fed to the bit-eraser which in this case is the bit eraser module 530b that sets a bit to zero after a run of four ones (although bit eraser module 530c could also be used), yielding, the bit erased sequence c'; this is identical to the previous cases. At the end of this sequence c', dummy bit adder module 540 appends m dummy bits < to generate the sequence a = \c d\. Note that instead of appending, the dummy bits may be added (inserted) at other known (or predetermined) positions in the sequence c'. Next the AIS CRC module 120 is used to generating a AIS CRC value for the FEC coded portion and the appended m dummy hits (ie generation of sequence a is provided at entry point 3 in Figure 1 ), A RLL checking modul 550 then checks (or tests) if the CRC value i ncl udes a run of n 1 's to check if the output sequence is still run le ngth limited. If the CRC value includes a run of n 1 's (ie is not RLL compliant) then an. instruction 552 is sent back to dummy bit adder module 540 to repeat the adding, generating and checking steps. Each time the adding step 540 is repeated a different set of m dummy bits are added (or appended) to generate a different C C value (this may al low adding the same bits but in different locations). That is if the resulting sequence does not fulfil the run-length constraint, i.e., does have runs of ones longer than four, different values for the dummy bits are chosen and the output of the CRC unit is computed again. This procedure is repeated until the run- length constraint is fulfilled. Then, the sequence a is fed into entry point 1. Note that in this way, the bit- stuffer is never activated, as desired. Other methods to determine the values of the dummy bits d are possible, such as exploiting the algebraic properties of the CRC code and computing the dummy bits, or using a look-up table for the dummy bits. Note that with m=\ 6 dummy bits, any desired value of the AIS- CRC can be achieved, and thus the run-length constraint can always be fulfilled, in other embodiments some other method may be used to allow a smaller number of bits to be inserted.

[0069 ] Receiver: The iterative receiver structure is the same as in the previous section. Soft information about the AIS CRC bits is not exchanged between the soft-decoder and the soft NRZJ/GMSK

demodulator, i.e., the AIS CRC bits are not used for the decoding process.

[0070 ] Fourth Embodiment - Entry point 4: Use of existi ng AIS message type. j 0071 J Consider that existing AIS message types 6, 8, 25 or 26 are used (entry point 4 in Figure 1). Note that this is the most genera! scenario and may be applied to any existing AIS transmitter. Figure 6A is a schematic diagram of the field structure of an AIS compliant message (such as type 25 or 26) comprising a header portion 60 , and a data portion 68. in these messages, the actual binary data is prepended by a header portion 60 (or header field). In the ease of AIS message types 25 or 26, the header portion 60 comprises a message ID (6 bits) 61, the repeat indicator (2 bits) 62, the source ID (30 bits) 63, the destination indicator (.1 bit) 64, and the binary data flag (1 bit) 65, giving a header portion ( or field) 60 with an overall size of 40 bits, as shown in Figure 6A, This reduces the number of bits available for channel coding and additional training. In this embodiment, we add a 8 bit buffe field 66, The shaded fields 66 68 for buffer and data (respectively) together are the accessible binary data for FEC encoding. However the entire message 20, including header portion 60 , buffer portion 66 and data portio 68, will be subject to bit stuffing. j 0072 ] The measures to be taken in this case are the: same as in the previous case (Entry Point 3). In addition, special care has to be taken, as the 40 header (or parameter) bits may activate the AIS bit-stuffer. This would lead to a variable length packet and a variable start position of the codeword, both of which are not desirable. The following method guarantees: a fixed length packet and a well-defined start of the codeword.

[0073 1 The method described here is using the example case of binary message types 25and 26 in broadcast mode, which have a header of length 40 bits. The method is easily adapted for use with other binary message types, which may have headers of different length. Given 40 bits, the bit-stuffer may generate a maximum number of 8 additional bits. In order to obtain a well-defined length of the sequence, we use the first 8 bits of the data field as a buffer. Assuming that the transmit parameters are known, the first 40 bits are known, and thus it can be determined how many bits the bit-stuffer will introduce. The same number of bits is then removed from the buffer. The remaining buffer and the data (see Fi gure 6 A) are then used for the data field in the AIS message (25 or 26). As a result, the actual data always starts with bit number 49 (counted from, the first bit of the message ID), and the overall message has a fixed length, as desired.

[0074] Figure 6B is a flow chart of this method (eg for use with AIS messages with a known size header portion Such as in message types 6, H, 25 or 26). The method comprises determining 610 the maximum number of bits / ' that a bit-stuffer could add to the header portion based upon the size of the header portion; checking the header portion and calculating the number of bits J that the bit-stuffing step will add to the header portion; and then inserting k— i ~ f buffer bits after the header portion, j 0075] As an alternate implementation, the channel code may include the 40 header bits. This can be done by using a systematic code, where the systematic part extends at least over the 40 header bi ts.

I " 0076 j The purpose of the bit-eraser module 530 (Figure 5C) is to avoid runs of ones that exceed a given length n. Note that, the operation performed by the bit-eraser is different to the bit-stuffing as defined in the AIS specification: bit-stuffing inserts a zero after a given number of ones whi le bit-erasing forces the bit foilowing a given number of ones to zero (thereby either leaving it unchanged or introducing an error). Hence the output of the bit-eraser will not vary in length.

[ 0077 j This encoding scheme cannot be inverted by itself and has to be used in combination with a FEC to achieve error-ixee reconstruction. However, this scheme can easily be combined with FEC systems and does not introduce any additional overhead to the communications system. Figure ? is a block diagram 700 for a run length limiting encoder according to an embodiment. In this embodiment the run n is limited to 4 1 's A shift register 710 receives each previous output bit in sequence via input 706, and the 4 bits are provided to an AND module 720. The output is complemented 722 and provided to a further AMD module 730 which also receives the input bit 702, The output of the further AND module is theft fed back to the shift regi ster 71.0. If the- shi ft regi ster is filled, with m ones then the output wi ll be forced to zero, otherwise the input passed to the ou tput stays unchanged - Tha t is if a pattern consisting of 4 consecutive 1 's. is detected then the next symbol will be set to 0. This embodiment can be varied to perform limiting to runs of length »by using a shift register of length n (ie n slots), In another embodiment, the shift register is replaced by a counter that counts the number of consecu tive ones and forces the output to zero when it reaches n.

[0078] We now turn our attention to the receive side of the AIS system. As outlined above, and illustrated in Figure 4, a receiver is configured to receive a message incorporating a coded portion encoded using an FEC code. The receiver can be configured to iteratively demodulate and decode the received message by iterating between, a soft demodulator (e soft GMSK demodulator 410) and a soft decoder (eg soft FEC decoder 430) via an intermediate interleave de-interleaver module 420 until a termination criteria is fulfilled, or if a CRC data value is present in the coded portion of the message, then if the decoded sequence passe a CRC check using the decoded CRC data value.

[0079] Soft-decoding of the NRZI. iterative decoding and demodulation requires soft-decoding of the NRZI One approach would be to have a soft GMSK demodulator, a soft NRZI decoder and a soft FEC decoder and iterate across these three units. However the performance will be poor as there is no interieaver between the NRZI encoder and the OMSK modulator. An efficient alternate approach is proposed in PCT AU2.013/001501: the NRZI trellis can.be merged into the GMSK trellis while the complexity of the joint trellis is the same as the one of the GMSK trellis. A soft joint NRZl/GMS ' K demodulator operates then on this joint trellis.

{ ' 0080] Defined states of NRZI/GMSK trellis. The AIS specification defines a training sequence of length 24 bits for acquisition (referred to as the AIS training sequence in the following), which is located at the start of the packet and is intended to be used in connection with non-coherent demodulation. For time-varying channels, low SNR, or multiple-access channels, as is the cas for satellite reception of AIS signals, the resulting performance may not be sufficient. Thus in one embodiment channel estimation (acquisition) and coherent demodulation may be applied by using the start flag and end flags as additional training sequences. Further additional training sequences may also be inserted into the midd le of the packet.

[00 1 1 In the following discussion we assume that a new message type is used, such that the full data field i available. When the existing message types 6, 8, 25 or 26 are employed, the methods as described above for compensating for bit stuffing are required as well to guarantee a fixed packet- length and a well- defined start of the data field. j 0082 ] In addition to the AIS trai nin sequence., , one, or preferably both, of the start flag 16 and the end flag 1 8 are used as further training data for acquisition. Using both provides a total of 40 training bits (24 training hits, 8 bits of start flag, 8 bi ts of end flag) instead of only 24 (standard training sequence 14). Furthe additional training sequences may be included in the data section of the packet which will reduce the number of bits available for the codeword. Any of these sequences can easily be exploited for acquisitio if the state of the ' N RZI/GMSK trellis is known at the beginning of each, sequence, as then the resulting waveform is well-defined. Driving the NRZI/GMSK trellis into a well-defined state is also referred to as trellis termination.

} 083 J The following approaches enable the NRZI/GMSK. trellis to have well-defined states at the beginnitig of known sequences (training, start flag, end flag).

J0084] Start flag. At the beginning of the ramp-up, start the NRZl unit and the GMKS modulator in a well-defined state. Further, during the ramp-up time the input bits to the NRZl are defined (the AIS standard specifies neither the states nor the ramp-up bits). Then the states of the joint NRZI/GMSK trellis at the beginning of the start flag and at the beginning of the training section are well-defined, enabling the soft demodulator to use flic start flag as an additional trainin sequence. j 0085 ) End flag. The joint NRZI/GMSK trellis for the AIS signal has a memory length of 4 bits

(Depending on the implementation of the GMSK modulator, this ma be 3 bits only.) Therefore with four input bits, the NRZI/GMSK finite state machine can be driven i to any desired state. In any of the methods described above, the codeword is shortened by 4 bits , and these four dummy bits are set to values such that, the NRZI/GMSK trellis is in a well-defined state at the beginning of the end-flag (a trellis termination sequence). The shortening of the codeword and replacement with dummy bits (or a treiiis termination sequence) can be performed in the transmitter, for example by the FEC encoder, or a separate module in the transmitter and can be performed before or after bit erasure. However care must be taken to ensure that adding the dummy bits does not generate a prohibited. run. of Ps, and thus the bit prior to the dummy bits may also need to be set to zero to ensure the codeword remains run length limited. The values of the bits may be determined by trial-and-error, by a look-up tabic or by other methods. More generally if the joint NRZI/GMSK trellis has a memory of p bits, then the last p bits of the codeword in the message are replaced by (or reserved for) p dumm bits. The p dummy bits are used to define the states of the joint NRZFGMSK trellis before the start of an end flag, and the soft demodulator uses the end flag as an additional training sequence. In one embodiment the dummy bits are run length limited, in one embodiment the last p+l bi ts of the codeword are replaced with a 0 followed by p dummy bits, to ensure the codeword is run length limited. In one embodiment the trellis temiination sequence is inserted just prior to the training sequence, without ovenvrtting the FEC coded data, and the receiver is informed of the location of the end of the coded sequence (either through implanting a defined message format, or by sending the information in a prior message. j 0086 ] Additional training sequence(s). One or more additional, training sequences may be added in the data part of the packet, which reduces the codeword length accordingly. With the same method as for the end flag, the state of the NRZI/GMSK trellis at the beginning of each of these training sequences is set to well-defined values. More generally, if the joint NRZI/GMSK trellis has a memory of p bits, and the recei ved message includes an addi tional traini ng sequence within the message, then the last ? bits of the codeword in the received message prior to the additional framing sequence are replaced b p dummy bits. The p dummy bits ar used to define the states of the joint NRZI/GMSK trellis before the start of the additional training sequence.

J 0087 J If the NRZI/GMSK trellis is not terminated at the beginning of a sequence to be used for acquisition, this sequence may still be exploited, however at higher complexity. The joint NRZI/GMSK trellis (resulting from the AIS standard) has four states. Correspondingly, a training sequence may result in four different waveforms, each one corresponding to one of the trellis states at the beginning of this sequence. An acquisition method may then be applied to each of these four possibilities and the most likely hypothesis can be picked fo further demodulation.

10088 ] Based on the waveforms corresponding to the training sequences, and start and end flag, an method for channel estimation may be applied. j 0089 ] We now turn our attention to the soft decoding module 430. The run-length limiting encoder shown in. Figure 7 can be represented as a finite state machine where the state is determined by the number of consecutive ones that have been observed. A single trellis stage corresponding to this state machine can be generated,, and Figure 8 is a trellis diagram of the run length limiting encoder for limiting the run of 1 's to n, such as that shown in Figure 7 where EF4.

}0090| Figure 8 shows a group of states 802 representing the start states (0,,/r) 810 811 814 816 and.81 and a group of states 804 representing the end states 820 821 824 826 and 828. The first number on each edge represents the input (830, 831 , 834, 836, and 838). and the second number the output of the encoder (840, 841, 844, 846, an 848). Therefore, the input sequence passes the encoder unchanged unless the encoder is in state n in which case the output will always be zero (edges 838 848).

[00 1 [ Decoder. Figure 9 is a block diagram 900 of an iterative soft decoder in a receiver according to an embodiment. The soft decoder 430 performs Run Length Limited (RLL) decoding using a RLL decoder module 910 followed by FEC decoding using a FEC decoder module 920 wherein the RLL decoding is performed using a trellis representation of a RLL encoder. The preferred implementation of the RLL decoder is to use the BCJR algorithm (L. R. Bahl, J. Cocke, F. Jelinek, and J. Ravi v, "Optimal decoding of linear codes for minimizing symbol error rate," IEEE Trans. Inform. Theory, vol . 20, pp. 284-287, Mar. 1 74.) to decode the trellis discussed above and shown in Figure 8. Since the BCJ algorithm can incorporate a-priori information it is straightforward to combine a soft-in/soft-out channel decoder with the decoder for the run length limited code. Other suitable decoder algorithms include logMAF (log maximum a posteriori), SOVA (soft output viterbi algorithm), and suitable variants.

10092 j The BCJR algorithm processes on the trellis as in the example in Figure 8. From the output of the BCJ.R decoder the a-priori information is removed and the interleaved extrinsic information is passed to the FEC decoder as a-priori information. The FEC decoder exploits the constraint of the forward error correcting code and provides the BCJR decoder with a-priori information in a similar way. That is iteratin between the RLL decoder module 10 and the FEC decoder module 920 comprises providing an input demodulator sequence 902 which may be a demodulated sequence from the soft NRZT/GMSK demodulator, and a-priori information 912 to the RLL decoder, and RLL decoder generates a RLL output 914. The a-priori information provided to the RLL decoder is removed 938 from the RLL output 9 1, and is interleaved 932 with extrinsic information before being passing to the FEC decoder as a-priori information 922. The FEC decoder then generates FEC output which can be passed back to the RLL Decoder as a-posteriori information 924. The a-priori information provided to the FEC decoder 933 is removed from the FEC Output 934, and is de-interleaved 936 with extrinsic information before being passing to the RLL decoder as a-priori information 912.

(0093 J Depending on the FEC that is used (e.g., a low-density parity-check code), the interleave!" 930 may be removed. Finally, after either a predetermined number of iterations between the RLL/BCJR decoder and the FEC decoder or after some other suitable stopping criterion, the EEC decoder passes the final output 904 to the next receiver block, in another embodiment, the receiver does not iterate between the RLL decoder 910 and the FE decoder 920, ie, the RLL decoder is executed once followed by a single execution of the FEC decoder. This implementation has a reduced complexit with only minor loss in performance.

[0094] In another embodiment, the receiver ignores the presence of the bit-eraser, ic, all errors introduced by the bit-eraser are treated as they would have been introduced by the communications channel, in this embodiment the RLL decoder module 910 and the interleaver module 930 shown in Figure 9 may be omitted, and thus this implementation has an even lower complexity with only minor loss in performance.

[0095] We now present two numerical examples to demonstrate the improved performance due to FEC coding and improved acquisition. We first consider the transmission of 168 data bits over an AWGN channel. For standard AIS this corresponds to a single-slot message; we assume optimal coherent demodulation (which for the AWGN channel, is identical to optimal non-coherent demodulation). For the enhanced FEC-coded AIS, we apply the method corresponding to entry point 3 for a two-slot AIS.

message. We consider a rate 1/2 systematic regular repeat accumulate code (the parity part of this codeword, ie, the output of the accumulator, is interleaved for improved decoding performance, as usual) with variable-node degree 3 and check-node degree 3, information word length 168 and codeword length 336. For reduced complexity we assume non-iterative decoding, i.e.. the noisy observation from the channel is soft NRZI GMSK demodulated, soft-decoded over the bit-erasure trellis (see above), and IRA decoded. Note that the uncoded and the coded system transmi t the same number of data bits per packet for a fair comparison. j 009 1 The resulting packet error rates are depicted in Figure 10 which is a plot 1000 of the packet error rate of standard AIS 1010 compared to FEC-eoded AIS 1020 according to an embodiment. To achieve a message error rate (packet error rate) of 10 "2 ,. standard AIS requires an SNR. of about 9 dB, while the proposed FEC-coded AIS system achieves the same performance at an SNR of only 2 dB . This dramatic improvement by 7 dB may be exploited to provide service over longer distances or for improved reception from satellites. This greatly enhanced performance comes at the expense of a reduced transmit rate due to the channel code. Depending on the application requirement, this trade-off may be decided towards the error correction capability or towards the transmit rate.

10097] We now investigate the transmission of EEC enhanced AIS over a typical satellite channel, which, requires estimation of time delay, frequency offset and freq uency rate. For the satellite channe l we assume random uniform frequency offset between +/- 1 kHz (no Doppler rate), and random uniform link distances between 600 and 2000 km,

{ ' 0098] We consider a two-slot AIS message with 428 data bits. The message format is depicted in Figure 11 which in this embodiment the packet i a two slot message for advanced acquisition with two additional training sequences of length L and /, . · in the middle and at the end of the packet. The data section transparent to AIS consists of 428 bits. This section contains two data sections 21 22 (note that the data sections are longer than depicted) of lengths h> } and ? and tw training sections 25 26 (Training 1 and Training 2) of lengths J l} and ?. Note that each training section is prepended by four bits for trellis termination (TT) 23 24. For reduced complexity, the AIS CRC and end flag are not used here, and therefore no dummy bits are required to disable the bit-stuffing for these two parts.

[009 ) We are in terested in studying the resulting quality of the channel estimation in the ease that additional training data is provided. We present simulation results for timing and frequency estimation where the following different sets of training data are used: only AIS training sequence and start flag; AIS training sequence and start flag, and the two additional training sequences: ί αΊ = 256, l tl = 20, /, ? = 4; and AIS training sequence and start flag, and the two additional training sequences: {>i = 256, l a - 20, i a - 12. The results of the timing and frequency estimation are shown in Figures 12 and 13 respectively. Figure 12 is a plot 1200 of the time estimation for ad vanced acquisition for standard AIS and enhanced AIS using additional training sequences. Curve 1210 plots standard AIS, curve 1220 plots enhanced AIS usin an additional 20 bit training and an additional 4 bit training sequence, and curve 1230 plots enhanced AIS using an additional 20 bit training and an additional 12 bit training sequence. Figure 13 is a plot 1300 of the frequency estimation for advanced acquisition for standard AIS and enhanced AIS using additional trainin sequences. Curve 1310 plots, standard AIS, curve 1320 plots enhanced AIS using an additional 20 bit training and an additional 4 bit training sequence, and curve 1330 plots enhanced AIS using an additional 20 bit training and an additional 12 bit training sequence. The additional training sequences clearly help to improve the tuning estimation for S R below 5 dB. Even stronger is the effect on the frequency estimates. Use of the additional training sequences dramatically improves performance compared to the use of only the AIS training sequence.

10 1 1 The proposed system and methods described herein allows for FEC coding and advanced acquisition in AIS systems that can efficiently improve the performance of the AIS system whilst ensuring that the transmit waveform stays within the requirements imposed by the AIS specification. Performing bi t erasure after FEC coding ensures that the codeword is run length limited, so that either a further bit stuffing stage is not required, or if a bit staffer is present, it will not be activated or will be conditionally activated by careful design of its input sequertee. Variou embodiments have been described to handle different architectures or input points for the FEC encoder and bit erasure module. The bit erasure module may also add dummy bits to ensure a R ' LL compliant CR.C or selectively adding bits to a reserve buffer to compensate for later bit stuffing in a header, Additional training sequences may also be added to assist in acquisition. Numerical results showed widely improved error rates and channel estimation compared to standard AIS. These advantages allow for: Lower retransmission rates (due to transmit errors) and thus higher throughput or more users; the possibility of i terative acquisition, demodulation and decoding for improved error-rate performance; and the possibility of multi-user decoding to resolve packet collisions for improved error-rate performance. The last two points are particularly critical for high-performance reception from satellites.

100101 J The methods and apparatus described herein have been described in relation to the AIS system. However, it is to be understood that embodiments of the method and apparatus could be used i other communication systems where messages for transmission are run-length limited by bit-staffing, and where it may be desirable to compensate for bit-stuffing to allow use of FEC coding, or where it may be desirable to add additional training sequences to assist in acquisition.

(00102] The methods described herein ma be a computer implemented using one or more computing devices. The computing device may comprise a processor and a memory, and one or more input or output devices. The memory may comprise instructions to cause the processor to execute method described herein. These instructions may be stored as computer codes, which are loaded and executed. The computing device may be a standard computing device, such as a desktop computer, server or portable computing device such as a laptop computer, or they may be included in. a customised device or system. The computing device may be a unitary computing or programmable device, or a distributed device comprising several components operatively (or ftmctionaily) connected via wired or wireless connections. An embodiment of a computing device 1500 is illustrated in Figure 15 and comprises a central processing unit (CPU) 1501 , a memory 1505, and optionally a display apparatus 1506 and an input device J 507 such as keyboard, mouse, etc. The CPU 1501 comprises an Input/Output Interface 1502, an Arithmetic and Logic Unit (ALU) 1 03 and a Control Unit and Program Counter element 1503 which is in communication with input and output devices (eg input device 1507 and display apparatus 1506) through the Input/Output Interface. The input-Output interface may comprise a network interface and/or communications module for communicating with an equivalent communications module in another device using a predefined -communications protocol (e.g. Bluetooth, Ztgbee, IEEE 8.02.15, IEEE 802.1.1, TCP/IP, UDP, etc). A graphical processing uni (GPU) may also be included. The display apparatus may comprise a flat screen display (eg LCD, LED, plasma, touch screen, etc), a projector, CRT, etc.- The computing device may comprise a single CPU (core) or multiple CPUs (multiple core). The computing device may use a parallel processor, a vector processor, or be a distributed computing device. The memory is operatively coupled to the processor(s) and may comprise RAM and ROM components, and may be provided within or external to the device. The memory may be used to store the operating system and additional software modules that can be loaded and executed by the processor(s).

[0 103] Those of sk ill in the arc would understand that information and signals may be represented using any of a variety of technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips may be referenced throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or panicles, optical fields or particles, or any combination thereof.

[00104] Those, of skill in the art would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein ma be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeabiiity of hardware and .software, various illustrative components, blocks, modules, circuits, and steps have been described above generally hi terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not he interpreted as causing a departure from the scope of the present invention.

[00105] The steps of a method or algorithm described in. connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combi nation of the two. For a hardware implementation, processing ma be Implemented within one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof. Software modules, also known as computer programs, computer codes, or instructions, may contain a number of source code or object code segments or instructions, and may reside in any computer readable medium such as a RAM. memory, flash memory, ROM memory, EPROM memory, registers, hard disk, a removable disk, a CD-ROM, a DVD-ROM or any other form of computer readable medium, in the alternative, the computer readable medium may be integral to the processor. The processor and the computer readable medium may reside in an ASIC or related device. The software codes may be stored in a memory unit and executed by a processor. The memory unit may be implemented within the processor or external to the processor, in which case it can be communicatively coupled to the processor via various means as is known in the art. j 001061 Throughout the specification and the claims that follow, unless, the context requires otherwise, the words "comprise" and "include" and variations such as "comprising" and "including" will be understood to imply the mciusio of a stated integer or group of integers, but not the exclusion of any other integer or group of integers.

[00107] The reference to any prior art in this specification is not, and should not be taken as, an acknowledgement of any form of suggestion that Such prior art forms part of the common general knowledge.

[0 108] It will be appreciated by those skilled in the art that the invention is not restricted in its use to the particular application described.. Neither i the present invention restricted in its preferred embodiment with regard to the partieuiar elements and/or features described or depicted herein. It will be appreciated that the invention is not limited to the embodiment or embodiments disclosed, but is capable of numerous rearrangements, modifications and substitutions without departing from the scope of the invention as set forth and defined by the following claims.