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="reference_8h" kind="file"> |
---|
4 | <compoundname>reference.h</compoundname> |
---|
5 | <includedby refid="ekf_8cpp" local="yes">work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf.cpp</includedby> |
---|
6 | <includedby refid="ekf__obj_8h" local="yes">work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf_obj.h</includedby> |
---|
7 | <invincdepgraph> |
---|
8 | <node id="780"> |
---|
9 | <label>work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h</label> |
---|
10 | <link refid="reference.h"/> |
---|
11 | <childnode refid="781" relation="include"> |
---|
12 | </childnode> |
---|
13 | </node> |
---|
14 | <node id="781"> |
---|
15 | <label>work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf_obj.h</label> |
---|
16 | <link refid="ekf__obj_8h"/> |
---|
17 | </node> |
---|
18 | </invincdepgraph> |
---|
19 | <sectiondef kind="define"> |
---|
20 | <memberdef kind="define" id="reference_8h_1267689c26dd33b897617b09bfd3d61ab" prot="public" static="no"> |
---|
21 | <name>Uref</name> |
---|
22 | <initializer>600.0</initializer> |
---|
23 | <briefdescription> |
---|
24 | </briefdescription> |
---|
25 | <detaileddescription> |
---|
26 | </detaileddescription> |
---|
27 | <inbodydescription> |
---|
28 | </inbodydescription> |
---|
29 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="21" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="21" bodyend="-1"/> |
---|
30 | </memberdef> |
---|
31 | <memberdef kind="define" id="reference_8h_1eaa6fe421a77975813e77b5756ccc477" prot="public" static="no"> |
---|
32 | <name>Iref</name> |
---|
33 | <initializer>(30.0*1.4142)</initializer> |
---|
34 | <briefdescription> |
---|
35 | </briefdescription> |
---|
36 | <detaileddescription> |
---|
37 | </detaileddescription> |
---|
38 | <inbodydescription> |
---|
39 | </inbodydescription> |
---|
40 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="22" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="22" bodyend="-1"/> |
---|
41 | </memberdef> |
---|
42 | <memberdef kind="define" id="reference_8h_1aace33ca634a4d80e56c62b0e2fd59c7" prot="public" static="no"> |
---|
43 | <name>Wref</name> |
---|
44 | <initializer>(6.283185*200.)</initializer> |
---|
45 | <briefdescription> |
---|
46 | </briefdescription> |
---|
47 | <detaileddescription> |
---|
48 | </detaileddescription> |
---|
49 | <inbodydescription> |
---|
50 | </inbodydescription> |
---|
51 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="23" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="23" bodyend="-1"/> |
---|
52 | </memberdef> |
---|
53 | <memberdef kind="define" id="reference_8h_1022f840b07e4a894f68f31890f63d032" prot="public" static="no"> |
---|
54 | <name>Thetaref</name> |
---|
55 | <initializer>3.141593</initializer> |
---|
56 | <briefdescription> |
---|
57 | </briefdescription> |
---|
58 | <detaileddescription> |
---|
59 | </detaileddescription> |
---|
60 | <inbodydescription> |
---|
61 | </inbodydescription> |
---|
62 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="24" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="24" bodyend="-1"/> |
---|
63 | </memberdef> |
---|
64 | <memberdef kind="define" id="reference_8h_156662f108c8012e2db4e518d0c6a51af" prot="public" static="no"> |
---|
65 | <name>Mref</name> |
---|
66 | <initializer>34.0</initializer> |
---|
67 | <briefdescription> |
---|
68 | </briefdescription> |
---|
69 | <detaileddescription> |
---|
70 | </detaileddescription> |
---|
71 | <inbodydescription> |
---|
72 | </inbodydescription> |
---|
73 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="25" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="25" bodyend="-1"/> |
---|
74 | </memberdef> |
---|
75 | <memberdef kind="define" id="reference_8h_163e0cfc48d4e86baa220d1c90ee46374" prot="public" static="no"> |
---|
76 | <name>Fref</name> |
---|
77 | <initializer>0.1989</initializer> |
---|
78 | <briefdescription> |
---|
79 | </briefdescription> |
---|
80 | <detaileddescription> |
---|
81 | </detaileddescription> |
---|
82 | <inbodydescription> |
---|
83 | </inbodydescription> |
---|
84 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="26" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="26" bodyend="-1"/> |
---|
85 | </memberdef> |
---|
86 | <memberdef kind="define" id="reference_8h_1c7349dbe5aa058842fbdb920d3d72573" prot="public" static="no"> |
---|
87 | <name>Qm</name> |
---|
88 | <initializer>13</initializer> |
---|
89 | <briefdescription> |
---|
90 | </briefdescription> |
---|
91 | <detaileddescription> |
---|
92 | </detaileddescription> |
---|
93 | <inbodydescription> |
---|
94 | </inbodydescription> |
---|
95 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="28" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="28" bodyend="-1"/> |
---|
96 | </memberdef> |
---|
97 | <memberdef kind="define" id="reference_8h_1a1044bde2f0653831a7732bb11024778" prot="public" static="no"> |
---|
98 | <name>Imax</name> |
---|
99 | <initializer>50.0</initializer> |
---|
100 | <briefdescription> |
---|
101 | </briefdescription> |
---|
102 | <detaileddescription> |
---|
103 | </detaileddescription> |
---|
104 | <inbodydescription> |
---|
105 | </inbodydescription> |
---|
106 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="31" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="31" bodyend="-1"/> |
---|
107 | </memberdef> |
---|
108 | <memberdef kind="define" id="reference_8h_176d9ee5ac7584cb766fd1122ac38f3c6" prot="public" static="no"> |
---|
109 | <name>Umax</name> |
---|
110 | <initializer>662.5</initializer> |
---|
111 | <briefdescription> |
---|
112 | </briefdescription> |
---|
113 | <detaileddescription> |
---|
114 | </detaileddescription> |
---|
115 | <inbodydescription> |
---|
116 | </inbodydescription> |
---|
117 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="32" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="32" bodyend="-1"/> |
---|
118 | </memberdef> |
---|
119 | <memberdef kind="define" id="reference_8h_10dc2691f37ba6a4009460006aeda1c02" prot="public" static="no"> |
---|
120 | <name>K_I_p</name> |
---|
121 | <initializer>(Imax/Iref)</initializer> |
---|
122 | <briefdescription> |
---|
123 | </briefdescription> |
---|
124 | <detaileddescription> |
---|
125 | </detaileddescription> |
---|
126 | <inbodydescription> |
---|
127 | </inbodydescription> |
---|
128 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="34" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="34" bodyend="-1"/> |
---|
129 | </memberdef> |
---|
130 | <memberdef kind="define" id="reference_8h_115e8b792a042d74802e50f7407c2778d" prot="public" static="no"> |
---|
131 | <name>K_U_p</name> |
---|
132 | <initializer>(Umax/Uref)</initializer> |
---|
133 | <briefdescription> |
---|
134 | </briefdescription> |
---|
135 | <detaileddescription> |
---|
136 | </detaileddescription> |
---|
137 | <inbodydescription> |
---|
138 | </inbodydescription> |
---|
139 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="35" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="35" bodyend="-1"/> |
---|
140 | </memberdef> |
---|
141 | <memberdef kind="define" id="reference_8h_1e6b60c0e6d15e765aad83760cf0ab547" prot="public" static="no"> |
---|
142 | <name>Q_K_I</name> |
---|
143 | <initializer>14</initializer> |
---|
144 | <briefdescription> |
---|
145 | </briefdescription> |
---|
146 | <detaileddescription> |
---|
147 | </detaileddescription> |
---|
148 | <inbodydescription> |
---|
149 | </inbodydescription> |
---|
150 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="37" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="37" bodyend="-1"/> |
---|
151 | </memberdef> |
---|
152 | <memberdef kind="define" id="reference_8h_1410bef86a735ab2655a5020a50bb07ab" prot="public" static="no"> |
---|
153 | <name>Q_K_U</name> |
---|
154 | <initializer>14</initializer> |
---|
155 | <briefdescription> |
---|
156 | </briefdescription> |
---|
157 | <detaileddescription> |
---|
158 | </detaileddescription> |
---|
159 | <inbodydescription> |
---|
160 | </inbodydescription> |
---|
161 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="38" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="38" bodyend="-1"/> |
---|
162 | </memberdef> |
---|
163 | <memberdef kind="define" id="reference_8h_1b52ad0d1e7bf36cb2d2542a6d17ed115" prot="public" static="no"> |
---|
164 | <name>Isfault</name> |
---|
165 | <initializer>(48.0/Iref)</initializer> |
---|
166 | <briefdescription> |
---|
167 | </briefdescription> |
---|
168 | <detaileddescription> |
---|
169 | </detaileddescription> |
---|
170 | <inbodydescription> |
---|
171 | </inbodydescription> |
---|
172 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="41" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="41" bodyend="-1"/> |
---|
173 | </memberdef> |
---|
174 | <memberdef kind="define" id="reference_8h_10a424dd77d1d5c50047cfec9890df688" prot="public" static="no"> |
---|
175 | <name>Ucmax_fault</name> |
---|
176 | <initializer>(650.0/Uref)</initializer> |
---|
177 | <briefdescription> |
---|
178 | </briefdescription> |
---|
179 | <detaileddescription> |
---|
180 | </detaileddescription> |
---|
181 | <inbodydescription> |
---|
182 | </inbodydescription> |
---|
183 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" line="42" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h" bodystart="42" bodyend="-1"/> |
---|
184 | </memberdef> |
---|
185 | </sectiondef> |
---|
186 | <briefdescription> |
---|
187 | </briefdescription> |
---|
188 | <detaileddescription> |
---|
189 | </detaileddescription> |
---|
190 | <programlisting> |
---|
191 | <codeline lineno="1"><highlight class="comment">/****************************************</highlight></codeline> |
---|
192 | <codeline lineno="2"><highlight class="comment"></highlight></codeline> |
---|
193 | <codeline lineno="3"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Parametry<sp/>synchronniho<sp/>motoru<sp/>s<sp/>permanentnimi<sp/>magnety</highlight></codeline> |
---|
194 | <codeline lineno="4"><highlight class="comment"></highlight></codeline> |
---|
195 | <codeline lineno="5"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Definice<sp/>zakl.<sp/>parametru<sp/>pro<sp/>Pn=5.9kW</highlight></codeline> |
---|
196 | <codeline lineno="6"><highlight class="comment"></highlight></codeline> |
---|
197 | <codeline lineno="7"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Z.<sp/>Peroutka</highlight></codeline> |
---|
198 | <codeline lineno="8"><highlight class="comment"></highlight></codeline> |
---|
199 | <codeline lineno="9"><highlight class="comment">Rev.<sp/><sp/><sp/><sp/>10.9.2007</highlight></codeline> |
---|
200 | <codeline lineno="10"><highlight class="comment"></highlight></codeline> |
---|
201 | <codeline lineno="11"><highlight class="comment">Pohon<sp/>NFR</highlight></codeline> |
---|
202 | <codeline lineno="12"><highlight class="comment"></highlight></codeline> |
---|
203 | <codeline lineno="13"><highlight class="comment">-<sp/>cidlo<sp/>proudu<sp/>Imax=55A<sp/>-><sp/>50A</highlight></codeline> |
---|
204 | <codeline lineno="14"><highlight class="comment">10.9.2007<sp/><sp/><sp/><sp/><sp/><sp/><sp/>zmena<sp/>reference<sp/>proudu<sp/>z<sp/>Iref=12*sqrt(2)<sp/>na<sp/>Iref=30*sqrt(2)</highlight></codeline> |
---|
205 | <codeline lineno="15"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>zmena<sp/>reference<sp/>momentu<sp/>z<sp/>Mref=17.8<sp/>na<sp/>Mref=34</highlight></codeline> |
---|
206 | <codeline lineno="16"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>zmena<sp/>reference<sp/>toku<sp/>z<sp/>Fref=1<sp/>na<sp/>Fref=Fmag=0.1989</highlight></codeline> |
---|
207 | <codeline lineno="17"><highlight class="comment">******************************************/</highlight><highlight class="normal"></highlight></codeline> |
---|
208 | <codeline lineno="18"><highlight class="normal"></highlight></codeline> |
---|
209 | <codeline lineno="19"><highlight class="normal"></highlight><highlight class="comment">//<sp/>pri<sp/>pouziti<sp/>Q13<sp/>se<sp/>za<sp/>vztazne<sp/>hodnoty<sp/>voli<sp/>jmenovite<sp/>hodnoty</highlight><highlight class="normal"></highlight></codeline> |
---|
210 | <codeline lineno="20"><highlight class="normal"></highlight></codeline> |
---|
211 | <codeline lineno="21"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>Uref<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>600.0</highlight></codeline> |
---|
212 | <codeline lineno="22"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>Iref<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(30.0*1.4142)</highlight></codeline> |
---|
213 | <codeline lineno="23"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>Wref<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(6.283185*200.)</highlight></codeline> |
---|
214 | <codeline lineno="24"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>Thetaref<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>3.141593</highlight></codeline> |
---|
215 | <codeline lineno="25"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>Mref<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>34.0</highlight></codeline> |
---|
216 | <codeline lineno="26"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>Fref<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0.1989</highlight></codeline> |
---|
217 | <codeline lineno="27"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> |
---|
218 | <codeline lineno="28"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>Qm<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>13<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>//<sp/>veliciny<sp/>motoru<sp/>jsou<sp/>v<sp/>presnosti<sp/>Qm</highlight></codeline> |
---|
219 | <codeline lineno="29"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> |
---|
220 | <codeline lineno="30"><highlight class="normal"></highlight><highlight class="comment">//<sp/>parametry<sp/>cidel<sp/>-<sp/>maximalni<sp/>hodnoty<sp/>(Xmax)<sp/>...<sp/>vyuzivano<sp/>v<sp/>modulu<sp/>ADC</highlight><highlight class="normal"></highlight></codeline> |
---|
221 | <codeline lineno="31"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>Imax<sp/><sp/><sp/><sp/>50.0</highlight></codeline> |
---|
222 | <codeline lineno="32"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>Umax<sp/><sp/><sp/><sp/>662.5<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>//<sp/>662.5<sp/>/<sp/>442.5<sp/>/<sp/>222.5</highlight></codeline> |
---|
223 | <codeline lineno="33"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> |
---|
224 | <codeline lineno="34"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>K_I_p<sp/><sp/><sp/>(Imax/Iref)<sp/><sp/><sp/><sp/><sp/>//<sp/>zesileni<sp/>cidel<sp/>proudu</highlight></codeline> |
---|
225 | <codeline lineno="35"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>K_U_p<sp/><sp/><sp/>(Umax/Uref)<sp/><sp/><sp/><sp/><sp/>//<sp/>zesileni<sp/>cidel<sp/>napeti</highlight></codeline> |
---|
226 | <codeline lineno="36"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> |
---|
227 | <codeline lineno="37"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>Q_K_I<sp/><sp/><sp/>14<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>//<sp/>system<sp/>pro<sp/>zesileni<sp/>cidel<sp/>proudu<sp/>(konst.<sp/>K_I)</highlight></codeline> |
---|
228 | <codeline lineno="38"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>Q_K_U<sp/><sp/><sp/>14<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>//<sp/>system<sp/>pro<sp/>zesileni<sp/>cidel<sp/>napeti<sp/>(konst.<sp/>K_U)</highlight></codeline> |
---|
229 | <codeline lineno="39"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> |
---|
230 | <codeline lineno="40"><highlight class="normal"></highlight><highlight class="comment">//<sp/>maximalni<sp/>proud<sp/>motoru,<sp/>pri<sp/>kterem<sp/>se<sp/>menic<sp/>vypina<sp/>-<sp/>porucha</highlight><highlight class="normal"></highlight></codeline> |
---|
231 | <codeline lineno="41"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>Isfault<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(48.0/Iref)</highlight></codeline> |
---|
232 | <codeline lineno="42"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>Ucmax_fault<sp/><sp/><sp/><sp/><sp/>(650.0/Uref)</highlight></codeline> |
---|
233 | </programlisting> |
---|
234 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/reference.h"/> |
---|
235 | </compounddef> |
---|
236 | </doxygen> |
---|