A voltage acquisition circuit, a bipolar direct current power supply and a voltage acquisition method

By designing a voltage acquisition circuit with near-end and far-end sampling units, a subtractor, and a comparator in a bipolar DC power supply, the problems of remote induction sampling disconnection and reverse connection are solved, enabling accurate identification and safe control under negative voltage and negative current conditions, and reducing circuit costs.

CN122193677APending Publication Date: 2026-06-12HUNAN NEXT GENERATION INSTRUMENTAL T&C TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUNAN NEXT GENERATION INSTRUMENTAL T&C TECH CO LTD
Filing Date
2026-04-24
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

Existing DC regulated power supplies cannot accurately identify remote sensing sampling disconnections and reverse connections under the negative voltage and negative current conditions of bipolar DC power supplies, posing safety hazards and incurring high costs.

Method used

A voltage acquisition circuit is adopted, including near-end and far-end sampling units, a slow analog-to-digital conversion unit, a subtractor and a comparator. The subtractor calculates the voltage difference between the near end and the far end, and the sampling state is determined by the switching unit and the comparator. Combined with the positive and negative states of the power supply output voltage, the connection of the compensation voltage unit is switched to achieve accurate determination of the far-end inductive sampling anomaly.

Benefits of technology

Under the negative voltage and negative current conditions of a bipolar DC power supply, it can accurately identify remote sensing sampling disconnection and reverse connection, reducing circuit cost and complexity, and improving safety and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122193677A_ABST
    Figure CN122193677A_ABST
Patent Text Reader

Abstract

The application discloses a voltage acquisition circuit, a bipolar direct-current power supply and a voltage acquisition method. A voltage difference between a near-end voltage and a far-end voltage is calculated by a subtracter. First, second and third switch switching units combine the positive and negative states of a power supply output voltage to switch the connection relationship between the voltage difference output by a positive voltage compensation voltage unit, a negative voltage compensation voltage unit and the subtracter and two input ends of a comparator. When a positive voltage is output, the positive voltage compensation voltage unit is connected to the inverting input end of the comparator, and the output end of the subtracter is connected to the non-inverting input end of the comparator; when a negative voltage is output by the power supply, the negative voltage compensation voltage unit is connected to the non-inverting input end of the comparator, and the output end of the subtracter is connected to the inverting input end of the comparator. A control unit determines whether far-end sensing sampling is normal according to the high and low levels of an abnormal comparison voltage output by the comparator. The application can identify the situations of disconnection and reverse connection when the bipolar direct-current power supply outputs a negative voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of power supply equipment, and in particular to a voltage acquisition circuit, a bipolar DC power supply, and a voltage acquisition method. Background Technology

[0002] When a DC regulated power supply supplies power to a load, there is a voltage difference between the output port of the DC regulated power supply and the port of the device under test due to line loss on the output line, which reduces the accuracy of the DC regulated power supply. To solve this problem, the sampling point of the output port is moved to the input port of the load, which is called remote sampling.

[0003] Existing DC regulated power supplies with remote induction sampling have the following drawbacks: 1. When the sampling line falls off, it can cause an open circuit in the constant voltage closed loop, potentially resulting in an open-circuit voltage higher than the required voltage, leading to breakdown or damage to the tested object, or even causing electric shock or fire hazards. 2. When the remote sampling line is reversed, it may burn out the instrument or cause inaccurate sampling voltage, again resulting in an open-circuit voltage higher than the required voltage, which can also lead to breakdown or damage to the tested object, or even causing electric shock or fire hazards. 3. The DC regulated power supply cannot detect when the remote sampling line falls off or is reversed. However, a bipolar DC power supply is a type of power supply that can output both positive voltage and positive current, as well as negative voltage and negative current, operating in the first and third quadrants. Its compensation method differs from that of common unipolar DC power supplies. When the bipolar DC power supply outputs a positive voltage, the current flow direction is as follows... Figure 1 As shown, the output is the same as that of a common DC power supply; when the bipolar DC power supply outputs a negative voltage, the current flow direction is as follows. Figure 2 As shown.

[0004] like Figure 1 and Figure 2As shown in the figure, Ulc is the proximal voltage, Urm is the distal voltage, and R0 is the cable resistance. Due to the presence of R0 on the cable, Urm will be slightly less than Ulc, and there will be a small phase difference. In the prior art, the patent application with the application number CN202311725089.3 discloses a near-end and far-end voltage acquisition circuit for preventing reverse connection and disconnection and a DC regulated power supply, and the patent application with the application number CN202411611015.1 discloses a voltage acquisition circuit and a power supply device. However, these two methods are only applicable to the case of positive voltage and positive current, and are not applicable to the case of negative voltage and negative current output by a bipolar DC regulated power supply. Currently, there is also a common practice of separately sampling the distal voltage and the proximal voltage with two ADCs, calculating the effective value of Ulc - Urm (denoted as |Ulc - Urm|rms), and making a judgment based on the compensation voltage Ucom set by the user to perform distal induction sampling identification. If |Ulc - Urm|rms > Ucom, it is judged that the distal induction sampling is abnormal, and the control loop of the DC power supply calls the sampling data of the proximal end; if |Ulc - Urm|rms < Ucom, it is judged that the distal induction sampling is normal, and the control loop of the DC power supply calls the sampling data of the distal end. However, this method requires two ADCs for separate sampling, resulting in a higher cost, and the control chip needs to communicate with the two ADCs, which will occupy the algorithm resources of the control chip. Summary of the Invention

[0005] The present application aims to propose a voltage acquisition circuit, a bipolar DC power supply, and a voltage acquisition method, which can identify the disconnection of distal induction sampling and the reverse connection of distal induction sampling under the condition of negative voltage and negative current of a bipolar DC power supply.

