Thomas Kolb
cd9784efb6
- correct_frequency: Correct frequency by averaging the phase drift on the preamble - freq_est_lr: Luise & Reggiannini frequency estimator - pid_controller: a PID controller that takes error values at the input and generates steering values at the output The combination of freq_est_lr and PID controller can be used together with an NCO (signal source) to create a closed control loop for frequency offset compensation.
54 lines
886 B
XML
54 lines
886 B
XML
<?xml version="1.0"?>
|
|
<block>
|
|
<name>PID Controller</name>
|
|
<key>hamnet70_pid_controller</key>
|
|
<category>[hamnet70]</category>
|
|
<import>import hamnet70</import>
|
|
<make>hamnet70.pid_controller($interval, $p, $i, $d, $post_gain)</make>
|
|
|
|
<param>
|
|
<name>interval</name>
|
|
<key>interval</key>
|
|
<value>1</value>
|
|
<type>int</type>
|
|
</param>
|
|
|
|
<param>
|
|
<name>P Gain</name>
|
|
<key>p</key>
|
|
<value>1.0</value>
|
|
<type>float</type>
|
|
</param>
|
|
|
|
<param>
|
|
<name>I Gain</name>
|
|
<key>i</key>
|
|
<value>0.0</value>
|
|
<type>float</type>
|
|
</param>
|
|
|
|
<param>
|
|
<name>D Gain</name>
|
|
<key>d</key>
|
|
<value>0.0</value>
|
|
<type>float</type>
|
|
</param>
|
|
|
|
<param>
|
|
<name>Post Gain</name>
|
|
<key>post_gain</key>
|
|
<value>1.0</value>
|
|
<type>float</type>
|
|
</param>
|
|
|
|
<sink>
|
|
<name>in</name>
|
|
<type>float</type>
|
|
</sink>
|
|
|
|
<source>
|
|
<name>control_value</name>
|
|
<type>message</type>
|
|
</source>
|
|
</block>
|