Load control circuit, chip, communication circuit and interactive control method

By designing load control circuits, including rectifier bridge circuits, modulation circuits and energy control modules, the communication and charging stability problems of the encryption chip during load operation are solved, efficient data communication and power supply are achieved, and product manufacturing costs are reduced.

CN118889880BActive Publication Date: 2025-02-14AMICRO SEMICONDUCTOR CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411370051.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-02-14
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

During the communication process during load operation, existing encryption chips are susceptible to large currents generated by the terminal and cannot effectively deal with the problem of input negative voltage, resulting in the controller being unable to recognize and poor charging stability.

Method used

A load control circuit is designed, including a rectifier bridge circuit, a modulation circuit, an energy control module and a controller. The input signal is rectified through the rectifier bridge circuit, and the modulation circuit and energy control module are used to realize stable power supply and data communication of the load components. .

Benefits of technology

This solution can maintain normal data communication when the load component is working, enhance the scalability and functional reusability of peripheral components, reduce product manufacturing costs, and solve the problems of input negative voltage identification and charging stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118889880B_ABST
    Figure CN118889880B_ABST
Patent Text Reader

Abstract

The present application discloses a load control circuit, a chip, a communication circuit and an interactive control method. The load control circuit includes a rectifier bridge circuit, a modulation circuit, an energy control module and a first controller; the rectifier bridge circuit is connected to the modulation circuit; the rectifier bridge circuit is connected to the energy control module; the first controller is connected to the modulation circuit and the energy control module respectively; the rectifier bridge circuit is used to rectify the input signal and output the rectified result; wherein the port for inputting the signal in the rectifier bridge circuit is used to connect in parallel the load element outside the load control circuit; the first controller is used to cause the current change in the rectifier bridge circuit by controlling the modulation circuit, thereby driving the current change in the load element for modulation; the energy control module is used to charge the capacitor external to the load control circuit through the rectification result, and select the capacitor external to the load control circuit to power the modulation circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of load circuits, and in particular to load control circuits, chips, communication circuits and interactive control methods. Background Art

[0002] Encryption chips have a wide range of uses, and are used to protect products. Common encryption chips are not connected in parallel with the load. This application is more flexible. The communication and power supply of the encryption chip need to be powered separately, or the data and power supply are multiplexed, and the power supply is realized through a pull-up resistor. The encryption chip maintains power supply through a capacitor, and the capacitor is used to power data when sending. The Chinese invention patent with patent application number CN202222357787.X discloses a communication circuit that happens to be used in this type of encryption chip for data modulation and demodulation communication. It is turned on and off through a certain timing control switch to modulate the data to be transmitted, wherein the chip that needs to receive data uses the current change on a resistor connected to it to demodulate the data, and realize communication between the two chips; the communication circuit disclosed in the aforementioned Chinese invention patent relies on the change of current to realize data modulation and demodulation. The communication process is not affected by the large current generated when the terminal load is working, and there is no need to turn off the load working function during communication, but it does not consider the problem that it cannot be recognized by the controller due to the input negative voltage, and there are also problems of charging the controller and maintaining the stable operation of the controller. Summary of the invention

[0003] The present application discloses a load control circuit, a chip, a communication circuit and an interactive control method. The specific technical solutions are as follows:

[0004] The load control circuit includes a rectifier bridge circuit, a modulation circuit, an energy control module and a first controller; the rectifier bridge circuit is connected to the modulation circuit; the rectifier bridge circuit is connected to the energy control module; the first controller is respectively connected to the rectifier bridge circuit, the modulation circuit and the energy control module; the rectifier bridge circuit is used to rectify the input signal to obtain a rectification result; wherein the port for inputting the signal in the rectifier bridge circuit is used to connect in parallel the load element outside the load control circuit; the first controller is used to cause a current change in the rectifier bridge circuit by controlling the modulation circuit, thereby driving a current change in the load element for modulation; the energy control module is used to charge the capacitor external to the load control circuit through the rectification result, and select the capacitor external to the load control circuit to power the modulation circuit. In summary, the load control circuit disclosed in the present application can not only identify the input signals generated by the positive and reverse connection of external devices, but also provide stable power supply to the parallel connected load elements and use the modulation circuit to modulate so as to maintain normal data communication when the load elements are working. In addition, it uses external capacitors to store electricity and supply power, thereby enhancing the scalability and functional reuse of the peripheral components of the load control circuit, thereby solving the problem of the increase in the number of peripheral components on the basis of the existing technology, and realizing the use of load parallel connection to take into account information interaction and charging to simplify the circuit manufacturing cost, thereby greatly reducing the manufacturing cost of the product.

[0005] A chip, wherein the load control circuit is arranged inside the chip. The rectifier bridge circuit is integrated inside the chip, and the positive and negative signals generated by the positive and negative connection of the external device to the first input terminal and the second input terminal can be identified, and the parallel-connected load elements can also be stably powered. The chip uses a modulation circuit for modulation so as to maintain normal data communication when the load element is working, and the chip uses an external capacitor for power storage and power supply, which enhances the scalability and functional reuse of the chip's peripheral components, thereby solving the problem of an increase in the number of peripheral components caused by data modulation and demodulation, reducing the chip manufacturing cost, and thus reducing the manufacturing cost of products equipped with the chip.

[0006] The communication circuit includes a first circuit and a second circuit; the first circuit includes the chip or the load control circuit; the second circuit includes a second controller, a power supply, a first switch tube and a second switch tube; the first circuit also includes a load element and a capacitor; in the load control circuit, the rectifier bridge circuit is provided with a first input terminal, a second input terminal, a first rectifier output terminal and a second rectifier output terminal, the energy control module is provided with a signal input terminal and a signal output terminal, the signal input terminal of the energy control module is connected to the first rectifier output terminal of the rectifier bridge circuit, and the capacitor is connected in parallel to the signal output terminal of the energy control module and the second rectifier output terminal of the rectifier bridge circuit; the two ends of the load element are connected in parallel to the first input terminal and the second input terminal; the power supply is respectively connected to the first input terminal and the second input terminal; The first input terminal is connected to the first input terminal through the first switch tube and the second switch tube; the second controller is connected to the second input terminal to provide a data path for the second controller to communicate with the first circuit; the second controller is used to control the power supply to charge the first circuit by turning on the first switch tube and / or the second switch tube before it communicates with the first circuit; the second controller is used to detect whether the synchronous reset signal sent by the first circuit is received when the power supply charges the first circuit, and then keep the second switch tube turned on when the synchronous reset signal sent by the first circuit is detected, and start communicating with the first circuit; wherein, when the second controller communicates with the first circuit, the capacitor keeps supplying power to the load control circuit. In summary, the present application uses the on and off of two switching tubes to switch between charging the first circuit and communicating with the first circuit, ensuring the operation of the load elements connected in parallel and the modulation and interaction of external communication signals, combined with the load control circuit included in the first circuit, which has both the recognition effect of the input signal generated by the positive and reverse connection of the external device and the circuit basis for modulation, so as to ensure that the load elements maintain normal data communication when working through a simplified circuit design, and reduce the wires and pins for the interaction between the circuit of the host and the circuit of the slave.

[0007] An interactive control method, the executor of the interactive control method is a second controller in the communication circuit; the interactive control method comprises: step 11, the second controller controls the power supply to charge the first circuit by turning on the first switch tube and / or the second switch tube; then executing step 12; step 12, detecting whether a synchronous reset signal sent by the first circuit is received, if yes, executing step 13, otherwise terminating the execution of the interactive control method; step 13, the second controller sends a first data packet to the first circuit, and after the sending is completed, executing step 14; step 14, the second controller receives a first and a second data packet sent by the first circuit, and after the receiving is completed, executing step 15; step 15, judging whether the first and the second data packet are the same as the first data packet, if yes, executing step 13, otherwise terminating the execution of the interactive control method. From the above steps 11 to 15, it can be known that the controller (second controller) on the second circuit side is the executor, and the data interaction between the second circuit and the first circuit is dominated by controlling the on and off of the second switch tube, the on and off of the switch unit on the first circuit side, and the synchronous reset signal; and based on the similarities and differences of the data packets interacting between the second circuit and the first circuit, it is checked whether the communication circuit is working normally to control the second circuit to continue to send data packets to the first circuit, maintain the data communication operation between the second circuit and the first circuit, and stop the data communication operation between the second circuit and the first circuit when no synchronous reset signal is received and the data packets interacting between the second circuit and the first circuit are different.

[0008] An interactive control method, the executor of the interactive control method is a first controller in the communication circuit; after the second controller controls the power supply to charge the first circuit by turning on the second switch tube and / or the first switch tube, the interactive control method includes: step 21, the first controller detects whether a synchronous reset signal sent by the second circuit is received, if yes, executes step 22, otherwise, the interactive control method is terminated; step 22, the first controller sends a second-first data packet to the second circuit, and after the sending is completed, executes step 23; step 23, the first controller receives the second-second data packet sent by the second circuit, and after the receiving is completed, executes step 24; step 24, determines whether the second-second data packet is the same as the second-first data packet, if yes, executes step 22, otherwise, the interactive control method is terminated. From the above steps 21 to 24, it can be known that the controller (first controller) on the first circuit side is used as the executor, and load modulation is performed by controlling the on and off of the switch unit to dominate the data interaction between the first circuit and the second circuit; and based on the similarities and differences of the data packets interacting between the second circuit and the first circuit, it is checked whether the communication circuit is working normally to control the first circuit to continue to send data packets to the second circuit, maintain the data communication operation between the first circuit and the second circuit, and stop the data communication operation between the first circuit and the second circuit when no synchronous reset signal is received and the data packets interacting between the first circuit and the second circuit are different. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 A structural schematic diagram of a load control circuit is disclosed for one embodiment of the present application.

[0010] Figure 2 A structural schematic diagram of a communication circuit is disclosed for one embodiment of the present application.

[0011] Figure 3 A flowchart of an interactive control method using a first controller as an execution body is disclosed for one embodiment of the present application.

