Student-supervisor cooperation was carried out to design the inter-subject final year project reported in this paper. According to the student feedback, this approach allowed gathering his main interests-vector control, microcontroller programming and wind power generation-together, therefore reinforcing his motivation towards his final year project and making him feel particularly responsible for its outcome. Microcontroller-based hardware-in-the-loop emulation made possible to combine the three afore-cited student interests. In this context, the virtual prototype of a currentcontrolled wind turbine-driven 2-MW permanent-magnet synchronous generator is presented, along with the pseudo-code corresponding to the permanent-magnet synchronous generator speed control algorithm programmed in an 8-bit microcontroller. In addition, tuning formulas are derived for the digital integral-proportional controllers commanding both the permanent-magnet synchronous generator current and speed. Detailed descriptions are provided in order to guarantee reproducibility. Implementation of the hardware-in-the-loop rig is also tackled, supported by illustrative results obtained when running it. The developed hardware-in-the-loop rig is considered
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.