Bluetooth earphone charging and discharging control system and method based on battery health prediction
Patent Information
- Application Number
- CN202611039696.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-14
- Publication Date
- 2026-09-22
AI Technical Summary
然而,现有测试控制方式更多是按照固定阈值或单轮测试结果进行充电截止、放电停止和测试合格判定,对多轮测试过程中形成的充放电表现、恢复表现、左右耳机端输出差异以及异常记录之间的关联变化缺少综合判断,导致后续测试控制条件仍按照固定规则执行
[0019]1、本发明在蓝牙耳机仓多轮充放电测试中,先对同一样品在不同轮次下形成的电池状态、通道供电状态和测试过程记录进行轮次化关联,形成轮次测试数据序列,有利于把原本分散的单轮数据串联成连续测试对象,避免仅凭单次采样结果判断;随后将当前测试轮次测试状态与前序轮次测试状态进行跨轮比较,识别充电承接能力偏移、充放电切换稳定性偏移和静置恢复能力偏移,有利于发现电池容量保持能力下降、恢复表现减弱等渐进变化;再结合左耳机端和右耳机端在充电及放电过程中的通道供电状态,对充电响应同步性进行差异比对,得到同步偏差结果,有利于识别左右耳机端供电一致性降低的问题;最后根据状态偏移和/或同步偏差结果确定渐进状态类型,生成分流控制指令并输出测试控制结果,使后续测试不再固定执行原有阈值规则,从而提高多轮充放电测试的判定准确性和控制可靠性。
Smart Images

