CN110870158A - Charging detection method, charger and storage medium - Google Patents

Charging detection method, charger and storage medium Download PDF

Info

Publication number
CN110870158A
CN110870158A CN201880039301.1A CN201880039301A CN110870158A CN 110870158 A CN110870158 A CN 110870158A CN 201880039301 A CN201880039301 A CN 201880039301A CN 110870158 A CN110870158 A CN 110870158A
Authority
CN
China
Prior art keywords
module
charger
abnormal state
functional module
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201880039301.1A
Other languages
Chinese (zh)
Inventor
张彩辉
林宋荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SZ DJI Technology Co Ltd
Shenzhen Dajiang Innovations Technology Co Ltd
Original Assignee
SZ DJI Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SZ DJI Technology Co Ltd filed Critical SZ DJI Technology Co Ltd
Publication of CN110870158A publication Critical patent/CN110870158A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/02Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries for charging batteries from ac mains by converters

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a charging detection method, a charger and a storage medium, wherein the method comprises the following steps: when the charger is electrically connected to an external power supply, detecting whether each functional module in the charger is in an abnormal state; and if the functional module is in the abnormal state, informing the functional module in the abnormal state to a user. The method can help a user to quickly locate that a certain functional module of the charger is abnormal, and further, the charger can be maintained in a targeted mode.

Description

