[187] | 1 | <?xml version='1.0' encoding='UTF-8' standalone='no'?> |
---|
| 2 | <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.5.6"> |
---|
| 3 | <compounddef id="ekf_8h" kind="file"> |
---|
| 4 | <compoundname>ekf.h</compoundname> |
---|
| 5 | <includedby refid="ekf_8cpp" local="yes">work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf.cpp</includedby> |
---|
| 6 | <includedby refid="simul_8cpp" local="yes">work/git/mixpp/pmsm/simulator_zdenek/ekf_example/simul.cpp</includedby> |
---|
| 7 | <sectiondef kind="var"> |
---|
| 8 | <memberdef kind="variable" id="ekf_8h_1415bdef5e664918e4e4b773c36f4e103" prot="public" static="no" mutable="no"> |
---|
| 9 | <type>double</type> |
---|
| 10 | <definition>double ladeni_EKF[10]</definition> |
---|
| 11 | <argsstring>[10]</argsstring> |
---|
| 12 | <name>ladeni_EKF</name> |
---|
| 13 | <briefdescription> |
---|
| 14 | </briefdescription> |
---|
| 15 | <detaileddescription> |
---|
| 16 | </detaileddescription> |
---|
| 17 | <inbodydescription> |
---|
| 18 | </inbodydescription> |
---|
| 19 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf.h" line="22" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf.cpp" bodystart="36" bodyend="-1"/> |
---|
| 20 | </memberdef> |
---|
| 21 | </sectiondef> |
---|
| 22 | <sectiondef kind="func"> |
---|
| 23 | <memberdef kind="function" id="ekf_8h_1956dd7a9713816704f8ff5760e26e903" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 24 | <type>void</type> |
---|
| 25 | <definition>void init_ekf</definition> |
---|
| 26 | <argsstring>(double Tv, double *param)</argsstring> |
---|
| 27 | <name>init_ekf</name> |
---|
| 28 | <param> |
---|
| 29 | <type>double</type> |
---|
| 30 | <declname>Tv</declname> |
---|
| 31 | </param> |
---|
| 32 | <param> |
---|
| 33 | <type>double *</type> |
---|
| 34 | <declname>param</declname> |
---|
| 35 | </param> |
---|
| 36 | <briefdescription> |
---|
| 37 | </briefdescription> |
---|
| 38 | <detaileddescription> |
---|
| 39 | </detaileddescription> |
---|
| 40 | <inbodydescription> |
---|
| 41 | </inbodydescription> |
---|
| 42 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf.h" line="18"/> |
---|
| 43 | </memberdef> |
---|
| 44 | <memberdef kind="function" id="ekf_8h_1267ca49dd712a2b06af569b1e108976a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 45 | <type>void</type> |
---|
| 46 | <definition>void ekf</definition> |
---|
| 47 | <argsstring>(double *x_estimation, double Umd, double beta, double Ucnd, double Ucd, double isxd, double isyd)</argsstring> |
---|
| 48 | <name>ekf</name> |
---|
| 49 | <param> |
---|
| 50 | <type>double *</type> |
---|
| 51 | <declname>x_estimation</declname> |
---|
| 52 | </param> |
---|
| 53 | <param> |
---|
| 54 | <type>double</type> |
---|
| 55 | <declname>Umd</declname> |
---|
| 56 | </param> |
---|
| 57 | <param> |
---|
| 58 | <type>double</type> |
---|
| 59 | <declname>beta</declname> |
---|
| 60 | </param> |
---|
| 61 | <param> |
---|
| 62 | <type>double</type> |
---|
| 63 | <declname>Ucnd</declname> |
---|
| 64 | </param> |
---|
| 65 | <param> |
---|
| 66 | <type>double</type> |
---|
| 67 | <declname>Ucd</declname> |
---|
| 68 | </param> |
---|
| 69 | <param> |
---|
| 70 | <type>double</type> |
---|
| 71 | <declname>isxd</declname> |
---|
| 72 | </param> |
---|
| 73 | <param> |
---|
| 74 | <type>double</type> |
---|
| 75 | <declname>isyd</declname> |
---|
| 76 | </param> |
---|
| 77 | <briefdescription> |
---|
| 78 | </briefdescription> |
---|
| 79 | <detaileddescription> |
---|
| 80 | </detaileddescription> |
---|
| 81 | <inbodydescription> |
---|
| 82 | </inbodydescription> |
---|
| 83 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf.h" line="19"/> |
---|
| 84 | </memberdef> |
---|
| 85 | </sectiondef> |
---|
| 86 | <briefdescription> |
---|
| 87 | </briefdescription> |
---|
| 88 | <detaileddescription> |
---|
| 89 | </detaileddescription> |
---|
| 90 | <programlisting> |
---|
| 91 | <codeline lineno="1"><highlight class="comment">/************************************</highlight></codeline> |
---|
| 92 | <codeline lineno="2"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Extended<sp/>Kalman<sp/>Filter</highlight></codeline> |
---|
| 93 | <codeline lineno="3"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Kalman<sp/>Observer</highlight></codeline> |
---|
| 94 | <codeline lineno="4"><highlight class="comment"></highlight></codeline> |
---|
| 95 | <codeline lineno="5"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Z.<sp/>Peroutka</highlight></codeline> |
---|
| 96 | <codeline lineno="6"><highlight class="comment"></highlight></codeline> |
---|
| 97 | <codeline lineno="7"><highlight class="comment">Rev.<sp/>15.3.2008</highlight></codeline> |
---|
| 98 | <codeline lineno="8"><highlight class="comment"></highlight></codeline> |
---|
| 99 | <codeline lineno="9"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>EKF<sp/>pocitan<sp/>s<sp/>daty<sp/>ve<sp/>formatu<sp/>Q15,<sp/>zatimco<sp/>regulace<sp/>pracuje<sp/>v<sp/>Q13<sp/>-></highlight></codeline> |
---|
| 100 | <codeline lineno="10"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>resenim<sp/>je<sp/>vynasobit<sp/>referencni<sp/>hodnoty<sp/>v<sp/>EKF<sp/>4-mi<sp/>(tim<sp/>je<sp/>automaticky</highlight></codeline> |
---|
| 101 | <codeline lineno="11"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>zajisten<sp/>prechod<sp/>mezi<sp/>formaty<sp/>Q13<sp/>a<sp/>Q15).<sp/>Realizovano<sp/>konstantou<sp/>K_PREVOD_FORM.</highlight></codeline> |
---|
| 102 | <codeline lineno="12"><highlight class="comment"></highlight></codeline> |
---|
| 103 | <codeline lineno="13"><highlight class="comment">15.3.2008<sp/><sp/><sp/><sp/><sp/><sp/><sp/>Kontrola<sp/>kodu<sp/>+<sp/>zamena<sp/>datovych<sp/>typu<sp/>q15->int<sp/>a<sp/>q30->long.</highlight></codeline> |
---|
| 104 | <codeline lineno="14"><highlight class="comment"></highlight></codeline> |
---|
| 105 | <codeline lineno="15"><highlight class="comment">*************************************/</highlight><highlight class="normal"></highlight></codeline> |
---|
| 106 | <codeline lineno="16"><highlight class="normal"></highlight></codeline> |
---|
| 107 | <codeline lineno="17"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Declaration<sp/>of<sp/>global<sp/>functions<sp/>*/</highlight><highlight class="normal"></highlight></codeline> |
---|
| 108 | <codeline lineno="18"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>init_ekf(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Tv,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*param);</highlight></codeline> |
---|
| 109 | <codeline lineno="19"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>ekf(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*x_estimation,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Umd,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>beta,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Ucnd,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Ucd,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>isxd,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>isyd);</highlight></codeline> |
---|
| 110 | <codeline lineno="20"><highlight class="normal"></highlight></codeline> |
---|
| 111 | <codeline lineno="21"><highlight class="normal"></highlight><highlight class="comment">//<sp/>pouze<sp/>pro<sp/>ucely<sp/>ladeni</highlight><highlight class="normal"></highlight></codeline> |
---|
| 112 | <codeline lineno="22"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>ladeni_EKF[10];</highlight></codeline> |
---|
| 113 | <codeline lineno="23"><highlight class="normal"></highlight></codeline> |
---|
| 114 | </programlisting> |
---|
| 115 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf.h"/> |
---|
| 116 | </compounddef> |
---|
| 117 | </doxygen> |
---|