Slave power supply circuit based on single-wire communication interface, slave equipment and communication system
By dynamically adjusting the voltage in the single-wire communication interface using the enable unit and clamping unit, the problem of poor power supply and communication compatibility between slave devices in the single-wire communication interface is solved, and stable power supply and improved data exchange compatibility are achieved.
Patent Information
- Application Number
- CN202423134675.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2034-12-18
AI Technical Summary
In a single-line communication interface, when the master device is simultaneously powered and exchanges data through the communication line, there is a voltage drop problem, which makes it difficult to meet the power supply and communication needs of the slave device, resulting in poor compatibility and increasing the difficulty of circuit design.
The system employs an enable unit and a clamping unit to dynamically respond to changes in the output voltage of the single-wire communication interface. The clamping unit clamps the voltage drop between the output voltage and the slave power supply voltage, ensuring stable power supply while also meeting communication requirements.
It improves the compatibility and stability of the single-wire communication interface, meets the needs of slave power supply and data exchange, and enhances the flexibility of slave power supply and the reliability of master-slave communication.
Smart Images

Figure CN223637977U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication devices, and in particular to a slave power supply circuit based on a one-wire communication interface, a slave device, and a communication system. BACKGROUND
[0002] A one-wire communication interface (OWI) is a single-wire bus protocol interface for data communication, which can realize bidirectional transmission of data through a single communication line. In a communication device using the OWI, a power supply line and a communication line are usually arranged between a slave device and a master device to realize data exchange between the master device and the slave device.
[0003] In related technologies, for low-power slave devices that do not require continuous power supply, a separate power supply line is usually canceled, and the master device simultaneously supplies power and exchanges data with the slave device through a communication line. However, there is usually a certain voltage drop in the process of sending the power supply voltage provided by the master device to the slave power supply end through the communication line, and it is difficult for the master device to provide a power supply voltage that maintains normal operation of the slave device in a low-voltage working state. In addition, a communication line usually cannot take into account the voltage required by the slave power supply end and the voltage required by the slave communication end. Therefore, the related technologies have poor compatibility, which makes it difficult to simultaneously meet the power supply requirements and the OWI communication requirements of the slave device, and increases the difficulty of circuit design of the slave device. UTILITY MODEL CONTENT
[0004] The present application provides a slave power supply circuit based on a one-wire communication interface, a slave device, and a communication system, which solves the technical problem that it is difficult to simultaneously meet the power supply requirements and the OWI communication requirements of the slave device through a communication line. The slave power supply circuit proposed in the embodiments of the present application clamps the voltage drop between the output voltage of the one-wire communication interface and the slave power supply voltage, thereby improving the compatibility of the one-wire communication and the slave power supply, and achieving the technical effect of simultaneously meeting the power supply requirements and the data exchange requirements of the slave device.
[0005] In order to achieve the above-mentioned purpose, the main technical scheme adopted by the present application includes:
[0006] In a first aspect, the embodiments of the present application provide a slave power supply circuit based on a one-wire communication interface, which includes an enabling unit and a clamping unit. The enabling unit is configured to output an enabling signal to the clamping unit when the output voltage of the one-wire communication interface rises to an enabling threshold voltage. The clamping unit is configured to clamp the voltage drop between the output voltage of the one-wire communication interface and the slave power supply voltage according to the enabling signal, so as to stably supply power to a slave chip through the one-wire communication interface.
[0007] The slave power supply circuit provided by the embodiments of the present application enables the clamping unit to start working in the case where the output voltage of the single-wire communication interface rises to the enable threshold voltage, and clamps the voltage drop between the output voltage and the slave power supply voltage, so as to stably supply power to the slave chip through the single-wire communication interface. Therefore, the enable unit of the embodiments of the present application can dynamically respond to the change of the output voltage of the single-wire communication interface, so as to ensure that the clamping unit starts working in the case where the output voltage of the single-wire communication interface rises to the enable threshold voltage, and the clamping unit clamps the voltage drop between the output voltage and the slave power supply voltage, which not only realizes stable power supply to the slave chip, but also takes into account the driving of the single-wire communication interface with stable and extremely low voltage drop, so as to simultaneously meet the power supply requirement of the slave chip and the OWI communication requirement, thereby greatly improving the compatibility of the single-wire communication interface in simultaneously performing slave power supply and master-slave OWI communication, and further improving the flexibility of slave power supply by using the single-wire communication interface, and being beneficial to improving the stability and reliability of OWI communication between the master and the slave.
[0008] Optionally, in some embodiments of the present application, the enable unit is further configured to output an off signal to the clamping unit in the case where the output voltage of the single-wire communication interface drops to the off voltage threshold, so that the clamping unit cuts off the path of discharging the slave power supply voltage to the single-wire communication interface.
[0009] The embodiments of the present application enable the enable unit to timely cut off the reverse discharging path of the clamping unit in the case where the output voltage of the single-wire communication interface drops to the off voltage threshold, so as to stop the power supply to the slave chip, thereby avoiding affecting the effectiveness and stability of OWI communication.
[0010] Optionally, in some embodiments of the present application, a fast off unit is further included, and the fast off unit is configured to control the clamping unit to quickly cut off the path of discharging the slave power supply voltage to the single-wire communication interface when the output voltage of the single-wire communication interface is pulled down to the fast off voltage threshold.
[0011] The embodiments of the present application can prevent the clamping unit from appearing reverse flow phenomenon by setting the fast off function of the fast off unit in the case where the enable unit cannot timely flip in the case where the falling edge of the output voltage of the single-wire communication interface is fast, thereby greatly reducing the risk of circuit damage, and further improving the reliability of the slave power supply circuit.
[0012] Optionally, in some embodiments of the present application, the clamping unit comprises a clamping switch tube, a first end of the clamping switch tube is adapted to be connected to the single-wire communication interface, and a second end of the clamping switch tube is adapted to be connected to the power supply end of the slave chip; the clamping unit controls the turn-on of the clamping switch tube according to the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage.
[0013] Optionally, in some embodiments of the present application, the clamping unit further comprises an operational amplifier, an output end of the operational amplifier is connected to the control end of the clamping switch tube, and the operational amplifier is configured to control the turn-on of the clamping switch tube according to the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage when the enable signal is received;
[0014] wherein the operational amplifier has an enable end, the enable end of the operational amplifier is connected to the output end of the enable unit, and the operational amplifier is configured to control the turn-on of the clamping switch tube according to the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage when the enable signal is received; or,
[0015] the clamping unit further comprises a first controllable switch, a first end of the first controllable switch is connected to the control end of the clamping switch tube, a control end of the first controllable switch is connected to the output end of the enable unit, an output end of the operational amplifier is connected to a second end of the first controllable switch, and the operational amplifier is configured to control the turn-on of the clamping switch tube according to the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage when the first controllable switch is closed based on the enable signal.
[0016] The embodiments of the present application compare the output voltage of the single-wire communication interface and the slave power supply voltage through the operational amplifier, and control the turn-on of the clamping switch tube according to the comparison result, so as to accurately clamp the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage to a set level, and realize the stable power supply of the slave chip, therefore the slave power supply circuit proposed in the embodiments of the present application can improve the compatibility of the single-wire communication interface to the power supply demand and the OWI communication demand of the slave, and improve the slave power supply effect of the single-wire communication interface. Optionally, in some embodiments of the present application, a negative input end of the operational amplifier is adapted to be connected to a negative pole end of a first voltage source, a positive pole end of the first voltage source is connected to the single-wire communication interface, and a positive input end of the operational amplifier is connected to the power supply end of the slave chip; or
[0017] The negative input end of the operational amplifier is adapted to be connected with the single-wire communication interface, and the positive input end of the operational amplifier is adapted to be connected with the positive terminal of the first voltage source, and the negative terminal of the first voltage source is connected with the power supply terminal of the slave chip.
[0018] The positive input end of the operational amplifier is adapted to be connected with the first voltage source, and the negative input end of the operational amplifier is adapted to be connected with the output terminal of the first subtractor, and the first subtractor is configured to subtract the output voltage of the single-wire communication interface from the slave power supply voltage to output a first voltage difference.
[0019] The first voltage source is introduced, and the operational amplifier is combined to clamp the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage at the voltage value corresponding to the first voltage source, so that the stable power supply of the slave chip is realized, and the OWI communication demand of the slave chip can be considered.
[0020] Optionally, in some embodiments of the present application, the enabling unit comprises an enabling comparator configured to compare the output voltage of the single-wire communication interface with the enabling threshold voltage to output the enabling signal.
[0021] The enabling comparator is used to compare the output voltage of the single-wire communication interface with the enabling threshold voltage, so that the enabling signal output according to the comparison result is used to ensure that the clamping unit is started only when the output voltage reaches the enabling threshold voltage, so that unnecessary clamping operation is avoided, the power supply demand of the slave chip which does not need constant power supply is met, and the power consumption of the slave chip is reduced.
[0022] Optionally, in some embodiments of the present application, the positive input end of the enabling comparator is adapted to be connected with the negative terminal of the second voltage source, the positive terminal of the second voltage source is connected with the single-wire communication interface, and the negative input end of the enabling comparator is connected with the power supply terminal of the slave chip; or
[0023] The positive input end of the enabling comparator is adapted to be connected with the single-wire communication interface, the negative input end of the enabling comparator is adapted to be connected with the positive terminal of the second voltage source, and the negative terminal of the second voltage source is adapted to be connected with the power supply terminal of the slave chip; or
[0024] The negative input end of the enabling comparator is adapted to be connected with the second voltage source, and the positive input end of the enabling comparator is adapted to be connected with the output terminal of the second subtractor, and the second subtractor is configured to subtract the output voltage of the single-wire communication interface from the slave power supply voltage to output a second voltage difference.
[0025] The embodiment of the present application realizes the setting of the enable threshold voltage by introducing a second voltage source, and combines the enabled comparator to ensure that the enable signal is output only when the output voltage reaches a certain threshold, so as to avoid unnecessary clamping operation, and realize the low-power design of the slave chip.
[0026] Optionally, in some embodiments of the present application, the fast-off unit comprises an off comparator configured to compare the output voltage of the single-wire communication interface with a fast-off threshold voltage to output a fast-off signal.
[0027] Optionally, in some embodiments of the present application, the positive input end of the off comparator is adapted to be connected to the negative pole end of a third voltage source, the positive pole end of the third voltage source is adapted to be connected to the single-wire communication interface, and the negative input end of the off comparator is adapted to be connected to the power supply end of the slave chip; or
[0028] the positive input end of the off comparator is adapted to be connected to the single-wire communication interface, the negative input end of the off comparator is adapted to be connected to the positive pole end of the third voltage source, and the negative pole end of the third voltage source is adapted to be connected to the power supply end of the slave chip; or
[0029] the positive input end of the off comparator is adapted to be connected to the third voltage source, and the negative input end of the off comparator is adapted to be connected to the output end of a third subtractor configured to subtract the output voltage of the single-wire communication interface from the slave power supply voltage to output a third voltage difference.
[0030] The embodiment of the present application compares the output voltage of the single-wire communication interface with the fast-off threshold voltage through the off comparator, and realizes the setting of the fast-off threshold by introducing a third voltage source, so as to realize the fast-off of the output voltage, prevent the reverse flow phenomenon of the clamping switch tube in the clamping unit, and further provide circuit protection for the slave power supply circuit, which is beneficial to improve the reliability of the slave power supply circuit.
[0031] Optionally, in some embodiments of the present application, the slave power supply circuit further comprises a fast-off unit configured to control the clamping unit to quickly cut off the path of discharging the slave power supply voltage to the single-wire communication interface when the output voltage of the single-wire communication interface is pulled down to a fast-off voltage threshold, and the fast-off unit comprises:
[0032] an eighth switch tube, a second end of the eighth switch tube is adapted to be connected to the power supply end of the slave chip, a control end of the eighth switch tube is adapted to be connected to the single-wire communication interface, and a first end of the eighth switch tube is connected to the control end of the clamping switch tube.
[0033] The application embodiment comprises a fast turn-off unit formed by the eighth switch tube, thereby realizing the anti-filling protection of the clamping switch tube, and being beneficial to improving the reliability of the slave power supply circuit.
[0034] Optionally, in some embodiments of the application, the clamping unit further comprises:
[0035] The first switch tube has a first end connected with a control end, and a second end adapted to be connected with the single-wire communication interface through a pull-up resistor;
[0036] The first resistor has a first end adapted to be connected with a power supply end of the slave chip;
[0037] The second switch tube has a second end connected with a second end of the first resistor, and a control end connected with the control end of the first switch tube;
[0038] The third switch tube has a first end connected with the first end of the first switch tube, and a second end grounded;
[0039] The fourth switch tube has a first end connected with a control end and then connected with the control end of the third switch tube, and a second end grounded;
[0040] The fifth switch tube has a first end connected with the first end of the second switch tube and has a first node, a second end grounded, and a control end connected with the control end of the third switch tube;
[0041] The second controllable switch has a first end connected with the first node, a second end connected with the control end of the clamping switch tube, and a control end connected with the output end of the enabling unit.
[0042] The application embodiment utilizes the first resistor to obtain a clamping voltage, and controls the turn-on state of the clamping switch tube through the cooperative work of the plurality of switch tubes, thereby accurately clamping the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage to a set level, realizing the stable power supply of the slave chip. Therefore, the application embodiment proposes that the slave power supply circuit can improve the compatibility of the single-wire communication interface to the power supply demand and the OWI communication demand of the slave, and improves the slave power supply effect of the single-wire communication interface.
[0043] Optionally, in some embodiments of the application, the enabling unit comprises:
[0044] a first switch tube, a first end of the first switch tube being connected with a control end, and a second end of the first switch tube being adapted to connect the single-wire communication interface through a pull-up resistor;
[0045] an enable resistor, a first end of the enable resistor being adapted to be connected to a power supply end of the slave chip;
[0046] a sixth switch tube, a second end of the sixth switch tube being connected with a second end of the enable resistor, and a control end of the sixth switch tube being connected with the control end of the first switch tube;
[0047] a third switch tube, a first end of the third switch tube being connected with the first end of the first switch tube, and a second end of the third switch tube being grounded;
[0048] a fourth switch tube, a first end of the fourth switch tube being connected with a control end and then being connected with the control end of the third switch tube, and a second end of the fourth switch tube being grounded;
[0049] a seventh switch tube, a first end of the seventh switch tube being connected with the first end of the sixth switch tube and having a second node, a second end of the seventh switch tube being grounded, and a control end of the seventh switch tube being connected with the control end of the third switch tube;
[0050] an inverter, an input end of the inverter being connected with the second node, and an output end of the inverter being adapted to output the enable signal.
[0051] The enable threshold voltage is obtained by the enable resistor, and the enable control of the clamping unit is realized by the cooperative work of the plurality of switch tubes. In addition, the inverter is arranged to realize the function of outputting the enable signal after the delay, so as to effectively suppress the oscillation phenomenon of the slave power supply circuit, and greatly improve the stability of the slave power supply circuit.
[0052] Optionally, in some embodiments of the present application, the enable unit is further configured to output the enable signal to the clamping unit after a preset time delay in the case that the output voltage of the single-wire communication interface rises to the enable threshold voltage.
[0053] In the embodiments of the present application, the enable unit outputs the enable signal to the clamping unit after a preset time delay, which can effectively suppress the oscillation phenomenon of the slave power supply circuit, thereby greatly improving the stability of the slave power supply circuit and reducing the risk of damage to circuit elements caused by the oscillation phenomenon.
[0054] In a second aspect, the embodiments of the present application provide a slave device, comprising:
[0055] The slave power supply circuit based on the single-wire communication interface according to the above-mentioned embodiments.
[0056] The slave device provided in the embodiment of the present application clamps the voltage drop between the output voltage and the slave power supply voltage when the output voltage of the single-wire communication interface rises to the enable threshold voltage, so as to realize stable power supply through the single-wire communication interface. Therefore, the slave power supply circuit provided in the embodiment of the present application clamps the voltage drop between the output voltage and the slave power supply voltage, which can not only realize stable power supply for the slave device without affecting the OWI communication between the master and slave devices, but also take into account the power supply demand and OWI communication demand of the slave device, so as to improve the compatibility of the single-wire communication and the slave power supply, greatly improve the slave power supply effect of the single-wire communication interface, and be beneficial to improving the stability and reliability of the OWI communication between the master and slave devices.
[0057] In a third aspect, the embodiment of the present application provides a communication system, comprising:
[0058] The slave device according to the above-mentioned embodiment;
[0059] The master device communicates with the slave device through the single-wire communication interface, and supplies power to the slave device through the single-wire communication interface.
[0060] The communication system provided in the embodiment of the present application clamps the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage through the slave device provided with the slave power supply circuit, which can not only realize stable power supply for the slave device, but also take into account the power supply demand and OWI communication demand of the slave chip, so as to improve the compatibility of the single-wire communication and the slave power supply, greatly improve the slave power supply effect of the single-wire communication interface, and be beneficial to improving the stability and reliability of the OWI communication between the master and slave devices. BRIEF DESCRIPTION OF DRAWINGS
[0061] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0062] Figure 1 A power supply mode schematic diagram of an OWI communication master-slave device in the related art;
[0063] Figure 2 A power supply mode schematic diagram of another OWI communication master-slave device in the related art;
[0064] Figure 3 A voltage waveform diagram of the communication end and the power supply end of the slave device in the related art;
[0065] Figure 4 The structure diagram of the slave power supply circuit based on the single-wire communication interface for an embodiment of the present application;
[0066] Figure 5 The integrated diagram of the slave power supply circuit for an embodiment of the present application;
[0067] Figure 6 The integrated diagram of the slave power supply circuit for another embodiment of the present application;
[0068] Figure 7 The circuit structure diagram of the clamping unit and the enable unit for an embodiment of the present application;
[0069] Figure 8 The circuit structure diagram of the clamping unit and the enable unit for another embodiment of the present application;
[0070] Figure 9 The circuit structure diagram of the clamping unit for another embodiment of the present application;
[0071] Figure 10 The circuit structure diagram of the clamping unit for another embodiment of the present application;
[0072] Figure 11 The circuit structure diagram of the enable unit for another embodiment of the present application;
[0073] Figure 12 The circuit structure diagram of the enable unit for another embodiment of the present application;
[0074] Figure 13 The circuit structure diagram of the fast-off unit for an embodiment of the present application;
[0075] Figure 14 The circuit structure diagram of the fast-off unit for another embodiment of the present application;
[0076] Figure 15 The structure diagram of the fast-off unit for another embodiment of the present application;
[0077] Figure 16 The structure diagram of the fast-off unit for another embodiment of the present application;
[0078] Figure 17 The structure diagram of the slave power supply circuit for another embodiment of the present application;
[0079] Figure 18 The signal waveform diagram of the slave power supply circuit for the present application;
[0080] Figure 19 Another signal waveform diagram of the slave power supply circuit proposed in the present application;
[0081] Figure 20 A structure diagram of a communication system proposed in an embodiment of the present application. DETAILED DESCRIPTION
[0082] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0083] One-Wire Interface (OWI) is a single-wire bus protocol interface for data communication, which can realize bidirectional transmission of data through only one communication line, has the characteristics of saving communication interface resources and simple structure, and is therefore widely applied in various communication devices. Figure 1 As shown in the figure, the communication device using OWI generally adopts a master-slave structure, and a power supply line is generally arranged between the power supply end of the master device 1 and the power supply end of the slave device 2, wherein the voltage of the power supply end of the master device 1 is Vcc1, the voltage of the power supply end of the slave device 2 is Vcc2, and a communication line is arranged between the GPIO end of the master device 1 and the communication end of the slave device 2. Therefore, the master device 1 realizes power supply to the slave device 2 and data exchange between the master and the slave through the power supply line and the communication line, respectively, and the voltage of the communication end of the slave device 2 is V OWI .
[0084] In some application scenarios, in order to realize a low-power design, some slave devices do not need to be powered all the time. Therefore, in the related art, the separately arranged power supply line is generally cancelled, and the master device 1 simultaneously realizes power supply to the slave device 2 and data exchange through one communication line. Figure 2 As shown in the figure, a diode D0 arranged outside or inside a chip can generally be used to supply power to the power supply end of the slave device 2, and the anode of the diode D0 is connected with the communication line, and the cathode of the diode D0 is connected with the power supply end of the slave device 2. In addition, a resistor R OWI is connected between the power supply end of the master device 1 and the communication line to constitute a power supply domain circuit, so that the communication end of the slave device 2 identifies high and low levels through the power supply domain circuit, to realize the function that the master device 1 simultaneously realizes power supply to the slave device 2 and data exchange through one communication line, wherein the voltage V OWI of the communication end of the slave device 2 and the voltage Vcc2 of the power supply end of the slave device 2 are as shown in the figure. Figure 3 The voltage Vcc2 of the power supply end of the slave device 2 changes with the voltage VOWI The high level pulse gradually rises and tends to be stable after a period of time.
[0085] However, the related art has some drawbacks. On the one hand, the power supply voltage provided by the master device 1 is sent to the slave power supply end through the communication line, and there is a certain voltage drop in the process. In some low-voltage application scenarios, for example, the communication line of the master device 1 provides a voltage of 1.5V, but due to the voltage drop, the voltage received by the power supply end of the slave device 2 is too low, which is difficult to meet the requirement of the slave device 2 to provide a power supply voltage to maintain normal work. On the other hand, a communication line usually cannot meet the power supply voltage required by the power supply end of the slave device 2 and the communication voltage required by the communication end of the slave device, for example, the power supply end of the slave device 2 requires a power supply voltage of 1.5V, and the high level of the communication end of the master device 1 needs to reach 5V. Therefore, in this application scenario, the communication line cannot meet the voltage requirements of the power supply end and the communication end at the same time.
[0086] As can be seen, the related art has poor compatibility, which makes it difficult to simultaneously meet the power supply requirements and OWI communication requirements of the slave device, affects the power supply effect of the single-wire communication interface OWI, and increases the difficulty of circuit design of the slave device.
[0087] The slave power supply circuit 100 based on the single-wire communication interface OWI provided by the embodiments of the present application can be used on various communication devices that use OWI communication. As shown in the figure, Figure 4 The slave power supply circuit 100 includes an enabling unit 110 and a clamping unit 120, wherein the enabling unit 110 is configured to output an enabling signal to the clamping unit 120 when the output voltage Vowi of the single-wire communication interface OWI rises to the enabling threshold voltage; the clamping unit 120 is configured to clamp the voltage drop between the output voltage Vowi of the single-wire communication interface OWI and the slave power supply voltage according to the above-mentioned enabling signal, so as to stably power the slave chip 200 through the single-wire communication interface OWI.
[0088] Among them, the clamping unit sends the output voltage Vcc2 to the power supply end VCC of the slave chip 200, and is connected with a filter resistance C0.
[0089] The slave power supply circuit 100 proposed in the embodiments of the present application enables the clamping unit 120 to start working in the case where the output voltage Vowi of the single-wire communication interface OWI rises to the enable threshold voltage, and clamps the voltage drop between the output voltage and the slave power supply voltage, so as to stably supply power to the slave chip 200 through the single-wire communication interface OWI. Therefore, the embodiments of the present application can dynamically respond to the change of the output voltage Vowi of the single-wire communication interface OWI through the enable unit 110, so as to ensure that the clamping unit 120 starts working in the case where the output voltage Vowi of the single-wire communication interface OWI rises to the enable threshold voltage, and the clamping unit 120 clamps the voltage drop between the output voltage and the slave power supply voltage, and also can take into account the driving of the single-wire communication interface OWI with stable and extremely low voltage drop, so as to simultaneously meet the power supply demand and communication demand of the slave chip 200, thereby greatly improving the compatibility of the single-wire communication interface OWI in simultaneously performing slave power supply and master-slave communication, and further improving the flexibility of slave power supply through the single-wire communication interface OWI, and being beneficial to improving the stability and reliability of OWI communication between the master and the slave.
[0090] It should be noted that, in some embodiments of the present application, as shown in Figure 5 , the slave power supply circuit 100 can be integrated in the internal part of the slave chip 200. In some other embodiments of the present application, as shown in Figure 6 , the slave power supply circuit 100 can also be arranged outside the slave chip 200.
[0091] Further, in some embodiments of the present application, the driving mode of the single-wire communication interface OWI includes any one of an active pull-up driving mode, an active pull-down driving mode and a push-pull driving mode.
[0092] In some embodiments of the present application, as shown in Figure 7 , the clamping unit 120 includes a clamping switch tube M0, wherein the first end of the clamping switch tube M0 is adapted to be connected to the single-wire communication interface OWI, the second end of the clamping switch tube M0 is adapted to be connected to the power supply end VCC of the slave chip 200, and the clamping unit 120 controls the turn-on of the clamping switch tube M0 according to the voltage drop between the output voltage Vowi of the single-wire communication interface OWI and the slave power supply voltage Vcc2.
[0093] The clamping unit 120 further includes an operational amplifier 121, the output end of the operational amplifier 121 is connected to the control end of the clamping switch tube M0, and the operational amplifier 121 is configured to control the turn-on of the clamping switch tube M0 according to the voltage drop between the output voltage Vowi of the single-wire communication interface OWI and the slave power supply voltage in the case where the enable signal is received.
[0094] The operation amplifier 121 has an enable end, the enable end of the operation amplifier 121 is connected with the output end of the enable unit 110, and the operation amplifier 121 is configured to control the turn-on of the clamping switch tube M0 according to the voltage drop between the output voltage Vowi of the single-wire communication interface OWI and the slave supply voltage Vcc2 when the enable signal is received.
[0095] In some embodiments of the present application, as shown in Figure 8 The clamping unit 120 further includes a first controllable switch S0, wherein the first end of the first controllable switch S0 is connected with the control end of the clamping switch tube M0, the control end of the first controllable switch S0 is connected with the output end of the enable unit 110, the output end of the operation amplifier 121 is connected with the second end of the first controllable switch S0, and the operation amplifier 121 is configured to control the turn-on of the clamping switch tube M0 according to the voltage drop between the output voltage Vowi of the single-wire communication interface OWI and the slave supply voltage Vcc2 when the first controllable switch S0 is closed based on the enable signal.
[0096] In some embodiments of the present application, the clamping switch tube M0 is a field effect transistor, the drain of the clamping switch tube M0 is connected with the single-wire communication interface OWI as the first end, the source of the clamping switch tube M0 is connected with the supply end VCC of the slave chip 200 as the second end, the gate of the clamping switch tube M0 is connected as the control end, and the clamping switch tube M0 plays a clamping role when it is turned on.
[0097] Therefore, the embodiments of the present application compare the output voltage Vowi of the single-wire communication interface OWI with the slave supply voltage Vcc2 through the operation amplifier 121, and control the turn-on of the clamping switch tube M0 according to the comparison result, so as to accurately clamp the voltage drop between the output voltage Vowi of the single-wire communication interface OWI and the slave supply voltage Vcc2 to a set level, and realize the stable power supply of the slave chip 200. Therefore, the slave power supply circuit 100 can improve the compatibility of the single-wire communication interface OWI to the power supply demand communication demand of the slave, and improve the slave power supply effect of the single-wire communication interface OWI.
[0098] Further, as shown in Figure 7 and Figure 8 In some embodiments of the present application, the negative input end of the operation amplifier 121 is adapted to be connected with the negative end of the first voltage source 122, the positive end of the first voltage source 122 is connected with the single-wire communication interface OWI, and the positive input end of the operation amplifier 121 is connected with the supply end VCC of the slave chip 200.
[0099] Specifically, the negative input terminal of the operational amplifier 121 is connected to the single-wire communication interface OWI through the first voltage source 122, so that the voltage signal received by the negative input terminal of the operational amplifier 121 is the difference between the output voltage Vowi of the single-wire communication interface OWI and the voltage value V1 corresponding to the output of the first voltage source 122, the voltage signal received by the positive input terminal of the operational amplifier 121 is the slave power supply voltage Vcc2, and the output terminal of the operational amplifier 121 generates a low level to turn on the clamping switch tube M0 when the following formula (1) is satisfied.
[0100] Vowi-V1 ≥ Vcc2 Formula (1)
[0101] In some embodiments of the present application, as shown in Figure 9 the negative input terminal of the operational amplifier 121 is adapted to be connected to the single-wire communication interface OWI, and the positive input terminal of the operational amplifier 121 is adapted to be connected to the positive terminal of the first voltage source 122, and the negative terminal of the first voltage source 122 is connected to the power supply terminal VCC of the slave chip 200.
[0102] Specifically, the negative input terminal of the operational amplifier 121 receives the output voltage Vowi of the single-wire communication interface OWI, and the voltage signal received by the positive input terminal of the operational amplifier 121 is the sum of the slave power supply voltage Vcc2 and the voltage value V1 corresponding to the output of the first voltage source 122, and the output terminal of the operational amplifier 121 generates a low level when the above formula (1) is satisfied.
[0103] In some embodiments of the present application, as shown in Figure 10 the above-mentioned clamping unit 120 further comprises a first subtractor 123, wherein the positive input terminal of the operational amplifier 121 is adapted to be connected to the first voltage source 122, and the negative input terminal of the operational amplifier 121 is adapted to be connected to the output terminal of the first subtractor 123, and the first subtractor 123 is configured to subtract the output voltage Vowi of the single-wire communication interface OWI from the slave power supply voltage Vcc2 to output a first voltage difference.
[0104] Specifically, the first subtractor 123 outputs a first voltage difference Vowi-Vcc2, and the operational amplifier 121 compares the first voltage difference with the voltage value V1 corresponding to the output of the first voltage source 122, and the output terminal of the operational amplifier 121 generates a low level when the above formula (1) is satisfied.
[0105] The high level output by the operational amplifier 121 is sent to the control terminal of the clamping switch tube M0, so that the clamping switch tube M0 is turned on, and then the voltage drop between the output voltage Vowi and the slave power supply voltage Vcc2 is clamped at the voltage value V1 by the turned-on clamping switch tube M0. Therefore, under the clamping effect of the clamping switch tube M0, the power supply voltage of the slave chip 200 can always be kept at Vowi-V1 by the single-wire communication interface OWI, and the change of the output voltage Vowi will not affect the stable power supply of the slave chip 200, so that the slave power supply circuit 100 can take into account different driving modes of the single-wire communication interface OWI of the slave chip 200 with a lower and stable voltage drop.
[0106] Therefore, by introducing the first voltage source 122 and combining the operational amplifier 121 to clamp the voltage drop between the output voltage Vowi of the single-wire communication interface OWI and the slave power supply voltage Vcc2 at the voltage value V1 corresponding to the first voltage source, the stable power supply of the slave chip 200 is realized, and the OWI communication requirement of the slave chip 200 can be taken into account.
[0107] In some embodiments of the present application, the above-mentioned enabling unit 110 includes an enabling comparator 111, wherein the enabling comparator 111 is configured to compare the output voltage Vowi of the single-wire communication interface OWI with an enabling threshold voltage to output an enabling signal.
[0108] Therefore, by the enabling comparator to compare the output voltage Vowi of the single-wire communication interface OWI with the enabling threshold voltage, the enabling signal output according to the comparison result is used to ensure that the clamping unit is started only when the output voltage reaches the enabling threshold voltage, so that unnecessary clamping operation is avoided, the power supply requirement of the slave that does not need to be constantly powered is met, and the power consumption of the slave chip 200 is reduced.
[0109] Further, as shown in Figure 7 and Figure 8 In some embodiments of the present application, the positive input terminal of the enabling comparator 111 is adapted to be connected to the negative terminal of the second voltage source, the positive terminal of the second voltage source 112 is connected to the single-wire communication interface OWI, and the negative input terminal of the enabling comparator 111 is connected to the power supply terminal VCC of the slave chip 200.
[0110] Specifically, the positive input end of the enable comparator 111 is connected to the single-wire communication interface OWI through the second voltage source 112, so that the voltage signal received by the positive input end is the difference between the output voltage Vowi of the single-wire communication interface OWI and the voltage value V2 corresponding to the output of the second voltage source 112, the voltage signal received by the negative input end of the enable comparator 111 is the slave supply voltage Vcc2, and the output end of the enable comparator 111 outputs a high-level enable signal and sends the enable signal to the enable end of the operational amplifier 121 in the clamping unit 120 or the control end of the first controllable switch S0 when the following formula (2) is satisfied.
[0111] Vowi-V2 ≥ Vcc2 Formula (2)
[0112] It should be noted that according to formula (2), it can be determined that the enable threshold voltage is Vcc2+V2 according to the voltage value V2 corresponding to the output of the second voltage source 112 and the slave supply voltage Vcc2 in the embodiment of the application, or the enable threshold voltage is Vcc2+V2+ΔV when a hysteresis enable comparator is used, and V2 is less than V1, while V2+ΔV can be greater than or equal to V1 or less than V1.
[0113] In some other embodiments of the application, as shown in Figure 11 the positive input end of the enable comparator 111 is adapted to be connected to the single-wire communication interface OWI, and the negative input end of the enable comparator 111 is adapted to be connected to the positive end of the second voltage source 112, and the negative end of the second voltage source 112 is adapted to be connected to the supply end VCC of the slave chip 200.
[0114] Specifically, the positive input end of the enable comparator 111 receives the output voltage Vowi of the single-wire communication interface OWI, and the voltage signal received by the negative input end of the enable comparator 111 is the sum of the slave supply voltage Vcc2 and the voltage value V2 corresponding to the output of the second voltage source 112, and the output end of the enable comparator 111 generates a high-level enable signal when the above formula (2) is satisfied.
[0115] In some other embodiments of the application, as shown in Figure 12 the above-mentioned enable unit 110 further comprises a second subtractor 113, wherein the negative input end of the enable comparator 111 is adapted to be connected to the second voltage source 112, and the positive input end of the enable comparator 111 is adapted to be connected to the output end of the second subtractor 113, and the second subtractor 113 is configured to subtract the output voltage Vowi of the single-wire communication interface OWI from the slave supply voltage Vcc2 to output a second voltage difference.
[0116] Specifically, the second subtractor 113 outputs a second voltage difference value Vowi-Vcc2, and the enable comparator 111 compares the second voltage difference value with a voltage value V2 output by the second voltage source 122, and outputs a high-level enable signal at the output end of the enable comparator 111 when the above formula (2) is satisfied.
[0117] Therefore, the embodiment of the present application realizes the setting of the enable threshold voltage by introducing the second voltage source 112, and ensures that the enable signal is output only when the output voltage Vowi reaches a certain threshold value in combination with the enable comparator 111, so as to avoid unnecessary clamping operation, and realizes the low-power design of the slave chip 200.
[0118] In some embodiments of the present application, the enable unit 110 is further configured to output an off signal to the clamping unit 120 when the output voltage Vowi of the one-wire communication interface OWI drops to the off voltage threshold, so that the clamping unit 120 cuts off the path of discharging the slave supply voltage to the one-wire communication interface OWI.
[0119] Specifically, the enable comparator 111 in the enable unit 110 is configured to receive the output voltage Vowi of the one-wire communication interface OWI and the off voltage threshold, and the output end of the enable comparator 111 performs signal inversion when the output voltage drops to the off voltage threshold, so as to output the off signal, so that the clamping unit 120 pulls the gate level of the clamping switch tube M0 to the off level, thereby cutting off the path of discharging the slave supply voltage to the one-wire communication interface OWI.
[0120] Therefore, in the embodiment of the present application, the enable unit 110 can dynamically respond to the change of the output voltage Vowi of the one-wire communication interface OWI, turn on the clamping unit 120 when the output voltage Vowi of the one-wire communication interface OWI rises to the enable threshold voltage, and turn off the clamping unit 120 when the output voltage Vowi of the one-wire communication interface OWI drops to the off voltage threshold, so as to not only timely trigger the subsequent clamping processing of the voltage drop between the output voltage and the slave supply voltage during the rising of the output voltage, so as to realize the stable power supply of the slave chip 200, but also cut off the clamping unit 120 during the falling of the output voltage, so as to timely stop the power supply of the slave chip 200, thereby avoiding affecting the effectiveness and stability of the OWI communication.
[0121] In some embodiments of the present application, the above-mentioned slave power supply circuit 100 further comprises a fast-off unit 130, wherein the fast-off unit 130 is configured to control the clamping unit 120 to quickly cut off the path of discharging the slave supply voltage to the one-wire communication interface OWI when the output voltage Vowi of the one-wire communication interface OWI is pulled down to a fast-off voltage threshold.
[0122] When the output voltage Vowi of the single-wire communication interface OWI drops to a low level, if the falling edge is very fast, the enable comparator 111 may not have enough time to flip, which may cause a reverse current to cause the clamping switch tube M0 to appear reverse flow phenomenon, greatly increasing the risk of damage to the clamping switch tube M0. Therefore, the above-mentioned fast turn-off unit 130 provides protection for the clamping switch tube.
[0123] Further, the fast turn-off unit 130 includes a turn-off comparator 131 configured to compare the output voltage Vowi of the single-wire communication interface OWI with a fast turn-off threshold voltage to output a fast turn-off signal.
[0124] In some embodiments of the present application, as shown in Figure 13 the positive input end of the turn-off comparator 131 is adapted to be connected to the negative end of the third voltage source 132, the positive end of the third voltage source 132 is adapted to be connected to the single-wire communication interface OWI, and the negative input end of the turn-off comparator 131 is adapted to be connected to the power supply end VCC of the slave chip 200. The output end of the turn-off comparator 131 is adapted to output the fast turn-off signal.
[0125] Specifically, the positive input end of the turn-off comparator 131 is connected to the single-wire communication interface OWI through the third voltage source 132, so that the voltage signal received by the positive input end is the difference between the output voltage Vowi of the single-wire communication interface OWI and the voltage value V3 corresponding to the output of the third voltage source 132. The voltage signal received by the negative input end of the turn-off comparator 131 is the slave power voltage Vcc2, and the output end of the turn-off comparator 131 outputs a high-level fast turn-off signal when the following formula (3) is satisfied. Wherein, the fast turn-off signal can be used to quickly control whether the operational amplifier 121 is enabled, and the fast turn-off signal is directly sent to the operational amplifier 121 in the clamping unit 120 to control the operational amplifier 121 to immediately flip the output signal. Also, in the case that the output result of the operational amplifier 121 is transmitted to the control end of the clamping switch tube M0, the fast turn-off signal is directly sent to the control end of the first controllable switch S0 to control the first controllable switch S0 to be disconnected, thereby realizing the fast turn-off of the clamping switch tube M0.
[0126] Vowi-V3 ≥ Vcc2 Formula (3)
[0127] It should be noted that from formula (3), it can be determined that the above-mentioned fast turn-off threshold voltage is Vcc2+V3 according to the voltage value V3 corresponding to the output of the third voltage source 132 and the slave power voltage Vcc2, wherein V3 is less than V2.
[0128] In some embodiments of the present application, as shown in Figure 14As shown, the positive input end of the turn-off comparator 131 is adapted to be connected with the single-wire communication interface OWI, and the negative input end of the turn-off comparator 131 is adapted to be connected with the positive end of the third voltage source 132, and the negative end of the third voltage source 132 is adapted to be connected with the power supply end VCC of the slave chip 200.
[0129] Specifically, the positive input end of the turn-off comparator 131 receives the output voltage Vowi of the single-wire communication interface OWI, and the voltage signal received by the negative input end of the turn-off comparator 131 is the sum of the slave power supply voltage Vcc2 and the voltage value V3 corresponding to the output of the third voltage source 132, and similarly, in the case of satisfying the above formula (3), the output end of the turn-off comparator 131 generates a high-level fast turn-off signal, and sends the fast turn-off signal into the operational amplifier 121 or the first controllable switch S0 in the clamping unit 120, so as to realize the fast turn-off of the clamping switch tube M0.
[0130] In some other embodiments of the present application, as shown in Figure 15 The fast turn-off unit 130 further includes a third subtractor 133, the positive input end of the turn-off comparator 131 is adapted to be connected with the third voltage source 132, and the negative input end of the turn-off comparator 131 is adapted to be connected with the output end of the third subtractor 133, and the third subtractor 133 is configured to subtract the output voltage Vowi of the single-wire communication interface OWI from the slave power supply voltage Vcc2 to output a third voltage difference value, wherein the positive input end of the turn-off comparator 131 is adapted to be connected with the third voltage source 132.
[0131] Specifically, the third subtractor 133 outputs a third voltage difference value Vowi-Vcc2, and the third voltage difference value and the voltage value V3 corresponding to the output of the third voltage source 132 are compared by the turn-off comparator 131, and similarly, in the case of satisfying the above formula (3), the output end of the turn-off comparator 131 outputs a high-level fast turn-off signal, and sends the fast turn-off signal into the operational amplifier 121 or the first controllable switch S0 in the clamping unit 120, so as to realize the fast turn-off of the clamping switch tube M0.
[0132] Therefore, the embodiments of the present application compare the output voltage Vowi of the single-wire communication interface OWI with the fast turn-off threshold voltage by the turn-off comparator, and realize the setting of the fast turn-off threshold by introducing the third voltage source 132, so as to realize the fast turn-off of the output voltage, to prevent the reverse flow phenomenon of the clamping switch tube M0 in the clamping unit, and further to provide the circuit protection for the slave power supply circuit 100, and to be beneficial to improving the reliability of the slave power supply circuit 100.
[0133] In the above embodiment, the fast turn-off unit 130 includes the turn-off comparator 131, while in some other embodiments of the present application, the fast turn-off unit 130 can also be implemented by a switch tube instead of the turn-off comparator 131. Specifically, as shown in Figure 16 and Figure 17 , in some embodiments of the present application, the fast turn-off unit 130 includes an eighth switch tube M8, wherein the second end of the eighth switch tube M8 is adapted to be connected to the power supply end VCC of the slave chip 200, the control end of the eighth switch tube M8 is adapted to be connected to the single-wire communication interface OWI, and the first end of the eighth switch tube M8 is connected to the control end of the clamping switch tube M0.
[0134] , wherein the threshold voltage of the eighth switch tube M8 can correspond to the voltage value V3 output by the third voltage source 132 in Figures 13 to 15 .
[0135] In the embodiments of the present application, the eighth switch tube M8 is used as the fast turn-off unit 130, so as to realize the reverse flow protection of the clamping switch tube M0, which is beneficial to improve the reliability of the slave power supply circuit.
[0136] It should be noted that, therefore, in the present application, the enable unit 110 has at least the circuit structure corresponding to the above-mentioned 3 embodiments, the clamping unit 120 has at least the circuit structure corresponding to the above-mentioned 4 embodiments, and the fast turn-off unit 130 has at least the circuit structure corresponding to the above-mentioned 4 embodiments, so the various embodiments of the above-mentioned enable unit 110, clamping unit 120 and fast turn-off unit 130 can be used in combination with each other, and are not limited to the slave power supply circuit shown in Figure 7 , Figure 8 , Figure 13 and Figure 16 .
[0137] Further, in some embodiments of the present application, the slave power supply circuit can also be implemented by switch tubes, specifically, as shown in Figure 17 , the clamping unit 120 includes the clamping switch tube M0, the first switch tube M1, the second switch tube M2, the third switch tube M3, the fourth switch tube M4, the fifth switch tube M5, the pull-up resistor R0, the first resistor R1 and the second controllable switch S1.
[0138] The first end of the clamping switch tube M0 is adapted to be connected to the single-wire communication interface OWI, and the second end of the clamping switch tube M0 is adapted to be connected to the power supply end VCC of the slave chip 200; the first end of the first switch tube M1 is connected to the control end, and the second end of the first switch tube M1 is adapted to be connected to the single-wire communication interface OWI through the pull-up resistor R0; the first end of the first resistor R1 is adapted to be connected to the power supply end VCC of the slave chip 200; the second end of the second switch tube M2 is connected to the second end of the first resistor R1, and the control end of the second switch tube M2 is connected to the control end of the first switch tube M1; the first end of the third switch tube M3 is connected to the first end of the first switch tube M1, and the second end of the third switch tube M3 is grounded; the control end of the fourth switch tube M4 is connected to the control end of the third switch tube M3 after being connected to the control end, and the second end of the fourth switch tube M4 is grounded; the first end of the fifth switch tube M5 is connected to the first end of the second switch tube M2 and has a first node, the second end of the fifth switch tube M5 is grounded, and the control end of the fifth switch tube M5 is connected to the control end of the third switch tube M3; the first end of the second controllable switch S1 is connected to the first node, the second end of the second controllable switch S1 is connected to the control end of the clamping switch tube M0, and the control end of the second controllable switch S1 is connected to the output end of the enable unit 110.
[0139] The first resistor R1 is used to obtain a clamping voltage in the embodiment of the application, and the voltage output through the first node between the second switch tube M2 and the fifth switch tube M5 is used to control the on state of the clamping switch tube M0, so that the voltage drop between the output voltage Vowi of the single-wire communication interface OWI and the slave power supply voltage is accurately limited to the clamping voltage, and the stable power supply of the slave chip 200 is realized. Therefore, the slave power supply circuit 100 can improve the compatibility of the single-wire communication interface OWI to the power supply demand of the slave and the communication demand of the OWI, and the slave power supply effect of the single-wire communication interface OWI is improved.
[0140] In some embodiments of the application, the enable unit 110 is further configured to output the enable signal to the clamping unit 120 after delaying for a preset time when detecting that the output voltage Vowi of the single-wire communication interface OWI rises to the enable threshold voltage.
[0141] Therefore, in the embodiment of the application, the enable unit outputs the enable signal to the clamping unit after delaying for a preset time, which can effectively suppress the oscillation phenomenon of the slave power supply circuit, thereby greatly improving the stability of the slave power supply circuit and reducing the risk of damage to circuit elements caused by the oscillation phenomenon.
[0142] As shown in FIG. 1, in some embodiments of the application, the enable unit 110 includes the first switch tube M1, the third switch tube M3, the fourth switch tube M4, the sixth switch tube M6, the seventh switch tube M7, the enable resistor R2, and the inverter U1. Figure 17 As shown in FIG. 1, in some embodiments of the application, the enable unit 110 includes the first switch tube M1, the third switch tube M3, the fourth switch tube M4, the sixth switch tube M6, the seventh switch tube M7, the enable resistor R2, and the inverter U1.
[0143] The first end of the first switch tube M1 is connected with the control end, the second end of the first switch tube M1 is adapted to connect the single-wire communication interface OWI through the pull-up resistor R0; the first end of the enable resistor R2 is adapted to be connected to the power supply end VCC of the slave chip 200; the second end of the sixth switch tube M6 is connected with the second end of the enable resistor R2, and the control end of the sixth switch tube M6 is connected with the control end of the first switch tube M1; the first end of the third switch tube M3 is connected with the first end of the first switch tube M1, and the second end of the third switch tube M3 is grounded; the first end of the fourth switch tube M4 is connected with the control end after being connected with the control end of the third switch tube M3, and the second end of the fourth switch tube M4 is grounded; the first end of the seventh switch tube M7 is connected with the first end of the sixth switch tube M6 and has a second node, the second end of the seventh switch tube M7 is grounded, and the control end of the seventh switch tube M7 is connected with the control end of the third switch tube M3; the input end of the inverter U1 is connected with the above-mentioned second node, and the output end of the inverter U1 is adapted to output the enable signal.
[0144] The enable threshold voltage is obtained by the enable resistor R2 in the embodiment of the present application, and the enable signal is generated through the second node between the sixth switch tube M6 and the seventh switch tube M7. The inverter U1 can have a delay function, so the embodiment of the present application utilizes the delay function of the inverter U1, and the above-mentioned enable signal is sent into the control end of the controllable switch S0 after a preset time T, so that the controllable switch S0 is closed in response to the enable signal to open the clamping switch tube M0.
[0145] In the embodiment of the present application, the voltage on the enable resistor R2 is greater than the voltage on the first resistor R1, so that V2 is less than V1, for example, if the current flowing through the sixth switch tube M6 is equal to the current flowing through the second switch tube M2, the resistance of the enable resistor R2 can be greater than the resistance of the first resistor R1. At the same time, by adjusting the relationship of R0, R1 and R2, Vowi is greater than Vcc2.
[0146] It should be noted that the above-mentioned preset time T can be set as the time of anti-glitch of the enable end, so as to receive the enable signal after eliminating the signal burr of the enable end, to avoid the oscillation of the circuit.
[0147] Therefore, the enable control of the clamping unit 120 is realized by the cooperative work of the plurality of switch tubes, in addition, the function of outputting the enable signal after the delay is realized by setting the inverter U1 in the embodiment of the present application, so as to effectively suppress the oscillation phenomenon of the slave power supply circuit 100, and greatly improve the stability of the slave power supply circuit 100.
[0148] Taking the active pull-down driving mode of the single-wire communication interface OWI as an example, Figure 18The waveform diagram of the output voltage Vowi of the slave power supply circuit 100 and the slave power supply voltage Vcc2 during the working process is shown in FIG. 6, wherein, when the output voltage Vowi rises to the enable threshold voltage Vcc2+V2, the enable unit 110 outputs the enable signal to the clamping unit 120, and after a preset time T, the clamping unit 120 starts to work, clamping the voltage drop between the output voltage Vowi and the slave power supply voltage Vcc2 to V1, until the output voltage Vowi drops to Vcc2+V3, the clamping unit 120 stops supplying power to the slave chip 200.
[0149] It should be noted that in some embodiments of the present application, the above-mentioned enable comparator 111 can also be set as a hysteresis comparator with an upper threshold greater than the voltage value V2 and a lower threshold less than the voltage value V2. In the case that the enable comparator 111 is a hysteresis comparator, the waveform of the output voltage Vowi of the single-wire communication interface OWI and the slave power supply voltage Vcc2 is as shown in FIG. 7, wherein the waveform change of the output voltage Vowi and the slave power supply voltage Vcc2 can refer to the description of the above-mentioned embodiments, which will not be described here. Figure 19
[0150] Correspondingly, the embodiment of the present application provides a slave chip 200, which comprises the slave power supply circuit 100 based on the single-wire communication interface OWI described in the above-mentioned embodiments.
[0151] Correspondingly, the embodiment of the present application provides a slave device 10, which comprises the slave power supply circuit 100 based on the single-wire communication interface OWI described in the above-mentioned embodiments.
[0152] It should be noted that the above-mentioned slave power supply circuit 100 can be integrated inside the slave chip 200 or outside the slave chip 200.
[0153] The single-wire communication interface OWI of the host device 20 supplies power to the slave chip 200 through the slave power supply circuit 100, and the single-wire communication interface OWI of the host device 20 and the single-wire communication interface OWI of the slave chip 200 are connected to realize the master-slave communication.
[0154] The specific configuration of each module and unit and the further function description are the same as the above-mentioned corresponding embodiments, which will not be described here.
[0155] The slave device provided in the embodiments of the present application clamps the voltage drop between the output voltage and the slave power supply voltage when the output voltage Vowi of the single-wire communication interface OWI rises to the enable threshold voltage, so as to stably supply power to the slave chip 200 through the single-wire communication interface OWI. Therefore, the slave power supply circuit provided in the embodiments of the present application clamps the voltage drop between the output voltage and the slave power supply voltage, which not only stably supplies power to the slave under the premise of not affecting the OWI communication between the master and the slave, but also takes into account the power supply demand and the communication demand of the slave chip 200, thereby improving the compatibility of the single-wire communication and the slave power supply, greatly improving the slave power supply effect of the single-wire communication interface OWI, and being beneficial to improving the stability and reliability of the OWI communication between the master and the slave.
[0156] Correspondingly, as shown in Figure 20 the embodiments of the present application also provide a communication system, which comprises the slave device 10 described in the above embodiments, and a master device 20, wherein the master device 20 communicates with the slave device 10 through the single-wire communication interface OWI, and supplies power to the slave device 10 through the single-wire communication interface OWI.
[0157] Specifically, the single-wire communication interface OWI of the master device 20 is connected to the single-wire communication interface OWI of the slave device 10 to communicate, and the single-wire communication interface OWI of the master device 20 is connected to the power supply end VCC of the slave device to supply power to the slave device 10.
[0158] The specific configurations of the above modules and units and the further function description are the same as those of the corresponding embodiments, and will not be described here.
[0159] The communication system provided in the embodiments of the present application clamps the voltage drop between the output voltage Vowi of the single-wire communication interface OWI and the slave power supply voltage through the slave power supply circuit 100 of the slave device 10, which not only stably supplies power to the slave, but also takes into account the power supply demand and the OWI communication demand of the slave chip 200, thereby improving the compatibility of the single-wire communication and the slave power supply, greatly improving the slave power supply effect of the single-wire communication interface OWI, and being beneficial to improving the stability and reliability of the OWI communication between the master and the slave.
[0160] Although the embodiments of the present application are described in combination with the drawings, various modifications and variations can be made by those skilled in the art without departing from the spirit and scope of the present application, and such modifications and variations all fall within the scope defined by the appended claims.
[0161] For the convenience of description, the above device is described as various units in function and is described respectively. Of course, the functions of the units can be implemented in the same or multiple software and / or hardware in the implementation of the present application.
[0162] It should also be noted that the terms "comprising", "comprises" or other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a..." does not, without further constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0163] Various embodiments are described herein with reference to the drawings. The same or like elements in the drawings are denoted by the same reference numerals, and a repeated description of which is omitted. Each of the various embodiments described in the specification is described in a progressive manner, and the same or similar parts between the various embodiments are cross-referenced. Each of the various embodiments focuses on the differences from other embodiments. In particular, the system embodiments are described in a relatively simple manner because they are substantially similar to the method embodiments, and the relevant parts are cross-referenced to the parts of the method embodiments.
[0164] The above only describes the embodiments of the present application and is not intended to limit the present application. The present application can have various modifications and changes for those skilled in the art. Any modification, equivalent replacement, improvement, etc. within the spirit and principles of the present application shall be included in the scope of the claims of the present application.
[0165] Although the embodiments of the present application are described with reference to the drawings, those skilled in the art can make various modifications and changes without departing from the spirit and scope of the present application, and such modifications and changes fall within the scope defined by the appended claims.
Claims
1. A slave power supply circuit based on a single-wire communication interface, characterized by The slave power supply circuit comprises an enabling unit and a clamping unit, wherein The enabling unit is configured to output an enabling signal to the clamping unit when the output voltage of the single-wire communication interface rises to an enabling threshold voltage; The clamping unit is configured to clamp the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage according to the enabling signal, so as to stably supply power to the slave chip through the single-wire communication interface.
2. The slave power supply circuit according to claim 1, characterized by The enabling unit is further configured to output an off signal to the clamping unit when the output voltage of the single-wire communication interface drops to an off voltage threshold, so that the clamping unit cuts off the path of discharging the slave power supply voltage to the single-wire communication interface.
3. The slave power supply circuit according to claim 1 or 2, characterized by Further comprising a fast off unit configured to control the clamping unit to quickly cut off the path of discharging the slave power supply voltage to the single-wire communication interface when the output voltage of the single-wire communication interface is pulled down to a fast off voltage threshold.
4. The slave power supply circuit according to claim 1, characterized by The clamping unit comprises: A clamping switch tube, a first end of the clamping switch tube being adapted to be connected to the single-wire communication interface, and a second end of the clamping switch tube being adapted to be connected to the power supply end of the slave chip; The clamping unit controls the turn-on of the clamping switch tube according to the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage.
5. The slave power supply circuit according to claim 4, wherein The clamping unit further comprises an operational amplifier, The output end of the operational amplifier is connected to the control end of the clamping switch tube, and the operational amplifier is configured to control the turn-on of the clamping switch tube according to the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage when the enabling signal is received; The operational amplifier has an enabling end, the enabling end of the operational amplifier is connected to the output end of the enabling unit, and the operational amplifier is configured to control the turn-on of the clamping switch tube according to the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage when the enabling signal is received; or The clamping unit further comprises a first controllable switch, the first end of the first controllable switch is connected to the control end of the clamping switch tube, the control end of the first controllable switch is connected to the output end of the enabling unit, the output end of the operational amplifier is connected to the second end of the first controllable switch, and the operational amplifier is configured to control the turn-on of the clamping switch tube according to the voltage drop between the output voltage of the single-wire communication interface and the slave power supply voltage when the first controllable switch is closed based on the enabling signal.
6. The slave power supply circuit according to claim 5, wherein The negative input end of the operational amplifier is adapted to be connected to the negative pole of a first voltage source, the positive pole of the first voltage source is connected to the single-wire communication interface, and the positive input end of the operational amplifier is connected to the power supply end of the slave chip; or The negative input end of the operational amplifier is adapted to be connected to the single-wire communication interface, the positive input end of the operational amplifier is adapted to be connected to the positive pole of the first voltage source, and the negative pole of the first voltage source is connected to the power supply end of the slave chip; or The positive input end of the operational amplifier is adapted to be connected with the first voltage source, and the negative input end of the operational amplifier is adapted to be connected with the output end of the first subtractor configured to subtract the output voltage of the single-wire communication interface from the slave power supply voltage to output a first voltage difference.
7. The slave power supply circuit according to claim 1, wherein The enabling unit comprises: an enabling comparator configured to compare the output voltage of the single-wire communication interface with the enabling threshold voltage to output the enabling signal.
8. The slave power supply circuit according to claim 7, wherein the positive input end of the enabling comparator is adapted to be connected with the negative terminal of a second voltage source, the positive terminal of the second voltage source is connected with the single-wire communication interface, and the negative input end of the enabling comparator is connected with the power supply terminal of the slave chip; or the positive input end of the enabling comparator is adapted to be connected with the single-wire communication interface, the negative input end of the enabling comparator is adapted to be connected with the positive terminal of the second voltage source, and the negative terminal of the second voltage source is adapted to be connected with the power supply terminal of the slave chip; or the negative input end of the enabling comparator is adapted to be connected with the second voltage source, and the positive input end of the enabling comparator is adapted to be connected with the output end of a second subtractor configured to subtract the output voltage of the single-wire communication interface from the slave power supply voltage to output a second voltage difference.
9. The slave power supply circuit according to claim 3, wherein The fast-off unit comprises: a fast-off comparator configured to compare the output voltage of the single-wire communication interface with a fast-off threshold voltage to output a fast-off signal.
10. The slave power supply circuit according to claim 9, wherein the positive input end of the fast-off comparator is adapted to be connected with the negative terminal of a third voltage source, the positive terminal of the third voltage source is adapted to be connected with the single-wire communication interface, and the negative input end of the fast-off comparator is adapted to be connected with the power supply terminal of the slave chip; or the positive input end of the fast-off comparator is adapted to be connected with the single-wire communication interface, the negative input end of the fast-off comparator is adapted to be connected with the positive terminal of the third voltage source, and the negative terminal of the third voltage source is adapted to be connected with the power supply terminal of the slave chip; or the positive input end of the fast-off comparator is adapted to be connected with the third voltage source, and the negative input end of the fast-off comparator is adapted to be connected with the output end of a third subtractor configured to subtract the output voltage of the single-wire communication interface from the slave power supply voltage to output a third voltage difference.
11. The slave power supply circuit according to claim 4, wherein The slave power supply circuit further comprises a fast-off unit configured to control the clamping unit to fast cut off the path of discharging the slave power supply voltage to the single-wire communication interface when the output voltage of the single-wire communication interface is pulled down to a fast-off voltage threshold, and the fast-off unit comprises: an eighth switch tube, the second end of the eighth switch tube is adapted to be connected with the power supply terminal of the slave chip, the control end of the eighth switch tube is adapted to be connected with the single-wire communication interface, and the first end of the eighth switch tube is connected with the control end of the clamping switch tube.
12. The slave power supply circuit according to claim 4, wherein The clamping unit further comprises: a first switch tube, a first end of the first switch tube being connected with a control end, a second end of the first switch tube being adapted to connect the single-wire communication interface through a pull-up resistor; a first resistor, a first end of the first resistor being adapted to be connected to a power supply end of the slave chip; a second switch tube, a second end of the second switch tube being connected with a second end of the first resistor, a control end of the second switch tube being connected with the control end of the first switch tube; a third switch tube, a first end of the third switch tube being connected with the first end of the first switch tube, a second end of the third switch tube being grounded; a fourth switch tube, a first end of the fourth switch tube being connected with a control end and then connected with the control end of the third switch tube, a second end of the fourth switch tube being grounded; a fifth switch tube, a first end of the fifth switch tube being connected with the first end of the second switch tube and having a first node, a second end of the fifth switch tube being grounded, a control end of the fifth switch tube being connected with the control end of the third switch tube; a second controllable switch, a first end of the second controllable switch being connected with the first node, a second end of the second controllable switch being connected with the control end of the clamping switch tube, a control end of the second controllable switch being connected with an output end of the enable unit.
13. The slave power supply circuit according to claim 1, wherein The enable unit comprises: a first switch tube, a first end of the first switch tube being connected with a control end, a second end of the first switch tube being adapted to connect the single-wire communication interface through a pull-up resistor; an enable resistor, a first end of the enable resistor being adapted to be connected to a power supply end of the slave chip; a sixth switch tube, a second end of the sixth switch tube being connected with a second end of the enable resistor, a control end of the sixth switch tube being connected with the control end of the first switch tube; a third switch tube, a first end of the third switch tube being connected with the first end of the first switch tube, a second end of the third switch tube being grounded; a fourth switch tube, a first end of the fourth switch tube being connected with a control end and then connected with the control end of the third switch tube, a second end of the fourth switch tube being grounded; a seventh switch tube, a first end of the seventh switch tube being connected with the first end of the sixth switch tube and having a second node, a second end of the seventh switch tube being grounded, a control end of the seventh switch tube being connected with the control end of the third switch tube; an inverter, an input end of the inverter being connected with the second node, an output end of the inverter being adapted to output the enable signal.
14. The slave power supply circuit according to claim 1, wherein The enable unit is further configured to, in a case where it is detected that the output voltage of the single-wire communication interface rises to the enable threshold voltage, output an enable signal to the clamping unit after a preset time delay.
15. A slave device, comprising: It comprises: a slave power supply circuit based on a single-wire communication interface according to any one of claims 1-14.
16. A communication system, characterized by It comprises: a slave device according to claim 15; a host device, the host device communicating with the slave device through a single-wire communication interface and supplying power to the slave device through the single-wire communication interface.