Spanish Italian
17436 Users    

Controlling an Inverted Pendulum with a Microchip Microcontroller

  Download PDF version of the Article

At "Scuola Universitaria Professionale della Svizzera Italiana" (Lugano, Switzerland) an Inverted Pendulum was controlled using FLEX board with Scilab/Scicos.
The FLEX Base Board and the FLEX Multibus Board with a CAN module was used for swinging-up and maintaining the inverted equilibrium. The Source code was entirely generated using Scilab/Scicos , an automatic code generator for control systems.

Software

  • Scilab/Scicos

Hardware

  • FLEX Multibus Base Daughter Board
  • FLEX Multibus CAN module
  • Inverted Pendulum setup
Inverted Pendulum


For more informations click here.

The Pic and the Pendulum,

The Pic and the Pendulum, now that's something E.A.Poe could have easily handled! Smile

LOL.

LOL.

asking for help

hello im doing my project is inverted pendulum rotary.now im trying to do it with Atmega 32. it's possible or not?
can you recommend for me a good way to do it.

RE: asking for help

It can be done. I am not sure in the frequency operating difference between the ATMEGA32 and the dsPIC used in this article, but in case it is lower for the microcontroller you choose, I'd say a good way of doing it would be not to use automatically generated code, as I am not very confident in the efficiency of such a method in terms of execution speed. It might be that in the project above the dsPIC was just an overkill from an operating frequency point of view, and used only to compensate for the slow code generated automatically. So just write your code by hand.
Regards,
Cristian

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
2 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Who's new

  • pulper
  • mauriss
  • jbares
  • christiank79
  • agabor
  • fabriziopd
  • irenix
  • pepershoe
  • raghun14
  • andreaspousette

Who's online

There are currently 0 users and 48 guests online.