[0006] In a first aspect, an embodiment of the present application provides a voltage acquisition circuit, which is applied to a bipolar DC power supply for supplying power to a load. The voltage acquisition circuit includes: A proximal sampling unit, having a proximal voltage output terminal, a proximal abnormality detection terminal, and a proximal voltage sampling terminal connected to the output port of the bipolar DC power supply; A distal sampling unit, having a distal voltage output terminal, a distal abnormality detection terminal, and a distal voltage sampling terminal connected to the power supply port of the load; A slow analog-to-digital conversion unit, respectively connected to the proximal voltage output terminal and the distal voltage output terminal; A subtractor, having a subtraction output terminal, a first subtraction input terminal connected to the proximal abnormality detection terminal, and a second subtraction input terminal connected to the distal abnormality detection terminal; The comparison unit includes a first switching unit, a second switching unit, a third switching unit, a positive voltage compensation unit, a negative voltage compensation unit, and a comparator. The first switching unit has a first switching control terminal, a first switching terminal connected to the positive voltage compensation unit, a floating second switching terminal, and a first common terminal connected to the inverting input terminal of the comparator. The second switching unit has a second switching control terminal, a third switching terminal connected to the non-inverting input terminal of the comparator, a fourth switching terminal connected to the inverting input terminal of the comparator, and a second common terminal connected to the subtraction output terminal. The third switching unit has a third switching control terminal, a floating fifth switching terminal, a sixth switching terminal connected to the non-inverting input terminal of the comparator, and a third common terminal connected to the negative voltage compensation unit. The control unit has a first control signal output terminal connected to the first switching control terminal, the second switching control terminal, and the third switching control terminal respectively; a comparison signal input terminal connected to the output terminal of the comparator; and a near-end sampling input terminal and a far-end sampling input terminal connected to the slow analog-to-digital converter unit. The control unit is used to acquire the power output voltage set for the target object; output a first switching control signal to the first switching control terminal, the second switching control terminal, and the third switching control terminal according to the positive or negative state of the power output voltage, to adjust the connection state of the first switching terminal and the second switching terminal with the first common terminal, the connection state of the third switching terminal and the fourth switching terminal with the second common terminal, and the connection state of the fifth switching terminal and the sixth switching terminal with the third common terminal; receive the near-end voltage and far-end voltage output by the slow analog-to-digital converter unit, and the abnormal comparison voltage output by the comparator; if the abnormal comparison voltage is low, it is determined that the far-end sensing sampling is normal, and the far-end voltage is invoked; if the abnormal comparison voltage is high, it is determined that the far-end sensing sampling is abnormal, and the near-end voltage is invoked.

[0007] Secondly, embodiments of this application provide a bipolar DC power supply, including the voltage acquisition circuit described in the first aspect embodiment above.

[0008] Thirdly, embodiments of this application provide a voltage acquisition method applied to the bipolar DC power supply described in the second aspect embodiment above, the voltage acquisition method comprising: Obtain the power output voltage set for the target object; According to the positive and negative states of the power supply output voltage, a first switching control signal is output to the first switching control terminal, the second switching control terminal, and the third switching control terminal to adjust the connection state of the first switching terminal and the second switching terminal with the first common terminal, the connection state of the third switching terminal and the fourth switching terminal with the second common terminal, and the connection state of the fifth switching terminal and the sixth switching terminal with the third common terminal. Receive the near-end voltage and far-end voltage output from the slow analog-to-digital conversion unit, as well as the abnormal comparison voltage output from the comparator; If the abnormal comparison voltage is low, it is determined that the remote sensing sampling is normal, and the remote voltage is called. If the abnormal comparison voltage is high, it is determined that the remote sensing sampling is abnormal, and the near-end voltage is invoked.

[0009] Fourthly, embodiments of this application provide an electronic device, which includes a processor and a memory storing computer program instructions; When the processor executes the computer program, it implements the voltage acquisition method as described in the third aspect embodiment above.

[0010] Fifthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions for performing the voltage acquisition method as described in the third aspect of the embodiments above.

[0011] The voltage acquisition circuit, bipolar DC power supply, and voltage acquisition method of this application calculate the voltage difference between the near-end voltage and the far-end voltage using a subtractor. The first switch switching unit, the second switch switching unit, and the third switch switching unit flexibly switch the connection relationships between the positive voltage compensation unit, the negative voltage compensation unit, and the voltage difference output by the subtractor with the non-inverting and inverting input terminals of the comparator, based on the first switching control signal output by the control unit and the positive or negative state of the power supply output voltage. When the power supply outputs a positive voltage, the positive voltage compensation unit is connected to the inverting input terminal of the comparator, and the voltage difference output by the subtractor is connected to the non-inverting input terminal of the comparator; when the power supply outputs a negative voltage, the negative voltage compensation unit is connected to the non-inverting input terminal of the comparator, and the voltage difference output by the subtractor is connected to the inverting input terminal of the comparator. The comparator compares the two input voltages and outputs an abnormal comparison voltage. The control unit can accurately determine whether the remote sensing sampling is normal based on the high and low levels of the abnormal comparison voltage, which solves the problem that the existing remote sensing sampling identification scheme cannot identify the remote sensing sampling disconnection and remote sensing sampling reverse connection under the negative voltage and negative current conditions of the bipolar DC power supply.

[0012] Other features and advantages of this application will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing this application. Attached Figure Description

[0013] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 This is a schematic diagram of near-end sampling and far-end sampling when a bipolar DC power supply outputs a positive voltage to power a load according to an embodiment of this application; Figure 2 This is a schematic diagram of near-end sampling and far-end sampling when a bipolar DC power supply outputs a negative voltage to power a load according to an embodiment of this application; Figure 3 This is an electrical schematic diagram of a voltage acquisition circuit according to an embodiment of this application; Figure 4 This is a flowchart of a voltage acquisition method according to an embodiment of this application.

