High-end resistance high-current discrete device sampling system, storage medium and equipment

By adopting floating power supply modules and mirror current source amplification modules in high-side resistive current sampling technology, the problems of narrow common mode voltage range and high cost for dedicated high-side current amplifiers are solved, achieving a wider range of application scenarios and lower costs.

CN120142736APending Publication Date: 2025-06-13ANHUI XIANGYU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510360321.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-25
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

The existing high-side resistance current sampling technology has the problems of narrow common mode voltage range, high cost of dedicated high-side current amplifiers, and insufficient input common mode voltage range, which limits its application scenarios.

Method used

The floating power supply module is used to build a floating power supply through the voltage-regulating diode TL431 and the current limiting resistor, providing power supply requirements for the operational amplifier, and achieving effective sampling and conversion of high-end current signals through the mirror current source amplification module.

Benefits of technology

The common mode voltage range of the operational amplifier is widened, the use range and scenarios of high-end current sampling circuits are improved, the cost of dedicated high-end current amplifiers is reduced, and the problems of high common mode voltage and limited application are solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120142736A_ABST
    Figure CN120142736A_ABST
Patent Text Reader

Abstract

The invention discloses a high-end resistance large-current discrete device sampling system, a storage medium and equipment, and the system comprises a high-end current input module which is used for converting a current signal into a voltage signal, and a floating power supply module which is used for providing a power supply demand for an operational amplifier and guaranteeing the normal operation of the operational amplifier under a high common-mode voltage. The operational amplification module is used for amplifying a current signal into a voltage signal and providing a high impedance ratio for input and output so as to ensure that the signal is converted from a high end to a low end, the mirror current source amplification module is used for converting a weak high-end differential current and voltage signal into a proportionally amplified low-end current and voltage signal, and the output filtering module is used for outputting the low-end current and voltage signal. The filter is used for filtering high-frequency noise interference signals and outputting working voltage meeting the voltage range of the chip. According to the invention, the operational power supply is in a high-voltage floating power supply state, the common-mode voltage range of the operational amplifier is effectively widened, and the application range and scene of the high-end current sampling circuit are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0002] The present invention relates to the technical field of resistor current sampling, and specifically to a high-end resistor large current discrete device sampling system, storage medium and device. Background Art

[0003] Traditional resistor current sampling is commonly divided into two types: resistor low-end current detection and resistor high-end current detection. The current detection resistor for low-end current is connected in series to the ground / negative electrode, while the current detection resistor for the high-end detection circuit is connected in series to the high voltage terminal / positive electrode. The traditional low-end resistor current sampling has a low common-mode input voltage, has a common ground interference, and cannot detect the short circuit of the load negative electrode to the ground. The type of operational amplifier is a standard operational amplifier, and the cost is relatively low. The traditional high-end resistor current sampling has a high common-mode input voltage, no common ground interference, can detect the short circuit of the load negative electrode to the ground, and the type of operational amplifier is a current sensing amplifier, and the cost is relatively high.

[0004] It can be seen that in the prior art, there are problems in the common discrete high-side resistor sampling, such as high common-mode voltage (the common-mode voltage of the operational amplifier needs to be greater than the positive electrode voltage), high cost of the dedicated high-end current amplifier, and limited use due to the insufficiently wide input common-mode voltage range of the dedicated high-end amplifier. Summary of the Invention

[0005] The high-end resistor large current discrete device sampling system, storage medium and device provided by the present invention can effectively broaden the common-mode voltage range of the operational amplifier and improve the application range and scenario of the high-end current sampling circuit, and can solve at least one of the above technical problems.

