Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old October 15th 03, 08:06 PM
Ashhar Farhan
 
Posts: n/a
Default

i just ran a check with the sound card:

a) the sound card contributes noise. i shoved in a 50 ohms resistor
into the mic input, cranked up the mic level, save a 'silent' wave
file and saw it through a hex editor. There is a random noise of about
2-3 bits. That means, the effective range is not 16 bits but 12 bits.
12 bits can represent 4096-1 as the highest number. That means, the
dynamic range is 4096 squared: about 16 million or 72db. A little low
really for interesting work. there isnt enough 'roof' to resolve a
spur about 60db down without touching the grass

b)the sampling is at 44khz. some of the posts got confused between
20khz b/w and 20khz sampling rate.

hans is right about the PC being a kludge when compared to an
oscilloscope. I live in India and second-hand oscilloscopes are a
rarity. The new ones cost an engineer's whole year's salary. I have
purchased a tektronix 454 last month on ebay for $300, it is still on
its way to India. So, while i can imagine that in a number of more
developed countries oscilloscopes are not really a problem, they do
remain a problem in many parts of the world.

More often than not, an amateur already has a PC. Adding a simple
hardware to be able to do quick and dirty spectrum analysis might be
an interesting option. As Wes writes in SSD and EMRFD, the purpose of
test instruments is to help with the projects on hand, rather than be
projects themselves (then he went on to homebrewing a spectrum
analyser, hehe).

- farhan
  #2   Report Post  
Old October 16th 03, 04:22 AM
Jim Pennell
 
Posts: n/a
Default

Actually, I'd be tempted to rig a phasing type conversion to baseband from
the 300 MHz or whatever the first IF is....

At best it might get 40-50 dB of suppression of the other sideband, but it
would remove most of the undesired spurs and something like an AD8307 log
detector could be used to convert to a DC level.

After that, feed it into an A/D converter and into a PC using the printer
port.

Given a dual channel A/D converter, I'd also sample the tuning voltage for
the VCO and feed that into the PC as well.

All of this would move the programming from a possibly complex DSP problem
to a relatively simple Parallel port input and then number crunching to a
display.

There would be spur responses 40-50 dB down, but generally speaking, it
should give useful information.

===========

Granted, one problem is how fast the data transfer is through the parallel
port, that would limit how many samples/second the system could process.

There is the second issue, about maximum sweep speed Vs the IF bandwidth,
and the maximum useful bandwidth would be a function of the Phase shift
detector system. Still, I think this approach has some possibilities.

Almost forgot... WIN XP and WIN2000 make getting to the parallel port for
something like this MUCH more difficult then it was under WIN 98.

You could use RS232 and perhaps two COM ports to allow getting the AD8307
and the VCO sweep voltage in parallel, so to speak. Once again, it would be
a limit on how many samples per second the systme could provide.

If you want to be more complex, you could feed OUT commands to a
synthesizer to tune the VCO and this would allow really slow sweeps and very
precise accuracy, but it complicates the design.

I have to admit, I've been looking at the synthesizer design John Miles,
KE5FX, did which tunes from 1 GHz to 2 GHz with very fine tuning steps and
all osrts of ideas for various test gear built around it keep dancing in my
mind. I suppose I should see if I can build one and get some idea as to
the cost and so on. But it'd make a wonderful starting point for a
digitally tuned spectrum analyzer !!!

Admitted, the close in phase noise could limit dynamic range 'way below
the range pssible with an AD8307 detector, but even so the frequency
accuracy of an analyzer would be fantastic.

=========

Overall, Avery is probably correct that the result may be a lot of work an
less than perfect performance, but as a homebrewer it does seem like a fun
way to get something fairly useful and learn a lot as the project goes on.




Jim Pennell
N6BIU


  #3   Report Post  
Old October 16th 03, 10:48 AM
Hans Summers
 
Posts: n/a
Default


Granted, one problem is how fast the data transfer is through the

parallel
port, that would limit how many samples/second the system could process.


I think a parallel port is easily fast enough for this application


Almost forgot... WIN XP and WIN2000 make getting to the parallel port

for
something like this MUCH more difficult then it was under WIN 98.


True enough. I had this problem with a different project. There's a
shareware driver available which helps access the parallel port under XP
etc. See http://www.hanssummers.com/electroni...trix/index.htm for
details of how it works.

Hans G0UPL
http://www.hanssummers.com


  #4   Report Post  
Old October 16th 03, 10:48 AM
Hans Summers
 
Posts: n/a
Default


Granted, one problem is how fast the data transfer is through the

parallel
port, that would limit how many samples/second the system could process.


I think a parallel port is easily fast enough for this application


Almost forgot... WIN XP and WIN2000 make getting to the parallel port

for
something like this MUCH more difficult then it was under WIN 98.


True enough. I had this problem with a different project. There's a
shareware driver available which helps access the parallel port under XP
etc. See http://www.hanssummers.com/electroni...trix/index.htm for
details of how it works.

Hans G0UPL
http://www.hanssummers.com


  #5   Report Post  
Old October 16th 03, 10:45 AM
Hans Summers
 
Posts: n/a
Default


