Bidirectional charging method and bidirectional charger for storage battery

Through the two-way charging method and charger, the USB PD protocol and LED light status indication is used to realize reverse charging of motorcycle batteries when the battery is low or faulty, solving the problem of motorcycle batteries requiring disassembly and recharge, ensuring the normality of the vehicle use.

CN119010287AInactive Publication Date: 2024-11-22HAOBO ELECTRONIC TECH (NANJING) CO LTD

Patent Information

Application Number
CN202411155705.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-11-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When the motorcycle battery fails or the battery capacity is low, it is impossible to directly use USB to reverse charge. The battery needs to be removed and specially recharged, which affects the use.

Method used

Design a two-way charging method and charger. By detecting the power of the motorcycle battery, when entering the reverse charging mode, use an external charging device to supply power to the battery through the USB port, supporting one-way and two-way power supply, including USB PD protocol to identify the charging device and LED lights Status indication, fast charging protocol and protection mechanism.

Benefits of technology

It realizes that when the motorcycle battery is low or malfunctions, it uses an external power supply such as a power bank to directly charge, avoiding the process of disassembly and recharging the battery, ensuring that the vehicle can be used normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010287A_ABST
    Figure CN119010287A_ABST
Patent Text Reader

Abstract

The invention discloses a bidirectional charging method and a bidirectional charger for a storage battery, and relates to the technical field of motorcycle storage battery charging. The method comprises detecting the electric quantity of a motorcycle battery; judging whether the first USB port and the second USB port are connected with a power receiving device or a charging device; when the electric quantity of the storage battery of the motorcycle is larger than or equal to 10%, the motorcycle enters a charging mode, the one-way output module outputs power to the powered device through the first USB port, or the two-way charging module outputs power to the powered device through the second USB port; when the electric quantity of the motorcycle storage battery is smaller than 10% or the motorcycle storage battery breaks down, a reverse charging mode is entered, the first USB port stops working, and the charging equipment is allowed to supply power to the motorcycle storage battery through the second USB port and the bidirectional charging module. The invention has the beneficial effects that the motorcycle storage battery can be charged outwards when the electric quantity of the motorcycle storage battery is sufficient, and the improved charger can be used for directly charging the motorcycle storage battery by using an external power supply such as a charge pal when the electric quantity of the motorcycle storage battery is fed or a fault occurs, so that the motorcycle storage battery is prevented from being independently disassembled for special charging.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of motorcycle battery charging, in particular to a bidirectional charging method and a bidirectional charger for the battery. Background Art

[0002] At present, the degree of electrification of motorcycles is getting higher and higher. Many original mechanical designs have been replaced by electronic devices, which greatly improves the user experience. However, since the electrified design is highly dependent on the vehicle battery power supply, once the battery fails or the power is not supplied, it often causes the vehicle to be unable to start or move, and even needs to be towed to a repair point. Specifically, there is no channel or equipment on the motorcycle that can directly recharge the motorcycle battery. Once the motorcycle battery voltage is low or fails, the motorcycle battery must be removed, charged separately, and then installed back on the vehicle before the motorcycle can be started normally.

[0003] At the same time, the current USB charger is the energy transmission direction of motorcycle battery (or magneto) -> USB interface -> mobile phone (or tablet), and the USB charger cannot identify whether the device connected to the USB interface is a powered device or a charging power source. In addition, the motorcycle battery charging must provide a voltage of 12V or above. Therefore, it is impossible to directly use USB to reversely charge the motorcycle battery.

[0004] In view of this situation, a two-way charger and a two-way power supply method for batteries are designed. When the vehicle or other motorcycle batteries are inconvenient to disassemble for power feeding or fail, a power bank can be used in an emergency in combination with the two-way USB charger to reversely power the vehicle and motorcycle batteries to ensure that the vehicle can be unlocked in an emergency. Summary of the invention

[0005] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.

[0006] In view of the problems existing in the prior art, the present invention is proposed.

[0007] Therefore, the technical problem to be solved by the present invention is how to utilize an external power source to directly feed power through a USB port or charge a faulty motorcycle battery to avoid disassembly of the motorcycle battery.

[0008] In order to solve the above technical problems, the present invention provides the following technical solutions: a bidirectional charging method, comprising the following steps: detecting the power of a motorcycle battery; judging whether the first USB port and the second USB port are connected to a powered device or an external charging device; when the power of the motorcycle battery is greater than or equal to 10%, entering a charging mode, a unidirectional output module outputs power to the powered device through the first USB port, or a bidirectional charging module outputs power to the powered device through the second USB port; when the power of the motorcycle battery is less than 10% or the motorcycle battery fails, entering a reverse charging mode, the first USB port is stopped working, and the external charging device is allowed to supply power to the motorcycle battery through the bidirectional charging module.

[0009] As a preferred solution of the bidirectional charging method described in the present invention, wherein: the second USB port is set as a Source end or a Sink end through the USB PD protocol, identifies whether the powered device is a powered device or an external charging device, or manually switches the charging mode and the reverse charging mode through a button.

[0010] As a preferred solution of the bidirectional charging method of the present invention, when the battery power of the motorcycle is greater than or equal to 10%, the dormant state is awakened and the motorcycle key is powered to enter the charging mode; it is detected whether the first USB port and the second USB port are connected to the powered device; when the first USB port and the second USB port are not connected to the powered device, the green and blue LED lights are off; when the first USB port and the second USB port are connected to the powered device, the green and blue LED lights are on, the unidirectional output module outputs power to the powered device through the first USB port, or the bidirectional charging module outputs power to the powered device through the second USB port; when the battery power of the motorcycle is less than 10%, the motorcycle key enters the power-off state.

[0011] As a preferred solution of the bidirectional charging method described in the present invention, when the power of the motorcycle battery is less than 10% or the motorcycle battery fails, the motorcycle key is powered off, enters the lead-acid charging logic, and detects whether an external charging device is inserted into the second USB port; when no external charging device is inserted into the second USB port, the motorcycle key is powered off and enters a dormant state after a delay of 5 seconds; when an external charging device is inserted into the second USB port, the reverse charging mode is started through the USBPD protocol, and the LED green light is always on when the motorcycle battery is fully charged, and the LED green light flashes when it is not fully charged.

[0012] As a preferred scheme of the bidirectional charging method described in the present invention, wherein: the charging mode is the default mode, the working voltage range of the charging mode is 10V-15V, and the unidirectional output power is 18W; when the bidirectional charging module is in the reverse charging mode, both unidirectional power supply and bidirectional power supply can be selected; when unidirectional power supply is selected, the working voltage can be selected from 5V, 9V or 12V, and the unidirectional output power is 18W; when bidirectional power supply is selected, the working voltage can be selected from 5V, 9V, 12V, 15V or 20V, and the bidirectional output power is 65W; the fast charging protocols supported by the charging mode include but are not limited to QC2.0, QC3.0, QC3+, FCP, AFC, SCP and Apple; the protection mechanism corresponding to the charging mode includes but is not limited to undervoltage protection, overvoltage protection, input reverse connection protection, bidirectional overcurrent protection, output short circuit protection and over-temperature protection.

[0013] In order to solve the above technical problems, the present invention also provides the following technical solutions: a bidirectional charger for a battery, using the above bidirectional charging method, comprising a motorcycle battery; a charging unit, comprising a unidirectional output module and a bidirectional charging module electrically connected to the motorcycle battery; a control unit, comprising a first control module, a second control module, a logic control module and a protection module, the first control module and the second control module are respectively connected to the unidirectional output module and the bidirectional charging module, the logic control module sends control instructions to the first control module, the second control module and the protection module respectively, the protection module is respectively connected to the motorcycle battery, the unidirectional output module, and the bidirectional charging module to form a loop; an interface unit, comprising a first USB port and a second USB port, the first USB port and the second USB port are respectively electrically connected to the unidirectional output module and the bidirectional charging module.

[0014] As a preferred solution of the bidirectional charger for batteries described in the present invention, the bidirectional charging module includes a DC-DC power chip, a sampling and filtering module and a buck-boost module; the sampling and filtering module includes a VBAT end sampling circuit and a VBUS end sampling circuit; the buck-boost module includes a first MOS tube, a second MOS tube, a third MOS tube and a fourth MOS tube; the VBAT end sampling circuit is composed of a first sampling resistor, pins 17 and 18 of a DC-DC power chip, and the first sampling resistor is connected to the filtered VBAT end voltage; pins 27 and 32 of the DC-DC power chip are respectively connected to the fourth MOS tube and the first MOS tube; the VBA The T-end sampling circuit controls the fourth MOS tube and the first MOS tube to be turned on or off; the VBUS-end sampling circuit is composed of a second sampling resistor, pin 1 and pin 32 of a DC-DC power chip, and the second sampling resistor is connected to the filtered VBUS-end voltage; pins 21 and 23 of the DC-DC power chip are respectively connected to the second MOS tube and the third MOS tube; the VBUS-end sampling circuit controls the second MOS tube and the third MOS tube to be turned on or off; pins 9, 10 and 1 of the DC-DC power chip form I2C communication; a first inductor is connected across the first MOS tube, the second MOS tube, the third MOS tube and the fourth MOS tube.

[0015] As a preferred solution of the bidirectional charger for batteries described in the present invention, the logic control module includes a protocol chip, and the protocol chip pins 6, 7, 21, and 22 are connected to the pins B5, A5, A7 / B7, and A6 / B6 of the bidirectional USB socket to control the adjustment of the USB PD protocol and the switching of the charging mode and the reverse charging mode; the protocol chip U2 pins 28, 27, and 25 of the protocol chip form I2C communication, and the DC-DC power chip communicates with the protocol chip through I2C; the protocol chip pins 14, 15, and 20 form a program burning port; the protocol chip pin 13 is the control pin of the button, and the charging mode and the reverse charging mode are switched by the button; the protocol chip pins 9, 16, and 17 are the control pins of the RGBLED lamp; the button and the RGBLED lamp are powered by an LDO chip, and the LDO chip is connected to the C1-VBUS terminal voltage and the VBUS terminal voltage through a first anti-backflow diode and a second anti-backflow diode, respectively, and filter capacitors are provided on both sides of the LDO chip.

[0016] As a preferred solution of the bidirectional charger for a battery of the present invention, the protection module includes an anti-reverse connection protection circuit and an overvoltage protection circuit; the anti-reverse connection protection circuit includes a fifth MOS tube, the gate of the fifth MOS tube is connected to the positive electrode of the VBAT terminal voltage, the source of the fifth MOS tube is grounded, the drain of the fifth MOS tube is connected to pin 1 of the connector, and the pin 2 of the connector is connected to the positive electrode of the VBAT terminal voltage through a first fuse; a third diode is connected in parallel at both ends of the connector, and a first voltage regulator is connected between the gate and source of the fifth MOS tube; the overvoltage protection circuit includes a transistor, the base of the transistor is connected to the VBAT terminal voltage through a second voltage regulator, the emitter of the transistor is connected to the VBAT terminal voltage, and the collector of the transistor is connected to the gate of the sixth MOS tube.

[0017] As a preferred solution of the bidirectional charger for the battery of the present invention, the first USB port and the second USB port have the same structure; the second USB port includes a safety circuit, and the safety circuit includes a seventh MOS tube, an eighth MOS tube and a discharge MOS tube; the drain of the eighth MOS tube is connected to the VBUS terminal voltage, and the drain of the seventh MOS tube is connected to the C1-VBUS terminal voltage; the source and gate of the seventh MOS tube and the source and gate of the eighth MOS tube are all connected to the gate of the discharge MOS tube; the source of the discharge MOS tube is grounded, and the drain of the discharge MOS tube is connected to the VBUS terminal voltage through the discharge resistor; the second USB port includes a bidirectional USB female socket, the bidirectional USB female socket is connected to the safety circuit through the C1-VBUS terminal voltage, and the bidirectional USB female socket is plugged into an external data cable; the GND pin of the bidirectional USB female socket is grounded again through a parallel RC circuit composed of an eighth resistor, a ninth resistor and a fifth capacitor; the bidirectional USB female socket accepts USB PD protocol adjustment through the PD-MONI port to switch between charging mode and reverse charging mode.

[0018] The beneficial effects of the present invention are as follows: through the bidirectional charger and bidirectional charging method for batteries, it is possible to ensure that the motorcycle battery is fully charged when it is charged externally, and also when the motorcycle battery is fed back or fails, such as when the motorcycle is not used for a long time or the power is naturally consumed in winter, the improved charger can be used to directly charge the motorcycle battery using an external power source such as a power bank and a data cable, thereby avoiding the need to disassemble the motorcycle battery separately for special charging. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0020] Figure 1 It is an overall schematic diagram of the bidirectional charging method described in the present invention.

[0021] Figure 2 It is an overall interaction diagram of the bidirectional charger for batteries according to the present invention.

[0022] Figure 3 The present invention is a circuit diagram of a bidirectional charging module of a bidirectional charger for a battery.

[0023] Figure 4 The freewheeling diode circuit diagram of the bidirectional charger for the battery of the present invention.

[0024] Figure 5 The present invention provides a protocol chip circuit diagram of a logic control module of a bidirectional charger for a battery.

[0025] Figure 6 This is an I2C pull-up resistor circuit diagram of the logic control module of the bidirectional charger for the battery according to the present invention.

[0026] Figure 7 The present invention provides a program burning port circuit diagram of a logic control module of a bidirectional charger for a battery.

[0027] Figure 8 The present invention provides a manual key circuit diagram of a logic control module of a bidirectional charger for a battery.

[0028] Fig. 9 This is a circuit diagram of an RGBLED lamp of a logic control module of a bidirectional charger for a battery according to the present invention.

[0029] Fig.10 The present invention provides an LDO chip circuit diagram of a logic control module of a bidirectional charger for a battery.

[0030] Fig.11 The present invention provides a reverse connection protection circuit diagram of a protection module of a bidirectional charger for a battery.

[0031] Fig.12 This is an overvoltage protection circuit diagram of the protection module of the bidirectional charger for the battery according to the present invention.

[0032] Fig.13The present invention is a circuit diagram of a bidirectional USB female socket of a bidirectional battery charger.

[0033] Fig.14 The present invention is a circuit diagram of a discharge circuit of a bidirectional charger for a battery. DETAILED DESCRIPTION

[0034] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0035] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0036] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0037] Example 1, reference Figure 1 , which is the first embodiment of the present invention, and provides a bidirectional charging method, comprising:

[0038] Detect the power of the motorcycle battery 100; determine whether the first USB port 401 and the second USB port 402 are connected to a powered device or an external charging device; when the power of the motorcycle battery 100 is greater than or equal to 10%, enter the charging mode, the unidirectional output module 201 outputs power to the powered device through the first USB port 401, or the bidirectional charging module 202 outputs power to the powered device through the second USB port 402; when the power of the motorcycle battery 100 is less than 10% or the motorcycle battery 100 fails, enter the reverse charging mode, the first USB port 401 is stopped working, and the external charging device is allowed to supply power to the motorcycle battery 100 through the bidirectional charging module 202.

[0039] The second USB port 402 is set as a Source end or a Sink end through the USB PD protocol to identify whether the powered device is an external charging device, or the charging mode and the reverse charging mode are manually switched through the button SW2.

[0040] When the power of the motorcycle battery 100 is greater than or equal to 10%, the dormant state is awakened and the motorcycle key is powered, entering the charging mode; it is detected whether the first USB port 401 and the second USB port 402 are connected to the powered device; when the first USB port 401 and the second USB port 402 are not connected to the powered device, the LED green and blue lights are off; when the first USB port 401 and the second USB port 402 are connected to the powered device, the LED green and blue lights are on, and the unidirectional output module 201 outputs power to the powered device through the first USB port 401, or the bidirectional charging module 202 outputs power to the powered device through the second USB port 402; when the power of the motorcycle battery 100 is less than 10%, the motorcycle key enters the power-off state.

[0041] When the power of the motorcycle battery 100 is less than 10% or the motorcycle battery 100 fails, the motorcycle key is powered off, enters the lead-acid charging logic, and detects whether an external charging device is inserted into the second USB port 402; when no external charging device is inserted into the second USB port 402, after a delay of 5 seconds, the motorcycle key is powered off and enters a dormant state; when an external charging device is inserted into the second USB port 402, the reverse charging mode is started through the USB PD protocol, and the LED green light is always on when the motorcycle battery 100 is fully charged, and the LED green light flashes when it is not fully charged.

[0042] Among them, the motorcycle key is referred to as KL15.

[0043] Embodiment 2 is the second embodiment of the present invention, which is different from the previous embodiment in that: this embodiment provides a charging mode and a reverse charging mode, the charging mode is the default mode, the operating voltage range of the charging mode is 10V-15V, and the unidirectional output power is 18W; when the bidirectional charging module 202 is in the reverse charging mode, both unidirectional power supply and bidirectional power supply can be selected; when unidirectional power supply is selected, the operating voltage can be selected from 5V, 9V or 12V, and the unidirectional output power is 18W; when bidirectional power supply is selected, the operating voltage can be selected from 5V, 9V, 12V, 15V or 20V, and the bidirectional output power is 65W; the fast charging protocols supported by the charging mode include but are not limited to QC2.0, QC3.0, QC3+, FCP, AFC, SCP and Apple; the protection mechanism corresponding to the charging mode includes but is not limited to undervoltage protection, overvoltage protection, input reverse connection protection, bidirectional overcurrent protection, output short circuit protection and over-temperature protection.

