root/doc/html/ekf_8h-source.html @ 167

Revision 162, 3.4 kB (checked in by smidl, 16 years ago)

opravy a dokumentace

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf.h Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.6 -->
8<div class="navigation" id="top">
9  <div class="tabs">
10    <ul>
11      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
13      <li><a href="annotated.html"><span>Classes</span></a></li>
14      <li class="current"><a href="files.html"><span>Files</span></a></li>
15    </ul>
16  </div>
17<h1>work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/************************************</span>
18<a name="l00002"></a>00002 <span class="comment">        Extended Kalman Filter</span>
19<a name="l00003"></a>00003 <span class="comment">        Kalman Observer</span>
20<a name="l00004"></a>00004 <span class="comment"></span>
21<a name="l00005"></a>00005 <span class="comment">        Z. Peroutka</span>
22<a name="l00006"></a>00006 <span class="comment"></span>
23<a name="l00007"></a>00007 <span class="comment">Rev. 15.3.2008</span>
24<a name="l00008"></a>00008 <span class="comment"></span>
25<a name="l00009"></a>00009 <span class="comment">        EKF pocitan s daty ve formatu Q15, zatimco regulace pracuje v Q13 -&gt;</span>
26<a name="l00010"></a>00010 <span class="comment">        resenim je vynasobit referencni hodnoty v EKF 4-mi (tim je automaticky</span>
27<a name="l00011"></a>00011 <span class="comment">        zajisten prechod mezi formaty Q13 a Q15). Realizovano konstantou K_PREVOD_FORM.</span>
28<a name="l00012"></a>00012 <span class="comment"></span>
29<a name="l00013"></a>00013 <span class="comment">15.3.2008       Kontrola kodu + zamena datovych typu q15-&gt;int a q30-&gt;long.</span>
30<a name="l00014"></a>00014 <span class="comment"></span>
31<a name="l00015"></a>00015 <span class="comment">*************************************/</span>
32<a name="l00016"></a>00016
33<a name="l00017"></a>00017 <span class="comment">/* Declaration of global functions */</span>
34<a name="l00018"></a>00018 <span class="keywordtype">void</span> init_ekf(<span class="keywordtype">double</span> Tv, <span class="keywordtype">double</span> *param);
35<a name="l00019"></a>00019 <span class="keywordtype">void</span> ekf(<span class="keywordtype">double</span> *x_estimation, <span class="keywordtype">double</span> Umd, <span class="keywordtype">double</span> beta, <span class="keywordtype">double</span> Ucnd, <span class="keywordtype">double</span> Ucd, <span class="keywordtype">double</span> isxd, <span class="keywordtype">double</span> isyd);
36<a name="l00020"></a>00020
37<a name="l00021"></a>00021 <span class="comment">// pouze pro ucely ladeni</span>
38<a name="l00022"></a>00022 <span class="keyword">extern</span> <span class="keywordtype">double</span> ladeni_EKF[10];
39<a name="l00023"></a>00023
40</pre></div></div>
41<hr size="1"><address style="text-align: right;"><small>Generated on Thu Sep 4 19:28:01 2008 for mixpp by&nbsp;
42<a href="http://www.doxygen.org/index.html">
43<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
44</body>
45</html>
Note: See TracBrowser for help on using the browser.