[0014] Figure label: Subtractor 100; Comparison Unit 200; Control unit 300; Slow ADC unit 400; First sampling unit 510, first signal attenuation unit 520; Second sampling unit 610, second signal attenuation unit 620. Detailed Implementation

[0015] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0016] In the description of this application, the use of terms such as "first," "second," etc., is for the purpose of distinguishing technical features only and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or the order of the technical features indicated.

[0017] In the description of this application, it should be understood that the orientation descriptions, such as up, down, etc., are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.

[0018] In the description of this application, it should be noted that, unless otherwise explicitly defined, terms such as "setup," "installation," and "connection" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this application in conjunction with the specific content of the technical solution.

[0019] The following will combine Figures 1 to 4 The voltage acquisition circuit of the embodiments of this application will be clearly and completely described. Obviously, the embodiments described below are some embodiments of this application, not all embodiments.

[0020] refer to Figures 1 to 4 , Figure 1 This is a schematic diagram of near-end sampling and far-end sampling when a bipolar DC power supply outputs a positive voltage to power a load according to an embodiment of this application; Figure 2 This is a schematic diagram of near-end sampling and far-end sampling when a bipolar DC power supply outputs a negative voltage to power a load according to an embodiment of this application; Figure 3 This is an electrical schematic diagram of a voltage acquisition circuit according to an embodiment of this application; Figure 4 This is a flowchart of a voltage acquisition method according to an embodiment of this application.

[0021] According to a first aspect embodiment of the present application, a voltage acquisition circuit is applied to a bipolar DC power supply for supplying power to a load. The voltage acquisition circuit includes a near-end sampling unit, a far-end sampling unit, a slow analog-to-digital converter unit, a subtractor 100, a comparison unit 200, and a control unit 300.

[0022] The near-end sampling unit has a near-end voltage output terminal, a near-end anomaly detection terminal, and a near-end voltage sampling terminal connected to the output port of a bipolar DC power supply; The remote sampling unit has a remote voltage output terminal, a remote anomaly detection terminal, and a remote voltage sampling terminal connected to the power supply port of the load; The slow analog-to-digital converter unit is connected to the near-end voltage output terminal and the far-end voltage output terminal, respectively. The subtractor 100 has a subtraction output terminal, a first subtraction input terminal connected to a near-end anomaly detection terminal, and a second subtraction input terminal connected to a far-end anomaly detection terminal; The comparison unit 200 includes a first switching unit S2, a second switching unit S3, a third switching unit S4, a positive voltage compensation unit, a negative voltage compensation unit, and a comparator IC2. The first switching unit S2 has a first switching control terminal, a first switching terminal connected to the positive voltage compensation unit, a floating second switching terminal, and a first common terminal connected to the inverting input terminal of the comparator IC2. The second switching unit S3 has a second switching control terminal, a third switching terminal connected to the non-inverting input terminal of the comparator IC2, a fourth switching terminal connected to the inverting input terminal of the comparator IC2, and a second common terminal connected to the subtraction output terminal. The third switching unit S4 has a third switching control terminal, a floating fifth switching terminal, a sixth switching terminal connected to the non-inverting input terminal of the comparator IC2, and a third common terminal connected to the negative voltage compensation unit. The control unit 300 has a first control signal output terminal connected to the first switching control terminal, the second switching control terminal, and the third switching control terminal respectively; a comparison signal input terminal connected to the output terminal of comparator IC2; and a near-end sampling input terminal and a far-end sampling input terminal connected to the slow analog-to-digital converter unit. The control unit 300 is used to acquire the power output voltage set by the target object; output the first switching control signal to the first switching control terminal, the second switching control terminal, and the third switching control terminal according to the positive and negative states of the power output voltage, so as to adjust the connection state of the first switching terminal and the second switching terminal with the first common terminal, the connection state of the third switching terminal and the fourth switching terminal with the second common terminal, and the connection state of the fifth switching terminal and the sixth switching terminal with the third common terminal; receive the near-end voltage and the far-end voltage output by the slow analog-to-digital converter unit, and the abnormal comparison voltage output by comparator IC2; if the abnormal comparison voltage is low, it is determined that the far-end sensing sampling is normal, and the far-end voltage is called; if the abnormal comparison voltage is high, it is determined that the far-end sensing sampling is abnormal, and the near-end voltage is called.

[0023] In some embodiments of this application, reference is made to Figure 3 The near-end sampling unit includes a first sampling unit 510 and a first signal attenuation unit 520, and the far-end sampling unit includes a second sampling unit 610 and a second signal attenuation unit 620.

[0024] The first sampling unit 510 has its input terminal connected to the output port of the bipolar DC power supply. The first signal attenuation unit 520 has its input terminal connected to the output terminal of the first sampling unit 510, and its output terminal connected to the slow analog-to-digital converter unit and the first subtraction input terminal, respectively. The second sampling unit 610 has its input terminal connected to the power supply port of the load. The second signal attenuation unit 620 has its input terminal connected to the output terminal of the second sampling unit 610, and its output terminal connected to the slow analog-to-digital converter unit and the second subtraction input terminal, respectively.

[0025] The first sampling unit 510 is used to initially acquire the voltage at the output port of the bipolar DC power supply, obtaining the raw near-end voltage signal. The first signal attenuation unit 520 attenuates the near-end voltage signal output by the first sampling unit 510, adjusting it to a voltage range that can be adapted to by the subtractor 100 and the slow ADC unit 400, avoiding damage to subsequent circuit components due to excessively high input voltage. Similarly, the second sampling unit 610 is responsible for acquiring the far-end voltage signal at the load power supply port, and the second signal attenuation unit 620 attenuates the acquired far-end voltage signal to meet the input requirements of the subtractor 100 and the slow ADC unit 400. Figure 3 In this diagram, Ulc1 is the near-end voltage Ulc after signal attenuation, and Urm1 is the far-end voltage Urm after signal attenuation. The slow ADC unit 400 converts the attenuated analog near-end voltage signal or analog far-end voltage signal into a digital signal and transmits the digital signal to the control unit 300 so that the control unit 300 can perform subsequent numerical calculations and judgments.

[0026] Through this structural design, the near-end sampling unit and the far-end sampling unit can accurately and reliably sample the voltage at the output terminal and the load terminal of the bipolar DC power supply, respectively, and provide the sampling results to the control unit 300 in digital form, laying a solid data foundation for the control unit 300 to accurately determine the remote sensing sampling status.

[0027] In some embodiments of this application, reference is made to Figure 3 The subtractor 100 includes resistors R4, R5, R6, and R7 and operational amplifier IC1. The resistance values ​​of resistors R4, R5, R6, and R7 are equal, so that the voltage output by operational amplifier IC1 is U7 = Ulc1 - Urm1.

[0028] In some embodiments of this application, reference is made to Figure 3 Both the positive and negative voltage compensation units employ voltage divider circuits. The positive voltage compensation unit includes resistors R1 and R2, with U5 being the positive voltage compensation voltage, obtained by dividing the positive power supply VCC through resistors R1 and R2. The negative voltage compensation unit includes resistors R8 and R9, with U6 being the negative voltage compensation voltage, obtained by dividing the negative power supply -VCC through resistors R8 and R9.

[0029] It should be noted that the positive voltage compensation voltage and the negative voltage compensation voltage are set according to the actual situation, which is equivalent to the compensation voltage Ucom mentioned in the background art. The specific setting principle is the prior art known to those skilled in the art, and will not be elaborated here.

[0030] In some embodiments of this application, if the compensation voltage for the positive voltage of the allowed line is Ucom_h, the compensation voltage for the negative voltage is Ucom_n, and the ratio of the first signal attenuation unit 520 and the second signal attenuation unit 620 is k, then the values ​​of U5 and U6 are respectively: U5=Ucom_h*k=VCC*R1 / (R1+R2), U6=Ucom_n*k=-VCC*R9 / (R9+R8).

[0031] In some embodiments of this application, reference is made to Figure 3 The first switch switching unit S2, the second switch switching unit S3, and the third switch switching unit S4 all employ analog switches. Analog switches feature fast switching speed, low on-resistance, and high isolation, ensuring minimal interference to the signal during switching and guaranteeing the accuracy of voltage acquisition. Based on the analog switch switching method, the system can quickly respond to commands from the control unit 300, enabling flexible configuration of the comparator input signal under positive and negative voltage output states, thus providing hardware support for accurately detecting anomalies in remote sensing sampling.

[0032] like Figure 3 As shown, U1 is the first switching control signal output by the control unit 300. The first switch switching unit S2, the second switch switching unit S3, and the third switch switching unit S4 share the same first switching control signal U1. U1 is set according to the positive or negative state of the power output voltage (the voltage output by the bipolar DC power supply) set by the target object (user). When the user sets a positive voltage, U1 is at a low level; when the user sets a negative voltage, U1 is at a high level. When U1 is at a low level, S2, S3, and S4 throw A; when U1 is at a high level, S2, S3, and S4 throw B.

[0033] like Figure 3 As shown, IC2 is a comparator, U2 is the voltage at the non-inverting input of IC1, and U3 is the voltage at the inverting input of IC2.

[0034] When S2, S3 and S4 roll A, U2=U7=Ulc1-Urm1, U3=U5=VCC*R1 / (R1+R2); When S2, S3 and S4 roll B, U3=U7=Ulc1-Urm1, U2=U6=-VCC*R9 / (R8+R9).

[0035] In some embodiments of this application, reference is made to Figure 3The control unit 300 also has a second control signal output terminal; the slow analog-to-digital conversion unit includes a fourth switch switching unit S1 and a slow ADC unit 400.

[0036] The fourth switch switching unit S1 has a fourth common terminal, a fourth switching control terminal connected to the second control signal output terminal, a seventh switching terminal connected to the near-end voltage output terminal, and an eighth switching terminal connected to the far-end voltage output terminal; the control unit 300 is also used to output a second switching control signal to the fourth switching control terminal according to the level state of the abnormal comparison voltage, so as to adjust the connection state of the seventh switching terminal and the eighth switching terminal with the fourth common terminal. The slow ADC unit 400 has its input terminal connected to the fourth common terminal and its output terminal connected to the control unit 300.

[0037] The fourth switch unit S1 uses an analog switch. When the control unit 300 determines that the remote sensing sampling is normal (abnormal comparison voltage is low), it outputs a second switching control signal to control the fourth switch unit S1 to switch to the eighth switching terminal, connecting the slow ADC unit 400 to the remote voltage output terminal. At this time, the slow ADC unit 400 collects and converts the remote voltage signal and transmits it to the control unit 300. The control unit 300 uses this remote voltage for subsequent power control and regulation. When the control unit 300 determines that the remote sensing sampling is abnormal (abnormal comparison voltage is high), it outputs a second switching control signal to control the fourth switch unit S1 to switch to the seventh switching terminal, connecting the slow ADC unit 400 to the near-end voltage output terminal. The slow ADC unit 400 collects and converts the near-end voltage signal and transmits it to the control unit 300. The control unit 300 uses this near-end voltage as a substitute for power control. This application uses only one ADC, and the near-end voltage or remote voltage is collected by switching the fourth switch unit S1, effectively reducing circuit cost and complexity.

