| 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="demo__example_2simulator_8h" kind="file"> |
|---|
| 4 | <compoundname>simulator.h</compoundname> |
|---|
| 5 | <includedby refid="demo__example_2simulator_8cpp" local="yes">work/git/mixpp/pmsm/simulator_zdenek/demo_example/simulator.cpp</includedby> |
|---|
| 6 | <sectiondef kind="var"> |
|---|
| 7 | <memberdef kind="variable" id="demo__example_2simulator_8h_1ef96d7e2af821e8829d40ed1d8b0901d" prot="public" static="no" mutable="no"> |
|---|
| 8 | <type>double</type> |
|---|
| 9 | <definition>double x[9]</definition> |
|---|
| 10 | <argsstring>[9]</argsstring> |
|---|
| 11 | <name>x</name> |
|---|
| 12 | <briefdescription> |
|---|
| 13 | </briefdescription> |
|---|
| 14 | <detaileddescription> |
|---|
| 15 | </detaileddescription> |
|---|
| 16 | <inbodydescription> |
|---|
| 17 | </inbodydescription> |
|---|
| 18 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/demo_example/simulator.h" line="17" bodyfile="/home/smidl/work/git/mixpp/matlab/mex/ill_polyfit.m" bodystart="2" bodyend="-1"/> |
|---|
| 19 | </memberdef> |
|---|
| 20 | <memberdef kind="variable" id="demo__example_2simulator_8h_16d9d7e9e326007ea4cb71e549dff4191" prot="public" static="no" mutable="no"> |
|---|
| 21 | <type>double</type> |
|---|
| 22 | <definition>double KalmanObs[4]</definition> |
|---|
| 23 | <argsstring>[4]</argsstring> |
|---|
| 24 | <name>KalmanObs</name> |
|---|
| 25 | <briefdescription> |
|---|
| 26 | </briefdescription> |
|---|
| 27 | <detaileddescription> |
|---|
| 28 | </detaileddescription> |
|---|
| 29 | <inbodydescription> |
|---|
| 30 | </inbodydescription> |
|---|
| 31 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/demo_example/simulator.h" line="18" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.cpp" bodystart="71" bodyend="-1"/> |
|---|
| 32 | </memberdef> |
|---|
| 33 | </sectiondef> |
|---|
| 34 | <sectiondef kind="func"> |
|---|
| 35 | <memberdef kind="function" id="demo__example_2simulator_8h_1665bc30f8afe61d4444510513edce99d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
|---|
| 36 | <type>void</type> |
|---|
| 37 | <definition>void set_parameters</definition> |
|---|
| 38 | <argsstring>(double Rs0, double Ls0, double Fmag0, double Bf0, double p0, double kp0, double J0, double Uc0, double DT0, double dt0)</argsstring> |
|---|
| 39 | <name>set_parameters</name> |
|---|
| 40 | <param> |
|---|
| 41 | <type>double</type> |
|---|
| 42 | <declname>Rs0</declname> |
|---|
| 43 | </param> |
|---|
| 44 | <param> |
|---|
| 45 | <type>double</type> |
|---|
| 46 | <declname>Ls0</declname> |
|---|
| 47 | </param> |
|---|
| 48 | <param> |
|---|
| 49 | <type>double</type> |
|---|
| 50 | <declname>Fmag0</declname> |
|---|
| 51 | </param> |
|---|
| 52 | <param> |
|---|
| 53 | <type>double</type> |
|---|
| 54 | <declname>Bf0</declname> |
|---|
| 55 | </param> |
|---|
| 56 | <param> |
|---|
| 57 | <type>double</type> |
|---|
| 58 | <declname>p0</declname> |
|---|
| 59 | </param> |
|---|
| 60 | <param> |
|---|
| 61 | <type>double</type> |
|---|
| 62 | <declname>kp0</declname> |
|---|
| 63 | </param> |
|---|
| 64 | <param> |
|---|
| 65 | <type>double</type> |
|---|
| 66 | <declname>J0</declname> |
|---|
| 67 | </param> |
|---|
| 68 | <param> |
|---|
| 69 | <type>double</type> |
|---|
| 70 | <declname>Uc0</declname> |
|---|
| 71 | </param> |
|---|
| 72 | <param> |
|---|
| 73 | <type>double</type> |
|---|
| 74 | <declname>DT0</declname> |
|---|
| 75 | </param> |
|---|
| 76 | <param> |
|---|
| 77 | <type>double</type> |
|---|
| 78 | <declname>dt0</declname> |
|---|
| 79 | </param> |
|---|
| 80 | <briefdescription> |
|---|
| 81 | </briefdescription> |
|---|
| 82 | <detaileddescription> |
|---|
| 83 | </detaileddescription> |
|---|
| 84 | <inbodydescription> |
|---|
| 85 | </inbodydescription> |
|---|
| 86 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/demo_example/simulator.h" line="14"/> |
|---|
| 87 | </memberdef> |
|---|
| 88 | <memberdef kind="function" id="demo__example_2simulator_8h_148c8ee70c3cf89476b5cf2a1a1080c21" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
|---|
| 89 | <type>void</type> |
|---|
| 90 | <definition>void eval</definition> |
|---|
| 91 | <argsstring>(double Ww)</argsstring> |
|---|
| 92 | <name>eval</name> |
|---|
| 93 | <param> |
|---|
| 94 | <type>double</type> |
|---|
| 95 | <declname>Ww</declname> |
|---|
| 96 | </param> |
|---|
| 97 | <briefdescription> |
|---|
| 98 | </briefdescription> |
|---|
| 99 | <detaileddescription> |
|---|
| 100 | </detaileddescription> |
|---|
| 101 | <inbodydescription> |
|---|
| 102 | </inbodydescription> |
|---|
| 103 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/demo_example/simulator.h" line="15"/> |
|---|
| 104 | </memberdef> |
|---|
| 105 | </sectiondef> |
|---|
| 106 | <briefdescription> |
|---|
| 107 | </briefdescription> |
|---|
| 108 | <detaileddescription> |
|---|
| 109 | </detaileddescription> |
|---|
| 110 | <programlisting> |
|---|
| 111 | <codeline lineno="1"><highlight class="comment">/*</highlight></codeline> |
|---|
| 112 | <codeline lineno="2"><highlight class="comment"><sp/><sp/><sp/>Simulator<sp/>of<sp/>Vector<sp/>Controlled<sp/>PMSM<sp/>Drive</highlight></codeline> |
|---|
| 113 | <codeline lineno="3"><highlight class="comment"></highlight></codeline> |
|---|
| 114 | <codeline lineno="4"><highlight class="comment"><sp/><sp/><sp/>This<sp/>module<sp/>is<sp/>background<sp/>for<sp/>PMSM<sp/>drive<sp/>object<sp/>design<sp/>and</highlight></codeline> |
|---|
| 115 | <codeline lineno="5"><highlight class="comment"><sp/><sp/><sp/>introduces<sp/>basic<sp/>functions<sp/>...<sp/>set_parameters()<sp/>and<sp/>eval().</highlight></codeline> |
|---|
| 116 | <codeline lineno="6"><highlight class="comment"></highlight></codeline> |
|---|
| 117 | <codeline lineno="7"><highlight class="comment"><sp/><sp/><sp/>Z.<sp/>Peroutka</highlight></codeline> |
|---|
| 118 | <codeline lineno="8"><highlight class="comment"></highlight></codeline> |
|---|
| 119 | <codeline lineno="9"><highlight class="comment">Rev.<sp/>16.3.2008</highlight></codeline> |
|---|
| 120 | <codeline lineno="10"><highlight class="comment"></highlight></codeline> |
|---|
| 121 | <codeline lineno="11"><highlight class="comment">*/</highlight><highlight class="normal"></highlight></codeline> |
|---|
| 122 | <codeline lineno="12"><highlight class="normal"></highlight></codeline> |
|---|
| 123 | <codeline lineno="13"><highlight class="normal"></highlight></codeline> |
|---|
| 124 | <codeline lineno="14"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>set_parameters(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Rs0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Ls0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Fmag0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Bf0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>p0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>kp0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>J0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Uc0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>DT0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>dt0);</highlight></codeline> |
|---|
| 125 | <codeline lineno="15"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>eval(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Ww);</highlight></codeline> |
|---|
| 126 | <codeline lineno="16"><highlight class="normal"></highlight></codeline> |
|---|
| 127 | <codeline lineno="17"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>x[9];</highlight></codeline> |
|---|
| 128 | <codeline lineno="18"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>KalmanObs[4];</highlight></codeline> |
|---|
| 129 | </programlisting> |
|---|
| 130 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/demo_example/simulator.h"/> |
|---|
| 131 | </compounddef> |
|---|
| 132 | </doxygen> |
|---|