EmbeddedRelated.com

Xavier Pacheco (@XaviPacheco)


Re: Help designing Embedded PI Controller

Reply posted 6 years ago (11/22/2018)
Many thanks. For the update time, I just set an appropiate prescaler and counter for the timer. For example, with a prescaler of 9 and counter of 63999, I get a...

Re: Help designing Embedded PI Controller

Reply posted 6 years ago (11/21/2018)
OK. Thank you. I will see what I can do. So far, my controller is working good, except for the start/stop conditions. I will appreciate if you modify again my original...

Re: Help designing Embedded PI Controller

Reply posted 6 years ago (11/21/2018)
About the dt term, yes, I'm overlooking it for now because I'm still not sure how to include it.What I'm looking for is this:At startup (motor stopped), the setpoint...

Re: Help designing Embedded PI Controller

Reply posted 6 years ago (11/21/2018)
You're right. My pulses are not perfectly spaced. My lowest speed was 250 RPM, but the system is unstable here. Then I increased it to 300 RPM and now the system responds...

Re: Help designing Embedded PI Controller

Reply posted 6 years ago (11/18/2018)
Thank you. I did not mention that the speed is being calculated using Input Capture Mode interrupt. I mean, the interrupt callback gives me the wheel frequency and...

Help designing Embedded PI Controller

New thread started 6 years ago
I'm designing an embedded PI controller using a STM32 Nucleo board. In the PWM configuration, a 0 means 0% duty and 800 means 100% duty. The objetive is to regulate...

Use this form to contact XaviPacheco

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address