Abstract
Fuzzy control belongs to the category of intelligent control, which has outstanding control advantages for more complex systems. Firstly, based on Matlab sltank fuzzy control system, a data extraction model has been established in this paper. By running the model, a number table can be obtained. Secondly, the number table is embedded into the two-dimensional lookup table module, and the C code is generated by real time workshop (RTW) function. Finally, the interpolation principle analysis is carried out, and the interpolation algorithm of two-dimensional lookup table is embedded into the MCU for testing. The real-time test results show that the interpolation result of the MCU is consistent with the off-line simulation result, and the real-time control of the MCU can be guaranteed.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.