[0038] In some embodiments of this application, reference is made to Figure 3 The comparator unit 200 also includes a switching transistor Q1, a diode, and a pull-up resistor R3.

[0039] Switch Q1 has its base connected to the output of comparator IC2, its emitter connected to reference ground, and its collector connected to the comparison signal input and the fourth switching control terminal, respectively. The diode has its anode connected to the emitter of the switching transistor Q1, and its cathode connected to the collector of the switching transistor Q1. Pull-up resistor R3 is connected at one end to the collector of switching transistor Q1, the comparison signal input terminal and the fourth switching control terminal, and at the other end to the power supply VCC.

[0040] The output control switch transistor Q1 of IC2 is turned on and off to control the voltage of U4. When the output of IC2 is high, Q1 is turned on and U4 is low. When IC2 is low, Q1 is turned off and U4 is high. U4 is a remote feedback signal used to control the switch state of S1 (when U4 is low, S1 throws to A, otherwise to B), and feeds back the current remote sampling state to the control unit 300 (when U4 is high, the remote sampling is normal; when U4 is low, the remote sampling is abnormal).

[0041] In this application, by connecting the switch transistor Q1 to the output terminal of the comparator IC2 to output U4, it replaces the second switching control signal output by the control unit 300, eliminating the need for the control unit 300 to output an additional control signal, simplifying the control logic. At the same time, the circuit composed of a diode and a pull-up resistor R3 ensures the stable output of U4, providing a reliable level signal for the accurate switching of the fourth switch switching unit S1. This design cleverly converts the comparison result directly into a switch control signal and a status feedback signal, improving the circuit response speed and reliability.

[0042] Reference Figure 4 , the working process of this application is as follows: The first step: The user sets the power output voltage, and at this time, the bipolar DC power supply does not actually output voltage; The second step: The control unit 300 outputs the first switching control signal U1 according to the positive and negative states of the power output voltage. When the user sets a positive voltage, U1 is at a low level, and S2, S3, and S4 throw to A; when the user sets a negative voltage, U1 is at a high level, and S2, S3, and S4 throw to B; The third step: The user turns on the bipolar DC power supply to output voltage. The comparator IC2 judges the magnitudes of U2 and U3. If U2 > U3, the comparator IC2 outputs a high level, U4 is at a low level, S1 throws to A, the slow ADC unit 400 reads the proximal voltage, and the control loop calls the proximal voltage; if U2 < U3, the comparator IC2 outputs a low level, U4 is at a high level, S1 throws to B, the slow ADC unit 400 reads the remote voltage, and the control loop calls the remote voltage.

[0043] Next, the working process of the voltage acquisition circuit of this application in various situations will be described in detail through the following specific embodiments: VCC = 5V, -VCC = -5V; R2 = R8 = 100 kΩ, R9 = R1 = 1 kΩ; The ratio k of the first attenuation unit and the second attenuation unit is 1 / 300; U5 = 5V * 1kΩ / (1kΩ + 100kΩ) = 0.0495V; U6 = -5V * 1kΩ / (1kΩ + 100kΩ) = -0.0495V.

[0044] 1. When the user outputs a positive voltage and the remote sensing sampling is properly connected: The user outputs a proximal voltage of 300V and a distal voltage of 297V; Ulc1 = 300V * 1 / 300 = 1V, Urm1 = 297V / 300 = 0.99V; U7 = (Ulc1 - Urm1) = (1V - 0.99V) = 0.01V. At this time, S2, S3, and S4 are switched to A; U2 = U7 = 0.01V, U3 = U5 = 0.0495V. Since U2 < U3, the output of IC2 is low, Q1 is turned off, U4 is high, S1 is switched to B, and when the control unit 300 detects that U4 is high, it indicates that the remote sensing sampling is normal, and the slow ADC unit 400 reads the distal voltage.

[0045] 2. When the user outputs a positive voltage and the remote sensing sampling is disconnected: The user outputs a proximal voltage of 300V and a distal voltage of 297V; Ulc1 = 300V * 1 / 300 = 1V. The distal end is disconnected, so Urm1 = 0V; U7 = (Ulc1 - Urm1) = (1V - 0V) = 1V. At this time, S2, S3, and S4 are switched to A; U2 = U7 = 1V, U3 = U5 = 0.0495V. Since U2 > U3, the output of IC2 is high, Q1 is turned on, U4 is low, S1 is switched to A, and when the control unit 300 detects that U4 is low, it indicates that the remote sensing sampling is abnormal, and the slow ADC unit 400 reads the proximal voltage.

[0046] 3. When the user outputs a positive voltage and the remote sensing sampling is reversed: The user outputs a proximal voltage of 300V and a distal voltage of 297V; Ulc1 = 300V * 1 / 300 = 1V. The distal end is reversely connected, Urm1 = -297V * 1 / 300 = -0.99V; U7 = (Ulc1 - Urm1) = (1V + 0.99V) = 1.99V. At this time, S2, S3, and S4 are switched to A; U2 = U7 = 1.99V, U3 = U5 = 0.0495V. Since U2 > U3, the output of IC2 is high, Q1 is turned on, U4 is low, S1 is switched to A, and when the control unit 300 detects that U4 is low, it indicates that the remote sensing sampling is abnormal. The slow ADC unit 400 reads the proximal voltage.

[0047] 4. When the user outputs a negative voltage and the remote sensing sampling is properly connected: The user outputs a proximal voltage of -300V and a distal voltage of -297V; Ulc1 = -300V * 1 / 300 = -1V, Urm1 = -297V / 300 = -0.99V; U7 = (Ulc1 - Urm1) = (-1V + 0.99V) = -0.01V. At this time, S2, S3, and S4 are thrown to B; U2 = U6 = -0.0495V, U3 = U7 = -0.01V. Since U2 < U3, the output of IC2 is low, Q1 is turned off, U4 is high, S1 is thrown to B. When the control unit 300 detects that U4 is high, it indicates that the distal induction sampling is normal, and the slow ADC unit 400 reads the distal voltage.

[0048] 5. Situation where the user outputs a negative voltage and the distal induction sampling drops out: The user outputs a proximal voltage of -300V and a distal voltage of -297V; Ulc1 = -300V * 1 / 300 = -1V. The distal end drops out, so Urm1 = 0V; U7 = (Ulc1 - Urm1) = (-1V - 0V) = -1V. At this time, S2, S3, and S4 are thrown to B; U2 = U6 = -0.0495V, U3 = U7 = -1V. Since U2 > U3, the output of IC2 is high, Q1 is turned on, U4 is low, S1 is thrown to A. When the control unit 300 detects that U4 is low, it indicates that the distal induction sampling is abnormal, and the slow ADC unit 400 reads the proximal voltage.

[0049] 6. Situation where the user outputs a negative voltage and the distal induction sampling is reverse-connected: The user outputs a proximal voltage of -300V and a distal voltage of -297V; Ulc1 = -300V * 1 / 300 = -1V. The distal end is reverse-connected, so Urm1 = 297V * 1 / 300 = 0.99V; U7 = (Ulc1 - Urm1) = (-1V - 0.99V) = -1.99V. At this time, S2, S3, and S4 are thrown to B; U2 = U6 = -0.0495V, U3 = U7 = -1.99V. Since U2 > U3, the output of IC2 is high, Q1 is turned on, U4 is low, S1 is thrown to A. When the control unit 300 detects that U4 is low, it indicates that the distal induction sampling is abnormal, and the slow ADC unit 400 reads the proximal voltage.

[0050] Furthermore, it should be noted that since this application uses analog switches, the switching process requires a certain amount of time. Therefore, the ADC must employ a slow ADC unit 400; otherwise, unstable sampling data may occur. The sampling rate of the slow ADC unit 400 matches the switching time of the analog switch, ensuring that voltage acquisition only occurs after the switch has completed and stabilized, thus guaranteeing the accuracy and reliability of the acquired data. Simultaneously, the slow ADC unit 400 typically features lower power consumption and higher resolution, further optimizing the overall circuit performance while meeting the voltage acquisition accuracy requirements.

[0051] The bipolar DC power supply according to a second aspect embodiment of this application includes a voltage acquisition circuit as described in the first aspect embodiment above. Since the bipolar DC power supply employs all the technical solutions of the voltage acquisition circuit of the above embodiments, it possesses at least all the beneficial effects brought about by the technical solutions of the above embodiments, and will not be elaborated further here.

[0052] The voltage acquisition method according to the third aspect embodiment of this application, applied to a bipolar DC power supply as described in the second aspect embodiment above, includes: Obtain the power output voltage set for the target object; According to the positive and negative states of the power supply output voltage, the first switching control signal is output to the first switching control terminal, the second switching control terminal and the third switching control terminal to adjust the connection state of the first switching terminal and the second switching terminal with the first common terminal, the connection state of the third switching terminal and the fourth switching terminal with the second common terminal, and the connection state of the fifth switching terminal and the sixth switching terminal with the third common terminal. It receives the near-end voltage and far-end voltage output from the slow analog-to-digital converter unit, as well as the abnormal comparison voltage output from the comparator. If the abnormal comparison voltage is low, it is determined that the remote sensing sampling is normal, and the remote voltage is called. If the abnormal comparison voltage is high, it is determined that the remote sensing sampling is abnormal, and the near-end voltage is called.

[0053] In some embodiments of this application, reference is made to Figure 3 The first switching control signal includes a first low-level control signal and a first high-level control signal; the first switching control signal is output to the first switching control terminal, the second switching control terminal, and the third switching control terminal according to the positive and negative states of the power supply output voltage, so as to adjust the connection state of the first switching terminal and the second switching terminal with the first common terminal, the connection state of the third switching terminal and the fourth switching terminal with the second common terminal, and the connection state of the fifth switching terminal and the sixth switching terminal with the third common terminal, including: If the power supply output voltage is positive, the control outputs a first low-level control signal so that the first switching terminal is connected to the first common terminal, the third switching terminal is connected to the second common terminal, and the fifth switching terminal is connected to the third common terminal. If the power supply output voltage is negative, the control outputs a first high-level control signal so that the second switching terminal is connected to the first common terminal, the fourth switching terminal is connected to the second common terminal, and the sixth switching terminal is connected to the third common terminal.

[0054] In some embodiments of this application, reference is made to Figure 3 The control unit 300 also has a second control signal output terminal; the slow analog-to-digital converter unit includes a fourth switching unit and a slow ADC unit 400. The fourth switching unit has a fourth common terminal, a fourth switching control terminal connected to the second control signal output terminal, a seventh switching terminal connected to the near-end voltage output terminal, and an eighth switching terminal connected to the far-end voltage output terminal; the input terminal of the slow ADC unit 400 is connected to the fourth common terminal, and the output terminal of the slow ADC unit 400 is connected to the control unit 300. The second switching control signal includes a second low-level control signal and a second high-level control signal; It receives the near-end voltage and far-end voltage output from the slow analog-to-digital converter unit, as well as the abnormal comparison voltage output from the comparator; if the abnormal comparison voltage is low, it determines that the far-end sensing sampling is normal and calls the far-end voltage; if the abnormal comparison voltage is high, it determines that the far-end sensing sampling is abnormal and calls the near-end voltage, including: Receive abnormal comparison voltage from the comparator output; If the abnormal comparison voltage is low, the control outputs a second high-level control signal to the fourth switching control terminal so that the eighth switching terminal is connected to the fourth common terminal to receive the remote voltage output by the slow ADC unit 400 and the control loop calls the remote voltage. If the abnormal comparison voltage is high, the control outputs a second low-level control signal to the fourth switching control terminal, so that the seventh switching terminal is connected to the fourth common terminal to receive the near-end voltage output by the slow ADC unit 400, and the control loop calls the near-end voltage.