[0012] Figure 4 A flowchart of an interactive control method using a second controller as an execution subject is disclosed for one embodiment of the present application.

[0013] Figure 5 It is a schematic diagram of a synchronous reset signal with 4 pulses, a signal waveform with a data bit of 0, and a signal waveform with a data bit of 1 transmitted between the first circuit and the second circuit of the present application. DETAILED DESCRIPTION

[0014] The specific implementation methods of the present application are further described below in conjunction with the accompanying drawings. In the present application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be internal communication between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0015] Taking into account the circuit's load power, design cost, signal recognition and charging issues, the present application discloses a load control circuit that works by connecting loads in parallel and works while maintaining normal operation of data communication and power supply functions. Therefore, an external capacitor can be used to form a multiplexed circuit with charging energy storage and normal power supply. Figure 1 It can be seen that the load control circuit disclosed in the present application includes a rectifier bridge circuit, a modulation circuit, an energy control module and a first controller, and the first controller is respectively connected to the rectifier bridge circuit, the modulation circuit and the energy control module; wherein the rectifier bridge circuit is a circuit with upper and lower half bridge arms connected by switch tubes, and the modulation circuit relies on the built-in switch unit to change the magnitude of the current flowing through to play a signal modulation role; the energy control module is equipped with a switch network to turn on or off the supply of electric energy, and can also boost the input signal by setting a boost circuit such as a charge pump; the rectifier bridge circuit, the modulation circuit and the energy control module are all controlled by the control signal issued by the first controller.

[0016] In the present application, the rectifier bridge circuit is connected to the modulation circuit, and the rectifier bridge circuit is connected to the energy control module. It can be understood that the signal of the input load control circuit is rectified by the rectifier bridge circuit and then adjusted by the energy control module to maintain the normal operation of the modulation circuit, including normal power supply and normal signal modulation communication.

[0017] The rectifier bridge circuit is used to rectify the input signal and output the rectified result; the rectifier bridge circuit has a rectifier bridge inside to realize the fool-proof function, that is, the input signal does not need to distinguish the positive and negative polarity in advance, which means that the external device can be recognized by the first controller whether it is plugged into the load control circuit in the forward and reverse directions. Then, no matter the input signal is a positive data signal, a negative data signal, a positive power supply signal or a negative power supply signal, after rectification by the rectifier bridge circuit, the output rectified result can be processed by the modulation circuit and the energy control module, and the positive and negative of the input signal can be detected by the first controller.

[0018] The port for inputting signals in the rectifier bridge circuit is used to connect in parallel the load element outside the load control circuit. Therefore, when the rectifier bridge circuit of the present application performs switching through the switch tube, for example, when switching from the charging state to the data communication state, it does not affect the operation of the load element and also solves the problem of reverse connection of the positive and negative poles.

[0019] The first controller is used to cause current changes in the rectifier bridge circuit by controlling the modulation circuit, including relying on the switch mechanism in the modulation circuit to turn on or off for a period of time, changing the current of the path connected to the rectifier bridge circuit, causing the current change in the rectifier bridge circuit, and feeding back to the current limiting resistor in the modulation circuit to obtain a pulse signal of corresponding duration. Since the port of the input signal in the rectifier bridge circuit is connected in parallel to the load element outside the load control circuit, the current change in the rectifier bridge circuit drives the current change in the load element to perform modulation, that is, the first controller controls the modulation circuit to perform load modulation, which is equivalent to data encoding by load modulation. It can also be understood as timing the load voltage to obtain high and low levels of corresponding level widths (level durations obtained by timing), thereby modulating to obtain coded level signals and realizing data interaction using coded information.

[0020] Based on the connection between the modulation circuit and the rectifier bridge circuit and the parallel connection of the rectifier bridge circuit to the load element, the rectification result of the external input signal of the rectifier bridge circuit can contribute to the modulation circuit, and the external input signal of the rectifier bridge circuit also partially or completely acts on the aforementioned parallel connected load element; in addition, it can also maintain normal power supply based on the processing of the energy control module, and ensure the power supply of the load control circuit and the external data communication function. Based on this, the circuit design can be simplified and the wires and pins required for data interaction can be reduced.

[0021] The load modulation method relies on the switch mechanism in the modulation circuit to make the built-in resistor consume more current and cut off the path, so as to perform signal modulation, and externally feedback the working current and voltage state of the load element. This application supports load parallel connection, combined with the rectifier bridge circuit for load modulation, and reduces circuit cost.

[0022] The energy control module is used to charge the capacitor external to the load control circuit through the rectification result, and to select the capacitor external to the load control circuit to power the modulation circuit. By raising the voltage of the rectification result or directly transmitting it to the capacitor, after the capacitor is charged to a certain level of electricity, the amount of electricity in the capacitor is sufficient to support the normal operation of the load control circuit, including driving the modulation circuit to perform modulation work and ensuring the power supply of the first controller. Therefore, the energy control module internally integrates a switch network, which is a switch network for the capacitor, or a charge pump is set to adjust the voltage and replenish the capacitor in time, which can meet both the charging requirements of the capacitor and the power supply voltage requirements of the modulation circuit and the first controller.

[0023] The external capacitor of the load control circuit is used as an energy storage capacitor. After the energy storage capacitor is charged, it will provide power to the first controller and the modulation circuit respectively; the data communication and power supply of the load control circuit can be powered separately, or the data communication and power supply can reuse the same capacitor. Not only can power supply be achieved by connecting a pull-up resistor in series, but the power supply of the first controller can also be maintained by the capacitor. The first controller is powered by the capacitor when sending data.

[0024] In summary, the load control circuit disclosed in the present application can not only identify the input signals generated by the positive and reverse connection of external devices, but also provide stable power supply to the parallel connected load elements and use the modulation circuit to modulate so as to maintain normal data communication when the load elements are working. In addition, it uses external capacitors to store electricity and supply power, thereby enhancing the scalability and functional reuse of the peripheral components of the load control circuit, thereby solving the problem of the increase in the number of peripheral components on the basis of the existing technology, and realizing the use of load parallel connection to take into account information interaction and charging to simplify the circuit manufacturing cost, thereby greatly reducing the manufacturing cost of the product.

[0025] As an embodiment, the modulation circuit includes a current limiting resistor and a switch unit, and the rectifier bridge circuit is provided with a first rectifier output terminal and a second rectifier output terminal; one end of the switch unit is connected to the first rectifier output terminal, and the other end of the switch unit is connected to one end of the current limiting resistor, and the other end of the current limiting resistor is connected to the second rectifier output terminal, and the first rectifier output terminal and the second rectifier output terminal are used to output the rectified result, and the rectifier bridge circuit is also provided with a first input terminal and a second input terminal, and the positive signal or negative signal input to the first input terminal and the second input terminal are output from the first rectifier output terminal and the second rectifier output terminal after rectification, so that the current change in the rectifier bridge circuit is fed back to the current limiting resistor. Schematically, as Figure 1As shown, the switch unit is a switch element SW-S controlled by the first controller MCU1, one end of the switch element SW-S is connected in series with the current limiting resistor Rs, and the series-connected switch element SW-S and the current limiting resistor Rs are regarded as being connected in parallel to the first rectifier output end of the rectifier bridge circuit; thereby triggering the first controller to perform demodulation according to the current change in the current limiting resistor.

[0026] In this embodiment, the modulation circuit is used for when the switch unit changes from off to on, current appears in the current limiting resistor, the current limiting resistor samples the voltage, causes the current in the rectifier bridge circuit to change, drives the current in the load element to change, can be fed back to the first input end and the second input end for modulation, and the modulation result can be transmitted to the communication chip connected to the first input end and the second input end; the modulation circuit is also used for when the switch unit changes from on to off, no current passes through the current limiting resistor, and there is still current in the rectifier bridge circuit and the load element, causing the current in the rectifier bridge circuit to change, drives the current in the load element to change, can be fed back to the first input end and the second input end, so as to perform modulation. Then, based on the signals of the first input end and the second input end, the first controller can combine the low level of the first preset duration and the high level of the second preset duration into data bit 1 or data bit 0, implement the encoding of the bit data, and realize modulation.

[0027] Indicatively, Figure 1 As shown, when the switch element SW-S is turned on, the current limiting resistor Rs converts the voltage value generated by the consumed current into the corresponding data bit to help complete the data modulation. The modulation circuit is turned on and off by a certain timing control switch, so that the current in the modulation circuit changes, thereby modulating the data to be transmitted between the large and small currents, reducing the problem of excessive energy consumption caused by high current modulation and the susceptibility of the signal to interference.

[0028] Therefore, the first controller MCU1 uses the switching unit to make the current in the current limiting resistor Rs continuously change between a large current and a small current, thereby playing the role of modulating data, wherein the large current or small current is a relative concept, and there is no specific dividing line between them. For example, when the large current is 3A, the small current is 100mA.

[0029] Other controllers in communication with the first controller can record the changing pattern of the current flowing through the current-limiting resistor, and then demodulate and restore the data to achieve the purpose of communication.

[0030] The modulation circuit relies on a single switch and a single resistor to realize the data modulation function, and has a simple circuit structure, which is conducive to the miniaturization of the terminal where the load control circuit is located, and also reduces the cost.

[0031] When the load control circuit needs to transmit data to an external controller, the data is modulated by turning on and off the switch unit to achieve the purpose of data encoding. Then, the control module that needs to receive data uses the current change on a resistor connected to it to demodulate the data to achieve communication between the two controllers. The controller here can be a chip.

[0032] It should be noted that when the load control circuit is working normally, the switch unit is turned on to enhance the current output capacity so as to provide the load element with the rated working current. The load control circuit relies on the change of current to achieve data modulation communication, and there is no need to stop providing power to the load element during communication, thereby improving the user experience of the heating terminal or other load terminal where the load control circuit is located.

