Decoding Miller Code: Understanding the High and Low Signals

In summary, the black picture in the first post is of modified Miller code, which is important because it shows how to invert the code to regenerate the original input sequence.
  • #1
Peter_Newman
155
11
Hello,
I have some questions about the Miller Code. So I googled something and found some helpful pictures. See, for example, Figure 1:

miller.png


My first question on picture 1 is, why is 0 set to high in the first signal (I marked this with a red question mark)? With the second signal in the first picture the bit sequence starts with 1, this case is clearly defined (case 3, from picture 1).

Note: Under the signal or the bit I have written the corresponding cases (they picture edge).
 
Engineering news on Phys.org
  • #2
Peter_Newman said:
So I googled something and found some helpful pictures. See, for example, Figure 1:
It will certainly be interesting if there is an error in the original diagram.
We need some context for the something diagrams. Can you please post the link.

See also; https://epxx.co/artigos/baseband_miller.html
 
  • #3
I believe the red step up at the start of the Miller bit stream for binary 01100 is incorrect and should have occurred one quarter of a bit earlier as the sequence must be 101100.
 
  • #4
I believe the red step up at the start of the Miller bit stream for binary 01100 is incorrect and should have occurred one quarter of a bit earlier as the sequence must be 101100.

I completely agree with that! If the first sign, that is not mentioned in the picture would have been a 1, everything is fine! But we don't know?!

Here are some links:
https://blog.atlasrfidstore.com/uhf-rfid-tag-communications-protocols-standardshttps://www.electronics-notes.com/a...ation/physical-layer-rf-signal-modulation.php
It will certainly be interesting if there is an error in the original diagram.
We need some context for the something diagrams. Can you please post the link.

See also; https://epxx.co/artigos/baseband_miller.html

I'm not sure if this explanation at this page is right, see what I mean in the picture below:

mil.PNG
I am of the opinion that according to the rules (at least that also in this black picture stand) the transition from 1 to 1 would have to be different ...

However, the question arises here, how to get to the beginning, there is a 0 then set to high ...
 
  • #5
A Miller code signal can start high or low, it is where the transitions occur that is important. If you invert the Miller code signal it regenerates the same input binary sequence.

The diagram in your first post was not standard Miller code but of Modified Miller Code, you cut the title from the image.
 
  • Like
Likes Peter_Newman
  • #6
Ok, but there is still the question how the Miller Code in the black Picture was created, see the blue question mark?
 
  • #7
Peter_Newman said:
Ok, but there is still the question how the Miller Code in the black Picture was created, see the blue question mark?
I see no problem. The Miller code signal switches state in the middle of a one input, and between any two consecutive zeros input.
 
  • #8
Ok, so actually two things confused me:
Firstly, why start with high at the first bit (the zero). But if it does not matter if you start with a 0 with high or low, because the following sequences are important, then that is understandable ...

On the other hand, kich has confused this "middle of the bit". But the middle between the sequence 1 and 1 (in the black picture) is marked red, so actually also understandable.

I think then I have that, but once as a further question, taken on three ones follow each other, how would you draw that?
 
  • #9
A string of logical ones will become a square wave at a frequency of half the data rate, with the transitions in the middle of the input bits.

A string of logical zeros will become a square wave at a frequency of half the data rate, with the transitions between the zero input bits.

The advantage of an NRZ or Miller code is the divide by two reduction in bandwidth.

It is necessary to continuously decode the Miller code stream and keep synchronised with the clock.
 
  • Like
Likes Peter_Newman

FAQ: Decoding Miller Code: Understanding the High and Low Signals

What is the Miller code?

The Miller code is a type of binary code used in digital communication systems to encode messages. It is named after its inventor, George Miller, and is also known as the "2B1Q code".

How does the Miller code work?

The Miller code works by converting a series of binary digits into a sequence of two symbols, +1 and -1. These symbols are then transmitted through a communication channel and decoded back into binary digits at the receiving end. This method allows for efficient and reliable communication over noisy channels.

What are the advantages of using the Miller code?

One of the main advantages of the Miller code is its ability to reduce the effects of noise on the transmitted signal. This is because the code uses symbols rather than individual bits, making it more robust against errors. Additionally, the Miller code is simple and easy to implement, making it a popular choice in digital communication systems.

Are there any limitations to the Miller code?

While the Miller code is effective in reducing the effects of noise, it is not perfect and can still be affected by certain types of noise. It also requires a higher bandwidth compared to other coding schemes, which can be a limitation in some applications. Additionally, the Miller code is not suitable for all types of communication systems and may not be the best choice in certain scenarios.

How is the Miller code different from other coding schemes?

The Miller code differs from other coding schemes in its use of symbols rather than individual bits. This allows for a more efficient use of bandwidth and better resistance to noise. It also has a simpler encoding and decoding process compared to other codes, making it easier to implement. However, other coding schemes may have different advantages and may be more suitable for certain applications.

Back
Top