[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions: A high-end resistor large current discrete device sampling system includes: A high-end current input module for converting a current signal into a voltage signal. The high-end current input module includes a load RL, a sampling resistor Rs, and a DC voltage HV. When the load RL is in operation, a voltage Vs is formed on the sampling resistor Rs, and Vs = IL * Rs; A floating power supply module for providing a power supply requirement for the operational amplifier and ensuring the normal operation of the operational amplifier under a high common-mode voltage. The floating power supply module includes a voltage dividing resistor input resistor R11, a voltage dividing resistor input resistor R12, a current limiting resistor R4, a filtering capacitor C1, a filtering capacitor C4, and an integrated chip U2. The DC high voltage HV forms a loop through the current limiting resistor R4 and the integrated chip U2 to the high voltage ground. The power supply voltage of the operational amplifier is taken from the voltage across the voltage dividing resistor input resistor R11 and the voltage dividing resistor input resistor R12, and is floating relative to the negative voltage of the DC high voltage HV; The operational amplifier module is used to amplify the current signal into a voltage signal and provide a high impedance ratio for the input and output to ensure the conversion of the signal from the high end to the low end. The operational amplifier module includes an integrated operational amplifier U1; The mirror current source amplification module is used to convert the weak high-end differential current voltage signal mV into a proportionally amplified low-end current voltage signal V. The mirror current source amplification module includes a transistor Q2, an amplification resistor R6, an amplification voltage-dividing resistor R9, and an amplification voltage-dividing resistor input resistor R10; The output filtering module is used to filter out high-frequency noise interference signals and output the working voltage that meets the chip voltage range. The output filtering module includes an amplification voltage-dividing resistor R9 and a filtering capacitor C3, which together form an RC filter.

[0007] Further, in the high-end current input module, the maximum value of the sampling resistor Rs is determined by the allowable power consumption at the maximum current moment, and the minimum value of the sampling resistor Rs is determined by the input range and error budget of the operational amplifier.

[0008] Further, the high-end current input module further includes an input resistor R1. The input resistor R1 is used to convert the current proportional to the high-end current to the low end. The maximum value of the input resistor R1 is determined by the emitter-collector leakage current of the transistor Q2, and the minimum value of the input resistor R1 is determined by the maximum load current and the maximum leakage current power consumption of the transistor Q2.

[0009] Further, the high-end current input module further includes a current-limiting matching resistor R5. The current-limiting matching resistor R5 is used to limit the input current of the operational amplifier when the voltage fluctuates due to the transient change of the load RL.

[0010] Further, the high-end current input module further includes an input offset matching resistor R7 and an input offset matching resistor R8. Both the input offset matching resistor R7 and the input offset matching resistor R8 are used to eliminate and match the errors caused by the offset voltage VOS and offset current IOS of the operational amplifier, especially in the state where the shunt resistance value and the load current value are low.

[0011] Further, in the floating power supply module, the value of the current-limiting resistor R4 satisfies the minimum working current of the integrated chip U2, and the values of the voltage-dividing resistor input resistor R11 and the voltage-dividing resistor input resistor R12 are both selected according to the power supply requirements of the operational amplifier in appropriate proportions.

[0012] Further, in the mirror current source amplification module, the amplification resistor R6 is connected to the transistor Q2 and is used to convert the current signal flowing through the transistor Q2 into a voltage signal referenced to the ground.

[0013] Further, in the mirror current source amplification module, the amplification voltage-dividing resistor R9 and the amplification voltage-dividing resistor input resistor R10 are respectively connected in parallel to the amplification resistor R6 and the filter capacitor C3, and are both used for voltage division of the voltage signal, and the filtered output voltage is fed to the device referenced to the ground through the filter capacitor C3 for further signal processing.

[0014] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the high-end resistor large-current discrete device sampling system.

[0015] A computer device includes a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor implements the high-end resistor large-current discrete device sampling system.

[0016] The beneficial effects of the present invention are reflected in: 1. The present invention ingeniously uses the voltage regulator diode TL431 and the current-limiting resistor to construct a floating power supply for the operational amplifier, so that the operational power supply is in a high-voltage floating power supply state, greatly expanding the common-mode voltage range of the operational amplifier, improving the usage range and scenarios of the high-end current sampling circuit, and solving the bottleneck problems such as narrow power supply range and limited application of high-end current sampling.

[0017] 2. The present invention uses the transistor MOS to construct a mirror current source to meet the requirement of sampling the high-end input current signal to the low-end output voltage signal without static error from current to voltage signal, so that appropriate acquisition signals can be directly provided for other signal conditioning circuits such as DSP and protection circuits, realizing the conversion of the current signal from high to voltage signal to low.

[0018] 3. The present invention supplies power to the operational amplifier by constructing an operational floating power supply with a conventional operational amplifier and discrete devices, which not only solves the problem of the high cost of dedicated high-end current sampling integrated operational amplifiers, but also solves the problems such as high common-mode voltage and limited application in high-end current sampling. In practical applications, the application scenarios of high-end resistor current sampling are further improved. The operational amplifier signal realizes the distortion-free conversion of high-end load current sampling to low-end voltage sampling signal from current to voltage through the mirror current source circuit, thus realizing the conversion of high-end current signal to low-voltage signal, and has wide application occasions and practical application significance. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present application, and constitute a part of the present application. The schematic embodiments of the present application and their descriptions are used to explain the present application, and do not constitute an improper limitation of the present application.

[0020] Figure 1It is a schematic diagram of the circuit structure of the sampling system for high-end resistor high-current discrete devices according to an embodiment of the present invention.

[0021] Figure 2 It is a schematic diagram of a high-end current sampling simulation according to an embodiment of the present invention.

[0022] Figure 3 It is another schematic diagram of a high-end current sampling simulation according to an embodiment of the present invention.

[0023] Figure 4 It is a block diagram of the structure of a computer device according to an embodiment of the present invention. Specific embodiments

[0024] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.

[0025] It should be noted that the meaning of "and / or" appearing throughout the text includes three parallel solutions. Taking "A and / or B" as an example, it includes solution A, or solution B, or a solution that satisfies both A and B at the same time. In addition, "a plurality" means two or more. In addition, the technical solutions between the embodiments can be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement them. When the combination of technical solutions appears to be contradictory or unable to be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0026] See Figure 1 , an embodiment of the present invention provides a sampling system for high-end resistor high-current discrete devices, including: A high-end current input module for converting a current signal into a voltage signal. The high-end current input module includes a load RL, a sampling resistor Rs, and a DC voltage HV. When the load RL is in operation, a voltage Vs is formed on the sampling resistor Rs, and Vs = IL * Rs; A floating power supply module for providing a power supply requirement for the operational amplifier and ensuring the normal operation of the operational amplifier under a high common-mode voltage. The floating power supply module includes a voltage-dividing resistor input resistor R11, a voltage-dividing resistor input resistor R12, a current-limiting resistor R4, a filtering capacitor C1, a filtering capacitor C4, and an integrated chip U2. The DC high voltage HV forms a loop through the current-limiting resistor R4 and the integrated chip U2 to the high-voltage ground. The supply voltage of the operational amplifier is taken from the voltage across the voltage-dividing resistor input resistor R11 and the voltage-dividing resistor input resistor R12, and is floating relative to the negative voltage of the DC high voltage HV; An operational amplifier module is used to amplify a current signal into a voltage signal and provide a high impedance ratio for input and output to ensure the conversion of the signal from the high end to the low end. The operational amplifier module includes an integrated operational amplifier U1. A mirror current source amplification module is used to convert a weak high-end differential current voltage signal mV into a proportionally amplified low-end current voltage signal V. The mirror current source amplification module includes a transistor Q2, an amplification resistor R6, an amplification voltage-dividing resistor R9, and an amplification voltage-dividing resistor input resistor R10. An output filtering module is used to filter out high-frequency noise interference signals and output a working voltage that meets the chip voltage range. The output filtering module includes an amplification voltage-dividing resistor R9 and a filtering capacitor C3, which together form an RC filter to enhance the anti-high-frequency noise interference.

