A method, device, equipment and storage medium for diagnosing power adapter faults

By collecting the working data of the power adapter in real time and setting thresholds, the problem of inability to evaluate the status and faults of the power adapter in real time in the prior art is solved, and accurate fault diagnosis and early warning of the power adapter is achieved, ensuring the safe use of the equipment.

CN119535080BActive Publication Date: 2025-04-25SHENZHEN HUAJIN ELECTRONICS CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510109572.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-04-25
Estimated Expiration
2045-01-23

AI Technical Summary

Technical Problem

The existing power adapter cannot collect working status data in real time, cannot judge faults, and cannot achieve fault prediction and early warning, resulting in the inability to accurately evaluate the working status and health of the power adapter.

Method used

By obtaining component data, voltage data, current data and temperature data of the power adapter, and setting data thresholds, we can judge whether the temperature, component power consumption, number of faults and alarms exceed the threshold in real time, output fault events and alarms, and calculate the remaining life.

Benefits of technology

It realizes an accurate assessment of the working status and health of the power adapter, and can warn and diagnose faults in real time to ensure the safe use of the power adapter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119535080B_ABST
    Figure CN119535080B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and storage medium for diagnosing power adapter faults, the method comprising obtaining working data of the power adapter and setting a data threshold; judging whether the temperature is greater than the temperature threshold; when the temperature is greater than the threshold, calculating the power consumption; judging whether the power consumption is greater than the power consumption threshold; when the power consumption is greater than the threshold, outputting a fault event; recording the number of fault events and judging whether it is greater than the fault number threshold; when the fault number is greater than the threshold, outputting a fault alarm; recording the number of fault alarms and judging whether it is greater than the alarm number threshold; if the alarm number is less than the threshold, calculating the remaining life of the power adapter; if the alarm number is greater than the threshold, issuing a maintenance alarm. The method has the following effects: real-time acquisition of the working data of the power adapter, and diagnosis using an algorithm, thereby judging whether the power adapter is normal, and then calling a staff member for maintenance to ensure the safety of the power adapter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power adapters, and in particular to a method, device, equipment and storage medium for diagnosing power adapter faults. Background Art

[0002] A power adapter is a power supply conversion device for small portable electronic devices and electronic appliances. It is generally a small portable charger. Charging equipment, commonly used electrical connector, with a charger. It is generally composed of components such as a housing, a transformer, an inductor, a capacitor, and a PCB board. Its working principle is to convert AC input into DC output; according to the connection method, it can be divided into wall-mounted and desktop types. It is widely used in laptops.

[0003] However, in the case of overheating, overcurrent, overload, and short circuit, the power adapter is prone to failure and damage. In order to ensure the normal operation of the equipment using the power adapter, it is necessary to accurately evaluate the working status and health of the power adapter; when the power adapter fails, it can provide real-time warnings to prompt the fault for diagnosis and repair. Therefore, in order to ensure the accuracy of the evaluation of the working status and health of the power adapter, in addition to calculating the faults judged in the data, it is also necessary to diagnose and handle abnormal events in the data.

[0004] In a prior art, a power adapter is disclosed, including a housing, a transformer installed in the housing, a primary control circuit, a secondary control circuit, and an output plug socket installed outside the housing; the primary control circuit includes a pulse drive circuit, a primary drive element, and a primary MOSFET component; wherein a heat dissipation device is provided in the housing, and the heat dissipation device includes a heat conducting element provided between the transformer and the primary MOSFET component, and a cooling device provided between the secondary control circuit and the primary control circuit. The power adapter achieves spatial isolation of the primary control circuit and the transformer by adding a cooling device between the secondary control circuit and the primary control circuit, effectively reduces the conduction loss of the primary switch tube, and has a good heat dissipation effect.

[0005] However, in the above-mentioned prior art, the power adapter cannot collect the working status data of the power adapter in real time, nor can it judge the failure of the power adapter, and cannot achieve the prediction of failure and early warning, so it is impossible to accurately evaluate the working status and health of the power adapter. In particular, when the power adapter fails, there is a technical problem that predictive maintenance cannot be performed. Summary of the invention

[0006] The present invention provides a method, device, electronic device and storage medium for diagnosing a power adapter fault, so as to solve the problem that the working state and health level of the power adapter cannot be accurately and timely evaluated.

[0007] In a first aspect, in order to solve the above technical problem, the present invention provides a method for diagnosing a power adapter fault, comprising:

[0008] Obtaining working data of the power adapter and setting data thresholds; wherein the working data includes component data, voltage data, current data and temperature data of the power adapter; the data thresholds include temperature thresholds, component power consumption thresholds, fault occurrence thresholds and alarm number thresholds;