Charging detection method, charger and storage medium
Technical Field
The present disclosure relates to the field of battery charging technologies, and in particular, to a charging detection method, a charger, and a storage medium.
Background
The charger is an electronic device for charging a battery, and for some chargers, such as chargers of agricultural plant protection machines, the charger often fails due to the harsh working environment, long working time per day, large continuous output power and the like. However, when the charger fails, even if the charger fails, the user can only choose to purchase a new charger or search a professional for maintenance, which not only requires the user to spend more manpower and material resources, but also wastes the resources of the charger, which is not favorable for environmental protection.
Disclosure of Invention
The application provides a charging detection method, a charger and a storage medium, so that the maintenance efficiency of the charger is improved.
In a first aspect, the present application provides a charging detection method applied to a charger, the method including:
when the charger is electrically connected to an external power supply, detecting whether each functional module in the charger is in an abnormal state;
and if the functional module is in the abnormal state, informing the functional module in the abnormal state to a user.
In a second aspect, the present application further provides a charger comprising a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute the computer program and to implement the following steps when executing the computer program:
when the charger is electrically connected to an external power supply, detecting whether each functional module in the charger is in an abnormal state;
and if the functional module is in the abnormal state, informing the functional module in the abnormal state to a user.
In a third aspect, the present application further provides a computer readable storage medium storing a computer program, which when executed by a processor causes the processor to implement the steps of:
when the charger is electrically connected to an external power supply, detecting whether each functional module in the charger is in an abnormal state;
and if the functional module is in the abnormal state, informing the functional module in the abnormal state to a user.
The application discloses a charging detection method, a charger and a storage medium, which can complete automatic detection to quickly locate an abnormal functional module when the charger is charged and inform a user of the abnormal functional module. Therefore, the user can quickly finish the maintenance of the charger, the maintenance efficiency is improved, and the maintenance time and the economic cost of the user are saved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic block diagram of a charging system provided in an embodiment of the present application;
FIG. 2 is a schematic block diagram of a battery provided by an embodiment of the present application;
FIG. 3 is a schematic block diagram of a charger provided by an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an interaction module according to an embodiment of the present application;
fig. 5 is a schematic circuit diagram of a switch module according to an embodiment of the present application;
fig. 6 is a schematic circuit diagram of a part of a fan module according to an embodiment of the present disclosure;
fig. 7 to fig. 10 are schematic circuit diagrams of a part of an ADC detection module according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a rectifying switch circuit according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a fan control circuit according to an embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of a part of a circuit of a communication module according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an LED lamp driving circuit according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a battery detection circuit according to an embodiment of the present application;
fig. 16 is a schematic flow chart of a charge detection method according to an embodiment of the present application;
fig. 17 is a schematic flow chart of a charge detection method according to an embodiment of the present application;
fig. 18 is a schematic flow chart of a charge detection method according to an embodiment of the present application;
fig. 19 is a schematic flowchart of a charging control method according to an embodiment of the present application;
FIG. 20 is a flowchart illustrating steps for determining to enter a standby-idle state according to an embodiment of the present application;
fig. 21 is a schematic flowchart of a charging control method according to an embodiment of the present application;
fig. 22 is a schematic flow chart of a charging control method according to an embodiment of the present application;
fig. 23 is a schematic flowchart of a charging control method according to an embodiment of the present application;
fig. 24 is a schematic flow chart of a charging control method according to an embodiment of the present application;
FIG. 25 is a schematic block diagram of a charger provided by an embodiment of the present application;
fig. 26 is a schematic block diagram of a charging control system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Embodiments of the present application provide a charge detection method, a charge control method, a charger, a charging system, and a storage medium. First, a charger and a charging system are described, and the charging detection method and the charging control method are described on the basis of the charging system and the charger.
Referring to fig. 1, fig. 1 is a schematic block diagram of a charging system according to an embodiment of the present disclosure. In the charging system, the charger 10 is connected to an external power supply 20 for charging the battery of the terminal device 30.
The terminal device may be, for example, an unmanned aerial vehicle, a camera device, a smartphone, a tablet computer, a laptop computer, or a wearable device (watch, bracelet). Unmanned aerial vehicle can make rotor type unmanned aerial vehicle, for example, four rotor unmanned aerial vehicle, six rotor unmanned aerial vehicle, eight rotor unmanned aerial vehicle, also can be fixed wing unmanned aerial vehicle.
The charger can be a high-power charger, a multi-channel charger or a high-power multi-channel charger, and can be used for charging a battery of the terminal device in a complex environment, for example, for charging a battery of the plant protection unmanned aerial vehicle. Under the abominable environment of agricultural plant protection unmanned aerial vehicle work, still need the charger of high-power multichannel simultaneously, consequently higher to the requirement of charger.
As shown in fig. 1, the charger includes a main control module 11, a rectification module 12, an interaction module 13, and an auxiliary source module 14. Wherein, the interaction module 13 and the auxiliary source module 14 are both electrically connected with the main control module 11. The rectification module 12 has a communication function and is in communication connection with the main control module 11, and the communication connection includes a wired communication connection or a wireless communication connection. The charger 10 includes multiple charging channels that can be used to charge multiple batteries simultaneously.
The main control module includes a main control chip, the main control chip is a Processor, and the Processor may be a Micro-control Unit (MCU), a Central Processing Unit (CPU), or a Digital Signal Processor (DSP).
As shown in fig. 2, the battery 31 also has a communication function, and may establish a communication connection with the charger 10, and the battery 31 further includes a plurality of battery cells 310, a main control Unit 311, and an equalizing circuit 312, where the main control Unit 311 may be a Micro-controller Unit (MCU). The battery can be a battery pack which comprises a plurality of single batteries, wherein each battery comprises a plurality of battery cells connected in parallel or in series,
the communication function of the battery 31 is used for establishing communication connection with the charger 10, the MCU of the battery 31 is used for acquiring the voltage value and the current value of each battery, and after establishing communication connection with the charger 10, the voltage value and the current value of each battery are used as charging parameters to be sent to the charger 10; the equalizing circuit 312 is configured to detect a voltage of each battery cell 310 of each battery during a process of charging the battery, and discharge corresponding battery cells according to the voltages of the plurality of battery cells of each battery to achieve an equalizing purpose.
The rectification module 12 is an AC-DC module having a communication function, and includes: and a communication logic interface circuit, a communication function circuit, a communication transceiving self-checking circuit and the like which are connected with the main control module 11.
The interaction module 13 is used for information interaction and control between a user and the charger, as shown in fig. 3, the interaction module 13 includes a display unit 131, and the display unit 131 may be a touch display unit, such as a touch display screen, which includes an LED display screen, an LCD display screen, or an OLED display screen.
The interactive module 13 may also be in other forms, such as a combination of an LED lamp and a key, where the LED lamp includes a plurality of LED lamp combinations, and the lighting manner of the plurality of LED lamps combines the light words to inform the user of different information, and the key may be a physical key. It will of course be appreciated that the interaction module 13 may also comprise other input and output devices, such as a microphone, a loudspeaker or a buzzer, etc.
Specifically, the interaction module 13 is used for information interaction between the user and the charger. For example, the touch display screen is provided with a charging mode for a user to select, where the charging mode includes a fast charging mode and a slow charging mode, and when the user selects the fast charging mode on the touch display screen, the main control module 11 sets corresponding output parameters according to the fast charging mode selected by the user to charge the battery, and obtains a charging state of the current battery and sends the charging state to the touch display screen for display.
The auxiliary source module 14 is an AC-DC rectification module, and supplies power to the processor in the main control module 11 through an AC power supply with high efficiency and low power consumption. The auxiliary source module 14 may be disposed independently, or may be disposed in the rectifier module 12, where the independent disposition refers to a disposition opposite to the rectifier module 12.
The auxiliary source module 14 may be disposed in the rectifying module 12, specifically, the rectifying module 12 is provided with a large current output line for charging the battery, and further includes a small current output line for supplying power to the main control module 11, where the small current output line may be used as the auxiliary source module 14 for supplying power to the main control module 11, so as to simplify the circuit design.
The main control module 11, the rectifying module 12, the interaction module 13, and the auxiliary source module 14 included in the charger 10 are all functional modules divided according to functionality, and the functional modules may include a switch module, a fan module, a temperature module, an ADC detection module, and the like, in addition to the main control module 11, the rectifying module 12, the interaction module 13, the auxiliary source module 14, and the like.
It should be noted that the division of each functional module is only one logical functional division, and there may be another division manner in actual implementation. For example, the ADC detection module is divided into a main control module for detecting other functional modules; for another example, the switch module is divided into a main control module or a rectifying module, and the battery is charged through the conduction of the switch module.
When designing the charger, part or all of the functional modules in the charger can be designed as replaceable modules; of course, the functional module with the replaceable or easily maintained portion can be predefined as the preset module according to whether the circuit module in the charger is the replaceable or easily maintained functional module. For example, the rectification module, the interaction module, the auxiliary source module, and the fan module are predefined as the preset modules.
In an embodiment, the preset module may be further divided according to the replaceability or easy maintenance property thereof, and the specific division into the preset module is divided into a plurality of preset sub-modules. For example, the fan module is divided into a fan hardware sub-module and a fan circuit sub-module for targeted maintenance.
When the charger is designed, a corresponding informing mode is set for each functional module, and the informing mode is used for uniquely marking the functional module, so that the functional modules correspond to the informing modes, wherein each informing mode is different and is used for representing each functional module, and the informing modes can be specifically represented by the preset corresponding relation of the table 1.
Table 1 shows the preset correspondence between the function modules and the notification modes
Figure BDA0002315882370000061
In table 1, the rectifier module, the switch module, the fan module, the interaction module, the auxiliary source module, and the temperature module correspond to the notification mode 1, the notification mode 2, the notification mode 3, the notification mode 4, the notification mode 5, and the notification mode 6, respectively, and the fan hardware sub-module and the fan circuit sub-module in the fan module correspond to the notification mode 31 and the notification mode 32, respectively. Each notification manner in table 1 is different.
The notification mode is displayed through the interaction module, for example, the interaction module comprises an LED display unit, the LED display unit comprises a plurality of LED lamps, and therefore the plurality of LED lamps can be combined into a plurality of different lighting modes, and the notification mode is represented by the plurality of lighting modes. Of course the notification means may also be indicated in connection with other means, such as in connection with a buzzer.
It can be understood that the LED display unit can also be designed independently from the interactive module, i.e. the interactive module does not include the LED display unit, so that the LED display unit can give an alarm to the interactive module when the interactive module is abnormal.
For example, the LED display unit includes four LED lamps corresponding to different labels, such as LED1, LED2, LED3 and LED4, so that the four LED lamps can be combined into different lighting modes to indicate different notification modes. Specifically, the correspondence between the lighting mode and the notification mode is shown in table 2.
In table 2, four LED lamps are used to display in combination to indicate different notification modes, and each different lighting mode represents one notification mode for indicating the alarm of a different function module.
Table 2 shows the correspondence between the lighting mode and the notification mode
Figure BDA0002315882370000062
Figure BDA0002315882370000071
In an embodiment, the LED lamps may further display different colors to indicate alarms of different function modules, specifically, as a corresponding relationship between the lighting manner and the notification manner in table 3, each LED lamp in table 3 may display two colors, i.e., red and green, so that the colors are added in the lighting manner, so as to increase the diversity of combinations of the lighting manners for indicating different notification manners.
Of course, the LED may also include a flashing mode or other alarm device such as a buzzer, and the flashing mode includes both fast and slow display modes.
Table 3 shows another correspondence between the lighting mode and the notification mode
Figure BDA0002315882370000072
After the corresponding relation between the functional module and the informing mode, and the corresponding relation between the informing mode and the lighting mode are set, the corresponding relation is stored in a memory of the charger so as to be used for alarming.
In one embodiment, as shown in fig. 4, the interaction module 13 of the charger includes a display unit 131, four LED lamps and two buttons, the display unit 131 is an LCD display screen, the number of the LED lamps is two, and the buttons are a fast charge button 1321 and a slow charge button 1322 respectively, which represent the fast charge mode and the slow charge mode. The LCD display screen is used for displaying corresponding state information when the battery is charged, and the state information includes normal charging, abnormal charging or battery capacity and the like. The four LED lamps are used for combining different lighting modes. And the fast charging button 1321 and the slow charging button 1322 are used for sending a charging instruction to the main control module of the charger when the user presses the buttons, and the charging instruction comprises a charging mode.
Referring to fig. 5 to 14, fig. 5 to 14 are related circuits of the charger provided by the present application, such as a fault detection circuit, a module shutdown circuit, a communication circuit, and the like, and a corresponding charging detection method and a charging control method are completed by the related circuits.
Fig. 5 is a schematic circuit diagram of a switch module according to an embodiment of the present disclosure. The switch module is connected between the rectifying module and the charging port of the charger and is used for controlling the output of the rectifying module under the control action of the main control module so as to charge the battery.
As shown in fig. 5, the switch module includes an output switch circuit 161 and a switch detection circuit 162, and the switch detection circuit 162 is connected to the output switch circuit 161, specifically, to an output terminal of the output switch circuit 161. The switch detection circuit 162 includes a detection node AD _ BAT, an input terminal DC + of the output switch circuit 161 is connected to the rectifier module, and an output terminal BAT of the output switch circuit 161 is used for being connected to a battery.
Detecting a node voltage corresponding to a node by the detection switch detection circuit 162; judging whether the node voltage is a preset voltage or not, wherein the preset voltage is used for determining whether the output switch circuit is normal or not; and if the node voltage is not the preset voltage, for example, is smaller than the preset voltage, determining that the switch module is in an abnormal state.
In an embodiment, as shown in fig. 5, the output switch circuit 161 includes two MOS transistors, namely a first MOS transistor Q1 and a second MOS transistor Q2, wherein the first MOS transistor Q1 and the second MOS transistor Q2 are both N-type MOS transistors, but may also be P-type MOS transistors. The sources 3 of the first MOS transistor Q1 and the second MOS transistor Q2 are connected to each other, the drain 2 is respectively used as the input end and the output end of the output switch circuit 161, and the gate 1 is used for receiving the driving signal sent by the main control module.
The switch driving signal is used for driving the first MOS transistor Q1 and the second MOS transistor Q2 to be turned on or off, and the driving signal may be a high level signal or a low level signal. The two MOS tubes can avoid reverse current at the battery end, and thoroughly turn off a direct path of the rectifying module and the battery when the output switch circuit 161 is turned off, so that the charging safety is improved.
Specifically, the output switch circuit further includes a resistor, which is a current limiting resistor, such as resistor R1. One end of the resistor R1 is connected to the sources of the first MOS transistor Q1 and the second MOS transistor Q2, the other end of the resistor R1 is connected to the gates 1 of the first MOS transistor Q1 and the second MOS transistor Q2, and the current limiting resistor is used for protecting the MOS transistors.
In one embodiment, as shown in fig. 5, the switch detection circuit 162 includes a voltage dividing resistor and a diode, wherein one end of the voltage dividing resistor is grounded, and the other end of the voltage dividing resistor is connected to the cathode of the diode; the anode of the diode is connected to the power supply, and the cathode is also connected to the output terminal of the output switch circuit 161 and serves as the detection node.
Specifically, the switch detection circuit 162 further includes a current-limiting resistor and a voltage-stabilizing capacitor, the current-limiting resistor is a resistor R2, the voltage-stabilizing capacitor is a capacitor C1, the voltage-dividing resistor includes two resistors, which are a resistor R3 and a resistor R4, respectively, and the diode is D1. The anode of the diode D1 is connected to a power supply through a resistor R2, the power supply is a 12V power supply, and the cathode of the diode D1 is connected to the output terminal BAT of the output switch circuit 161; a first end of the resistor R3 is connected to the output terminal BAT of the output switch circuit 161, and a second end of the resistor R3 is grounded through a resistor R4; the capacitor C1 is connected with the resistor R4 in parallel; the second terminal of the resistor R3 is set as the detection node.
For example, in fig. 5, DC + corresponds to a voltage of 59V, and VCC corresponds to a voltage of 12V. By setting the resistance values of the resistor R2, the resistor R3 and the resistor R4, when the two MOS transistors are connected to the driving signal and then are simultaneously switched on or off, the voltage corresponding to the detection node AD _ BAT is a preset voltage, and the preset voltage is determined by the voltage of DC + because the two MOS transistors are simultaneously switched on; when the two MOS tubes are disconnected simultaneously, the preset voltage is determined by the voltage of VCC. For example, the corresponding preset voltage is 3V when the switch is turned on, and 0.5V when the switch is turned off.
If the main control module sends a driving signal to a switch module to control the switch module to be conducted, detecting that the voltage at the detection node is not 3V; or when the main control module sends a driving signal to the switch module to control the switch module to be closed, detecting that the voltage at the detection node is not 0.5V; the abnormal state is indicated when the switch module is abnormal.
Fig. 6 is a schematic circuit diagram of a part of a fan module according to an embodiment of the present disclosure. As shown in fig. 6, the fan module includes a fan interface circuit and an Open-Drain output circuit (Open-Drain circuit), the fan interface circuit is used for connecting fan hardware, the fan interface circuit includes a first interface terminal J1 and a resistor R5, and the resistor R5 is a pull-up resistor. Pin 2 of the first interface terminal is connected with a power supply VCC through a resistor R5 and is connected with an Open-Drain circuit; and sets the pin 2 as a detection node.
Specifically, when the fan module normally works, under the effect of the Open-Drain circuit, the level corresponding to the pin 2 is a high level; when the fan module is abnormal, under the action of the Open-Drain circuit, the level corresponding to the pin 2 is a low level, so that the pin 2 can be used as a detection node, the high level and the low level of the node to be detected are detected, and whether the fan module is abnormal or not is judged.
Referring to fig. 7 to 10, fig. 7 to 10 are schematic circuit diagrams of a portion of an ADC detection module according to an embodiment of the present application. The ADC detection module comprises a plurality of detection circuits, is connected with the MCU of the main control module and is used for detecting the abnormal state of the charger.
As shown in fig. 7, the circuit in fig. 7 is an auxiliary source detection circuit for detecting whether the auxiliary source module is in an abnormal state. Specifically, the auxiliary source detection circuit includes a plurality of voltage-dividing resistors and a voltage-stabilizing capacitor, and the voltage-dividing resistors are respectively a resistor R6, a resistor R7 and a resistor R8 connected in series. The voltage stabilizing capacitor is a capacitor C2, and the capacitor C2 is connected in parallel with the resistor R8. One end of the resistor R8 is grounded, and the other end is used as the detection node ISO _ OX. When the auxiliary source module works normally, the voltage corresponding to the detection node is a preset voltage, and if the voltage corresponding to the detection node detected in real time is not the preset voltage, the auxiliary source module is judged to be in an abnormal state.
As shown in fig. 8, the circuit in fig. 8 is a temperature detection circuit for detecting whether the temperature module is in an abnormal state. Specifically, the temperature detection circuit comprises a variable resistor, a voltage division resistor and a voltage stabilization capacitor, wherein the variable resistor is a resistor R9, the resistance value of the variable resistor changes along with the temperature change related to the temperature, the voltage division resistor is a resistor R10, the voltage stabilization capacitor is a capacitor C3, the resistor R9 is grounded through a resistor R10, a capacitor C3 is connected with a resistor R10 in parallel, and the connection point of the resistor R9 and the resistor R10 serves as a detection node BAT _ MOS _ TEMP. And determining whether the temperature module is in an abnormal state or not by utilizing the relation between the resistance value of the variable resistor and the temperature and detecting the voltage of the detection node.
As shown in fig. 9, the circuit in fig. 9 is a rectification detection circuit for detecting whether the rectification module is in an abnormal state. Specifically, the rectification detection circuit comprises a plurality of voltage-dividing resistors and a voltage-stabilizing capacitor, wherein the voltage-dividing resistors are respectively a resistor R11, a resistor R12 and a resistor R13 which are connected in series. The voltage stabilizing capacitor is a capacitor C4, and the capacitor C4 is connected in parallel with the resistor R13. One end of the resistor R13 is grounded, and the other end is used as the detection node AD _ BUS. When the rectifier module works normally, the voltage corresponding to the detection node is a preset voltage, and if the voltage corresponding to the detection node detected in real time is not the preset voltage, the rectifier module is judged to be in an abnormal state.
As shown in fig. 10, the circuit in fig. 10 is a port detection circuit, which is used to detect a port voltage of a charging port of the charger, and is used to determine whether a battery is connected or not or whether the battery is fully charged. Specifically, the port detection circuit includes a plurality of voltage dividing resistors and a voltage stabilizing capacitor, the voltage dividing resistors are a resistor R14 and a resistor R15, the resistor R14 is grounded through a resistor R15, the voltage stabilizing capacitor is a capacitor C5, a capacitor C5 is connected in parallel with a resistor R15, and a connection point of the resistors R14 and R15 serves as a detection node AD _ BAT.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a rectifying switch circuit according to an embodiment of the present application. The rectification switch circuit is connected with a power switch of the rectification module, and when the rectification switch circuit receives a rectification closing signal sent by the main control module, the rectification switch circuit sends a low level signal to the power switch of the rectification module to close the rectification module.
Specifically, the rectifier switch circuit optical coupling chip U1, this optical coupling chip U1 includes emitting diode and triode. The positive pole of the light emitting diode is connected with the MCU of the main control module and used for receiving a rectification closing signal, and the negative pole of the light emitting diode is grounded. And the collector and the emitter of the triode are respectively connected with the power switch of the rectification module. Under the action of the rectification closing signal, the collector electrode and the emitter electrode of the triode are communicated, so that the power switch of the rectification module is in a low level state, and the rectification module is closed.
Referring to fig. 12, fig. 12 is a schematic structural diagram of a fan control circuit according to an embodiment of the present disclosure. The fan control circuit comprises a fan control chip U2, and the fan control circuit is connected with the fan module. When the fan control chip U2 receives the fan off signal sent by the main control module, the current output is turned off to turn off the fan module.
Specifically, pin 9 of the FAN control chip U2 is connected to the main control module MCU, and when receiving a signal FAN _ CTL sent by the main control module and being at a low level, the current output to the FAN module is turned off, thereby turning off the FAN module.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a part of a circuit of a communication module according to an embodiment of the present application. The communication module comprises a communication chip U3, wherein pin 6 of the communication chip U3 is connected with the MCU of the main control module. When receiving that the communication shutdown signal BAT _ COMM sent by the master control module is at a low level, the communication chip U3 is automatically shut down to implement shutdown of the communication module.
Referring to fig. 14, fig. 14 is a schematic structural diagram of an LED lamp driving circuit according to an embodiment of the present application. The driving circuit comprises a light emitting diode component D2 and a light emitting diode component D3, wherein each of the light emitting diode component D2 and the light emitting diode component D3 comprises two light emitting diodes for emitting light of different colors, such as a red light emitting LED and a green light emitting LED, the light emitting diode component D2 and the light emitting diode component D3 further comprise current limiting resistors, specifically four current limiting resistors, namely a resistor R16, a resistor R17, a resistor R18 and a resistor R19, and the four LEDs are grounded through a resistor R16, a resistor R17, a resistor R18 and a resistor R19 respectively.
Specifically, the LED lamp driving circuit may control the lighting manner, such as on, off, and color of light, of the light emitting diode assemblies D2 and D3 according to different control information. It will be appreciated that the charger may include a plurality of LED lamp driver circuits, thereby allowing for more combinations of lighting patterns.
Referring to fig. 15, fig. 15 is a schematic structural diagram of a battery detection circuit according to an embodiment of the present disclosure. The battery detection circuit is a circuit of the ADC detection module and is used for detecting the voltage of a Charger _ OUT port connected with a battery. The circuit comprises two voltage division resistors connected in series, a diode, a voltage division capacitor and a current limiting resistor, wherein the voltage division resistors are a resistor R22 and a resistor R23 respectively, the current limiting resistor is a resistor R21, the voltage division capacitor is a capacitor C9, the anode of the diode D4 is connected with a power VCC through a resistor R21, the power voltage is 12V, the cathode of the diode D4 is connected with a resistor R22, the resistor R22 is grounded through a resistor R23, and the capacitor C9 is connected with the resistor R23 in parallel. The connection point of the resistor R22 and the resistor R23 is used as the MCU _ AD _ BAT terminal, the connection point of the diode D4 and the resistor R22 is used as the charge _ OUT terminal, and the ground terminal of the resistor R23 is used as the GND terminal.
For a normally charged battery, when the battery is inserted, the charge _ OUT voltage is the battery voltage, the MCU of the main control module detects the MCU _ AD _ BAT signal, and if the MCU _ AD _ BAT signal level changes, the Charger is awakened. Meanwhile, the MCU can also know which type of battery the current battery is according to the level. The MCU is communicated with the battery, and the current voltage and current values required to be output can be obtained.
For the battery with the abnormal charging, the battery with different types can be provided with a resistor R24 with different resistance values at the battery end, and two ends of the resistor R24 are used as a PACK + end and a PACK-end which are respectively used for being connected with a charge _ OUT end and a GND end. When the battery is connected to the Charger, the resistor R24 is connected in parallel with the resistor R22 and the resistor R23, the voltage of the charge _ OUT will become low, the MCU detects the voltage change, the Charger is waken up, and the Charger knows which type of battery is currently according to the level. The MCU is communicated with the battery, and then the current appropriate voltage and current values can be output.
Referring to fig. 16, fig. 16 is a schematic flowchart of a charge detection method according to an embodiment of the present application. The charging detection method is applied to the charger provided by the embodiment, and the charger completes self-detection by operating the charging detection method. Specifically, as shown in fig. 16, the charge detection method includes steps S101 and S102.
S101, when the charger is electrically connected to an external power supply, whether each functional module in the charger is in an abnormal state is detected.
The external power supply is generally a commercial power, which is an alternating current, but may be other power supplies.
Specifically, the charger is electrically connected to an external power supply, and includes: the charger is connected only to the external power source, or the charger is connected to the external power source and the battery.
When the charger detects that the charger is connected with an external power supply, whether each functional module in the charger is abnormal or not is detected, so that whether the functional module is in an abnormal state or not is judged. The functional modules comprise a rectifying module, a switch module, a fan module, an interaction module, an auxiliary source module, a temperature module, an ADC detection module and the like.
Wherein, whether each functional module in the detection charger is in the abnormal state includes: detecting the operation parameters of each functional module in the charger; and determining whether the functional module is in an abnormal state according to the operating parameters of each functional module.
Specifically, the operation parameter includes a node voltage at a detection node corresponding to the functional module, a node current at the detection node, an operating temperature of the charger, or communication data of the functional module.
For example, whether a switch module of the charger is in an abnormal state may be detected by detecting whether a voltage at a detection node in a switch detection circuit of the switch module is a preset voltage; judging whether the node voltage is a preset voltage or not, wherein the preset voltage is used for determining whether the output switch circuit is normal or not; if the node voltage is not the preset voltage, for example, is less than or greater than the preset voltage, it is determined that the switch module is in an abnormal state.
For example, whether the fan module of the charger is in an abnormal state or not may be detected by detecting a node voltage corresponding to a pin of a first interface terminal of the fan module, where the pin of the first interface terminal is a detection node; judging whether the node voltage is a high level, wherein the high level is a level corresponding to the normal work of the fan module; and if the node voltage is not at a high level, for example, if the node voltage is at a low level, determining that the fan module is in an abnormal state.
For example, whether the auxiliary source module, the temperature module and the rectifier module of the charger are in an abnormal state is detected, and whether the auxiliary source module, the temperature module and the rectifier module are in an abnormal state is judged by respectively detecting node voltages at detection nodes corresponding to the auxiliary source module, the temperature module and the rectifier module through the ADC detection module. Specifically, the node voltages of the auxiliary source module, the temperature module and the rectification module can be correspondingly detected through the auxiliary source detection circuit, the temperature detection circuit and the rectification detection circuit respectively.
In the above embodiment, the node voltage of each functional module is used to determine whether the functional module is in an abnormal state, and similarly, the node current may also be used to determine. Of course, other operation parameters may also be used for the determination, for example, whether the temperature module and the fan module are in the abnormal state is determined by the operating temperature of the charger, or whether the communication function of the rectifier module is in the abnormal state is determined by the communication data of the functional module.
And S102, if the functional module is in an abnormal state, informing the functional module in the abnormal state to a user.
Specifically, informing the user of the function module in the abnormal state includes: and informing the user of all the functional modules in the abnormal state. For example, the function module in the abnormal state includes a fan module and a rectifier module, and the function module is notified to the user in a display mode or a voice prompt mode. So that the user can maintain the charger in a targeted manner, and the maintenance efficiency is further improved.
In one embodiment, the notifying the user of the function module in the abnormal state includes: determining a notification mode corresponding to the functional module in the abnormal state according to a preset corresponding relation between each functional module and the notification mode; and informing the functional module in the abnormal state to the user according to the determined informing mode.
The informing mode comprises one or a combination of a plurality of modes of an LED combined display mode, a voice broadcasting mode or a text display mode.
In the present embodiment, a combined LED display mode is adopted. For example, according to the preset correspondence between the functional modules and the notification manners in table 1, it can be determined that the rectifier module in the abnormal state corresponds to the notification manner 1, and the fan module in the abnormal state corresponds to the notification manner 2. Then, according to the correspondence between the lighting manner and the notification manner in table 2, the lighting manner corresponding to the notification manner 1 and the notification manner 3 can be determined. According to the determined lighting mode, the rectifying module and the fan module in abnormal states can be informed to the user through the four LED lamps in fig. 4.
Therefore, when the user charges the battery by using the charger, the user can know that the modules of the charger are abnormal, and maintain or replace the abnormal functional modules. Compared with the existing charger, the charger can only be replaced or a professional can only be found for maintenance when the charger is abnormal, the charging detection method can improve the maintenance efficiency of a user, saves the time and money cost of the user, avoids resource waste and further improves the experience of the user.
Referring to fig. 17, fig. 17 is a schematic flowchart of another charge detection method according to an embodiment of the present application. The charging detection method is applied to the charger provided by the embodiment, and the charger completes self-detection by operating the charging detection method. Specifically, as shown in fig. 17, the charge detection method includes steps S201 to S204.
S201, when the charger is electrically connected to an external power supply, whether each functional module in the charger is in an abnormal state is detected.
The device comprises a rectification module, a switch module, a fan module, an interaction module, an auxiliary source module, a temperature module, an ADC detection module and the like.
For example, when the charger is electrically connected to an external power source to prepare for charging the battery, it is detected that both the temperature module and the fan module of the charger are in an abnormal state.
S202, if the functional module is in an abnormal state, judging whether the functional module in the abnormal state is a preset module.
The preset modules are replaceable functional modules predefined in the design of the charger or functional modules easy to maintain, and include, for example, a rectifier module, an interaction module, an auxiliary source module and a fan module. Of course, other functional modules may also be defined as the preset module, for example, the switch module is an easy-to-maintain module, or the switch module is designed as an easy-to-replace functional module when the charger is designed, and then the switch module is also the preset module.
Specifically, if the temperature module and the fan module are both in abnormal states, whether the interaction module and the fan module are preset modules is judged. It can thus be determined that the temperature module is not the preset module, but the fan module is the preset module.
Judging whether the functional module in the abnormal state is a preset module or not; if the functional module in the abnormal state is the preset module, executing step S203; if the functional module in the abnormal state is not the preset module, step S204 is executed.
And S203, informing the functional module in the abnormal state to the user.
Specifically, if the functional module in the abnormal state is the preset module, the functional module in the abnormal state is notified to the user. Any one of an LED combined display mode, a voice broadcast mode and a character display mode can be adopted to inform the user of the functional module in the abnormal state.
In this embodiment, the LED combined display mode is still adopted, the notification mode corresponding to the function module in the abnormal state is determined, the lighting mode corresponding to the notification mode is determined, and the function module is notified to the user according to the determined lighting mode.
In addition, different lighting modes can be printed on a product manual of the charger corresponding to different functional modules, so that a user can inquire and confirm when the user is uncertain.
And S204, acquiring log information generated when the functional module is in an abnormal state, and storing the log information.
Specifically, if the functional module in the abnormal state is not the preset module, log information generated when the functional module is in the abnormal state is acquired, and the log information is stored in a memory of the charger, where the memory is, for example, a Flash chip.
The log information records abnormal information of the functional module of the charger, so that a service department of the charger can conveniently and quickly position the abnormal phenomenon according to the log information and inform a user of a positioning result, and the user can be assisted in maintenance.
It will be appreciated that the charger is for charging the battery of the terminal device. Therefore, after the saving the log information, the method may further include: and uploading the log information to the terminal equipment so that the terminal equipment can send the log information to related service personnel. In order to quickly locate anomalies in the log information.
In addition, after the acquiring log information generated when the functional module is in an abnormal state and saving the log information, the method further includes: and closing a corresponding circuit for charging the battery by the charger to suspend charging the battery. For example, the rectifying module or the switching module is turned off to suspend charging the battery, because the abnormal phenomenon corresponding to the log information may be a relatively serious abnormal phenomenon, and the charger is turned off to charge the battery to suspend charging the battery, thereby improving charging safety and service life of the battery and the charger.
According to the charging detection method, when the charger is used for charging the battery, the abnormity of the functional module which is easy to maintain or replaceable can be detected, and the functional module is informed to a user, so that the user can complete the maintenance of the charger by replacing the related module. Compared with the existing charger, the charger can only be replaced or a professional can only be found for maintenance when the charger is abnormal, the charging detection method can greatly improve the maintenance efficiency of a user, saves the time and money cost of the user, avoids resource waste and further improves the experience of the user.
Referring to fig. 18, fig. 18 is a schematic flowchart of another charge detection method according to an embodiment of the present application. The charging detection method is applied to the charger provided by the embodiment, and the charger completes self-detection by operating the charging detection method. Specifically, as shown in fig. 18, the charge detection method includes steps S301 to S305.
S301, when the charger is electrically connected to an external power supply, whether each functional module in the charger is in an abnormal state is detected.
The device comprises a rectification module, a switch module, a fan module, an interaction module, an auxiliary source module, a temperature module, an ADC detection module and the like.
For example, when the charger is electrically connected to an external power source to prepare for charging the battery, it is detected that both the temperature module and the fan module of the charger are in an abnormal state.
S302, if the functional module is in an abnormal state, the functional module in the abnormal state is informed to a user.
Specifically, any one of an LED combined display mode, a voice broadcast mode, and a text display mode may be adopted to notify the user of the temperature module and the fan module in the abnormal state.
And S303, judging whether the functional module in the abnormal state influences the normal charging of the charger.
For example, it is determined whether the temperature module and the fan module in the abnormal state affect the normal charging of the charger.
Specifically, the functional modules of the charger are classified into a first type module and a second type module, wherein the first type module is a functional module which does not affect battery charging even if an abnormality occurs, and the second type module is a functional module which affects battery charging when an abnormality occurs. The first type of module comprises an interaction module, an auxiliary source module, a temperature module and an ADC detection module; the second category of modules includes, for example, rectifier modules, switch modules and fan modules.
Therefore, whether the functional module in the abnormal state affects the normal charging of the charger can be judged according to the classification of the modules. For example, the temperature module is a functional module that does not affect normal charging, and the fan module is a functional module that affects normal charging.
Judging whether the functional module in the abnormal state affects the normal charging of the charger or not; if the functional module in the abnormal state does not affect the normal charging of the charger, executing step S304; if the functional module in the abnormal state affects the normal charging of the charger, step S305 is executed.
S304, obtaining the log information generated when the functional module is in an abnormal state, and storing the log information.
Specifically, if the functional module in the abnormal state does not affect the normal charging of the charger, the log information generated when the functional module is in the abnormal state is acquired, and the log information is stored in the memory of the charger and the battery is continuously charged.
And S305, closing a switch module of the charger and stopping charging the battery.
Specifically, if the functional module in the abnormal state affects the normal charging of the charger, the switch module of the charger is turned off, the battery is stopped from being charged, and an alarm is given to prompt a user to pull out the power supply and the battery as soon as possible and maintain the charger.
When the charger is used for charging the battery, the charging detection method can not only detect that the functional module is abnormal and inform the user of the functional module, but also inform that the abnormal functional module does not influence the charging of the battery, so that the user can select to complete the maintenance of the charger by replacing the related module after the charging is completed. Compared with the existing charger, the charger can only be replaced or a professional can only be found for maintenance when the charger is abnormal, the charging detection method can greatly improve the maintenance efficiency of a user, saves the time and money cost of the user, avoids resource waste and further improves the experience of the user.
Referring to fig. 19, fig. 19 is a schematic flowchart of a charging control method according to an embodiment of the present application. The charging control method is applied to the charger provided by the above embodiment, and the charger realizes reduction of power consumption by operating the charging control method. Specifically, as shown in fig. 19, the charge control method includes steps S401 to S403.
S401, detecting whether the charger enters a standby idle state or not.
The standby idle state refers to a state corresponding to the state in which the charger is connected to an external power source but the battery is not charged.
Specifically, the charger detects whether it enters the idle state, for example, by detecting a voltage and a current value corresponding to a charging port of the charger, the idle state is determined when the charging port has a voltage but no current is output.
In an embodiment, step S401 includes a step of determining to enter the idle-time state, as shown in fig. 20, the step specifically includes the following steps:
s401, 401a, judging whether the charger enters a standby state.
The standby state comprises a corresponding state when no battery is accessed by the charger or a corresponding state when the battery is accessed by the charger and the electric quantity of the battery is fully charged.
Wherein, the judging whether the charger enters a standby state includes: the standby state of the charger is determined according to the port voltage and the output current by detecting the port voltage and the output current corresponding to the charging port of the charger. For example, if there is a port voltage but there is no output current, it indicates that the corresponding state or battery level is fully charged when no battery is connected.
Specifically, the port voltage and the output current corresponding to the charging port of the charger are detected by the port detection circuit in fig. 10.
S401b, if the charger enters the standby state, timing the charger entering the standby state to obtain the timing duration.
Specifically, the charger may be timed to enter the standby state by a timer in the MCU of the main control module to obtain a timing duration.
S401c, judging whether the timing duration reaches a preset duration.
The preset time is a preset value, which can protect the angle between the charger and the battery, and is set according to factors such as charging habits of users, and the preset time is used for judging the time corresponding to the timing time, for example, the preset time is 30 minutes, and of course, other values are also possible. For example, when the counted time length reaches 30 minutes, step S401d is executed.
S401d, if the timing duration reaches the preset duration, determining that the charger enters the standby idle time state.
For example, after the charger enters the standby state and the timing duration reaches 30 minutes, it can be determined that the charger enters the standby idle state. And executing the next action step when the charger is judged to enter the standby idle state.
S402, if the charger enters the standby idle state, closing a preset module of the charger.
The preset modules are partial functional modules in the charger. For example, the preset module includes a rectifying module, a fan module, a communication module, a display module, and the like.
Specifically, turning off the preset module of the charger means that the main control module sends a corresponding turn-off signal to the preset module or a corresponding circuit to turn off the preset module.
For example, the main control module sends a rectification closing signal to the rectification switch circuit, and when the rectification switch circuit receives the rectification closing signal sent by the main control module, the rectification switch circuit sends a low level signal to the power switch of the rectification module to close the rectification module.
The charger further comprises an output switch circuit, and the rectifying module is connected with a charging port of the charger through the output switch circuit; the rectifier module that closes the charger includes: sending a switch close signal to the output switch circuit to close the output switch circuit; and after the output switch circuit is closed, sending a rectification closing signal to the rectification switch circuit to close the rectification module.
Thereby protecting the charger.
For example, the main control module sends a fan shutdown signal to the fan control chip in the fan control circuit, so that the fan control chip shuts off the current output to shut down the fan module when receiving the fan shutdown signal sent by the main control module.
For another example, the main control module sends a communication closing signal to the communication chip of the communication module, where the communication closing signal is at a low level, so that the communication chip is automatically closed to close the communication module.
In one embodiment, the preset module for turning off the charger includes: and closing the display module, the communication module, the fan module and the rectifying module of the charger in sequence. Thereby protecting the charger and improving the service life of the charger.
In one embodiment, the charger includes an auxiliary source module; the preset module for closing the charger comprises: and switching the auxiliary source module to supply power to the main control module and closing a preset module of the charger. The auxiliary source module supplies power for small current relative to the rectifying module, so that energy is saved more, and the power consumption of the charger is reduced.
And S403, controlling the main control module to enter a dormant state.
Specifically, the controlling the main control module to enter the sleep state includes: and executing a preset modification instruction to modify the working frequency of the main control chip so as to reduce the working frequency and enable the main control module to enter a dormant state. Thereby reducing the standby power consumption of the charger.
According to the charging control method in the embodiment, when the charger is judged to enter the standby idle state, the power consumption function module of the charger is closed, and meanwhile the MCU of the main control module is controlled to enter the dormant state, so that the power consumption of the charger is greatly reduced, and energy conservation and emission reduction are realized.
Referring to fig. 21, fig. 21 is a schematic flowchart of another charging control method according to an embodiment of the present disclosure. The charging control method is applied to the charger provided by the above embodiment, and the charger realizes reduction of power consumption by operating the charging control method. Specifically, as shown in fig. 21, the charge control method includes steps S501 to S507.
S501, detecting whether the charger enters a standby idle state or not.
The standby idle state refers to a state corresponding to the state in which the charger is connected to an external power source but the battery is not charged. Whether the charger enters a standby idle state or not can be detected by detecting the voltage and current values corresponding to the charging port of the charger.
S502, if the charger enters the standby idle state, closing a preset module of the charger.
The preset modules are partial functional modules in the charger. For example, the preset module includes a rectifying module, a fan module, a communication module, a display module, and the like. Specifically, turning off the preset module of the charger means that the main control module sends a corresponding turn-off signal to the preset module or a corresponding circuit to turn off the preset module.
S503, controlling the main control module to enter a dormant state.
Specifically, under the power supply effect of the auxiliary source module, the main control module is controlled to enter a dormant state by reducing the working frequency of the MCU of the main control module.
S504, whether the charger enters a first awakening state is detected.
The first awakening state is a corresponding state when the charger is not disconnected when the battery is connected and the electric quantity of the battery reaches a preset range. The preset range is a preset range value, and the specific range value is not limited herein, for example, 80% to 90%.
Specifically, the MCU of the battery can calculate the current battery capacity in real time, the battery has a communication function and can communicate with the charger, the battery capacity is sent to the charger, the charger receives the battery capacity and judges whether the battery capacity is within a preset range, and if the battery capacity is within the preset range, the charger is judged to enter a first awakening state.
And S505, starting the rectifying module to charge the battery.
Specifically, if the charger enters the first wake-up state, the rectifier module is turned on to charge the battery. Of course, if the switch module is also in the off state, an on signal needs to be sent to the switch module to turn on the switch module, so as to charge the battery in the power-saving state, thereby ensuring that the battery has sufficient battery power.
S506, detecting whether the charger enters a second awakening state.
And the second awakening state is a corresponding state when the charger is disconnected after the access battery is disconnected and a new battery is accessed.
Specifically, whether a new battery is connected can be detected by the battery detection circuit in fig. 15, and the battery detection circuit can detect that a new battery is connected and can also determine the type of the battery, so as to obtain the current voltage and current value to be output to complete charging of the newly connected battery. When the voltage change at the charge _ OUT end of the battery circuit is detected, the Charger can be determined to enter a second awakening state.
And S507, sequentially starting the rectifying module, the fan module, the communication module and the display module to charge the new battery.
Specifically, if the charger enters the second wake-up state, the rectification module, the fan module, the communication module and the display module are sequentially started to charge the new battery. The corresponding functional modules are started in sequence, so that not only can the newly-accessed battery be charged, but also the charger can be protected, and the service life of the charger is further prolonged.
In the charging control method in the above embodiment, when it is determined that the charger enters the standby idle state, the power consumption function module of the charger is turned off, the MCU of the main control module is controlled to enter the sleep state, and it is determined when the charging enters different wake-up states so as to start different charging modes to charge the battery, thereby greatly reducing the power consumption of the charger and ensuring that the battery has sufficient electric power.
Referring to fig. 22, fig. 22 is a schematic flowchart of a charging control method according to an embodiment of the present application. The charging control method is applied to the charger provided by the embodiment, and the design of the charger can be simplified based on the charging control method, so that the hardware cost is reduced. Specifically, as shown in fig. 22, the charge control method includes steps S601 to S603.
S601, determining a battery connected to the charger and establishing communication connection with the battery.
The charger may include one charging channel and also include a plurality of charging channels, where the plurality of charging channels are used to charge a plurality of batteries, for example, four channels may be included to charge four batteries simultaneously. The battery also has a communication function for establishing a communication connection with the charger and transmitting the voltage and current values required for the current charging to the charger, and includes an MCU.
In one embodiment, the determining to access the battery of the charger and establish a communication connection with the battery includes: detecting whether the charging channel generates in-place battery information; and if the charging channel generates the in-place battery information, determining that the charging channel has battery access and establishing communication connection with the accessed battery. To establish a communication connection with the on-site battery.
Specifically, the detecting whether the charging channel generates in-place battery information includes: detecting whether the charging channel generates a high level signal or not, wherein the high level signal is a level signal generated when the battery is connected into the charging channel; and if the charging channel generates the high level signal, judging that the charging channel generates the in-place battery information.
For example, the charger includes four charging channels, i.e., channel 1, channel 2, channel 3, and channel 4, and if both channel 2 and channel 4 access the battery, a high level signal is generated at channel 2 and channel 4, thereby determining that both channel 2 and channel 4 generate in-place battery information, and establishing a communication connection with the battery accessed by channel 2 and channel 4.
And S602, acquiring the charging parameters sent by the battery, and sending the charging parameters to the rectifying module to set the output parameters of the rectifying module.
The charging parameters comprise voltage values and current values required by charging the battery, so that the battery can be charged by a charger according to the voltage values and the current values.
Specifically, after acquiring the charging parameters sent by the battery, the main control module sends the charging parameters to the rectifying module, the rectifying module is used for converting an external power supply into output parameters required by charging according to voltage values and current values in the charging parameters, and the output parameters include charging voltage and charging current.
And S603, charging the battery according to the output parameters.
Specifically, the main control module charges the battery according to the charging voltage and the charging current, and different charging modes can be selected for charging the battery according to the charging voltage and the charging current.
For example, the charging mode may be constant voltage charging, and the charger performs constant voltage charging on the battery according to the charging voltage, wherein the charging current may be a current value of the battery or a default current of the charger.
For example, the charging mode may be constant current charging, and the charger performs constant current charging on the battery according to the charging current, where the charging voltage may be a voltage value or a rated voltage greater than the battery.
For another example, the charging mode may be constant-current charging with a charging current and then constant-voltage charging with the charging voltage, or may be other modes such as trickle charging.
In one embodiment, the charging channel is provided with an output switch circuit; the charging the battery according to the output parameter includes: and starting the output switch circuit, and charging the battery according to the output parameters. And the output switch circuit is started to send a starting signal to the output switch circuits in different charging channels for the main control module so as to charge the batteries of the multiple charging channels in different modes.
For example, the output switch circuit in the channel 2 is turned on to charge the battery corresponding to the channel 2, and then the output switch circuit in the channel 4 is turned on to charge the battery corresponding to the channel 4; alternatively, if the battery types in lane 2 and lane 4 are the same, then the output switch circuits in lane 2 and lane 4 are turned on simultaneously to charge both batteries simultaneously.
According to the charging control method provided by the embodiment, the voltage value and the current value required by battery charging are obtained through communication with the battery, and then the voltage value and the current value are sent to the rectifying module in a communication mode, so that the rectifying module is controlled to charge the battery, connection wires between each battery and each battery cell of the battery are eliminated, the safety and the reliability of battery charging are improved, meanwhile, the circuit design of the charger can be simplified, and the charging cost is reduced.
Referring to fig. 23, fig. 23 is a schematic flowchart of another charging control method according to an embodiment of the present application. The charging control method is applied to the charger provided by the embodiment, the charger comprises a plurality of charging channels, and the design of the charger can be simplified based on the charging control method, so that the hardware cost is reduced. Specifically, as shown in fig. 23, the charge control method includes steps S701 to S707.
S701, determining a battery connected into the charger and establishing communication connection with the battery.
In this embodiment, the charger includes a plurality of charging channels for charging a plurality of batteries. For example, four charging channels, i.e., channel 1, channel 2, channel 3, and channel 4, are included, and four batteries of the same type or different types can be charged simultaneously.
Before charging the battery, the battery accessed to the charging channel in the charger is determined according to the in-place battery information corresponding to each charging channel, and communication connection is established between the battery and the accessed battery.
For example, channel 1, channel 2, and channel 4 generate in-place battery information indicating that the battery is inserted into each of channel 1, channel 2, and channel 4, and establish a communication connection with the battery accessed into each of channel 1, channel 2, and channel 4.
And S702, if a plurality of batteries are connected to the charger, acquiring the battery voltages of the plurality of batteries.
For example, three battery channels, channel 1, channel 2 and channel 4, are connected to the charger, which are respectively denoted as battery 1, battery 2 and battery 4, and the main control module of the charger needs to obtain the current battery voltages of the three batteries.
The current battery voltage of the batteries is obtained, and the current battery voltage of the batteries can be calculated by the MCU of the batteries and then sent to the main control module of the charger in a mode of communication with the batteries; the current battery voltage of the battery can also be detected by the detection battery circuit in fig. 15.
In this embodiment, the current battery voltage of the battery is detected by the battery detecting circuit, so that the speed of acquiring the battery voltage is increased.
S703, sequencing the batteries according to the voltage values corresponding to the battery voltages to obtain a charging sequence.
Specifically, the plurality of batteries may be sorted according to a voltage value corresponding to the battery voltage and a relationship from a large voltage value to a small voltage value to obtain a charging order.
For example, among the three batteries, the battery voltage of the battery 4 is the largest, the battery voltage of the battery 1 is the next largest, and the battery voltage of the battery 2 is the smallest. Sequencing the batteries according to the relationship of the voltage values from large to small to obtain a charging sequence as follows: battery 4, battery 1 and battery 2.
S704, obtaining the charging parameters sent by the battery, and sending the charging parameters to the rectifying module to set the output parameters of the rectifying module.
The charging parameters comprise voltage values and current values required by charging the battery, so that the battery can be charged by a charger according to the voltage values and the current values.
Specifically, the charging parameters sent by the battery are obtained in a communication mode, and the charging parameters are sent to the rectifying module to set the charging voltage and the charging current of the rectifying module.
S705, charging the batteries according to the output parameters corresponding to the batteries according to the charging sequence.
Specifically, the main control module charges the battery according to the charging voltage and the charging current according to the charging sequence. Namely, the battery 4 is charged first, then the battery 1 is charged, and finally the battery 2 is charged. Therefore, on the premise of ensuring charging reliability, the charging efficiency of the battery is improved.
S706, detecting whether the charger enters a standby state.
The standby state comprises a state corresponding to the full charge of the battery connected to the battery or a state corresponding to the charger when no battery is connected.
In this embodiment, detecting whether the charger enters a standby state includes: detecting port voltage and output current corresponding to a charging port of the charger, and detecting whether the charger enters a standby state according to the port voltage and the output current.
Specifically, detecting a port voltage and an output current corresponding to a charging port of the charger includes: and detecting port voltage and output current corresponding to a charging port of the charger through the port detection circuit. For example, if there is a port voltage but there is no output current, it can be determined that the charger enters a standby state.
And S707, if the charger enters a standby state, closing the rectifying module under the power supply action of the auxiliary source module.
The charger further comprises an auxiliary source module, and the auxiliary source module is used for supplying power to the MCU in the main control module. The auxiliary source module can be designed independently, the auxiliary source module can be arranged in the rectification module, and the independent design refers to the aspect of relative arrangement in the rectification module.
Specifically, the step of turning off the rectifying module of the charger under the action of supplying power to the main control module through the auxiliary source module includes: and sending a rectification closing signal to the rectification switch circuit, so that the rectification switch circuit sends a low level signal to a power switch of the rectification module to close the rectification module.
In the charging control method provided by the above embodiment, the voltage value and the current value required for charging the battery are obtained through communication with the battery, the battery voltages of the batteries corresponding to the plurality of charging channels are obtained, the charging sequence is generated according to the battery voltages, and the voltage value and the current value are sent to the rectifying module in a communication manner, so that the rectifying module is controlled to charge the battery according to the charging sequence. The connecting wire between each battery and each battery core of the battery can be cancelled, the circuit design of the charger is simplified, and the charging cost is reduced; the charging efficiency is improved while the safety and the reliability of the battery charging are improved.
Referring to fig. 24, fig. 24 is a schematic flowchart of another charging control method according to an embodiment of the present application. The charging control method is applied to the charger provided by the embodiment, and the design of the charger can be simplified based on the charging control method, so that the hardware cost is reduced. Specifically, as shown in fig. 24, the charge control method includes steps S801 to S808.
S801, determining a battery connected into the charger and establishing communication connection with the battery.
Specifically, a battery accessed to a charging channel in the charger is determined according to in-place battery information corresponding to the charging channel of the charger, and communication connection is established with the accessed battery.
S802, obtaining the charging parameters sent by the battery, and sending the charging parameters to the rectifying module to set the output parameters of the rectifying module.
The charging parameters comprise voltage values and current values required by charging the battery, so that the battery can be charged by a charger according to the voltage values and the current values.
S803, a charging instruction is obtained, and the charging instruction comprises a charging mode of the battery.
Specifically, a charging instruction generated by a user through selection operation of the interaction module is obtained, wherein the charging instruction comprises a charging mode of the battery, and the charging mode comprises a fast charging mode and a slow charging mode.
For example, in fig. 4, when the user clicks the fast charge button 1321, a charging instruction including a fast charge mode is generated; when the user clicks the slow charge button 1322, a charge command including a slow charge mode is generated. And sending the charging instruction to the main control module.
S804, the output parameters are set according to the charging mode.
Specifically, the output parameters include a charging voltage and a charging current. Setting the output parameters according to the charging mode, and if the charging mode is a quick charging mode, setting the charging current in the output parameters as a large current to charge the battery; and if the charging mode is a slow charging mode, setting the charging current in the output parameters as a small current to charge the battery. The large current and the small current are relative terms, and the specific values thereof are not limited herein.
And S805, judging whether the charger meets the charging condition or not according to the operating parameters of the charger and the battery.
The operating parameters of the charger comprise working temperature, wiring state information and operating state information of the functional module; the operating parameters of the battery include on-site battery information and state of health information.
For example, if the working temperature of the charger is greater than the alarm value, the charger is not suitable for charging; or the wiring state information is abnormal, and the wiring line is not communicated without signals; or the running state of the functional module is abnormal, such as the functional module is in an abnormal state, and the like. It may be determined that the charger does not satisfy the charging condition. The operating parameters of the battery may also determine that the charger does not satisfy the charging condition.
The functional modules comprise a rectifying module, a switch module, a fan module, an interaction module, an auxiliary source module, a temperature module, an ADC detection module and the like.
It should be noted that, in this embodiment, the detection method for detecting the abnormal operating state of the functional module is the detection method provided by the embodiment corresponding to the charging detection.
And S806, charging the battery according to the set output parameters.
Specifically, if the charger meets the charging condition, the battery is charged according to the set output parameters. Such as charging the battery in a fast charge mode.
S807, acquiring corresponding charging state information when the battery is charged, and displaying the charging state information.
Wherein the charging state information includes a current charging state of the battery and an operating state of the charger. The current charging state comprises the charging capacity, the charging remaining time and the like of the battery; the working state of the charger comprises a normal state, an abnormal state, a charging mode, a working temperature and the like.
Specifically, the displaying the charging state information includes: and displaying the charging state information through a display unit. The display unit is an LCD display screen.
And S808, determining corresponding abnormal information according to the operation parameters to perform abnormal alarm.
Specifically, if the charger does not meet the charging condition, determining corresponding abnormal information according to the operation parameters to perform abnormal alarm, wherein the abnormal alarm comprises display alarm or voice alarm.
For example, the working temperature of the charger is greater than the alarm value, and temperature alarm is carried out; or the function module gives an alarm when abnormal, or the health state of the battery gives an alarm, and the like.
The charging control method provided by the above embodiment obtains the voltage value and the current value required for charging the battery through communication with the battery, controls the rectifying module to charge the battery according to the charging mode selected by the user, and can display the current charging state information for the user to view. The method not only simplifies the circuit design of the charger and reduces the charging cost; the experience of the user can be improved.
Referring to fig. 25, fig. 25 is a schematic block diagram of a charger according to an embodiment of the present application. The charger includes a processor 111 and a memory 112, and the processor 111 and the memory 112 are connected by a bus 113, such as an I2C (Inter-integrated Circuit) bus.
Specifically, the Processor 111 may be a Micro-controller Unit (MCU), a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or the like.
Specifically, the Memory 112 may be a Flash chip, a Read-Only Memory (ROM) magnetic disk, an optical disk, a usb disk, or a removable hard disk.
Wherein the processor 111 is configured to run a computer program stored in the memory 112, and when executing the computer program, implement the following steps:
when the charger is electrically connected to an external power supply, detecting whether each functional module in the charger is in an abnormal state; and if the functional module is in the abnormal state, informing the functional module in the abnormal state to a user.
Optionally, before the function module in the abnormal state is notified to the user, the processor is further configured to:
judging whether the functional module in the abnormal state is a preset module, wherein the preset module is a predefined replaceable functional module or a functional module easy to maintain; and if the functional module in the abnormal state is the preset module, the step of informing the functional module in the abnormal state to the user is realized.
Optionally, when the processor implements that the function module to be in the abnormal state is notified to the user, the processor is configured to implement:
determining a notification mode corresponding to the functional module in the abnormal state according to a preset corresponding relation between each functional module and the notification mode; and informing the functional module in the abnormal state to the user according to the determined informing mode.
Optionally, the notification mode includes an LED combined display mode, a voice broadcast mode, or a text display mode.
Optionally, after the processor determines whether the functional module in the abnormal state is a preset module, the processor is further configured to:
if the functional module in the abnormal state is not the preset module, acquiring the log information generated when the functional module is in the abnormal state, and storing the log information.
Optionally, after the processor obtains the log information generated when the functional module is in the abnormal state and stores the log information, the processor is further configured to:
and closing a corresponding circuit for charging the battery by the charger to suspend charging the battery.
In an embodiment, the processor, when implementing the detecting whether each functional module in the charger is in an abnormal state, is configured to implement:
detecting the operation parameters of each functional module in the charger; and determining whether the functional module is in an abnormal state according to the operating parameters of each functional module.
Optionally, the operating parameter includes a node voltage at a detection node corresponding to the functional module, a node current at the detection node, an operating temperature of the charger, or communication data of the functional module.
Optionally, before or after the function module in the abnormal state is notified to the user, the processor is further configured to:
judging whether the functional module in the abnormal state affects the normal charging of the charger; and if the functional module in the abnormal state does not influence the normal charging of the charger, acquiring the log information generated when the functional module is in the abnormal state, and storing the log information.
Optionally, the charger comprises a memory; when the processor realizes the saving of the log information, the processor is used for realizing: and storing the log information into a memory, wherein the memory is a Flash memory.
Optionally, the functional module includes a rectification module, a switch module, a fan module, an interaction module, an auxiliary source module, a temperature module, and an ADC detection module.
Optionally, the rectification module is an AC-DC module having a communication function.
Optionally, the switch module includes an output switch circuit and a switch detection circuit connected to the output switch circuit, the switch detection circuit includes a detection node, an input end of the output switch circuit is connected to the rectifier module, and an output end of the output switch circuit is used for being connected to a battery;
when the processor detects whether the switch module of the charger is in an abnormal state, the processor is used for realizing that:
detecting a node voltage corresponding to a detection node of the switch detection circuit; judging whether the node voltage is a preset voltage or not, wherein the preset voltage is used for determining whether the output switch circuit is normal or not; and if the node voltage is not the preset voltage, judging that the switch module is in an abnormal state.
Optionally, the output switch circuit includes a first MOS transistor and a second MOS transistor, and the first MOS transistor and the second MOS transistor are N-type MOS transistors; the source electrodes of the first and second MOS transistors are connected with each other, the gate electrodes of the first and second MOS transistors are connected with each other, and the drain electrodes of the first and second MOS transistors are respectively used as the input end and the output end of the output switch circuit 161; the grid electrodes of the first MOS tube and the second MOS tube are used for receiving driving signals sent by the main control module, and the switch driving signals are used for driving the first MOS tube and the second MOS tube to be switched on or switched off.
Optionally, the output switch circuit further includes a resistor, one end of the resistor is connected to the sources of the first MOS transistor and the second MOS transistor, and the other end of the resistor is connected to the gates of the first MOS transistor and the second MOS transistor.
Optionally, the switch detection circuit includes a voltage dividing resistor and a diode; the anode of the diode is connected with a power supply, and the cathode of the diode is connected with the first end of the divider resistor; the second end of the divider resistor is grounded, and the first end of the divider resistor is also connected with the output end of the output switch circuit and serves as the detection node.
Optionally, the switch detection circuit further includes a current-limiting resistor and a voltage-stabilizing capacitor, the diode is connected to the power supply through the current-limiting resistor, and the voltage-stabilizing capacitor is connected in parallel to the voltage-dividing resistor.
Optionally, the fan module includes a fan interface circuit and an open-drain output circuit, the fan interface circuit including a first interface terminal and a fifth resistor; one pin of the first interface terminal is connected with a power supply through the fifth resistor and is connected with the open-drain output circuit; the pin is set as a detection node;
when the processor detects whether the fan module of the charger is in an abnormal state, the processor is used for realizing that:
detecting a node voltage corresponding to a pin of the first interface terminal; judging whether the node voltage is a high level, wherein the high level is a level corresponding to the normal work of the fan module; and if the node voltage is not high level, judging that the fan module is in an abnormal state.
Optionally, the ADC detection module includes: the auxiliary source detection circuit, the temperature detection circuit and the rectification detection circuit are respectively used for detecting the node voltages of the auxiliary source module, the temperature module and the rectification module.
Optionally, the preset module includes a rectification module, an interaction module, an auxiliary source module, and a fan module.
Optionally, the interaction module includes a display unit, and the display unit is an LED display unit.
In another embodiment, the charger 10 comprises a processor 111 and a memory 112, the memory 112 being configured to store a computer program, the processor 111 being configured to execute the computer program and, when executing the computer program, to carry out the steps of:
detecting whether the charger enters a standby idle state or not; if the charger enters the standby idle state, closing a preset module of the charger, wherein the preset module is a part of functional modules in the charger; and controlling a main control module of the charger to enter a dormant state.
Optionally, when the detecting whether the charger enters the idle-time state is implemented, the processor is configured to implement:
detecting whether the charger enters a standby state or not, wherein the standby state comprises a corresponding state when no battery is accessed by the charger or a corresponding state when the battery is accessed by the charger and the electric quantity of the battery is fully charged; if the charger enters the standby state, timing the charger entering the standby state to obtain timing duration; judging whether the timing duration reaches a preset duration or not; and if the timing duration reaches the preset duration, judging that the charger enters the standby idle time state.
Optionally, when the determining whether the charger enters the standby state is implemented, the processor is configured to implement:
the standby state of the charger is determined according to the port voltage and the output current by detecting the port voltage and the output current corresponding to the charging port of the charger.
Optionally, the charger includes a port detection circuit; when the processor detects the port voltage and the output current corresponding to the charging port of the charger, the processor is used for realizing that: and detecting port voltage and output current corresponding to a charging port of the charger through the port detection circuit.
Optionally, the main control module of the charger includes a main control chip; when the processor controls the main control module of the charger to enter the dormant state, the processor is used for realizing that: and executing a preset modification instruction to modify the working frequency of the main control chip so as to reduce the working frequency and enable the main control module of the charger to enter a dormant state.
Optionally, the charger comprises an auxiliary source module; when the processor is used for realizing the closing of the preset module of the charger, the processor is used for realizing that: and switching the auxiliary source module to supply power to the main control module of the charger and closing the preset module of the charger.
Optionally, the preset module includes a rectification module, a fan module, a communication module, and an interaction module.
Optionally, when the preset module of the charger is turned off, the processor is configured to: and closing the interaction module, the communication module, the fan module and the rectification module of the charger in sequence.
Optionally, after the main control module controlling the charger enters the sleep state, the processor is further configured to: detecting whether the charger enters a first awakening state, wherein the first awakening state is a corresponding state when the charger is not disconnected when a battery is connected and the electric quantity of the battery reaches a preset range; and starting the rectifying module to charge the battery.
Optionally, after the main control module controlling the charger enters the sleep state, the processor is further configured to: detecting whether the charger enters a second awakening state, wherein the second awakening state is a corresponding state when the charger is disconnected after a battery is connected and a new battery is connected; and sequentially starting the rectification module, the fan module, the communication module and the interaction module to charge the new battery.
Optionally, the charger includes a rectification switch circuit, and the rectification switch circuit is connected to the power switch of the rectification module; when the processor is used for turning off the rectifying module of the charger, the processor is used for realizing that: and sending a rectification closing signal to the rectification switch circuit, so that the rectification switch circuit sends a low level signal to a power switch of the rectification module to close the rectification module.
Optionally, the charger further includes an output switch circuit, and the rectifying module is connected to a charging port of the charger through the output switch circuit;
when the processor is used for realizing the turning off of the rectifying module of the charger, the processor is used for realizing the following steps: sending a switch close signal to the output switch circuit to close the output switch circuit; and after the output switch circuit is closed, sending a rectification closing signal to the rectification switch circuit to close the rectification module.
Optionally, the output switch circuit includes a first MOS transistor and a second MOS transistor, and the first MOS transistor and the second MOS transistor are N-type MOS transistors; the source electrodes of the first and second MOS transistors are connected with each other, the gate electrodes of the first and second MOS transistors are connected with each other, and the drain electrodes of the first and second MOS transistors are respectively used as the input end and the output end of the output switch circuit 161; the grid electrodes of the first MOS tube and the second MOS tube are used for receiving a driving signal sent by a main control module, and the switch driving signal is used for driving the first MOS tube and the second MOS tube to be switched on or switched off;
the processor is configured to implement sending the switch-off signal to the output switch circuit, and is configured to implement: and sending a switch closing signal to the grids of the first MOS tube and the second MOS tube, wherein the switch closing signal is used for driving the first MOS tube and the second MOS tube to be closed simultaneously so as to close the output switch circuit.
Optionally, the output switch circuit further includes a resistor, one end of the resistor is connected to the sources of the first MOS transistor and the second MOS transistor, and the other end of the resistor is connected to the gates of the first MOS transistor and the second MOS transistor.
Optionally, the charger includes a fan control circuit, the fan control circuit includes a fan control chip, and the fan control circuit is connected to the fan module;
when the processor is used for turning off the fan module of the charger, the processor is used for realizing that: sending a fan turn-off signal to a fan control chip of the fan control circuit, so that the fan control chip turns off current output to turn off the fan module.
Optionally, the communication module comprises a communication chip; when the processor is used for realizing the closing of the communication module of the charger, the processor is used for realizing the following steps: and sending a communication closing signal to a communication chip of the communication module to close the communication chip so as to close the communication module.
Optionally, the rectifying module is an AC _ DC module having a communication function, and the interaction module is an LED display unit.
In yet another embodiment, the charger 10 comprises a processor 111 and a memory 112, the memory 112 being configured to store a computer program, the processor 111 being configured to execute the computer program and, when executing the computer program, to carry out the steps of:
determining a battery connected into the charger and establishing communication connection with the battery; acquiring charging parameters sent by the battery, and sending the charging parameters to the rectifying module to set output parameters of the rectifying module; and charging the battery according to the output parameters.
Optionally, the charger comprises a plurality of charging channels; when the processor determines to access the battery of the charger and establishes communication connection with the battery, the processor is configured to implement:
detecting whether the charging channel generates in-place battery information; and if the charging channel generates the in-place battery information, determining that the charging channel has battery access and establishing communication connection with the accessed battery.
Optionally, the processor, when implementing the detecting whether the charging channel generates in-place battery information, is configured to:
detecting whether the charging channel generates a high level signal or not, wherein the high level signal is a level signal generated when the battery is connected into the charging channel; and if the charging channel generates the high level signal, judging that the charging channel generates the in-place battery information.
Optionally, after the determining to access the battery of the charger and establishing a communication connection with the battery is implemented, the processor is further configured to implement:
if a plurality of batteries are connected to the charger, acquiring the battery voltages of the batteries; sequencing the batteries according to the voltage values corresponding to the battery voltages to obtain a charging sequence;
the charging the battery according to the output parameter includes: and charging the batteries according to the charging sequence and the output parameters corresponding to the batteries.
Optionally, before the charging of the battery according to the output parameter is implemented, the processor is further configured to implement:
acquiring a charging instruction, wherein the charging instruction comprises a charging mode of the battery; setting the output parameters according to the charging mode; the charging the battery according to the output parameter includes: and charging the battery according to the set output parameters.
Optionally, after the charging the battery according to the output parameter is implemented, the processor is further configured to implement:
and acquiring corresponding charging state information when the battery is charged, and displaying the charging state information.
Optionally, the charger comprises an interaction module; when the processor is used for realizing the acquisition of the charging instruction, the processor is used for realizing that: and acquiring a charging instruction generated by the selection operation of a user on the interaction module, wherein the charging instruction comprises a charging mode of the battery, and the charging mode comprises a fast charging mode and a slow charging mode.
Optionally, the interaction module comprises a display unit; the processor is configured to, when the displaying of the charging state information is implemented, implement: and displaying the charging state information through the display unit.
Optionally, the charger further comprises an auxiliary source module; after the processor is used for charging the battery according to the output parameters, the processor is further used for realizing that:
detecting whether the charger enters a standby state or not, wherein the standby state comprises a state corresponding to the full charge of a battery connected to the battery or a state corresponding to the charger when no battery is connected to the charger; and if the charger enters a standby state, the rectifying module is closed under the power supply action of the auxiliary source module.
Optionally, the auxiliary source module may be disposed in the rectification module.
Optionally, when the detecting whether the charger enters the standby state is implemented, the processor is configured to implement: detecting port voltage and output current corresponding to a charging port of the charger, and detecting whether the charger enters a standby state according to the port voltage and the output current.
Optionally, the charger includes a port detection circuit; the processor is used for detecting the port voltage and the output current corresponding to the charging port of the charger, and is used for realizing that: and detecting port voltage and output current corresponding to a charging port of the charger through the port detection circuit.
Optionally, the port detection circuit includes a plurality of voltage dividing resistors and a voltage stabilizing capacitor, the voltage dividing resistors are connected in series to realize voltage division, and the voltage stabilizing capacitor is connected in parallel with the grounded voltage dividing resistor; the non-grounded end of the grounded divider resistor is set as a port detection point;
when the port voltage and the output current corresponding to the charging port of the charger are detected by the port detection circuit, the processor is used for realizing that: and acquiring the port voltage and the output current corresponding to the charging port of the charger by detecting the voltage and the current at the port detection point.
Optionally, the charging parameters include a voltage value and a current value required for charging the battery.
Optionally, the output parameters include a charging voltage and a charging current; the rectifying module is used for converting an alternating current power supply into the charging voltage and the charging current according to the voltage value and the current value in the charging parameter.
Optionally, before the charging of the battery according to the output parameter is implemented, the processor is further configured to implement:
judging whether the charger meets charging conditions or not according to the operating parameters of the charger and the battery; and if the charger meets the charging condition, executing the step of charging the battery according to the output parameters.
Optionally, the operating parameters of the charger include operating temperature, wiring state information, and operating state information of the functional module; the operating parameters of the battery include on-site battery information and state of health information.
Optionally, after the determining whether the charger satisfies the charging condition is implemented, the processor is further configured to implement:
and if the charger does not meet the charging condition, determining corresponding abnormal information according to the operation parameters to perform abnormal alarm.
Optionally, the charging channel is provided with an output switch circuit;
when the processor is used for charging the battery according to the output parameters, the processor is used for realizing that: and starting the output switch circuit, and charging the battery according to the output parameters.
Optionally, the output switch circuit includes a first MOS transistor and a second MOS transistor, and the first MOS transistor and the second MOS transistor are N-type MOS transistors; the source electrodes of the first and second MOS transistors are connected with each other, the gate electrodes of the first and second MOS transistors are connected with each other, and the drain electrodes of the first and second MOS transistors are respectively used as the input end and the output end of the output switch circuit 161;
when the processor is used for realizing the turning on of the output switch circuit, the processor is used for realizing the following steps: and sending a switch starting signal to the grids of the first MOS tube and the second MOS tube, wherein the switch starting signal is used for driving the first MOS tube and the second MOS tube to be simultaneously conducted so as to start the output switch circuit.
Referring to fig. 26, fig. 26 is a schematic block diagram of a charging control system according to an embodiment of the present application. The charging control system 100 includes a charger 10 and a battery 31, the charger 10 includes a rectifying module having a communication function, and the battery 31 has a communication function. The charger 10 is connected to the battery 31, which includes communication and electrical connections for charging the battery 31.
The charger is used for determining an accessed battery and establishing communication connection with the battery;
the battery is used for acquiring charging parameters and sending the charging parameters to the charger;
the charger is also used for acquiring the charging parameters sent by the battery and sending the charging parameters to the rectifying module so as to set the output parameters of the rectifying module; and charging the battery according to the output parameters.
Optionally, the charger comprises a plurality of charging channels; when the charger determines to access the battery of the charger and establishes communication connection with the battery, the charger is specifically configured to:
detecting whether the charging channel generates in-place battery information; and if the charging channel generates the in-place battery information, determining that the charging channel has battery access and establishing communication connection with the accessed battery.
Optionally, the charger is configured to, when detecting whether the charging channel generates in-place battery information, specifically: detecting whether the charging channel generates a high level signal or not, wherein the high level signal is a level signal generated when the battery is connected into the charging channel; and if the charging channel generates the high level signal, judging that the charging channel generates the in-place battery information.
Optionally, after the determining to access the battery of the charger and establishing a communication connection with the battery is achieved, the charger is further configured to:
if a plurality of batteries are connected to the charger, acquiring the battery voltages of the batteries; sequencing the batteries according to the voltage values corresponding to the battery voltages to obtain a charging sequence; the charging the battery according to the output parameter includes: and charging the batteries according to the charging sequence and the output parameters corresponding to the batteries.
Optionally, before the charging of the battery according to the output parameter is implemented by the charger, the charger is further configured to:
acquiring a charging instruction, wherein the charging instruction comprises a charging mode of the battery; setting the output parameters according to the charging mode; the charging the battery according to the output parameter includes: and charging the battery according to the set output parameters.
Optionally, after the charger charges the battery according to the output parameter, the charger is further configured to: and acquiring corresponding charging state information when the battery is charged, and displaying the charging state information.
Optionally, the charger comprises an interaction module; when the charger obtains the charging instruction, the charger is specifically configured to: and acquiring a charging instruction generated by the selection operation of a user on the interaction module, wherein the charging instruction comprises a charging mode of the battery, and the charging mode comprises a fast charging mode and a slow charging mode.
Optionally, the interaction module comprises a display unit; when the charger is used for displaying the charging state information, the charger is specifically configured to: and displaying the charging state information through the display unit.
Optionally, the charger further comprises an auxiliary source module; after the charger charges the battery according to the output parameter, the charger is further configured to: detecting whether the charger enters a standby state or not, wherein the standby state comprises a state corresponding to the full charge of a battery connected to the battery or a state corresponding to the charger when no battery is connected to the charger; and if the charger enters a standby state, the rectifying module is closed under the power supply action of the auxiliary source module.
Optionally, the auxiliary source module may be disposed in the rectification module.
Optionally, the charger is configured to, when detecting whether the charger enters a standby state, specifically: detecting port voltage and output current corresponding to a charging port of the charger, and detecting whether the charger enters a standby state according to the port voltage and the output current.
Optionally, the charger includes a port detection circuit; when the charger detects the port voltage and the output current corresponding to the charging port of the charger, the charger is specifically configured to: and detecting port voltage and output current corresponding to a charging port of the charger through the port detection circuit.
Optionally, the port detection circuit includes a plurality of voltage dividing resistors and a voltage stabilizing capacitor, the voltage dividing resistors are connected in series to realize voltage division, and the voltage stabilizing capacitor is connected in parallel with the grounded voltage dividing resistor; the non-grounded end of the grounded divider resistor is set as a port detection point;
when the port voltage and the output current corresponding to the charging port of the charger are detected by the port detection circuit, the charger is specifically configured to: and acquiring the port voltage and the output current corresponding to the charging port of the charger by detecting the voltage and the current at the port detection point.
Optionally, the charging parameters include a voltage value and a current value required for charging the battery.
Optionally, the output parameters include a charging voltage and a charging current; the rectifying module is used for converting an alternating current power supply into the charging voltage and the charging current according to the voltage value and the current value in the charging parameter.
Optionally, before the charging of the battery according to the output parameter is implemented by the charger, the charger is further configured to: judging whether the charger meets charging conditions or not according to the operating parameters of the charger and the battery; and if the charger meets the charging condition, executing the step of charging the battery according to the output parameters.
Optionally, the operating parameters of the charger include operating temperature, wiring state information, and operating state information of the functional module; the operating parameters of the battery include on-site battery information and state of health information.
Optionally, after the determining whether the charger satisfies the charging condition is implemented, the charger is further configured to: and if the charger does not meet the charging condition, determining corresponding abnormal information according to the operation parameters to perform abnormal alarm.
Optionally, the charging channel is provided with an output switch circuit; when the charger charges the battery according to the output parameter, the charger is specifically configured to: and starting the output switch circuit, and charging the battery according to the output parameters.
Optionally, the output switch circuit includes a first MOS transistor and a second MOS transistor, and the first MOS transistor and the second MOS transistor are N-type MOS transistors; the source electrodes of the first and second MOS transistors are connected with each other, the gate electrodes of the first and second MOS transistors are connected with each other, and the drain electrodes of the first and second MOS transistors are respectively used as the input end and the output end of the output switch circuit 161;
when the charger is used for turning on the output switch circuit, the charger is specifically configured to: and sending a switch starting signal to the grids of the first MOS tube and the second MOS tube, wherein the switch starting signal is used for driving the first MOS tube and the second MOS tube to be simultaneously conducted so as to start the output switch circuit.
In an embodiment of the present application, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, where the computer program includes program instructions, and the processor executes the program instructions to implement the steps of the charging detection method shown in fig. 16 to 18 and the charging control method shown in fig. 19 to 24, which are provided in the embodiment of the present application.
The computer-readable storage medium may be an internal storage unit of the charger according to any of the foregoing embodiments, for example, a hard disk or a memory of the charger. The computer readable storage medium may also be an external storage device of the charger, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the charger.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (55)