[0027] The circuit of this system monitors the current IL of the high-end load RL through the high-end sampling resistor Rs, provides the working DC current for the operational amplifier U1 through the integrated chip U2 and the current-limiting resistor R4, and provides the working voltage of 5V for the operational amplifier U1 through the integrated chip U2, the voltage-dividing resistor input resistor R11, the input resistor R12, the filtering capacitor C1, and the filtering capacitor C4. The integrated chip U2 and the current-limiting resistor R4 work together to ensure that the operational amplifier U1 can work safely under a high common-mode voltage, and its power supply voltage is stable within the allowable power supply working range of the operational amplifier. The current on the input resistor R1 will flow through Q2 in the form of leakage current and be converted into a voltage signal referenced to ground through the resistor amplification resistor R6. The amplification voltage-dividing resistor R9 and the amplification voltage-dividing resistor input resistor R10 divide the voltage and filter the output voltage through the filtering capacitor C3 and feed it to the converter, analog processor, and other devices referenced to ground for further signal processing.

[0028] The working principle analysis is as follows: HV supplies power to the operational amplifier U1 through filtering by U2, the current-limiting resistor R4, the input resistor R11, the input resistor R12, the filtering capacitor C1, and the filtering capacitor C4. The value of the current-limiting resistor R4 is mainly determined by the supply current Id of the operational amplifier power supply VDD and the minimum current IZ for the normal operation of the integrated chip U2 min and its range is: (HV max - VDD) / IZ min > input resistor R14 > (HV min - VDD) / (IZ max + Id) Meanwhile, under the condition of meeting the current for the normal operation of the circuit, it should be taken as large as possible to reduce the power supply loss.

[0029] In this circuit, the voltage across the input resistor R1 is equal to the voltage across the sampling resistor Rs, and the analysis is as follows: From the virtual short of the operational amplifier, it can be known that the voltage at point A is equal to the voltage at point B. The voltage across the sampling resistor Rs, Vs = VD - VC = VDC. The voltage across the input resistor R1 of the resistor, VR = VD - VB = VD - VA. Also, because VC = VA, the voltage across the input resistor R1 is equal to the voltage across the sampling resistor Rs, which is equal to Vs. Since the two high-impedance input terminals of the operational amplifier maintain the same voltage, the current passing through the input resistor R1 will flow through Q2, the amplification resistor R6, the amplified voltage-dividing resistor R9, and the input resistor R10 of the amplified voltage-dividing resistor, thereby generating V at the emitter of Q2 OUTPUT , the relationship between the current I flowing through the shunt resistor and V OUTPUT can be expressed by the following formula: V OUTPUT = [(amplified voltage-dividing resistor R9 + input resistor R10 of the amplified voltage-dividing resistor) * amplification resistor R6 / (amplified voltage-dividing resistor R9 + input resistor R10 of the amplified voltage-dividing resistor + amplification resistor R6)] * [(IL * Rs) / input resistor R1) = ((amplified voltage-dividing resistor R9 + input resistor R10 of the amplified voltage-dividing resistor) * amplification resistor R6 / (amplified voltage-dividing resistor R9 + input resistor R10 of the amplified voltage-dividing resistor + amplification resistor R6)] / input resistor R1 * (IL * Rs) = Go * Vs where Go = [(amplified voltage-dividing resistor R9 + input resistor R10 of the amplified voltage-dividing resistor) * amplification resistor R6 / (amplified voltage-dividing resistor R9 + input resistor R10 of the amplified voltage-dividing resistor + amplification resistor R6)] / input resistor R1, which is the amplification factor.

[0030] It should be noted that in this circuit system, for the power supply part of the operational amplifier, a floating power supply can also be constructed by using a voltage-stabilizing diode with good temperature drift characteristics + a current-limiting resistor. At the same time, the transistor at the output end of the operational amplifier can also be replaced with a corresponding P-channel enhancement-mode MOS transistor. This circuit system also has many other implementation methods, which are not specifically limited here.

[0031] See Figure 1 , in this embodiment, in the high-end current input module, the maximum value of the sampling resistor Rs is determined by the allowable power consumption at the maximum current moment, and the minimum value of the sampling resistor Rs is determined by the input range and error budget of the operational amplifier. Generally, in order to sample a current above 10A, considering the loss and error requirements, the value of the sampling resistor Rs is generally considered to be between 1mΩ and 10mΩ. If a single resistor cannot meet the power consumption requirements or has a relatively large volume, then the sampling resistor Rs may have to be composed of multiple resistors in parallel.

[0032] See Figure 1, in this embodiment, the high-end current input module further includes an input resistor R1, which is used to convert the current proportional to the high-end current to the low end. The maximum value of the input resistor R1 is determined by the emitter-collector leakage current of the transistor Q2. Since the minimum current of the load resistor of the transistor Q2 can generally be taken as more than 10 times the leakage current, therefore, the maximum value of the input resistor R1 is determined by meeting the minimum leakage current requirement, that is: IL min *Rs / 10Idss max > input resistor R1; at the same time, the minimum value of the input resistor R1 is determined by the maximum load current and the maximum leakage current power consumption of the transistor Q2, that is L max *Rs / Pidss max < input resistor R1.