[0009] Determine whether the temperature data is greater than the temperature threshold; when the temperature data is greater than the temperature threshold, calculate the power consumption of the component according to the temperature data, the voltage data and the current data;

[0010] Determine whether the power consumption of the component is greater than the power consumption threshold of the component; when the power consumption of the component is greater than the power consumption threshold of the component, output a fault event;

[0011] Record the fault event and obtain the number of fault occurrences of the fault event;

[0012] Determine whether the number of fault occurrences is greater than the fault occurrence threshold; when the number of fault occurrences is greater than the fault occurrence threshold, output a fault alarm;

[0013] Record the fault alarm and obtain the alarm times of the fault alarm;

[0014] Determine whether the alarm number is greater than the alarm number threshold; if the alarm number is less than the alarm number threshold, calculate and obtain the remaining life of the power adapter based on the component data and the alarm number; if the alarm number is greater than the alarm number threshold, issue a maintenance alarm.

[0015] In an optional implementation, the determining whether the temperature data is greater than the temperature threshold; when the temperature data is greater than the temperature threshold, calculating the power consumption of the component according to the temperature data, the voltage data, and the current data, includes:

[0016] According to the temperature data, an average temperature is calculated;

[0017] Determine whether the average temperature is greater than the temperature threshold; when the average temperature is greater than the temperature threshold, calculate the power consumption of the component according to the temperature data, the voltage data and the current data.

[0018] In an optional implementation, if the alarm number is less than the alarm number threshold, calculating and obtaining the remaining life of the power adapter according to the component data and the alarm number includes:

[0019] Obtaining an estimated service life and usage time of the power adapter according to the component data;

[0020] Calculating the historical failure rate of the power adapter according to the number of alarms;

[0021] The remaining life is calculated based on the historical failure rate, the expected service life and the used time.

[0022] In an optional implementation, calculating the average temperature according to the temperature data includes:

[0023] According to the temperature data, obtaining the maximum temperature and the minimum temperature;

[0024] Calculating the average temperature according to the maximum temperature and the minimum temperature;

[0025] The average temperature is calculated according to the following formula:

[0026]

[0027] in, represents the average temperature, represents the maximum temperature, Indicates the minimum temperature.

[0028] In an optional implementation, when the average temperature is greater than the temperature threshold, calculating the power consumption of the component according to the temperature data, the voltage data, and the current data includes:

[0029] Sampling the voltage data and the current data to obtain sampled voltage data and sampled current data;

[0030] Calculating the resistance of each component according to the temperature data;

[0031] The power consumption of the component is calculated according to the resistance value, the sampled voltage data and the sampled current data.

[0032] In an optional implementation manner, calculating the historical failure rate of the power adapter according to the number of alarms includes:

[0033] The historical failure rate is calculated according to the following formula:

[0034]

[0035] in, represents the historical failure rate, Indicates the number of alarms, Indicates the total operating time of the power adapter.

[0036] In an optional implementation manner, the calculating the remaining life according to the historical failure rate, the expected service life and the used time includes:

[0037] The remaining life is calculated according to the following formula:

[0038]

[0039] in, represents the remaining life, represents the estimated useful life, Indicates the elapsed time. represents the historical failure rate.

[0040] In an optional implementation, calculating the resistance of each component according to the temperature data includes:

[0041] The resistance value is calculated according to the following formula:

[0042]

[0043] in, Indicates The resistance value of each component, Indicates The resistance value of a component at a reference temperature, Indicates The temperature coefficient of each component is Indicates The real-time temperature value of each component, Indicates the reference temperature.

[0044] In an optional implementation manner, the calculating the power consumption of the component according to the resistance value, the sampled voltage data, and the sampled current data includes:

[0045] The power consumption of the component is calculated according to the following formula:

[0046]

[0047]

[0048] in, represents the power consumption of the component, represents the power consumption of a component, Indicates The sampled voltage data of the sampling points, Indicates The sampled current data of the sampling points, Represents the interval time between two sampling points. represents the total number of sampling points, Represents the total number of components, Indicates The resistance value of each element, Indicates The stated resistance of a component at a reference temperature.

[0049] In a second aspect, the present invention provides a device for diagnosing a power adapter fault, characterized in that it includes:

[0050] A data acquisition module, used to acquire the working data of the power adapter and set data thresholds; wherein the working data includes component data, voltage data, current data and temperature data of the power adapter; the data thresholds include temperature thresholds, component power consumption thresholds, fault occurrence thresholds and alarm number thresholds;

[0051] A temperature judgment module, used to judge whether the temperature data is greater than the temperature threshold; when the temperature data is greater than the temperature threshold, the power consumption of the component is calculated according to the temperature data, the voltage data and the current data;

[0052] A power consumption judgment module, used to judge whether the power consumption of the component is greater than the power consumption threshold of the component; when the power consumption of the component is greater than the power consumption threshold of the component, a fault event is output;

[0053] A fault recording module, used to record the fault event and obtain the number of fault occurrences of the fault event;

[0054] A fault occurrence judgment module is used to judge whether the number of fault occurrences is greater than the fault occurrence threshold; when the number of fault occurrences is greater than the fault occurrence threshold, a fault alarm is output;

[0055] An alarm recording module, used to record the fault alarm and obtain the alarm times of the fault alarm;

[0056] The alarm processing module is used to determine whether the alarm number is greater than the alarm number threshold; if the alarm number is less than the alarm number threshold, calculate and obtain the remaining life of the power adapter based on the component data and the alarm number; if the alarm number is greater than the alarm number threshold, issue a maintenance alarm.

[0057] In a third aspect, the present invention further provides an electronic device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements any one of the above-mentioned methods for diagnosing power adapter faults when executing the computer program.

[0058] In a fourth aspect, the present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods for diagnosing power adapter faults described above.

[0059] Compared with the prior art, the present invention has the following beneficial effects:

[0060] The present invention provides a method for diagnosing a power adapter fault, comprising obtaining working data of a power adapter and setting a data threshold; wherein the working data comprises component data, voltage data, current data and temperature data of the power adapter; the data threshold comprises a temperature threshold, a component power consumption threshold, a fault occurrence threshold and an alarm number threshold; judging whether the temperature data is greater than the temperature threshold; when the temperature data is greater than the temperature threshold, calculating and obtaining the component power consumption according to the temperature data, voltage data and current data; judging whether the component power consumption is greater than the component power consumption threshold; when the component power consumption is greater than the component power consumption threshold, outputting a fault event; recording the fault event and obtaining the fault occurrence number of the fault event; judging whether the fault occurrence number is greater than the fault occurrence threshold; when the fault occurrence number is greater than the fault occurrence threshold, outputting a fault alarm; recording the fault alarm and obtaining the alarm number of the fault alarm; judging whether the alarm number is greater than the alarm number threshold; if the alarm number is less than the alarm number threshold, calculating and obtaining the remaining life of the power adapter according to the component data and the alarm number; and issuing a maintenance alarm if the alarm number is greater than the alarm number threshold.

[0061] The method collects the working data of the power adapter such as temperature, voltage, current, etc. in real time and uses a preset algorithm for diagnosis to determine whether the components of the power adapter are working normally and record the abnormality or failure. When the abnormality or failure reaches a certain threshold, the power adapter will issue a corresponding alarm to call the staff for maintenance and replacement, thereby ensuring the safe use of the power adapter. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 is a flowchart of a power adapter fault diagnosis method provided by the first embodiment of the present invention;

[0063] Figure 2 It is a schematic diagram of the structure of a power adapter fault diagnosis device provided by the second embodiment of the present invention. DETAILED DESCRIPTION

[0064] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] Reference Figure 1 The first embodiment of the present invention provides a method for diagnosing a power adapter fault, comprising the following steps:

[0066] S1, obtaining working data of the power adapter and setting data thresholds; wherein the working data includes component data, voltage data, current data and temperature data of the power adapter; the data thresholds include temperature thresholds, component power consumption thresholds, fault occurrence thresholds and alarm number thresholds;

[0067] S2, determining whether the temperature data is greater than the temperature threshold; when the temperature data is greater than the temperature threshold, calculating the power consumption of the component according to the temperature data, the voltage data and the current data;

[0068] S3, determining whether the power consumption of the component is greater than the power consumption threshold of the component; when the power consumption of the component is greater than the power consumption threshold of the component, outputting a fault event;

[0069] S4, recording the fault event and obtaining the number of occurrences of the fault event;

[0070] S5, determining whether the number of occurrences of the fault is greater than the threshold number of occurrences of the fault; when the number of occurrences of the fault is greater than the threshold number of occurrences of the fault, outputting a fault alarm;

[0071] S6, recording the fault alarm and obtaining the alarm times of the fault alarm;

[0072] S7, determine whether the alarm number is greater than the alarm number threshold; if the alarm number is less than the alarm number threshold, calculate and obtain the remaining life of the power adapter based on the component data and the alarm number; if the alarm number is greater than the alarm number threshold, issue a maintenance alarm.

[0073] It should be noted that in some existing technologies, the power adapter cannot collect the working status data of the power adapter in real time, nor can it determine whether the power adapter has failed, and cannot achieve fault prediction and early warning, so it is impossible to accurately evaluate the working status and health of the power adapter. In particular, when the power adapter fails, predictive maintenance cannot be performed, which leads to more serious consequences.

