Announcement

Collapse
No announcement yet.

Let's made a PC-base metal detector with usb interface !!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • gwzd
    replied
    Hello Aziz

    Originally posted by Aziz View Post
    Hello gwzd,

    You should implement your own lock-in amp and play around a bit to see the real difference.
    I wish I would have enough time to "play" with many things and trust me when I say, lock in amplifiers are not in the first ten.

    As I said before, I don't work with narrow band systems except for resistivity measurements and I have no need to implement lock in amplifiers for that.

    Or am I see some "ghosts" on my screen?
    Since you have written the software, established your references and done your math you practically see what you want to see. But that is not necessarily what it is. I asked my son the other day what would it be 7 and 3 and he answered perplexed "seventythree! doh!" I guess he is smarter than me since I didn't ask "7 plus 3". Of course, an alternative answer would have been "3" if using a bitwise AND. So, my point is that there are many ways of screwing the results in a computer. But, as pointed out earlier you will have to find out that all by yourself.
    Regards

    Leave a comment:


  • Aziz
    replied
    Hello gwzd,

    You should implement your own lock-in amp and play around a bit to see the real difference. Or am I see some "ghosts" on my screen?

    Aziz

    Leave a comment:


  • gwzd
    replied
    Originally posted by Aziz View Post
    Hi gwzd,

    the ADC part of my sound card has a SNR of 90 dB. The codec chip is a ALC888 (Realtek).
    Very interesting, you have 100mV dynamic range in your line in and only 200nV noise floor and still all that with a SNR of 90dB.

    To get a fixed reference measuring system, I had to set the amplification ruler to the maximum because there is no exact amplification number display. To reproduce and measure allways same results, I use the maximum level of internal amplification. I calibrated this with two multi meters, to get not exact but reasonable values.
    Is the 200nV an approximated value? How many digits your multi meters have? How can you measure 200nV without even knowing your reference values? The same results doesn't mean your math is correct.


    What about doing lock-in amp by yourself?
    Unfortunately, most of the time I work with UWB signals where lock in amplifiers are useless. Besides, imagine driving a survey car scanning a road to measure asphalt thickness and waiting seconds for the lock in amplifier to finish locking in. I don't think so, it would leave me without customers in a record period of time.

    You will see the difference.
    There's no need to do stuff in order to understand how they work or what you can expect from them. In a previous post TheWizard posted a very nice introductory paper on Lock in amplifiers, but I'd personally would suggest the one posted in the Microchip's website. The application note is number AN1115.

    Another thing, as someone posted earlier, you are going to have much more problems in the real life where not always, rather never, the conditions are ideal like in the lab.

    Regards

    Leave a comment:


  • Aziz
    replied
    Originally posted by gwzd View Post
    So, in other words your SNR is 10dBs higher than the specified by the manufacturer of the sound card. Is that so?
    What codec chip would that be? Any part number?
    Regards
    Hi gwzd,

    the ADC part of my sound card has a SNR of 90 dB. The codec chip is a ALC888 (Realtek).

    To get a fixed reference measuring system, I had to set the amplification ruler to the maximum because there is no exact amplification number display. To reproduce and measure allways same results, I use the maximum level of internal amplification. I calibrated this with two multi meters, to get not exact but reasonable values.

    What about doing lock-in amp by yourself? You will see the difference.

    Regards,
    Aziz

    Leave a comment:


  • TheWizard
    replied
    About Noise and Signal....

    Leave a comment:


  • gwzd
    replied
    Originally posted by Aziz View Post
    Maybe I forgot to meantion the full dynamic range of my line-input:
    ~100 mV rms (with full amplification)
    So, in other words your SNR is 10dBs higher than the specified by the manufacturer of the sound card. Is that so?
    So the signal is amplified within the codec chip.

    Aziz
    What codec chip would that be? Any part number?
    Regards

    Leave a comment:


  • Aziz
    replied
    Maybe I forgot to meantion the full dynamic range of my line-input:
    ~100 mV rms (with full amplification)
    So the signal is amplified within the codec chip.

    Aziz

    Leave a comment:


  • gwzd
    replied
    Hi Aziz
    Originally posted by Aziz View Post

    don't forget the short bandwidth of the lock-in amplifier. Only the noise on the operating frequency is measured. All other noise is not measured.
    I don't think so, neither does this manufacturer:



    Now, look at this data-sheet:



    Pay attention to the "sensitivity" parameter of their product, it is roughly 15 (fifteen) times bigger than the one you claim you have. (you can find that parameter on page two, close to the top)

    So, my question remains, aren't you exaggerating? Check for errors in your calculations. Finally, have a look at the plots posted by TheWizard they seem to be more realistic than the claims you have made so far.
    Regards

    Leave a comment:


  • Aziz
    replied
    Hi gwzd,

    don't forget the short bandwidth of the lock-in amplifier. Only the noise on the operating frequency is measured. All other noise is not measured. There are some frequency ranges with lower noises and some with more. It depends on many factors. By increasing the time constant of the lock-in amp, the accuracy gets even better.

    Look more in detail to lock-in amplifier.


    regards,
    Aziz

    Leave a comment:


  • gwzd
    replied
    Originally posted by Aziz View Post
    My high definition sound card in my PC. 24 Bit, 96 kHz. Short circuited line-input to ground. It's quite good. Very low harmonic distortion (can see this on the spectrum analyzer).
    What spectrum analyzer? the one made up using the same card you are measuring?

    My "PCMCIA Audigy 2 ZS Notebook" was much better.
    Reality check -
    PCMCIA Sound Blaster Audigy 2 ZS Notebook short datasheet:
    Two modes of operation 24bit/96kHz or 24bit/192kHz (playback only)
    SNR = 104dB

    Assuming your reference is 1.024Volts, this is a fair assumption since most sound cards try to keep the reference low, then your smallest signal to catch would be.... 6.3uV(microvolts)

    So, how come you get better results than the manufacturer? Let me guess, Lock-in amplifier!! Oh, come on Aziz don't let the computer fool you.

    Keep the good work Aziz
    Regards

    Leave a comment:


  • Aziz
    replied
    Originally posted by gwzd View Post
    Uhmm... aren't you exaggerating? A laptop? Are you kidding?
    Regards
    My high definition sound card in my PC. 24 Bit, 96 kHz. Short circuited line-input to ground. It's quite good. Very low harmonic distortion (can see this on the spectrum analyzer). Therefore, I can detect 0.01 degree phase changes from a far distance target to coil.

    My "PCMCIA Audigy 2 ZS Notebook" was much better. But I have to wait for a new laptop. Next month, I will get a laptop for real field tests!
    This is only possible, when the signal is internally fully synchronized with the lock-in amplifier. And very small signals, phase and noise can be measured really accurately.

    Now I am able to say, that the digital lock-in VLF metal detector (laptop detector) can be a real competition to a good other VLF MD's. Software is much tricky but hardware is much easy.

    If nobody believes me, one should make the lock-in amp by himself.


    Regards,
    Aziz

    Leave a comment:


  • gwzd
    replied
    Originally posted by Aziz View Post
    My sound card has an internal noise of ~200 nV rms. ...
    Aziz
    Uhmm... aren't you exaggerating? A laptop? Are you kidding?
    Regards

    Leave a comment:


  • Aziz
    replied
    Shame on me! I have forgot to remove the short circuited input from my last lock-in experiment with one turn coil and was wondering about the strange behaviour of my amplifier on the PC scope!

    Now the amplifier works perfect. Amplification factor x 5. Very low total harmonic distortion until Vout =2.4 V rms AC. Power supply at 10.5 V.
    Now focusing in using the amplifier for TX coil.
    Aziz

    Leave a comment:


  • Aziz
    replied
    I built the following ear phone amplifier (NE5534) for driving the TX coil. I will test this circuit and will let you know, whether it makes sense to drive the coils with more current.
    I found the schematic from this site:


    Regards,
    Aziz
    Attached Files

    Leave a comment:


  • Aziz
    replied
    Hi,

    power consumption of the laptop MD is getting to be an very important issue. To maximize the battery life, there must be taken some steps:
    a) switching unused hardware off:
    - CD/DVD drive
    - harddisk (after some period)
    - WLAN
    - unused ports (rs232/printer ports, etc., modem, network adapter)
    - graphics display output (only multi-tone sound output for detection)

    b) Using Windows XP as an operating system with minimum required software packages (switching all unused software services off)

    c) Reducing physical memory (2GB->1 GB or less)

    d) Reducing processor speed (we have enough computation power)

    e) Programming in a sophisticated and optimized manner.

    The laptop MD software has to take all this stuff into consideration. So we can achieve approx. 50 - 100% more battery life (up to 3-6 hours). For the ergonomic issue, it doesn't makes sense, to look allways to the display of the laptop. The laptop should be mounted somehow backpack. For a steady use of MD, the MD software can be started automatically during boot-up process. On the line-in/mic-in, a defined signal can be coded for some switches (pin-point/modes/etc.), which can be detected by the software.

    Aziz

    Leave a comment:

Working...
X