[0044] When in charging mode, the first control module 301 and the second control module 302 are in the same mode, and can both control the output from the motorcycle battery through the first USB port 401 and the second USB port 402, such as charging a mobile phone.

[0045] Example 3, reference Figure 2, which is the third embodiment of the present invention, and is different from the first two embodiments in that: this embodiment provides a two-way charger for a battery, comprising a motorcycle battery 100; a charging unit 200, comprising a unidirectional output module 201 and a bidirectional charging module 202 electrically connected to the motorcycle battery 100; a control unit 300, comprising a first control module 301, a second control module 302, a logic control module 303 and a protection module 304, the first control module 301 and the second control module 302 are respectively connected to the unidirectional output module 201 and the bidirectional charging module 202, the logic control module 303 sends control instructions to the first control module 301, the second control module 302 and the protection module 304, the protection module 304 is respectively connected to the motorcycle battery 100, the unidirectional output module 201, and the bidirectional charging module 202 to form a loop; an interface unit 400, comprising a first USB port 401 and a second USB port 402, the first USB port 401 and the second USB port 402 are respectively electrically connected to the unidirectional output module 201 and the bidirectional charging module 202.

[0046] Working principle: The motorcycle battery voltage passes through the anti-reverse connection protection circuit and overvoltage protection circuit of the protection module 304, and is filtered by the sampling filter module 202a of the bidirectional charging module 202. Then, it passes through the DC-DC power chip U1 and the MOS tubes of the first MOS tube Q1, the second MOS tube Q2, the third MOS tube Q3 and the fourth MOS tube Q4 of the buck-boost module 202b to output the voltage. The output voltage is filtered again and passes through the seventh MOS tube Q7 and the eighth MOS tube Q8 to reach the bidirectional USB socket J1. At the same time, the protocol chip U2 of the logic control module 303 controls the output protocol to achieve the purpose of charging an external mobile phone or a powered device. The user can use an external power source such as a power bank to pass through the bidirectional USB socket J1, the safety circuit MOS tubes Q7 and Q8, and then the voltage is filtered again after passing through the power chip U1, the inductor L1, the MOS tubes Q1, Q2, Q3, and Q4 to output the voltage, and then the motorcycle battery is charged in an emergency through the anti-reverse connection protection circuit and the overvoltage protection circuit.

[0047] When in the charging mode, the first control module 301 and the second control module 302 are in the same mode and both accept the external charging instructions from the logic control module 303. When in the reverse charging mode, the first control module 301 accepts the control instructions from the logic control module 303 and shuts down, and the second control module 302 accepts the control instructions from the logic control module 303 and reversely charges the battery.

[0048] Example 4, reference Figure 3 and Figure 4, which is the fourth embodiment of the present invention, and is different from the previous three embodiments in that: this embodiment provides a bidirectional charging module, and the bidirectional charging module 202 includes a DC-DC power supply chip U1, a sampling and filtering module 202a and a buck-boost module 202b.

[0049] The sampling and filtering module 202a includes a VBAT end sampling circuit 202a-1 and a VBUS end sampling circuit 202a-2, and the buck-boost module 202b includes a first MOS transistor Q1, a second MOS transistor Q2, a third MOS transistor Q3 and a fourth MOS transistor Q4.

[0050] The VBAT end sampling circuit 202a-1 is composed of a first sampling resistor R1, pins 17 and 18 of the DC-DC power chip U1, and the first sampling resistor R1 is connected to the filtered VBAT end voltage; pins 27 and 32 of the DC-DC power chip U1 are connected to the fourth MOS transistor Q4 and the first MOS transistor Q1 respectively; the VBAT end sampling circuit 202a-1 controls the fourth MOS transistor Q4 and the first MOS transistor Q1 to turn on or off; the VBUS end sampling circuit 202a-2 is composed of a second sampling resistor R2, pins 1 and 32 of the DC-DC power chip U1, and the second sampling resistor R2 is connected to the filtered VBUS end voltage; pins 21 and 23 of the DC-DC power chip U1 are connected to the second MOS transistor Q2 and the third MOS transistor Q3 respectively; the VBUS end sampling circuit 202a-2 controls the second MOS transistor Q2 and the third MOS transistor Q3 to turn on or off; pins 9, 10 and 1 of the DC-DC power chip U1 form I2C communication. A first inductor L1 is bridged between the first MOS transistor Q1 , the second MOS transistor Q2 , the third MOS transistor Q3 and the fourth MOS transistor Q4 .

[0051] The VBAT voltage is filtered by filter capacitors C8, C10, C11, and C13, and then passes through the VBAT sampling circuit composed of pins 17, 18, and R1 of the DC-DC power chip U1. The MOS tubes Q2 and Q3 are driven to be turned on and off by pins 21 and 23 of the DC-DC power chip U1.

[0052] The VBUS voltage is filtered by filter capacitors C3, C6, C7, and C9, and then passes through the VBUS sampling circuit composed of pin 1, pin 32, and R2 of the DC-DC power chip U1, and then driven by pin 27 and pin 29 of the DC-DC power chip U1 to turn on and off the MOS tubes Q1 and Q4.

[0053] The first MOS tube Q1, the second MOS tube Q2, the third MOS tube Q3 and the fourth MOS tube Q4 form a BUCK and BOOST circuit, that is, a buck and boost mode, and the MOS tubes are turned on and turned on in a sequence shown in Table 1.

[0054] Table 1 MOS tube turn-on sequence

[0055]

[0056]

[0057] Pin 9, pin 10, and pin 1 of the DC-DC power chip U1 form I2C communication, and the DC-DC power chip U1 and the protocol chip U2 transmit information through I2C communication.

