Does anyone have an example of a circuit or code using a quadrature encoder to measure speed?
Hello Rafael!
A good starting point to learn about using quadrature encoder counter blocks in PLECS is the demo model called “Vector Control of an Induction Machine”. This demo model uses the QEP block from the TI C2000 TSP, but a similar model could be built using the QEP block from the STM32 TSP.
You can find the demo model in PLECS under Window→Demo Models→TI C2000 Target Support Demos→Motor Drives.
1 Like