[0074] In the present invention, by collecting the working data of the power adapter such as temperature, voltage, current, etc. in real time and using a preset algorithm for diagnosis, it is determined whether the components of the power adapter are working normally, and the abnormality or failure is recorded. When the abnormality or failure reaches a certain threshold, the power adapter will issue a corresponding alarm to call the staff for maintenance and replacement, thereby ensuring the safe use of the power adapter.

[0075] In step S1, it is necessary to first obtain the working data of the current power adapter and set a corresponding data threshold for the power adapter.

[0076] In one embodiment, the working data includes component data, voltage data, current data and temperature data of the power adapter; the data thresholds include temperature thresholds, component power consumption thresholds, fault occurrence thresholds and alarm number thresholds.

[0077] Specifically, use professional testing equipment or software to connect to the power adapter, then start the test program to monitor and record key data such as the output voltage, current, temperature, etc. of the power adapter in real time. At the same time, the relevant staff will set reasonable voltage, current, power and other data thresholds for the power adapter according to the working specifications and actual needs of the power adapter, and input them into the power adapter fault diagnosis device.

[0078] It should be noted that setting data thresholds can not only protect the power adapter from damage, but also ensure that the power it outputs can meet the actual needs of the device. Once the working data of the power adapter exceeds the set threshold, measures should be taken immediately to adjust or repair it to avoid potential safety hazards. In addition, it is necessary to regularly back up and record the working data and thresholds of the power adapter so that they can be compared and analyzed when necessary.

[0079] In step S2, determine whether the acquired temperature data is greater than the preset temperature threshold; if the temperature data is greater than the temperature threshold, calculate the component power consumption based on the temperature data, the voltage data and the current data; if the temperature data is less than the temperature threshold, continue to wait until a greater-than situation occurs.

[0080] In one implementation, the determining whether the temperature data is greater than the temperature threshold; when the temperature data is greater than the temperature threshold, calculating the power consumption of the component according to the temperature data, the voltage data, and the current data, comprises the following steps:

[0081] S21, calculating an average temperature according to the temperature data;

[0082] S22, determining whether the average temperature is greater than the temperature threshold; when the average temperature is greater than the temperature threshold, calculating the power consumption of the component according to the temperature data, the voltage data and the current data.

[0083] In step S21, the average temperature is calculated based on the temperature data, including the following steps:

[0084] S211, obtaining the maximum temperature and the minimum temperature according to the temperature data.

[0085] S212: Calculate the average temperature according to the maximum temperature and the minimum temperature.

[0086] In step S211, it is first necessary to obtain temperature data obtained using the program, then store it in a spreadsheet or a database, and finally sort the temperature data to obtain the highest temperature and the lowest temperature.

[0087] It should be noted that before storing temperature data, data collation is required to remove abnormal values ​​and invalid data to ensure data reliability. In addition, as the temperature data increases, the maximum and minimum temperatures will also change accordingly. Therefore, it is necessary to re-test the maximum and minimum temperature values ​​at a certain interval to replace them with real-time accurate values.

[0088] In step S212, the calculating the average temperature according to the maximum temperature and the minimum temperature includes calculating the average temperature according to the following formula:

[0089]

[0090] in, represents the average temperature, represents the maximum temperature, Indicates the minimum temperature.

[0091] It should be noted that the values ​​of the highest and lowest temperatures must be accurate, otherwise it will affect the accuracy of the average temperature. At the same time, it is necessary to ensure that the temperature units (such as Celsius and Fahrenheit) used in the calculation process are consistent to avoid unit conversion errors.

[0092] In step S22, the determining whether the average temperature is greater than the temperature threshold; when the average temperature is greater than the temperature threshold, the power consumption of the component is calculated according to the temperature data, the voltage data, and the current data, including the following steps:

[0093] S221, sampling the voltage data and the current data to obtain sampled voltage data and sampled current data.

[0094] S222, calculating the resistance value of each component according to the temperature data.

[0095] S223, calculating the power consumption of the component according to the resistance value, the sampled voltage data, and the sampled current data.

[0096] In step S221, firstly, the sampling frequency, sampling accuracy and other parameters need to be set to ensure the accuracy of the collected data; then, sampling operations are performed from the saved voltage data and current data to obtain sampled voltage data and sampled current data; finally, necessary data processing is performed on the obtained sampled data, such as filtering and denoising, to improve the accuracy and reliability of the data. At the same time, the data is formatted, annotated and processed as needed to facilitate subsequent analysis and application.

[0097] It should be noted that the sampling frequency and accuracy should be set according to actual needs to avoid inaccurate data or waste of resources caused by too high or too low sampling frequency and accuracy. In addition, when processing the sampled data, the appropriate processing method should be selected according to actual needs to avoid data distortion or information loss caused by over-processing or under-processing.

