Abnormality detection method, device and equipment and storage medium

By obtaining the CPU performance index and frequency, and judging the abnormal current sensing resistance, the problems of low detection efficiency and circuit board damage in the prior art are solved, and accurate monitoring of battery wattage is achieved.

CN119247166APending Publication Date: 2025-01-03HEFEI LCFC INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411195182.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

In the prior art, the detection efficiency of the current sensing resistor is low and the testing process is prone to damage the circuit board, affecting the accurate monitoring of the battery wattage by the Charge IC.

Method used

By obtaining the CPU performance index over a continuous period of time, determine the CPU frequency associated with each CPU performance index, determine whether the current sensing resistance is abnormal based on multiple CPU frequencies, and avoid using a multimeter to directly measure the current sensing resistance.

Benefits of technology

It improves detection efficiency, avoids circuit board damage, ensures the accuracy and stability of the current sensing resistor, and thus improves the accurate monitoring of battery wattage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119247166A_ABST
    Figure CN119247166A_ABST
Patent Text Reader

Abstract

The invention provides an anomaly detection method and device, equipment and a storage medium. The method comprises the steps of obtaining a plurality of CPU performance indexes in a continuous time period; determining a CPU frequency associated with each CPU performance index, wherein the CPU frequency is a working frequency during actual operation of the CPU; it is determined whether a current sensing resistor is abnormal based on a plurality of the CPU frequencies. According to the scheme, a universal meter is not needed to measure the current sensing resistance, so that on one hand, the circuit board is not damaged; and on the other hand, the test efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of electronic devices, and in particular to a processing method, apparatus, device and storage medium. Background Art

[0002] In the battery charging system, the charging integrated circuit (Charge IC) plays a vital role, which is responsible for monitoring and controlling the battery charging process. In order to ensure the safety and efficiency of the charging process, the Charge IC usually adjusts the charging strategy by detecting relevant parameters of the battery, one of which is the battery wattage.

[0003] The current sensing current limiting resistor (often referred to as the current sensing resistor) is placed in the battery charging path to monitor the current passing through the battery. The main functions of this resistor include current limiting and current measurement. During the battery charging process, if the current is too large, it may damage the battery or the charging system. The current sensing resistor limits the current through its resistance value, thereby protecting the system. When current passes through the resistor, a voltage drop (cross-voltage) is generated across the resistor. Because the cross-voltage is proportional to the current, the current can be indirectly measured by measuring the cross-voltage, and the wattage of the battery can be determined based on the current and voltage.

[0004] If the resistance of the current sensing resistor is abnormal, the voltage across it will also change accordingly, which will cause the current value measured by the Charge IC to be inaccurate, thus affecting the calculated battery wattage. Maintaining the accuracy and stability of the current sensing resistor is crucial for the Charge IC to accurately detect the battery wattage. Currently, the resistance on the circuit board is directly measured using a multimeter. On the one hand, the detection efficiency is poor; on the other hand, the test process is also prone to damage to the circuit board. Summary of the invention

[0005] The present disclosure provides an anomaly detection method, device, equipment and storage medium to at least solve the above technical problems existing in the prior art.

[0006] According to a first aspect of the present disclosure, there is provided an anomaly detection method, the method comprising:

[0007] Get multiple CPU performance indexes within a continuous time period;

[0008] Determine a CPU frequency associated with each CPU performance index, where the CPU frequency is an actual operating frequency of the CPU during operation;

[0009] It is determined whether the current sensing resistor is abnormal based on a plurality of the CPU frequencies.

[0010] In one possible implementation manner, the obtaining of multiple CPU performance indexes within a continuous time period includes:

[0011] A sliding window method is adopted to obtain multiple CPU performance indexes within a continuous time period, and the CPU performance index obtained in each window is the average value of the CPU performance index in the window.

[0012] In one possible implementation, determining the CPU frequency associated with each CPU performance index includes:

[0013] Get adjustment threshold;

[0014] A CPU frequency associated with each CPU performance index is determined based on each CPU performance index, the maximum frequency of the CPU, and the adjustment threshold.

[0015] In one possible implementation manner, determining the CPU frequency associated with each CPU performance index based on each CPU performance index, the maximum frequency of the CPU, and the adjustment threshold comprises:

[0016] CPU frequency = maximum frequency of CPU × (CPU performance index - adjustment threshold) / 100.

[0017] In one possible implementation manner, determining whether the current sensing resistor is abnormal based on the multiple CPU frequencies includes:

[0018] Determine a comparison result between each of the CPU frequencies and a frequency threshold;

[0019] If there are a preset number of comparison results that meet the target condition, it is determined that the current sensing resistor is abnormal.

[0020] In one embodiment, the method further comprises:

[0021] It is determined whether a charging integrated circuit path is abnormal based on the current sensing resistor.

[0022] According to a second aspect of the present disclosure, there is provided an abnormality detection device, the device comprising:

[0023] An acquisition unit, used for acquiring multiple CPU performance indexes within a continuous time period;

[0024] A determination unit, configured to determine a CPU frequency associated with each CPU performance index, wherein the CPU frequency is an actual operating frequency of the CPU during operation;

[0025] A judgment unit is used to determine whether the current sensing resistor is abnormal based on the multiple CPU frequencies.

[0026] In one possible implementation, the determining unit is further configured to:

[0027] Get adjustment threshold;

[0028] A CPU frequency associated with each CPU performance index is determined based on each CPU performance index, the maximum frequency of the CPU, and the adjustment threshold.

[0029] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0030] at least one processor; and

[0031] a memory communicatively connected to the at least one processor; wherein,

[0032] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.

[0033] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the present disclosure.

[0034] The disclosed abnormal method, device, equipment and storage medium obtain multiple CPU performance indexes in a continuous time period; then determine the CPU frequency associated with each CPU performance index, wherein the CPU frequency is the operating frequency of the CPU when it is actually running; and finally determine whether the current sensing resistor is abnormal based on the multiple CPU frequencies. This solution does not require the use of a multimeter to measure the current sensing resistor, which will not damage the circuit board on the one hand, and can also improve the test efficiency on the other hand.

[0035] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0037] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0038] Figure 1 A schematic diagram of a process of an abnormality detection method according to an embodiment of the present disclosure is shown;

[0039] Figure 2 A schematic diagram of an abnormality detection device according to an embodiment of the present disclosure is shown;

[0040] Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0041] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0042] In the battery charging circuit, in order to monitor and control the current passing through the battery and prevent excessive current from damaging the battery, a resistor is deliberately placed in the charging path. This resistor is the current sensing resistor. The working principle of the current sensing resistor is based on Ohm's law, that is, the voltage across the resistor is proportional to the current passing through the resistor. When the current passes through the current sensing resistor, a voltage drop is generated across it, and the magnitude of this voltage drop is proportional to the current passing through the resistor. Therefore, the current passing through the battery can be indirectly known by measuring the voltage across the current sensing resistor. On the other hand, the current sensing current limiting resistor also has a certain current limiting effect. When the battery is reversed or under abnormal use conditions (such as short circuit), the current sensing resistor will limit the current passing through the circuit, thereby protecting the Charge IC and other circuit components from damage.

[0043] If the resistance of the current sensing current limiting resistor is abnormal (such as increasing or decreasing), the voltage across its two ends will also change accordingly, which will cause the current value calculated by the Charge IC through the voltage to be inaccurate, thereby affecting the associated battery wattage. Specifically, if the resistance value increases, the voltage across will increase, and the Charge IC may calculate a current larger than the actual current, thereby overestimating the battery wattage. If the resistance value decreases, the voltage across will decrease, and the Charge IC may calculate a current smaller than the actual current, thereby underestimating the battery wattage. Therefore, keeping the resistance of the current sensing resistor stable and accurate is crucial to accurately monitoring the battery's charging state and power. At present, the resistance of the current sensing resistor is detected by directly using a universal meter to measure the resistance on the circuit board. On the one hand, the detection efficiency is poor; on the other hand, the test process is also prone to damage to the circuit board. Based on this, the present disclosure provides an abnormality detection method.

[0044] like Figure 1 A schematic diagram of a flow chart of an abnormality detection method provided by an embodiment of the present disclosure is shown, and the method includes:

[0045] S1. Obtain multiple CPU performance indexes within a continuous time period.

[0046] The CPU performance index is a percentage of the current operating performance of the CPU itself, which characterizes the performance of the CPU under the current workload. In one example, the percentage of the current operating performance of the CPU itself can be obtained through a performance monitor, such as a performance monitor or PerfMon in a Windows system.

[0047] In one example, obtaining a plurality of CPU performance indexes within a continuous time period includes:

[0048] A sliding window method is adopted to obtain multiple CPU performance indexes within a continuous time period, and the CPU performance index obtained in each window is the average value of the CPU performance index in the window.

