Main Content

상태 추정

칼만 필터 설계, 시스템 동작 중의 상태 추정, 코드 생성 및 임베디드 타깃에 배포

상태 추정 기법을 사용하여, 공정 잡음과 측정 잡음이 있는 시스템의 상태 값을 추정할 수 있습니다. Control System Toolbox™에서는 선형 정상 상태와 시변 칼만 필터를 설계할 수 있습니다. 또한 확장 칼만 필터, 무향 칼만 필터 또는 입자 필터를 사용하여 비선형 시스템의 상태도 추정할 수 있습니다.

온라인 상태 추정 알고리즘은 신규 데이터를 사용할 수 있게 되면 시스템의 상태 추정값을 업데이트합니다. 실시간 데이터와 선형 및 비선형 칼만 필터 알고리즘을 사용하여 시스템의 상태를 추정할 수 있습니다. Simulink® 블록을 사용하여 온라인 상태 추정을 수행하고, Simulink Coder™를 사용하여 이러한 블록에 대한 C/C++ 코드를 생성하고, 이 코드를 임베디드 타깃에 배포할 수 있습니다. 명령줄에서 온라인 상태 추정을 수행하고 MATLAB® Compiler™ 또는 MATLAB Coder를 사용하여 코드를 배포할 수도 있습니다.

함수

모두 확장

kalman상태 추정을 위한 칼만 필터 설계
kalmd연속 플랜트에 대한 이산 칼만 추정기 설계
estimForm state estimator given estimator gain
extendedKalmanFilterCreate extended Kalman filter object for online state estimation
unscentedKalmanFilterCreate unscented Kalman filter object for online state estimation
particleFilterParticle filter object for online state estimation
correctCorrect state and state estimation error covariance using extended or unscented Kalman filter, or particle filter and measurements
predictPredict state and state estimation error covariance at next time step using extended or unscented Kalman filter, or particle filter
residualReturn measurement residual and residual covariance when using extended or unscented Kalman filter (R2019b 이후)
initializeInitialize the state of the particle filter
cloneCopy online state estimation object
generateJacobianFcnGenerate MATLAB Jacobian functions for extended Kalman filter using automatic differentiation (R2023a 이후)

블록

모두 확장

Kalman FilterEstimate states of discrete-time or continuous-time linear system
Extended Kalman FilterEstimate states of discrete-time nonlinear system using extended Kalman filter
Particle FilterEstimate states of discrete-time nonlinear system using particle filter
Unscented Kalman FilterEstimate states of discrete-time nonlinear system using unscented Kalman filter

도움말 항목

상태 추정 기본 사항

  • 칼만 필터링
    칼만 필터를 적용하고 시스템을 시뮬레이션하여 필터가 정상 상태 필터와 시변 필터 모두에서 측정 오차를 줄이는 방법을 보여줍니다.

온라인 추정

Simulink에서의 상태 추정

문제 해결

Troubleshoot Online State Estimation

Troubleshoot online state estimation performed using extended and unscented Kalman filter algorithms.