WRPLL: replace PI controller with new filters #296

Merged
sb10q merged 3 commits from morgan/artiq-zynq:new_filter into master 2024-05-08 18:50:56 +08:00
Showing only changes of commit 76c285cc87 - Show all commits

View File

@ -344,6 +344,16 @@ pub mod wrpll {
pub a2: f64,
}
#[cfg(rtio_frequency = "100.0")]
const LPF: FilterParameters = FilterParameters {
b0: 0.03967479060647884,
b1: 0.07934958121295768,
b2: 0.03967479060647884,
a1: -1.3865593741228928,
a2: 0.5452585365488082,
};
#[cfg(rtio_frequency = "125.0")]
const LPF: FilterParameters = FilterParameters {
b0: 0.07209205036273991,
b1: 0.14418410072547982,