USB interface multiplexing circuit and terminal device

By connecting the CAN cable to the USB port and setting a pull-down resistor, the problem of inconvenient operation and increased cost of upgrading the interface is solved, and a USB port can be recharged and upgraded programs is realized, improving convenience and reducing costs.

WO2024239741A1PCT designated stage expired Publication Date: 2024-11-28NANJING YINGFEIYUAN TECHNOLOGY CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/078853
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-24
Filing Date
2024-02-27
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

In the prior art, the use of an upgrade interface to upgrade the product program is inconvenient to operate, and the increase in the device leads to increased costs and difficult product maintenance. Especially in products with high protection levels, the USB port has low recognition and is easy to plug in and out of errors.

Method used

By connecting the communication CAN cable used for product upgrade to the channel configuration end of the USB port, and setting a pull-down resistor at the channel configuration end of the USB port, so that it maintains the same pull-down resistor before connecting to the communication CAN cable, ensuring the voltage during charging Consistent, thus achieving the functionality of a USB port that can both charge and upgrade programs.

Benefits of technology

It improves the convenience of program upgrades, reduces overall costs, and avoids the difficulty of dust protection and airtight protection caused by the addition of USB ports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024078853_28112024_PF_FP_ABST
    Figure CN2024078853_28112024_PF_FP_ABST
Patent Text Reader

Abstract

A USB interface multiplexing circuit and a terminal device. The USB interface multiplexing circuit comprises a CAN bus network (100), a USB interface circuit (200), and a pull-down resistor unit (300), wherein the CAN bus network (100) is electrically connected to a channel configuration end of the USB interface circuit (200); the pull-down resistor unit (300) has one end electrically connected to the channel configuration end of the USB interface circuit (200) and the other end grounded. According to the circuit, a communication CAN line used for product upgrading is connected to a channel configuration end of a USB port, and the channel configuration end of the USB port is pulled down to ground resistance, so as to guarantee that the voltages are recognized to be consistent during charging, making the charging function normal. Therefore, the effect of performing program upgrading while charging can be achieved by means of one USB port, thereby effectively improving the convenience of performing program upgrading by using an upgrading interface, and reducing the overall costs.
Need to check novelty before this filing date? Find Prior Art

Description

USB interface multiplexing circuit and terminal device Technical Field

[0001] The utility model relates to the technical field of circuits, and in particular to a USB interface multiplexing circuit and a terminal device. Background Art

[0002] With the development of smart terminals, the demand for portable energy storage and product program upgrades is increasing. Common product function upgrades generally include remote upgrades and dedicated upgrade interfaces. Among them, the upgrade interface method usually adopts the CAN communication port on the charging gun that communicates with the vehicle end or sets up another port (such as a USB port) on the product. However, the use of the upgrade interface method has the following shortcomings: since the charging gun port is large, the corresponding charging gun holder is large, and on-site program upgrades are inconvenient to operate; setting up another port, or setting up another USB port, for products with a higher protection level, will undoubtedly increase the difficulty of dustproof and airtightness, while increasing components and increasing costs, and the recognition with the USB port used for normal charging and discharging is low, and it is easy to insert the wrong port. Therefore, the existing technology needs to be improved. Technical issues

[0003] The utility model provides a USB interface multiplexing circuit and terminal equipment, aiming to solve the problems in related technologies of inconvenient operation when using an upgrade interface to upgrade product programs, increased costs due to additional components, and difficulty in product maintenance. Technical Solutions

[0004] In order to solve the above technical problems, the first aspect of the present invention provides a USB interface multiplexing circuit, including: a CAN bus network, a USB interface circuit and a pull-down resistor unit, the CAN bus network is electrically connected to the channel configuration end of the USB interface circuit, one end of the pull-down resistor unit is electrically connected to the channel configuration end of the USB interface circuit, and the other end is grounded.

[0005] Furthermore, the first end of the CAN bus network is electrically connected to the first end of the USB interface circuit, and the second end of the CAN bus network is electrically connected to the second end of the USB interface circuit; wherein the first end and the second end of the USB interface circuit are both channel configuration ends.

[0006] Furthermore, the first end of the CAN bus network is electrically connected to the second end of the USB interface circuit, and the second end of the CAN bus network is electrically connected to the first end of the USB interface circuit.

[0007] Furthermore, the pull-down resistor unit includes a first pull-down resistor and a second pull-down resistor; one end of the first pull-down resistor is electrically connected to the first end of the USB interface circuit, and the other end is grounded; one end of the second pull-down resistor is electrically connected to the second end of the USB interface circuit, and the other end is grounded.