[0033] On the basis of the above embodiment, the load control circuit is provided with a power supply terminal and a ground terminal, and the energy control module is used to connect the power supply terminal, schematically, as shown in FIG. Figure 1 As shown, the load control circuit is provided with a power supply terminal VCC and a ground terminal GND, the drain terminal of the second lower switch tube MP2 and the drain terminal of the first lower switch tube MP1 are connected to the ground terminal GND, and the energy control module is connected to the power supply terminal VCC; Figure 2 In the embodiment, the capacitor external to the load control circuit is a capacitor C connected in parallel to the power supply terminal VCC and the ground terminal GND, so as to store the power supply quantity through the capacitor C. Since the common connection terminal of the drain terminal of the second lower MOS tube MP2 and the drain terminal of the first lower MOS tube MP1 is connected to the ground terminal GND, and the energy control module is connected to the power supply terminal VCC, the quantity rectified and output by the rectifier bridge circuit is maintained in the capacitor, so that the quantity stored in the capacitor external to the load control circuit continuously supplies power to the load control circuit.

[0034] As an embodiment, the energy control module has a charge pump integrated inside; the signal input end of the charge pump is the signal input end of the energy control module; the signal output end of the charge pump is the signal output end of the energy control module. The signal input end of the charge pump is connected to the first rectifier output end of the rectifier bridge circuit, and the signal output end of the charge pump is connected to the power supply end; the charge pump is used to boost the rectification result, and then output the boosted result to the capacitor external to the load control circuit, wherein the boosted result of the charge pump is maintained on the capacitor. Schematically, the charge pump is used to boost the voltage of its signal input end (the aforementioned first rectifier output end), for example, the voltage obtained after rectification is boosted to 3V by the charge pump, and the capacitor can be charged to obtain a charging voltage of 3V. At this time, there is a path between the modulation circuit and the capacitor, and the charging voltage of the capacitor can drive the modulation circuit to work normally.

[0035] Alternatively, the charge pump is used to output the rectification result to a capacitor external to the load control circuit without adjusting the rectification result, that is, directly output the rectification result to the capacitor external to the load control circuit, so as to charge the capacitor external to the load control circuit; wherein the capacitor external to the load control circuit is a capacitor connected in parallel to the power supply terminal and the ground terminal so as to store the power supply amount through the capacitor.

[0036] It can be understood that the charge pump is also used to select the circuit path between the external capacitor of the load control circuit and the modulation circuit, so that when the external capacitor of the load control circuit is charged to a preset voltage, the preset voltage is maintained to power the modulation circuit; therefore, the charge pump can be used to switch between powering on and off the external capacitor of the load control circuit, thereby driving the current changes in the modulation circuit and the rectifier bridge circuit.

[0037] As an embodiment, the energy control module has an internal integrated switch network; the signal input end of the switch network is connected to the first rectifier output end of the rectifier bridge circuit, and the signal output end of the switch network is connected to the power supply end to select the circuit path between the modulation circuit, the rectifier bridge circuit and the capacitor external to the load control circuit; the switch network is used to switch between powering on and powering off the capacitor external to the load control circuit, driving the current changes in the modulation circuit and the rectifier bridge circuit, so that the rectification result charges the capacitor external to the load control circuit, that is, the rectification result is directly output to the capacitor without being adjusted by the energy control module, so that when the capacitor external to the load control circuit is charged to a preset voltage, it maintains the preset voltage to power the modulation circuit; wherein the signal input end of the switch network is the signal input end of the energy control module; the signal output end of the switch network is the signal output end of the energy control module.

[0038] Therefore, the energy control module in this embodiment is equivalent to a power switch, which is used to select the circuit path between the modulation circuit and the external capacitor of the load control circuit, so that when the external capacitor of the load control circuit is charged to the preset voltage, the preset voltage is maintained to supply power to the modulation circuit; the preset voltage is preferably between 3 and 5V.

[0039] In summary, by connecting a capacitor between the rectifier bridge circuit and the energy control module, the data modulation communication and the charging of the circuit module are not affected by the positive or negative input voltage; in the communication mode, the first controller starts the charge pump to boost the voltage and save it in the capacitor (equivalent to the charging capacitor) to obtain the working voltage required for the modulation circuit to perform data modulation; in the charging mode, the first controller does not start the charge pump but directly selects the path between the capacitor and the rectifier bridge circuit and the modulation circuit, and even does not need to set up a special boost circuit, and directly stores the power supply in the capacitor; thereby realizing the functional reuse of the energy control module.

[0040] As an embodiment, the rectifier bridge circuit includes a first upper switch tube, a second upper switch tube, a first lower switch tube and a second lower switch tube; the first transmission end of the first upper switch tube and the first transmission end of the second upper switch tube are commonly connected to the energy control module; the control end of the first upper switch tube is connected to the control end of the first lower switch tube, and the second transmission end of the second upper switch tube is connected to the second transmission end of the first lower switch tube; the control end of the second upper switch tube is connected to the control end of the second lower switch tube, and the second transmission end of the second upper switch tube is connected to the second transmission end of the second lower switch tube; the control end of the first lower switch tube is connected to the second transmission end of the second lower switch tube; the control end of the second lower switch tube is connected to the second transmission end of the first lower switch tube; the first transmission end of the second lower switch tube is connected to the first transmission end of the first lower switch tube. The first transmission end of the first upper switch tube and the first transmission end of the second upper switch tube are commonly connected to the first rectifier output end, and the first transmission end of the second lower switch tube and the first transmission end of the first lower switch tube are commonly connected to the second rectifier output end. The first transmission end of the second lower switch tube and the first transmission end of the first lower switch tube are connected to the ground end. Schematically, as Figure 1 As shown, the common connection end of the drain end of the first upper MOS tube MN1 and the drain end of the second upper MOS tube MN2 is the first rectifier output end, and the common connection end of the drain end of the second lower MOS tube MP2 and the drain end of the first lower MOS tube MP1 is the second rectifier output end.

[0041] In this embodiment, the first upper switch tube and the first lower switch tube are sequentially connected to form a bridge arm, and the first upper switch tube or the first lower switch tube is regarded as a rectifier switch tube; the second upper switch tube and the second lower switch tube are sequentially connected to form another bridge arm, and the second upper switch tube or the second lower switch tube is regarded as a rectifier switch tube. Thus, they are connected to form a rectifier bridge, realizing the foolproof function (input does not need to distinguish between positive and negative signs).

[0042] The first upper switch tube, the second upper switch tube, the first lower switch tube and the second lower switch tube can all be MOS tubes, triodes or diodes. The specific polarity varies depending on the connection method. Capacitors can also be connected in parallel.

[0043] In some embodiments, the first upper switch tube and the second upper switch tube are both NMOS tubes, the first lower switch tube and the second lower switch tube are both PMOS tubes, wherein the first transmission end is the drain end, the second transmission end is the source end, and the control end is the gate end; or, the first upper switch tube and the second upper switch tube are both PMOS tubes, the first lower switch tube and the second lower switch tube are both NMOS tubes, wherein the first transmission end is the source end, the second transmission end is the drain end, and the control end is the gate end; wherein each control end is controlled by a signal input from the first input end and a signal input from the second input end, respectively. The components connected to the first input end and the second input end can be load elements, and the load element does not need to distinguish between positive and negative polarities when connected, that is, whether it is positively connected or reversely connected, the rectification result can be output through the first rectification output end and the second rectification output end of the rectification bridge circuit, and recognized by the first controller and the second controller.

[0044] Indicatively, Figure 1 As shown, the first upper switch tube MN1 and the second upper switch tube MN2 are both NMOS tubes, the first lower switch tube MP1 and the second lower switch tube MP2 are both PMOS tubes, the first upper switch tube MN1 and the second upper switch tube MN2 are connected in sequence from top to bottom, and the first lower switch tube MP1 and the second lower switch tube MP2 are connected in sequence from top to bottom; the common end between the gate end of the first upper switch tube MN1 and the gate end of the first lower switch tube MP1 is connected to the common end between the source end of the second upper switch tube MN2 and the source end of the second lower switch tube MP2; the common end between the gate end of the second upper switch tube MN2 and the gate end of the second lower switch tube MP2 is connected to the common end between the source end of the first upper switch tube MN1 and the source end of the first lower switch tube MP1; thus, the four interconnected MOS tubes are connected to form a rectifier bridge.

[0045] Combination Figure 1 It can be seen that the load control circuit is provided with a first input terminal IN1 and a second input terminal IN2, the second transmission terminal of the first upper MOS tube MN1 and the second transmission terminal of the first lower MOS tube MP1 are connected to the first input terminal IN1, and the second transmission terminal of the second upper MOS tube MN2 and the second transmission terminal of the second lower MOS tube MP2 are connected to the second input terminal IN2; the rectifier bridge circuit inputs a positive data signal, a negative data signal, a positive power supply signal or a negative power supply signal through the first input terminal IN1 and the second input terminal IN2, and after rectification, the rectification result is outputted from the first rectifier output terminal and the second rectifier output terminal, and the positive signal and the negative signal of the aforementioned input can be identified.

[0046] The signal inputted by the first input terminal IN1 and the signal inputted by the second input terminal IN2 are respectively derived from circuits having data interaction relationship with the load control circuit.

[0047] In addition, the first input terminal and the second input terminal are used to connect in parallel a load element outside the load control circuit, such as Figure 2 As shown, the first input terminal IN1 and the second input terminal IN2 are respectively connected to the two ends of the load element (which can be a resistor). IN1 and IN2 can both supply power to the load element and receive signal modulation. In short, a voltage difference is allowed to be loaded on the two ends of the load element, which can be positive or negative. The signal input to the first input terminal and the signal input to the second input terminal are both external input signals. When the rectifier bridge circuit rectifies the external input signal, there is a voltage difference between the signal input to the first input terminal and the signal input to the second input terminal. After the rectification process of the rectifier bridge circuit, the rectification result is output by the first rectifier output terminal and the second rectifier output terminal, and the positive or negative voltage can be determined, thereby detecting the input signal.

