- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys, I'm just looking for advice on implementing multiple PID controllers on one psoc. This is for a mechanical engineering capstone project, so none of us have a lot of experience with C programming. Luckily we have a friend who's worked with psoc's a lot but I wanted to get more input from this community. The project is basically a mini SpaceX Facon 9 rocket with 9 total propellers to control pitch and yaw using an IMU sensor. We have a Psoc 5LP and we were hoping to use this for the PID controllers and Kalman filters, and we already have code setting up duty cycles and pin connections and whatever, but I just wanted to know if there are any good guides on PID control with Psoc? We got a good Creator workspace from our friend that was used to fly a drone, but I've been having a hard time deciphering the code since I'm pretty new to Psoc and C programming. Sorry for the wall of text, and thanks for any help!
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
jake, it sounds like you in dire need of some of-the shelf library for controlling whole flying platform, not merely a PID code. Search this forum for IMU and MADGWICK filter projects (there are several available, but no gurantee of performance). The Kalman filter is too slow to operate on PSoC. Check links below
http://www.cypress.com/forum/psoc-5-device-programming/imu-data-fusion
http://www.cypress.com/forum/psoc-4-architecture/mpu6050-wpsoc4-implementing-filter
http://www.cypress.com/forum/psoc-community-components/flying-psoc4