Update simulink to include LPF, PLL, and observer#140
Update simulink to include LPF, PLL, and observer#140noguchi-takahiro wants to merge 63 commits into
Conversation
Co-authored-by: Eric Severson <eric.severson@wisc.edu>
Co-authored-by: Eric Severson <eric.severson@wisc.edu>
* Initial commit * Update readme * Update readme * Update readme * Add files * Update files * Changes * Changes * Update files * Get rif of scope image * Minor updates * Address review comments * Remove resources * Add back resources * Address review comments * Address review comments * Update index.md * Edit current sensor calibration method section * Edit calibration method section * Add section on Recalcilating current sensor offset * Clarify that we measure a voltage. * Edit conclusion * Update index.md * Update index.md * Address review comments * Update index.md * Update index.md * Update index.md * Apply suggestions from code review Co-authored-by: Eric Severson <eric.severson@wisc.edu> * Update source/getting-started/control-with-amdc/current-sensor-cal/index.md * Update source/getting-started/control-with-amdc/current-sensor-cal/index.md --------- Co-authored-by: Nathan Petersen <npetersen2@wisc.edu> Co-authored-by: Eric Severson <eric.severson@wisc.edu>
|
I have tried to simulate speed control using LPF, PLL, and Observer. Top level of SimulinkThere are three types of speed controller with 1) LPF, 2) PLL, and 3) Observer. Here are what each model looks like (see below). These controllers have the same speed controller, but only differences are how to compute the rotational speed LPFPLLObserverNotice that there is feedforward torque here. Speed control results:The speed controller is tuned with 100 Hz bandwidth. Interestingly, only observer approach works well without overshoots, while all controllers have the same bandwidth. This is likely due to the phase delay of low-pass filter and PLL. For now I am questioning if it would be useful to include this Simulink model? If so, how to organize them? Like maybe it would be helpful when the repo has three types of Reference model for LPF, PLL, and Observer, so that the AMDC users can easily switch them to use in practice? Any details are available in this m file. To run this, simply run it. |
|
@elsevers @Daehoon-Sung regarding the organization of the difference-equation-approach section, especially when we think about adding the PLL, we can just add that section as follows: This is because the both the low-pass filter and observer approaches are implemented based on that the angular speed These methods then filter or refine that initial signal On the other hand, the PLL approach aims to align the phase of the estimated signal with the one of the measured "angle"
|
|
@mhmokhtarabadi @knvprasad-dr @Daehoon-Sung I think the Simulink model is ready for your review. Could you review them? |
|
@mhmokhtarabadi @knvprasad-dr I wonder if you have had a chance to review this PR? The goal here is to to incorporate/reflect your knowledge from the work with Tim, and make sure the Simulink model we are adding here is accurately modeled. |
|
Everyone, I merged/published the baseline encoder doc. I'd like to soon get this one wrapped up and merged in. We will want to update the doc to explain and link to these files. |






This PR update simulink to include LPF, PLL, and observer, and update the Encoder Calibration article, especially Computing Speed from Position section to close #147