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

📄 structpiddata.html

📁 Atmel算法(pid)-步进电机驱动源码 HOWTO,不好用你找我,绝对ok!
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>AVR447: Sine wave driving of three phase motor: pidData Struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.4 --><div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div><h1>pidData Struct Reference</h1><!-- doxytag: class="pidData" --><code>#include &lt;<a class="el" href="pid_8h-source.html">pid.h</a>&gt;</code><p><hr><a name="_details"></a><h2>Detailed Description</h2>PID Status. <p>Setpoints and data used by the PID control algorithm<p><p>Definition at line <a class="el" href="pid_8h-source.html#l00044">44</a> of file <a class="el" href="pid_8h-source.html">pid.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Data Fields</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="stdint_8h.html#a57">int16_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpidData.html#o0">D_Factor</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Derivative tuning constant, given in x100.  <a href="#o0"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="stdint_8h.html#a57">int16_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpidData.html#o1">I_Factor</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Integral tuning constant, given in x100.  <a href="#o1"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="stdint_8h.html#a57">int16_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpidData.html#o2">lastProcessValue</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Last process value, used to find derivative of process value.  <a href="#o2"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="stdint_8h.html#a57">int16_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpidData.html#o3">maxError</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximum allowed error, avoid overflow.  <a href="#o3"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="stdint_8h.html#a59">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpidData.html#o4">maxSumError</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximum allowed sumerror, avoid overflow.  <a href="#o4"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="stdint_8h.html#a57">int16_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpidData.html#o5">P_Factor</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Proportional tuning constant, given in x100.  <a href="#o5"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="stdint_8h.html#a59">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpidData.html#o6">sumError</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Summation of errors, used for integrate calculations.  <a href="#o6"></a><br></td></tr></table><hr><h2>Field Documentation</h2><a class="anchor" name="o0"></a><!-- doxytag: member="pidData::D_Factor" ref="o0" args="" --><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"><a class="el" href="stdint_8h.html#a57">int16_t</a> <a class="el" href="structpidData.html#o0">pidData::D_Factor</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The Derivative tuning constant, given in x100. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00054">54</a> of file <a class="el" href="pid_8h-source.html">pid.h</a>.<p>Referenced by <a class="el" href="pid_8c-source.html#l00065">PID_Controller()</a>, and <a class="el" href="pid_8c-source.html#l00041">PID_Init()</a>.    </td>  </tr></table><a class="anchor" name="o1"></a><!-- doxytag: member="pidData::I_Factor" ref="o1" args="" --><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"><a class="el" href="stdint_8h.html#a57">int16_t</a> <a class="el" href="structpidData.html#o1">pidData::I_Factor</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The Integral tuning constant, given in x100. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00052">52</a> of file <a class="el" href="pid_8h-source.html">pid.h</a>.<p>Referenced by <a class="el" href="pid_8c-source.html#l00065">PID_Controller()</a>, and <a class="el" href="pid_8c-source.html#l00041">PID_Init()</a>.    </td>  </tr></table><a class="anchor" name="o2"></a><!-- doxytag: member="pidData::lastProcessValue" ref="o2" args="" --><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"><a class="el" href="stdint_8h.html#a57">int16_t</a> <a class="el" href="structpidData.html#o2">pidData::lastProcessValue</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Last process value, used to find derivative of process value. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00046">46</a> of file <a class="el" href="pid_8h-source.html">pid.h</a>.<p>Referenced by <a class="el" href="pid_8c-source.html#l00065">PID_Controller()</a>, and <a class="el" href="pid_8c-source.html#l00041">PID_Init()</a>.    </td>  </tr></table><a class="anchor" name="o3"></a><!-- doxytag: member="pidData::maxError" ref="o3" args="" --><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"><a class="el" href="stdint_8h.html#a57">int16_t</a> <a class="el" href="structpidData.html#o3">pidData::maxError</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Maximum allowed error, avoid overflow. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00056">56</a> of file <a class="el" href="pid_8h-source.html">pid.h</a>.<p>Referenced by <a class="el" href="pid_8c-source.html#l00065">PID_Controller()</a>, and <a class="el" href="pid_8c-source.html#l00041">PID_Init()</a>.    </td>  </tr></table><a class="anchor" name="o4"></a><!-- doxytag: member="pidData::maxSumError" ref="o4" args="" --><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"><a class="el" href="stdint_8h.html#a59">int32_t</a> <a class="el" href="structpidData.html#o4">pidData::maxSumError</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Maximum allowed sumerror, avoid overflow. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00058">58</a> of file <a class="el" href="pid_8h-source.html">pid.h</a>.<p>Referenced by <a class="el" href="pid_8c-source.html#l00065">PID_Controller()</a>, and <a class="el" href="pid_8c-source.html#l00041">PID_Init()</a>.    </td>  </tr></table><a class="anchor" name="o5"></a><!-- doxytag: member="pidData::P_Factor" ref="o5" args="" --><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"><a class="el" href="stdint_8h.html#a57">int16_t</a> <a class="el" href="structpidData.html#o5">pidData::P_Factor</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The Proportional tuning constant, given in x100. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00050">50</a> of file <a class="el" href="pid_8h-source.html">pid.h</a>.<p>Referenced by <a class="el" href="pid_8c-source.html#l00065">PID_Controller()</a>, and <a class="el" href="pid_8c-source.html#l00041">PID_Init()</a>.    </td>  </tr></table><a class="anchor" name="o6"></a><!-- doxytag: member="pidData::sumError" ref="o6" args="" --><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"><a class="el" href="stdint_8h.html#a59">int32_t</a> <a class="el" href="structpidData.html#o6">pidData::sumError</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Summation of errors, used for integrate calculations. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00048">48</a> of file <a class="el" href="pid_8h-source.html">pid.h</a>.<p>Referenced by <a class="el" href="pid_8c-source.html#l00065">PID_Controller()</a>, <a class="el" href="pid_8c-source.html#l00041">PID_Init()</a>, and <a class="el" href="pid_8c-source.html#l00129">PID_Reset_Integrator()</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&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 + -