{
  "slug": "digital-sum-value",
  "term": "Digital sum value",
  "aliases": [
    "DSV",
    "Running digital sum",
    "RDS"
  ],
  "definition": "Digital sum value is the running sum of a specified binary signal represented by +1 for one and -1 for zero.",
  "note": "For optical recording, identify the representation first. The transition-indicator stream and its NRZI level stream have different sums. DVD-ROM uses signal-balance control to suppress low-frequency content. [ecma267]\n\nWith initial level +1, toggling before each 1 and holding on 0, the repeated transition pattern 10010000 yields levels ---+++++. Every eight bits add +2 to the level sum although every transition gap satisfies (2,10). Reversing the initial polarity reverses the sum, not its magnitude. Thus an RLL constraint alone does not ensure balance. [example]\n\nThe pattern 100100 gives ---+++ under the same convention. Each complete period returns the sum to zero. Inspect the running path as well as the endpoint; a final zero does not bound every earlier excursion. [example]\n\nTerminology matters: some constrained-coding literature uses DSV for digital sum variation, the range of running-sum values, rather than the instantaneous sum. State the convention when comparing numbers. [immink1998]",
  "status": "unknown",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-23",
  "related": [
    "efmplus",
    "run-length-limited"
  ],
  "citations": [
    {
      "id": "ecma267",
      "title": "ECMA-267, 2nd edition (1999), clauses 4.4, 20-22 and Annex G.",
      "url": "https://www.ecma-international.org/wp-content/uploads/ECMA-267_2nd_edition_december_1999.pdf",
      "accessed": "2026-11-23"
    },
    {
      "id": "immink1998",
      "title": "Immink, Siegel and Wolf. Codes for Digital Recorders. IEEE TIT 44(6), 2260-2299 (1998), sections III-A and IV-D.",
      "url": "https://cmrr-star.ucsd.edu/static/pubs/codes_digital_recorders.pdf",
      "accessed": "2026-11-23"
    },
    {
      "id": "example",
      "title": "Hesela - finite RLL boundary and NRZI balance examples, generated results.",
      "url": "https://hesela.dev/research/efmplus/results.json",
      "accessed": "2026-11-23"
    },
    {
      "id": "code",
      "title": "Hesela - executable signal model (JavaScript, CC0).",
      "url": "https://hesela.dev/research/efmplus/model.js",
      "accessed": "2026-11-23"
    },
    {
      "id": "tests",
      "title": "Hesela - exhaustive small-word regression tests (Node.js, CC0).",
      "url": "https://hesela.dev/research/efmplus/model.test.js",
      "accessed": "2026-11-23"
    }
  ],
  "provenance": [
    "The sign convention in the example is explicit and arbitrary. Reversing polarity does not alter transition spacing.",
    "Synthetic sequences are not claimed to be emitted by an EFMPlus encoder; neither their sums nor their run lengths measure optical read quality."
  ]
}