[0098] In step S222, the resistance value of each component is calculated according to the temperature data, including obtaining the resistance value according to the following formula:

[0099]

[0100] in, Indicates The resistance value of each element, Indicates The resistance value of a component at a reference temperature, Indicates The temperature coefficient of each component is Indicates The real-time temperature value of each component, Indicates the reference temperature.

[0101] It should be noted that the power adapter includes multiple components, and the resistance of each component will be different; and each component will produce different temperatures under different voltages and currents, and different temperatures will affect the resistance of each component. Therefore, in order to more accurately calculate the subsequent component power consumption, it is necessary to refer to the temperature under the standard state and calculate the resistance of each component at the current real-time temperature. At the same time, the measurement error and calculation error must also be considered in the calculation process to ensure the reliability of the results.

[0102] In step S223, the power consumption of the component is calculated according to the resistance value, the sampled voltage data and the sampled current data, including calculating the power consumption of the component according to the following formula:

[0103]

[0104]

[0105] in, represents the power consumption of the component, represents the power consumption of a component, Indicates The sampled voltage data of the sampling points, Indicates The sampled current data of the sampling points, Represents the interval time between two sampling points. represents the total number of sampling points, Represents the total number of components. By calculating the power consumption of each component, the total power consumption of the power adapter components can be obtained. Indicates The resistance value of each element, Indicates The stated resistance of a component at a reference temperature.

[0106] It should be noted that during the calculation process, ensure that the units of all data are consistent to avoid calculation errors caused by unit mismatch. At the same time, factors such as the nonlinear characteristics of the components or temperature effects need to be considered, which will affect the accuracy of the calculation results. If the components have obvious characteristics in these aspects, additional correction or compensation is required.

[0107] In step S3, determine whether the calculated component power consumption is greater than the preset component power consumption threshold; if the component power consumption is greater than the component power consumption threshold, output a fault event; if the component power consumption is less than the component power consumption threshold, continue to wait for the next greater situation.

[0108] Specifically, first, the calculated component power consumption data is obtained from the relevant monitoring system or sensor. These data are usually updated in real time or regularly, reflecting the power consumption of the component in the current working state; then, the obtained component power consumption data is compared with the preset power consumption threshold. If the component power consumption is greater than the preset power consumption threshold, it means that the component power consumption is abnormal, there is a fault or overload, and it needs to be output as a fault event; if the component power consumption is less than the preset power consumption threshold, it means that the current component power consumption is in normal state, and the system should continue to wait and monitor the next power consumption exceeding the standard.

[0109] It should be noted that a fault event does not directly mean that the current power adapter has a fault and needs to be repaired, because during normal use, the various parameters of the power adapter also produce abnormal values, but there is no fault. Therefore, it is only necessary to output the current situation as a fault event and record it for later judgment. In addition, the entire monitoring and judgment process should remain stable and reliable to avoid misjudgment or missed judgment due to system failures.

[0110] In step S4, the fault event output in step S3 is recorded to obtain the number of fault occurrences of the fault event.

[0111] Specifically, the fault events output in the previous step and all related information are recorded, including but not limited to the fault type, occurrence time, impact scope, and preliminary diagnosis results. Then, the number of fault occurrences of these fault events is recorded and counted. The number of fault occurrences is an important indicator to measure the severity and frequency of faults, which is helpful for subsequent analysis and formulation of preventive measures.

[0112] It should be noted that the recorded information should be as comprehensive as possible, covering all aspects of the fault event, so that sufficient information can be obtained for subsequent analysis. In addition, the recorded fault events and fault occurrence times can be reviewed and analyzed regularly to discover potential failure modes or trends, providing a basis for improving system design and preventive measures.

[0113] In step S5, determine whether the number of fault occurrences obtained by statistics is greater than the preset fault occurrence threshold; if the number of fault occurrences is greater than the fault occurrence threshold, output a fault alarm; if the number of fault occurrences is less than the fault occurrence threshold, continue to wait for the next greater situation.

[0114] In one embodiment, if the alarm number is less than the alarm number threshold, calculating and obtaining the remaining life of the power adapter according to the component data and the alarm number includes the following steps:

[0115] S51, obtaining an estimated service life and usage time of the power adapter according to the component data.

[0116] S52: Calculate the historical failure rate of the power adapter according to the number of alarms.

[0117] S53: Calculate the remaining life according to the historical failure rate, the expected service life and the used time.

[0118] In step S51, the estimated service life and the used time of the power adapter can be found and obtained according to the component data of the current power adapter. The estimated service life is generally provided by the manufacturer, and the used time needs to be recorded separately.

[0119] It should be noted that the estimated service life is a statistical value derived from multiple experiments. Therefore, for different power adapters, the actual service life may deviate from the estimated service life due to different usage environments, quality, usage intensity and other factors, and the difference may even be large. Therefore, the remaining life calculated using the estimated service life is also an estimated value and is for theoretical reference only.

[0120] In step S52, the historical failure rate of the power adapter is calculated according to the alarm times, including calculating the historical failure rate according to the following formula:

[0121]

[0122] in, represents the historical failure rate, Indicates the number of alarms, Indicates the total operating time of the power adapter.

[0123] It should be noted that the historical failure rate refers to an indicator used to measure the frequency of failures in a system or device over a period of time. By calculating the ratio of the number of alarms (i.e., abnormal operation time) to the total operation time, the historical failure rate of the power adapter can be roughly calculated. However, each power adapter will have different historical failure rates due to different reasons, so when calculating the overall historical failure rate, it is necessary to perform multiple calculations and take the average value, and the historical failure rate obtained is only a reference value.

[0124] In step S53, the remaining life is calculated according to the historical failure rate, the expected service life and the used time, including calculating the remaining life according to the following formula:

[0125]

[0126] in, represents the remaining life, represents the estimated useful life, Indicates the elapsed time. represents the historical failure rate.

[0127] It should be noted that since the power adapter has a certain historical failure rate, this failure rate reflects the frequency and regularity of its failures in the past period of time. Therefore, when calculating its remaining service life, the possibility of failure and its impact must be considered, and this is substituted into the formula for calculation, so as to ensure that the remaining life prediction result is closer to the actual situation.

[0128] In step S6, the fault alarm output in step S5 is recorded to obtain the alarm count of the fault alarm.

[0129] Specifically, the fault alarms output in the previous step and all related information are recorded. Then, the alarm times of these fault alarms are recorded and counted. Among them, the alarm times are an important parameter that directly determines whether to issue an alarm to relevant personnel in the future, so the accuracy of the records needs to be guaranteed.

[0130] In step S7, determine whether the number of alarms obtained by statistics is greater than the preset alarm threshold; if the number of alarms is less than the alarm threshold, calculate the remaining life of the power adapter based on the component data and the alarm number; if the number of alarms is greater than the alarm threshold, issue a maintenance alarm to remind the staff.

[0131] Specifically, the number of alarms obtained by statistics is judged, specifically, it is compared with the preset alarm number threshold, so as to determine whether the number of alarms exceeds the normal range. If it is found through comparison that the number of alarms is less than the alarm number threshold, it means that the operating state of the power adapter is relatively stable and there are no frequent fault alarms. Then, the remaining life of the power adapter can be predicted using a formula based on the currently acquired component data and the specific situation of the alarm number. However, if the comparison result shows that the number of alarms is greater than the alarm number threshold, this indicates that the power adapter has a more serious fault problem, or its operating state has shown obvious abnormalities. At this time, it is necessary to immediately issue a maintenance alarm to remind relevant staff to check and repair the power adapter in time to avoid further deterioration of the fault and affect the normal operation and service life of the equipment.

[0132] To facilitate understanding of the present invention, the working process of the present invention is described below using a relatively common scenario as an example.

[0133] In this embodiment, a power adapter fault diagnosis system is planned to be introduced. The system is designed to be able to obtain the working data of the power adapter in real time, and diagnose its working state according to an algorithm, so as to handle the fault or abnormal state in time.

[0134] Step 1: The system obtains various working data of the power adapter and sets the threshold of each required data.

[0135] Step 2: The system determines whether the temperature data is greater than a temperature threshold; if the temperature data is greater than the temperature threshold, the power consumption of the component is calculated based on the working data.

[0136] Step three: The system determines whether the component power consumption is greater than the component power consumption threshold; if the component power consumption is greater than the component power consumption threshold, the current situation is output as a fault event.

[0137] Step 4: The system records the fault event and counts the number of times the fault event occurs.

[0138] Step 5: The system determines whether the number of fault events is greater than the fault occurrence threshold; if the number of fault events is greater than the fault occurrence threshold, the current situation is output as a fault alarm.

[0139] Step 6: The system records the fault alarm and counts the number of fault alarms that occur.

[0140] Step 7: The system determines whether the number of fault alarms is greater than the alarm threshold; if the number of fault alarms is greater than the alarm threshold, the remaining life of the current power adapter is calculated based on the working data; if the number of fault alarms is less than the alarm threshold, a maintenance alarm is issued to remind the staff.

[0141] Through the above steps, the power adapter fault diagnosis system can obtain the working data of the power adapter in real time and diagnose its working status, thereby ensuring the safe use of the power adapter.

[0142] In summary, the present invention provides a method for diagnosing a power adapter fault, comprising obtaining working data of a power adapter and setting a data threshold; wherein the working data comprises component data, voltage data, current data and temperature data of the power adapter; the data threshold comprises a temperature threshold, a component power consumption threshold, a fault occurrence threshold and an alarm number threshold; judging whether the temperature data is greater than the temperature threshold; when the temperature data is greater than the temperature threshold, calculating the component power consumption according to the temperature data, voltage data and current data; judging whether the component power consumption is greater than the component power consumption threshold; when the component power consumption is greater than the component power consumption threshold, outputting a fault event; recording the fault event and obtaining the fault occurrence number of the fault event; judging whether the fault occurrence number is greater than the fault occurrence threshold; when the fault occurrence number is greater than the fault occurrence threshold, outputting a fault alarm; recording the fault alarm and obtaining the alarm number of the fault alarm; judging whether the alarm number is greater than the alarm number threshold; if the alarm number is less than the alarm number threshold, calculating and obtaining the remaining life of the power adapter according to the component data and the alarm number; and issuing a maintenance alarm if the alarm number is greater than the alarm number threshold. The method collects the working data of the power adapter such as temperature, voltage, current, etc. in real time and uses a preset algorithm for diagnosis to determine whether the components of the power adapter are working normally and record the abnormality or failure. When the abnormality or failure reaches a certain threshold, the power adapter will issue a corresponding alarm to call the staff for maintenance and replacement, thereby ensuring the safe use of the power adapter.

[0143] Reference Figure 2 A second embodiment of the present invention provides a device for diagnosing a power adapter fault, comprising:

[0144] A data acquisition module, used to acquire the working data of the power adapter and set a data threshold; wherein the working data includes component data, voltage data, current data and temperature data of the power adapter; the data threshold includes a temperature threshold, a component power consumption threshold, a fault occurrence threshold and an alarm number threshold;

[0145] A temperature judgment module, used to judge whether the temperature data is greater than the temperature threshold; when the temperature data is greater than the temperature threshold, the power consumption of the component is calculated according to the temperature data, the voltage data and the current data;

[0146] A power consumption judgment module, used to judge whether the power consumption of the component is greater than the power consumption threshold of the component; when the power consumption of the component is greater than the power consumption threshold of the component, a fault event is output;

[0147] A fault recording module, used to record the fault event and obtain the number of fault occurrences of the fault event;

[0148] A fault occurrence judgment module is used to judge whether the number of fault occurrences is greater than the fault occurrence threshold; when the number of fault occurrences is greater than the fault occurrence threshold, a fault alarm is output;

[0149] An alarm recording module, used to record the fault alarm and obtain the alarm times of the fault alarm;

[0150] The alarm processing module is used to determine whether the alarm number is greater than the alarm number threshold; if the alarm number is less than the alarm number threshold, calculate and obtain the remaining life of the power adapter based on the component data and the alarm number; if the alarm number is greater than the alarm number threshold, issue a maintenance alarm.

[0151] It should be noted that the power adapter fault diagnosis device provided in an embodiment of the present invention is used to execute all the process steps of the power adapter fault diagnosis method in the above embodiment, and the working principles and beneficial effects of the two correspond one to one, so they will not be repeated.

[0152] An embodiment of the present invention further provides an electronic device. The electronic device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a method program for diagnosing a power adapter fault. When the processor executes the computer program, the steps in the above-mentioned method embodiments for diagnosing a power adapter fault are implemented, such as Figure 1 Alternatively, when the processor executes the computer program, the functions of the modules / units in the above-mentioned device embodiments are realized, such as the alarm processing module.

[0153] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the electronic device.

[0154] The electronic device may be a computing device such as a desktop computer, a notebook, a PDA, and a smart tablet. The electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the above components are merely examples of electronic devices and do not constitute a limitation on the electronic device. The electronic device may include more or fewer components than the above components, or may combine certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0155] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.

[0156] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the electronic device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0157] Wherein, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0158] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0159] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for diagnosing a power adapter fault, characterized in that: include: Obtaining working data of the power adapter and setting data thresholds; wherein the working data includes component data, voltage data, current data and temperature data of the power adapter; the data thresholds include temperature thresholds, component power consumption thresholds, fault occurrence thresholds and alarm number thresholds; Determine whether the temperature data is greater than the temperature threshold; when the temperature data is greater than the temperature threshold, calculate the power consumption of the component according to the temperature data, the voltage data and the current data; Determine whether the power consumption of the component is greater than the power consumption threshold of the component; when the power consumption of the component is greater than the power consumption threshold of the component, output a fault event; Record the fault event and obtain the number of fault occurrences of the fault event; Determine whether the number of fault occurrences is greater than the fault occurrence threshold; when the number of fault occurrences is greater than the fault occurrence threshold, output a fault alarm; Record the fault alarm and obtain the alarm times of the fault alarm; Determining whether the alarm number is greater than the alarm number threshold; if the alarm number is less than the alarm number threshold, calculating and obtaining the remaining life of the power adapter according to the component data and the alarm number, including: Obtaining an estimated service life and usage time of the power adapter according to the component data; Calculating the historical failure rate of the power adapter according to the number of alarms includes: The historical failure rate is calculated according to the following formula: in, represents the historical failure rate, Indicates the number of alarms, Indicates the total operating time of the power adapter; The remaining life is calculated according to the historical failure rate, the expected service life and the used time, including: The remaining life is calculated according to the following formula: in, represents the remaining life, represents the estimated useful life, Indicates the elapsed time. represents said historical failure rate; If the alarm number is greater than the alarm number threshold, a maintenance alarm is issued.

