Power supply device and load device with leakage current compensation
By introducing leakage current compensation circuits into power supply equipment and load equipment, the current inaccuracy caused by capacitors, resistors and other components on the line is solved, and the precise control of current and improvement of equipment performance is achieved.
Patent Information
- Application Number
- CN202422630234.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2034-10-29
AI Technical Summary
The prior art cannot effectively reduce the leakage current formed by capacitors, resistors and other components on the line between power supply equipment and load equipment, resulting in inaccurate current output, affecting the accuracy of high-precision measurement scenarios and equipment performance.
The leakage current compensation circuit is introduced in the power supply equipment and load equipment, including the current acquisition module, the voltage acquisition module, the current compensation module and the current processing module. By collecting the initial current and voltage signals for compensation, an accurate current control signal is generated to control the current magnitude.
Accurate compensation and control of the output current of the power supply equipment and the input current of the load equipment, improve measurement accuracy and equipment performance, and reduce safety hazards.
Smart Images

Figure CN223260106U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of leakage current compensation, in particular to a power supply device and a load device with leakage current compensation. Background Art
[0002] Leakage current refers to the tiny amount of current generated between the output of a power supply and the input of a load device due to incomplete insulation or other capacitance or resistance issues. This current is typically much smaller than the normal operating current of the power supply, but its presence can affect the performance, safety, and lifespan of both the power supply and the load. This is particularly true in high-precision measurement scenarios where precise power supply output current or load input current is required. The presence of leakage current can directly impact measurement accuracy.
[0003] Currently, common measures to reduce leakage current include selecting high-quality insulating materials, regularly inspecting and maintaining insulating materials, rationally laying out the lines between power devices and load devices, and using leakage current protection devices (Guard circuits). However, existing technologies mainly target the leakage current generated by the insulating materials of components such as connecting wires, plugs, and sockets between power devices and load devices, and are unable to reduce or eliminate the equivalent load composed of components such as capacitors and resistors on the lines. As a result, the current output by the power device is higher than the preset current, and the current input by the load device is lower than the preset current value. Utility Model Content
[0004] The utility model provides a power supply device and a load device with leakage current compensation, which can solve the technical problems caused by the existence of leakage current, such as the output current of the power supply device being lower than the preset current, or the input current of the load device being higher than the preset current value, and the inaccurate current acquisition readback signal.
[0005] In a first aspect, an embodiment of the present application provides a power supply device with leakage current compensation, comprising a power supply circuit and a leakage current compensation circuit;
[0006] The power supply circuit includes a control module, a power generation module, and an output port; wherein the control module is configured to output at least a preset current value; the power generation module generates an output signal based on at least the preset current value; the output port has a first sub-port and a second sub-port, the first sub-port and the second sub-port being connected to an external load via a first trace and a second trace, respectively;
[0007] The leakage current compensation circuit includes a current acquisition module, a voltage acquisition module, a current compensation module, and a current acquisition processing module; wherein the first input end of the current acquisition module is connected to the first sub-port, and the second input end of the current acquisition module is connected to the second sub-port, for acquiring the initial current signal output by the output port; the first input end of the voltage acquisition module is connected to the first wiring, and the second input end of the voltage acquisition module is connected to the second wiring, for acquiring the initial voltage signal output by the output port;
[0008] The first input end of the current compensation module is connected to the output end of the current acquisition module, and the second input end of the current compensation module is connected to the output end of the voltage acquisition module; the current compensation module is used to compensate the initial current value according to the initial current signal and the initial voltage signal, and generate and output a compensated current acquisition signal;
[0009] The first input end of the current sampling processing module is connected to an output end of the control module, the second input end of the current sampling processing module is connected to the output end of the current compensation module, and the first output end of the current sampling processing module is connected to an input end of the power generation module; the current sampling processing module obtains the preset current value from the control module and the compensated current sampling signal from the current compensation module, and generates a current control signal for controlling the current size of the output signal of the power generation module according to the preset current value and the compensated current sampling signal.
[0010] In some embodiments, it is characterized in that the second output end of the current sampling processing module is connected to an input end of the control module, and is used to output a current sampling readback signal to the control module; the current sampling readback signal is the basis for the control module to adjust the preset current value.
[0011] In some embodiments, the output end of the current acquisition module includes a first sub-output end and a second sub-output end;
[0012] When the initial current signal is a differential signal, the initial current signal is output through the first sub-output terminal and the second sub-output terminal;
[0013] When the initial current is a single-ended signal, the initial current signal is output through one of the first sub-output terminal and the second sub-output terminal, and the other of the first sub-output terminal and the second sub-output terminal is connected to a reference voltage terminal.
[0014] In some embodiments, the first input terminal of the current compensation module includes a first sub-input terminal and a second sub-input terminal, which are respectively connected to the first sub-output terminal and the second sub-output terminal of the output terminal of the current acquisition module;
[0015] The current compensation module includes a first resistor, a second resistor, a third resistor, a fourth resistor, a compensation unit, and an operational amplifier; wherein the first end of the first resistor is connected to a preset voltage end; the first end of the second resistor is connected to the first sub-input end; the first end of the third resistor is connected to the second sub-input end; the non-inverting input end of the operational amplifier is connected to both the second end of the first resistor and the second end of the second resistor, the inverting input end of the operational amplifier is connected to the second end of the third resistor, and the output end of the operational amplifier is connected to the output end of the current compensation module; the first end of the fourth resistor is connected to the second end of the third resistor, and the second end of the fourth resistor is connected to the output end of the operational amplifier;
[0016] When the voltage acquisition module outputs a positive voltage, the first input terminal of the compensation unit is connected to the second input terminal of the current compensation module, the second input terminal of the compensation unit is connected to the preset voltage terminal, and the output terminal of the compensation unit is connected to the inverting input terminal of the operational amplifier;
[0017] When the voltage acquisition module outputs a negative voltage, the first input end of the compensation unit is connected to the second input end of the current compensation module, the second input end of the compensation unit is connected to the preset voltage end, and the output end of the compensation unit is connected to the non-inverting input end of the operational amplifier.
[0018] In some embodiments, the compensation unit includes a first compensation resistor, a second compensation resistor, and a third compensation resistor;
[0019] The first end of the second compensation resistor is connected to the first input end of the compensation unit; the first end of the third compensation resistor is connected to the second input end of the compensation unit, the first end of the first compensation resistor is connected to the second end of the second compensation resistor and the second end of the third compensation resistor, and the second end of the first compensation resistor is connected to the output end of the compensation unit.
[0020] In some embodiments, the resistance value R1 of the first resistor, the resistance value R2 of the second resistor, the resistance value R3 of the third resistor, and the resistance value R4 of the fourth resistor satisfy: R1=R4=R2*K1=R3*K1; wherein K1 is the amplification factor of the operational amplifier;
[0021] The equivalent resistance value Rab of the compensation unit is: Rab=Ra+Rb+Ra*Rb / Rc; wherein Ra, Rb and Rc are the resistance values of the first compensation resistor, the second compensation resistor and the third compensation resistor, respectively; and the first compensation resistor is on the order of megohms; the second compensation resistor is on the order of kiloohms; and the third compensation resistor is on the order of ohms.
[0022] In a second aspect, an embodiment of the present application provides a load device with leakage current compensation, comprising a load circuit and a leakage current compensation circuit;
[0023] The load circuit includes an input port, a control module, and a load module; wherein the input port has a first sub-port and a second sub-port, and the first sub-port and the second sub-port are connected to an external power supply through a first trace and a second trace, respectively; the control module is configured to output at least a preset current value; and the load module converts a voltage inputted from the external power supply into an input signal based on at least the preset current value;
[0024] The leakage current compensation circuit includes a current acquisition module, a voltage acquisition module, a current compensation module, and a current acquisition processing module; wherein the first input end of the current acquisition module is connected to the first sub-port, and the second input end of the current acquisition module is connected to the second sub-port, for acquiring the initial current signal output by the input port; the first input end of the voltage acquisition module is connected to the first wiring, and the second input end of the voltage acquisition module is connected to the second wiring, for acquiring the initial voltage signal output by the input port;
[0025] The first input end of the current compensation module is connected to the output end of the current acquisition module, and the second input end of the current compensation module is connected to the output end of the voltage acquisition module; the current compensation module is used to compensate the initial current value according to the initial current signal and the initial voltage signal, and generate and output a compensated current acquisition signal;
[0026] The first input end of the current sampling processing module is connected to an output end of the control module, the second input end of the current sampling processing module is connected to the output end of the current compensation module, and the first output end of the current sampling processing module is connected to an input end of the load module; the current sampling processing module obtains the preset current value from the control module and the compensated current sampling signal from the current compensation module, and generates a current control signal for controlling the current size of the load module input signal according to the preset current value and the compensated current sampling signal.
[0027] In some embodiments, the second output terminal of the current sampling processing module is connected to an input terminal of the control module for outputting a current sampling readback signal to the control module; the current sampling readback signal is the basis for the control module to adjust the preset current value.
[0028] In some embodiments, the output end of the current acquisition module includes a first sub-output end and a second sub-output end;
[0029] When the initial current signal is a differential signal, the initial current signal is output through the first sub-output terminal and the second sub-output terminal;
[0030] When the initial current is a single-ended signal, the initial current signal is output through one of the first sub-output terminal and the second sub-output terminal, and the other of the first sub-output terminal and the second sub-output terminal is connected to a reference voltage terminal.
[0031] In some embodiments, the first input terminal of the current compensation module includes a first sub-input terminal and a second sub-input terminal, which are respectively connected to the first sub-output terminal and the second sub-output terminal of the output terminal of the current acquisition module;
[0032] The current compensation module includes a first resistor, a second resistor, a third resistor, a fourth resistor, a compensation unit, and an operational amplifier; wherein the first end of the first resistor is connected to a preset voltage end; the first end of the second resistor is connected to the first sub-input end; the first end of the third resistor is connected to the second sub-input end; the non-inverting input end of the operational amplifier is connected to both the second end of the first resistor and the second end of the second resistor, the inverting input end of the operational amplifier is connected to the second end of the third resistor, and the output end of the operational amplifier is connected to the output end of the current compensation module; the first end of the fourth resistor is connected to the second end of the third resistor, and the second end of the fourth resistor is connected to the output end of the operational amplifier;
[0033] When the voltage acquisition module outputs a positive voltage, the first input terminal of the compensation unit is connected to the second input terminal of the current compensation module, the second input terminal of the compensation unit is connected to the preset voltage terminal, and the output terminal of the compensation unit is connected to the non-inverting input terminal of the operational amplifier;
[0034] When the voltage acquisition module outputs a negative voltage, the first input end of the compensation unit is connected to the second input end of the current compensation module, the second input end of the compensation unit is connected to the preset voltage end, and the output end of the compensation unit is connected to the non-inverting input end of the operational amplifier.
[0035] In some embodiments, the compensation unit includes a first compensation resistor, a second compensation resistor, and a third compensation resistor;
[0036] The first end of the second compensation resistor is connected to the first input end of the compensation unit; the first end of the third compensation resistor is connected to the second input end of the compensation unit, the first end of the first compensation resistor is connected to the second end of the second compensation resistor and the second end of the third compensation resistor, and the second end of the first compensation resistor is connected to the output end of the compensation unit.
[0037] In some embodiments, the resistance value R1 of the first resistor, the resistance value R2 of the second resistor, the resistance value R3 of the third resistor, and the resistance value R4 of the fourth resistor satisfy: R1=R4=R2*K1=R3*K1; wherein K1 is the amplification factor of the operational amplifier;
[0038] The equivalent resistance value Rab of the compensation unit is: Rab=Ra+Rb+Ra*Rb / Rc; wherein Ra, Rb and Rc are the resistance values of the first compensation resistor, the second compensation resistor and the third compensation resistor, respectively; and the first compensation resistor is on the order of megohms; the second compensation resistor is on the order of kiloohms; and the third compensation resistor is on the order of ohms.
[0039] The embodiments of the present application provide a power supply device and a load device with leakage current compensation, and a leakage current compensation circuit provided at the output port of the power supply device or the input port of the load device; the leakage current compensation circuit includes a current acquisition module, a voltage acquisition module, a current compensation module, and a current sampling processing module, wherein the current acquisition module and the voltage acquisition module are respectively used to acquire the initial current signal and the initial voltage signal of the output port of the power supply device or the input port of the load device, the current compensation module is used to receive and compensate the initial current value according to the initial current signal and the initial voltage signal, and generate a compensated current sampling signal, and finally the current sampling processing module generates a current control signal for controlling the current size of the output signal of the power supply device or the input signal of the load device according to the preset current value of the power supply device or the load device and the compensated current sampling signal, so as to achieve accurate compensation, acquisition, and control of the current value of the output port of the power supply device or the input port of the load device. Compared with the prior art, the leakage current compensation circuit of the embodiment of the present application has a simple structure, obvious advantages in cost, selection, and adjustability, and is more universal. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0041] Figure 1 A schematic structural diagram of a power supply device with leakage current compensation provided by an embodiment of the present application;
[0042] Figure 2 A circuit diagram of a current compensation module in a power supply device provided in one embodiment of the present application; wherein, Figure 2 (a) and Figure 2 (b) Circuit diagrams for the two cases respectively;
[0043] Figure 3 A schematic structural diagram of a power supply device with leakage current compensation provided in another embodiment of the present application;
[0044] Figure 4 This is an equivalent circuit diagram of a current compensation module in a power supply device provided in one embodiment of the present application; wherein, Figure 4 (a) and Figure 4 (b) respectively correspond to Figure 2 (a) and Figure 2 (b) The two circuit diagrams shown;
[0045] Figure 5 A schematic structural diagram of a load device with leakage current compensation provided by an embodiment of the present application;
[0046] Figure 6 This is a circuit diagram of a current compensation module in a load device provided by an embodiment of the present application; wherein, Figure 6 (a) and Figure 6 (b) Circuit diagrams for the two cases respectively;
[0047] Figure 7 A schematic structural diagram of a load device with leakage current compensation provided by another embodiment of the present application;
[0048] Figure 8 This is an equivalent circuit diagram of a current compensation module in a load device provided by an embodiment of the present application; wherein, Figure 8 (a) and Figure 8 (b) respectively correspond to Figure 6 (a) and Figure 6 (b) Two circuit diagrams shown.
[0049] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0050] The present invention is further described in detail below by means of specific embodiments in conjunction with the accompanying drawings. Similar elements in different embodiments are numbered with associated similar elements. In the following embodiments, many detailed descriptions are provided to enable the present application to be better understood. However, those skilled in the art will readily appreciate that some of the features may be omitted under different circumstances, or may be replaced by other elements, materials, or methods. In some cases, some operations related to the present application are not shown or described in the specification. This is to avoid the core portion of the present application being overwhelmed by excessive descriptions. For those skilled in the art, it is not necessary to describe these related operations in detail. They can fully understand the related operations based on the description in the specification and the general technical knowledge in the art.
[0051] In addition, the features, operations, or characteristics described in the specification may be combined in any appropriate manner to form various embodiments. Furthermore, the steps or actions in the method description may be reordered or adjusted in a manner readily apparent to those skilled in the art. Therefore, the various sequences in the specification and drawings are provided solely for the purpose of clearly describing a particular embodiment and are not intended to be mandatory, unless otherwise specified.
[0052] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally a class, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated before and after are in an "or" relationship. The "connection" and "connection" mentioned in this application, unless otherwise specified, include direct and indirect connections (connections).
[0053] Leakage current refers to the tiny current generated between the output of a power supply device and the input of a load device due to incomplete insulation of the insulation material or other capacitance or resistance factors. In some scenarios, leakage current can consume some electrical energy, reducing device efficiency, preventing the device from fully realizing its designed performance or even malfunctioning. In some scenarios, prolonged leakage current can cause overheating and aging of internal device components, accelerating wear and shortening its service life, thereby reducing its reliability and durability. In other more serious cases, when leakage current is excessive or persists for an extended period, it can cause electric shock, posing a serious threat to the human body. It can also ignite flammable materials within the device, causing fires and other safety incidents. However, the most direct impact of leakage current is power quality, distorting the voltage and current waveforms in the grid, thus affecting the normal operation of power equipment.
[0054] For power supplies that ensure precise output current and load devices that require precise input current, ensuring current requires ensuring the accuracy of the current sampling signal. The current output from the power supply's output terminal passes through the current sampling module and then through the positive and negative output traces to the load device. However, the insulation material (PCB) and equivalent capacitance of these positive and negative output traces create a significant equivalent resistance, which generates leakage current that is positively correlated with the output voltage. The actual output current of the power supply is the measured current obtained by the current sampling module minus the leakage current. Similarly, the actual input current of the load device's input terminal is the measured current obtained by the current sampling module plus the leakage current.
[0055] The embodiments of the present application intend to provide a power supply device and a load device with leakage current compensation, which can solve the technical problem that the output current of the power supply device is higher than the preset current, or the input current of the load device is lower than the preset current value due to the presence of leakage current.
[0056] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0057] Example 1
[0058] Figure 1 This is a schematic diagram of the structure of a power supply device with leakage current compensation provided by an embodiment of the present application. Figure 1 As shown, the power supply device 100 with leakage current compensation provided in this embodiment includes a power supply circuit 110 and a leakage current compensation circuit 120. The power supply circuit 110 is primarily used to convert input electrical energy into electrical energy suitable for use by the device. The leakage current compensation circuit 120 is primarily used to compensate for leakage current caused by circuits or capacitors using compensation resistors, thereby ensuring that the power supply device has a highly accurate output current.
[0059] In this embodiment, the power supply circuit 110 includes a control module 1101, a power generation module 1102, and an output port 1103. The control module 1101 is the "brain" of the power supply circuit 110, responsible for monitoring and managing the operation of the entire power supply system. It is primarily used to automatically adjust the power supply voltage and current output as needed to ensure stable operation of the device and system. In this embodiment, the control module 1101 is at least responsible for generating and outputting a preset current value. The power generation module 1102 is the "power source" of the power supply circuit 110, responsible for converting input electrical energy into the required voltage and current to meet the power requirements of different electronic devices. In this embodiment, the power generation module 1102 is at least responsible for generating an output signal corresponding to the preset current value. In some embodiments, the power generation module 1102 includes components such as a rectifier circuit, a filter circuit, and a voltage stabilizer to ensure that the output voltage remains stable within a set range. The output port 1103 is the "interface" between the power supply circuit 110 and external devices, responsible for transmitting the converted electrical energy to the external device. In this embodiment, the output port 1103 of the power supply device 100 has a first sub-port and a second sub-port, and the first sub-port and the second sub-port are connected to the external load through a first line and a second line, respectively. It can be understood that the first sub-port and the second sub-port are respectively the positive output end and the negative output end of the power supply device 100, and the first line and the second line are respectively the insulated positive end line and the negative end line connected to the external load.
[0060] In this embodiment, the leakage current compensation circuit 120 includes a current acquisition module 1201, a voltage acquisition module 1202, a current compensation module 1203, and a current acquisition processing module 1204. The current acquisition module 1201 is a device that converts a current signal into a voltage signal and is mainly composed of a current acquisition resistor, a signal conditioning circuit, and an output circuit. When current flows through the current acquisition resistor, a voltage signal is generated. The signal conditioning circuit converts this voltage signal into a standard voltage signal, amplifies it, and finally outputs it. The main function of the current acquisition module 1201 is to measure current in real time and transmit the measurement results to other modules or circuits via signals. In this embodiment, the current acquisition module 1201 is provided at the output port 1103 of the power supply circuit 110 and is used to collect the initial current signal output by the output port 1103 of the power supply circuit 110. The current acquisition module 1201 has a first input terminal, a second input terminal, and an output terminal, wherein the first input terminal and the second input terminal are respectively connected to the first sub-port and the second sub-port of the output port 1103 of the power supply circuit 110.
[0061] The current acquisition module 1201 can be categorized according to various standards, including analog and digital current acquisition modules based on signal processing methods, low-speed and high-speed sampling modules based on sampling frequency, high-precision and standard-precision modules based on accuracy, and single-channel and multi-channel modules based on the number of channels. The type and structure of the current acquisition module 1201 are not specifically limited in this embodiment.
[0062] The voltage acquisition module 1202 is an electronic device for collecting voltage signals. It can convert the voltage signals into readable digital or analog signals for further processing, monitoring, or analysis. The sampling circuit inside the module samples the input voltage and converts it into a digital signal through an AD converter. The converted digital signal can be transmitted to other modules or circuits via various communication methods (such as SPI, I2C, etc.). In this embodiment, the voltage acquisition module 1202 is arranged on the line connecting the output port 1103 of the power supply circuit 110 and the external load, and is used to collect the initial voltage signal output by the output port 1103 of the power supply circuit 110. The voltage acquisition module 1202 has a first input terminal and a second input terminal, which are respectively connected to the first line and the second line connected to the output port 1103 of the power supply circuit 110. It should be noted that in this embodiment, the type and structure of the voltage acquisition module 1202 are not specifically limited.
[0063] The purpose of current compensation module 1203 is to monitor and compensate for leakage current in the DC system to ensure stable operation of the system. In this embodiment, current compensation module 1203 includes a first input terminal and a second input terminal. The first input terminal is connected to the output terminal of current acquisition module 1201 and is used to obtain the initial current signal output by current acquisition module 1201; the second input terminal is connected to the output terminal of voltage acquisition module 1202 and is used to obtain the initial voltage signal output by voltage acquisition module 1202. Current compensation module 1203 is used to compensate the initial current value based on the initial current signal and the initial voltage signal, and generate and output a compensated current acquisition signal.
[0064] The current sampling processing module 1204 has high-precision input measurement capabilities. In this embodiment, the current sampling processing module 1204 includes a first input terminal, a second input terminal, and an output terminal. The first input terminal is connected to an output terminal of the control module 1101 of the power supply circuit 110, and is used to obtain the preset current value transmitted by the control module 1101. The second input terminal of the current sampling processing module 1204 is connected to the output terminal of the current compensation module 1203, and is used to obtain the compensated current sampling signal output by the current compensation module 1203. The output terminal of the current sampling processing module 1204 is connected to an input terminal of the power generation module 1102. The current sampling processing module 1204 is used to generate a current control signal for controlling the current magnitude of the output signal of the power generation module 1102 based on the obtained preset current value and the compensated current sampling signal, and output the signal through its output terminal, thereby achieving precise control of the output current of the power supply device 100.
[0065] Specifically, after obtaining the preset current value and the compensated current signal, the current sampling processing module 1204 compares the two signals to determine whether the current deviates from the preset value. If the measured current value is less than the preset value, the current sampling processing module 1204 increases the output current; conversely, if the measured current value is greater than the preset value, the output current is reduced. Based on the comparison result, the current sampling processing module 1204 adopts a corresponding control strategy to adjust the output current. Common control strategies include analog level control, PID control (proportional-integral-differential control), and PWM control (pulse width modulation control). After determining the control strategy, the current sampling processing module 1204 sends a current control signal to an input terminal of the power supply generation module 1102 to adjust the output current. The power supply generation module 1102 adjusts its operating state based on the current control signal, thereby changing the output current. To maintain system stability and accuracy, the current sampling processing module 1204 also needs to continuously receive the compensated current signal, i.e., the compensated measured current value obtained in real time, and compare it with the preset current value. If there is an error in the system, the current sampling processing module 1204 will continue to adjust the output current until the error is eliminated or reduced to an acceptable range.
[0066] It should be noted that the initial current signal output by the current acquisition module 1201 is more commonly a differential signal. The differential signal is transmitted through a pair of tightly coupled differential transmission lines. The signal amplitudes on the two pins are equal but the polarities are opposite. Information is transmitted by comparing the difference between the two signals. Some current acquisition modules also output single-ended signals as initial current signals. Single-ended signals are transmitted through one pin and require a reference voltage (usually a ground wire) to form a potential difference. The change in the voltage or current of the signal source relative to the ground (or reference voltage) represents the signal information.
[0067] In some embodiments, the output terminal of the current acquisition module 1201 includes a first sub-output terminal and a second sub-output terminal. When the initial current signal is a differential signal, the initial current signal is output through the first sub-output terminal and the second sub-output terminal. When the initial current signal is a single-ended signal, the initial current signal is output through one of the first sub-output terminal and the second sub-output terminal, and the other of the first sub-output terminal and the second sub-output terminal is connected to a reference voltage terminal.
[0068] Figure 2 This is a circuit diagram of a current compensation module in a power supply device provided by an embodiment of the present application. Figure 2 (a) and Figure 2 As shown in (b), in this embodiment, the first input end of the current compensation module 1203 includes a first sub-input end and a second sub-input end, which are respectively connected to the first sub-output end and the second sub-output end of the output end of the current acquisition module 1201, and are used to obtain the initial current signal output by the current acquisition module 1201. There is no special limitation on the output method of the initial current signal.
[0069] In this embodiment, the current compensation module 1203 includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a compensation unit Rab, and an operational amplifier U1. Specifically, the first end of the first resistor R1 is connected to a preset voltage terminal, which may be a reference ground; the first end of the second resistor R2 is connected to the first sub-input terminal; the first end of the third resistor R3 is connected to the second sub-input terminal; the non-inverting input terminal of the operational amplifier U1 is connected to both the second end of the first resistor R1 and the second end of the second resistor R2; the inverting input terminal of the operational amplifier U1 is connected to the second end of the third resistor R3; the output terminal of the operational amplifier U1 is connected to the output terminal of the current compensation module 1203 for outputting a compensated current signal; the first end of the fourth resistor R4 is connected to the second end of the third resistor R3, and the second end of the fourth resistor R4 is connected to the output terminal of the operational amplifier U1.
[0070] like Figure 2 As shown in (a), when the voltage acquisition module 1202 outputs a positive voltage value, the first input terminal of the compensation unit is connected to the second input terminal of the current compensation module 1203, that is, connected to the output terminal of the voltage acquisition module 1202, the second input terminal of the compensation unit is connected to the preset voltage terminal, and the output terminal of the compensation unit is connected to the inverting input terminal of the operational amplifier U1.
[0071] like Figure 2As shown in (b), when the voltage acquisition module 1202 outputs a negative voltage value, the first input terminal of the compensation unit is connected to the second input terminal of the current compensation module 1203, that is, connected to the output terminal of the voltage acquisition module 1202, the second input terminal of the compensation unit is connected to the preset voltage terminal, and the output terminal of the compensation unit is connected to the non-inverting input terminal of the operational amplifier U1.
[0072] In some embodiments, the compensation unit includes a first compensation resistor Ra, a second compensation resistor Rb, and a third compensation resistor Rc. Specifically, the first end of the second compensation resistor Rb is connected to the first input end of the compensation unit, that is, connected to the output end of the voltage acquisition module 1202, for acquiring the acquired initial voltage signal, and the second end of the second compensation resistor Rb is connected to the first end of the first compensation resistor Ra; the first end of the third compensation resistor Rc is connected to the second input end of the compensation unit, that is, connected to the preset voltage end (reference ground), and the second end of the third compensation resistor Rc is connected to the first end of the first compensation resistor Ra; the second end of the first compensation resistor Ra is connected to the output end of the compensation unit, that is, connected to the inverting input end of the operational amplifier U1.
[0073] Figure 3 This is a schematic diagram of the structure of a power supply device with leakage current compensation provided by another embodiment of the present application. Figure 3 As shown, the power supply device 100 with leakage current compensation provided in this embodiment includes a power supply circuit 110 and a leakage current compensation circuit 120. The power supply circuit 110 includes a control module 1101, a power generation module 1102, and an output port 1103. The leakage current compensation circuit 120 includes a current acquisition module 1201, a voltage acquisition module 1202, a current compensation module 1203, and a current acquisition processing module 1204. Each module has the same structure and technical effects as any of the above-mentioned embodiments and will not be further described here.
[0074] In this embodiment, the second output terminal of the current sampling processing module 1203 is connected to an input terminal of the control module 1101 for outputting a current sampling readback signal to the control module 1101; the current sampling readback signal is the basis for the control module 1101 to adjust the preset current value.
[0075] In some embodiments, the control module 1101 stores the acquired accurate current sampling readback signal and outputs a fixed preset current value based on user settings.
[0076] In some embodiments, the control module 1101 stores the acquired accurate current sampling readback signal, outputs a preset current value based on user settings and the current sampling readback signal, and adjusts the output preset current value in real time according to the current sampling readback signal.
[0077] In summary, the power supply device with leakage current compensation provided by the embodiment of the present application includes a power supply circuit and a leakage current compensation circuit arranged at the output port of the power supply device; the leakage current compensation circuit includes a current acquisition module, a voltage acquisition module, a current compensation module and a flow processing module, wherein the current acquisition module and the voltage acquisition module are respectively used to acquire the initial current signal and the initial voltage signal of the output port of the power supply device, the current compensation module is used to receive and compensate the initial current value according to the initial current signal and the initial voltage signal, and generate a compensated flow signal, and finally the flow processing module generates a flow control signal for controlling the current size of the output signal of the power supply device according to the preset current value of the power supply device and the compensated flow signal, so as to realize accurate compensation, acquisition and control of the current value of the output port of the power supply device. Compared with the prior art, the leakage current compensation circuit of the embodiment of the present application has a simple structure, has obvious advantages in cost, selection and adjustability, and is more universal.
[0078] The selection and adjustability of the leakage current compensation circuit 120 are described below in conjunction with a specific embodiment.
[0079] Figure 4 This is an equivalent circuit diagram of a current compensation module in a power supply device provided by an embodiment of the present application. Figure 4 As shown in (a), based on the above embodiment, the compensation unit is equivalent to an equivalent resistor Rab connected between the output end of the voltage acquisition module 1202 and the inverting input end of the operational amplifier U1. The current introduced by the equivalent resistor Rab is the changing current of R4.
[0080] In this embodiment, the resistance value of the first resistor R1, the resistance value of the second resistor R2, the resistance value of the third resistor R3, and the resistance value of the fourth resistor R4 satisfy: R1=R4=R2*K1=R3*K1; wherein K1 is the amplification factor of the operational amplifier U1.
[0081] In a specific embodiment, Figure 2 Taking the current compensation module structure diagram (a) as an example, the initial voltage signal output by voltage acquisition module 1202 is assumed to be positive. Current acquisition module 1201 includes a current sampling resistor with a resistance of r. The voltage difference between IP and IN across the current sampling resistor is the initial current signal output by current acquisition module 1201. Assuming IP and IN are a pair of differential signals, IP - IN = I * r, where I is the actual current measured by current acquisition module 1201.
[0082] The current compensation module 1203 amplifies the initial current signal and compensates for the initial voltage signal.
[0083] When no compensation unit is provided in the current compensation module 1203, the output of the operational amplifier U1 is Imon=(IP-IN)*K1=I*r*K1, the voltage at the non-inverting input terminal of the operational amplifier U1 is IP*R1 / (R1+R2), and the voltage at the inverting input terminal of the operational amplifier U1 when working stably should also be IP*R1 / (R1+R2).
[0084] The initial voltage signal output by the voltage acquisition module 1202 is Vmon, which is a positive signal. Vmon=V / K2, where V is the measured voltage collected on the first trace and the second trace, and K2 is the amplification factor of the voltage acquisition module 1202.
[0085] Due to the existence of leakage current, the measured current must be subtracted from the leakage current to more accurately represent the actual output current. And the leakage current is proportional to both the actual measured voltage V and the initial voltage signal Vmon. Therefore, a new compensation unit is required, namely Figure 2 (a) is a structural diagram of the current compensation module, where the initial voltage signal is an input terminal and the output terminal of the compensation unit is connected to the inverting input terminal of the operational amplifier U1.
[0086] Leakage current Where Rleak is the equivalent resistance between traces, measured in megohms. The current to be compensated is △Imon = Ileak * r * K1 = V * r * K1 / Rleak.
[0087] At this time, with the compensation unit, the node current at the inverting input of the operational amplifier U1 satisfies:
[0088]
[0089] Wherein, Rab is the equivalent resistance of the compensation unit;
[0090] Substituting R1=R4=R2*K1=R3*K1, we can get:
[0091]
[0092] The current to be compensated
[0093] Substituting △Imon=Ileak*r*K1=V*r*K1 / Rleak, we can get
[0094] Calculate the equivalent resistance of the compensation unit Specifically, the order of magnitude of Rleak is megaohms MΩ, the order of magnitude of R2 is kiloohms KΩ, and the order of magnitude of r is milliohms mΩ. Considering K2, The order of magnitude is GΩ.
[0095] Because GΩ-level precision resistors are rare, they offer no advantages in cost, selection, or debugging. Therefore, based on the equivalent variation of star and delta resistor connections, Rab = Ra + Rb + Ra * Rb / Rc. With Ra and Rb in the megaohm (MΩ) and kiloohm (KΩ) ranges, and Rc in the ohm (Ω), Rab is constructed to be in the GΩ range.
[0096] A specific example, Rleak = 1MΩ, K1 = 20, 20KΩ, R2 = R3 = 1KΩ, r = 10mΩ, K2 = 15, then,
[0097]
[0098] Designing Ra = 1 MΩ, Rc = 10 Ω, and Rab ≈ Rb * 100 yields Rb ≈ 66.7 KΩ. Selecting the commonly used 66.5 KΩ resistor yields Rab = 6.65 GΩ, Rleak = 0.9975 MΩ, and meets the design requirement of Rleak = 1 MΩ. Before the power supply device stabilizes and is finalized, the resistance value of the second compensation resistor, Rb, can be adjusted in series or parallel to achieve the desired compensation effect based on actual system changes.
[0099] It should be noted that the equivalent resistance between the second end of the first compensation resistor Ra and the first end of the third compensation resistor Rc may introduce a signal bias, causing the current output by the operational amplifier to be biased upward or downward. However, this bias is offset within a certain range in the subsequent current sampling processing module 1204, and can also be offset by fine-tuning resistance values such as R1. However, because the equivalent Rac is on the order of megohms (MΩ), which is much larger than the order of kilohms (KΩ) for R1, the resulting bias has minimal impact, and adjustment of resistance values such as R1 to offset the bias is generally unnecessary.
[0100] In another specific embodiment, if the initial voltage signal output by the voltage acquisition module 1202 is a negative signal, the structure diagram of the current compensation module should be: Figure 2 In the circuit shown in (b), the output of the compensation unit must be connected to the non-inverting input of operational amplifier U1. Based on the characteristics of the operational amplifier, the compensation effect on leakage current is equivalent. The design process of the compensation unit is the same as that described above and will not be repeated here.
[0101] Example 2
[0102] Figure 5 This is a schematic diagram of the structure of a load device with leakage current compensation provided by an embodiment of the present application. Figure 5As shown, the load device 200 with leakage current compensation provided in this embodiment includes a load circuit 210 and a leakage current compensation circuit 220. Load circuit 210 is primarily used to convert electrical energy provided by a power supply into other forms of energy to implement the functions of the load device. Leakage current compensation circuit 220 is primarily used to compensate for leakage current caused by circuits or capacitors using compensation resistors, thereby ensuring that the power supply device has a highly accurate output current.
[0103] In this embodiment, the load circuit 210 includes an input port 2101, a load module 2102, and a control module 2103. The input port has a first sub-port and a second sub-port, which are connected to an external power source via a first trace and a second trace, respectively, for obtaining electrical energy input from the external power source. This can be understood as the first sub-port and the second sub-port being the positive output terminal and the negative output terminal of the load device, respectively, and the first trace and the second trace being the insulated positive trace and the negative trace connected to the external power source, respectively. The control module 2103 is the control center of the load device, used to monitor and manage the operation of the load module 2102 and implement various load functions. In this embodiment, the load module 2102 is used to convert the voltage input from the external power source into an input signal corresponding to a preset current value; the control module 2103 is at least used to generate and output the preset current value.
[0104] In this embodiment, the leakage current compensation circuit 220 includes a current acquisition module 2201 , a voltage acquisition module 2202 , a current compensation module 2203 and a current acquisition processing module 2204 .
[0105] In this embodiment, a current acquisition module 2201 is provided at the input port of the load circuit and is used to acquire the initial current signal inputted at the input port of the load device. The current acquisition module 2201 has a first input terminal, a second input terminal, and an output terminal. The first input terminal and the second input terminal are respectively connected to the first sub-port and the second sub-port of the load circuit input port. The voltage acquisition module 2202 is provided on the trace connecting the input port of the load circuit to the external power supply and is used to acquire the initial voltage signal inputted at the input port of the load circuit. The voltage acquisition module 2202 has a first input terminal and a second input terminal, respectively connected to the first trace and the second trace connected to the input port of the load circuit.
[0106] It should be noted that the current acquisition module 2201 and the voltage acquisition module 2202 in this embodiment are the same as those in any of the above embodiments. There is no specific limitation on the type and structure of the current acquisition module 2201 and the voltage acquisition module 2202. Both have the same technical effects as the current acquisition module 2201 and the voltage acquisition module 2202 in any of the above embodiments. To avoid repetition, they are not described here.
[0107] In this embodiment, the current compensation module 2203 includes a first input end and a second input end, wherein the first input end is connected to the output end of the current acquisition module 2201 for obtaining the initial current signal output by the current acquisition module 2201; the second input end is connected to the output end of the voltage acquisition module 2202 for obtaining the initial voltage signal output by the voltage acquisition module 2202; the current compensation module 2203 is used to compensate the initial current value according to the initial current signal and the initial voltage signal, and generate and output the compensated current acquisition signal.
[0108] The current sampling processing module 2204 includes a first input, a second input, and an output. The first input is connected to an output of the load circuit control module to obtain the preset current value transmitted by the control module. The second input of the current sampling processing module 2204 is connected to the output of the current compensation module 2203 to obtain the compensated current sampling signal output by the current compensation module 2203. The output of the current sampling processing module 2204 is connected to an input of the load module 2102. Based on the obtained preset current value and the compensated current sampling signal, the current sampling processing module 2204 generates a current control signal for controlling the current level of the input signal of the load module 2102 and outputs the signal through its output, thereby achieving precise control of the input current of the load device.
[0109] The initial current signal output by the current acquisition module 2201 is more commonly a differential signal. The differential signal is transmitted through a pair of tightly coupled differential transmission lines. The signal amplitudes on the two pins are equal but the polarities are opposite. Information is transmitted by comparing the difference between the two signals. Some current acquisition modules also output single-ended signals as initial current signals. Single-ended signals are transmitted through one pin and require a reference voltage (usually a ground wire) to form a potential difference. The change in the voltage or current of the signal source relative to the ground (or reference voltage) represents the signal information.
[0110] In some embodiments, the output terminal of the current acquisition module 2201 includes a first sub-output terminal and a second sub-output terminal. When the initial current signal is a differential signal, the initial current signal is output through the first sub-output terminal and the second sub-output terminal. When the initial current signal is a single-ended signal, the initial current signal is output through one of the first sub-output terminal and the second sub-output terminal, and the other of the first sub-output terminal and the second sub-output terminal is connected to a reference voltage terminal.
[0111] Figure 6 This is a circuit diagram of a current compensation module in a load device provided by an embodiment of the present application. Figure 6 (a) and Figure 6As shown in (b), in this embodiment, the first input end of the current compensation module 2203 includes a first sub-input end and a second sub-input end, which are respectively connected to the first sub-output end and the second sub-output end of the output end of the current acquisition module 2201, and are used to obtain the initial current signal output by the current acquisition module 2201. There is no special limitation on the output method of the initial current signal.
[0112] In this embodiment, the current compensation module 2203 includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a compensation unit and an operational amplifier U1; wherein, the first end of the first resistor R1 is connected to a preset voltage end, which can be a reference ground; the first end of the second resistor R2 is connected to the first sub-input end; the first end of the third resistor R3 is connected to the second sub-input end; the in-phase input end of the operational amplifier U1 is connected to the second end of the first resistor R1 and the second end of the second resistor R2, the inverting input end of the operational amplifier U1 is connected to the second end of the third resistor R3, and the output end of the operational amplifier U1 is connected to the output end of the current compensation module 2203 for outputting a compensated current signal; the first end of the fourth resistor R4 is connected to the second end of the third resistor, and the second end of the fourth resistor R4 is connected to the output end of the operational amplifier.
[0113] like Figure 6 As shown in (a), when the voltage acquisition module 2202 outputs a positive voltage value, the first input terminal of the compensation unit is connected to the second input terminal of the current compensation module 2203, that is, connected to the output terminal of the voltage acquisition module 2202, the second input terminal of the compensation unit is connected to the preset voltage terminal, and the output terminal of the compensation unit is connected to the non-inverting input terminal of the operational amplifier U1.
[0114] like Figure 6 As shown in (b), when the voltage acquisition module 2202 outputs a negative voltage value, the first input terminal of the compensation unit is connected to the second input terminal of the current compensation module 2203, that is, connected to the output terminal of the voltage acquisition module 2202, the second input terminal of the compensation unit is connected to the preset voltage terminal, and the output terminal of the compensation unit is connected to the inverting input terminal of the operational amplifier U1.
[0115] In some embodiments, the compensation unit includes a first compensation resistor Ra, a second compensation resistor Rb, and a third compensation resistor Rc. Specifically, the first end of the second compensation resistor Rb is connected to the first input end of the compensation unit, that is, connected to the output end of the voltage acquisition module 2202, for acquiring the acquired initial voltage signal, and the second end of the second compensation resistor Rb is connected to the first end of the first compensation resistor Ra; the first end of the third compensation resistor Rc is connected to the second input end of the compensation unit, that is, connected to the preset voltage end (reference ground), and the second end of the third compensation resistor Rc is connected to the first end of the first compensation resistor Ra; the second end of the first compensation resistor Ra is connected to the output end of the compensation unit, that is, connected to the non-inverting input end of the operational amplifier U1.
[0116] Figure 7 This is a structural diagram of a load device with leakage current compensation provided by another embodiment of the present application. Figure 7 As shown, the load device 200 with leakage current compensation provided in this embodiment includes a load circuit 210 and a leakage current compensation circuit 220. The load circuit 210 includes an input port 2101, a load module 2102, and a control module 2102. The leakage current compensation circuit 220 includes a current acquisition module 2201, a voltage acquisition module 2202, a current compensation module 2203, and a current acquisition processing module 2204. Each module has the same structure and technical effects as any of the above-mentioned embodiments and will not be further described here.
[0117] In this embodiment, the second output terminal of the current sampling processing module 2203 is connected to an input terminal of the control module 2103 for outputting a current sampling readback signal to the control module 2103; the current sampling readback signal is the basis for the control module 2103 to adjust the preset current value.
[0118] In some embodiments, the control module 2103 stores the acquired accurate current sampling readback signal and outputs a fixed preset current value based on user settings.
[0119] In some embodiments, the control module 2103 stores the acquired accurate current sampling readback signal, outputs a preset current value based on user settings and the current sampling readback signal, and adjusts the output preset current value in real time according to the current sampling readback signal.
[0120] In summary, the load device with leakage current compensation provided by the embodiment of the present application includes a load circuit and a leakage current compensation circuit provided at the input port of the load device; the leakage current compensation circuit includes a current acquisition module 2201, a voltage acquisition module 2202, a current compensation module 2203 and a current sampling processing module 2204, wherein the current acquisition module 2201 and the voltage acquisition module 2202 are respectively used to acquire the initial current signal and the initial voltage signal of the input port of the load device, the current compensation module 2203 is used to receive and compensate the initial current value according to the initial current signal and the initial voltage signal, and generate a compensated current sampling signal, and finally the current sampling processing module 2204 generates a current control signal for controlling the current size of the load device input signal according to the preset current value of the load device and the compensated current sampling signal, so as to realize accurate compensation, acquisition and control of the current value of the load device input port. Compared with the prior art, the leakage current compensation circuit of the embodiment of the present application has a simple structure, obvious advantages in cost, selection and adjustability, and is more universal.
[0121] The selection and adjustability of the leakage current compensation circuit 220 are described below in conjunction with a specific embodiment.
[0122] Figure 8 This is an equivalent circuit diagram of a current compensation module in a load device provided by an embodiment of the present application. Figure 8 As shown in (a), based on the above embodiment, the compensation unit is equivalent to an equivalent resistor Rab connected between the output end of the voltage acquisition module 2202 and the inverting input end of the operational amplifier U1. The current introduced by the equivalent resistor Rab is the changing current of R4.
[0123] In this embodiment, the resistance value of the first resistor R1, the resistance value of the second resistor R2, the resistance value of the third resistor R3, and the resistance value of the fourth resistor R4 satisfy: R1=R4=R2*K1=R3*K1; wherein K11 is the amplification factor of the operational amplifier U1.
[0124] In a specific embodiment, Figure 6 Taking the current compensation module structure diagram (a) as an example, the initial voltage signal output by voltage acquisition module 2202 is assumed to be positive. Current acquisition module 2201 includes a current sampling resistor with a resistance of r. The voltage difference between IP and IN across the current sampling resistor is the initial current signal output by current acquisition module 2201. IP and IN form a differential signal pair: IP - IN = I * r, where I is the actual current measured by current acquisition module 2201.
[0125] The current compensation module 2203 amplifies the initial current signal and compensates for the initial voltage signal.
[0126] When no compensation unit is set in the current compensation module 2203, the output of the operational amplifier U1 is Imon=(IP-IN)*K1=I*r*K1, the voltage at the non-inverting input terminal of the operational amplifier U1 is IP*R1 / (R1+R2), and the voltage at the inverting input terminal of the operational amplifier U1 when working stably should also be IP*R1 / (R1+R2).
[0127] The initial voltage signal output by the voltage acquisition module 2202 is Vmon, which is a positive signal. Vmon=V / K2, where V is the measured voltage collected on the first trace and the second trace, and K2 is the amplification factor of the voltage acquisition module 2202.
[0128] Due to the existence of leakage current, the measured current must be added with the leakage current to more accurately represent the actual output current. And the leakage current is proportional to the actual measured voltage V and the initial voltage signal Vmon. Therefore, a new compensation unit is required, namely Figure 6 (a) is a structural diagram of the current compensation module, where the initial voltage signal is an input terminal and the output terminal of the compensation unit is connected to the non-inverting input terminal of the operational amplifier U1.
[0129] Leakage current Where Rleak is the equivalent resistance between traces, measured in megohms. The current to be compensated is △Imon = Ileak * r * K1 = V * r * K1 / Rleak.
[0130] At this time, in the presence of the compensation unit, according to the voltage superposition principle, the node voltage Vx at the non-inverting input terminal of the operational amplifier U1 satisfies:
[0131]
[0132] Wherein, Rab / / R1 represents the resistance value of the compensation unit equivalent resistor and the first resistor R1 in parallel; R1 / / R2 represents the resistance value of the first resistor R1 and the second resistor R2 in parallel;
[0133] Substitute Rab / / R1=Rab*R1 / (Rab+R1)=1 / Rab+1 / R1,
[0134] R1 / / R2=R1*R2 / (R1+R2)=1 / R1+1 / R2, R1=R4=R2*K1=R3*K1, we get:
[0135]
[0136] For operational amplifiers, Right now,
[0137]
[0138] Available,
[0139]
[0140] Design at this time That is, Rab>>R2*K1,
[0141]
[0142] The current to be compensated
[0143] Substituting △Imon=V*r*K1 / Rleak, we get
[0144] Since the leakage resistance Rleak is in the order of megohms MΩ, R2 is in the order of kilohms KΩ, r is in the order of milliohms mΩ, and considering K2, then The order of magnitude is GΩ.
[0145] The equivalent resistance of the compensation unit Rab=Ra+Rb+Ra*Rb / Rc, the order of magnitude of Ra and Rb is designed to be megaohms MΩ and kiloohms KΩ, the order of magnitude of Rc is ohm Ω, and the order of magnitude of Rab is constructed to be gigaohm GΩ.
[0146]
[0147] Designing Ra = 1 MΩ, Rc = 10 Ω, and Rab ≈ Rb * 100 yields Rb ≈ 66.7 KΩ. Selecting the commonly used 66.5 KΩ resistor yields Rab = 6.65 GΩ, Rleak = 0.9975 MΩ, and meets the design requirement of Rleak = 1 MΩ. Before the power supply device stabilizes and is finalized, the resistance value of the second compensation resistor, Rb, can be adjusted in series or parallel to achieve the desired compensation effect based on actual system changes.
[0148] Similarly, the equivalent resistance between the second end of the first compensation resistor Ra and the first end of the third compensation resistor Rc may introduce a signal bias, causing the current output by the operational amplifier to be biased upward or downward. However, this bias is offset within a certain range in the subsequent current sampling processing module 2204, and can also be offset by fine-tuning resistances such as R1. However, because the equivalent Rac is on the order of megohms (MΩ), which is much larger than the order of kilohms (KΩ) for R1, the resulting bias is minimal, and adjusting resistances such as R1 to offset the bias is generally unnecessary.
[0149] In another specific embodiment, if the initial voltage signal output by the voltage acquisition module 2202 is a negative signal, the structure diagram of the current compensation module should be Figure 6In the circuit shown in (b), the output of the compensation unit must be connected to the inverting input of operational amplifier U1. Based on the characteristics of the operational amplifier, the compensation effect on leakage current is equivalent. The design process for the compensation unit is the same as that described above and will not be repeated here.
[0150] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can make several simple deductions, modifications or replacements based on the ideas of the present application without departing from the scope of protection of the purpose of the present application and the claims. All of these are within the protection of the present application.
Claims
1. A power supply device with leakage current compensation, characterized in that: including a power supply circuit and a leakage current compensation circuit; The power supply circuit includes a control module, a power generation module, and an output port; wherein the control module is configured to output at least a preset current value; the power generation module generates an output signal based on at least the preset current value; the output port has a first sub-port and a second sub-port, the first sub-port and the second sub-port being connected to an external load via a first trace and a second trace, respectively; The leakage current compensation circuit includes a current acquisition module, a voltage acquisition module, a current compensation module, and a current acquisition processing module; wherein the first input end of the current acquisition module is connected to the first sub-port, and the second input end of the current acquisition module is connected to the second sub-port, for acquiring the initial current signal output by the output port; the first input end of the voltage acquisition module is connected to the first wiring, and the second input end of the voltage acquisition module is connected to the second wiring, for acquiring the initial voltage signal output by the output port; The first input end of the current compensation module is connected to the output end of the current acquisition module, and the second input end of the current compensation module is connected to the output end of the voltage acquisition module; the current compensation module is used to compensate the initial current value according to the initial current signal and the initial voltage signal, and generate and output a compensated current acquisition signal; The first input end of the current sampling processing module is connected to an output end of the control module, the second input end of the current sampling processing module is connected to the output end of the current compensation module, and the first output end of the current sampling processing module is connected to an input end of the power generation module; the current sampling processing module obtains the preset current value from the control module and the compensated current sampling signal from the current compensation module, and generates a current control signal for controlling the current size of the output signal of the power generation module according to the preset current value and the compensated current sampling signal.
2. The power supply device with leakage current compensation according to claim 1, characterized in that: The second output terminal of the current sampling processing module is connected to an input terminal of the control module for outputting a current sampling readback signal to the control module; the current sampling readback signal is a basis for the control module to adjust the preset current value.
3. The power supply device with leakage current compensation according to claim 1, characterized in that: The output end of the current acquisition module includes a first sub-output end and a second sub-output end; When the initial current signal is a differential signal, the initial current signal is output through the first sub-output terminal and the second sub-output terminal; When the initial current is a single-ended signal, the initial current signal is output through one of the first sub-output terminal and the second sub-output terminal, and the other of the first sub-output terminal and the second sub-output terminal is connected to a reference voltage terminal.
4. The power supply device with leakage current compensation according to claim 3, characterized in that: The first input end of the current compensation module includes a first sub-input end and a second sub-input end, which are respectively connected to the first sub-output end and the second sub-output end of the output end of the current acquisition module; The current compensation module includes a first resistor, a second resistor, a third resistor, a fourth resistor, a compensation unit, and an operational amplifier; wherein the first end of the first resistor is connected to a preset voltage end; the first end of the second resistor is connected to the first sub-input end; the first end of the third resistor is connected to the second sub-input end; the non-inverting input end of the operational amplifier is connected to both the second end of the first resistor and the second end of the second resistor, the inverting input end of the operational amplifier is connected to the second end of the third resistor, and the output end of the operational amplifier is connected to the output end of the current compensation module; the first end of the fourth resistor is connected to the second end of the third resistor, and the second end of the fourth resistor is connected to the output end of the operational amplifier; When the voltage acquisition module outputs a positive voltage, the first input terminal of the compensation unit is connected to the second input terminal of the current compensation module, the second input terminal of the compensation unit is connected to the preset voltage terminal, and the output terminal of the compensation unit is connected to the inverting input terminal of the operational amplifier; When the voltage acquisition module outputs a negative voltage, the first input end of the compensation unit is connected to the second input end of the current compensation module, the second input end of the compensation unit is connected to the preset voltage end, and the output end of the compensation unit is connected to the non-inverting input end of the operational amplifier.
5. The power supply device with leakage current compensation according to claim 4, characterized in that: The compensation unit includes a first compensation resistor, a second compensation resistor and a third compensation resistor; The first end of the second compensation resistor is connected to the first input end of the compensation unit; The first end of the third compensation resistor is connected to the second input end of the compensation unit, the first end of the first compensation resistor is connected to the second end of the second compensation resistor and the second end of the third compensation resistor, and the second end of the first compensation resistor is connected to the output end of the compensation unit.
6. The power supply device with leakage current compensation according to claim 5, characterized in that: The resistance value R1 of the first resistor, the resistance value R2 of the second resistor, the resistance value R3 of the third resistor, and the resistance value R4 of the fourth resistor satisfy: R1=R4=R2*K1=R3*K1; wherein K1 is the amplification factor of the operational amplifier; The equivalent resistance value Rab of the compensation unit is: Rab=Ra+Rb+Ra*Rb / Rc; wherein Ra, Rb and Rc are the resistance values of the first compensation resistor, the second compensation resistor and the third compensation resistor, respectively; and the first compensation resistor is on the order of megohms; the second compensation resistor is on the order of kiloohms; and the third compensation resistor is on the order of ohms.
7. A load device with leakage current compensation, characterized in that: including a load circuit and a leakage current compensation circuit; The load circuit includes an input port, a control module, and a load module; wherein the input port has a first sub-port and a second sub-port, and the first sub-port and the second sub-port are connected to an external power supply through a first trace and a second trace, respectively; the control module is configured to output at least a preset current value; and the load module converts a voltage inputted from the external power supply into an input signal based on at least the preset current value; The leakage current compensation circuit includes a current acquisition module, a voltage acquisition module, a current compensation module, and a current acquisition processing module; wherein the first input end of the current acquisition module is connected to the first sub-port, and the second input end of the current acquisition module is connected to the second sub-port, for acquiring the initial current signal output by the input port; the first input end of the voltage acquisition module is connected to the first wiring, and the second input end of the voltage acquisition module is connected to the second wiring, for acquiring the initial voltage signal output by the input port; The first input end of the current compensation module is connected to the output end of the current acquisition module, and the second input end of the current compensation module is connected to the output end of the voltage acquisition module; the current compensation module is used to compensate the initial current value according to the initial current signal and the initial voltage signal, and generate and output a compensated current acquisition signal; The first input end of the current sampling processing module is connected to an output end of the control module, the second input end of the current sampling processing module is connected to the output end of the current compensation module, and the first output end of the current sampling processing module is connected to an input end of the load module; the current sampling processing module obtains the preset current value from the control module and the compensated current sampling signal from the current compensation module, and generates a current control signal for controlling the current size of the load module input signal according to the preset current value and the compensated current sampling signal.
8. The load device with leakage current compensation according to claim 7, characterized in that: The second output terminal of the current sampling processing module is connected to an input terminal of the control module for outputting a current sampling readback signal to the control module; the current sampling readback signal is a basis for the control module to adjust the preset current value.
9. The load device with leakage current compensation according to claim 8, characterized in that: The output end of the current acquisition module includes a first sub-output end and a second sub-output end; When the initial current signal is a differential signal, the initial current signal is output through the first sub-output terminal and the second sub-output terminal; When the initial current is a single-ended signal, the initial current signal is output through one of the first sub-output terminal and the second sub-output terminal, and the other of the first sub-output terminal and the second sub-output terminal is connected to a reference voltage terminal.
10. The load device with leakage current compensation according to claim 9, characterized in that: The first input end of the current compensation module includes a first sub-input end and a second sub-input end, which are respectively connected to the first sub-output end and the second sub-output end of the output end of the current acquisition module; The current compensation module includes a first resistor, a second resistor, a third resistor, a fourth resistor, a compensation unit, and an operational amplifier; wherein the first end of the first resistor is connected to a preset voltage end; the first end of the second resistor is connected to the first sub-input end; the first end of the third resistor is connected to the second sub-input end; the non-inverting input end of the operational amplifier is connected to both the second end of the first resistor and the second end of the second resistor, the inverting input end of the operational amplifier is connected to the second end of the third resistor, and the output end of the operational amplifier is connected to the output end of the current compensation module; the first end of the fourth resistor is connected to the second end of the third resistor, and the second end of the fourth resistor is connected to the output end of the operational amplifier; When the voltage acquisition module outputs a positive voltage, the first input terminal of the compensation unit is connected to the second input terminal of the current compensation module, the second input terminal of the compensation unit is connected to the preset voltage terminal, and the output terminal of the compensation unit is connected to the non-inverting input terminal of the operational amplifier; When the voltage acquisition module outputs a negative voltage, the first input end of the compensation unit is connected to the second input end of the current compensation module, the second input end of the compensation unit is connected to the preset voltage end, and the output end of the compensation unit is connected to the inverting input end of the operational amplifier.
11. The load device with leakage current compensation according to claim 10, characterized in that: The compensation unit includes a first compensation resistor, a second compensation resistor and a third compensation resistor; The first end of the second compensation resistor is connected to the first input end of the compensation unit; The first end of the third compensation resistor is connected to the second input end of the compensation unit, the first end of the first compensation resistor is connected to the second end of the second compensation resistor and the second end of the third compensation resistor, and the second end of the first compensation resistor is connected to the output end of the compensation unit.
12. The load device with leakage current compensation according to claim 11, characterized in that: The resistance value R1 of the first resistor, the resistance value R2 of the second resistor, the resistance value R3 of the third resistor, and the resistance value R4 of the fourth resistor satisfy: R1=R4=R2*K1=R3*K1; wherein K1 is the amplification factor of the operational amplifier; The equivalent resistance value Rab of the compensation unit is: Rab=Ra+Rb+Ra*Rb / Rc; wherein Ra, Rb and Rc are the resistance values of the first compensation resistor, the second compensation resistor and the third compensation resistor, respectively; and the first compensation resistor is on the order of megohms; the second compensation resistor is on the order of kiloohms; and the third compensation resistor is on the order of ohms.
Citation Information
Cited By
Leakage current detection method, power supply equipment and storage medium
CN121559384A
Leakage current detection method, power supply device, and storage medium
CN121559384B