[0048] Specifically, combined Figure 1 It can be seen from the rectifier bridge circuit shown that when the second level is input to the first input terminal IN1 and the first level is input to the second input terminal IN2, the second lower switch tube MP2 is turned on, the second upper switch tube MN2 is turned off, the first lower switch tube MP1 is turned off, and the first upper switch tube MN1 is turned on. The signal input to the first input terminal IN1 and the signal input to the second input terminal IN2 have circuit paths in the first upper switch tube MN1 and the second lower switch tube MP2 respectively. Then, the signal input to the first input terminal IN1 is connected to the first rectifier output terminal through the first upper switch tube MN1 and output by the first rectifier output terminal, which is equivalent to connecting the first input terminal IN1 to the modulation circuit and the energy control module; at the same time, the second The signal inputted by the input terminal IN2 is connected to the second rectifier output terminal through the second lower switch tube MP2 and outputted by the second rectifier output terminal, which is equivalent to connecting the second input terminal IN2 to the ground terminal; thereby the signal inputted by the first input terminal IN1 and the second input terminal IN2 is rectified into the rectifier result and outputted by the first rectifier output terminal and the second rectifier output terminal to be recognized by the first controller; wherein the first upper switch tube MN1 and the second lower switch tube MP2 can be respectively connected to the corresponding sampling terminals of the first controller, or the corresponding existing circuit paths are connected to the corresponding sampling terminals of the first controller; the value of the second level is lower than or equal to 0, and the value of the first level is higher than 0.

[0049] When the first input terminal IN1 inputs a first level and the second input terminal IN2 inputs a second level, the second lower switch tube MP2 is turned off, the second upper switch tube MN2 is turned on, the first lower switch tube MP1 is turned on, and the first upper switch tube MN1 is turned off. The signal input to the first input terminal IN1 and the signal input to the second input terminal IN2 have circuit paths in the first lower switch tube MP1 and the second upper switch tube MN2 respectively. Then, the signal input to the first input terminal IN1 is connected to the second rectifier output terminal through the first lower switch tube MP1 and output by the second rectifier output terminal, which is equivalent to connecting the first input terminal IN1 to the ground terminal; the signal input to the second input terminal IN2 is connected to the first rectifier output terminal through the second upper switch tube MN2 and output by the second rectifier output terminal. A rectifier output terminal output is equivalent to connecting the second input terminal IN2 to the modulation circuit and the energy control module; thereby the signals input from the second input terminal IN2 and the first input terminal IN1 (which can be regarded as having opposite polarities to the signals input from the first input terminal IN1 and the second input terminal IN2) are rectified into the rectification result and output from the first rectifier output terminal and the second rectifier output terminal to be recognized by the first controller; wherein the first lower switch tube MP1 and the second upper switch tube MN2 can be respectively connected to the corresponding sampling terminals of the first controller, or the corresponding existing circuit paths are connected to the corresponding sampling terminals of the first controller; the value of the second level is lower than or equal to 0, and the value of the first level is higher than 0.

[0050] Therefore Figure 1 The load control circuit shown can directly provide a working voltage or current to the load element during charging or communication with an external circuit. During the charging process or communication process, the rectifier bridge circuit is used to provide the load element with a rectified data interaction source and power supply.

[0051] Based on the above embodiments, the present application discloses a chip, wherein the load control circuit is arranged inside the chip, Figure 1It can be seen that the pins of the chip are respectively set to the aforementioned first input terminal IN1, first input terminal IN2, ground terminal GND and power supply terminal VCC, which are correspondingly connected to the rectifier bridge circuit and the energy control module in the chip. The specific circuit connection mode and functional effect refer to the aforementioned embodiment, which can be divided into modulating the signals input by the first input terminal IN1 and the first input terminal IN2 and charging the external capacitor through the ground terminal GND and the power supply terminal VCC, which will not be repeated here. The other pins of the chip are defined according to the actual needs of the chip. Based on the load control circuit disclosed in the aforementioned embodiment, the rectifier bridge circuit is integrated inside the chip, and the positive and negative signals generated by the positive and negative connection of an external device (including a load element) to the first input terminal and the second input terminal can be identified, and stable power supply can be performed for the parallel-connected load elements. The chip uses a modulation circuit for modulation so as to maintain normal data communication when the load element is working, and the chip uses an external capacitor for power storage and power supply, thereby enhancing the scalability and functional reuse of the chip's peripheral components, thereby solving the problem of an increase in the number of peripheral components caused by data modulation and demodulation, reducing the chip manufacturing cost, and thus reducing the manufacturing cost of products equipped with the chip.

[0052] The present application also discloses a communication circuit, which includes a first circuit and a second circuit; the first circuit includes the chip or the load control circuit; whether the chip is used to connect the second circuit or the load control circuit is used to connect the second circuit, the second circuit includes a second controller, a power supply, a first switch tube and a second switch tube, and the first circuit also includes a load element and a capacitor. Schematically, as shown in FIG. Figure 2 As shown, the second circuit includes a second controller MCU2, a power supply BAT, a first switch tube SW1 and a second switch tube SW2, both of which are controlled by the second controller MCU2, and the first circuit also includes a load element and a capacitor C. Preferably, the chip is an encryption chip, which at least encodes the data sent by the first circuit to the second circuit, and can also decode the data sent by the second circuit to the first circuit.

[0053] In the load control circuit, the rectifier bridge circuit is provided with a first input terminal, a second input terminal, a first rectifier output terminal and a second rectifier output terminal; the energy control module is provided with a signal input terminal and a signal output terminal, the signal input terminal of the energy control module is connected to the first rectifier output terminal of the rectifier bridge circuit, and the capacitor is connected in parallel to the signal output terminal of the energy control module and the second rectifier output terminal of the rectifier bridge circuit; the two ends of the load element are connected in parallel to the first input terminal and the second input terminal to accept load modulation work, and the capacitor is connected in parallel to the power supply terminal and the ground terminal for electric energy storage.

[0054] The power supply is connected to the first input terminal through the first switch tube and the second switch tube respectively; the second controller is connected to the second input terminal to provide a data path for the second controller to communicate with the first circuit, such as Figure 2 As shown, a first switch tube SW1 is connected between the power supply VBAT and the first input terminal IN1 to form a switch path, and a second switch tube SW2 is connected between the power supply VBAT and the second input terminal IN2 to form another switch path; a signal path is connected between the second controller MCU2 and the second input terminal IN2. When the second circuit shown in the figure is configured as a host, the first circuit is configured as a slave, the first switch tube SW1 is used as a power switch, and the second switch tube SW2 is used for data interaction, that is, responsible for the communication between the second circuit and the first circuit, so that the first switch tube SW1 and the second switch tube SW2 are turned on in different working modes respectively.

[0055] The second controller is used for controlling the power supply to charge the first circuit by turning on the first switch tube and / or the second switch tube before communicating with the first circuit; specifically, the method of controlling the power supply to charge the first circuit by turning on the first switch tube and / or the second switch tube includes: controlling the power supply to charge the first circuit by turning on the first switch tube and the second switch tube in sequence, or controlling the power supply to charge the first circuit by turning on only the second switch tube, or controlling the power supply to charge the first circuit by turning on only the first switch tube. The voltage across the capacitor of the first circuit when the first switch tube is turned on is higher than the voltage when the second switch tube is turned on.

[0056] Schematically, before the second controller communicates with the first circuit, the second controller enters the charging mode and requests the second circuit to charge the first circuit, at least to charge the capacitor in the first circuit. The first switch tube can be turned on first to allow the power supply to charge the capacitor and control the on-time of the first switch tube within a certain range to reduce the heat generation power of the load element. The on-time of the first switch tube is preferably 2ms to avoid overheating of the load element. Then the first switch tube is turned off, and then the second switch tube is turned on to enter the communication mode, and the second switch tube is turned on to continue charging the capacitor in the first circuit. Figure 2As shown, when the second controller controls the first switch tube SW1 to be turned on but controls the second switch tube SW2 to be turned off, the voltage across the two ends of the capacitor C of the first circuit when the first switch tube SW1 is turned on is the first charging voltage; when the second controller controls the first switch tube SW1 to be turned off but controls the second switch tube SW2 to be turned on, the voltage across the two ends of the capacitor C of the first circuit when the second switch tube SW2 is turned on is the second charging voltage; since the equivalent internal resistance when the first switch tube SW1 is turned on is less than the equivalent internal resistance when the second switch tube SW2 is turned on, the first charging voltage is greater than the second charging voltage, causing the working power of the load element when the first switch tube SW1 is turned on to be higher than the working power when the second switch tube SW2 is turned on; in order to prevent the load element from having excessive heating power, the first switch tube SW1 is not allowed to be turned on for a long time, and it is necessary to switch to the second switch tube SW2 to be turned on after the preset time, so that the second switch tube SW2 is turned on for a long time to support capacitor charging and data interaction between the second circuit and the first circuit.

[0057] Alternatively, keep the first switch tube off and turn on the second switch tube, allowing the power supply to charge the capacitor until the voltage is lower than or reaches a preset voltage. While the second switch tube is turned on, the charge pump provided in the energy control module raises the voltage and outputs it to the power supply end to charge the capacitor connected to the power supply end, wherein the current when the branch where the second switch tube is located is turned on may be smaller than the current when the branch where the first switch tube is located is turned on.

[0058] Alternatively, the first switch tube is turned on and the second switch tube is turned off. At the same time, the charge pump provided in the energy control module does not need to raise the voltage, and the power supply charges the capacitor until the voltage reaches a preset voltage. The first switch tube is then turned off and the second switch tube is turned on to enter the communication mode, wherein the preset voltage is preferably 3V.

[0059] Alternatively, the first switch tube and the second switch tube are turned on at the same time, thereby enhancing the current output capacity so as to provide the rated operating current to the load element; until the voltage across the capacitor of the first circuit reaches a preset voltage faster, the second controller receives the synchronous reset signal sent by the first circuit and determines that the charging of the first circuit is completed.

