Device control method and system for charging with power adapter
By analyzing the device application scenario and power information, calculating losses, evaluating battery health, and formulating charging strategies, the overcharge problem during the charging process of the power adapter is solved, and the charging efficiency and battery health are improved.
Patent Information
- Application Number
- CN202411325058.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-09-23
AI Technical Summary
During the charging process of existing power adapters, constant current or constant voltage control may lead to overcharging, damage battery life, reduce battery performance, and lack reasonable equipment control methods to improve charging efficiency.
By obtaining device application scenarios and current power information, calculating transmission loss and charging loss, evaluating battery health, formulating charging strategies, and optimizing charging sequences and charge allocation, to achieve intelligent charging control.
It improves the control rationality and charging efficiency of the power adapter charging device, extends battery life, and improves the battery health evaluation and energy conversion efficiency of the charging process.
Smart Images

Figure CN118868327B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power adapters, and in particular to a device control method and system for charging a power adapter. Background Art
[0002] A power adapter is a small electronic device whose main function is to convert AC power (AC power, such as the common 220V AC power) into DC power of a specific voltage and current to adapt and power or charge electronic devices (such as laptops, tablets, mobile phones, routers, etc.). In order to improve the working efficiency of the power adapter, it is necessary to control and manage the devices being charged by the power adapter.
[0003] The existing device control under power adapter charging adopts constant current charging control and constant voltage charging control. At the beginning of charging, the charging current is kept constant or the charging voltage is kept constant. During the charging process, as the battery voltage of the device rises, overcharging may occur, which will damage the battery life and cause the battery performance to decline. Therefore, a method is needed to improve the rationality of device control under power adapter charging. Summary of the invention
[0004] The present invention provides a device control method and system for charging with a power adapter, the main purpose of which is to improve the rationality of device control with charging with a power adapter.
[0005] To achieve the above object, the present invention provides a device control method for charging with a power adapter, comprising:
[0006] Obtain a charging device of the power adapter, analyze a device application scenario corresponding to the charging device, collect current power information corresponding to the charging device, and set a charging sequence corresponding to the charging device according to the device application scenario and the current power information;
[0007] Calculating the transmission loss corresponding to the charging device and the charging loss corresponding to the power adapter, and determining the comprehensive charging loss of the charging device by combining the transmission loss and the charging loss;
[0008] Record device charging data and device discharging data corresponding to the charging device, calculate a battery aging coefficient corresponding to a device battery used by the charging device based on the device charging data, calculate a capacity reduction rate corresponding to the device battery based on the device discharging data, and evaluate the battery health corresponding to the device battery by combining the battery aging coefficient and the capacity reduction rate;
[0009] In combination with the current power information and the comprehensive charging loss, the allocated charge of the charging device is determined; according to the battery health and the allocated charge, a charging strategy for the charging device is formulated; based on the charging strategy and the charging sequence, charging control management of the charging device is performed to obtain a charging result.
[0010] Optionally, setting a charging sequence corresponding to the charging device according to the device application scenario and the current power information includes:
[0011] Identifying a scene descriptor in the device application scene;
[0012] Based on the scenario descriptor, analyzing a device behavior pattern of the charging device in the device application scenario;
[0013] Extracting device attributes corresponding to the charging device, and calculating relative entropy between the device behavior pattern and the device attributes;
[0014] Determining, according to the relative entropy, a scene importance corresponding to the device application scene;
[0015] Based on the current power information, determining the remaining power ratio corresponding to the charging device;
[0016] Based on the importance of the scenario and the remaining power ratio, a charging sequence corresponding to the charging device is set.
[0017] Optionally, the calculating the relative entropy between the device behavior pattern and the device attribute includes:
[0018] Extracting pattern features corresponding to the device behavior pattern, and quantifying the pattern features to obtain pattern feature values;
[0019] Vectorizing the device attributes to obtain an attribute vector, and calculating an eigenvalue corresponding to the attribute vector to obtain an attribute eigenvalue;
[0020] Combining the pattern feature value and the attribute feature value, the relative entropy between the device behavior pattern and the device attribute is calculated by the following formula:
[0021] ;
[0022] Where A represents the relative entropy between the device behavior pattern and the device attributes. represents the probability corresponding to the ath eigenvalue in the pattern eigenvalue, a represents the sequence number of the pattern eigenvalue, It represents the probability corresponding to the bth eigenvalue in the attribute eigenvalue, and b represents the serial number of the attribute eigenvalue.
[0023] Optionally, the calculating the transmission loss corresponding to the charging device includes:
[0024] Obtaining a charging cable corresponding to the charging device, and measuring a cable length corresponding to the charging cable;
[0025] Determining a current transmission span of the charging device during charging based on the cable length;
[0026] Detecting the cable current of the charging cable during the charging process, and querying the cable parameters corresponding to the charging cable;
[0027] The transmission loss corresponding to the charging device is calculated based on the cable parameters, the cable current, and the current transmission span.
[0028] Optionally, the calculating the transmission loss corresponding to the charging device by combining the cable parameters, the cable current and the current transmission span includes:
[0029] Extracting a cable resistance value corresponding to the charging cable from the cable parameters, and measuring a cable outer diameter corresponding to the charging cable;
[0030] Based on the outer diameter of the cable, the cable cross-sectional area of the charging cable is calculated by the following formula:
[0031] ;
[0032] Where E represents the cross-sectional area of the charging cable, d represents the outer diameter of the cable, and e represents the insulation thickness of the charging cable.
[0033] The transmission loss corresponding to the charging device is calculated by combining the cable cross-sectional area, the cable resistance value, the cable current and the current transmission span using the following formula:
[0034] ;
[0035] Among them, G represents the transmission loss corresponding to the charging device, F represents the cable resistance value, I represents the cable current, H represents the current transmission span, and E represents the cable cross-sectional area.
[0036] Optionally, the combining the transmission loss and the charging loss to determine the comprehensive charging loss of the charging device includes:
[0037] Querying a control schematic diagram corresponding to the charging device, and determining internal components of the charging device based on the control schematic diagram;
[0038] Analyzing component performance corresponding to the internal components of the device, and identifying key components among the internal components of the device based on the component performance;
[0039] Based on the key components, calculating the internal loss corresponding to the charging device;
[0040] The comprehensive charging loss of the charging device is determined by combining the internal loss, the transmission loss and the charging loss.
[0041] Optionally, the calculating, based on the device charging data, a battery aging coefficient corresponding to a device battery used by the charging device includes:
[0042] Measuring a device charging cycle and a device charging frequency in the charging device from the device charging data;
[0043] Obtaining a reference charging time corresponding to the battery of the device;
[0044] In combination with the device charging cycle, the device charging frequency and the reference charging time, the duration change gradient corresponding to the device battery used by the charging device is calculated by the following formula:
[0045] ;
[0046] Among them, K represents the time change gradient corresponding to the device battery used by the charging device, Indicates the i-th cycle in the device charging cycle, i represents the serial number of the device charging frequency, q represents the total number of device charging frequencies, Indicates the benchmark charging time,
[0047] A battery aging coefficient corresponding to a device battery used by the charging device is determined according to the duration variation gradient.
[0048] Optionally, the calculating, based on the device discharge data, a capacity reduction rate corresponding to the device battery includes:
[0049] Extracting the discharge frequency and discharge amount of the battery of the device from the device discharge data;
[0050] performing correction processing on the discharge amount to obtain a corrected discharge amount;
[0051] Calculating an average discharge capacity of the device battery based on the discharge frequency and the corrected discharge capacity;
[0052] Calculate the discharge attenuation factor of the device battery by combining the corrected discharge capacity, the average discharge capacity and the discharge frequency;
[0053] According to the discharge attenuation factor, a capacity reduction rate corresponding to the device battery is determined.
[0054] Optionally, the calculating the discharge attenuation factor of the device battery by combining the corrected discharge capacity, the average discharge capacity and the discharge frequency includes:
[0055] The discharge attenuation factor of the battery of the device is calculated by the following formula:
[0056] ;
[0057] in, Indicates the discharge attenuation factor of the device battery, It represents the discharge capacity corresponding to the fth discharge frequency in the corrected discharge capacity, f represents the sequence number of the discharge frequency, and w represents the total number of discharge frequencies. Indicates the average discharge capacity.
[0058] A device control system for charging with a power adapter, characterized in that the system comprises:
[0059] A charging sequence setting module, used to obtain a charging device of a power adapter, analyze a device application scenario corresponding to the charging device, collect current power information corresponding to the charging device, and set a charging sequence corresponding to the charging device according to the device application scenario and the current power information;
[0060] A charging comprehensive loss determination module, used to calculate the transmission loss corresponding to the charging device, calculate the charging loss corresponding to the power adapter, and determine the charging comprehensive loss of the charging device by combining the transmission loss and the charging loss;
[0061] A battery health evaluation module, used to record device charging data and device discharging data corresponding to the charging device, calculate a battery aging coefficient corresponding to a device battery used by the charging device based on the device charging data, calculate a capacity reduction rate corresponding to the device battery based on the device discharging data, and evaluate the battery health corresponding to the device battery in combination with the battery aging coefficient and the capacity reduction rate;
[0062] A charging control management module is used to determine the allocated charge of the charging device in combination with the current power information and the comprehensive charging loss, formulate a charging strategy for the charging device according to the battery health and the allocated charge, and perform charging control management on the charging device based on the charging strategy and the charging sequence to obtain a charging result.
[0063] The present invention sets the charging sequence corresponding to the charging device according to the device application scenario and the current power information, so that the charging priority processing is required in the subsequent charging device, so as to improve the charging efficiency of the charging device. The present invention can obtain the current loss degree of the charging device during the charging process by calculating the transmission loss corresponding to the charging device, so as to facilitate the subsequent calculation and processing of the comprehensive charging loss of the charging device. The present invention calculates the battery energy efficiency corresponding to the device battery used by the charging device based on the device charging data, so as to obtain the effective degree of energy conversion of the device battery during the charging process, so as to facilitate the subsequent evaluation and processing of the battery health corresponding to the device battery. The present invention formulates the charging strategy of the charging device according to the battery health and the allocated charge amount, so as to obtain the specific charging method and rules of the charging device, so as to improve the charging efficiency of the charging device. Therefore, the device control method and system applied to the charging of the power adapter provided in the embodiment of the present invention can improve the rationality of the device control under the charging of the power adapter. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 A schematic flow chart of a device control method for charging with a power adapter provided by an embodiment of the present invention;
[0065] Figure 2 A functional module diagram of a device control system for charging with a power adapter provided by an embodiment of the present invention.
[0066] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0067] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0068] The embodiment of the present application provides a device control method for charging with a power adapter. In the embodiment of the present application, the execution subject of the device control method for charging with a power adapter includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the device control method for charging with a power adapter can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
[0069] Reference Figure 1 FIG. 1 is a flow chart of a device control method for charging with a power adapter provided by an embodiment of the present invention. In this embodiment, the device control method for charging with a power adapter includes steps S1-S4.
[0070] S1. Obtain a charging device of a power adapter, analyze a device application scenario corresponding to the charging device, collect current power information corresponding to the charging device, and set a charging sequence corresponding to the charging device according to the device application scenario and the current power information.
[0071] The present invention sets a charging sequence corresponding to the charging device according to the device application scenario and the current power information, so as to facilitate the subsequent charging priority processing in the charging device, thereby improving the charging efficiency of the charging device, wherein the charging device is the power adapter service terminal, such as a notebook, a mobile phone, a desk lamp and other devices, the device application scenario is the actual use environment of the charging device, the current power information is the record information of the current power of the charging device, such as the remaining power, and the charging sequence is the charging order corresponding to the charging device. Optionally, the device application scenario can be realized by a user survey method, and the application scenario corresponding to the charging device is determined according to the survey data; the collection of the current power information corresponding to the charging device can be realized by a battery management system.
[0072] As an embodiment of the present invention, setting a charging sequence corresponding to the charging device according to the device application scenario and the current power information includes: identifying a scenario descriptor in the device application scenario, analyzing a device behavior pattern of the charging device in the device application scenario based on the scenario descriptor, extracting device attributes corresponding to the charging device, calculating a relative entropy between the device behavior pattern and the device attributes, determining a scenario importance corresponding to the device application scenario according to the relative entropy, determining a remaining power ratio corresponding to the charging device based on the current power information, and setting a charging sequence corresponding to the charging device based on the scenario importance and the remaining power ratio.
[0073] Among them, the scenario descriptor is the scenario description information in the device application scenario, the device behavior pattern is the usage method corresponding to the charging device, the device attribute is the device feature corresponding to the charging device, the relative entropy represents the degree of dependence between the device behavior pattern and the device attribute, and the remaining power ratio is the proportion of the remaining power of the charging device.
[0074] Optionally, the scene descriptor in the device application scenario can be realized by OCR recognition technology; semantic analysis is performed on the scene descriptor to obtain the descriptor semantics, and the device behavior mode of the charging device in the device application scenario is determined according to the descriptor semantics; the device attributes corresponding to the charging device can be obtained by extracting from the device specification manual; the larger the relative entropy is, the more important the scene corresponding to the device application scenario is; based on the scene importance and the remaining power ratio, the specific steps of setting the charging sequence corresponding to the charging device are as follows: first, the scene importance needs to be quantified and classified, for example, the scene is divided into three levels of high, medium and low according to factors such as urgency and dependence on power, and then different threshold ranges are set according to the remaining power ratio, for example, the remaining power below 20% is low power, 20%-80% is medium power, and above 80% is high power. If the scene importance is high and the remaining power is low, the priority of the charging sequence is set to high to meet the device usage needs as soon as possible. If the scene importance is medium and the remaining power is also medium, the priority of the charging sequence is medium. When the scene importance is low and the remaining power is sufficient, the priority of the charging sequence is set to low.
[0075] Further, as an optional embodiment of the present invention, the calculation of the relative entropy between the device behavior pattern and the device attribute includes: extracting the pattern feature corresponding to the device behavior pattern, quantizing the pattern feature to obtain a pattern feature value, vectorizing the device attribute to obtain an attribute vector, calculating the feature value corresponding to the attribute vector to obtain an attribute feature value, combining the pattern feature value and the attribute feature value, and calculating the relative entropy between the device behavior pattern and the device attribute by the following formula:
[0076] ;
[0077] Where A represents the relative entropy between the device behavior pattern and the device attributes. represents the probability corresponding to the ath eigenvalue in the pattern eigenvalue, a represents the sequence number of the pattern eigenvalue, It represents the probability corresponding to the bth eigenvalue in the attribute eigenvalue, and b represents the serial number of the attribute eigenvalue.
[0078] Among them, the pattern feature is the specific manifestation of the device behavior pattern, the pattern feature value is the specific expression value corresponding to the pattern feature, the attribute vector is the expression vector corresponding to the device attribute, and the attribute feature value is the feature specific expression value corresponding to the attribute vector. Optionally, the extraction of the pattern feature corresponding to the device behavior pattern can be achieved through principal component analysis; the quantization processing of the pattern feature can be achieved through the one-hot encoding method; the vectorization processing of the device attributes can be achieved through the word2vec algorithm; the calculation of the eigenvalue corresponding to the attribute vector can be achieved through the singular value decomposition method.
[0079] S2. Calculate the transmission loss corresponding to the charging device and the charging loss corresponding to the power adapter, and determine the comprehensive charging loss of the charging device by combining the transmission loss and the charging loss.
[0080] The present invention can obtain the degree of current loss during the charging process of the charging device by calculating the transmission loss corresponding to the charging device, thereby facilitating the subsequent calculation and processing of the comprehensive charging loss of the charging device, wherein the transmission loss is the loss caused by current transmission during the charging process of the charging device.
[0081] As an embodiment of the present invention, the calculating the transmission loss corresponding to the charging device includes: obtaining a charging cable corresponding to the charging device, measuring a cable length corresponding to the charging cable, determining a current transmission span of the charging device during the charging process based on the cable length, detecting a cable current of the charging cable during the charging process, querying cable parameters corresponding to the charging cable, and calculating the transmission loss corresponding to the charging device in combination with the cable parameters, the cable current and the current transmission span.
[0082] Among them, the charging cable is the charging cable used when charging the charging device, the current transmission span represents the current transmission distance of the charging device during the charging process, the cable current is the actual current value inside the cable during the charging process, and the cable parameter is an introduction to the attribute information corresponding to the charging cable, such as the cable resistance value.
[0083] Optionally, the charging cable corresponding to the charging device can be obtained manually; the cable length corresponding to the charging cable can be measured by a ruler; the cable current of the charging cable during the charging process can be detected by a current transformer; the cable parameters corresponding to the charging cable can be obtained by querying the cable manufacturer.
[0084] Further, as an optional embodiment of the present invention, the combining the cable parameters, the cable current and the current transmission span to calculate the transmission loss corresponding to the charging device includes: extracting a cable resistance value corresponding to the charging cable from the cable parameters, measuring a cable outer diameter corresponding to the charging cable, and calculating the cable cross-sectional area of the charging cable based on the cable outer diameter by the following formula:
[0085] ;
[0086] Where E represents the cross-sectional area of the charging cable, d represents the outer diameter of the cable, and e represents the insulation thickness of the charging cable.
[0087] The transmission loss corresponding to the charging device is calculated by combining the cable cross-sectional area, the cable resistance value, the cable current and the current transmission span using the following formula:
[0088] ;
[0089] Among them, G represents the transmission loss corresponding to the charging device, F represents the cable resistance value, I represents the cable current, H represents the current transmission span, and E represents the cable cross-sectional area.
[0090] Among them, the cable resistance value is the internal resistance value of the charging cable, the cable outer diameter is the outer diameter of the charging cable recorded in the cable parameters, and the insulation thickness is the thickness of the insulation layer in the charging cable, which can be obtained by referring to the cable specification information.
[0091] The present invention can obtain the electric energy lost by the power adapter during the charging process by calculating the charging loss corresponding to the power adapter, thereby improving the accuracy of calculating the subsequent comprehensive charging loss, wherein the charging loss is the amount of electric energy lost in the process of the power adapter converting the input electric energy into electric energy suitable for charging the device. Furthermore, the calculation process of the charging loss corresponding to the power adapter is: first calculate the input power and output power corresponding to the power adapter, and the input power minus the output power equals the charging loss. For example, the input voltage of the power adapter is 220V, the input current is 0.5A, the output voltage is 5V, the output current is 2A, the input power is 220V×0.5A=110W, and the output power is: 5V×2A=10W, then the charging loss is: 110W-10W=100W.
[0092] The present invention determines the comprehensive charging loss of the charging device by combining the transmission loss and the charging loss, and then obtains the overall power loss of the charging device to facilitate the subsequent determination of the amount of distributed charge, wherein the comprehensive charging loss is the total energy lost during the charging process of the charging device.
[0093] As an embodiment of the present invention, the combining of the transmission loss and the charging loss to determine the comprehensive charging loss of the charging device includes: querying a control schematic diagram corresponding to the charging device, determining internal components of the charging device based on the control schematic diagram, analyzing component performance corresponding to the internal components of the device, identifying key components among the internal components of the device based on the component performance, calculating the internal loss corresponding to the charging device based on the key components, and determining the comprehensive charging loss of the charging device by combining the internal loss, the transmission loss and the charging loss.
[0094] Among them, the control schematic diagram is a detailed circuit design diagram corresponding to the charging device, the internal components of the device are the internal parts of the charging device, the component efficiency is the embodiment of the working performance and efficiency of the internal components of the device, the key components are the important components among the internal components of the device, and the internal loss is the energy loss caused by the internal components of the charging device.
[0095] Furthermore, the control schematic diagram corresponding to the charging device can be obtained by querying the official website of the device manufacturer; the device symbols in the control schematic diagram are identified, and the internal components of the charging device are determined according to the device symbols; the distribution and changes of parameters such as current, voltage, power, etc. on the components, as well as the impact on the performance of the entire circuit can be analyzed through the working conditions of the internal components of the device in the actual circuit, so as to determine the component efficiency of the charging device; the key components in the internal components of the device are identified according to the importance of the component efficiency; the internal loss corresponding to the charging device is calculated by measuring the resistance and current of the key components and using the calculation formula of Ohm's law; the internal loss, the transmission loss and the charging loss are added together to obtain the comprehensive charging loss of the charging device.
[0096] S3. Record the device charging data and device discharging data corresponding to the charging device, calculate the battery aging coefficient corresponding to the device battery used by the charging device based on the device charging data, calculate the capacity reduction rate corresponding to the device battery based on the device discharging data, and evaluate the battery health corresponding to the device battery in combination with the battery aging coefficient and the capacity reduction rate.
[0097] The present invention calculates the battery energy efficiency corresponding to the device battery used by the charging device based on the device charging data, so as to obtain the effectiveness of energy conversion of the device battery during the charging process, thereby facilitating the subsequent evaluation and processing of the battery health corresponding to the device battery, wherein the device charging data is the charging record data of the charging device, and the battery energy efficiency represents the efficiency of energy conversion of the device battery during the charging process. Furthermore, the recording of the device charging data and the device discharging data corresponding to the charging device can be achieved through a data recorder.
[0098] As an embodiment of the present invention, the calculating of the battery aging coefficient corresponding to the device battery used by the charging device based on the device charging data includes: measuring the device charging cycle and the device charging frequency in the charging device from the device charging data, obtaining the reference charging time corresponding to the device battery, and combining the device charging cycle, the device charging frequency and the reference charging time, calculating the duration change gradient corresponding to the device battery used by the charging device by the following formula:
[0099] ;
[0100] Among them, K represents the time change gradient corresponding to the device battery used by the charging device, Indicates the i-th cycle in the device charging cycle, i represents the serial number of the device charging frequency, q represents the total number of device charging frequencies, Indicates the benchmark charging time,
[0101] A battery aging coefficient corresponding to a device battery used by the charging device is determined according to the duration variation gradient.
[0102] Among them, the device charging cycle and the device charging frequency are respectively the charging time and charging times of the charging device in the device charging data, and the benchmark charging time is the standard time required for the device battery to be initially fully charged. Furthermore, the device charging cycle and the device charging frequency in the charging device can be achieved through statistical methods; the benchmark charging time corresponding to the device battery can be obtained through the test data of the device battery. A brand new, unused device battery is charged for the first time in a strictly controlled standard test environment, and the time used is recorded and used as the benchmark charging time.
[0103] The present invention calculates the capacity reduction rate corresponding to the device battery based on the device discharge data, and the capacity reduction rate can be used to understand the proportion of the capacity of the device battery that decreases with use and time, so as to improve the accuracy of subsequent battery health assessment, wherein the capacity reduction rate represents the degree of battery capacity decay of the device battery; the steps for determining the battery aging coefficient corresponding to the device battery used by the charging device are: different aging levels can be divided by setting some threshold ranges of gradient values, and a corresponding aging coefficient is assigned to each level, for example, when the gradient value is between 0 and 0.1, the aging coefficient is set to 0.1; when it is between 0.1 and 0.2, the aging coefficient is set to 0.3, and so on.
[0104] As an embodiment of the present invention, the method of calculating the capacity reduction rate corresponding to the device battery based on the device discharge data includes: extracting the discharge frequency and discharge amount of the device battery from the device discharge data, correcting the discharge amount to obtain a corrected discharge amount, calculating the average discharge amount of the device battery based on the discharge frequency and the corrected discharge amount, calculating the discharge attenuation factor of the device battery in combination with the corrected discharge amount, the average discharge amount and the discharge frequency, and determining the capacity reduction rate corresponding to the device battery according to the discharge attenuation factor.
[0105] Among them, the discharge frequency and the discharge amount are respectively the discharge frequency and the discharge energy of the device battery when in use in the device discharge data; the corrected discharge amount is a value that more accurately reflects the actual discharge condition of the device battery after a series of adjustments and corrections are made to the discharge amount; the discharge attenuation factor is a quantitative indicator of the degree of discharge performance degradation of the device battery; optionally, the ambient temperature corresponding to the discharge amount is determined, and the temperature correction coefficient corresponding to the ambient temperature is queried. The temperature correction coefficient can be obtained by querying the temperature and battery performance literature; the discharge amount is multiplied by the temperature correction coefficient to implement the correction processing of the discharge amount and obtain the corrected discharge amount; according to the discharge attenuation factor, the capacity reduction rate corresponding to the device battery is determined. If the discharge attenuation factor is 0.2, the capacity reduction rate is 0.2×100%=20%.
[0106] Further, as an optional embodiment of the present invention, the calculation of the discharge attenuation factor of the device battery by combining the corrected discharge capacity, the average discharge capacity and the discharge frequency includes:
[0107] The discharge attenuation factor of the battery of the device is calculated by the following formula:
[0108] ;
[0109] in, Indicates the discharge attenuation factor of the device battery, It represents the discharge capacity corresponding to the fth discharge frequency in the corrected discharge capacity, f represents the sequence number of the discharge frequency, and w represents the total number of discharge frequencies. Indicates the average discharge capacity.
[0110] The present invention evaluates the battery health corresponding to the device battery by combining the battery aging coefficient and the capacity reduction rate, so as to understand the health of the device battery, thereby providing a basis for the subsequent charging strategy formulation, wherein the battery health represents the health of the rechargeable battery. Further, in combination with the battery aging coefficient and the capacity reduction rate, the specific steps of evaluating the battery health corresponding to the device battery are: if the battery aging coefficient is 0.3 (0 means brand new, 1 means completely aged), and the capacity reduction rate is 20%, indicating that there is still a long service life, then it indicates that the battery health is good; when the battery aging coefficient reaches 0.5 and the capacity reduction rate is 30%, it indicates that the battery health is medium; if the battery aging coefficient is close to 1 and the capacity reduction rate exceeds 50%, it indicates that the battery health is very poor.
[0111] S4. Determine the allocated charge of the charging device in combination with the current power information and the comprehensive charging loss; formulate a charging strategy for the charging device according to the battery health and the allocated charge; and perform charging control management on the charging device based on the charging strategy and the charging sequence to obtain a charging result.
[0112] The present invention formulates a charging strategy for the charging device according to the battery health and the allocated charge, and then obtains a specific charging method and rule for the charging device to improve the charging efficiency of the charging device, wherein the allocated charge is the amount of electricity that the charging device needs to charge, and the charging strategy is a specific charging scheme corresponding to the charging device. Optionally, the supplementary electricity of the charging device is determined according to the current electricity information, and the supplementary electricity is added to the comprehensive charging loss to obtain the allocated charge of the charging device; the steps of formulating the charging strategy for the charging device according to the battery health and the allocated charge are as follows: if the battery health corresponding to the charging device is high and the allocated charge is large, the charging current can be appropriately increased to speed up the charging speed; if the battery health is low, even if the allocated charge is large, the charging current needs to be controlled to avoid damage to the battery. Specific current and other values can be set according to actual application scenarios, and a charging mode is selected according to the battery health. For different situations, a constant current charging, a constant voltage charging or a pulse charging mode can be selected. For example, when the battery health is good, constant current charging can be performed first, and constant voltage charging can be switched when the battery is nearly full, so as to formulate the charging strategy for the charging device.
[0113] The present invention performs charging control management on the charging device based on the charging strategy and the charging sequence, thereby improving the control management efficiency of the charging device. Furthermore, the charging control management of the charging device can be achieved through an intelligent charging controller, and the charging strategy and the charging sequence are input into the intelligent charging controller as parameters, so as to achieve charging control management of the charging device. The intelligent charging controller can be designed by a programming tool, and the programming tool includes Keil, IAR Embedded Workbench, etc.
[0114] The present invention sets the charging sequence corresponding to the charging device according to the device application scenario and the current power information, so that the charging device needs to perform charging priority processing in the subsequent charging device, so as to improve the charging efficiency of the charging device. The present invention can obtain the current loss degree of the charging device during the charging process by calculating the transmission loss corresponding to the charging device, thereby facilitating the subsequent calculation and processing of the comprehensive charging loss of the charging device. The present invention calculates the battery energy efficiency corresponding to the device battery used by the charging device based on the device charging data, and can obtain the effective degree of energy conversion of the device battery during the charging process, thereby facilitating the subsequent evaluation and processing of the battery health corresponding to the device battery. The present invention formulates the charging strategy of the charging device according to the battery health and the allocated charge amount, and then obtains the specific charging method and rules of the charging device to improve the charging efficiency of the charging device. Therefore, the device control method applied to the charging of the power adapter provided in the embodiment of the present invention can improve the rationality of the device control under the charging of the power adapter.
[0115] like Figure 2 1 is a functional module diagram of a device control system for charging with a power adapter provided by an embodiment of the present invention.
[0116] The device control system 100 for power adapter charging described in the present invention can be installed in an electronic device. According to the functions implemented, the device control system 100 for power adapter charging can include a charging sequence setting module 101, a charging comprehensive loss determination module 102, a battery health evaluation module 103 and a charging control management module 104. The module described in the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0117] In this embodiment, the functions of each module / unit are as follows:
[0118] The charging sequence setting module 101 is used to obtain a charging device of the power adapter, analyze the device application scenario corresponding to the charging device, collect the current power information corresponding to the charging device, and set the charging sequence corresponding to the charging device according to the device application scenario and the current power information;
[0119] The charging comprehensive loss determination module 102 is used to calculate the transmission loss corresponding to the charging device and the charging loss corresponding to the power adapter, and determine the charging comprehensive loss of the charging device by combining the transmission loss and the charging loss;
[0120] The battery health evaluation module 103 is used to record the device charging data and device discharging data corresponding to the charging device, calculate the battery aging coefficient corresponding to the device battery used by the charging device based on the device charging data, calculate the capacity reduction rate corresponding to the device battery based on the device discharging data, and evaluate the battery health corresponding to the device battery in combination with the battery aging coefficient and the capacity reduction rate;
[0121] The charging control management module 104 is used to determine the allocated charge of the charging device in combination with the current power information and the comprehensive charging loss, formulate a charging strategy for the charging device according to the battery health and the allocated charge, and perform charging control management on the charging device based on the charging strategy and the charging sequence to obtain a charging result.
[0122] In detail, each module described in the device control system 100 for charging with a power adapter described in the embodiment of the present application is used in the same manner as described above. Figure 1 The same technical means as the device control method applied to power adapter charging described in the text can produce the same technical effects, which will not be repeated here.
[0123] In the several embodiments provided by the present invention, it should be understood that the provided methods and systems can be implemented in other ways. For example, the method embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0124] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A device control method for charging with a power adapter, It is characterized in that The method comprises: Acquire a charging device of a power adapter, analyze a device application scenario corresponding to the charging device, collect current power information corresponding to the charging device, and set a charging sequence corresponding to the charging device according to the device application scenario and the current power information, wherein setting the charging sequence corresponding to the charging device according to the device application scenario and the current power information includes: Identifying a scene descriptor in the device application scene; Based on the scenario descriptor, analyzing a device behavior pattern of the charging device in the device application scenario; Extracting device attributes corresponding to the charging device, and calculating relative entropy between the device behavior pattern and the device attributes; Determining, according to the relative entropy, a scene importance corresponding to the device application scene; Based on the current power information, determining the remaining power ratio corresponding to the charging device; Based on the importance of the scene and the proportion of the remaining power, setting a charging sequence corresponding to the charging device; The calculating the relative entropy between the device behavior pattern and the device attribute includes: Extracting pattern features corresponding to the device behavior pattern, and quantifying the pattern features to obtain pattern feature values; Vectorizing the device attributes to obtain an attribute vector, and calculating an eigenvalue corresponding to the attribute vector to obtain an attribute eigenvalue; Combining the pattern feature value and the attribute feature value, the relative entropy between the device behavior pattern and the device attribute is calculated by the following formula: ; Among them, A represents the relative entropy between the device behavior pattern and the device attributes, represents the probability corresponding to the ath eigenvalue in the pattern eigenvalue, a represents the sequence number of the pattern eigenvalue, represents the probability corresponding to the bth eigenvalue in the attribute eigenvalue, and b represents the serial number of the attribute eigenvalue; Calculating the transmission loss corresponding to the charging device and the charging loss corresponding to the power adapter, and determining the comprehensive charging loss of the charging device by combining the transmission loss and the charging loss; Record device charging data and device discharging data corresponding to the charging device, calculate a battery aging coefficient corresponding to a device battery used by the charging device based on the device charging data, calculate a capacity reduction rate corresponding to the device battery based on the device discharging data, and evaluate the battery health corresponding to the device battery by combining the battery aging coefficient and the capacity reduction rate; In combination with the current power information and the comprehensive charging loss, the allocated charge of the charging device is determined; according to the battery health and the allocated charge, a charging strategy for the charging device is formulated; based on the charging strategy and the charging sequence, charging control management of the charging device is performed to obtain a charging result.
2. A device control method for charging with a power adapter as claimed in claim 1, It is characterized in that The calculating the transmission loss corresponding to the charging device includes: Obtaining a charging cable corresponding to the charging device, and measuring a cable length corresponding to the charging cable; Determining a current transmission span of the charging device during charging based on the cable length; Detecting the cable current of the charging cable during the charging process, and querying the cable parameters corresponding to the charging cable; The transmission loss corresponding to the charging device is calculated based on the cable parameters, the cable current, and the current transmission span.
3. A device control method for charging with a power adapter as claimed in claim 2, It is characterized in that The calculating the transmission loss corresponding to the charging device by combining the cable parameters, the cable current and the current transmission span includes: Extracting a cable resistance value corresponding to the charging cable from the cable parameters, and measuring a cable outer diameter corresponding to the charging cable; Based on the outer diameter of the cable, the cable cross-sectional area of the charging cable is calculated by the following formula: ; Where E represents the cross-sectional area of the charging cable, d represents the outer diameter of the cable, and e represents the insulation thickness of the charging cable. The transmission loss corresponding to the charging device is calculated by combining the cable cross-sectional area, the cable resistance value, the cable current and the current transmission span using the following formula: ; Among them, G represents the transmission loss corresponding to the charging device, F represents the cable resistance value, I represents the cable current, H represents the current transmission span, and E represents the cable cross-sectional area.
4. A device control method for charging with a power adapter as claimed in claim 1, It is characterized in that The determining the comprehensive charging loss of the charging device by combining the transmission loss and the charging loss includes: Querying a control schematic diagram corresponding to the charging device, and determining internal components of the charging device based on the control schematic diagram; Analyzing component performance corresponding to the internal components of the device, and identifying key components among the internal components of the device based on the component performance; Based on the key components, calculating the internal loss corresponding to the charging device; The comprehensive charging loss of the charging device is determined by combining the internal loss, the transmission loss and the charging loss.
5. A device control method for charging with a power adapter as claimed in claim 1, It is characterized in that The calculating, based on the device charging data, a battery aging coefficient corresponding to a device battery used by the charging device includes: Measuring a device charging cycle and a device charging frequency in the charging device from the device charging data; Obtaining a reference charging time corresponding to the battery of the device; In combination with the device charging cycle, the device charging frequency and the reference charging time, the duration change gradient corresponding to the device battery used by the charging device is calculated by the following formula: ; Among them, K represents the time change gradient corresponding to the device battery used by the charging device, Indicates the i-th cycle in the device charging cycle, i represents the serial number of the device charging frequency, q represents the total number of device charging frequencies, Indicates the benchmark charging time, A battery aging coefficient corresponding to a device battery used by the charging device is determined according to the duration variation gradient.
6. A device control method for charging with a power adapter as claimed in claim 1, It is characterized in that The calculating, based on the device discharge data, a capacity reduction rate corresponding to the device battery includes: Extracting the discharge frequency and discharge amount of the battery of the device from the device discharge data; performing correction processing on the discharge amount to obtain a corrected discharge amount; Calculating an average discharge capacity of the device battery based on the discharge frequency and the corrected discharge capacity; Calculate the discharge attenuation factor of the device battery by combining the corrected discharge capacity, the average discharge capacity and the discharge frequency; According to the discharge attenuation factor, a capacity reduction rate corresponding to the device battery is determined.
7. A device control method for charging with a power adapter as claimed in claim 6, It is characterized in that The calculating the discharge attenuation factor of the device battery by combining the corrected discharge capacity, the average discharge capacity and the discharge frequency includes: The discharge attenuation factor of the battery of the device is calculated by the following formula: ; in, Indicates the discharge attenuation factor of the device battery, It represents the discharge capacity corresponding to the fth discharge frequency in the corrected discharge capacity, f represents the sequence number of the discharge frequency, and w represents the total number of discharge frequencies. Indicates the average discharge capacity.
8. A device control system used for charging with a power adapter, It is characterized in that The system comprises: A charging sequence setting module is used to obtain a charging device of a power adapter, analyze a device application scenario corresponding to the charging device, collect current power information corresponding to the charging device, and set a charging sequence corresponding to the charging device according to the device application scenario and the current power information, wherein setting a charging sequence corresponding to the charging device according to the device application scenario and the current power information includes: Identifying a scene descriptor in the device application scene; Based on the scenario descriptor, analyzing a device behavior pattern of the charging device in the device application scenario; Extracting device attributes corresponding to the charging device, and calculating relative entropy between the device behavior pattern and the device attributes; Determining, according to the relative entropy, a scene importance corresponding to the device application scene; Based on the current power information, determining the remaining power ratio corresponding to the charging device; Based on the importance of the scene and the proportion of the remaining power, setting a charging sequence corresponding to the charging device; The calculating the relative entropy between the device behavior pattern and the device attribute includes: Extracting pattern features corresponding to the device behavior pattern, and quantifying the pattern features to obtain pattern feature values; Vectorizing the device attributes to obtain an attribute vector, and calculating an eigenvalue corresponding to the attribute vector to obtain an attribute eigenvalue; Combining the pattern feature value and the attribute feature value, the relative entropy between the device behavior pattern and the device attribute is calculated by the following formula: ; Where A represents the relative entropy between the device behavior pattern and the device attributes. represents the probability corresponding to the ath eigenvalue in the pattern eigenvalue, a represents the sequence number of the pattern eigenvalue, represents the probability corresponding to the bth eigenvalue in the attribute eigenvalue, and b represents the serial number of the attribute eigenvalue; A charging comprehensive loss determination module, used to calculate the transmission loss corresponding to the charging device, calculate the charging loss corresponding to the power adapter, and determine the charging comprehensive loss of the charging device by combining the transmission loss and the charging loss; A battery health evaluation module, used to record device charging data and device discharging data corresponding to the charging device, calculate a battery aging coefficient corresponding to a device battery used by the charging device based on the device charging data, calculate a capacity reduction rate corresponding to the device battery based on the device discharging data, and evaluate the battery health corresponding to the device battery in combination with the battery aging coefficient and the capacity reduction rate; A charging control management module is used to determine the allocated charge of the charging device in combination with the current power information and the comprehensive charging loss, formulate a charging strategy for the charging device according to the battery health and the allocated charge, and perform charging control management on the charging device based on the charging strategy and the charging sequence to obtain a charging result.
Citation Information
Patent Citations
Equalization method of energy storage battery pack management system based on neural network and medium
CN117613421A
Distributed equipment abnormality detection system for monitoring physical amounts of equipments and detecting abnormality of each equipment
US20180143942A1
