Announcement

Collapse
No announcement yet.

PI CHIP

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

  • #76
    Moodz
    thanks for post #66 with the cut down surf cct
    this is good info on the pulse connections etc

    please keep up your great work

    Comment


    • #77
      Hi Moodz,

      I have found that by getting the coil damping right it will increase the depth to which a nugget will be detected in air, what you have done is given it automatic adjustability, i think this will help no-end and should give us a few more nugg's per trip out.

      The fact that you can make most parts of a detector "Adjustable" in my book is the way to go, it's the only way we will find our ultimate detector and in most places we detect on the ground changes in form within 10-20 steps so an ever changing- rearranging detector seems the way to go.

      Like your work, Ron

      Comment


      • #78
        Originally posted by 6666 View Post
        Moodz
        thanks for post #66 with the cut down surf cct
        this is good info on the pulse connections etc

        please keep up your great work
        Thanks 66 I will breadboard a practical circuit and publish.
        cheers and best regards,
        moodz.

        Comment


        • #79
          Originally posted by authere View Post
          Hi Moodz,

          I have found that by getting the coil damping right it will increase the depth to which a nugget will be detected in air, what you have done is given it automatic adjustability, i think this will help no-end and should give us a few more nugg's per trip out.

          The fact that you can make most parts of a detector "Adjustable" in my book is the way to go, it's the only way we will find our ultimate detector and in most places we detect on the ground changes in form within 10-20 steps so an ever changing- rearranging detector seems the way to go.

          Like your work, Ron
          Thanks Ron ... It will probably be a pushbutton to "auto damp" the coil for fine target resolution.

          Regards,

          moodz.

          Comment


          • #80
            Originally posted by moodz View Post
            Hex file of v23 for your continued enjoyment.

            [ATTACH]15907[/ATTACH]

            Hi Moodz,
            Congratulations! This approach dsPIC looks quite interesting and I'm considering to try it.
            In past I did some attempts with an old PIC but it was too slow to get relevant data.
            Would be possible for you to share your source code?
            King regards,
            XiX

            Comment


            • #81
              Originally posted by xix View Post

              ...... I'm considering to try it.

              Would be possible for you to share your source code?
              You can try all with hex file which moodz very kindly (much than expected) share with us.

              You do not need source code to try it.

              Kind regards
              WM6

              Comment


              • #82
                Originally posted by WM6 View Post
                You can try all with hex file which moodz very kindly (much than expected) share with us.

                You do not need source code to try it.

                Kind regards
                WM6

                Thanks WM6.
                My idea was trying to use my old board with this new chip and for that I'd need to a different Port mapping on the software
                Cheers,
                XiX

                Comment


                • #83
                  Originally posted by xix View Post
                  Thanks WM6.
                  My idea was trying to use my old board with this new chip and for that I'd need to a different Port mapping on the software
                  Cheers,
                  XiX
                  Challengeing approach. Wish you all success. You can find a lot of supporting info in whole moodz project here:

                  http://www.geotech1.com/forums/forumdisplay.php?f=57

                  Comment


                  • #84
                    Originally posted by WM6 View Post
                    Challengeing approach. Wish you all success. You can find a lot of supporting info in whole moodz project here:

                    http://www.geotech1.com/forums/forumdisplay.php?f=57

                    Thanks
                    KR,
                    XiX

                    Comment


                    • #85
                      UNIPI Universal PI Controller V3

                      UNIPI now moved to slightly bigger chip .... dspic30F4011. Forty pin DIP so easy to solder

                      4 sample pulse lines now .... works in Goldscan Circuit ...
                      Each pulse line can have individually settable ON and OFF times during or after TX pulse in 66 ns step resolution.

                      Dynamic control of coil damping. Optimise coil damping at the press of a button.

                      Crystal Clock option.
                      More buttons.
                      Real Serial port.

                      All features in UNIPI v230 still included.

                      Click image for larger version

