Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Motor Control Loop #13

Open
mrrosen opened this issue Apr 2, 2020 · 1 comment
Open

Implement Motor Control Loop #13

mrrosen opened this issue Apr 2, 2020 · 1 comment
Assignees
Labels
control Related to the Control Module/Realtime System Control enhancement New feature or request epic: e2e SetPoints

Comments

@mrrosen
Copy link

mrrosen commented Apr 2, 2020

Implement motor control loop for driving the motor during inhalation cycle. In most modes, the I:E, Respiration Rate and Volume set points define a fixed volume of air to be delivered to the patient in a fixed time.

@mrrosen mrrosen added enhancement New feature or request control Related to the Control Module/Realtime System Control labels Apr 2, 2020
@mrrosen
Copy link
Author

mrrosen commented Apr 2, 2020

Suggested control loop might be best implemented as a PID controller over the flow rate - calculating the set point based on Volume / I:E / Respiration Rate (so, if Volume is 300 mL, I:E is 1:2, and Respiration Rate is 10 BPM, target flow rate would be 150 mL/s). Thus, the current set point for flow rate would be 150 mL/s. After 300 ms, if 50 mL had been delivered, the set point would become 147 mL/s. From medically team, there is flexibility in the I:E ratio, so priority for set points is as follows: Volume, Respiratory Rate, I:E.

Current thought would be a update rate of 50 Hz (20ms) for the control loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
control Related to the Control Module/Realtime System Control enhancement New feature or request epic: e2e SetPoints
Projects
None yet
Development

No branches or pull requests

2 participants