File Exchange

image thumbnail

Affordable and Portable DC Motor Laboratory Kit for Control Systems

version 1.0.0.0 (54.3 KB) by Rebecca Reck
Simulink Models to control a DC Motor with a Raspberry Pi.

4 Downloads

Updated 14 Jun 2016

View License

Our affordable and portable laboratory kit provides a versatile platform for engineering experiments in control systems courses. This kit was developed as part of my dissertation research at the University of Illinois at Urbana-Champaign. The models provided here are for a proportional and a proportional plus speed closed loop control of a DC motor. The kit includes a Raspberry Pi, an H-Bridge (L239D), an ADC (MCP3002), a potentiometer, and other 3D printed parts.
Learn more at http://rebeccaee.com/labs

https://youtu.be/kc52rvpZ5Mk

Comments and Ratings (4)

Alex83

Hi, I am quite new to MCP interfaces in Matlab / Simulink and I was very happy that you programmed such a helpful program. Unfortunately I have trouble to get the MCP3002 Interface to run. Is there a chance to get a step-by-step tutorial information how to run the program? Where do I have to copy the libraries? what should I do If thinking of a quite fresh Matlab 2016 installation? I would be very happy to recieve your aid.
Kind regards,
Alex

Hi,
I have some doubts regarding your tachometer coding.
What does it mean by (pi/5) at the final constant?
In my encoder design, I have 16 holes and I need the output speed in rpm. What would be the main change if I need it in rpm.
Waiting for your reply.
Thank You.

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Communities

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor