Hello roderico! I have a question. I can’t find Pic18f25k22. Can I use Pic18f26k22 instead of 25? I have the opportunity to buy it. Thank you!
Announcement
Collapse
No announcement yet.
VDI-RODERICO
Collapse
X
-
Originally posted by SWL View PostHello roderico! I have a question. I can’t find Pic18f25k22. Can I use Pic18f26k22 instead of 25? I have the opportunity to buy it. Thank you!
I can answer that.
The difference between them is the F26K22 has twice as much memory so yes, the PIC18F26K22 will work. You will need to start with Roderico's Source code and create a project in MPLAB X for the 26K22 then build to produce the Hex file.
Comment
-
Roderico, Here is the Scope plot with the Furnace running. Also the X-Y plot when furnace is not running.
Comment
-
-
Originally posted by waltr View PostRoderico, Here is the Scope plot with the Furnace running. Also the X-Y plot when furnace is not running., X and Y have ~ the same amplitude, ~10Hz and are ~90 phase-shifted, so a Lissajous curve (circle for 90) produced by the furnace
Comment
-
Originally posted by SWL View Post128х64 ks0108.... PCB has already mocked up
Hope this helps.Attached Files
Comment
-
Originally posted by SWL View Post128х64 ks0108.... PCB has already mocked up [ATTACH]49310[/ATTACH]
Comment
-
I did a quick test with a TL431 as 2.5V voltage reference and it is a little more stable but the resistor divider should be fine, the flickering comes from X and Y, i.e if it does not come directly from the coil then it is generated in the path to the ADC input, e.g. some filtering might be needed, reduce the gain, etc. nevertheless the diode is a better approach IMO than the resistor divider for the Vrange/2 reference.
Comment
-
Originally posted by roderico View PostI did a quick test with a TL431 as 2.5V voltage reference and it is a little more stable but the resistor divider should be fine, the flickering comes from X and Y, i.e if it does not come directly from the coil then it is generated in the path to the ADC input, e.g. some filtering might be needed, reduce the gain, etc. nevertheless the diode is a better approach IMO than the resistor divider for the Vrange/2 reference.
Interesting. Any 'noise' not coming from the coil might be reduced with better Reference of the op-amps and ADC.
Noise coming into the coils is tougher and possibly nothing can be done to reduce it. The two differential amp stages are 'Bandpass' filters centered around 11Hz.
Did get out yesterday and away from AC Mains the ADC center values flicker about 5-6 counts. Maybe better ref, op amps, etc could reduce this but probably not worth the effort since the VDI does work rather well and has been very helpful addition to the TGSL especially in the Iron junk rich farm site.
Something I did play with is looking at the VDI numbers with varying the DISC control. At farm sites I keep the DISC nearly all the down and not DISC out foil whereas in Parks I turn the DISC up to remove foil. This does change the VDI numbers but makes sense when thinking about what the DISC does.
With the VDI one can leave the DISC below foil and note a low VDI number, ~10, is Foil. Or if turning the DISC up to eliminate foil the VDI numbers for other target decrease by about 10. Example is Brass gun shells that VDI around 38-45 drop to 28-35.
Nothing wrong here, just noting how the VDI and the TGSL (IDX would be similar) works.
Comment
-
Originally posted by waltr View PostInteresting. Any 'noise' not coming from the coil might be reduced with better Reference of the op-amps and ADC.
Noise coming into the coils is tougher and possibly nothing can be done to reduce it. The two differential amp stages are 'Bandpass' filters centered around 11Hz.
Originally posted by waltr View PostDid get out yesterday and away from AC Mains the ADC center values flicker about 5-6 counts. Maybe better ref, op amps, etc could reduce this but probably not worth the effort since the VDI does work rather well and has been very helpful addition to the TGSL especially in the Iron junk rich farm site.
Originally posted by waltr View PostSomething I did play with is looking at the VDI numbers with varying the DISC control. At farm sites I keep the DISC nearly all the down and not DISC out foil whereas in Parks I turn the DISC up to remove foil. This does change the VDI numbers but makes sense when thinking about what the DISC does.
With the VDI one can leave the DISC below foil and note a low VDI number, ~10, is Foil. Or if turning the DISC up to eliminate foil the VDI numbers for other target decrease by about 10. Example is Brass gun shells that VDI around 38-45 drop to 28-35.
Nothing wrong here, just noting how the VDI and the TGSL (IDX would be similar) works.Attached Files
Comment
Comment