WO2023015720A1 - Bidirectional charging circuit and apparatus - Google Patents

Bidirectional charging circuit and apparatus Download PDF

Info

Publication number
WO2023015720A1
WO2023015720A1 PCT/CN2021/124607 CN2021124607W WO2023015720A1 WO 2023015720 A1 WO2023015720 A1 WO 2023015720A1 CN 2021124607 W CN2021124607 W CN 2021124607W WO 2023015720 A1 WO2023015720 A1 WO 2023015720A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
signal
resistor
main control
transmission module
Prior art date
Application number
PCT/CN2021/124607
Other languages
French (fr)
Chinese (zh)
Inventor
张水莎
Original Assignee
惠州Tcl云创科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 惠州Tcl云创科技有限公司 filed Critical 惠州Tcl云创科技有限公司
Publication of WO2023015720A1 publication Critical patent/WO2023015720A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00045Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0045Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction concerning the insertion or the connection of the batteries

Definitions

  • the disclosure relates to the technical field of electronic circuits, in particular to a bidirectional charging circuit and device.
  • the purpose of the present disclosure is to provide a bidirectional charging circuit and device, which can realize bidirectional charging by adding a Type-C interface to the original AR host, thereby effectively reducing the waste of resources and platform upgrade fees.
  • the first aspect of the present disclosure relates to a bidirectional charging circuit, which is connected to a power adapter, an external power supply or an external electronic device, and the bidirectional charging circuit includes a first transmission module, a main control module, a power supply module, a logic control module, and a second transmission module and interface modules;
  • the main control module is respectively connected to the first transmission module and the power supply module, the logic control module is also connected to the power supply module, and the first transmission module is also connected to the logic control module and the power supply module module connection;
  • the logic control module is configured to output a first detection signal to the main control module when detecting that the first transmission module is connected to an external electronic device;
  • the first transmission module is used to connect an external electronic device or a power adapter, and output a second detection signal to the main control module when it is detected that the power adapter is connected;
  • the main control module is configured to output a first control signal to the power module according to the first detection signal, or output a second control signal to the power module according to the second detection signal;
  • the power supply module is used to provide electric energy for the external electronic device through the first transmission module according to the first control signal, or receive input from the power adapter through the first transmission module according to the second control signal electric energy;
  • the second transmission module is respectively connected with the first transmission module, the logic control module and the main control module; the second transmission module is used for all the output of the logic control module
  • the first detection signal is output to the main control module
  • the interface module is connected to the first transmission module, the power supply module and the logic control module, and the interface module is used to output the first current detection signal output by the logic control module and the The second current detection signal is output to the main control module.
  • the first transmission module includes a detection unit and a voltage transformation unit; the detection unit is connected to the voltage transformation unit and the logic control module; the detection unit is used for detecting the When the external electronic device is connected, output a first access signal to the logic control module, and when the power adapter is connected, output a second access signal to the main control module.
  • the logic control module includes a control unit and a pull-up unit; the control unit is connected to the first transmission module and the pull-up unit; the pull-up unit is also connected to a power module ; the control unit is used to output the first detection signal to the main control module according to the first access signal; the pull-up unit is used to provide a high level signal for the control unit.
  • the main control module includes a main control chip; the main control chip is connected to the detection unit, and is used to control the power supply according to the first detection signal output by the detection unit
  • the module provides electric energy for the external electronic equipment through the first transmission module, or is used to first generate a second detection signal according to the second access signal output by the detection unit, and then control according to the second detection signal
  • the power module receives the electric energy input by the power adapter through the first transmission module.
  • the power module includes a power control unit and a battery pack; the power control unit is connected to the main control module, the first transmission module and the battery pack; the battery control unit It is used to control the battery pack to provide reverse current according to the first control information, and to control the battery pack to receive charging current to charge the battery pack itself according to the second control information; the battery pack is used to provide current to external electronic equipment Or receive current from the power adapter.
  • the second aspect of the present disclosure relates to a bidirectional charging circuit, which is connected to a power adapter or an external electronic device.
  • the bidirectional charging circuit includes a first transmission module, a main control module, a power supply module and a logic control module;
  • the first transmission module is connected to the power module, the logic control module is also connected to the power module, and the first transmission module is also connected to the logic control module and the power module;
  • the logic control The module is used to output a first detection signal to the main control module when it detects that the first transmission module is connected to an external electronic device;
  • the first transmission module is used to connect an external electronic device or a power adapter, and when it detects output a second detection signal to the main control module when the power adapter is connected;
  • the main control module is used to output a first control signal to the power supply module according to the first detection signal, or
  • the signal outputs a second control signal to the power module;
  • the power module is used to provide power for the external electronic device through the first transmission module
  • the bidirectional charging circuit also includes a second transmission module; the second transmission module is respectively connected to the first transmission module, the logic control module and the main control module; the second transmission module is used to transfer the The first detection signal output by the logic control module is output to the main control module.
  • the first transmission module includes a detection unit and a voltage transformation unit; the detection unit is connected to the voltage transformation unit and the logic control module; the detection unit is used for when the external electronic When the device is connected, a first connection signal is output to the logic control module, and when the power adapter is connected, a second connection signal is output to the main control module.
  • the logic control module includes a control unit and a pull-up unit; the control unit is connected to the first transmission module and the pull-up unit; the pull-up unit is also connected to a power module; The control unit is used to output the first detection signal to the main control module according to the first access signal; the pull-up unit is used to provide a high level signal for the control unit.
  • the main control module includes a main control chip; the main control chip is connected to the detection unit, and is used to control the power module according to the first detection signal output by the detection unit Providing electric energy to the external electronic equipment through the first transmission module, or generating a second detection signal according to the second access signal output by the detection unit, and then controlling the external electronic device according to the second detection signal
  • the power supply module receives the electric energy input by the power adapter through the first transmission module.
  • the detection unit includes a first interface, a first resistor, a second resistor, a third resistor, a fourth resistor, a first electrostatic tube, a second electrostatic tube, a third electrostatic tube, and a fourth electrostatic tube.
  • one end of the first electrostatic tube is connected to the A8 signal port of the first interface, and the second electrostatic tube
  • One end and one end of the first resistor are both connected to the A5 signal end of the first interface, one end of the third electrostatic tube and one end of the second resistor are both connected to the B5 signal end of the first interface, and the The A5 signal end and the B5 signal end of the first interface are also connected to the logic control module, the other end of the first electrostatic tube, the other end of the second electrostatic tube, and the other end of the third electrostatic tube , the other end of the first resistor and the other end of the second resistor are both grounded; one end of the fourth electrostatic tube is connected to the A6 and B6 signal ends of the first interface, and the A6 and B6 of the first interface The signal end is also connected to the transformation unit, the other end of the fourth electrostatic tube is grounded;
  • the voltage transformation unit includes a fifth resistor, a sixth resistor and a transformer; the first pin of the transformer is connected to one end of the sixth resistor, and the fourth pin of the transformer is connected to one end of the sixth resistor.
  • the other end of the sixth resistor is connected to the second transmission module, the second pin of the transformer is connected to one end of the fifth resistor and the second transmission module, and the third pin of the transformer Connect with the other end of the fifth resistor.
  • the control unit includes a logic control chip, a seventh resistor, an eighth resistor, and a fourth capacitor, and the first pin and the second pin of the logic control chip are connected to the first transmission module , the 7th pin, the 8th pin, the 9th pin and the 11th pin of the logic control chip are all connected to the pull-up unit, and the 9th pin of the logic control chip is also connected to the second transmission module and the The pull-up unit is connected; one end of the seventh resistor is connected to the 6th pin of the logic control chip and one end of the fourth capacitor, and the other end of the seventh resistor is connected to the 12th pin of the logic control chip.
  • the pins are all connected to the power supply; the eighth resistor is connected to the 5th pin and the 12th pin of the logic control chip, and the 12th pin of the logic control chip is also connected to the power supply.
  • the pull-up unit includes a ninth resistor, a tenth resistor, an eleventh resistor, and a twelfth resistor, one end of the ninth resistor, one end of the tenth resistor, the first One end of the eleventh resistor and one end of the twelfth resistor are connected to the power port, the other end of the ninth resistor, the other end of the tenth resistor, the other end of the eleventh resistor and the The other ends of the twelfth resistors are both connected to the second transmission module.
  • the bidirectional charging circuit further includes an interface module, the interface module is connected with the first transmission module, the power supply module and the logic control module, and the interface module is used to connect the The first current detection signal and the second current detection signal output by the logic control module are output to the main control module.
  • the power module includes a power control unit and a battery pack; the power control unit is connected to the main control module, the first transmission module and the battery pack; the battery control unit It is used to control the battery pack to provide reverse current according to the first control information, and to control the battery pack to receive charging current to charge the battery pack itself according to the second control information; the battery pack is used to provide current to external electronic equipment Or receive current from the power adapter.
  • the power control unit is an RK816 chip.
  • the main control chip is an RK3229 chip.
  • the first detection information is a low-level signal, and the second detection information is a high-level signal;
  • the first control information is downlink port mode information or plug-and-play mode information ;
  • the second control information is uplink port mode information.
  • the third aspect of the present disclosure relates to a bidirectional charging device, which includes a PCB board, and the PCB board is provided with the above-mentioned bidirectional charging circuit.
  • the bidirectional charging circuit includes a first transmission module, a main control module, a power supply module and a logic control module; the first transmission module is used to connect external electronic equipment or Power adapter; the logic control module is used to output the first detection signal to the main control module when it detects that the first transmission module is connected to an external electronic device, or output the second detection signal to the main control module when it detects that the first transmission module is connected to a power adapter
  • the main control module; the main control module is used to output the first control signal to the power module according to the first detection signal, or output the second control signal to the power module according to the second detection signal; the power module is used to output the first control signal to the power module according to the first control signal.
  • the transmission module provides electric energy for external electronic equipment, or receives electric energy input by the power adapter through the first transmission module according to the second control signal to provide electric energy for the main control module; the present disclosure provides bidirectional charging for the power supply module by adding the first transmission module, thereby reducing Waste of resources.
  • FIG. 1 is a structural block diagram of a bidirectional charging circuit provided by the present disclosure
  • FIG. 4 is a circuit diagram of a logic control module in a bidirectional charging circuit provided by the present disclosure
  • FIG. 5 is a circuit diagram of a second transmission module in the bidirectional charging circuit provided by the present disclosure.
  • FIG. 6 is a circuit diagram of an interface module in the bidirectional charging circuit provided by the present disclosure.
  • the bidirectional charging circuit and device provided in the present disclosure can implement bidirectional charging by adding a Type-C interface to the original AR host, thereby effectively reducing resource waste and platform upgrade costs.
  • radio frequency front-end circuit design scheme is described below through specific exemplary embodiments. It should be noted that the following embodiments are only used to explain the disclosed technical solutions and do not specifically limit them:
  • a bidirectional charging circuit 10 provided by the present disclosure is connected to a power adapter 20, an external power supply 30 or an external electronic device 40, and the bidirectional charging circuit includes a first transmission module 100, a logic control module 200, a main control module 300 and power module 400; the main control module 300 is connected to the first transmission module 100 and the power module 400 respectively, the logic control module 200 is also connected to the power module 400, and the first transmission
  • the module 100 is also connected to the logic control module 200 and the power supply module 400; the logic control module 200 is used to output a first detection signal to the first transmission module 100 when it detects that the external electronic device 40 is connected.
  • the main control module 300 is further configured to output a first current detection signal to the main control module 300 when detecting that the first transmission module 100 is connected to an external power supply 30 or to detect that the first transmission module 100 is connected output the second current detection signal to the main control module 300 when it is the power adapter 20;
  • the second detection signal is sent to the main control module 300;
  • the main control module 300 is used to output a first control signal to the power module 400 according to the first detection signal, or output a second control signal according to the second detection signal.
  • the control signal is sent to the power module 400, and the main control module 300 is also used to output a first current control signal to the power module 400 according to the first current detection signal or output a second current control signal according to the second current detection signal.
  • the current control signal is sent to the power supply module 400; the power supply module 400 is used to provide electric energy for the external electronic device 40 through the first transmission module 100 according to the first control signal, or to supply power to the external electronic device 40 according to the second control signal Receiving the power inputted by the power adapter 20 through the first transmission module 100, the power module 400 is also configured to provide power for itself in the first current mode according to the first current control information or configured according to the second current control information Powering itself for the second current mode.
  • the first detection information is a low-level signal; the second detection information is a high-level signal; the first control information is DFP (Downstream Facing Port: downstream port) mode information or OTG (OTG: On -The-Go: plug and play) mode information; the second control information is UFP (Upstream Facing Port: uplink port) mode information; the first current detection information is a small current signal; the second current information is a large current signal; the first control signal is a low current mode signal; the second control signal is a medium current mode signal or a high current mode signal; the first current mode is a low current mode; the second current mode is medium or high current mode.
  • the logic control module 200 when the first transmission module 100 is connected to the external electronic device 40, firstly, the logic control module 200 outputs the first detection signal to the main control module 300, and secondly, the main control module 300 outputs the first detection signal according to the first detection signal.
  • a control message is sent to the power supply module 400, and finally, the power supply module 400 provides electric energy for the external electronic device 40 through the first transmission module 100 according to the first control message.
  • the logic control module 200 When the first transmission module 100 is connected to the external power supply 30, the logic control module 200 outputs a first current detection signal to the main control module 300, and the main control module 300 outputs the first current detection signal according to the first current detection signal.
  • a current control information is sent to the power module 400, and the power module 400 is configured to provide electric energy for itself in the first current mode according to the first current control information.
  • the first transmission module 100 When the first transmission module 100 is connected to the power adapter 20, first, the first transmission module 100 outputs a second detection signal to the main control module 300, and at the same time, the logic control module 200 outputs a second current detection signal to the main control module 300; secondly, the main control module 300 outputs a second control signal to the power module 400 according to the second detection signal, and outputs a second current control signal according to the second current detection signal To the power module 400, finally, the power module 400 receives the electric energy input by the power adapter 20 through the first transmission module 100 according to the second control signal, and configures the second current control information according to the second current control information. Current mode supplies power to itself.
  • the logic control module 200 outputs different level signals to the main control module 300 according to whether the first transmission module 100 is connected to the external electronic device 40 or the power adapter 20, and the main control module 300 then According to the level signal, when the first transmission module 100 is connected to the external electronic device 40, control the power supply module 400 to reversely provide power for the external electronic device 40 through the first transmission module 100; and When the first transmission module 100 is connected to the power adapter 20, the power adapter 20 is controlled to charge the power module 400 through the first transmission module 100, thereby realizing bidirectional charging of the first transmission module 100 simply and efficiently; Also, the logic control module 200 outputs different current detection signals to the main control module 300 according to whether the first transmission module 100 is connected to the external power supply 30 or the power adapter 20, and the main control module 300 outputs a different current detection signal to the main control module 300 according to the current detection signal, when the first transmission module 100 is connected to the external power supply 30 or the power adapter 20, control the power supply module 400 to configure the corresponding current mode according to different current control information to provide
  • the bidirectional charging circuit further includes a second transmission module 500; the second transmission module 500 is connected with the first transmission module 100, the logic control module 200, the power supply module 400 and the The module 300 is connected; the second transmission module 500 is configured to output the first detection signal output by the logic control module 200 to the main control module 300 .
  • the logic control module 200 outputs the first detection signal to the second transmission module 500, and the second transmission module 500 transmits the first detection signal to the main control module 300, so that the main control module 300 performs the next step;
  • the second transmission module 500 is mainly used to transmit the first detection signal to the main control module 300, so as to notify the main control module 300 that there is an external electronic device 40 access.
  • the bidirectional charging circuit further includes an interface module 600, the interface module 600 is connected with the first transmission module 100, the power supply module 400 and the logic control module 200, and the interface module 600 is used to connect The first current detection signal and the second current detection signal output by the logic control module 200 are output to the main control module 300 .
  • the logic control module 200 when the first transmission module 100 is connected to the external power supply 30, firstly, the logic control module 200 outputs a first current detection signal to the interface module 600, and secondly, the interface module 600 sends the first The current detection signal is transmitted to the main control module 300, and then, the main control module 300 outputs a first current control signal to the power module 400 according to the first current detection signal, and finally, the power module 400 A current control information is configured for the first current mode to provide electric energy for itself.
  • the logic control module 200 When the first transmission module 100 is connected to the power adapter 20, first, the logic control module 200 outputs the second current detection signal to the interface module 600, and secondly, the interface module 600 outputs the second current detection signal Then, the main control module 300 outputs a second current control signal to the power module 400 according to the second current detection signal, and finally, the power module 400 controls the current according to the second current
  • the information is configured such that the second current mode provides power for itself.
  • the interface module 600 outputs the first current detection signal and the second current detection signal to the main control module 300 to notify the main control module 300 that an external power supply 30 or a power adapter 20 is connected.
  • the first transmission module 100 includes a detection unit 110 and a voltage transformation unit 120; the detection unit 110 is connected to the voltage transformation unit 120 and the logic control module 200; The detection unit 110 is used for outputting a first access signal to the logic control module 200 when the external electronic device 40 is connected, and outputting a second access signal to the logic control module 200 when the power adapter 20 is connected.
  • Main control module 300 Main control module 300.
  • the detection unit 110 when the detection unit 110 is connected to the external electronic device 40, the detection unit 110 outputs the first access signal to the logic control module 200, so that the logic control module 200 performs the next operation; similarly, when the detection unit 110 When the power adapter 20 is connected, the detection unit 110 outputs a second access signal to the main control module 300 so that the main control module 300 can perform the next operation.
  • the detection unit 110 is used to output different access signals when it is detected that the external electronic device 40 or the power adapter 20 is connected to it, so as to effectively generate a circuit-connected external electronic device 40 or the power adapter 20 that matches the circuit. access signal.
  • the logic control module 200 includes a control unit 210 and a pull-up unit 220;
  • the pull-up unit 220 is connected; the pull-up unit 220 is also connected to the second transmission module 500 and the power supply module 400; the control unit 210 is configured to output the first detection signal according to the first access signal The signal is sent to the main control module 300; the pull-up unit 220 is used to provide the control unit 210 with a second detection signal.
  • the detection unit 110 when the detection unit 110 is connected to the external electronic device 40, the detection unit 110 outputs the first access signal to the control unit 210, and the control unit 210 controls the pull-up unit 220 to output the first access signal according to the first access signal.
  • a detection signal is sent to the second transmission module 500, and the second transmission module 500 transmits the first detection signal to the main control module 300, and the main control module 300 outputs according to the first detection signal.
  • the first control information is sent to the power supply module 400, and the power supply module 400 provides electric energy for the external electronic device 40 through the first transmission module 100 according to the first control information; through the control unit 210 according to the first access signal
  • the pull-up unit 220 outputs the first detection signal to the second transmission module 500, thereby effectively converting the first access signal into a first detection signal that can be transmitted by the second transmission module 500, that is, to connect the external electronic device 40
  • the information is converted into a low-level signal that can be transmitted by the USB interface.
  • the main control module 300 includes a main control chip; the main control chip is connected to the detection unit 110 for controlling the power supply module 400 according to the first detection signal output by the detection unit 110 Provide electric energy for the external electronic device 40 via the first transmission module 100, or for generating a second detection signal according to the second access signal output by the detection unit 110, and then generate a second detection signal according to the second detection
  • the signal controls the power module 400 to receive the electric energy input by the power adapter 20 through the first transmission module 100, and the main control chip is also used to control the configuration of the power module 400 according to the first current detection signal. Provide electric energy for itself in the first current mode, or control the power module 400 to be configured to provide electric energy for itself in the second current mode according to the second current detection signal.
  • the main control chip when the second transmission module 500 transmits the first detection signal to the main control chip, the main control chip outputs first control information to the power supply module 400 according to the first detection signal, so The power supply module 400 provides power to the external electronic device 40 through the first transmission module 100 according to the first control information.
  • the main control chip When the control unit 210 outputs the first current detection signal to the main control chip, the main control chip outputs the first current control information to the power module 400 according to the first current detection signal, and the power module 400 according to the first current detection signal A current control information is configured for the first current mode to provide electric energy for itself.
  • the detection unit 110 When the detection unit 110 is connected to the power adapter 20, the detection unit 110 outputs a second access signal to the main control chip, and the main control chip generates a second detection signal according to the second access signal, and then according to the first The second detection signal outputs a second control signal to the power module 400 , and the power module 400 receives the electric energy input by the power adapter 20 through the first transmission module 100 according to the second control information.
  • the main control chip controls the power adapter 20 to supply power to the power module 400 through the first transmission module 100, or controls the power module 400 to supply power to the external electronic device 40 through the first transmission module 100. Charging, thereby effectively realizing the bidirectional charging of the first transmission module 100 .
  • the main control chip is RK3229 chip, which is a high-performance quad-core application processor, mainly used in smart TV boxes.
  • the power module 400 includes a power control unit and a battery pack; the power control unit is connected to the main control module 300, the first transmission module 100 and the battery pack; the battery control unit 210 is used to Control the battery pack to provide reverse current according to the first control information, and control the battery pack to receive charging current to charge the battery pack itself according to the second control information; the battery pack is used to provide current to the external electronic device 40 Or receive the current of the power adapter 20 .
  • the power control unit controls the battery pack to pass through the first transmission module 100 according to the first control information.
  • the external electronic device 40 provides electric energy.
  • the power control unit When the main control chip generates a second detection signal according to the second access signal, and then outputs a second control signal to the power control unit according to the second detection signal, the power control unit The battery pack is controlled to receive the electric energy input by the power adapter 20 via the first transmission module 100 .
  • the power control unit When the main control chip outputs first current control information to the power control unit according to the first current detection signal, the power control unit is configured to provide the battery pack with the first current mode according to the first current control information. electrical energy.
  • the power control unit When the main control module 300 outputs a second current control signal to the power control unit according to the second current detection signal, the power control unit is configured to provide electric energy for the battery pack in the second current mode according to the second current control information .
  • the power supply control unit correspondingly controls whether the battery pack charges itself or reversely supplies power, thereby effectively controlling the charging and discharging state of the battery pack according to different control information. Moreover, the power supply control unit correspondingly controls the battery pack to match different charging current modes according to different current control information, thereby effectively realizing the control of the charging current mode of the battery pack according to different current control information.
  • the power control unit is RK816 chip, which is a kind of power management chip, mainly used in conjunction with RK3229 chip.
  • the detection unit 110 includes a first interface J1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first electrostatic tube D1, a second Two electrostatic tubes D2, the third electrostatic tube D3, the fourth electrostatic tube D4, the fifth electrostatic tube D5, the transient diode TVS, the first capacitor C1, the second capacitor C2 and the third capacitor C3; the first electrostatic tube D1 One end of the first interface J1 is connected to the A8 signal port, one end of the second electrostatic tube D2 and one end of the first resistor R1 are both connected to the A5 signal end of the first interface J1, and the third One end of the electrostatic tube D3 and one end of the second resistor R2 are both connected to the B5 signal end of the first interface J1, and both the A5 signal end and the B5 signal end of the first interface J1 are also connected to the logic control module 200 , the other end of the first electrostatic tube D
  • the first interface J1 passes the A5 signal of the first interface J1
  • the terminal and the B5 signal terminal output the first access signal to the control unit 210, so that the control unit 210 can perform the next operation.
  • the control unit 210 When the A5 signal terminal and B5 signal terminal of the first interface J1 are connected to the external power supply 30, the control unit 210 outputs the first current detection signal to the interface module 600, and the interface module 600 outputs the first current detection signal It is transmitted to the main control chip, so that the main control chip can perform the next operation.
  • the first interface J1 When the A5 signal terminal and B5 signal terminal of the first interface J1 are connected to the power adapter 20, the first interface J1 outputs the second detection signal and the At the same time, the control unit 210 outputs the second current detection signal to the interface module 600, and the interface module 600 transmits the second current detection signal to the main control chip, so that the main control chip Proceed to the next step; wherein, the first interface J1 is a Type-C interface.
  • the transient diode TVS is used to reduce various surge pulses;
  • the electrostatic tube is used to weaken the influence of ESD (Electro-Static discharge: electrostatic discharge).
  • the transformation unit 120 includes a fifth resistor R5, a sixth resistor R6 and a transformer; the first pin of the transformer is connected to one end of the sixth resistor R6, and the fourth pin of the transformer The other end of the sixth resistor R6 is connected to the second transmission module 500, the second pin of the transformer is connected to one end of the fifth resistor R5 and the second transmission module 500, and the transformer The third pin is connected to the other end of the fifth resistor R5.
  • the control unit 210 includes a logic control chip U1, a seventh resistor R7, an eighth resistor R8, and a fourth capacitor C4, and the first pin and the second pin of the logic control chip U1 are both Connected to the first transmission module 100, the 7th pin, 8th pin, 9th pin and 11th pin of the logic control chip U1 are all connected to the pull-up unit 220, the 1st pin of the logic control chip U1 Pin 9 is also connected to the second transmission module 500 and the pull-up unit 220; one end of the seventh resistor R7 is connected to the sixth pin of the logic control chip U1 and one end of the fourth capacitor C4, The other end of the seventh resistor R7 and the 12th pin of the logic control chip U1 are connected to the power supply; the eighth resistor R8 is connected to the 5th pin and the 12th pin of the logic control chip U1, and the The 12th pin of the logic control chip U1 is also connected to the power supply.
  • the first interface J1 when the first interface J1 is connected to the external electronic device 40, the first interface J1 outputs a first access signal to the logic control chip U1, and the logic control chip U1 controls the pull-up signal according to the first access signal.
  • the unit 220 outputs the first detection signal to the second transmission module 500 via the 9th pin of the logic control chip U1 (OTG_ID port in this embodiment), so that the second transmission module 500 can perform the next operation.
  • pins 7 and 8 of the logic control chip U1 When the first interface J1 is connected to the external power supply 30, pins 7 and 8 of the logic control chip U1 output a first current detection signal to the interface module 600, so that the interface module 600 can perform the next operation.
  • the 7th and 8th pins of the logic control chip U1 output a second current detection signal to the interface module 600, so that the interface module 600 can proceed to the next step. operate.
  • the pull-up unit 220 includes a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11 and a twelfth resistor R12, one end of the ninth resistor R9, one end of the tenth resistor R10 , one end of the eleventh resistor R11 and one end of the twelfth resistor R12 are both connected to the power module 400, the other end of the ninth resistor R9, the other end of the tenth resistor R10, the second The other end of the eleventh resistor R11 and the other end of the twelfth resistor R12 are both connected to the second transmission module 500 .
  • the second transmission module 500 includes a second interface J2, a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15, a fifth capacitor C5, a sixth capacitor C6 and a Seventh capacitor C7; one end of the thirteenth resistor R13 is connected to the V11 signal end of the second interface J2, one end of the fourteenth resistor R14 is connected to the V10 signal end of the second interface J2, and the One end of the fifth capacitor C5 is connected to the T10 signal end of the second interface J2 and the power module 400, the other end of the thirteenth resistor R13, the other end of the fourteenth resistor R14 are connected to the fifth capacitor The other ends of C5 are both grounded; one end of the fifteenth resistor R15 is connected to one end of the sixth capacitor C6 and the T11 signal end of the second interface J2, and the other end of the fifteenth resistor R15 is connected to the T11 signal end of the second interface J2. One end of the seventh capacitor C7 is connected to
  • the logic control chip U1 controls the pull-up unit 220 to output the first detection signal according to the first access signal
  • the first detection signal is transmitted to the The second interface J2
  • the second interface J2 transmits the first detection signal to the main control chip, so that the main control chip can perform the next operation.
  • the first detection signal output by the logic control chip U1 is effectively and stably transmitted to the main control chip through the second interface J2, thereby notifying the main control chip that an external electronic device 40 is connected; wherein, the second interface J2 is USB interface.
  • the interface module 600 includes a third interface J3, a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor, a nineteenth resistor, a twentieth resistor R20, an eighth capacitor C8, the ninth capacitor C9, the tenth capacitor C10, the sixth electrostatic tube D6 and the first switch S1; the N20 signal end of the third interface J3 is connected to one end of the eighth capacitor C8, and the third interface J3
  • the U10 signal end of the U10 is connected to one end of the ninth capacitor C9, one end of the sixteenth resistor R16, one end of the seventeenth resistor R17 and the first transmission module 100, and the third interface J3
  • the G14 signal terminal and one end of the tenth capacitor C10 are both connected to the power module 400, the K19 signal terminal of the third interface J3 is connected to one end of the eighteenth resistor, and the L20 signal terminal of the third interface J3 connected to one end of the nineteenth resistor, the H16 signal end of the third
  • the logic control chip U1 when the first interface J1 is connected to the external power supply 30, the logic control chip U1 outputs the first current detection signal to the third interface J3, and the third interface J3 transmits the first current detection signal to the the main control chip, so that the main control chip can perform the next operation.
  • the logic control chip U1 When the first interface J1 is connected to the power adapter 20, the logic control chip U1 outputs the second current detection signal to the third interface J3, and the third interface J3 transmits the second current detection signal to the main control chip, so that the main control chip can perform the next operation.
  • the different detection signals output by the logic control chip U1 are effectively and stably transmitted to the main control chip, thereby notifying the first interface J1 that different charging devices are connected; wherein, the third interface J3 is GPIO interface.
  • the Type-C interface When the TYPE_CC1 and TYPE_CC2 ports of the Type-C interface are connected to the external electronic device 40, first, the Type-C interface outputs the first access signal to the logic control chip through the first pin and the second pin of the logic control chip U1 U1, the logic control chip U1 outputs a low-level signal to the USB interface through the OTG_ID port of the logic control chip U1 according to the first access signal, and secondly, the USB interface transmits the low-level signal to Main control chip, the main control chip outputs DFP mode information to the power control unit according to the low-level signal, and finally, the power control unit controls the battery pack through the Type-C interface according to the DFP mode information providing electric energy for the external electronic device 40;
  • the Type-C interface When the TYPE_CC1 and TYPE_CC2 ports of the Type-C interface are connected to the power adapter 20, first, the Type-C interface outputs a second access signal to the main control chip, and the main control chip generates a high Level signal, and then output UFP mode information to the power control unit according to the high level signal, and finally, the power control unit controls the battery pack to receive the power input from the power adapter 20 through the Type-C interface according to the UFP mode information electrical energy.
  • the logic control chip U1 when the Type-C interface is connected to an external electronic device 40, the logic control chip U1 outputs a low-level signal and transmits it to the main control chip through the USB interface to notify the main control chip that an external electronic device 40 is connected, and the main control chip outputs DFP mode Information to the power control unit, at this time, the power control unit controls the battery pack to provide power for the external electronic device 40 through the Type-C interface; when the Type-C interface is connected to the power adapter 20, the main control chip outputs UFP The mode information is sent to the power control unit. At this time, the power control unit controls the battery pack to receive the electric energy input by the power adapter 20 through the Type-C interface.
  • the logic control chip U1 When the TYPE_CC1 and TYPE_CC2 ports of the Type-C interface are connected to the external power supply 30, first, the logic control chip U1 outputs a small current signal to the GPIO interface, and the GPIO interface transmits the small current signal to the main control chip, secondly, the main control chip outputs a low current mode signal to the power control unit according to the small current signal, and finally, the power control unit is configured to receive the external power supply 30 in a low current mode according to the low current mode signal Provides power to the battery pack.
  • the logic control chip U1 When the TYPE_CC1 and TYPE_CC2 ports of the Type-C interface are connected to the power adapter 20, first, the logic control chip U1 outputs a high-current signal to the GPIO interface, and the GPIO interface transmits the high-current signal to the main control Chip, secondly, if it is connected to a low-power power adapter 20, the main control chip outputs a medium current mode signal to the power control unit according to the high-current signal; if it is connected to a high-power power adapter 20, the The main control chip outputs a high current mode signal to the power control unit according to the high current signal; finally, the power control unit is configured as a medium current mode or a high current mode according to the medium current mode signal or the high current mode signal Mode reception
  • the power adapter 20 provides power for the battery pack.
  • the logic control chip U1 when the Type-C interface is connected to the external power supply 30, the logic control chip U1 outputs a small current signal and transmits it to the main control chip through the GPIO interface, and the main control chip outputs a low current mode signal to the power control chip according to the small current signal. unit, at this time, the power control unit is configured to receive the external power supply 30 in low current mode according to the low current mode signal to provide electric energy for the battery pack.
  • the logic control chip U1 When the Type-C interface is connected to the power adapter 20, the logic control chip U1 outputs a large current signal and transmits it to the main control chip through the GPIO interface. At this time, the main control chip will give priority to judging the power of the power adapter 20.
  • the medium current mode signal is sent to the power control unit, and the power control unit is configured according to the medium current mode signal to receive the external power supply 30 in the medium current mode to provide electric energy for the battery pack; if it is high-power, then output the high current mode signal to the power control unit, The power control unit is configured to receive the external power supply 30 in high current mode according to the high current mode signal to provide electric energy for the battery pack;
  • the present disclosure also provides a bidirectional charging device, including a PCB board, on which the bidirectional charging circuit 10 as described above is provided. Since the circuit has been described in detail above, details will not be repeated here. .
  • the present disclosure provides a bidirectional charging circuit and device.
  • the bidirectional charging circuit includes a first transmission module, a main control module, a power supply module, and a logic control module; the logic control module is used to detect that the first transmission module Output the first detection signal to the main control module when the external electronic device is connected; the first transmission module is used to connect the external electronic device or power adapter, and output the second detection signal to the main control module when it is detected that the power adapter is connected ;
  • the main control module is used to output the first control signal to the power module according to the first detection signal, or output the second control signal to the power module according to the second detection signal;
  • the external electronic equipment provides electric energy, or receives the electric energy input by the power adapter through the first transmission module according to the second control signal to provide electric energy to the main control module; the present disclosure reduces the waste of resources by adding the first transmission module to bidirectionally charge the power supply module.

Abstract

The present disclosure relates to a bidirectional charging circuit and apparatus. The bidirectional charging circuit comprises a first transmission module, a main control module, a power source module, and a logic control module, wherein the logic control module is used for outputting a first detection signal to the main control module when it is detected that the first transmission module is connected to an external electronic device; the first transmission module is used for being connected to the external electronic device or a power adapter, and outputting a second detection signal to the main control module when it is detected that the first transmission module is connected to the power adapter; the main control module is used for outputting a first control signal to the power source module according to the first detection signal, or outputting a second control signal to the power source module according to the second detection signal; and the power source module is used for supplying electric energy to the external electronic device via the first transmission module according to the first control signal, or for receiving, according to the second control signal, electric energy input by the power adapter via the first transmission module so as to supply electric energy to the main control module. In the present disclosure, a first transmission module is added to perform bidirectional charging on a power source module, thereby reducing resource waste.

Description

一种双向充电电路和装置A bidirectional charging circuit and device
优先权priority
所述PCT专利申请要求申请日为2021年8月12日,申请号为202110926408.1的中国专利优先权,本专利申请结合了上述专利的技术方案。The PCT patent application claims the priority of a Chinese patent with an application date of August 12, 2021 and an application number of 202110926408.1. This patent application combines the technical solutions of the above patents.
技术领域technical field
本公开涉及电子电路技术领域,特别涉及一种双向充电电路和装置。The disclosure relates to the technical field of electronic circuits, in particular to a bidirectional charging circuit and device.
背景技术Background technique
基于RK3229+RK816的AR Glass主机上,现有技术只支持USB Micro-B接口的的双向充电,不支持Type-C接口的双向充电,为了改进上述问题,其他功能强大的平台上采用取消Micro-B接口,转而只支持Type-C接口的技术方案,但这样导致了平台升级费用的增加和资源的浪费。On the AR Glass host based on RK3229+RK816, the existing technology only supports the bidirectional charging of the USB Micro-B interface, and does not support the bidirectional charging of the Type-C interface. In order to improve the above problems, other powerful platforms adopt the cancellation of Micro- B interface, instead only supports the technical solution of Type-C interface, but this leads to an increase in platform upgrade costs and a waste of resources.
因而现有技术还有待改进和提高。Thereby prior art still needs to improve and improve.
公开内容public content
鉴于上述现有技术的不足之处,本公开的目的在于提供一种双向充电电路和装置,通过在原有的AR主机上加入Type-C接口,并且可以实现双向充电,从而有效地减少了资源浪费和平台升级费用。In view of the shortcomings of the above-mentioned prior art, the purpose of the present disclosure is to provide a bidirectional charging circuit and device, which can realize bidirectional charging by adding a Type-C interface to the original AR host, thereby effectively reducing the waste of resources and platform upgrade fees.
为了达到上述目的,本公开采取了以下技术方案:In order to achieve the above object, the present disclosure adopts the following technical solutions:
本公开第一方面涉及一种双向充电电路,与电源适配器、外部电源或外部电子设备连接,所述双向充电电路包括第一传输模块、主控模块、电源模块、逻辑控制模块、第二传输模块和接口模块;The first aspect of the present disclosure relates to a bidirectional charging circuit, which is connected to a power adapter, an external power supply or an external electronic device, and the bidirectional charging circuit includes a first transmission module, a main control module, a power supply module, a logic control module, and a second transmission module and interface modules;
所述主控模块分别与所述第一传输模块和所述电源模块连接,所述逻辑控制模块还与所述电源模块连接,所述第一传输模块还与所述逻辑控制模块和所述电源模块连接;The main control module is respectively connected to the first transmission module and the power supply module, the logic control module is also connected to the power supply module, and the first transmission module is also connected to the logic control module and the power supply module module connection;
所述逻辑控制模块用于检测到所述第一传输模块连接的是外部电子设备时输出第一检测信号至所述主控模块;The logic control module is configured to output a first detection signal to the main control module when detecting that the first transmission module is connected to an external electronic device;
所述第一传输模块用于连接外部电子设备或电源适配器,并在检测到连接的是电源适配器时输出第二检测信号至所述主控模块;The first transmission module is used to connect an external electronic device or a power adapter, and output a second detection signal to the main control module when it is detected that the power adapter is connected;
所述主控模块用于根据所述第一检测信号输出第一控制信号至所述电源模块,或根据所述第二检测信号输出第二控制信号至所述电源模块;The main control module is configured to output a first control signal to the power module according to the first detection signal, or output a second control signal to the power module according to the second detection signal;
所述电源模块用于根据所述第一控制信号经所述第一传输模块为所述外部电子设备提供电能,或根据所述第二控制信号接收所述电源适配器经所述第一传输模块输入的电能;The power supply module is used to provide electric energy for the external electronic device through the first transmission module according to the first control signal, or receive input from the power adapter through the first transmission module according to the second control signal electric energy;
第二传输模块;所述第二传输模块分别与所述第一传输模块、所述逻辑控制模块和所述主控模块连接;所述第二传输模块用于将所述逻辑控制模块输出的所述第一检测信号输出至所述主控模块;The second transmission module; the second transmission module is respectively connected with the first transmission module, the logic control module and the main control module; the second transmission module is used for all the output of the logic control module The first detection signal is output to the main control module;
接口模块,所述接口模块与所述第一传输模块、所述电源模块和所述逻辑控制模块连接,所述接口模块用于将所述逻辑控制模块输出的所述第一电流检测信号和所述第二电流检测信号输出至所述主控模块。an interface module, the interface module is connected to the first transmission module, the power supply module and the logic control module, and the interface module is used to output the first current detection signal output by the logic control module and the The second current detection signal is output to the main control module.
所述的双向充电电路中,所述第一传输模块包括检测单元和变压单元;所述检测单元与所述变压单元和所述逻辑控制模块连接;所述检测单元用于当检测到所述外部电子设备接入时,输出第一接入信号给所述逻辑控制模块,当所述电源适配器接入时,输出第二接入信号给所述主控模块。In the bidirectional charging circuit, the first transmission module includes a detection unit and a voltage transformation unit; the detection unit is connected to the voltage transformation unit and the logic control module; the detection unit is used for detecting the When the external electronic device is connected, output a first access signal to the logic control module, and when the power adapter is connected, output a second access signal to the main control module.
所述的双向充电电路中,所述逻辑控制模块包括控制单元和上拉单元;所述控制单元与所述第一传输模块和所述上拉单元连接;所述上拉单元还与电源模块连接;所述控制单元用于根据所述第一接入信号输出所述第一检测信号至所述主控模块;所述上拉单元用于为所述控制单元提供高电平信号。In the bidirectional charging circuit, the logic control module includes a control unit and a pull-up unit; the control unit is connected to the first transmission module and the pull-up unit; the pull-up unit is also connected to a power module ; the control unit is used to output the first detection signal to the main control module according to the first access signal; the pull-up unit is used to provide a high level signal for the control unit.
所述的双向充电电路中,所述主控模块包括主控芯片;所述主控芯片与所述检测单元连接,用于根据所述检测单元输出的所述第一检测信号,控制所述电源模块经所述第一传输模块为所述外部电子设备提供电能,或用于先根据所述检测单元输出的所述第二 接入信号生成第二检测信号,再根据所述第二检测信号控制所述电源模块接收所述电源适配器经所述第一传输模块输入的电能。In the bidirectional charging circuit, the main control module includes a main control chip; the main control chip is connected to the detection unit, and is used to control the power supply according to the first detection signal output by the detection unit The module provides electric energy for the external electronic equipment through the first transmission module, or is used to first generate a second detection signal according to the second access signal output by the detection unit, and then control according to the second detection signal The power module receives the electric energy input by the power adapter through the first transmission module.
所述的双向充电电路中,所述电源模块包括电源控制单元和电池组;所述电源控制单元与所述主控模块、所述第一传输模块和所述电池组连接;所述电池控制单元用于根据所述第一控制信息控制电池组反向提供电流,以及根据所述第二控制信息控制电池组接收充电电流给电池组自身进行充电;所述电池组用于提供电流给外部电子设备或接收电源适配器的电流。In the bidirectional charging circuit, the power module includes a power control unit and a battery pack; the power control unit is connected to the main control module, the first transmission module and the battery pack; the battery control unit It is used to control the battery pack to provide reverse current according to the first control information, and to control the battery pack to receive charging current to charge the battery pack itself according to the second control information; the battery pack is used to provide current to external electronic equipment Or receive current from the power adapter.
本公开第二方面涉及一种双向充电电路,与电源适配器或外部电子设备连接,所述双向充电电路包括第一传输模块、主控模块、电源模块和逻辑控制模块;所述主控模块分别与所述第一传输模块和所述电源模块连接,所述逻辑控制模块还与所述电源模块连接,所述第一传输模块还与所述逻辑控制模块和所述电源模块连接;所述逻辑控制模块用于检测到所述第一传输模块连接的是外部电子设备时输出第一检测信号至所述主控模块;所述第一传输模块用于连接外部电子设备或电源适配器,并在检测到连接的是电源适配器时输出第二检测信号至所述主控模块;所述主控模块用于根据所述第一检测信号输出第一控制信号至所述电源模块,或根据所述第二检测信号输出第二控制信号至所述电源模块;所述电源模块用于根据所述第一控制信号经所述第一传输模块为所述外部电子设备提供电能,或根据所述第二控制信号接收所述电源适配器经所述第一传输模块输入的电能。The second aspect of the present disclosure relates to a bidirectional charging circuit, which is connected to a power adapter or an external electronic device. The bidirectional charging circuit includes a first transmission module, a main control module, a power supply module and a logic control module; The first transmission module is connected to the power module, the logic control module is also connected to the power module, and the first transmission module is also connected to the logic control module and the power module; the logic control The module is used to output a first detection signal to the main control module when it detects that the first transmission module is connected to an external electronic device; the first transmission module is used to connect an external electronic device or a power adapter, and when it detects output a second detection signal to the main control module when the power adapter is connected; the main control module is used to output a first control signal to the power supply module according to the first detection signal, or The signal outputs a second control signal to the power module; the power module is used to provide power for the external electronic device through the first transmission module according to the first control signal, or receive power according to the second control signal The power input by the power adapter via the first transmission module.
所述双向充电电路还包括第二传输模块;所述第二传输模块分别与所述第一传输模块、所述逻辑控制模块和所述主控模块连接;所述第二传输模块用于将所述逻辑控制模块输出的所述第一检测信号输出至所述主控模块。The bidirectional charging circuit also includes a second transmission module; the second transmission module is respectively connected to the first transmission module, the logic control module and the main control module; the second transmission module is used to transfer the The first detection signal output by the logic control module is output to the main control module.
所述双向充电电路中,所述第一传输模块包括检测单元和变压单元;所述检测单元与所述变压单元和所述逻辑控制模块连接;所述检测单元用于当所述外部电子设备接入时,输出第一接入信号给所述逻辑控制模块,当所述电源适配器接入时,输出第二接入信号给所述主控模块。In the bidirectional charging circuit, the first transmission module includes a detection unit and a voltage transformation unit; the detection unit is connected to the voltage transformation unit and the logic control module; the detection unit is used for when the external electronic When the device is connected, a first connection signal is output to the logic control module, and when the power adapter is connected, a second connection signal is output to the main control module.
所述双向充电电路中,所述逻辑控制模块包括控制单元和上拉单元;所述控制单元 与所述第一传输模块和所述上拉单元连接;所述上拉单元还与电源模块连接;所述控制单元用于根据所述第一接入信号输出所述第一检测信号至所述主控模块;所述上拉单元用于为所述控制单元提供高电平信号。In the bidirectional charging circuit, the logic control module includes a control unit and a pull-up unit; the control unit is connected to the first transmission module and the pull-up unit; the pull-up unit is also connected to a power module; The control unit is used to output the first detection signal to the main control module according to the first access signal; the pull-up unit is used to provide a high level signal for the control unit.
所述双向充电电路中,所述主控模块包括主控芯片;所述主控芯片与所述检测单元连接,用于根据所述检测单元输出的所述第一检测信号,控制所述电源模块经所述第一传输模块为所述外部电子设备提供电能,或用于先根据所述检测单元输出的所述第二接入信号生成第二检测信号,再根据所述第二检测信号控制所述电源模块接收所述电源适配器经所述第一传输模块输入的电能。In the bidirectional charging circuit, the main control module includes a main control chip; the main control chip is connected to the detection unit, and is used to control the power module according to the first detection signal output by the detection unit Providing electric energy to the external electronic equipment through the first transmission module, or generating a second detection signal according to the second access signal output by the detection unit, and then controlling the external electronic device according to the second detection signal The power supply module receives the electric energy input by the power adapter through the first transmission module.
所述双向充电电路中,所述检测单元包括第一接口、第一电阻、第二电阻、第三电阻、第四电阻、第一静电管、第二静电管、第三静电管、第四静电管、第五静电管、瞬态二极管、第一电容、第二电容和第三电容;所述第一静电管的一端和所述第一接口的A8信号端口连接,所述第二静电管的一端和所述第一电阻的一端均与所述第一接口的A5信号端,所述第三静电管的一端和第二电阻的一端均与所述第一接口的B5信号端连接,所述第一接口的A5信号端和B5信号端还均与所述逻辑控制模块连接,所述第一静电管的另一端、所述第二静电管的另一端、所述第三静电管的另一端、所述第一电阻的另一端和第二电阻的另一端均接地;所述第四静电管的一端与所述第一接口的A6和B6信号端连接,所述第一接口的A6和B6信号端还与所述变压单元连接,所述第四静电管的另一端接地;所述第五静电管的一端与所述第一接口的A7和B7信号端连接,所述第一接口的A7和B7信号端还与所述变压单元连接,所述第五静电管的另一端接地;所述第一电容的一端、所述第二电容的一端、所述瞬态二极管的一端和所述第三电阻的一端均与所述第一接口的A9信号端连接,所述第一接口的A9信号端还与电源连接,所述第三电阻的另一端与所述第四电阻的一端、第三电容的一端和所述第二传输模块连接,所述第一电容的另一端、所述第二电容的另一端、所述瞬态二极管的另一端、所述第四电阻的另一端和所述第三电容的另一端均接地。In the bidirectional charging circuit, the detection unit includes a first interface, a first resistor, a second resistor, a third resistor, a fourth resistor, a first electrostatic tube, a second electrostatic tube, a third electrostatic tube, and a fourth electrostatic tube. tube, a fifth electrostatic tube, a transient diode, a first capacitor, a second capacitor, and a third capacitor; one end of the first electrostatic tube is connected to the A8 signal port of the first interface, and the second electrostatic tube One end and one end of the first resistor are both connected to the A5 signal end of the first interface, one end of the third electrostatic tube and one end of the second resistor are both connected to the B5 signal end of the first interface, and the The A5 signal end and the B5 signal end of the first interface are also connected to the logic control module, the other end of the first electrostatic tube, the other end of the second electrostatic tube, and the other end of the third electrostatic tube , the other end of the first resistor and the other end of the second resistor are both grounded; one end of the fourth electrostatic tube is connected to the A6 and B6 signal ends of the first interface, and the A6 and B6 of the first interface The signal end is also connected to the transformation unit, the other end of the fourth electrostatic tube is grounded; one end of the fifth electrostatic tube is connected to the A7 and B7 signal ends of the first interface, and the first interface's A7 and B7 signal terminals are also connected to the transformation unit, the other end of the fifth electrostatic tube is grounded; one end of the first capacitor, one end of the second capacitor, one end of the transient diode and the One end of the third resistor is connected to the A9 signal end of the first interface, the A9 signal end of the first interface is also connected to the power supply, the other end of the third resistor is connected to one end of the fourth resistor, One end of the third capacitor is connected to the second transmission module, the other end of the first capacitor, the other end of the second capacitor, the other end of the transient diode, the other end of the fourth resistor and The other ends of the third capacitor are grounded.
所述双向充电电路中,所述变压单元包括第五电阻、第六电阻和变压器;所述变压器的第1引脚与所述第六电阻的一端连接,所述变压器的第4引脚与所述第六电阻的另 一端和所述第二传输模块连接,所述变压器的第2引脚与所述第五电阻的一端和所述第二传输模块连接,所述变压器的第3引脚与所述第五电阻的另一端连接。In the bidirectional charging circuit, the voltage transformation unit includes a fifth resistor, a sixth resistor and a transformer; the first pin of the transformer is connected to one end of the sixth resistor, and the fourth pin of the transformer is connected to one end of the sixth resistor. The other end of the sixth resistor is connected to the second transmission module, the second pin of the transformer is connected to one end of the fifth resistor and the second transmission module, and the third pin of the transformer Connect with the other end of the fifth resistor.
所述双向充电电路中,所述控制单元包括逻辑控制芯片、第七电阻、第八电阻和第四电容,所述逻辑控制芯片的第1脚和第2脚均与所述第一传输模块连接,所述逻辑控制芯片的第7脚、第8脚、第9脚和第11脚均与所述上拉单元连接,所述逻辑控制芯片的第9脚还与所述第二传输模块和所述上拉单元连接;所述第七电阻的一端与所述逻辑控制芯片的第6脚和所述第四电容的一端连接,所述第七电阻的另一端和所述逻辑控制芯片的第12脚均与电源连接;所述第八电阻与所述逻辑控制芯片的第5脚和第12脚连接,所述逻辑控制芯片的第12脚还与电源连接。In the bidirectional charging circuit, the control unit includes a logic control chip, a seventh resistor, an eighth resistor, and a fourth capacitor, and the first pin and the second pin of the logic control chip are connected to the first transmission module , the 7th pin, the 8th pin, the 9th pin and the 11th pin of the logic control chip are all connected to the pull-up unit, and the 9th pin of the logic control chip is also connected to the second transmission module and the The pull-up unit is connected; one end of the seventh resistor is connected to the 6th pin of the logic control chip and one end of the fourth capacitor, and the other end of the seventh resistor is connected to the 12th pin of the logic control chip. The pins are all connected to the power supply; the eighth resistor is connected to the 5th pin and the 12th pin of the logic control chip, and the 12th pin of the logic control chip is also connected to the power supply.
所述双向充电电路中,所述上拉单元包括第九电阻、第十电阻、第十一电阻和第十二电阻,所述第九电阻的一端、所述第十电阻的一端、所述第十一电阻的一端和所述第十二电阻的一端均与电源口连接,所述第九电阻的另一端、所述第十电阻的另一端、所述第十一电阻的另一端和所述第十二电阻的另一端则均与所述第二传输模块连接。In the bidirectional charging circuit, the pull-up unit includes a ninth resistor, a tenth resistor, an eleventh resistor, and a twelfth resistor, one end of the ninth resistor, one end of the tenth resistor, the first One end of the eleventh resistor and one end of the twelfth resistor are connected to the power port, the other end of the ninth resistor, the other end of the tenth resistor, the other end of the eleventh resistor and the The other ends of the twelfth resistors are both connected to the second transmission module.
所述的双向充电电路中,所述双向充电电路还包括接口模块,所述接口模块与所述第一传输模块、所述电源模块和所述逻辑控制模块连接,所述接口模块用于将所述逻辑控制模块输出的所述第一电流检测信号和所述第二电流检测信号输出至所述主控模块。In the bidirectional charging circuit, the bidirectional charging circuit further includes an interface module, the interface module is connected with the first transmission module, the power supply module and the logic control module, and the interface module is used to connect the The first current detection signal and the second current detection signal output by the logic control module are output to the main control module.
所述的双向充电电路中,所述电源模块包括电源控制单元和电池组;所述电源控制单元与所述主控模块、所述第一传输模块和所述电池组连接;所述电池控制单元用于根据所述第一控制信息控制电池组反向提供电流,以及根据所述第二控制信息控制电池组接收充电电流给电池组自身进行充电;所述电池组用于提供电流给外部电子设备或接收电源适配器的电流。In the bidirectional charging circuit, the power module includes a power control unit and a battery pack; the power control unit is connected to the main control module, the first transmission module and the battery pack; the battery control unit It is used to control the battery pack to provide reverse current according to the first control information, and to control the battery pack to receive charging current to charge the battery pack itself according to the second control information; the battery pack is used to provide current to external electronic equipment Or receive current from the power adapter.
所述的双向充电电路中,所述电源控制单元为RK816芯片。In the bidirectional charging circuit, the power control unit is an RK816 chip.
所述的双向充电电路中,所述主控芯片为RK3229芯片。In the bidirectional charging circuit, the main control chip is an RK3229 chip.
所述的双向充电电路中,所述第一检测信息为低电平信号,所述第二检测信息为高电平信号;所述第一控制信息为下行端口模式信息或即插即用模式信息;所述第二控制信息为上行端口模式信息。In the bidirectional charging circuit, the first detection information is a low-level signal, and the second detection information is a high-level signal; the first control information is downlink port mode information or plug-and-play mode information ; The second control information is uplink port mode information.
本公开第三方面涉及一种双向充电装置,包括PCB板,所述PCB板上设置有如上所述的双向充电电路。The third aspect of the present disclosure relates to a bidirectional charging device, which includes a PCB board, and the PCB board is provided with the above-mentioned bidirectional charging circuit.
相较于现有技术,本公开提供的一种双向充电电路和装置,双向充电电路包括第一传输模块、主控模块、电源模块和逻辑控制模块;第一传输模块用于连接外部电子设备或电源适配器;逻辑控制模块用于检测到第一传输模块连接的是外部电子设备时输出第一检测信号至主控模块,或检测到第一传输模块连接的是电源适配器时输出第二检测信号至主控模块;主控模块用于根据第一检测信号输出第一控制信号至电源模块,或根据第二检测信号输出第二控制信号至电源模块;电源模块用于根据第一控制信号经第一传输模块为外部电子设备提供电能,或根据第二控制信号接收电源适配器经第一传输模块输入的电能为主控模块提供电能;本公开通过加入第一传输模块给电源模块双向充电,从而减少了资源浪费。Compared with the prior art, the present disclosure provides a bidirectional charging circuit and device. The bidirectional charging circuit includes a first transmission module, a main control module, a power supply module and a logic control module; the first transmission module is used to connect external electronic equipment or Power adapter; the logic control module is used to output the first detection signal to the main control module when it detects that the first transmission module is connected to an external electronic device, or output the second detection signal to the main control module when it detects that the first transmission module is connected to a power adapter The main control module; the main control module is used to output the first control signal to the power module according to the first detection signal, or output the second control signal to the power module according to the second detection signal; the power module is used to output the first control signal to the power module according to the first control signal. The transmission module provides electric energy for external electronic equipment, or receives electric energy input by the power adapter through the first transmission module according to the second control signal to provide electric energy for the main control module; the present disclosure provides bidirectional charging for the power supply module by adding the first transmission module, thereby reducing Waste of resources.
附图说明Description of drawings
图1为本公开提供的双向充电电路的结构框图;FIG. 1 is a structural block diagram of a bidirectional charging circuit provided by the present disclosure;
图2-3为本公开提供的双向充电电路中第一传输模块的电路图;2-3 are circuit diagrams of the first transmission module in the bidirectional charging circuit provided by the present disclosure;
图4为本公开提供的双向充电电路中逻辑控制模块的电路图;FIG. 4 is a circuit diagram of a logic control module in a bidirectional charging circuit provided by the present disclosure;
图5为本公开提供的双向充电电路中第二传输模块的电路图;5 is a circuit diagram of a second transmission module in the bidirectional charging circuit provided by the present disclosure;
图6为本公开提供的双向充电电路中接口模块的电路图。FIG. 6 is a circuit diagram of an interface module in the bidirectional charging circuit provided by the present disclosure.
附图标记:10:双向充电电路;20:电源适配器;30:外部电源;40:外部电子设备;100:第一传输模块;110:检测单元;120:变压单元;200:逻辑控制模块;210:控制单元;220:上拉单元;300:主控模块;400:电源模块;500:第二传输模块;600:接口模块;R1:第一电阻;R2:第二电阻;R3:第三电阻;R4:第四电阻;R5:第五电阻;R6:第六电阻;R7:第七电阻;R8:第八电阻;R9:第九电阻;R10:第十电阻;R11:第十一电阻;R12:第十二电阻;R13:第十三电阻;R14:第十四电阻;R15:第十五电阻;R16:第十六电阻;R17;第十七电阻;R18:第十八电阻;R19:第十九电阻;R20:第二十电阻;D1:第一静电管;D2:第二静电管;D3:第三静电 管;D4:第四静电管;D5:第五静电管;D6:第六静电管;TVS:瞬态二极管;S1:第一开关;C1:第一电容;C2:第二电容;C3:第三电容;C4:第四电容;C5:第五电容;C6:第六电容;C7:第七电容;C8:第八电容;C9:第九电容;C10:第十电容;J1:第一接口;J2:第二接口;J3:第三接口;U1:逻辑控制芯片。Reference signs: 10: bidirectional charging circuit; 20: power adapter; 30: external power supply; 40: external electronic equipment; 100: first transmission module; 110: detection unit; 120: voltage transformation unit; 200: logic control module; 210: control unit; 220: pull-up unit; 300: main control module; 400: power module; 500: second transmission module; 600: interface module; R1: first resistor; R2: second resistor; R3: third Resistor; R4: fourth resistor; R5: fifth resistor; R6: sixth resistor; R7: seventh resistor; R8: eighth resistor; R9: ninth resistor; R10: tenth resistor; R11: eleventh resistor ;R12: the twelfth resistor; R13: the thirteenth resistor; R14: the fourteenth resistor; R15: the fifteenth resistor; R16: the sixteenth resistor; R17; the seventeenth resistor; R18: the eighteenth resistor; R19: the nineteenth resistor; R20: the twentieth resistor; D1: the first electrostatic tube; D2: the second electrostatic tube; D3: the third electrostatic tube; D4: the fourth electrostatic tube; D5: the fifth electrostatic tube; D6 : sixth electrostatic tube; TVS: transient diode; S1: first switch; C1: first capacitor; C2: second capacitor; C3: third capacitor; C4: fourth capacitor; C5: fifth capacitor; C6: Sixth capacitor; C7: seventh capacitor; C8: eighth capacitor; C9: ninth capacitor; C10: tenth capacitor; J1: first interface; J2: second interface; J3: third interface; U1: logic control chip.
具体实施方式Detailed ways
本公开提供的一种双向充电电路和装置,通过在原有的AR主机上加入Type-C接口,并且可以实现双向充电,从而有效地减少了资源浪费和平台升级费用。The bidirectional charging circuit and device provided in the present disclosure can implement bidirectional charging by adding a Type-C interface to the original AR host, thereby effectively reducing resource waste and platform upgrade costs.
为使本公开的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本公开进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本公开,并不用于限定本公开。In order to make the purpose, technical solutions and effects of the present disclosure more clear and definite, the present disclosure will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present disclosure, not to limit the present disclosure.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本公开的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the specification of the present disclosure refers to the presence of the stated features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Additionally, "connected" or "coupled" as used herein may include wireless connection or wireless coupling. The expression "and/or" used herein includes all or any elements and all combinations of one or more associated listed items.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本公开所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this disclosure belongs. It should also be understood that terms, such as those defined in commonly used dictionaries, should be understood to have meanings consistent with their meaning in the context of the prior art, and unless specifically defined as herein, are not intended to be idealized or overly Formal meaning to explain.
下面通过具体示例性的实施例对射频前端电路设计方案进行描述,需要说明的是,下列实施例只用于对公开的技术方案进行解释说明,并不做具体限定:The radio frequency front-end circuit design scheme is described below through specific exemplary embodiments. It should be noted that the following embodiments are only used to explain the disclosed technical solutions and do not specifically limit them:
请参阅图1,本公开提供的一种双向充电电路10,与电源适配器20、外部电源30或外部电子设备40连接,所述双向充电电路包括第一传输模块100、逻辑控制模块200、主控模块300和电源模块400;所述主控模块300分别与所述第一传输模块100和所述电源模块400连接,所述逻辑控制模块200还与所述电源模块400连接,所述第一传输模块100还与所述逻辑控制模块200和所述电源模块400连接;所述逻辑控制模块200用于检测到所述第一传输模块100连接的是外部电子设备40时输出第一检测信号至所述主控模块300,还用于检测到所述第一传输模块100连接的是外部电源30时输出第一电流检测信号至所述主控模块300或检测到所述第一传输模块100连接的是电源适配器20时输出第二电流检测信号至所述主控模块300;所述第一传输模块100用于连接外部电子设备40或电源适配器20,并在检测到连接的是电源适配器20时输出第二检测信号至所述主控模块300;所述主控模块300用于根据所述第一检测信号输出第一控制信号至所述电源模块400,或根据所述第二检测信号输出第二控制信号至所述电源模块400,所述主控模块300还用于根据所述第一电流检测信号输出第一电流控制信号至所述电源模块400或根据所述第二电流检测信号输出第二电流控制信号至所述电源模块400;所述电源模块400用于根据所述第一控制信号经所述第一传输模块100为所述外部电子设备40提供电能,或根据所述第二控制信号接收所述电源适配器20经所述第一传输模块100输入的电能,所述电源模块400还用于根据第一电流控制信息配置为第一电流模式为自身提供电能或根据第二电流控制信息配置为第二电流模式为自身提供电能。Please refer to FIG. 1, a bidirectional charging circuit 10 provided by the present disclosure is connected to a power adapter 20, an external power supply 30 or an external electronic device 40, and the bidirectional charging circuit includes a first transmission module 100, a logic control module 200, a main control module 300 and power module 400; the main control module 300 is connected to the first transmission module 100 and the power module 400 respectively, the logic control module 200 is also connected to the power module 400, and the first transmission The module 100 is also connected to the logic control module 200 and the power supply module 400; the logic control module 200 is used to output a first detection signal to the first transmission module 100 when it detects that the external electronic device 40 is connected. The main control module 300 is further configured to output a first current detection signal to the main control module 300 when detecting that the first transmission module 100 is connected to an external power supply 30 or to detect that the first transmission module 100 is connected output the second current detection signal to the main control module 300 when it is the power adapter 20; The second detection signal is sent to the main control module 300; the main control module 300 is used to output a first control signal to the power module 400 according to the first detection signal, or output a second control signal according to the second detection signal. The control signal is sent to the power module 400, and the main control module 300 is also used to output a first current control signal to the power module 400 according to the first current detection signal or output a second current control signal according to the second current detection signal. The current control signal is sent to the power supply module 400; the power supply module 400 is used to provide electric energy for the external electronic device 40 through the first transmission module 100 according to the first control signal, or to supply power to the external electronic device 40 according to the second control signal Receiving the power inputted by the power adapter 20 through the first transmission module 100, the power module 400 is also configured to provide power for itself in the first current mode according to the first current control information or configured according to the second current control information Powering itself for the second current mode.
其中,所述第一检测信息为低电平信号;所述第二检测信息为高电平信号;所述第一控制信息为DFP(Downstream Facing Port:下行端口)模式信息或OTG(OTG:On-The-Go:即插即用)模式信息;所述第二控制信息为UFP(Upstream Facing Port:上行端口)模式信息;所述第一电流检测信息为小电流信号;所述第二电流信息为大电流信号;所述第一控制信号为低电流模式信号;所述第二控制信号为中电流模式信号或高电流模式信号;所述第一电流模式为低电流模式;所述第二电流模式为中或高电流模式。Wherein, the first detection information is a low-level signal; the second detection information is a high-level signal; the first control information is DFP (Downstream Facing Port: downstream port) mode information or OTG (OTG: On -The-Go: plug and play) mode information; the second control information is UFP (Upstream Facing Port: uplink port) mode information; the first current detection information is a small current signal; the second current information is a large current signal; the first control signal is a low current mode signal; the second control signal is a medium current mode signal or a high current mode signal; the first current mode is a low current mode; the second current mode is medium or high current mode.
具体地,当第一传输模块100连接外部电子设备40时,首先,逻辑控制模块200 输出第一检测信号至主控模块300,其次,所述主控模块300根据所述第一检测信号输出第一控制信息至电源模块400,最后,所述电源模块400根据第一控制信息通过所述第一传输模块100为所述外部电子设备40提供电能。Specifically, when the first transmission module 100 is connected to the external electronic device 40, firstly, the logic control module 200 outputs the first detection signal to the main control module 300, and secondly, the main control module 300 outputs the first detection signal according to the first detection signal. A control message is sent to the power supply module 400, and finally, the power supply module 400 provides electric energy for the external electronic device 40 through the first transmission module 100 according to the first control message.
当所述第一传输模块100连接外部电源30时,所述逻辑控制模块200输出第一电流检测信号至所述主控模块300,所述主控模块300根据所述第一电流检测信号输出第一电流控制信息至电源模块400,所述电源模块400根据第一电流控制信息配置为第一电流模式为自身提供电能。When the first transmission module 100 is connected to the external power supply 30, the logic control module 200 outputs a first current detection signal to the main control module 300, and the main control module 300 outputs the first current detection signal according to the first current detection signal. A current control information is sent to the power module 400, and the power module 400 is configured to provide electric energy for itself in the first current mode according to the first current control information.
当所述第一传输模块100连接电源适配器20时,首先,所述第一传输模块100输出第二检测信号至所述主控模块300,同时,所述逻辑控制模块200输出第二电流检测信号至所述主控模块300;其次,所述主控模块300根据所述第二检测信号输出第二控制信号至所述电源模块400,并根据所述第二电流检测信号输出第二电流控制信号至所述电源模块400,最后,所述电源模块400根据所述第二控制信号接收所述电源适配器20经所述第一传输模块100输入的电能,并根据第二电流控制信息配置为第二电流模式为自身提供电能。When the first transmission module 100 is connected to the power adapter 20, first, the first transmission module 100 outputs a second detection signal to the main control module 300, and at the same time, the logic control module 200 outputs a second current detection signal to the main control module 300; secondly, the main control module 300 outputs a second control signal to the power module 400 according to the second detection signal, and outputs a second current control signal according to the second current detection signal To the power module 400, finally, the power module 400 receives the electric energy input by the power adapter 20 through the first transmission module 100 according to the second control signal, and configures the second current control information according to the second current control information. Current mode supplies power to itself.
本公开中通过所述逻辑控制模块200根据所述第一传输模块100连接的是外部电子设备40或电源适配器20输出不同的电平信号至所述主控模块300,所述主控模块300再根据所述电平信号,在所述第一传输模块100连接到外部电子设备40时,控制所述电源模块400经过所述第一传输模块100为外部电子设备40反向提供电能;并在所述第一传输模块100连接到电源适配器20时,控制所述电源适配器20经过所述第一传输模块100给所述电源模块400充电,从而简单又高效地实现了第一传输模块100双向充电;同样通过所述逻辑控制模块200根据所述第一传输模块100连接的是外部电源30或电源适配器20输出不同的电流检测信号至所述主控模块300,所述主控模块300根据所述电流检测信号,在所述第一传输模块100连接到外部电源30或电源适配器20时,控制所述电源模块400根据不同的电流控制信息配置对应的电流模式为所述电源模块400自身提供电能,从而有效地保障了在对所述电源模块400进行充电时的安全性。In this disclosure, the logic control module 200 outputs different level signals to the main control module 300 according to whether the first transmission module 100 is connected to the external electronic device 40 or the power adapter 20, and the main control module 300 then According to the level signal, when the first transmission module 100 is connected to the external electronic device 40, control the power supply module 400 to reversely provide power for the external electronic device 40 through the first transmission module 100; and When the first transmission module 100 is connected to the power adapter 20, the power adapter 20 is controlled to charge the power module 400 through the first transmission module 100, thereby realizing bidirectional charging of the first transmission module 100 simply and efficiently; Also, the logic control module 200 outputs different current detection signals to the main control module 300 according to whether the first transmission module 100 is connected to the external power supply 30 or the power adapter 20, and the main control module 300 outputs a different current detection signal to the main control module 300 according to the current detection signal, when the first transmission module 100 is connected to the external power supply 30 or the power adapter 20, control the power supply module 400 to configure the corresponding current mode according to different current control information to provide electric energy for the power supply module 400 itself, thereby The safety when charging the power module 400 is effectively ensured.
进一步地,所述双向充电电路还包括第二传输模块500;所述第二传输模块500 分别与所述第一传输模块100、所述逻辑控制模块200、所述电源模块400和所述主控模块300连接;所述第二传输模块500用于将所述逻辑控制模块200输出的所述第一检测信号输出至所述主控模块300。Further, the bidirectional charging circuit further includes a second transmission module 500; the second transmission module 500 is connected with the first transmission module 100, the logic control module 200, the power supply module 400 and the The module 300 is connected; the second transmission module 500 is configured to output the first detection signal output by the logic control module 200 to the main control module 300 .
具体地,当第一传输模块100连接外部电子设备40时,逻辑控制模块200输出第一检测信号至第二传输模块500,所述第二传输模块500再将所述第一检测信号传输至主控模块300,以便所述主控模块300进行下一步操作;所述第二传输模块500主要用于将即第一检测信号传输给主控模块300,以通知主控模块300有外部电子设备40接入。Specifically, when the first transmission module 100 is connected to the external electronic device 40, the logic control module 200 outputs the first detection signal to the second transmission module 500, and the second transmission module 500 transmits the first detection signal to the main control module 300, so that the main control module 300 performs the next step; the second transmission module 500 is mainly used to transmit the first detection signal to the main control module 300, so as to notify the main control module 300 that there is an external electronic device 40 access.
进一步地,所述双向充电电路还包括接口模块600,所述接口模块600与所述第一传输模块100、所述电源模块400和所述逻辑控制模块200连接,所述接口模块600用于将所述逻辑控制模块200输出的所述第一电流检测信号和第二电流检测信号输出至所述主控模块300。Further, the bidirectional charging circuit further includes an interface module 600, the interface module 600 is connected with the first transmission module 100, the power supply module 400 and the logic control module 200, and the interface module 600 is used to connect The first current detection signal and the second current detection signal output by the logic control module 200 are output to the main control module 300 .
具体地,当所述第一传输模块100连接外部电源30时,首先,所述逻辑控制模块200输出第一电流检测信号至所述接口模块600,其次,所述接口模块600将所述第一电流检测信号传输至所述主控模块300,然后,所述主控模块300根据所述第一电流检测信号输出第一电流控制信号至所述电源模块400,最后,所述电源模块400根据第一电流控制信息配置为第一电流模式为自身提供电能。Specifically, when the first transmission module 100 is connected to the external power supply 30, firstly, the logic control module 200 outputs a first current detection signal to the interface module 600, and secondly, the interface module 600 sends the first The current detection signal is transmitted to the main control module 300, and then, the main control module 300 outputs a first current control signal to the power module 400 according to the first current detection signal, and finally, the power module 400 A current control information is configured for the first current mode to provide electric energy for itself.
当所述第一传输模块100连接电源适配器20时,首先,所述逻辑控制模块200输出第二电流检测信号至所述接口模块600,其次,所述接口模块600将所述第二电流检测信号传输至所述主控模块300,然后,所述主控模块300根据所述第二电流检测信号输出第二电流控制信号至所述电源模块400,最后,所述电源模块400根据第二电流控制信息配置为第二电流模式为自身提供电能。When the first transmission module 100 is connected to the power adapter 20, first, the logic control module 200 outputs the second current detection signal to the interface module 600, and secondly, the interface module 600 outputs the second current detection signal Then, the main control module 300 outputs a second current control signal to the power module 400 according to the second current detection signal, and finally, the power module 400 controls the current according to the second current The information is configured such that the second current mode provides power for itself.
通过所述接口模块600将所述第一电流检测信号和第二电流检测信号输出至所述主控模块300,以通知主控模块300有外部电源30或电源适配器20接入。The interface module 600 outputs the first current detection signal and the second current detection signal to the main control module 300 to notify the main control module 300 that an external power supply 30 or a power adapter 20 is connected.
进一步地,请参阅图2和图3,所述第一传输模块100包括检测单元110和变压单元120;所述检测单元110与所述变压单元120和所述逻辑控制模块200连接;所述检测单元110用于当所述外部电子设备40接入时,输出第一接入信号给所述逻辑控制模 块200,当所述电源适配器20接入时,输出第二接入信号给所述主控模块300。Further, please refer to FIG. 2 and FIG. 3 , the first transmission module 100 includes a detection unit 110 and a voltage transformation unit 120; the detection unit 110 is connected to the voltage transformation unit 120 and the logic control module 200; The detection unit 110 is used for outputting a first access signal to the logic control module 200 when the external electronic device 40 is connected, and outputting a second access signal to the logic control module 200 when the power adapter 20 is connected. Main control module 300.
具体地,当检测单元110连接外部电子设备40时,所述检测单元110输出第一接入信号给逻辑控制模块200,以便所述逻辑控制模块200进行下一步操作;同理,当检测单元110连接电源适配器20时,所述检测单元110输出第二接入信号给主控模块300,以便所述主控模块300进行下一步操作。所述检测单元110用于在检测到与其连接的是外部电子设备40或电源适配器20时,对应输出不同的接入信号,从而有效地生成与电路连接的外部电子设备40或电源适配器20相匹配的接入信号。Specifically, when the detection unit 110 is connected to the external electronic device 40, the detection unit 110 outputs the first access signal to the logic control module 200, so that the logic control module 200 performs the next operation; similarly, when the detection unit 110 When the power adapter 20 is connected, the detection unit 110 outputs a second access signal to the main control module 300 so that the main control module 300 can perform the next operation. The detection unit 110 is used to output different access signals when it is detected that the external electronic device 40 or the power adapter 20 is connected to it, so as to effectively generate a circuit-connected external electronic device 40 or the power adapter 20 that matches the circuit. access signal.
进一步地,请参与图4,所述逻辑控制模块200包括控制单元210和上拉单元220;所述控制单元210与所述检测单元110、所述第二传输模块500、所述电源模块400和所述上拉单元220连接;所述上拉单元220还与第二传输模块500和所述电源模块400连接;所述控制单元210用于根据所述第一接入信号输出所述第一检测信号至所述主控模块300;所述上拉单元220用于为所述控制单元210提供第二检测信号。Further, please refer to FIG. 4, the logic control module 200 includes a control unit 210 and a pull-up unit 220; The pull-up unit 220 is connected; the pull-up unit 220 is also connected to the second transmission module 500 and the power supply module 400; the control unit 210 is configured to output the first detection signal according to the first access signal The signal is sent to the main control module 300; the pull-up unit 220 is used to provide the control unit 210 with a second detection signal.
具体地,当检测单元110连接外部电子设备40时,所述检测单元110输出第一接入信号给控制单元210,所述控制单元210根据第一接入信号控制所述上拉单元220输出第一检测信号至所述第二传输模块500,所述第二传输模块500再将所述第一检测信号传输至所述主控模块300,所述主控模块300根据所述第一检测信号输出第一控制信息至电源模块400,所述电源模块400根据第一控制信息通过所述第一传输模块100为所述外部电子设备40提供电能;通过所述控制单元210根据第一接入信号所述上拉单元220输出第一检测信号至所述第二传输模块500,从而有效地将第一接入信号转变成可供第二传输模块500传输的第一检测信号,即将连接外部电子设备40的信息转变成可供USB接口传输的低电平信号。Specifically, when the detection unit 110 is connected to the external electronic device 40, the detection unit 110 outputs the first access signal to the control unit 210, and the control unit 210 controls the pull-up unit 220 to output the first access signal according to the first access signal. A detection signal is sent to the second transmission module 500, and the second transmission module 500 transmits the first detection signal to the main control module 300, and the main control module 300 outputs according to the first detection signal The first control information is sent to the power supply module 400, and the power supply module 400 provides electric energy for the external electronic device 40 through the first transmission module 100 according to the first control information; through the control unit 210 according to the first access signal The pull-up unit 220 outputs the first detection signal to the second transmission module 500, thereby effectively converting the first access signal into a first detection signal that can be transmitted by the second transmission module 500, that is, to connect the external electronic device 40 The information is converted into a low-level signal that can be transmitted by the USB interface.
进一步地,所述主控模块300包括主控芯片;所述主控芯片与所述检测单元110连接,用于根据所述检测单元110输出的所述第一检测信号,控制所述电源模块400经所述第一传输模块100为所述外部电子设备40提供电能,或用于先根据所述检测单元110输出的所述第二接入信号生成第二检测信号,再根据所述第二检测信号控制所述电源模块400接收所述电源适配器20经所述第一传输模块100输入的电能,所述所述主控芯 片还用于根据所述第一电流检测信号控制所述电源模块400配置为第一电流模式为自身提供电能,或根据所述第二电流检测信号控制所述电源模块400配置为第二电流模式为自身提供电能。Further, the main control module 300 includes a main control chip; the main control chip is connected to the detection unit 110 for controlling the power supply module 400 according to the first detection signal output by the detection unit 110 Provide electric energy for the external electronic device 40 via the first transmission module 100, or for generating a second detection signal according to the second access signal output by the detection unit 110, and then generate a second detection signal according to the second detection The signal controls the power module 400 to receive the electric energy input by the power adapter 20 through the first transmission module 100, and the main control chip is also used to control the configuration of the power module 400 according to the first current detection signal. Provide electric energy for itself in the first current mode, or control the power module 400 to be configured to provide electric energy for itself in the second current mode according to the second current detection signal.
具体地,当所述第二传输模块500将所述第一检测信号传输至所述主控芯片时,所述主控芯片根据所述第一检测信号输出第一控制信息至电源模块400,所述电源模块400根据第一控制信息通过所述第一传输模块100为所述外部电子设备40提供电能。Specifically, when the second transmission module 500 transmits the first detection signal to the main control chip, the main control chip outputs first control information to the power supply module 400 according to the first detection signal, so The power supply module 400 provides power to the external electronic device 40 through the first transmission module 100 according to the first control information.
当所述控制单元210输出第一电流检测信号至所述主控芯片,所述主控芯片根据所述第一电流检测信号输出第一电流控制信息至电源模块400,所述电源模块400根据第一电流控制信息配置为第一电流模式为自身提供电能。When the control unit 210 outputs the first current detection signal to the main control chip, the main control chip outputs the first current control information to the power module 400 according to the first current detection signal, and the power module 400 according to the first current detection signal A current control information is configured for the first current mode to provide electric energy for itself.
当检测单元110连接电源适配器20时,所述检测单元110输出第二接入信号给主控芯片,所述主控芯片根据所述第二接入信号生成第二检测信号,再根据所述第二检测信号输出第二控制信号至所述电源模块400,所述电源模块400根据所述第二控制信息接收所述电源适配器20经所述第一传输模块100输入的电能。When the detection unit 110 is connected to the power adapter 20, the detection unit 110 outputs a second access signal to the main control chip, and the main control chip generates a second detection signal according to the second access signal, and then according to the first The second detection signal outputs a second control signal to the power module 400 , and the power module 400 receives the electric energy input by the power adapter 20 through the first transmission module 100 according to the second control information.
通过所述主控芯片控制所述电源适配器20经所述第一传输模块100给所述电源模块400供电,或控制所述电源模块400经所述第一传输模块100给外部电子设备40反向充电,从而有效了实现了所述第一传输模块100的双向充电。其中主控芯片为RK3229芯片,是一种高性能的四核应用处理器,主要用于智能电视盒。The main control chip controls the power adapter 20 to supply power to the power module 400 through the first transmission module 100, or controls the power module 400 to supply power to the external electronic device 40 through the first transmission module 100. Charging, thereby effectively realizing the bidirectional charging of the first transmission module 100 . The main control chip is RK3229 chip, which is a high-performance quad-core application processor, mainly used in smart TV boxes.
进一步地,所述电源模块400包括电源控制单元和电池组;所述电源控制单元与所述主控模块300、所述第一传输模块100和所述电池组连接;所述电池控制单元210用于根据所述第一控制信息控制电池组反向提供电流,以及根据所述第二控制信息控制电池组接收充电电流给电池组自身进行充电;所述电池组用于提供电流给外部电子设备40或接收电源适配器20的电流。Further, the power module 400 includes a power control unit and a battery pack; the power control unit is connected to the main control module 300, the first transmission module 100 and the battery pack; the battery control unit 210 is used to Control the battery pack to provide reverse current according to the first control information, and control the battery pack to receive charging current to charge the battery pack itself according to the second control information; the battery pack is used to provide current to the external electronic device 40 Or receive the current of the power adapter 20 .
具体地,当所述主控芯片根据所述第一检测信号输出第一控制信息至电源控制单元时,所述电源控制单元根据第一控制信息控制电池组经过所述第一传输模块100为所述外部电子设备40提供电能。Specifically, when the main control chip outputs first control information to the power control unit according to the first detection signal, the power control unit controls the battery pack to pass through the first transmission module 100 according to the first control information. The external electronic device 40 provides electric energy.
当所述主控芯片根据所述第二接入信号生成第二检测信号,再根据所述第二检测信 号输出第二控制信号至所述电源控制单元,所述电源控制单元根据第二控制信息控制电池组接收所述电源适配器20经所述第一传输模块100输入的电能。When the main control chip generates a second detection signal according to the second access signal, and then outputs a second control signal to the power control unit according to the second detection signal, the power control unit The battery pack is controlled to receive the electric energy input by the power adapter 20 via the first transmission module 100 .
当所述主控芯片根据所述第一电流检测信号输出第一电流控制信息至所述电源控制单元,所述电源控制单元根据所述第一电流控制信息配置为第一电流模式为电池组提供电能。When the main control chip outputs first current control information to the power control unit according to the first current detection signal, the power control unit is configured to provide the battery pack with the first current mode according to the first current control information. electrical energy.
当所述主控模块300根据所述第二电流检测信号输出第二电流控制信号至所述电源控制单元,所述电源控制单元根据第二电流控制信息配置为第二电流模式为电池组提供电能。When the main control module 300 outputs a second current control signal to the power control unit according to the second current detection signal, the power control unit is configured to provide electric energy for the battery pack in the second current mode according to the second current control information .
通过所述电源控制单元根据不同的控制信息对应控制所述电池组是给自身充电,还是反向供电,从而有效地实现了根据不同的控制信息控制电池组的充放电状态。并且,通过所述电源控制单元根据不同的电流控制信息对应控制所述电池组匹配不同的充电电流模式,从而有效地实现了根据不同的电流控制信息控制电池组的充电电流模式。其中,电源控制单元为RK816芯片,是一种电源管理芯片,主要用于搭配RK3229芯片使用。According to different control information, the power supply control unit correspondingly controls whether the battery pack charges itself or reversely supplies power, thereby effectively controlling the charging and discharging state of the battery pack according to different control information. Moreover, the power supply control unit correspondingly controls the battery pack to match different charging current modes according to different current control information, thereby effectively realizing the control of the charging current mode of the battery pack according to different current control information. Among them, the power control unit is RK816 chip, which is a kind of power management chip, mainly used in conjunction with RK3229 chip.
进一步地,请继续参阅图2和图3,所述检测单元110包括第一接口J1、第一电阻R1、第二电阻R2、第三电阻R3、第四电阻R4、第一静电管D1、第二静电管D2、第三静电管D3、第四静电管D4、第五静电管D5、瞬态二极管TVS、第一电容C1、第二电容C2和第三电容C3;所述第一静电管D1的一端和所述第一接口J1的A8信号端口连接,所述第二静电管D2的一端和所述第一电阻R1的一端均与所述第一接口J1的A5信号端,所述第三静电管D3的一端和第二电阻R2的一端均与所述第一接口J1的B5信号端连接,所述第一接口J1的A5信号端和B5信号端还均与所述逻辑控制模块200连接,所述第一静电管D1的另一端、所述第二静电管D2的另一端、所述第三静电管D3的另一端、所述第一电阻R1的另一端和第二电阻R2的另一端均接地;所述第四静电管D4的一端与所述第一接口J1的A6和B6信号端连接,所述第一接口J1的A6和B6信号端还与所述变压单元120连接,所述第四静电管D4的另一端接地;所述第五静电管D5的一端与所述第一接口J1的A7和B7信号端连接,所述第一接口J1的 A7和B7信号端还与所述变压单元120连接,所述第五静电管D5的另一端接地;所述第一电容C1的一端、所述第二电容C2的一端、所述瞬态二极管TVS的一端和所述第三电阻R3的一端均与所述第一接口J1的A9信号端连接,所述第一接口J1的A9信号端还与电源连接,所述第三电阻R3的另一端与所述第四电阻R4的一端、第三电容C3的一端和所述第二传输模块500连接,所述第一电容C1的另一端、所述第二电容C2的另一端、所述瞬态二极管TVS的另一端、所述第四电阻R4的另一端和所述第三电容C3的另一端均接地。Further, please continue to refer to FIG. 2 and FIG. 3 , the detection unit 110 includes a first interface J1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first electrostatic tube D1, a second Two electrostatic tubes D2, the third electrostatic tube D3, the fourth electrostatic tube D4, the fifth electrostatic tube D5, the transient diode TVS, the first capacitor C1, the second capacitor C2 and the third capacitor C3; the first electrostatic tube D1 One end of the first interface J1 is connected to the A8 signal port, one end of the second electrostatic tube D2 and one end of the first resistor R1 are both connected to the A5 signal end of the first interface J1, and the third One end of the electrostatic tube D3 and one end of the second resistor R2 are both connected to the B5 signal end of the first interface J1, and both the A5 signal end and the B5 signal end of the first interface J1 are also connected to the logic control module 200 , the other end of the first electrostatic tube D1, the other end of the second electrostatic tube D2, the other end of the third electrostatic tube D3, the other end of the first resistor R1 and the other end of the second resistor R2 Both ends are grounded; one end of the fourth electrostatic tube D4 is connected to the A6 and B6 signal terminals of the first interface J1, and the A6 and B6 signal terminals of the first interface J1 are also connected to the transformation unit 120, The other end of the fourth electrostatic tube D4 is grounded; one end of the fifth electrostatic tube D5 is connected to the A7 and B7 signal terminals of the first interface J1, and the A7 and B7 signal terminals of the first interface J1 are also connected to the The transformation unit 120 is connected, the other end of the fifth electrostatic tube D5 is grounded; one end of the first capacitor C1, one end of the second capacitor C2, one end of the transient diode TVS and the first One end of the three resistors R3 is connected to the A9 signal end of the first interface J1, the A9 signal end of the first interface J1 is also connected to the power supply, and the other end of the third resistor R3 is connected to the fourth resistor R4 One end of the third capacitor C3 is connected to the second transmission module 500, the other end of the first capacitor C1, the other end of the second capacitor C2, the other end of the transient diode TVS, the The other end of the fourth resistor R4 and the other end of the third capacitor C3 are both grounded.
具体地,当第一接口J1的A5信号端和B5信号端(本实施例中为TYPE_CC1和TYPE_CC2端口)连接外部电子设备40时,所述第一接口J1经所述第一接口J1的A5信号端和B5信号端输出第一接入信号给控制单元210,以便所述控制单元210进行下一步操作。Specifically, when the A5 signal terminal and B5 signal terminal (in this embodiment, TYPE_CC1 and TYPE_CC2 ports) of the first interface J1 are connected to the external electronic device 40, the first interface J1 passes the A5 signal of the first interface J1 The terminal and the B5 signal terminal output the first access signal to the control unit 210, so that the control unit 210 can perform the next operation.
当第一接口J1的A5信号端和B5信号端连接外部电源30时,所述控制单元210输出第一电流检测信号至所述接口模块600,所述接口模块600将所述第一电流检测信号传输至所述主控芯片,以便所述主控芯片进行下一步操作。When the A5 signal terminal and B5 signal terminal of the first interface J1 are connected to the external power supply 30, the control unit 210 outputs the first current detection signal to the interface module 600, and the interface module 600 outputs the first current detection signal It is transmitted to the main control chip, so that the main control chip can perform the next operation.
当第一接口J1的A5信号端和B5信号端连接电源适配器20时,所述第一接口J1经所述第一接口J1的A5信号端和B5信号端输出第二检测信号和至所述主控芯片,同时,所述控制单元210输出第二电流检测信号至所述接口模块600,所述接口模块600将所述第二电流检测信号传输至所述主控芯片,以便所述主控芯片进行下一步操作;其中,所述第一接口J1为Type-C接口。其中,所述瞬态二极管TVS用于降低各种浪涌脉冲;静电管用于减弱ESD(Electro-Static discharge:静电放电)的影响。When the A5 signal terminal and B5 signal terminal of the first interface J1 are connected to the power adapter 20, the first interface J1 outputs the second detection signal and the At the same time, the control unit 210 outputs the second current detection signal to the interface module 600, and the interface module 600 transmits the second current detection signal to the main control chip, so that the main control chip Proceed to the next step; wherein, the first interface J1 is a Type-C interface. Wherein, the transient diode TVS is used to reduce various surge pulses; the electrostatic tube is used to weaken the influence of ESD (Electro-Static discharge: electrostatic discharge).
更进一步地,所述变压单元120包括第五电阻R5、第六电阻R6和变压器;所述变压器的第1引脚与所述第六电阻R6的一端连接,所述变压器的第4引脚与所述第六电阻R6的另一端和所述第二传输模块500连接,所述变压器的第2引脚与所述第五电阻R5的一端和所述第二传输模块500连接,所述变压器的第3引脚与所述第五电阻R5的另一端连接。Furthermore, the transformation unit 120 includes a fifth resistor R5, a sixth resistor R6 and a transformer; the first pin of the transformer is connected to one end of the sixth resistor R6, and the fourth pin of the transformer The other end of the sixth resistor R6 is connected to the second transmission module 500, the second pin of the transformer is connected to one end of the fifth resistor R5 and the second transmission module 500, and the transformer The third pin is connected to the other end of the fifth resistor R5.
进一步地,请继续参阅图4,所述控制单元210包括逻辑控制芯片U1、第七电阻 R7、第八电阻R8和第四电容C4,所述逻辑控制芯片U1的第1脚和第2脚均与所述第一传输模块100连接,所述逻辑控制芯片U1的第7脚、第8脚、第9脚和第11脚均与所述上拉单元220连接,所述逻辑控制芯片U1的第9脚还与所述第二传输模块500和所述上拉单元220连接;所述第七电阻R7的一端与所述逻辑控制芯片U1的第6脚和所述第四电容C4的一端连接,所述第七电阻R7的另一端和所述逻辑控制芯片U1的第12脚均与电源连接;所述第八电阻R8与所述逻辑控制芯片U1的第5脚和第12脚连接,所述逻辑控制芯片U1的第12脚还与电源连接。Further, please continue to refer to FIG. 4 , the control unit 210 includes a logic control chip U1, a seventh resistor R7, an eighth resistor R8, and a fourth capacitor C4, and the first pin and the second pin of the logic control chip U1 are both Connected to the first transmission module 100, the 7th pin, 8th pin, 9th pin and 11th pin of the logic control chip U1 are all connected to the pull-up unit 220, the 1st pin of the logic control chip U1 Pin 9 is also connected to the second transmission module 500 and the pull-up unit 220; one end of the seventh resistor R7 is connected to the sixth pin of the logic control chip U1 and one end of the fourth capacitor C4, The other end of the seventh resistor R7 and the 12th pin of the logic control chip U1 are connected to the power supply; the eighth resistor R8 is connected to the 5th pin and the 12th pin of the logic control chip U1, and the The 12th pin of the logic control chip U1 is also connected to the power supply.
具体地,当第一接口J1连接外部电子设备40时,所述第一接口J1输出第一接入信号给逻辑控制芯片U1,所述逻辑控制芯片U1根据第一接入信号控制所述上拉单元220经所述逻辑控制芯片U1的第9脚(本实施例中为OTG_ID端口)输出第一检测信号至所述第二传输模块500,以便所述第二传输模块500进行下一步操作。Specifically, when the first interface J1 is connected to the external electronic device 40, the first interface J1 outputs a first access signal to the logic control chip U1, and the logic control chip U1 controls the pull-up signal according to the first access signal. The unit 220 outputs the first detection signal to the second transmission module 500 via the 9th pin of the logic control chip U1 (OTG_ID port in this embodiment), so that the second transmission module 500 can perform the next operation.
当第一接口J1连接外部电源30时,所述逻辑控制芯片U1的第7脚和第8脚输出第一电流检测信号至所述接口模块600,以便所述接口模块600进行下一步操作。When the first interface J1 is connected to the external power supply 30, pins 7 and 8 of the logic control chip U1 output a first current detection signal to the interface module 600, so that the interface module 600 can perform the next operation.
当第一接口J1连接电源适配器20时,同样的,所述逻辑控制芯片U1的第7脚和第8脚输出第二电流检测信号至所述接口模块600,以便所述接口模块600进行下一步操作。When the first interface J1 is connected to the power adapter 20, similarly, the 7th and 8th pins of the logic control chip U1 output a second current detection signal to the interface module 600, so that the interface module 600 can proceed to the next step. operate.
通过所述逻辑控制芯片U1根据第一接口J1连接外部电子设备40、外部电源30或电源适配器20时,生成相应的检测信号,从而有效地反映了接口的连接设备的类别。When the logic control chip U1 is connected to the external electronic device 40, the external power supply 30 or the power adapter 20 according to the first interface J1, a corresponding detection signal is generated, thereby effectively reflecting the type of the connected device of the interface.
更进一步地,所述上拉单元220包括第九电阻R9、第十电阻R10、第十一电阻R11和第十二电阻R12,所述第九电阻R9的一端、所述第十电阻R10的一端、所述第十一电阻R11的一端和所述第十二电阻R12的一端均与电源模块400连接,所述第九电阻R9的另一端、所述第十电阻R10的另一端、所述第十一电阻R11的另一端和所述第十二电阻R12的另一端则均与所述第二传输模块500连接。Furthermore, the pull-up unit 220 includes a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11 and a twelfth resistor R12, one end of the ninth resistor R9, one end of the tenth resistor R10 , one end of the eleventh resistor R11 and one end of the twelfth resistor R12 are both connected to the power module 400, the other end of the ninth resistor R9, the other end of the tenth resistor R10, the second The other end of the eleventh resistor R11 and the other end of the twelfth resistor R12 are both connected to the second transmission module 500 .
进一步地,请参阅图5,所述第二传输模块500包括第二接口J2、第十三电阻R13、第十四电阻R14、第十五电阻R15、第五电容C5、第六电容C6和第七电容C7;所述第十三电阻R13的一端与所述第二接口J2的V11信号端连接,所述第十四电阻R14的 一端与所述第二接口J2的V10信号端连接,所述第五电容C5的一端与所述第二接口J2的T10信号端和电源模块400连接,所述第十三电阻R13的另一端、所述第十四电阻R14的另一端和所述第五电容C5的另一端均接地;所述第十五电阻R15的一端与所述第六电容C6的一端和所述第二接口J2的T11信号端连接,所述第十五电阻R15的另一端与所述第七电容C7的一端和电源模块400连接,所述第六电容C6的另一端和所述第七电容C7的另一端均接地。Further, referring to FIG. 5, the second transmission module 500 includes a second interface J2, a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15, a fifth capacitor C5, a sixth capacitor C6 and a Seventh capacitor C7; one end of the thirteenth resistor R13 is connected to the V11 signal end of the second interface J2, one end of the fourteenth resistor R14 is connected to the V10 signal end of the second interface J2, and the One end of the fifth capacitor C5 is connected to the T10 signal end of the second interface J2 and the power module 400, the other end of the thirteenth resistor R13, the other end of the fourteenth resistor R14 are connected to the fifth capacitor The other ends of C5 are both grounded; one end of the fifteenth resistor R15 is connected to one end of the sixth capacitor C6 and the T11 signal end of the second interface J2, and the other end of the fifteenth resistor R15 is connected to the T11 signal end of the second interface J2. One end of the seventh capacitor C7 is connected to the power module 400, and the other end of the sixth capacitor C6 and the other end of the seventh capacitor C7 are grounded.
具体地,当所述逻辑控制芯片U1根据第一接入信号控制所述上拉单元220输出第一检测信号时,将所述第一检测信号经第二接口J2的R11信号端传入所述第二接口J2,所述第二接口J2再将所述第一检测信号传输至所述主控芯片,以便所述主控芯片进行下一步操作。通过第二接口J2有效且稳定地将逻辑控制芯片U1输出的所述第一检测信号传输至所述主控芯片,从而通知主控芯片有外部电子设备40接入;其中,第二接口J2为USB接口。Specifically, when the logic control chip U1 controls the pull-up unit 220 to output the first detection signal according to the first access signal, the first detection signal is transmitted to the The second interface J2, and the second interface J2 transmits the first detection signal to the main control chip, so that the main control chip can perform the next operation. The first detection signal output by the logic control chip U1 is effectively and stably transmitted to the main control chip through the second interface J2, thereby notifying the main control chip that an external electronic device 40 is connected; wherein, the second interface J2 is USB interface.
进一步地,请参阅图6,所述接口模块600包括第三接口J3、第十六电阻R16、第十七电阻R17、第十八电阻、第十九电阻、第二十电阻R20、第八电容C8、第九电容C9、第十电容C10、第六静电管D6和第一开关S1;所述第三接口J3的N20信号端与所述第八电容C8的一端连接,所述第三接口J3的U10信号端与所述第九电容C9的一端、所述第十六电阻R16的一端、所述第十七电阻R17的一端和所述第一传输模块100连接,所述第三接口J3的G14信号端和所述第十电容C10的一端均与电源模块400连接,所述第三接口J3的K19信号端与所述第十八电阻的一端连接,所述第三接口J3的L20信号端与所述第十九电阻的一端连接,所述第三接口J3的H16信号端与所述第二十电阻R20的一端连接,所述第三接口J3的G16、G17信号端和G19信号端均与所述逻辑控制模块200连接,所述第八电容C8的另一端、所述第九电容C9的另一端和所述第十电容C10的另一端均接地,所述第十六电阻R16的另一端与所述电源连接,所述第十七电阻R17的另一端与所述第六静电管D6一端和所述第一开关S1的一端连接、所述第六静电管D6的另一端和所述第一开关S1的另一端均接地。Further, referring to FIG. 6, the interface module 600 includes a third interface J3, a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor, a nineteenth resistor, a twentieth resistor R20, an eighth capacitor C8, the ninth capacitor C9, the tenth capacitor C10, the sixth electrostatic tube D6 and the first switch S1; the N20 signal end of the third interface J3 is connected to one end of the eighth capacitor C8, and the third interface J3 The U10 signal end of the U10 is connected to one end of the ninth capacitor C9, one end of the sixteenth resistor R16, one end of the seventeenth resistor R17 and the first transmission module 100, and the third interface J3 The G14 signal terminal and one end of the tenth capacitor C10 are both connected to the power module 400, the K19 signal terminal of the third interface J3 is connected to one end of the eighteenth resistor, and the L20 signal terminal of the third interface J3 connected to one end of the nineteenth resistor, the H16 signal end of the third interface J3 is connected to one end of the twentieth resistor R20, and the G16, G17 signal end and G19 signal end of the third interface J3 are all Connected to the logic control module 200, the other end of the eighth capacitor C8, the other end of the ninth capacitor C9 and the other end of the tenth capacitor C10 are all grounded, and the other end of the sixteenth resistor R16 One end is connected to the power supply, the other end of the seventeenth resistor R17 is connected to one end of the sixth electrostatic tube D6 and one end of the first switch S1, the other end of the sixth electrostatic tube D6 is connected to the The other ends of the first switch S1 are both grounded.
具体地,当第一接口J1连接外部电源30时,所述逻辑控制芯片U1输出第一电流 检测信号至所述第三接口J3,所述第三接口J3再将第一电流检测信号传输至所述主控芯片,以便所述主控芯片进行下一步操作。Specifically, when the first interface J1 is connected to the external power supply 30, the logic control chip U1 outputs the first current detection signal to the third interface J3, and the third interface J3 transmits the first current detection signal to the the main control chip, so that the main control chip can perform the next operation.
当第一接口J1连接电源适配器20时,所述逻辑控制芯片U1输出第二电流检测信号至所述第三接口J3,所述第三接口J3再将第二电流检测信号传输至所述主控芯片,以便所述主控芯片进行下一步操作。When the first interface J1 is connected to the power adapter 20, the logic control chip U1 outputs the second current detection signal to the third interface J3, and the third interface J3 transmits the second current detection signal to the main control chip, so that the main control chip can perform the next operation.
通过第三接口J3有效且稳定地将逻辑控制芯片U1输出的不同检测检测信号传输至所述主控芯片,从而通知所述第一接口J1连接了不同的充电设备;其中,第三接口J3为GPIO接口。Through the third interface J3, the different detection signals output by the logic control chip U1 are effectively and stably transmitted to the main control chip, thereby notifying the first interface J1 that different charging devices are connected; wherein, the third interface J3 is GPIO interface.
为了更好的理解本公开,以下结合图1-4对本公开的射频前端电路的工作原理进行详细的说明:In order to better understand the present disclosure, the working principle of the radio frequency front-end circuit of the present disclosure will be described in detail below in conjunction with FIGS. 1-4 :
当Type-C接口的TYPE_CC1和TYPE_CC2端口连接外部电子设备40时,首先,所述Type-C接口输出第一接入信号经逻辑控制芯片U1的第1脚和第2脚至所述逻辑控制芯片U1,所述逻辑控制芯片U1根据所述第一接入信号经所述逻辑控制芯片U1的OTG_ID端口输出低电平信号至USB接口,其次,所述USB接口将所述低电平信号传输至主控芯片,所述主控芯片根据所述低电平信号输出DFP模式信息至所述电源控制单元,最后,所述电源控制单元根据DFP模式信息控制所述电池组通过所述Type-C接口为所述外部电子设备40提供电能;When the TYPE_CC1 and TYPE_CC2 ports of the Type-C interface are connected to the external electronic device 40, first, the Type-C interface outputs the first access signal to the logic control chip through the first pin and the second pin of the logic control chip U1 U1, the logic control chip U1 outputs a low-level signal to the USB interface through the OTG_ID port of the logic control chip U1 according to the first access signal, and secondly, the USB interface transmits the low-level signal to Main control chip, the main control chip outputs DFP mode information to the power control unit according to the low-level signal, and finally, the power control unit controls the battery pack through the Type-C interface according to the DFP mode information providing electric energy for the external electronic device 40;
当Type-C接口的TYPE_CC1和TYPE_CC2端口连接电源适配器20时,首先,所述Type-C接口输出第二接入信号给主控芯片,所述主控芯片根据所述第二接入信号生成高电平信号,再根据所述高电平信号输出UFP模式信息至电源控制单元,最后,所述电源控制单元根据UFP模式信息控制电池组接收所述电源适配器20经所述Type-C接口输入的电能。When the TYPE_CC1 and TYPE_CC2 ports of the Type-C interface are connected to the power adapter 20, first, the Type-C interface outputs a second access signal to the main control chip, and the main control chip generates a high Level signal, and then output UFP mode information to the power control unit according to the high level signal, and finally, the power control unit controls the battery pack to receive the power input from the power adapter 20 through the Type-C interface according to the UFP mode information electrical energy.
即在Type-C接口连接外部电子设备40时,逻辑控制芯片U1输出低电平信号经USB接口传输至主控芯片,以通知主控芯片有外部电子设备40接入,主控芯片输出DFP模式信息至电源控制单元,此时,所述电源控制单元控制电池组通过所述Type-C接口为所述外部电子设备40提供电能;在Type-C接口连接电源适配器20时,主控芯片输出 UFP模式信息至电源控制单元,此时,所述电源控制单元控制电池组接收所述电源适配器20经所述Type-C接口输入的电能。That is, when the Type-C interface is connected to an external electronic device 40, the logic control chip U1 outputs a low-level signal and transmits it to the main control chip through the USB interface to notify the main control chip that an external electronic device 40 is connected, and the main control chip outputs DFP mode Information to the power control unit, at this time, the power control unit controls the battery pack to provide power for the external electronic device 40 through the Type-C interface; when the Type-C interface is connected to the power adapter 20, the main control chip outputs UFP The mode information is sent to the power control unit. At this time, the power control unit controls the battery pack to receive the electric energy input by the power adapter 20 through the Type-C interface.
当Type-C接口的TYPE_CC1和TYPE_CC2端口连接外部电源30时,首先,所述逻辑控制芯片U1输出小电流信号至所述GPIO接口,所述GPIO接口将所述小电流信号传输至所述主控芯片,其次,所述主控芯片根据所述小电流信号输出低电流模式信号至所述电源控制单元,最后,所述电源控制单元根据低电流模式信号配置为低电流模式接收所述外部电源30为电池组提供电能。When the TYPE_CC1 and TYPE_CC2 ports of the Type-C interface are connected to the external power supply 30, first, the logic control chip U1 outputs a small current signal to the GPIO interface, and the GPIO interface transmits the small current signal to the main control chip, secondly, the main control chip outputs a low current mode signal to the power control unit according to the small current signal, and finally, the power control unit is configured to receive the external power supply 30 in a low current mode according to the low current mode signal Provides power to the battery pack.
当Type-C接口的TYPE_CC1和TYPE_CC2端口连接电源适配器20时,首先,所述逻辑控制芯片U1输出大电流信号至所述GPIO接口,所述GPIO接口将所述大电流信号传输至所述主控芯片,其次,若连接的是小功率的电源适配器20时,所述主控芯片根据所述大电流信号输出中电流模式信号至电源控制单元;若连接的是大功率的电源适配器20时,所述主控芯片根据所述大电流信号输出高电流模式信号至电源控制单元;最后,所述电源控制单元根据所述中电流模式信号或所述高电流模式信号对应配置为中电流模式或高电流模式接收所述电源适配器20为电池组提供电能。When the TYPE_CC1 and TYPE_CC2 ports of the Type-C interface are connected to the power adapter 20, first, the logic control chip U1 outputs a high-current signal to the GPIO interface, and the GPIO interface transmits the high-current signal to the main control Chip, secondly, if it is connected to a low-power power adapter 20, the main control chip outputs a medium current mode signal to the power control unit according to the high-current signal; if it is connected to a high-power power adapter 20, the The main control chip outputs a high current mode signal to the power control unit according to the high current signal; finally, the power control unit is configured as a medium current mode or a high current mode according to the medium current mode signal or the high current mode signal Mode reception The power adapter 20 provides power for the battery pack.
即在Type-C接口连接外部电源30时,逻辑控制芯片U1输出小电流信号经GPIO接口传输至主控芯片,所述主控芯片根据所述小电流信号输出低电流模式信号至所述电源控制单元,此时,电源控制单元根据低电流模式信号配置为低电流模式接收所述外部电源30为电池组提供电能。在Type-C接口连接电源适配器20时,逻辑控制芯片U1输出大电流信号经GPIO接口传输至主控芯片,此时,主控芯片会优先判断电源适配器20的功率,若是小功率的,则输出中电流模式信号至电源控制单元,电源控制单元根据中电流模式信号配置为中电流模式接收所述外部电源30为电池组提供电能;若是大功率的,则输出高电流模式信号至电源控制单元,电源控制单元根据高电流模式信号配置为高电流模式接收所述外部电源30为电池组提供电能;That is, when the Type-C interface is connected to the external power supply 30, the logic control chip U1 outputs a small current signal and transmits it to the main control chip through the GPIO interface, and the main control chip outputs a low current mode signal to the power control chip according to the small current signal. unit, at this time, the power control unit is configured to receive the external power supply 30 in low current mode according to the low current mode signal to provide electric energy for the battery pack. When the Type-C interface is connected to the power adapter 20, the logic control chip U1 outputs a large current signal and transmits it to the main control chip through the GPIO interface. At this time, the main control chip will give priority to judging the power of the power adapter 20. The medium current mode signal is sent to the power control unit, and the power control unit is configured according to the medium current mode signal to receive the external power supply 30 in the medium current mode to provide electric energy for the battery pack; if it is high-power, then output the high current mode signal to the power control unit, The power control unit is configured to receive the external power supply 30 in high current mode according to the high current mode signal to provide electric energy for the battery pack;
进一步地,本公开还提供一种双向充电装置,包括PCB板,所述PCB板上设置有如上所述的双向充电电路10,由于上文已对该电路进行了详细描述,此处不再赘述。Further, the present disclosure also provides a bidirectional charging device, including a PCB board, on which the bidirectional charging circuit 10 as described above is provided. Since the circuit has been described in detail above, details will not be repeated here. .
综上所述,本公开提供的一种一种双向充电电路和装置,双向充电电路包括第一传 输模块、主控模块、电源模块和逻辑控制模块;逻辑控制模块用于检测到第一传输模块连接的是外部电子设备时输出第一检测信号至主控模块;第一传输模块用于连接外部电子设备或电源适配器,并在检测到连接的是电源适配器时输出第二检测信号至主控模块;主控模块用于根据第一检测信号输出第一控制信号至电源模块,或根据第二检测信号输出第二控制信号至电源模块;电源模块用于根据第一控制信号经第一传输模块为外部电子设备提供电能,或根据第二控制信号接收电源适配器经第一传输模块输入的电能为主控模块提供电能;本公开通过加入第一传输模块给电源模块双向充电,从而减少了资源浪费。In summary, the present disclosure provides a bidirectional charging circuit and device. The bidirectional charging circuit includes a first transmission module, a main control module, a power supply module, and a logic control module; the logic control module is used to detect that the first transmission module Output the first detection signal to the main control module when the external electronic device is connected; the first transmission module is used to connect the external electronic device or power adapter, and output the second detection signal to the main control module when it is detected that the power adapter is connected ; The main control module is used to output the first control signal to the power module according to the first detection signal, or output the second control signal to the power module according to the second detection signal; The external electronic equipment provides electric energy, or receives the electric energy input by the power adapter through the first transmission module according to the second control signal to provide electric energy to the main control module; the present disclosure reduces the waste of resources by adding the first transmission module to bidirectionally charge the power supply module.
可以理解的是,对本领域普通技术人员来说,可以根据本公开的技术方案及其公开构思加以等同替换或改变,而所有这些改变或替换都应属于本公开所附的权利要求的保护范围。It can be understood that those skilled in the art can make equivalent replacements or changes according to the technical solutions and disclosed concepts of the present disclosure, and all these changes or replacements should belong to the protection scope of the appended claims of the present disclosure.

Claims (20)

  1. 一种双向充电电路,其特征在于,与电源适配器、外部电源或外部电子设备连接,所述双向充电电路包括第一传输模块、主控模块、电源模块、逻辑控制模块、第二传输模块和接口模块;A bidirectional charging circuit, characterized in that it is connected to a power adapter, an external power supply or an external electronic device, and the bidirectional charging circuit includes a first transmission module, a main control module, a power supply module, a logic control module, a second transmission module and an interface module;
    所述主控模块分别与所述第一传输模块和所述电源模块连接,所述逻辑控制模块还与所述电源模块连接,所述第一传输模块还与所述逻辑控制模块和所述电源模块连接;The main control module is respectively connected to the first transmission module and the power supply module, the logic control module is also connected to the power supply module, and the first transmission module is also connected to the logic control module and the power supply module module connection;
    所述逻辑控制模块用于检测到所述第一传输模块连接的是外部电子设备时输出第一检测信号至所述主控模块;The logic control module is configured to output a first detection signal to the main control module when detecting that the first transmission module is connected to an external electronic device;
    所述第一传输模块用于连接外部电子设备或电源适配器,并在检测到连接的是电源适配器时输出第二检测信号至所述主控模块;The first transmission module is used to connect an external electronic device or a power adapter, and output a second detection signal to the main control module when it is detected that the power adapter is connected;
    所述主控模块用于根据所述第一检测信号输出第一控制信号至所述电源模块,或根据所述第二检测信号输出第二控制信号至所述电源模块;The main control module is configured to output a first control signal to the power module according to the first detection signal, or output a second control signal to the power module according to the second detection signal;
    所述电源模块用于根据所述第一控制信号经所述第一传输模块为所述外部电子设备提供电能,或根据所述第二控制信号接收所述电源适配器经所述第一传输模块输入的电能;The power supply module is used to provide electric energy for the external electronic device through the first transmission module according to the first control signal, or receive input from the power adapter through the first transmission module according to the second control signal electric energy;
    第二传输模块;所述第二传输模块分别与所述第一传输模块、所述逻辑控制模块和所述主控模块连接;所述第二传输模块用于将所述逻辑控制模块输出的所述第一检测信号输出至所述主控模块;The second transmission module; the second transmission module is respectively connected with the first transmission module, the logic control module and the main control module; the second transmission module is used for all the output of the logic control module The first detection signal is output to the main control module;
    接口模块,所述接口模块与所述第一传输模块、所述电源模块和所述逻辑控制模块连接,所述接口模块用于将所述逻辑控制模块输出的所述第一电流检测信号和所述第二电流检测信号输出至所述主控模块。an interface module, the interface module is connected to the first transmission module, the power supply module and the logic control module, and the interface module is used to output the first current detection signal output by the logic control module and the The second current detection signal is output to the main control module.
  2. 根据权利要求1所述的双向充电电路,其特征在于,所述第一传输模块包括检测单元和变压单元;所述检测单元与所述变压单元和所述逻辑控制模块连接;所述检测单元用于当检测到所述外部电子设备接入时,输出第一接入信号给所述逻辑控制模块,当所述电源适配器接入时,输出第二接入信号给所述主控模块。The bidirectional charging circuit according to claim 1, wherein the first transmission module includes a detection unit and a voltage transformation unit; the detection unit is connected to the voltage transformation unit and the logic control module; the detection The unit is configured to output a first access signal to the logic control module when it is detected that the external electronic device is connected, and output a second connection signal to the main control module when the power adapter is connected.
  3. 根据权利要求2所述的双向充电电路,其特征在于,所述逻辑控制模块包括控制单元和上拉单元;所述控制单元与所述第一传输模块和所述上拉单元连接;所述上拉单 元还与电源模块连接;所述控制单元用于根据所述第一接入信号输出所述第一检测信号至所述主控模块;所述上拉单元用于为所述控制单元提供高电平信号。The bidirectional charging circuit according to claim 2, wherein the logic control module includes a control unit and a pull-up unit; the control unit is connected to the first transmission module and the pull-up unit; The pull unit is also connected to the power module; the control unit is used to output the first detection signal to the main control module according to the first access signal; the pull-up unit is used to provide high level signal.
  4. 根据权利要2所述的双向充电电路,其特征在于,所述主控模块包括主控芯片;所述主控芯片与所述检测单元连接,用于根据所述检测单元输出的所述第一检测信号,控制所述电源模块经所述第一传输模块为所述外部电子设备提供电能,或用于先根据所述检测单元输出的所述第二接入信号生成第二检测信号,再根据所述第二检测信号控制所述电源模块接收所述电源适配器经所述第一传输模块输入的电能。The bidirectional charging circuit according to claim 2, wherein the main control module includes a main control chip; the main control chip is connected to the detection unit, and is used for charging according to the first output of the detection unit. detection signal, controlling the power supply module to provide electric energy for the external electronic device through the first transmission module, or used to generate a second detection signal according to the second access signal output by the detection unit, and then according to the The second detection signal controls the power supply module to receive the electric energy input by the power adapter through the first transmission module.
  5. 根据权利要求2所述的双向充电电路,其特征在于,所述电源模块包括电源控制单元和电池组;所述电源控制单元与所述主控模块、所述第一传输模块和所述电池组连接;所述电池控制单元用于根据所述第一控制信息控制电池组反向提供电流,以及根据所述第二控制信息控制电池组接收充电电流给电池组自身进行充电;所述电池组用于提供电流给外部电子设备或接收电源适配器的电流。The bidirectional charging circuit according to claim 2, wherein the power module includes a power control unit and a battery pack; the power control unit is connected to the main control module, the first transmission module and the battery pack connected; the battery control unit is used to control the battery pack to provide reverse current according to the first control information, and to control the battery pack to receive charging current to charge the battery pack itself according to the second control information; the battery pack uses Used to provide current to external electronic devices or receive current from a power adapter.
  6. 一种双向充电电路,其特征在于,与电源适配器、外部电源或外部电子设备连接,所述双向充电电路包括第一传输模块、主控模块、电源模块和逻辑控制模块;A bidirectional charging circuit, characterized in that it is connected to a power adapter, an external power supply or an external electronic device, and the bidirectional charging circuit includes a first transmission module, a main control module, a power supply module and a logic control module;
    所述主控模块分别与所述第一传输模块和所述电源模块连接,所述逻辑控制模块还与所述电源模块连接,所述第一传输模块还与所述逻辑控制模块和所述电源模块连接;The main control module is respectively connected to the first transmission module and the power supply module, the logic control module is also connected to the power supply module, and the first transmission module is also connected to the logic control module and the power supply module module connection;
    所述逻辑控制模块用于检测到所述第一传输模块连接的是外部电子设备时输出第一检测信号至所述主控模块;The logic control module is configured to output a first detection signal to the main control module when detecting that the first transmission module is connected to an external electronic device;
    所述第一传输模块用于连接外部电子设备或电源适配器,并在检测到连接的是电源适配器时输出第二检测信号至所述主控模块;The first transmission module is used to connect an external electronic device or a power adapter, and output a second detection signal to the main control module when it is detected that the power adapter is connected;
    所述主控模块用于根据所述第一检测信号输出第一控制信号至所述电源模块,或根据所述第二检测信号输出第二控制信号至所述电源模块;The main control module is configured to output a first control signal to the power module according to the first detection signal, or output a second control signal to the power module according to the second detection signal;
    所述电源模块用于根据所述第一控制信号经所述第一传输模块为所述外部电子设备提供电能,或根据所述第二控制信号接收所述电源适配器经所述第一传输模块输入的电能。The power supply module is used to provide electric energy for the external electronic device through the first transmission module according to the first control signal, or receive input from the power adapter through the first transmission module according to the second control signal of electric energy.
  7. 根据权利要求6所述的双向充电电路,其特征在于,所述双向充电电路还包括第 二传输模块;所述第二传输模块分别与所述第一传输模块、所述逻辑控制模块和所述主控模块连接;所述第二传输模块用于将所述逻辑控制模块输出的所述第一检测信号输出至所述主控模块。The bidirectional charging circuit according to claim 6, characterized in that, the bidirectional charging circuit further comprises a second transmission module; the second transmission module communicates with the first transmission module, the logic control module and the The main control module is connected; the second transmission module is used to output the first detection signal output by the logic control module to the main control module.
  8. 根据权利要求7所述的双向充电电路,其特征在于,所述第一传输模块包括检测单元和变压单元;所述检测单元与所述变压单元和所述逻辑控制模块连接;所述检测单元用于当检测到所述外部电子设备接入时,输出第一接入信号给所述逻辑控制模块,当所述电源适配器接入时,输出第二接入信号给所述主控模块。The bidirectional charging circuit according to claim 7, wherein the first transmission module includes a detection unit and a voltage transformation unit; the detection unit is connected to the voltage transformation unit and the logic control module; the detection The unit is configured to output a first access signal to the logic control module when it is detected that the external electronic device is connected, and output a second connection signal to the main control module when the power adapter is connected.
  9. 根据权利要求8所述的双向充电电路,其特征在于,所述逻辑控制模块包括控制单元和上拉单元;所述控制单元与所述第一传输模块和所述上拉单元连接;所述上拉单元还与电源模块连接;所述控制单元用于根据所述第一接入信号输出所述第一检测信号至所述主控模块;所述上拉单元用于为所述控制单元提供高电平信号。The bidirectional charging circuit according to claim 8, wherein the logic control module includes a control unit and a pull-up unit; the control unit is connected to the first transmission module and the pull-up unit; The pull unit is also connected to the power module; the control unit is used to output the first detection signal to the main control module according to the first access signal; the pull-up unit is used to provide high level signal.
  10. 根据权利要8所述的双向充电电路,其特征在于,所述主控模块包括主控芯片;所述主控芯片与所述检测单元连接,用于根据所述检测单元输出的所述第一检测信号,控制所述电源模块经所述第一传输模块为所述外部电子设备提供电能,或用于先根据所述检测单元输出的所述第二接入信号生成第二检测信号,再根据所述第二检测信号控制所述电源模块接收所述电源适配器经所述第一传输模块输入的电能。The bidirectional charging circuit according to claim 8, wherein the main control module includes a main control chip; the main control chip is connected to the detection unit, and is used for charging according to the first output of the detection unit. detection signal, controlling the power supply module to provide electric energy for the external electronic device through the first transmission module, or used to generate a second detection signal according to the second access signal output by the detection unit, and then according to the The second detection signal controls the power supply module to receive the electric energy input by the power adapter through the first transmission module.
  11. 根据权利要求8所述的双向充电电路,其特征在于,所述检测单元包括第一接口、第一电阻、第二电阻、第三电阻、第四电阻、第一静电管、第二静电管、第三静电管、第四静电管、第五静电管、瞬态二极管、第一电容、第二电容和第三电容;所述第一静电管的一端和所述第一接口的A8信号端口连接,所述第二静电管的一端和所述第一电阻的一端均与所述第一接口的A5信号端,所述第三静电管的一端和第二电阻的一端均与所述第一接口的B5信号端连接,所述第一接口的A5信号端和B5信号端还均与所述逻辑控制模块连接,所述第一静电管的另一端、所述第二静电管的另一端、所述第三静电管的另一端、所述第一电阻的另一端和第二电阻的另一端均接地;所述第四静电管的一端与所述第一接口的A6和B6信号端连接,所述第一接口的A6和B6信号端还与所述变压单元连接,所述第四静电管的另一端接地;所述第五静电管的一端与所述第一接 口的A7和B7信号端连接,所述第一接口的A7和B7信号端还与所述变压单元连接,所述第五静电管的另一端接地;所述第一电容的一端、所述第二电容的一端、所述瞬态二极管的一端和所述第三电阻的一端均与所述第一接口的A9信号端连接,所述第一接口的A9信号端还与电源连接,所述第三电阻的另一端与所述第四电阻的一端、第三电容的一端和所述第二传输模块连接,所述第一电容的另一端、所述第二电容的另一端、所述瞬态二极管的另一端、所述第四电阻的另一端和所述第三电容的另一端均接地。The bidirectional charging circuit according to claim 8, wherein the detection unit comprises a first interface, a first resistor, a second resistor, a third resistor, a fourth resistor, a first electrostatic tube, a second electrostatic tube, The third electrostatic tube, the fourth electrostatic tube, the fifth electrostatic tube, the transient diode, the first capacitor, the second capacitor and the third capacitor; one end of the first electrostatic tube is connected to the A8 signal port of the first interface , one end of the second electrostatic tube and one end of the first resistor are connected to the A5 signal terminal of the first interface, one end of the third electrostatic tube and one end of the second resistor are connected to the first interface connected to the B5 signal terminal of the first interface, the A5 signal terminal and the B5 signal terminal of the first interface are also connected to the logic control module, the other end of the first electrostatic tube, the other end of the second electrostatic tube, the The other end of the third electrostatic tube, the other end of the first resistor and the other end of the second resistor are all grounded; one end of the fourth electrostatic tube is connected to the A6 and B6 signal terminals of the first interface, so The A6 and B6 signal ends of the first interface are also connected to the transformation unit, the other end of the fourth electrostatic tube is grounded; one end of the fifth electrostatic tube is connected to the A7 and B7 signal ends of the first interface connected, the A7 and B7 signal ends of the first interface are also connected to the transformation unit, the other end of the fifth electrostatic tube is grounded; one end of the first capacitor, one end of the second capacitor, and the One end of the transient diode and one end of the third resistor are all connected to the A9 signal end of the first interface, the A9 signal end of the first interface is also connected to the power supply, and the other end of the third resistor is connected to the One end of the fourth resistor and one end of the third capacitor are connected to the second transmission module, the other end of the first capacitor, the other end of the second capacitor, the other end of the transient diode, the The other end of the fourth resistor and the third capacitor are grounded.
  12. 根据权利要求8所述的双向充电电路,其特征在于,所述变压单元包括第五电阻、第六电阻和变压器;所述变压器的第1引脚与所述第六电阻的一端连接,所述变压器的第4引脚与所述第六电阻的另一端和所述第二传输模块连接,所述变压器的第2引脚与所述第五电阻的一端和所述第二传输模块连接,所述变压器的第3引脚与所述第五电阻的另一端连接。The bidirectional charging circuit according to claim 8, wherein the voltage transformation unit includes a fifth resistor, a sixth resistor and a transformer; the first pin of the transformer is connected to one end of the sixth resistor, so The fourth pin of the transformer is connected to the other end of the sixth resistor and the second transmission module, the second pin of the transformer is connected to one end of the fifth resistor and the second transmission module, The third pin of the transformer is connected to the other end of the fifth resistor.
  13. 根据权利要求9所述的双向充电电路,其特征在于,所述控制单元包括逻辑控制芯片、第七电阻、第八电阻和第四电容,所述逻辑控制芯片的第1脚和第2脚均与所述第一传输模块连接,所述逻辑控制芯片的第7脚、第8脚、第9脚和第11脚均与所述上拉单元连接,所述逻辑控制芯片的第9脚还与所述第二传输模块和所述上拉单元连接;所述第七电阻的一端与所述逻辑控制芯片的第6脚和所述第四电容的一端连接,所述第七电阻的另一端和所述逻辑控制芯片的第12脚均与电源连接;所述第八电阻与所述逻辑控制芯片的第5脚和第12脚连接,所述逻辑控制芯片的第12脚还与电源连接。The bidirectional charging circuit according to claim 9, wherein the control unit includes a logic control chip, a seventh resistor, an eighth resistor, and a fourth capacitor, and the first pin and the second pin of the logic control chip are both Connected to the first transmission module, the 7th pin, 8th pin, 9th pin and 11th pin of the logic control chip are all connected to the pull-up unit, and the 9th pin of the logic control chip is also connected to the The second transmission module is connected to the pull-up unit; one end of the seventh resistor is connected to the sixth pin of the logic control chip and one end of the fourth capacitor, and the other end of the seventh resistor is connected to The 12th pin of the logic control chip is connected to the power supply; the eighth resistor is connected to the 5th pin and the 12th pin of the logic control chip, and the 12th pin of the logic control chip is also connected to the power supply.
  14. 根据权利要求9所述的双向充电电路,其特征在于,所述上拉单元包括第九电阻、第十电阻、第十一电阻和第十二电阻,所述第九电阻的一端、所述第十电阻的一端、所述第十一电阻的一端和所述第十二电阻的一端均与电源口连接,所述第九电阻的另一端、所述第十电阻的另一端、所述第十一电阻的另一端和所述第十二电阻的另一端则均与所述第二传输模块连接。The bidirectional charging circuit according to claim 9, wherein the pull-up unit includes a ninth resistor, a tenth resistor, an eleventh resistor, and a twelfth resistor, one end of the ninth resistor, the first One end of the tenth resistor, one end of the eleventh resistor and one end of the twelfth resistor are all connected to the power port, the other end of the ninth resistor, the other end of the tenth resistor, the tenth resistor The other end of the first resistor and the other end of the twelfth resistor are both connected to the second transmission module.
  15. 根据权利要求6所述的双向充电电路,其特征在于,所述双向充电电路还包括接口模块,所述接口模块与所述第一传输模块、所述电源模块和所述逻辑控制模块连接,所述接口模块用于将所述逻辑控制模块输出的所述第一电流检测信号和所述第二电流 检测信号输出至所述主控模块。The bidirectional charging circuit according to claim 6, wherein the bidirectional charging circuit further comprises an interface module, the interface module is connected to the first transmission module, the power supply module and the logic control module, so that The interface module is used to output the first current detection signal and the second current detection signal output by the logic control module to the main control module.
  16. 根据权利要求8所述的双向充电电路,其特征在于,所述电源模块包括电源控制单元和电池组;所述电源控制单元与所述主控模块、所述第一传输模块和所述电池组连接;所述电池控制单元用于根据所述第一控制信息控制电池组反向提供电流,以及根据所述第二控制信息控制电池组接收充电电流给电池组自身进行充电;所述电池组用于提供电流给外部电子设备或接收电源适配器的电流。The bidirectional charging circuit according to claim 8, wherein the power module includes a power control unit and a battery pack; the power control unit is connected to the main control module, the first transmission module and the battery pack connected; the battery control unit is used to control the battery pack to provide reverse current according to the first control information, and to control the battery pack to receive charging current to charge the battery pack itself according to the second control information; the battery pack uses Used to provide current to external electronic devices or receive current from a power adapter.
  17. 根据权利要求16所述的双向充电电路,其特征在于,所述电源控制单元为RK816芯片。The bidirectional charging circuit according to claim 16, wherein the power control unit is an RK816 chip.
  18. 根据权利要求10所述的双向充电电路,其特征在于,所述主控芯片为RK3229芯片。The bidirectional charging circuit according to claim 10, wherein the main control chip is an RK3229 chip.
  19. 根据权利要求6所述的双向充电电路,其特征在于,所述第一检测信息为低电平信号,所述第二检测信息为高电平信号;所述第一控制信息为下行端口模式信息或即插即用模式信息;所述第二控制信息为上行端口模式信息。The bidirectional charging circuit according to claim 6, wherein the first detection information is a low-level signal, the second detection information is a high-level signal; the first control information is downlink port mode information Or plug and play mode information; the second control information is uplink port mode information.
  20. 一种双向充电装置,包括PCB板,其特征在于,所述PCB板上设置有如权利要求6-14任意一项所述的双向充电电路。A bidirectional charging device, comprising a PCB, characterized in that the PCB is provided with the bidirectional charging circuit according to any one of claims 6-14.
