RadioBanter

RadioBanter (https://www.radiobanter.com/)
-   Digital (https://www.radiobanter.com/digital/)
-   -   NRZI coding (https://www.radiobanter.com/digital/8102-nrzi-coding.html)

Mariusz SP3FXC October 19th 03 12:15 AM

NRZI coding
 
Hi,

I'm looking for some info on NRZI coding. google gives me useless links...
nothing special. I am about to write someting that uses NRZI but i can not
find any specification.

I appreciate any input on this.

Regards,

Mariusz SP3FXC


Moebius Velcro October 20th 03 02:39 AM

Mariusz SP3FXC wrote:
I'm looking for some info on NRZI coding. google gives me useless links...
nothing special. I am about to write someting that uses NRZI but i can not
find any specification.


If you look at this with a monospaced font (Courier for example) it
should make sense:

__ ________ _____ __
__| |__| |__| |________|
0 0 0 1 1 0 0 1 0 1 1 0

Non-Return Zero Inverting means (1) the signal does not return
to a resting state after a bit, and (2) a zero is indicated by
a change of state, and a one by no change. Clock is extracted
from the data, which means there must be a limit to the number
of consecutive 1's, and the "zero stuffing" technique leads to
a bigger discussion.

HTH

Moebius Velcro October 20th 03 02:39 AM

Mariusz SP3FXC wrote:
I'm looking for some info on NRZI coding. google gives me useless links...
nothing special. I am about to write someting that uses NRZI but i can not
find any specification.


If you look at this with a monospaced font (Courier for example) it
should make sense:

__ ________ _____ __
__| |__| |__| |________|
0 0 0 1 1 0 0 1 0 1 1 0

Non-Return Zero Inverting means (1) the signal does not return
to a resting state after a bit, and (2) a zero is indicated by
a change of state, and a one by no change. Clock is extracted
from the data, which means there must be a limit to the number
of consecutive 1's, and the "zero stuffing" technique leads to
a bigger discussion.

HTH

TOM October 20th 03 03:06 AM

NRZI encoder:

Invert the NRZ data, then apply to both the J and K inputs of a J-K
flipflop; clock to the clk input of the FF. Q output of the FF is the
encoded NRZI data.

NRZI decoder:

Encoded NRZI data to both the input of a D flipflop and one input of an
XOR gate. Q* (Q-not) output of the D-FF to the other input of the XOR gate.
Clk to the clk input of the FF. XOR output is the decoded NRZ data.


-- Tom, N5EG





"Mariusz SP3FXC" wrote in message
...
Hi,

I'm looking for some info on NRZI coding. google gives me useless

links...
nothing special. I am about to write someting that uses NRZI but i can not
find any specification.

I appreciate any input on this.

Regards,

Mariusz SP3FXC




TOM October 20th 03 03:06 AM

NRZI encoder:

Invert the NRZ data, then apply to both the J and K inputs of a J-K
flipflop; clock to the clk input of the FF. Q output of the FF is the
encoded NRZI data.

NRZI decoder:

Encoded NRZI data to both the input of a D flipflop and one input of an
XOR gate. Q* (Q-not) output of the D-FF to the other input of the XOR gate.
Clk to the clk input of the FF. XOR output is the decoded NRZ data.


-- Tom, N5EG





"Mariusz SP3FXC" wrote in message
...
Hi,

I'm looking for some info on NRZI coding. google gives me useless

links...
nothing special. I am about to write someting that uses NRZI but i can not
find any specification.

I appreciate any input on this.

Regards,

Mariusz SP3FXC




Mariusz SP3FXC October 20th 03 08:51 PM

Moebius Velcro wrote:

Mariusz SP3FXC wrote:
I'm looking for some info on NRZI coding. google gives me useless
links... nothing special. I am about to write someting that uses NRZI but
i can not find any specification.


If you look at this with a monospaced font (Courier for example) it
should make sense:

__ ________ _____ __
__| |__| |__| |________|
0 0 0 1 1 0 0 1 0 1 1 0

Non-Return Zero Inverting means (1) the signal does not return
to a resting state after a bit, and (2) a zero is indicated by
a change of state, and a one by no change. Clock is extracted
from the data, which means there must be a limit to the number
of consecutive 1's, and the "zero stuffing" technique leads to
a bigger discussion.

HTH


Very good :) One more question. Is it "level-sensitive" coding? I mean if we
change the phase (by 180deg.) of NRZI coded signal would it be still
readable when it hits decoder? I need to verify this because it is
essential for my project.

Mariusz


Mariusz SP3FXC October 20th 03 08:51 PM

Moebius Velcro wrote:

Mariusz SP3FXC wrote:
I'm looking for some info on NRZI coding. google gives me useless
links... nothing special. I am about to write someting that uses NRZI but
i can not find any specification.


If you look at this with a monospaced font (Courier for example) it
should make sense:

__ ________ _____ __
__| |__| |__| |________|
0 0 0 1 1 0 0 1 0 1 1 0

Non-Return Zero Inverting means (1) the signal does not return
to a resting state after a bit, and (2) a zero is indicated by
a change of state, and a one by no change. Clock is extracted
from the data, which means there must be a limit to the number
of consecutive 1's, and the "zero stuffing" technique leads to
a bigger discussion.

HTH


Very good :) One more question. Is it "level-sensitive" coding? I mean if we
change the phase (by 180deg.) of NRZI coded signal would it be still
readable when it hits decoder? I need to verify this because it is
essential for my project.

Mariusz


Marco S Hyman October 21st 03 01:55 AM

Mariusz SP3FXC writes:

__ ________ _____ __
__| |__| |__| |________|
0 0 0 1 1 0 0 1 0 1 1 0


Very good :) One more question. Is it "level-sensitive" coding? I mean if we
change the phase (by 180deg.) of NRZI coded signal would it be still
readable when it hits decoder? I need to verify this because it is
essential for my project.