[0058] The bidirectional charging module 202 further includes bootstrap capacitors C14 and C20 and freewheeling diodes D1 and D2.

[0059] C14 is connected between pins 28 and 30 of the DC-DC power chip U1, and C14 is connected between pins 20 and 22 of the DC-DC power chip U1. One end of the freewheeling diodes D1 and D2 are connected to the VCC input voltage, and the other ends are connected to BST1 and BST2 respectively.

[0060] Bootstrap capacitors are used to boost the voltage at a certain point in a circuit, usually in the drive circuit of a MOSFET or other switching element. In a bidirectional charging module, the bootstrap capacitor may be used to provide enough voltage to the gate of the synchronous rectifier MOSFET to ensure that they can be fully turned on, especially in the case of high-side switches. Bootstrap capacitors can also be used to maintain voltage stability to prevent charging efficiency degradation or device damage due to voltage fluctuations.

[0061] The flyback diode is used to provide a loop for the current when the switching element is turned off, preventing voltage spikes or electromagnetic interference caused by sudden current changes. In a bidirectional charging module, the flyback diode may be connected in parallel to the switching element. When the switching element is turned off, the flyback diode is turned on, allowing the energy stored in the inductor to be released and maintaining the continuity of the circuit. The flyback diode is essential to prevent damage caused by reverse electromotive force (Back EMF), especially when the switching element is switched quickly.

[0062] Example 5, reference Figure 5-Figure 10, which is the fifth embodiment of the present invention, and is different from the first four embodiments in that: this embodiment provides a logic control module, the logic control module 303 includes a protocol chip U2, the protocol chip U2 pin 6, pin 7, pin 21, pin 22 and the bidirectional USB female connector J1 pin B5, A5, A7 / B7, A6 / B6, used to control the USB Adjustment of PD protocol and switching between charging mode and reverse charging mode; Pin 28, Pin 27 and Pin 25 of protocol chip U2 form I2C communication, and DC-DC power chip U1 communicates with protocol chip U2 through I2C; Pin 14, Pin 15 and Pin 20 of protocol chip U2 form program burning port J4; Pin 13 of protocol chip U2 is the control pin of button SW2, and charging mode and reverse charging mode are switched through button SW2; Pin 9, Pin 16 and Pin 17 of protocol chip U2 are the control pins of RGBLED lamp LED; Button SW2 and RGBLED lamp LED are powered by LDO chip U3, and LDO chip U3 is connected to C1-VBUS terminal voltage and VBUS terminal voltage through the first anti-backflow diode D4 and the second anti-backflow diode D5 respectively, and filter capacitors are arranged on both sides of LDO chip U3.

[0063] In this embodiment, pins 28, 27 and 25 of the protocol chip U2 form I2C communication, resistors R10, R11 and R12 form I2C pull-up resistors, and the DC-DC power chip U1 communicates with the protocol chip U2 via I2C.

[0064] Pin 14, pin 15 and pin 20 of the protocol chip U2 constitute the burning port of the protocol chip U2.

[0065] Pin 13 of the protocol chip U2 is the control pin of the button SW2, and the bidirectional charging is switched by the button SW2. The resistor R15 is the button current limiting resistor, and the capacitor C17 is the button filter capacitor.

[0066] The protocol chip U2 pins 9, 16, and 17 are RGB LED light control pins. The RGB light is a status indicator. The default discharge state is on when powered on. The LED blue light is always on. The bidirectional type-c port is connected to an external power device (mobile phone, power bank, etc.). The LED blue light is breathing during charging. The LED green light is breathing during battery charging. When the battery is fully charged, the LED green light is always on.

[0067] The LED light turns red when the following faults occur: chip overtemperature, NTC high and low temperature protection, VBUS overvoltage, VBAT overvoltage, UVL0, VBUS short circuit, VBUS overload.

[0068] Resistors R16, R17, and R18 are current-limiting resistors for the RGBLED lamp. The LDO chip U3 supplies power to the protocol chip U2, the LED lamp, and the button SW2. SW2 is the manual switching button between the charging mode and the reverse charging mode.

[0069] D4 and D5 are anti-reverse current diodes, C9, C18 and C11, C12 are filter capacitors of LDO chip U3.

[0070] D4 and D5 ensure that current can only flow from the VBUS or C1-VBUS terminal to the LDO chip U3, preventing current from flowing in the opposite direction, which is an important measure to protect the LDO chip and downstream circuits; without a reverse current protection diode, when the VBUS or C1-VBUS terminal voltage drops below the LDO output voltage, reverse current may flow through the LDO, which may cause damage to the LDO chip or instability; the reverse current protection diode helps maintain the stability of the circuit, ensuring that the input voltage of the LDO chip remains within a safe range even when the power supply voltage fluctuates or the load changes.

[0071] Example 6, reference Fig.11 and Fig.12 , which is the sixth embodiment of the present invention, and is different from the previous five embodiments in that: this embodiment provides a protection module, the protection module 304 includes an anti-reverse connection protection circuit 304a and an overvoltage protection circuit 304b; the anti-reverse connection protection circuit 304a includes a fifth MOS transistor Q5, the gate of the fifth MOS transistor Q5 is connected to the positive electrode of the VBAT terminal voltage, the source of the fifth MOS transistor Q5 is grounded, the drain of the fifth MOS transistor Q5 is connected to the pin 1 of the connector CON1, and the pin 2 of the connector CON1 is connected to the positive electrode of the VBAT terminal voltage through the first fuse FU; a third diode D3 is connected in parallel to both ends of the connector CON1, and a first voltage regulator Z1 is bridged between the gate and the source of the fifth MOS transistor Q5.

[0072] The connector CON1 is the interface of the subsequent circuit. The first fuse FU provides a path during normal operation. When the current exceeds its rated value, the fuse will disconnect and cut off the circuit to prevent overload from damaging the circuit.

