[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="pwm_8h" kind="file"> |
---|
| 4 | <compoundname>pwm.h</compoundname> |
---|
| 5 | <includedby refid="pwm_8cpp" local="yes">work/git/mixpp/pmsm/simulator_zdenek/ekf_example/pwm.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="pwm_8h_17a680e4d7a5e9346e499145d368b3425" prot="public" static="no" mutable="no"> |
---|
| 9 | <type>double</type> |
---|
| 10 | <definition>double ladeni_pila</definition> |
---|
| 11 | <argsstring></argsstring> |
---|
| 12 | <name>ladeni_pila</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/pwm.h" line="12" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/pwm.cpp" bodystart="34" bodyend="-1"/> |
---|
| 20 | </memberdef> |
---|
| 21 | <memberdef kind="variable" id="pwm_8h_10395b9b0cf279728c73762ea8b38752d" prot="public" static="no" mutable="no"> |
---|
| 22 | <type>double</type> |
---|
| 23 | <definition>double ladeni_ur</definition> |
---|
| 24 | <argsstring></argsstring> |
---|
| 25 | <name>ladeni_ur</name> |
---|
| 26 | <briefdescription> |
---|
| 27 | </briefdescription> |
---|
| 28 | <detaileddescription> |
---|
| 29 | </detaileddescription> |
---|
| 30 | <inbodydescription> |
---|
| 31 | </inbodydescription> |
---|
| 32 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/pwm.h" line="13" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/pwm.cpp" bodystart="34" bodyend="-1"/> |
---|
| 33 | </memberdef> |
---|
| 34 | </sectiondef> |
---|
| 35 | <sectiondef kind="func"> |
---|
| 36 | <memberdef kind="function" id="pwm_8h_17513b869bbedd804e88eacb29ce7ce65" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 37 | <type>void</type> |
---|
| 38 | <definition>void pwm_full_init</definition> |
---|
| 39 | <argsstring>(double Ucn, double fc, double DT)</argsstring> |
---|
| 40 | <name>pwm_full_init</name> |
---|
| 41 | <param> |
---|
| 42 | <type>double</type> |
---|
| 43 | <declname>Ucn</declname> |
---|
| 44 | </param> |
---|
| 45 | <param> |
---|
| 46 | <type>double</type> |
---|
| 47 | <declname>fc</declname> |
---|
| 48 | </param> |
---|
| 49 | <param> |
---|
| 50 | <type>double</type> |
---|
| 51 | <declname>DT</declname> |
---|
| 52 | </param> |
---|
| 53 | <briefdescription> |
---|
| 54 | </briefdescription> |
---|
| 55 | <detaileddescription> |
---|
| 56 | </detaileddescription> |
---|
| 57 | <inbodydescription> |
---|
| 58 | </inbodydescription> |
---|
| 59 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/pwm.h" line="9"/> |
---|
| 60 | </memberdef> |
---|
| 61 | <memberdef kind="function" id="pwm_8h_11f94887ac28aad48fbc0a58158d1bfc9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 62 | <type>void</type> |
---|
| 63 | <definition>void pwm_full</definition> |
---|
| 64 | <argsstring>(double *us, double *u, double *Iz, double Ucn, double Uc, double *i, double fc, double *va_char, unsigned int pocet, double h)</argsstring> |
---|
| 65 | <name>pwm_full</name> |
---|
| 66 | <param> |
---|
| 67 | <type>double *</type> |
---|
| 68 | <declname>us</declname> |
---|
| 69 | </param> |
---|
| 70 | <param> |
---|
| 71 | <type>double *</type> |
---|
| 72 | <declname>u</declname> |
---|
| 73 | </param> |
---|
| 74 | <param> |
---|
| 75 | <type>double *</type> |
---|
| 76 | <declname>Iz</declname> |
---|
| 77 | </param> |
---|
| 78 | <param> |
---|
| 79 | <type>double</type> |
---|
| 80 | <declname>Ucn</declname> |
---|
| 81 | </param> |
---|
| 82 | <param> |
---|
| 83 | <type>double</type> |
---|
| 84 | <declname>Uc</declname> |
---|
| 85 | </param> |
---|
| 86 | <param> |
---|
| 87 | <type>double *</type> |
---|
| 88 | <declname>i</declname> |
---|
| 89 | </param> |
---|
| 90 | <param> |
---|
| 91 | <type>double</type> |
---|
| 92 | <declname>fc</declname> |
---|
| 93 | </param> |
---|
| 94 | <param> |
---|
| 95 | <type>double *</type> |
---|
| 96 | <declname>va_char</declname> |
---|
| 97 | </param> |
---|
| 98 | <param> |
---|
| 99 | <type>unsigned int</type> |
---|
| 100 | <declname>pocet</declname> |
---|
| 101 | </param> |
---|
| 102 | <param> |
---|
| 103 | <type>double</type> |
---|
| 104 | <declname>h</declname> |
---|
| 105 | </param> |
---|
| 106 | <briefdescription> |
---|
| 107 | </briefdescription> |
---|
| 108 | <detaileddescription> |
---|
| 109 | </detaileddescription> |
---|
| 110 | <inbodydescription> |
---|
| 111 | </inbodydescription> |
---|
| 112 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/pwm.h" line="10"/> |
---|
| 113 | </memberdef> |
---|
| 114 | <memberdef kind="function" id="pwm_8h_1e1c2432789266f899d9b76a1116671ab" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 115 | <type>void</type> |
---|
| 116 | <definition>void pwm_full_new_init</definition> |
---|
| 117 | <argsstring>(double h, double fc, double DT, int citac_init, int D_smer, int D_smer2)</argsstring> |
---|
| 118 | <name>pwm_full_new_init</name> |
---|
| 119 | <param> |
---|
| 120 | <type>double</type> |
---|
| 121 | <declname>h</declname> |
---|
| 122 | </param> |
---|
| 123 | <param> |
---|
| 124 | <type>double</type> |
---|
| 125 | <declname>fc</declname> |
---|
| 126 | </param> |
---|
| 127 | <param> |
---|
| 128 | <type>double</type> |
---|
| 129 | <declname>DT</declname> |
---|
| 130 | </param> |
---|
| 131 | <param> |
---|
| 132 | <type>int</type> |
---|
| 133 | <declname>citac_init</declname> |
---|
| 134 | </param> |
---|
| 135 | <param> |
---|
| 136 | <type>int</type> |
---|
| 137 | <declname>D_smer</declname> |
---|
| 138 | </param> |
---|
| 139 | <param> |
---|
| 140 | <type>int</type> |
---|
| 141 | <declname>D_smer2</declname> |
---|
| 142 | </param> |
---|
| 143 | <briefdescription> |
---|
| 144 | </briefdescription> |
---|
| 145 | <detaileddescription> |
---|
| 146 | </detaileddescription> |
---|
| 147 | <inbodydescription> |
---|
| 148 | </inbodydescription> |
---|
| 149 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/pwm.h" line="15"/> |
---|
| 150 | </memberdef> |
---|
| 151 | <memberdef kind="function" id="pwm_8h_1c56bd9c40bf614797dcf24aaa772cb13" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 152 | <type>void</type> |
---|
| 153 | <definition>void pwm_full_new</definition> |
---|
| 154 | <argsstring>(double *us, double *u, double *Iz, double Ucn, double Uc, double *is, double *va_char, unsigned int pocet)</argsstring> |
---|
| 155 | <name>pwm_full_new</name> |
---|
| 156 | <param> |
---|
| 157 | <type>double *</type> |
---|
| 158 | <declname>us</declname> |
---|
| 159 | </param> |
---|
| 160 | <param> |
---|
| 161 | <type>double *</type> |
---|
| 162 | <declname>u</declname> |
---|
| 163 | </param> |
---|
| 164 | <param> |
---|
| 165 | <type>double *</type> |
---|
| 166 | <declname>Iz</declname> |
---|
| 167 | </param> |
---|
| 168 | <param> |
---|
| 169 | <type>double</type> |
---|
| 170 | <declname>Ucn</declname> |
---|
| 171 | </param> |
---|
| 172 | <param> |
---|
| 173 | <type>double</type> |
---|
| 174 | <declname>Uc</declname> |
---|
| 175 | </param> |
---|
| 176 | <param> |
---|
| 177 | <type>double *</type> |
---|
| 178 | <declname>is</declname> |
---|
| 179 | </param> |
---|
| 180 | <param> |
---|
| 181 | <type>double *</type> |
---|
| 182 | <declname>va_char</declname> |
---|
| 183 | </param> |
---|
| 184 | <param> |
---|
| 185 | <type>unsigned int</type> |
---|
| 186 | <declname>pocet</declname> |
---|
| 187 | </param> |
---|
| 188 | <briefdescription> |
---|
| 189 | </briefdescription> |
---|
| 190 | <detaileddescription> |
---|
| 191 | </detaileddescription> |
---|
| 192 | <inbodydescription> |
---|
| 193 | </inbodydescription> |
---|
| 194 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/pwm.h" line="16"/> |
---|
| 195 | </memberdef> |
---|
| 196 | <memberdef kind="function" id="pwm_8h_190a472aec25336c72743a4b078251e3d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 197 | <type>void</type> |
---|
| 198 | <definition>void pwm_full_new_init_3h</definition> |
---|
| 199 | <argsstring>(double h, double fc, double DT, int citac_init, int D_smer, int D_smer2)</argsstring> |
---|
| 200 | <name>pwm_full_new_init_3h</name> |
---|
| 201 | <param> |
---|
| 202 | <type>double</type> |
---|
| 203 | <declname>h</declname> |
---|
| 204 | </param> |
---|
| 205 | <param> |
---|
| 206 | <type>double</type> |
---|
| 207 | <declname>fc</declname> |
---|
| 208 | </param> |
---|
| 209 | <param> |
---|
| 210 | <type>double</type> |
---|
| 211 | <declname>DT</declname> |
---|
| 212 | </param> |
---|
| 213 | <param> |
---|
| 214 | <type>int</type> |
---|
| 215 | <declname>citac_init</declname> |
---|
| 216 | </param> |
---|
| 217 | <param> |
---|
| 218 | <type>int</type> |
---|
| 219 | <declname>D_smer</declname> |
---|
| 220 | </param> |
---|
| 221 | <param> |
---|
| 222 | <type>int</type> |
---|
| 223 | <declname>D_smer2</declname> |
---|
| 224 | </param> |
---|
| 225 | <briefdescription> |
---|
| 226 | </briefdescription> |
---|
| 227 | <detaileddescription> |
---|
| 228 | </detaileddescription> |
---|
| 229 | <inbodydescription> |
---|
| 230 | </inbodydescription> |
---|
| 231 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/pwm.h" line="19"/> |
---|
| 232 | </memberdef> |
---|
| 233 | <memberdef kind="function" id="pwm_8h_18dd985080259d21d1c0505551e3d187e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 234 | <type>void</type> |
---|
| 235 | <definition>void pwm_full_new_3h</definition> |
---|
| 236 | <argsstring>(double *us, double *u, double *Iz, double Ucn, double Uc, double *is, double *va_char, unsigned int pocet, unsigned int mod)</argsstring> |
---|
| 237 | <name>pwm_full_new_3h</name> |
---|
| 238 | <param> |
---|
| 239 | <type>double *</type> |
---|
| 240 | <declname>us</declname> |
---|
| 241 | </param> |
---|
| 242 | <param> |
---|
| 243 | <type>double *</type> |
---|
| 244 | <declname>u</declname> |
---|
| 245 | </param> |
---|
| 246 | <param> |
---|
| 247 | <type>double *</type> |
---|
| 248 | <declname>Iz</declname> |
---|
| 249 | </param> |
---|
| 250 | <param> |
---|
| 251 | <type>double</type> |
---|
| 252 | <declname>Ucn</declname> |
---|
| 253 | </param> |
---|
| 254 | <param> |
---|
| 255 | <type>double</type> |
---|
| 256 | <declname>Uc</declname> |
---|
| 257 | </param> |
---|
| 258 | <param> |
---|
| 259 | <type>double *</type> |
---|
| 260 | <declname>is</declname> |
---|
| 261 | </param> |
---|
| 262 | <param> |
---|
| 263 | <type>double *</type> |
---|
| 264 | <declname>va_char</declname> |
---|
| 265 | </param> |
---|
| 266 | <param> |
---|
| 267 | <type>unsigned int</type> |
---|
| 268 | <declname>pocet</declname> |
---|
| 269 | </param> |
---|
| 270 | <param> |
---|
| 271 | <type>unsigned int</type> |
---|
| 272 | <declname>mod</declname> |
---|
| 273 | </param> |
---|
| 274 | <briefdescription> |
---|
| 275 | </briefdescription> |
---|
| 276 | <detaileddescription> |
---|
| 277 | </detaileddescription> |
---|
| 278 | <inbodydescription> |
---|
| 279 | </inbodydescription> |
---|
| 280 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/pwm.h" line="20"/> |
---|
| 281 | </memberdef> |
---|
| 282 | </sectiondef> |
---|
| 283 | <briefdescription> |
---|
| 284 | </briefdescription> |
---|
| 285 | <detaileddescription> |
---|
| 286 | </detaileddescription> |
---|
| 287 | <programlisting> |
---|
| 288 | <codeline lineno="1"><highlight class="comment">/*<sp/>modul<sp/>PWM<sp/>modulace</highlight></codeline> |
---|
| 289 | <codeline lineno="2"><highlight class="comment"><sp/><sp/><sp/>ubytky<sp/>a<sp/>mrtve<sp/>casy</highlight></codeline> |
---|
| 290 | <codeline lineno="3"><highlight class="comment"><sp/><sp/><sp/></highlight></codeline> |
---|
| 291 | <codeline lineno="4"><highlight class="comment"><sp/><sp/><sp/>shodna<sp/>verze<sp/>s<sp/>PWM_FULL_LC</highlight></codeline> |
---|
| 292 | <codeline lineno="5"><highlight class="comment"><sp/><sp/><sp/></highlight></codeline> |
---|
| 293 | <codeline lineno="6"><highlight class="comment"><sp/><sp/><sp/>31.5.<sp/>2007</highlight></codeline> |
---|
| 294 | <codeline lineno="7"><highlight class="comment">*/</highlight><highlight class="normal"></highlight></codeline> |
---|
| 295 | <codeline lineno="8"><highlight class="normal"></highlight></codeline> |
---|
| 296 | <codeline lineno="9"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>pwm_full_init(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Ucn,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>fc,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>DT);</highlight></codeline> |
---|
| 297 | <codeline lineno="10"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>pwm_full(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*us,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*u,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*Iz,</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Ucn,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Uc,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*i,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>fc,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*va_char,</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>pocet,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>h);</highlight></codeline> |
---|
| 298 | <codeline lineno="11"><highlight class="normal"></highlight></codeline> |
---|
| 299 | <codeline lineno="12"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>ladeni_pila;</highlight></codeline> |
---|
| 300 | <codeline lineno="13"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>ladeni_ur;</highlight></codeline> |
---|
| 301 | <codeline lineno="14"><highlight class="normal"></highlight></codeline> |
---|
| 302 | <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/>pwm_full_new_init(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>h,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>fc,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>DT,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>citac_init,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>D_smer,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>D_smer2);</highlight></codeline> |
---|
| 303 | <codeline lineno="16"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>pwm_full_new(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*us,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*u,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*Iz,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Ucn,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Uc,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*is,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*va_char,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>pocet);</highlight></codeline> |
---|
| 304 | <codeline lineno="17"><highlight class="normal"></highlight></codeline> |
---|
| 305 | <codeline lineno="18"><highlight class="normal"></highlight><highlight class="comment">//<sp/>vylepsena<sp/>PWM<sp/>...<sp/>mod=0<sp/>-<sp/>sinusova<sp/>PWM;<sp/>mod=1<sp/>-<sp/>PWM<sp/>se<sp/>3.<sp/>harmonickou</highlight><highlight class="normal"></highlight></codeline> |
---|
| 306 | <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/>pwm_full_new_init_3h(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>h,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>fc,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>DT,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>citac_init,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>D_smer,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>D_smer2);</highlight></codeline> |
---|
| 307 | <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/>pwm_full_new_3h(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*us,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*u,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*Iz,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Ucn,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Uc,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*is,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>*va_char,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>pocet,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>mod);</highlight></codeline> |
---|
| 308 | </programlisting> |
---|
| 309 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/pwm.h"/> |
---|
| 310 | </compounddef> |
---|
| 311 | </doxygen> |
---|