[0008] Furthermore, the USB interface multiplexing circuit further includes: a first resistor and a second resistor; the first resistor and the second resistor are both electrically connected between the first end of the CAN bus network and the second end of the CAN bus network.

[0009] Furthermore, the USB interface multiplexing circuit also includes: a third resistor and a fourth resistor; the third resistor is electrically connected between the first end of the CAN bus network and the first end of the USB interface circuit, and the fourth resistor is electrically connected between the second end of the CAN bus network and the second end of the USB interface circuit.

[0010] Furthermore, the USB interface multiplexing circuit also includes: a fifth resistor and a sixth resistor; the fifth resistor is electrically connected between the first end of the CAN bus network and the second end of the USB interface circuit, and the sixth resistor is electrically connected between the second end of the CAN bus network and the first end of the USB interface circuit.

[0011] Furthermore, the third terminal and the fourth terminal of the USB interface circuit are both electrically connected to a power source, and the fourth terminal and the fifth terminal are both grounded.

[0012] Furthermore, the USB interface multiplexing circuit further includes a capacitor, one end of the capacitor is electrically connected to the third end of the USB interface circuit, and the other end is grounded.

[0013] A second aspect of the present invention provides a terminal device, comprising the USB interface multiplexing circuit as described in the first aspect of the present invention. Beneficial effects

[0014] From the above description, it can be seen that compared with the related art, the beneficial effect of the present invention is: by connecting the communication CAN line used for product upgrading to the channel configuration end of the USB port, and pulling down the channel configuration end of the USB port to the ground resistor, so as to maintain the same pull-down resistance as before connecting to the communication CAN line, it is ensured that the voltage is recognized consistently during charging, so that the charging function is normal, so that the effect of both charging and program upgrading can be achieved through one USB port, effectively improving the convenience of program upgrading using the upgrade interface and reducing the overall cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] FIG1 is a basic circuit diagram of a USB interface multiplexing circuit according to an embodiment of the present invention;

[0016] FIG2 is a specific circuit schematic diagram of a first USB interface multiplexing circuit according to an embodiment of the present utility model;

[0017] FIG3 is a specific circuit schematic diagram of a second USB interface multiplexing circuit according to an embodiment of the present utility model;

[0018] FIG4 is a specific circuit schematic diagram of a third USB interface multiplexing circuit according to an embodiment of the present utility model;

[0019] FIG5 is a specific circuit principle diagram of a fourth USB interface multiplexing circuit according to an embodiment of the present utility model. Modes for Carrying Out the Invention

[0020] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. It should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.

[0021] In the related art, there are problems such as inconvenience in operating when using an upgrade interface to upgrade product programs, increased costs due to the addition of components, and difficulty in product maintenance. Therefore, an embodiment of the present utility model provides a USB interface multiplexing circuit.

[0022] As shown in Figure 1, the USB interface multiplexing circuit provided by the embodiment of the present invention includes: a CAN bus network 100, a USB interface circuit 200 and a pull-down resistor unit 300. The CAN bus network 100 is electrically connected to the channel configuration end of the USB interface circuit 200, and one end of the pull-down resistor unit 300 is electrically connected to the channel configuration end of the USB interface circuit, and the other end is grounded.

[0023] In this embodiment, the communication CAN line used for product upgrades is connected to the channel configuration end of the USB port, and the channel configuration end of the USB port is pulled down to a resistor to ground so that the same pull-down resistance is maintained as before the communication CAN line is connected. This ensures that the voltage recognized during charging is consistent and the charging function is normal. This allows the device to be charged and have a program upgrade function through one USB port, effectively improving the convenience of program upgrades using the upgrade interface and reducing overall costs.

[0024] Further, referring to Figure 2, in some implementations of this embodiment, the first end of the CAN bus network is electrically connected to the first end of the USB interface circuit, and the second end of the CAN bus network is electrically connected to the second end of the USB interface circuit; wherein the first end and the second end of the USB interface circuit are both channel configuration ends.

[0025] Specifically, in this embodiment, the CAN_H and CAN_L ends of the CAN bus network are respectively connected to the channel configuration ends of the USB interface circuit, that is, the CC1 pin and CC2 pin of the USB port, wherein the CAN_H end of the CAN bus network is connected to the CC1 pin, and the CAN_L end of the CAN bus network is connected to the CC2 pin. The USB port in this embodiment can be a USB type C (6 pin, 12 pin, 24 pin), and the port on the other side of the USB port can be type A, type B, or type C (6 pin, 12 pin, 24 pin). By connecting the communication CAN line used for product upgrades to the CC1 and CC2 signal ports of the USB instead of the other signal interfaces, a USB port can be shared, that is, the USB port can be used as both a charging port and a program upgrade port, and it can also be ensured that the two do not interfere with each other. For example, for the 6-pin USB type A-type C case, the corresponding connection relationship is shown in Table 1:

[0026] Table 1

[0027] The pin locations of the USB Type-C plug can be seen in the USB Type-C port circuit in Figure 3. Since the CC and Vconn (A5, B5) pins of the USB Type-C plug are not connected to the Type-A port (USB 2.0 Standard-A plug), they are not affected by the Type-A port. For the USB Type-C-to-Type-C case, the corresponding connection relationship is shown in Table 2:

[0028] Table 2

[0029] Since only one CC (A5) is connected between the two USB Type-C plugs, the Vconn signal is only connected to the respective cable EMARK chip ports and is not connected to the external device interface. Therefore, they will not affect each other. In addition, the cable used to upgrade the program that connects to the USB female connector needs to be homemade, so there is no need to consider the impact of external standard cables on CAN communication. When the USB port is used as the charging receiver (UFP), the charging power supply side (DFP) is connected to the CC1 or CC2 terminal through a pull-up resistor Rp (10K, 22K, or 56KΩ). The other end of the pull-up resistor for both CAN_H and CAN_L is connected to VDD 5V. Due to the large pull-up resistor values ​​(10KΩ / 22KΩ / 56KΩ), when the voltage level is recessive, both CAN_H and CAN_L are connected to the pull-up resistor. When the voltage level is dominant, the driver output is strong relative to the pull-up current (less than 0.5mA), so it does not affect the communication signal of the CAN driver.

[0030] Further, referring to Figure 4, in some other implementations of this embodiment, the first end of the CAN bus network is electrically connected to the second end of the USB interface circuit, and the second end of the CAN bus network is electrically connected to the first end of the USB interface circuit; wherein the first end and the second end of the USB interface circuit are both channel configuration ends.

[0031] Specifically, in this embodiment, the CAN_H and CAN_L terminals of the CAN bus network can be interchanged, that is, the CAN_H terminal can be connected to the CC1 pin of the USB port, and the CAN_L terminal can be connected to the CC2 pin of the USB port. The working principle is the same as above and will not be repeated here.

[0032] Furthermore, referring to FIG. 2 and FIG. 4 , the pull-down resistor unit includes a first pull-down resistor R5 and a second pull-down resistor R6 .

[0033] Specifically, one end of the first pull-down resistor R5 is electrically connected to the first end CC1 of the USB interface circuit, and the other end is grounded; one end of the second pull-down resistor R6 is electrically connected to the second end CC2 of the USB interface circuit, and the other end is grounded.

[0034] In this embodiment, the CC1 pin and the CC2 pin are pulled down to ground by resistors R5 and R6, wherein the resistance of the pull-down resistor needs to be adjusted to double (for example, 10KΩ) so that the USB port maintains the same pull-down resistance as before connecting to the CAN port, ensuring that the recognition voltage is consistent during charging and the charging function is normal.

[0035] Furthermore, referring to FIG. 4 and FIG. 5 , the USB interface multiplexing circuit further includes: a first resistor R1 and a second resistor R2 .

[0036] Specifically, the first resistor R1 and the second resistor R2 are both electrically connected between the first end CAN_H of the CAN bus network and the second end CAN_L of the CAN bus network.

[0037] In this embodiment, resistors R1 and R2 are terminal resistors for CAN communication. Resistor R2 can be adjusted to be closer to the CAN port or the USB port according to the distance between the USB port and the CAN port. In this embodiment, the resistance values ​​of resistors R1 and R2 are both 120Ω.

[0038] Furthermore, referring to FIG. 5 , the USB interface multiplexing circuit further includes a third resistor R3 and a fourth resistor R4 .

[0039] Specifically, the third resistor R3 is electrically connected between the first terminal CAN_H of the CAN bus network and the first terminal CC1 of the USB interface circuit, and the fourth resistor R4 is electrically connected between the second terminal CAN_L of the CAN bus network and the second terminal CC2 of the USB interface circuit.

[0040] In this embodiment, the resistors R3 and R4 can be used as current limiting resistors to ensure the normal operation of the electrical appliance.

[0041] Furthermore, referring to FIG. 4 , the USB interface multiplexing circuit further includes a fifth resistor R8 and a sixth resistor R7 .

[0042] Specifically, the fifth resistor R8 is electrically connected between the first terminal CAN_H of the CAN bus network and the second terminal CC2 of the USB interface circuit, and the sixth resistor R7 is electrically connected between the second terminal CAN_L of the CAN bus network and the first terminal CC1 of the USB interface circuit.

[0043] In this embodiment, the resistors R7 and R8 can be used as current limiting resistors to ensure the normal operation of the electrical appliance.

