📄 structpid__data.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>AVR221 - PID controller: PID_DATA struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.7 --><div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div><h1>PID_DATA Struct Reference</h1><code>#include <<a class="el" href="pid_8h-source.html">pid.h</a>></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#l00031">31</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> </td><td class="memItemRight" valign=bottom><a class="el" href="structPID__DATA.html#o0">D_Factor</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">The Derivative tuning constant, multiplied with SCALING_FACTOR. <a href="#o0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="stdint_8h.html#a57">int16_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structPID__DATA.html#o1">I_Factor</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">The Integral tuning constant, multiplied with SCALING_FACTOR. <a href="#o1"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="stdint_8h.html#a57">int16_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structPID__DATA.html#o2">lastProcessValue</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Last process value, used to find derivative of process value. <a href="#o2"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="stdint_8h.html#a57">int16_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structPID__DATA.html#o3">maxError</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Maximum allowed error, avoid overflow. <a href="#o3"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="stdint_8h.html#a59">int32_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structPID__DATA.html#o4">maxSumError</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Maximum allowed sumerror, avoid overflow. <a href="#o4"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="stdint_8h.html#a57">int16_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structPID__DATA.html#o5">P_Factor</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">The Proportional tuning constant, multiplied with SCALING_FACTOR. <a href="#o5"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="stdint_8h.html#a59">int32_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structPID__DATA.html#o6">sumError</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Summation of errors, used for integrate calculations. <a href="#o6"></a><br><br></td></tr></table><hr><h2>Field Documentation</h2><a class="anchor" name="o0" doxytag="PID_DATA::D_Factor" ></a><p><table class="mdTable" width="100%" 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="structPID__DATA.html#o0">PID_DATA::D_Factor</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>The Derivative tuning constant, multiplied with SCALING_FACTOR. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00041">41</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#l00059">pid_Controller()</a>, and <a class="el" href="pid_8c-source.html#l00035">pid_Init()</a>. </td> </tr></table><a class="anchor" name="o1" doxytag="PID_DATA::I_Factor" ></a><p><table class="mdTable" width="100%" 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="structPID__DATA.html#o1">PID_DATA::I_Factor</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>The Integral tuning constant, multiplied with SCALING_FACTOR. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00039">39</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#l00059">pid_Controller()</a>, and <a class="el" href="pid_8c-source.html#l00035">pid_Init()</a>. </td> </tr></table><a class="anchor" name="o2" doxytag="PID_DATA::lastProcessValue" ></a><p><table class="mdTable" width="100%" 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="structPID__DATA.html#o2">PID_DATA::lastProcessValue</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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#l00033">33</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#l00059">pid_Controller()</a>, and <a class="el" href="pid_8c-source.html#l00035">pid_Init()</a>. </td> </tr></table><a class="anchor" name="o3" doxytag="PID_DATA::maxError" ></a><p><table class="mdTable" width="100%" 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="structPID__DATA.html#o3">PID_DATA::maxError</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Maximum allowed error, avoid overflow. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00043">43</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#l00059">pid_Controller()</a>, and <a class="el" href="pid_8c-source.html#l00035">pid_Init()</a>. </td> </tr></table><a class="anchor" name="o4" doxytag="PID_DATA::maxSumError" ></a><p><table class="mdTable" width="100%" 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="structPID__DATA.html#o4">PID_DATA::maxSumError</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Maximum allowed sumerror, avoid overflow. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00045">45</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#l00059">pid_Controller()</a>, and <a class="el" href="pid_8c-source.html#l00035">pid_Init()</a>. </td> </tr></table><a class="anchor" name="o5" doxytag="PID_DATA::P_Factor" ></a><p><table class="mdTable" width="100%" 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="structPID__DATA.html#o5">PID_DATA::P_Factor</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>The Proportional tuning constant, multiplied with SCALING_FACTOR. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00037">37</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#l00059">pid_Controller()</a>, and <a class="el" href="pid_8c-source.html#l00035">pid_Init()</a>. </td> </tr></table><a class="anchor" name="o6" doxytag="PID_DATA::sumError" ></a><p><table class="mdTable" width="100%" 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="structPID__DATA.html#o6">PID_DATA::sumError</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Summation of errors, used for integrate calculations. <p><p>Definition at line <a class="el" href="pid_8h-source.html#l00035">35</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#l00059">pid_Controller()</a>, <a class="el" href="pid_8c-source.html#l00035">pid_Init()</a>, and <a class="el" href="pid_8c-source.html#l00112">pid_Reset_Integrator()</a>. </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu Feb 16 16:22:41 2006 for AVR221 - PID controller by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -