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!


Thanks to your feedback and relevant comments, dCode has developed the best 'Alternate Mark Inversion Code' tool, so feel free to write! Thank you!

Alternate Mark Inversion Code

Sponsored ads

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 online "Alternate Mark Inversion Code" source code. Except explicit open source licence (indicated CC / Creative Commons / free), the "Alternate Mark Inversion Code" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, 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, copy-paste, or API access for "Alternate Mark Inversion Code" are not public, same for offline use on PC, tablet, iPhone or Android ! Remainder : dCode is free to use.

Need Help ?

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

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developed the best 'Alternate Mark Inversion Code' tool, so feel free to write! Thank you!


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