Support us and view this ad

可选:点击以支持我们的网站

免费文章

The evolution of wireless charging technology, particularly the Qi standard, has moved beyond simple power delivery into a realm of sophisticated digital communication. For developers working on high-performance wireless chargers, the ability to fine-tune coil parameters in real-time is the difference between a mediocre product and an industry-leading one. This article provides a technical deep-dive into a critical, yet often overlooked, method: using Firmware-Controlled Frequency Shift Keying (FSK) Demodulation to dynamically adjust and optimize the resonant tank and power transfer characteristics of a Qi transmitter. Understanding the Qi Communication Backchannel Before delving into firmware control, we must revisit the physical layer of Qi communication. The power transfer from transmitter (Tx) to receiver (Rx) occurs via magnetic induction at a typical base frequency of 110-205 kHz. Control and data communication, however, is achieved through two distinct modulation schemes on the same power signal. The Rx communicates to the Tx using Load Modulation (often via Amplitude Shift Keying, ASK). Conversely, the Tx communicates to the Rx using Frequency Shift Keying (FSK). In FSK, the Tx modulates the power carrier frequency by a small deviation (typically ±1 kHz or ±2 kHz around the base frequency for a short duration) to represent digital '0' and '1' bits. This is the backchannel used for transmitting the Qi Identification and Configuration packets, as well as for requesting extended power profiles. The critical insight for developers is that this frequency deviation is not a purely digital artifact; it is a deliberate perturbation of the resonant coil's operating point. The coil's impedance, Q-factor, and reflected impedance from the Rx are all functions of this instantaneous frequency. The Problem: Static Coil Tuning vs. Dynamic Loads Traditional Qi transmitters use a fixed resonant tank design—a capacitor bank paired with a specific coil inductance—tuned for an ideal operating frequency (e.g., 127 kHz for Baseline Power Profile). The firmware then uses a simple state machine to detect FSK packets by counting zero-crossings of the coil voltage. This approach works for basic charging, but it fails to optimize under real-world conditions: Variable Receiver Coils: Different phone models have different Rx coil geometries and self-inductance. The reflected impedance changes the effective L of the Tx coil. Metal/Object Proximity: A metallic object near the coil (Foreign Object Detection, FOD) alters the eddy current losses and shifts the resonant frequency. Power Level Transitions: When the Rx requests a higher power level (e.g., from 5W to 15W), the load on the Tx changes drastically, causing the resonant peak to drift. A static tuning method leads to lower efficiency, increased thermal dissipation, and potential communication failures (bit errors in FSK packets). The solution is to use the FSK demodulation process itself as a real-time sensor for coil health and to trigger firmware-based adjustments. Firmware-Controlled FSK Demodulation: The Deep Dive The core idea is to move from a simple zero-crossing detector to a sophisticated, firmware-driven Phase-Locked Loop (PLL) or a digital frequency discriminator that not only decodes the FSK bits but also extracts metadata about the coil's resonance behavior. The key parameters we can extract are: Instantaneous Frequency Shift (Δf): The exact magnitude of the frequency deviation when the Tx sends a '1' or '0'. This is not constant; it varies with load. Phase Response Time (τ): The time it takes for the coil voltage amplitude to stabilize after a frequency shift. A longer τ indicates a high-Q coil, which is efficient but prone to ringing. Amplitude Modulation Depth (m): The change in coil voltage amplitude caused by the frequency shift. This is a direct indicator of the coil's impedance slope near resonance. To achieve this, we replace the hardware comparator-based FSK decoder with a firmware routine that samples the coil voltage (after rectification and scaling) at a high rate (e.g., 1 MSPS on a 32-bit MCU like an STM32G4 or a dedicated wireless power controller). The firmware then performs a Goertzel algorithm or a simple Discrete Fourier Transform (DFT) at two specific frequencies (f0 - Δf and f0 + Δf) to measure the energy content. Code Snippet: FSK Demodulation with Coil Parameter Extraction The following C-like pseudocode demonstrates the core logic for a firmware-controlled FSK demodulator that simultaneously extracts coil tuning metrics. It assumes a timer-driven ADC interrupt. // Definitions for Qi FSK (Base frequency = 127 kHz, Deviation = 1.5 kHz) #define FSK_DEV_HZ 1500 #define BASE_FREQ_HZ 127000 #define FSK_0_FREQ (BASE_FREQ_HZ - FSK_DEV_HZ) // 125....

继续阅读完整内容

支持我们的网站,请点击查看下方广告

正在加载广告...