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="simulator_8h" kind="file"> |
---|
4 | <compoundname>simulator.h</compoundname> |
---|
5 | <includedby refid="pmsm__mix_8cpp" local="yes">work/git/mixpp/pmsm/pmsm_mix.cpp</includedby> |
---|
6 | <includedby refid="pmsm__sim_8cpp" local="yes">work/git/mixpp/pmsm/pmsm_sim.cpp</includedby> |
---|
7 | <includedby refid="pmsm__sim2_8cpp" local="yes">work/git/mixpp/pmsm/pmsm_sim2.cpp</includedby> |
---|
8 | <includedby refid="pmsm__sim3_8cpp" local="yes">work/git/mixpp/pmsm/pmsm_sim3.cpp</includedby> |
---|
9 | <includedby refid="sim__var_8cpp" local="yes">work/git/mixpp/pmsm/sim_var.cpp</includedby> |
---|
10 | <includedby refid="ekf__obj_8cpp" local="yes">work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf_obj.cpp</includedby> |
---|
11 | <includedby refid="simulator_8cpp" local="yes">work/git/mixpp/pmsm/simulator_zdenek/simulator.cpp</includedby> |
---|
12 | <invincdepgraph> |
---|
13 | <node id="709"> |
---|
14 | <label>work/git/mixpp/pmsm/simulator_zdenek/simulator.h</label> |
---|
15 | <link refid="simulator.h"/> |
---|
16 | <childnode refid="710" relation="include"> |
---|
17 | </childnode> |
---|
18 | <childnode refid="711" relation="include"> |
---|
19 | </childnode> |
---|
20 | </node> |
---|
21 | <node id="711"> |
---|
22 | <label>work/git/mixpp/pmsm/sim_var.cpp</label> |
---|
23 | <link refid="sim__var_8cpp"/> |
---|
24 | </node> |
---|
25 | <node id="710"> |
---|
26 | <label>work/git/mixpp/pmsm/pmsm_mix.cpp</label> |
---|
27 | <link refid="pmsm__mix_8cpp"/> |
---|
28 | </node> |
---|
29 | </invincdepgraph> |
---|
30 | <sectiondef kind="define"> |
---|
31 | <memberdef kind="define" id="simulator_8h_1e71449b1cc6e6250b91f539153a7a0d3" prot="public" static="no"> |
---|
32 | <name>M_PI</name> |
---|
33 | <initializer>3.14159265358979323846</initializer> |
---|
34 | <briefdescription> |
---|
35 | </briefdescription> |
---|
36 | <detaileddescription> |
---|
37 | </detaileddescription> |
---|
38 | <inbodydescription> |
---|
39 | </inbodydescription> |
---|
40 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" line="15" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" bodystart="15" bodyend="-1"/> |
---|
41 | </memberdef> |
---|
42 | </sectiondef> |
---|
43 | <sectiondef kind="var"> |
---|
44 | <memberdef kind="variable" id="simulator_8h_1ef96d7e2af821e8829d40ed1d8b0901d" prot="public" static="no" mutable="no"> |
---|
45 | <type>double</type> |
---|
46 | <definition>double x[9]</definition> |
---|
47 | <argsstring>[9]</argsstring> |
---|
48 | <name>x</name> |
---|
49 | <briefdescription> |
---|
50 | </briefdescription> |
---|
51 | <detaileddescription> |
---|
52 | </detaileddescription> |
---|
53 | <inbodydescription> |
---|
54 | </inbodydescription> |
---|
55 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" line="22" bodyfile="/home/smidl/work/git/mixpp/matlab/mex/ill_polyfit.m" bodystart="2" bodyend="-1"/> |
---|
56 | </memberdef> |
---|
57 | <memberdef kind="variable" id="simulator_8h_187accd1af8e0aff4b818d891374f7cec" prot="public" static="no" mutable="no"> |
---|
58 | <type>double</type> |
---|
59 | <definition>double t</definition> |
---|
60 | <argsstring></argsstring> |
---|
61 | <name>t</name> |
---|
62 | <briefdescription> |
---|
63 | </briefdescription> |
---|
64 | <detaileddescription> |
---|
65 | </detaileddescription> |
---|
66 | <inbodydescription> |
---|
67 | </inbodydescription> |
---|
68 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" line="23" bodyfile="/home/smidl/work/git/mixpp/matlab/testKF.m" bodystart="50" bodyend="-1"/> |
---|
69 | </memberdef> |
---|
70 | <memberdef kind="variable" id="simulator_8h_1f053457859f34ead8e8aee6e370743ac" prot="public" static="no" mutable="no"> |
---|
71 | <type>double</type> |
---|
72 | <definition>double KalmanObs[10]</definition> |
---|
73 | <argsstring>[10]</argsstring> |
---|
74 | <name>KalmanObs</name> |
---|
75 | <briefdescription> |
---|
76 | </briefdescription> |
---|
77 | <detaileddescription> |
---|
78 | </detaileddescription> |
---|
79 | <inbodydescription> |
---|
80 | </inbodydescription> |
---|
81 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" line="24" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.cpp" bodystart="71" bodyend="-1"/> |
---|
82 | </memberdef> |
---|
83 | </sectiondef> |
---|
84 | <sectiondef kind="func"> |
---|
85 | <memberdef kind="function" id="simulator_8h_148bbddff535c313ce90ca6350372f6d4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
86 | <type>void</type> |
---|
87 | <definition>void pmsmsim_set_parameters</definition> |
---|
88 | <argsstring>(double Rs0, double Ls0, double Fmag0, double Bf0, double p0, double kp0, double J0, double Uc0, double DT0, double dt0)</argsstring> |
---|
89 | <name>pmsmsim_set_parameters</name> |
---|
90 | <param> |
---|
91 | <type>double</type> |
---|
92 | <declname>Rs0</declname> |
---|
93 | </param> |
---|
94 | <param> |
---|
95 | <type>double</type> |
---|
96 | <declname>Ls0</declname> |
---|
97 | </param> |
---|
98 | <param> |
---|
99 | <type>double</type> |
---|
100 | <declname>Fmag0</declname> |
---|
101 | </param> |
---|
102 | <param> |
---|
103 | <type>double</type> |
---|
104 | <declname>Bf0</declname> |
---|
105 | </param> |
---|
106 | <param> |
---|
107 | <type>double</type> |
---|
108 | <declname>p0</declname> |
---|
109 | </param> |
---|
110 | <param> |
---|
111 | <type>double</type> |
---|
112 | <declname>kp0</declname> |
---|
113 | </param> |
---|
114 | <param> |
---|
115 | <type>double</type> |
---|
116 | <declname>J0</declname> |
---|
117 | </param> |
---|
118 | <param> |
---|
119 | <type>double</type> |
---|
120 | <declname>Uc0</declname> |
---|
121 | </param> |
---|
122 | <param> |
---|
123 | <type>double</type> |
---|
124 | <declname>DT0</declname> |
---|
125 | </param> |
---|
126 | <param> |
---|
127 | <type>double</type> |
---|
128 | <declname>dt0</declname> |
---|
129 | </param> |
---|
130 | <briefdescription> |
---|
131 | </briefdescription> |
---|
132 | <detaileddescription> |
---|
133 | </detaileddescription> |
---|
134 | <inbodydescription> |
---|
135 | </inbodydescription> |
---|
136 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" line="19"/> |
---|
137 | </memberdef> |
---|
138 | <memberdef kind="function" id="simulator_8h_1cdadda61be3f910910ac31cf4a3c1785" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
139 | <type>void</type> |
---|
140 | <definition>void pmsmsim_step</definition> |
---|
141 | <argsstring>(double Ww)</argsstring> |
---|
142 | <name>pmsmsim_step</name> |
---|
143 | <param> |
---|
144 | <type>double</type> |
---|
145 | <declname>Ww</declname> |
---|
146 | </param> |
---|
147 | <briefdescription> |
---|
148 | </briefdescription> |
---|
149 | <detaileddescription> |
---|
150 | </detaileddescription> |
---|
151 | <inbodydescription> |
---|
152 | </inbodydescription> |
---|
153 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" line="20"/> |
---|
154 | </memberdef> |
---|
155 | </sectiondef> |
---|
156 | <briefdescription> |
---|
157 | </briefdescription> |
---|
158 | <detaileddescription> |
---|
159 | </detaileddescription> |
---|
160 | <programlisting> |
---|
161 | <codeline lineno="1"><highlight class="comment">/*</highlight></codeline> |
---|
162 | <codeline lineno="2"><highlight class="comment"><sp/><sp/><sp/>Simulator<sp/>of<sp/>Vector<sp/>Controlled<sp/>PMSM<sp/>Drive</highlight></codeline> |
---|
163 | <codeline lineno="3"><highlight class="comment"></highlight></codeline> |
---|
164 | <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> |
---|
165 | <codeline lineno="5"><highlight class="comment"><sp/><sp/><sp/>introduces<sp/>basic<sp/>functions<sp/>...<sp/>set_parameters()<sp/>and<sp/>eval().</highlight></codeline> |
---|
166 | <codeline lineno="6"><highlight class="comment"></highlight></codeline> |
---|
167 | <codeline lineno="7"><highlight class="comment"><sp/><sp/><sp/>Z.<sp/>Peroutka</highlight></codeline> |
---|
168 | <codeline lineno="8"><highlight class="comment"></highlight></codeline> |
---|
169 | <codeline lineno="9"><highlight class="comment">Rev.<sp/>16.3.2008</highlight></codeline> |
---|
170 | <codeline lineno="10"><highlight class="comment"></highlight></codeline> |
---|
171 | <codeline lineno="11"><highlight class="comment">*/</highlight><highlight class="normal"></highlight></codeline> |
---|
172 | <codeline lineno="12"><highlight class="normal"></highlight></codeline> |
---|
173 | <codeline lineno="13"><highlight class="normal"></highlight><highlight class="comment">//<sp/>resi<sp/>problem<sp/>s<sp/>M_PI<sp/>ve<sp/>VC8</highlight><highlight class="normal"></highlight></codeline> |
---|
174 | <codeline lineno="14"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>M_PI</highlight></codeline> |
---|
175 | <codeline lineno="15"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>M_PI<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>3.14159265358979323846</highlight></codeline> |
---|
176 | <codeline lineno="16"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#endif</highlight></codeline> |
---|
177 | <codeline lineno="17"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> |
---|
178 | <codeline lineno="18"><highlight class="normal"></highlight></codeline> |
---|
179 | <codeline lineno="19"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>pmsmsim_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> |
---|
180 | <codeline lineno="20"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>pmsmsim_step(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Ww);</highlight></codeline> |
---|
181 | <codeline lineno="21"><highlight class="normal"></highlight></codeline> |
---|
182 | <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/>x[9];<sp/></highlight></codeline> |
---|
183 | <codeline lineno="23"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>t;<sp/></highlight></codeline> |
---|
184 | <codeline lineno="24"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>KalmanObs[10];</highlight></codeline> |
---|
185 | </programlisting> |
---|
186 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h"/> |
---|
187 | </compounddef> |
---|
188 | </doxygen> |
---|