LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a dead beat controller with LabView?

How to create a dead beat controller with LabView?
Codesnippets and hints will be helpful.

Thanks
0 Kudos
Message 1 of 14
(6,741 Views)

I do not know what a dead beat controller is. If it is a controller that sits on the couch drinking beer and not controlling, then i would say problem solved! Smiley Very Happy

Sorry, I got giggly.  But seriously I have no idea.

0 Kudos
Message 2 of 14
(6,701 Views)
Try here for an explanation of Dead Beat control

http://en.wikipedia.org/wiki/Dead_beat
Sorry I use classic PID implementations normally  so I don't have a sample to hand.

0 Kudos
Message 3 of 14
(6,696 Views)
I wonder,  why nobody uses Dead Beat Controllers with LabView. This is in my opinion the optimal variant for digital controllers. Why everybody uses PID Controllers?
0 Kudos
Message 4 of 14
(6,694 Views)
I studied many types of controller when I did my degree, but as the available technology was PID and it was suitable; then this saved many hours of development time.

As others would also understand the implementation as a standard type, this has some value in the engineering and product life management process which has to be considered.

The only way I would change is if the performance or functionality did not exist or were not suitable for the project.

You might be able to use the same considerations to determine your optimal solution.
Message 5 of 14
(6,689 Views)
HI

first of all I have never programed Deadbeat- nor PID-controllers in Labview.

But back in time, when I was a student, I used to program Deadbeat controllers in MatLab/Simulink.

I think the progaramming isnt any harder than programming a pid controller -- actually the programming is the easy part.
The development/layout of the deadbeat *parameter* may be harder.

Since deadbeat is a discret controller u will need to ensure a constant sampling rate (not just a minimum sampling rate-- as in PID).

And your output ( I mean your analog output card or whatever u use) shouldnt mess up ur controllings.

But u can ensure both things in Labview, so I see no probs other then the layout

Bye
 
 
0 Kudos
Message 6 of 14
(6,684 Views)
Smiley Wink  I simulated the dead beat controller in matlab / Simulink, and I came to the conclusion that programming such a controller with Matlab / Simulink is much more easier than in LabView. My Problem is, that I know how to set and create the Transfer Function of the Controller with a given Transfer Function of the plant. Simulating this in Matlab is five lines of sourcetext. But I have no idea how to realize this in LabView. I use the system identification toolbox and the control design toolbox. But I am not satisfied with this toolboxes, because they should be named PID Toolbox. :-).

I realy want to do my control with LabView, but I do not find a good solution how to do it.
0 Kudos
Message 7 of 14
(6,670 Views)
PS: system identification toolbox is okay 🙂
0 Kudos
Message 8 of 14
(6,669 Views)

I found the following on dead beat controllers which perhaps explains why they are not so common:-

"Although the dead-beat controller provided an excellent controlled response, the magnitude of control signal excursion leaves much to be desired. In practice, it may be more prudent to specify a less exacting closed loop performance, to avoid excessive wear and tear of final control elements and also to preserve the integrity of processes that cannot tolerate sudden changes in manipulated inputs. The Dahlin Controller can satisfy these requirements."

http://lorien.ncl.ac.uk/ming/digicont/control/digital3.htm

 

 

0 Kudos
Message 9 of 14
(6,633 Views)
Hi

the last time i stuck around with deadbeat controller or feedback controllers is like 2 years ago -- so iam a little bit out of the shape *sorry*.

so you have the transfer function of your deadbeat controller?

Isnt it, that the transferfunction of the deadbeat controler  is a combination of z; z^-1; z^-2 ... where z is your current e; z^-1 the previous e; z^-2 the one before z^-1
and so one.

so if u have your (lets say)  4 last measurements of "y", give them on your deadbeat transferfunction and you get "u" which you will feed to your plant.
I dont think LabView has a block where u can enter the transferfunction (as in simulink) but since it is simple +,-,* & / math you can do that by hand.

can u post the function of your controller?

bye


Message 10 of 14
(6,626 Views)