Re: Demodulating AM pulse width coding (long post)
- From: rickman <gnuarm@xxxxxxxxx>
- Date: Thu, 1 May 2008 10:06:10 -0700 (PDT)
On May 1, 9:03 am, Jim Thomas <jtho...@xxxxxxxxxxxx> wrote:
rickman wrote:
On Apr 28, 10:07 am, Jim Thomas <jtho...@xxxxxxxxxxxx> wrote:
rickman wrote:
Thanks for your comments. I appreciate it.I was involved in an IRIG-B demod about 20 years ago. As I recall, the
first thing we did was to remove DC, then square the signal, and run
that through a 2KHz notch filter. Since IRIG-B is primarily a 1KHz
signal, squaring produced a double frequency component (the sum), and a
DC component (the difference). The notch filter IIRC, was a 4-tap
boxcar (really a comb), and that knocked out the double-freq component.
We had a nice square wave at the output of the notch filter, which we
then needed to slice and dice to get the ones, zeros, and position pulses.
That is interesting. Was the 4 tap comb just a running sum of the
last four samples? If you were sampling at 8 kHz that would give you
a full cycle of the frequency doubled carrier and would give you
square waves with a rise time of one clock cycle.
Yes, we were sampling at 8K, and the 4-tap comb was a running sum.
In terms of processing, this is the same as what I was doing; squaring
the incoming signal vs. multiplying it by a reference carrier followed
by a sum over a carrier cycle. I am planning to sync to the zero
crossing when calculating the sum. Then instead of getting 8 values
per cycle, I get one and the rise time is one sample.
I suppose using the squared input eliminates the need to sync to the
carrier, but I have to do that anyway since the carrier is part of the
timing reference. The PLL gives me a reference, phase locked to the
carrier, that I can use to determine the zero crossing of the carrier,
without interference from the noise. I guess I can combine both
methods. Use the PLL to provide the phase reference and use the
squared signal to measure the amplitude.
Rereading my post, I realized that I mispoke (it's not just for
politicians anymore!). I should have said the risetime is one cycle
of the frequency doubled sine wave. That would be four clock cycles.
Still, that is not bad.
I have been letting this perk in my mind the last couple of days and
unfortunately I have not been able to work on it due to having to
chase problems with a board fab house. They had some quality control
issues on my first order, but the second order for the test fixture
has been a complete disaster! They accepted the order and then
canceled it without telling me. So on the day I expected delivery of
the boards, I find out they had nothing for me at all! Now I am in
the second day of trying to get the order back online and they are
being very retarded about making it work at all, much less in an
expedited manner! I just can't believe how bad a company can be. If
things are not straightened out by the end of the day, I will have to
place the order elsewhere and take a larger hit...
Thanks for your comments. This has been a big help.
Rick
.
- References:
- Re: Demodulating AM pulse width coding (long post)
- From: Jim Thomas
- Re: Demodulating AM pulse width coding (long post)
- Prev by Date: Re: Upsampling by 4 in DSPs
- Next by Date: Re: Filtering options for reflected signal with noise
- Previous by thread: Re: Demodulating AM pulse width coding (long post)
- Next by thread: Re: ding dong, the witch is dead!
- Index(es):
Relevant Pages
|
Loading