[0060] The second controller is used to detect whether the synchronous reset signal sent by the first circuit is received when the power supply is charging the first circuit. At this time, the second switch tube is turned on, and the first switch tube may be turned on or off; when the synchronous reset signal sent by the first circuit is detected, the second switch tube is kept turned on and starts to communicate with the first circuit, that is, the second controller sends data to the first circuit through the second input terminal IN2, and waits for the first circuit to send response data to the second circuit after the sending is completed. The modulated data sent by the first circuit can be demodulated through the first input terminal IN1 to form normal data interaction; wherein, when the second controller communicates with the first circuit, the capacitor has stored enough power supply to keep powering the load control circuit, and can subsequently re-enter the charging mode to continue to receive the charging power of the second input terminal IN2 and the first input terminal IN1 to supplement the power consumed by the load control circuit.

[0061] In summary, the present application uses the on and off of two switching tubes to switch between charging the first circuit and communicating with the first circuit, ensuring the heating of the load elements connected in parallel and the modulation and interaction of external communication signals, combined with the load control circuit included in the first circuit, which has both the recognition effect of the input signal generated by the positive and reverse connection of the external device and the circuit basis for modulation, so as to ensure that the load element maintains normal data communication when working through a simplified circuit design, and reduce the wires and pins for the interaction between the host circuit and the slave circuit.

[0062] As an embodiment, the second circuit further includes a voltage-dividing resistor connected in series between the second switch tube and the second input terminal to facilitate voltage and current sampling; the power supply is connected to the first transmission terminal of the first switch tube, and the second transmission terminal of the first switch tube is connected to the first input terminal to drive the power supply to charge the capacitor of the first circuit when the first switch tube is turned on; schematically, as Figure 2 As shown, the first switch tube SW1 selects a PMOS tube, the second switch tube SW2 also selects a PMOS tube, the first transmission end of the first switch tube SW1 is a source end to access the power supply VBAT, the second transmission end of the first switch tube SW1 is a drain end, the second switch tube SW2 selects a PMOS tube, the second switch tube SW2 also selects a PMOS tube, the first transmission end of the first switch tube SW1 is a source end to access the power supply VBAT, the second transmission end of the first switch tube SW1 is a drain end, and the drain end of the first switch tube SW1 is connected to the first input end IN1, so that the energy control module is driven to charge the capacitor C by turning on and off the relevant switch tubes in the rectifier bridge circuit.

[0063] The power supply is connected to the first transmission end of the second switch tube, the second transmission end of the second switch tube is connected to one end of the voltage-dividing resistor, and the other end of the voltage-dividing resistor is connected to the first input end, so as to reduce the power supply provided by the power supply to the load element of the first circuit when the second switch tube is turned on; preferably, an analog-to-digital converter is also connected between the voltage-dividing resistor and the first input end to sample and convert the current flowing through the voltage-dividing resistor, or to sample and convert the voltage across the voltage-dividing resistor. Schematically, as Figure 2 As shown, the first transmission end of the second switch tube SW2 is a source end to connect to the power supply VBAT, the second transmission end of the second switch tube SW2 is a drain end, the second transmission end of the second switch tube SW2 is connected to one end of the voltage-dividing resistor Rt, and the other end of the voltage-dividing resistor Rt is connected to the first input end IN1, wherein the voltage-dividing resistor Rt divides part of the voltage from the power supply to reduce the voltage input to the first input end IN1, thereby reducing the power of the load elements connected in parallel to the first input end IN1 and the second input end IN2.

[0064] The second controller is used for demodulating the signal to be identified according to the current change in the voltage-dividing resistor after receiving the signal to be identified sent by the first circuit through the first input terminal and the second input terminal when the second switch tube is turned on; it should be noted that when the second switch tube is turned on, the first circuit sends the signal to be identified (a modulated signal modulated by the modulation circuit of the first circuit) to the second circuit through the second input terminal. At this time, the second controller demodulates the signal to be identified according to the current change in the voltage-dividing resistor, as schematically shown in FIG. Figure 2 As shown, the second controller MCU2 can sample the change in the magnitude of the current flowing through the voltage-dividing resistor Rt through an analog-to-digital converter, and then demodulate according to the change in the magnitude of the current flowing through the voltage-dividing resistor Rt, and extract the demodulation result of the signal sent from the first circuit to identify whether the first circuit is in a charging mode or a communication mode. If it is in a charging mode, the charging voltage and charging current corresponding to the charging mode can be identified, and the power of the load element can be determined; if it is in a communication mode, the data frame in the signal to be identified can be parsed.

[0065] In summary, the second circuit disclosed in the present application performs charging and data communication switching on the first circuit through two switching tubes, and connects a voltage divider resistor in series in the switching tube branch specifically responsible for communication, which can also reduce the heat generation power of the parallel load elements while ensuring the hardware circuit foundation of data communication.

[0066] As an embodiment, a second controller is used to control the power supply to charge the first circuit by successively turning on the first switch tube and the second switch tube before the second controller communicates with the first circuit. The method includes: the second controller is used to control the first switch tube to be turned on for a preset time so that the power supply charges the capacitor of the first circuit. This method does not require a special boost circuit and directly stores the power supply electricity in the capacitor, but at least the turn-on time of the first switch tube must be controlled to be shorter than the turn-on time of the second switch tube. The preset time is generally controlled within 2ms; then the first switch tube is turned off, and the voltage across the capacitor may be lower than the preset voltage at this time to avoid overheating of the load component; and the second switch tube is turned on at the same time, as schematically shown in FIG. Figure 2 As shown, after the second switch tube SW2 is turned on, the power supply VBAT is controlled to charge the capacitor C of the first circuit by replacing the branch where the first switch tube SW1 is located, until the voltage across the capacitor C reaches a preset voltage, which is sufficient to maintain the modulation circuit for data modulation, and it can be determined that the charging of the capacitor of the first circuit is completed; in addition, when the first switch tube is turned on, if the voltage across the capacitor reaches the preset voltage, it is determined that the charging of the capacitor of the first circuit is completed, and then the second switch tube is turned on to start the communication between the second circuit and the first circuit.

[0067] In this embodiment, after the second switch tube SW2 is turned on, when the voltage across the capacitor reaches a preset voltage, the first controller sends a synchronous reset signal to the second circuit through the first input terminal and the second input terminal, which can be regarded as a plurality of equally spaced high and low levels, as a frame header of the data frame; the second controller is used to turn on the second switch tube, and when the second switch tube is turned on, it receives the synchronous reset signal sent by the first circuit, and determines that the second circuit completes charging the first circuit, so that the first controller recognizes the charging voltage and charging current corresponding to the charging mode, and provides sufficient power support for the modulation work of the modulation circuit in the first circuit and the data interaction work between the first controller and the second controller.

[0068] As an embodiment, a second controller is used to control the power supply to charge the first circuit by only turning on the second switch tube, and the method includes: the second controller is used to control the first switch tube to remain off, and turn on the second switch tube to allow the power supply to charge the capacitor of the first circuit until the voltage across the capacitor reaches a preset voltage, and then receive a synchronous reset signal sent by the first circuit to determine that the charging of the first circuit is completed. In the process of turning on the second switch tube to allow the power supply to charge the capacitor of the first circuit, the voltage input from the first input terminal is rectified by the rectifier bridge circuit and then adjusted by the energy control module, so that the voltage output from the energy control module to the power supply terminal is higher than the voltage input from the first input terminal, and the voltage output from the energy control module to the power supply terminal drives the modulation circuit to perform modulation.

[0069] Indicatively, Figure 2 As shown, when the second switch tube SW2 is turned on, after the power supply is divided by the voltage-dividing resistor Rt, the voltage input at the first input terminal IN1 is 1.5V. After rectification by the rectifier bridge circuit and boosting by the energy control module, the voltage output by the energy control module to the power supply terminal VCC reaches 3V, so as to cooperate with the rectifier bridge circuit to drive the modulation circuit to perform data modulation and obtain the modulation signal to be sent to the second circuit.

[0070] It is worth noting that the energy control module is internally provided with a charge pump for boosting the input voltage and then maintaining it through an externally connected capacitor. The capacitor maintains a direct current and does not participate in modulation coding, so that the modulation circuit can work normally, that is, the current of the control circuit is controlled by the on and off of the switch unit, and a smaller current can be used to modulate the data. Among them, the charge pump raises the voltage to charge the capacitor.

[0071] As an embodiment, a second controller is used to control the power supply to charge the first circuit by only turning on the first switch tube, and the method includes: the second controller is used to control the second switch tube to remain turned off, and turn on the first switch tube so that the power supply charges the capacitor of the first circuit. At this time, data interaction with the first circuit through the second input end can be stopped until the voltage across the capacitor reaches a preset voltage, the second switch tube is turned on, and the first switch tube is turned off, and a synchronous reset signal sent by the first circuit is received to determine that the charging of the first circuit is completed; in this embodiment, when the first switch tube is turned on to allow the power supply to charge the capacitor of the first circuit, the signal input from the first input end is rectified by the rectifier bridge circuit, and the circuit path between the modulation circuit, the rectifier bridge circuit and the capacitor is selected by the energy control module, so that the signal input from the first input end is directly output to the power supply end after being rectified by the rectifier bridge circuit, and does not need to be handed over to the energy control module for voltage adjustment.

[0072] Indicatively, Figure 2 As shown, when the first switch tube SW1 is turned on, the power supply does not need to be divided by a resistor, and the voltage input at the first input terminal IN1 can be 3V. After rectification by the rectifier bridge circuit, the voltage output by the energy control module to the power supply terminal VCC reaches 3V, so as to cooperate with the rectifier bridge circuit to drive the modulation circuit to perform data modulation and obtain the modulation signal that needs to be sent to the second circuit.

[0073] The present application also discloses an interactive control method, the execution subject of the interactive control method is a second controller in the communication circuit; Figure 3 As shown, the interactive control method includes:

[0074] Step 11, the second controller controls the power supply to charge the first circuit by turning on the first switch tube and / or the second switch tube; then execute step 12; specifically, when executing step 11, the second controller can control the power supply to charge the first circuit by turning on the first switch tube and the second switch tube in sequence, or by turning on only the second switch tube to control the power supply to charge the first circuit, or by turning on only the first switch tube to control the power supply to charge the first circuit, or by turning on the second switch tube and the first switch tube at the same time to control the power supply to charge the first circuit; then execute step 12. Among them, the turning on and off of the second switch tube will cause the current flowing through the voltage divider resistor Rt to change, and the second controller performs demodulation based on this, and extracts the demodulation result of the signal sent from the first circuit.

[0075] Based on the embodiments related to the aforementioned circuits, the present application only turns on the first switch tube to control the power supply to charge the first circuit, and the first circuit does not need to boost the signal after internal rectification; and the present application only turns on the second switch tube to control the power supply to charge the first circuit, and the first circuit needs to boost the signal after internal rectification.

[0076] Step 12, detect whether the synchronous reset signal sent by the first circuit is received, if yes, execute step 13, otherwise terminate the execution of the interactive control method, that is, stop data interaction between the second circuit and the first circuit; in the process of executing step 12, the second controller keeps the second switch tube and / or the first switch tube turned on, and the second controller may still control the second switch tube and / or the first switch tube to be turned on so that the power supply charges the first circuit, and at the same time the second controller detects whether the synchronous reset signal sent by the first circuit is received; when the voltage across the capacitor reaches the preset voltage, the modulation circuit can perform data modulation, and the first controller starts to send a synchronous reset signal to the second circuit; when the second controller detects that the synchronous reset signal sent by the first circuit is received, step 13 is executed.

[0077] Step 13, the second controller sends a first data packet to the first circuit, and after the sending is completed, step 14 is executed; in step 13, the second controller sends a first data packet to the first circuit based on the synchronous reset signal, wherein the first data packet may be a data packet that needs to be encrypted by the first controller in the first circuit, a voltage and current configuration data packet, etc. The first data packet may be a single-frame data packet, and its bit width is 32 bits.

[0078] Then, after the first circuit receives the first data packet, it is rectified by the rectifier bridge circuit, and the change of the current flowing through the rectifier bridge circuit is fed back to the current limiting resistor, triggering the first controller to demodulate according to the current change in the current limiting resistor, while the energy control module and the capacitor maintain the power of the modulation circuit and the first controller, and the demodulation result is recognized by the first controller; then based on the demodulation result, the first controller sends the first and second data packets to the second circuit, which are the data packets generated by the modulation circuit by controlling the on and off of the internal switch unit, and can include power request information or encrypted data packets. Wherein, under the control of the first controller, the rectifier bridge circuit undergoes current changes during the period when the switch unit is turned on and off alternately, causing the current of the load element to change, so that the modulation circuit is controlled by the first controller to implement the modulation operation.

[0079] Step 14, the second controller receives the first and second data packets sent by the first circuit, and executes step 15 after receiving the first and second data packets; in order to verify the accuracy of the data communication between the second circuit and the first circuit, the first and second data packets are obtained by the first controller controlling the modulation circuit to modulate the demodulation result. The bit width of the first and second data packets is equal to that of the first and first data packets, and the type of the data bits constituting the first and second data packets is the same as that of the first and first data packets.

[0080] Step 15: determine whether the first second data packet is the same as the first first data packet. If yes, execute step 13; otherwise, terminate the interactive control method. In step 15, the method for determining whether the first second data packet is the same as the first first data packet is combined with Figure 2 It can be known that the specific steps include: the second controller MCU2 detects the voltage across the voltage-dividing resistor Rt in real time and calculates the current, obtains the current change across the voltage-dividing resistor Rt, completes the demodulation of the first and second data packets, and obtains the data to be verified. If the first and second data packets include encrypted data in advance, they still need to be decrypted by the key; then the second controller MCU2 performs an XOR operation on the data to be verified and the preset data, and then compares the XOR-operated data with the original data. If the two are consistent, it is determined that the first and second data packets are the same as the first and first data packets, and the communication circuit continues to work, and a new first and first data packet is generated by the second circuit. Then in step 13, the second controller sends a new first and first data packet to the first circuit, so that the first circuit receives the new first and first data packet.

[0081] If the data after the XOR operation is inconsistent with the original data, it means that the data exchanged between the second circuit and the first circuit is abnormal, and the communication circuit stops working. In another embodiment, if the data after the XOR operation is inconsistent with the original data, the first two data packets are demodulated again to re-obtain the data to be verified; after re-judgment two or more times, if they are still not equal, the data exchanged between the second circuit and the first circuit is abnormal, and the communication circuit stops working. Wherein, the original data is the data that the second controller needs to modulate in step 13, and its modulation result is the first one data packet.

[0082] In some embodiments, for the first data packet sent in step 13, the second controller generates a 32-bit random code, combines it with the first preset data, obtains multi-bit original data, and then performs AES encryption with a 32-bit key, and then modulates the modulation circuit to obtain the first data packet. The AES encryption refers to the Advanced Encryption Standard (AES), which is a common symmetric encryption algorithm, that is, the same key is used for encryption and decryption.

[0083] From the above steps 11 to 15, it can be known that the controller (second controller) on the second circuit side is the executor, and the data interaction between the second circuit and the first circuit is dominated by controlling the on and off of the second switch tube, the on and off of the switch unit on the first circuit side, and the synchronous reset signal; and based on the similarities and differences of the data packets interacting between the second circuit and the first circuit, it is checked whether the communication circuit is working normally to control the second circuit to continue to send data packets to the first circuit, maintain the data communication operation between the second circuit and the first circuit, and stop the data communication operation between the second circuit and the first circuit when no synchronous reset signal is received and the data packets interacting between the second circuit and the first circuit are different.

[0084] In the above embodiment, before the first circuit sends the synchronous reset signal to the second circuit in step 12 or before sending the first and second data packets to the second circuit in step 14, the first controller controls the current of the first circuit through the modulation circuit, specifically controls the on and off of the switch unit provided in the modulation circuit (when disconnected, the current in the modulation circuit decreases), so that the current in the modulation circuit continuously changes between a large current and a small current to modulate the data packet to be sent, and then the first controller sends the modulated data packet to the first circuit.

[0085] The synchronous reset signal is frame header data in a single frame data packet, and is used to indicate the start of interactive communication of a frame data packet between the second circuit and the first circuit.

[0086] After the second controller receives the synchronous reset signal sent by the first circuit in step 12 or receives the first and second data packets sent by the first circuit in step 14, the second controller performs demodulation according to the change of the current in the voltage-dividing resistor connected in series with the second switch tube. During the demodulation process, the second controller records the change law of the current in the voltage-dividing resistor, restores the data modulated into the first and second data packets, and extracts each bit of data to achieve the purpose of communication. Then, by comparing the original data required for the first and second data packets sent by the modulation step 13 with the demodulated results of the first and second data packets received in step 14, the data interaction verification of the communication circuit is completed, and the legitimacy of the first controller and the second controller is determined respectively.

[0087] In summary, since the modulation and demodulation operations corresponding to the second circuit sending the first data packet to the first circuit and the second circuit receiving the first data packet sent by the first circuit are inseparable from the conduction and shutdown of the second switch tube, and the conduction and shutdown of the second switch tube and the voltage division effect of the resistor connected in series with the second switch tube will cause the current in the circuit to change, the interactive control method implemented in this application can overcome the problem of chip communication difficulties under high current under low-cost circuit design. For example, during the heating operation of the load element of the first circuit, the working current in the circuit is a large current of 3A. Under such a large current, the energy released by the system is large, and any fluctuation will cause signal interference. If data interaction is performed directly through the data line under high current, the impact is large and it is difficult to implement. Therefore, the second circuit makes the current in the circuit constantly change between high current and low current by turning on and off the second switch tube (assuming that when the second switch tube is turned off, the current in the circuit drops to 100mA). Based on this, the second controller records the change law of the current in the circuit, thereby restoring the data and achieving the purpose of communication.

[0088] The present application also discloses an interactive control method, the execution subject of the interactive control method is a first controller in the communication circuit; Figure 4 As shown, the interactive control method includes:

[0089] After the second controller controls the power supply to charge the first circuit by turning on the second switch tube and / or the first switch tube, the second controller keeps the second switch tube and / or the first switch tube turned on, that is, the second controller can control the power supply to charge the first circuit by turning on the first switch tube and the second switch tube in sequence, or controls the power supply to charge the first circuit by turning on only the second switch tube, or controls the power supply to charge the first circuit by turning on only the first switch tube, or controls the power supply to charge the first circuit by turning on the second switch tube and the first switch tube at the same time, the interactive control method executed includes:

[0090] Step 21, the first controller detects whether the synchronous reset signal sent by the second circuit is received, and if so, executes step 22, otherwise terminates the execution of the interactive control method; in the process of executing step 21, the second controller may still control the second switch tube to be turned on so that the power supply charges the first circuit, and at the same time the first controller detects whether the synchronous reset signal sent by the second circuit is received; when the voltage across the capacitor reaches a preset voltage, the second controller starts to send a synchronous reset signal to the first circuit through the second input terminal; when the first controller detects that it has received the synchronous reset signal sent by the second circuit, it executes step 22.

[0091] Step 22, the first controller sends a second data packet to the second circuit, and after the sending is completed, step 23 is performed; in step 22, the first controller sends a second data packet to the second circuit based on the synchronous reset signal, wherein the second data packet may be a data packet that needs to be encrypted by the first controller in the first circuit, a voltage and current configuration data packet, etc. The second data packet may be a single-frame data packet, and its bit width is 32 bits.

[0092] Step 23, the first controller receives the second data packet sent by the second circuit, and executes step 24 after receiving the second data packet; after receiving the second data packet, the second circuit demodulates according to the current change in the voltage-dividing resistor connected to the first input terminal, and the demodulation result is recognized by the second controller; then based on the demodulation result, the second controller sends the second data packet to the first circuit, and the second data packet may include power request information or an encrypted data packet. The second data packet has the same bit width as the second data packet, and the types of the data bits constituting the second data packet and the second data packet are the same.

