Micro USB transmission signal switching circuit and electronic equipment

By designing the Micro USB signal transfer switching circuit and using the switch chip to switch the connection between the multi-source input pin and the general data pin, the problem of not being able to output the serial port signal under the Micro USB interface is solved, and efficient and convenient serial port signal transmission is achieved, suitable for electronic devices on the Micro USB interface.

CN222939484UActive Publication Date: 2025-06-03HEFEI IFLYTEK TOYCLOUD TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421749682.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2025-06-03
Estimated Expiration
2034-07-23

AI Technical Summary

Technical Problem

When using the Micro USB interface, the serial port signal cannot be output without disassembling and installing the electronic device housing, resulting in damage to structural stability and appearance, and the process is time-consuming and labor-intensive.

Method used

Design a Micro USB transmission signal switching circuit, and use the switching chip to switch the connection between the multi-source input pin and the general data pin under different levels to realize the transmission channel of serial port signals or USB2.0 signals.

Benefits of technology

Without affecting Micro USB transmission of USB2.0 signals, serial port signals can be transmitted through USB data cables, which improves the efficiency of serial port signals, which is convenient and fast. By judging whether the power cable pin of the Micro USB interface is connected to the power supply, it can quickly open the transmission channel and improve signal transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222939484U_ABST
    Figure CN222939484U_ABST
Patent Text Reader

Abstract

The utility model provides a Micro USB transmission signal switching circuit and electronic equipment, and relates to the technical field of circuits. According to the Micro USB transmission signal switching circuit, through the switch chip, when the switch selection pin meets different conditions, the first multi-source input pin or the second multi-source input pin is switched to be connected with the general data pin, so that a transmission channel of a serial port signal or a USB2.0 signal is generated; the serial port signal can be transmitted through the USB data line on the basis that USB 2.0 signal transmission of the Micro USB is not affected, the leading-out efficiency of the serial port signal can be greatly improved, and convenience and rapidness are achieved. Moreover, the Micro USB transmission signal switching circuit can realize quick opening of a corresponding transmission channel by judging whether the power line pin of the Micro USB interface is connected to the power supply or not, thereby improving the signal transmission efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of circuits, in particular to a Micro USB transmission signal switching circuit and an electronic device. Background Art

[0002] Currently, mainstream consumer electronic devices include mobile phones, tablets, dictionary pens, etc. When users need to use a host computer such as a computer to perform data communication with these electronic devices, they will choose to use a USB data cable to connect the two together, and operations such as data migration and resource replication can be completed using a USB2.0 or USB3.0 interface. However, during the development stage of these electronic devices, in addition to the USB interface, developers generally also need to lead out the serial port signal of the main control chip of the electronic device and connect it to the host computer to view the output log of the main control chip, so as to know the operating state of the main control chip.

[0003] In addition to the development stage, when it is necessary to analyze the after-sales failure reasons of electronic devices, it is often necessary to lead out the serial port signal and locate the failure reasons by viewing the log information. During the development process, it is also necessary to frequently view the log using the serial port of the main control chip.

[0004] Since the serial port of the main control chip is generally represented by a test point on the circuit board and is encapsulated inside the shell of the electronic device. Most existing solutions disassemble the shell of the electronic device, lead out the serial port signal by soldering wires from the test point, then assemble the shell, and then connect the serial port signal led out by the soldering wires from the test point to the host computer through a serial port to universal serial bus (USB) tool and use a USB data cable. Otherwise, the log cannot be viewed. With this implementation scheme, once the shell of the electronic device is disassembled and the test point soldering wires are led out, not only the structure stability and appearance of the electronic device's shell are affected due to damage, but also the process of disassembling and assembling the shell is very time-consuming and laborious.

