Search for a tool
Alternate Mark Inversion Code

Tool to decode/encode with AMI. The (bipolar) Alternate Mark Inversion is a line coding for binary signal with a 3-level system representing logical ones by an impulsion with alternative positive or negative polarity.

Results

Alternate Mark Inversion Code -

Tag(s) : Telecom

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Alternate Mark Inversion Code' tool for free! Thank you!

Alternate Mark Inversion Code

AMI Line Decoder

 

AMI Line Encoder

 

Answers to Questions (FAQ)

How to encrypt using Alternate Mark Inversion?

The AMI code replaces each logical 1 by a polarity inversion noted with + (plus) and - (minus). Some notations use +1 and -1 (instead of + and -) but the vast majority of the time, the 1 is ignored as, it is implied.

For each logical 0 (zero), nothing to do: 0 is coded, and for each logical 1 (one), a polarity impulsion is coded: alternatively (+ or -), beginning by +.

Example: The binary/logical signal 101 is coded +0-:
1 is coded +
0 remains 0
1 becomes - (polarity changed)

How to decrypt Alternate Mark Inversion line code

AMI code decryption process replaces each + or - by a logical 1, the rest (the zeros) is 0.

Example: +0- is decoded 101

How to recognize an Alternate Mark Inversion coded signal?

The signal is bipolair (positive and negative) and has three levels, that can be coded with 3 distinct characters, generally +, - and 0. Sometimes the 1 is still written after + and -.

There is never two consecutive upper ++ or lower -- levels when coding.

How to begin with a negative polarity?

A signal beginning with a negative polarity starts with a 1 at the beginning of the plain signal and causes a suppression of the first + of the coded signal.

When Alternate Mark Inversion was invented?

In the 60's, after the T1 (T-carrier level 1).

Source code

dCode retains ownership of the "Alternate Mark Inversion Code" source code. Except explicit open source licence (indicated Creative Commons / free), the "Alternate Mark Inversion Code" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Alternate Mark Inversion Code" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Alternate Mark Inversion Code" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

Cite dCode

The copy-paste of the page "Alternate Mark Inversion Code" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Alternate Mark Inversion Code on dCode.fr [online website], retrieved on 2024-12-03, https://www.dcode.fr/alternate-mark-inversion-code

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Alternate Mark Inversion Code' tool for free! Thank you!


https://www.dcode.fr/alternate-mark-inversion-code
© 2024 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
 
Feedback