A charging terminal protection method, system and device based on risk factor modeling
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN ANRUI NEW ENERGY TECH CO LTD
- Filing Date
- 2026-03-13
- Publication Date
- 2026-08-04
AI Technical Summary
部分方案还会在充电过程中持续检测异常发热、导通不良或者压降异常,并在达到保护条件时限制充电或者切断充电
通过在检测到充电端子接电后先激活缓冲状态,并在所述缓冲状态下获取电反馈信息以构建导通曲线,再结合电压损耗计算受控扰动参数并对充电端子施加受控扰动,基于扰动反馈和电反馈信息计算端子风险值,从而在正式激活充电模块之前完成对充电端子导通状态的动态评估,使终端在充电开始前识别潜在导通异常或损耗风险,并仅在端子风险值低于预设端子风险值时才激活充电模块,以避免在导通状态不稳定或损耗异常的情况下直接进入充电过程。
Smart Images

Figure CN122512596A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of charging safety, and in particular to a charging terminal protection method, system, and device based on risk factor modeling. Background Technology
[0002] During the charging process of a terminal device, the charging terminal typically serves as a conductive connection between the terminal and an external power source, establishing a charging path and inputting electrical energy into the charging module. Existing terminals, upon detecting power at the charging terminal, usually directly enter the charging handshake, charging enable, or formal charging process, and during charging, they detect parameters such as voltage, current, temperature, or voltage drop to determine if there are any abnormalities at the charging terminal.
[0003] In existing technologies, the determination of the charging terminal status is mostly based on static electrical parameters or single sampling results. For example, after the charging terminal is connected to power, the terminal detects whether the current voltage reaches a preset range, whether the current conducts normally, and whether the voltage drop exceeds a threshold, and decides whether to allow the charging module to start accordingly. Some solutions also continuously detect abnormal heating, poor conduction, or abnormal voltage drop during the charging process, and limit or cut off charging when protection conditions are met.
[0004] However, the actual failure process of a charging terminal is usually not directly determined by static parameters at a certain moment. The charging terminal may already have problems such as unstable contact, increased local losses, and abnormal conduction fluctuations in the initial stage of power connection, but these problems may not be effectively distinguished in a single voltage, current, or voltage drop test. Summary of the Invention
[0005] To address the aforementioned technical problems, this application provides a charging terminal protection method, system, and apparatus based on risk factor modeling, which improves the accuracy of protection determination for charging terminals.
[0006] The technical solution provided in this application is described below:
[0007] The first aspect of this application provides a charging terminal protection method based on risk factor modeling, including: When power is detected at the charging terminal, the buffer state is activated. The electrical feedback information of the charging terminal is obtained according to the buffer state, and the electrical feedback information includes voltage data, current data and voltage drop data; The voltage loss of the charging terminal is determined based on the voltage drop data; A time window is established based on the buffer state, and a conduction curve is generated within the time window based on the voltage data and the current data. Calculate the controlled disturbance parameters based on the conduction curve and the voltage loss; A controlled disturbance is applied to the charging terminal according to the controlled disturbance parameters to obtain disturbance feedback; Calculate the terminal risk value based on the disturbance feedback and the electrical feedback information; When the terminal risk value is lower than the preset terminal risk value, the charging module corresponding to the charging terminal is activated.
[0008] Optionally, calculating the terminal risk value based on the disturbance feedback and the electrical feedback information includes: A first conduction curve is constructed based on the electrical feedback information; A second conduction curve is constructed based on the disturbance feedback; Calculate the conduction offset value based on the curve difference between the first conduction curve and the second conduction curve; The conduction risk factor corresponding to the conduction offset value is determined according to the conduction mapping rule; The loss risk factor corresponding to the voltage loss is determined according to the voltage loss mapping rule; The terminal risk value is calculated based on the conduction risk factor and the loss risk factor.
[0009] Optionally, calculating the conduction offset value based on the curve difference between the first conduction curve and the second conduction curve includes: Determine the time baseline based on the aforementioned time window; A time coordinate is constructed using the time baseline, and the first conduction curve and the second conduction curve are aligned based on the time coordinate; The conduction difference between the first conduction curve and the second conduction curve is calculated based on the time coordinates according to the preset time density. The conduction offset value is determined based on the cumulative value of the conduction difference.
[0010] Optionally, before calculating the controlled disturbance parameters based on the conduction curve and the voltage drop, the method further includes: Identify the inflection point of conduction change based on the conduction curve; The conduction curve is segmented based on the inflection point of the conduction change to obtain conduction sub-curves; Based on the local characteristics of each of the conduction sub-curves, the conduction curves are divided into stable conduction sections and fluctuating conduction sections; The upper limit of disturbance loss is determined based on the voltage loss. A disturbance constraint interval is constructed based on the stable conduction section, the fluctuating conduction section, and the upper limit of disturbance loss. The disturbance constraint interval is used to limit the maximum disturbance output value of the controlled disturbance parameter.
[0011] Optionally, the step of calculating the controlled disturbance parameters based on the conduction curve and the voltage drop includes: The fluctuation range of the charging terminal within the time window is determined based on the conduction curve, and the conduction weight value is determined based on the fluctuation range. Calculate the loss weight value of the charging terminal based on the voltage loss; The calibrated disturbance parameters are weighted and calculated based on the conduction weight value and the loss weight value to obtain the controlled disturbance parameters.
[0012] Optionally, after applying a controlled disturbance to the charging terminal according to the controlled disturbance parameters and obtaining disturbance feedback, the method further includes: The compliance feedback range is determined based on the electrical feedback information, and the landing point of the disturbance feedback within the compliance feedback range is confirmed. When the landing point is not within the compliance feedback range, calculate the boundary value between the landing point and the compliance feedback range to obtain the deviation value; The controlled disturbance parameter is corrected based on the deviation value, so that the controlled disturbance is applied again based on the corrected controlled disturbance parameter.
[0013] Optionally, the step of correcting the controlled disturbance parameter based on the deviation value, and then reapplying the controlled disturbance based on the corrected controlled disturbance parameter, includes: Calculate the absolute value of the difference between the landing point position and the upper and lower boundary values of the compliance feedback interval, respectively, to obtain the absolute value of the upper boundary and the absolute value of the lower boundary; Determine the minimum value from the absolute values of the upper and lower boundaries, and determine the boundary corresponding to the minimum value as the target boundary; Calculate the direction and deviation parameters of the landing point position relative to the target boundary; The disturbance current parameter in the controlled disturbance parameter is corrected according to the deviation parameter and the deviation direction, and the controlled disturbance is applied again according to the corrected disturbance current parameter.
[0014] Optionally, the step of establishing a time window based on the buffer state and generating a conduction curve based on the voltage data and the current data within the time window includes: The current data and voltage data are continuously collected within the time window; The conduction sampling point is determined based on the current data and the voltage data; Construct a conduction curve based on the temporal distribution of all the conduction sampling points.
[0015] Optionally, after activating the charging module corresponding to the charging terminal when the terminal risk value is lower than the preset terminal risk value, the method further includes: When the terminal risk value is not lower than the preset terminal risk value, maintain the buffer state and record the number of times the buffer state is executed; When the number of executions exceeds the preset number, an exception message is generated and the exception log is stored. Determine whether the terminal risk value is in a severe risk state; If the situation is considered a serious risk, the charging circuit will be locked.
[0016] A second aspect of this application provides a charging terminal protection system based on risk factor modeling, the system comprising: The first activation unit is used to activate the buffer state when the charging terminal is detected to be connected to power. The first acquisition unit is used to acquire electrical feedback information of the charging terminal according to the buffer state, wherein the electrical feedback information includes voltage data, current data and voltage drop data; The first determining unit is used to determine the voltage loss of the charging terminal based on the voltage drop data; A setup unit is configured to establish a time window based on the buffer state, and generate a conduction curve within the time window based on the voltage data and the current data; The first calculation unit is used to calculate the controlled disturbance parameters based on the conduction curve and the voltage loss. A disturbance unit is used to apply a controlled disturbance to the charging terminal according to the controlled disturbance parameters to obtain disturbance feedback; The second calculation unit is used to calculate the terminal risk value based on the disturbance feedback and the electrical feedback information; The second activation unit is used to activate the charging module corresponding to the charging terminal when the terminal risk value is lower than the preset terminal risk value.
[0017] Optionally, the second computing unit is specifically used for: A first conduction curve is constructed based on the electrical feedback information; A second conduction curve is constructed based on the disturbance feedback; Calculate the conduction offset value based on the curve difference between the first conduction curve and the second conduction curve; The conduction risk factor corresponding to the conduction offset value is determined according to the conduction mapping rule; The loss risk factor corresponding to the voltage loss is determined according to the voltage loss mapping rule; The terminal risk value is calculated based on the conduction risk factor and the loss risk factor.
[0018] Optionally, the second computing unit is specifically used for: Determine the time baseline based on the aforementioned time window; A time coordinate is constructed using the time baseline, and the first conduction curve and the second conduction curve are aligned based on the time coordinate; The conduction difference between the first conduction curve and the second conduction curve is calculated based on the time coordinates according to the preset time density. The conduction offset value is determined based on the cumulative value of the conduction difference.
[0019] Optionally, the system further includes: The identification unit is used to identify the inflection point of conduction change based on the conduction curve; The segmentation unit is used to segment the conduction curve according to the inflection point of the conduction change to obtain a conduction sub-curve; A division unit is used to divide the conduction curve into a stable conduction section and a fluctuating conduction section based on the local characteristics of each conduction sub-curve; The second determining unit is used to determine the upper limit of disturbance loss based on the voltage loss. The construction unit is used to construct a disturbance constraint interval based on the stable conduction section, the fluctuating conduction section and the upper limit of disturbance loss. The disturbance constraint interval is used to limit the maximum value of the disturbance output of the controlled disturbance parameter.
[0020] Optionally, the first computing unit is specifically used for: The fluctuation range of the charging terminal within the time window is determined based on the conduction curve, and the conduction weight value is determined based on the fluctuation range. Calculate the loss weight value of the charging terminal based on the voltage loss; The calibrated disturbance parameters are weighted and calculated based on the conduction weight value and the loss weight value to obtain the controlled disturbance parameters.
[0021] Optionally, the system further includes: The third determining unit is used to determine the compliance feedback range based on the electrical feedback information, and to confirm the landing point of the disturbance feedback in the compliance feedback range; The third calculation unit is used to calculate the boundary value between the landing point and the compliance feedback interval when the landing point is not within the compliance feedback interval, and obtain the deviation value. The correction unit is used to correct the controlled disturbance parameter according to the deviation value, so as to apply the controlled disturbance again according to the corrected controlled disturbance parameter.
[0022] Optionally, the correction unit is specifically used for: Calculate the absolute value of the difference between the landing point position and the upper and lower boundary values of the compliance feedback interval, respectively, to obtain the absolute value of the upper boundary and the absolute value of the lower boundary; Determine the minimum value from the absolute values of the upper and lower boundaries, and determine the boundary corresponding to the minimum value as the target boundary; Calculate the direction and deviation parameters of the landing point position relative to the target boundary; The disturbance current parameter in the controlled disturbance parameter is corrected according to the deviation parameter and the deviation direction, and the controlled disturbance is applied again according to the corrected disturbance current parameter.
[0023] Optionally, the establishment unit is specifically used for: The current data and voltage data are continuously collected within the time window; The conduction sampling point is determined based on the current data and the voltage data; Construct a conduction curve based on the temporal distribution of all the conduction sampling points.
[0024] Optionally, the system further includes: A maintenance unit is used to maintain the buffer state and record the number of times the buffer state is executed when the terminal risk value is not lower than the preset terminal risk value; The generation unit is used to generate an exception message and store an exception log when the number of executions exceeds a preset number. The judgment unit is used to determine whether the terminal risk value is a serious risk state; A locking unit is used to lock the charging circuit when the judgment unit determines that the state is a serious risk.
[0025] A third aspect of this application provides a charging terminal protection device based on risk factor modeling, the device comprising: Processor, memory, input / output units, and bus; The processor is connected to the memory, the input / output unit, and the bus; The memory stores a program, which the processor invokes to execute the first aspect and any one of the optional methods in the first aspect.
[0026] A fourth aspect of this application provides a computer-readable storage medium storing a program that, when executed on a computer, performs the methods of the first aspect and any one of the first aspects.
[0027] As can be seen from the above technical solutions, this application has the following advantages: By activating a buffer state after detecting power connection at the charging terminal and acquiring electrical feedback information in the buffer state to construct a conduction curve, and then calculating controlled disturbance parameters based on voltage loss and applying controlled disturbances to the charging terminal, the terminal risk value is calculated based on the disturbance feedback and electrical feedback information. This allows for a dynamic assessment of the charging terminal's conduction state before the charging module is officially activated. This enables the terminal to identify potential conduction anomalies or loss risks before charging begins and to activate the charging module only when the terminal risk value is lower than a preset terminal risk value, thus avoiding directly entering the charging process when the conduction state is unstable or the loss is abnormal. Attached Figure Description
[0028] To more clearly illustrate the technical solutions in this application, 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 this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0029] Figure 1 This is a schematic flowchart of an embodiment of the charging terminal protection method based on risk factor modeling in this application; Figure 2a This is a schematic flowchart of an embodiment of the charging terminal protection method based on risk factor modeling in this application. Figure 2b This is a schematic flowchart of an embodiment of the charging terminal protection method based on risk factor modeling in this application; Figure 2c This is a schematic flowchart of an embodiment of the third stage of the charging terminal protection method based on risk factor modeling in this application; Figure 3 This is a schematic diagram of an embodiment of the charging terminal protection method based on risk factor modeling in this application; Figure 4 This is a schematic diagram of another embodiment of the charging terminal protection method based on risk factor modeling in this application; Figure 5 This is a schematic diagram of another embodiment of the charging terminal protection method based on risk factor modeling in this application. Detailed Implementation
[0030] It should be noted that, in the specific embodiments of this specification, for the convenience of explaining the execution process of the technical solution of the present invention, some steps can be described with the terminal as the execution subject. For example, the terminal may detect the charging terminal being connected to power, obtain electrical feedback information, calculate the terminal risk value, and control the charging module. However, it should be understood that the present invention does not limit the above steps to be completed by a single device. The relevant steps can also be completed collaboratively by different functional modules, charging control circuits, processing units, or other devices related to charging management in the terminal. Therefore, the description with the terminal as the execution subject in this specification is only used to illustrate the implementation process of the technical solution of the present invention and should not be construed as a limitation on the execution subject. In practical applications, those skilled in the art can implement the above steps by different hardware units, software modules, or control components according to the specific system architecture, and all such implementations should fall within the protection scope of the present invention.
[0031] The technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0032] Please see Figure 1 This application first provides an embodiment of a charging terminal protection method based on risk factor modeling, which includes: S101. When power is detected at the charging terminal, the buffer state is activated. The buffer state refers to the transitional operating state in which the terminal first enters a restricted conduction, controlled sampling, and controlled judgment after the charging terminal is detected to be connected. In this state, the charging path maintains a low power, low impact, or pending judgment mode to avoid the terminal directly bearing the formal charging current when the contact is unstable, there is local oxidation, contamination, or increased micro-loss.
[0033] When the terminal detects power to the charging terminal, it immediately activates the buffer state. Power connection detection is performed by the interface detection circuit. For example, it confirms that an external power source is connected by inserting a detection signal, a level change signal, or by the appearance of an input voltage within a preset range at both ends of the terminal.
[0034] After confirming power connection, the terminal first controls the charging path to enter a current-limiting conduction mode or a waiting judgment mode, so that the terminal only bears a small detection current. For example, in the daily use scenarios of mobile phones, tablets, or wearable terminals, when there is a small amount of moisture, dust, fiber debris, or oxide layer remaining in the interface, the terminal can still form a temporary conduction in the initial connection, but when a large current is applied later, problems such as unstable contact, increased voltage drop, and localized heating will be quickly exposed.
[0035] S102. Obtain electrical feedback information of the charging terminal according to the buffer state. The electrical feedback information includes voltage data, current data and voltage drop data. Specifically, during the buffer state, the terminal samples the terminal input and output sides in real time through the charging management circuit, interface sampling circuit, or analog-to-digital conversion unit to obtain voltage and current data under the current power-on state. The voltage drop data is obtained by the difference between the terminal input voltage and the voltage of the downstream node, or directly by the potential difference between preset sampling points.
[0036] In practical applications, taking the initial few hundred milliseconds after the terminal is plugged into the charger as an example, the terminal can continuously record multiple sets of voltage and current samples at fixed sampling intervals, and simultaneously record the corresponding voltage drop samples, thereby forming a set of basic electrical feedback information reflecting the initial conduction state of the terminal.
[0037] By simultaneously acquiring voltage, current, and voltage drop data, the terminal can jointly determine the terminal status from both conduction dynamics and loss dynamics in subsequent steps, thereby avoiding missed or incorrect judgments caused by relying on a single detection value.
[0038] S103. Determine the voltage loss of the charging terminal based on the voltage drop data; Voltage loss is used to represent the degree of energy loss of a terminal under current conduction conditions. In specific implementation, the terminal can record the sampling voltage before the terminal as Vin and the sampling voltage after the terminal as Vout. Then, the voltage loss can be expressed as ΔV = Vin. Vout.
[0039] When the terminal acquires a continuous voltage drop data sequence, it performs moving average or median noise reduction processing on the voltage drop data to obtain the voltage loss result. In scenarios where the terminal uses a common 5V charger, if the terminal connection is clean and has sufficient contact, the voltage drop usually remains in a low and relatively stable range; if there is oxide film, liquid residue, or reduced contact area at the interface, the voltage drop will be significantly larger and will fluctuate with slight changes in contact. The terminal converts the voltage drop data into quantifiable voltage loss based on this difference.
[0040] S104. Establish a time window based on the buffer state, and generate a conduction curve based on voltage and current data within the time window; The continuity curve represents the conduction status of the charging terminal during the initial power-on phase. After the terminal establishes a buffer state, a time window is simultaneously opened, and voltage and current data are continuously collected within this window. Conduction sampling points are formed according to the sampling sequence, and the continuity curve is generated based on the temporal distribution of these sampling points. If the terminal contact is good, the continuity curve is relatively stable overall; if the terminal has oxidation, foreign matter adhesion, or unstable contact, the continuity curve will exhibit local fluctuations, abrupt changes, or establishment delays. By establishing the continuity curve, the terminal transitions from single-point detection to dynamic judgment of the initial power-on conduction process.
[0041] S105. Calculate the controlled disturbance parameters based on the conduction curve and voltage loss. Controlled disturbance parameters are used to control the intensity of subsequent disturbances applied to the charging terminals. The terminal corrects the calibrated disturbance parameters based on the fluctuations reflected in the conduction curve and the losses reflected in the voltage drop, thus obtaining the controlled disturbance parameters corresponding to the current session. The more stable the conduction state and the lower the voltage drop, the closer the controlled disturbance parameters are to the calibrated disturbance parameters; the more significant the conduction fluctuations or the higher the voltage drop, the lower the controlled disturbance parameters. For ease of expression, the controlled disturbance parameter P can be represented as P = P0 × w1 × w2, where P0 represents the calibrated disturbance parameter, w1 represents the conduction weight value, and w2 represents the loss weight value.
[0042] S106. Apply a controlled disturbance to the charging terminal according to the controlled disturbance parameters to obtain disturbance feedback; Disturbance feedback is used to represent the response state of a charging terminal under mild excitation. The terminal controls the disturbance output according to controlled disturbance parameters and collects changes in voltage, current, or voltage drop during the disturbance application to obtain the disturbance feedback. If the terminal contact is good, the disturbance feedback is usually relatively stable; if the terminal has unstable contact, conductive layer contamination, or abnormal local losses, the disturbance feedback is more likely to exhibit amplified fluctuations or slower recovery.
[0043] S107. Calculate the terminal risk value based on disturbance feedback and electrical feedback information; Terminal risk value refers to the risk measurement result calculated by the terminal based on disturbance feedback and electrical feedback information. This result is used to indicate whether the current terminal is suitable to enter the formal charging stage.
[0044] The terminal risk value is written as R=αF1+βF2, where F1 represents the conduction risk factor, F2 represents the loss risk factor, and α and β represent pre-calibrated weighting coefficients.
[0045] The terminal calculates the terminal risk value based on disturbance feedback and electrical feedback information. This terminal risk value represents the overall safety status of the charging terminal at the initial stage of power connection, reflecting both the basic conduction status of the terminal in a buffered state and the stability of the terminal's response under controlled disturbances. In practice, the terminal extracts voltage, current, and voltage drop data from the electrical feedback information and, combined with the disturbance feedback after the application of controlled disturbances, determines the fluctuation, loss, and conduction stability of the terminal during the current power connection process, and then obtains the terminal risk value according to preset risk calculation rules.
[0046] In charging scenarios for mobile phones, tablets, or other portable devices, if there is oxidation, dirt on the terminal surface, or unstable contact, the disturbance feedback will usually show more obvious fluctuations, and the voltage drop corresponding to the electrical feedback information will also be larger. At this time, the calculated terminal risk value will increase accordingly. If the terminal contact is stable and the conduction loss is low, the terminal risk value will remain at a low level.
[0047] S108. When the terminal risk value is lower than the preset terminal risk value, activate the charging module corresponding to the charging terminal.
[0048] The preset terminal risk value can be pre-set by the terminal during the factory calibration stage or in subsequent software versions, based on different interface specifications, current levels, and safety strategies. After completing the risk calculation in S107, the terminal compares the current terminal risk value with the preset terminal risk value. If the current risk value is lower than the preset terminal risk value, it indicates that the terminal exhibits good conduction stability and low loss risk in the buffer state. At this time, the terminal sends an activation command to the charging module, enabling the system to enter the formal charging process. Conversely, if the current risk value is not lower than the preset terminal risk value, the terminal continues to maintain the buffer state and does not open the formal charging path, thereby preventing abnormal terminals from directly entering the continuous charging stage.
[0049] Taking everyday user experience as an example, when a user inserts a good charging cable, the buffer detection process is completed in a very short time, and the terminal smoothly enters the formal charging process, with almost no noticeable impact on the user. However, if there is liquid residue inside the interface or the terminals are worn, the terminal will intercept the risk before charging begins. In this embodiment, the buffer state is activated at the beginning of charging. The terminal risk value is calculated by combining electrical feedback information, voltage loss, conduction curve, and disturbance feedback. Then, it is decided whether to activate the charging module. This allows abnormal terminals to be identified and intercepted before formal charging, thereby reducing the risk of overheating, ablation, and reduced interface lifespan caused by unstable contact, oxidation contamination, or increased local losses.
[0050] Please see Figures 2a to 2c This application provides another embodiment of a charging terminal protection method based on risk factor modeling, which includes: S201. When power is detected at the charging terminal, the buffer state is activated. S202. Obtain electrical feedback information of the charging terminal based on the buffer state. The electrical feedback information includes voltage data, current data, and voltage drop data. S203. Determine the voltage loss of the charging terminal based on the voltage drop data; Steps S201 to S203 in this embodiment are similar to S101 to S103 in the previous embodiment, and will not be described in detail here.
[0051] S204. Continuously acquire current and voltage data within the time window; After the terminal is activated in the buffer state, it establishes a time window and continuously collects current and voltage data of the charging terminal according to the preset sampling rhythm within the time window, thereby obtaining time-correlated conduction detection data, providing a data basis for subsequent determination of conduction sampling points.
[0052] S205. Determine the conduction sampling point based on the current and voltage data; A conduction sampling point refers to a state point formed by the terminal for current and voltage data acquired at the same sampling moment, used to indicate the instantaneous conduction state of the charging terminal at that moment.
[0053] The terminal performs time matching and correlation on current and voltage data corresponding to the same sampling time to obtain the corresponding conduction sampling point, thus transforming the continuously acquired electrical parameter data into basic units representing the conduction state.
[0054] S206. Construct the conduction curve based on the temporal distribution of all conduction sampling points.
[0055] Temporal distribution refers to the arrangement of multiple conduction sampling points according to their sampling time sequence. The conduction curve is a curve generated by the terminal based on the temporal distribution of the conduction sampling points, used to represent the conduction trend and stability of the charging terminal within a time window.
[0056] The terminal arranges the sampling points according to their sampling order and constructs a conduction curve based on the time-dimensional relationship of each sampling point.
[0057] S207. Identify the inflection point of conduction change based on the conduction curve; The inflection point of conduction change refers to the position where the conduction curve changes its trend within a time window.
[0058] The terminal performs change analysis on the conduction curve to identify the inflection points of conduction changes where the conduction state switches between rising, stable, or fluctuating states, providing a basis for subsequent conduction curve segmentation.
[0059] S208. Divide the conduction curve into segments based on the inflection point of conduction change to obtain conduction sub-curves; A conduction sub-curve refers to a local curve segment obtained by dividing the conduction curve at the inflection point of conduction change.
[0060] The terminal segments the conduction curve according to the inflection point of conduction change, resulting in multiple conduction sub-curves corresponding to different local conduction states. This allows for the subsequent division of stable conduction segments and fluctuating conduction segments based on the local characteristics of each conduction sub-curve.
[0061] S209. Based on the local characteristics of each conduction sub-curve, the conduction curve is divided into a stable conduction section and a fluctuating conduction section. The fluctuating conduction section refers to the area in the conduction curve that has obvious fluctuations, frequent local changes, or large short-term deviations. This section reflects that the terminal has unstable contact, is sensitive to interface disturbances, or has insufficient conduction establishment.
[0062] The terminal extracts features such as the local change amplitude, local duration, local smoothness, or local fluctuation frequency of each conduction sub-curve, and determines whether the conduction sub-curve is closer to a stable conduction state or a fluctuating conduction state based on these features. When a conduction sub-curve changes slowly, has small local fluctuations, and strong continuity within the corresponding time range, the terminal classifies it into a stable conduction segment; when a conduction sub-curve exhibits obvious oscillations, sudden drops, short-term sharp shifts, or insufficient recovery, the terminal classifies it into a fluctuating conduction segment.
[0063] In scenarios where users normally connect to high-quality charging cables, the conduction curve typically consists mainly of stable conduction sections, with only short transitional fluctuations at the initial connection stage. However, in scenarios with interface wear, terminal contamination, or loose connections, fluctuating conduction sections account for a higher proportion and last longer. By distinguishing between stable and fluctuating conduction sections, the terminal can extract more valuable structured information for disturbance control from the conduction curve.
[0064] S210. Determine the upper limit of disturbance loss based on voltage loss; The upper limit of disturbance loss refers to the upper limit of disturbance output determined by the terminal based on the current voltage loss, which is used to limit the additional loss caused by subsequent controlled disturbances.
[0065] The terminal determines the corresponding upper limit of disturbance loss based on voltage loss. When the voltage loss is low, a higher upper limit of disturbance loss is determined, and when the voltage loss is high, the upper limit of disturbance loss is reduced accordingly, providing a basis for the subsequent construction of disturbance constraint range.
[0066] S211. Construct a disturbance constraint interval based on the stable conduction section, the fluctuating conduction section, and the upper limit of disturbance loss. The disturbance constraint interval is used to limit the maximum disturbance output value of the controlled disturbance parameter.
[0067] The disturbance constraint range refers to the parameter limit range determined by the terminal based on the conduction section status and the upper limit of disturbance loss. This range is used to constrain the maximum output value of the controlled disturbance parameters, so that the controlled disturbance is kept within a safe and discriminative range.
[0068] The terminal comprehensively analyzes the distribution of stable conduction segments, the duration of fluctuating conduction segments, and the upper limit of disturbance loss within a time window to determine a disturbance output limit range applicable to the current terminal state. When the proportion of stable conduction segments is high and the upper limit of disturbance loss is wide, the disturbance constraint interval constructed by the terminal is relatively loose, corresponding to a higher maximum disturbance output value. When there are many fluctuating conduction segments or the upper limit of disturbance loss is low, the disturbance constraint interval constructed by the terminal is relatively tight, thereby reducing the maximum disturbance output value. Taking a charging interface after long-term use as an example, if the conduction curve shows multiple fluctuating conduction segments and the voltage loss is high, the terminal will construct a narrower disturbance constraint interval to keep the controlled disturbance within a lower upper limit range, avoiding the exacerbation of terminal abnormalities by the detection action itself. Compared with the fixed disturbance upper limit approach, this embodiment establishes a disturbance constraint interval based on the conduction structure characteristics and loss state, making the controlled disturbance parameters more adaptable and safer.
[0069] S212. Determine the fluctuation range of the charging terminal within the time window based on the conduction curve, and determine the conduction weight value based on the fluctuation range. The fluctuation range refers to the time interval within which the conduction curve exhibits significant fluctuations or local shifts. The conduction weight value refers to the conduction stability weight determined by the terminal based on the distribution of the fluctuation range in the conduction curve, used to represent the proportion of the current terminal's conduction stability in the calculation of disturbance parameters.
[0070] The terminal performs fluctuation analysis on the conduction curve within the time window, identifies the fluctuation range in the conduction curve, and determines the conduction weight value based on the distribution ratio of the fluctuation range in the time window.
[0071] S213. Calculate the loss weight value of the charging terminal based on the voltage loss; The loss weight value refers to the weight of the loss influence determined by the terminal based on the voltage loss. It is used to represent the proportion of the influence of the degree of energy loss in the terminal conduction path in the calculation of disturbance parameters.
[0072] The terminal determines the corresponding loss weight value based on the magnitude of voltage loss. When the voltage loss is low, a higher loss weight value is determined, and when the voltage loss is high, the loss weight value is reduced accordingly.
[0073] S214. The calibrated disturbance parameters are weighted according to the conduction weight value and the loss weight value to obtain the controlled disturbance parameters.
[0074] Calibration disturbance parameters refer to the basic disturbance parameters preset by the terminal during the factory or system calibration stage, which are used to represent the baseline output level when a controlled disturbance is applied under standard conduction conditions.
[0075] The terminal uses the calibrated disturbance parameters as the base value and performs a weighted calculation combining the conduction weight value and the loss weight value to obtain the controlled disturbance parameters applicable to the current terminal state. To enhance computability, the controlled disturbance parameter P can be expressed as P = P0 × w1 × w2, where P0 represents the calibrated disturbance parameter, w1 represents the conduction weight value, and w2 represents the loss weight value. After obtaining the controlled disturbance parameters, the terminal applies controlled disturbances to the charging terminal based on these parameters and obtains the corresponding disturbance feedback.
[0076] S215. Apply a controlled disturbance to the charging terminal according to the controlled disturbance parameters to obtain disturbance feedback; Step S215 in this embodiment is similar to S106 in the previous embodiment, and will not be described in detail here.
[0077] S216. Determine the compliance feedback range based on the electrical feedback information, and confirm the landing point of the disturbance feedback within the compliance feedback range; The compliance feedback range refers to the permissible range of disturbance response that the terminal determines in advance based on the current electrical feedback information and matches the current state of the charging terminal. This range is used to determine whether the disturbance feedback is in a reasonable response state. The landing point position refers to the relative position of the feedback value corresponding to the disturbance feedback within the compliance feedback range, or the actual distribution position of the disturbance feedback in the corresponding feedback coordinates.
[0078] The terminal first determines the reasonable feedback range corresponding to the current conduction state of the charging terminal based on the voltage, current, and voltage drop data collected in the buffer state, and uses this reasonable feedback range as the compliance feedback interval. The compliance feedback interval is not fixed, but is related to the basic conduction state and loss state of the current terminal. For example, when the terminal conduction is relatively stable and the voltage loss is low, the terminal can set a relatively concentrated compliance feedback interval to improve the accuracy of feedback judgment; when the terminal state is in a transition phase, the terminal correspondingly widens the compliance feedback interval to avoid misjudging normal transition fluctuations.
[0079] After receiving the disturbance feedback following a controlled disturbance, the terminal maps the corresponding feedback value to a compliant feedback range, thereby confirming the landing point of the disturbance feedback. In the daily charging scenario of mobile terminals, if the interface contact is normal, the disturbance feedback will usually fall within the expected range; if the terminal has problems such as contamination, oxidation, or unstable contact, the disturbance feedback is more likely to deviate from the preset reasonable range.
[0080] S217. When the landing point is not within the compliance feedback range, calculate the boundary value between the landing point and the compliance feedback range to obtain the deviation value. The deviation value refers to the difference between the location of the disturbance feedback and the boundary of the compliant feedback range when the disturbance feedback exceeds the compliant feedback range. This difference is used to indicate the degree of deviation between the current disturbance output and the expected response.
[0081] After confirming that the disturbance feedback does not fall within the compliant feedback range, the terminal further determines whether it exceeds the upper or lower boundary and calculates the difference between the current landing point and the corresponding boundary value, using this difference as the deviation value. When the disturbance feedback exceeds the upper boundary of the compliant feedback range, it indicates that the current disturbance response is stronger than expected; when the disturbance feedback is below the lower boundary of the compliant feedback range, it indicates that the current disturbance response is weaker than expected.
[0082] In scenarios where the terminal charging interface is slightly worn, if the currently applied controlled disturbance causes the disturbance feedback to be abnormally amplified, its landing point will exceed the upper boundary of the compliant feedback range. At this time, the terminal obtains the corresponding deviation value through boundary comparison. If the disturbance output is insufficient to effectively trigger an identifiable response, the disturbance feedback may fall outside the lower boundary. The terminal also obtains the deviation value through boundary comparison.
[0083] The controlled disturbance parameters are corrected based on the deviation value, and the controlled disturbance is reapplied based on the corrected controlled disturbance parameters, including: S218. Calculate the absolute value of the difference between the landing point position and the upper and lower boundary values of the compliance feedback interval, respectively, to obtain the absolute value of the upper boundary and the absolute value of the lower boundary. The absolute value of the upper boundary refers to the absolute value of the difference between the landing point position and the upper boundary value of the compliance feedback interval; the absolute value of the lower boundary refers to the absolute value of the difference between the landing point position and the lower boundary value of the compliance feedback interval.
[0084] After confirming that the disturbance feedback does not fall within the compliant feedback range, the terminal calculates the absolute value of the difference between the landing point and the upper and lower boundary values to determine the distance of the current disturbance feedback relative to the two boundary values.
[0085] S219. Determine the minimum value from the absolute values of the upper and lower boundaries, and determine the boundary corresponding to the minimum value as the target boundary; The target boundary refers to the boundary that is close to the landing point and is used as a reference boundary for subsequent deviation calculations.
[0086] The terminal compares the absolute values of the upper and lower boundaries, determines the smaller value, and identifies the boundary corresponding to the smaller value as the target boundary.
[0087] S220. Calculate the direction and parameters of the deviation of the landing point position relative to the target boundary; Deviation direction refers to the direction of the landing point's offset relative to the target boundary; deviation parameter refers to the amount of offset of the landing point's position relative to the target boundary.
[0088] The terminal determines the deviation direction based on the positional relationship between the landing point and the target boundary, and determines the deviation parameter based on the difference between the two.
[0089] S221. Correct the disturbance current parameter in the controlled disturbance parameter according to the deviation parameter and the deviation direction, and apply the controlled disturbance again according to the corrected disturbance current parameter.
[0090] The terminal determines the adjustment direction of the disturbance current parameter based on the deviation direction, and determines the adjustment range of the disturbance current parameter based on the deviation parameter. When the deviation direction indicates that the disturbance feedback is higher than the target boundary, the terminal lowers the disturbance current parameter; when the deviation direction indicates that the disturbance feedback is lower than the target boundary, the terminal raises the disturbance current parameter.
[0091] The corrected disturbance current parameter I1 can be expressed as I1=I0 γp or I1 = I0 + γp; Where I0 represents the disturbance current parameter before correction, p represents the deviation parameter, and γ represents the preset correction coefficient. Whether subtraction or addition is used depends on the direction of the deviation. The above expression is only used to illustrate the correction relationship.
[0092] In practical applications, when a charging terminal responds too strongly to the current disturbance current, the terminal lowers the disturbance current parameter to make the reapplied disturbance more moderate; when a terminal responds insufficiently to the current disturbance current, the terminal raises the disturbance current parameter to make the reapplied disturbance more discriminative. Reapplying a controlled disturbance allows the terminal to obtain disturbance feedback results closer to the compliance feedback range, thereby improving the effectiveness of the data used for subsequent risk assessments. When the corrected disturbance feedback corresponds to a landing point within the compliance feedback range, step S222 is executed.
[0093] S222. Construct the first conduction curve based on the electrical feedback information; The first conduction curve refers to the conduction change curve constructed by the terminal based on the electrical feedback information collected under the buffer state. It is used to represent the basic conduction state of the charging terminal when no controlled disturbance is applied.
[0094] Specifically, the terminal extracts continuously collected voltage and current data in the buffer state and establishes conduction status data points corresponding to each sampling time according to the sampling sequence. In order to make the curve more accurately reflect the basic conduction status of the terminal, the terminal combines voltage drop changes to smooth local abnormal jump points during the construction process, thereby forming the first conduction curve that changes over time.
[0095] In everyday charging scenarios, when a user connects the charging cable to the terminal interface, if the terminal contact is relatively stable, the first conduction curve will show a smooth establishment characteristic. If there is slight oxidation, dirt adhesion, or insufficient contact pressure inside the interface, the first conduction curve will show slight fluctuations or local fluctuations.
[0096] S223. Construct a second conduction curve based on the disturbance feedback; The second conduction curve refers to the conduction change curve constructed by the terminal based on the disturbance feedback obtained after applying a controlled disturbance, which is used to represent the conduction response state of the charging terminal under stimulated conditions.
[0097] Specifically, after the controlled disturbance is applied, the terminal continuously collects feedback data during the disturbance and the short recovery phase after the disturbance, and constructs a second conduction curve based on the voltage change, current change or voltage drop change in the disturbance feedback.
[0098] The second conduction curve reflects the terminal's response under mild excitation. If the terminal is in good condition, the second conduction curve will usually quickly enter a new stable range after the disturbance is applied; if there is a potential contact problem with the terminal, the second conduction curve is more likely to show sluggish response, amplified fluctuations, or insufficient recovery.
[0099] Taking overnight charging of mobile terminals as an example, some worn interfaces can still maintain basic conduction when normally inserted, but are prone to significant fluctuations under slight load changes. The second conduction curve is a direct reflection of this stimulated response characteristic. By constructing the first and second conduction curves respectively, the terminal can distinguish between the basic conduction state and the stimulated conduction state, so that subsequent risk assessment is no longer limited to a single static parameter.
[0100] The conduction offset value is calculated based on the curve difference between the first conduction curve and the second conduction curve, including: S224. Determine the time baseline based on the time window; The time baseline refers to the unified time reference selected by the terminal within the time window, which is used to ensure that the conduction data from different sources are under the same time reference system.
[0101] The terminal determines a unified time baseline within the time window, so that the data corresponding to the first conduction curve and the second conduction curve are mapped to the same time reference system, providing a unified time basis for subsequent conduction difference calculation.
[0102] S225. Construct time coordinates using a time baseline, and align the first conduction curve and the second conduction curve according to the time coordinates; The terminal establishes a time coordinate with a time baseline as a reference, and maps the conduction data in the first conduction curve and the second conduction curve to a unified time coordinate, so that the two conduction curves are comparable at the same time position.
[0103] S226. Calculate the conduction difference between the first conduction curve and the second conduction curve based on the time coordinate according to the preset time density; Time density refers to the distribution density of calculation points used when calculating conduction difference on the time coordinate.
[0104] The terminal selects multiple calculation points on the time coordinate according to a preset time density, and calculates the difference between the corresponding conduction values of the first conduction curve and the second conduction curve at each calculation point to obtain a conduction difference sequence.
[0105] S227. Determine the conduction offset value based on the cumulative value of the conduction difference.
[0106] The conduction offset value refers to the overall deviation between the first conduction curve and the second conduction curve under a unified time coordinate.
[0107] The terminal accumulates and calculates the conduction difference at each time point to obtain the conduction offset value. To enhance computability, the conduction offset value D can be expressed as D=ΣΔdi, where Δdi represents the conduction difference at each time point. After obtaining the conduction offset value, the terminal determines the corresponding conduction risk factor according to a preset conduction mapping rule.
[0108] S228. Determine the conduction risk factor corresponding to the conduction offset value according to the conduction mapping rule; The conduction mapping rule refers to the pre-established correspondence between the conduction offset value and the conduction risk level in the terminal, which is used to convert the conduction offset value into a conduction risk factor that can participate in risk calculation.
[0109] After obtaining the conduction offset value, the terminal inputs it into the conduction mapping rules to determine the corresponding conduction risk factor. Specifically, the terminal can perform interval matching of the conduction offset value according to the correspondence between preset offset intervals and risk levels. When the conduction offset value falls into a lower offset interval, a lower conduction risk factor is determined, indicating that the difference between the charging terminal in the natural conduction state and the controlled disturbance state is small, and the conduction stability is good. When the conduction offset value falls into a higher offset interval, a higher conduction risk factor is determined, indicating that the terminal has a more obvious conduction deviation under the action of controlled disturbance, and the conduction stability is poor.
[0110] For example, in the daily charging scenario of mobile terminals, if the interface has good contact, the overall difference between the first conduction curve and the second conduction curve is small, the conduction offset value is low, and the corresponding conduction risk factor is also low; if the interface has loose contact, oxidation, or foreign matter attached, the difference in conduction before and after the controlled disturbance is more obvious, the conduction offset value increases, and the conduction risk factor increases accordingly.
[0111] S229. Determine the loss risk factor corresponding to voltage loss according to the voltage loss mapping rule; Voltage loss mapping rules refer to the pre-established correspondence between voltage loss and loss risk level in the terminal, which is used to convert voltage loss into loss risk factors that can participate in risk calculation.
[0112] After obtaining the voltage loss, the terminal inputs it into the voltage loss mapping rule to determine the corresponding loss risk factor. Specifically, the terminal maps the current voltage loss according to the correspondence between different voltage loss ranges and different loss levels. When the voltage loss is in a lower range, a lower loss risk factor is determined, indicating that the conductive path of the charging terminal is relatively smooth and the additional loss is small. When the voltage loss is in a higher range, a higher loss risk factor is determined, indicating that there is significant conductive loss or local impedance increase at the terminal contact interface.
[0113] For example, when the terminal interface is kept clean and the contact surface is intact, the voltage drop is usually maintained at a low level, and the corresponding loss risk factor is low. If there is an oxide layer, moisture residue, or long-term wear on the terminal surface, the voltage drop increases, the voltage drop increases, and the corresponding loss risk factor also increases. Through voltage drop mapping rules, the terminal transforms the loss state in the terminal conduction path into a standardized risk quantity.
[0114] S230. Calculate the terminal risk value based on the conduction risk factor and loss risk factor.
[0115] After obtaining the conduction risk factor and loss risk factor, the terminal performs a comprehensive calculation to obtain the terminal risk value of the current charging terminal. The terminal risk value represents the overall risk level of the charging terminal in the current power-on state, reflecting both the conduction offset before and after a controlled disturbance, and the loss of the terminal in the current conduction path. Specifically, the terminal weights the conduction risk factor and loss risk factor according to a preset weighting relationship to obtain the terminal risk value. To enhance calculability, the terminal risk value R can be expressed as R = αF1 + βF2, where F1 represents the conduction risk factor, F2 represents the loss risk factor, and α and β represent preset weighting coefficients.
[0116] In practical applications, if both the conduction risk factor and the loss risk factor are at low levels, it indicates that the charging terminal is performing normally in terms of both conduction stability and conductivity loss, and the terminal risk value is low. If either risk factor increases, especially if both increase simultaneously, it indicates that the terminal exhibits abnormal trends in both dynamic response and loss status, and the terminal risk value increases accordingly. By jointly calculating the conduction risk factor and the loss risk factor, the terminal avoids making biased judgments based on a single parameter, thereby improving the accuracy of terminal risk identification and the reliability of protection before formal charging.
[0117] S231. When the terminal risk value is lower than the preset terminal risk value, activate the charging module corresponding to the charging terminal.
[0118] Step S231 in this embodiment is similar to S108 in the previous embodiment, and will not be described in detail here.
[0119] S232. When the terminal risk value is not lower than the preset terminal risk value, maintain the buffer state and record the number of times the buffer state is executed. The execution count refers to the cumulative number of times the terminal maintains a buffer state and repeatedly executes the terminal risk judgment process in the same charging access session. This count is used to indicate the extent to which the current charging terminal fails to meet the formal charging conditions after being connected to power.
[0120] After the terminal completes the terminal risk value calculation, if it finds that the current terminal risk value is not lower than the preset terminal risk value, it will not activate the formal charging module, but will keep the current charging path in the buffer state, and at the same time, it will count and record the execution of this buffer state.
[0121] In practical applications, for example, if the plug is not fully engaged when the user inserts the charging cable, the initial terminal risk value may be too high. In this case, the terminal maintains a buffer state and increases the number of executions, reserving judgment space for the interface state to stabilize on its own. By recording the number of executions in the buffer state, the terminal can distinguish between occasional failures and persistent failures, providing a basis for subsequent anomaly reporting and strong protection actions.
[0122] S233. When the number of executions exceeds the preset number, an exception message is generated and the exception log is stored. An abnormal message refers to an alarm message generated by the terminal after detecting that the charging terminal has failed the risk assessment multiple times. This message is used to notify the system, user, or maintenance module that the current charging terminal is in an abnormal state. An abnormal log refers to the set of operational information recorded by the terminal for this abnormal charging session, including but not limited to terminal risk value, number of executions, abnormal trigger time, current electrical feedback status, and disturbance detection results.
[0123] The terminal continuously compares the current execution count with the preset count. When the execution count exceeds the preset count, it indicates that the charging terminal has not met the conditions for entering formal charging after multiple checks. At this time, the terminal generates an exception message and writes the relevant data of this exception session to the exception log. The exception message can be used for local display prompts or for system background modules to call.
[0124] For example, after long-term use of a mobile terminal, if dust accumulates inside the interface or the metal contacts wear out, causing the terminal risk value to exceed the threshold multiple times, the number of executions will continue to increase and eventually exceed the preset number. At this time, the terminal generates an abnormal message to remind that there is an abnormality in the current interface, and stores the relevant operating data in the abnormal log for easy after-sales diagnosis or subsequent historical comparison.
[0125] S234. Determine whether the terminal risk value is in a severe risk state; A severe risk state refers to a state where the terminal risk value reaches a preset high risk level. This state indicates that the current charging terminal is no longer suitable for continuing the detection charging process, and stronger protection measures should be taken.
[0126] After generating an anomaly message and recording an anomaly log, the terminal continues to compare the current terminal risk value with a higher-level severe risk judgment standard to determine whether the current anomaly has developed to the point where the charging path needs to be immediately blocked. A severe risk state typically corresponds to a higher risk level, indicating that the terminal not only failed the normal risk judgment but also exhibited high-risk characteristics such as obvious contact instability, abnormal conduction loss, or abnormal response after disturbance. In actual charging scenarios, if the terminal only has slight contamination or short-term contact instability, although the terminal risk value does not meet the formal charging requirements, it may not necessarily reach a severe risk state. If the terminal has obvious oxidation, moisture residue, localized ablation, or repeated contact instability, the terminal risk value will further increase and meet the judgment criteria for a severe risk state.
[0127] S235. If the situation is a serious risk, lock the charging circuit.
[0128] Locking the charging circuit means that the terminal implements a control to prevent the charging path from being connected, so that the current charging session cannot continue to enter the formal charging state.
[0129] After confirming that the current terminal risk value is in a severe risk state, the terminal sends a lock control command to the charging control circuit, keeping the current charging path in a disabled state and preventing the activation of the formal charging module. After locking the charging circuit, the terminal will no longer allow the current charging session to attempt to enter the charging state, thus preventing the abnormal terminal from continuously receiving current input under high-risk conditions. In practical applications, for example, if there is liquid intrusion inside the terminal interface, severe oxidation of the terminal surface, or significant wear on the contact points, allowing charging to continue could easily lead to abnormal local temperature rise, terminal ablation, or further damage. By directly locking the charging circuit at this stage, the terminal controls the risk before charging begins or in the early stages of charging.
[0130] This embodiment further achieves dynamic modeling and closed-loop adjustment of terminal status by segmenting the conduction curve, constructing disturbance constraint intervals, correcting disturbance parameters, analyzing the difference between dual conduction curves, and implementing hierarchical protection control. This not only improves the accuracy of risk identification but also enhances the adaptability of disturbance control and the reliability of protection in high-risk scenarios.
[0131] The above provides a detailed description of the charging terminal protection method based on risk factor modeling in the embodiments of this application. The following will provide a detailed description of the charging terminal protection system and device based on risk factor modeling.
[0132] Please see Figure 3 This application provides an embodiment of a charging terminal protection system based on risk factor modeling, which includes: The first activation unit 301 is used to activate the buffer state when the charging terminal is detected to be connected to power. The first acquisition unit 302 is used to acquire electrical feedback information of the charging terminal according to the buffer state. The electrical feedback information includes voltage data, current data and voltage drop data. The first determining unit 303 is used to determine the voltage loss of the charging terminal based on the voltage drop data; Establishment unit 304 is used to establish a time window based on the buffer state, and generate a conduction curve based on voltage and current data within the time window; The first calculation unit 305 is used to calculate the controlled disturbance parameters based on the conduction curve and voltage loss. The disturbance unit 306 is used to apply a controlled disturbance to the charging terminal according to the controlled disturbance parameters to obtain disturbance feedback; The second calculation unit 307 is used to calculate the terminal risk value based on the disturbance feedback and electrical feedback information; The second activation unit 308 is used to activate the charging module corresponding to the charging terminal when the terminal risk value is lower than the preset terminal risk value.
[0133] In this embodiment, the functions of each unit are the same as those described above. Figure 1 The steps in the illustrated embodiments are the same and will not be repeated here.
[0134] Please see Figure 4 This application provides an embodiment of a charging terminal protection system based on risk factor modeling, which includes: The first activation unit 401 is used to activate the buffer state when the charging terminal is detected to be connected to power. The first acquisition unit 402 is used to acquire electrical feedback information of the charging terminal according to the buffer state. The electrical feedback information includes voltage data, current data and voltage drop data. The first determining unit 403 is used to determine the voltage loss of the charging terminal based on the voltage drop data; Establishment unit 404 is used to establish a time window based on the buffer state, and generate a conduction curve based on voltage and current data within the time window; The identification unit 405 is used to identify the inflection point of conduction change based on the conduction curve; Segmentation unit 406 is used to segment the conduction curve according to the inflection point of conduction change to obtain conduction sub-curves; The dividing unit 407 is used to divide the conduction curve into a stable conduction section and a fluctuating conduction section based on the local characteristics of each conduction sub-curve. The second determining unit 408 is used to determine the upper limit of disturbance loss based on voltage loss. The construction unit 409 is used to construct a disturbance constraint interval based on the stable conduction section, the fluctuating conduction section and the upper limit of disturbance loss. The disturbance constraint interval is used to limit the maximum disturbance output value of the controlled disturbance parameter.
[0135] The first calculation unit 410 is used to calculate the controlled disturbance parameters based on the conduction curve and voltage loss. The disturbance unit 411 is used to apply a controlled disturbance to the charging terminal according to the controlled disturbance parameters to obtain disturbance feedback; The third determining unit 412 is used to determine the compliance feedback range based on the electrical feedback information and to confirm the landing point of the disturbance feedback within the compliance feedback range. The third calculation unit 413 is used to calculate the boundary value between the landing point and the compliance feedback range when the landing point is not within the compliance feedback range, and to obtain the deviation value. The correction unit 414 is used to correct the controlled disturbance parameters according to the deviation value, so as to reapply the controlled disturbance according to the corrected controlled disturbance parameters.
[0136] The second calculation unit 415 is used to calculate the terminal risk value based on the disturbance feedback and electrical feedback information; The second activation unit 416 is used to activate the charging module corresponding to the charging terminal when the terminal risk value is lower than the preset terminal risk value.
[0137] The maintenance unit 417 is used to maintain the buffer state and record the number of times the buffer state is executed when the terminal risk value is not lower than the preset terminal risk value. The generation unit 418 is used to generate an exception message and store an exception log when the number of executions exceeds a preset number. Judgment unit 419 is used to determine whether the terminal risk value is a serious risk state; The locking unit 420 is used to lock the charging circuit when the judgment result of the judgment unit is a serious risk state.
[0138] The second calculation unit 415 is specifically used for: Construct the first conduction curve based on the electrical feedback information; Construct a second conduction curve based on the disturbance feedback; Calculate the conduction offset value based on the curve difference between the first conduction curve and the second conduction curve; Determine the conduction risk factor corresponding to the conduction offset value based on the conduction mapping rule; Determine the loss risk factor corresponding to voltage loss based on the voltage loss mapping rule; The terminal risk value is calculated based on the conduction risk factor and the loss risk factor.
[0139] The second calculation unit 415 is also specifically used for: Determine the time baseline based on the time window; A time coordinate is constructed using a time baseline, and the first and second conduction curves are aligned based on the time coordinate. The conduction difference between the first and second conduction curves is calculated based on the time coordinates according to the preset time density. The conduction offset value is determined based on the cumulative value of the conduction difference.
[0140] The first computing unit 410 is specifically used for: The fluctuation range of the charging terminal within the time window is determined based on the conduction curve, and the conduction weight value is determined based on the fluctuation range. The loss weight value of the charging terminal is calculated based on the voltage loss. The controlled disturbance parameters are obtained by weighting the calibration disturbance parameters based on the conduction weight value and the loss weight value.
[0141] The correction unit 414 is specifically used for: Calculate the absolute value of the difference between the landing point position and the upper and lower boundary values of the compliance feedback interval, respectively, to obtain the absolute value of the upper boundary and the absolute value of the lower boundary; Determine the minimum value from the absolute values of the upper and lower boundaries, and define the boundary corresponding to the minimum value as the target boundary. Calculate the direction and parameters of the deviation of the landing point position relative to the target boundary; The disturbance current parameter in the controlled disturbance parameter is corrected according to the deviation parameter and the deviation direction, and the controlled disturbance is applied again according to the corrected disturbance current parameter.
[0142] Unit 404 is specifically used for: Continuously acquire current and voltage data within a time window; The conduction sampling point is determined based on the current and voltage data; Construct conduction curves based on the temporal distribution of all conduction sampling points.
[0143] In this embodiment, the functions of each unit are the same as those described above. Figures 2a to 2c The steps in the illustrated embodiments are the same and will not be repeated here.
[0144] Please see Figure 5 This application provides an embodiment of a charging terminal protection device based on risk factor modeling, comprising: Processor 501, memory 502, input / output unit 503, bus 504; The processor 501 is connected to the memory 502, the input / output unit 503, and the bus 504; Processor 501 performs specific operations Figures 1 to 2c The specific operations corresponding to the steps in the method will not be elaborated here.
[0145] This application also relates to a computer-readable storage medium on which a program is stored, characterized in that, when the program is run on a computer, it causes the computer to perform any of the methods described above.
[0146] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0147] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.
[0148] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0149] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0150] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A method of charging terminal protection based on risk factor modeling, characterized by, The method includes: When power is detected at the charging terminal, the buffer state is activated. The electrical feedback information of the charging terminal is obtained according to the buffer state, and the electrical feedback information includes voltage data, current data and voltage drop data; The voltage loss of the charging terminal is determined based on the voltage drop data; A time window is established based on the buffer state, and a conduction curve is generated within the time window based on the voltage data and the current data. Calculate the controlled disturbance parameters based on the conduction curve and the voltage loss; A controlled disturbance is applied to the charging terminal according to the controlled disturbance parameters to obtain disturbance feedback; Calculate the terminal risk value based on the disturbance feedback and the electrical feedback information; When the terminal risk value is lower than the preset terminal risk value, the charging module corresponding to the charging terminal is activated.
2. The method of claim 1, wherein, The calculation of the terminal risk value based on the disturbance feedback and the electrical feedback information includes: A first conduction curve is constructed based on the electrical feedback information; A second conduction curve is constructed based on the disturbance feedback; Calculate the conduction offset value based on the curve difference between the first conduction curve and the second conduction curve; The conduction risk factor corresponding to the conduction offset value is determined according to the conduction mapping rule; The loss risk factor corresponding to the voltage loss is determined according to the voltage loss mapping rule; The terminal risk value is calculated based on the conduction risk factor and the loss risk factor.
3. The method of claim 2, wherein, The step of calculating the conduction offset value based on the curve difference between the first conduction curve and the second conduction curve includes: Determine the time baseline based on the time window; A time coordinate is constructed using the time baseline, and the first conduction curve and the second conduction curve are aligned based on the time coordinate; The conduction difference between the first conduction curve and the second conduction curve is calculated based on the time coordinates according to the preset time density. The conduction offset value is determined based on the cumulative value of the conduction difference.
4. The method according to claim 1, characterized in that, Before calculating the controlled disturbance parameters based on the conduction curve and the voltage drop, the method further includes: Identify the inflection point of conduction change based on the conduction curve; The conduction curve is segmented based on the inflection point of the conduction change to obtain conduction sub-curves; Based on the local characteristics of each of the conduction sub-curves, the conduction curves are divided into stable conduction sections and fluctuating conduction sections; The upper limit of disturbance loss is determined based on the voltage loss. A disturbance constraint interval is constructed based on the stable conduction section, the fluctuating conduction section, and the upper limit of disturbance loss. The disturbance constraint interval is used to limit the maximum disturbance output value of the controlled disturbance parameter.
5. The method according to claim 1, characterized in that, The calculation of the controlled disturbance parameters based on the conduction curve and the voltage drop includes: The fluctuation range of the charging terminal within the time window is determined based on the conduction curve, and the conduction weight value is determined based on the fluctuation range. Calculate the loss weight value of the charging terminal based on the voltage loss; The calibrated disturbance parameters are weighted and calculated based on the conduction weight value and the loss weight value to obtain the controlled disturbance parameters.
6. The method according to claim 1, characterized in that, After applying a controlled disturbance to the charging terminal based on the controlled disturbance parameters and obtaining disturbance feedback, the method further includes: The compliance feedback range is determined based on the electrical feedback information, and the landing point of the disturbance feedback within the compliance feedback range is confirmed. When the landing point is not within the compliance feedback range, calculate the boundary value between the landing point and the compliance feedback range to obtain the deviation value; The controlled disturbance parameter is corrected based on the deviation value, so that the controlled disturbance is applied again based on the corrected controlled disturbance parameter.
7. The method according to claim 6, characterized in that, The step of correcting the controlled disturbance parameter based on the deviation value, and then reapplying the controlled disturbance based on the corrected controlled disturbance parameter, includes: Calculate the absolute value of the difference between the landing point position and the upper and lower boundary values of the compliance feedback interval, respectively, to obtain the absolute value of the upper boundary and the absolute value of the lower boundary; Determine the minimum value from the absolute values of the upper and lower boundaries, and determine the boundary corresponding to the minimum value as the target boundary; Calculate the direction and deviation parameters of the landing point position relative to the target boundary; The disturbance current parameter in the controlled disturbance parameter is corrected according to the deviation parameter and the deviation direction, and the controlled disturbance is applied again according to the corrected disturbance current parameter.
8. The method according to any one of claims 1 to 7, characterized in that, The step of establishing a time window based on the buffer state and generating a conduction curve based on the voltage data and the current data within the time window includes: The current data and voltage data are continuously collected within the time window; The conduction sampling point is determined based on the current data and the voltage data; Construct a conduction curve based on the temporal distribution of all the conduction sampling points.
9. The method according to any one of claims 1 to 7, characterized in that, When the terminal risk value is lower than the preset terminal risk value, after activating the charging module corresponding to the charging terminal, the method further includes: When the terminal risk value is not lower than the preset terminal risk value, maintain the buffer state and record the number of times the buffer state is executed; When the number of executions exceeds the preset number, an exception message is generated and the exception log is stored. Determine whether the terminal risk value is in a severe risk state; If the situation is considered a serious risk, the charging circuit will be locked.
10. A charging terminal protection system based on risk factor modeling, characterized in that, The system includes: The first activation unit is used to activate the buffer state when the charging terminal is detected to be connected to power. The first acquisition unit is used to acquire electrical feedback information of the charging terminal according to the buffer state, wherein the electrical feedback information includes voltage data, current data and voltage drop data; The first determining unit is used to determine the voltage loss of the charging terminal based on the voltage drop data; A setup unit is configured to establish a time window based on the buffer state, and generate a conduction curve within the time window based on the voltage data and the current data; The first calculation unit is used to calculate the controlled disturbance parameters based on the conduction curve and the voltage loss. A disturbance unit is used to apply a controlled disturbance to the charging terminal according to the controlled disturbance parameters to obtain disturbance feedback; The second calculation unit is used to calculate the terminal risk value based on the disturbance feedback and the electrical feedback information; The second activation unit is used to activate the charging module corresponding to the charging terminal when the terminal risk value is lower than the preset terminal risk value.
11. A charging terminal protection device based on risk factor modeling, characterized in that, The device includes: Processor, memory, input / output units, and bus; The processor is connected to the memory, the input / output unit, and the bus; The memory stores a program, which the processor invokes to perform the method as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains a program that, when executed on a computer, performs the method as described in any one of claims 1 to 9.