[0073] The third diode D3 is connected in parallel at both ends of the connector CON1. ​​When the power supply is connected reversely, D3 is forward-conducted to limit the reverse flow of current, thereby preventing the circuit from being damaged when the power supply is connected reversely.

[0074] The first voltage regulator Z1 is connected between the gate and source of the fifth MOS tube Q5. When the gate voltage rises abnormally, the voltage regulator Z1 is turned on to absorb the excess voltage to prevent the MOS tube from being damaged due to excessive gate voltage.

[0075] Under normal circumstances, when the VBAT power supply is connected in the forward direction, that is, the positive electrode of the power supply is connected to the positive input terminal of the circuit, and the negative electrode is connected to the negative electrode or ground of the circuit. The gate of the fifth MOS tube Q5 receives a high-level signal through the drive circuit, usually received from a controller or comparator through a resistor. The high-level signal on the gate turns on the fifth MOS tube Q5, and the channel between its source and drain opens, allowing current to flow. The current flows from VBAT to the drain of the fifth MOS tube Q5, and then flows to its source through the inside of the MOSFET. The source is connected to the input terminal of the subsequent circuit, and the current continues to flow to the subsequent circuit, completing the entire power supply loop.

[0076] If the VBAT power supply is connected in reverse, that is, the negative electrode of the power supply is mistakenly connected to the positive input terminal of the circuit, the gate of the fifth MOS transistor Q5 will not receive a high-level signal. Since the gate does not receive enough voltage to drive, the fifth MOS transistor Q5 remains in a closed state, and the channel between the source and the drain is closed, preventing the current from flowing to the subsequent circuit.

[0077] In summary, in the anti-reverse connection protection circuit, when the VBAT power flows in the forward direction, the fifth MOS tube Q5 is turned on, and the subsequent circuit works normally; when the VBAT power flows in the reverse direction, the fifth MOS tube Q5 is turned off, and the subsequent circuit cannot work, thereby achieving the purpose of anti-reverse connection protection.

[0078] The overvoltage protection circuit 304b includes a transistor T1, a base of the transistor T1 is connected to the VBAT terminal voltage through a second voltage regulator tube Z2, an emitter of the transistor T1 is connected to the VBAT terminal voltage, and a collector of the transistor T1 is connected to the gate of the sixth MOS tube Q6.

[0079] In the overvoltage protection circuit, when the input power voltage exceeds the voltage required by the customer, the second voltage regulator tube Z2 is turned on, the transistor T1 is turned on, the sixth MOS tube Q6 is turned off, and the subsequent circuit cannot work, thereby achieving the purpose of overvoltage protection.

[0080] Example 7, reference Fig.13 and Fig.14 , which is the seventh embodiment of the present invention, and is different from the previous six embodiments in that: this embodiment provides a bidirectional charging seat, the drain of the eighth MOS tube Q8 is connected to the C1-VBUS terminal voltage; the source and gate of the seventh MOS tube Q7 and the source and gate of the eighth MOS tube Q8 are all connected to the gate of the discharge MOS tube V1; the source of the discharge MOS tube V1 is grounded, and the drain of the discharge MOS tube V1 is connected to the VBUS terminal voltage through the discharge resistor R25.

[0081] The function of the seventh MOS tube Q7 and the eighth MOS tube Q8 is to prepare the voltage before turning on the two to ensure safety. The discharge resistor R25 and the discharge MOS tube V1 form a discharge circuit. Each time the gear is switched and pulled out, discharge is required to avoid high voltage impact on low voltage equipment.

[0082] The second USB port 402 includes a bidirectional USB socket J1, which is connected to the safety circuit 402a through the C1-VBUS terminal voltage, and the bidirectional USB socket J1 is plugged into the external data line; the GND pin of the bidirectional USB socket J1 is grounded through a parallel RC circuit composed of an eighth resistor R8, a ninth resistor R9 and a fifth capacitor C5; the bidirectional USB socket J1 accepts USB PD protocol adjustment through the PD-MONI port to switch between charging mode and reverse charging mode.

[0083] The first USB port 401 and the second USB port 402 have the same structure, except that the first USB port 401 only outputs power to the outside, that is, the battery charges external devices such as mobile phones, and does not accept reverse charging from external devices, while the second USB port 402 can charge in both directions.

[0084] The shell ground of the bidirectional USB socket J1 is not directly connected to the board GND, but connected to the board GND through the eighth resistor R8, the ninth resistor R9 and the fifth capacitor C5 to form a parallel RC circuit. The purpose is to pass 8 / 15 ESD, that is, the RC circuit must meet certain ESD test standards. "8 / 15" refers to the contact discharge (ContactDischarge) test level in the IEC 61000-4-2 standard, where 8kV is the air discharge test level and 15kV is the contact discharge test level. This test level is used to evaluate the resistance of electronic equipment to electrostatic discharge.

[0085] Capacitors C29 and C30 are filter capacitors, and resistors R22 and R21 form a voltage sampling circuit.

[0086] Embodiment 8 is the eighth embodiment of the present invention, which is different from the previous seven embodiments in that: this embodiment provides a specific example of the reverse charging mode, according to the battery 12AH, 12V rated voltage 10% power to meet the ignition demand, and no loss is taken into account.

[0087] Table 2 Normal power time

[0088]

[0089]

[0090] If the power consumption of the locked electrical appliances is estimated to be 20W, the charging time is as shown in Table 3.

[0091] Table 3 Power-on time after lock connection

[0092] Input Power Charging Current 12AH battery charging 10% time 10W(5V / 2A) 0.83A / 18W (9V / 2A or 12V1.5A) 1.5A / 45W(15V / 3A) 3.75A 35min 60W(20V / 3A) 5A 22min

[0093] Since the power of electrical appliances after locking is estimated to be 20W, the input power of 10W and 18W is ineffective and is not considered.

