Shop OBEX P1 Docs P2 Docs Learn Events
Newbie project, to big I guess — Parallax Forums

Newbie project, to big I guess

ArchiverArchiver Posts: 46,084
edited 2004-02-01 21:22 in General Discussion
I got so far that I have 1-wire system working with two DS18S20
providing temperatures. Now, controlling a water pump connected to a
Heat exchanger I want to make sure that I keep a certain diff temp
over the inlet and outlet on the primary side. So my program is
caculating the diff temp.
Well, the pump is a 220V and my idea is to have a Diac/Triac
connected to be able to control the speed (read flow).
So, I understand that with a voltage output and a separate OP I can
control the D/Triac and motor speed.
But, any idea for the code for a PI controller.

Any input is appreciated.

Thanks

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-02-01 20:07
    Considering your goal, you should probably read our "Industrial Control"
    text -- I think you'll find it quite helpful.

    http://www.parallax.com/dl/docs/books/edu/ic.pdf

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: lars505050 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=hcschiRAriSVRMK6fvgr7piYM0CLW9qmnLomrF1EH2qOyfHEMZuAUMLuG_g-fDQvomduOLO65p_NBQ]ls@l...[/url
    Sent: Sunday, February 01, 2004 1:53 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Newbie project, to big I guess


    I got so far that I have 1-wire system working with two DS18S20
    providing temperatures. Now, controlling a water pump connected to a
    Heat exchanger I want to make sure that I keep a certain diff temp
    over the inlet and outlet on the primary side. So my program is
    caculating the diff temp.
    Well, the pump is a 220V and my idea is to have a Diac/Triac
    connected to be able to control the speed (read flow).
    So, I understand that with a voltage output and a separate OP I can
    control the D/Triac and motor speed.
    But, any idea for the code for a PI controller.

    Any input is appreciated.

    Thanks
  • ArchiverArchiver Posts: 46,084
    edited 2004-02-01 21:22
    lars505050 wrote:

    >I got so far that I have 1-wire system working with two DS18S20
    >providing temperatures. Now, controlling a water pump connected to a
    >Heat exchanger I want to make sure that I keep a certain diff temp
    >over the inlet and outlet on the primary side. So my program is
    >caculating the diff temp.
    >Well, the pump is a 220V and my idea is to have a Diac/Triac
    >connected to be able to control the speed (read flow).
    >So, I understand that with a voltage output and a separate OP I can
    >control the D/Triac and motor speed.
    >But, any idea for the code for a PI controller.
    >
    >Any input is appreciated.
    >
    >Thanks
    >
    >Hmmmm well i am thinking your pump motor is AC and you may find that
    controlling the speed
    >
    a bit difficult . A simple on / off with a solid state relay
    will probably be a lot easier . As for flow / volume control

    consider two pumps one large one small or solenoid controlled
    bypass valves .

    Good Luck !!


    >
    >
    >
    >
    >
    >
Sign In or Register to comment.