element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Smarter Life
  • Challenges & Projects
  • Design Challenges
  • Smarter Life
  • More
  • Cancel
Smarter Life
Blog SteadyClip, An Economical Cameral Gimbal – Part 14: Final Thoughts and What’s Left
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jliu83
  • Date Created: 15 Jan 2014 3:19 PM Date Created
  • Views 696 views
  • Likes 1 like
  • Comments 2 comments
  • smarter_life
  • steadyclip
  • motor
  • psoc
Related
Recommended

SteadyClip, An Economical Cameral Gimbal – Part 14: Final Thoughts and What’s Left

jliu83
jliu83
15 Jan 2014

Sadly, this great contest has come to an end.  This leaves the SteadyClip project unfinished as of right now.  I’ve had a great run, but I truly do need additional time to fully understand the microstepping of motors to get a complete design.  Right now, the motor drivers are functional and I am capable of accessing the IMU.  Eventually, this project will be complete.  When that happens I cannot wait to show it to the element14 community, and the rest of the internet.

 

So, what is complete and what is left to do?  Well the circuit is fully assembled and working.  I am able to drive the motors arms at specific voltages.  In order to get the microstepping of the 3 phase motor to work, I will need to input a 3 phase sine wave into each of the PWM modules. In order to do this, I will need 3 PWM outputs to each of the 3 motors.  This requires 9 independent PWMs.  Luckily, the PSoC 4 has JUST enough UDB to accomplish this (actually, it is short 2 UDB blocks; I had to use the hardened timer/PWM blocks to get all 9 outputs.  The resulting structure is shown below.

 

image

 

The preferred structure would be to use the same PWM blocks as it would facilitate firmware development. As it stands right now, I need to make sure that using the two different PWM blocks actually results in the same output. If the two PWM block types are off by one clock cycle, then the resulting waveforms will eventually become offset by a varying phase.  In such a case, the microstepping of the motors would no longer be accurate.

 

The 3 phase sine wave can be calculated in several ways, but depending on how fast the processor can calculate the sine function, it’ll have to be through calls to the “math.h” library or a look-up table.

 

One of the organizers also mentioned a library that allows access to the sensor fusion data on the MPU-9150 IMU.  This is definitely worth looking into as it will alleviate the processing on the PSoC.

 

A final piece will need to be created to connect the IMU data to the motor outputs.  This is the PID machine which will stabilize the platform with error feedback.  I do have some previous projects with these control schemes, but they have always been quite time consuming to configure.

 

Finally, the big thing left to do is testing and tweaking.  Obviously something like this must be used in the field, and adjusted accordingly.  While I was unable to complete the project, this contest surely gave me a head start. I am very grateful that the organizers have allowed me to participate, and I hope to see more of these contests in the future.  Big thanks to element14 and its engineering community for their support.

  • Sign in to reply
  • vsluiter
    vsluiter over 11 years ago

    Great to hear how far you've come, and of course everyone has their own amount of time he or she can work on these projects. It's been nice to get a picture of what you've accomplished, and I'm looking forward to new posts showing how far you've come!

     

    Victor

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 11 years ago

    I understand that you need more time for the contest, but I would like to encourage you and the others to continue working and providing updates on your projects.

     

    There are a lot of us who are interested in seeing your creations in operation and how they meet your expectations over time.

    After all, the real fun is just beginning. image

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube