A switch control circuit based on single-wire protocol power supply

By precisely controlling the switching module to turn on and off through the switching control circuit, the problems of low voltage and charge leakage in the single-wire protocol power supply process of the slave chip are solved, thus realizing the normal operation of the slave chip and the stability of the circuit.

CN115940909BActive Publication Date: 2026-03-10BEIJING TONGFANG MICROELECTRONICS
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

During the data exchange between the master control chip and the slave control chip based on a single-wire protocol power supply, the slave control chip may malfunction due to low voltage or charge leakage, which is difficult to solve effectively with existing technology.

Method used

A switch control circuit is adopted, including a switch module, a high/low level control module, and a power supply module. By precisely controlling the switching module to turn on and off, the internal power consumption of the slave chip is reduced, and the power charge leakage is prevented by controlling the high/low level module.

Benefits of technology

This ensures the normal operation of the slave control chip, reduces internal power consumption, prevents power charge leakage, and ensures circuit stability and data transmission reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115940909B_ABST
    Figure CN115940909B_ABST
Patent Text Reader

Abstract

This application discloses a switch control circuit based on a single-wire protocol power supply. The circuit includes: a switch module for receiving switch control signals sent by a control switch module, and turning the switch on or off according to the switch control signals; a high / low level control module for receiving level control signals sent by the control switch module, and sending high and low levels externally according to the level control signals; a control switch module for sending level control signals to the high / low level control module, sending switch control signals to the switch module, and receiving data reception signals sent by the slave chip; and a power supply module for providing voltage to the slave chip, and for charging the slave chip through the switch module when the single-wire communication interface is at a high level. Thus, by precisely controlling the on / off state of the switch module through the control switch module, the internal power consumption of the slave chip is reduced, ensuring the normal operation of the slave chip, and preventing charge leakage from the slave chip's power supply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of switch control technology, and in particular to a switch control circuit based on a single-wire protocol power supply. Background Technology

[0002] With the development of science and technology, distributed systems typically adopt a master-slave model to implement multi-threaded task execution. The master-slave model refers to dividing an original task into multiple subtasks, with the results of these subtasks forming the processing result of the original task. Specifically, the master control chip receives the original task, divides it into subtasks, and sends them to multiple slave control chips. Each slave control chip is responsible for processing its corresponding subtask and returning the result to the master control chip.

[0003] In existing technologies, a single-wire protocol is typically used to exchange data between a master control chip and a slave control chip, and the master control chip can supply power to the slave control chip via this protocol. However, this single-wire protocol-based power supply has two drawbacks during data exchange: First, when the slave control chip sends data to the master control chip, its power module needs to provide sufficient power for data transmission. The slave control chip may provide insufficient voltage due to its own operation or high power consumption, affecting the normal operation of the circuit and preventing it from providing strong drive current. Second, when the master control chip sends data to the slave control chip, a high-level signal can provide power for charging. However, when the slave control chip's single-wire protocol power supply interface transitions from high to low, the charged slave control chip may experience charge leakage through the low-level single-wire protocol power supply interface.

[0004] Therefore, how to ensure the normal operation of the slave control chip based on the single-wire protocol power supply is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] To address the aforementioned issues, this application provides a switch control circuit based on a single-wire protocol power supply to ensure the normal operation of the slave control chip powered by the single-wire protocol and to prevent charge leakage from the power supply of the slave control chip.

[0006] The embodiments of this application disclose the following technical solutions:

[0007] This application provides a switch control circuit based on a single-wire protocol power supply, applied to a slave control chip. The slave control chip is equipped with a single-wire communication interface, including:

[0008] Switching module, high / low level control module, control switch module and power supply module;

[0009] The switch module is used to receive the switch control signal sent by the control switch module, and to turn the switch on or off according to the switch control signal.

[0010] The high / low level control module is used to receive the level control signal sent by the control switch module, and send high and low levels outward according to the level control signal;

[0011] The control switch module is used to send level control signals to the high / low level control module; and to send switch control signals to the switch module; and to receive data reception signals sent by the slave control chip.

[0012] The power module is used to provide voltage to the slave control chip; and to charge the chip through the switch module when the single-wire communication interface is at a high level.

[0013] The switch module is electrically connected to the high / low level control module, the power supply module, and the single-wire communication interface, respectively. The switch module is also communicatively connected to the control switch module. The high / low level control module is communicatively connected to the control switch module and electrically connected to the single-wire communication interface. The power supply module is also electrically connected to the switch module.

[0014] Optionally, the switching module includes a PMOS power transistor and a parasitic diode of the PMOS power transistor;

[0015] The charging submodule is used to transfer the electrical energy provided by the main control chip to the power module to charge the power module when the switching submodule is in the off state.

[0016] The switch submodule is used to receive the switch control signal sent by the control switch module, and to turn the switch on or off according to the switch control signal.

[0017] The charging submodule and the switching submodule are connected in parallel via electrical connection.

[0018] Optionally, the control switch module includes a non-overlapping circuit, a power-on reset circuit, a control circuit, a data selection circuit, and a comparator circuit;

[0019] The non-overlapping circuit is used to receive a first control signal sent by the control circuit; and to receive a second control signal sent by the switching module; and to send a high / low level control signal to the high / low level control module; and to send a third control signal to the data selection circuit.

[0020] The power-on reset circuit is used to output a high level when the power module has finished charging.

[0021] The control circuit is used to send a fourth control signal to the comparator circuit and a fifth control signal to the data selection circuit.

[0022] The data selection circuit is used to receive the fifth control signal sent by the control circuit, and select the comparator circuit to output the result according to the fifth control signal; wherein, the comparator circuit is in the on state;

[0023] The comparator circuit is used to receive the fourth control signal sent by the control circuit and to turn on according to the fourth control signal;

[0024] The non-overlapping circuit is electrically connected to the power-on reset circuit, the control circuit, and the data selection circuit, respectively; the power-on reset circuit is electrically connected to the control circuit, the non-overlapping circuit, and the data selection circuit, respectively; the control circuit is electrically connected to the non-overlapping circuit, the comparator circuit, the data selection circuit, and the power-on reset circuit, respectively; and the data selection circuit is electrically connected to the control circuit, the comparator circuit, the power-on reset circuit, and the non-overlapping circuit, respectively.

[0025] Optionally, it also includes:

[0026] The NAND gate module is used to receive a first-level signal sent by the non-overlapping circuit; to receive a second-level signal sent by the power-on reset circuit; and to output a third-level signal based on the first-level signal, the second-level signal, and the NAND gate logic relationship.

[0027] The first input terminal of the NAND gate module is electrically connected to the non-overlapping circuit.

[0028] The second input terminal of the NAND gate module is electrically connected to the power-on reset circuit.

[0029] The output of the NAND gate module is electrically connected to the data selection circuit.

[0030] Optionally, the switching module is specifically used to send a second control signal to the non-overlapping circuit; wherein the switching module is communicatively connected to the non-overlapping circuit of the control switching module.

[0031] Optionally, the non-overlapping circuit is further used for:

[0032] When the slave control chip sends data to the master control chip, if the single-wire communication interface is at a high level, the first control signal sent by the control circuit is received, and a low-level control signal is sent to the high-low level control module according to the first control signal.

[0033] Optionally, the non-overlapping circuit is further used for:

[0034] When the slave control chip sends data to the master control chip, if the single-wire communication interface is at a low level, the first control signal sent by the control circuit is received, and a high-level control signal is sent to the high-low level control module according to the first control signal.

[0035] Optionally, the power module includes a power cord and an external capacitor.

[0036] Compared to existing technologies, this application offers the following advantages: The single-wire protocol-based power supply switch control circuit provided in this application is applied to a slave chip, which has a single-wire communication interface. The circuit includes: a switch module for receiving switch control signals sent by the control switch module and turning the chip on or off according to the switch control signals; a high / low level control module for receiving level control signals sent by the control switch module and sending high and low levels externally according to the level control signals; a control switch module for sending level control signals to the high / low level control module, sending switch control signals to the switch module, and receiving data reception signals sent by the slave chip; and a power supply module for providing voltage to the slave chip and charging it through the switch module when the single-wire communication interface is at a high level. Specifically, by precisely controlling the on / off state of the switch module, the internal power consumption of the slave chip is reduced, enabling normal operation of the slave chip. Furthermore, by controlling the high and low levels of the high / low level control module, the high / low level control module is controlled, thereby preventing charge leakage from the slave chip's power supply. Attached Figure Description

[0037] To more clearly illustrate the technical solutions in the embodiments of this application 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 application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0038] Figure 1 A schematic diagram of a switch control circuit based on a single-wire protocol power supply provided in an embodiment of this application;

[0039] Figure 2 A schematic diagram of another single-wire protocol-based switch control circuit provided in this application embodiment;

[0040] Figure 3 A schematic diagram of the structure of a control switch module for a switch control circuit based on a single-wire protocol power supply, provided for an embodiment of this application;

[0041] Figure 4A schematic diagram of another switch control circuit based on single-wire protocol power supply provided in an embodiment of this application;

[0042] Figure 5 A circuit diagram of a switch control circuit based on a single-wire protocol power supply provided for an embodiment of this application;

[0043] Figure 6 A circuit diagram of a control switch module for a switch control circuit based on a single-wire protocol power supply, provided for an embodiment of this application;

[0044] Figure 7 This application provides a method based on... Figure 6 The circuit diagram of the comparator circuit in the image;

[0045] Figure 8 This is a circuit diagram of a non-overlapping circuit provided in an embodiment of this application. Detailed Implementation

[0046] As described earlier, research on the control of slave chips revealed that in existing technologies, a single-wire protocol is generally used for data exchange between the master and slave chips, and the master chip can supply power to the slave chip via this protocol. However, this single-wire protocol-based power supply has two drawbacks during data exchange: Firstly, when the slave chip sends data to the master chip, its power module needs to provide sufficient power for data transmission. However, due to its own operation or high power consumption, the slave chip may provide insufficient voltage, potentially affecting the normal operation of the circuit and preventing the provision of strong drive current. Secondly, when the master chip sends data to the slave chip, a high-level signal from the master chip provides power for charging. However, when the slave chip's single-wire protocol power supply interface transitions from high to low, the charged slave chip may experience charge leakage through the low-level single-wire protocol power supply interface.

[0047] To address the aforementioned issues, this application provides a switch control circuit based on a single-wire protocol power supply. The circuit includes: a switch module for receiving switch control signals from the control switch module and turning the circuit on or off according to the switch control signals; a high / low level control module for receiving level control signals from the control switch module and transmitting high and low levels according to the level control signals; a control switch module for sending level control signals to the high / low level control module, sending switch control signals to the switch module, and receiving data reception signals from a slave chip; and a power supply module for providing voltage to the slave chip and charging it through the switch module when the single-wire communication interface is at a high level.

[0048] In this way, by precisely controlling the switching module to turn it on and off, the internal power consumption of the slave chip is reduced, enabling the slave chip to work normally. At the same time, by further controlling the high and low level of the high and low level control module, the high and low level of the slave chip's power supply is controlled by the switching module, thereby preventing the problem of charge leakage from the slave chip's power supply.

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

[0050] The single-wire protocol circuit mentioned in this application embodiment is mainly used in low-voltage single-wire communication circuits, and can also be compatible with high-voltage single-wire communication. However, this application mainly solves the technical problem of single-wire communication circuit operation under low-voltage conditions.

[0051] In this context, single-wire protocol power supply means that there is only one data line between the master control chip and the slave control chip, which can realize communication, data transmission and power supply. However, the slave control chip can only respond when the master control chip calls the slave control chip. Moreover, the power supply of the slave chip is provided by the single-wire communication interface, and it is not necessarily provided entirely by the master control chip. It can also be provided by pull-up resistors.

[0052] In the context of this application, electrical connection refers to the form in which different components in a circuit structure are connected by physical lines that can transmit electrical signals, such as PCB copper foil or wires, which is a physical connection.

[0053] In the context of this application, a communication connection refers to a connection method that enables data transmission through signals such as electrical signals and optical signals. That is, one party sends data and the other party receives data, and the two have a communication connection relationship. Since there may be a physical connection in the physical circuit to enable communication between the two devices, it is not limited to whether there is a physical connection between the two.

[0054] See Figure 1 This figure is a schematic diagram of a switch control circuit based on a single-wire protocol power supply provided in an embodiment of this application. Figure 1 As shown, this circuit is applied to a slave control chip, which is equipped with a single-wire communication interface and may specifically include: a switch module 101, a high / low level control module 102, a control switch module 103, and a power supply module 104.

[0055] The switch module 101 is electrically connected to the high / low level control module 102, the power supply module 104, and the single-wire communication interface, respectively. The switch module 101 is communicatively connected to the control switch module 103. The high / low level control module 102 is communicatively connected to the control switch module 103 and electrically connected to the single-wire communication interface. The power supply module 104 is electrically connected to the switch module 101.

[0056] The switch module 101 is used to receive the switch control signal sent by the control switch module, and to turn the switch on or off according to the switch control signal.

[0057] The switch module refers to the switch that controls the connection between the SWI communication interface in the slave chip and the internal power supply of the slave chip.

[0058] One possible implementation method is described in [reference needed]. Figure 2 , Figure 2 This application provides a schematic diagram of another single-wire protocol-based switch control circuit, combined with... Figure 2 As shown, the switching module 101 may specifically include a PMOS power transistor 201 and a parasitic diode 202 of the PMOS power transistor;

[0059] The PMOS power transistor 201 is used to transmit the electrical energy provided by the main control chip to the power module 104 to charge the power module 104.

[0060] The parasitic diode 202 is used to conduct when the POMS power transistor 201 is turned off and the level of the end connected to the single-wire protocol communication interface is in a high-level state, and to transmit the power provided by the main control chip to the power module 104 to charge the power module 104.

[0061] The PMOS power transistor 201 and the parasitic diode 202 are connected in parallel in an electrically connected manner.

[0062] Among them, in the appendix Figure 2 In, with Figure 1 The same parts are used Figure 1 The serial numbers will be listed separately, and will not be repeated here.

[0063] The high / low level control module 102 is used to receive the level control signal sent by the control switch module, and send high and low levels outward according to the level control signal.

[0064] The high / low level control module refers to the module that sends data from the chip to the main chip.

[0065] The high / low level control module can use an insulated gate bipolar transistor to send out high or low levels. For specific implementation methods, please refer to mature technologies, which will not be described in detail here.

[0066] The control switch module 103 is used to send level control signals to the high and low level control module; and to send switch control signals to the switch module; and to receive data reception signals sent by the slave control chip.

[0067] The control switch module 103 can control the switch module 101 to turn on or off, and can also control the high or low level of the high / low level control module 102.

[0068] The data receiving signal indicates that when the master control chip sends data or signals to the slave control chip, the slave control chip will receive them. At this time, the slave control chip will send a signal to the control switch module 103 to indicate that the slave control chip is in the state of receiving data.

[0069] The power module 104 is used to provide voltage to the slave control chip; and to charge the chip through the switch module when the single-wire communication interface is at a high level.

[0070] Specifically, the power module 104 may include a power cord and an external capacitor.

[0071] The external capacitor is used to store the electrical energy provided by the main control chip and to provide the required voltage when the slave control chip sends data to the main control chip.

[0072] The switch control circuit based on single-wire protocol power supply provided in this application embodiment precisely controls the opening and closing of the switch module through the control switch module, reducing the internal power consumption of the slave control chip and enabling the normal operation of the slave control chip. At the same time, the control switch module further controls the high and low level of the high and low level control module, thereby preventing the problem of charge leakage of the slave control chip's power supply.

[0073] Based on the single-wire protocol power supply-based switch control circuit provided in the above embodiments, in order to further achieve precise control of the switch module and solve the problem that the slave control chip may experience circuit logic errors due to sudden current inrush during initial power-up, this application embodiment also provides a control switch module based on the single-wire protocol power supply switch control circuit. See [link to relevant documentation]. Figure 3 This figure is a schematic diagram of the structure of a control switch module of a switch control circuit based on a single-wire protocol power supply provided in an embodiment of this application. Figure 3 As shown, the switch control module may include: a non-overlapping circuit 301, a power-on reset circuit 302, a control circuit 303, a data selection circuit 304, and a comparator circuit 305;

[0074] Specifically, the non-overlapping circuit 301 is electrically connected to the power-on reset circuit 302, the control circuit 303, and the data selection circuit 304, respectively; the power-on reset circuit 302 is electrically connected to the control circuit 303, the non-overlapping circuit 301, and the data selection circuit 304, respectively; the control circuit 303 is electrically connected to the non-overlapping circuit 301, the comparator circuit 305, the data selection circuit 304, and the power-on reset circuit 302, respectively; and the data selection circuit 304 is electrically connected to the control circuit 303, the comparator circuit 305, the power-on reset circuit 302, and the non-overlapping circuit 301, respectively.

[0075] The non-overlapping circuit 301 is used to receive a first control signal sent by the control circuit; and to receive a second control signal sent by the switching module; and to send a high-low level control signal to the high-low level control module; and to send a third control signal to the data selection circuit.

[0076] The power-on reset circuit 302 is used to output a high level when the power module has finished charging.

[0077] The control circuit 303 is used to send a fourth control signal to the comparator circuit and a fifth control signal to the data selection circuit.

[0078] The data selection circuit 304 is used to receive the fifth control signal sent by the control circuit, and select the comparator circuit to output the result according to the fifth control signal; wherein the comparator circuit is in the on state.

[0079] The comparator circuit 305 is used to receive the fourth control signal sent by the control circuit and to turn on according to the fourth control signal.

[0080] In the control switch module of the switch control circuit based on single-wire protocol power supply provided in this application embodiment, the low voltage state of the slave chip during the power-on process is controlled by the power-on reset circuit to avoid logic errors caused by large inrush current that may exist during the initial power-on, and to ensure the normal operation of the slave chip circuit; at the same time, before the single-wire communication interface is low level, the switch module is in the off state by the non-overlapping circuit to avoid charge leakage of the power module.

[0081] See Figure 4 , Figure 4 A schematic diagram of another switch control circuit based on a single-wire protocol power supply provided in this application embodiment, the diagram including: Figure 1 The various modules shown and Figure 3 The connections and functions of the same modules shown will not be elaborated further, and in... Figure 4 Continued use Figure 1 and Figure 3 The module name and serial number.

[0082] Combination Figure 4 As shown, the switch module 101 is specifically used to send a second control signal to the non-overlapping circuit 301; wherein, the switch module 101 is communicatively connected to the non-overlapping circuit of the control switch module 301.

[0083] As one possible implementation, the control switch module may further include:

[0084] NAND gate module 401 is used to receive a first level signal sent by the non-overlapping circuit; to receive a second level signal sent by the power-on reset circuit; and to output a third level signal according to the first level signal, the second level signal, and the NAND gate logic relationship.

[0085] The first input terminal of the NAND gate module 401 is electrically connected to the non-overlapping circuit.

[0086] The second input terminal of the NAND gate module 401 is electrically connected to the power-on reset circuit.

[0087] The output of the NAND gate module 401 is electrically connected to the data selection circuit.

[0088] As one possible implementation, the non-overlapping circuit 301 is further used for:

[0089] When the slave control chip sends data to the master control chip, if the single-wire communication interface is at a high level, the first control signal sent by the control circuit is received, and a low-level control signal is sent to the high-low level control module according to the first control signal.

[0090] As one possible implementation, the non-overlapping circuit 301 is further used for:

[0091] When the slave control chip sends data to the master control chip, if the single-wire communication interface is at a low level, the first control signal sent by the control circuit is received, and a high-level control signal is sent to the high-low level control module according to the first control signal.

[0092] Based on the switch control circuit based on single-wire protocol power supply provided in the above embodiments, this application also provides a single-wire protocol power supply process, see [link to relevant documentation]. Figure 5 , Figure 5 A circuit diagram of a switch control circuit based on a single-wire protocol power supply provided in this application embodiment, combined with... Figure 5 As shown, the power supply process of this wire protocol can be as follows:

[0093] (1) Power-on state:

[0094] Because a single-wire power supply protocol is used, the internal power supply line (VCC) of the slave chip is connected to the external capacitor C. During power-up, the slave chip's power supply VCC voltage will be supplied relatively slowly. To prevent errors in the internal logic circuitry of the slave chip during this slow power-up process, a power-on reset circuit is required (the power-on reset circuit in the control switch module is attached). Figure 5 It is not shown in the text, but it can be understood that the control switch module controls the circuit of the slave chip to control the circuit and ensure that the internal logic of the slave chip is correct during the power-on process.

[0095] When the slave chip is powered on, the power-on reset circuit and the internal logic circuit ensure that M1 is always in the off state during this process. When the power supply is powered on (the voltage of the external capacitor VCC is increased), the charge generated by M3 in the M1 off state is replenished. After the power-on reset circuit detects that the circuit is powered on and released, the circuit enters the (2) master transmits and receives data state.

[0096] (2) Data status of master sender and slave receiver:

[0097] In master-slave transmission and slave-reception mode, a strong drive current can be provided through M4 of the master control chip (M4 is on, M5 is off; during this process, the slave control chip can operate at higher power consumption). During communication, the slave control chip is generally in master-slave transmission / reception mode by default. In this case, the comparator circuit (the comparator circuit in the control switch module, see attached...) Figure 5Not shown in the text, it can be understood that the control switch module controls the circuit of the slave chip and controls the data selection circuit (the data selection circuit in the control switch module, attached). Figure 5 It is not shown in the text, but it can be understood that the control switch module controls the circuit of the slave chip and outputs control M1.

[0098] When the voltage of the single-wire communication interface is higher than the VCC voltage inside the slave control chip, M2 outputs a low level and turns on M1 to add charge to the external capacitor, thereby increasing the VCC voltage. When the voltage of the single-wire communication interface is lower than the VCC voltage inside the chip, M2 outputs a high level, remains off during master transmission and slave reception, and quickly turns off M1 to prevent charge leakage from the external capacitor.

[0099] Among them, the master-slave data transmission status refers to the status of the master control chip sending data and the slave control chip receiving data.

[0100] (3) Master-slave data transmission status:

[0101] The slave-to-master (STM) configuration typically occurs after receiving a command from the master control chip. At this point, the master chip's single-wire communication interface is in a high-impedance state (M4 and M5 are both off, and the slave chip's control circuit needs to be in a low-power state), waiting for the slave chip to return data. When the slave chip responds to the data or command from the master chip, the comparator circuit (the comparator circuit in the control switch module, attached)... Figure 5 (Not shown in the text) It does not work to reduce the power consumption of the slave control chip's circuitry. The control circuit selects the output of the slave control chip's internal calculation logic to control M1 and M2.

[0102] The control circuit sends data back to the master control chip as needed. When sending a low level (the single-wire communication interface is low), the non-overlapping circuit ensures that after M1 is turned off, it pulls down M2 to make the single-wire communication interface output a low level. When sending a high level (the single-wire communication interface is high), the non-overlapping circuit ensures that after M2 is turned off, the single-wire interface is high, and M1 is turned on. The pull-up resistor between the master control chip and the slave control chip replenishes the charge of the external capacitor of the slave control chip.

[0103] Among them, the master-slave data transmission status refers to the status of the master control chip receiving data and the slave control chip sending data.

[0104] In the single-wire protocol power supply process provided in this application embodiment, since the master control chip's single-wire communication interface is always in a high-impedance state during the data transmission process of the slave control chip, the master control chip cannot provide strong drive current to the slave control chip. At this time, it is necessary to reduce the power consumption of the slave control chip so that during the period when the single-wire communication interface is at a low level, the VCC voltage in the slave control chip will not be too low due to the large power consumption inside the slave control chip, thus affecting the normal operation of the circuit.

[0105] Meanwhile, to ensure that the VCC of the slave chip can be powered on normally during single-wire protocol power supply, and to prevent the single-wire communication interface of the master chip from generating a large inrush current when the slave chip is initially powered on due to the large capacitor connected to the VCC port of the slave chip, this embodiment of the application also ensures that M1 is always in the off state before the power-on reset circuit in the control switch module outputs a high level, and the master chip charges the external capacitor of the VCC port through the parasitic diode M3 of M1 until the power-on reset circuit outputs a high level; after the power-on reset circuit outputs a high level, M1 will be controlled by the output of the comparator circuit in the control circuit.

[0106] Based on the control switch module of the single-wire protocol power supply switch control circuit provided in the above embodiments, this application embodiment also provides a control process for the control switch module of the single-wire protocol power supply switch control circuit, see [link to relevant documentation]. Figure 6 This figure is a circuit diagram of a control switch module for a switch control circuit based on a single-wire protocol power supply, provided in an embodiment of this application. Figure 6 As shown in the embodiments of this application, the control process of the control switch module of the switch control circuit based on single-wire protocol power supply can be as follows:

[0107] The IN terminal of the non-overlapping circuit (601) is connected to the output (signal 6) of the functional circuit (602), the FB terminal is connected to the control signal 2 as the feedback terminal, the output OUT2 is connected to the NAND gate input to the MUX selector (604), and OUT1 is connected to the BUFFER (buffer 1) for use as control signal 4.

[0108] In this embodiment, when the master control chip sends data and the slave control chip receives data, the functional circuit (602) sends a control signal (signal 7) to turn on the comparator and control the MUX selection circuit (604) to select the comparator (603) output result. When the slave control chip sends data and the master control chip receives data, the functional circuit (602) outputs a control signal (signal 7) to turn off the comparator circuit (103) and control the MUX selection circuit (104) to select signal 8 output.

[0109] In this embodiment, the power-on reset circuit (605) is used to output a high level when the power supply voltage VCC of the slave control chip is 1V or above during the initial power-on process of the slave control chip, so as to ensure that the logic circuit can work normally. Furthermore, after outputting a high level, POR turns off the internal power supply voltage detection part to reduce power consumption after power-on.

[0110] In addition to the control process of the control switch module based on the single-wire protocol power supply switch control circuit provided in the above embodiments, this application also provides an implementation process based on the comparator circuit in the control switch module. See [link to relevant documentation]. Figure 7 The figure illustrates an embodiment of this application based on... Figure 6 The circuit diagram of the comparator circuit in the middle, combined with Figure 7 As shown, the specific implementation process of the comparator circuit in this embodiment can be as follows:

[0111] Figure 7 For the specific implementation of the comparator circuit, M1, M4, M10, and M11 form the first-stage comparator amplifier circuit; M6 and M7 form the second-stage comparator amplifier circuit; M8 and M9 form the output driver stage; resistor R and M3 form the fast response path of the comparator; and M2 and M5 are the enable switches of the comparator. This comparator has the ability to quickly respond and output a high level at the OUT terminal when the voltage at the SWI terminal is lower than the voltage at the VCC terminal.

[0112] The PD signal is the enable signal sent by the functional circuit, and the BIAS is the external bias voltage (the external BIAS circuit is turned off when PD is low).

[0113] The comparator module operates when the main control chip sends data and the slave control chip receives data. It is used to compare the voltage difference across M1. When the voltage of the single-wire communication interface is higher than the VCC voltage, it outputs a low level and turns on M1; when the voltage of the single-wire communication interface is lower than the VCC voltage, it quickly outputs a high level and turns off M1. After the comparator is turned off, it will output a high level.

[0114] Based on the control process of the control switch module of the single-wire protocol power supply-based switch control circuit provided in the above embodiments, for further explanation of the circuit structure and implementation process of the non-overlapping circuit, please refer to... Figure 8 This figure is a circuit diagram of a non-overlapping circuit provided in an embodiment of this application, combined with... Figure 8 As shown, the structure and implementation process of the non-overlapping circuit are as follows:

[0115] The IN terminal of the non-overlapping circuit is connected to the output of the functional circuit, and the FB terminal of the non-overlapping circuit serves as the feedback terminal to receive the control signal sent by the switching module. The output OUT2 is connected to the input of the NAND gate to the MUX selector, and OUT1 is connected to the BUFFER (buffer) for use as a high / low level control signal. The function of the non-overlapping circuit is to send a signal to the external circuit when the slave control chip returns data to the master control chip. After ensuring that the single-wire communication interface is high (the high / low level control signal is low), the switching module is turned on. During the period when the single-wire communication interface is high, the pull-up resistor replenishes the charge of the external capacitor of the slave control chip's VCC. The switching module is turned off before the single-wire communication interface is low (the high / low level control signal is high) to prevent leakage of the external capacitor of VCC.

[0116] It should be noted that the various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. The embodiments described above are merely illustrative. Units described as separate components may or may not be physically separate, and components indicated as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0117] In the embodiments of this application, the terms "first" and "second" (if they exist) are used only as name identifiers and do not represent the order of first and second.

[0118] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the methods of the above embodiments can be implemented by means of software plus a general-purpose hardware platform. Based on this understanding, the technical solution of this application can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as a read-only memory (ROM) / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the methods described in various embodiments or some parts of the embodiments of this application.

[0119] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A switch control circuit based on single-wire protocol power supply, characterized by, The application is applied to a slave chip provided with a single-wire communication interface, comprising: a switch module, a high-low level control module, a control switch module and a power supply module; the switch module is used for receiving a switch control signal sent by the control switch module and turning on or off according to the switch control signal; the high-low level control module is used for receiving a level control signal sent by the control switch module and sending high level and low level to the outside according to the level control signal; the control switch module is used for sending a level control signal to the high-low level control module, sending a switch control signal to the switch module and receiving a data receiving signal sent by the slave chip; the power supply module is used for providing voltage to the slave chip and charging through the switch module when the single-wire communication interface is high level; wherein, the switch module is electrically connected with the high-low level control module, the power supply module and the single-wire communication interface, and the switch module is communicatively connected with the control switch module; the high-low level control module is communicatively connected with the control switch module and electrically connected with the single-wire communication interface; and the power supply module is electrically connected with the switch module.

2. The single-wire protocol-based power sourcing equipment switch control circuit of claim 1, wherein, The switch module comprises a PMOS power tube and a parasitic diode of the PMOS power tube.

3. The single-wire protocol based power sourcing equipment control circuit of claim 1, wherein, The control switch module comprises a non-overlapping circuit, a power-on reset circuit, a control circuit, a data selection circuit and a comparator circuit; the non-overlapping circuit is used for receiving a first control signal sent by the control circuit, receiving a second control signal sent by the switch module, sending a high-low level control signal to the high-low level control module and sending a third control signal to the data selection circuit; the power-on reset circuit is used for outputting high level when the power supply module finishes charging; the control circuit is used for sending a fourth control signal to the comparator circuit and sending a fifth control signal to the data selection circuit; the data selection circuit is used for receiving the fifth control signal sent by the control circuit and selecting the comparator circuit to output results according to the fifth control signal; wherein, the comparator circuit is in an open state; the comparator circuit is used for receiving the fourth control signal sent by the control circuit and turning on according to the fourth control signal; wherein, the non-overlapping circuit is electrically connected with the power-on reset circuit, the control circuit and the data selection circuit; the power-on reset circuit is electrically connected with the control circuit, the non-overlapping circuit and the data selection circuit; the control circuit is electrically connected with the non-overlapping circuit, the comparator circuit, the data selection circuit and the power-on reset circuit; and the data selection circuit is electrically connected with the control circuit, the comparator circuit, the power-on reset circuit and the non-overlapping circuit.

4. The single-wire protocol based power supply for a switch control circuit according to claim 3, wherein, further comprising: a NAND gate module used for receiving a first level signal sent by the non-overlapping circuit; a second level signal sent by the power-on reset circuit is received; The third level signal is output according to the first level signal, the second level signal and a NAND gate logic relationship; The first input end of the NAND gate module is electrically connected with the non-overlapping circuit; The second input end of the NAND gate module is electrically connected with the power-on reset circuit; The output end of the NAND gate module is electrically connected with the data selection circuit.

5. The single-wire protocol based power supply for a switch control circuit according to claim 3, wherein, The switch module is specifically used for sending a second control signal to the non-overlapping circuit; wherein the switch module is in communication connection with the non-overlapping circuit of the control switch module.

6. The single-wire protocol based power sourcing equipment control circuit of claim 3, wherein, The non-overlapping circuit is further used for: When sending data from the slave chip to the master chip, if the single-wire communication interface is high level, receiving the first control signal sent by the control circuit, and sending a low level control signal to the high-low level control module according to the first control signal.

7. The single-wire protocol based power sourcing equipment control circuit of claim 3, wherein, The non-overlapping circuit is further used for: When sending data from the slave chip to the master chip, if the single-wire communication interface is low level, receiving the first control signal sent by the control circuit, and sending a high level control signal to the high-low level control module according to the first control signal.

8. The single-wire protocol based power sourcing equipment control circuit of claim 1, wherein, The power supply module includes a power supply line and an external capacitor.

Citation Information

Patent Citations

  • Single-wire communication device, communication system, and single-wire communication method

    CN114363106A

  • Adaptive power control for indirect power mode

    US20220216708A1