[0049] A window size is defined, for example, each window contains data within a time period of 1 second, 5 seconds, 10 seconds or any other fixed length, and the data within this window is continuously updated to reflect the latest CPU performance index. In this embodiment, the window size is 1 second as an example, and the average value of the CPU performance index within 1 second is determined as the CPU performance index corresponding to the window.

[0050] S2. Determine a CPU frequency associated with each CPU performance index, where the CPU frequency is the actual operating frequency of the CPU during operation.

[0051] Get the CPU frequency corresponding to each CPU performance index, where the CPU frequency is the actual operating frequency of the CPU during operation and is an important indicator of CPU performance. There should be a certain positive correlation between the CPU frequency and the CPU performance index, that is, the higher the CPU frequency, the higher the CPU performance index should be.

[0052] S3. Determine whether the current sensing resistor is abnormal based on the multiple CPU frequencies.

[0053] Whether the current sensing resistor is abnormal is determined based on multiple CPU frequencies. Because an abnormal current sensing resistor will lead to inaccurate adjustment of the CPU frequency, which in turn affects the performance of the CPU, the CPU frequency can be used to determine whether the current sensing resistor is abnormal.

[0054] In the above scheme, multiple CPU performance indexes in a continuous time period are obtained; then the CPU frequency associated with each CPU performance index is determined, where the CPU frequency is the operating frequency of the CPU when it is actually running; finally, whether the current sensing resistor is abnormal is determined based on multiple CPU frequencies. In the factory automated testing (AFT, Automated Factory Testing) stage, this scheme is used to measure the integrity of the current sensing current limiting resistor. This scheme does not require the use of a multimeter to measure the current sensing resistor. On the one hand, automated testing can significantly reduce the time and cost of manual testing and improve testing efficiency; on the other hand, it will not damage the circuit board.

[0055] In one example, determining a CPU frequency associated with each CPU performance index includes:

[0056] Get adjustment threshold;

[0057] A CPU frequency associated with each CPU performance index is determined based on each CPU performance index, the maximum frequency of the CPU, and the adjustment threshold.

[0058] The maximum frequency (MaxSpeed) of the CPU refers to the maximum theoretical frequency of the CPU, that is, the highest operating frequency that the CPU can reach under optimal conditions. This value can be obtained through the CPU properties. Different CPU models have different corresponding maximum frequencies of the CPU. For example, the maximum frequency of INTEL(R) CORE(TM) ULTRA 7 is 5GHz.

[0059] The adjustment threshold is an adjustment factor used to convert the obtained CPU performance index into a value related to the CPU frequency. This value is obtained based on experience or experiments and is used to compensate for the nonlinear relationship or deviation between the Processor Performance value and the actual CPU frequency. In this example, the adjustment threshold is 6.5.

[0060] The CPU frequency is calculated according to the following formula (1).

[0061] CPU frequency = CPU maximum frequency × (CPU performance index - adjustment threshold) / 100 Formula (1)

[0062] For example, the maximum frequency of the CPU is 5 GHz, the CPU performance index is 91.527, and the CPU frequency = 5 × (91.527-6.5) / 100 = 4.25 GHz.

[0063] In one example, determining whether the current sensing resistor is abnormal based on the multiple CPU frequencies includes:

[0064] Determine a comparison result between each of the CPU frequencies and a frequency threshold;

[0065] If there are a preset number of comparison results that meet the target condition, it is determined that the current sensing resistor is abnormal.

[0066] For example, if 10 CPU performance indexes are obtained in a continuous time period, 10 CPU frequencies can be calculated according to formula (1). Assuming that the frequency threshold is set to 0.5GHz, when the CPU frequency is greater than 0.5GHz, the comparison result is normal; when the CPU frequency is less than 0.5GHz, the comparison result is abnormal. Comparing the 10 CPU frequencies with the frequency threshold can obtain 10 comparison results. When 5 or more comparison results are abnormal, it is determined that the current sensing resistor is abnormal.

[0067] In one example, the method further includes:

[0068] It is determined whether a charging integrated circuit path is abnormal based on the current sensing resistor.

[0069] If the current sensing resistor is abnormal, it is determined that the charging integrated circuit path is abnormal.

[0070] According to an embodiment of the present disclosure, the present disclosure also provides an abnormality detection device, such as Figure 2 As shown, the device comprises:

[0071] An acquisition unit 10 is used to acquire a plurality of CPU performance indexes within a continuous time period;

[0072] A determination unit 20, configured to determine a CPU frequency associated with each CPU performance index, wherein the CPU frequency is an operating frequency of the CPU when the CPU is actually running;

[0073] The judgment unit 30 is used to determine whether the current sensing resistor is abnormal based on the multiple CPU frequencies.

[0074] In an example, the acquisition unit 10 is used to acquire multiple CPU performance indexes within a continuous time period by using a sliding window method, and the CPU performance index acquired in each window is an average value of the CPU performance indexes in the window.

[0075] In one example, the determining unit 20 is configured to:

[0076] Get adjustment threshold;

[0077] A CPU frequency associated with each CPU performance index is determined based on each CPU performance index, the maximum frequency of the CPU, and the adjustment threshold.

[0078] In one example, the determining unit 20 is configured to:

[0079] CPU frequency = maximum frequency of CPU × (CPU performance index - adjustment threshold) / 100.

[0080] In one example, the determination unit 30 is used to:

[0081] Determine a comparison result between each of the CPU frequencies and a frequency threshold;

[0082] If there are a preset number of comparison results that meet the target condition, it is determined that the current sensing resistor is abnormal.

[0083] In one example, the determining unit 30 is further configured to:

[0084] It is determined whether a charging integrated circuit path is abnormal based on the current sensing resistor.

[0085] According to an embodiment of the present disclosure, there is provided an electronic device, including:

[0086] at least one processor; and

[0087] a memory communicatively connected to the at least one processor; wherein,

[0088] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.

[0089] According to an embodiment of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the present disclosure.

[0090] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.

[0091] Figure 3 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0092] like Figure 3As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0093] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0094] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as anomaly detection methods. For example, in some embodiments, the anomaly detection method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the anomaly detection method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the anomaly detection method in any other appropriate manner (e.g., by means of firmware).

[0095] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0096] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0097] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0098] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0099] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0100] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0101] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0102] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0103] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. An anomaly detection method, characterized in that: The method comprises: Get multiple CPU performance indexes within a continuous time period; Determine a CPU frequency associated with each CPU performance index, where the CPU frequency is an actual operating frequency of the CPU during operation; It is determined whether the current sensing resistor is abnormal based on a plurality of the CPU frequencies.

2. The method according to claim 1, characterized in that: The obtaining of multiple CPU performance indexes within a continuous time period includes: A sliding window method is adopted to obtain multiple CPU performance indexes within a continuous time period, and the CPU performance index obtained in each window is the average value of the CPU performance index in the window.

3. The method according to claim 1, characterized in that Determining the CPU frequency associated with each CPU performance index includes: Get adjustment threshold; A CPU frequency associated with each CPU performance index is determined based on each CPU performance index, the maximum frequency of the CPU, and the adjustment threshold.

4. The method according to claim 1, characterized in that: The determining the CPU frequency associated with each CPU performance index based on each CPU performance index, the maximum frequency of the CPU, and the adjustment threshold comprises: CPU frequency = maximum frequency of CPU × (CPU performance index - adjustment threshold) / 100.

5. The method according to claim 1, characterized in that The determining whether the current sensing resistor is abnormal based on the multiple CPU frequencies includes: Determine a comparison result between each of the CPU frequencies and a frequency threshold; If there are a preset number of comparison results that meet the target condition, it is determined that the current sensing resistor is abnormal.

6. The method according to claim 1, characterized in that The method further includes: It is determined whether a charging integrated circuit path is abnormal based on the current sensing resistor.

7. An abnormality detection device, characterized in that: The device comprises: An acquisition unit, used for acquiring multiple CPU performance indexes within a continuous time period; A determination unit, configured to determine a CPU frequency associated with each CPU performance index, wherein the CPU frequency is an actual operating frequency of the CPU during operation; A judgment unit is used to determine whether the current sensing resistor is abnormal based on the multiple CPU frequencies.

8. The device according to claim 7, characterized in that The determining unit is further configured to: Get adjustment threshold; A CPU frequency associated with each CPU performance index is determined based on each CPU performance index, the maximum frequency of the CPU, and the adjustment threshold.

9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to execute: Get multiple CPU performance indexes within a continuous time period; Determine a CPU frequency associated with each CPU performance index, where the CPU frequency is an actual operating frequency of the CPU during operation; It is determined whether the current sensing resistor is abnormal based on a plurality of the CPU frequencies.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute: Get multiple CPU performance indexes within a continuous time period; Determine a CPU frequency associated with each CPU performance index, where the CPU frequency is an actual operating frequency of the CPU during operation; It is determined whether the current sensing resistor is abnormal based on a plurality of the CPU frequencies.