Adept Scientific - English
The world's best software and hardware for research, science and engineering.
flag arrow
clearclear

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKdedksvnofi
Home
Products
Training
Events
 Buy Online
Downloads
Academic Discounts
Support
My Adept
International |  About Us |  Adept Scientific Blog |  Contact Us |  Press Room |  Jobs
Adept Scientific on Facebook Adept Scientific on Twitter Adept Scientific on YouBube Adept Scientific on LinkedIn


The Next Steps

• Ask us a question
• Watch Maple Video Demonstrations
• Buy Maple Now
• View Maple Pricing
• Download a Brochure
• Request a Brochure
• Request an Evaluation
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 16 Overview
Maple 16 Professional
Maple 16 Academic
Maple 16 Student Use
What's New in Maple 16
Maple New Features
Datasheet

Maple History
Recorded Online Seminars

MapleSim
MapleNet
Maple T.A.
BlockImporter™
Maple Toolboxes

Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Latest Information

New Features: Professional
New Features: Academic
Maple Features
The Maple Reporter Online

Service & Support

Maple Primes
blogs, forums etc

Elite Maintenance Program
Application Centre
Powertools
Search the Knowledge Base
Technical Support request

Upgrade Today to Maple 15 - Math & Engineering Software - Maplesoft
 
  Order Your Maple 15 Upgrade Today
Upgrading to Maple 15 will ensure that you get the most out of Maple. Take advantage of special upgrade discounts and click Maple 15 Upgrade, request a quote or contact sales.
 


View Maple 15 Upgrade Pricing:




What's New in Maple 15

New Features in Maple 15: Algebraic Riccati Equation Solvers
Next

Algebraic Riccati equations appear in many linear optimal and robust control methods such as in LQR, LQG, Kalman filter, H2 and H∞ techniques. Solving these equations is a vital step in designing such controllers and state estimators. In Maple 15, the CARE and DARE solvers for continuous and discrete algebraic Riccati equations are enhanced with high-precision solvers that allow you to get solutions beyond IEEE double precision.

One of the main methods in linear optimal control theory is the Linear Quadratic Regulator (LQR) in which a state feedback law is designed to minimize a quadratic cost function. In continuous-time domain, the optimal state feedback gain, K, is calculated such that the quadratic cost function



is minimized by the feedback law u = -Kx subject to the system dynamics

The calculated feedback law stabilizes the closed loop system. That is, for every nonzero initial condition, the states of the closed loop system asymptotically converge to the origin. Q and R are weighting matrices over the states and inputs, respectively, balancing the optimization between the speed of convergence and the required control effort.

The optimal LQR state feedback gain is given as:



where X is the solution of the following continuous-time algebraic Riccati equation (CARE):



Similarly, in discrete-time domain, the optimal state feedback gain, K, is calculated such that the quadratic cost function



is minimized by the feedback law u[n] = -Kx[n] subject to the system dynamics



The optimal LQR state feedback gain is given as:



where X is the solution of the following discrete-time algebraic Riccati equation (DARE):



In order for the LQR problem to be solvable,

  • The pair (A, B) must be stabilizable.
  • The pair (Q, A) must have no unobservable modes on the imaginary axis in continuous-time domain or on the unit circle in discrete-time domain.
  • R > 0 (positive definite) and Q ≥ 0 (positive semidefinite).

Example
This example shows a problem that cannot be solved using IEEE double precision, but can be solved with Maple 15's unlimited precision solvers.



The system is not asymptotically stable but the pair (A,B) is controllable. Suppose, the weighting matrices are given as



Note that R is not symmetric but it is positive definite. This can be verified as follows:



The (Q,A) pair is observable:



The CARE solver is called and the ouput option is set to directly return the LQR gain:



An error is returned indicating that the problem can not be solved with the default (double) precision.
This is a fundamental issue. The problem is ill-conditioned and it is not possible to find a solution using IEEE double-precision arithmetic.
If double precision is all you can do, you are now stuck.

Maple 15 allows you to compute these types of problems (as well as any other numeric operation) with any accuracy that you specify!
Let's try again with 30 decimal digits:



We get the correct solution!
Increasing the computation precision, the solver successfully finds the LQR gain and the closed loop system is stable (all eigenvalues of the closed loop system have negative real parts).

We are now able to simulate the open-loop and closed-loop response of the system




Next    


User Interface >>Control Design >>Physics >>Financial Modelling >>Connectivity






Take advantage of a 25% discount off the regular upgrade price!
This time-limited discount applies to all Maple users, no matter which version of Maple you have.


*Some conditions may apply



Ready to buy?

For more pricing information:
Visit our webstore, call us on +1 800 724 8380 or email us at info@adeptscience.com

Featured Downloads

Maple 16 & MapleSim 5 Professional Brochure
Maple 16 Academic Datasheet
Maple 16 & MapleSim 5 Academic Brochure
Maple 16 What is New datasheet
Maple 16 Professional Datasheet
Maple Whitepaper: Driving Innovation - How mathematical modeling and optimisation increase efficiency and productivity in vehicle design.
MapleSim Whitepaper - Technological Superiority in Multi-Domain Physical Modelling and Simulation

Latest Downloads

Maple 16 Programming Guide
Maple 16 User Manual
Maple 16 Academic Datasheet
Maple 16 Professional Datasheet
Maple 16 & MapleSim 5 Academic Brochure

Product Reviews

"Without the Maple software, we would have to spend weeks generating the equations of motion for every experiment. Then the chances that we did it right would basically be near zero. There would always be a mistake somewhere. It is very difficult to set up a dynamic motion model by hand."
- Jean-Claude PiedBeouf, Ph.D Manager of Robotics, Canadian Space Agency

"Its very good - highly accurate and easy to use. The speed of Maple allows me to change equations and quickly reintegrate them into the application, so more possibilities can be explored to achieve the precise effect desired."
Shawn Neely, Senior R & D Director for PDI/Dreamworks

Latest News

"The intuitive nature of MapleSIm allowed my team to create high fidelity models in a short period of time.
Connectivity to major CAD systems extended in Maple 16
MapleSim Breaks New Ground in Hardware-in-the-Loop real-time simulation for planetary rovers
MapleSim Breaks New Ground in Hardware-in-the-Loop real-time simulation for planetary rovers
Maths software usability reaches new heights with Maple 16
adept

Top of the Page

Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | EndNote | Maple | MapleSim | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

EU ePrivacy Directive | Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2012, Adept Scientific plc.
Site designed and maintained by Lyndon Ash

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055