Single-wire communication circuit and electronic device

By using a multiplexed interface, a switch-on module, and a communication chip in the single-wire communication circuit between the earphones and the charging case, combined with pull-up resistors and push-pull output circuits, the data transmission problem under unequal communication levels is solved, achieving stable and secure data transmission, which is suitable for products with multiplexed charging interfaces.

CN224682649UActive Publication Date: 2026-08-25TCL TECH ELECTRONICS (HUIZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202521881740.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-09-01
Publication Date
2026-08-25
Estimated Expiration
2035-09-01

AI Technical Summary

Technical Problem

In existing technologies, the single-wire communication circuit between the earphones and the charging case is prone to temporary failure or damage to the chip function under unequal communication levels, especially when the external port voltage is higher than 5V, which poses a safety hazard.

Method used

It adopts a combination of multiplexed interface, switch conduction module and communication chip, provides initial voltage through pull-up resistor, uses switch conduction module to switch the path in different communication and charging scenarios, and combines push-pull output circuit to realize data transmission, isolate and convert voltage to adapt to different voltage ranges.

Benefits of technology

It achieves stable data transmission under asymmetrical communication levels, protects the safety of the communication chip, and avoids chip damage caused by voltage surges. It is suitable for products with multiplexed charging interfaces, such as headphones, wristbands, and watches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224682649U_ABST
    Figure CN224682649U_ABST
Patent Text Reader

Abstract

The utility model discloses a single line communication circuit and electronic equipment, include: multiplexing interface, switch on module and communication chip, multiplexing interface is used for connecting the port of external device, carries out communication and charges, the port of external device is provided with pull -up resistance, the first end of switch on module connects multiplexing interface, the second end of switch on module connects the first port of communication chip, and the controlled end of switch on module connects the second end of communication chip, communication chip is used for outputting first instruction to switch on module, switch on module is used for when receiving first instruction, and the passage between multiplexing interface and the first port of communication chip is closed, and the first port is provided with push -pull output circuit, the utility model discloses utilize the initial voltage of pull -up resistance access, provide high level for external device and communication chip, and external device or communication chip is convenient through the mode of pulling low high level, realizes data transmission, solves the single line communication problem under the situation of not equal communication level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of single-wire communication technology, and in particular to a single-wire communication circuit and electronic device. Background Technology

[0002] With the explosive growth of the consumer electronics market, the information exchange functions required between earphones and charging cases have become increasingly complex. However, the connection between the earphones and charging case only uses two charging pins (positive and negative), necessitating the addition of a communication circuit to reuse these pins for single-wire bidirectional communication. During pre-shipment testing, the charging pins can be used directly to facilitate communication between the earphones and the production testing computer for testing or software programming. However, in practical applications, due to the reuse of the charging pins, voltage fluctuations at the external port can cause temporary malfunctions or even damage to the chip. Furthermore, since the single-wire communication port of the earphone chip typically only withstands 5V, external port voltages exceeding 5V can potentially damage the chip. Utility Model Content

[0003] The main purpose of this invention is to provide a single-wire communication circuit and electronic device, which aims to solve the problem of single-wire communication under conditions of unequal communication levels.

[0004] To achieve the above objectives, the present invention proposes a single-wire communication circuit, which includes: a multiplexing interface, a switch-on module, and a communication chip; The multiplexed interface is used to connect to the port of an external device for communication and charging; the port of the external device is equipped with a pull-up resistor. The first end of the switch-on module is connected to the multiplexing interface, the second end of the switch-on module is connected to the first port of the communication chip, and the controlled end of the switch-on module is connected to the second end of the communication chip. The communication chip is used to output a first command to the switch-on module; The switch-on module is used to shut off the path between the multiplexing interface and the first port of the communication chip when a first instruction is received. The first port is equipped with a push-pull output circuit.

[0005] This utility model also proposes an electronic device, which includes the single-wire communication circuit. Attached Figure Description

[0006] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0007] Figure 1 This is a schematic diagram of the structure of the first embodiment of the single-wire communication circuit of this utility model; Figure 2 for Figure 1 Schematic diagram of the push-pull output circuit; Figure 3 This is a schematic diagram of the structure of the second embodiment of the single-wire communication circuit of this utility model; Figure 4 This is a schematic diagram of the first structure of the third embodiment of the single-wire communication circuit of this utility model; Figure 5 This is a schematic diagram of the second structure of the third embodiment of the single-wire communication circuit of this utility model; Figure 6 This is a schematic diagram of the third structure of the third embodiment of the single-wire communication circuit of this utility model; Figure 7 This is a schematic diagram of the first structure of the fourth embodiment of the single-wire communication circuit of this utility model; Figure 8 This is a schematic diagram of the second structure of the fourth embodiment of the single-wire communication circuit of this utility model.

