USB port circuit
By designing a USB port circuit that includes a charging port, a data burn port and an analog switch, the problem that existing USB ports cannot be compatible with charging protocols and burn ports is solved, and the compatibility and simple appearance of the USB port are achieved.
Patent Information
- Application Number
- CN202421968569.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2034-08-14
AI Technical Summary
The existing USB ports are not compatible with charging protocols and burning, resulting in complex design and inconvenient implementation when charging and burning are required at the same time.
A USB port circuit is designed, including a charging port, a data burning port, a control port, a first analog switch and a second analog switch. Through the connection and control of these components, the USB port can switch to the connection of a charging port or a data burning port under the control of the control port.
It realizes that the USB port is compatible with charging protocol output and burning, and there is no need to design the USB port for additional ports, making the appearance of the USB port more simple.
Smart Images

Figure CN222994928U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of data transmission, and particularly to a USB port circuit. Background Art
[0002] The USB (Universal Serial Bus) port is a standard computer interface used to connect external devices and computer systems for data transmission and power supply.
[0003] In the related art, a USB port with only a charging protocol is actually only used for charging and discharging of the USB port. When programming the USB port, port design of the USB port is required to upgrade the programming port. However, the design of the USB port is generally internally sealed and not easily disassembled.
[0004] In the prior art, the USB port cannot be compatible with both the charging protocol and programming. Summary of the Utility Model
[0005] The main object of the utility model is to propose a USB port circuit, aiming to solve the problem that the USB port cannot be compatible with both the charging protocol and programming. To achieve the above object, the USB port circuit of the utility model includes:
[0006] A charging port connected to the trigger interface of an external charging protocol chip;
[0007] A data programming port connected to an external single-chip microcomputer;
[0008] A control port connected to an external single-chip microcomputer;
[0009] A first analog switch respectively connected to the data programming port, the charging port and the USB port;
[0010] A second analog switch respectively connected to the data programming port, the charging port and the USB port;
[0011] Wherein, the enable terminals of the first analog switch and the second analog switch are commonly connected to the control port, and are used to connect the USB port to the charging port or the data programming port under the control of the control port.
[0012] Further, it further includes:
[0013] A grounding port respectively connected to the first analog switch and the second analog switch.
[0014] Further, it further includes:
[0015] A power supply port, which is respectively connected to the first analog switch and the second analog switch and is used for connecting to an external power supply.
[0016] Furthermore, the model of the first analog switch is BL1551; and / or,
[0017] The model of the second analog switch is BL1551.
[0018] Furthermore, the first analog switch includes: a first input port, a second input port, and a first output port. The first input port is connected to the charging port, the second input port is connected to the data programming port, and the first output port is connected to the USB port;
[0019] The second analog switch includes: a third input port, a fourth input port, and a second output port. The third input port is connected to the charging port, the fourth input port is connected to the data programming port, and the second output port is connected to the USB port.
[0020] Furthermore, the charging port includes a first charging port and a second charging port. The first charging port is connected to the first input port, and the second charging port is connected to the third input port.
[0021] Furthermore, among the first charging port and the second charging port, the first charging port is a data positive line port, and the second charging port is a data negative line port.
[0022] Furthermore, the data programming port includes: a first programming port and a second programming port. The first programming port is connected to the second input port, and the second programming port is connected to the fourth input port.
[0023] Furthermore, among the first programming port and the second programming port, the first programming port is a data sending port, and the second programming port is a data receiving port.
[0024] Furthermore, the USB port includes a data positive extreme port and a data negative extreme port. The data positive extreme port is connected to the first output port, and the data negative extreme port is connected to the second output port.
[0025] The beneficial effect of the technical solution of the present utility model lies in that: the data programming port, the charging port, and the USB port are respectively connected through the first analog switch and the second analog switch, and the first analog switch and the second analog switch are controlled by controlling the enable end, so that the USB port is compatible with both the charging protocol output and programming at the same time, without the need for additional port design for the USB port, making the appearance of the USB port more concise. Description of the Drawings
[0026] Figure 1 This is a schematic diagram of the circuit structure of an embodiment of a USB port circuit of the present utility model;
[0027] Figure 2 This is a top view structure diagram of the first analog switch in a USB port circuit of the present utility model;
[0028] Figure 3 This is a schematic diagram of the circuit structure of the first analog switch in a USB port circuit of the present utility model.
[0029] Explanation of the reference numerals in the drawings: 1. The first analog switch; 2. The second analog switch.
[0030] The realization of the purpose, functional features and advantages of the present utility model will be further described with reference to the embodiments and the accompanying drawings. Specific embodiments
[0031] Next, the solutions in the embodiments of the present utility model will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present utility model. Obviously, the described embodiments are only a part of the embodiments of the present utility model, rather than all of the embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of the present utility model.
[0032] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present utility model are only used to explain the relative positional relationship and movement conditions between components in a specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indications will also change accordingly.
[0033] It should also be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or there may be an intermediate element at the same time. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or there may be an intermediate element at the same time.
[0034] In addition, the descriptions involving "first", "second", etc. in the present utility model are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement them. When the combination of technical solutions results in contradictions or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present utility model.
[0035] The main object of the present utility model is to propose a USB (Universal Serial Bus) port circuit, aiming to solve the problem that the USB port cannot be compatible with the charging protocol and programming.
[0036] As an implementation, as Figure 1 shown, the USB port circuit includes:
[0037] A charging port for connecting to the trigger interface of an external charging protocol chip;
[0038] A data programming port for connecting to an external single-chip microcomputer;
[0039] A control port for connecting to an external single-chip microcomputer;
[0040] A first analog switch, respectively connected to the data programming port, the charging port and the USB port;
[0041] A second analog switch, respectively connected to the data programming port, the charging port and the USB port;
[0042] Wherein, the enable terminals of the first analog switch and the second analog switch are commonly connected to the control port, and are used to connect the USB port to the charging port or the data programming port under the control of the control port. It should be noted that the USB port can include multiple different versions, such as USB1.0, USB2.0 and USB3.0, preferably the USB3.0 port. The USB3.0 has improved the data transfer rate, supports faster charging capabilities and higher power output. The charging protocol chip can improve the charging efficiency and safety of the device, and also enables the device to be compatible with multiple charging devices and standards. The charging port is connected to the trigger interface of the external charging protocol, and can improve the charging efficiency and safety when the USB port needs to be charged.
[0043] Furthermore, the USB port circuit further includes:
[0044] A ground port, respectively connected to the first analog switch and the second analog switch.
[0045] Furthermore, it further includes:
[0046] A power port, respectively connected to the first analog switch and the second analog switch, for connecting to an external power supply.
[0047] As an implementation, the model of the first analog switch and the model of the second analog switch are both BL1551, or, the model of any one of the first analog switch and the second analog switch is BL1551. The first analog switch and the second analog switch can also be analog switches of other models.
[0048] Specifically, as Figure 2 and Figure 3 shown, BL1551 is a single - power - supply broadband (300 MHz) single - pole double - throw analog switch. Under the condition of power supply VCC = 5V, the on - resistance is only 2.7Ω, and the operating voltage range is 1.8V - 5.5V. Figure 2 In it, pin 1 of BL1551 is the first input port A1, pin 2 is the ground terminal GND, pin 3 is the second input port A2, pin 4 is the output terminal B, pin 5 is the power supply terminal VCC, and pin 6 is the enable terminal ENB. Among them, the power supply terminal VCC is used to connect to an external power supply, the ground terminal GND is used for grounding, and the enable terminal ENB is used to control the first input port A1, the second input port A2, and the output terminal B. When a high - level voltage is applied to the enable terminal ENB, the first input port A1 is connected to the output terminal B. When a low - level voltage is applied to the enable terminal ENB, the second input port A2 is connected to the output terminal B. By controlling the enable terminal ENB, the function of single - pole double - throw is achieved.
[0049] As an implementation manner, the first analog switch includes: a first input port, a second input port, and a first output port. The first input port is connected to the charging port, the second input port is connected to the data programming port, and the first output port is connected to the USB port. Specifically, the first input port is the first input port A1 of the first analog switch, the second input port is the first input port A1 of the first analog switch, and the first output port is the output terminal B of the first analog switch.
[0050] The second analog switch includes: a third input port, a fourth input port, and a second output port. The third input port is connected to the charging port, the fourth input port is connected to the data programming port, and the second output port is connected to the USB port. Specifically, the third input port is the first input port A1 of the second analog switch, the fourth input port is the first input port A1 of the second analog switch, and the second output port is the output terminal B of the second analog switch.
[0051] As an implementation manner, the charging port includes a first charging port and a second charging port. The first charging port is connected to the first input port, and the second charging port is connected to the third input port. Specifically, among the first charging port and the second charging port, the first charging port is the data positive line port DP1_1, and the second charging port is the data negative line port DM1_1. The data positive line port DP1_1 and the data negative line port DM1_1 are two differential signal lines defined in the USB specification and are used for data transmission. Further, the USB port includes a data positive extreme port DP1 and a data negative extreme port DM1. The data positive extreme port DP1 is connected to the first output port, and the data negative extreme port DM1 is connected to the second output port. The data positive extreme port DP1 and the data negative extreme port DM1 are also two differential signal lines defined in the USB specification and are used for data transmission. USB transmits data through differential signals, and this method can effectively resist electromagnetic interference and signal attenuation, improving the stability and reliability of data transmission.
[0052] Further, the data programming port includes: a first programming port and a second programming port. The first programming port is connected to the second input port, and the second programming port is connected to the fourth input port. Specifically, among the first programming port and the second programming port, the first programming port is the data sending port IAP_TXD (In Application Programming TransmitData), and the second programming port is the data receiving port IAP_RXD (In Application Programming ReceiveData). It should be noted that the first programming port is connected to the output end of the single-chip microcomputer, and the second programming port is connected to the input end of the single-chip microcomputer. Through the first programming port and the second programming port, the single-chip microcomputer can program the USB port.
[0053] As an implementation manner, the power supply ports of the first analog switch and the second analog switch are both connected to the working power supply V_WORK, the voltage of the working power supply V_WORK is 5V, the first charging port is connected to the first analog switch, the second charging port is connected to the second analog switch, the positive data terminal DP1 of the USB port is connected to the first analog switch, and the negative data terminal DM1 is connected to the second analog switch. The enable terminals of the first analog switch and the second analog switch are commonly connected to the control port, and the control port is used to connect to the single-chip microcomputer so that the single-chip microcomputer can control the connection between the USB port and the charging port or the programming port. Specifically, when the enable terminals of the first analog switch and the second analog switch are connected to a logic low level, the positive data terminal DP1 of the USB port is connected to the first charging port, and the negative data terminal DM1 of the USB port is connected to the second charging port. At this time, the USB port can implement the charging protocol output. When the enable terminals of the first analog switch and the second analog switch are connected to a logic high level, the negative data terminal DM1 of the USB port is connected to the first programming port and the second programming port. At this time, the single-chip microcomputer can program the USB port.
[0054] The beneficial effect of the technical solution of the present utility model lies in that: the data programming port, the charging port and the USB port are respectively connected through the first analog switch and the second analog switch, and the first analog switch and the second analog switch are controlled by controlling the enable terminal, so that the USB port is compatible with both the charging protocol output and the programming, without the need for additional port design for the USB port, and the appearance of the USB port can be more concise.
[0055] The above are only partial or preferred embodiments of the present utility model. Whether in terms of text or drawings, the protection scope of the present utility model cannot be limited thereby. Any equivalent structural transformation made by using the content of the specification and drawings of the present utility model under the overall concept of the present utility model, or any direct / indirect application in other related technical fields is included in the protection scope of the present utility model.
Claims
1. A USB port circuit, characterized in that: include: Charging port, used to connect to the trigger interface of an external charging protocol chip; Data burning port, used to connect with external microcontroller; Control port, used to connect with external microcontroller; A first analog switch, connected to the data burning port, the charging port and the USB port respectively; A second analog switch is connected to the data burning port, the charging port and the USB port respectively; The enable end of the first analog switch and the enable end of the second analog switch are connected to the control port together, so as to enable the USB port to connect to the charging port or the data burning port under the control of the control port.
2. The USB port circuit according to claim 1, characterized in that: Also includes: The ground port is connected to the first analog switch and the second analog switch respectively.
3. The USB port circuit according to claim 1 or 2, characterized in that: Also includes: The power supply port is respectively connected to the first analog switch and the second analog switch, and is used to connect to an external power supply.
4. The USB port circuit according to claim 1 or 2, characterized in that: The model of the first analog switch is BL1551; and / or, The model of the second analog switch is BL1551.
5. The USB port circuit according to claim 1 or 2, characterized in that: The first analog switch includes: a first input port, a second input port and a first output port, the first input port is connected to the charging port, the second input port is connected to the data burning port, and the first output port is connected to the USB port; The second analog switch includes: a third input port, a fourth input port and a second output port, the third input port is connected to the charging port, the fourth input port is connected to the data burning port, and the second output port is connected to the USB port.
6. The USB port circuit according to claim 5, characterized in that: The charging port includes a first charging port and a second charging port, the first charging port is connected to the first input port, and the second charging port is connected to the third input port.
7. The USB port circuit according to claim 6, characterized in that: Of the first charging port and the second charging port, the first charging port is a data positive line port, and the second charging port is a data negative line port.
8. The USB port circuit according to claim 5, characterized in that: The data burning port includes: a first burning port and a second burning port, the first burning port is connected to the second input port, and the second burning port is connected to the fourth input port.
9. The USB port circuit according to claim 8, characterized in that: Of the first burning port and the second burning port, the first burning port is a data sending port, and the second burning port is a data receiving port.
10. The USB port circuit according to claim 5, characterized in that: The USB port includes a data positive port and a data negative port, the data positive port is connected to the first output port, and the data negative port is connected to the second output port.