[0005] To avoid disassembling and assembling the shell of the electronic device, in existing solutions, the reserved pins SBU1 and SBU2 in the TYPE-C connector are used to lead out the serial port signal through a switching switch, and then the resistance values of the CC1 / CC2 pins are detected to determine whether the serial port signal is led out. Although this scheme can solve the problem of disassembly, the TYPE-C USB connector is larger in volume and more expensive than the Micro USB connector. The advantage is that it has more pins. In some products, due to the limited product volume and cost control reasons, it is necessary to use a Micro USB connector, which only has four pins: VBUS, DP, DN, and GND, and does not have pins such as SBU1, SBU2, CC1, and CC2. Therefore, the above scheme cannot achieve the function of leading out the serial port signal. Summary of the Utility Model

[0006] The present utility model provides a Micro USB transmission signal switching circuit and an electronic device to solve the defects existing in the related art.

[0007] The present utility model provides a Micro USB transmission signal switching circuit, including: a switch chip, a first resistor, and a second resistor;

[0008] The switch selection pin of the switch chip is connected to the power supply pin of the Micro USB interface through the first resistor and grounded through the second resistor;

[0009] The first multi-source input pin of the switch chip is connected to the serial port of the main control chip;

[0010] The second multi-source input pin of the switch chip is connected to the USB2.0 data line pin of the main control chip;

[0011] The general data pin of the switch chip is connected to the data line pin of the Micro USB interface; the switch chip is configured such that when the switch selection pin is at a low level, the general data pin is connected to the first multi-source input pin; when the switch selection pin is at a high level, the general data pin is connected to the second multi-source input pin.

[0012] According to a Micro USB transmission signal switching circuit provided by the present utility model, the Micro USB interface is used to insert a Micro USB wire harness, and the switch selection pin is at a high level.

[0013] According to a Micro USB transmission signal switching circuit provided by the present utility model, the Micro USB interface is used to insert a serial port wire harness, and the switch selection pin is at a low level.

[0014] According to a Micro USB transmission signal switching circuit provided by the present utility model, the power supply pin of the switch chip is connected to a switching power supply and grounded through a first filtering module.

[0015] According to a Micro USB transmission signal switching circuit provided by the present utility model, the switch selection pin is grounded through a second filtering module;

[0016] The enable pin of the switch chip is grounded through a third resistor.

[0017] According to a Micro USB transmission signal switching circuit provided by the present utility model, the first multi-source input pin includes a first positive pole pin and a first negative pole pin, and the serial port includes a receive pin and a transmit pin;

[0018] The first positive pole pin is connected to the transmit pin;

[0019] The first negative diode pin is connected to the receiving pin.

[0020] According to a Micro USB transmission signal switching circuit provided by the present utility model, the second multi-source input pin includes a second positive diode pin and a second negative diode pin, and the USB2.0 data line pins of the main control chip include a third positive diode pin and a third negative diode pin;

[0021] The second positive diode pin is connected to the third positive diode pin;

[0022] The second negative diode pin is connected to the third negative diode pin.

[0023] According to a Micro USB transmission signal switching circuit provided by the present utility model, the general data pin includes a fourth positive diode pin and a fourth negative diode pin;

[0024] The data line pins of the Micro USB interface include a fifth positive diode pin and a fifth negative diode pin;

[0025] The fourth positive diode pin is connected to the fifth positive diode pin;

[0026] The fourth negative diode pin is connected to the fifth negative diode pin.

[0027] According to a Micro USB transmission signal switching circuit provided by the present utility model, the resistance value of the first resistor is 10KΩ, and the resistance value of the second resistor is 20KΩ.

[0028] The present utility model also provides an electronic device, including: a main control chip, a Micro USB interface, and the above-mentioned Micro USB transmission signal switching circuit.

[0029] The Micro USB transmission signal switching circuit and the electronic device provided by the present utility model. The Micro USB transmission signal switching circuit switches the connection between the first multi-source input pin or the second multi-source input pin and the general data pin when the switch selection pin meets different conditions through a switch chip, thereby generating a transmission channel for serial signals or USB2.0 signals. It is possible to transmit serial signals through the USB data line without affecting the transmission of USB2.0 signals by Micro USB, which can greatly improve the extraction efficiency of serial signals, and is convenient and fast. Moreover, the Micro USB transmission signal switching circuit can quickly open the corresponding transmission channel by judging whether the power supply pin of the MicroUSB interface is powered on, improving the signal transmission efficiency. Description of the Drawings