[0094] Among them, the difference between connecting to normal power and connecting to power after locking is that connecting to power after locking bypasses the motorcycle key power and directly charges the motorcycle battery, so the charging time or efficiency is better than connecting to normal power.

[0095] Importantly, it should be noted that the construction and arrangement of the present application shown in a number of different exemplary embodiments are only exemplary. Although only a few embodiments are described in detail in this disclosure, it should be readily understood by those who refer to this disclosure that many modifications are possible without substantially departing from the novel teachings and advantages of the subject matter described in the application (e.g., mounting arrangements, use of materials, color, changes in orientation, etc.). For example, the element shown as integrally formed may be composed of multiple parts or elements, the position of the element may be inverted or otherwise changed, and the nature or number or position of the discrete element may be changed or changed. Therefore, all such modifications are intended to be included within the scope of the present invention. The order or sequence of any process or method steps may be changed or reordered according to alternative embodiments. In the claims, any "device plus function" clause is intended to cover the structure described herein that performs the function, and is not only structurally equivalent but also equivalent structure. Without departing from the scope of the present invention, other replacements, modifications, changes and omissions may be made in the design, operating conditions and arrangement of the exemplary embodiments. Therefore, the present invention is not limited to a specific embodiment, but extends to a variety of modifications that still fall within the scope of the appended claims.

[0096] Additionally, in an effort to provide a concise description of example embodiments, all features of an actual implementation may not be described.

[0097] It will be appreciated that in the development of any actual implementation, as in any engineering or design project, numerous implementation-specific decisions may be made. Such a development effort may be complex and time-consuming, but will be a routine task of design, fabrication, and production for those of ordinary skill having the benefit of this disclosure without undue experimentation.

[0098] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A bidirectional charging method, characterized in that: The following steps are included: Detecting the power level of the motorcycle battery (100); Determining whether the first USB port (401) and the second USB port (402) are connected to a powered device or an external charging device; When the power level of the motorcycle battery (100) is greater than or equal to 10%, the motorcycle enters a charging mode, and the unidirectional output module (201) outputs power to the powered device through the first USB port (401), or the bidirectional charging module (202) outputs power to the powered device through the second USB port (402); When the power level of the motorcycle battery (100) is less than 10% or the motorcycle battery (100) fails, the motorcycle enters a reverse charging mode, the first USB port (401) stops working, and an external charging device is allowed to supply power to the motorcycle battery (100) through the bidirectional charging module (202).

2. The bidirectional charging method according to claim 1, characterized in that: The second USB port (402) is set as a source end or a sink end through the USB PD protocol to identify whether the powered device is an external charging device, or the charging mode and the reverse charging mode are manually switched through a button (SW2).

3. The bidirectional charging method according to claim 2, characterized in that: When the power level of the motorcycle battery (100) is greater than or equal to 10%, the dormant state is awakened and the motorcycle key is powered, entering a charging mode; Detecting whether the first USB port (401) and the second USB port (402) are connected to a powered device; When the first USB port (401) and the second USB port (402) are not connected to a powered device, the green and blue LED lights are off; When the first USB port (401) and the second USB port (402) are connected to a powered device, the green and blue LED lights are on, and the unidirectional output module (201) outputs power to the powered device through the first USB port (401), or the bidirectional charging module (202) outputs power to the powered device through the second USB port (402); When the power level of the motorcycle battery (100) is less than 10%, the motorcycle key enters a power-off state.

4. The bidirectional charging method according to claim 3, characterized in that: When the power level of the motorcycle battery (100) is less than 10% or the motorcycle battery (100) fails, the motorcycle key is powered off, the lead-acid charging logic is entered, and the second USB port (402) is detected to determine whether an external charging device is plugged in; When no external charging device is plugged into the second USB port (402), after a delay of 5 seconds, the motorcycle key is powered off and enters a dormant state; When an external charging device is plugged into the second USB port (402), the reverse charging mode starts through the USB PD protocol, and the LED green light is always on when the motorcycle battery (100) is fully charged, and the LED green light flashes when it is not fully charged.

5. The bidirectional charging method according to claim 4, characterized in that: The charging mode is the default mode, the operating voltage range of the charging mode is 10V-15V, and the unidirectional output power is 18W; When the bidirectional charging module (202) is in reverse charging mode, it can select unidirectional power supply or bidirectional power supply; When unidirectional power supply is selected, the operating voltage can be selected as 5V, 9V or 12V, and the unidirectional output power is 18W; When bidirectional power supply is selected, the operating voltage can be selected as 5V, 9V, 12V, 15V or 20V, and the bidirectional output power is 65W; The fast charging protocols supported by the charging mode include but are not limited to QC2.0, QC3.0, QC3+, FCP, AFC, SCP and Apple; The protection mechanism corresponding to the charging mode includes but is not limited to undervoltage protection, overvoltage protection, input reverse connection protection, bidirectional overcurrent protection, output short circuit protection and overtemperature protection.

6. A two-way charger for a battery, characterized in that: The bidirectional charging method as claimed in any one of claims 1 to 5 comprises: Motorcycle battery (100); A charging unit (200) comprising a unidirectional output module (201) and a bidirectional charging module (202) electrically connected to a motorcycle battery (100); A control unit (300) comprises a first control module (301), a second control module (302), a logic control module (303) and a protection module (304); the first control module (301) and the second control module (302) are respectively connected to a unidirectional output module (201) and a bidirectional charging module (202); the logic control module (303) sends control instructions to the first control module (301), the second control module (302) and the protection module (304); the protection module (304) is respectively connected to a motorcycle battery (100), a unidirectional output module (201) and a bidirectional charging module (202) to form a loop; The interface unit (400) comprises a first USB port (401) and a second USB port (402), wherein the first USB port (401) and the second USB port (402) are electrically connected to the unidirectional output module (201) and the bidirectional charging module (202) respectively.

7. The bidirectional charger for a battery as claimed in claim 6, characterized in that: The bidirectional charging module (202) comprises a DC-DC power supply chip (U1), a sampling and filtering module (202a) and a buck-boost module (202b); The sampling and filtering module (202a) comprises a VBAT end sampling circuit (202a-1) and a VBUS end sampling circuit (202a-2); The buck-boost module (202b) comprises a first MOS tube (Q1), a second MOS tube (Q2), a third MOS tube (Q3) and a fourth MOS tube (Q4); The VBAT terminal sampling circuit (202a-1) is composed of a first sampling resistor (R1), pins 17 and 18 of a DC-DC power supply chip (U1), and the first sampling resistor (R1) is connected to the filtered VBAT terminal voltage; Pin 27 and pin 32 of the DC-DC power supply chip (U1) are connected to the fourth MOS transistor (Q4) and the first MOS transistor (Q1) respectively; The VBAT end sampling circuit (202a-1) controls the fourth MOS tube (Q4) and the first MOS tube (Q1) to turn on or off; The VBUS terminal sampling circuit (202a-2) is composed of a second sampling resistor (R2), pin 1 and pin 32 of a DC-DC power supply chip (U1), and the second sampling resistor (R2) is connected to the filtered VBUS terminal voltage; Pin 21 and pin 23 of the DC-DC power chip (U1) are connected to the second MOS tube (Q2) and the third MOS tube (Q3) respectively; The VBUS end sampling circuit (202a-2) controls the second MOS tube (Q2) and the third MOS tube (Q3) to turn on or off; Pin 9, pin 10 and pin 1 of the DC-DC power chip (U1) form I2C communication; A first inductor (L1) is bridged between the first MOS tube (Q1), the second MOS tube (Q2), the third MOS tube (Q3) and the fourth MOS tube (Q4).

8. The bidirectional charger for a battery as claimed in claim 7, characterized in that: The logic control module (303) comprises a protocol chip (U2), wherein pins 6, 7, 21 and 22 of the protocol chip (U2) and pins B5, A5, A7 / B7 and A6 / B6 of the bidirectional USB socket (J1) are used to control the adjustment of the USB PD protocol and the switching between the charging mode and the reverse charging mode; The protocol chip U2 pin 28, pin 27, and pin 25 of the protocol chip (U2) form I2C communication, and the DC-DC power chip (U1) communicates with the protocol chip (U2) via I2C; Pins 14, 15 and 20 of the protocol chip (U2) form a program burning port (J4); Pin 13 of the protocol chip (U2) is a control pin of a button (SW2), and the charging mode and the reverse charging mode are switched by pressing the button (SW2); Pins 9, 16 and 17 of the protocol chip (U2) are control pins of the RGBLED lamp (LED); The button (SW2) and the RGBLED lamp (LED) are powered by an LDO chip (U3), and the LDO chip (U3) is connected to the C1-VBUS terminal voltage and the VBUS terminal voltage through a first anti-backcurrent diode (D4) and a second anti-backcurrent diode (D5), respectively, and filter capacitors are respectively arranged on both sides of the LDO chip (U3).

9. The bidirectional charger for a battery as claimed in claim 8, characterized in that: The protection module (304) comprises an anti-reverse connection protection circuit (304a) and an overvoltage protection circuit (304b); The anti-reverse connection protection circuit (304a) comprises a fifth MOS tube (Q5), the gate of the fifth MOS tube (Q5) is connected to the positive electrode of the VBAT terminal voltage, the source of the fifth MOS tube (Q5) is grounded, the drain of the fifth MOS tube (Q5) is connected to the pin 1 of the connector (CON1), and the pin 2 of the connector (CON1) is connected to the positive electrode of the VBAT terminal voltage through a first fuse (FU); A third diode (D3) is connected in parallel at both ends of the connector (CON1), and a first voltage regulator tube (Z1) is bridged between the gate and source of the fifth MOS tube (Q5); The overvoltage protection circuit (304b) comprises a transistor (T1), the base of the transistor (T1) is connected to the VBAT terminal voltage via a second voltage regulator (Z2), the emitter of the transistor (T1) is connected to the VBAT terminal voltage, and the collector of the transistor (T1) is connected to the gate of a sixth MOS transistor (Q6).

10. The bidirectional charger for a battery as claimed in claim 9, characterized in that: The first USB port (401) and the second USB port (402) have the same structure; The second USB port (402) comprises a safety circuit (402a), and the safety circuit (402a) comprises a seventh MOS transistor (Q7), an eighth MOS transistor (Q8) and a discharge MOS transistor (V1); The drain of the eighth MOS tube (Q8) is connected to the VBUS terminal voltage, and the drain of the seventh MOS tube (Q7) is connected to the C1-VBUS terminal voltage; The source and gate of the seventh MOS tube (Q7) and the source and gate of the eighth MOS tube (Q8) are all connected to the gate of the discharge MOS tube (V1); The source of the discharge MOS tube (V1) is grounded, and the drain of the discharge MOS tube (V1) is connected to the VBUS terminal voltage via a discharge resistor (R25); The second USB port (402) comprises a bidirectional USB female socket (J1), the bidirectional USB female socket (J1) is connected to the safety circuit (402a) via the C1-VBUS terminal voltage, and the bidirectional USB female socket (J1) is plugged into an external data cable; The GND pin of the bidirectional USB socket (J1) is grounded through a parallel RC circuit consisting of an eighth resistor (R8), a ninth resistor (R9) and a fifth capacitor (C5); The bidirectional USB socket (J1) accepts USB PD protocol adjustment through the PD-MONI port to switch between charging mode and reverse charging mode.

Citation Information

Patent Citations

  • Bidirectional OBC system of electric motorcycle

    CN116653654A

  • Take communication function's two -way lift to press portable power source

    CN208046271U

Cited By

  • Bidirectional charging method and bidirectional charger for storage battery

    CN121417445A