[0033] See Figure 1 , in this embodiment, the high-end current input module further includes a current-limiting matching resistor R5, which is used to limit the input current of the operational amplifier when the voltage fluctuates due to the transient change of the load RL. At the same time, the current-limiting matching resistor R5 also matches the resistance value of the input resistor R1 for the sampling differential requirement to form a matching resistor. Generally, it is recommended that the value of the current-limiting matching resistor R5 be set equal to the value of the input resistor R1.

[0034] See Figure 1 , in this embodiment, the high-end current input module further includes an input offset matching resistor R7 and an input offset matching resistor R8. Both the input offset matching resistor R7 and the input offset matching resistor R8 are used to eliminate and match the errors caused by the offset voltage VOS and the offset current IOS of the operational amplifier, especially in the state where the shunt resistance value and the load current value are low. The input offset matching resistor R7, the input offset matching resistor R8, the input resistor R1, and the current-limiting matching resistor R5 cooperate to play a role in suppressing the offset voltage of the operational amplifier and suppressing the saturation of the operational amplifier. It must be satisfied that: VOS + IOS × input resistor R1 < I MIN × Rs, otherwise the operational amplifier may have the risk of saturation. Among them, the values of the input offset matching resistor R7 and the input offset matching resistor R8 are generally much larger than the values of the input resistor R1 and the current-limiting matching resistor R5.

[0035] See Figure 1, in this embodiment, in the floating power supply module, the value of the current-limiting resistor R4 should be as large as possible on the premise of meeting the minimum operating current of the integrated chip U2, so as to minimize the power supply loss as much as possible. The values of the voltage-dividing resistor input resistor R11 and the voltage-dividing resistor input resistor R12 are both selected according to the power supply requirements of the operational amplifier in appropriate proportions. Since the power supply voltage of the operational amplifier is not directly related to the high voltage, it is equivalent to being floating. The floating power supply module in this application is to solve problems such as the narrow common-mode voltage supply range of the operational amplifier. The so-called floating power supply is a power supply module circuit constructed to solve the narrow common-mode voltage range and low common-mode voltage of the integrated high-end current operational amplifier.

[0036] See Figure 1 , in this embodiment, in the mirror current source amplification module, the amplification resistor R6 is connected to the transistor Q2, and is used to convert the current signal flowing through the transistor Q2 into a voltage signal referenced to ground. The amplification factor of the mirror current source amplification module in this application is jointly determined by the amplification resistor R6, the amplification voltage-dividing resistor R9, the amplification voltage-dividing resistor input resistor R10, and the input resistor R1. By proportionally amplifying the voltage signal, it provides the required voltage signal magnitude for other signal processing circuits.

[0037] See Figure 1 , in this embodiment, in the mirror current source amplification module, the amplification voltage-dividing resistor R9 and the amplification voltage-dividing resistor input resistor R10 are respectively connected in parallel to the amplification resistor R6 and the filter capacitor C3, and are both used to divide the voltage signal, and the filtered output voltage is fed to the device referenced to ground through the filter capacitor C3 for further signal processing. It can be seen that the output filter module in this application is jointly determined by the amplification voltage-dividing resistor R9, the amplification voltage-dividing resistor input resistor R10, and the filter capacitor C3. While filtering out high-frequency noise interference signals, it outputs a working voltage that meets the voltage range of the MCU or other chips.

[0038] This application will provide the following two actual cases to further analyze this circuit system: As Figure 2 shown, the input voltage is 300V, the load is 3R, the load current is 100A, and the voltage of the sampling resistor Rs is 100A * 0.001R = 100mV. From the above analysis of the power supply principle, the output of the amplified output Q2 is: Vo1 = [(amplification voltage-dividing resistor R9 + amplification voltage-dividing resistor input resistor R10) * amplification resistor R6 / (amplification voltage-dividing resistor R9 + amplification voltage-dividing resistor input resistor R10 + amplification resistor R6)] / input resistor R1 That is, Vo1 = Vs * [(10K + 20K) * 30K / (10K + 20K + 30K)] / 1K = 100mV * 15 = 1.5V The voltage sent to the MCU or other chips after passing through the low-pass filter is: Vo2 = Vo1 * input resistance R10 of the amplifier voltage-dividing resistor / (amplifier voltage-dividing resistor R9 + input resistance R10 of the amplifier voltage-dividing resistor) = 1V Among them, Vo1 is the output voltage of the current source, and Vo2 is the output voltage of the low-pass filter.

[0039] From the above actual simulation, it can be seen that the voltage across the sampling resistor Rs is Vs = 100mV, the output voltage of Q2 is 1.5V, and the voltage after passing through the low-pass filter is 999mV.

[0040] Another example Figure 3 As shown, the input voltage is 100V, the load is 5R, the load current is 20A, the voltage of the sampling resistor Rs is 20A * 0.001R = 20mV. From the above analysis of the power supply principle, the output of Q2 after amplification is: Vo1 = [(amplifier voltage-dividing resistor R9 + input resistance R10 of the amplifier voltage-dividing resistor) * amplifier resistor R6 / (amplifier voltage-dividing resistor R9 + input resistance R10 of the amplifier voltage-dividing resistor + amplifier resistor R6)] / input resistor R1 That is, Vo1 = Vs * [(200K + 200K) * 100K / (100K + 200K + 200K)] / 1K = 20mV * 80 = 1.6V The voltage sent to the MCU or other chips after passing through the low-pass filter is: Vo2 = Vo1 * input resistance R10 of the amplifier voltage-dividing resistor / (amplifier voltage-dividing resistor R9 + input resistance R10 of the amplifier voltage-dividing resistor) = 0.8V.

[0041] From the above actual simulation, it can be seen that the voltage across the sampling resistor Rs is Vs = 20mV, the output voltage of Q2 is 1.6V, and the voltage after passing through the low-pass filter is 799mV.

[0042] Table 1 Comparison of Two High-End Current Sampling Simulation Cases Referring to Table 1, it can be seen from the above theoretical calculations and simulation analyses that this high-end current sampling circuit can well achieve high-end current sampling and has good linearity. Compared with the low-end sampling of the resistor, the traditional high-end resistor sampling using the method of integrating a dedicated current operational amplifier can solve the disadvantages of low-end resistor sampling. However, the common-mode voltage range of this integrated high-end current operational amplifier is generally relatively narrow (below 80V), and the price is expensive. This circuit adopts a high-end resistor sampling method formed by a conventional operational amplifier, TL431, conventional signal transistors, and several resistors and capacitors, which not only solves the disadvantages of low-end resistor current sampling, but also ensures that the common-mode voltage of the circuit can be extended to the HV voltage range (hundreds of volts or even thousands of volts are possible, theoretically unlimited) due to the use of TL431 to expand the floating power supply, depending only on the power resistor value and power consumption, etc., greatly improving the measurement application range and application scenarios; at the same time, due to the use of a conventional operational amplifier, TL431, and several resistors, capacitors and other devices, the cost is greatly reduced compared with the dedicated high-end current sampling dedicated current sensing amplifier, and it has high cost performance and a wide range of application scenarios.

[0043] An embodiment of the present invention also provides a computer-readable storage medium storing a computer program, which when executed by a processor causes the processor to implement the above-mentioned high-end resistor large-current discrete device sampling system.

[0044] See Figure 4 , an embodiment of the present invention also provides a computer device including a memory and a processor, the memory storing a computer program, which when executed by the processor causes the processor to implement the above-mentioned high-end resistor large-current discrete device sampling system.

[0045] An embodiment of the present invention also provides a computer program product containing instructions, which when run on a computer causes the computer to implement the above-mentioned high-end resistor large-current discrete device sampling system.

[0046] It should be noted that those of ordinary skill in the art can understand that all or part of the steps implemented in the embodiments of the present invention can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using hardware, it can be implemented in whole or in part in the form of purchasing standard parts or modified parts. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

[0047] In summary, the present invention proposes a discrete mirror current source improved high-side resistor current sampling circuit system. This circuit system not only solves problems such as the narrow common-mode voltage range of dedicated current sensing integrated operational amplifiers, the poor grounding of conventional low-side resistor current sampling, and abnormal detection such as short circuits between the negative pole of the load and the ground through the design of a floating voltage, but also solves problems such as the high cost of integrated current sensing amplifiers and their limited application range and restricted use. It has a wide range of application scenarios and practical application significance.

[0048] It should be understood that the examples and embodiments described herein are for illustrative purposes only and are not intended to limit the present invention. Those skilled in the art can make various modifications or changes based on it. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A high-end resistor and high-current discrete device sampling system, characterized in that: include: A high-end current input module is used to convert a current signal into a voltage signal. The high-end current input module includes a load RL, a sampling resistor Rs and a DC voltage HV. When the load RL is in a working state, a voltage Vs is formed on the sampling resistor Rs, where Vs=IL*Rs. A floating power supply module is used to provide power supply requirements for the operational amplifier and ensure that the operational amplifier works normally under a high common mode voltage. The floating power supply module includes a voltage divider input resistor R11, a voltage divider input resistor R12, a current limiter R4, a filter capacitor C1, a filter capacitor C4 and an integrated chip U2. The DC high voltage HV forms a loop through the current limiter R4 and the integrated chip U2 to the high voltage ground. The power supply voltage of the operational amplifier is taken from the voltage across the voltage divider input resistor R11 and the voltage divider input resistor R12, and is floating relative to the negative voltage of the DC high voltage HV. An operational amplifier module, used to amplify the current signal into a voltage signal and provide a high impedance ratio for input and output to ensure the conversion of the signal from the high end to the low end, the operational amplifier module includes an integrated operational amplifier U1; A mirror current source amplifier module, used to convert a weak high-end differential current voltage signal mV into a proportionally amplified low-end current voltage signal V, the mirror current source amplifier module comprising a transistor Q2, an amplifying resistor R6, an amplifying voltage divider resistor R9 and an amplifying voltage divider resistor input resistor R10; The output filter module is used to filter out high-frequency noise interference signals and output a working voltage that meets the chip voltage range. The output filter module includes an amplifying voltage-dividing resistor R9 and a filter capacitor C3, which together form an RC filter.

2. The high-end resistor large current discrete device sampling system as claimed in claim 1, characterized in that: In the high-end current input module, the maximum value of the sampling resistor Rs is determined by the allowable power consumption at the maximum current moment, and the minimum value of the sampling resistor Rs is determined by the input range and error budget of the operational amplifier.

3. The high-end resistor large current discrete device sampling system as claimed in claim 1, characterized in that: The high-end current input module also includes an input resistor R1, which is used to convert a current proportional to the high-end current to the low end. The maximum value of the input resistor R1 is determined by the emitter-collector leakage current of the transistor Q2, and the minimum value of the input resistor R1 is determined by the maximum load current and the maximum leakage current power consumption of the transistor Q2.

4. The high-end resistor large current discrete device sampling system as claimed in claim 1, characterized in that: The high-end current input module further includes a current limiting matching resistor R5, and the current limiting matching resistor R5 is used to limit the input current of the operational amplifier when the load RL transient causes voltage fluctuation.

5. The high-end resistor large current discrete device sampling system as claimed in claim 1, characterized in that: The high-end current input module also includes an input offset matching resistor R7 and an input offset matching resistor R8, and the input offset matching resistor R7 and the input offset matching resistor R8 are both used to eliminate and match the errors caused by the offset voltage VOS and the offset current IOS of the operational amplifier, especially when the shunt resistance value and the load current value are low.

6. The high-end resistor large current discrete device sampling system as claimed in claim 1, characterized in that: In the floating power supply module, the value of the current limiter R4 satisfies the minimum operating current of the integrated chip U2, and the values ​​of the voltage divider input resistor R11 and the voltage divider input resistor R12 are selected in a suitable ratio according to the power supply requirements of the operational amplifier.

7. The high-end resistor large current discrete device sampling system as claimed in claim 1, characterized in that: In the mirror current source amplifier module, the amplifier resistor R6 is connected to the transistor Q2 and is used to convert the current signal flowing through the transistor Q2 into a voltage signal with the ground as a reference.

8. The high-end resistor large current discrete device sampling system as claimed in claim 1, characterized in that: In the mirror current source amplifier module, the amplifying voltage divider resistor R9 and the amplifying voltage divider resistor input resistor R10 are respectively connected in parallel to the amplifying resistor R6 and the filter capacitor C3, and are both used to divide the voltage signal, and the output voltage is filtered by the filter capacitor C3 and fed to a device with ground as the reference for further signal processing.

9. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor implements the high-end resistor and large current discrete device sampling system as claimed in any one of claims 1 to 8.

10. A computer device, characterized in that: The system comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor implements the high-end resistor large current discrete device sampling system as claimed in any one of claims 1 to 8.