[0030] To more clearly illustrate the technical solutions in the present utility model or related technologies, the following will briefly introduce the drawings required for use in the embodiments or related technology descriptions. Obviously, the drawings in the following descriptions are some embodiments of the present utility model. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0031] Figure 1 It is a schematic structural diagram of a Micro USB transmission signal switching circuit provided by the present utility model.

[0032] Figure 2 It is a schematic structural diagram of an electronic device provided by the present utility model. Detailed implementation manners

[0033] To make the objectives, technical solutions, and advantages of the present utility model clearer, the following will clearly and completely describe the technical solutions in the present utility model with reference to the drawings in the present utility model. Obviously, the described embodiments are some, but not all, of the embodiments of the present utility model. Based on the embodiments in the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present utility model.

[0034] In the prior art, when applying a Micro USB interface, it is impossible to lead out a serial port signal without disassembling and assembling the housing of the electronic device. Based on this, in the embodiments of the present utility model, a Micro USB transmission signal switching circuit is provided, and this circuit can be applied to a Micro USB interface.

[0035] Figure 1 It is a schematic structural diagram of a Micro USB transmission signal switching circuit provided in the embodiments of the present utility model. The Micro USB transmission signal switching circuit provided in the embodiments of the present utility model includes: a switch chip U1, a first resistor R1, and a second resistor R2.

[0036] The switch selection pin SEL of the switch chip U1 is connected to the power supply pin VBUS of the Micro USB interface 3 through the first resistor R1 and grounded through the second resistor R2.

[0037] The first multi-source input pin HSD1 of the switch chip U1 is serially connected to the serial port of the main control chip U2. The second multi-source input pin HSD2 of the switch chip U1 is connected to the USB2.0 data line pin of the main control chip U2. The general data pin of the switch chip U1 is connected to the data line pin of the Micro USB interface 3. The switch chip U1 is configured such that when the switch selection pin SEL is at a low level, the general data pin is connected to the first multi-source input pin HSD1; when the switch selection pin SEL is at a high level, the general data pin is connected to the second multi-source input pin HSD2.

[0038] Specifically, the switch chip U1 can adopt FSUSB42UMX, and can include a switch selection pin SEL, a first multi-source input pin HSD1, a second multi-source input pin HSD2, a general data pin D, a power supply pin VCC, an enable pin / OE, and a ground pin GND.

[0039] The Micro USB interface 3 can include a power supply line pin (Voltage Bus, VBUS), a data line pin (Data Positive / Data Negative, DP / DN), a device type detection pin (Identification, ID), and a ground pin (Ground, GND). The power supply line pin VBUS can be used to access power and supply power to the electronic device where the main control chip U2 is located. Usually, the power supply pin VBUS can access a 5V DC voltage. The data line pin can be used for bidirectional data transmission between the electronic device where the main control chip U2 is located and the electronic device connected to the Micro USB interface 3.

[0040] The device type detection pin ID is used to detect the type of the connected device. When the Micro USB plug is inserted into the electronic device where the main control chip U2 is located, the device type detection pin ID can identify whether the electronic device where the main control chip U2 is located is a host or a peripheral through different resistance values. When the device type detection pin ID is connected to the ground, it indicates that the electronic device where the main control chip U2 is located is a host; when the device type detection pin ID is floating, it indicates that the electronic device where the main control chip U2 is located is a peripheral. The ground pin GND is used to provide grounding for the circuit.

[0041] The switch selection pin SEL of the switch chip U1 is connected to the power supply line pin VBUS of the Micro USB interface 3 through a first resistor R1 and grounded through a second resistor R2.

