Shop OBEX P1 Docs P2 Docs Learn Events
need help with pwm variable tables — Parallax Forums

need help with pwm variable tables

sport270sport270 Posts: 82
edited 2013-12-27 20:29 in Propeller 1
Using a prop kick start board to control two 4port 3 position hydraulic valves. Have 0-5v dc sensors for positioning. And compared to two control pots 0-5vdc . Have to output to separate in/out solenoids to maintain position. Need help with variable pwm output for proportional control. Was using just on/off if sensor was +/- of control pot. But it overshot so much it hunted or oscillated so much it broke the mounting frame. ...ugh

Comments

  • cmeehancmeehan Posts: 8
    edited 2013-12-27 17:20
    Hi,

    I haven't worked with solenoids other than on/off.
    I use PWM2C_SEREngine.spin to control servos. If you figure out approximately where the PWM signal need to be you could set it at that position, and then read the pots to fine tune it.

    Hope this helps.
    Chris
  • JonnyMacJonnyMac Posts: 9,107
    edited 2013-12-27 17:54
    It would be useful to know the specs on the valves you're wanting to control.
  • kwinnkwinn Posts: 8,697
    edited 2013-12-27 20:29
    The 3 position valves do not provide precise enough control for accurate positioning. What you probably need are servo hydraulic valves and the electronics to control them. Moog is the manufacturer I am familiar with, but there are others.
Sign In or Register to comment.