Announcement

Collapse
No announcement yet.

What is the best frequency response for the preamp in a PI ?

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

  • #76
    The solution is to put a HP filter on the input and disable the input during transients. Similar circuit solutions existed in the early days of pi metal detectors. But I don't like this solution, partly because turning the input on and off itself causes transients.
    I wonder if you have found a simple and elegant solution to this problem?
    P.S. and in the picture, I think, high-frequency noise is depicted against the background of a voltage drop in the coil. I don’t know how this relates to low-frequency noise filtering.​

    Comment


    • #77
      Originally posted by Aziraphel View Post
      ... But I don't like this solution, partly because turning the input on and off itself causes transients.
      I wonder if you have found a simple and elegant solution to this problem?
      ....​
      You have made the key point ... if you consider the transmit and recieve waveforms from a discrete sinewave ( fourier ) analysis ...every waveform in the system no matter what amplitude or period can be decomposed to an additive series of sinewaves. (note : the keyword here is additive ).

      If a non linear event occurs ( eg diode clamping, blocking, amplifier overload, switching ) which causes distortion of the waveforms then due to the non linearity a convolution ( mulitplication ) will occur and you end up with frequency products you proabably dont want..... note : here the unwanted event is multiplication not addition as previously mentioned.

      So imagine we have a PI fundamental tx frequency of 1 kHZ pulses ... then the Fo of this pulse train is a 1 Khz sine wave ... imagine also that we have a 50 or 60 hertz mains interference signal of 1 millivolt in the recieve coil.
      If a non linear event occurs ( eg preamp overload, clamping diode distortion etc ) then this will cause the 50/60 hertz mains frequence to be modulated onto the 1 Khz Fo signal. ( multiplication in the time domain cause frequency addition / subtraction AKA "difference" in the frequency domain. )
      So now our 1 Khz Fo will have 3 components .... 1000 - 50, 1000 and 1000 + 50. ie 950 hertz, 1000 hertz and 1050 hertz ( for the 50 hertz case ).

      We could call this "intermodulation".

      So when you take a sample from the output of the preamp at 1 khz rate ... you will in fact then demodulate the difference signals from 1 Khz ( 950 and 1050 hertz ) .... and your sampled signal will have 50 hertz interference on it.

      Because it would be very difficult to construct a filter that can separate 1050 and 950 hertz from 1000 hertz signals ... some PIs use sampling rates that are multiples of the mains rate to cancel the effect .. however this is not optimal and does not cancel other noises that may occur at the rx coil.

      This same scenario applies to earth field ( modulated by swing speed ) for example or any other interfering signal at the RX coil.

      This effect is the same in mono or DD PIs.

      A solution I found was to demodulate the preamp output signal by mixing - mulitplying ( ie demodulating ) it with Fo ( eg 1 Khz ) and then LP filter the demodulated ouput and subtracting this from the input of the preamp thus cancelling noise below Fo ( 1 Khz ) by negative feedback.

      In summary it could be called a demodulating negative feedback band pass amplifier.

      In this way any convolution products produced by non - linearity in the frontend of the RX ( clamping / amp overload etc ) are substantially blocked and prevent modulation of the desired frequency components ( 1 Khz upwards ) from being distorted by earth field or mains etc.

      You can see this preamp in the MAGPI 3 circuit. Even though this circuit uses active damping the preamp in that circuit will work on any PI including regular resistor type damping.

      The solution has been out there for some time... unfortunately lots of folk have missile lock on expensive low noise amplifiers as the solution to their problem.

      moodz.







      Comment


      • #78
        As soon as you mentioned it, I immediately remembered this article:
        https://www.analog.com/en/resources/...oaches%20zero.
        A long time ago I wanted to model this approach in LTspice using the ADA2200, but the spice model didn't have an .asy file and I never tried.
        You are now awakening my interest in this approach, which I put on the back burner many years ago.

        Comment


        • #79
          Yes I have seen that article it explains basically how to solve the problem.
          For modelling I used the free trial of MATLAB. But ltspice is fine for modelling the demodulating preamp.

          Comment


          • #80
            Although at second glance something worries me, something is wrong here. 10 us of response from the target corresponds to 100 kHz, on the other hand the cutoff frequency of the low-pass filter should be less than 1 kHz.
            Which in turn provides 1 kHz bandwidth of the source signal at best.
            Do you see the discrepancy?
            Such a design will only detect large objects. V.L.O.​

            Of course, there is another way - to transfer multiplication up, and to cut down all lower frequencies. (let say Fo=100 KHz with 150 - 250 KHz cutoffs?) the resulting signal wouldn't be resemble its original, it would be shape shifting transformation, and I think it will be difficult to distinguish a large object from a medium one.

            Comment


            • #81
              Originally posted by Aziraphel View Post
              Although at second glance something worries me, something is wrong here. 10 us of response from the target corresponds to 100 kHz, on the other hand the cutoff frequency of the low-pass filter should be less than 1 kHz.
              Which in turn provides 1 kHz bandwidth of the source signal at best.
              Do you see the discrepancy?
              Such a design will only detect large objects. V.L.O.​
              Not entirely sure what you are referring here .. however If you have a PI that works at 1Khz repetition ... lets say we have a equal turn off an on time ( ie square wave or symmetrical wave ) then the fundamental tranmit frequency ( ie lowest frequency the target sees ) is 1 khz ..... because we are transmitting a square wave ... we will also have every odd harmonic at a decreasing intensity ...
              1 Khz ( fundamental )
              3 Khz (3rd Harmonic )
              5 Khz (5th Harmonic )

              etc etc

              So the "bandwidth" extends from 1 Khz up to the 10 odd harmonic or so.

              But this is before you demodulate ...

              How fast can you sweep a target ???

              As the coil sweeps past the target ... it effectively modulates or distorts the TX signal ... the RX picks up this "distortion" and demodulates to recover a "target signal".
              Going back to the question above .. how fast can you sweep the coil ??
              The target modulation that needs to be detect probably tops out at 10 Hertz or so .... nowhere near 1 Khz.

              The filter mentioned above is a bandpass filter BEFORE demodulation so its not a low pass filter.

              Low pass filters might be applied AFTER demodulation.

              The target responses quoted in literature ( wrongly IMHO as they imply the target response is like a radar response which is completely different physics ) are TIME DOMAIN responses ...
              The filters we are discussing here are FREQUENCY DOMAIN filters ... not the same thing.

              ( note: the capitalisation is not yelling at you its to really emphasise the different terminology that applies in two different domains time and frequency )

              As an example I have a PI that only examines one frequency ( about 20 Khz ) ... it easily detects a .05 gram nugget ...so the assertion that only large targets may be detected is not quite right.

              You could write a whole book about this and two thirds would be taken up just explaining the signals before moving onto a practical circuit. For instance I did not touch on the phase changes that occur.

              moodz

              Comment


              • #82
                This may explain what is happening in the MAGPI 3 circuit for example. The amplifier A amplifies the signal from the RX coil however the only place the 1Khz LPF is in the feedback path ... so the noise ( earth field and EMI ) that is modulated onto the wanted signals ( target signals ) is not amplified by the amplifier. however the wanted signal is.

                The noise at the output never falls to zero ( or there would be no feedback signal to remove the noise LOL ) However for an amplifier gain of say 1000 .. the wanted signals will be amplified by 1000 but the gain applied to the unwanted noise will be aproximately 1..... so 1 millivolt of wanted signal will be 1 volt but 1 millivolt of EMI will still be 1 millivolt at the output of the amplifier.

                Click image for larger version