[0042] The first multi-source input pin HSD1 of the switch chip U1 can be connected to the serial port of the main control chip U2. The second multi-source input pin HSD2 of the switch chip U1 can be connected to the USB2.0 data line pin of the main control chip U2. The general data pin D of the switch chip U1 is connected to the data line pin of the Micro USB interface 3.

[0043] The resistance values of the first resistor R1 and the second resistor R2 can be set as needed, either equal or different.

[0044] The model of the main control chip U2 can be V833. The serial port of the main control chip U2 can be a Universal Asynchronous Receiver / Transmitter (UART) serial port or other types of serial ports. This serial port can be used to output the serial port signal of the main control chip U2 or to input the serial port signal from the Micro USB interface. Among them, the serial port signal of the main control chip U2 can be the log information generated by the main control chip U2.

[0045] The data line pin of the main control chip U2 can be used to output the USB2.0 signal of the main control chip U2 or to input the USB2.0 signal from the Micro USB interface 3.

[0046] When the switch selection pin SEL of the switch chip U1 is at a low level, it means that the power supply pin of the Micro USB interface 3 is floating and not connected to the power supply. At this time, the general data pin D of the switch chip U1 is connected to the first multi-source input pin HSD1. At this time, the serial port 21 of the main control chip U2 is connected to the data line pin of the USB interface 3 through the switch chip U1, and two-way transmission of the serial port signal can be achieved between the electronic device where the main control chip U2 is located and the electronic device connected to the Micro USB interface 3.

[0047] When the switch selection pin SEL of the switch chip U1 is at a high level, it means that the power supply pin of the Micro USB interface is connected to the power supply. At this time, the general data pin D of the switch chip U1 is connected to the second multi-source input pin HSD2. At this time, the USB2.0 data line pin of the main control chip U2 is connected to the data line pin D3 of the Micro USB interface 3 through the switch chip U1, and two-way transmission of the USB2.0 signal can be achieved between the electronic device where the main control chip U2 is located and the electronic device connected to the Micro USB interface 3.

[0048] The Micro USB transmission signal switching circuit provided in the embodiment of the present utility model includes: a switch chip, a first resistor, and a second resistor; the switch selection pin of the switch chip is connected to the power supply pin of the Micro USB interface through the first resistor and grounded through the second resistor; the first multi-source input pin of the switch chip is connected to the serial port of the main control chip; the second multi-source input pin of the switch chip is connected to the USB2.0 data line pin of the main control chip; the general data pin of the switch chip is connected to the data line pin of the Micro USB interface; the switch chip is configured such that when the switch selection pin is at a low level, the general data pin is connected to the first multi-source input pin; when the switch selection pin is at a high level, the general data pin is connected to the second multi-source input pin. The Micro USB transmission signal switching circuit switches the connection between the first multi-source input pin or the second multi-source input pin and the general data pin when the switch selection pin meets different conditions through the switch chip, thereby generating a transmission channel for serial port signals or USB2.0 signals. It can transmit serial port signals through the USB data line without affecting the transmission of USB2.0 signals by the Micro USB, which can greatly improve the extraction efficiency of serial port signals, being convenient and fast. Moreover, the Micro USB transmission signal switching circuit can quickly open the corresponding transmission channel by judging whether the power supply pin of the Micro USB interface is powered on, improving the signal transmission efficiency.

[0049] Based on the above embodiment, the Micro USB interface is used to insert a Micro USB wire harness, and the switch selection pin is at a high level.

[0050] Specifically, if the wire harness inserted into the Micro USB interface 3 is a Micro USB wire harness, only the device type detection pin ID in the Micro USB wire harness is floating, the power supply pin VBUS of the Micro USB interface is powered on and at a high level. After voltage division by the first resistor R1 and the second resistor R2, the switch selection pin SEL of the switch chip U1 is at a high level.

[0051] Based on the above embodiment, the Micro USB interface is used to insert a serial port wire harness, and the switch selection pin is at a low level.