1. A charging detection method is applied to a charger and is characterized by comprising the following steps:
when the charger is electrically connected to an external power supply, detecting whether each functional module in the charger is in an abnormal state;
and if the functional module is in the abnormal state, informing the functional module in the abnormal state to a user.
2. The method according to claim 1, wherein before notifying the user of the functional module in the abnormal state, the method comprises:
judging whether the functional module in the abnormal state is a preset module, wherein the preset module is a predefined replaceable functional module or a functional module easy to maintain;
and if the functional module in the abnormal state is the preset module, executing the step of informing the functional module in the abnormal state to the user.
3. The method according to claim 1 or 2, wherein the informing the user of the functional module in the abnormal state comprises:
determining a notification mode corresponding to the functional module in the abnormal state according to a preset corresponding relation between each functional module and the notification mode;
and informing the functional module in the abnormal state to the user according to the determined informing mode.
4. The detection method according to claim 3, wherein the notification mode comprises an LED combined display mode, a voice broadcast mode or a text display mode.
5. The method according to claim 2, wherein after determining whether the functional module in the abnormal state is a preset module, the method further comprises:
if the functional module in the abnormal state is not the preset module, acquiring the log information generated when the functional module is in the abnormal state, and storing the log information.
6. The method according to claim 5, wherein after acquiring log information generated when the functional module is in an abnormal state and saving the log information, the method further comprises:
and closing a corresponding circuit for charging the battery by the charger to suspend charging the battery.
7. The method according to any one of claims 1 to 6, wherein the detecting whether each functional module in the charger is in an abnormal state includes:
detecting the operation parameters of each functional module in the charger;
and determining whether the functional module is in an abnormal state according to the operating parameters of each functional module.
8. The method according to claim 7, wherein the operating parameter includes a node voltage at a sensing node corresponding to the functional module, a node current at the sensing node, an operating temperature of the charger, or communication data of the functional module.
9. The method according to any one of claims 1 to 8, wherein before or after notifying the user of the functional module in the abnormal state, the method further comprises:
judging whether the functional module in the abnormal state affects the normal charging of the charger;
and if the functional module in the abnormal state does not influence the normal charging of the charger, acquiring the log information generated when the functional module is in the abnormal state, and storing the log information.
10. The detection method according to claim 5 or 9, wherein the charger comprises a memory;
the saving the log information includes: and saving the log information to the memory.
11. The detection method according to claim 10, wherein the memory is a Flash memory.
12. The method according to any one of claims 1 to 11, wherein the functional modules include a rectifier module, a switch module, a fan module, an interaction module, an auxiliary source module, a temperature module, and an ADC detection module.
13. The detection method according to claim 12, wherein the rectification module is an AC-DC module having a communication function.
14. The detection method according to claim 12, wherein the switch module comprises an output switch circuit and a switch detection circuit connected to the output switch circuit, the switch detection circuit comprises a detection node, an input terminal of the output switch circuit is connected to the rectification module, and an output terminal of the output switch circuit is used for connecting to a battery;
detecting whether a switch module of the charger is in an abnormal state or not, including:
detecting a node voltage corresponding to a detection node of the switch detection circuit;
judging whether the node voltage is a preset voltage or not, wherein the preset voltage is used for determining whether the output switch circuit is normal or not;
and if the node voltage is not the preset voltage, judging that the switch module is in an abnormal state.
15. The detection method according to claim 14, wherein the output switch circuit comprises a first MOS transistor and a second MOS transistor, and the first MOS transistor and the second MOS transistor are N-type MOS transistors; the source electrodes of the first and second MOS transistors are connected with each other, the gate electrodes of the first and second MOS transistors are connected with each other, and the drain electrodes of the first and second MOS transistors are respectively used as the input end and the output end of the output switch circuit 161; the grid electrodes of the first MOS tube and the second MOS tube are used for receiving driving signals sent by the main control module, and the switch driving signals are used for driving the first MOS tube and the second MOS tube to be switched on or switched off.
16. The method of claim 14, wherein the switch detection circuit comprises a voltage divider resistor and a diode; the anode of the diode is connected with a power supply, and the cathode of the diode is connected with the first end of the divider resistor; the second end of the divider resistor is grounded, and the first end of the divider resistor is also connected with the output end of the output switch circuit and serves as the detection node.
17. The method of claim 12, wherein the fan module includes a fan interface circuit and an open-drain output circuit, the fan interface circuit including a first interface terminal and a resistor; one pin of the first interface terminal is connected with a power supply through the resistor and is connected with the drain open-circuit output circuit; the pin is set as a detection node;
detecting whether the fan module of the charger is in an abnormal state or not, including:
detecting a node voltage corresponding to a pin of the first interface terminal;
judging whether the node voltage is a high level, wherein the high level is a level corresponding to the normal work of the fan module;
and if the node voltage is not high level, judging that the fan module is in an abnormal state.
18. The detection method as claimed in claim 12, wherein the ADC detection module comprises: the auxiliary source detection circuit, the temperature detection circuit and the rectification detection circuit are respectively used for detecting the node voltages of the auxiliary source module, the temperature module and the rectification module.
19. The detection method according to claim 2, wherein the preset modules comprise a rectification module, an interaction module, an auxiliary source module and a fan module.
20. The detection method according to claim 12 or 19, wherein the interaction module comprises a display unit, and the display unit is an LED display unit.
21. A charger, characterized in that the charger comprises a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute the computer program and to implement the following steps when executing the computer program:
when the charger is electrically connected to an external power supply, detecting whether each functional module in the charger is in an abnormal state;
and if the functional module is in the abnormal state, informing the functional module in the abnormal state to a user.
22. The charger according to claim 21, wherein the processor, before implementing the function module to be in an abnormal state to inform the user, is further configured to implement:
judging whether the functional module in the abnormal state is a preset module, wherein the preset module is a predefined replaceable functional module or a functional module easy to maintain;
and if the functional module in the abnormal state is the preset module, the step of informing the functional module in the abnormal state to the user is realized.
23. The charger according to claim 21 or 22, wherein the processor, when implementing the function module to be in an abnormal state to inform a user, is configured to implement:
determining a notification mode corresponding to the functional module in the abnormal state according to a preset corresponding relation between each functional module and the notification mode;
and informing the functional module in the abnormal state to the user according to the determined informing mode.
24. The charger according to claim 23, wherein the notification means includes LED combined display means, voice broadcast means, or text display means.
25. The charger according to claim 22, wherein the processor, after implementing whether the functional module in the abnormal state is a preset module, is further configured to implement:
if the functional module in the abnormal state is not the preset module, acquiring the log information generated when the functional module is in the abnormal state, and storing the log information.
26. The charger according to claim 25, wherein the processor, after performing the acquiring of the log information generated when the functional module is in an abnormal state and saving the log information, is further configured to perform:
and closing a corresponding circuit for charging the battery by the charger to suspend charging the battery.
27. The charger according to any one of claims 21 to 26, wherein the processor, when implementing the detecting whether each functional module in the charger is in an abnormal state, is configured to implement:
detecting the operation parameters of each functional module in the charger;
and determining whether the functional module is in an abnormal state according to the operating parameters of each functional module.
28. The charger according to claim 27, wherein the operating parameter comprises a node voltage at a detection node corresponding to the functional module, a node current at the detection node, an operating temperature of the charger, or communication data of the functional module.
29. The charger according to any one of claims 21 to 28, wherein the processor, before or after implementing the function module to notify the user of the abnormal state, is further configured to implement:
judging whether the functional module in the abnormal state affects the normal charging of the charger;
and if the functional module in the abnormal state does not influence the normal charging of the charger, acquiring the log information generated when the functional module is in the abnormal state, and storing the log information.
30. The charger according to claim 25 or 29, wherein the charger comprises a memory;
when the processor realizes the saving of the log information, the processor is used for realizing: and saving the log information to the memory.
31. The charger of claim 30, wherein the memory is a Flash memory.
32. The charger according to any one of claims 21 to 31, wherein the functional modules include a rectifying module, a switching module, a fan module, an interaction module, an auxiliary source module, a temperature module, and an ADC detection module.
33. The charger according to claim 32, wherein the rectifying module is an AC-DC module having a communication function.
34. The charger according to claim 32, wherein the switch module comprises an output switch circuit and a switch detection circuit connected to the output switch circuit, the switch detection circuit comprising a detection node, an input of the output switch circuit being connected to the rectifier module, an output of the output switch circuit being for connection to a battery;
when the processor detects whether the switch module of the charger is in an abnormal state, the processor is used for realizing that:
detecting a node voltage corresponding to a detection node of the switch detection circuit;
judging whether the node voltage is a preset voltage or not, wherein the preset voltage is used for determining whether the output switch circuit is normal or not;
and if the node voltage is not the preset voltage, judging that the switch module is in an abnormal state.
35. The charger according to claim 34, wherein the output switch circuit comprises a first MOS transistor and a second MOS transistor, and the first MOS transistor and the second MOS transistor are N-type MOS transistors; the source electrodes of the first and second MOS transistors are connected with each other, the gate electrodes of the first and second MOS transistors are connected with each other, and the drain electrodes of the first and second MOS transistors are respectively used as the input end and the output end of the output switch circuit 161; the grid electrodes of the first MOS tube and the second MOS tube are used for receiving driving signals sent by the main control module, and the switch driving signals are used for driving the first MOS tube and the second MOS tube to be switched on or switched off.
36. The charger according to claim 35, wherein the output switch circuit further comprises a resistor, one end of the resistor is connected to the sources of the first and second MOS transistors, and the other end of the resistor is connected to the gates of the first and second MOS transistors.
37. The charger according to claim 34, wherein the switch detection circuit comprises a voltage dividing resistor and a diode; the anode of the diode is connected with a power supply, and the cathode of the diode is connected with the first end of the divider resistor; the second end of the divider resistor is grounded, and the first end of the divider resistor is also connected with the output end of the output switch circuit and serves as the detection node.
38. The charger according to claim 37, wherein the switch detection circuit further comprises a current limiting resistor and a voltage stabilizing capacitor, the diode is connected to the power source through the current limiting resistor, and the voltage stabilizing capacitor is connected in parallel with the voltage dividing resistor.
39. The charger of claim 32, wherein the fan module includes a fan interface circuit and an open-drain output circuit, the fan interface circuit including a first interface terminal and a fifth resistor; one pin of the first interface terminal is connected with a power supply through the fifth resistor and is connected with the open-drain output circuit; the pin is set as a detection node;
when the processor detects whether the fan module of the charger is in an abnormal state, the processor is used for realizing that:
detecting a node voltage corresponding to a pin of the first interface terminal;
judging whether the node voltage is a high level, wherein the high level is a level corresponding to the normal work of the fan module;
and if the node voltage is not high level, judging that the fan module is in an abnormal state.
40. The charger according to claim 32, wherein the ADC detection module comprises: the auxiliary source detection circuit, the temperature detection circuit and the rectification detection circuit are respectively used for detecting the node voltages of the auxiliary source module, the temperature module and the rectification module.
41. The electrical charger according to claim 22, wherein the preset modules include a rectifier module, an interaction module, an auxiliary source module, and a fan module.
42. The charger according to claim 32 or 41, wherein the interaction module comprises a display unit, and the display unit is an LED display unit.
43. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to carry out the steps of:
when the charger is electrically connected to an external power supply, detecting whether each functional module in the charger is in an abnormal state;
and if the functional module is in the abnormal state, informing the functional module in the abnormal state to a user.
44. The computer-readable storage medium of claim 43, wherein the processor, prior to implementing the notifying the user of the functional module that is to be in the abnormal state, is further configured to implement:
judging whether the functional module in the abnormal state is a preset module, wherein the preset module is a predefined replaceable functional module or a functional module easy to maintain;
and if the functional module in the abnormal state is the preset module, the step of informing the functional module in the abnormal state to the user is realized.
45. The computer-readable storage medium according to claim 43 or 44, wherein the processor, when implementing the function module to be in an abnormal state to inform a user, is configured to implement:
determining a notification mode corresponding to the functional module in the abnormal state according to a preset corresponding relation between each functional module and the notification mode;
and informing the functional module in the abnormal state to the user according to the determined informing mode.
46. The computer-readable storage medium of claim 45, wherein the notification means comprises an LED combined display means, a voice broadcast means, or a text display means.
47. The computer-readable storage medium of claim 44, wherein the processor, after implementing whether the functional module in the abnormal state is a preset module, is further configured to implement:
if the functional module in the abnormal state is not the preset module, acquiring the log information generated when the functional module is in the abnormal state, and storing the log information.
48. The computer-readable storage medium of claim 47, wherein the processor, after implementing the obtaining log information generated when the functional module is in an abnormal state and saving the log information, is further configured to implement:
and closing a corresponding circuit for charging the battery by the charger to suspend charging the battery.
49. The computer-readable storage medium according to any one of claims 43 to 48, wherein the processor, when implementing the detecting whether each functional module in the charger is in an abnormal state, is configured to implement:
detecting the operation parameters of each functional module in the charger;
and determining whether the functional module is in an abnormal state according to the operating parameters of each functional module.
50. The computer-readable storage medium of claim 49, wherein the operating parameters comprise a node voltage at a sensing node corresponding to the functional module, a node current at the sensing node, an operating temperature of the charger, or communication data of the functional module.
51. The computer-readable storage medium according to any one of claims 43 to 50, wherein the processor, before or after implementing the notifying the user of the functional module to be in the abnormal state, is further configured to implement:
judging whether the functional module in the abnormal state affects the normal charging of the charger;
and if the functional module in the abnormal state does not influence the normal charging of the charger, acquiring the log information generated when the functional module is in the abnormal state, and storing the log information.
52. The computer-readable storage medium according to any one of claims 43 to 51, wherein the functional modules comprise a rectification module, a switch module, a fan module, an interaction module, an auxiliary source module, a temperature module, and an ADC detection module.
53. The computer-readable storage medium of claim 52, wherein the processor, in enabling detecting whether a switching module of the charger is in an abnormal state, is configured to enable:
detecting a node voltage corresponding to a detection node of a switch detection circuit in a switch module;
judging whether the node voltage is a preset voltage or not, wherein the preset voltage is used for determining whether the output switch circuit is normal or not;
and if the node voltage is not the preset voltage, judging that the switch module is in an abnormal state.
54. The computer-readable storage medium of claim 52, wherein the processor, in enabling detecting whether a fan module of the charger is in an abnormal state, is configured to enable:
detecting a corresponding node voltage of a first interface terminal of a fan interface circuit in the fan module;
judging whether the node voltage is a high level, wherein the high level is a level corresponding to the normal work of the fan module;
and if the node voltage is not high level, judging that the fan module is in an abnormal state.
55. The computer-readable storage medium of claim 44, wherein the preset modules comprise a rectification module, an interaction module, an auxiliary source module, and a fan module.
CN201880039301.1A 2018-11-22 2018-11-22 Charging detection method, charger and storage medium Pending CN110870158A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/116997 WO2020103096A1 (en) 2018-11-22 2018-11-22 Charge detection method, charger, and storage medium

