Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Android Phone Based Metal Detector - FCMD

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

  • AI will give you all sorts of great answers .. but the proof is in the pudding ( or is it the eating ? ).

    Anyway here is the frontend response for my sampling scheme from the C code.
    The nulls are really sharp mains reduction wont be infinity obviously due to variance in mains frequency.

    Click image for larger version

Name:	image.png
Views:	79
Size:	91.9 KB
ID:	447315

    Comment


    • regarding the loop rates ... 50 Hz is actually better than a fast loop rate.

      Below is the comparison of continuous target, 200 hz rate, 50 hz rate and my code cubic interpolation .... giving a smooth signal response that is "near perfect".
      If you make your loop faster than needs be for a given target bandwith its just ignoring basic nyquist sampling and shannons sampling theorem.

      Click image for larger version

Name:	image.png
Views:	80
Size:	163.6 KB
ID:	447317

      Click image for larger version

Name:	image.png
Views:	79
Size:	112.3 KB
ID:	447318​​

      Comment


      • This real math science is really trhiling a me amuzment by da way is not correct on target signal response it is not a continius signal so ewretinlg later is no relevant sorry to upset you again tell you just use 250SPS and all be well , and everything will be fine, and you'll be bathing in a chocolate bath.

        Comment


        • Originally posted by Hristo View Post
          This real math science is really trhiling a me amuzment by da way is not correct on target signal response it is not a continius signal so ewretinlg later is no relevant sorry to upset you again tell you just use 250SPS and all be well , and everything will be fine, and you'll be bathing in a chocolate bath.
          LOL. I am bathing in a chocolate bath ... the signal is just samples .. mine come in at 50 hz ... the integrators fully reset every 20 ms ( ie every cycle ) so theoretically it can detect a target in 20 milliseconds ..

          OK how about I put variable loop rate control in ( just for you )

          Comment


          • Originally posted by moodz View Post
            Below is the comparison of continuous target, 200 hz rate, 50 hz rate and my code cubic interpolation
            Your Gaussian curve looks slower than it should for 15Hz. This is what I come up with for a 15Hz target response sampled at 50Hz:

            Click image for larger version

Name:	image.png
Views:	42
Size:	6.1 KB
ID:	447335
            In general, the more you sample the more you can filter. The only reason most detectors used a 5ms loop rate is that processors of yore couldn't do much more than that.

            Comment

            Working...
            X