[0052] Specifically, if the wire harness inserted into the Micro USB interface 3 is a serial port wire harness, such as a UART wire harness, the device type detection pin ID and the power supply pin VBUS of the serial port wire harness are both floating, the power supply pin VBUS of the Micro USB interface is not powered on and at a low level. After voltage division by the first resistor R1 and the second resistor R2, the switch selection pin SEL of the switch chip U1 is at a low level.

[0053] Such as Figure 1As shown, based on the above embodiments, the first multi-source input pin HSD1 includes a first positive pin HSD1+ and a first negative pin HSD1-. The serial port of the main control chip U2 includes a receive pin RXD and a transmit pin TXD. The first positive pin HSD1+ is connected to the transmit pin TXD; the first negative pin HSD1- is connected to the receive pin RXD, enabling bidirectional transmission of serial port signals.

[0054] As Figure 1 shown, based on the above embodiments, the second multi-source input pin HSD2 includes a second positive pin HSD2+ and a second negative pin HSD2-. The USB2.0 data line pins of the main control chip U2 include a third positive pin USB_DP and a third negative pin USB_DN. The second positive pin HSD2+ is connected to the third positive pin USB_DP; the second negative pin HSD2- is connected to the third negative pin USB_DN, enabling bidirectional transmission of USB2.0 signals.

[0055] As Figure 1 shown, based on the above embodiments, the general data pins of the switch chip U1 include a fourth positive pin D+ and a fourth negative pin D-. The data line pins of the Micro USB interface 3 include a fifth positive pin DP and a fifth negative pin DN. The fourth positive pin D+ is connected to the fifth positive pin DP, and the fourth negative pin D- is connected to the fifth negative pin DN, enabling bidirectional transmission of serial port signals or USB2.0 signals.

[0056] Based on the above embodiments, the power pin of the switch chip is connected to a switching power supply and grounded through a first filtering module.

[0057] Specifically, the power pin VCC of the switch chip U1 can be connected to a 3.3V DC power supply.

[0058] The power pin VCC of the switch chip U1 can also be grounded through the first filtering module, and the first filtering module enables the switching power supply VDD to provide a stable voltage.

[0059] As Figure 1 shown, the first filtering module can include two parallel capacitors, namely the first capacitor C2 and the second capacitor C3. The capacitance value of the first capacitor C2 can be 10uF, and the capacitance value of the second capacitor C3 can be 100nF.

[0060] Based on the above embodiments, the switch selection pin is grounded through a second filtering module;

[0061] The enable pin of the switch chip is grounded through a third resistor.

[0062] Specifically, as Figure 1As shown, the switch selection pin SEL of the switch chip U1 is grounded through the second filtering module, which can be the third capacitor C1, and the capacitance value of the third capacitor C1 can be 100 nF.

[0063] The enable pin / OE of the switch chip U1 can be grounded through the third resistor R3.

[0064] Based on the above embodiments, the resistance value of the first resistor R1 can be 10 KΩ, and the resistance value of the second resistor R2 can be 20 KΩ.

[0065] As Figure 2 shown, based on the above embodiments, the embodiment of the present invention also provides an electronic device, including: a main control chip U2, a Micro USB interface 3, and the Micro USB transmission signal switching circuit 20 provided in each of the above embodiments.

[0066] The serial port 21 of the main control chip U2 is connected to the first multi-source input pin HSD1 of the switch chip U1 in the Micro USB transmission signal switching circuit 20.

[0067] The USB2.0 data line pin 22 of the main control chip U2 is connected to the second multi-source input pin HSD2 of the switch chip U1 in the Micro USB transmission signal switching circuit 20.

[0068] The data line pin 31 of the Micro USB interface 3 is connected to the general data pin D of the switch chip U1 in the Micro USB transmission signal switching circuit 20.

[0069] If the wire harness inserted into the Micro USB interface 3 is a Micro USB wire harness, then USB2.0 signals can be transmitted between this electronic device and the electronic device connected to the Micro USB interface 3, that is, the electronic device connected to the other end of the Micro USB wire harness, through the Micro USB wire harness.

[0070] If the wire harness inserted into the Micro USB interface 3 is a serial port wire harness, then serial port signals can be transmitted between this electronic device and the electronic device connected to the Micro USB interface 3, that is, the electronic device connected to the other end of the serial port wire harness, through the serial port wire harness.

[0071] In the electronic device provided in the embodiment of the present utility model, by introducing a Micro USB transmission signal switching circuit, the USB2.0 signal can be transmitted through the Micro USB wire harness inserted into the Micro USB interface, and the serial port signal can be transmitted through the serial port wire harness inserted into the Micro USB interface. On the basis of not affecting the transmission of the USB2.0 signal by the Micro USB, the serial port signal can be transmitted through the USB data cable, which can greatly improve the extraction efficiency of the serial port signal and is convenient and fast.

[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present utility model and are not intended to limit them. Although the present utility model has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments or perform equivalent replacements for some of the technical features. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present utility model.

Claims

1. A Micro USB transmission signal switching circuit, characterized in that: include: A switch chip, a first resistor and a second resistor; The switch selection pin of the switch chip is connected to the power line pin of the Micro USB interface through the first resistor, and is grounded through the second resistor; The first multi-source input pin of the switch chip is connected to the serial port of the main control chip; The second multi-source input pin of the switch chip is connected to the USB2.0 data line pin of the main control chip; The universal data pin of the switch chip is connected to the data line pin of the Micro USB interface; the switch chip is configured so that when the switch selection pin is at a low level, the universal data pin is connected to the first multi-source input pin; when the switch selection pin is at a high level, the universal data pin is connected to the second multi-source input pin.

2. The Micro USB transmission signal switching circuit according to claim 1, characterized in that: The Micro USB interface is used to insert a Micro USB harness, and the switch selection pin is a high level.

3. The Micro USB transmission signal switching circuit according to claim 1, characterized in that: The Micro USB interface is used to insert a serial port harness, and the switch selection pin is at a low level.

4. The Micro USB transmission signal switching circuit according to any one of claims 1 to 3, characterized in that: The power pin of the switch chip is connected to a switch power supply and is grounded through a first filter module.

5. The Micro USB transmission signal switching circuit according to any one of claims 1 to 3, characterized in that: The switch selection pin is grounded through the second filter module; The enable pin of the switch chip is grounded through a third resistor.

6. The Micro USB transmission signal switching circuit according to any one of claims 1 to 3, characterized in that: The first multi-source input pin includes a first positive pin and a first negative pin, and the serial port includes a receiving pin and a transmitting pin; The first positive pin is connected to the sending pin; The first cathode pin is connected to the receiving pin.

7. The Micro USB transmission signal switching circuit according to any one of claims 1 to 3, characterized in that: The second multi-source input pin includes a second positive pin and a second negative pin, and the USB2.0 data line pin of the main control chip includes a third positive pin and a third negative pin; The second positive electrode pin is connected to the third positive electrode pin; The second cathode pin is connected to the third cathode pin.

8. The Micro USB transmission signal switching circuit according to any one of claims 1 to 3, characterized in that: The universal data pin includes a fourth positive pin and a fourth negative pin; The data line pins of the Micro USB interface include a fifth positive pin and a fifth negative pin; The fourth positive electrode pin is connected to the fifth positive electrode pin; The fourth cathode pin is connected to the fifth cathode pin.

9. The Micro USB transmission signal switching circuit according to any one of claims 1 to 3, characterized in that: The resistance value of the first resistor is 10KΩ, and the resistance value of the second resistor is 20KΩ.

10. An electronic device, characterized in that: include: A main control chip, a Micro USB interface, and a Micro USB transmission signal switching circuit as claimed in any one of claims 1 to 9.