Wednesday, April 15, 2009

How are cars built?

Cars are such a common view we don't realize how much engineering and design efforts are behind them. Think how much cars (and the technology they incorporate) have change since the crude Model T Ford produced to any of the cars you can see today in the road: electronic control, ABS, cruise control.. there are even cars that park themselves!!!

But how are those features developed? Well, let me show an example. There is a number of companies working of a feature called "active suspension". Don't you know what I'm talking about? Check this video





But how is 'active suspension' design? It would be inconvenient to have a car on your desk to go trough the design process. One option is to build something similar but to a smaller scale. This is what Quanser has done. This portable plant simulates the action of the road over a wheel and the body of a car and allow users to design and test their algorithms with a real system before actually building a prototype on a areal car






And this is the Active Suspension working with LabVIEW and cRIO

Thursday, April 9, 2009

Inverted Pendulum? Again?

Ever since I started to learn and work with control systems, the inverted pendulum has been around. It is a perfect example of an unstable system that "works" because a smart control engineer developed a control system right? But at the time I was in college I failed to see the applications of this systems. Recently you might have heard about the latest (in my mind) inverted pendulum application, the PUMA. Check it out



Well, I have this Love-Hate relationship with the inverted pendulum since I choose it for my master thesis. I learned, the hard way, there is more to control a system that just the control algorithm, but you have sensors, actuators, noise, non linearities, etc. You can actually check out the video



This was done long time ago, using C on a 486 running DOS (If you just understood what I wrote, you are over 30). Fortunately there are a number of tools available that make the whole control design and simulation much more faster. Check out this team of students as they develop something much better that mine in about four weeks, way faster of what I did

Wednesday, March 25, 2009

Want to go Green? Use simulation


We are living a period where extraordinary advances are being done.

Green engineering is a great example of how technology in general (and engineering practices in particular) are changing at incredible speeds as we as a society came to realize that natural resources won't last long if we keep consuming them at current rates. With the current computing power provided by computers, simulation has proven to be an excellent tool to decrease design times

Below in a link to an example on how simulation can be applied in the field of Green Engineering. A wind turbine is being simulated so users can quickly understand how effects on wind speed and direction affect the power the turbine provides to the grid.

Feel free to download the code (and the evaluation version of LabVIEW, if you don't have it) and play around with it. You might even be able to build your own backyard wind turbine!

http://zone.ni.com/devzone/cda/epd/p/id/6161

Monday, March 2, 2009

Barp's Intro...

As Javier, I mean Guti (I can never get over this nick-name... ) was saying, I am "the other" writer of this blog. I know I was supposed to write this about 2 weeks ago, but deadlines are part of the R&D work and they have priority and, most importantly, we don't want customers to wait for the next version, are we? Anyway, here is my introduction (in IEEE format):

"Alexandre Barp was born in Lages, Santa Catarina, Brazil, in 1973. He received the M.Sc. in Industrial and Scientific Metrology and Instrumentation and B.Eng. degree in Process Control and Automation from Universidade Federal de Santa Catarina, Brazil, in 2000 and 1997, respectively. He is currently project manager "...oh, you know what, I think we should be less formal in this blog. So, since I started in LabVIEW R&D in 2003, I was one of the developers who created the Control Design Toolkit and worked on several other products like PID, Fuzzy Logic, and Simulation Module. Now, I am a Group Manager in the heart of LabVIEW R&D focusing on Control and Simulation. I also work as Adjunct Professor for Texas State University where I lecture Control and Instrumentation.

I am very passionate about control and automation (and instrumentation, robotics, mechatronics, education, and anything related to Engineering, even food engineering...) and I love to program in LabVIEW (even before I started to work for National Instruments). So, I will try to show you the overlap between these two areas. Also, I plan to bring a bit of R&D into this blog, discussing ideas and features with a bit more "technical" insight and also I will use this avenue to discuss future development using LabVIEW in the area of design and implementation and, when possible, sharing where we want to go with this tools.

To get geared up a bit, check this video below. This was a demonstration we did for the last NI Week where we were trying to demonstrate how LabVIEW can be used to control an inverted pendulum controlled by a DC motor. Since it looks like a robot arm this is called Pendubot. In short, we used the LabVIEW Control Design and Simulation (on a iMac, new feature for LabVIEW 8.6!) to design the controller and we used web services to send the parameters to the Real-time target (cRIO). We used a switching controller with a state-machine to move from one state to another and we also used LabVIEW FPGA to estimate the speed of the signal on FPGA. We used state feedback control based on Linear Quadratic Regulator (LQR). I know that some of you at this point don't understand what I am saying... That is OK! Just keep reading and notice how LabVIEW is cool (first of all) and can be used for design and implementation of controlers with pretty advanced stuff... :) Now, if you want to get deeper into it, let me know if want more info, I will be happy to share this code with you... We had University of Texas and Iowa State University implementing this controller in their labs. One last thing: all that all this development was done in 2 to 3 weeks of development from begining to end. Which by itself was pretty nice too... Maybe we should call SRPC (Super-Rapid Control Prototype).




I hope you enjoy this forum!

Tuesday, February 17, 2009

Welcome to Algorithm Design and Simulation blog!

Hello there!

Welcome to this blog about Algorithm Design and Simulation. Right now you probably have two questions in mind: "What is Algorithm Design?" and "Who is this 'Guti''?. Let's start with the second

My name is Javier Gutierrez and I'm the Senior Product Marketing Manager (or PMM for short) of LabVIEW Control and Simulation Tools. These tools include PID toolkit, System Identification Toolkit and the LabVIEW Control Design and Simulation Module. As for the first question, this blog will cover How-To's, cool applications and tidibits on algorithm design and it's implementation, often times using LabVIEW as the tool to do that.

My colleague Alex Barp will be helping me with this blog and I'll let him introduce himself in the next post.

Feel free to comment any post or add suggestions on what topics or contents you want as to post about.

Thanks for reading our blog!