Analog hall effect sensor could be used for "ram" position measurement, only needs a small magnet and it would be a solid state measurement. I don't remember the model I used but it was TO-92 package and analog 0-5 v output, very cheap part. Using arduino is not ideal if high precision timing is required, problem is the language itself, of course it is possible to get close with clever use of interrupts and inline ASM, but I guess you already know all this.
Well, if you guys like to run blind, that's ok with me. Yeah, it isn't necessary, you could always do it the way you always have. That's not a way to progress, in my opinion. One could, with adequate internal sensors have the peak air efficiency for a projectile, by measuring what's going on. Or dial in the exact FPE you want. The computer would adapt the dwell time to the existing air pressure to maintain consistent shots. Whatever. Just because you kill the pulse to the solenoid, doesn't mean you know it's position. Postulating what happens is not the same as measuring and knowing what happens. My two cents. Spend them as you may
I must be missing something, I still don't understand what closes the pilot valve to allow repressurization of the main valve to close it.... Bob
In the drawing the "purple" piece that switches the flow is not shown attached to the armature of the solenoid, but "drawn" towards it because it is made of magnetic material.... I'm hoping the OP will explain, rather than us guessing.... Bob
Looking at the picture, that slide valve for the pilot will never work! There is no way and no how to move the slide against the full reservoir pressure, when the pressure is pushing it sideways against the port wall where it is sealing the port, if you get it to seal in the first place. You have pressure in the end of the magnetic piece and at the side. With an air gap to the coil. No bueno. Let's assume 4mm sealing solenoid plunger port and at 300bar you are seeing 376N of force on the sealing surface. So basically you are trying to move a 37kg with a tiny solenoid. Given my rough calculations are correct. Marko