Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old October 19th 03, 01:15 AM
Mariusz SP3FXC
 
Posts: n/a
Default 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

  #2   Report Post  
Old October 20th 03, 03:39 AM
Moebius Velcro
 
Posts: n/a
Default

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
  #3   Report Post  
Old October 20th 03, 03:39 AM
Moebius Velcro
 
Posts: n/a
Default

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
  #4   Report Post  
Old October 20th 03, 04:06 AM
TOM
 
Posts: n/a
Default

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



  #5   Report Post  
Old October 20th 03, 04:06 AM
TOM
 
Posts: n/a
Default

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





  #6   Report Post  
Old October 20th 03, 09:51 PM
Mariusz SP3FXC
 
Posts: n/a
Default

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

  #7   Report Post  
Old October 20th 03, 09:51 PM
Mariusz SP3FXC
 
Posts: n/a
Default

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

  #8   Report Post  
Old October 21st 03, 02:55 AM
Marco S Hyman
 
Posts: n/a
Default

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
  #9   Report Post  
Old October 21st 03, 02:55 AM
Marco S Hyman
 
Posts: n/a
Default

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
  #10   Report Post  
Old October 21st 03, 04:10 AM
Moebius Velcro
 
Posts: n/a
Default

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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017