hans is right about the PC being a kludge when compared to an
oscilloscope. I live in India and second-hand oscilloscopes are a
rarity. The new ones cost an engineer's whole year's salary. I have
purchased a tektronix 454 last month on ebay for $300, it is still on
its way to India. So, while i can imagine that in a number of more
developed countries oscilloscopes are not really a problem, they do
remain a problem in many parts of the world.


That puts another angle on it. In that case I'd say you could produce a nice
instrument by using a complete analogue analyser such as my design
http://www.hanssummers.com/electroni...yser/index.htm
or similar, and feeding the sweep (X-axis) and logarithmic output (Y-axis)
into the PC via ADC's on the parallel port. 8-bit ADC's would probably be
marginally good enough, 10 bit for sure.


More often than not, an amateur already has a PC. Adding a simple
hardware to be able to do quick and dirty spectrum analysis might be
an interesting option. As Wes writes in SSD and EMRFD, the purpose of
test instruments is to help with the projects on hand, rather than be
projects themselves (then he went on to homebrewing a spectrum
analyser, hehe).


It became a project in its own right for me. So much that it spawned a
second project
http://www.hanssummers.com/electroni...ser2/index.htm.
But not wasted time - I learnt so much making it and got my first experience
at VHF work etc, so it was time well spent.

Hans G0UPL
http://www.hanssummers.com




  #6   Report Post  
Old October 16th 03, 04:22 AM
Jim Pennell
 
Posts: n/a
Default

Actually, I'd be tempted to rig a phasing type conversion to baseband from
the 300 MHz or whatever the first IF is....

At best it might get 40-50 dB of suppression of the other sideband, but it
would remove most of the undesired spurs and something like an AD8307 log
detector could be used to convert to a DC level.

After that, feed it into an A/D converter and into a PC using the printer
port.

Given a dual channel A/D converter, I'd also sample the tuning voltage for
the VCO and feed that into the PC as well.

All of this would move the programming from a possibly complex DSP problem
to a relatively simple Parallel port input and then number crunching to a
display.

There would be spur responses 40-50 dB down, but generally speaking, it
should give useful information.

===========

Granted, one problem is how fast the data transfer is through the parallel
port, that would limit how many samples/second the system could process.

There is the second issue, about maximum sweep speed Vs the IF bandwidth,
and the maximum useful bandwidth would be a function of the Phase shift
detector system. Still, I think this approach has some possibilities.

Almost forgot... WIN XP and WIN2000 make getting to the parallel port for
something like this MUCH more difficult then it was under WIN 98.

You could use RS232 and perhaps two COM ports to allow getting the AD8307
and the VCO sweep voltage in parallel, so to speak. Once again, it would be
a limit on how many samples per second the systme could provide.

If you want to be more complex, you could feed OUT commands to a
synthesizer to tune the VCO and this would allow really slow sweeps and very
precise accuracy, but it complicates the design.

I have to admit, I've been looking at the synthesizer design John Miles,
KE5FX, did which tunes from 1 GHz to 2 GHz with very fine tuning steps and
all osrts of ideas for various test gear built around it keep dancing in my
mind. I suppose I should see if I can build one and get some idea as to
the cost and so on. But it'd make a wonderful starting point for a
digitally tuned spectrum analyzer !!!

Admitted, the close in phase noise could limit dynamic range 'way below
the range pssible with an AD8307 detector, but even so the frequency
accuracy of an analyzer would be fantastic.

=========

Overall, Avery is probably correct that the result may be a lot of work an
less than perfect performance, but as a homebrewer it does seem like a fun
way to get something fairly useful and learn a lot as the project goes on.




Jim Pennell
N6BIU


  #7   Report Post  
Old October 16th 03, 10:45 AM
Hans Summers
 
Posts: n/a
Default


hans is right about the PC being a kludge when compared to an
oscilloscope. I live in India and second-hand oscilloscopes are a
rarity. The new ones cost an engineer's whole year's salary. I have
purchased a tektronix 454 last month on ebay for $300, it is still on
its way to India. So, while i can imagine that in a number of more
developed countries oscilloscopes are not really a problem, they do
remain a problem in many parts of the world.


That puts another angle on it. In that case I'd say you could produce a nice
instrument by using a complete analogue analyser such as my design
http://www.hanssummers.com/electroni...yser/index.htm
or similar, and feeding the sweep (X-axis) and logarithmic output (Y-axis)
into the PC via ADC's on the parallel port. 8-bit ADC's would probably be
marginally good enough, 10 bit for sure.


More often than not, an amateur already has a PC. Adding a simple
hardware to be able to do quick and dirty spectrum analysis might be
an interesting option. As Wes writes in SSD and EMRFD, the purpose of
test instruments is to help with the projects on hand, rather than be
projects themselves (then he went on to homebrewing a spectrum
analyser, hehe).


It became a project in its own right for me. So much that it spawned a
second project
http://www.hanssummers.com/electroni...ser2/index.htm.
But not wasted time - I learnt so much making it and got my first experience
at VHF work etc, so it was time well spent.

Hans G0UPL
http://www.hanssummers.com


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spectrum Analyser CRT drive problem Hans Summers Homebrew 6 August 18th 03 07:01 PM


All times are GMT +1. The time now is 04:05 AM.

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

About Us

"It's about Radio"

 

Copyright © 2017