[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="pmsm__disp_8m" kind="file"> |
---|
| 4 | <compoundname>pmsm_disp.m</compoundname> |
---|
| 5 | <sectiondef kind="var"> |
---|
| 6 | <memberdef kind="variable" id="pmsm__disp_8m_11bbd330f13d7f871eacc35dfadf81ba7" prot="public" static="no" mutable="no"> |
---|
| 7 | <type></type> |
---|
| 8 | <definition>YLim</definition> |
---|
| 9 | <argsstring></argsstring> |
---|
| 10 | <name>YLim</name> |
---|
| 11 | <briefdescription> |
---|
| 12 | </briefdescription> |
---|
| 13 | <detaileddescription> |
---|
| 14 | </detaileddescription> |
---|
| 15 | <inbodydescription> |
---|
| 16 | </inbodydescription> |
---|
| 17 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="4" bodyfile="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" bodystart="4" bodyend="-1"/> |
---|
| 18 | </memberdef> |
---|
| 19 | <memberdef kind="variable" id="pmsm__disp_8m_1cb405321a5c6ae16fef21290649f2666" prot="public" static="no" mutable="no"> |
---|
| 20 | <type></type> |
---|
| 21 | <definition>__pad2__</definition> |
---|
| 22 | <argsstring></argsstring> |
---|
| 23 | <name>__pad2__</name> |
---|
| 24 | <briefdescription> |
---|
| 25 | </briefdescription> |
---|
| 26 | <detaileddescription> |
---|
| 27 | </detaileddescription> |
---|
| 28 | <inbodydescription> |
---|
| 29 | </inbodydescription> |
---|
| 30 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="15" bodyfile="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" bodystart="15" bodyend="-1"/> |
---|
| 31 | </memberdef> |
---|
| 32 | <memberdef kind="variable" id="pmsm__disp_8m_1785264f3b5971cce017ab5764ac64746" prot="public" static="no" mutable="no"> |
---|
| 33 | <type></type> |
---|
| 34 | <definition>XLim</definition> |
---|
| 35 | <argsstring></argsstring> |
---|
| 36 | <name>XLim</name> |
---|
| 37 | <briefdescription> |
---|
| 38 | </briefdescription> |
---|
| 39 | <detaileddescription> |
---|
| 40 | </detaileddescription> |
---|
| 41 | <inbodydescription> |
---|
| 42 | </inbodydescription> |
---|
| 43 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="21" bodyfile="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" bodystart="21" bodyend="-1"/> |
---|
| 44 | </memberdef> |
---|
| 45 | <memberdef kind="variable" id="pmsm__disp_8m_1a6f626203c740423c9dfcbbe727f90b4" prot="public" static="no" mutable="no"> |
---|
| 46 | <type></type> |
---|
| 47 | <definition>__pad3__</definition> |
---|
| 48 | <argsstring></argsstring> |
---|
| 49 | <name>__pad3__</name> |
---|
| 50 | <briefdescription> |
---|
| 51 | </briefdescription> |
---|
| 52 | <detaileddescription> |
---|
| 53 | </detaileddescription> |
---|
| 54 | <inbodydescription> |
---|
| 55 | </inbodydescription> |
---|
| 56 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="25" bodyfile="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" bodystart="25" bodyend="-1"/> |
---|
| 57 | </memberdef> |
---|
| 58 | </sectiondef> |
---|
| 59 | <sectiondef kind="func"> |
---|
| 60 | <memberdef kind="function" id="pmsm__disp_8m_131efc0dc08d8fb8f49bd2ed8eccbf97a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 61 | <type></type> |
---|
| 62 | <definition>itload</definition> |
---|
| 63 | <argsstring>('../pmsm.it') figure(1)</argsstring> |
---|
| 64 | <name>itload</name> |
---|
| 65 | <param> |
---|
| 66 | <type>'../pmsm.it'</type> |
---|
| 67 | </param> |
---|
| 68 | <briefdescription> |
---|
| 69 | </briefdescription> |
---|
| 70 | <detaileddescription> |
---|
| 71 | </detaileddescription> |
---|
| 72 | <inbodydescription> |
---|
| 73 | </inbodydescription> |
---|
| 74 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="2"/> |
---|
| 75 | </memberdef> |
---|
| 76 | <memberdef kind="function" id="pmsm__disp_8m_1ef73b0e9020ccddd824d58b0cccdecd7" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 77 | <type></type> |
---|
| 78 | <definition>plot</definition> |
---|
| 79 | <argsstring>(xthM(1,:)') set(gca</argsstring> |
---|
| 80 | <name>plot</name> |
---|
| 81 | <param> |
---|
| 82 | <type>xthM(1,:)'</type> |
---|
| 83 | </param> |
---|
| 84 | <briefdescription> |
---|
| 85 | </briefdescription> |
---|
| 86 | <detaileddescription> |
---|
| 87 | </detaileddescription> |
---|
| 88 | <inbodydescription> |
---|
| 89 | </inbodydescription> |
---|
| 90 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="4"/> |
---|
| 91 | </memberdef> |
---|
| 92 | <memberdef kind="function" id="pmsm__disp_8m_1257c174d793e1ef02e8b1b947ba3f412" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 93 | <type>hold on</type> |
---|
| 94 | <definition>hold on plot</definition> |
---|
| 95 | <argsstring>([0, 10000], 0.1 *[1, 1],'--') legend('\hat</argsstring> |
---|
| 96 | <name>plot</name> |
---|
| 97 | <param> |
---|
| 98 | <type>0.1 *</type> |
---|
| 99 | <array>[1, 1]</array> |
---|
| 100 | </param> |
---|
| 101 | <param> |
---|
| 102 | <type>'--'</type> |
---|
| 103 | </param> |
---|
| 104 | <briefdescription> |
---|
| 105 | </briefdescription> |
---|
| 106 | <detaileddescription> |
---|
| 107 | </detaileddescription> |
---|
| 108 | <inbodydescription> |
---|
| 109 | </inbodydescription> |
---|
| 110 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="7" bodyfile="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" bodystart="6" bodyend="7"/> |
---|
| 111 | </memberdef> |
---|
| 112 | <memberdef kind="function" id="pmsm__disp_8m_13876110abd6c00a2b71b0785a90c60db" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual"> |
---|
| 113 | <type>2</type> |
---|
| 114 | <definition>2 figure</definition> |
---|
| 115 | <argsstring>()</argsstring> |
---|
| 116 | <name>figure</name> |
---|
| 117 | <briefdescription> |
---|
| 118 | </briefdescription> |
---|
| 119 | <detaileddescription> |
---|
| 120 | </detaileddescription> |
---|
| 121 | <inbodydescription> |
---|
| 122 | </inbodydescription> |
---|
| 123 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="13"/> |
---|
| 124 | </memberdef> |
---|
| 125 | <memberdef kind="function" id="pmsm__disp_8m_190c0c138d198bffd9fa53c58fb06156f" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 126 | <type></type> |
---|
| 127 | <definition>subplot</definition> |
---|
| 128 | <argsstring>(2, 1, 1) plot(xth(3</argsstring> |
---|
| 129 | <name>subplot</name> |
---|
| 130 | <param> |
---|
| 131 | <type>2</type> |
---|
| 132 | </param> |
---|
| 133 | <param> |
---|
| 134 | <type>1</type> |
---|
| 135 | </param> |
---|
| 136 | <param> |
---|
| 137 | <type>1</type> |
---|
| 138 | </param> |
---|
| 139 | <briefdescription> |
---|
| 140 | </briefdescription> |
---|
| 141 | <detaileddescription> |
---|
| 142 | </detaileddescription> |
---|
| 143 | <inbodydescription> |
---|
| 144 | </inbodydescription> |
---|
| 145 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="15"/> |
---|
| 146 | </memberdef> |
---|
| 147 | <memberdef kind="function" id="pmsm__disp_8m_1b22c4bc1d89e04ed0cc14f92a187610c" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual"> |
---|
| 148 | <type>xthE(3,:</type> |
---|
| 149 | <definition>xthE(3,: plot:</definition> |
---|
| 150 | <argsstring>('Simulated\omega','Estimated\omega using EKF ', 'Estimated\omega using EKF-MPF 'legend)</argsstring> |
---|
| 151 | <name>plot:</name> |
---|
| 152 | <param> |
---|
| 153 | <type>'Simulated\omega'</type> |
---|
| 154 | <defname>legend</defname> |
---|
| 155 | </param> |
---|
| 156 | <param> |
---|
| 157 | <type>'Estimated\omega using <ref refid="classEKF" kindref="compound">EKF</ref> '</type> |
---|
| 158 | </param> |
---|
| 159 | <param> |
---|
| 160 | <type> 'Estimated\omega using <ref refid="classEKF" kindref="compound">EKF</ref>-<ref refid="classMPF" kindref="compound">MPF</ref> '</type> |
---|
| 161 | <declname>legend</declname> |
---|
| 162 | </param> |
---|
| 163 | <briefdescription> |
---|
| 164 | </briefdescription> |
---|
| 165 | <detaileddescription> |
---|
| 166 | </detaileddescription> |
---|
| 167 | <inbodydescription> |
---|
| 168 | </inbodydescription> |
---|
| 169 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="19"/> |
---|
| 170 | </memberdef> |
---|
| 171 | <memberdef kind="function" id="pmsm__disp_8m_14ca2a69442d7a076f5bcf57cc1ce811e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 172 | <type></type> |
---|
| 173 | <definition>xlabel</definition> |
---|
| 174 | <argsstring>('time index')%set(gca</argsstring> |
---|
| 175 | <name>xlabel</name> |
---|
| 176 | <param> |
---|
| 177 | <type>'time index'</type> |
---|
| 178 | </param> |
---|
| 179 | <briefdescription> |
---|
| 180 | </briefdescription> |
---|
| 181 | <detaileddescription> |
---|
| 182 | </detaileddescription> |
---|
| 183 | <inbodydescription> |
---|
| 184 | </inbodydescription> |
---|
| 185 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="21"/> |
---|
| 186 | </memberdef> |
---|
| 187 | <memberdef kind="function" id="pmsm__disp_8m_1038fbf0acac0573ca289a613fb4f02c3" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 188 | <type></type> |
---|
| 189 | <definition>subplot</definition> |
---|
| 190 | <argsstring>(2, 1, 2) hold off plot(xth(4</argsstring> |
---|
| 191 | <name>subplot</name> |
---|
| 192 | <param> |
---|
| 193 | <type>2</type> |
---|
| 194 | </param> |
---|
| 195 | <param> |
---|
| 196 | <type>1</type> |
---|
| 197 | </param> |
---|
| 198 | <param> |
---|
| 199 | <type>2</type> |
---|
| 200 | </param> |
---|
| 201 | <briefdescription> |
---|
| 202 | </briefdescription> |
---|
| 203 | <detaileddescription> |
---|
| 204 | </detaileddescription> |
---|
| 205 | <inbodydescription> |
---|
| 206 | </inbodydescription> |
---|
| 207 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="25"/> |
---|
| 208 | </memberdef> |
---|
| 209 | <memberdef kind="function" id="pmsm__disp_8m_1997d2a603fa57d89159392e395889a80" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual"> |
---|
| 210 | <type>xthE(4,:</type> |
---|
| 211 | <definition>xthE(4,: plot:</definition> |
---|
| 212 | <argsstring>('Simulated\upsilon','Estimated\upsilon using EKF ', 'Estimated\upsilon using EKF-MPF 'legend)</argsstring> |
---|
| 213 | <name>plot:</name> |
---|
| 214 | <param> |
---|
| 215 | <type>'Simulated\upsilon'</type> |
---|
| 216 | <defname>legend</defname> |
---|
| 217 | </param> |
---|
| 218 | <param> |
---|
| 219 | <type>'Estimated\upsilon using <ref refid="classEKF" kindref="compound">EKF</ref> '</type> |
---|
| 220 | </param> |
---|
| 221 | <param> |
---|
| 222 | <type> 'Estimated\upsilon using <ref refid="classEKF" kindref="compound">EKF</ref>-<ref refid="classMPF" kindref="compound">MPF</ref> '</type> |
---|
| 223 | <declname>legend</declname> |
---|
| 224 | </param> |
---|
| 225 | <briefdescription> |
---|
| 226 | </briefdescription> |
---|
| 227 | <detaileddescription> |
---|
| 228 | </detaileddescription> |
---|
| 229 | <inbodydescription> |
---|
| 230 | </inbodydescription> |
---|
| 231 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m" line="29"/> |
---|
| 232 | </memberdef> |
---|
| 233 | </sectiondef> |
---|
| 234 | <briefdescription> |
---|
| 235 | </briefdescription> |
---|
| 236 | <detaileddescription> |
---|
| 237 | </detaileddescription> |
---|
| 238 | <programlisting> |
---|
| 239 | <codeline lineno="1"><highlight class="normal">itload(</highlight><highlight class="stringliteral">'../pmsm.it'</highlight><highlight class="normal">)</highlight></codeline> |
---|
| 240 | <codeline lineno="2"><highlight class="normal">figure(1);</highlight></codeline> |
---|
| 241 | <codeline lineno="3"><highlight class="normal">plot(xthM(1,:)')</highlight></codeline> |
---|
| 242 | <codeline lineno="4"><highlight class="normal">set(gca,'YLim',[0,0.4])</highlight></codeline> |
---|
| 243 | <codeline lineno="5"><highlight class="normal">hold<sp/>on</highlight></codeline> |
---|
| 244 | <codeline lineno="6"><highlight class="normal">plot([0,10000],0.1*[1,1],'--')</highlight></codeline> |
---|
| 245 | <codeline lineno="7"><highlight class="normal">legend('\hat{q}_t<sp/></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="classEKF" kindref="compound" tooltip="Extended Kalman Filter.">EKF</ref>-<ref refid="classPF" kindref="compound" tooltip="Trivial particle filter with proposal density equal to parameter evolution model...">PF</ref>','simulated<sp/>value')</highlight></codeline> |
---|
| 246 | <codeline lineno="8"><highlight class="normal">legend('expected<sp/>value<sp/>of<sp/>q_t<sp/>using<sp/><ref refid="classEKF" kindref="compound" tooltip="Extended Kalman Filter.">EKF</ref>-<ref refid="classPF" kindref="compound" tooltip="Trivial particle filter with proposal density equal to parameter evolution model...">PF</ref>','simulated<sp/>value')</highlight></codeline> |
---|
| 247 | <codeline lineno="9"><highlight class="normal">xlabel('time<sp/>index')</highlight></codeline> |
---|
| 248 | <codeline lineno="10"><highlight class="normal">%set(gcf,'PaperPositionMode','auto');</highlight></codeline> |
---|
| 249 | <codeline lineno="11"><highlight class="normal">%print<sp/>-deps2<sp/>ekf</highlight></codeline> |
---|
| 250 | <codeline lineno="12"><highlight class="normal"></highlight></codeline> |
---|
| 251 | <codeline lineno="13"><highlight class="normal">figure(2);</highlight></codeline> |
---|
| 252 | <codeline lineno="14"><highlight class="normal">subplot(2,1,1)</highlight></codeline> |
---|
| 253 | <codeline lineno="15"><highlight class="normal">plot(xth(3,:)','--')</highlight></codeline> |
---|
| 254 | <codeline lineno="16"><highlight class="normal">hold<sp/>on</highlight></codeline> |
---|
| 255 | <codeline lineno="17"><highlight class="normal">plot(xthE(3,:)',':')</highlight></codeline> |
---|
| 256 | <codeline lineno="18"><highlight class="normal">plot(xthM(5,:)')</highlight></codeline> |
---|
| 257 | <codeline lineno="19"><highlight class="normal">legend('Simulated<sp/>\omega','Estimated<sp/>\omega<sp/>using<sp/><ref refid="classEKF" kindref="compound" tooltip="Extended Kalman Filter.">EKF</ref><sp/>',<sp/>'Estimated<sp/>\omega<sp/>using<sp/>EKF-<ref refid="classMPF" kindref="compound" tooltip="Marginalized Particle filter.">MPF</ref><sp/>');</highlight></codeline> |
---|
| 258 | <codeline lineno="20"><highlight class="normal">xlabel('time<sp/>index')</highlight></codeline> |
---|
| 259 | <codeline lineno="21"><highlight class="normal">%set(gca,'XLim',[2300,3000]);</highlight></codeline> |
---|
| 260 | <codeline lineno="22"><highlight class="normal"></highlight></codeline> |
---|
| 261 | <codeline lineno="23"><highlight class="normal">subplot(2,1,2)</highlight></codeline> |
---|
| 262 | <codeline lineno="24"><highlight class="normal">hold<sp/>off</highlight></codeline> |
---|
| 263 | <codeline lineno="25"><highlight class="normal">plot(xth(4,:)','--')</highlight></codeline> |
---|
| 264 | <codeline lineno="26"><highlight class="normal">hold<sp/>on</highlight></codeline> |
---|
| 265 | <codeline lineno="27"><highlight class="normal">plot(xthE(4,:)',':')</highlight></codeline> |
---|
| 266 | <codeline lineno="28"><highlight class="normal">plot(xthM(6,:)')</highlight></codeline> |
---|
| 267 | <codeline lineno="29"><highlight class="normal">legend('Simulated<sp/>\upsilon','Estimated<sp/>\upsilon<sp/>using<sp/>EKF<sp/>',<sp/>'Estimated<sp/>\upsilon<sp/>using<sp/>EKF-MPF<sp/>');</highlight></codeline> |
---|
| 268 | <codeline lineno="30"><highlight class="normal">xlabel('time<sp/>index')</highlight></codeline> |
---|
| 269 | <codeline lineno="31"><highlight class="normal">%set(gca,'XLim',[2300,3000]);</highlight></codeline> |
---|
| 270 | <codeline lineno="32"><highlight class="normal"></highlight></codeline> |
---|
| 271 | </programlisting> |
---|
| 272 | <location file="/home/smidl/work/git/mixpp/matlab/pmsm_disp.m"/> |
---|
| 273 | </compounddef> |
---|
| 274 | </doxygen> |
---|