7/22/2011 12:39 AM | |
Posts: 4 Rating:
|
i have 4 vac pumps maintaining a target value. im using analogue thresholds as set points to switch on each individual pump when required after a set delay. i wish to improve this circuit by rotating which pump starts first. my thinking was to give each pump a count value , putting this value into analog maths and comparing each value then switch on the 1 with the least count first and incrementing its count etc im just not sure how to implement this.any help please
Attachment4 VAC PUMP.zip (531 Downloads) |
8/7/2011 1:43 PM | |
Posts: 4 Rating:
|
ok sorry if my first question wasnt clear enough,let me try again.i have included a revised attachment of my original circuit removing some of the unnessesary clutter.this circuit supplies a constant vacumn (without a reciever ) so one vac pump will be on constantly. as demand increases more and more pumps are switched on and as it decreases pumps are switched off. there is a time delay between 1 pump switching on and the next one to allow the circuit to settle and the switch on and off values on each pump are different to add a bit hysterisis. so thats how my cicuit works and thats fine but i thought there was room for improvement and that would be instead of pump1 on all the time they should all have a turn at being the lead pump say every hour changing which pump is the one that runs constantly and then changing the order of which pumps switch on as demand increases. at first it looked like a shift register would do the job but a shift register can ony swich one output on and there would be times when i need more than 1 pump on so im now thinking i could add a counter to each pump and increase its count every time it gets switched on compare the values of the count to decide which pump lands up being the one that gets switched on for the next hour....this is where i need help as i havent quite figured it out yet .either the circuit or how to do it. but essentially im trying to rotate the order of the lead pump and the order the other three will come on. any help would e appreciated
Attachment4 VAC PUMP_rev1.zip (526 Downloads) |
8/8/2011 12:31 PM | |
Posts: 495 Rating:
|
Which base module are you using? 0BA6? |
8/8/2011 1:15 PM | |
Posts: 495 Rating:
|
I created a program for you. The shift register switches the pumps on and off. If only one pump is working, another circuit will be activated. This circuit switches a pump on and after a setable time the next pump will be started. I labeled the function block in which you can change the time... For simulation I used 10 seconds. Please test it and give feedback! AttachmentVAC_PUMP_V2.zip (618 Downloads) |
Follow us on