LQR Calculator

Calculate the optimal feedback gain matrix for control systems with our free online LQR calculator, ideal for engineers, researchers, and students.

LQR Calculator IconMinimalist SVG representing a statistical calculator with a dot matrix display and a ratio symbol.LQRRatio

Check It Yourself

About This Tool

The LQR Calculator is an advanced control engineering tool designed to assist control engineers and researchers in computing the optimal state feedback gain matrix (K) for Linear Quadratic Regulator (LQR) problems. Users input system matrices A and B, along with the cost matrices Q and R, to solve the algebraic Riccati equation and derive the control gains required for stabilizing and optimizing control performance.

This tool supports both continuous-time and discrete-time systems, making it versatile across various control applications such as robotics, aerospace, industrial automation, and vehicle control. Its intuitive interface allows users to define their system models easily, validate matrix inputs, and receive detailed solutions, including the Riccati matrix P, gain matrix K, and eigenvalues of the closed-loop system for stability assessment.

Designed for precision and usability, the LQR Calculator provides instant results, export options, and sensitivity analyses—empowering control engineers to refine their controllers confidently. Whether for academic purposes, research, or professional development, this tool streamlines the complex calculations involved in optimal control design, saving time and reducing errors.

How to Use

1. Input your system matrix A in the designated field.
2. Enter the control matrix B.
3. Fill in the cost matrices Q and R.
4. Select whether your system is Continuous or Discrete.
5. Click the 'Calculate' button to compute the gain and Riccati solution.
6. Review results, copy, export, or analyze eigenvalues as needed.

FAQs/Additional Resources

Find Quick Answers

What is the purpose of the LQR calculator?

Can I use this calculator for discrete control systems?

What matrices do I need to provide?

Is this tool suitable for large matrices?

Can I export or save my results?

User Reviews

See What Others Are Saying

John Doe

John Doe

CEO of Company

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

John Doe

John Doe

CEO of Company

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

John Doe

John Doe

CEO of Company

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

John Doe

John Doe

CEO of Company

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

John Doe

John Doe

CEO of Company

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

John Doe

John Doe

CEO of Company

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

John Doe

John Doe

CEO of Company

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

John Doe

John Doe

CEO of Company

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

John Doe

John Doe

CEO of Company

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Explore Related Tools

More Solutions for Your Needs

SVG representing a metric measurement icon with rulers and unitsAn icon showing rulers, measurement lines, and unit symbols indicating metric conversions

Metric Unit Converter

Quickly convert between various metric units with our free online tool, ideal for students, professionals, and anyone needing accurate measurement transformations.

Calculator MET IconSimple SVG representing a calculator with metabolic activity elements

Military Time Converter

Easily convert standard time to military equivalent (MET) with our free online calculator, suitable for military personnel, educators, and time conversion needs.

Fetal Medicine Calculator IconA modern flat SVG illustration representing fetal measurement tools such as ultrasound calipers and fetal profile icons, stylized for clarity at small sizes.

Fetal Medicine Calculator

Accurately estimate fetal weight and growth percentiles using our free online fetal medicine calculator, ideal for obstetric professionals and ultrasound technicians.

Square icon representing area calculationA modern flat design SVG showing a square with grid lines signifying area measurement, filled with a harmonious color palette, centered in the canvas.

Area Calculator in Square Meters

Quickly convert and calculate areas in square meters with our free online tool, ideal for architects, real estate, and construction professionals.

Your Feedback Matters

Help Us to Improve