diskmargin: drop the delay-margin line from show#152
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #152 +/- ##
==========================================
+ Coverage 91.84% 91.89% +0.04%
==========================================
Files 20 20
Lines 3067 3061 -6
==========================================
- Hits 2817 2813 -4
+ Misses 250 248 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The printed delay margin was computed as ϕm/ω0 using the disk-margin critical frequency (the skewed-sensitivity peak). This is not the classical delay margin (which uses the gain crossover frequency) and, more importantly, is not a valid lower bound on the destabilizing delay: a delay's phase lag ωτ grows with frequency, so the binding frequency is wherever ϕm(ω)/ω is smallest, which is generally not ω0. Evaluating the ratio only at ω0 can therefore overstate the tolerable delay. Drop the misleading line rather than print a number that reads as a guarantee but isn't one. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
460981f to
24b9ce7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
show(::Diskmargin)printed a delay margin computed asϕm/ω0, whereω0is the disk-margin critical frequency (the skewed-sensitivity peak).This is misleading:
ω_gc. For a disk margin there is no clean gain crossover, andω0 ≠ ω_gcin general.ωτgrows linearly with frequency, so the binding frequency is whereverϕm(ω)/ωis smallest — generally notω0. Evaluating the ratio only atω0can overstate the tolerable delay.A genuine lower bound would be
min_ω ϕm(ω)/ω, which requires the frequency-dependent disk margin rather than the single critical-frequency value. Rather than print a number that reads as a guarantee but isn't one, this PR drops the line. A properdelaymarginbased on the frequency sweep can be added later if wanted.Change
Remove the "Delay margin" (and discrete "samples") output from
Base.show(::Diskmargin). No tests or docs depend on it.🤖 Generated with Claude Code