📄 pmsmtables_8h.html
字号:
Definition at line <a class="el" href="PMSMtables_8h-source.html#l00569">569</a> of file <a class="el" href="PMSMtables_8h-source.html">PMSMtables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00930">HallChangeISR()</a>. </td> </tr></table><a class="anchor" name="a7"></a><!-- doxytag: member="PMSMtables.h::CSOffsetsReverse" ref="a7" 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="PMSMtables_8h.html#a7">CSOffsetsReverse</a>[8] </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><b>Initial value:</b><div class="fragment"><pre class="fragment">{ 0, 1 * (<a class="code" href="PMSM_8h.html#a3">SINE_TABLE_LENGTH</a> / 6), 5 * (<a class="code" href="PMSM_8h.html#a3">SINE_TABLE_LENGTH</a> / 6), 0 * (<a class="code" href="PMSM_8h.html#a3">SINE_TABLE_LENGTH</a> / 6), 3 * (<a class="code" href="PMSM_8h.html#a3">SINE_TABLE_LENGTH</a> / 6), 2 * (<a class="code" href="PMSM_8h.html#a3">SINE_TABLE_LENGTH</a> / 6), 4 * (<a class="code" href="PMSM_8h.html#a3">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="PMSMtables_8h-source.html#l00590">590</a> of file <a class="el" href="PMSMtables_8h-source.html">PMSMtables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00930">HallChangeISR()</a>. </td> </tr></table><a class="anchor" name="a1"></a><!-- doxytag: member="PMSMtables.h::divisionTable" ref="a1" args="[256]" --><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="PMSMtables_8h.html#a1">divisionTable</a>[256] </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Divistion table used to obtain sine table increment without performing a division at high motor speed. <p>This table contains 8.8 fixed point step size values for 'ticks' less than 256.<p>Definition at line <a class="el" href="PMSMtables_8h-source.html#l00239">239</a> of file <a class="el" href="PMSMtables_8h-source.html">PMSMtables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00695">SineTableIncrementCalculate()</a>. </td> </tr></table><a class="anchor" name="a4"></a><!-- doxytag: member="PMSMtables.h::expectedHallSequenceForward" ref="a4" args="[7]" --><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="PMSMtables_8h.html#a4">expectedHallSequenceForward</a>[7] </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><b>Initial value:</b><div class="fragment"><pre class="fragment">{ 0xff, 3, 6, 2, 5, 1, 4}</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="PMSMtables_8h-source.html#l00541">541</a> of file <a class="el" href="PMSMtables_8h-source.html">PMSMtables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00594">ActualDirectionUpdate()</a>. </td> </tr></table><a class="anchor" name="a5"></a><!-- doxytag: member="PMSMtables.h::expectedHallSequenceReverse" ref="a5" args="[7]" --><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="PMSMtables_8h.html#a5">expectedHallSequenceReverse</a>[7] </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><b>Initial value:</b><div class="fragment"><pre class="fragment">{ 0xff, 5, 3, 1, 6, 4, 2}</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="PMSMtables_8h-source.html#l00555">555</a> of file <a class="el" href="PMSMtables_8h-source.html">PMSMtables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00594">ActualDirectionUpdate()</a>. </td> </tr></table><a class="anchor" name="a0"></a><!-- doxytag: member="PMSMtables.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="PMSMtables_8h.html#a0">sineTable</a>[SINE_TABLE_LENGTH *3] </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </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="PMSMtables_8h-source.html#l00037">37</a> of file <a class="el" href="PMSMtables_8h-source.html">PMSMtables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l01030">Timer1CaptureISR()</a>. </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Mar 27 09:31:34 2006 for AVR447: Sine wave driving of three phase motor by <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 + -