Announcement

Collapse
No announcement yet.

PI metal detector for really small nuggets

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

  • My current version of the TX circuit

    Attached Files

    Comment


    • Originally posted by eclipse View Post
      My current version of the TX circuit

      eclipse, I think you'll find it difficult to fire off Q1 and Q2 after the first pulse through each... that is unless IC1 survives!! I take that back IC1 just may survive! It might be safer to diode clamp IC1 pin 7(cathode) and pin 5(cathode) to -BAT (anodes).

      Comment


      • IC2 overheats and dies /magic smoke/. Tx is ON for 100us in 1ms cycle. Sync is altering - one cycle (1ms) is low and the next (1ms) is high.
        TX1 is ON one cycle, TX2 is ON the 2nd cycle, then repeat.
        I've made small delay for TX ON (2us) to make sure we're not rushing to turn on the N mosfets too soon but I didn't help.

        SIM.zip

        Click image for larger version

Name:	sim.png
Views:	1
Size:	10.4 KB
ID:	359313
        Last edited by eclipse; 03-08-2021, 05:05 PM. Reason: Added Ltspice sim

        Comment


        • Originally posted by eclipse View Post
          IC2 overheats and dies /magic smoke/. Tx is ON for 100us in 1ms cycle. Sync is altering - one cycle (1ms) is low and the next (1ms) is high.
          TX1 is ON one cycle, TX2 is ON the 2nd cycle, then repeat.
          I've made small delay for TX ON (2us) to make sure we're not rushing to turn on the N mosfets too soon but I didn't help.

          [ATTACH]54641[/ATTACH]

          [ATTACH]54642[/ATTACH]
          That surprised me... but the more I think about it IC2 has the same risk (just opposite polarity of the capacitively coupled HV pulse). You may also need to diode clamp IC2 pins 7 and 5 (anode(s)) to GND(cathodes).

          Comment


          • Originally posted by KingJL View Post
            That surprised me... but the more I think about it IC2 has the same risk (just opposite polarity of the capacitively coupled HV pulse). You may also need to diode clamp IC2 pins 7 and 5 (anode(s)) to GND(cathodes).
            Eclipse, how are you driving TX3?

            Comment


            • I have level shifter to shift +3V3/GND from the MCU to GND/-BAT

              Attached Files

              Comment


              • Originally posted by eclipse View Post
                I have level shifter to shift +3V3/GND from the MCU to GND/-BAT

                Have you checked the condition of Q11? There is a possibility of excessive base current that may have occurred and may have damaged the part. But, that should not have caused IC2 to generate the magic smoke!
                Last edited by KingJL; 03-08-2021, 11:29 PM. Reason: added additional comment

                Comment


                • My currently preferred method of driving an H-Bridge is with analog switches. While you can use 4053-types the DG469 is my favorite, 6 ohms max and up to 44V on the rails. Yes, I have run the TX supply that high. And the logic input is 3V-compatible. No level shifting or translation required.

                  There is a simple way of getting rid of the SPDTs on the NMOS devices, bonus points if anyone figures it out.

                  Attached Files

                  Comment


                  • Carl, would you mind me asking how are you powering the 4053's ?, thanks.

                    Comment


                    • Originally posted by 6666 View Post
                      Carl, would you mind me asking how are you powering the 4053's ?, thanks.
                      Directly off the TX supply rails.

                      Comment


                      • Originally posted by Carl-NC View Post
                        There is a simple way of getting rid of the SPDTs on the NMOS devices, bonus points if anyone figures it out.
                        you mean this ??
                        Click image for larger version

Name:	HBridge.jpg
Views:	1
Size:	20.8 KB
ID:	359324

                        or simpler ??
                        Click image for larger version

Name:	HBridge2.JPG
Views:	1
Size:	19.8 KB
ID:	359325
                        Last edited by Xtrem; 03-09-2021, 09:20 AM. Reason: ...

                        Comment


                        • Originally posted by Carl-NC View Post
                          Directly off the TX supply rails.

                          Thank you.

                          Comment


                          • I have not had experience with H bridge circuits in a PI, but a couple of points may be relevant. It is not marked on the schematic, but are Q3 and Q4 IRF530's? If so, all devices are BD(Vdss) of 100V and all will be subject to avalanche conditions, subject to coil data. I have learned quite a bit about avalanche in Mosfets just lately and generally speaking many papers say it is a condition best avoided. The nearest equivalent I have is a P7N10 which is also a 100V device. My coil and cable is 5.8ohms and the inductance is 330uH. Supply volts is 12V and max pulse current is 1.8A. With 100V breakdown the device takes 7uS to switch to zero current, which is slow for PI. This might have implications for an H bridge circuit and cause overlap between the two states. Click image for larger version

Name:	Scan_20210309.jpg
Views:	1
Size:	547.2 KB
ID:	359326 Notice the long plateau on the green trace at 100V; taken with a x100 probe. Compare with a 500V device P9N50 Click image for larger version

Name:	Scan_20210309 (3).jpg
Views:	1
Size:	564.4 KB
ID:	359327. It still avalanches, but only for a short period and switchoff is about 2.5uS.

                            The other point which KingJL may have alluded to is what is called 'shoot through'. When, say, Q2 and Q4 turn off the high voltage will appear on the drain of Q3. This will be coupled via Cgd and turn Q3 on. Quite what will happen with the avalanching noise is anyone's guess, but likely the flyback voltage, will find its way to pin 7 of the driver. Same situation for the other side. Would not suitable zener diodes across all 10K resistors be an idea worth trying?

                            There is quite a bit of information on the Internet by Googling 'H-bridge driver with shoot through protection'. In the worst case, everything smokes. There are, however, drivers that have protection.

                            Eric.

                            Comment


                            • I've came up with these improvements, based on your feedback, I will try those next:

                              * Switch TX (N mofsets) 10uS after the P switches /currently 2us/
                              * Protection diodes on driver outputs
                              * Alter turn on/off times for P switches to avoid overlap (slower turn on, faster turn off) with antiparallel diode on the mosfet gate resistor
                              * Decoupling caps for both mosfet drivers /currently lacks of any/

                              Comment


                              • Originally posted by Xtrem View Post
                                you mean this ??
                                [ATTACH]54654[/ATTACH]

                                or simpler ??
                                [ATTACH]54655[/ATTACH]
                                Close, but now you can't turn off all 4 FETs. It would work for a continuous VLF transmitter, though.

                                Comment

                                Working...
                                X