Name:	image.png
Views:	0
Size:	30.2 KB
ID:	436976

                Comment


                • #83
                  1.When designing a band-pass filter before demodulation, you need to find out what Spectrum the target signal has. When I mentioned the bandwidth, I meant the Spectrum of the target signal. If the target's constant time is 1u, then its Spectrum starts from 1 MHz and above.
                  Harmonics of the pump signal are the spectrum of the pump signal but not the target signal.

                  2.The filter you mentioned above as a band-pass filter BEFORE demodulation is definitely a high pass filter.
                  My problem is that after this filter, a clamping circuit to some level (for example, ground level) is needed.
                  Another problem is frequency-dependent phase shift in the filter.
                  And yes, the filters we are discussing here are frequency domain filters, but oddly enough, the way we process signals is time domain, we use integrators which are time domain tools.

                  3.Regarding the schematics you provided: this is my version. I think it’s less complicated, although with the same phase shift drawbacks
                  Click image for larger version

Name:	Untitled 1.jpg
Views:	0
Size:	61.3 KB
ID:	436983

                  Click image for larger version

Name:	Untitled 2.jpg
Views:	0
Size:	206.5 KB
ID:	436984

                  Comment


                  • #84
                    Originally posted by Aziraphel View Post
                    1.When designing a band-pass filter before demodulation, you need to find out what Spectrum the target signal has. When I mentioned the bandwidth, I meant the Spectrum of the target signal. If the target's constant time is 1u, then its Spectrum starts from 1 MHz and above.
                    Harmonics of the pump signal are the spectrum of the pump signal but not the target signal.

                    2.The filter you mentioned above as a band-pass filter BEFORE demodulation is definitely a high pass filter.
                    My problem is that after this filter, a clamping circuit to some level (for example, ground level) is needed.
                    Another problem is frequency-dependent phase shift in the filter.
                    And yes, the filters we are discussing here are frequency domain filters, but oddly enough, the way we process signals is time domain, we use integrators which are time domain tools.

                    3.Regarding the schematics you provided: this is my version. I think it’s less complicated, although with the same phase shift drawbacks
                    Click image for larger version  Name:	Untitled 1.jpg Views:	0 Size:	61.3 KB ID:	436983

                    Click image for larger version  Name:	Untitled 2.jpg Views:	0 Size:	206.5 KB ID:	436984

                    I dont think you understand what the problem we are solving is .... The target spectrum can only be in response to the TX signal .... A simple bandpass filter you propose can remove low frequency components but it cannot remove modulation components due to noise / earth field etc.

                    Below are two spectrums from a simple PI operating at 1 khz. One of the circuits is exposed to 60 Hertz mains hum .... you can see it in the primary spectrum spike at 60 Hertz but you can also see modulation sidebands on the components of the RX signal. The filter you propose will never remove the sideband modulation from the RX signal components.

                    The demodulating bandpass filter I use does solve this problem.

                    Click image for larger version

Name:	image.png
Views:	0
Size:	58.8 KB
ID:	436994

                    Comment

                    Working...
                    X