[0008] Explanation of icon numbers: 10, Multiplexed interface; 20, Switching module; 30, Communication chip; 40, Second driving circuit; 50, Filtering circuit; Q1-Q4, the first to the fourth switching devices; R1-R4, the first to the fourth resistors; C1-C2, the first capacitor to the second capacitor.

[0009] The realization of the purpose, functional features and advantages of this utility model will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0010] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.

[0011] It should be noted that all directional indicators (such as up, down, left, right, front, back, etc.) in this utility model embodiment are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicator will also change accordingly.

[0012] In this utility model, unless otherwise explicitly specified and limited, the terms "connection," "fixing," etc., should be interpreted broadly. For example, "fixing" can mean a fixed connection, a detachable connection, or an integral part; it can mean a mechanical connection or an electrical connection; it can mean a direct connection or an indirect connection through an intermediate medium; it can mean the internal communication of two components or the interaction between two components, unless otherwise explicitly limited. Those skilled in the art can understand the specific meaning of the above terms in this utility model according to the specific circumstances.

[0013] Furthermore, in this utility model, descriptions involving "first," "second," etc., are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this utility model.

[0014] This utility model proposes a single-wire communication circuit, such as Figure 1 As shown, in the first embodiment, the single-wire communication circuit includes: a multiplexing interface 10, a switch-on module 20, and a communication chip 30.

[0015] The multiplexed interface 10 is used to connect to the port of an external device for communication and charging. The multiplexed interface 10 connects to the external device, providing a channel for communication and charging. The switch-on module 20 is located between the multiplexed interface 10 and the communication chip 30; when the switch-on module 20 is on, the multiplexed interface 10 provides a communication channel between the communication chip 30 and the external device.

[0016] The external device's port is equipped with pull-up resistors. It should be noted that the external device and the communication chip 30 transmit data in binary, that is, through multiple specific combinations of 0s and 1s. The first port of the communication chip 30 is equipped with a push-pull output circuit. For example... Figure 2 As shown, Figure 2This is a schematic diagram of a push-pull output circuit.

[0017] It is easy to understand that during data transmission between the external device and the communication chip 30, the pull-up resistor provides an initial voltage. Specifically, the first end of the pull-up resistor is connected to the initial voltage, and the second end is connected to the port of the external device and the multiplexing interface 10. For the transmission line between the external device and the communication chip 30, the initial voltage provides a high level. To prevent the high level of the initial voltage from damaging the port of the external device or the communication chip 30, the initial voltage should be within the input voltage range of both the external device port and the communication chip 30. Furthermore, it should be noted that the initial voltage is classified as a high level in the communication level division between the external device and the communication chip 30. That is, the potential of the initial voltage belongs to "1" in the binary data transmission between the external device and the communication chip 30.

[0018] It is easy to understand that the value of the initial voltage can be determined by the R&D personnel based on the input voltage range of the communication chip 30 and the external device.

[0019] Furthermore, since the pull-up resistor is connected to an initial voltage, it can provide a "1" in binary data transmission. When the external device sends data and the communication chip 30 receives it, the external device pulls the potential at the port low, sending a low potential to the communication chip 30. That is, it provides a "0" in binary data transmission. In particular, the external device can pull the potential at the port down to zero. The external device outputs "0" to the communication chip 30 by pulling down the potential at the port and on the transmission line. It is easy to understand that when the external device does not pull down the port potential, the communication chip 30, upon receiving the initial voltage connected to the pull-up resistor, recognizes the initial voltage as the binary number "1". Therefore, the external device can output data to the communication chip 30 by controlling the timing and duration of pulling down the port potential.

[0020] Accordingly, when the communication chip 30 sends data and the external device receives it, the first port of the communication chip 30 is equipped with a push-pull output circuit. The communication chip 30 pulls down the potential at its first port through the push-pull output circuit, outputting a low potential to the external device. This provides a "0" in binary data transmission. Specifically, the communication chip 30 pulls the potential at its first port down to zero through the push-pull output circuit. It is particularly important to emphasize that the switch-on module 20 is in a conducting state when the communication chip 30 and the external device are transmitting data. The port of the external device is connected to the communication chip 30 through the multiplexing interface 10 and the switch-on module 20. Furthermore, the port of the external device is equipped with a pull-up resistor. That is, when the multiplexing interface 10 is connected to the port of the external device, and when the communication chip 30 or the external device does not pull down the potential of the multiplexing interface 10, the potential at the first port of the communication chip 30 and the port of the external device is affected by the initial voltage and is a high potential.

[0021] Alternatively, in one example, the pull-up resistor can also be set in the single-wire communication circuit, that is, the single-wire communication circuit includes: a multiplexing interface 10, a switch conduction module 20, a communication chip 30, and a pull-up resistor; the first end of the pull-up resistor is connected to the initial voltage, and the second end is connected to the multiplexing interface 10.

[0022] It should be noted that this invention utilizes the initial voltage provided by the pull-up resistor to provide a high level for the external device and the communication chip 30, facilitating data transmission by pulling the external device or the communication chip 30 low. Since the initial voltage matches the input voltage range of the external device and the communication chip 30, even if the communication levels of the external device and the communication chip 30 are not equal, this voltage asymmetry is addressed through the isolation and conversion of the switch module 20, changing the pull-up level of the external interface (the external pull-up level should match the required communication level of the external interface). For example, if the external interface communication level is 5V, then the external pull-up is configured to 5V. Since the voltage range required by the communication chip 30 is 0-1.8V, data transmission between the external device and the communication chip 30 can still be achieved even if the voltage is outside the communication chip 30's range.

[0023] The switch-on module 20 is disposed between the multiplexing interface 10 and the communication chip 30. It is easy to understand that when the communication chip 30 and the external device are transmitting data, the switch-on module 20 is in the on state, that is, the switch-on module 20 connects the path between the multiplexing interface 10 and the first port of the communication chip 30.

[0024] It should be explained that the multiplexing interface 10 is used for communication and charging. At any given time, the multiplexing interface 10 can only perform one of these functions: communication or charging. When the multiplexing interface 10 is used for charging, the switch-on module 20 is turned off. In this embodiment, the communication chip 30 outputs a first command to the switch-on module 20 to control it to turn off. When the multiplexing interface 10 is used for communication, the communication chip 30 stops outputting the first command, and the switch-on module 20 is turned on.

[0025] It should be noted that, given the practical need for communication scenarios to outnumber charging scenarios in electronic products, in this embodiment, the switch-on module 20 is turned off when it receives the first instruction and turned on when it does not receive the first instruction.

[0026] It is easy to understand that the single-wire communication circuit proposed in this utility model can be applied to various multiplexed charging interfaces and products that require communication; such as: headphones, wristbands or watches, etc.

[0027] The communication chip 30 can be a Bluetooth chip, a Wi-Fi chip, or a chip with an integrated communication module, etc.

[0028] This embodiment discloses a single-wire communication circuit, including: a multiplexed interface 10, a switch-on module 20, and a communication chip 30; the multiplexed interface 10 is used to connect to the port of an external device for communication and charging; the port of the external device is equipped with a pull-up resistor; the first end of the switch-on module 20 is connected to the multiplexed interface 10, the second end of the switch-on module 20 is connected to the first port of the communication chip 30, and the controlled end of the switch-on module 20 is connected to the second end of the communication chip 30; the communication chip 30 is used to output a first command to the switch-on module 20; the switch-on module 20 is used to shut off the path between the multiplexed interface 10 and the first port of the communication chip 30 when it receives the first command; the first port is provided with a push-pull output circuit. This invention utilizes the initial voltage connected by the pull-up resistor to provide a high level for the external device and the communication chip 30, facilitating data transmission by pulling the external device or the communication chip 30 low.

[0029] In the second embodiment of this utility model, as Figure 3 As shown, the switch-on module 20 includes: a first switch device Q1; The first end of the first switching device Q1 is connected to the multiplexing interface 10, the second end of the first switching device Q1 is connected to the first port, and the controlled end of the first switching device Q1 is connected to the second end of the communication chip 30.

[0030] It should be noted that the first and second ends of the first switching device Q1 are located between the first port of the communication chip 30 and the multiplexing interface 10; when the controlled end of the first switching device Q1 receives the first instruction output by the communication chip 30, the first switching device Q1 is turned on so that the communication chip 30 and the external device can communicate.

[0031] The first switching device Q1 can be a voltage-type control device or a current-type control device. For example, the first switching device Q1 is a MOSFET or a transistor.

[0032] In one example, the first switching device Q1 is a depletion-type NMOS transistor, the drain of which is connected to the multiplexing interface 10, the source of which is connected to the first port, and the gate of which is connected to the second terminal of the communication chip 30.

[0033] In the third embodiment, as Figure 4 As shown, the switch-on module 20 further includes: a voltage divider circuit 210 and a first drive circuit 220; The input terminal of the voltage divider circuit 210 is connected to a set voltage, the ground terminal of the voltage divider circuit 210 is grounded, and the output terminal of the voltage divider circuit 210 is connected to the controlled terminal of the first switching device Q1. The voltage divider circuit 210 is used to divide the set voltage and output the divided voltage to the controlled terminal of the first switching device Q1. The first terminal of the first driving circuit 220 is connected to the output terminal of the voltage divider circuit 210, the second terminal of the first driving circuit 220 is grounded, and the controlled terminal of the first driving circuit 220 is connected to the second terminal of the communication chip. The first driving circuit 220 is used to open the path between the output terminal of the voltage divider circuit 210 and ground when it receives the first instruction output by the communication chip, thereby lowering the potential at the output terminal.

[0034] It should be noted that the multiplexed interface 10 is used for communication and charging. The voltage of the multiplexed interface 10 during charging may exceed the voltage range allowed by the first port of the communication chip 30. Therefore, when the multiplexed interface 10 is used for charging, the communication chip 30 outputs a first command to turn off the first switching device Q1. The first switching device Q1 is initially in the on state, i.e., in the absence of the first command.

[0035] Therefore, it can be seen that the present invention uses the first switching device Q1 to block the charging voltage. A high-voltage-resistant first switching device Q1 can be selected to adapt to the charging voltage connected to the multiplexing interface 10.

[0036] In the third embodiment, the first switching device Q1 is connected to the output terminal of the voltage divider circuit 210 at its controlled terminal. The voltage divider circuit 210 divides the set voltage and outputs it to the controlled terminal of the first switching device Q1. It is easy to understand that the first switching device Q1 is in a conducting state after receiving the divided voltage at its controlled terminal. Furthermore, when the first switching device Q1 changes, the voltage division coefficient of the voltage divider circuit 210 can be adjusted to accommodate different conduction voltages of the first switching device Q1.

[0037] The first terminal of the first driving circuit 220 is connected to the output terminal of the voltage divider circuit 210, and the second terminal of the first driving circuit 220 is grounded. The first driving circuit 220 is used to open the path between the output terminal of the voltage divider circuit 210 and ground when it receives the first instruction output by the communication chip, thereby pulling down the potential at the output terminal.

[0038] As can be seen from the above, in the third embodiment, the voltage divider circuit 210 divides the set voltage to provide the first switching device Q1 with a voltage for conduction, ensuring that the first switching device Q1 is turned on when the communication chip does not output the first instruction. It is easy to understand that in the third embodiment, the first switching device Q1 is turned on when its controlled terminal is at a high potential (the voltage after the set voltage is divided by the voltage divider circuit 210) and turned off when its controlled terminal is at a low potential (ground potential). The first driving circuit 220 turns off the first switching device Q1 by lowering the potential at the output terminal of the voltage divider circuit 210, thereby lowering the potential at the controlled terminal of the first switching device Q1.

[0039] The voltage divider circuit 210 can be composed of multiple resistors, or it can be composed of resistors in combination with other electrical components. In one example, the voltage divider circuit 210 includes: a first capacitor C1 and a first resistor R1; The first end of the first resistor R1 is connected to the set voltage, the second end of the first resistor R1 is connected to the controlled end of the first switching device and the first end of the first capacitor C1; the second end of the first capacitor C1 is grounded.

[0040] like Figure 5 As shown, it is easy to understand that the ratio of the impedance value of the first resistor R1 to the impedance value of the first capacitor C1 determines the voltage division coefficient of the voltage divider circuit 210. Furthermore, the first terminal of the first capacitor C1 is connected to the controlled terminal of the first switching device Q1, and the second terminal is grounded. The first capacitor C1 can also be used to stabilize the voltage at the controlled terminal of the first switching device Q1.

[0041] like Figure 6As shown, in one example, the first driving circuit 220 includes: a second switching device Q2, a second resistor R2, and a third resistor R3; The first terminal of the second switching device Q2 is connected to the output terminal of the voltage divider circuit 210, the second terminal of the second switching device Q2 is connected to the first terminal of the third resistor R3 and grounded; the controlled terminal of the second switching device Q2 is connected to the first terminal of the second resistor R2; the second terminals of the second resistor R2 and the second terminals of the third resistor R3 are connected to the second terminal of the communication chip.

[0042] The second switching device Q2 can be a MOSFET or a transistor. Specifically, the second switching device Q2 can be an NMOS transistor. The second resistor R2 is used for current limiting. The third resistor R3 is disposed between the second terminal and the controlled terminal of the second switching device Q2. If the second switching device Q2 is a MOSFET, the third resistor R3 can provide a voltage difference between the two terminals of the MOSFET.

[0043] Due to the presence of the second switching device Q2, the port voltages of the multiplexing interface and the communication interface are not required to be equal, and this circuit has a high withstand voltage capability. The purpose of the second switching device Q2 is to pull up the gate voltage of the first switching device Q1 by the main control GPIO before communication begins, so as to isolate the high voltage of the initial external interface or the pulses that the peripheral device may output, thereby protecting the communication chip from damage.

[0044] In the fourth embodiment of this utility model, the single-wire communication circuit further includes: a third switching device Q3; The first end of the third switching device Q3 is connected to the multiplexing interface 10, the second end of the third switching device Q3 is connected to the charging chip, and the controlled end of the third switching device Q3 is connected to the third end of the communication chip 30. The third switching device Q3 is used to connect the multiplexing interface 10 and the charging chip when it receives the second instruction output by the communication chip 30.

[0045] It should be noted that the third switching device Q3 is disposed between the multiplexing interface 10 and the charging chip, and is used to control the conduction or cutoff of the path between the multiplexing interface 10 and the charging chip. Specifically, when the third switching device Q3 receives the second instruction output by the communication chip 30, it conducts the path between the multiplexing interface 10 and the charging chip. It is easy to understand that in one embodiment of this invention, the first switching device Q1 is in a conducting state when it does not receive the first instruction, and the third switching device Q3 is in a cutoff state when it does not receive the second instruction. Thus, when the communication chip 30 does not output the first and second instructions, the single-wire communication circuit implements the communication function of the multiplexing interface 10. When the multiplexing interface 10 is needed to implement the charging function, the communication chip 30 outputs the first instruction and the second instruction respectively, turning off the first switching device Q1 and turning on the third switching device Q3. In this embodiment, the close cooperation between the first switching device Q1, the third switching device Q3, and the communication chip 30 facilitates the switching of the single-wire communication circuit function.

[0046] The third switching device Q3 can be a MOSFET, a transistor, or a thyristor, etc. In particular, the third switching device Q3 can be a PMOS transistor.

[0047] In one example, the single-wire communication circuit further includes: a second driving circuit 40 and a filtering circuit 50; The first terminal of the second driving circuit 40 is connected to the controlled terminal of the third switching device Q3, the second terminal of the second driving circuit 40 is grounded, and the controlled terminal of the second driving circuit 40 is connected to the third terminal of the communication chip 30. The second driving circuit 40 is used to conduct the path between the controlled terminal of the third switching device Q3 and ground when the second instruction is received. The first terminal of the filter circuit 50 is connected to the charging chip, and the second terminal of the filter circuit 50 is grounded. The filter circuit 50 is used to filter out high-frequency noise in the output voltage of the multiplexing interface 10.

[0048] Reference Figure 7 The second driving circuit 40 is disposed between the controlled terminal of the third switching device Q3 and ground. In this example, the third switching device Q3 is a voltage-type control device and is turned on when the controlled terminal of the third switching device Q3 is at a low potential. Therefore, when the second driving circuit 40 receives the second command, it pulls down the potential of the controlled terminal of the third switching device Q3 by turning on the path between the controlled terminal of the third switching device Q3 and ground.

[0049] The first terminal of the filter circuit 50 is connected to the second terminal of the third switching device Q3, and the second terminal is grounded. The filter circuit 50 is used to filter out high-frequency noise in the output voltage of the multiplexing interface 10 when the third switching device Q3 is turned on, that is, to filter out high-frequency noise in the voltage entering the charging chip.

[0050] In this example, the second driving circuit 40 is used to enhance the driving capability of the third terminal of the communication chip 30 and to isolate the third terminal of the communication chip 30 from the third switching device Q3.

[0051] In one example, the second drive circuit 40 includes: a fourth switching device Q4 and a fourth resistor R4; The first end of the fourth resistor R4 is connected to the second end of the third switching device Q3; the first end of the fourth switching device Q4 is connected to the controlled end of the third switching device Q3 and the second end of the fourth resistor R4, the second end of the fourth switching device Q4 is grounded, and the controlled end of the fourth switching device Q4 is connected to the third end of the communication chip 30. The fourth switching device Q4 is used to connect the controlled terminal of the third switching device Q3 and ground when it receives the second instruction output by the communication chip 30.

[0052] like Figure 8 As shown, the first end of the fourth resistor R4 is connected to the second end of the third switching device Q3, and the second end is connected to the controlled end of the third switching device Q3. In this example, the third switching device Q3 is turned on when the voltage difference between the controlled end and the second end of the third switching device Q3 is less than the turn-on voltage. When the second driving circuit 40 does not receive the second command, the third switching device Q3 is turned off. Due to the presence of the fourth resistor R4, the voltage difference between the second end and the controlled end of the third switching device Q3 is zero, ensuring that the third switching device Q3 will not be mis-turned on due to voltage fluctuations of the charging chip.

[0053] The third switching device Q3 can be an enhancement-mode PMOS transistor.

[0054] The fourth switching device Q4 is turned off when the second instruction is not received, and turned on when the second instruction is received, pulling down the voltage at the controlled terminal of the third switching device Q3, thereby turning on the third switching device Q3. The fourth switching device Q4 can be a MOSFET, a transistor, or a thyristor, etc.

[0055] The filter circuit 50 includes: a second capacitor C2; the first end of the second capacitor C2 is connected to the charging chip, and the second end is grounded.

[0056] It is easy to understand that the second capacitor C2 is used to filter high-frequency noise in the voltage entering the charging chip. Additionally, the second capacitor can also be used to stabilize the voltage value entering the charging chip.

[0057] This utility model also proposes an electronic device, which includes the single-wire communication circuit described above.

[0058] The specific structure of the single-wire communication circuit is as described in the above embodiments. Since this electronic device adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.

[0059] The electronic device can be a product that reuses a charging interface, such as headphones, wristbands, or watches, for communication and charging.

[0060] The above description is only an optional embodiment of the present utility model and does not limit the patent scope of the present utility model. All equivalent structural transformations made under the inventive concept of the present utility model using the contents of the present utility model specification and drawings, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present utility model.

Claims

1. A single-wire communication circuit, characterized in that, The single-wire communication circuit includes: a multiplexing interface, a switch-on module, and a communication chip; The multiplexed interface is used to connect to the port of an external device for communication and charging; the port of the external device is equipped with a pull-up resistor. The first end of the switch-on module is connected to the multiplexing interface, the second end of the switch-on module is connected to the first port of the communication chip, and the controlled end of the switch-on module is connected to the second end of the communication chip. The communication chip is used to output a first command to the switch-on module; The switch-on module is used to shut off the path between the multiplexing interface and the first port of the communication chip when a first instruction is received. The first port is equipped with a push-pull output circuit.

2. The single-wire communication circuit as described in claim 1, characterized in that, The switch-on module includes: a first switch device; The first end of the first switching device is connected to the multiplexing interface, the second end of the first switching device is connected to the first port, and the controlled end of the first switching device is connected to the second end of the communication chip.

3. The single-wire communication circuit as described in claim 2, characterized in that, The switch-on module further includes: a voltage divider circuit and a first driving circuit; The input terminal of the voltage divider circuit is connected to a set voltage, the ground terminal of the voltage divider circuit is grounded, and the output terminal of the voltage divider circuit is connected to the controlled terminal of the first switching device; the voltage divider circuit is used to divide the set voltage and output the divided voltage to the controlled terminal of the first switching device. The first terminal of the first driving circuit is connected to the output terminal of the voltage divider circuit, the second terminal of the first driving circuit is grounded, and the controlled terminal of the first driving circuit is connected to the second terminal of the communication chip. The first driving circuit is used to open the path between the output terminal of the voltage divider circuit and ground when it receives the first instruction output by the communication chip, thereby lowering the potential at the output terminal.

4. The single-wire communication circuit as described in claim 3, characterized in that, The voltage divider circuit includes: a first capacitor and a first resistor; The first end of the first resistor is connected to the set voltage, the second end of the first resistor is connected to the controlled terminal of the first switching device and the first end of the first capacitor; the second end of the first capacitor is grounded.

5. The single-wire communication circuit as described in claim 3, characterized in that, The first driving circuit includes: a second switching device, a second resistor, and a third resistor; The first terminal of the second switching device is connected to the output terminal of the voltage divider circuit, the second terminal of the second switching device is connected to the first terminal of the third resistor and grounded; the controlled terminal of the second switching device is connected to the first terminal of the second resistor; the second terminals of the second resistor and the second terminals of the third resistor are connected to the second terminal of the communication chip.

6. The single-wire communication circuit as described in any one of claims 1 to 5, characterized in that, The single-wire communication circuit also includes: a third switching device; The first end of the third switching device is connected to the multiplexing interface, the second end of the third switching device is connected to the charging chip, and the controlled end of the third switching device is connected to the third end of the communication chip. The third switching device is used to connect the multiplexing interface and the charging chip when it receives the second instruction output by the communication chip.

7. The single-wire communication circuit as described in claim 6, characterized in that, The single-wire communication circuit also includes: a second driving circuit and a filtering circuit; The first terminal of the second driving circuit is connected to the controlled terminal of the third switching device, the second terminal of the second driving circuit is grounded, and the controlled terminal of the second driving circuit is connected to the third terminal of the communication chip; the second driving circuit is used to conduct the path between the controlled terminal of the third switching device and ground when the second instruction is received; the first terminal of the filter circuit is connected to the charging chip, and the second terminal of the filter circuit is grounded; the filter circuit is used to filter out high-frequency noise in the output voltage of the multiplexing interface.

8. The single-wire communication circuit as described in claim 7, characterized in that, The second driving circuit includes: a fourth switching device and a fourth resistor; The first end of the fourth resistor is connected to the second end of the third switching device; the first end of the fourth switching device is connected to the controlled end of the third switching device and the second end of the fourth resistor; the second end of the fourth switching device is grounded; and the controlled end of the fourth switching device is connected to the third end of the communication chip. The fourth switching device is used to connect the controlled terminal of the third switching device and ground when it receives the second instruction output by the communication chip.

9. The single-wire communication circuit as described in claim 7, characterized in that, The filter circuit includes: a second capacitor; The first end of the second capacitor is connected to the charging chip, and the second end is grounded.

10. An electronic device, characterized in that, The electronic device includes a single-wire communication circuit as described in any one of claims 1 to 9.