Figure CN122801528A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of charge and discharge test control technology, and in particular to a Bluetooth headset charging and discharging control system and method based on battery health prediction. Background Technology
[0002] During the production, assembly, aging, quality inspection, or rework testing of Bluetooth earphone charging cases, test fixtures or charge / discharge testing equipment are typically used to verify the charging, discharging, static storage, and abnormal protection of the battery inside the charging case and the corresponding power supply paths of the left and right earphones. These test fixtures or charge / discharge testing equipment generally connect to the Bluetooth earphone charging case via probes, clamps, charging interfaces, earphone charging contacts, or communication interfaces to provide test power to the charging case, or to connect test loads to the left and right earphones to simulate the power output state of the charging case during use.
[0003] During the aforementioned testing process, the test control device typically switches between different test stages according to a preset test procedure and collects test data such as voltage, current, temperature, charging time, discharging time, resting recovery status, output status of the left and right earphones, and abnormal interruption records. For example, in the charging test stage, the test control device provides preset charging conditions to the earphone case and records the charging response status of the battery in the case; in the discharging test stage, the test control device controls the left and right earphones to connect to the test load and records the corresponding output status and discharge duration; in the resting test stage, the test control device stops the charging and discharging operations and records the voltage recovery status of the battery in the case after resting; in the abnormal protection verification stage, the test control device determines whether the earphone case can enter the corresponding protection state based on the undervoltage, overcurrent, overtemperature, or output abnormality status.
[0004] Existing technologies typically output pass or fail results based on whether the voltage is below a threshold, the current is abnormal, the temperature exceeds limits, the charging has reached the cutoff condition, and the discharging has reached the stop condition in the current round of testing. This method can meet the basic control requirements in a single round of charge and discharge testing, but abnormalities in the battery in the Bluetooth earphone case or the power supply path of the left and right earphones may not necessarily be directly manifested in a single round of testing. Some earphone cases may not trigger undervoltage, overcurrent, or overtemperature protection during a certain round of charging or discharging, and the current power estimate may be within the normal range. However, after multiple rounds of charging and discharging, issues such as longer charging time, shorter discharging duration, insufficient voltage recovery after resting, inconsistent discharging performance of the left and right earphones, or an increase in the number of abnormal interruptions may gradually appear.
[0005] These changes often better reflect variations in the battery's capacity retention, output stability, recovery after rest, and power supply consistency between the left and right earphones. However, existing test control methods primarily rely on fixed thresholds or single-round test results for charging cutoff, discharging cessation, and test pass / fail determination. They lack a comprehensive assessment of the correlation between charging / discharging performance, recovery performance, output differences between the left and right earphones, and abnormal records generated during multiple rounds of testing. This leads to subsequent test control conditions still adhering to fixed rules. For example, if an earphone case exhibits decreased discharge sustainability, worsened recovery after rest, and increased output differences between the left and right earphones in consecutive rounds of testing, and the test control device still judges based on whether the current round meets preset voltage, current, temperature, or duration conditions, without adapting subsequent testing processes to the changes in state observed during multiple rounds of testing, earphone cases with altered battery health or power supply consistency between the left and right earphones may still be treated as ordinary samples.
[0006] Therefore, while existing methods can control charging cut-off, discharging stoppage, or abnormal protection during Bluetooth headset charging case testing to a certain extent based on battery status data such as voltage, current, and temperature, they are unable to promptly reflect the gradual state of the battery in the case during multiple rounds of cyclic testing, such as decreased capacity retention, weakened recovery performance after resting, and reduced power supply consistency between the left and right earphones. This results in the testing control process failing to accurately adapt to the actual health changes of the battery in the case, thereby affecting the accuracy of judgment and the reliability of control in multiple rounds of charging and discharging tests of the Bluetooth headset charging case. Summary of the Invention
[0007] Therefore, embodiments of the present invention provide a Bluetooth earphone charging and discharging control system and method based on battery health prediction. The technical solution is as follows:
[0008] Firstly, a charging and discharging control system for the Bluetooth earphone case based on battery health prediction is provided, the system comprising:
[0009] The test sequence construction module is used to perform round-based association processing on the correspondence between test state data during the charge and discharge test of the Bluetooth earphone case, and obtain the round-based test data sequence. The correspondence is used to characterize the relationship between the battery state, channel power supply state and test process record formed by the same Bluetooth earphone case in different test rounds.
[0010] The cross-wheel state offset recognition module is used to compare the current test state with the previous test state in the test data sequence across wheels, and identify the state offset formed by the Bluetooth earphone case during continuous charging and discharging test. The state offset includes one or more of the following: charging capacity offset, charging and discharging switching stability offset, and static recovery capability offset.
[0011] The power supply consistency judgment module is used to compare the differences in the charging response synchronization between the left and right earphones based on the channel power supply status during the charging and discharging tests, and obtain the synchronization deviation result.
[0012] The progressive state shunt control module is used to determine the progressive state type corresponding to the Bluetooth earphone case based on the state offset and / or synchronization deviation results, thereby generating the corresponding shunt control command, and outputting the continue test control command when the corresponding shunt path meets the completion conditions.
[0013] Secondly, a charging and discharging control method for a Bluetooth earphone case based on battery health prediction is provided, the method including:
[0014] Step 1: During the charging and discharging test in the Bluetooth earphone charging case, the correspondence between the test status data is processed in rounds to obtain a round test data sequence.
[0015] Step 2: Compare the current test state with the previous test state in the test data sequence to identify the state shift of the Bluetooth earphone case during continuous charging and discharging tests.
[0016] Step 3: Based on the channel power supply status of the left and right earphones during the charging and discharging tests, compare the differences in the charging response synchronization between the left and right earphones to obtain the synchronization deviation results.
[0017] Step 4: Determine the progressive state type corresponding to the Bluetooth earphone case based on the state offset and / or synchronization deviation results, thereby generating the corresponding shunt control command, and outputting the continue test control command when the corresponding shunt path meets the completion conditions.
[0018] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following:
[0019] 1. In the multi-round charge-discharge test of the Bluetooth earphone charging case, this invention first correlates the battery state, channel power supply state, and test process records of the same sample in different rounds to form a round test data sequence. This helps to connect the originally scattered single-round data into a continuous test object, avoiding judgment based solely on single sampling results. Then, the test state of the current test round is compared with the test state of the previous round to identify the offset of charging capacity, charge-discharge switching stability, and static recovery capability. This helps to discover gradual changes such as decreased battery capacity retention and weakened recovery performance. Furthermore, by combining the channel power supply state of the left and right earphones during the charging and discharging process, the difference in charging response synchronization is compared to obtain the synchronization deviation result, which helps to identify the problem of reduced power supply consistency between the left and right earphones. Finally, based on the state offset and / or synchronization deviation results, the gradual state type is determined, a shunt control command is generated, and the test control result is output. This prevents subsequent tests from rigidly adhering to the original threshold rules, thereby improving the judgment accuracy and control reliability of the multi-round charge-discharge test.
[0020] 2. First, the switching between external power supply access, discharge load access, or static recovery state is used as the trigger for each round to determine the stage switching time. This helps to divide multiple charge and discharge processes into corresponding and comparable test units. Then, within the observation window after the trigger time, the times when the battery in the compartment, the left earphone end, the right earphone end, and the static recovery state reach the response conditions are identified, and the time difference between each response time and the trigger time is calculated to form state response delay data. This helps to reflect the sequential relationship between the battery state and the left and right channel states relative to the test switching action. Then, based on the state response delay data, the battery state data, channel power supply state data, and test process records within the same round are corrected for time reference to avoid confusion in round assignment caused by different state response lags. Afterward, the voltage at the discharge stop time and the voltage at the static recovery end time are read to calculate the round voltage recovery parameters, which helps to characterize the voltage recovery capability after a single round of discharge. Finally, the voltage recovery parameters are bound to the corresponding round data and arranged in order according to the earphone compartment identifier and round number to obtain the round test data sequence.
[0021] 3. First, the current test round status is read from the test data sequence, and the status of the previous test round that meets the reference conditions is selected as the comparison benchmark. This is beneficial for using the historical status of the same Bluetooth earphone charging case as a reference, reducing the impact of differences between different samples on the judgment results. Then, the current round is compared with the previous round to calculate the battery status response delay difference, channel power supply response delay difference, and round voltage recovery parameter difference. This helps to reflect the degree of change in continuous testing from three dimensions: charging acceptance, channel power supply, and static recovery. Then, the above differences are compared with the corresponding thresholds. When the battery status response delay difference exceeds the limit, it is identified as a shift in charging acceptance capability; when the channel power supply response delay difference exceeds the limit, it is identified as a shift in charge / discharge switching stability; when the round voltage recovery parameter decreases and the decrease exceeds the limit, it is identified as a shift in static recovery capability. If the above conditions are not met, it is determined that no status shift has occurred. In this way, the slowdown in response, unstable switching, and weakened recovery that gradually form during multiple rounds of charging and discharging can be identified in a timely manner.
[0022] 4. First, read the channel power supply status of the left and right earbuds in the same Bluetooth earphone case under the current test round from the test data sequence, including the start of power supply, reaching stability, and the stop of power supply. This is beneficial for comparing the power supply process of the left and right earbuds under the same round and the same time reference. Then, calculate the power supply establishment time and power supply stop time for the left and right earbuds respectively. The power supply establishment time reflects the response speed of the channel from access to stable output, and the power supply stop time reflects the exit speed of the channel from stopping trigger to the current dropping to the stop condition. This is beneficial for evaluating the synchronization of the left and right channels from both the power supply establishment and power supply stop directions. Then, the left and right earbuds... The power supply setup time difference at the device end is calculated to obtain the setup response time difference, and the power supply stop time difference at the left and right earphone ends is calculated to obtain the stop response time difference. This helps to transform the difference in response sequence between the left and right earphone ends into identifiable data. Then, the absolute values of the setup response time difference and the stop response time difference are aggregated to obtain the channel power supply synchronization difference, which helps to uniformly represent the degree of overall power supply asynchrony between the left and right channels. Finally, the channel power supply synchronization difference is compared with a preset synchronization difference threshold. If it exceeds the threshold, it is determined that a power supply synchronization deviation has occurred; otherwise, it is determined that no power supply synchronization deviation has occurred, thus avoiding the need to judge power supply consistency based solely on the status of a single channel.
[0023] 5. First, based on the state offset identification results and synchronization deviation results of the current test round, determine whether the Bluetooth earphone case is in a stable, non-offset state. If no state offset occurs and there is no power supply synchronization deviation between the left and right earphones, generate a continue test control command to control the sample to enter the next test round, which helps avoid unnecessary retesting of normal samples. When a charging capacity offset is identified, the sample is diverted to the charging response delay verification path under the same charging access conditions, which helps confirm whether the slowdown in charging response is continuous. When a charge / discharge switching stability offset is identified, the sample is diverted to the alternating charging and discharging state verification path, which helps verify whether the charge / discharge switching process is stable. When a static recovery capability offset is identified, the sample is diverted to the voltage recovery verification path under extended static observation conditions, which helps determine whether the voltage recovery capability after discharge has decayed. When a power supply synchronization deviation occurs between the left and right channels, control the left and right earphones to re-execute the power supply establishment and power supply stop synchronization test, which helps verify the consistency of channel power supply. When there is a compound offset within the same round, switch to the abnormal verification path, which helps prevent abnormal samples from directly entering the normal pass / fail judgment process. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 This is a schematic diagram of the structure of the Bluetooth headset charging and discharging control system based on battery health prediction provided in an embodiment of the present invention;
[0026] Figure 2 A flowchart of a Bluetooth headset charging and discharging control method based on battery health prediction provided in an embodiment of the present invention;
[0027] Figure 3 This is a schematic diagram of cross-wheel state offset recognition provided in an embodiment of the present invention;
[0028] Figure 4 A comparison diagram of the power supply synchronization of the left and right earphone channels provided in an embodiment of the present invention. Detailed Implementation
[0029] The technical solution of the present invention will now be described with reference to the accompanying drawings.
[0030] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.
[0031] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0032] The embodiments of the present invention provide, as follows Figure 1 The diagram shown illustrates the structure of a Bluetooth earphone charging and discharging control system based on battery health prediction. This system may include:
[0033] The test sequence construction module is used to correlate battery state data, left and right earphone channel power supply data, and test process records generated by the same sample in different test rounds during multi-round charge-discharge tests in the Bluetooth earphone charging case, forming a round-based test data sequence. This process clarifies the correspondence between various test data and the sample, round, and test stage, avoiding data confusion between different rounds or channels.
[0034] It's important to understand that the test status data for the same sample across different test rounds refers to the data generated sequentially within a single, multi-round charge-discharge test cycle for the same Bluetooth earphone case, following the same test procedure or corresponding test stages. This does not refer to data between different samples or different test conditions. Each test round typically includes corresponding stages such as charging input, discharging output, and resting recovery. Therefore, the battery state response delay, channel power supply response delay, and voltage recovery parameters between the current round and previous rounds are comparable. By assigning and binding the above data according to sample identification, test cycle, round number, and test stage, the comparison objects and scope can be clearly defined, avoiding data confusion between different rounds, channels, or test cycles.
[0035] Specifically, before performing charge / discharge tests on the Bluetooth earphone charging case, the test process parameters corresponding to the current earphone charging case model are read from the test fixture or charge / discharge test equipment, and benchmark test records generated by qualified samples under standard test conditions are obtained. The test process parameters include the charging input voltage range, the discharging load input current range, the channel stable current range, the stop current limit, and the static observation time. The benchmark test records include the voltage changes, current changes, and response time distribution of qualified samples during the charging input, discharging input, and static recovery processes. The observation window is determined based on the longest benchmark response time for the corresponding test stage, plus the redundant time corresponding to the sampling cycle of the test equipment.
[0036] During the testing process, the same Bluetooth earphone case is continuously subjected to a charging test phase, a discharging test phase, and a resting recovery phase according to a preset test procedure. This process is defined as one test cycle. Each test cycle may include multiple phase switching moments. The phase switching moments are used to mark the start or transition of different test phases within that cycle, and do not indicate that each switching moment constitutes a new test cycle.
[0037] The start time of the charging phase in the current test round is determined when the test power supply changes from disabled to enabled and the charging interface voltage enters the charging input voltage range; the start time of the discharging phase in the current test round is determined when the load switch changes from open to closed and the channel current at the left or right earphone enters the discharge load input current range; the start time of the rest and recovery phase in the current test round is determined when both the charging control command and the discharge load control command stop and the channel current at the left or right earphone is lower than the stop current limit. The start times of each of these phases serve as the phase trigger times for the corresponding test phases within the current test round. The round trigger time for the current test round can be determined by the start time of the first charging phase in that test round, or by the round start command time predefined in the test procedure.
[0038] Within the corresponding observation window following the trigger time of each stage, the moment when the corresponding test state first reaches the response judgment condition is identified. Specifically, within the charging observation window following the trigger time of the charging stage, the moment when the battery state in the compartment first reaches the response judgment condition is identified; within the discharging observation window following the trigger time of the discharging stage, the moment when the power supply state of the left and right earphones first reaches the response judgment condition is identified; and within the resting observation window following the trigger time of the resting recovery stage, the moment when the resting recovery state first reaches the response judgment condition is identified.
[0039] The battery status in the chamber meets the response judgment condition when the battery voltage or current in the chamber enters the effective change range corresponding to the current test stage and remains stable within multiple consecutive sampling points; the power supply status of the left and right earphones meets the response judgment condition when the corresponding earphone output voltage enters the channel output voltage range and the channel current enters the channel stable current range; the static recovery state meets the response judgment condition when the battery voltage in the chamber is continuously lower than the recovery stability difference determined by the benchmark test record during the static period, or the static time reaches the static observation duration.
[0040] After completing data collection for the charging, discharging, and resting recovery phases within the current test round, the battery status data, left and right earphone channel power supply status data, phase trigger time, response time, and test process records within the same round are assigned and bound to form the single-round test state corresponding to that test round. When comparing different test rounds, the voltage values at arbitrary moments are not directly compared. Instead, the state parameters calculated according to the same rules in each complete test round are compared, such as battery status response delay, channel power supply response delay, and round voltage recovery parameters. Among them, the round voltage recovery parameter is obtained by subtracting the discharge stop voltage from the resting recovery end voltage within the same test round, thus having a clear phase origin and comparable basis.
[0041] Subtract the stage switching time from the time when each test state reaches the response judgment condition to obtain the battery state response delay, left earphone power supply response delay, right earphone power supply response delay, and rest recovery response delay, which are used as state response delay data. Based on the state response delay data, using the stage switching time as the time base, the battery state data, channel power supply state data, and test process records collected within the same round are corrected for the time base, and data under the same trigger time, the same observation window, and the same response relationship are grouped into the same test round. The response judgment condition refers to the judgment condition used to confirm that each test state has generated an effective response to the test switching action. It is determined by the test process parameters of the current model Bluetooth earphone case and the benchmark test records of qualified samples, including the battery voltage or current entering the effective change range, the earphone output voltage and channel current entering the stable range, and the voltage change during the rest period meeting the recovery stability requirements.
[0042] After assigning the test rounds, the battery voltage inside the test case at the moment of discharge cessation in the current test round is read as the discharge cessation voltage. Then, using the discharge cessation moment as the starting point, the battery voltage inside the test case at the end of the preset static evaluation period is read as the static evaluation voltage. The preset static evaluation period is a fixed duration uniformly used in all test rounds for the same model of Bluetooth headset case, which can be determined by the test process document or the benchmark test record of qualified samples. Subtracting the discharge cessation voltage from the static evaluation voltage yields the round voltage recovery parameter, used to characterize the voltage recovery magnitude under the same static evaluation period.
[0043] Finally, the round voltage recovery parameters are linked to the corresponding round's battery status data, channel power supply status data, and test process records. This means the round voltage recovery parameters are used as a data field for the current test round and written into the corresponding test data record for the same round. This establishes a correspondence between battery voltage changes, left and right earphone channel power supply status, test phase records, and voltage recovery performance within the same round. The data is then arranged according to the Bluetooth earphone case identifier and test round number to obtain a round test data sequence. This sequence characterizes the order of state changes in the same Bluetooth earphone case during multiple rounds of charge-discharge testing, enabling subsequent identification of changes in battery recovery capability, channel power supply, and test process changes based on differences between adjacent rounds or between rounds.
[0044] The cross-cart state offset recognition module compares the test status of the current test round with that of previously completed test rounds to determine whether a cross-cart state offset has occurred during continuous charge-discharge testing of the same Bluetooth earphone charging case. For example, it identifies whether the charging response has slowed down, the charge-discharge switching is unstable, or the recovery after discharging has deteriorated. Through this cross-cart comparison, one or more state offsets can be identified, including offsets in charging capacity, charge-discharge switching stability, and recovery capability.
[0045] Specifically, such as Figure 3The diagram illustrating cross-round state offset recognition demonstrates the comparison between the current test round state and the test round state of the previous test round, as well as the processing procedure for identifying state offsets based on the comparison results. The system reads the Bluetooth earphone compartment identifier and test round number currently being judged from the round test data sequence, and determines the data record corresponding to that test round number as the current test round state. For example, when the current test round number is round N, the system queries historical test records backward from round N-1 under the same Bluetooth earphone compartment identifier, sequentially judging whether round N-1, round N-2, and earlier rounds have formed a complete test state. A complete test state means that the historical round includes charging test state, discharging test state, resting recovery state, left and right earphone channel power supply state, and test process records, and there are no test interruptions, missing samples, abnormal fixture contact, or manual rejection marks.
[0046] If the current test round number is round N, then under the same Bluetooth headset compartment identifier, the same continuous test cycle, and the same test procedure, the historical test rounds are queried backwards starting from round N-1. The preceding test round must simultaneously meet the following conditions: the round has completed the charging phase, discharging phase, and resting recovery phase; the round has generated battery status response delay, channel power supply response delay, round voltage recovery parameters, and test process records; the round has no test interruptions, missing samples, fixture contact abnormalities, communication abnormalities, or manual rejection marks. Historical test rounds that meet the above conditions are determined as valid preceding test rounds. If round N-1 is a valid preceding test round, then the round test status of round N-1 is determined as the preceding test round test status; if round N-1 does not meet the conditions, then rounds N-2 and earlier are queried sequentially until the nearest valid preceding test round is found. If no valid preceding test round is found, cross-round state offset identification is not performed, and the current round is marked as a reference round to be accumulated.
[0047] The test status of the current test round is compared with that of the previous test round to determine the state difference data between the current round and the previous test round. The state difference data includes the battery state response delay difference, the channel power supply response delay difference, and the round voltage recovery parameter difference. Among them, the battery state response delay difference is the difference obtained by subtracting the battery state response delay of the previous test round from the battery state response delay of the current test round, which is used to reflect whether the response of the battery in the compartment slows down after charging is connected; the channel power supply response delay difference is the difference obtained by subtracting the average of the power supply response delay of the left and right earphones of the current test round from the average of the power supply response delay of the left and right earphones of the previous test round, which is used to reflect whether the overall response of the left and right earphone channels is lagging after switching between charging and discharging; the round voltage recovery parameter difference is the difference obtained by subtracting the round voltage recovery parameter of the previous test round from the round voltage recovery parameter of the current test round, which is used to reflect whether the static voltage recovery capability decreases after discharging.
[0048] If the battery status response delay difference is greater than the preset acceptance delay threshold, it indicates that the time required for the battery in the current round to reach an effective charging response is significantly longer than in previous rounds. This suggests that the battery's charging response capability decreases after external power is connected, thus the status shift corresponding to the current test round is determined to be a charging capability shift. If the channel power supply response delay difference is greater than the preset channel delay threshold, it indicates that the average response time of the left and right earphone channels after charging / discharging switching is longer, suggesting that the stability of the channel power supply establishment or switching process is worse. Therefore, the status shift is determined to be a charging / discharging switching stability shift. If the difference in round voltage recovery parameters is less than zero and the absolute value is greater than the preset recovery attenuation threshold, it indicates that the voltage recovery amplitude formed after the current round stops discharging is lower than in previous rounds, suggesting that the static recovery capability is weakened. Therefore, the status shift is determined to be a static recovery capability shift. In addition to the above situations, if all three differences are within the allowable fluctuation range, the status shift identification result corresponding to the current test round is determined to be no status shift.
[0049] Among them, the preset reception delay threshold, preset channel delay threshold, and preset recovery attenuation threshold can be determined based on the historical round data of the same model of Bluetooth headset charging case in qualified sample testing. For example, first select the historical battery state response delay difference, historical channel power supply response delay difference, and historical round voltage recovery parameter difference formed in the continuous test rounds of historical qualified samples, and respectively calculate the maximum fluctuation value of the three types of differences under normal test conditions; then add the sampling cycle of the test fixture, the allowable error of charge and discharge test, and the safety margin set by the process personnel as the corresponding threshold.
[0050] The power supply consistency judgment module compares the power supply changes of the left and right earphones during charging and discharging to determine whether the two channels can enter the power supply state, reach a stable state, and stop power supply in a basically synchronized manner. By comparing the differences in response time and power supply state between the left and right earphones, a synchronization deviation result can be obtained, which reflects whether there is a problem of slow response, slow stopping, or asynchronous power supply on one side of the earphones.
[0051] Specifically, such as Figure 4 The diagram showing the synchronization of power supply to the left and right earphone channels illustrates the time correspondence between the power supply setup, stable output, and power supply termination processes for the left and right earphones in the current test round. The power supply status of the left and right earphone channels in the same Bluetooth earphone case is read from the test data sequence for the current test round. The channel power supply status records the process of the earphone channel from the start of power supply, to entering stable power supply, to the stop of power supply, including the start time of channel power supply, the moment when the channel power supply reaches a stable state, the moment when the channel power supply stops triggering, and the moment when the channel current falls below the stop current threshold. The timing of channel power supply start can be determined by the test fixture issuing a power enable command to the corresponding earphone channel and the corresponding channel detecting the output voltage or output current. The timing of channel power supply reaching a stable state can be determined by the corresponding channel output voltage entering the target output range and the channel current entering the stable current range and maintaining it for several sampling cycles. The timing of channel power supply stop triggering can be determined by the test fixture issuing a power supply stop command, a discharge cut-off command, or a load disconnect command. The timing of channel current falling below the stop current threshold is used to confirm that the channel has exited the power supply state to the stop state. The stop current threshold can be determined based on the no-load current range of the test fixture and the sampling error.
[0052] Calculate the power supply setup time and power supply stop time for both the left and right earpieces. The power supply setup time for the left earpiece is the time interval between the moment the left earpiece channel power supply reaches a stable state and the moment the left earpiece channel power supply begins. The power supply setup time for the right earpiece is the time interval between the moment the right earpiece channel power supply reaches a stable state and the moment the right earpiece channel power supply begins. The power supply stop time for the left earpiece is the time interval between the moment the left earpiece channel current falls below the stop current threshold and the moment the left earpiece channel power supply stops triggering. The power supply stop time for the right earpiece is the time interval between the moment the right earpiece channel current falls below the stop current threshold and the moment the right earpiece channel power supply stops triggering.
[0053] The establishment response time difference is obtained by subtracting the establishment time of the right earpiece from the establishment time of the left earpiece, and the absolute value of this difference is taken as the establishment response time difference. Similarly, the stopping response time difference is obtained by subtracting the stopping time of the right earpiece from the stopping time of the left earpiece, and the absolute value of this difference is taken as the stopping response time difference. The establishment and stopping response time differences are then aggregated to obtain the channel power supply synchronization difference, which is the larger of the establishment and stopping response time differences; if they are equal, their average value is taken. Therefore, the channel power supply synchronization difference characterizes the maximum degree of asynchronous response between the left and right earpieces during the power establishment or stopping process, avoiding the amplification of synchronization deviation caused by simply adding two smaller differences. When the channel power supply synchronization difference is greater than a synchronization difference threshold, a power supply synchronization deviation is determined to have occurred between the left and right earpieces; when the channel power supply synchronization difference is not greater than the synchronization difference threshold, no power supply synchronization deviation is determined to have occurred between the left and right earpieces. The synchronization difference threshold can be determined based on the maximum fluctuation value of the channel power supply synchronization difference in the test of qualified samples of the same model, plus the time error margin formed by the sampling period of the test equipment.
[0054] It should be noted that the cross-wheel state offset identification module and the power supply consistency judgment module can be used independently or in combination, depending on the test requirements. In one embodiment, the state offset output by the cross-wheel state offset identification module is used to judge the changes in charging acceptance, charging / discharging switching, or static recovery of the battery in the compartment during continuous testing, in order to identify gradual anomalies on the battery side. In another embodiment, the synchronization deviation result output by the power supply consistency judgment module is used to judge the power supply synchronization status between the left and right earphone ends, in order to identify power supply inconsistencies on the channel side. In yet another embodiment, the state offset and synchronization deviation results are used together as the basis for gradual state judgment. When battery-side state changes and channel-side synchronization deviations exist simultaneously, it can be further determined whether there is a compound gradual offset in the Bluetooth earphone compartment. Therefore, the gradual state shunt control module is used to determine the gradual state type corresponding to the Bluetooth earphone compartment based on the state offset and / or synchronization deviation results, thereby generating the corresponding shunt control command, and outputting the test control result matching the gradual state type when the corresponding shunt path meets the completion conditions.
[0055] Specifically, the progressive state shunt control module pre-establishes a correspondence between progressive state types and shunt control paths. This correspondence can be set according to the Bluetooth headset charging case model, testing process requirements, qualified sample baseline data, and rework judgment rules. The shunt control paths include a regular test path, a charging acceptance verification path, a switching stability verification path, a static recovery verification path, a left and right channel synchronization verification path, and an anomaly verification path. Each shunt control path is configured with corresponding entry conditions, execution items, control parameters, and completion conditions, ensuring that the Bluetooth headset charging case does not uniformly continue testing as a normal sample when different progressive states occur.
[0056] When the state offset identification result for the current test round is no state offset, and the synchronization deviation result indicates that there is no power supply synchronization deviation between the left and right earphone ends, the Bluetooth earphone case is determined to be in a stable, non-offset state, and a continue test control command is generated. The continue test control command maintains the original test procedure, original charging / discharging conditions, and original judgment conditions unchanged, controlling the Bluetooth earphone case to enter the next test round; when the next test round starts successfully and the round number is updated, it is determined that the regular test path meets the completion conditions.
[0057] When the state offset is a charging capacity offset, it is determined that the Bluetooth earphone case is in a state of progressive charging capacity offset, and a charging capacity retest current shunt control command is generated. This command is used to control the test fixture to maintain the same charging access conditions as the previous round, including the charging interface, power output mode, charging voltage range, and current limiting conditions, and to re-acquire the battery status response delay; when the battery status response delay obtained from the retest falls back to the allowable range of the charging capacity delay, it is determined that the charging capacity verification path meets the completion conditions.
[0058] When the state offset is the charge / discharge switching stability offset, the Bluetooth earphone case is determined to be in the charge / discharge switching stability progressive offset state, and a switching stability retest shunt control command is generated. This command is used to control the Bluetooth earphone case to re-execute the switching between charging, discharging, and resting states a set number of times, and to record the battery response delay and channel power supply response delay at each switching node; when the switching response difference falls back to the allowable range of channel delay, or when the upper limit of the switching retest number is reached, the switching stability retest path is completed.
[0059] When the state offset is a static recovery capability offset, it is determined that the Bluetooth earphone case is in a static recovery capability progressive offset state, and a static recovery retest shunt control command is generated. This command is used to control the Bluetooth earphone case to extend the static observation time after the discharge stops, and to reread the discharge stop voltage, static recovery end voltage, and cycle voltage recovery parameters; when the cycle voltage recovery parameters recover to the allowable range, or if the recovery requirements are still not met after extending the static period, the static recovery verification path is completed.
[0060] When the synchronization deviation result indicates a power supply synchronization deviation between the left and right earphones, the Bluetooth earphone case is determined to be in a channel power supply synchronization progressive offset state, and a left and right channel synchronization retest split control command is generated. This command is used to control the left and right earphones to re-execute the power supply establishment and power supply stop synchronization test under the same power supply conditions, and recalculate the channel power supply synchronization difference. When the synchronization difference is not greater than the synchronization difference threshold, or when it is still greater than the synchronization difference threshold after retesting and a channel abnormality record is formed, the left and right channel synchronization verification path is completed.
[0061] When at least two types of state offsets exist simultaneously within the same test round, or when state offset and power supply synchronization deviation coexist, the Bluetooth headset charging case is determined to be in a composite progressive offset state, and an anomaly interception shunt control command is generated. This command is used to suspend the Bluetooth headset charging case from entering the normal sample pass / fail judgment process, retain the state offset, synchronization deviation results, and test process records of the current test round, and control the sample to enter the anomaly review path; when the anomaly review flag is generated, the test data is locked, and the anomaly shunt test control result is output, it is determined that the anomaly review path meets the completion conditions.
[0062] The above instructions are generated in the form of test control instruction frames. The instruction frames carry Bluetooth headset compartment identifier, test round number, progressive state type, shunt path identifier and control action identifier, which are used to drive the test fixture or charge / discharge test equipment to perform the corresponding test control.
[0063] The embodiments of the present invention provide, as follows Figure 2 The flowchart shown is for a Bluetooth earphone charging and discharging control method based on battery health prediction. The processing flow of this method may include the following steps:
[0064] Step 1: During the charge and discharge test in the Bluetooth earphone case, the battery state, channel power supply state, and test process records of the same sample under different test rounds are processed by round-based correlation to clarify the attribution relationship between various test data and the sample, round, and test stage, and obtain the round test data sequence.
[0065] Step 2: Compare the current test state with the previous test state in the test data sequence across rounds, calculate the change in response delay and recovery capability of the current round relative to the previous round, and thus identify the state shift formed by the Bluetooth earphone case during continuous charging and discharging test.
[0066] Step 3: Based on the channel power supply status of the left and right earphones during the charging and discharging test, compare the response differences of the two channels during power supply establishment, stable output, and power supply cessation, and compare the charging response synchronization between the left and right earphones to obtain the synchronization deviation result.
[0067] Step 4: Determine the progressive state type corresponding to the Bluetooth earphone case based on the state offset and / or synchronization deviation results, and generate a shunt control command that matches the progressive state type, so that the Bluetooth earphone case enters the shunt path such as continue testing, review and observation, tightening testing or abnormal review, and outputs the test control result when the corresponding shunt path meets the completion conditions.
[0068] It should be further noted that, without departing from the technical concept of this invention, those skilled in the art can make equivalent substitutions or adaptive adjustments to the data acquisition objects, round triggering conditions, response judgment conditions, threshold sources, comparison benchmarks, and current shunting control paths in the above steps according to the actual testing scenario. For example, different models of Bluetooth earphone charging cases can use different test windows, sampling periods, number of retests, or current shunting judgment criteria. As long as the above adjustments are still based on the changes in the state of multiple rounds of charging and discharging tests and the synchronization of power supply to the left and right earphones to control the subsequent testing process, they can all be considered reasonable adjustments to the implementation of this invention.
Claims
1. A Bluetooth earphone charging and discharging control system based on battery health prediction, characterized in that, The system includes: The test sequence construction module is used to perform round-based association processing on the correspondence between test state data during the charge and discharge test of the Bluetooth earphone case to obtain a round-based test data sequence. The correspondence is used to characterize the attribution relationship between the battery state, channel power supply state and test process record formed by the same Bluetooth earphone case in different test rounds. The cross-wheel state offset identification module is used to compare the current test wheel state with the previous test wheel state in the test wheel test data sequence to identify the state offset formed by the Bluetooth earphone case during continuous charging and discharging test. The state offset includes one or more of the following: charging capacity offset, charging and discharging switching stability offset, and static recovery capacity offset. The power supply consistency judgment module is used to compare the difference in the charging response synchronization between the left and right earphones based on the channel power supply status of the left and right earphones during the charging and discharging tests, and obtain the synchronization deviation result. The progressive state shunting control module is used to predict the battery health change trend of the Bluetooth earphone case based on the state offset and / or the synchronization deviation result, determine the progressive state type corresponding to the Bluetooth earphone case, generate the corresponding shunting control command, and output the continue test control command when the corresponding shunting path meets the completion condition.
2. The Bluetooth earphone charging and discharging control system based on battery health prediction as described in claim 1, characterized in that, The round test sequence construction module includes: When the external power supply connection status, discharge load connection status, or static recovery status changes during the Bluetooth earphone case test, the corresponding switching time will be determined as the stage switching time. Within the preset observation window after the phase switching time, the time when the battery status in the compartment, the power supply status of the left earphone, the power supply status of the right earphone, and the first time when the static recovery status reaches the preset response conditions are identified respectively. Based on the time difference between the moment when each test state reaches the preset response condition and the moment of stage switching, the state response delay data for the corresponding test round is determined. The state response delay data is used to characterize the sequential relationship between the battery state, the power supply state of the left and right earphones, and the rest recovery state relative to the switching action in the test process.
3. The Bluetooth earphone charging and discharging control system based on battery health prediction as described in claim 2, characterized in that, The round test sequence construction module also includes: Based on the state response delay data, the battery state data, channel power supply state data and test process records collected in the same test round are corrected for time reference, and the round is assigned according to the corrected time correspondence. After completing the round assignment process, the battery voltage in the chamber at the discharge stop time and the battery voltage in the chamber at the static recovery end time of the corresponding test round are read. The difference between the battery voltage in the chamber at the static recovery end time and the battery voltage in the chamber at the discharge stop time is calculated to obtain the round voltage recovery parameter, which characterizes the voltage recovery capability of the battery in the chamber after a single discharge round. The voltage recovery parameters of each test round are bound to the battery status data, channel power supply status data and test process records of the corresponding test round, and a data index relationship is established according to the Bluetooth headset compartment identifier and test round number. Based on the data index relationship, the assigned data generated in different test rounds are arranged sequentially so that the battery state changes of the same Bluetooth earphone case in multiple rounds of charge and discharge tests correspond continuously according to the round, thus obtaining a round test data sequence.
4. The Bluetooth earphone charging and discharging control system based on battery health prediction as described in claim 3, characterized in that, The cross-wheel state offset recognition module includes: Read the test status of the current test round from the test data sequence, and obtain the test status of the previous test round that meets the preset reference conditions with the current test round; The test status of the current test round is compared with that of the previous test round to determine the state difference data between the current round and the previous test round. The state difference data includes the battery state response delay difference, the channel power supply response delay difference, and the round voltage recovery parameter difference. The battery status response delay difference is the difference obtained by subtracting the battery status response delay corresponding to the previous test round from the battery status response delay corresponding to the current test round. The channel power supply response delay difference is the average of the power supply response delay of the left earphone and the power supply response delay of the right earphone corresponding to the current test round, minus the average of the power supply response delay of the left earphone and the power supply response delay of the right earphone corresponding to the previous test round. The difference in the round voltage recovery parameters is the difference obtained by subtracting the round voltage recovery parameters corresponding to the previous test round from the round voltage recovery parameters corresponding to the current test round.
5. The Bluetooth earphone charging and discharging control system based on battery health prediction as described in claim 4, characterized in that, The cross-wheel state offset recognition module further includes: If the battery state response delay difference is greater than the preset acceptance delay threshold, then the state offset corresponding to the current test round is determined to be the charging acceptance capability offset. If the channel power supply response delay difference is greater than the preset channel delay threshold, then the state offset corresponding to the current test round is determined to be the charge / discharge switching stability offset. If the difference in the voltage recovery parameters of the current test round is less than zero, and the absolute value of the difference in the voltage recovery parameters of the current test round is greater than the preset recovery attenuation threshold, then the state offset corresponding to the current test round is determined to be the static recovery capability offset. In addition to the above situations, if the battery state response delay difference, channel power supply response delay difference, and round voltage recovery parameter difference are all determined not to meet the corresponding offset judgment conditions, the state offset identification result corresponding to the current test round is determined to be no state offset.
6. The Bluetooth earphone charging and discharging control system based on battery health prediction as described in claim 1, characterized in that, The power supply consistency judgment module includes: Read the channel power supply status of the same Bluetooth earphone case in the current test round from the test data sequence. The channel power supply status includes the channel power supply start time, the channel power supply reaches a stable state, and the channel power supply stops. The power supply establishment time period and power supply stop time period are determined for the left and right earphone ends respectively. The power supply establishment time period is the time interval between the start of channel power supply and the time when the channel power supply reaches a stable state. The power supply stop time period is the time interval between the start of channel power supply and the time when the channel current is lower than a preset stop current threshold.
7. The Bluetooth earphone charging and discharging control system based on battery health prediction as described in claim 6, characterized in that, The power supply consistency judgment module further includes: The difference between the power establishment time of the left earphone and the power establishment time of the right earphone is calculated to obtain the establishment response time difference. The difference between the power supply stop time period of the left earphone and the power supply stop time period of the right earphone is calculated to obtain the stop response time difference. The absolute values of the establishment response time difference and the stop response time difference are aggregated to obtain the channel power supply synchronization difference. When the channel power supply synchronization difference is greater than the preset synchronization difference threshold, it is determined that a power supply synchronization deviation has occurred between the left and right earphone ends; When the channel power supply synchronization difference is not greater than the preset synchronization difference threshold, it is determined that no power supply synchronization deviation has occurred between the left and right earphone ends.
8. The Bluetooth earphone charging and discharging control system based on battery health prediction as described in claim 5 or 7, characterized in that, The progressive state diversion control module includes: When the state offset identification result corresponding to the current test round is that no state offset has occurred, and the synchronization deviation result indicates that no power supply synchronization deviation has occurred between the left and right earphone ends, it is determined that the Bluetooth earphone case is in a stable state without offset, and a continue test control command is generated to control the Bluetooth earphone case to enter the next test round according to the original test process; When the state offset is a charging capacity offset, it is determined that the Bluetooth earphone case is in a progressive offset state of charging capacity, and a charging capacity retest diversion control command is generated to control the Bluetooth earphone case to enter the charging response delay verification path under the same charging access conditions. When the state offset is the charge / discharge switching stability offset, it is determined that the Bluetooth earphone case is in the charge / discharge switching stability progressive offset state, and a switching stability retest shunt control command is generated to control the Bluetooth earphone case to enter the alternating switching verification path between charging and discharging states.
9. The Bluetooth earphone charging and discharging control system based on battery health prediction as described in claim 8, characterized in that, The progressive state diversion control module further includes: When the state offset is the static recovery capability offset, it is determined that the Bluetooth earphone case is in the static recovery capability progressive offset state, and a static recovery retest shunt control command is generated to control the Bluetooth earphone case to enter the static voltage recovery verification path under the extended static observation condition. When the synchronization deviation result indicates that a power supply synchronization deviation occurs between the left and right earphones, it is determined that the Bluetooth earphone case is in a channel power supply synchronization progressive offset state, and a left and right channel synchronization retest current split control command is generated to control the left and right earphones to re-execute the power supply establishment and power supply stop synchronization test. When at least two types of state offsets exist simultaneously in the same test round, or when state offset and power supply synchronization deviation exist simultaneously, the Bluetooth headset compartment is determined to be in a composite progressive offset state, and an abnormal interception and diversion control command is generated to control the Bluetooth headset compartment to switch to the abnormal review path of pausing the normal sample judgment and performing composite offset verification.
10. A charging and discharging control method for a Bluetooth earphone charging case based on battery health prediction, characterized in that, Includes the following steps: Step 1: During the charging and discharging test in the Bluetooth earphone charging case, perform round-based correlation processing on the correspondence between the test status data to obtain the round-based test data sequence; Step 2: Compare the current test state with the previous test state in the test data sequence to identify the state shift of the Bluetooth earphone case during continuous charging and discharging tests. Step 3: Based on the channel power supply status of the left and right earphones during the charging and discharging tests, compare the differences in the charging response synchronization between the left and right earphones to obtain the synchronization deviation results. Step 4: Determine the progressive state type corresponding to the Bluetooth earphone case based on the state offset and / or synchronization deviation results, thereby generating the corresponding shunt control command, and outputting the continue test control command when the corresponding shunt path meets the completion conditions.