Look at the diagram. A zero is a change in state; doesn't matter
in which direction it changes. If you invert the input signal the
output is still the same:

__ ________ _____ __
__| |__| |__| |________|


-- -- -- --------
|__| |________| |_____| |__

0 0 0 1 1 0 0 1 0 1 1 0


Same output.

// marc

Marco S Hyman October 21st 03 01:55 AM

Mariusz SP3FXC writes:

__ ________ _____ __
__| |__| |__| |________|
0 0 0 1 1 0 0 1 0 1 1 0


Very good :) One more question. Is it "level-sensitive" coding? I mean if we
change the phase (by 180deg.) of NRZI coded signal would it be still
readable when it hits decoder? I need to verify this because it is
essential for my project.


Look at the diagram. A zero is a change in state; doesn't matter
in which direction it changes. If you invert the input signal the
output is still the same:

__ ________ _____ __
__| |__| |__| |________|


-- -- -- --------
|__| |________| |_____| |__

0 0 0 1 1 0 0 1 0 1 1 0


Same output.

// marc

Moebius Velcro October 21st 03 03:10 AM

Mariusz SP3FXC wrote:

Moebius Velcro wrote:

Mariusz SP3FXC wrote:
I'm looking for some info on NRZI coding. google gives me useless
links... nothing special. I am about to write someting that uses NRZI but
i can not find any specification.


If you look at this with a monospaced font (Courier for example) it
should make sense:

__ ________ _____ __
__| |__| |__| |________|
0 0 0 1 1 0 0 1 0 1 1 0

Non-Return Zero Inverting means (1) the signal does not return
to a resting state after a bit, and (2) a zero is indicated by
a change of state, and a one by no change. Clock is extracted
from the data, which means there must be a limit to the number
of consecutive 1's, and the "zero stuffing" technique leads to
a bigger discussion.

HTH


Very good :) One more question. Is it "level-sensitive" coding? I mean if we
change the phase (by 180deg.) of NRZI coded signal would it be still
readable when it hits decoder? I need to verify this because it is
essential for my project.


No.

__ ________ _____ __
__| |__| |__| |________|

means the same as
__ __ __ ________
|__| |________| |_____| |__

in that a zero is represented by a change, in either direction,
and a one is no change.

;B

Moebius Velcro October 21st 03 03:10 AM

Mariusz SP3FXC wrote:

Moebius Velcro wrote:

Mariusz SP3FXC wrote:
I'm looking for some info on NRZI coding. google gives me useless
links... nothing special. I am about to write someting that uses NRZI but
i can not find any specification.


If you look at this with a monospaced font (Courier for example) it
should make sense:

__ ________ _____ __
__| |__| |__| |________|
0 0 0 1 1 0 0 1 0 1 1 0

Non-Return Zero Inverting means (1) the signal does not return
to a resting state after a bit, and (2) a zero is indicated by
a change of state, and a one by no change. Clock is extracted
from the data, which means there must be a limit to the number
of consecutive 1's, and the "zero stuffing" technique leads to
a bigger discussion.

HTH


Very good :) One more question. Is it "level-sensitive" coding? I mean if we
change the phase (by 180deg.) of NRZI coded signal would it be still
readable when it hits decoder? I need to verify this because it is
essential for my project.


No.

__ ________ _____ __
__| |__| |__| |________|

means the same as
__ __ __ ________
|__| |________| |_____| |__

in that a zero is represented by a change, in either direction,
and a one is no change.

;B

Mariusz SP3FXC October 21st 03 11:26 AM

Ok.
Thank You ALL very much for helping me. The input from You was very
helpfull.

Best regards from Poland, 73's,

Mariusz SP3FXC


Mariusz SP3FXC October 21st 03 11:26 AM

Ok.
Thank You ALL very much for helping me. The input from You was very
helpfull.

Best regards from Poland, 73's,

Mariusz SP3FXC



All times are GMT +1. The time now is 06:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
RadioBanter.com