- 10th January 2007, 05:39 #1

- Join Date
- Jan 2007
- Posts
- 4
- Helped
- 0 / 0
- Points
- 1,089
- Level
- 7

## pn sequence generator

I am trying to do pn sequence generator to remove the spur for phase dithering in Matlab simulink.

I can generate the specific system noise level by using pn sequence simulink model. But this does not reduce the spur due to phase dithering and this system noise level is quite high.

Q1) how to adjust the parameter of pn sequence generator simulink model to reduce the system noise level?

Q2) why this does not reduce the spur level?

Q3) Is the max length tap sequence used in pn sequence simulink model same as that of LFSR such as xilinx LFSR application note?

- 10th January 2007, 05:39

- 10th January 2007, 09:35 #2
## circuit diagram of pn sequence generator

You can generate PN sequence by using shift registers, see the diagram:

where h can be either 1 (short circuit) or 0 (open circuit)

and x's are the shift registers...

if helps, press**helped me**

- 10th January 2007, 09:35

- 10th January 2007, 10:10 #3

- Join Date
- Jan 2007
- Posts
- 1
- Helped
- 0 / 0
- Points
- 1,062
- Level
- 7

## pn sequence generator simulink

please send me a code

contact me dnyan1857@yahoo.co.in

- 10th January 2007, 10:10

- 10th January 2007, 15:06 #4
## pn sequence generator circuit

the code of a pn sequence is simply apolynomial,

see this table:

so the code is very simple...

1 members found this post helpful.

- 11th January 2007, 14:20 #5

- Join Date
- Jan 2007
- Posts
- 4
- Helped
- 0 / 0
- Points
- 1,089
- Level
- 7

## matlab coad for pn sequence generation

Hi Enhancer,

Thanx for ur reply. My question is not very clear first. So I metion the questions more specifically.

- 24th January 2007, 07:32 #6
## pn sequence table

**Does anyone have the MATLAB code for this generator?**

- 14th March 2011, 04:21 #7

- Join Date
- Jan 2011
- Posts
- 10
- Helped
- 0 / 0
- Points
- 685
- Level
- 5

## Re: pn sequence generator?

Does anyone have the MATLAB code for this generator?

- 31st March 2013, 00:53 #8

- Join Date
- Mar 2013
- Posts
- 3
- Helped
- 0 / 0
- Points
- 21
- Level
- 1