Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #376623
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: low pass filter in PC soundcard? |
| Date | 2015-09-12 04:17 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <mt0mvb$n84$1@dont-email.me> (permalink) |
| References | (4 earlier) <slrnmv6bds.hql.nomail@xs9.xs4all.nl> <msvhpm$kkf$1@dont-email.me> <slrnmv7int.fed.nomail@xs9.xs4all.nl> <mt0jvk$emt$1@dont-email.me> <slrnmv7nfp.mf.nomail@xs9.xs4all.nl> |
On 9/12/2015 4:10 AM, Rob wrote: > rickman <gnuarm@gmail.com> wrote: >>> The Alsa software can capture timestamps (in nanosecond increments) >>> of the interrupt that the soundcard issues when it finishes a block. >> >> Very ingenious. That must be using some hardware function in the CPU? > > Well, maybe the actual resolution is not nanoseconds but at least the > returned field has a nanosecond increment. The Linux clock ticks in > nanoseconds, and it uses several mechanisms included in modern PC systems > to implement that (highres timer, CPU cycle counter). > Actually I am happy when at this level it at least has microsecond > resolution. > >>> (note that the cards are not in the same system! the systems are each >>> time-synchronized to a GPS receiver outputting pulse-per-second. for this >>> test, two complete setups were installed side-by-side on the workbench, >>> but normally they are installed at different sites) >> >> Holly crap! So there is specialized hardware for this on the sound >> cards? Or is there another card in the system? I haven't seen a PC >> that can sync to a 1 PPS signal. > > The 1PPS sync is not related to the soundcard. The PPS pulse enters > the PC on a serial or parallel port pin, and existing software in the > Linux kernel allows the system clock to be synchronized to that. > This works the same way as the Alsa timestamp: when an edge occurs > on this pin, and interrupt is issued and the momentary value of the > nanosecond clock is put in a buffer. A usermode program reads these > timestamps, averages the offset from the 1 second mark, and slowly > adjusts the nanosecond system clock to be on-time. > In a good system at stable temperature, it keeps the system clock within > a few hundred nanoseconds, otherwise it still is within 2 microseconds > or so. When you say "nanosecond system clock" you are referring to some software clock, not a hardware timer, right? Again, I am not familiar with any hardware in a PC to support such an adjustable clock. I can picture how this might be workable. Again, pretty clever I think for a designer to convince him/herself this could work well. I'm used to PCs being very poor at timing anything. >> BTW, with a cutoff starting at 5 kHz, you still aren't in a great >> position to reduce the sampling artifacts so much unless you use some >> good filters. Even a two pole filter will only reduce the sample rate >> artifacts by 40 dB, or about 100 fold. Is that enough? > > Right now we are relying on the input filter of the transmitter, which > is a lowpass at 3.4 kHz but I am not sure how many poles it has. > There probably are also other characteristics of the modulator that limit > the high-frequency response. At least, we have not noticed problems > on the spectrum analyzer. But it now is something that has more > attention than it had before. > > (this is a co-channel diversity repeater system for wide-area coverage) > -- Rick
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-10 12:46 +0000
Re: low pass filter in PC soundcard? John Larkin <jjlarkin@highlandtechnology.com> - 2015-09-10 07:23 -0700
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-10 15:11 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-11 14:41 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-11 19:38 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-11 17:42 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-12 06:49 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-12 03:26 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-12 08:10 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-12 04:17 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-12 08:25 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-12 10:35 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-12 15:31 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-12 11:42 -0400
Re: low pass filter in PC soundcard? upsidedown@downunder.com - 2015-09-12 12:00 +0300
Re: low pass filter in PC soundcard? dplatt@coop.radagast.org (Dave Platt) - 2015-09-10 13:07 -0700
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-11 08:09 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-11 14:45 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-11 19:33 +0000
Re: low pass filter in PC soundcard? "Tim Williams" <tmoranwms@charter.net> - 2015-09-10 15:17 -0500
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-11 07:52 +0000
csiph-web