2. The method for diagnosing a power adapter fault according to claim 1, characterized in that: Determining whether the temperature data is greater than the temperature threshold; When the temperature data is greater than the temperature threshold, the power consumption of the component is calculated according to the temperature data, the voltage data and the current data, including: According to the temperature data, an average temperature is calculated; Determine whether the average temperature is greater than the temperature threshold; when the average temperature is greater than the temperature threshold, calculate the power consumption of the component according to the temperature data, the voltage data and the current data.

3. The method for diagnosing a power adapter fault according to claim 2, characterized in that: The step of calculating the average temperature according to the temperature data comprises: According to the temperature data, obtaining the maximum temperature and the minimum temperature; Calculating the average temperature according to the maximum temperature and the minimum temperature; The average temperature is calculated according to the following formula: in, represents the average temperature, represents the maximum temperature, Indicates the minimum temperature.

4. The method for diagnosing a power adapter fault according to claim 2, characterized in that: When the average temperature is greater than the temperature threshold, the power consumption of the component is calculated according to the temperature data, the voltage data, and the current data, including: Sampling the voltage data and the current data to obtain sampled voltage data and sampled current data; Calculating the resistance of each component according to the temperature data; The power consumption of the component is calculated according to the resistance value, the sampled voltage data and the sampled current data.

5. The method for diagnosing a power adapter fault according to claim 4, characterized in that: Calculating the resistance of each component according to the temperature data includes: The resistance value is calculated according to the following formula: in, Indicates The resistance value of each component, Indicates The resistance value of a component at a reference temperature, Indicates The temperature coefficient of each component is Indicates The real-time temperature value of each component, Indicates the reference temperature.

6. The method for diagnosing a power adapter fault according to claim 4, characterized in that: The calculating the power consumption of the component according to the resistance value, the sampled voltage data and the sampled current data includes: The power consumption of the component is calculated according to the following formula: in, represents the power consumption of the component, represents the power consumption of a component, Indicates The sampled voltage data of the sampling points, Indicates The sampled current data of the sampling points, Represents the interval time between two sampling points, represents the total number of sampling points, Indicates the total number of components, Indicates The resistance value of each component, Indicates The stated resistance of a component at a reference temperature.

7. A device for diagnosing power adapter faults, characterized in that: The method for implementing a power adapter fault diagnosis method as claimed in any one of claims 1 to 6 comprises: A data acquisition module, used to acquire the working data of the power adapter and set a data threshold; wherein the working data includes component data, voltage data, current data and temperature data of the power adapter; the data threshold includes a temperature threshold, a component power consumption threshold, a fault occurrence threshold and an alarm number threshold; A temperature judgment module, used to judge whether the temperature data is greater than the temperature threshold; when the temperature data is greater than the temperature threshold, the power consumption of the component is calculated according to the temperature data, the voltage data and the current data; A power consumption judgment module, used to judge whether the power consumption of the component is greater than the power consumption threshold of the component; when the power consumption of the component is greater than the power consumption threshold of the component, a fault event is output; A fault recording module, used to record the fault event and obtain the number of fault occurrences of the fault event; A fault occurrence judgment module is used to judge whether the number of fault occurrences is greater than the fault occurrence threshold; when the number of fault occurrences is greater than the fault occurrence threshold, a fault alarm is output; An alarm recording module, used to record the fault alarm and obtain the alarm times of the fault alarm; The alarm processing module is used to determine whether the alarm number is greater than the alarm number threshold; if the alarm number is less than the alarm number threshold, calculate and obtain the remaining life of the power adapter based on the component data and the alarm number; if the alarm number is greater than the alarm number threshold, issue a maintenance alarm.

Citation Information

Patent Citations

  • Power distribution network alternating current transmission loss computing and parameter estimation method

    CN104376207A

  • Vehicle charger and over-temperature protection method and over-temperature protection device thereof

    CN115036759A

  • Device for detecting deterioration of quick charger for electric vehicle

    JP2011015581A