PCT/CN2021/124607 2021-08-12 2021-10-19 Bidirectional charging circuit and apparatus WO2023015720A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110926408.1A CN113690967A (en) 2021-08-12 2021-08-12 Bidirectional charging circuit and device
CN202110926408.1 2021-08-12

Publications (1)

Publication Number Publication Date
WO2023015720A1 true WO2023015720A1 (en) 2023-02-16

Family

ID=78579685

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/124607 WO2023015720A1 (en) 2021-08-12 2021-10-19 Bidirectional charging circuit and apparatus

Country Status (2)

Country Link
CN (1) CN113690967A (en)
WO (1) WO2023015720A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090021965A1 (en) * 2007-07-20 2009-01-22 Samsung Sdi Co., Ltd. Electronic device capable of supplying power bi-directionally through port and method of operating the same
CN202798027U (en) * 2012-05-17 2013-03-13 兰家林 Bidirectional power supply circuit of single USB interface
CN104182020A (en) * 2013-05-23 2014-12-03 中兴通讯股份有限公司 Single-port-based device and method for realizing bi-directional power supply
CN111342508A (en) * 2020-01-20 2020-06-26 广州裕芯电子科技有限公司 Single-port bidirectional mobile power supply management chip and mobile power supply
CN211427334U (en) * 2020-08-03 2020-09-04 武汉精立电子技术有限公司 Interface device, interface conversion device and graphic signal generator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090021965A1 (en) * 2007-07-20 2009-01-22 Samsung Sdi Co., Ltd. Electronic device capable of supplying power bi-directionally through port and method of operating the same
CN202798027U (en) * 2012-05-17 2013-03-13 兰家林 Bidirectional power supply circuit of single USB interface
CN104182020A (en) * 2013-05-23 2014-12-03 中兴通讯股份有限公司 Single-port-based device and method for realizing bi-directional power supply
CN111342508A (en) * 2020-01-20 2020-06-26 广州裕芯电子科技有限公司 Single-port bidirectional mobile power supply management chip and mobile power supply
CN211427334U (en) * 2020-08-03 2020-09-04 武汉精立电子技术有限公司 Interface device, interface conversion device and graphic signal generator

Also Published As

Publication number Publication date
CN113690967A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN209030353U (en) Interface circuit and device
EP1131733A1 (en) Universal serial bus transceiver
WO2023134458A1 (en) Electronic device
CN111881072A (en) High-speed USB TYPE-C interface device supporting bidirectional transmission and graphic signal generator
WO2023015720A1 (en) Bidirectional charging circuit and apparatus
CN108459981B (en) Multifunctional signal conversion circuit and converter
CN207652075U (en) A kind of OTG power supply and wireless charging compatible circuit and terminal device
CN107391410B (en) Bridge connector
WO2022095606A1 (en) Information reading method, device, cable, charging system, and computer storage medium
CN216391231U (en) Docking station with double video interfaces
CN210273852U (en) Network power adapter and electronic equipment and network power system based on same
CN207251191U (en) A kind of mobile terminal protects structure
CN207518016U (en) Wireless charging built-up circuit and device
TWM602743U (en) Transmission device with exterior power supply
CN219800110U (en) Circuit and device for supplying power from equipment to main equipment
CN216772407U (en) Signal switching circuit based on Type-C interface
CN216527155U (en) Data line for communication between two USB HOST interface devices
CN217134842U (en) Wire concentrator
CN213367755U (en) RS232 signal isolation passive converter
CN217445471U (en) Single-wire serial port communication circuit
CN213661235U (en) Self-recognition power supply switching system
CN209913192U (en) Network power supply switching device
TW202414237A (en) Usb electronic device having functionality of electric leakage protection
CN219350881U (en) Multifunctional converter, docking station and electronic equipment
CN107634510A (en) Chip interface circuit

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21953326

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE