Click here to Skip to main content
15,905,683 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: pseudorandom number generator algorithm Pin
Roger Wright17-Sep-08 22:02
professionalRoger Wright17-Sep-08 22:02 
GeneralRe: pseudorandom number generator algorithm Pin
CPallini17-Sep-08 22:28
mveCPallini17-Sep-08 22:28 
QuestionRe: pseudorandom number generator algorithm Pin
David Crow18-Sep-08 2:38
David Crow18-Sep-08 2:38 
AnswerRe: pseudorandom number generator algorithm Pin
Roger Wright18-Sep-08 19:36
professionalRoger Wright18-Sep-08 19:36 
JokeRe: pseudorandom number generator algorithm Pin
CPallini18-Sep-08 22:06
mveCPallini18-Sep-08 22:06 
GeneralRe: pseudorandom number generator algorithm Pin
Roger Wright19-Sep-08 11:14
professionalRoger Wright19-Sep-08 11:14 
GeneralRe: pseudorandom number generator algorithm Pin
niconicx15-Sep-08 22:53
niconicx15-Sep-08 22:53 
GeneralRe: pseudorandom number generator algorithm Pin
CPallini15-Sep-08 22:59
mveCPallini15-Sep-08 22:59 
GeneralRe: pseudorandom number generator algorithm Pin
Lim Yuxuan16-Sep-08 4:41
Lim Yuxuan16-Sep-08 4:41 
GeneralRe: pseudorandom number generator algorithm Pin
CPallini16-Sep-08 5:29
mveCPallini16-Sep-08 5:29 
GeneralRe: pseudorandom number generator algorithm Pin
niconicx22-Sep-08 23:03
niconicx22-Sep-08 23:03 
Questionwhere to put the responsiblity + Scanner or Parser Pin
Leblanc Meneses13-Sep-08 6:54
Leblanc Meneses13-Sep-08 6:54 
AnswerRe: where to put the responsiblity + Scanner or Parser Pin
Robert.C.Cartaino13-Sep-08 9:15
Robert.C.Cartaino13-Sep-08 9:15 
GeneralRe: where to put the responsiblity + Scanner or Parser Pin
Leblanc Meneses13-Sep-08 9:52
Leblanc Meneses13-Sep-08 9:52 
QuestionHello I have a question. Pin
Dale Keller12-Sep-08 16:22
Dale Keller12-Sep-08 16:22 
AnswerRe: Hello I have a question. Pin
Roger Wright12-Sep-08 21:57
professionalRoger Wright12-Sep-08 21:57 
AnswerRe: Hello I have a question. Pin
CPallini13-Sep-08 1:02
mveCPallini13-Sep-08 1:02 
AnswerRe: Hello I have a question. Pin
Paul Conrad13-Sep-08 5:39
professionalPaul Conrad13-Sep-08 5:39 
AnswerRe: Hello I have a question. Pin
Alan Balkany15-Sep-08 3:23
Alan Balkany15-Sep-08 3:23 
QuestionDetecting Analog (A/D) Pulses using Software Pin
JohnnyG12-Sep-08 2:57
JohnnyG12-Sep-08 2:57 
AnswerRe: Detecting Analog (A/D) Pulses using Software Pin
Tim Craig12-Sep-08 10:08
Tim Craig12-Sep-08 10:08 
GeneralRe: Detecting Analog (A/D) Pulses using Software Pin
JohnnyG13-Sep-08 0:30
JohnnyG13-Sep-08 0:30 
AnswerRe: Detecting Analog (A/D) Pulses using Software Pin
cp987612-Sep-08 18:10
cp987612-Sep-08 18:10 
GeneralRe: Detecting Analog (A/D) Pulses using Software Pin
JohnnyG13-Sep-08 0:27
JohnnyG13-Sep-08 0:27 
GeneralRe: Detecting Analog (A/D) Pulses using Software Pin
cp987613-Sep-08 2:40
cp987613-Sep-08 2:40 
OK I think I now understand that you are trying to decode things like the Pulse Position Modulation on the Mode-S reply.


JohnnyG wrote:
A new receiver has been designed and from what I'm told, requires more amplification, shoots up the leading edge much faster but has much more noise

Your new receiver simply has more bandwidth, this doesn't matter, the algorithm will reduce the noise bandwidth. More noise coming in does make it more important to get the algorithm right.

JohnnyG wrote:
ideally, most of this would have been done in hardware

It doesn't matter where it is done, the algorithm is important.

Simple data smoothing and peak detection is not going to give anywhere near optimal performance in noise.

For what it is worth, my suggestion would be to run some sort of maximum likelihood detector to determine the timing synchronisation (i.e. where the pulse edges are), in it's simplest form this would use the energy in all four preamble pulses (to reduce the effect of noise) and the processing would be quite simple. Determining the timing is the key, once you have this you can process the message, in each bit period integrate the total power in each half and compare the two, outputting a '1' if there is more energy in the first half. For improved noise performance you could look at running a decision directed timing loop to improve timing detection from subsequent bits, or even do a joint timing and data estimation. I don't know what sort of performance you need or what sort of processing you have. Determining the timing using a detector based on all four preamble pulses will vastly out perform any data smoothing / peak detector approach, and would have very simple processing.

If you decimate the samples to reduce the noise you introduce timing errors as you can't guarantee that your decimation coincides with the signal timing, and if you run averaging you are doing much more processing than you need and you still have to work out which average to use - i.e. determine the timing.

Good Luck!

Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.