0% found this document useful (0 votes)
8 views1 page

Pid Control

The document outlines a system for managing pump priorities and activation sequences. It describes how a Priority array and a PumpOrder array are used to dynamically activate pumps, with priorities rotating every five cycles. Additionally, it mentions the ability to remap pump IDs and the system's flexibility to accommodate more pumps or cycles.

Uploaded by

autshop168
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Pid Control

The document outlines a system for managing pump priorities and activation sequences. It describes how a Priority array and a PumpOrder array are used to dynamically activate pumps, with priorities rotating every five cycles. Additionally, it mentions the ability to remap pump IDs and the system's flexibility to accommodate more pumps or cycles.

Uploaded by

autshop168
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Explanation:

1. Priority Management:
o A Priority array tracks the current priority of each pump.
o A PriorityCounter array tracks how many times each pump has been at its
current priority.
o After cycling 5 times, the priority is shifted, and the pump's position in the
PumpOrder is updated.
2. Pump Order Update:
o The PumpOrder array determines the activation sequence of pumps for the current
cycle.
o Priorities are rotated after every 5 cycles for each pump.
3. Dynamic Activation:
o Pumps are activated in the order specified by the updated PumpOrder array, based
on the value of NB_pump.
4. Remapping with BB:
o The pump IDs are dynamically remapped if BB = 1, as specified in your
requirements.
5. Flexibility:
o The program dynamically adjusts the activation order and can scale if more
pumps or cycles are added.

Let me know if you need further enhancements!

You might also like