[0055] Since the voltage acquisition method adopts all the technical solutions of the bipolar DC power supply in the above embodiments, it has at least all the beneficial effects brought about by the technical solutions in the above embodiments, and will not be repeated here.

[0056] The voltage acquisition circuit, bipolar DC power supply, and voltage acquisition method of this application embodiment calculate the voltage difference between the near-end voltage and the far-end voltage using a subtractor 100. The first switch switching unit, the second switch switching unit, and the third switch switching unit flexibly switch the connection relationships between the positive voltage compensation unit, the negative voltage compensation unit, and the voltage difference output by the subtractor 100 with the non-inverting and inverting input terminals of the comparator, based on the first switching control signal output by the control unit 300 and the positive or negative state of the power supply output voltage. When the power supply outputs a positive voltage, the positive voltage compensation unit is connected to the inverting input terminal of the comparator, and the voltage difference output by the subtractor 100 is connected to the non-inverting input terminal of the comparator; when the power supply outputs a negative voltage, the negative voltage compensation unit is connected to the non-inverting input terminal of the comparator, and the voltage difference output by the subtractor 100 is connected to the inverting input terminal of the comparator. The comparator compares the two input voltages and outputs an abnormal comparison voltage. The control unit 300 can accurately determine whether the remote sensing sampling is normal based on the high and low levels of the abnormal comparison voltage, solving the problem that existing remote sensing sampling identification schemes cannot identify remote sensing sampling disconnection and remote sensing sampling reverse connection under negative voltage and negative current conditions of bipolar DC power supply. Furthermore, this application uses only one ADC, and acquires near-end voltage or remote-end voltage through switching of a switching transistor in conjunction with the switching of a fourth switching unit, effectively reducing circuit cost and complexity.

[0057] In addition, one embodiment of this application provides an electronic device including a processor and a memory storing computer program instructions; when the processor executes the computer program, it implements the voltage acquisition method as described in the above embodiments. The processor and the memory can be connected via a bus or other means.

[0058] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0059] The non-transient software program and instructions required to implement the voltage acquisition method of the above embodiments are stored in the memory. When executed by the processor, the voltage acquisition method of the above embodiments is executed.

[0060] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0061] Furthermore, one embodiment of this application provides a computer-readable storage medium storing computer-executable instructions that are executed by a processor or controller, such as the processor of the aforementioned electronic device, causing the processor to perform the voltage acquisition method described in the above embodiment.

[0062] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0063] The embodiments of this application have been described in detail above with reference to the accompanying drawings. However, this application is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of this application.

Claims

1. A voltage acquisition circuit, characterized in that, An application is made in a bipolar DC power supply used to supply power to a load, and the voltage acquisition circuit includes: The near-end sampling unit has a near-end voltage output terminal, a near-end anomaly detection terminal, and a near-end voltage sampling terminal connected to the output port of the bipolar DC power supply; The remote sampling unit has a remote voltage output terminal, a remote anomaly detection terminal, and a remote voltage sampling terminal connected to the power supply port of the load; A slow analog-to-digital converter is connected to the near-end voltage output terminal and the far-end voltage output terminal, respectively. The subtractor (100) has a subtraction output terminal, a first subtraction input terminal connected to the proximal anomaly detection terminal, and a second subtraction input terminal connected to the distal anomaly detection terminal; The comparison unit (200) includes a first switching unit, a second switching unit, a third switching unit, a positive voltage compensation unit, a negative voltage compensation unit, and a comparator. The first switching unit has a first switching control terminal, a first switching terminal connected to the positive voltage compensation unit, a floating second switching terminal, and a first common terminal connected to the inverting input terminal of the comparator. The second switching unit has a second switching control terminal, a third switching terminal connected to the non-inverting input terminal of the comparator, a fourth switching terminal connected to the inverting input terminal of the comparator, and a second common terminal connected to the subtraction output terminal. The third switching unit has a third switching control terminal, a floating fifth switching terminal, a sixth switching terminal connected to the non-inverting input terminal of the comparator, and a third common terminal connected to the negative voltage compensation unit. The control unit (300) has a first control signal output terminal connected to the first switching control terminal, the second switching control terminal, and the third switching control terminal, a comparison signal input terminal connected to the output terminal of the comparator, and a near-end sampling input terminal and a far-end sampling input terminal connected to the slow analog-to-digital converter unit. The control unit (300) is used to acquire the power output voltage set by the target object; output a first switching control signal to the first switching control terminal, the second switching control terminal, and the third switching control terminal according to the positive and negative states of the power output voltage, so as to adjust the connection state of the first switching terminal and the second switching terminal with the first common terminal, the connection state of the third switching terminal and the fourth switching terminal with the second common terminal, and the connection state of the fifth switching terminal and the sixth switching terminal with the third common terminal; receive the near-end voltage and the far-end voltage output by the slow analog-to-digital converter unit, and the abnormal comparison voltage output by the comparator; if the abnormal comparison voltage is low, it is determined that the far-end sensing sampling is normal, and the far-end voltage is called; if the abnormal comparison voltage is high, it is determined that the far-end sensing sampling is abnormal, and the near-end voltage is called.