Publications (1)

Publication Number Publication Date
CN110870158A true CN110870158A (en) 2020-03-06

Family

ID=69651930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880039301.1A Pending CN110870158A (en) 2018-11-22 2018-11-22 Charging detection method, charger and storage medium

Country Status (2)

Country Link
CN (1) CN110870158A (en)
WO (1) WO2020103096A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112117811A (en) * 2020-09-30 2020-12-22 广东虹勤通讯技术有限公司 Intelligent power adapter and power transmission management method thereof
CN112421708A (en) * 2020-10-23 2021-02-26 惠州Tcl移动通信有限公司 Charging detection circuit and wireless charging equipment
CN113872275A (en) * 2021-09-23 2021-12-31 安克创新科技股份有限公司 Battery management method, system and storage medium
CN114006423A (en) * 2020-07-28 2022-02-01 浙江天泰机械有限公司 Charging control method, device, equipment and storage medium
CN114844179A (en) * 2022-06-30 2022-08-02 荣耀终端有限公司 Electronic device and electricity meter resetting method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110101911A1 (en) * 2009-10-29 2011-05-05 Hitachi Koki Co., Ltd. Battery Charger With Charge Abnormality Checking Function
CN104638729A (en) * 2015-02-10 2015-05-20 漳州科华技术有限责任公司 Parallel connection type photovoltaic charger fault management system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8866444B2 (en) * 2010-06-08 2014-10-21 Tesla Motors, Inc. Methodology for charging batteries safely
CN102522803A (en) * 2011-11-30 2012-06-27 东方电气集团东方汽轮机有限公司 Intelligent charger of pitch system of wind power generator
CN206602383U (en) * 2017-03-02 2017-10-31 深圳市联讯发科技有限公司 A kind of charged state cue circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110101911A1 (en) * 2009-10-29 2011-05-05 Hitachi Koki Co., Ltd. Battery Charger With Charge Abnormality Checking Function
CN104638729A (en) * 2015-02-10 2015-05-20 漳州科华技术有限责任公司 Parallel connection type photovoltaic charger fault management system and method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114006423A (en) * 2020-07-28 2022-02-01 浙江天泰机械有限公司 Charging control method, device, equipment and storage medium
CN112117811A (en) * 2020-09-30 2020-12-22 广东虹勤通讯技术有限公司 Intelligent power adapter and power transmission management method thereof
CN112421708A (en) * 2020-10-23 2021-02-26 惠州Tcl移动通信有限公司 Charging detection circuit and wireless charging equipment
CN112421708B (en) * 2020-10-23 2023-07-18 惠州Tcl移动通信有限公司 Charging detection circuit and wireless charging equipment
CN113872275A (en) * 2021-09-23 2021-12-31 安克创新科技股份有限公司 Battery management method, system and storage medium
CN114844179A (en) * 2022-06-30 2022-08-02 荣耀终端有限公司 Electronic device and electricity meter resetting method
CN114844179B (en) * 2022-06-30 2022-11-22 荣耀终端有限公司 Electronic device and electricity meter resetting method

