tynnor
Junior Member level 1
Hello
I face to a recurrent problem when I program a microcontroller with a lof of actuators. In order, to limit the power supply's size, I allow the user to use only a few of them in the same time. It is easy when there are only 2 or 3 actuators maximum. But it becomes complicated to manage when the number growth.
Just to highlight the problem, let say I have actuators A, B, C and D.
The power supply size allows to use, in the same time :
In order to find literature, is there a name for this kind of issue ?
I don't find an efficient and evolving way to do this
I am programming in C++ on a STM32G4 with HAL, so if you know any design pattern relative to this issue, you are welcome
Thanks for your help !
I face to a recurrent problem when I program a microcontroller with a lof of actuators. In order, to limit the power supply's size, I allow the user to use only a few of them in the same time. It is easy when there are only 2 or 3 actuators maximum. But it becomes complicated to manage when the number growth.
Just to highlight the problem, let say I have actuators A, B, C and D.
The power supply size allows to use, in the same time :
- A only
- B and C
- D only
- ...
In order to find literature, is there a name for this kind of issue ?
I don't find an efficient and evolving way to do this
I am programming in C++ on a STM32G4 with HAL, so if you know any design pattern relative to this issue, you are welcome
Thanks for your help !