CN220475760U - Interface circuit, interface device and charger - Google Patents

Interface circuit, interface device and charger Download PDF

Info

Publication number
CN220475760U
CN220475760U CN202321903008.XU CN202321903008U CN220475760U CN 220475760 U CN220475760 U CN 220475760U CN 202321903008 U CN202321903008 U CN 202321903008U CN 220475760 U CN220475760 U CN 220475760U
Authority
CN
China
Prior art keywords
module
switching tube
data transmission
switch
resistor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202321903008.XU
Other languages
Chinese (zh)
Inventor
李圣根
江辉
符建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinyi Power Storage Shenzhen Co ltd
Original Assignee
Xinyi Power Storage Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xinyi Power Storage Shenzhen Co ltd filed Critical Xinyi Power Storage Shenzhen Co ltd
Priority to CN202321903008.XU priority Critical patent/CN220475760U/en
Application granted granted Critical
Publication of CN220475760U publication Critical patent/CN220475760U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Abstract

The application is applicable to the technical field of electronic circuits, and provides an interface circuit, an interface device and a charger, and the circuit includes: the device comprises an interface module, an instruction receiving module, a control module, a first switch module and a second switch module. The interface module is used for being connected with the electronic equipment; the instruction receiving module is used for responding to the triggering operation input by the user and outputting a data transmission signal to the control module; the control module is used for outputting a first on signal to the first switch module and outputting a first off signal to the second switch module when receiving the data transmission signal; the first switch module is used for being conducted according to the first conduction signal so as to conduct the control module and a first data transmission channel of the electronic equipment to realize data exchange; the second switch module is used for being turned off according to the first turn-off signal so as to enable the control module and a second data transmission channel of the electronic equipment to be turned off, wherein the second data transmission channel is a fast charging protocol data transmission channel. The method and the device can improve the reliability of conventional data transmission.

Description

Interface circuit, interface device and charger
Technical Field
The application belongs to the technical field of electronic circuits, and particularly relates to an interface circuit, an interface device and a charger.
Background
The USB interface is widely used in life, and its main functions include: the method is connected with various electronic devices, and realizes data transfer, backup, data synchronization, software upgrading and the like under the condition of no network; and the charging device is connected with the electronic equipment and a charging power supply to charge the electronic equipment.
Currently, in order to reduce manufacturing cost and reduce product volume, functions of a USB interface are generally multiplexed, that is, functions of data transmission communication and charging are implemented in the same USB interface. At present, the fast charging technology has become an important research direction in the charging field, and is different from the common charging mode in that the fast charging technology needs to identify a fast charging protocol for charging equipment. However, due to the multiplexing of the functions of the USB interface, that is, the data channel of the fast-charging protocol data transmission is shared with the data transmission channel of the normal data transmission, if the data transmission of the two data channels are performed simultaneously, the fast-charging protocol identification may fail due to the data string, so that the fast-charging function may not be realized, and the normal data transmission may be wrong, so that the normal data exchange, the software upgrading and other normal data transmission functions may not be realized. Therefore, how to avoid the situation that the data string is used due to multiplexing of the fast charging function and the conventional data transmission function in the function of the USB interface when conventional data transmission is performed, and thus the conventional data transmission failure occurs, is a technical problem that needs to be solved.
Disclosure of Invention
In view of this, the embodiment of the application provides an interface circuit, an interface device and a charger, so as to solve the technical problem that when the conventional data transmission is performed, the conventional data transmission fails due to the data string when the conventional data transmission function is multiplexed with the conventional data transmission function.
In a first aspect, embodiments of the present application provide an interface circuit, including:
the interface module is used for being connected with the electronic equipment;
the instruction receiving module is connected with the control module and is used for responding to the triggering operation input by a user and outputting a data transmission signal to the control module;
the control module is used for outputting a first on signal to the first switch module and outputting a first off signal to the second switch module when the data transmission signal is received;
the first switch module is respectively connected with the control module and the interface module and is used for conducting according to the first conducting signal so as to conduct the control module with a first data transmission channel of the electronic equipment, wherein the first data transmission channel is a conventional data transmission channel;
and the second switch module is respectively connected with the control module and the interface module and is used for being turned off according to the first turn-off signal so as to turn off the control module and a second data transmission channel of the electronic equipment, wherein the second data transmission channel is a fast-charging protocol data transmission channel.
In a possible implementation manner of the first aspect, the control module includes:
the main control unit is respectively connected with the first switch module, the second switch module and the instruction receiving module and is used for outputting a first on signal to the first switch module and outputting a first off signal to the second switch module when the data transmission signal is received;
the fast charging control unit is respectively connected with the second switch module and the interface module and is used for carrying out fast charging protocol identification on the electronic equipment according to the fast charging protocol data;
the second switch module is also used for being connected with a first power supply and enabling the first power supply to provide working voltage for the quick charge control unit when the second switch module is conducted.
In a possible implementation manner of the first aspect, the fast charge control unit is further configured to output a second on signal when the operating voltage is obtained, and the interface circuit further includes:
and the third switch module is respectively connected with the first power supply, the interface module and the quick charge control unit and is used for being conducted when the second conduction signal is received.
In a possible implementation manner of the first aspect, the control module is further configured to output a third on signal when the data transmission signal is received, and the interface circuit further includes:
And the fourth switch module is respectively connected with the control module and the interface module and is used for being connected with a second power supply and conducting according to the third conducting signal so as to enable the second power supply to supply power to the electronic equipment.
In a possible implementation manner of the first aspect, the interface circuit further includes:
the first voltage conversion module is respectively connected with the second power supply and the fourth switch module and is used for converting the voltage output by the second power supply;
the second voltage conversion module is respectively connected with the first power supply, the second switch module and the third switch module and is used for converting the voltage output by the first power supply.
In a possible implementation manner of the first aspect, the second switching module includes a first switching tube, a second switching tube, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a first capacitor, and a second capacitor;
the first end of the first switch tube is respectively connected with the first end of the first resistor, the first end of the first capacitor and the first power supply, the second end of the first switch tube is connected with the power supply end of the quick charge control unit, the control end of the first switch tube is respectively connected with the second end of the first resistor, the second end of the first capacitor and the first end of the second resistor, the second end of the second resistor is connected with the first end of the second switch tube, the second end of the second switch tube is grounded, the control end of the second switch tube is connected with the first end of the third resistor and the first end of the second capacitor, the second end of the third resistor is respectively connected with the first end of the fourth resistor and the first end of the fifth resistor, the second end of the fourth resistor is connected with the control module, and the second end of the second capacitor is connected with the second end of the fifth resistor and grounded.
In a possible implementation manner of the first aspect, the third switching module includes a third switching tube, a fourth switching tube, a fifth switching tube and a sixth resistor;
the first end of the third switching tube is connected with the first switching module, the second end of the third switching tube is respectively connected with the second end of the fourth switching tube and the first end of the sixth resistor, the control end of the third switching tube is respectively connected with the control end of the fourth switching tube, the first end of the fifth switching tube and the second end of the sixth resistor, the second end of the fourth switching tube is connected with the interface module, the second end of the fifth switching tube is grounded, and the control end of the fifth switching tube is connected with the quick charge control unit.
In a possible implementation manner of the first aspect, the fourth switching module includes a sixth switching tube, a seventh switching tube, an eighth switching tube, and a seventh resistor;
the first end of the sixth switching tube is used for being connected with the second power supply, the second end of the sixth switching tube is connected with the second end of the seventh switching tube and the first end of the seventh resistor respectively, the control end of the sixth switching tube is connected with the control end of the seventh switching tube, the first end of the eighth switching tube and the second end of the seventh resistor respectively, the second end of the seventh switching tube is connected with the interface module, the second end of the eighth switching tube is grounded, and the control end of the eighth switching tube is connected with the control module.
In a second aspect, an embodiment of the present application provides an interface device, where the interface device includes the interface circuit provided in any one of the foregoing embodiments.
In a third aspect, an embodiment of the present application provides a charger, where the charger includes the interface circuit provided in any one of the foregoing embodiments.
The interface, the interface and the charger provided by the embodiment of the application have the following beneficial effects:
according to the interface circuit, when the command receiving module receives the trigger command input by the user, the control module controls the first switch module connected between the control module and the interface module to be conducted so as to conduct the control module and the first data transmission channel of the electronic equipment, and the control module exchanges data with the electronic equipment, so that the conventional data transmission function is realized; and controlling the second switch module to be turned off so as to enable the control module and a second data transmission channel of the electronic equipment to be turned off, wherein the second data transmission channel is a fast charging protocol data transmission channel. That is, by the above manner, when the data transmission service is required, the conventional data transmission function is started and the fast charging function is suspended, so that the problem of using conventional data and the fast charging protocol data string is reduced, and the reliable conventional data transmission function of the USB interface is realized under the condition that the fast charging function and the conventional data transmission function are multiplexed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an interface circuit according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an interface circuit according to another embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an interface circuit according to another embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an interface circuit according to another embodiment of the present disclosure;
fig. 5 is a schematic circuit diagram of an interface circuit according to an embodiment of the present disclosure;
fig. 6 is a schematic circuit diagram of an interface circuit according to another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It should be noted that the terms used in the implementation section of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. In the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing a relationship, meaning that there may be three relationships, e.g., a and/or B, may mean: a exists alone, A and B exist together, and B exists alone.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. The terms "comprising," including, "" having, "and variations thereof mean" including but not limited to.
The USB interface is widely applied in daily life, on one hand, the USB interface can be used for connecting various electronic devices, and data transfer, backup, data synchronization, software upgrading and the like are realized under the condition of no network; in addition, the device can also be used for being connected with the electronic device and a charging power supply to charge the electronic device.
Currently, in order to pursue low manufacturing cost and minimize product volume, the functions of the USB interface are generally multiplexed, that is, the same USB interface is compatible with the functional requirements of data transmission communication and charging. At present, the fast charging technology has become an important research direction in the charging field, and compared with the common charging mode, the fast charging technology needs to identify the fast charging protocol of the charging equipment. However, since the data port of the fast-charging protocol chip is shared with the data port of the conventional data transmission, if the data transmission of the data port and the data port is performed simultaneously, the fast-charging protocol identification may fail due to the data serial use, so that the fast-charging function cannot be realized, and conventional data transmission errors may also be caused, so that the conventional data transmission functions such as normal data exchange and software upgrading cannot be realized.
In order to solve the above problems, the present application provides an interface circuit, an interface device and a charger, which start a conventional data transmission function and suspend a fast charging function when a data transmission service is required, and improve the data transmission reliability of a USB interface in which the fast charging function and the conventional data transmission function are multiplexed.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an interface circuit according to an embodiment of the present application. The interface circuit 10 includes an interface module 101, an instruction receiving module 102, a control module 103, a first switch module 104, and a second switch module 105.
The interface module 101 is for connecting with the electronic device 20.
The interface module 101 may include, but is not limited to, ase:Sub>A USB-A interface, ase:Sub>A USB-B interface, ase:Sub>A USB-C interface, etc.
The instruction receiving module 102 is connected to the control module 103, and is configured to output a data transmission signal to the control module 103 in response to a trigger operation input by a user.
The above triggering operation is used to indicate that the data transmission service is currently required, that is, when the command receiving module 102 receives the triggering operation, it indicates that the electronic device currently connected to the interface module 101 is used as a data exchange device (such as a usb disk, a mobile hard disk, a mobile phone that needs to perform conventional data transmission, etc.), and conventional data transmission needs to be performed with the control module 103, so that a data transmission signal is output to the control module 103. The user may input a trigger operation through the instruction receiving module 102. For example, when the instruction receiving module 102 may include a key, the user may input the triggering operation by pressing the key (such as pressing short, pressing long, pressing continuously for a plurality of times within a preset time, etc.); for another example, the instruction receiving module 102 may further include an input device such as a touch screen, where the user inputs the triggering operation by touching a specific area of the touch screen or inputting a specific gesture on the touch screen; as another example, the instruction receiving module 102 may further include a remote control input device, such as a mobile phone or other remote control device, through which the user inputs the triggering operation by sending a remote control instruction. It can be appreciated that the manner in which the user inputs the trigger operation is matched with the instruction receiving module 102, which is not described herein.
The first switch module 104 is connected to the control module 103 and the interface module 101, respectively, and is configured to be turned on according to a first turn-on signal output by the control module 103.
In a specific application, when the first switch module 104 is turned on, the control module 103 is turned on with a first data transmission channel of the electronic device 20, and the electronic device 20 can implement data exchange through the first data transmission channel, where the first data transmission channel is a conventional data transmission channel, and the first data transmission channel is used for transmitting conventional data such as transfer of memory data, data synchronization, and software upgrade between electronic devices.
The second switch module 105 is respectively connected with the control module 103 and the interface module 101, and is used for being turned off according to a first turn-off signal output by the control module 103.
In a specific application, the control module 103 and the second data transmission channel of the electronic device 20 are turned off when the second switch module 105 is turned on. Unlike the first data transmission channel described above, the second data transmission channel is a fast-charge protocol data transmission channel, that is, the second data transmission channel is used to implement transmission of fast-charge protocol data, so as to implement identification of a fast-charge protocol of the electronic device 20 by the control module 103. It should be noted that the fast-charging protocol data and the normal transmission data cannot be transmitted in the USB interface at the same time, otherwise, the data string may be used, so that the fast-charging protocol identification fails and/or the normal transmission data is wrong.
The working principle of the interface circuit 10 in the embodiment shown in fig. 1 is specifically as follows:
when a data transmission service is required (e.g., upgrading system software of the control module 103 by using a usb flash disk), a user inputs a trigger operation through the command receiving module 102, and the command receiving module 102 includes a key, the user continuously presses the key twice in a preset time (e.g., 5 seconds), the command receiving module 102 responds to the trigger operation of continuously pressing the key twice in the preset time, and outputs a data transmission signal to the control module 103, after the control module 103 receives the data transmission signal, the control module 103 outputs a first on signal to the first switch module 104 to control the first switch module 104 to be turned on, that is, the first data end d+ of the interface module 101 is connected with the first data end d1+ of the control module 103, the second data end D-of the interface module 101 is connected with the second data end D1-of the control module 103, thereby establishing a first data transmission channel (i.e., a conventional data transmission channel) between the control module 103 and the electronic device 20, and a corresponding data transmission service is completed, and a first off signal is output to the second switch module 105 to control the second switch module 105, that is, the first data end d+ of the interface module 101 is disconnected from the first data end d+ is connected with the second data end D1-of the control module 103, and the second data transmission channel of the control module 103 is disconnected from the second data transmission channel 2-and the conventional data transmission channel is fast, thereby the data transmission protocol is prevented from being disconnected from the data transmission interface 2-interface between the second end D and the control module and the second data transmission module.
As can be seen from the above, the interface circuit provided in the embodiment of the present application can receive the triggering operation of the user through the instruction input module, and under the condition that the data transmission service is required, that is, under the condition that the triggering operation input by the user is received, start the conventional data transmission function, and suspend the fast charging function, so as to avoid the problem that the conventional data and the fast charging protocol data string are used, so that the USB interface realizes the reliable conventional data transmission function of the USB interface under the condition that the fast charging function is multiplexed with the conventional data transmission function.
In some embodiments, referring to fig. 2, the control module 103 may include a main control unit 103a and a fast charge control unit 103b.
The main control unit 103a is connected to the first switch module 104, the second switch module 105, and the instruction receiving module 102, and is configured to output a first on signal to the first switch module 104 when receiving a data transmission signal sent by the instruction receiving module 102, so as to turn on the first switch module 104, and output a first off signal to the second switch module 105, so as to turn off the second switch module 105.
The fast charge control unit 103b is connected to the second switch module 105 and the interface module 101, respectively, and is configured to perform fast charge protocol identification on the electronic device 20 according to the fast charge protocol data.
The second switch module 105 is further configured to be connected to the first power supply 30, and configured to enable the first power supply 30 to provide an operating voltage to the fast charge control unit 103b when turned on.
The working principle of the interface circuit 10 in the embodiment shown in fig. 2 is specifically as follows:
when a data transmission service is required (for example, upgrading system software of the main control unit 103a by using a usb flash disk), a user inputs a trigger operation through the command receiving module 102, and the command receiving module 102 includes a key, the user continuously presses the key twice in a preset time (for example, 5 seconds), the command receiving module 102 responds to the trigger operation of continuously pressing the key twice in the preset time, and outputs a data transmission signal to the main control unit 103a, after the main control unit 103a receives the data transmission signal, the main control unit 103a outputs a first on signal to the first switch module 104 to control the first switch module 104 to be turned on, that is, the first data end d+ of the interface module 101 is connected with the first data end d1+ of the main control unit 103a, the second data end D-of the interface module 101 is connected with the second data end D1-of the main control unit 103a, thereby establishing a first data transmission channel (that is a transmission channel of normal data) between the main control unit 103a and the electronic device 20, and the second switch module 105 is controlled to output a first off signal to the second switch module 105, so that the first data end d+ of the interface module 101 is disconnected from the first data end d+ of the main control unit 103a, that is not in a state of the power interruption state (i.e. a high-state of the second data transmission channel of the normal data is caused by the main control unit) and the second data transmission device 103b, and the fast-stop the second data transmission end of the fast charge and the data transmission device 2 b is stopped, and the fast-stop 2 b is not in the control unit).
In other embodiments, after the data transmission service is completed, the first switch module 104 is controlled to be turned off by the main control unit 103a, so that the transmission channel of the normal data between the main control unit 103a and the electronic device 20 is cut off, and the interference of the normal data on the fast-charging protocol data is avoided; and the second switch module 105 is controlled to be turned on, so that the first power supply 30 provides the working voltage for the fast charge control unit 103b, the fast charge control unit 103b resumes a normal working state after being powered on, communication with the electronic device 20 can be established, transmission of fast charge protocol data is completed, and fast charge protocol identification is performed on the electronic device 20 according to the fast charge protocol data.
It should be noted that, the function of determining whether the data transmission is completed may be implemented based on the triggering operation of the instruction receiving module 102 in response to the user output, and the instruction receiving module 102 includes a key, where the instruction receiving module 102 starts the data transmission service in response to the triggering operation of the user's single short-pressing key (for example, pressing for 0.5 seconds), and ends the data transmission service in response to the triggering operation of the user's single long-pressing key (for example, pressing for 5 seconds), that is, the data transmission service is set to be completed as a data transmission task. In addition, the main control unit 103a may also automatically determine whether the data transmission is completed, for example, determine according to the memory amount of the preset transmission data, and determine that the data transmission service is completed when the total transmission amount of the data is equal to the memory amount of the preset transmission data. The function of determining whether the data transmission is completed may be implemented by implementing a specific implementation scheme according to actual design requirements, and the implementation manner is only presented as a possible implementation manner, and is not limited thereto.
In some embodiments, referring to fig. 3, the interface circuit 10 further includes a third switch module 106. The fast charge control unit 103b is further configured to output a second on signal when obtaining the operating voltage provided by the first power supply 30; the third switch module 106 is respectively connected to the first power supply 30, the interface module 101 and the fast charge control unit 103b, and is configured to be turned on when receiving the second on signal output by the fast charge control unit 103 b.
The working principle of the interface circuit 10 in the embodiment shown in fig. 3 is specifically as follows:
when the fast charge control unit 103b obtains the working voltage provided by the first power supply 30 (i.e. the second switch module 105 is turned on), a second on signal is output to the third switch module 106, so that the third switch module 106 is turned on, thereby providing the fast charge voltage for the electronic device 20 connected to the interface module 101, and realizing charging of the electronic device 20.
In other embodiments, when the operating voltage of the fast-charging control unit 103b is turned off (i.e. the second switch module 105 is turned off, and the conventional data transmission service is performed), the output of the second on signal to the third switch module 106 is stopped, so that the third switch module 106 is turned off, and the power supply channels of the first power supply 30 and the interface module 101 are cut off. The above arrangement can perform overvoltage protection on the electronic device 20 that is connected to the interface module 101 and is performing the conventional data transmission service, because the electronic device 20 (such as a usb flash drive) performing the conventional data transmission service does not necessarily have a fast charging function, and the operating voltage or the highest withstand voltage may be lower than the charging voltage provided in the fast charging mode, and the overvoltage protection measures can prevent the electronic device 20 from being burnt out due to overvoltage or causing damage to some functional modules due to overvoltage.
In some embodiments, referring again to fig. 3, the interface circuit 10 further includes a fourth switch module 107. The control module 103 is further configured to output a third on signal when the data transmission signal is received; the fourth switch module 107 is connected to the control module 103 and the interface module 101, and is used for being connected to the second power supply 40, and is used for being turned on according to the third turn-on signal output by the control module 103, so that the second power supply 40 supplies power to the electronic device 20 connected to the interface module 101, and therefore the electronic device (such as a usb disk) without an internal power supply is powered on to work normally, and a corresponding data transmission function is completed.
In other embodiments, the control module 103 is further configured to output a second turn-off signal to the fourth switch module 107 after the completion of the data transmission service, so that the fourth switch module 107 is turned off, and the power supply channels of the second power supply 40 and the interface module 101 are cut off, so as to save electric energy or avoid overlapping with the fast charging voltage.
In some embodiments, referring to fig. 4, the interface circuit 10 further includes a first voltage conversion module 108 and a second voltage conversion module 109. The first voltage conversion module 108 is respectively connected with the fourth switch module 107 of the second power supply 40, and is used for converting the voltage output by the second power supply 40; the second voltage conversion module 109 is connected to the first power supply 30, the second switch module 105, and the third switch module 106, respectively, and is configured to convert a voltage output from the first power supply 30.
In the embodiment shown in fig. 4, the first voltage conversion module 108 may adjust the working state according to the power supply requirement of the electronic device 20 connected to the interface module 101, so that the converted voltage obtained by converting the voltage output by the second power supply 40 is adapted to the electronic device 20, so as to be suitable for more electronic devices 20 with different power supply voltage level requirements.
The second voltage conversion module 109 may adjust the working state according to the charging requirement of the electronic device 20 connected to the interface module 101, so that the converted voltage obtained by converting the voltage output by the first power supply 30 is adapted to the electronic device 20, thereby being suitable for more electronic devices 20 with different charging voltage class requirements.
In some embodiments, referring to fig. 5, fig. 5 illustrates a circuit configuration of an interface circuit 10. In the embodiment shown in fig. 5, the first switch module 104 includes a relay 104a, and the relay 104a includes a switch unit. The switch unit is respectively connected to the control module 103 and the interface module 101, and is configured to be turned on when the relay 104a receives the first turn-on signal output by the control module 103, so that the first data transmission channel is turned on, thereby implementing a conventional data transmission function.
The switch unit includes a first switch S1 and a second switch S2, where a first end of the first switch S1 is connected to a first data end d1+ of the main control unit 103a, a second end of the first switch S1 is respectively connected to a first data end d+ of the interface module 101 and a first data end d2+ of the fast charge control unit 103b (i.e., a third data end of the control module 103), a first end of the second switch S2 is connected to a second data end D1-of the main control unit 103a, and a second end of the first switch S1 is respectively connected to a second data end D-of the interface module 101 and a second data end D2-of the fast charge control unit 103b (i.e., a fourth data end of the control module 103). The first switch S1 and the second switch S2 are normally open switches, that is, when the relay 104a does not receive the first on signal (i.e., does not currently perform a data transmission task), the first data transmission channel between the main control unit 103a and the interface module 101 is in an off state, and when the relay 104a receives the first on signal (i.e., does currently perform a data transmission task), the first switch S1 and the second switch S2 are controlled to be closed, so that the first data end d+ of the interface module 101 is connected with the first data end d1+ of the main control unit 103a, and the second data end D-of the interface module 101 is connected with the second data end D1 of the main control unit 103a, so that the first data transmission channel between the main control unit 103a and the interface module 101 is established, thereby implementing a conventional data transmission function.
In some embodiments, referring to fig. 5 again, the second switch module 105 includes a first switch Q1, a second switch Q2, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a first capacitor C1, and a second capacitor C2.
The first end of the first switch tube Q1 is respectively connected to the first end of the first resistor R1, the first end of the first capacitor C1, and the first end used for connecting the first power supply VCC1, the control end of the first switch tube Q1 is respectively connected to the second end of the first resistor R1, the second end of the first capacitor C1, and the first end of the second resistor R2, the second end of the first switch tube Q1 is connected to the power supply end of the fast charge control unit 103b, the second end of the second resistor R2 is connected to the first end of the second switch tube Q2, the second end of the second switch tube Q2 is grounded, the control end of the second switch tube Q2 is connected to the first end of the third resistor R3 and the first end of the second capacitor C2, the second end of the third resistor R3 is connected to the first end of the fourth resistor R4 and the first end of the fifth resistor R5, the second end of the fourth resistor R4 is connected to the main control unit 103a, and the second end of the second capacitor C2 is connected to the second end of the fifth resistor R5 and grounded.
In the embodiment shown in fig. 5, the first switching tube Q1 is a PMOS tube, the second switching tube Q2 is an NMOS tube, wherein the drain electrode of the PMOS tube/NMOS tube corresponds to the first end of the switching tube, the source electrode of the PMOS tube/NMOS tube corresponds to the second end of the switching tube, and the gate electrode of the PMOS tube/NMOS tube corresponds to the control end of the switching tube.
The second switch module 105 in the embodiment shown in fig. 5 operates as follows:
when the signal PWM2 at the control end of the second switching tube Q2 is at a low level (i.e., when the main control unit 103a outputs the first turn-off signal to the second switching module 105, the signal PWM2 is at a low level), the second switching tube Q2 is turned off, so that the first switching tube Q1 is turned off, and the power supply channels of the first power supply VCC1 and the fast charging control unit 103b are cut off, so that the fast charging control unit 103b is powered down and suspended, and the first data port d1+ and the second data port D1-thereof are in a high-impedance state, thereby avoiding interference to the normal data transmission between the main control unit 103a and the electronic device 20 connected to the interface module 101.
In some embodiments, after the data transmission task between the main control unit 103a and the electronic device 20 is completed, a turn-on signal may be output to the second switch module 105 through the main control unit 103a, that is, the signal PWM2 at the control end of the second switch Q2 is high level, at this time, the second switch Q2 is turned on, so that the first switch Q1 is turned on, and the first power supply VCC1 provides the power supply voltage for the fast charging control unit 103b, and the fast charging control unit 103b returns to the normal working state after being powered on, for example, performs the fast charging protocol identification on the electronic device 20 connected to the interface module 101.
In some embodiments, referring to fig. 5 again, the third switching module 106 includes a third switching tube Q3, a fourth switching tube Q4, a fifth switching tube Q5, and a sixth resistor R6.
The first end of the third switching tube Q3 is connected with the first switching module 104, the second end of the third switching tube Q3 is respectively connected with the second end of the fourth switching tube Q4 and the first end of the sixth resistor R6, the control end of the third switching tube Q3 is respectively connected with the control end of the fourth switching tube Q4, the first end of the fifth switching tube Q5 and the second end of the sixth resistor R6, the second end of the fourth switching tube Q4 is connected with the interface module 101, the second end of the fifth switching tube Q5 is grounded, and the control end of the fifth switching tube Q5 is connected with the quick charge control unit 103b.
In the embodiment shown in fig. 5, the third switching tube Q3 and the fourth switching tube Q4 are PMOS tubes, and the fifth switching tube Q5 is an NMOS tube, where the drain of the PMOS tube/NMOS tube corresponds to the first end of the switching tube, the source of the PMOS tube/NMOS tube corresponds to the second end of the switching tube, and the gate of the PMOS tube/NMOS tube corresponds to the control end of the switching tube.
The third switch module 106 in the embodiment shown in fig. 5 operates as follows:
after the data transmission task between the main control unit 103a and the electronic device 20 is completed, the fast charging control unit 103b outputs a second conducting signal to the third switch module 106, that is, the signal PWM3 at the control end of the fifth switch Q5 is at a high level, at this time, the fifth switch Q5 is turned on, so that the third switch Q3 and the fourth switch Q4 are both turned on, thereby enabling the first power supply VCC1 to provide a fast charging voltage for the electronic device 20 connected to the interface module 101, and thus realizing charging of the electronic device 20.
In some embodiments, when the conventional data transmission service is being performed, the fast charge control unit 103b outputs an off signal to the third switch module 106, so that the signal PWM3 at the control end of the fifth switch Q5 is a low level signal, and at this time, the fifth switch Q5 is turned off, so that both the third switch Q3 and the fourth switch Q4 are turned off, and thus the power supply channels of the first power supply VCC1 and the interface module 101 are cut off, so as to avoid the damage of part of the functional modules caused by the overvoltage burnout or overvoltage of the electronic device 20 that is performing the conventional data transmission.
In some embodiments, referring to fig. 5 again, the fourth switching module 107 includes a sixth switching tube Q6, a seventh switching tube Q7, an eighth switching tube Q8, and a seventh resistor R7.
The first end of the sixth switching tube Q6 is connected with the second power supply VCC2, the second end of the sixth switching tube Q6 is respectively connected with the second end of the seventh switching tube Q7 and the first end of the seventh resistor R7, the control end of the sixth switching tube Q6 is respectively connected with the control end of the seventh switching tube Q7, the first end of the eighth switching tube Q8 and the second end of the seventh resistor R7, the second end of the seventh switching tube Q7 is connected with the interface module 101, the second end of the eighth switching tube Q8 is grounded, and the control end of the eighth switching tube Q8 is connected with the control module 103.
In the embodiment shown in fig. 5, the sixth switching tube Q6 and the seventh switching tube Q7 are PMOS tubes, and the eighth switching tube Q8 is an NMOS tube, where the drain of the PMOS tube/NMOS tube corresponds to the first end of the switching tube, the source of the PMOS tube/NMOS tube corresponds to the second end of the switching tube, and the gate of the PMOS tube/NMOS tube corresponds to the control end of the switching tube.
The fourth switch module 107 in the embodiment shown in fig. 5 operates as follows:
when the conventional data transmission service is being performed, the control module 103 outputs a third on signal to the fourth switch module 107, so that the signal PWM4 at the control end of the eighth switch tube Q8 is a high level signal, and at this time, the eighth switch tube Q8 is turned on, so that the sixth switch tube Q6 and the seventh switch tube Q7 are both turned on, so that the second power supply VCC2 supplies power to the electronic device 20 connected to the interface module 101 and having no internal power supply, so that the electronic device enters a normal working state, and the data transmission service with the control module 103 is completed.
In some embodiments, after the data transmission task between the control module 103 and the electronic device 20 is completed, a turn-off signal is output to the third switch module 106 through the control module 103, that is, the signal PWM4 at the control end of the eighth switch tube Q8 is at a low level, at this time, the eighth switch tube Q8 is turned off, so that the sixth switch tube Q6 and the seventh switch tube Q7 are both turned off, and thus the power supply channel between the second power supply VCC2 and the interface module 101 is cut off, so as to save electric energy or avoid overlapping with the charging voltage that is charged soon.
In some embodiments, referring to fig. 6, fig. 6 illustrates another circuit configuration of the interface circuit 10, and in the embodiment illustrated in fig. 6, further includes a first voltage conversion module 108 and a second voltage conversion module 109. The following describes the working principle of the interface circuit 10, taking the embodiment shown in fig. 6 as an example, specifically as follows:
for example, in the embodiment shown in fig. 6, the data transmission service upgrades the system software of the main control unit 103a through the usb disk, and the command receiving module 102 includes a key K1. When the data transmission service is required, the user continuously presses the key K1 twice within a preset time (e.g., 5 seconds), the instruction receiving module 102 responds to a trigger operation of continuously pressing the key K1 twice within the preset time, outputs a data transmission signal to the main control unit 103a, and after the main control unit 103a receives the data transmission signal, outputs a first conduction signal (i.e., makes the signal PWM1 be at a high level) to the first switch module 104, controls the first switch S1 and the second switch S2 in the first switch module 104 to be closed, i.e., makes the first data end d+ of the interface module 101 be connected with the first data end d1+ of the main control unit 103a, and the second data end D-of the interface module 101 is connected with the second data end D1 of the main control unit 103a, thereby establishing a first data transmission channel (i.e., a conventional data transmission channel) between the main control unit 103a and the U disc, so as to complete the upgrade of system software; and the first turn-off signal is output to the second switch module 105 (i.e., the signal PWM2 is made to be low level), and the second switch tube Q2 in the second switch module 105 is controlled to be turned off, so that the first switch tube Q1 is turned off, and the connection between the first power supply VCC1 and the fast charge control unit 103b is cut off, so that the fast charge control unit 103b is powered off and stops working, i.e., a transmission channel of fast charge protocol data is cut off, and after the fast charge control unit 103b is powered off and stops working, both the first data end d2+ and the second data end D2-of the fast charge control unit exhibit high impedance states, so that interference is not caused to the transmission of normal data between the main control unit 103a and the usb disk, and reliability of the normal data transmission is improved.
In addition, after the fast charge control unit 103b is powered down and stops working, the output of the second on signal (i.e. the signal PWM3 is changed from high level to low level) to the third switch module 106 is stopped, so that the fifth switch tube Q5 is turned off, and both the third switch tube Q3 and the fourth switch tube Q4 are turned off, so that the power supply channels of the first power supply VCC1 and the interface module 101 are cut off, and the damage of part of functional modules caused by the overvoltage burnout or overvoltage of the electronic device 20 which is performing conventional data transmission is avoided.
Since the usb flash disk is an electronic device without an internal power supply, the external power supply is required to provide the working voltage to the usb flash disk to work normally, so the main control unit 103a also outputs a third on signal (i.e. the signal PWM4 is made to be at a high level) to the fourth switch module 107 to turn on the eighth switch tube Q8, so that the sixth switch tube Q6 and the seventh switch tube Q7 are both turned on, so that the second power supply VCC2 supplies power to the usb flash disk connected to the interface module 101 to enter a normal working state, and upgrade of the system software in the main control unit 103a is completed.
After the data transmission task is completed, i.e. the software upgrade is completed (in this embodiment, the main control unit 103a automatically detects whether the software upgrade is completed), the main control unit 103a outputs a turn-off signal to the first switch module 104, i.e. the signal PWM1 is at a low level, so that the first switch S1 and the second switch S2 in the first switch module 104 are both turned off, i.e. the connection between the first data terminal d+ of the interface module 101 and the first data terminal d1+ of the main control unit 103a is disconnected, and the connection between the second data terminal D-of the interface module 101 and the second data terminal D1-of the main control unit 103a is disconnected, so as to cut off the first data transmission channel between the main control unit 103a and the electronic device 20, thereby avoiding the interference of the normal data on the fast-charging protocol data; and an on signal is output to the second switch module 105, that is, the signal PWM2 is made to be a high level, the second switch tube Q2 in the second switch module 105 is controlled to be turned on, so that the first switch tube Q1 is turned on, thereby cutting off the connection between the first power supply VCC1 and the fast charging control unit 103b, so that the first power supply VCC1 provides the working voltage for the fast charging control unit 103b, the fast charging control unit 103b resumes a normal working state after getting electric power, when the electronic device 20 connected to the interface module 101 is a device to be charged with a fast charging function, communication with the electronic device 20 can be established, transmission of fast charging protocol data is completed, and fast charging protocol identification is performed on the electronic device 20 according to the fast charging protocol data.
In addition, after the fast charge control unit 103b is powered on and returns to normal operation, a second on signal is output to the third switch module 106, that is, the signal PWM3 is changed from low level to high level, so that the fifth switch Q5 is turned on, and both the third switch Q3 and the fourth switch Q4 are turned on, so that the first power supply VCC1 provides a fast charge voltage for the electronic device 20 subsequently connected to the interface module 101, thereby realizing charging of the electronic device 20.
In addition, after the data transmission task is completed, the main control unit 103a outputs an off signal to the fourth switch module 107, that is, the signal PWM4 becomes low level, so that the eighth switch tube Q8 is turned on, so that the sixth switch tube Q6 and the seventh switch tube Q7 are both turned off, and the power supply channel of the second power supply VCC2 and the interface module 101 is cut off, so as to avoid overlapping with the charging voltage of the fast charging, and prevent the electronic device 20 to be charged from being damaged by overvoltage.
The present application also provides an interface device, which includes the interface circuit provided in any of the above embodiments, and may be used to provide a fast-charging channel or a conventional data transmission channel for an electronic device to which the interface device is connected, where the interface device may include, but is not limited to, a docking station, a data line, and the like.
The embodiment of the application also provides a charger, which comprises the interface circuit provided by any embodiment, and can be used for being connected with the electronic equipment and the power supply, so as to realize quick charging of the electronic equipment or provide conventional data transmission service (such as software upgrading) for the charger and/or the power supply.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. An interface circuit, comprising:
the interface module is used for being connected with the electronic equipment;
the instruction receiving module is connected with the control module and is used for responding to the triggering operation input by a user and outputting a data transmission signal to the control module;
The control module is used for outputting a first on signal to the first switch module and outputting a first off signal to the second switch module when the data transmission signal is received;
the first switch module is respectively connected with the control module and the interface module and is used for conducting according to the first conducting signal so as to conduct the control module with a first data transmission channel of the electronic equipment, wherein the first data transmission channel is a conventional data transmission channel;
and the second switch module is respectively connected with the control module and the interface module and is used for being turned off according to the first turn-off signal so as to turn off the control module and a second data transmission channel of the electronic equipment, wherein the second data transmission channel is a fast-charging protocol data transmission channel.
2. The interface circuit of claim 1, wherein the control module comprises:
the main control unit is respectively connected with the first switch module, the second switch module and the instruction receiving module and is used for outputting a first on signal to the first switch module and outputting a first off signal to the second switch module when the data transmission signal is received;
The fast charging control unit is respectively connected with the second switch module and the interface module and is used for carrying out fast charging protocol identification on the electronic equipment according to the fast charging protocol data;
the second switch module is also used for being connected with a first power supply and enabling the first power supply to provide working voltage for the quick charge control unit when the second switch module is conducted.
3. The interface circuit according to claim 2, wherein the fast charge control unit is further configured to output a second on signal when the operating voltage is obtained, the interface circuit further comprising:
and the third switch module is respectively connected with the first power supply, the interface module and the quick charge control unit and is used for being conducted when the second conduction signal is received.
4. The interface circuit of claim 3, wherein the control module is further configured to output a third on signal when the data transmission signal is received, the interface circuit further comprising:
and the fourth switch module is respectively connected with the control module and the interface module and is used for being connected with a second power supply and conducting according to the third conducting signal so as to enable the second power supply to supply power to the electronic equipment.
5. The interface circuit of claim 4, further comprising:
the first voltage conversion module is respectively connected with the second power supply and the fourth switch module and is used for converting the voltage output by the second power supply;
the second voltage conversion module is respectively connected with the first power supply, the second switch module and the third switch module and is used for converting the voltage output by the first power supply.
6. The interface circuit of claim 2, wherein the second switching module comprises a first switching tube, a second switching tube, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a first capacitor, and a second capacitor;
the first end of the first switch tube is respectively connected with the first end of the first resistor, the first end of the first capacitor and the first power supply, the second end of the first switch tube is connected with the power supply end of the quick charge control unit, the control end of the first switch tube is respectively connected with the second end of the first resistor, the second end of the first capacitor and the first end of the second resistor, the second end of the second resistor is connected with the first end of the second switch tube, the second end of the second switch tube is grounded, the control end of the second switch tube is connected with the first end of the third resistor and the first end of the second capacitor, the second end of the third resistor is respectively connected with the first end of the fourth resistor and the first end of the fifth resistor, the second end of the fourth resistor is connected with the control module, and the second end of the second capacitor is connected with the second end of the fifth resistor and grounded.
7. The interface circuit of claim 3, wherein the third switching module comprises a third switching tube, a fourth switching tube, a fifth switching tube, and a sixth resistor;
the first end of the third switching tube is connected with the first switching module, the second end of the third switching tube is respectively connected with the second end of the fourth switching tube and the first end of the sixth resistor, the control end of the third switching tube is respectively connected with the control end of the fourth switching tube, the first end of the fifth switching tube and the second end of the sixth resistor, the second end of the fourth switching tube is connected with the interface module, the second end of the fifth switching tube is grounded, and the control end of the fifth switching tube is connected with the quick charge control unit.
8. The interface circuit of claim 4, wherein the fourth switching module comprises a sixth switching tube, a seventh switching tube, an eighth switching tube, and a seventh resistor;
the first end of the sixth switching tube is used for being connected with the second power supply, the second end of the sixth switching tube is connected with the second end of the seventh switching tube and the first end of the seventh resistor respectively, the control end of the sixth switching tube is connected with the control end of the seventh switching tube, the first end of the eighth switching tube and the second end of the seventh resistor respectively, the second end of the seventh switching tube is connected with the interface module, the second end of the eighth switching tube is grounded, and the control end of the eighth switching tube is connected with the control module.
9. An interface device comprising an interface circuit as claimed in any one of claims 1 to 8.
10. A charger comprising an interface circuit as claimed in any one of claims 1 to 8.
CN202321903008.XU 2023-07-18 2023-07-18 Interface circuit, interface device and charger Active CN220475760U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202321903008.XU CN220475760U (en) 2023-07-18 2023-07-18 Interface circuit, interface device and charger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202321903008.XU CN220475760U (en) 2023-07-18 2023-07-18 Interface circuit, interface device and charger

Publications (1)

Publication Number Publication Date
CN220475760U true CN220475760U (en) 2024-02-09

Family

ID=89780779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202321903008.XU Active CN220475760U (en) 2023-07-18 2023-07-18 Interface circuit, interface device and charger

Country Status (1)

Country Link
CN (1) CN220475760U (en)

Similar Documents

Publication Publication Date Title
CN108495224B (en) Communication system
CN100461143C (en) Device operable as both a host and a non-host (i.e. dual-mode device)
CN104978296A (en) Method and apparatus for determining direction of power delivery
CN108321860B (en) Bidirectional charging and discharging circuit architecture
CN211296217U (en) Battery pack
EP3367187A1 (en) Communications equipment, adapter device and communications system
CN101465600B (en) Electronic equipment and power supply device thereof
CN104967524A (en) Intelligent type network device
CN105827023A (en) Wireless charging method between terminals and terminals
CN111431409A (en) System with multiple Type-C interfaces and control method thereof
CN220475760U (en) Interface circuit, interface device and charger
JP2000068922A (en) Portable terminal equipment
CN114079302B (en) Charging circuit, charging chip, electronic device and charging method
CN211017659U (en) USB connects converting circuit and connects converter
CN115347641A (en) Charging and discharging equipment, system and method
EP4258088A1 (en) Stylus
CN109117192B (en) Switching device capable of waking up standby machine and waking device
CN209674371U (en) A kind of bluetooth USB Key circuit
WO2021179295A1 (en) Multi-functional charging apparatus and system
CN111463853A (en) Power supply circuit and robot apparatus
CN217821586U (en) USB switching circuit and USB switching device
CN211958804U (en) Multifunctional charging device and system
CN215987295U (en) Interface expansion device and interface expansion equipment
EP3985828A1 (en) Battery turn on circuit and lithium battery
CN104125315A (en) Time sequence control system and method

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant