Multi-mode USB interface circuit and multi-mode judgment and switching method

By designing a multi-mode USB interface circuit and using MOS transistors to control the voltage supply circuit, the electric vehicle USB interface can switch between data communication and fast charging modes, solving the problem of the existing technology that cannot simultaneously achieve high-speed communication and high-current fast charging, and improving charging efficiency and communication capabilities.

CN112256620BActive Publication Date: 2025-09-05HANGZHOU CHENHAN INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011199962.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-30
Publication Date
2025-09-05
Estimated Expiration
2040-10-30

AI Technical Summary

Technical Problem

Existing electric vehicle USB interfaces cannot achieve both high-speed communication and high-current fast charging at the same time, resulting in long charging times or even failure to charge.

Method used

A multi-mode USB interface circuit is designed, including a connection control circuit and a voltage supply circuit. MOS transistors are used to control the connection and disconnection between the USB output port and the voltage supply circuit, providing different voltage levels to achieve switching between data communication and fast charging modes.

Benefits of technology

The electric vehicle USB port can flexibly switch between data communication and fast charging modes to meet the different voltage requirements of terminal devices such as mobile phones, thereby improving charging efficiency and communication capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112256620B_ABST
    Figure CN112256620B_ABST
Patent Text Reader

Abstract

The present invention provides a multi-mode USB interface circuit and a multi-mode judgment and switching method. The multi-mode USB interface circuit includes a USB output port, a connection control circuit, a voltage supply circuit, and a single-chip USB port; wherein the USB output port is connected to the single-chip USB port, the connection control circuit is arranged between the USB output port and the voltage supply circuit, and the connection control circuit is used to control the connection and disconnection between the USB output port and the voltage supply circuit, wherein the voltage supply circuit is used to provide a voltage that can be recognized as a fast charging mode by a mobile phone to be charged. In the multi-mode USB interface circuit of the present invention, since the connection control circuit and the voltage supply circuit are provided, the connection and disconnection between the USB output port and the voltage supply circuit can be controlled by the connection control circuit, thereby changing the voltage level on the USB output port, thereby realizing switching between different modes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric vehicles, and in particular to a multi-mode USB interface circuit and a multi-mode judgment and switching method. Background Art

[0002] With the implementation of the new national standard for electric vehicles in 2019, electric two-wheeled vehicles are developing towards safety, lightness, and longer range. Correspondingly, vehicle materials, electric vehicle batteries, battery management units, electric vehicle controllers, vehicle sensors, and vehicle communication architecture have all undergone new changes and developments.

[0003] With the development of vehicle architecture and the need for increased safety, intelligent full-color digital LCD instrument clusters have emerged. These intelligent full-color digital LCD instrument clusters can display and switch a wider range of vehicle information, using a variety of graphics, images, animations, sounds, colors, and lighting. This significantly enhances the human-computer interaction experience and is gradually being adopted by new electric motorcycles, electric two-wheelers, and electric three-wheelers. Color LCD instrument clusters allow for software upgrades and fault diagnosis via wireless or wired communication. USB, as a high-speed communication interface with high-capacity storage, can directly serve as a medium for LCD instrument cluster software upgrades. Therefore, making the USB host interface external in intelligent digital LCD instrument clusters can enrich the functionality of electric vehicles and enhance the user experience.

[0004] Delivery drivers, for example, often spend long hours riding daily, covering vast distances, and often spending extended periods outdoors or in non-stationary locations waiting for their devices. This means their essential transportation, electric vehicles, are gradually becoming equipped with USB charging capabilities. However, these USB charging ports only receive a 5V power signal from the vehicle and lack true USB communication capabilities.

[0005] Therefore, combining fast charging and data communication functions would have enormous market potential. However, when a USB high-speed communication port communicates with a mobile phone or other terminal device in normal mode, the default state of its data signals D+ and D- causes the mobile phone to identify the device as a non-fast charger. The phone then enters normal charging mode, unable to receive high-current charging, resulting in long charging times or even no charging at all. Therefore, the realization of a circuit and method that can simultaneously perform high-speed USB storage and communication and high-current USB fast charging is of great practical value. Summary of the Invention

[0006] In order to solve the above technical problems, the technical solution of the present invention provides: a multi-mode USB interface circuit of an intelligent LCD instrument of an electric vehicle, which includes a USB output port, a connection control circuit, a voltage supply circuit and a single-chip USB port; wherein, the USB output port is connected to the single-chip USB port, and the connection control circuit is arranged between the USB output port and the voltage supply circuit, and the connection control circuit is used to control the connection and disconnection of the USB output port and the voltage supply circuit, wherein the voltage supply circuit is used to provide a voltage that can be recognized as a fast charging mode by the mobile phone to be charged.

[0007] Furthermore, the connection control circuit includes a MOS transistor and a control pin, the MOS transistor is connected between the USB output port and the voltage supply circuit, and the control pin is connected to the gate end of the MOS transistor to control the conduction or cutoff of the MOS transistor by controlling the level of the control pin, thereby controlling the connection or disconnection of the USB output port and the voltage supply circuit.

[0008] Furthermore, the USB output port includes a first port and a second port, the voltage supply circuit includes a first voltage supply circuit and a second voltage supply circuit, and the connection control circuit includes a first connection control circuit and a second connection control circuit, the first connection control circuit is connected between the first port and the first voltage supply circuit, and the second connection control circuit is connected between the second port and the second voltage supply circuit.

[0009] Furthermore, the first connection control circuit includes a first MOS transistor and a first control pin, and the second connection control circuit includes a second MOS transistor and a second control pin, wherein the source terminal of the first MOS transistor is connected to the first port, the drain terminal of the first MOS transistor is connected to the first voltage supply circuit, the source terminal of the second MOS transistor is connected to the second port, and the drain terminal of the second MOS transistor is connected to the second voltage supply circuit.

[0010] Furthermore, the multi-mode USB interface circuit further includes a voltage source, and the first voltage supply circuit and the second voltage supply circuit are both connected to the voltage source.

[0011] Further, the first voltage supply circuit includes a first resistor and a second resistor, one end of the first resistor is connected to the voltage source, the other end of the first resistor is connected to one end of the second resistor, the other end of the second resistor is grounded, and the drain end of the first MOS transistor is connected between the first resistor and the second resistor. The second voltage supply circuit includes a third resistor and a fourth resistor, one end of the third resistor is connected to the voltage source, the other end of the third resistor is connected to one end of the fourth resistor, the other end of the fourth resistor is grounded, and the drain end of the second MOS transistor is connected between the third resistor and the fourth resistor.

[0012] Furthermore, an inductor is connected between the USB output port and the USB port of the single-chip microcomputer.

[0013] Furthermore, the first voltage supply circuit provides a 2V level voltage, and the second voltage supply circuit provides a 2.7V level voltage.

[0014] The present invention also provides a method for judging and switching between data communication mode and fast charging mode, which is used for the multi-mode USB interface circuit as described above, and the method includes the following steps: S1: setting the USB output port to data communication mode by default, and detecting whether a U disk can be recognized. If the U disk can be recognized, proceeding to step S2, otherwise proceeding to step S3; S2: loading the U disk and searching for the upgrade package. If the upgrade package can be searched, automatically entering the upgrade program, otherwise proceeding to step S3; S3: automatically switching to fast charging mode and waiting for the U disk file operation instruction. When the U disk file operation instruction is received, proceeding to step S4; S4: automatically switching to data communication mode and detecting the U disk. If the U disk can be recognized, proceeding to step S5, otherwise proceeding to step S6; S5: automatically loading the U disk and waiting for the read and write operation of the U disk file. After the file read and write operation is completed, proceeding to step S3; S6: maintaining the data communication mode and waiting for the file operation instruction to end. After the file operation instruction is completed, proceeding to step S3.

[0015] Furthermore, in step S2, the upgrade package is automatically deleted and the system is automatically restarted after the upgrade is completed.

[0016] In the multi-mode USB interface circuit of the present invention, the connection control circuit and the voltage supply circuit are provided. This allows the connection control circuit to control the connection and disconnection of the USB output port from the voltage supply circuit, thereby changing the voltage level at the USB output port and achieving switching between different modes. For example, in communication mode, the connection control circuit disconnects the USB output port from the voltage supply circuit, at which point the USB output port connects to the microcontroller USB port for data communication. When switching to fast charging mode, the connection control circuit connects the USB output port to the voltage supply circuit, thereby connecting the USB output port to the corresponding voltage level, allowing the charging mobile phone to determine that it is in fast charging mode and achieve fast charging. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a connection diagram of a conventional USB interface circuit;

[0018] Figure 2 is a circuit diagram of a multi-mode USB interface circuit of the present invention;

[0019] Figure 3 It is a flow chart of the multi-mode judgment and switching method of the present invention. DETAILED DESCRIPTION

[0020] The technical solution of the present invention is further described below in conjunction with specific embodiments, but the present invention is not limited to these embodiments.

[0021] See also Figure 1 In a conventional USB interface circuit, there are four ports, which are respectively connected to the corresponding ports of the terminal device (for example, a mobile phone). Among them, VBUS and GND are used to realize power output to charge the terminal device, and the DM and DP ports are used to identify the fast charging protocol based on the voltage thereon. Only when the voltage on the DM and DP ports meets certain conditions can the mobile phone and other terminal devices be judged as fast charging. At this time, a relatively high voltage is output to the terminal device through VBUS to achieve 2A fast charging mode. As mentioned in the background technology part, when communicating with the terminal device through the DM and DP ports, the default voltage signals on the DM and DP ports do not meet the fast charging voltage conditions. At this time, the mobile phone will be judged as non-fast charging. The mobile phone will enter the normal charging mode and cannot receive high current charging, resulting in a long charging time or actual inability to charge.

[0022] In response to the above technical problems, the present invention proposes a multi-mode USB interface circuit for an intelligent LCD instrument of an electric vehicle, which includes a USB output port, a connection control circuit, a voltage supply circuit and a single-chip USB port; wherein, the USB output port is connected to the single-chip USB port, and the connection control circuit is arranged between the USB output port and the voltage supply circuit. The connection control circuit is used to control the connection and disconnection of the USB output port and the voltage supply circuit, wherein the voltage supply circuit is used to provide a voltage that can be recognized as a fast charging mode by the mobile phone to be charged.

[0023] In the aforementioned multi-mode USB interface circuit, the connection control circuit and voltage supply circuit are provided, allowing the connection control circuit to control the connection and disconnection of the USB output port from the voltage supply circuit, thereby changing the voltage level on the USB output port, thereby achieving switching between different modes. For example, in communication mode, the connection control circuit controls the disconnection of the USB output port from the voltage supply circuit, at which point the USB output port is connected to the USB port of the microcontroller for data communication. When it is necessary to switch to fast charging mode, the connection control circuit controls the connection of the USB output port to the voltage supply circuit, thereby connecting the USB output port to the corresponding voltage level, so that the charging mobile phone is determined to be in fast charging mode, thereby achieving fast charging.

[0024] In a specific embodiment, the connection control circuit may include a MOS transistor and a control pin, wherein the MOS transistor is connected between the USB output port and the voltage supply circuit, and the control pin is connected to the gate end of the MOS transistor to control the conduction or cutoff of the MOS transistor by controlling the level of the control pin, thereby controlling the connection or disconnection of the USB output port and the voltage supply circuit.

[0025] As mentioned above, the USB output port usually includes four ports, among which the DM and DP ports are used to identify the fast charging protocol based on the voltage on them. In order to make the terminal equipment such as mobile phones judge it as fast charging mode, the voltage on the DM and DP ports often needs to meet different voltage levels. For example, for Apple mobile phones, the voltage on the DM and DP ports needs to meet 2V and 2.7V respectively before it can be judged as fast charging mode by the Apple mobile phone. Therefore, in order to enable the DM and DP ports to access different voltage levels, the voltage supply circuit may include a first voltage supply circuit and a second voltage supply circuit, and the connection control circuit includes a first connection control circuit and a second connection control circuit, the first connection control circuit is connected between the DM port and the first voltage supply circuit, and the second connection control circuit is connected between the DP port and the second voltage supply circuit, so that the first connection control circuit is used to control the access of the first level voltage to the DM port, and the second connection control circuit is used to control the access of the second level voltage to the DP port.

[0026] See also Figure 2 , which shows a specific circuit structure diagram of a multi-mode USB interface circuit according to an embodiment of the present invention. The first connection control circuit includes a MOS transistor Q9, and the second connection control circuit includes a MOS transistor Q7. The source terminal of the MOS transistor Q9 is connected to the DM port, and the drain terminal of the MOS transistor Q9 is connected to the first voltage supply circuit. The source terminal of the MOS transistor Q7 is connected to the DP port, and the drain terminal of the MOS transistor Q7 is connected to the second voltage supply circuit.

[0027] like Figure 2 As shown, the first connection control circuit and the second connection control circuit also include control pins BT-RST connected to the corresponding gate terminals of MOS transistors Q9 and Q7 respectively, so as to control the on and off of the corresponding MOS transistors by sending corresponding high and low level signals to the control pins BT-RST.

[0028] For example, in communication mode, the BT-RST pin outputs a high level, turning on Q7 and Q9. The DM and DP ports of the USB output port are connected to the corresponding DM and DP ports of the microcontroller, respectively, for data communication. In fast charging mode, the BT-RST pin outputs a low level, turning on Q7 and Q9. The DM port of the USB output port is connected to a first voltage level, and the DP port of the USB output port is connected to a second voltage level. This allows the phone to identify the device as in fast charging mode, thus achieving 2A charging.

[0029] Therefore, by controlling the level on the BT-RST pin, switching between different modes can be achieved.

[0030] exist Figure 2In the illustrated embodiment, both the first and second voltage supply circuits are connected to the same voltage source VDD. The first voltage supply circuit includes resistors R37 and R39. One end of resistor R37 is connected to the voltage source VDD, the other end of resistor R37 is connected to one end of resistor R39, the other end of resistor R39 is grounded, and the drain of MOS transistor Q9 is connected between resistors R37 and R39. The second voltage supply circuit includes resistors R33 and R35. One end of resistor R33 is connected to the voltage source VDD, the other end of resistor R33 is connected to one end of resistor R35, the other end of resistor R35 is grounded, and the drain of MOS transistor Q7 is connected between resistors R33 and R35.

[0031] Of course, it is understandable that the first voltage supply circuit and the second voltage supply circuit are not limited thereto, and the first voltage supply circuit and the second voltage supply circuit may also be connected to different voltage sources respectively.

[0032] Further, if Figure 2 As shown, an inductor LTIE-4 is connected between the USB output port and the USB port of the single-chip microcomputer, specifically between the corresponding DM port and DP port, to suppress electromagnetic emission.

[0033] In a specific embodiment, the first voltage supply circuit provides a 2V level voltage, and the second voltage supply circuit provides a 2.7V level voltage, so as to enable fast charging of Apple mobile phones.

[0034] In specific embodiments, see, for example, Figure 2 The circuit diagram also provides corresponding voltage regulator diodes to achieve electrostatic protection.

[0035] In a further embodiment of the present invention, a method for judging and switching between data communication mode and fast charging mode is also provided, which is used for the multi-mode USB interface circuit as described above, and the method includes the following steps: S1: setting the USB output port to data communication mode by default, and detecting whether a U disk can be recognized. If the U disk can be recognized, proceed to step S2, otherwise proceed to step S3; S2: loading the U disk and searching for the upgrade package. If the upgrade package can be searched, automatically entering the upgrade program, otherwise proceed to step S3; S3: automatically switching to fast charging mode and waiting for the U disk file operation instruction. When the U disk file operation instruction is received, proceed to step S4; S4: automatically switching to data communication mode and detecting the U disk. If the U disk can be recognized, proceed to step S5, otherwise proceed to step S6; S5: automatically loading the U disk and waiting for the read and write operation of the U disk file. After the file read and write operation is completed, proceed to step S3; S6: maintaining the data communication mode and waiting for the file operation instruction to end. After the file operation instruction is completed, proceed to step S3.

[0036] Furthermore, in step S2, the upgrade package is automatically deleted and the system is automatically restarted after the upgrade is completed.

[0037] See also Figure 3 , which shows a flow chart of the method for judging and switching between the data communication mode and the fast charging mode of the present invention.

[0038] In the above method of the present invention, the switching between the data communication mode and the fast charging mode is realized by controlling the connection control circuit of the multi-mode USB interface circuit. Specifically, the single-chip microcomputer outputs high and low level signals to the control pin BT-RST in the connection control circuit respectively to realize the switching between different modes.

[0039] The above description is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this field, several variations and improvements can be made without departing from the creative concept of the present invention, which all fall within the scope of protection of the present invention.

Claims

1. A multi-mode USB interface circuit for an intelligent LCD instrument in an electric vehicle, characterized in that: It includes a USB output port, a connection control circuit, a voltage supply circuit and a single-chip USB port; wherein, The USB output port is connected to the USB port of the single-chip microcomputer, and the connection control circuit is arranged between the USB output port and the voltage supply circuit. The connection control circuit is used to control the connection and disconnection between the USB output port and the voltage supply circuit, wherein the voltage supply circuit is used to provide a voltage that can be recognized as a fast charging mode by the mobile phone to be charged; wherein, The USB output port includes a first port and a second port, the voltage supply circuit includes a first voltage supply circuit and a second voltage supply circuit, and the connection control circuit includes a first connection control circuit and a second connection control circuit, the first connection control circuit is connected between the first port and the first voltage supply circuit, and the second connection control circuit is connected between the second port and the second voltage supply circuit.

2. The multi-mode USB interface circuit according to claim 1, wherein: The connection control circuit includes a MOS transistor and a control pin. The MOS transistor is connected between the USB output port and the voltage supply circuit. The control pin is connected to the gate end of the MOS transistor to control the conduction or cutoff of the MOS transistor by controlling the level of the control pin, thereby controlling the connection or disconnection of the USB output port and the voltage supply circuit.

3. The multi-mode USB interface circuit according to claim 2, wherein: The first connection control circuit includes a first MOS transistor and a first control pin, and the second connection control circuit includes a second MOS transistor and a second control pin, wherein the source terminal of the first MOS transistor is connected to the first port, the drain terminal of the first MOS transistor is connected to the first voltage supply circuit, the source terminal of the second MOS transistor is connected to the second port, and the drain terminal of the second MOS transistor is connected to the second voltage supply circuit.

4. The multi-mode USB interface circuit according to claim 3, wherein: The multi-mode USB interface circuit further includes a voltage source, and the first voltage supply circuit and the second voltage supply circuit are both connected to the voltage source.

5. The multi-mode USB interface circuit according to claim 4, wherein: The first voltage supply circuit includes a first resistor and a second resistor, one end of the first resistor is connected to the voltage source, the other end of the first resistor is connected to one end of the second resistor, the other end of the second resistor is grounded, and the drain end of the first MOS transistor is connected between the first resistor and the second resistor. The second voltage supply circuit includes a third resistor and a fourth resistor, one end of the third resistor is connected to the voltage source, the other end of the third resistor is connected to one end of the fourth resistor, the other end of the fourth resistor is grounded, and the drain end of the second MOS transistor is connected between the third resistor and the fourth resistor.

6. The multi-mode USB interface circuit according to any one of claims 2 to 5, wherein: An inductor is connected between the USB output port and the single chip USB port.

7. The multi-mode USB interface circuit according to claim 6, wherein: The first voltage supply circuit provides a 2V level voltage, and the second voltage supply circuit provides a 2.7V level voltage.

8. A method for determining and switching between data communication mode and fast charging mode, characterized in that: For a multi-mode USB interface circuit according to any one of claims 1 to 7, the method comprises the following steps: S1: Set the USB output port to data communication mode by default and detect whether a USB flash drive can be recognized. If a USB flash drive can be recognized, proceed to step S2; otherwise, proceed to step S3. S2: Load the USB drive and search for the upgrade package. If the upgrade package is found, the upgrade process will automatically begin. Otherwise, the process will proceed to step S3. S3: Automatically switch to fast charging mode and wait for the USB disk file operation instruction. When the USB disk file operation instruction is received, proceed to step S4; S4: Automatically switch to data communication mode and detect the USB flash drive. If the USB flash drive can be identified, proceed to step S5; otherwise, proceed to step S6; S5: Automatically load the USB drive and wait for the read and write operation of the USB drive file. After the file read and write operation is completed, proceed to step S3; S6: Maintain the data communication mode and wait for the file operation instruction to be completed. After the file operation instruction is completed, proceed to step S3.

9. The method according to claim 8, characterized in that In step S2, after the upgrade is completed, the upgrade package is automatically deleted and the system is automatically restarted.

Citation Information

Patent Citations

  • Implementation method for fast large-current charging of intelligent terminal

    CN106911168A

  • On -vehicle intelligent USB fills device soon based on type -C interface

    CN208489665U

  • Multi-mode USB interface circuit of intelligent liquid crystal instrument of electric vehicle

    CN213182738U