Also Published As

Publication number Publication date
WO2020103096A1 (en) 2020-05-28

Similar Documents

Publication Publication Date Title
CN110870158A (en) Charging detection method, charger and storage medium
CN110896680A (en) Charging control method, charger and charging control system
CN103490389B (en) Battery protecting circuit and system
US9048685B2 (en) Emergency lighting with charging indicator circuitry
CN103618353A (en) Battery monitoring circuit
US10886756B2 (en) Charging system, charging method, and mobile terminal based on dual batteries
CN109413532B (en) Bluetooth headset charging circuit and Bluetooth headset
CN106410905B (en) Power supply control circuit for mobile power supply and mobile power supply
CN102856940A (en) Electronic device and charger capable of indicating battery charging state
CN103313459A (en) Control device for indicating lamp
CN202488535U (en) Mobile terminal for displaying state of electric quantity in real time
CN206524658U (en) Portable power source pin multiplexing circuit
CN105629825A (en) Management method and management system of power supply system of wearable intelligent device
CN105305650A (en) Wireless charging method and device, wireless charger and wearable device
CN105356554B (en) A kind of device of dual-colored LED instruction state
CN203800692U (en) Power supply management circuit for remote operated vehicle (ROV)
CN102636757A (en) Battery capacity management method
CN104467167A (en) Power source path management circuit
CN104201748A (en) Intelligent charging circuit
CN110892604A (en) Charging control method, charger and storage medium
CN204376473U (en) Portable power source
CN102751703A (en) Rechargeable battery protector
CN205546098U (en) LED lamp indicating device
CN104159359A (en) Electric torch drive circuit and mobile terminal
CN103094937B (en) Intelligent charging circuit and lamp

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200306

WD01 Invention patent application deemed withdrawn after publication