⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pmsm__tables_8h.html

📁 ATtiny261 461 861 这份资料介绍了执行Attiny261 461 861微控制器系列正弦波驱动三相无刷直流电动机霍尔传感器。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
    <td><p><b>Initial value:</b><div class="fragment"><pre class="fragment">{  0,  5 * (<a class="code" href="PMSM_8h.html#a30">SINE_TABLE_LENGTH</a> / 6),  1 * (<a class="code" href="PMSM_8h.html#a30">SINE_TABLE_LENGTH</a> / 6),  0 * (<a class="code" href="PMSM_8h.html#a30">SINE_TABLE_LENGTH</a> / 6),  3 * (<a class="code" href="PMSM_8h.html#a30">SINE_TABLE_LENGTH</a> / 6),  4 * (<a class="code" href="PMSM_8h.html#a30">SINE_TABLE_LENGTH</a> / 6),  2 * (<a class="code" href="PMSM_8h.html#a30">SINE_TABLE_LENGTH</a> / 6),  0}</pre></div>Sine table offset values corresponding to hall sensor values when running in the forward direction. <p>This array contains the sine table offset that corresponds to the hall sensor values when running in the forward direction. At the moment of a hall change, using the new hall sensor value as index into this table returns the sine table offset that will synchronize the generated sine waves to the back-EMF of the motor.<p>Definition at line <a class="el" href="PMSM__tables_8h-source.html#l00322">322</a> of file <a class="el" href="PMSM__tables_8h-source.html">PMSM_tables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00888">HallChangeISR()</a>.    </td>  </tr></table><a class="anchor" name="a6"></a><!-- doxytag: member="PMSM_tables.h::CSOffsetsReverse" ref="a6" args="[8]" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">__flash const <a class="el" href="stdint_8h.html#a58">uint16_t</a> <a class="el" href="PMSM__tables_8h.html#a6">CSOffsetsReverse</a>[8]          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><b>Initial value:</b><div class="fragment"><pre class="fragment">{  0,  1 * (<a class="code" href="PMSM_8h.html#a30">SINE_TABLE_LENGTH</a> / 6),  5 * (<a class="code" href="PMSM_8h.html#a30">SINE_TABLE_LENGTH</a> / 6),  0 * (<a class="code" href="PMSM_8h.html#a30">SINE_TABLE_LENGTH</a> / 6),  3 * (<a class="code" href="PMSM_8h.html#a30">SINE_TABLE_LENGTH</a> / 6),  2 * (<a class="code" href="PMSM_8h.html#a30">SINE_TABLE_LENGTH</a> / 6),  4 * (<a class="code" href="PMSM_8h.html#a30">SINE_TABLE_LENGTH</a> / 6),  0}</pre></div>Sine table offset values corresponding to hall sensor values when running in the reverse direction. <p>This array contains the sine table offset that corresponds to the hall sensor values when running in the reverse direction. At the moment of a hall change, using the new hall sensor value as index into this table returns the sine table offset that will synchronize the generated sine waves to the back-EMF of the motor.<p>Definition at line <a class="el" href="PMSM__tables_8h-source.html#l00343">343</a> of file <a class="el" href="PMSM__tables_8h-source.html">PMSM_tables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00888">HallChangeISR()</a>.    </td>  </tr></table><a class="anchor" name="a3"></a><!-- doxytag: member="PMSM_tables.h::expectedHallSequenceForward" ref="a3" args="[8]" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">__flash const <a class="el" href="stdint_8h.html#a56">uint8_t</a> <a class="el" href="PMSM__tables_8h.html#a3">expectedHallSequenceForward</a>[8]          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><b>Initial value:</b><div class="fragment"><pre class="fragment">{  0xff,    3,    6,    2,    5,    1,    4,   0xff}</pre></div>Table of next expected hall sensor value when running forward. <p>This array contains the next expected hall sensor value when running in the forward direction. The value at the index pointed to by the current hall sensor value is the next expected hall sensor value in the forward direction.<p>Definition at line <a class="el" href="PMSM__tables_8h-source.html#l00295">295</a> of file <a class="el" href="PMSM__tables_8h-source.html">PMSM_tables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00522">ActualDirectionUpdate()</a>.    </td>  </tr></table><a class="anchor" name="a4"></a><!-- doxytag: member="PMSM_tables.h::expectedHallSequenceReverse" ref="a4" args="[8]" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">__flash const <a class="el" href="stdint_8h.html#a56">uint8_t</a> <a class="el" href="PMSM__tables_8h.html#a4">expectedHallSequenceReverse</a>[8]          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><b>Initial value:</b><div class="fragment"><pre class="fragment">{  0xff,    5,    3,    1,    6,    4,    2,   0xff}</pre></div>Table of next expected hall sensor value when running in the reverse direction. <p>This array contains the next expected hall sensor value when running in the reverse direction. The value at the index pointed to by the current hall sensor value is the next expected hall sensor value in the reverse direction.<p>Definition at line <a class="el" href="PMSM__tables_8h-source.html#l00308">308</a> of file <a class="el" href="PMSM__tables_8h-source.html">PMSM_tables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00522">ActualDirectionUpdate()</a>.    </td>  </tr></table><a class="anchor" name="a0"></a><!-- doxytag: member="PMSM_tables.h::sineTable" ref="a0" args="[SINE_TABLE_LENGTH *3]" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">__flash const <a class="el" href="stdint_8h.html#a56">uint8_t</a> <a class="el" href="PMSM__tables_8h.html#a0">sineTable</a>[SINE_TABLE_LENGTH *3]          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sine wave modulation table. <p>Table containing modulation values for all three phases. The table is organized as [U1, V1, W1, U2, V2, W2, ...] for forward driving, and [U1, W1, V1, U2, W2, V2, ...] for reverse driving.<p>Definition at line <a class="el" href="PMSM__tables_8h-source.html#l00042">42</a> of file <a class="el" href="PMSM__tables_8h-source.html">PMSM_tables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00750">SineOutputUpdate()</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon May 29 10:58:59 2006 for AVR449 by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -