Skip to content

Commit

Permalink
Merge pull request #1005 from quartiq/biquadrepr
Browse files Browse the repository at this point in the history
Biquadrepr
  • Loading branch information
jordens authored Feb 3, 2025
2 parents 4344a7d + 6b8dcca commit 616042a
Show file tree
Hide file tree
Showing 10 changed files with 333 additions and 780 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Added

* Support for exponentially swept sine signal source
* Support for exponentially swept sine signal source for transfer function
and distortion measurement
* Support for "cooked" PID biquad and standard biquad filter prototypes from `idsp`
* Defaulting to `s` optimization for debug and release

### Changed

* `py`: `StabilizerStream` renamed to `Stream`
* `dual-iir`: settings tree layout changed

## [v0.11.0](https://github.com/quartiq/stabilizer/compare/v0.10.0...v0.11.0) - 2024-12-02

Expand Down
91 changes: 58 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ spin = { version = "0.9", default-features = false, features = ["spin_mutex"] }
shared-bus = { version = "0.3", features = ["cortex-m"] }
lm75 = "0.2"
enum-iterator = "2.1.0"
rand_xorshift = "0.3.0"
rand_core = "0.6.4"
rand_xorshift = "0.4.0"
rand_core = "0.9.0"
minimq = "0.10.0"
usb-device = "0.3.2"
usbd-serial = "0.2"
Expand All @@ -90,6 +90,7 @@ embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
embedded-hal-bus = "0.3.0"
urukul = { version = "0.1.1", path = "urukul" }
ad9912 = { version = "0.1.1", path = "ad9912" }
bytemuck = { version = "1.21.0", features = ["zeroable_maybe_uninit"] }

[build-dependencies]
built = { version = "0.7", features = ["git2"], default-features = false }
Expand All @@ -104,16 +105,17 @@ pounder_v1_0 = []

[profile.dev]
codegen-units = 1
opt-level = "s"
incremental = false
opt-level = 3

[profile.release]
codegen-units = 1
opt-level = 3
debug = true
lto = true
codegen-units = 1

[patch.crates-io]
idsp = { git = "https://github.com/quartiq/idsp.git" }
miniconf = { git = "https://github.com/quartiq/miniconf.git" }
miniconf_derive = { git = "https://github.com/quartiq/miniconf.git" }
miniconf_mqtt = { git = "https://github.com/quartiq/miniconf.git" }
9 changes: 1 addition & 8 deletions book/src/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,7 @@ description of the possible error codes that Miniconf may return if the settings
unsuccessful.

# IIR Configuration
For the `dual-iir` application, a Python utility has been written to easily configure the IIR
filters for a variety of filtering and control applications.

Then, use the built-in help to learn how the utility can automatically configure your IIR filters
for you:
```bash
python -m stabilizer.iir_coefficients --help
```
For the `dual-iir` application, the application supports different representations of biquad coefficients.

# Telemetry

Expand Down
Loading

0 comments on commit 616042a

Please sign in to comment.