[0093] Step 24, determine whether the second data packet is the same as the second data packet, if yes, execute step 22, otherwise terminate the interactive control method. In step 24, the method for determining whether the second data packet is the same as the second data packet is combined with Figure 2 It can be known that it specifically includes: the first controller MCU1 detects the voltage across the current limiting resistor Rs or the voltage at the first input terminal in real time and calculates the current, obtains the current change of the current limiting resistor Rs or the load element, completes the demodulation of the second data packet, and obtains the data to be verified. If the second data packet includes encrypted data in advance, it still needs to be decrypted by the key; then the first controller MCU1 performs an XOR operation on the data to be verified and the preset data, and then compares the data after the XOR operation with the original data. If the two are consistent, it is determined that the second data packet is the same as the second data packet, and the communication circuit continues to work, and a new second data packet is generated by the first circuit. Then in step 22, the first controller sends a new second data packet to the second circuit, so that the second circuit receives the new second data packet.

[0094] If the data after the XOR operation is inconsistent with the original data, it means that the data exchanged between the second circuit and the first circuit is abnormal, and the communication circuit stops working. In another embodiment, if the data after the XOR operation is inconsistent with the original data, the second data packet is demodulated again to obtain the data to be verified; after re-judgment two or more times, if they are still not equal, the data exchanged between the second circuit and the first circuit is abnormal, and the communication circuit stops working. Wherein, the original data is the data that the first controller needs to modulate in step 22, and the modulation result is the second data packet.

[0095] In some embodiments, for the second first data packet sent in step 22, the first controller generates a 32-bit random code, combines it with the first preset data, obtains multi-bit original data, and then performs AES encryption with a 32-bit key, and then modulates the modulation circuit to obtain the second first data packet. The AES encryption refers to the Advanced Encryption Standard (AES), which is a common symmetric encryption algorithm, that is, the same key is used for encryption and decryption.

[0096] From the above steps 21 to 24, it can be known that the controller (first controller) on the first circuit side is used as the executor, and load modulation is performed by controlling the on and off of the switch unit to dominate the data interaction between the first circuit and the second circuit; and based on the similarities and differences of the data packets interacting between the second circuit and the first circuit, it is checked whether the communication circuit is working normally to control the first circuit to continue to send data packets to the second circuit, maintain the data communication operation between the first circuit and the second circuit, and stop the data communication operation between the first circuit and the second circuit when no synchronous reset signal is received and the data packets interacting between the first circuit and the second circuit are different.

[0097] Based on the above embodiment, before the second circuit sends the synchronous reset signal to the first circuit in step 21 or before sending the second data packet to the first circuit in step 23, the second controller modulates the data packet to be sent, that is, the second data packet is automatically modulated by the second controller.

[0098] After the first controller receives the synchronous reset signal sent by the second circuit in step 21 or receives the second data packet sent by the second circuit in step 23, the first controller performs demodulation according to the current change in the rectifier bridge circuit or the load element; during the demodulation process, the first controller records the current change in the rectifier bridge circuit or the load element, restores the data modulated into the second data packet, and extracts each bit of data to achieve the purpose of communication. Then, by comparing the original data required for the second data packet sent by the modulation step 22 with the demodulated result of the second data packet received in step 23, the data interaction verification of the communication circuit is completed, and the legitimacy of the first controller and the second controller is determined respectively.

[0099] In summary, since the modulation and demodulation operations involved in the second circuit sending the second data packet to the first circuit and the second circuit receiving the second data packet sent by the first circuit are inseparable from the conduction and closing of the switch unit, and the conduction and closing of the switch unit and the voltage division of the current limiting resistor will cause the current in the rectifier bridge circuit and the load element to change, the interactive control method implemented in this application can overcome the problem of chip communication difficulties under high current under low-cost circuit design. For example, during the heating operation of the load element of the first circuit, the working current in the circuit is a large current of 3A. Under such a large current, the energy released by the system is large, and any fluctuation will cause signal interference. If data interaction is performed directly through the data line under high current, the impact is large and it is difficult to implement. Therefore, the first circuit turns on and off the switch unit provided in the modulation circuit (when disconnected, the current in the modulation circuit decreases), so that the current in the modulation circuit continuously changes between large current and small current, which plays the role of modulating data; based on this, the first controller can also restore the data by recording the change law of the current in the circuit to achieve the purpose of communication.

[0100] In some embodiments, the second controller or the first controller converts the value of each data bit in the data packet and sequentially identifies it as a combination sequence of a first level of a first preset duration and a second level of a second preset duration, wherein the first level is a low level and the second level is a high level. When the switch unit provided in the modulation circuit is turned on, it outputs a high level, and the time the switch unit is turned on is the duration of the high level; when the switch unit provided in the modulation circuit is turned off, it outputs a low level, and the time the switch unit is turned off is the duration of the low level; then the modulation circuit successively turns off the first preset duration and turns on the second preset duration to obtain a combination sequence of the first level of the first preset duration and the second level of the second preset duration to represent a data bit.

[0101] For data packets of corresponding bytes, the first controller or the second controller sequentially converts the values ​​of multiple data bits into low-level and high-level outputs of corresponding durations. The hardware circuit basis of the conversion is a switch tube or other switch unit to switch between high level and low level. The duration of the high level or the duration of the low level is obtained by counting the counter. Specifically, the counter records the interruption of the first input terminal or the second input terminal to count the number of data bits that have been transmitted. It can be understood that if the count value of the low-level width between two consecutive rising edges of the bit data to be identified received by the first controller or the second controller from the first input terminal and the second input terminal within a predetermined bit period is greater than the count value of the high-level width, then it is determined that the first preset duration is greater than the second preset duration, and the received bit data to be identified is determined to be "1", otherwise, it is determined that the received bit data to be identified is "0".

[0102] Schematically, the signal waveform transmitted by the first input terminal or the second input terminal is as follows: Figure 5 As shown, Figure 5 In the waveform diagram shown, when the first preset time length and the second preset time length are both equal to dT, the first level of the first preset time length and the second level of the second preset time length form equally spaced high and low levels, that is, two consecutive high and low levels of equal duration, representing a data bit value of "0", and dT is preferably 10uS; Figure 5 As shown, after charging is completed, the transmitted synchronous reset signal is composed of 4 consecutive synchronous pulse signals, each of which is composed of a first level of a first preset time and a second level of a second preset time, that is, a synchronous reset signal is represented by 4 data bits with a value of "0". Therefore, the modulation circuit obtains a data bit with a value of "0" by controlling the built-in switch unit to first disconnect the first preset time and then turn on the second preset time, and repeatedly controls the switch unit to first disconnect the first preset time and then turn on the second preset time four times, then the synchronous reset signal is modulated, which is regarded as obtaining 4 data bits with a value of "0" in succession.

[0103] Schematically, the first circuit can represent the synchronous reset signal as a data bit with a value of "0" that lasts for 4 bit periods. After the first circuit sends the synchronous reset signal to the second circuit, the synchronous reset signal serves as a communication start signal for the second circuit, prompting the second circuit to send other data bits to the first circuit.

[0104] Figure 5 In the waveform diagram shown, when the first preset duration is equal to twice the second preset duration, the signal sequence composed of the first level of the first preset duration and the second level of the second preset duration represents a data bit value of "1". Therefore, after sending a long section of continuous high level for representing the charging signal and the aforementioned synchronous reset signal in sequence, the two data bits sent in sequence are "1" and "0". The number and duration of the synchronous pulse signal included in the aforementioned synchronous reset signal, the duration of the continuous high level for representing the charging signal, the first preset duration and the second preset duration are all recorded by a counter. The counter can know the number of received data bits by counting the number of received data bits.

[0105] It should be added that the number of data bits is determined by the number of bytes in the data packet; the data bits include check bits, address bits, and content bits. For example, a 2-byte data group includes 16 data bits, of which 4 are check bits, 4 are address bits, and 8 are content bits. The number of data bits occupied by each part can be set according to the number of bytes and specific needs. Among them, each device has one or more independent receiving addresses or sending addresses, and the sending address can be the same as or different from the receiving address.

[0106] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0107] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A load control circuit, characterized in that: It includes a rectifier bridge circuit, a modulation circuit, an energy control module and a first controller; The rectifier bridge circuit is connected to the modulation circuit; the rectifier bridge circuit is connected to the energy control module; the first controller is connected to the rectifier bridge circuit, the modulation circuit and the energy control module respectively; A rectifier bridge circuit is used to rectify an input signal and output a rectified result; wherein the port for inputting a signal in the rectifier bridge circuit is used to connect in parallel a load element outside the load control circuit; A first controller, used to cause a current change in the rectifier bridge circuit by controlling the modulation circuit, thereby driving a current change in the load element to perform modulation; The energy control module is used to charge the capacitor external to the load control circuit through the rectification result, and to select the capacitor external to the load control circuit to supply power to the modulation circuit; The modulation circuit includes a current limiting resistor and a switch unit; the rectifier bridge circuit is provided with a first rectifier output terminal and a second rectifier output terminal; One end of the switch unit is connected to the first rectifier output end, the other end of the switch unit is connected to one end of the current limiting resistor, the other end of the current limiting resistor is connected to the second rectifier output end, the first rectifier output end and the second rectifier output end are used to output the rectification result, so that the change of the current in the rectifier bridge circuit is fed back to the current limiting resistor; A modulation circuit, used to cause a current change in the rectifier bridge circuit when the switch unit changes from on to off or from off to on, thereby driving a current change in the load element to perform modulation; Wherein, the switching unit is turned on and off by the first controller; The rectifier bridge circuit includes a first upper switch tube, a second upper switch tube, a first lower switch tube and a second lower switch tube; The first transmission end of the first upper switch tube and the first transmission end of the second upper switch tube are commonly connected to the energy control module; The control end of the first upper switch tube is connected to the control end of the first lower switch tube, and the second transmission end of the first upper switch tube is connected to the second transmission end of the first lower switch tube; The control end of the second upper switch tube is connected to the control end of the second lower switch tube, and the second transmission end of the second upper switch tube is connected to the second transmission end of the second lower switch tube; The control end of the first lower switch tube is connected to the second transmission end of the second lower switch tube; The control end of the second lower switch tube is connected to the second transmission end of the first lower switch tube; The first transmission end of the second lower switch tube is connected to the first transmission end of the first lower switch tube; The first transmission end of the first upper switch tube and the first transmission end of the second upper switch tube are commonly connected to the first rectifier output end, and the first transmission end of the second lower switch tube and the first transmission end of the first lower switch tube are commonly connected to the second rectifier output end; The load control circuit is provided with a first input terminal and a second input terminal, the second transmission terminal of the first upper switch tube and the second transmission terminal of the first lower switch tube are connected to the first input terminal, and the second transmission terminal of the second upper switch tube and the second transmission terminal of the second lower switch tube are connected to the second input terminal; The port for inputting a signal in the rectifier bridge circuit includes a first input terminal and a second input terminal, and the first input terminal and the second input terminal are used to connect in parallel a load element outside the load control circuit; The signal inputted from the first input terminal and the signal inputted from the second input terminal are both external input signals, wherein when the rectifier bridge circuit rectifies the external input signal, there is a voltage difference between the signal inputted from the first input terminal and the signal inputted from the second input terminal.

2. The load control circuit according to claim 1, characterized in that: The load control circuit is provided with a power supply terminal and a ground terminal, wherein the capacitor external to the load control circuit is a capacitor connected in parallel to the power supply terminal and the ground terminal so as to store power supply electricity through the capacitor.

3. The load control circuit according to claim 2, characterized in that: The energy control module has a charge pump integrated therein; a signal input end of the charge pump is connected to the first rectifier output end of the rectifier bridge circuit, and a signal output end of the charge pump is connected to the power supply end; A charge pump, used to boost the rectification result and then output the boosted result to the capacitor external to the load control circuit, or to output the rectification result to the capacitor external to the load control circuit without adjusting the rectification result, so as to charge the capacitor external to the load control circuit; The charge pump is further used to select a circuit path between the capacitor external to the load control circuit and the modulation circuit, so that when the capacitor external to the load control circuit is charged to a preset voltage, the preset voltage is maintained to supply power to the modulation circuit; Among them, the signal input end of the charge pump is the signal input end of the energy control module; the signal output end of the charge pump is the signal output end of the energy control module.

4. The load control circuit according to claim 2, characterized in that: The energy control module has an internal integrated switch network; The signal input end of the switch network is connected to the first rectifier output end of the rectifier bridge circuit, and the signal output end of the switch network is connected to the power supply end to select the circuit path between the modulation circuit, the rectifier bridge circuit and the capacitor externally connected to the load control circuit; A switch network, used for switching between powering on and powering off the capacitor external to the load control circuit, driving the current changes in the modulation circuit and the rectifier bridge circuit, so that the rectification result is used to charge the capacitor external to the load control circuit, and when the capacitor is charged to a preset voltage, the modulation circuit is powered; Among them, the signal input end of the switch network is the signal input end of the energy control module; the signal output end of the switch network is the signal output end of the energy control module.

5. A chip, characterized in that: The load control circuit according to any one of claims 1 to 4 is arranged inside the chip.

6. A communication circuit, characterized in that comprising a first circuit and a second circuit; The first circuit comprises the chip described in claim 5 or the load control circuit described in any one of claims 1 to 4; the second circuit comprises a second controller, a power supply, a first switch tube and a second switch tube; the first circuit also comprises a load element and a capacitor; in the load control circuit, the rectifier bridge circuit is provided with a first input terminal, a second input terminal, a first rectifier output terminal and a second rectifier output terminal, the energy control module is provided with a signal input terminal and a signal output terminal, the signal input terminal of the energy control module is connected to the first rectifier output terminal of the rectifier bridge circuit, and the capacitor is connected in parallel to the signal output terminal of the energy control module and the second rectifier output terminal of the rectifier bridge circuit; the two ends of the load element are connected in parallel to the first input terminal and the second input terminal; The power supply is connected to the first input terminal through the first switch tube and the second switch tube respectively; the second controller is connected to the second input terminal to provide a data path for the second controller to communicate with the first circuit; A second controller is used for controlling the power supply to charge the first circuit by turning on the first switch tube and / or the second switch tube before communicating with the first circuit; The second controller is used to detect whether a synchronous reset signal sent by the first circuit is received when the power supply is charging the first circuit, and then when the synchronous reset signal sent by the first circuit is detected, keep the second switch tube turned on and start communicating with the first circuit; wherein, when the second controller communicates with the first circuit, the capacitor keeps supplying power to the load control circuit.

7. The communication circuit according to claim 6, characterized in that: The second circuit also includes a voltage dividing resistor; The power supply is connected to the first transmission end of the first switch tube, and the second transmission end of the first switch tube is connected to the first input end, so as to drive the power supply to charge the capacitor of the first circuit when the first switch tube is turned on; The power supply is connected to the first transmission end of the second switch tube, the second transmission end of the second switch tube is connected to one end of the voltage divider resistor, and the other end of the voltage divider resistor is connected to the first input end, so as to reduce the power supply provided by the power supply to the load element of the first circuit when the second switch tube is turned on.

8. The communication circuit according to claim 7, characterized in that: The method of controlling the power supply to charge the first circuit by turning on the first switch tube and / or the second switch tube includes: Controlling the power supply to charge the first circuit by successively turning on the first switch tube and the second switch tube, or controlling the power supply to charge the first circuit by only turning on the second switch tube, or controlling the power supply to charge the first circuit by only turning on the first switch tube; Wherein, the voltage across the two ends of the capacitor of the first circuit when the first switch tube is turned on is higher than the voltage across the two ends of the capacitor when the second switch tube is turned on.

9. The communication circuit according to claim 8, characterized in that: The method of the second controller, for controlling the power supply to charge the first circuit by successively turning on the first switch tube and the second switch tube, includes: The second controller is used to control the first switch tube to be turned on for a preset time, then turn off the first switch tube, and turn on the second switch tube at the same time, until the voltage across the capacitor reaches a preset voltage, and then determine that the charging of the first circuit is completed.

10. The communication circuit according to claim 8, characterized in that: The method of the second controller for controlling the power supply to charge the first circuit by only turning on the second switch tube includes: The second controller is used to control the first switch tube to remain turned off, and turn on the second switch tube so that the power supply charges the capacitor of the first circuit until the voltage across the capacitor reaches a preset voltage, and then determines that the charging of the first circuit is completed; wherein, the voltage input from the first input terminal is rectified by the rectifier bridge circuit and then handed over to the energy control module for adjustment, so that the voltage output by the energy control module to the power supply terminal is higher than the voltage input by the first input terminal, and the voltage output by the energy control module to the power supply terminal drives the modulation circuit to perform modulation.

11. The communication circuit according to claim 8, characterized in that: The method of the second controller for controlling the power supply to charge the first circuit by only turning on the first switch tube includes: The second controller is used to control the second switch tube to remain turned off, and turn on the first switch tube so that the power supply charges the capacitor of the first circuit until the voltage across the capacitor reaches a preset voltage, and then it is determined that the charging of the first circuit is completed; wherein, after the signal input from the first input end is rectified by the rectifier bridge circuit, the circuit path between the modulation circuit, the rectifier bridge circuit and the capacitor is selected by the energy control module, so that the signal input from the first input end is directly output to the power supply end after being rectified by the rectifier bridge circuit.

12. An interactive control method, characterized in that: The execution subject of the interactive control method is the second controller in the communication circuit according to any one of claims 6 to 11; The interactive control method comprises: Step 11, the second controller controls the power supply to charge the first circuit by turning on the first switch tube and / or the second switch tube; then executing step 12; Step 12, detecting whether a synchronous reset signal sent by the first circuit is received, if yes, executing step 13, otherwise, terminating the execution of the interactive control method; Step 13, the second controller sends a first data packet to the first circuit, and after the sending is completed, execute step 14; Step 14, the second controller receives the first and second data packets sent by the first circuit, and executes step 15 after receiving the first and second data packets; Step 15, determine whether the first second data packet is the same as the first first data packet, if yes, execute step 13, otherwise terminate the execution of the interactive control method.

13. The interactive control method according to claim 12, characterized in that: Before the first circuit sends the synchronous reset signal to the second circuit in step 12 or before sending the first or second data packets to the second circuit in step 14, the first controller controls the current in the load element through a modulation circuit to modulate the data packet to be sent; After the second controller receives the synchronous reset signal sent by the first circuit in step 12 or receives the first and second data packets sent by the first circuit in step 14, the second controller performs demodulation according to the current change in the voltage divider resistor connected in series with the second switch tube.

14. An interactive control method, characterized in that: The execution subject of the interactive control method is the first controller in the communication circuit according to any one of claims 6 to 11; After the second controller controls the power supply to charge the first circuit by turning on the second switch tube and / or the first switch tube, the interactive control method includes: Step 21, the first controller detects whether it has received the synchronous reset signal sent by the second circuit, if yes, executes step 22, otherwise, the interactive control method ends; Step 22, the first controller sends a second data packet to the second circuit, and after the sending is completed, execute step 23; Step 23, the first controller receives the second data packet sent by the second circuit, and executes step 24 after receiving the second data packet; Step 24, determine whether the second data packet is the same as the second data packet, if so, execute step 22, otherwise terminate the execution of the interactive control method.

15. The interactive control method according to claim 14, characterized in that: Before the second circuit sends the synchronous reset signal to the first circuit in step 21 or before sending the second data packet to the first circuit in step 23, the second controller modulates the data packet to be sent; After the first controller receives the synchronous reset signal sent by the second circuit in step 21 or receives the second data packet sent by the second circuit in step 23, the first controller performs demodulation according to the current change in the rectifier bridge circuit or the load element.

Citation Information

Patent Citations

  • Communication circuit of electronic atomization terminal

    CN218499019U

  • Switching power supply and electronic equipment

    CN105932645A

  • Passive radio frequency identification tag chip with high energy efficiency and low power consumption

    CN116757240A