[0044] Furthermore, referring to FIG. 2 and FIG. 4 , the third terminal Vbus and the fourth terminal Vbus of the USB interface circuit are both electrically connected to a power source, and the fourth terminal GND and the fifth terminal GND are both grounded.

[0045] Furthermore, the USB interface multiplexing circuit further includes a capacitor, one end of which is electrically connected to the third terminal Vbus of the USB interface circuit, and the other end is grounded. In this embodiment, a decoupling capacitor can also be connected to the power input terminal to remove coupling noise interference.

[0046] The USB multiplexing circuit provided by the embodiment of the present invention connects the communication CAN line used for product upgrade to the channel configuration end of the USB port, and pulls down the channel configuration end of the USB port to the ground resistor so as to maintain the same pull-down resistance as before connecting to the communication CAN line, thereby ensuring that the voltage recognized during charging is consistent and the charging function is normal. In this way, the effect of both charging and program upgrade can be achieved through one USB port, avoiding the increase in dustproof and airtightness protection difficulty of the product due to the provision of a dedicated USB port, effectively improving the convenience of program upgrade using the upgrade interface and reducing the overall cost.

[0047] The present invention also provides a terminal device including the aforementioned USB interface multiplexing circuit, wherein the terminal device may be a device suitable for a USB Type-C interface, such as a vehicle-mounted device.

[0048] It should be noted that the various embodiments in the present invention are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other.

[0049] It should also be noted that, in the present invention, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further restrictions, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0050] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein, but is intended to be applied in the widest possible manner consistent with the principles and novel features disclosed herein.

Claims

1. A USB interface multiplexing circuit, characterized in that: include: A CAN bus network, a USB interface circuit and a pull-down resistor unit, wherein the CAN bus network is electrically connected to the channel configuration end of the USB interface circuit, one end of the pull-down resistor unit is electrically connected to the channel configuration end of the USB interface circuit, and the other end is grounded.

2. The USB interface multiplexing circuit according to claim 1, characterized in that: The first end of the CAN bus network is electrically connected to the first end of the USB interface circuit, and the second end of the CAN bus network is electrically connected to the second end of the USB interface circuit; wherein the first end and the second end of the USB interface circuit are both channel configuration ends.

3. The USB interface multiplexing circuit according to claim 1, characterized in that: The first end of the CAN bus network is electrically connected to the second end of the USB interface circuit, and the second end of the CAN bus network is electrically connected to the first end of the USB interface circuit.

4. The USB interface multiplexing circuit according to claim 2 or 3, characterized in that: The pull-down resistor unit includes a first pull-down resistor and a second pull-down resistor; One end of the first pull-down resistor is electrically connected to the first end of the USB interface circuit, and the other end is grounded; one end of the second pull-down resistor is electrically connected to the second end of the USB interface circuit, and the other end is grounded.

5. The USB interface multiplexing circuit according to claim 2 or 3, characterized in that: The USB interface multiplexing circuit further includes: a first resistor and a second resistor; The first resistor and the second resistor are both electrically connected between a first end of the CAN bus network and a second end of the CAN bus network.

6. The USB interface multiplexing circuit according to claim 2, characterized in that: The USB interface multiplexing circuit further includes: a third resistor and a fourth resistor; The third resistor is electrically connected between the first end of the CAN bus network and the first end of the USB interface circuit, and the fourth resistor is electrically connected between the second end of the CAN bus network and the second end of the USB interface circuit.

7. The USB interface multiplexing circuit according to claim 3, characterized in that: The USB interface multiplexing circuit further includes: a fifth resistor and a sixth resistor; The fifth resistor is electrically connected between the first end of the CAN bus network and the second end of the USB interface circuit, and the sixth resistor is electrically connected between the second end of the CAN bus network and the first end of the USB interface circuit.

8. The USB interface multiplexing circuit according to claim 1, characterized in that: The third terminal and the fourth terminal of the USB interface circuit are both electrically connected to the power source, and the fourth terminal and the fifth terminal are both grounded.

9. The USB interface multiplexing circuit according to claim 8, characterized in that: The USB interface multiplexing circuit also includes a capacitor, one end of which is electrically connected to the third end of the USB interface circuit, and the other end of which is grounded.

10. A terminal device, characterized in that: It comprises the USB interface multiplexing circuit as claimed in any one of claims 1 to 9.

Citation Information

Patent Citations

  • STM32F103 based USB (universal serial bus) and CAN (controller area network) multiplexer circuit

    CN105528323A

  • Type-C detection method

    CN106681231A

  • Type-c interface device, communication method and communication system

    CN109344108A

  • Charging interface circuit and electronic equipment

    CN215009647U

  • Network equipment, power adapter and network sub-equipment

    CN218006269U