2. The voltage acquisition circuit according to claim 1, characterized in that, The control unit (300) also has a second control signal output terminal; the slow analog-to-digital converter unit includes: The fourth switch switching unit has a fourth common terminal, a fourth switching control terminal connected to the second control signal output terminal, a seventh switching terminal connected to the near-end voltage output terminal, and an eighth switching terminal connected to the far-end voltage output terminal; the control unit (300) is further configured to output a second switching control signal to the fourth switching control terminal according to the level state of the abnormal comparison voltage, so as to adjust the connection state of the seventh switching terminal and the eighth switching terminal with the fourth common terminal; A slow ADC unit (400) is provided, the input of which is connected to the fourth common terminal, and the output of which is connected to the control unit (300).

3. The voltage acquisition circuit according to claim 2, characterized in that, The comparison unit (200) further includes: A switching transistor, the base of which is connected to the output of the comparator, the emitter of which is connected to a reference ground, and the collector of which is connected to both the comparison signal input and the fourth switching control terminal. A diode, wherein the anode of the diode is connected to the emitter of the switching transistor, and the cathode of the diode is connected to the collector of the switching transistor; A pull-up resistor is provided, one end of which is connected to the collector of the switching transistor, the comparison signal input terminal, and the fourth switching control terminal, and the other end of which is connected to the power supply.

4. The voltage acquisition circuit according to claim 2, characterized in that, The first switch switching unit, the second switch switching unit, the third switch switching unit, and the fourth switch switching unit all use analog switches.

5. The voltage acquisition circuit according to claim 1, characterized in that, Both the positive voltage compensation unit and the negative voltage compensation unit employ voltage divider circuits.

6. The voltage acquisition circuit according to claim 1, characterized in that, The proximal sampling unit includes: The first sampling unit (510) has its input terminal connected to the output port of the bipolar DC power supply. The first signal attenuation unit (520) has its input terminal connected to the output terminal of the first sampling unit (510), and its output terminal is connected to the slow analog-to-digital conversion unit and the first subtraction input terminal, respectively. The remote sampling unit includes: The second sampling unit (610) has its input terminal connected to the power supply port of the load. The second signal attenuation unit (620) has its input terminal connected to the output terminal of the second sampling unit (610), and its output terminal is connected to the slow analog-to-digital conversion unit and the second subtraction input terminal, respectively.

7. A bipolar DC power supply, characterized in that, Includes the voltage acquisition circuit as described in any one of claims 1 to 6.

8. A voltage acquisition method, characterized in that, Applied to the bipolar DC power supply as described in claim 7, the voltage acquisition method includes: Obtain the power output voltage set for the target object; According to the positive and negative states of the power supply output voltage, a first switching control signal is output to the first switching control terminal, the second switching control terminal, and the third switching control terminal to adjust the connection state of the first switching terminal and the second switching terminal with the first common terminal, the connection state of the third switching terminal and the fourth switching terminal with the second common terminal, and the connection state of the fifth switching terminal and the sixth switching terminal with the third common terminal. Receive the near-end voltage and far-end voltage output from the slow analog-to-digital conversion unit, as well as the abnormal comparison voltage output from the comparator; If the abnormal comparison voltage is low, it is determined that the remote sensing sampling is normal, and the remote voltage is called. If the abnormal comparison voltage is high, it is determined that the remote sensing sampling is abnormal, and the near-end voltage is invoked.

9. The voltage acquisition method according to claim 8, characterized in that, The first switching control signal includes a first low-level control signal and a first high-level control signal; the step of outputting the first switching control signal to the first switching control terminal, the second switching control terminal, and the third switching control terminal according to the positive and negative states of the power supply output voltage, so as to adjust the connection state of the first switching terminal and the second switching terminal with the first common terminal, the connection state of the third switching terminal and the fourth switching terminal with the second common terminal, and the connection state of the fifth switching terminal and the sixth switching terminal with the third common terminal, includes: If the power supply output voltage is a positive voltage, the first low-level control signal is output to connect the first switching terminal to the first common terminal, the third switching terminal to the second common terminal, and the fifth switching terminal to the third common terminal. If the power supply output voltage is negative, the first high-level control signal is output to connect the second switching terminal to the first common terminal, the fourth switching terminal to the second common terminal, and the sixth switching terminal to the third common terminal.

10. The voltage acquisition method according to claim 8, characterized in that, The control unit (300) also has a second control signal output terminal; the slow analog-to-digital converter unit includes a fourth switch unit and a slow ADC unit (400), the fourth switch unit has a fourth common terminal, a fourth switching control terminal connected to the second control signal output terminal, a seventh switching terminal connected to the near-end voltage output terminal, and an eighth switching terminal connected to the far-end voltage output terminal; the input terminal of the slow ADC unit (400) is connected to the fourth common terminal, and the output terminal of the slow ADC unit (400) is connected to the control unit (300); the control unit (300) is also used to output a second switching control signal to the fourth switching control terminal according to the level state of the abnormal comparison voltage, so as to adjust the connection state of the seventh switching terminal and the eighth switching terminal with the fourth common terminal; The second switching control signal includes a second low-level control signal and a second high-level control signal; The system receives the near-end voltage and far-end voltage output by the slow analog-to-digital conversion unit, as well as the abnormal comparison voltage output by the comparator; if the abnormal comparison voltage is low, it is determined that the far-end sensing sampling is normal, and the far-end voltage is retrieved. If the abnormal comparison voltage is high, it is determined to be a remote sensing sampling abnormality, and the near-end voltage is invoked, including: Receive the abnormal comparison voltage output by the comparator; If the abnormal comparison voltage is low, the control outputs the second high-level control signal to the fourth switching control terminal so that the eighth switching terminal is connected to the fourth common terminal to receive the remote voltage output by the slow ADC unit (400) and the control loop calls the remote voltage. If the abnormal comparison voltage is high, the control outputs the second low-level control signal to the fourth switching control terminal, so that the seventh switching terminal is connected to the fourth common terminal to receive the near-end voltage output by the slow ADC unit (400), and the control loop calls the near-end voltage.