Charger AC abnormal outage detection method and device
By detecting the voltage and current state of the charger, judging its working state and determining whether the AC is off-powered, the problem of the charger misjudging abnormalities after the AC is off-powered is solved, ensuring that the charger can correctly judge the power supply state and avoid charging problems that cannot be restored.
Patent Information
- Application Number
- CN202510348833.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-05-14
- Filing Date
- 2025-03-24
- Publication Date
- 2025-06-20
AI Technical Summary
After the charger is powered off, the main control IC will remain in operation for a period of time, which may be misjudged as an abnormal state, and thus cannot resume charging of the battery.
By detecting the power supply status of the first and second preset voltage detection points and current detection points, the operating status of the charger is judged and whether AC is powered off abnormally, and the detection result is output.
Optimize the software detection time, effectively avoid misjudgment, and ensure that the charger can correctly judge the AC power supply status, thereby avoiding charging problems that cannot be restored.
Smart Images

Figure CN120178102A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of charger control, and in particular, to a method and system for detecting abnormal AC power-off of a charger and a computer device. Background Art
[0002] With the improvement of power supply technology, the standby power consumption of chargers has gradually decreased, and the time that the residual power in the charger can supply power to the charger main control IC after AC power-off for some high-efficiency models has also gradually increased. However, since the hardware has basically stopped working, the worst impact is only that the indicator light is abnormal before complete power-off, and generally it will not affect the normal use of customers. Therefore, during the previous development and testing stages, testers did not pay much attention to this phenomenon and did not classify it as abnormal. However, with the popularization of the product, the disadvantages of this problem have gradually been reported by more and more customers.
[0003] After the charger AC power-off, the charger hardware stops working first, but the residual current can still keep the charger main control IC working for a period of time (about 30S). During the period when the hardware has stopped working but the charger main control IC still maintains operation, the charger is likely to detect abnormal output voltage and current and judge it as an abnormal charger. If the user reconnects the charger AC power at this time, the charger will not be able to continue charging the battery because it cannot recover from the abnormal state. Summary of the Invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art or related technologies.
[0005] To this end, the object of the present invention is to provide a method and device for detecting abnormal AC power-off of a charger, which optimize the detection time for detecting and judging whether the AC power supply is normal through software and can effectively avoid misjudgment.
[0006] To achieve the above object, a first aspect of the technical solution of the present invention provides a method for detecting abnormal AC power-off of a charger, including:
[0007] Detecting a first power supply state of a first preset voltage detection point and a current detection point to judge the working state of the charger;
[0008] Detecting a second power supply state of a second preset voltage detection point and the current detection point;
[0009] Judging whether the charger has an abnormal AC power-off according to the working state of the charger and the second power supply state, and outputting a detection result.
[0010] In the above technical solution, preferably, detecting a first power supply state of a first preset voltage detection point and a current detection point to judge the working state of the charger includes:
[0011] When the first preset voltage detection point V2 is detected to be between 52V and 56V and the current detection point A is between 0A and 200mA, it is determined that the charger is in the standby state;
[0012] When the first preset voltage detection point V2 is detected to be between 52V and 56V and the current detection point A is between 400mA and 2.5A, it is determined that the charger is in the constant voltage charging state;
[0013] When the first preset voltage detection point V2 is detected to be between 40V and 53V and the current detection point A is greater than 2.5A, it is determined that the charger is in the constant current charging state.
[0014] In the above technical solution, preferably, determining whether the charger has an abnormal AC power failure according to the working state of the charger and the second power supply state includes:
[0015] When the charger is in the standby state, if the voltage of the first preset voltage detection point V2 drops and there is no charging current at the current detection point, it is determined that the charger has no abnormal AC power failure.
[0016] In the above technical solution, preferably, determining whether the charger has an abnormal AC power failure according to the working state of the charger and the second power supply state includes:
[0017] When the charger is in the constant voltage charging state, if the voltage of the first preset voltage detection point V2 drops and there is no charging current at the current detection point, it is determined that the charger has an abnormal AC power failure.
[0018] In the above technical solution, preferably, determining whether the charger has an abnormal AC power failure according to the working state of the charger and the second power supply state includes:
[0019] When the charger is in the constant current charging state, if the voltage of the first preset voltage detection point V2 drops and there is no charging current at the current detection point, it is determined that the charger has an abnormal AC power failure.
[0020] In any of the above technical solutions, preferably, the second power supply states of the second preset voltage detection point and the current detection point are detected with a time delay.
[0021] In any of the above technical solutions, preferably, the second power supply states of the second preset voltage detection point and the current detection point are detected with a time delay.
[0022] In any of the above technical solutions, preferably, when starting to charge in the constant voltage charging state and / or the constant current charging state, a small current is output first, and then charging starts at the rated current.
[0023] The technical solution of the second aspect of the present invention provides a charger AC abnormal power-off detection system, including:
[0024] A first detection module, configured to detect the first power supply state of a first preset voltage detection point and a current detection point to determine the working state of the charger;
[0025] A second detection module, configured to detect the second power supply state of a second preset voltage detection point and the current detection point;
[0026] A judgment module, configured to judge whether the charger AC is abnormally powered off according to the working state of the charger and the second power supply state, and output a detection result.
[0027] The technical solution of the third aspect of the present invention provides a computer device, including a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to implement the steps of the charger AC abnormal power-off detection method provided by the technical solution of the first aspect above.
[0028] The advantages of the charger AC abnormal power-off detection method and device provided by the present invention compared with the prior art are as follows: For cost considerations, there is no direct addition of a circuit for detecting AC power-off in the charging circuit composed of a charger and a battery. Instead, it completely detects and judges whether the AC power supply is normal through software. This method has detection delay and a certain risk of misjudgment. Therefore, the technical solution of the present invention optimizes the detection time for detecting and judging whether the AC power supply is normal through software and effectively avoids misjudgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The above and / or additional aspects and advantages of the present invention will become obvious and easy to understand from the description of the embodiments in conjunction with the following drawings, where:
[0030] Figure 1 Shows a flowchart of the method involved in the embodiments of the present invention;
[0031] Figure 2 Shows a structural block diagram of the system involved in the embodiments of the present invention;
[0032] Figure 3 Shows a principle block diagram of the charger AC abnormal power-off detection involved in the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0033] In order to be able to more clearly understand the above objects, features, and advantages of the present invention, the present invention will be further described in detail below in conjunction with the drawings and specific embodiments. It should be noted that, without conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.
[0034] In the following description, many specific details are set forth in order to provide a thorough understanding of the present invention. However, the present invention may be practiced in other ways than those specifically described herein. Therefore, the scope of the present invention is not limited by the limitations of the specific embodiments disclosed below.
[0035] As Figure 1 and Figure 3 shown, according to an embodiment of the present invention, a method for detecting abnormal power-off of charger AC includes:
[0036] S1, detecting a first power supply state of a first preset voltage detection point and a current detection point to determine an operating state of the charger;
[0037] S2, detecting a second power supply state of a second preset voltage detection point and the current detection point;
[0038] S3, determining whether the charger AC is abnormally powered off according to the operating state of the charger and the second power supply state, and outputting a detection result.
[0039] In the above embodiment, preferably, detecting a first power supply state of a first preset voltage detection point and a current detection point to determine an operating state of the charger includes:
[0040] When the first preset voltage detection point V2 is detected to be 52V - 56V and the current detection point A is 0A - 200mA, it is determined that the charger is in a standby state;
[0041] When the first preset voltage detection point V2 is detected to be 52V - 56V and the current detection point A is 400mA - 2.5A, it is determined that the charger is in a constant voltage charging state;
[0042] When the first preset voltage detection point V2 is detected to be between 40V - 53V and the current detection point A is greater than 2.5A, it is determined that the charger is in a constant current charging state.
[0043] In the above embodiment, preferably, determining whether the charger AC is abnormally powered off according to the operating state of the charger and the second power supply state includes:
[0044] When the charger is in a standby state, if the voltage of the first preset voltage detection point V2 drops and there is no charging current at the current detection point, it is determined that the charger AC is not abnormally powered off.
[0045] In the above embodiment, preferably, determining whether the charger AC is abnormally powered off according to the operating state of the charger and the second power supply state includes:
[0046] When the charger is in the constant voltage charging state, if it is detected that the voltage at the first preset voltage detection point V2 drops and there is no charging current at the current detection point, it is determined that the charger has an abnormal AC power failure.
[0047] In the above embodiments, preferably, determining whether the charger has an abnormal AC power failure according to the working state of the charger and the second power supply state includes:
[0048] When the charger is in the constant current charging state, if it is detected that the voltage at the first preset voltage detection point V2 drops and there is no charging current at the current detection point, it is determined that the charger has an abnormal AC power failure.
[0049] In any of the above embodiments, preferably, the second power supply state of the second preset voltage detection point and the current detection point is detected with a time delay.
[0050] In any of the above embodiments, preferably, the second power supply state of the second preset voltage detection point and the current detection point is detected with a time delay of 10 s - 20 s, preferably 15 s.
[0051] In any of the above embodiments, preferably, when starting to charge in the constant voltage charging state and / or the constant current charging state, a small current of 50 mA - 250 mA is output for 1 s or 2 s first, and then charging starts at the rated current, preferably a small current of 100 mA is output for 1 s.
[0052] As Figure 2 and Figure 3 shown, according to another embodiment of the charger AC abnormal power failure detection system 100 of the present invention, it includes:
[0053] A first detection module 10, configured to detect the first power supply state of the first preset voltage detection point and the current detection point to determine the working state of the charger;
[0054] A second detection module 20, configured to detect the second power supply state of the second preset voltage detection point and the current detection point;
[0055] A judgment module 30, configured to determine whether the charger has an abnormal AC power failure according to the working state of the charger and the second power supply state and output a detection result.
[0056] Based on the above method as Figure 1 shown, correspondingly, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the charger output current control method with the current jump waveform as a signal in any of the above embodiments are implemented.
[0057] Based on such understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various implementation scenarios of the present application.
[0058] Based on the above-mentioned Figure 1 method shown, and Figure 2 the virtual device embodiment shown, in order to achieve the above object, an embodiment of the present application further provides a computer device, including a storage medium and a processor; the storage medium is used for storing a computer program; the processor is used for executing the computer program to implement the steps of the charger output current control method with a current jump waveform as a signal in any of the above embodiments.
[0059] Optionally, the computer device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, sensors, an audio circuit, a WI-FI module, and so on. The user interface may include a display screen (Display), an input unit such as a keyboard (Keyboard), etc., and optionally the user interface may further include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a Bluetooth interface, a WI-FI interface), etc.
[0060] Those skilled in the art can understand that the structure of a computer device provided in this embodiment does not constitute a limitation on the computer device, and it may include more or fewer components, or combine certain components, or have different component arrangements.
[0061] The storage medium may further include an operating system and a network communication module. The operating system is a program for managing and saving the hardware and software resources of the computer device, and supports the operation of information processing programs and other software and / or programs. The network communication module is used for implementing communication between components inside the storage medium, and communication between the storage medium and other hardware and software in the entity device.
[0062] In the present invention, the terms "first", "second", "third" are only used for the purpose of description, and cannot be understood as indicating or implying relative importance; the term "plurality" refers to two or more, unless otherwise clearly defined. Terms such as "installation", "connection", "connection", "fixation" and other terms should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; "connection" can be a direct connection or an indirect connection through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0063] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "upper", "lower", "left", "right", "front", "rear", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or unit referred to must have a specific direction, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the present invention.
[0064] In the description of this specification, the description of terms such as "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or instance. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0065] The above are only the preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A charger AC abnormal power failure detection method, characterized in that: include: Detecting a first power supply state at a first preset voltage detection point and a current detection point to determine a working state of the charger; Detecting a second power supply state of a second preset voltage detection point and the current detection point; Determine whether the charger AC is abnormally powered off according to the working state of the charger and the second power supply state, and output a detection result.
2. The charger AC abnormal power failure detection method according to claim 1, characterized in that: Detecting a first power supply state of a first preset voltage detection point and a current detection point to determine a working state of the charger includes: When the first preset voltage detection point V2 is detected as 52V-56V and the current detection point A is 0A-200mA, it is determined that the charger is in standby mode; When the first preset voltage detection point V2 is detected as 52V-56V and the current detection point A is 400mA-2.5A, it is determined that the charger is in a constant voltage charging state; When the first preset voltage detection point V2 is detected to be between 40V and 53V and the current detection point A is greater than 2.5A, it is determined that the charger is in a constant current charging state.
3. The charger AC abnormal power failure detection method according to claim 2, characterized in that: Determining whether the charger AC is abnormally powered off according to the working state of the charger and the second power supply state includes: When the charger is in the standby state, it is detected that the voltage of the first preset voltage detection point V2 drops and there is no charging current at the current detection point, and it is determined that the charger AC is not abnormally powered off.
4. The charger AC abnormal power failure detection method according to claim 2, characterized in that: Determining whether the charger AC is abnormally powered off according to the working state of the charger and the second power supply state includes: When the charger is in a constant voltage charging state, it is detected that the voltage of the first preset voltage detection point V2 drops and there is no charging current at the current detection point, and it is determined that the charger AC is abnormally powered off.
5. The charger AC abnormal power failure detection method according to claim 2, characterized in that: Determining whether the charger AC is abnormally powered off according to the working state of the charger and the second power supply state includes: When the charger is in a constant current charging state, it is detected that the voltage of the first preset voltage detection point V2 drops and there is no charging current at the current detection point, and it is determined that the charger AC is abnormally powered off.
6. The charger AC abnormal power failure detection method according to any one of claims 1 to 5, characterized in that: The second power supply state of the second preset voltage detection point and the current detection point is detected with a delay.
7. The charger AC abnormal power failure detection method according to claim 6, characterized in that: The second power supply state of the second preset voltage detection point and the current detection point is detected with a delay.
8. The charger AC abnormal power failure detection method according to any one of claims 2 to 5, characterized in that: When starting charging in the constant voltage charging state and / or the constant current charging state, a small current is output first, and then charging is started at the rated current.
9. A charger AC abnormal power failure detection system, characterized in that: include: A first detection module is configured to detect a first power supply state of a first preset voltage detection point and a current detection point to determine a working state of the charger; A second detection module is configured to detect a second power supply state of a second preset voltage detection point and the current detection point; The judgment module is configured to judge whether the charger AC is abnormally powered off according to the working state of the charger and the second power supply state, and output a detection result.
10. A computer device, characterized in that: The invention comprises a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to implement the steps of the charger AC abnormal power failure detection method according to any one of claims 1 to 8.