Hi there,
I am new here and actually studying mechanical engineering but I am very interested in robotics and at the moment I am doing a project that includes a high voltage solenoid driver circuit. My name is Chris.
Unfortunately there are a couple of problems and I don't get any further with my ideas or research so maybe some of you guys are able to help me.
The general setup looks like this:
It includes a small petrol engine and two solenoids that actuate the valves in that engine.
The actual problem seems to be the grounds or at least related to it.
The solenoid driver circuit looks like this:
And to understand the signal flow looks like this:
And the solenoids are endclosed by the engine like this:
A 5V signal at certain periods is generated by a PIC 18F452 and sent to the Solenoid Driver (the and gate in the solenoid driver) the AND gate then checks if the current limiting part of the driver circuit is giving out 5V as well and if so forwards the signal onto the mosfet driver which in turn activates the mosfet which then switches on the 120V and therefore activates the solenoid .
The problems arise now if the solenoid actuating frequency gets faster and faster. With a test solenoid (which is not in the engine but an external test rig) they run up to the desired frequency of 30 Hz but as soon as the solenoids in the engine are connected they only run up to a frequency of 12 Hz and then cause the PIC controller to crash OR reset. Therefore I think the problem is related to grounding.
I think that the solenoids somehow cant discharge quick enough and therefore feed back into the solenoid controller (PIC) but using an optocoupler in between didn't help either - which again leads to ground.
During testing I have already broken lots of AND gates, mosfets etc. The entire driver circuit seems to be not very reliable.
Do the solenoids discharge in a way that it crashes the PIC? Is the grounding layout not sufficient? Should I change the design of the driver circuit?
At the moment I am just a bit lost and would really appreciate any kind of comments. If I left out any details that are needed please let me know.
Thank you very much!
Chris
I am new here and actually studying mechanical engineering but I am very interested in robotics and at the moment I am doing a project that includes a high voltage solenoid driver circuit. My name is Chris.
Unfortunately there are a couple of problems and I don't get any further with my ideas or research so maybe some of you guys are able to help me.
The general setup looks like this:
It includes a small petrol engine and two solenoids that actuate the valves in that engine.
The actual problem seems to be the grounds or at least related to it.
The solenoid driver circuit looks like this:
And to understand the signal flow looks like this:
And the solenoids are endclosed by the engine like this:
A 5V signal at certain periods is generated by a PIC 18F452 and sent to the Solenoid Driver (the and gate in the solenoid driver) the AND gate then checks if the current limiting part of the driver circuit is giving out 5V as well and if so forwards the signal onto the mosfet driver which in turn activates the mosfet which then switches on the 120V and therefore activates the solenoid .
The problems arise now if the solenoid actuating frequency gets faster and faster. With a test solenoid (which is not in the engine but an external test rig) they run up to the desired frequency of 30 Hz but as soon as the solenoids in the engine are connected they only run up to a frequency of 12 Hz and then cause the PIC controller to crash OR reset. Therefore I think the problem is related to grounding.
I think that the solenoids somehow cant discharge quick enough and therefore feed back into the solenoid controller (PIC) but using an optocoupler in between didn't help either - which again leads to ground.
During testing I have already broken lots of AND gates, mosfets etc. The entire driver circuit seems to be not very reliable.
Do the solenoids discharge in a way that it crashes the PIC? Is the grounding layout not sufficient? Should I change the design of the driver circuit?
At the moment I am just a bit lost and would really appreciate any kind of comments. If I left out any details that are needed please let me know.
Thank you very much!
Chris