Power bank with data storage function and electromagnetic interference suppression method thereof
Through the electromagnetic interference suppression method of the power bank, coil and data link indicators are obtained and processed, and spread spectrum migration modulation and scheduling optimization are carried out, which solves the electromagnetic interference problem between wireless charging and high-speed data transmission, and realizes stable parallel operation and high-reliability data transmission.
Patent Information
- Application Number
- CN202510702040.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-08-15
AI Technical Summary
When existing power banks perform wireless charging and high-speed data transmission functions at the same time, the interference between the electromagnetic field generated by the coil and the high-speed differential signal seriously affects the reliability of data transmission. Traditional solutions such as adding physical shielding layers or reducing charging power cannot be effectively solved, resulting in a decline in user experience.
By obtaining the operating parameters of wireless charging coils and high-speed data link indicators, performing segmented statistics and time-frequency correlation matching processing, generating an interference characteristic parameter set, and performing spread spectrum migration modulation and duty-phase joint modulation, optimizing data transmission scheduling and coding configuration, realizing refined collaborative control.
Without adding hardware shielding, electromagnetic interference is effectively suppressed, wireless charging and high-speed data transmission can operate stably and parallelly under space constraints, improving the reliability and user experience of data transmission.
Smart Images

Figure CN120498081A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mobile power supplies, and in particular to a power bank with a data storage function and an electromagnetic interference suppression method thereof. Background Art
[0002] With the ubiquity of mobile smart devices, portable power banks have become a necessity in modern life. As portable energy storage and conversion devices, power banks are primarily used to provide temporary power to mobile electronic devices. Modern power bank products are no longer limited to a single charging function but are increasingly developing towards multifunctionality. Power banks that integrate data storage and wireless charging technology are at the forefront of the industry. These products typically feature a modular design, consisting of a main body and a battery module. The main body integrates control circuitry, data storage modules, and electrical interfaces, while the battery module incorporates wireless charging coils and other components. These products can simultaneously meet users' energy needs and data backup needs.
[0003] However, existing power bank products face significant challenges in simultaneously performing wireless charging and high-speed data transmission. Due to the device's small size and high level of integration, the wireless charging coil and data transmission circuit are spatially close. When the device activates the wireless charging function, the high-frequency alternating magnetic field generated by the coil electromagnetically couples with the high-speed differential signal in the data transmission line, generating an interference signal. This interference signal manifests as noise and jitter on the high-speed data bus, potentially increasing the bit error rate and, in severe cases, even causing packet loss or transmission interruption. Traditional solutions include adding a physical shielding layer, reducing charging power, or employing simple time-division multiplexing strategies. Adding a physical shielding layer often prevents effective shielding due to space limitations; reducing charging power significantly impacts charging efficiency; and using time-division multiplexing prevents both functions from operating efficiently and simultaneously, severely diminishing the product's user experience.
[0004] Therefore, how to solve the interference problem between the electromagnetic field generated by the coil and the high-speed differential signal when the power bank simultaneously performs wireless charging and high-speed data storage functions has become a key technical bottleneck restricting the performance improvement of such multifunctional products. Summary of the Invention
[0005] The main purpose of the present invention is to solve the technical problem that when existing power banks simultaneously perform wireless charging and high-speed data transmission, electromagnetic interference seriously affects the reliability of data transmission.
[0006] The first aspect of the present invention provides a method for suppressing electromagnetic interference of a power bank, which comprises: obtaining wireless charging coil operating parameters and high-speed data link operating indicators, performing segmented statistics and time-frequency correlation matching processing on the acquired data, and obtaining an interference characteristic parameter set including the interference occurrence interval, interference amplitude and power correlation; according to the interference characteristic parameter set, performing spread spectrum migration modulation processing on the wireless charging coil drive signal, and performing joint modulation on the duty cycle and phase of the drive signal to obtain a time domain power scheduling parameter set; according to the time domain power scheduling parameter set, performing cache reordering, transmission timing revision and inter-frame modulation on the data frame to be sent. The system performs optimization processing at intervals to obtain a data transmission scheduling sequence, and calculates the interference intensity value for each transmission time slot; according to the data transmission scheduling sequence, the interference intensity value and the real-time error statistics, the error control coding redundancy, retransmission threshold and frame length parameters are adaptively adjusted to obtain a coding configuration set, and the coding configuration set is used to complete data transmission and error compensation; the interference characteristic parameter set, the time domain power scheduling parameter set, the data transmission scheduling sequence and the coding configuration set are comprehensively optimized to generate an updated control parameter set, and the updated control parameter set is used for generating the interference characteristic parameter set of the next processing cycle.
[0007] Preferably, the method of acquiring the wireless charging coil operating parameters and the high-speed data link operating indicators, performing segmented statistics and time-frequency correlation matching processing on the acquired data, and obtaining an interference feature parameter set including an interference occurrence interval, interference amplitude, and power correlation includes: performing unified time index sampling on the wireless charging coil operating parameters and the high-speed data link operating indicators to obtain an original operating data sequence; performing time alignment processing on the wireless charging coil operating parameter sequence and the high-speed data link operating indicator sequence based on the original operating data sequence to obtain an aligned data set; performing sliding window segmented statistical processing on the aligned data set to generate a statistical vector including a window average, peak value, and variance; performing synchronous window time-frequency correlation matching processing on the wireless charging coil driving frequency change and the high-speed data link bit error rate change based on the statistical vector to obtain an interference indicator sequence, and determining the interference occurrence interval from the interference indicator sequence; performing amplitude-power double-layer statistical processing on the power measurement in the wireless charging coil operating parameters and the interference indicator sequence to obtain an interference amplitude vector and a power correlation vector; and packaging the interference occurrence interval, interference amplitude vector, and power correlation vector to obtain an interference feature parameter set.
[0008] Preferably, the sliding window segmented statistical processing is performed on the aligned data set to generate a statistical vector containing the window average, peak and variance, including: performing initial fixed-length window division on the aligned data set to obtain a basic window set; performing dynamic threshold judgment based on the bit error rate variance of each window in the basic window set, adjusting the position of adjacent window boundaries, and obtaining an adaptive window set; and calculating the average, peak and variance of each window in the adaptive window set to obtain a statistical vector.
[0009] Preferably, the wireless charging coil drive signal is subjected to spread spectrum migration modulation processing according to the interference characteristic parameter set, and the duty cycle and phase of the drive signal are jointly modulated to obtain a time domain power scheduling parameter set, including: performing segment-level frequency shift processing on the reference frequency of the coil drive signal according to the interference occurrence interval and the interference amplitude vector in the interference characteristic parameter set to obtain a frequency migration profile; performing subcarrier random jitter processing on the coil drive signal in each segment according to the frequency migration profile to obtain a frequency migration list; performing duty-phase joint mapping processing on the coil drive signal according to the interference amplitude vector and the power correlation vector in the interference characteristic parameter set to obtain a duty-phase matrix; performing limiting clipping processing on the frequency migration list and the duty-phase matrix according to the coil temperature rise estimation amount and the battery module power supply state amount in the same period to obtain a target frequency migration list and a target duty-phase matrix; and encapsulating the target frequency migration list and the target duty-phase matrix according to a unified time index to obtain a time domain power scheduling parameter set.
[0010] Preferably, according to the frequency migration profile, subcarrier random jitter processing is performed on the coil drive signal in each segment to obtain a frequency migration list, including: dividing the frequency migration profile into a high-power segment and a low-power segment to obtain a segment mark list; performing random jitter processing on the coil drive signal according to a first jitter intensity parameter in the high-power segment, and performing random jitter processing according to a second jitter intensity parameter in the low-power segment to obtain a jitter frequency list; encapsulating the jitter frequency list and the segment mark list according to a unified time index to obtain a frequency migration list.
[0011] Preferably, according to the time domain power scheduling parameter set, cache reordering, transmission timing revision and inter-frame interval optimization processing are performed on the data frames to be sent to obtain a data transmission scheduling sequence, and an interference intensity value is calculated for each transmission time slot, including: according to the time domain power scheduling parameter set, endpoint buffer level sorting processing is performed on the data frames to be sent, and DMA burst queue reordering processing is performed on the sorting results to obtain a preliminary data sequence; according to the preliminary data sequence and the target duty-phase matrix in the time domain power scheduling parameter set, sub-beat frequency revision processing is performed on the starting time of each data frame to obtain a revised timing list; according to the revised timing list and the target frequency migration list in the time domain power scheduling parameter set, duty differential mapping processing is performed on the idle segments between frames to generate inter-frame interval optimization parameters, and the revised timing list and the inter-frame interval optimization parameters are encapsulated according to a unified time index to obtain a data transmission scheduling sequence; according to the data transmission scheduling sequence and the inter-frame interval optimization parameters, the flux variance value corresponding to each transmission time slot is calculated to obtain an interference intensity value, and the interference intensity value is associated with the data transmission scheduling sequence according to a unified time index.
[0012] Preferably, the error control coding redundancy, retransmission threshold and frame length parameters are adaptively adjusted according to the data transmission scheduling sequence, the interference intensity value and the real-time error statistics to obtain a coding configuration set, and the coding configuration set is used to complete data transmission and error compensation, including: according to the data transmission scheduling sequence, the interference intensity value and the real-time error statistics are weightedly combined according to the time slot correspondence to obtain a time slot quality index sequence; according to the time slot quality index sequence, the error control coding redundancy, retransmission threshold and frame length parameters are layered and continuously mapped to obtain an initial coding parameter matrix; according to the future idle time slot distribution in the data transmission scheduling sequence, the initial coding parameter matrix is retransmitted The budget adjustment process is performed to obtain a revised coding parameter matrix; the revised coding parameter matrix is weightedly fused with the previous round of coding parameter matrix to generate an evolved coding parameter matrix, and the evolved coding parameter matrix is encapsulated according to a unified time index to obtain a coding configuration set, and data frame transmission, error detection and compensation are completed according to the coding configuration set.
[0013] Preferably, the revised coding parameter matrix is subjected to weighted fusion processing with the previous round coding parameter matrix to generate an evolved coding parameter matrix, and the evolved coding parameter matrix is encapsulated according to a unified time index to obtain a coding configuration set, and data frame sending, error detection and compensation are completed according to the coding configuration set, including: performing time attenuation weight allocation on the previous round coding parameter matrix and the revised coding parameter matrix to obtain a weight coefficient vector; performing element-level weighted summation on the previous round coding parameter matrix and the revised coding parameter matrix according to the weight coefficient vector to generate an evolved coding parameter matrix; encapsulating the evolved coding parameter matrix according to a unified time index to obtain a coding configuration set; sending data frames according to the redundancy parameter in the coding configuration set, performing error detection according to the retransmission threshold parameter in the coding configuration set, and completing compensation processing according to the frame length parameter in the coding configuration set.
[0014] Preferably, the interference characteristic parameter set, the time domain power scheduling parameter set, the data transmission scheduling sequence and the coding configuration set are subjected to comprehensive optimization processing to generate an updated control parameter set, and the updated control parameter set is used for the interference characteristic parameter set generation of the next processing cycle, including: performing time index alignment processing on the interference characteristic parameter set, the time domain power scheduling parameter set, the data transmission scheduling sequence and the coding configuration set to obtain a comprehensive data matrix; according to the comprehensive data matrix, performing indicator calculation processing on the transmission throughput, wireless power consumption and error increment value of each time index to obtain to a performance evaluation vector; according to the comparison result of the performance evaluation vector and the historical performance evaluation vector, perform incremental weight adjustment processing on the time domain power scheduling parameter set and the coding configuration set, and combine the system temperature rise estimation amount and the power supply status amount to obtain a candidate control parameter set; perform steady-state consistency check processing on the candidate control parameter set, if the power threshold and the error threshold are met, output the updated control parameter set, if not, output the updated control parameter set after cyclic fine-tuning; write the updated control parameter set into the storage area, and call the updated control parameter set in the next processing cycle to generate a new interference feature parameter set.
[0015] A second aspect of the present invention provides a power bank with a data storage function, wherein the power bank with a data storage function adopts the electromagnetic interference suppression method of the power bank described in any of the above embodiments.
[0016] The technical solution provided by the embodiment of the present application solves the electromagnetic interference problem of wireless charging and high-speed data transmission through a multi-dimensional collaborative control strategy. The system continuously collects the coil voltage, current, resonant frequency, and bit error rate, jitter, and signal-to-noise ratio of the differential bus, and aligns them according to a unified time index and divides them into sliding windows. Each window contains the complete operating status of wireless charging and data transmission. The resonant section of the magnetic field that changes the bit error is located through short-time Fourier transform and cross-correlation operations, and a parameter set containing the interference occurrence interval, interference amplitude, and power correlation is generated. By establishing a precise time coordinate system, a quantitative description of the interference characteristics is achieved, providing an accurate time domain reference for subsequent control strategies.
[0017] At the coil drive control level, the system implements refined spread-spectrum modulation and combined duty-cycle-phase modulation based on interference zones. During periods of high coupling strength, the duty cycle is reduced and the resonance point is shifted. During periods of low coupling strength, rated power is maintained and the magnetic flux density is dispersed through subcarrier dithering. By real-time monitoring of coil temperature rise and battery power status, the modulation amplitude is limited to keep power within thermal safety thresholds. This control strategy redistributes magnetic field energy in the time domain, ensuring stable charging power output while reducing interference peaks.
[0018] At the data transmission control level, the system dynamically schedules data frames based on a time-domain power schedule. High-speed endpoint caching and reordering mechanisms align data transmission timing with the magnetic field intensity distribution. Larger data packets are scheduled for transmission during periods of low coil power. Optimizing the frame interval creates a regular transmission rhythm, staggering data sampling and magnetic field energy peaks to ensure stable data transmission.
[0019] To address unavoidable residual interference, the system employs adaptive coding and fast retransmission mechanisms. By weighting the change in bit errors over the previous cycle with the current interference intensity, it derives a timeslot quality index (QI), which is then mapped to coding redundancy, frame length, and retransmission threshold parameters. The system dynamically adjusts coding parameters based on interference intensity, increasing redundancy when interference is strong and reducing it when interference is weak, thereby improving bandwidth utilization and ensuring reliable and efficient data transmission.
[0020] At the system optimization level, interference parameters, power scheduling, transmission scheduling, and coding configuration are integrated into a unified data matrix. A performance evaluation vector is generated by calculating real-time throughput, power consumption, and bit error increments. The system compares and analyzes the current performance vector with historical data and dynamically updates the control parameters for the next cycle, achieving a dynamic balance between wireless charging power, data transmission rate, and bit error level.
[0021] This technical solution combines magnetic field energy distribution, data transmission scheduling, and link fault tolerance by establishing a time-indexed system. It reduces interference source intensity at the coil control level, implements dynamic avoidance at the data transmission level, eliminates residual bit errors at the coding level, and achieves closed-loop optimization at the system level. This enables stable parallel operation of wireless charging and high-speed data transmission within spatially constrained conditions, effectively resolving data transmission reliability issues caused by electromagnetic coupling. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0023] Figure 1 This is a schematic diagram of an embodiment of a method for suppressing electromagnetic interference of a power bank according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of a power bank with data storage function according to an embodiment of the present invention; Figure 3 for Figure 2 An exploded diagram of the wireless charging module in the [Image file]; Figure 4 for Figure 2 Exploded diagram of the subject in .
[0024] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0025] The following, in conjunction with the accompanying drawings, provides a clear and complete description of the technical solutions in the embodiments of the present invention. Obviously, the described embodiments represent only a portion of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments derived by persons of ordinary skill in the art without inventive effort are within the scope of protection of the present invention. It should be noted that if the embodiments of the present invention include directional indications (such as up, down, left, right, front, back, etc.), such directional indications are only used to explain the relative positional relationships and movement of components in a specific posture. If the specific posture changes, the directional indications will also change accordingly. Furthermore, references to "first," "second," etc. in the present invention are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, features designated as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the "and / or" in the full text includes three solutions. Taking A and / or B as an example, it includes technical solution A, technical solution B, and technical solution that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, and must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0026] An embodiment of the present application provides a method for suppressing electromagnetic interference of a power bank. Figure 1 A flowchart of a method for suppressing electromagnetic interference of a power bank provided in one embodiment of the present application. In this embodiment, the method includes: See also Figure 1 , obtain the wireless charging coil operating parameters and high-speed data link operating indicators, perform segmented statistics and time-frequency correlation matching processing on the acquired data, and obtain an interference feature parameter set including the interference occurrence interval, interference amplitude and power correlation; In one embodiment of the present invention, the method of acquiring wireless charging coil operating parameters and high-speed data link operating indicators, performing segmented statistics and time-frequency correlation matching on the acquired data, and obtaining an interference characteristic parameter set including an interference occurrence interval, interference amplitude, and power correlation includes: performing unified time index sampling on the wireless charging coil operating parameters and the high-speed data link operating indicators to obtain an original operating data sequence; performing time alignment on the wireless charging coil operating parameter sequence and the high-speed data link operating indicator sequence based on the original operating data sequence to obtain an aligned data set; performing sliding window segmented statistics on the aligned data set to generate a statistical vector including a window average, peak value, and variance; performing synchronous window time-frequency correlation matching on a change in the wireless charging coil driving frequency and a change in the high-speed data link bit error rate based on the statistical vector to obtain an interference indicator sequence, and determining the interference occurrence interval from the interference indicator sequence; performing amplitude-power dual-layer statistical processing on the power measurement in the wireless charging coil operating parameters and the interference indicator sequence to obtain an interference amplitude vector and a power correlation vector; and integrating the interference occurrence interval, interference amplitude vector, and power correlation vector to encapsulate the interference characteristic parameter set.
[0027] The following is a detailed description of the steps involved in the above embodiment: Unified time-indexed sampling is performed for wireless charging coil operating parameters and high-speed data link operating metrics. Wireless charging coil operating parameters refer to physical quantities that characterize the coil's operating status, including coil terminal voltage, current, drive frequency, and power factor. High-speed data link operating metrics refer to parameters that measure data transmission quality, including bit error counts, signal jitter, and signal-to-noise ratio. Unified time-indexed sampling uses the main control chip's 48MHz system clock as a single timebase to generate ascending integer labels, which serve as a common reference for both the electromagnetic and data transmission sides. Specifically, the main control chip uses a 100μs sampling period (shorter than a complete coil driver power compensation cycle and longer than the transceiver's bit error counter refresh interval) to simultaneously trigger the analog-to-digital conversion channel to acquire the coil terminal voltage and current, trigger a digital logic counter to read the drive frequency register, and read the bit error counter, jitter accumulator, and signal-to-noise ratio register within the serial transceiver of the Type-C high-speed interface on the power bank's main body. All sampling results, along with a timestamp, are written to a ring buffer, forming a raw operating data sequence. This precise sampling setting balances measurement sensitivity and storage overhead, ensuring that transient interference can be captured while ensuring valid bit error statistics.
[0028] Based on the original operational data sequence, time alignment is performed on the wireless charging coil operational parameter sequence and the high-speed data link operational indicator sequence to produce an aligned dataset. Time alignment eliminates signal acquisition delays between different subsystems, ensuring strict temporal alignment of parameters. In a modular power bank, the coil-side voltage-current channel in the battery module has a 3μs front-end anti-aliasing filter delay, while the error count update on the data transmission side of the main unit is approximately 2μs behind the sampling trigger. The main control chip presets these two delays according to the hardware manual and uses an interpolation-shift algorithm to shift the error, jitter, and signal-to-noise ratio data rows to the left, ensuring that all fields in the same index row correspond to the same physical moment. This alignment is re-performed when the battery module is removed, reinstalled, or replaced. This precise alignment eliminates hardware delay differences between the main unit and the battery module, ensuring that subsequent analysis accurately reflects the true causal relationship between the wireless charging magnetic field and data errors, generating an aligned dataset that can be directly used for subsequent windowed analysis.
[0029] Sliding window segmented statistics are performed on the aligned data set to generate a statistical vector containing the window mean, peak value, and variance. Sliding window segmented statistics refers to the technique of moving a fixed or variable length data window along the time axis and performing statistical calculations on the data within the window. In the actual application of power banks, an adaptive window length strategy is adopted: with 64 indexes as the initial window length, when the coil power variance within the window exceeds 20% or the bit error rate variance exceeds 0.5×10 -6 When the variance is lower than the threshold, the window length is increased to 128 indices to reduce the amount of calculation. The window average refers to the arithmetic mean of the data in the window, the peak refers to the maximum value of the data in the window, and the variance refers to the measure of the discrete degree of the data in the window. Each window independently calculates the coil power average, coil power peak, and bit error rate variance, and records the results in the statistical vector according to the window start time index. This adaptive sliding window mechanism uses a long window to reduce noise in the interference stable area and a short window to capture details in the interference intense area. It can adapt to the changes in the interference characteristics of the power bank in different usage scenarios (such as placing it on different material surfaces), thereby ensuring the time scale accuracy of subsequent correlation matching and improving the ability to capture transient interference features.
[0030] Based on the statistical vector, synchronized window time-frequency correlation matching is performed on the wireless charging coil drive frequency variation and the high-speed data link bit error rate variation to generate an interference indicator sequence, which is then used to determine the interference occurrence interval. Synchronous window time-frequency correlation matching is a technique that simultaneously analyzes the time and frequency domain characteristics of a signal within the same time window to identify correlations between signals. In specific implementation, the main control chip first performs a fast Fourier transform on the coil drive frequency sequence within each window to obtain the frequency variation. It then performs a short-term autoregression on the bit error rate sequence within the same window to obtain the bit error rate variation. The frequency variation indicates the degree to which the coil drive frequency deviates from the nominal value, while the bit error rate variation indicates the increase in the bit error rate relative to the baseline value. The two variation sequences are then cross-correlated at the window granularity. Windows with a score above 0.6 are marked as potential interference windows, and a 1×N interference indicator sequence is output. The interference indicator sequence is a binary sequence that indicates whether significant interference exists in each time window. The cross-correlation threshold is determined through offline calibration and can effectively distinguish between normal power fluctuations of the power bank and interference fluctuations that cause data errors. The continuously marked areas in the interference indicator sequence represent the interference occurrence interval, with a resolution equal to the sliding window step size. This analysis method accurately identifies the temporal distribution characteristics of electromagnetic interference within the modular structure of power banks, providing precise guidance for subsequent adjustments to wireless charging coils and data transmission strategies.
[0031] A two-level statistical analysis of power measurements and interference indicator sequences in the wireless charging coil operating parameters is performed, yielding an interference amplitude vector and a power correlation vector. The power measurement refers to the coil power value calculated from voltage and current. Amplitude-power two-level statistical analysis is a dual statistical method that simultaneously analyzes the relationship between interference intensity and charging power. In actual power bank operation, the main control chip first calculates the instantaneous power at the coil end according to P = V × I and performs linear denoising on the power sequence to eliminate sampling noise. Then, two-level statistical analysis is performed on the power sequence and interference indicator sequence during the interference interval. First, the absolute value of the index-by-index product is used as the amplitude metric, and the maximum value within the interval is taken to obtain the interference amplitude vector. Second, a Pearson correlation is performed between the windowed power average and the bit error rate increment to obtain the power correlation vector. The interference amplitude vector represents the intensity distribution of the worst-case interference scenario, while the power correlation vector measures the sensitivity of power changes to the bit error rate. These two vectors jointly determine the modulation intensity and strategy of the subsequent wireless charging coil, providing a quantitative basis for precisely controlling the charging power to minimize interference under the conditions of limited space between the main body and battery module.
[0032] The interference occurrence interval, interference amplitude vector, and power correlation vector are combined to form a packaged interference signature parameter set. Packaged data is the process of organizing multiple related data into a data structure in a unified format. In the power bank's specific implementation, the main control chip adds a 3-bit flag field to each index bit: the first bit indicates whether the index falls within the interference interval, the second bit stores the four-level quantized amplitude vector (0-3 corresponds to low to high interference intensity), and the third bit stores the four-level quantized correlation vector (0-3 corresponds to low to high correlation). This parameter set uses a fixed byte structure, facilitating unconditional DMA (Direct Memory Access) access and direct table lookup by subsequent modulation and scheduling modules. During actual power bank operation, when the battery module is inserted into the main body, the packaged data stream immediately flows to the coil drive modulation logic, implementing power shaping based on the actual interference distribution. This effectively reduces the coupling interference generated by the wireless charging coil in the battery module on the high-speed differential signal in the main body without adding physical shielding, ensuring the simultaneous and efficient operation of data storage and wireless charging functions.
[0033] In one embodiment of the present invention, the sliding window segmented statistical processing is performed on the aligned data set to generate a statistical vector containing the window average, peak and variance, including: performing initial fixed-length window division on the aligned data set to obtain a basic window set; performing dynamic threshold judgment based on the bit error rate variance of each window in the basic window set, adjusting the position of adjacent window boundaries, and obtaining an adaptive window set; and calculating the average, peak and variance of each window in the adaptive window set to obtain a statistical vector.
[0034] The following is a detailed description of the steps involved in the above embodiment: Perform initial fixed-length window partitioning on the aligned data set to obtain a basic window set. Initial fixed-length window partitioning refers to the process of dividing a temporally continuous data sequence into multiple data segments of equal size according to a preset fixed length. In the specific implementation of the power bank, the main control chip uses a fixed 64 index points as the initial window length to divide the aligned data set, and adjacent windows do not overlap. Each window covers approximately 6.4 milliseconds of actual physical time (64 index points × 100 microsecond sampling period). This time span is sufficient to include the complete drive cycle of the wireless charging coil (usually 2-5 milliseconds) without causing excessive data smoothing and loss of transient features. Window partitioning is achieved through array indexing operations. For an aligned data set with N index points, the system creates ⌊N / 64⌋ initial windows. Each window contains a start index, an end index, and a pointer to the data within the window. The set of these windows is the basic window set. For example, if the alignment dataset contains 1000 index points, the system will create 15 complete initial windows (indexes 0-63, 64-127, ..., 960-1023), each pointing to a corresponding data region. This initial fixed-length window division provides a unified starting point for subsequent adaptive adjustments, ensuring consistent initial analysis granularity.
[0035] Based on the variance of the bit error rate of each window in the basic window set, dynamic threshold judgment is performed and the position of the adjacent window boundaries is adjusted to obtain an adaptive window set. Dynamic threshold judgment refers to the process of automatically determining the judgment standard based on the data characteristics, and window boundary position adjustment refers to changing the start and end positions of the data window based on the judgment results. In the actual application of power banks, the main control chip first calculates the variance σ of the high-speed data link bit error rate in each basic window 2 1,σ 2 2,...,σ 2 n For each window i, if its bit error rate variance σ 2 i Exceeding the preset threshold T (initial setting is 0.5×10 -6 ), the window is marked as a high-variance window; if multiple consecutive windows are marked as high-variance windows, the system will expand the boundaries of these windows by 8 index points on both sides and merge them into a larger window; if the variance of a window is much lower than the threshold (σ 2 i <0.1×T), the window is evenly divided into two small windows to improve the time resolution. For example, when it is detected that the bit error rate variance of window 5 and window 6 (index 320-383 and 384-447) is 0.8×10 -6 and 0.7×10 -6, both exceed the threshold T, the system will merge the two windows and expand the boundaries to form a new window (index 312-455); and when the variance of window 8 (index 512-575) is only 0.04×10 -6 , the system splits it into two windows (indexed 512-543 and 544-575). After these boundary adjustments, the original basic window set is transformed into an adaptive set of windows of varying lengths. This dynamic adjustment allows the window division to adapt to changing data characteristics, using finer analysis granularity in areas with high noise levels and using looser windows to reduce computational overhead in areas with stable noise levels.
[0036] The average value, peak value and variance are calculated for each window in the adaptive window set to obtain a statistical vector. The average value refers to the arithmetic mean of the data in the window, the peak value refers to the maximum value of the data in the window, and the variance refers to the degree of discreteness of the data distribution. In the actual application of electromagnetic interference suppression of power banks, the main control chip calculates these three statistics for key parameters such as wireless charging coil current, voltage, power and data link bit error rate in each adaptive window. For current and voltage, the system calculates their root mean square value as the average value; for power, the system calculates the arithmetic mean of instantaneous power; for bit error rate, the system calculates the bit error count divided by the total number of transmitted bits. The peak value is obtained by searching for the maximum value in the window, which is used to capture the worst case of transient interference; the variance is obtained by the standard calculation formula, which reflects the degree of fluctuation of the parameter in the window. These calculation results are organized into a statistical vector in sequence in the form of [avg 1, peak1,var1,avg2,peak2,var2,...], where the subscripts represent different parameters or different windows. For example, for the extended window covering indexes 312-455, the system calculates the coil current RMS value to be 2.8A, the peak value to be 3.5A, and the variance to be 0.12A 2 The average bit error rate is 3.2×10 -6 , with a peak value of 8.5×10 -6 , with a variance of 0.75×10 -6 This multi-dimensional statistical analysis provides a comprehensive description of the data within the window, retaining the overall trend information while not losing the characteristics of short-term drastic changes, providing an accurate statistical basis for subsequent interference characteristic matching and wireless charging control strategy adjustment.
[0037] Please continue reading Figure 1 , performing spread spectrum migration modulation processing on the wireless charging coil drive signal according to the interference characteristic parameter set, and performing joint modulation on the duty cycle and phase of the drive signal to obtain a time domain power scheduling parameter set; In one embodiment of the present invention, performing spread spectrum migration modulation processing on the wireless charging coil drive signal based on the interference characteristic parameter set, and jointly modulating the duty cycle and phase of the drive signal to obtain a time domain power scheduling parameter set, includes: performing segment-level frequency shift processing on the reference frequency of the coil drive signal based on the interference occurrence interval and the interference amplitude vector in the interference characteristic parameter set to obtain a frequency migration profile; performing subcarrier random jitter processing on the coil drive signal within each segment based on the frequency migration profile to obtain a frequency migration list; performing duty-phase joint mapping processing on the coil drive signal based on the interference amplitude vector and the power correlation vector in the interference characteristic parameter set to obtain a duty-phase matrix; performing clipping processing on the frequency migration list and the duty-phase matrix based on the coil temperature rise estimate and the battery module power supply status within the same period to obtain a target frequency migration list and a target duty-phase matrix; and encapsulating the target frequency migration list and the target duty-phase matrix according to a unified time index to obtain the time domain power scheduling parameter set.
[0038] The following is a detailed description of the steps involved in the above embodiment: Based on the interference occurrence interval and interference amplitude vector in the interference characteristic parameter set, the coil drive signal's base frequency is subjected to segment-level frequency shifting to generate a frequency shift profile. Segment-level frequency shifting selectively adjusts the wireless charging coil drive signal frequency for time periods of varying interference severity. In practice, the power bank's main control chip first analyzes the interference occurrence interval and divides the time axis into three categories: high-interference, medium-interference, and low-interference regions. These regions correspond to values in the interference amplitude vector greater than 0.75, 0.3-0.75, and less than 0.3. Different degrees of frequency shifting are then applied to different regions: for high-interference regions, the coil base frequency is shifted downward by 5kHz from its nominal value (typically 110-205kHz, in compliance with the Qi standard); for medium-interference regions, it is shifted downward by 2kHz; and for low-interference regions, the nominal frequency remains unchanged. This shifting is achieved by adjusting the frequency division coefficient of the PWM module in the main control chip, which determines the pulse frequency output to the coil drive H-bridge circuit. For example, if a high-interference segment is detected within the time index range of 200-300, the system will adjust the coil drive frequency from 110kHz to 105kHz within this interval. The overall adjustment curve formed by this frequency shift is the frequency migration profile. Through this segment-level frequency shift, the power bank can avoid specific frequency points that resonate with the high-speed data transmission differential signal, reduce the energy of the harmonic components in the sensitive frequency band, and thus reduce the interference intensity of the coil magnetic field on the data link.
[0039] Based on the frequency migration profile, the coil drive signal is subjected to subcarrier random dithering within each segment to generate a frequency migration list. Subcarrier random dithering is a technical method that adds small random variations to the drive frequency based on frequency shift, distributing the originally concentrated spectral energy over a wider frequency band. Subcarriers in this context refer to the individual frequency components that make up the primary charging frequency. In actual power bank applications, the main control chip employs different dithering strategies for different interference segments: in high-interference segments, the system adds ±2kHz random frequency dithering to the shifted base frequency, with a dithering update rate of 1ms; in medium-interference segments, ±1kHz random dithering is added with an update rate of 2ms; and in low-interference segments, a small ±0.5kHz dithering is added with an update rate of 5ms. The dithering value is calculated by the main control chip's built-in pseudo-random number generator, and dynamic frequency changes are achieved by adjusting the PWM timer count in real time. For example, in five consecutive 1ms time slices within a high-interference section, the system may generate jitter values of +1.5kHz, -0.8kHz, +2kHz, -1.2kHz, and +0.3kHz in sequence, causing the driving frequency to change dynamically based on the displacement. These specific frequency adjustment values are recorded by time index to form a frequency migration list. Through this spread spectrum technology, the power bank disperses the magnetic field energy originally concentrated at a specific frequency to a wider frequency band, significantly reducing the electromagnetic interference of high-speed data differential signals that are sensitive to specific frequency points without affecting the overall charging power transmission efficiency.
[0040] Based on the interference amplitude vector and power correlation vector in the interference characteristic parameter set, a duty-phase joint mapping process is performed on the coil drive signal to obtain a duty-phase matrix. Duty-phase joint mapping is a technical method that simultaneously adjusts the duty cycle and phase of the PWM signal to control the timing of coil power output. Duty cycle refers to the ratio of the duration of a pulse's high level within a cycle to the total duration of the cycle, which affects the coil's output power; phase refers to the time offset of the pulse start moment relative to a reference clock. In the specific implementation of the power bank, the main control chip constructs a two-dimensional mapping table based on the interference amplitude and power correlation: when the interference amplitude is high and the power correlation is high, the duty cycle is reduced to 40% and the phase is delayed by 45 degrees; when the interference amplitude is high but the power correlation is low, the duty cycle is maintained at 45% and the phase is delayed by 30 degrees; when the interference amplitude is low but the power correlation is high, the duty cycle is maintained at 50% and the phase is delayed by 15 degrees; when both the interference amplitude and power correlation are low, the standard 50% duty cycle and zero phase delay are maintained. This mapping is implemented through the PWM timer control register of the main control chip, which can accurately adjust the pulse waveform output to the H-bridge drive circuit. For example, at time index 250, if the interference amplitude is 0.8 (high) and the power correlation is 0.15 / W (high), the system will set the duty cycle at this point to 40% and the phase delay to 45 degrees. The duty cycle and phase configuration values at all time points form a two-dimensional table, which is the duty-phase matrix. Through this joint modulation, the power bank can actively reduce the instantaneous power of the coil and stagger the data sampling time when the interference is severe, minimizing the electromagnetic interference to the data link while ensuring the average charging power.
[0041] Based on the estimated coil temperature rise and the battery module power supply status within the same cycle, the frequency transition list and duty-phase matrix are clipped to obtain the target frequency transition list and target duty-phase matrix. The estimated coil temperature rise refers to the coil temperature change calculated based on the coil current, voltage, and time; the battery module power supply status refers to the remaining battery charge percentage and power supply capacity indicator. Clipping refers to the operation of constraining control parameters based on hardware safety limits. In actual power bank applications, the main control chip monitors the coil temperature using a temperature sensor and calculates the temperature rise rate based on the current integral. Simultaneously, the battery management chip obtains the remaining battery capacity and maximum output power. When the temperature rise rate exceeds 3°C / minute, the system limits the frequency transition range to ensure that the frequency does not deviate by more than ±3kHz from the nominal value to prevent low resonant efficiency and increased heating. When the remaining battery capacity falls below 20%, the system adjusts the duty cycle lower limit to ensure it does not fall below 45% to ensure sufficient charging power output. For example, if the original frequency migration value is -5kHz at a certain moment, but the temperature rise rate has reached 4°C / minute, the system will clip this value to -3kHz; if the original duty cycle is set to 40%, but the remaining battery capacity is only 15%, the system will increase the duty cycle to 45%. The parameters after this safety restriction process are the target frequency migration list and the target duty-phase matrix. Through this limiting and clipping, the power bank can ensure that the hardware operates within a safe temperature range while pursuing electromagnetic interference suppression, and balance the requirements of charging performance and battery life.
[0042] The target frequency shift list and the target duty-phase matrix are encapsulated according to a unified time index to obtain a time-domain power scheduling parameter set. The unified time index refers to the same time reference system used in the aforementioned interference signature parameter set; encapsulation refers to the process of organizing different parameters into a unified data structure according to a fixed format; and the time-domain power scheduling parameter set is a complete set of parameters that describes how charging power varies over time. In the specific implementation of a power bank, the main control chip combines the frequency values in the target frequency shift list with the duty cycle and phase values at the corresponding time point in the target duty-phase matrix into a triplet (frequency, duty cycle, phase) and stores them in time-indexed order. Each triplet occupies a fixed 8-byte space, with the frequency value represented by a 32-bit floating-point number and the duty cycle and phase each represented by a 16-bit integer. For example, the parameters at time index 250 might be (107kHz, 45%, 30°), indicating that the coil drive frequency at that moment is 107kHz, the duty cycle is 45%, and the phase delay is 30 degrees. The encapsulated data structure consists of a header recording the total number of parameters and the starting time index, followed by a chronological sequence of parameter triplets. This unified parameter set is fed directly into the PWM controller's buffer via the DMA channel, enabling the power bank to adjust the coil drive parameters in real time according to a predetermined sequence, achieving precise power control and effectively suppressing electromagnetic interference without compromising charging performance.
[0043] In one embodiment of the present invention, according to the frequency migration profile, subcarrier random dithering is performed on the coil drive signal in each segment to obtain a frequency migration list, including: dividing the frequency migration profile into a high-power segment and a low-power segment to obtain a segment mark list; performing random dithering on the coil drive signal according to a first dithering intensity parameter in the high-power segment, and performing random dithering according to a second dithering intensity parameter in the low-power segment to obtain a dithering frequency list; encapsulating the dithering frequency list and the segment mark list according to a unified time index to obtain a frequency migration list.
[0044] The following is a detailed description of the steps involved in the above embodiment: The frequency transition profile is divided into high-power segments and low-power segments, generating a segment marker list. The frequency transition profile refers to the adjustment curve of the coil drive frequency relative to the nominal value. The high-power segment is the period when the coil output power exceeds a preset threshold; the low-power segment is the period when the coil output power is less than or equal to the preset threshold. The segment marker list is a sequence of data identifying the power segment type at each time point. In a specific implementation of a power bank, the main control chip first evaluates the coil power within the time range corresponding to the frequency transition profile, marking segments with power values exceeding 7W as high-power segments (with a marker value of 1) and segments with power values not exceeding 7W as low-power segments (with a marker value of 0). This division is based on the differences in the interference characteristics generated by the charging coil at different power levels. The 7W threshold is chosen because the electromagnetic radiation intensity of the power bank's wireless charging coil increases significantly above this power level, significantly interfering with the high-speed data link. During the division process, the main control chip uses a direct comparison method to compare the coil input power at each time index point with the threshold and records the comparison results. For example, during a charging process, if the coil power is stable at 9W within time indexes 100-200 and drops to 5W within time indexes 201-300, the system will mark indexes 100-200 as a high-power segment and indexes 201-300 as a low-power segment, resulting in a segment marker list of the form [1,1,...,1,0,0,...,0]. This power segment division enables the power bank to adopt differentiated dithering strategies for time periods with different interference risk levels, improving the accuracy and effectiveness of interference suppression.
[0045] In the high-power segment, random dithering is performed on the coil drive signal according to the first dithering intensity parameter, and in the low-power segment, random dithering is performed according to the second dithering intensity parameter to obtain a dithering frequency list. The first dithering intensity parameter and the second dithering intensity parameter refer to the amplitude and rate parameters of random dithering in the high-power segment and the low-power segment, respectively; random dithering refers to the operation of adding controlled random changes to the coil drive frequency; and the dithering frequency list refers to the time series containing the actual coil drive frequency after dithering. In the actual application of the power bank, for the time point marked as the high-power segment, the main control chip uses the first dithering intensity parameter to set as: dithering amplitude ±2kHz, dithering rate 1ms; for the time point marked as the low-power segment, the second dithering intensity parameter is set as: dithering amplitude ±0.5kHz, dithering rate 5ms. The dithering process is achieved by generating a random offset through the pseudo-random number generator of the main control chip and adjusting the frequency division coefficient of the PWM control module in real time. Specifically, in the high-power range, the system generates a random frequency offset between -2kHz and +2kHz every 1ms and superimposes this offset on the baseline value of the frequency migration profile. In the low-power range, the system generates a random frequency offset between -0.5kHz and +0.5kHz every 5ms. For example, at index 120 marked as high power, if the baseline frequency is 105kHz, the system may generate a random offset of +1.5kHz, resulting in an actual drive frequency of 106.5kHz at that point. At index 220 marked as low power, if the baseline frequency is 108kHz, the system may generate a random offset of -0.3kHz, resulting in an actual drive frequency of 107.7kHz at that point. The actual drive frequency values at all time points form a dithered frequency list. This differentiated random dithering strategy provides a stronger spread spectrum effect in the high-power range to cope with more severe interference, while using gentle dithering in the low-power range to balance interference suppression and charging stability requirements.
[0046] The jitter frequency list and segment marker list are encapsulated according to a unified time index to produce a frequency migration list. A unified time index refers to the same time reference system used by the interference signature parameter set; encapsulation refers to the process of organizing disparate data into a unified data structure according to a fixed format; and a frequency migration list refers to a time series data structure containing complete frequency adjustment information. In the power bank's specific implementation, the main control chip combines the frequency values in the jitter frequency list with the segment type markers corresponding to the time points in the segment marker list into two-tuples (frequency value, segment marker) and stores them in time index order. Each two-tuple occupies a fixed 5-byte space, with the frequency value represented by a 32-bit floating-point number (4 bytes) and the segment marker represented by an 8-bit integer (1 byte). This encapsulation structure facilitates efficient access and processing of frequency adjustment data by the main control chip via the DMA channel. For example, the packaged data at time index 120 might be (106.5kHz, 1), indicating that the actual coil drive frequency at that moment is 106.5kHz and belongs to the high-power segment; the packaged data at index 220 might be (107.7kHz, 0), indicating that the actual drive frequency at that moment is 107.7kHz and belongs to the low-power segment. The packaged frequency migration list contains a header recording the list length and the starting time index, followed by a sequence of frequency-tag pairs arranged in chronological order. Through this unified time index packaging method, the power bank can combine frequency adjustment with power segment information to form a complete frequency control strategy, enabling the coil drive circuit to implement differentiated spread spectrum modulation according to precise timing, thereby effectively reducing electromagnetic interference without significantly affecting charging efficiency.
[0047] Please continue reading Figure 1 , performing buffer reordering, transmission timing revision, and inter-frame spacing optimization processing on the data frames to be transmitted according to the time domain power scheduling parameter set, obtaining a data transmission scheduling sequence, and calculating an interference intensity value for each transmission time slot; In one embodiment of the present invention, according to the time domain power scheduling parameter set, cache reordering, transmission timing revision and inter-frame interval optimization processing are performed on the data frames to be transmitted to obtain a data transmission scheduling sequence, and an interference intensity value is calculated for each transmission time slot, including: according to the time domain power scheduling parameter set, endpoint buffer level sorting processing is performed on the data frames to be transmitted, and DMA burst queue reordering processing is performed on the sorting results to obtain a preliminary data sequence; according to the preliminary data sequence and the target duty-phase matrix in the time domain power scheduling parameter set, sub-beat frequency revision processing is performed on the starting time of each data frame to obtain a revised timing list; according to the revised timing list and the target frequency migration list in the time domain power scheduling parameter set, duty differential mapping processing is performed on the idle segments between frames to generate inter-frame interval optimization parameters, and the revised timing list and the inter-frame interval optimization parameters are encapsulated according to a unified time index to obtain a data transmission scheduling sequence; according to the data transmission scheduling sequence and the inter-frame interval optimization parameters, the flux variance value corresponding to each transmission time slot is calculated to obtain an interference intensity value, and the interference intensity value is associated with the data transmission scheduling sequence according to a unified time index.
[0048] The following is a detailed description of the steps involved in the above embodiment: Based on the time-domain power scheduling parameter set, endpoint buffer-level sorting is performed on the data frames to be transmitted, and DMA burst requeueing is performed on the sorted results to obtain a preliminary data sequence. Endpoint buffer-level sorting refers to the prioritization of data packets in different endpoint buffer types during USB data transmission; DMA burst requeueing refers to the reorganization of the data transmission queues of the direct memory access controller; and the preliminary data sequence refers to the transmission sequence of data frames after preliminary sorting. In the specific implementation of the power bank, the main control chip first reads the time-domain power scheduling parameter set and extracts the coil power fluctuation pattern over a future period (e.g., 100ms). The main control chip then accesses the endpoint buffer of the USB data controller, obtains all data frames to be transmitted, and classifies them according to data type: control transfers with high real-time requirements (e.g., USB configuration requests) are marked as high priority (priority 1); interrupt transfers that require real-time response but can tolerate a small amount of delay (e.g., keyboard input) are marked as medium priority (priority 2); and large data transfers (e.g., file copying) are marked as low priority (priority 3). For example, when a power bank detects that the data to be transferred in its memory includes a 20KB file and a 512-byte device status query, the system marks the device status query as priority 1 and the file data as priority 3. The main control chip then further sorts data frames of the same priority level based on the coil power scheduling parameters: frames scheduled for transmission during high-power periods are moved to the end of the queue, while frames scheduled for transmission during low-power periods are moved to the front of the queue. The system then passes the sorting results to the DMA controller, which reorganizes the DMA burst transfer queue. This splits the originally continuous large block of data into multiple smaller blocks (each no larger than 4KB), inserting sufficient time intervals between blocks to ensure that data bursts avoid peak coil power periods. This dual-layer sorting and reorganization process creates a data frame transmission plan known as the primary data sequence. This data sorting process allows the power bank to offset large data transmissions from coil power fluctuations, minimizing the impact of electromagnetic interference while ensuring the timely transmission of critical data and improving data transmission reliability.
[0049] Based on the initial data sequence and the target duty-phase matrix in the time-domain power scheduling parameter set, a sub-beat frequency correction is performed on the start time of each data frame to generate a revised timing table. Sub-beat frequency correction refers to a technical method for finely adjusting the transmission time of data frames to align them with specific phases of the system clock cycle to avoid magnetic field interference peaks. The revised timing table is a parameter table that records the transmission times of data frames after precise time adjustment. In practical power bank applications, the main control chip first analyzes the target duty-phase matrix to determine the phase variation pattern of the coil drive PWM signal for the future time period. The duty-phase matrix contains the duty cycle and phase values at each time index point, reflecting the time-domain characteristics of the coil magnetic field energy distribution. The main control chip then fine-tunes the planned start time of each data frame in the initial data sequence by slightly adjusting the original start time forward or backward by 50-500 nanoseconds to offset the data transmission sampling instant from the peak of the coil current. This adjustment is based on the timing margin of the USB 3.0 protocol and is performed without violating the protocol timing requirements. In specific implementation, the system calculates the coil drive phase φ1 corresponding to each original start time t1. If φ1 is in a high-interference range (such as near the rising edge of the PWM), the start time is adjusted to t1', so that the corresponding new phase φ1' is in a low-interference range (such as the stable region after the falling edge of the PWM). For example, if a data frame is originally scheduled to begin transmission at time index 300, and the coil drive PWM signal at that moment is on the rising edge (phase 0°), the system will delay its start time by 200 nanoseconds, so that the corresponding coil drive phase becomes 90°, at which point the magnetic field interference is relatively small. The precise adjusted start time of all data frames is recorded in the revised timing table. This nanosecond-level fine adjustment exploits the periodic nature of magnetic field interference. By staggering the critical moments of data sampling and magnetic field changes, it minimizes the impact of electromagnetic interference on data transmission. At the same time, because the adjustment amount is small, it does not affect overall transmission performance.
[0050] Based on the revised timing list and the target frequency migration list in the time-domain power scheduling parameter set, duty differential mapping is performed on the inter-frame idle segments to generate inter-frame interval optimization parameters. The revised timing list and inter-frame interval optimization parameters are then packaged according to a unified time index to obtain the data transmission scheduling sequence. An inter-frame idle segment refers to the period between two adjacent data frames where no data is transmitted. Duty differential mapping is a method for calculating the optimal data frame interval based on changes in the coil duty cycle. The inter-frame interval optimization parameters are control parameters used to adjust the time interval between adjacent data frames. The data transmission scheduling sequence is a set of parameters that fully describes the timing of data transmission. In the specific implementation of the power bank, the main control chip first identifies the time range of all inter-frame idle segments based on the revised timing list. Then, based on the frequency changes in the target frequency migration list, duty differential mapping is performed on each idle segment: the rate of change of the coil duty cycle within the segment (the current duty cycle minus the previous duty cycle) is calculated and mapped into the inter-frame delay adjustment. When the duty cycle is increasing (positive difference), the system increases the inter-frame delay to avoid the upcoming period of increased interference. When the duty cycle is decreasing (negative difference), the system reduces the inter-frame delay to accelerate data transmission during periods of decreased interference. This mapping uses a piecewise linear function: when the duty cycle change rate is within ±1% / ms, the delay adjustment is proportional to the change rate; when the change rate exceeds ±1% / ms, the delay adjustment reaches a maximum of ±200μs. For example, if the coil duty cycle increases from 45% to 48% during the idle period between time indices 400-450, with a change rate of +0.6% / ms, the system will set a delay adjustment of +120μs for this period, delaying the transmission of subsequent data frames by 120μs. The main control chip organizes these optimized parameters with the revised timing table according to a unified time index format to form a complete data transmission schedule. Through this dynamic optimization of the inter-frame interval, the power bank can stagger data transmission with coil power fluctuations, ensuring data throughput while minimizing the impact of electromagnetic interference.
[0051] Based on the data transmission schedule and interframe interval optimization parameters, the magnetic flux variance corresponding to each transmission time slot is calculated to obtain the interference intensity value. This interference intensity value is then associated with the data transmission schedule using a unified time index. A transmission time slot refers to the specific time segment of a data frame transmission; the magnetic flux variance refers to the fluctuation intensity of the coil magnetic flux per unit time; and the interference intensity value is a quantitative indicator of the degree of electromagnetic interference. In practical power bank applications, the main control chip identifies the precise transmission interval of each data frame based on the established data transmission schedule and divides it into multiple time slots (typically 1 μs each). For each transmission time slot, the system combines the coil drive frequency, duty cycle, and phase information to estimate the coil current change rate (dI / dt) and the corresponding magnetic flux change rate (dΦ / dt) at that moment. Since the magnetic flux change rate is proportional to the induced electromotive force, which is the primary source of interference, the system calculates the variance of the magnetic flux change rate within each time slot as a quantitative indicator of the interference intensity. During the calculation process, the system first samples 10 points within each 1μs time slot, calculates the rate of change of magnetic flux at these sampled points, and then calculates the statistical variance of these values to obtain the magnetic flux variance value for that time slot. For example, within a transmission time slot, if the coil drive frequency is 107kHz, the duty cycle is 45%, and the phase is 30°, and the moment is near the rising edge of the PWM waveform, the calculated magnetic flux variance value is higher, perhaps reaching 0.8 (normalized value). In contrast, during a time slot in the PWM stable region, the magnetic flux variance value may be only 0.2. The system records these variance values as the interference intensity values for the corresponding time slot and associates them with the time information in the data transmission scheduling sequence to form a time slot-interference intensity mapping table. This detailed interference intensity calculation enables the power bank to accurately assess the actual interference risk at each transmission moment, providing a quantitative basis for subsequent error control coding strategies and achieving interference-aware adaptive transmission control.
[0052] Please continue reading Figure 1 , adaptively adjusting error control coding redundancy, retransmission threshold, and frame length parameters according to the data transmission scheduling sequence, the interference intensity value, and the real-time error statistics to obtain a coding configuration set, and using the coding configuration set to complete data transmission and error compensation; In one embodiment of the present invention, the error control coding redundancy, retransmission threshold and frame length parameters are adaptively adjusted according to the data transmission scheduling sequence, the interference intensity value and the real-time error statistics to obtain a coding configuration set, and the coding configuration set is used to complete data transmission and error compensation, including: according to the data transmission scheduling sequence, the interference intensity value and the real-time error statistics are weightedly combined according to the time slot correspondence to obtain a time slot quality index sequence; according to the time slot quality index sequence, the error control coding redundancy, retransmission threshold and frame length parameters are layered and continuously mapped to obtain an initial coding parameter matrix; according to the future idle time slot distribution in the data transmission scheduling sequence, the initial coding parameter matrix is retransmitted The budget adjustment process is performed to obtain a revised coding parameter matrix; the revised coding parameter matrix is weightedly fused with the previous round of coding parameter matrix to generate an evolved coding parameter matrix, and the evolved coding parameter matrix is encapsulated according to a unified time index to obtain a coding configuration set, and data frame transmission, error detection and compensation are completed according to the coding configuration set.
[0053] The following is a detailed description of the steps involved in the above embodiment: Based on the data transmission scheduling sequence, the interference intensity value and the real-time error statistics are weighted and combined according to the corresponding time slot relationship to obtain a time slot quality index sequence. The real-time error statistics refer to the real-time measurement results of the bit error rate detected during data transmission; the weighted combination refers to a calculation method that combines multiple parameters into a single indicator according to different weight coefficients; the time slot quality index sequence refers to a numerical sequence that characterizes the communication quality of each data transmission time slot. In the specific implementation of the power bank, the main control chip obtains the bit error rate (BER) of each time slot in real time through the error detection circuit of the high-speed interface, and simultaneously obtains the interference intensity value (ISV) of the corresponding time slot from the previous step. For each time slot, the system performs a weighted combination calculation: the interference intensity value is multiplied by a weight of 0.7, the error statistics are multiplied by a weight of 0.3, and the two are added together to obtain the quality index of the time slot. The weights of 0.7 and 0.3 are set based on the empirical value that the interference intensity in the actual working environment of the power bank is generally more predictive of future bit errors than the current bit error rate. The specific calculation adopts a time-delay-differentiated processing method: for time slots that have completed transmission, the system directly uses the measured bit error rate as the main reference (the weight is increased to 0.6); for time slots that have not yet started transmission, the system mainly relies on the interference intensity prediction (the weight is increased to 0.9). For example, when the interference intensity value of a time slot is 0.8 and the measured bit error rate is 2×10 -6 When the time slot quality index is calculated, it is 0.8×0.7+2×10 -6×0.3≈0.56; for future time slots, if the predicted interference intensity is 0.5, the quality index is approximately 0.5 × 0.9 = 0.45. The system organizes the quality indices of all time slots into a chronological sequence, resulting in a time slot quality index sequence. This weighted approach, which comprehensively considers current bit errors and predicted interference, enables the power bank to accurately assess the actual communication quality of each transmission time slot, providing an intuitive quantitative basis for subsequent error control strategies and effectively balancing responsiveness and predictability.
[0054] According to the time slot quality index sequence, the error control coding redundancy, retransmission threshold and frame length parameters are subjected to hierarchical continuous mapping processing to obtain the initial coding parameter matrix. Error control coding redundancy refers to the ratio of the extra bits used for error correction in the error control code to the total length; the retransmission threshold refers to the error rate threshold that triggers data retransmission; the frame length parameter refers to the number of bytes in the data transmission frame; and the hierarchical continuous mapping processing refers to the calculation method of mapping the input parameters to the target parameter space in a multi-level hierarchical manner. In the actual application of power banks, the main control chip divides all time slots into five quality levels according to the statistical characteristics of the time slot quality index sequence: excellent (0-0.2), good (0.2-0.4), general (0.4-0.6), poor (0.6-0.8) and bad (0.8-1.0). Then, the system sets different coding parameters for each level: for time slots with a quality index in the excellent range, low redundancy (15%), high retransmission threshold (5×10 -5 ) and maximum frame length (4KB); for time slots with poor quality index, high redundancy (40%), low retransmission threshold (1×10 -6 ) and the minimum frame length (256B). The intermediate level uses linear interpolation to determine the parameter value. In specific implementation, the system not only considers the quality index of a single time slot, but also refers to the trend of the adjacent time slots to make a smooth transition of the parameters. For example, when it is detected that the quality indexes of three consecutive time slots are 0.3, 0.5, and 0.7 respectively, the system will not adjust the parameters abruptly, but will gradually increase the redundancy, lower the retransmission threshold and reduce the frame length along the trend of 0.3→0.5→0.7. The parameter values obtained by this processing are organized into a matrix form according to the time slot index and parameter type, which is the initial coding parameter matrix. Through this hierarchical and continuous parameter mapping, the power bank can dynamically adjust the error prevention strategy according to the interference situation of the transmission environment, adopt a high-efficiency and low-redundancy transmission method in time slots with good quality, and enhance protection measures in time slots with poor quality to achieve a dynamic balance between performance and reliability.
[0055] Based on the distribution of future idle time slots in the data transmission schedule, the retransmission budget adjustment process is performed on the initial coding parameter matrix to obtain a revised coding parameter matrix. The future idle time slot distribution refers to the distribution of time periods reserved for no data transmission in the data transmission plan; the retransmission budget adjustment process refers to the process of adjusting the error detection and retransmission strategy based on the time resources available for retransmission; the revised coding parameter matrix refers to the adjusted coding parameter matrix. In the specific implementation of the power bank, the main control chip first extracts the idle time slot information within the next 100ms from the data transmission schedule and calculates the total time length and distribution available for potential retransmissions. Then, the system evaluates whether there are enough idle time slots after each transmission time slot for retransmission: if a transmission time slot is followed by a large number of idle time slots (for example, the total length exceeds 30% of the original data transmission time), the retransmission threshold for this time slot will be appropriately increased (by 25%), while the coding redundancy will be reduced (by 5 percentage points) and the frame length will be increased (by 20%). Conversely, if there are few idle time slots after a transmission time slot, the retransmission threshold will be lowered (by 25%), the coding redundancy will be increased (by 5 percentage points), and the frame length will be reduced (by 20%). For example, when the system detects that a transmission time slot in the time index interval 500-550 is followed by a completely idle interval in the time index interval 551-600, the retransmission threshold for the time index interval 500-550 will be increased from the original 2×10 -6 Adjusted to 2.5×10 -6 , reducing redundancy from 30% to 25% and increasing frame length from 1KB to 1.2KB. This adjustment takes into account the availability of resources required for retransmission, optimizing coding efficiency while ensuring transmission reliability. All adjusted parameters are also organized into a matrix format based on time slot index and parameter type, namely the revised coding parameter matrix. By optimizing the retransmission strategy based on future idle resources, power banks can more efficiently utilize time resources, ensuring data transmission reliability while improving overall throughput.
[0056] The revised coding parameter matrix is weighted and combined with the previous round's coding parameter matrix to generate an evolved coding parameter matrix. This evolved coding parameter matrix is then encapsulated according to a unified time index to create a coding configuration set. Data frame transmission, error detection, and compensation are performed based on this coding configuration set. The previous round's coding parameter matrix refers to the coding parameter settings generated in the previous processing cycle; weighted fusion refers to the computational process of merging the old and new parameter matrices by assigning weights; the evolved coding parameter matrix refers to the resulting parameter matrix; and the coding configuration set refers to the final set of parameters used to guide data transmission. In the power bank's specific implementation, the main control chip compares the current revised coding parameter matrix with the previous round's coding parameter matrix and calculates the magnitude of change in each parameter. If any parameter changes significantly (e.g., a redundancy change exceeding 10 percentage points), the system implements a gradual transition, assigning a weight of 0.4 to the previous round's parameters and a weight of 0.6 to the current revised parameters. The intermediate transition values are then calculated using a weighted average. This smoothing process avoids sudden changes in parameters and ensures system performance stability. For example, if the redundancy of a time slot in the previous round was 20%, and the current revised value is 35%, the fused value is 20% × 0.4 + 35% × 0.6 = 29%, achieving a smooth parameter transition. The system organizes the fused parameters (redundancy, retransmission threshold, and frame length) in a unified time index format to form a complete coding configuration set. During actual data transmission, the USB controller dynamically adjusts the number of check bytes in the Reed-Solomon encoding (affecting redundancy), the retransmission threshold after a CRC check failure (affecting the retransmission threshold), and the data fragment size (affecting the frame length) based on the parameters in the coding configuration set. For example, when transferring file data, the system flexibly adjusts the protection strength and size of data packets based on the coding configuration of different time slots, increasing protection in high-interference sections and improving efficiency in low-interference sections. This dynamically adaptive coding strategy ensures data transmission reliability while maximizing transmission efficiency in the changing electromagnetic environment generated by wireless charging, effectively addressing the impact of electromagnetic interference on high-speed data transmission.
[0057] In one embodiment of the present invention, the revised coding parameter matrix is subjected to weighted fusion processing with the previous round coding parameter matrix to generate an evolved coding parameter matrix, and the evolved coding parameter matrix is encapsulated according to a unified time index to obtain a coding configuration set, and data frame sending, error detection and compensation are completed according to the coding configuration set, including: performing time attenuation weight allocation on the previous round coding parameter matrix and the revised coding parameter matrix to obtain a weight coefficient vector; performing element-level weighted summation on the previous round coding parameter matrix and the revised coding parameter matrix according to the weight coefficient vector to generate an evolved coding parameter matrix; encapsulating the evolved coding parameter matrix according to a unified time index to obtain a coding configuration set; sending data frames according to the redundancy parameter in the coding configuration set, performing error detection according to the retransmission threshold parameter in the coding configuration set, and completing compensation processing according to the frame length parameter in the coding configuration set.
[0058] The following is a detailed description of the steps involved in the above embodiment: Time-decayed weighting is performed on the previous-round encoding parameter matrix and the revised encoding parameter matrix to obtain a weight coefficient vector. Time-decayed weighting is a calculation method that assigns different weights to new and old data based on their temporal order, with newer data receiving higher weights and older data receiving decreasing weights over time. The weight coefficient vector is a one-dimensional array containing the weight distribution ratios for each time index point. In the power bank's specific implementation, the main control chip first calculates the time interval between the current revised encoding parameter matrix and the previous-round encoding parameter matrix, denoted as Δt (in milliseconds). The system then sets a basic weighting ratio based on this time interval: when Δt is less than 10ms, the previous-round parameters have a weight of 0.5, and the current revised parameters have a weight of 0.5; when Δt is between 10-50ms, the previous-round parameters have a weight of 0.4, and the current revised parameters have a weight of 0.6; when Δt exceeds 50ms, the previous-round parameters have a weight of 0.2, and the current revised parameters have a weight of 0.8. This basic weighting setting reflects the timeliness of data; longer time intervals reduce the reference value of historical data. The system then performs further refined adjustments for each time index point: The system calculates the magnitude of the change between the previous round of parameters and the current revised parameters at that time point. If the magnitude of the change exceeds a preset threshold (e.g., a redundancy change of more than 15 percentage points), the weight of the historical data is increased by 0.1 to mitigate the sudden change. If the magnitude of the change is less than another threshold (e.g., a redundancy change of less than 5 percentage points), the weight of the new data is increased by 0.1 to accelerate adaptation. For example, if the redundancy at time index 300 in the previous round was 25%, and the current revised value was 45%, the change is 20 percentage points, exceeding the threshold of 15 percentage points. The weight of the previous round parameter at that point is adjusted to 0.4 + 0.1 = 0.5, and the weight of the current revised parameter is adjusted accordingly to 0.5. The system organizes the weight pairs for all time points into a vector, which is the weight coefficient vector. This dual attenuation mechanism based on time and magnitude of change ensures a smooth transition during system parameter updates, avoiding performance instability caused by sudden parameter changes while ensuring that the system can promptly adapt to new interference environments.
[0059] According to the weight coefficient vector, element-level weighted summation is performed on the previous round of coding parameter matrix and the revised coding parameter matrix to generate an evolved coding parameter matrix. Element-level weighted summation refers to the calculation process of multiplying the elements at corresponding positions in the two matrices by the corresponding weights and then adding them together; the evolved coding parameter matrix refers to the final coding parameter configuration matrix obtained by smooth fusion. In the actual application of power banks, the main control chip traverses each element position (i, j) in the coding parameter matrix, where i represents the time index and j represents the parameter type (j=1 represents redundancy, j=2 represents the retransmission threshold, and j=3 represents the frame length). For each position, the system reads the weight value pair (w old ,w new), and then calculate the evolution parameter value of this position: multiply the parameter value of the previous round by w old , multiply the revised parameter value by w new , add the two together to get the final value. This calculation uses different range normalization processing for different parameter types: the redundancy parameter is kept in percentage form before and after calculation; the retransmission threshold parameter takes the logarithm before calculation and then takes the exponent after calculation to adapt to its exponential change characteristics; the frame length parameter is divided by the reference value (1KB) before calculation and then multiplied by the reference value after calculation to recover. For example, for the redundancy parameter at time index 300, if the previous round value is 25% and the weight is 0.5, and the current revised value is 45% and the weight is 0.5, then the evolution parameter value is 25%×0.5+45%×0.5=35%; for the retransmission threshold parameter of the same time index, if the previous round value is 1×10 -6 , with a weight of 0.5 and a current revised value of 5×10 -6 , the weight is 0.5, then the evolution parameter value is 10^(0.5×log10(1×10 -6 )+0.5×log10(5×10 -6 ))≈2.2×10 -6 Through this element-by-element weighted fusion, the system generates a complete evolving coding parameter matrix, which contains the final values of all coding parameters at each point in time. This smooth fusion mechanism reduces the impact of parameter mutations on system performance, ensuring that the power bank can stably and reliably perform data transmission tasks in a dynamically changing electromagnetic environment.
[0060] The evolved coding parameter matrix is encapsulated according to a unified time index to produce a coding configuration set. The unified time index refers to the same time reference system used in the previous steps; encapsulation refers to the process of converting the matrix data into a data structure with a specific format; and the coding configuration set is a complete data set that can be directly used to configure data transmission parameters. In the power bank implementation, the main control chip organizes the data in the evolved coding parameter matrix in a compact binary format. Each time index point corresponds to a configuration item, consisting of four fields: a 32-bit timestamp, an 8-bit redundancy value (0-100 corresponds to 0-100%), a 16-bit retransmission threshold (using logarithmic encoding, with each bit representing 0.5 orders of magnitude), and a 16-bit frame length value (in bytes). All configuration items are arranged in ascending time index order to form a variable-length array. A header structure is added to the front of the array, containing the total number of configuration items, the start time index, and the end time index. The entire data structure is stored byte-aligned for efficient system access. For example, the complete configuration item at time index 300 may be {300, 35, 2.2e-6, 1024}, which means that the redundancy at that moment is 35% and the retransmission threshold is 2.2×10 -6, with a frame length of 1024 bytes. The system stores this encapsulated data structure in a high-speed cache for real-time query by the data transmission controller. This compact and unified encoding configuration set format reduces storage and access overhead, enabling the power bank to efficiently adjust data transmission parameters in real time, quickly responding to changes in the electromagnetic environment and ensuring stable transmission performance.
[0061] Data frames are transmitted based on the redundancy parameter in the coding configuration set, error detection is performed based on the retransmission threshold parameter in the coding configuration set, and compensation is performed based on the frame length parameter in the coding configuration set. The redundancy parameter refers to the ratio of extra bits used for error correction to the total length of the data frame; the retransmission threshold parameter refers to the bit error rate threshold that triggers data retransmission; the frame length parameter refers to the number of bytes in the data transmission frame; and compensation refers to the data repair operation performed when errors occur. In practical power bank applications, the data transmission controller queries the coding configuration set based on the current time index before sending each data frame to obtain the corresponding parameter configuration. First, the system sets the number of check bytes in the Reed-Solomon encoder based on the redundancy parameter. For example, if the redundancy parameter at a certain time is 35%, the system will add approximately 538 bytes of check data for every 1000 bytes of original data (1000 × 35% / (100% - 35%)). Then, the system segments the original data according to the frame length parameter: if the frame length parameter is 1024 bytes, the large block of data is split into multiple 1024-byte segments, each segment is encoded separately and sent. At the data receiving end, the system determines whether retransmission is required based on the retransmission threshold parameter: if the detected bit error rate exceeds the retransmission threshold (e.g. 2.2×10 -6 ), a retransmission request is sent; if the bit error rate is lower than the threshold but errors still exist, an attempt is made to correct them using Reed-Solomon codes. For example, when transmitting large files, for data segments with a frame length of 1024 bytes and a redundancy of 25%, the system can correct errors of up to 85 bytes; if the error in a segment exceeds the error correction capability but is lower than the retransmission threshold, the system will attempt to recover part of the data and add a mark to the error position; if the error seriously exceeds the error correction capability and is higher than the retransmission threshold, the system will request retransmission of the segment. This parameterized error control mechanism enables the power bank to flexibly adjust its protection strategy in the electromagnetic interference environment caused by wireless charging, maximizing transmission efficiency while ensuring data integrity, and effectively solving the reliability problem when charging and high-speed data transmission are carried out in parallel.
[0062] Please continue reading Figure 1 , perform comprehensive optimization processing on the interference characteristic parameter set, the time domain power scheduling parameter set, the data transmission scheduling sequence and the coding configuration set to generate an updated control parameter set, and use the updated control parameter set for generating the interference characteristic parameter set in the next processing cycle.
[0063] In one embodiment of the present invention, the interference characteristic parameter set, the time domain power scheduling parameter set, the data transmission scheduling sequence and the coding configuration set are subjected to comprehensive optimization processing to generate an updated control parameter set, and the updated control parameter set is used for the interference characteristic parameter set generation of the next processing cycle, including: performing time index alignment processing on the interference characteristic parameter set, the time domain power scheduling parameter set, the data transmission scheduling sequence and the coding configuration set to obtain a comprehensive data matrix; performing indicator calculation on the transmission throughput, wireless power consumption and error increment value of each time index according to the comprehensive data matrix Processing is performed to obtain a performance evaluation vector; according to the comparison result of the performance evaluation vector and the historical performance evaluation vector, incremental weight adjustment processing is performed on the time domain power scheduling parameter set and the coding configuration set, and the system temperature rise estimation amount and the power supply status amount are combined to obtain a candidate control parameter set; steady-state consistency check processing is performed on the candidate control parameter set, if the power threshold and the error threshold are met, the updated control parameter set is output, if not, the updated control parameter set is output after cyclic fine-tuning; the updated control parameter set is written into the storage area, and the updated control parameter set is called in the next processing cycle to generate a new interference feature parameter set.
[0064] The following is a detailed description of the steps involved in the above embodiment: Time index alignment is performed on the interference signature parameter set, time-domain power scheduling parameter set, data transmission scheduling sequence, and coding configuration set to produce a comprehensive data matrix. Time index alignment is the process of unifying the time stamps in different data sets to a common reference system, ensuring one-to-one correspondence between parameters in the time dimension. The comprehensive data matrix is a two-dimensional data table containing multiple system parameters arranged according to a unified time index. In the specific implementation of the power bank, the main control chip first determines the time span of all data sets and uses the time period they cover as the alignment reference. The system then converts each data set to a unified time resolution with a sampling interval of 1ms. This choice captures the rapid changes in the wireless charging coil drive without generating excessive data volume. For data sets with different original sampling intervals, the system uses linear interpolation to calculate parameter values at intermediate time points. For example, if the interference occurrence interval in the interference signature parameter set is originally recorded in 100μs units, the system interpolates every 10 points to produce a 1ms interval sequence. However, the parameters in the coding configuration set may be recorded in data frames. The system assigns parameter values to corresponding millisecond-level time points based on the duration of each data frame. After alignment, all parameters in each data set are organized into a two-dimensional table based on a unified time index, with rows representing time indices and columns representing different types of parameters (such as interference amplitude, coil frequency, duty cycle, data transmission status, and coding redundancy), forming a complete, comprehensive data matrix. This time alignment process enables the system to intuitively analyze the temporal relationships between parameters, providing a unified data foundation for subsequent performance evaluation and parameter optimization, and resolving analytical challenges caused by time asynchrony among multiple subsystem parameters.
[0065] Based on the comprehensive data matrix, metrics are calculated for transmission throughput, wireless power consumption, and bit error delta at each time index to produce a performance evaluation vector. Transmission throughput refers to the amount of data successfully transmitted per unit time; wireless power consumption refers to the actual energy consumed during wireless charging; and bit error delta refers to the increase in bit error rate relative to the baseline state. The performance evaluation vector is a numerical sequence quantifying various aspects of system performance. In actual power bank applications, the main control chip iterates through each time index row in the comprehensive data matrix, extracts relevant parameters, and calculates three core performance metrics. Transmission throughput is calculated using a sliding window method: for each time point, the number of bytes transmitted within 10 ms before and after is divided by the time to obtain the instantaneous throughput rate (in MB / s) at that point. Wireless power consumption is calculated using the coil current, voltage, and efficiency factor: the product of the coil drive current and voltage is multiplied by the efficiency factor corresponding to the current frequency and duty cycle (typically 0.7-0.9) to obtain the actual output power (in W). The error increment is obtained by comparing the current error rate with the reference error rate: the reference error rate in the interference-free state (usually 1×10-7 ), and the increase in bit errors due to interference is obtained. These three indicators are combined into a single performance score according to the weight coefficient of 1:2:3: the higher the throughput, the higher the score; the lower the power consumption, the higher the score; and the smaller the bit error increment, the higher the score. For example, when the instantaneous throughput at a certain point in time is 5MB / s and the actual output power is 7.5W, the bit error increment is 2×10 -6 When the system calculates the performance score, it is (5 / 10)×1+(10-7.5) / 10×2+(1-2×10 -6 / 10 -5 ) × 3 ≈ 4.1. The system sequentially organizes the performance scores at all time points into a vector, which is the performance evaluation vector. This comprehensive evaluation method of multiple indicators enables the power bank to balance the relationship between data transmission efficiency, charging performance, and communication reliability, providing a quantitative basis for control strategy optimization.
[0066] Based on the comparison results of the performance evaluation vector and the historical performance evaluation vector, incremental weight adjustment is performed on the time-domain power scheduling parameter set and the coding configuration set. This is combined with the system temperature rise estimate and power supply status to generate a candidate control parameter set. The historical performance evaluation vector refers to the performance evaluation data calculated in the previous processing cycle; incremental weight adjustment refers to the process of fine-tuning the control parameter weights based on performance changes; the system temperature rise estimate refers to the predicted coil temperature rise rate; the power supply status refers to the power bank battery charge and power supply capability indicators; and the candidate control parameter set refers to the adjusted control parameter set to be verified. In the specific implementation of the power bank, the main control chip first calculates the difference between the current performance evaluation vector and the historical vector to determine the performance trend. If the overall performance improves (the difference is positive), the system increases the weight of the current control strategy by increasing the frequency shift amplitude and duty cycle modulation depth in the time-domain power scheduling parameters by 10%, while maintaining the parameters in the coding configuration set. If the performance deteriorates (the difference is negative), the system decreases the weight of the current strategy by reducing the frequency shift amplitude and duty cycle modulation depth by 15% and increasing the coding redundancy by 5 percentage points. For example, if the system detects an improvement in performance from 3.8 in the previous cycle to 4.1, it adjusts the frequency shift from -3kHz to -3.3kHz and the duty cycle modulation depth from 10% to 11%. The system then applies safety limits based on temperature and power supply status: if the estimated temperature rise exceeds 2.5°C / minute, the frequency shift is forced to within ±2kHz and the duty cycle variation to within ±5%. If the remaining battery capacity is less than 25%, the duty cycle limit is raised to at least 40% to ensure charging efficiency. These adjusted parameters form a candidate control parameter set, including target values for coil frequency, duty cycle, phase, and various encoding parameters. Through this incremental adjustment based on performance feedback, combined with hardware safety constraints, the power bank can gradually optimize its interference suppression strategy to adapt to changes in different battery modules and usage environments while maintaining system stability and safety.
[0067] Perform steady-state consistency check processing on the candidate control parameter set. If the power threshold and the error threshold are met, the updated control parameter set is output. If not, the updated control parameter set is output after cyclic fine-tuning. Steady-state consistency check processing refers to the test process of verifying whether the adjusted parameters can keep the system in a stable state in long-term operation; the power threshold refers to the minimum allowable value of the wireless charging output power; the error threshold refers to the maximum allowable value of the data transmission error rate; cyclic fine-tuning refers to the process of repeatedly adjusting the parameters in small amounts until the conditions are met. In the specific implementation of the power bank, the main control chip uses the parameter simulation module to substitute the candidate control parameter set into the system model to predict the operating status within the next 100ms. The system checks two key indicators: whether the average wireless charging output power is not lower than the minimum power threshold (usually set to 5W), and whether the maximum sustained bit error rate does not exceed the maximum bit error threshold (usually set to 5×10 -6 ). If both conditions are met at the same time, the candidate parameters pass the verification and are directly output as the updated control parameter set; if any condition is not met, the system enters a cyclic fine-tuning process: when the power is lower than the threshold, the frequency shift amplitude is reduced by 10% and the duty cycle is increased by 2 percentage points; when the bit error rate exceeds the threshold, the frequency shift amplitude is increased by 10% and the duty cycle is reduced by 2 percentage points, while the coding redundancy is increased by 3 percentage points. After each fine-tuning, the simulation verification is repeated until a parameter combination that meets the conditions is found or the maximum number of adjustments is reached (usually 5 times). For example, the frequency shift in the initial candidate parameters is -3.3kHz and the duty cycle modulation depth is 11%. If the simulation results show that the average power is only 4.8W, which is lower than the 5W threshold, the system will adjust the frequency shift to -3.0kHz and increase the duty cycle to 45%, and simulate again until the conditions are met. The parameter combination that finally passes the verification is confirmed as the updated control parameter set. This steady-state consistency check ensures that the power bank does not excessively sacrifice charging performance or data transmission reliability while suppressing interference, ensuring the overall balance and stability of the system in long-term operation.
[0068] The updated control parameter set is written to the storage area and then used in the next processing cycle to generate a new set of interference signature parameters. The storage area refers to the non-volatile storage space within the power bank used to store system configurations; the processing cycle refers to the time interval between the execution of a complete cycle of the system's control logic. In actual power bank applications, the main control chip writes the verified control parameter set to a dedicated partition of the flash memory chip, which is divided into an active area and a backup area. The write process uses a double buffering mechanism: the new parameters are first written to the backup area. Upon completion, the pointer to the backup area is updated, making it the new active area, and the original active area becomes the backup area. This mechanism prevents parameter corruption caused by power outages during the write process. Parameter storage uses a structured format that includes a version marker, timestamp, total number of parameters, and a CRC checksum to ensure data integrity. The system executes a complete processing cycle every 50-200ms. At the start of a cycle, the main control chip first reads the currently active control parameter set from the storage area and uses these parameters to perform coil drive control and data transmission scheduling. At the same time, the system calculates a new set of interference characteristic parameters based on real-time coil operation data and data link status, combined with the expected values of the control parameters, to provide input for the next round of control strategy optimization. For example, if the current control parameters specify a 5kHz reduction in the coil drive frequency in high-interference sections, the system will execute this control and monitor the actual results, generating a characteristic parameter set that includes the new interference pattern. This closed-loop control mechanism enables the power bank to continuously learn and adapt to the electromagnetic interference characteristics of different usage environments, continuously optimizing the synergy between wireless charging and high-speed data transmission, and achieving a gradual improvement in system performance.
[0069] The above describes the electromagnetic interference suppression method of the power bank in the embodiment of the present invention. The following describes the power bank with data storage function in the embodiment of the present invention. Since the power bank with data storage function adopts the electromagnetic interference suppression method of the power bank in any of the above embodiments, it has the beneficial effects of any of the above embodiments. It will not be repeated here. Please refer to Figure 2 、 Figure 3 and Figure 4 , an embodiment of a power bank with a data storage function according to an embodiment of the present invention includes: a main body 1 and a wireless charging module 2. The main body 1 is formed with a mounting groove 11 for detachable installation of the wireless charging module 2. The interior of the main body 1 is provided with a main control board 12 and a plurality of wire interfaces 13 exposed on the outside of the main body. The wireless charging module 2 has a wireless charging component 21 and a battery 22. Since the above-mentioned structures are all existing technologies that are widely used, this application focuses on the improvement of the method, so these existing structures will not be described in detail here.
[0070] The above description is only a preferred embodiment of the present invention and does not limit the patent scope of the present invention. All equivalent structural transformations made by using the contents of the present invention description and drawings under the inventive concept of the present invention, or direct / indirect application in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A method for suppressing electromagnetic interference of a power bank, characterized in that: include: Obtaining wireless charging coil operating parameters and high-speed data link operating indicators, performing segmented statistics and time-frequency correlation matching on the acquired data, and obtaining an interference feature parameter set including the interference occurrence interval, interference amplitude, and power correlation; Performing spread spectrum migration modulation processing on the wireless charging coil drive signal according to the interference characteristic parameter set, and performing joint modulation on the duty cycle and phase of the drive signal to obtain a time domain power scheduling parameter set; According to the time domain power scheduling parameter set, performing buffer reordering, transmission timing revision, and inter-frame spacing optimization processing on the data frames to be transmitted, obtaining a data transmission scheduling sequence, and calculating an interference intensity value for each transmission time slot; Adaptively adjusting error control coding redundancy, retransmission threshold, and frame length parameters based on the data transmission scheduling sequence, the interference intensity value, and real-time bit error statistics to obtain a coding configuration set, and using the coding configuration set to complete data transmission and error compensation; The interference characteristic parameter set, the time domain power scheduling parameter set, the data transmission scheduling sequence and the coding configuration set are subjected to comprehensive optimization processing to generate an updated control parameter set, and the updated control parameter set is used for generating the interference characteristic parameter set of the next processing cycle.
2. The electromagnetic interference suppression method of the power bank according to claim 1, characterized in that: The wireless charging coil operating parameters and high-speed data link operating indicators are obtained, and segmented statistics and time-frequency correlation matching processing are performed on the obtained data to obtain an interference feature parameter set including an interference occurrence interval, interference amplitude, and power correlation, including: Perform unified time index sampling on the wireless charging coil operating parameters and high-speed data link operating indicators to obtain the original operating data sequence; According to the original operation data sequence, performing time alignment processing on the wireless charging coil operation parameter sequence and the high-speed data link operation indicator sequence to obtain an aligned data set; Performing sliding window segmented statistical processing on the aligned data set to generate a statistical vector including a window mean, a peak value, and a variance; According to the statistical vector, performing synchronization window time-frequency correlation matching processing on the change in the wireless charging coil driving frequency and the change in the high-speed data link bit error rate to obtain an interference indicator sequence, and determining the interference occurrence interval based on the interference indicator sequence; Performing amplitude-power double-layer statistical processing on the power measurement value in the wireless charging coil operating parameters and the interference index sequence to obtain an interference amplitude vector and a power correlation vector; The interference occurrence interval, interference amplitude vector and power correlation vector are comprehensively packaged to obtain an interference characteristic parameter set.
3. The electromagnetic interference suppression method of the power bank according to claim 2, characterized in that: The performing sliding window segmented statistical processing on the aligned data set to generate a statistical vector including a window average, peak value and variance includes: Performing initial fixed-length window division on the aligned data set to obtain a basic window set; According to the bit error rate variance of each window in the basic window set, dynamic threshold determination is performed to adjust the position of the adjacent window boundaries to obtain an adaptive window set; The average value, peak value and variance of each window in the adaptive window set are calculated to obtain a statistical vector.
4. The electromagnetic interference suppression method of a power bank according to claim 1, characterized in that: The method of performing spread spectrum migration modulation processing on the wireless charging coil drive signal according to the interference characteristic parameter set and performing joint modulation on the duty cycle and phase of the drive signal to obtain a time domain power scheduling parameter set includes: performing a segment-level frequency shift process on the reference frequency of the coil drive signal according to the interference occurrence interval and the interference amplitude vector in the interference characteristic parameter set to obtain a frequency migration profile; According to the frequency migration profile, performing subcarrier random dithering processing on the coil drive signal in each section to obtain a frequency migration list; performing duty-phase joint mapping processing on the coil drive signal according to the interference amplitude vector and the power correlation vector in the interference characteristic parameter set to obtain a duty-phase matrix; performing a clipping process on the frequency migration list and the duty-phase matrix according to the estimated coil temperature rise and the battery module power supply state in the same cycle to obtain a target frequency migration list and a target duty-phase matrix; The target frequency migration list and the target duty-phase matrix are encapsulated according to a unified time index to obtain a time domain power scheduling parameter set.
5. The electromagnetic interference suppression method of a power bank according to claim 4, characterized in that: The performing subcarrier random jitter processing on the coil drive signal in each section according to the frequency migration profile to obtain a frequency migration list includes: Dividing the frequency transition profile into a high-power segment and a low-power segment to obtain a segment marker list; performing random dithering on the coil drive signal according to a first dithering intensity parameter in the high power section, and performing random dithering on the coil drive signal according to a second dithering intensity parameter in the low power section, to obtain a dithering frequency list; The jitter frequency list and the segment mark list are encapsulated according to a unified time index to obtain a frequency migration list.
6. The electromagnetic interference suppression method of a power bank according to claim 1, characterized in that: The step of performing buffer rearrangement, transmission timing revision, and inter-frame spacing optimization processing on the data frame to be transmitted according to the time domain power scheduling parameter set to obtain a data transmission scheduling sequence, and calculating an interference intensity value for each transmission time slot includes: According to the time domain power scheduling parameter set, the endpoint buffer level sorting process is performed on the data frames to be sent, and the DMA burst queue reordering process is performed on the sorting results to obtain a preliminary data sequence; performing sub-beat frequency revision processing on the start time of each data frame according to the preliminary data sequence and the target duty-phase matrix in the time domain power scheduling parameter set to obtain a revised time sequence table; According to the revised timing list and the target frequency migration list in the time domain power scheduling parameter set, perform duty differential mapping processing on the inter-frame idle segment to generate an inter-frame spacing optimization parameter, and encapsulate the revised timing list and the inter-frame spacing optimization parameter according to a unified time index to obtain a data transmission scheduling sequence; According to the data transmission scheduling sequence and the inter-frame interval optimization parameter, the magnetic flux variance value corresponding to each transmission time slot is calculated to obtain an interference intensity value, and the interference intensity value is associated with the data transmission scheduling sequence according to a unified time index.
7. The electromagnetic interference suppression method of a power bank according to claim 1, characterized in that: Adaptively adjusting error control coding redundancy, retransmission threshold, and frame length parameters according to the data transmission scheduling sequence, the interference intensity value, and the real-time error statistics to obtain a coding configuration set, and using the coding configuration set to complete data transmission and error compensation, including: According to the data transmission scheduling sequence, the interference intensity value and the real-time bit error statistics are weighted and combined according to the corresponding relationship of time slots to obtain a time slot quality index sequence; performing a hierarchical continuous mapping process on error control coding redundancy, retransmission threshold, and frame length parameters according to the time slot quality index sequence to obtain an initial coding parameter matrix; performing a retransmission budget adjustment process on the initial coding parameter matrix according to the distribution of future idle time slots in the data transmission scheduling sequence to obtain a revised coding parameter matrix; The revised coding parameter matrix is weightedly fused with the previous round of coding parameter matrix to generate an evolved coding parameter matrix, and the evolved coding parameter matrix is encapsulated according to a unified time index to obtain a coding configuration set. Data frame transmission, error detection and compensation are completed based on the coding configuration set.
8. The electromagnetic interference suppression method of a power bank according to claim 7, characterized in that: The revised coding parameter matrix is weightedly fused with the previous round coding parameter matrix to generate an evolved coding parameter matrix, and the evolved coding parameter matrix is encapsulated according to a unified time index to obtain a coding configuration set, and data frame transmission, error detection, and compensation are completed according to the coding configuration set, including: Perform time-decay weight allocation on the previous round coding parameter matrix and the revised coding parameter matrix to obtain a weight coefficient vector; performing element-wise weighted summation on the previous round coding parameter matrix and the revised coding parameter matrix according to the weight coefficient vector to generate an evolved coding parameter matrix; Encapsulating the evolved coding parameter matrix according to a unified time index to obtain a coding configuration set; Data frames are sent according to the redundancy parameters in the coding configuration set, error detection is performed according to the retransmission threshold parameters in the coding configuration set, and compensation processing is completed according to the frame length parameters in the coding configuration set.
9. The electromagnetic interference suppression method of a power bank according to claim 1, characterized in that: The performing comprehensive optimization processing on the interference characteristic parameter set, the time domain power scheduling parameter set, the data transmission scheduling sequence, and the coding configuration set to generate an updated control parameter set, and using the updated control parameter set for interference characteristic parameter set generation in the next processing cycle includes: Performing time index alignment processing on the interference characteristic parameter set, the time domain power scheduling parameter set, the data transmission scheduling sequence, and the coding configuration set to obtain a comprehensive data matrix; According to the comprehensive data matrix, performing indicator calculation processing on the transmission throughput, wireless power consumption and bit error increment value of each time index to obtain a performance evaluation vector; performing incremental weight adjustment processing on the time-domain power scheduling parameter set and the coding configuration set based on a comparison result of the performance evaluation vector and a historical performance evaluation vector, and obtaining a candidate control parameter set by combining a system temperature rise estimate and a power supply state quantity; Performing a steady-state consistency check on the candidate control parameter set, and outputting an updated control parameter set if the power threshold and the bit error threshold are met; otherwise, cyclically fine-tuning and outputting the updated control parameter set; The updated control parameter set is written into a storage area, and the updated control parameter set is called in the next processing cycle to generate a new interference feature parameter set.
10. A power bank with data storage function, characterized in that: The power bank with data storage function adopts the electromagnetic interference suppression method of the power bank according to any one of claims 1 to 9.
Citation Information
Cited By
Data processing method and system of chromatographic instrument
CN121805483A