Digital Audio Clock Tracking for Asynchronous Source Switching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current digital audio CODECs face challenges in automatically detecting changes in data-rate and re-establishing synchronization with new audio sources without a handover protocol, especially when switching between audio sources of unknown rates, leading to potential loss of audio signal samples.

Innovation Solution

A digital audio interface using a fractional-N loop PLL and a digital tracking controller that modifies the feedback divide ratio based on phase error and its derivative to synchronize clocks and automatically detect I2S rates, eliminating the need for a handover procedure and enabling asynchronous switching between audio sources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a handover protocol is used to switch between audio sources, then synchronization can be maintained with known rates, but switching between audio sources on the fly or to unknown sources is precluded

Engineering Contradiction:
ImprovesynchronizationVSAvoidswitching capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system performs self-detection of the incoming audio data rate automatically without requiring external handover protocols. The digital controller continuously monitors and detects rate changes, enabling the system to adapt to unknown sources autonomously

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system pre-establishes multiple gearing ratios in advance that correspond to different audio data rates. When a rate change is detected, the system can quickly switch to the appropriate pre-configured ratio, enabling rapid adaptation without lengthy reconfiguration

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If automatic rate detection is implemented, then switching between unknown audio sources is enabled, but complex detection and rate change handling is required

Engineering Contradiction:
Improvesource switchingVSAvoiddetection mechanism
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system uses feedback from the phase detector to continuously monitor synchronization status. When phase errors indicate a rate change, the feedback loop triggers automatic detection and adjustment of the gearing ratio, creating a self-correcting system that reduces the need for complex external control logic

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The digital controller is designed to handle multiple functions including rate detection, gearing ratio selection, and synchronization maintenance within a single integrated unit. This multi-functionality reduces overall system complexity by consolidating what could be separate components into one versatile controller

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Adaptability or versatility

If multiple gearing ratios are supported, then tracking of different data rates is enabled, but selection of the correct ratio requires precise rate knowledge

Engineering Contradiction:
Improverate trackingVSAvoidrate detection accuracy
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The system dynamically adjusts the gearing ratio based on real-time detection of phase errors and rate changes. Rather than requiring precise pre-knowledge of the target rate, the system continuously adapts its configuration in response to observed signal characteristics, making the selection process dynamic rather than static

Inventive Principle:
Principle #15Dynamics

4Duration of action of stationary object

If synchronization is maintained with drifting clocks, then audio signal continuity is preserved, but phase errors accumulate over time

Engineering Contradiction:
Improvesynchronization durationVSAvoidphase accuracy
Core Design Contradiction:
Duration of action of stationary objectVSManufacturing precision

Solution Approach 1:

The system periodically recalibrates the phase relationship between clocks using the detected rate information to adjust the gearing ratio. This periodic correction prevents long-term phase accumulation while maintaining continuous synchronization, balancing duration and precision

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS8433027B2Digital controller for automatic rate detection and tracking of audio interface clocks
Publication Date: 2013.04.30 DIALOG SEMICON GMBH
  • US8433027B2 patent drawing
  • US8433027B2 patent drawing
  • US8433027B2 patent drawing

AI summary

Systems and methods to achieve a digital audio interface having automatic rate detection and tracking of digital audio streams have been achieved. The system comprises a digital controller working in conjunction with an analog phase-locked loop (PLL). It removes the need to know or communicate in advance the rate at which the interface will be operating, so allowing asynchronous switching between different audio streams. The digital controller acts as a phase-lock loop by modifying the feedback divide ratio of the PLL in order to minimize the phase error between the device clock and an arbitrary audio interface clock.