Data transmission circuit, USB interface and electronic equipment
By introducing a multi-stage protection module into the data transmission circuit of the USB interface, the voltage increase caused by external interference is solved, and effective protection of electronic components connected to the output port is achieved.
Patent Information
- Application Number
- CN202421605644.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2034-07-08
AI Technical Summary
During data transmission or charging, the existing USB interface may damage the connected chip due to external environmental interference, causing the voltage of the DP and/or DM data line to rise.
A data transmission circuit is designed, including an input port and an output port, respectively, connecting the first and second protection modules. The first protection module disconnects the line when the output voltage exceeds the reference voltage, and the second protection module shorts the line to ground when the input port voltage reaches the on voltage, protecting the electronic components at the output port.
Through multi-level protection measures, the electronic components at the output port are effectively prevented from being damaged due to rising voltage, increasing the selection range of available electronic components.
Smart Images

Figure CN222896423U_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic technology, and in particular to a data transmission circuit, a USB interface and an electronic device. Background Art
[0002] The interfaces used by existing electronic devices are mostly Universal Serial Bus (USB) interfaces, which can be used not only for charging but also for data transmission between electronic devices. However, in the process of transmitting data or charging electronic devices through the USB interface, the voltage on the DP (Data Plus) data line and / or the DM (Data Minus) data line may increase due to the influence of the external environment, thereby causing the chip connected to the DP data line and / or the DM data line to be burned. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a data transmission circuit, a USB interface and an electronic device, which can perform multi-level protection on electronic components connected to the output port of the data transmission circuit.
[0004] The embodiments of the present disclosure provide a data transmission circuit, a USB interface and an electronic device.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a data transmission circuit, including:
[0006] Input ports and output ports;
[0007] A first protection module connected to the line between the input port and the output port;
[0008] a control module connected to the first protection module and configured to instruct the first protection module to disconnect the line between the input port and the output port when the output voltage of the first protection module is greater than or equal to the reference voltage;
[0009] a second protection module, wherein a first end of the second protection module is connected to the input port, a second end of the second protection module is grounded, and the second protection module is configured to conduct or short-circuit a line between the input port and the output port to the ground based on a voltage at the input port;
[0010] Wherein, the turn-on voltage of the second protection module is greater than the reference voltage.
[0011] In some embodiments, the input port includes: a first input port and a second input port, the output port includes: a first output port and a second output port; the first protection module includes: a first sub-module and a second sub-module;
[0012] The first sub-module is connected to a first line between the first input port and the first output port;
[0013] The second sub-module is connected to a second line between the second input port and the second output port;
[0014] The first line is configured to transmit a first signal, the second line is configured to transmit a second signal, and the first signal and the second signal constitute a differential signal.
[0015] In some embodiments, the control module includes: a first control module and a second control module;
[0016] The first control module is connected to the first sub-module and is configured to instruct the first sub-module to disconnect the first circuit when the output voltage of the first sub-module is greater than or equal to the reference voltage;
[0017] The second control module is connected to the second sub-module, and is configured to instruct the second sub-module to disconnect the second circuit when the output voltage of the second sub-module is greater than or equal to the reference voltage.
[0018] In some embodiments, the first protection module is a controlled switch, and the data transmission circuit includes:
[0019] A protection resistor is connected to a line between the input port and the output port, is connected in parallel with the controlled switch, and is configured to reduce a voltage difference between a first end of the controlled switch and a second end of the controlled switch when the controlled switch is turned on.
[0020] In some embodiments, the control module is configured to instruct the first protection module to turn on the line between the input port and the output port when the output voltage of the first protection module is less than the reference voltage.
[0021] In some embodiments, the control module includes: a comparator;
[0022] The voltage of the first input terminal of the comparator is the output voltage of the first protection module;
[0023] The voltage at the second input terminal of the comparator is the reference voltage;
[0024] The output end of the comparator is connected to the first protection module;
[0025] Among them, when the output voltage of the first protection module is greater than or equal to the reference voltage, the comparator outputs a first voltage, and the first protection module disconnects the line between the input port and the output port at the first voltage; when the output voltage of the first protection module is less than the reference voltage, the comparator outputs a second voltage, and the first protection module connects the line between the input port and the output port at the second voltage.
[0026] In some embodiments, the second protection module includes: a third sub-module and a fourth sub-module;
[0027] The first end of the third submodule is connected to the first input port; the second end of the third submodule is connected to the second input port, and the third end of the third submodule is connected to the first end of the fourth submodule;
[0028] The second end of the fourth sub-module is grounded;
[0029] Among them, when the voltage at the first input port or the second input port reaches the turn-on voltage of the third sub-module and is less than the turn-on voltage of the fourth sub-module, the line between the first end of the third sub-module and the second end of the third sub-module is turned on, when the voltage at the first input port reaches the turn-on voltage of the fourth sub-module, the line between the first end of the fourth sub-module and the third sub-module and the third end of the third sub-module is turned on, and when the voltage at the second input port reaches the turn-on voltage of the fourth sub-module, the line between the second end of the fourth sub-module and the third sub-module and the third end of the third sub-module is turned on.
[0030] In some embodiments, the third submodule includes: a first diode and a second diode;
[0031] A first end of the first diode is connected to the first input port;
[0032] A first end of the second diode is connected to the second input port, and a second end of the second diode is connected to a second end of the first diode;
[0033] The fourth sub-module includes: a third diode;
[0034] The first end of the third diode is connected to a line between the second end of the first diode and the second end of the second diode, and the second end of the third diode is grounded;
[0035] The direction from the first end of the diode to the second end of the diode is a cut-off direction, and the breakdown voltage of the third diode is greater than the breakdown voltages of the first diode and the second diode.
[0036] In a second aspect of an embodiment of the present disclosure, a USB interface is provided, including:
[0037] case;
[0038] The above data transmission circuit;
[0039] An insulating sheet, located in the housing;
[0040] The pins are arranged on the insulating sheet, and the input port of the data transmission circuit is connected to the pins.
[0041] According to a third aspect of the present disclosure, an electronic device is provided, including:
[0042] The USB interface mentioned above.
[0043] Optionally, the second induction coil included in the charging circuit is arranged on the rear casing of the electronic device.
[0044] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0045] In the embodiment of the present disclosure, when the voltage at the input port of the data transmission circuit reaches the conduction voltage of the second protection module, the second protection module is turned on to the ground. At this time, the line between the input port and the output port is short-circuited to the ground, and the voltage at the output port drops, which can protect the electronic components connected to the output port. When the voltage at the input port does not reach the conduction voltage of the second protection module, but reaches the reference voltage, the control module can disconnect the line between the input port and the output port based on the first protection module to reduce the voltage at the output port, so as to protect the electronic components connected to the output port. It can be seen that even if the voltage at the input port does not reach the conduction voltage of the second protection module, the electronic components connected to the output port can be protected by the first protection module. That is, through the data transmission circuit provided by the embodiment of the present disclosure, multi-level protection of the electronic components connected to the output port can be achieved.
[0046] In addition, even if the voltage that the electronic components connected to the output port can withstand is lower than the conduction voltage of the second protection module, the electronic components can be protected from being burned by the protection of the first protection module, which can also increase the selection range of available electronic components that can be connected to the output port.
[0047] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0049] Figure 1 is a circuit diagram of a first data transmission circuit according to an exemplary embodiment;
[0050] Figure 2 is a circuit diagram of a second data transmission circuit according to an exemplary embodiment;
[0051] Figure 3 is a circuit diagram of a third data transmission circuit according to an exemplary embodiment;
[0052] Figure 4 is a circuit diagram of a fourth data transmission circuit according to an exemplary embodiment;
[0053] Figure 5 is a circuit diagram of a fifth data transmission circuit according to an exemplary embodiment;
[0054] Figure 6 is a circuit diagram of a sixth data transmission circuit according to an exemplary embodiment;
[0055] Figure 7 is a circuit diagram of a seventh data transmission circuit according to an exemplary embodiment;
[0056] Figure 8 is a circuit diagram of an eighth data transmission circuit according to an exemplary embodiment;
[0057] Fig. 9 is a circuit diagram of a ninth data transmission circuit according to an exemplary embodiment;
[0058] Fig.10 is a circuit diagram of a USB interface according to an exemplary embodiment;
[0059] Fig.11 The present invention is a structural block diagram of an electronic device according to an exemplary embodiment.
[0060] Reference numerals:
[0061] 10. Input port; 101. First input port; 102. Second input port; 20. Output port; 201. First output port; 202. Second output port; 30. First protection module; 301. First submodule; 302. Second submodule; 40. Control module; 401. First control module; 402. Second control module; 50. Second protection module;
[0062] R1, first protection resistor; R2, second protection resistor;
[0063] Q1, the first MOS tube; Q2, the second MOS tube;
[0064] D1, first diode; D2, second diode; D3, third diode; D4, fourth diode; D5, fifth diode; D6, sixth diode; D7, seventh diode;
[0065] L1, first common mode inductor; L2, second common mode inductor. DETAILED DESCRIPTION
[0066] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the embodiments of the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present disclosure as detailed in the appended claims.
[0067] The terms used in the disclosed embodiments are only for the purpose of describing specific embodiments and are not intended to limit the disclosed embodiments. The singular forms of "a", "an", "the" and "the" used in the disclosed embodiments and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0068] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the disclosed embodiments, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the disclosed embodiments, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0069] In some embodiments, when an electronic device is transmitting data or charging through a USB interface, the DP data line and DM data line included in the USB interface may experience interference such as surges or differential mode energy due to the influence of the external environment, causing the voltage of the DP data line and / or DM data line to increase, thereby causing the chip connected to the DP data line and DM data line to burn out.
[0070] At present, in order to protect the chips connected to the DP data line and the DM data line, a transient voltage suppression (TVS) diode is usually connected between the DP pin and the ground point of the USB interface, and between the DM pin and the ground point. When the voltage at the DP pin or DM pin of the USB is greater than the breakdown voltage of the TVS diode, the TVS diode is turned on to the ground, thereby protecting the chips connected to the DP data line and the DM data line. In order to prevent the TVS diode from burning out when a short circuit occurs between the VBUS pin and the DP pin or DM pin of the USB, a TVS diode with a clamping voltage greater than the maximum charging voltage of the USB is usually connected to the DP pin or DM pin to reduce the probability of the TVS diode being burned out.
[0071] However, as the USB charging voltage continues to increase, in order to prevent the TVS tube from burning due to the short circuit between the VBUS pin and the DP pin or the DM pin, it is necessary to connect a TVS diode with a larger clamping voltage between the DP pin or the DM pin. The larger the clamping voltage of the TVS diode, the larger the breakdown voltage. In other words, when the voltage at the DP pin or the DM pin does not reach the breakdown voltage of the TVS diode, the TVS diode cannot protect the chip connected to the DP data line and / or the DM data line. At this time, it is necessary to connect a chip that can withstand a higher voltage to the DP data line and / or the DM data line, resulting in fewer and fewer types of chips that can be used.
[0072] To solve the above problems, the present disclosure provides a data transmission circuit. Figure 1 , Figure 1 A circuit diagram of a data transmission circuit provided in an embodiment of the present disclosure, the data transmission circuit comprising:
[0073] Input port 10 and output port 20;
[0074] A first protection module 30 is connected to the line between the input port 10 and the output port 20;
[0075] The control module 40 is connected to the first protection module 30 and is configured to instruct the first protection module 30 to disconnect the line between the input port 10 and the output port 20 when the output voltage of the first protection module 30 is greater than or equal to the reference voltage;
[0076] A second protection module 50, wherein a first end of the second protection module 50 is connected to the input port 10, a second end of the second protection module 50 is grounded, and is configured to conduct or short-circuit a line between the input port 10 and the output port 20 to ground based on a voltage at the input port 10;
[0077] The conduction voltage of the second protection module 50 is greater than the reference voltage.
[0078] It can be understood that the above-mentioned data transmission circuit may include at least one input port 10 and at least one output port 20, wherein the data transmission circuit receives external signals through the input port 10, and transmits the received signals from the output port 20 to the electronic components connected to the output port 20 to realize data transmission. The first end of the first protection module 30 is connected to the input port 10, the second end of the first protection module 30 is connected to the output port 20, the third end of the first protection module 30 is connected to the output end of the control module 40, and the input end of the control module 40 is connected to the second end of the first protection module 30. Based on this, the control module 40 can control the disconnection of the line between the input port 10 and the output port 20 based on the first protection module 30 when the voltage at the second end of the first protection module 30 is greater than or equal to the reference voltage. The first end of the second protection module 50 is connected to the input port 10, and the second end of the second protection module 50 is grounded. Based on this, the second protection module 50 can short-circuit the line between the input port 10 and the output port 20 to ground when the voltage at the input port 10 reaches the turn-on voltage of the second protection module 50. The second protection module 50 can also be in an off state when the voltage at the input port 10 does not reach the turn-on voltage of the second protection module 50.
[0079] In some embodiments, when the data transmission circuit in the embodiment of the present disclosure is a data transmission circuit on a USB interface, the input port 10 may be a DP data line and / or a DM data line.
[0080] In some embodiments, the reference voltage can be set as needed, which is not limited in the embodiments of the present disclosure.
[0081] In some embodiments, the first protection module 30 may be a controlled switch connected between the input port 10 and the output port 20. Based on this, when the controlled switch is in a closed state, the line between the input port 10 and the output port 20 is connected, and the signal is transmitted. When the controlled switch is in an open state, the line between the input port 10 and the output port 20 is disconnected.
[0082] In some embodiments, when the first protection module 30 is a controlled switch, the control module 40 may be any electronic component or combination of electronic components that can control the switching state of the controlled switch, which is not limited in the embodiments of the present disclosure.
[0083] In some embodiments, when the data transmission circuit in the embodiments of the present disclosure is a data transmission circuit in a USB interface, the ground conduction voltage of the second protection module 50 can be determined according to the maximum charging voltage of the USB interface. Exemplarily, an electronic component whose difference between the ground conduction voltage and the maximum charging voltage of the USB interface is less than the third voltage threshold is selected as the second protection module 50. The value of the third voltage threshold can be set as needed, for example, the third voltage threshold can be any value between 0 and 5V.
[0084] In some embodiments, the second protection module 50 may include at least one diode, and the first end of the diode is connected to the input port 10, and the second end of the diode is grounded. The direction from the first end to the second end of the diode is the cut-off direction of the diode, and the conduction voltage of the second protection module 50 is the breakdown voltage of the diode.
[0085] Exemplarily, the second protection module may include at least one transient voltage suppressor (TVS) diode, wherein the clamping voltage of the TVS diode is greater than or equal to the maximum charging voltage of the USB interface.
[0086] In the embodiment of the present disclosure, when the voltage at the input port 10 of the data transmission circuit reaches the conduction voltage of the second protection module 50, the second protection module 50 is turned on to the ground. At this time, the line between the input port 10 and the output port 20 is short-circuited to the ground, and the voltage at the output port 20 drops, which can protect the electronic components connected to the output port. When the voltage at the input port 10 does not reach the conduction voltage of the second protection module 50, but reaches the reference voltage, the control module 40 can disconnect the line between the input port 10 and the output port 20 based on the first protection module 30 to reduce the voltage at the output port 20, so as to protect the electronic components connected to the output port 20. It can be seen that even if the voltage at the input port 10 does not reach the conduction voltage of the second protection module 50, the electronic components connected to the output port 20 can be protected by the first protection module 30. That is, through the data transmission circuit provided by the embodiment of the present disclosure, multi-level protection of the electronic components connected to the output port 20 can be achieved.
[0087] In addition, even if the voltage that the electronic components connected to the output port 20 can withstand is lower than the turn-on voltage of the second protection module 50, the electronic components can be protected from being burned by the protection of the first protection module 30, which can also increase the selection range of available electronic components that can be connected to the output port 20.
[0088] In some embodiments, the control module is configured to instruct the first protection module to turn on the line between the input port and the output port when the output voltage of the first protection module is less than the reference voltage.
[0089] It is understandable that the control module 40 can also control the line between the input port 10 and the output port 20 to be turned on when the voltage at the second end of the first protection module 30 is less than the reference voltage. At this time, the line between the input port 10 and the output port 20 can transmit signals.
[0090] In some embodiments, the input port 10 includes: a first input port 101 and a second input port 102, the output port includes: a first output port 201 and a second output port 202; the first protection module 30 includes: a first sub-module 301 and a second sub-module 302;
[0091] The first sub-module 301 is connected to the first line between the first input port 101 and the first output port 201;
[0092] The second sub-module 302 is connected to the second line between the second input port 102 and the second output port 202;
[0093] The first line is configured to transmit a first signal, the second line is configured to transmit a second signal, and the first signal and the second signal form a differential signal.
[0094] It can be understood that the data transmission circuit of the embodiment of the present disclosure may include a first line and a second line, wherein the two ends of the first line are respectively a first input port 101 and a first output port 201, and the two ends of the second line are respectively a second input port 102 and a second output port 202. When the data transmission circuit is applied to an electronic device, the electronic device can transmit a first signal based on the first line and transmit a second signal based on the second line, wherein the first signal and the second signal constitute a differential signal, and the transmitted data is indicated by the differential signal. In the case where the data transmission circuit includes the first line and the second line, the first protection module 30 also includes a first sub-module 301 and a second sub-module 302. The first end of the first sub-module 301 is connected to the first input port 101, the second end of the first sub-module 301 is connected to the first output port 201, and the third end of the first sub-module 301 is connected to the output end of the control module 40. The first end of the second sub-module 302 is connected to the second input port 102, the second end of the second sub-module 302 is connected to the second output port 202, and the third end of the second sub-module 302 is connected to the output end of the control module 40. Based on this, the control module 40 can disconnect the first circuit based on the first submodule 301 when the voltage at the second end of the first submodule 301 is greater than or equal to the reference voltage, and can conduct the first circuit based on the first submodule 301 when the voltage at the second end of the first submodule 301 is less than the reference voltage. Similarly, the control module 40 can also disconnect the second circuit based on the second submodule 302 when the voltage at the second end of the second submodule 302 is greater than or equal to the reference voltage, and can conduct the second circuit based on the second submodule 302 when the voltage at the second end of the second submodule 302 is less than the reference voltage.
[0095] In some embodiments, when the data transmission circuit includes a first line and a second line, the number of control modules 40 may be one or two, which is not limited in the embodiments of the present disclosure.
[0096] For example, reference Figure 2In the case where there is only one control module 40, the control module 40 has two input terminals and two output terminals, one input terminal of the control module 40 is connected to the second terminal of the first submodule 301, and the other input terminal of the control module 40 is connected to the second terminal of the second submodule 302. One output terminal of the control module 40 is connected to the third terminal of the first submodule 301, and the other output terminal of the control module 40 is connected to the third terminal of the second submodule 302. Based on this, the control module 40 can disconnect the line between the first input port 101 and the first output port 201 based on the first submodule 301 when the voltage at the second terminal of the first submodule 301 is greater than or equal to the reference voltage, and can connect the line between the first input port 101 and the first output port 201 based on the first submodule 301 when the voltage at the second terminal of the first submodule 301 is less than the reference voltage. The control module 40 can also disconnect the line between the second input port 102 and the second output port 202 based on the second sub-module 302 when the voltage at the second end of the second sub-module 302 is greater than or equal to the reference voltage, and connect the line between the second input port 102 and the second output port 202 based on the second sub-module 302 when the voltage at the second end of the second sub-module 302 is less than the reference voltage.
[0097] In some embodiments, when the data transmission circuit of the present disclosure is a circuit of a USB interface, the first line may be a DP data line, and the second line may be a DM data line.
[0098] In some embodiments, when the data transmission circuit includes a first input port 101 and a second input port 102, there may be two second protection modules 50, a first end of one second protection module 50 is connected to the first input port 101, a first end of another second protection module 50 is connected to the second input port 102, and the second ends of the two second protection modules 50 are both grounded.
[0099] Exemplarily, each of the two second protection modules 50 may include at least one diode, and the first end of the diode is connected to a side close to the first input port and the second input port, and the second end of the diode is grounded, wherein the direction from the first end of the diode to the second end of the diode is a cut-off direction. Based on this, the on-voltage of the second protection module 50 may be the breakdown voltage of the diode.
[0100] For example, refer to Figure 3The second protection module 50 connected to the first line may include a fourth diode D4 and a fifth diode D5, wherein a first end of the fourth diode D4 is connected to the first input port 101, a second end of the fourth diode D4 is connected to a first end of the fifth diode D5, and a second end of the fifth diode D5 is grounded. The second protection module 50 connected to the second line may include a sixth diode D6 and a seventh diode D7, wherein a first end of the sixth diode D6 is connected to the second input port 102, a second end of the sixth diode D6 is connected to a first end of the seventh diode D7, and a second end of the seventh diode D7 is grounded.
[0101] In some embodiments, the fourth diode D4, the fifth diode D6, the sixth diode D7 and the seventh diode D7 may be unidirectional diodes or bidirectional diodes, which is not limited in the embodiments of the present disclosure.
[0102] Exemplarily, the fourth diode D4 and the sixth diode D6 may be bidirectional diodes, and the fifth diode D5 and the seventh diode D7 may be unidirectional diodes.
[0103] In other embodiments, the fourth diode D4, the fifth fourth diode, the sixth diode D6 and the seventh diode D7 may be transient voltage suppressor (TVS) diodes. Based on this, when the voltage at the first input port 101 is greater than the breakdown voltage of the TVS diode, the TVS tube connected to the first input port is turned on to the ground, the first line is short-circuited to the ground, and the voltage of the first output port 201 is reduced, which can protect the electronic components connected to the first output port 201. Similarly, when the voltage at the second input port 102 is greater than the breakdown voltage of the TVS diode, the TVS tube connected to the second input port 102 is turned on to the ground, the second line is short-circuited to the ground, and the voltage of the second output port 202 is reduced, which can protect the electronic components connected to the second output port 202.
[0104] In the embodiment of the present disclosure, when the data transmission circuit includes a first line and a second line, the first line is protected by the first sub-module 301, and the second line is protected by the second sub-module 302. The first line can be disconnected when the voltage at the first input port 101 is abnormal, and the second line can be disconnected when the voltage at the second input port 102 is abnormal, without having to disconnect the first line and the second line at the same time when the voltage at the first input port 101 or the second input port 102 is abnormal.
[0105] In some embodiments, the control module 40 includes: a first control module 401 and a second control module 402;
[0106] The first control module 401 is connected to the first sub-module 301 and is configured to instruct the first sub-module 301 to disconnect the line between the first input port 101 and the first output port 201 when the output voltage of the first sub-module 301 is greater than or equal to the reference voltage;
[0107] The second control module 402 is connected to the second sub-module 302 , and is configured to instruct the second sub-module 302 to disconnect the line between the second input port 102 and the second output port 202 when the output voltage of the second sub-module 302 is greater than or equal to the reference voltage.
[0108] For example, reference Figure 4 , the control module 40 may further include a first control module 401 and a second control module 402. The input end of the first control module 401 is connected to the second end of the first submodule 301, and the output end of the first control module 401 is connected to the third end of the first submodule 301. The input end of the second control module 402 is connected to the second end of the second submodule 302, and the output end of the second control module 402 is connected to the third end of the second submodule 302. Based on this, the first control module 401 can disconnect the first circuit based on the first submodule 301 when the voltage at the second end of the first submodule 301 is greater than or equal to the reference voltage, and can conduct the first circuit based on the first submodule 301 when the voltage at the second end of the first submodule 301 is less than the reference voltage. Similarly, the second control module 402 can disconnect the second circuit based on the second sub-module 302 when the voltage at the second end of the second sub-module 302 is greater than or equal to the reference voltage, and can connect the second circuit based on the second sub-module 302 when the voltage at the second end of the second sub-module 302 is less than the reference voltage.
[0109] In some embodiments, the first protection module 30 is a controlled switch, and the data transmission circuit includes:
[0110] The protection resistor is connected to the line between the input port and the output port, is connected in parallel with the controlled switch, and is configured to reduce the voltage difference between the first end of the controlled switch and the second end of the controlled switch when the controlled switch is turned on.
[0111] It can be understood that the first end of the controlled switch is connected to the input port 10, the second end of the controlled switch is connected to the output port 20, the third end of the controlled switch is connected to the output end of the control module 40, and the input end of the control module 40 is connected to the circuit between the second end of the controlled switch and the output port 20. The first end of the protection resistor is connected to the first end of the controlled switch, and the second end of the protection resistor is connected to the second end of the controlled switch. Based on this, when the controlled switch is disconnected, the protection resistor can consume the residual energy on the line between the input port 10 and the output port 20, reduce the voltage difference between the first end of the controlled switch and the second end of the controlled switch, so as to protect the controlled switch.
[0112] In some embodiments, the controlled switch may be a metal-oxide-semiconductor field-effect transistor (MOSFET) or a triode, or may be other types of controlled switches, which is not limited in the embodiments of the present disclosure.
[0113] Exemplarily, the controlled switch may be an N-type MOS transistor, when the controlled switch is an N-type MOS transistor, the first end of the controlled switch is the drain of the MOS transistor, the second end of the controlled switch is the source of the MOS transistor, and the third end of the controlled switch is the gate of the MOS transistor. The controlled switch may also be a triode.
[0114] In some embodiments, reference Figure 5 , in the case where the first protection module 30 includes the first submodule 301 and the second submodule 302, the first submodule 301 may be a first controlled switch, and the second submodule 302 may be a second controlled switch. At this time, the protection resistor includes a first protection resistor R1 and a second protection resistor R2. Based on this, the first end of the first controlled switch is connected to the first input port 101, the second end of the first controlled switch is connected to the first output port 201, the first end of the first protection resistor R1 is connected to the first input port 101, and the second end of the first protection resistor R1 is connected to the first output port 201. Based on this, at the moment when the first controlled switch is disconnected, the first protection resistor R1 can consume the residual energy on the first line between the first input port 101 and the first output port 201, and reduce the voltage difference between the first end of the first controlled switch and the second end of the first controlled switch.
[0115] The first end of the second controlled switch is connected to the second input port 102, the second end of the second controlled switch is connected to the second output port 202, the first end of the second protection resistor R2 is connected to the second input port 102, and the second end of the first protection resistor R1 is connected to the second output port 202. Based on this, at the moment when the second controlled switch is disconnected, the second protection resistor R2 can consume the residual energy on the second line between the second input port 102 and the second output port 202, and reduce the voltage difference between the first end of the second controlled switch and the second end of the second controlled switch.
[0116] For example, reference Figure 6 , when the first controlled switch is an N-type first MOS transistor Q1, the drain of the first MOS transistor Q1 is connected to the first input port 101, the drain of the first controlled switch is connected to the first output port 201, the gate of the first MOS transistor Q1 is connected to the output end of the first protection module 30, and the input end of the first protection module 30 is connected to the drain of the first MOS transistor Q1. The first protection resistor R1 is connected between the first input port 101 and the first output port 201, and is connected in parallel with the first MOS transistor Q1. Based on this, the first control module 401 can control the first MOS transistor Q1 to turn off when the voltage of the source of the first MOS transistor Q1 is greater than or equal to the reference voltage, so that the first circuit is in an open circuit state. The first control module 401 can control the first MOS transistor Q1 to turn on when the voltage of the source of the first MOS transistor Q1 is less than the reference voltage, so that the first circuit is in a conducting state. When the first MOS transistor Q1 is turned off, the first protection resistor R1 can consume the remaining energy on the first circuit and reduce the voltage difference between the drain of the first MOS transistor and the source of the first MOS transistor.
[0117] Similarly, in the case where the second controlled switch is an N-type second MOS transistor Q2, the drain of the second MOS transistor Q2 is connected to the second input port 102, the drain of the second controlled switch is connected to the second output port 202, the gate of the second MOS transistor Q2 is connected to the output end of the second control module 402, and the input end of the second control module 402 is connected to the drain of the second MOS transistor Q2. The second protection resistor R2 is connected between the second input port 102 and the second output port 202, and is connected in parallel with the second MOS transistor Q2. Based on this, the second control module 402 can turn off the second MOS transistor Q2 when the voltage of the source of the second MOS transistor Q2 is greater than or equal to the reference voltage, that is, when the voltage at the second output port 202 is greater than or equal to the reference voltage, so that the second circuit is in an open circuit state. The second control module 402 can turn on the second MOS transistor Q2 when the voltage of the source of the second MOS transistor Q2 is less than the reference voltage, so that the second circuit is in a conducting state. When the second MOS transistor Q2 is in the off state, the second protection resistor R2 can consume the remaining energy on the second circuit, and reduce the voltage difference between the drain of the second MOS transistor and the source of the second MOS transistor.
[0118] In some embodiments, the models of the first MOS transistor Q1 and the second MOS transistor Q2 can be selected as needed, which is not limited in the embodiments of the present disclosure.
[0119] In some other embodiments, the models of the first MOS transistor Q1 and the second MOS transistor Q2 may be the same or different, which is not limited in the embodiments of the present disclosure.
[0120] Exemplarily, the models of the first MOS transistor Q1 and the second MOS transistor Q2 may be WNM3064-3 / TR.
[0121] In other embodiments, when the first controlled switch is a first transistor and the second controlled switch is a second transistor, the connection mode of the first transistor on the first circuit and the connection mode of the second transistor in the second circuit can refer to the connection mode of the first MOS in the first circuit and the connection mode of the second MOS transistor Q2 in the second circuit, and the embodiments of the present disclosure will not be repeated here.
[0122] In some embodiments, the models of the first transistor and the second transistor can be selected as needed, and the embodiments of the present disclosure are not limited to this.
[0123] In other embodiments, the models of the first transistor and the second transistor may be the same or different, which is not limited in the embodiments of the present disclosure.
[0124] In some embodiments, the types and quantities of the first resistor and the second resistor can be set as needed, and the embodiments of the present disclosure are not limited to this.
[0125] In other embodiments, the resistance values of the first resistor and the second resistor may be the same or different, and this is not limited in the embodiments of the present disclosure.
[0126] Exemplarily, the resistance values of the first resistor and the second resistor may be 33K.
[0127] In the disclosed embodiment, at the moment when the first MOS tube Q1 is disconnected, the source and drain of the first MOS tube Q1 may be broken down due to the excessive voltage difference between the drain and source of the first MOS tube Q1. Based on this, by connecting the first protection resistor R1 connected in parallel with the first MOS tube Q1 on the first line, at the moment when the first MOS tube Q1 is turned off, the first protection resistor R1 can consume the remaining energy on the first line, thereby protecting the first MOS tube Q1. Similarly, by connecting the second protection resistor R2 connected in parallel with the second MOS tube Q2 on the second line, at the moment when the second MOS tube Q2 is turned off, the second protection resistor R2 can consume the remaining energy on the second line, thereby protecting the second MOS tube Q2.
[0128] In some embodiments, the control module includes: a comparator;
[0129] The voltage of the first input terminal of the comparator is the output voltage of the first protection module 30;
[0130] The voltage at the second input terminal of the comparator is a reference voltage;
[0131] The output end of the comparator is connected to the first protection module 30;
[0132] Among them, when the output voltage of the first protection module 30 is greater than or equal to the reference voltage, the comparator outputs a first voltage, and the first protection module 30 disconnects the line between the input port 10 and the output port 20 at the first voltage; when the output voltage of the first protection module 30 is less than the reference voltage, the comparator outputs a second voltage, and the first protection module 30 connects the line between the input port 10 and the output port 20 at the second voltage.
[0133] It can be understood that at least one comparator can be connected between the first end and the third end of the first protection module 30 to control the on and off of the line between the input port 10 and the output port 20 based on the first protection module. Among them, the first input end of the comparator can be the input end of the control module. The first input end is connected to the second end of the first protection module 30, and the second input end of the comparator can be directly or indirectly connected to the power supply. Based on this, the voltage of the first input end of the comparator is the voltage of the second end of the first protection module 30, that is, the output voltage of the first protection module 30, and the voltage of the second input end of the comparator is the reference voltage. The comparator can compare the output voltage of the first protection module 30 with the reference voltage. When the output voltage of the first protection module 30 is greater than or equal to the reference voltage, the comparator outputs a first voltage to control the first protection module 30 to disconnect the line between the input port 10 and the output port 20. When the output voltage of the first protection module 30 is less than the reference voltage, the comparator outputs a second voltage to conduct the line between the input port 10 and the output port 20 based on the first protection module 30.
[0134] In some embodiments, when the control module includes the first control module 401 and the second control module 402, and the first protection module 30 includes the first submodule 301 and the second submodule 302, the first control module 401 may be a first comparator, and the second control module 402 may be a second comparator. The first input terminal of the first comparator is connected to the second terminal of the first submodule 301, the second input terminal of the first comparator inputs a reference voltage, and the output terminal of the first comparator is connected to the third terminal of the first submodule 301. Based on this, when the voltage at the second terminal of the first submodule 301 is greater than or equal to the reference voltage, the first comparator outputs the first voltage to disconnect the first circuit based on the first submodule 301. When the voltage at the second terminal of the first submodule 301 is less than the reference voltage, the first comparator outputs the second voltage to conduct the first circuit based on the first submodule 301.
[0135] Similarly, the first input terminal of the second comparator is connected to the second terminal of the second submodule 302, the reference voltage is input to the second input terminal of the second comparator, and the output terminal of the second comparator is connected to the third terminal of the second submodule 302. Based on this, when the voltage at the second terminal of the second submodule 302 is greater than or equal to the reference voltage, the second comparator outputs the first voltage to disconnect the second circuit based on the second submodule 302. When the voltage at the second terminal of the second submodule 302 is less than the reference voltage, the second comparator outputs the second voltage to conduct the second circuit based on the second submodule 302.
[0136] For example, reference Figure 7In the case where the first submodule 301 is the first MOS transistor Q1 and the second submodule 302 is the second MOS transistor Q2, the first input terminal of the first comparator is connected to the source of the first MOS transistor Q1, the input voltage of the second input terminal of the first comparator is the reference voltage, and the output terminal of the first comparator is connected to the gate of the first MOS transistor Q1. Based on this, when the voltage of the source of the first MOS transistor Q1 is greater than or equal to the reference voltage, the output terminal of the first comparator outputs a first voltage capable of turning off the first MOS transistor Q1, and when the voltage of the source of the first MOS transistor Q1 is less than the reference voltage, the output terminal of the first comparator outputs a second voltage capable of turning on the first MOS transistor Q1.
[0137] Similarly, the first input terminal of the second comparator is connected to the source of the second MOS tube Q2, the input voltage of the second input terminal of the second comparator is the reference voltage, and the output terminal of the second comparator is connected to the gate of the second MOS tube Q2. Based on this, when the voltage of the source of the second MOS tube Q2 is greater than or equal to the reference voltage, the output terminal of the second comparator outputs a first voltage capable of turning off the second MOS tube Q2, and when the voltage of the source of the second MOS tube Q2 is less than the reference voltage, the output terminal of the second comparator outputs a second voltage capable of turning on the second MOS tube Q2.
[0138] In some other embodiments, the first comparator and the second comparator can also be integrated into one chip to obtain a comparator chip. The comparator can have two first input terminals, one second input terminal and two output terminals. Based on this, one first input terminal of the comparator chip can be connected to the source of the first MOS tube Q1, the other first input terminal of the comparator chip is connected to the source of the second MOS tube Q2, the input voltage of the second input terminal of the comparator chip is the reference voltage, one output terminal of the comparator chip is connected to the gate of the first MOS tube Q1, and the other second output terminal of the comparator chip is connected to the gate of the second MOS tube Q2.
[0139] In some embodiments, the second protection module 50 includes: a third sub-module and a fourth sub-module;
[0140] The first end of the third submodule is connected to the first input port 101; the second end of the third submodule is connected to the second input port 102, and the third end of the third submodule is connected to the first end of the fourth submodule;
[0141] The second end of the fourth sub-module is grounded;
[0142] Among them, when the voltage at the first input port 101 or the second input port 102 reaches the turn-on voltage of the third submodule and is less than the turn-on voltage of the fourth submodule, the line between the first end of the third submodule and the second end of the third submodule is turned on, when the voltage at the first input port 101 reaches the turn-on voltage of the fourth submodule, the line between the fourth submodule and the first end of the third submodule and the third end of the third submodule is turned on, and when the voltage at the second input port 102 reaches the turn-on voltage of the fourth submodule, the line between the second end of the fourth submodule and the third submodule and the third end of the third submodule is turned on.
[0143] It can be understood that in the case where the data transmission circuit of the embodiment of the present disclosure includes a first line and a second line, the second protection module 50 may include a third sub-module and a fourth sub-module, wherein the first end and the second end of the third sub-module are the first end of the second protection module 50, the first end of the third sub-module is connected to the first input port 101, and the second end of the third sub-module is connected to the second input port 102. The second end of the third sub-module is connected to the first end of the fourth sub-module, and the second end of the fourth sub-module is grounded. The turn-on voltage of the third sub-module is less than the turn-on voltage of the fourth sub-module. Since the first end of the third sub-module is connected to the first input port 101, when the voltage at the first input port 101 reaches the turn-on voltage of the third sub-module and is less than the turn-on voltage of the fourth sub-module, the first input port 101 and the second input port 102 are turned on through the third sub-module. Similarly, since the second end of the third submodule is connected to the second input port 102, when the voltage at the second input port 102 reaches the turn-on voltage of the third submodule and is less than the turn-on voltage of the fourth submodule, the second input port 102 and the first input port 101 are connected through the third submodule. When the voltage at the first input port 101 or the second input port 102 reaches the turn-on voltage of the fourth submodule, since the turn-on voltage of the fourth submodule is greater than the turn-on voltage of the third submodule, when the voltage at the first input port 101 reaches the turn-on voltage of the fourth submodule, the third submodule and the fourth submodule will be turned on at the same time, and at this time, the first line is short-circuited to the ground. When the voltage at the second input port 102 reaches the turn-on voltage of the fourth submodule, the third submodule and the fourth submodule will also be turned on at the same time, and at this time, the second line is short-circuited to the ground.
[0144] In some embodiments, the third submodule may include at least two diodes connected in series between the first input port 101 and the second input port 102, and the first end of the diode near the first input port 101 is connected to the first input port 101, and the first end of the diode near the second input port 102 is connected to the second input port 102. The fourth submodule may also be a diode or a plurality of diodes connected in series, and the first end of one or more diodes included in the fourth submodule is connected to the second end of the diode included in the third submodule. The direction from the first end to the second end is the cut-off direction of the diode, and the breakdown voltage of any diode included in the third submodule is less than the breakdown voltage of any diode included in the fourth submodule.
[0145] In some embodiments, the number and type of diodes included in the third sub-module and the fourth sub-module can be selected as needed, and the embodiments of the present disclosure are not limited to this.
[0146] In the embodiment of the present disclosure, when the first input port 101 or the second input port 102 is turned on through the third sub-module, the common mode energy at the first input port 101 and the second input port 102 can be eliminated.
[0147] In some embodiments, the third submodule includes: a first diode D1 and a second diode D2;
[0148] A first end of the first diode D1 is connected to the first input port 101;
[0149] A first end of the second diode D2 is connected to the second input port 102, and a second end of the second diode D2 is connected to the second end of the first diode D1;
[0150] The fourth sub-module includes: a third diode D3;
[0151] A first end of the third diode D3 is connected to a line between the second end of the first diode D1 and the second end of the second diode D2, and a second end of the third diode D3 is grounded;
[0152] The direction from the first end of the diode to the second end of the diode is a cut-off direction, and the breakdown voltage of the third diode D3 is greater than the breakdown voltages of the first diode D1 and the second diode D2.
[0153] It can be understood that the third submodule may include a first diode D1 and a second diode D2, wherein the first end of the first diode D1 is connected to the first input port 101, the second end of the first diode D1 is connected to the second end of the second diode D2, and the first end of the second diode D2 is connected to the second input port 102. The first end of the third diode D3 is connected to the circuit between the second end of the first diode D1 and the second end of the second diode D2, and the second end of the third diode D3 is grounded. The breakdown voltage of the third diode D3 is greater than the breakdown voltage of the first diode D1 and the second diode D2. Based on this, when the voltage at the first input port 101 reaches the breakdown voltage of the first diode D1 and is less than the breakdown voltage of the third diode D3, the first diode D1 is broken down, and the first input port 101 and the second input port 102 are connected through the first diode D1 and the second diode D2. When the voltage of the second input port 102 reaches the breakdown voltage of the second diode D2 and is less than the breakdown voltage of the third diode D3 , the second diode D2 is broken down, and the second input port 102 and the first input port 101 are conducted through the second diode D2 and the first diode D1 .
[0154] When the voltage at the first input port 101 reaches the breakdown voltage of the third diode D3, since the breakdown voltage of the third diode D3 is greater than the breakdown voltage of the first diode D1, at this time, the first diode D1 and the third diode D3 are both broken down, and the first circuit is short-circuited to the ground. When the voltage at the second input port 102 reaches the breakdown voltage of the third diode D3, the second diode D2 and the third diode D3 are both broken down, and the second circuit is short-circuited to the ground.
[0155] In some embodiments, the first diode D1 , the second diode D2 , and the third diode D3 may be unidirectional diodes or bidirectional diodes, which is not limited in the embodiments of the present disclosure.
[0156] For example, reference Figure 8 The first diode D1 and the second diode D2 are bidirectional diodes, and the third diode D3 is a unidirectional diode.
[0157] In some embodiments, the first diode D1 , the second diode D2 , and the third diode D3 may all be transient voltage suppressor (TVS) diodes.
[0158] In the disclosed embodiment, the TVS diode has the advantages of fast response time, large transient power and large pulse peak current, etc., and can better suppress surges and improve the protection effect of electronic components connected to the output port 20 of the data transmission circuit.
[0159] In some embodiments, when the data transmission circuit of the embodiment of the present disclosure is a circuit in a USB interface, a TVS diode with a clamping voltage greater than the maximum charging voltage of the USB interface can be selected as the first diode D1 and the second diode D2. Based on this, the probability of the TVS diode being burned due to a short circuit between the DP pin or DM pin of the USB and the VBUS pin can be reduced.
[0160] In some embodiments, the data transmission circuit further comprises:
[0161] A common mode inductor, wherein a first end of the common mode inductor is connected to the input port 10 , and a second end of the common mode inductor is connected to a first end of the first protection module 30 .
[0162] For example, reference Fig. 9 and Fig.10 In the case where the data transmission circuit includes a first line and a second line, the common mode inductor includes a first common mode inductor L1 and a second common mode inductor L2. The first end of the first common mode inductor L1 is connected to the first input port 101, the second end of the first common mode inductor L1 is connected to the first end of the first sub-module, the first end of the second common mode inductor L2 is connected to the second input port 102, and the second end of the second common mode inductor L2 is connected to the first end of the second sub-module.
[0163] In some embodiments, the specific model of the common mode inductor can be selected as needed, and the embodiments of the present disclosure are not limited to this. For example, the model of the common mode inductor can be EXCX4CE900U.
[0164] In the embodiment of the present disclosure, at least one common-mode inductor is connected in series between the input end of the data transmission circuit and the first end of the first protection module 30. The common-mode energy at the input port 10 can also be eliminated through the common-mode voltage, thereby further protecting the electronic components connected to the data transmission circuit.
[0165] The present disclosure also provides a USB interface, including:
[0166] case;
[0167] The data transmission circuit of the above embodiment;
[0168] An insulating sheet, located in the housing;
[0169] The pins are arranged on the insulating sheet, and the input port 10 of the data transmission circuit is connected to the pins.
[0170] In some embodiments, reference Fig.10The pins provided on the insulating sheet may be a D+ pin and a D- pin, wherein the first input port 101 is connected to the D+ pin, and the second input port 102 is connected to the D+ pin. The first line may be a DP data line, and the second line may be a DM data line.
[0171] In some embodiments, the above-mentioned US interface can be a USB socket, a USB plug, or other types of USB devices, which is not limited in the embodiments of the present disclosure.
[0172] An embodiment of the present disclosure further provides an electronic device having the USB interface provided in the above embodiment.
[0173] In some embodiments, when the electronic device has the USB interface provided in the above embodiment, the data transmission circuit of the embodiment of the present disclosure can be arranged on the main board of the electronic device, or can be arranged separately on a circuit board. The embodiment of the present disclosure is not limited to this. When the electronic device has the USB interface provided in the above embodiment, the electronic component connected to the output port 20 of the data transmission circuit can be any chip in the electronic device.
[0174] refer to Fig.11 , Fig.11 1 is a block diagram of an electronic device 1100 according to an exemplary embodiment. For example, the electronic device 1100 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or other electronic device having the above-mentioned USB interface.
[0175] Reference Fig.11 , the electronic device 1100 may include one or more of the following components: a processing component 1102 , a memory 1104 , a power component 1106 , a multimedia component 1108 , an audio component 1110 , an input / output (I / O) interface 1112 , a sensor component 1114 , and a communication component 1116 .
[0176] The processing component 1102 generally controls the overall operation of the electronic device 1100, such as operations associated with at least one of display, phone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions. In addition, the processing component 1102 may include one or more modules to facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
[0177] The memory 1104 is configured to store various types of data to support operations on the electronic device 1100. Examples of such data include at least one of the following: instructions for any application or method operating on the electronic device 1100, contact data, phone book data, messages, pictures, and videos. The memory 1104 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.
[0178] The power supply component 1106 provides power to various components of the electronic device 1100. The power supply component 1106 may include at least one of the following: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 1100.
[0179] The multimedia component 1108 includes a screen that provides an output interface between the electronic device 1100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front camera and / or a rear camera. When the electronic device 1100 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0180] The audio component 1110 is configured to output and / or input audio signals. For example, the audio component 1110 includes a microphone (MIC), and when the electronic device 1100 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1104 or sent via the communication component 1116. In some embodiments, the audio component 1110 also includes a speaker for outputting audio signals.
[0181] I / O interface 1112 provides an interface between processing component 1102 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0182] The sensor assembly 1114 includes one or more sensors for providing various aspects of status assessment for the electronic device 1100. For example, the sensor assembly 1114 can detect the open / closed state of the electronic device 1100, the relative positioning of the components, such as the display and keypad of the electronic device 1100, and the sensor assembly 1114 can also detect the position change of the electronic device 1100 or a component in the electronic device 1100, the presence or absence of contact between the user and the electronic device 1100, the orientation or acceleration / deceleration of the electronic device 1100, and the temperature change of the electronic device 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1114 may also include a light sensor, such as a complementary metal oxide semiconductor (CMOS) or a charge coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include, but is not limited to, at least one of the following: an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, and a temperature sensor.
[0183] The communication component 1116 is configured to facilitate communication between the electronic device 1100 and other devices in a wired or wireless manner. The electronic device 1100 can access a wireless network based on a communication standard, such as Wi-Fi, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (Ultra Wide Band, UWB) technology, Bluetooth (BT) technology and other technologies.
[0184] In an exemplary embodiment, the electronic device 1100 may be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components.
[0185] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0186] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A data transmission circuit, characterized in that: include: Input ports and output ports; A first protection module connected to the line between the input port and the output port; a control module connected to the first protection module and configured to instruct the first protection module to disconnect the line between the input port and the output port when the output voltage of the first protection module is greater than or equal to the reference voltage; a second protection module, wherein a first end of the second protection module is connected to the input port, a second end of the second protection module is grounded, and the second protection module is configured to conduct or short-circuit a line between the input port and the output port to the ground based on a voltage at the input port; Wherein, the turn-on voltage of the second protection module is greater than the reference voltage.
2. The data transmission circuit according to claim 1, characterized in that: The input port includes: a first input port and a second input port, the output port includes: a first output port and a second output port; the first protection module includes: a first sub-module and a second sub-module; The first sub-module is connected to a first line between the first input port and the first output port; The second sub-module is connected to a second line between the second input port and the second output port; The first line is configured to transmit a first signal, the second line is configured to transmit a second signal, and the first signal and the second signal constitute a differential signal.
3. The data transmission circuit according to claim 2, characterized in that: The control module includes: a first control module and a second control module; The first control module is connected to the first sub-module and is configured to instruct the first sub-module to disconnect the first circuit when the output voltage of the first sub-module is greater than or equal to the reference voltage; The second control module is connected to the second sub-module, and is configured to instruct the second sub-module to disconnect the second circuit when the output voltage of the second sub-module is greater than or equal to the reference voltage.
4. The data transmission circuit according to claim 1, characterized in that: The first protection module is a controlled switch, and the data transmission circuit includes: A protection resistor is connected to a line between the input port and the output port, is connected in parallel with the controlled switch, and is configured to reduce a voltage difference between a first end of the controlled switch and a second end of the controlled switch when the controlled switch is turned on.
5. The data transmission circuit according to claim 1, characterized in that: The control module is configured to instruct the first protection module to conduct the line between the input port and the output port when the output voltage of the first protection module is less than the reference voltage.
6. The data transmission circuit according to claim 1, characterized in that: The control module includes: a comparator; The voltage of the first input terminal of the comparator is the output voltage of the first protection module; The voltage at the second input terminal of the comparator is the reference voltage; The output end of the comparator is connected to the first protection module; Among them, when the output voltage of the first protection module is greater than or equal to the reference voltage, the comparator outputs a first voltage, and the first protection module disconnects the line between the input port and the output port at the first voltage; when the output voltage of the first protection module is less than the reference voltage, the comparator outputs a second voltage, and the first protection module connects the line between the input port and the output port at the second voltage.
7. The data transmission circuit according to claim 2, characterized in that: The second protection module includes: a third sub-module and a fourth sub-module; The first end of the third submodule is connected to the first input port; the second end of the third submodule is connected to the second input port, and the third end of the third submodule is connected to the first end of the fourth submodule; The second end of the fourth sub-module is grounded; Among them, when the voltage at the first input port or the second input port reaches the turn-on voltage of the third sub-module and is less than the turn-on voltage of the fourth sub-module, the line between the first end of the third sub-module and the second end of the third sub-module is turned on, when the voltage at the first input port reaches the turn-on voltage of the fourth sub-module, the line between the first end of the fourth sub-module and the third sub-module and the third end of the third sub-module is turned on, and when the voltage at the second input port reaches the turn-on voltage of the fourth sub-module, the line between the second end of the fourth sub-module and the third sub-module and the third end of the third sub-module is turned on.
8. The data transmission circuit according to claim 7, characterized in that: The third sub-module includes: a first diode and a second diode; A first end of the first diode is connected to the first input port; A first end of the second diode is connected to the second input port, and a second end of the second diode is connected to a second end of the first diode; The fourth sub-module includes: a third diode; The first end of the third diode is connected to a line between the second end of the first diode and the second end of the second diode, and the second end of the third diode is grounded; The direction from the first end of the diode to the second end of the diode is a cut-off direction, and the breakdown voltage of the third diode is greater than the breakdown voltages of the first diode and the second diode.
9. A universal serial bus USB interface, characterized in that: include: case; The data transmission circuit according to any one of claims 1 to 8; An insulating sheet, located in the housing; A pin is arranged on the insulating sheet, and the input port of the data transmission circuit is connected to the pin.
10. An electronic device, characterized in that: include: The USB interface of claim 9.