Need ideas on 2 line PID controller , I think?
sport270
Posts: 82
I have 2 hydraulic cylinders for motion control. They are both controlled by 4port 3 way proportional valves. Each valve assembly has 2 solenoid ( one for out, one for in). I need a control that reads a sensor and compares it to a set point and then if above or below determines which solenoid to send a pwm output that is proportional to the error. And I need to control 2 circuits like this simultaneously. Will be on 12v automotive type application.
Comments
I would imagine a PCB would include a propeller, solenoid control and various D/a A/d ic's including Voltage references for precision / accuracy. The code would be simple then again your post is brief.
Good day.
I wonder how a regular DC motor amplifier would work, using diodes to switch between the two opposing solenoids. This experiment is on my own to-do list.
Question: Are you looking to control the position/velocity of the cylinders or the spool position of the prop-valve?
However, if the two cylinders need to be in sync or follow a particular motion profile, you will need something more sophisticated.