Name:	UNIPIV300.JPG
Views:	1
Size:	254.4 KB
ID:	329381

                      Comment


                      • #86
                        Originally posted by moodz View Post

                        UNIPI now moved to slightly bigger chip .... dspic30F4011. Forty pin DIP so easy to solder
                        Great moodz, this is for us old fashioned boys. Probably new hex file too?

                        Comment


                        • #87
                          Originally posted by WM6 View Post
                          Great moodz, this is for us old fashioned boys. Probably new hex file too?
                          Just testing the code then will release hex file.

                          Comment


                          • #88
                            New hex file for v23 dspic30f4012

                            Fixes ...

                            1. found a bug in the timer interrupt code .. not serious ... fixed now.

                            Upgrades ...

                            1. Code runs twice as fast .. more samples = less noise.

                            2. 16 bit resolution on target ADC ... min 18 bit on SAT.

                            3. Auto SAT tracking ... much more stable.


                            moodz

                            Metal23hex.zip

                            Comment


                            • #89
                              YAU ... yet another update dspic 30f4012

                              fixed floating point error on serial port data ... gave wrong pulse timings.
                              now OK on LCD and serial.
                              fixed erratic rotary switch LCD menu selection ... very smoooooth now.

                              dump from UNIPI serial port console session ...

                              >
                              Enter a command : eg A1234 sets Tx freq count to 1234

                              Universal PI chip by Moodz v2.0
                              S: Save all vars to EEPROM
                              R: Read all vars from EEPROM
                              CHECKSUM: RAM = -24078 EEPROM = -15692
                              STATUS:
                              X: CPU Ref Clock : 4 X 7370.000 Khz = 29.480 Mhz
                              PWM Step is 33.921 Nanosecond
                              A: TX FREQUENCY : Count = 7370 Freq = 4.000 Khz Period = 250.000 usec
                              B: TX PRIMARY PULSE : Count = 5896 Duty = 100.000 usec
                              C: TX DESCRIM PULSE : Count = 230 Duty = 3.901 usec
                              PWM3 TARGET level : Count = 7378 Duty = 125.136 usec
                              E: SAMPLE PULSE 1 ON : Count = 406 ON = 110.176 usec
                              F: SAMPLE PULSE 1 OFF : Count = 440 OFF = 119.403 usec width = 9.227 usec
                              G: SAMPLE PULSE 2 ON : Count = 599 ON = 162.551 usec
                              H: SAMPLE PULSE 2 OFF : Count = 699 OFF = 189.688 usec width = 27.137 usec
                              K: TARGET PWM scale : 15
                              ADC sample = 4103 [0.156518 Volts]
                              ADC SAT sample = 4111 [0.156823 Volts] DIFF = 8 [0.000305 Volts]
                              M: AUDIO freq range count = 65535
                              SELECT Button: 1 ZERO Button: 1 SAT LOCK Button: 1
                              >
                              Enter a command : eg A1234 sets Tx freq count to 1234

                              Universal PI chip by Moodz v2.0
                              S: Save all vars to EEPROM
                              R: Read all vars from EEPROM
                              CHECKSUM: RAM = -24086 EEPROM = -15692
                              STATUS:
                              X: CPU Ref Clock : 4 X 7370.000 Khz = 29.480 Mhz
                              PWM Step is 33.921 Nanosecond
                              A: TX FREQUENCY : Count = 7370 Freq = 4.000 Khz Period = 250.000 usec
                              B: TX PRIMARY PULSE : Count = 5896 Duty = 100.000 usec
                              C: TX DESCRIM PULSE : Count = 230 Duty = 3.901 usec
                              PWM3 TARGET level : Count = 7370 Duty = 125.000 usec
                              E: SAMPLE PULSE 1 ON : Count = 406 ON = 110.176 usec
                              F: SAMPLE PULSE 1 OFF : Count = 440 OFF = 119.403 usec width = 9.227 usec
                              G: SAMPLE PULSE 2 ON : Count = 599 ON = 162.551 usec
                              H: SAMPLE PULSE 2 OFF : Count = 699 OFF = 189.688 usec width = 27.137 usec
                              K: TARGET PWM scale : 15
                              ADC sample = 4112 [0.156862 Volts]
                              ADC SAT sample = 4111 [0.156823 Volts] DIFF = -1 [-0.000038 Volts]
                              M: AUDIO freq range count = 65535
                              SELECT Button: 1 ZERO Button: 1 SAT LOCK Button: 1
                              >

                              Comment


                              • #90
                                very small bug fix

                                version in serial output was hard coded string at v 2.0 now fixed and gets correct version info from config file in source code ...

                                38 microvolt sensitivity from a 10 bit ADC

                                >
                                Enter a command : eg A1234 sets Tx freq count to 1234

                                MooDz UNIPI v230
                                S: Save all vars to EEPROM
                                R: Read all vars from EEPROM
                                CHECKSUM: RAM = -30752 EEPROM = -20
                                STATUS:
                                X: CPU Ref Clock : 4 X 7370.000 Khz = 29.480 Mhz
                                PWM Step is 33.921 Nanosecond
                                A: TX FREQUENCY : Count = 7370 Freq = 4.000 Khz Period = 250.000 usec
                                B: TX PRIMARY PULSE : Count = 0 Duty = 0.000 usec
                                C: TX DESCRIM PULSE : Count = 230 Duty = 3.901 usec
                                PWM3 TARGET level : Count = 7371 Duty = 125.017 usec
                                E: SAMPLE PULSE 1 ON : Count = 0 ON = 0.000 usec
                                F: SAMPLE PULSE 1 OFF : Count = 0 OFF = 0.000 usec width = 0.000 usec
                                G: SAMPLE PULSE 2 ON : Count = 65535 ON = 17784.260 usec
                                H: SAMPLE PULSE 2 OFF : Count = 65535 OFF = 17784.260 usec width = 0.000 usec
                                K: TARGET PWM scale : 15
                                ADC sample = 4104 [0.156556 Volts]
                                ADC SAT sample = 4105 [0.156595 Volts] DIFF = 1 [0.000038 Volts]
                                M: AUDIO freq range count = 65535
                                SELECT Button: 1 ZERO Button: 1 SAT LOCK Button: 1
                                >

                                Comment

                                Working...
                                X