A charging circuit and a control method thereof
By combining the power supply module, discharge switch, charging switch and detection control module, the problems of high heat dissipation and multiple switching transistors in existing charging circuits are solved, and efficient battery charging is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SUZHOU EVERLIGHT SPACE TECH CO LTD
- Filing Date
- 2026-03-05
- Publication Date
- 2026-06-05
AI Technical Summary
Existing charging circuits have high heat dissipation during over-discharge protection and require multiple switching transistors for backup, resulting in resource waste and low efficiency.
The design employs a combination of a power supply module, a discharge switch, a charging switch, diodes, and a detection and control module. By detecting the battery charging current, the charging switch is controlled to turn on and off, reducing the number of switching transistors and heat dissipation.
While ensuring high-current charging capability, the number of switching transistors and heat dissipation are reduced, thereby improving charging efficiency and resource utilization.
Smart Images

Figure CN122159457A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to charging technology, and more particularly to a charging circuit and its control method. Background Technology
[0002] Charging circuits, such as those for batteries, are an important component of batteries. Currently, existing charging circuits suffer from significant heat dissipation during battery charging when over-discharge protection is triggered, and require multiple switching transistors for backup. Summary of the Invention
[0003] This invention provides a charging circuit and its control method to ensure high-current charging capability while reducing the number of switching transistors and heat dissipation.
[0004] In a first aspect, embodiments of the present invention provide a charging circuit, which is a battery charging circuit, and the charging circuit includes: Power supply module; A discharge switch, wherein the first end of the discharge switch is electrically connected to the positive terminal of the battery, and the second end of the discharge switch is electrically connected to the first end of the power supply module; A charging switch, wherein the first end of the charging switch is electrically connected to the positive terminal of the battery, and the second end of the charging switch is electrically connected to the first end of the power supply module; A diode, wherein the positive terminal of the diode is electrically connected to the second terminal of the charging switch, and the negative terminal of the diode is electrically connected to the first terminal of the charging switch; The detection and control module has a first terminal electrically connected to the second terminal of the power supply module, a second terminal electrically connected to the negative terminal of the battery, and an output terminal electrically connected to the charging switch. The detection and control module is used to detect the charging current of the battery and control the state of the charging switch according to the charging current.
[0005] Optionally, the detection and control module includes a detection unit and a controller. The first and second ends of the detection unit are electrically connected to the second end of the power supply module and the negative terminal of the battery, respectively. The output end of the detection unit is electrically connected to the controller, and the controller is electrically connected to the control end of the charging switch.
[0006] Optionally, the detection unit includes a resistor, an amplifier, and a comparator. The two ends of the resistor serve as the first and second ends of the detection unit, respectively. The two input ends of the amplifier are electrically connected to the two ends of the resistor, respectively. The output end of the amplifier is electrically connected to the first input end of the comparator. A preset voltage signal is input to the second input end of the comparator, and the output end of the comparator is electrically connected to the controller.
[0007] Optionally, when the voltage value corresponding to the signal input to the first input terminal of the comparator is greater than the voltage value corresponding to the preset voltage signal, the controller controls the charging switch to close.
[0008] Optionally, the charging switch is a MOSFET, the diode is the body diode of the MOSFET, the first and second terminals of the MOSFET are electrically connected to the positive terminal of the battery and the first terminal of the power supply module, respectively, and the gate of the MOSFET is electrically connected to the detection and control module.
[0009] Optionally, when the charging switch is off, the power supply module charges the battery through the diode.
[0010] Optionally, when both the discharge switch and the charging switch are closed, the power supply module charges the battery through the discharge switch and the charging switch.
[0011] Optionally, the discharge switch is a relay switch, and the battery supplies power to the load through the discharge switch.
[0012] Optionally, the battery is a battery pack used in satellites, and the power supply module includes solar panels.
[0013] In a second aspect, embodiments of the present invention provide a control method for a charging circuit, wherein the charging circuit is the charging circuit described in the first aspect, and the control method includes: Obtain the battery charging current; The state of the charging switch is controlled according to the charging current of the battery.
[0014] The charging circuit and control method provided in this embodiment of the invention are for a battery. The charging circuit includes: a power supply module; a discharge switch, the first terminal of which is electrically connected to the positive terminal of the battery, and the second terminal of which is electrically connected to the first terminal of the power supply module; a charging switch, the first terminal of which is electrically connected to the positive terminal of the battery, and the second terminal of which is electrically connected to the first terminal of the power supply module; a diode, the anode of which is electrically connected to the second terminal of the charging switch, and the cathode of which is electrically connected to the first terminal of the charging switch; and a detection control module, the first terminal of which is electrically connected to the second terminal of the power supply module, the second terminal of which is electrically connected to the negative terminal of the battery, and the output terminal of which is electrically connected to the charging switch. The detection control module is used to detect the charging current of the battery and control the state of the charging switch according to the charging current. The charging circuit and control method provided in this embodiment of the invention control the state of the charging switch through the detection control module. When the charging switch is open, the power supply module charges the battery through the diode; when the charging switch is closed, the power supply module charges the battery through the charging switch. This ensures high-current charging capability while reducing the number of switching transistors and heat dissipation. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of a charging circuit provided in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of battery charging according to Embodiment 2 of the present invention; Figure 3 This is a schematic diagram of another battery charging method provided in Embodiment 2 of the present invention; Figure 4 This is a flowchart of a control method for a charging circuit provided in Embodiment 3 of the present invention; Figure 5 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. Detailed Implementation
[0016] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.
[0017] Example 1 Figure 1 This is a schematic diagram of a charging circuit provided in Embodiment 1 of the present invention. (Reference) Figure 1 The charging circuit is a battery charging circuit, which includes: a power supply module 10, a discharge switch 20, a charging switch 30, a diode D1, and a detection and control module 40. The first terminal of the discharge switch 20 is electrically connected to the positive terminal of the battery BAT, and the second terminal of the discharge switch 20 is electrically connected to the first terminal of the power supply module 10; the first terminal of the charging switch 30 is electrically connected to the positive terminal of the battery BAT, and the second terminal of the charging switch 30 is electrically connected to the first terminal of the power supply module 10; the positive terminal of the diode D1 is electrically connected to the second terminal of the charging switch 30, and the negative terminal of the diode D1 is electrically connected to the first terminal of the charging switch 30; the first terminal of the detection and control module 40 is electrically connected to the second terminal of the power supply module 10, the second terminal of the detection and control module 40 is electrically connected to the negative terminal of the battery BAT, and the output terminal of the detection and control module 40 is electrically connected to the charging switch 30; the detection and control module 40 is used to detect the charging current of the battery BAT and control the state of the charging switch 30 according to the charging current.
[0018] Specifically, when battery BAT needs charging, if charging switch 30 is open, power supply module 10 charges battery BAT through diode D1. If discharge switch 20 is closed at this time, power supply module 10 charges battery BAT through both discharge switch 20 and diode D1. When detection and control module 40 detects that the charging current of battery BAT is greater than a preset value, it controls charging switch 30 to close, and power supply module 10 charges battery BAT through charging switch 30. If both discharge switch 20 and charging switch 30 are closed, power supply module 10 charges battery BAT through both discharge switch 20 and charging switch 30. If both discharge switch 20 and charging switch 30 are open, power supply module 10 charges battery BAT through diode D1. When battery BAT is over-discharged, over-discharge protection is triggered. At this time, discharge switch 20 is opened, and battery BAT no longer discharges. If battery BAT needs charging, power supply module 10 charges battery BAT through diode D1. When the charging current of battery BAT is less than a preset value, the charging switch 30 is in the off state. At this time, the power supply module 10 still charges battery BAT through diode D1. This is suitable for the trickle charging stage when the battery is close to full charge. The charging current is small, and the heat generated by diode D1 is small. It also prevents the detection control module 40 from causing the charging switch to turn on when not charging due to detection errors. When the charging current reaches the preset value, the detection control module 40 controls the charging switch to turn on, and the power supply module 10 charges battery BAT through charging switch 30. This ensures high-current charging capability while reducing the number of switching transistors and heat dissipation.
[0019] It should be noted that the values of each parameter in this embodiment can be determined according to actual control requirements, and are not limited here.
[0020] The charging circuit provided in this embodiment includes: a power supply module; a discharge switch, the first terminal of which is electrically connected to the positive terminal of the battery, and the second terminal of which is electrically connected to the first terminal of the power supply module; a charging switch, the first terminal of which is electrically connected to the positive terminal of the battery, and the second terminal of which is electrically connected to the first terminal of the power supply module; a diode, the anode of which is electrically connected to the second terminal of the charging switch, and the cathode of which is electrically connected to the first terminal of the charging switch; and a detection control module, the first terminal of which is electrically connected to the second terminal of the power supply module, the second terminal of which is electrically connected to the negative terminal of the battery, and the output terminal of which is electrically connected to the charging switch; the detection control module is used to detect the charging current of the battery and control the state of the charging switch according to the charging current. The charging circuit provided in this embodiment controls the state of the charging switch through the detection control module. When the charging switch is open, the power supply module charges the battery through the diode; when the charging switch is closed, the power supply module charges the battery through the charging switch. This ensures high-current charging capability while reducing the number of switching transistors and heat dissipation.
[0021] Example 2 This embodiment is based on Embodiment 1, with reference to... Figure 1 Optionally, the detection control module 40 includes a detection unit 41 and a controller 42. The first and second ends of the detection unit 41 are electrically connected to the second end of the power supply module 10 and the negative terminal of the battery BAT, respectively. The output end of the detection unit 41 is electrically connected to the controller 42, and the controller 42 is electrically connected to the control end of the charging switch 30.
[0022] Specifically, the detection unit 41 detects the battery charging current and outputs a corresponding signal to the controller 42. The controller 42 controls the opening and closing of the charging switch 30 based on the received signal. In one embodiment, when the detection unit 41 detects that the battery charging current is less than a preset value, the signal output by the detection unit 41 is a low-level signal. When the controller 42 receives the low-level signal, it controls the charging switch 30 to open. When the detection unit 41 detects that the battery charging current is greater than the preset value, it outputs a high-level signal. When the controller 42 receives the high-level signal, it controls the charging switch 30 to close, thereby realizing the on / off control of the charging switch 30.
[0023] Optionally, the detection unit 41 includes a resistor R, an amplifier A1, and a comparator A2. The two ends of the resistor R serve as the first and second ends of the detection unit 41, respectively. The two input ends of the amplifier A1 are electrically connected to the two ends of the resistor R, respectively. The output end of the amplifier A1 is electrically connected to the first input end of the comparator A2. A preset voltage signal is input to the second input end of the comparator A2, and the output end of the comparator A2 is electrically connected to the controller 42.
[0024] The voltage across resistor R is amplified by amplifier A1 and then transmitted to comparator A2. Comparator A2 outputs a high or low level signal based on the amplitude of the voltage signals at its two input terminals, detecting the charging current by detecting the voltage. In one embodiment, when the voltage output by amplifier A1 is greater than a preset voltage signal, comparator A2 outputs a high-level signal; when the voltage output by amplifier A1 is less than the preset voltage signal, comparator A2 outputs a low-level signal, thus realizing the detection function of detection unit 41.
[0025] Optionally, when the voltage value corresponding to the signal input to the first input terminal of comparator A2 is greater than the voltage value Vref corresponding to the preset voltage signal, controller 42 controls the charging switch 30 to close.
[0026] In one embodiment, when the voltage value corresponding to the signal input to the first input terminal of comparator A2 is greater than the voltage value corresponding to a preset voltage signal, comparator A2 outputs a high-level signal. When controller 42 receives a high-level signal, it controls the charging switch 30 to close; when it receives a low-level signal, it controls the charging switch 30 to open, thereby realizing the on / off control of the charging switch 30.
[0027] Optionally, the charging switch 30 is a MOSFET Q1, the diode D1 is the body diode of the MOSFET Q1, the first and second terminals of the MOSFET Q1 are electrically connected to the positive terminal of the battery BAT and the first terminal of the power supply module 10, respectively, and the gate of the MOSFET Q1 is electrically connected to the detection and control module 40.
[0028] For example, the charging switch 30 is an NMOS, and the diode D1 is the body diode of the NMOS. When the detection and control module 40 transmits a high-level signal to the gate of the NMOS, the NMOS is turned on. (Reference) Figure 1 The controller 42 in the detection control module 40 is electrically connected to the gate of the MOSFET Q1, and the controller 42 controls the switching on and off of the MOSFET Q1. When the battery needs to be charged, if the MOSFET Q1 is off, the power supply module 10 charges the battery through the body diode of the MOSFET Q1. When the detection control module 40 controls the MOSFET Q1 to be turned on, the power supply module 10 charges the battery through the MOSFET Q1.
[0029] Optionally, when the charging switch 30 is off, the power supply module 10 charges the battery through the diode D1.
[0030] Specifically, when the charging switch 30 is open, if the discharge switch 20 is in the open state, the power supply module 10 charges the battery through the diode D1; if the discharge switch 20 is in the closed state, the power supply module 10 charges the battery through the diode D1 and the discharge switch 20.
[0031] Optionally, when both the discharge switch 20 and the charging switch 30 are closed, the power supply module 10 charges the battery through the discharge switch 20 and the charging switch 30.
[0032] Specifically, Figure 2 This is a schematic diagram of battery charging according to Embodiment 2 of the present invention. Figure 3 This is a schematic diagram of another battery charging method provided in Embodiment 2 of the present invention. Figure 2 and Figure 3 The direction indicated by the black arrow in the image is the direction of the charging current flow. (Refer to...) Figure 2 and Figure 3 When both the discharge switch 20 and the charging switch 30 are closed, the charging current flows through the discharge switch 20 and the charging switch 30 to the battery. When the discharge switch 20 is open and the charging switch 30 is closed, the charging current flows through the charging switch 30 to the battery.
[0033] Optionally, the discharge switch 20 is a relay switch, and the battery BAT supplies power to the load through the discharge switch 20.
[0034] The relay switch disconnects when the battery BAT is over-discharged, providing over-discharge protection. During normal battery discharge, the battery BAT discharges through the discharge switch 20, thereby supplying power to the load, while the power supply module 10 also supplies power to the load. Furthermore, the on / off state of the discharge switch 20 can be controlled by another controller, depending on the actual battery control requirements, and is not limited here.
[0035] Optionally, the battery BAT is a battery pack used in satellites, and the power supply module includes solar panels.
[0036] Specifically, the solar panels power the battery bank and also the load. When the battery bank is fully charged, it also powers the load. Furthermore, the solar panels convert solar energy into electrical energy to power both the battery bank and the load.
[0037] The charging circuit provided in this embodiment includes: a power supply module; a discharge switch, the first terminal of which is electrically connected to the positive terminal of the battery, and the second terminal of which is electrically connected to the first terminal of the power supply module; a charging switch, the first terminal of which is electrically connected to the positive terminal of the battery, and the second terminal of which is electrically connected to the first terminal of the power supply module; a diode, the anode of which is electrically connected to the second terminal of the charging switch, and the cathode of which is electrically connected to the first terminal of the charging switch; a detection control module, the first terminal of which is electrically connected to the second terminal of the power supply module, the second terminal of which is electrically connected to the negative terminal of the battery, and the output terminal of which is electrically connected to the charging switch; the detection control module is used to detect the charging current of the battery and control the state of the charging switch according to the charging current; the detection control module includes The circuit includes a detection unit and a controller. The first and second terminals of the detection unit are electrically connected to the second terminal of the power supply module and the negative terminal of the battery, respectively. The output terminal of the detection unit is electrically connected to the controller, and the controller is electrically connected to the control terminal of the charging switch. The detection unit comprises a resistor, an amplifier, and a comparator. The two ends of the resistor serve as the first and second terminals of the detection unit, respectively. The two input terminals of the amplifier are electrically connected to the two ends of the resistor, respectively. The output terminal of the amplifier is electrically connected to the first input terminal of the comparator. A preset voltage signal is input to the second input terminal of the comparator, and the output terminal of the comparator is electrically connected to the controller. The charging switch is a MOSFET, and the diode is the body diode of the MOSFET. The first and second terminals of the MOSFET are electrically connected to the positive terminal of the battery and the first terminal of the power supply module, respectively. The gate of the MOSFET is electrically connected to the detection and control module. In this embodiment, the charging circuit controls the state of the MOSFET through the controller in the detection and control module. When the MOSFET is off, the power supply module charges the battery through the body diode of the MOSFET; when the MOSFET is on, the power supply module charges the battery through the MOSFET. This ensures high-current charging capability while reducing the number of switching transistors and heat dissipation.
[0038] Example 3 Figure 4 This is a flowchart of a control method for a charging circuit provided in Embodiment 3 of the present invention. This embodiment can be applied to controlling charging circuits, etc. The specific structure of the charging circuit can refer to any of the above embodiments. The method can be executed by a controller in the detection and control module of the charging circuit. The controller can be implemented in software and / or hardware. The method specifically includes the following steps: Step 110: Obtain the battery charging current.
[0039] The charging current of the battery can be obtained by detecting the voltage across the resistor connected to the battery.
[0040] Step 120: Control the state of the charging switch according to the battery charging current.
[0041] Specifically, when the battery charging current exceeds a preset value, the charging switch is closed. In one embodiment, when the voltage across the resistor connected to the battery is amplified by a preset factor and exceeds a preset voltage signal, the charging switch is closed, and the power supply module charges the battery through the charging switch. When the charging switch is open, the power supply module charges the battery through a diode.
[0042] It should be noted that the values of each parameter in this embodiment can be determined according to actual control requirements, and are not limited here.
[0043] The control method of the charging circuit provided in this embodiment belongs to the same inventive concept as the charging circuit provided in any embodiment of the present invention, and has corresponding beneficial effects. For technical details not covered in this embodiment, please refer to the charging circuit provided in any embodiment of the present invention.
[0044] Example 4 Figure 5 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. Figure 5 A block diagram is shown of an exemplary electronic device 412 suitable for implementing embodiments of the present invention. Figure 5 The electronic device 412 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.
[0045] like Figure 5 As shown, electronic device 412 is represented in the form of a general-purpose device. The components of electronic device 412 may include, but are not limited to: one or more processors 416, storage device 428, and bus 418 connecting different system components (including storage device 428 and processor 416).
[0046] Bus 418 represents one or more of several bus architectures, including a memory device bus or memory device controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. Examples of these architectures include, but are not limited to, the Industry Subversive Alliance (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0047] Electronic device 412 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 412, including volatile and non-volatile media, removable and non-removable media.
[0048] Storage device 428 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 430 and / or cache memory 432. Electronic device 412 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 434 may be used to read and write non-removable, non-volatile magnetic media (… Figure 5 Not shown; usually referred to as a "hard drive"). Although Figure 5 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disc drive for reading and writing to a removable non-volatile optical disc, such as a Compact Disc Read-Only Memory (CD-ROM), a Digital Video Disc Read-Only Memory (DVD-ROM), or other optical media. In these cases, each drive may be connected to bus 418 via one or more data media interfaces. Storage device 428 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.
[0049] A program / utility 440 having a set (at least one) of program modules 442 may be stored in, for example, a storage device 428. Such program modules 442 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 442 typically perform the functions and / or methods described in the embodiments of the present invention.
[0050] Electronic device 412 can also communicate with one or more external devices 414 (e.g., keyboard, pointing terminal, display 424, etc.), and with one or more terminals that enable a user to interact with the electronic device 412, and / or with any terminal that enables the electronic device 412 to communicate with one or more other computing terminals (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 422. Furthermore, electronic device 412 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 420. Figure 5 As shown, network adapter 420 communicates with other modules of electronic device 412 via bus 418. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with electronic device 412, including but not limited to: microcode, terminal drivers, redundant processors, external disk drive arrays, Redundant Arrays of Independent Disks (RAID) systems, tape drives, and data backup storage systems.
[0051] The processor 416 (which can be considered as the controller in the detection and control module of the charging circuit) executes various functional applications and data processing by running a program stored in the storage device 428, such as implementing the control method of the charging circuit provided in the embodiments of the present invention, which includes: Obtain the battery's charging current.
[0052] The state of the charging switch is controlled according to the battery charging current.
[0053] Example 5 Embodiment 5 of the present invention also provides a computer-readable storage medium having a computer program stored thereon. When executed by a test machine, the program implements the control method for the charging circuit provided in the embodiments of the present invention, the method comprising: Obtain the battery's charging current.
[0054] The state of the charging switch is controlled according to the battery charging current.
[0055] The computer storage medium of this invention can be any combination of one or more computer-readable media. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0056] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0057] The program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0058] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or terminal. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0059] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, rearrangements, combinations, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A charging circuit, characterized in that, The charging circuit is a battery charging circuit, and the charging circuit includes: Power supply module; A discharge switch, wherein the first end of the discharge switch is electrically connected to the positive terminal of the battery, and the second end of the discharge switch is electrically connected to the first end of the power supply module; A charging switch, wherein the first end of the charging switch is electrically connected to the positive terminal of the battery, and the second end of the charging switch is electrically connected to the first end of the power supply module; A diode, wherein the positive terminal of the diode is electrically connected to the second terminal of the charging switch, and the negative terminal of the diode is electrically connected to the first terminal of the charging switch; A detection and control module is provided, wherein a first terminal of the detection and control module is electrically connected to a second terminal of the power supply module, a second terminal of the detection and control module is electrically connected to the negative terminal of the battery, and an output terminal of the detection and control module is electrically connected to the charging switch; the detection and control module is used to detect the charging current of the battery and control the state of the charging switch according to the charging current; the battery is charged through the discharge switch and / or the charging switch.
2. The charging circuit according to claim 1, characterized in that, The detection and control module includes a detection unit and a controller. The first and second ends of the detection unit are electrically connected to the second end of the power supply module and the negative terminal of the battery, respectively. The output end of the detection unit is electrically connected to the controller, and the controller is electrically connected to the control end of the charging switch.
3. The charging circuit according to claim 2, characterized in that, The detection unit includes a resistor, an amplifier, and a comparator. The two ends of the resistor serve as the first and second ends of the detection unit, respectively. The two input ends of the amplifier are electrically connected to the two ends of the resistor, respectively. The output end of the amplifier is electrically connected to the first input end of the comparator. A preset voltage signal is input to the second input end of the comparator, and the output end of the comparator is electrically connected to the controller.
4. The charging circuit according to claim 3, characterized in that, When the voltage value corresponding to the signal input to the first input terminal of the comparator is greater than the voltage value corresponding to the preset voltage signal, the controller controls the charging switch to close.
5. The charging circuit according to claim 1, characterized in that, The charging switch is a MOSFET, the diode is the body diode of the MOSFET, the first and second terminals of the MOSFET are electrically connected to the positive terminal of the battery and the first terminal of the power supply module, respectively, and the gate of the MOSFET is electrically connected to the detection and control module.
6. The charging circuit according to claim 1, characterized in that, When the charging switch is off, the power supply module charges the battery through the diode.
7. The charging circuit according to claim 1, characterized in that, When both the discharge switch and the charging switch are closed, the power supply module charges the battery through the discharge switch and the charging switch.
8. The charging circuit according to claim 1, characterized in that, The discharge switch is a relay switch, and the battery supplies power to the load through the discharge switch.
9. The charging circuit according to claim 1, characterized in that, The battery is a battery pack used in satellites, and the power supply module includes solar panels.
10. A control method for a charging circuit, characterized in that, The charging circuit is the charging circuit as described in any one of claims 1-9, and the control method includes: Obtain the battery charging current; The state of the charging switch is controlled according to the charging current of the battery.