Sampling circuit and current sampling method

By combining current conversion module, adjustment module and signal conversion module, the problems of large area and high cost of traditional current sampling circuits are solved, and current sampling can be performed without the use of additional resistors and amplifiers, thus reducing circuit area and cost.

CN114124093BActive Publication Date: 2026-03-13EDGELESS SEMICON CO LTD OF ZHUHAI +1
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Traditional current sampling circuits occupy a large area and are expensive, requiring the use of different sampling resistors and amplifiers with adjustable amplification factors.

Method used

The system employs a combination of a current conversion module, a regulation module, and a signal conversion module. The current conversion module converts current into voltage, the regulation module regulates the voltage, and the signal conversion module outputs the target value, thus achieving current sampling.

Benefits of technology

Without using different sampling resistors and amplifiers with adjustable amplification factors, the circuit footprint is reduced, and the cost is lowered.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114124093B_ABST
    Figure CN114124093B_ABST
Patent Text Reader

Abstract

This disclosure relates to a sampling circuit and a current sampling method. The circuit includes a current conversion module, an adjustment module, and a signal conversion module. The first input terminal of the current conversion module is connected to an external current input terminal, and the first output terminal of the current conversion module is connected to the voltage input terminal of the load. The second input terminal of the adjustment module is connected to the first output terminal of the current conversion module, and the second output terminal of the adjustment module is connected to the third input terminal of the signal conversion module. With this circuit, a target voltage can be output using the current conversion module, and then the target voltage can be adjusted by the adjustment module. After that, the target value can be output by the signal conversion module based on the adjusted target voltage to complete sampling. This allows the sampling circuit to be constructed without using different sampling resistors and amplifiers with adjustable amplification factors, reducing the circuit area and lowering the cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of current processing technology, and in particular to a sampling circuit and a current sampling method. Background Technology

[0002] Currently, with the rapid development of science and technology, electronic devices are widely used in industries such as catering, mining, and high technology. Depending on different usage needs, these electronic devices need to have corresponding functions to meet those needs, and the realization of some of these functions requires the participation of chips. Therefore, the updating and improvement of chips has become a crucial issue.

[0003] However, a chip is composed of several circuits that work together to realize its function. Among them, the traditional current sampling circuit uses the current-to-voltage conversion characteristics of the resistor to convert the current signal into a voltage signal and then samples the voltage signal. If the voltage signal is small, an amplifier circuit is needed to amplify the voltage before sampling. This type of circuit will occupy a large area and has high cost because it needs to distinguish the current magnitude and use different sampling resistors and amplifiers with adjustable amplification factors. Summary of the Invention

[0004] In view of this, in order to solve the technical problems of large area occupation and high cost of the above-mentioned circuit, this disclosure provides a sampling circuit and current sampling method.

[0005] In a first aspect, embodiments of this disclosure provide a sampling circuit, the circuit comprising:

[0006] Current conversion module, regulation module, and signal conversion module;

[0007] The first input terminal of the aforementioned current conversion module is connected to an external current input terminal, and the first output terminal of the aforementioned current conversion module is connected to the voltage input terminal of the load.

[0008] The second input terminal of the aforementioned adjustment module is connected to the first output terminal of the aforementioned current conversion module, and the second output terminal of the aforementioned adjustment module is connected to the third input terminal of the aforementioned signal conversion module.

[0009] The current conversion module converts the target current output from the current input terminal to obtain the target voltage. The adjustment module adjusts the target voltage. The signal conversion module outputs the target value based on the adjusted target voltage.

[0010] Optionally, in the circuit of any embodiment of this disclosure, the current conversion module includes a diode;

[0011] The input terminal of the aforementioned diode is used as the first input terminal of the aforementioned current conversion module and connected to an external current input terminal.

[0012] Connect the output terminal of the aforementioned diode to the second input terminal of the aforementioned current conversion module, and then connect the voltage input terminal of the load.

[0013] Optionally, in the circuit of any embodiment of this disclosure, the adjustment module includes: a buffer; the input terminal of the buffer is used as the second input terminal of the adjustment module and connected to the first output terminal of the current conversion module;

[0014] The output terminal of the buffer is used as the second output terminal of the adjustment module and connected to the third input terminal of the signal conversion module.

[0015] Optionally, in any embodiment of the circuit disclosed herein, the signal conversion module includes an analog-to-digital converter;

[0016] The input terminal of the analog-to-digital converter is used as the second output terminal of the adjustment module.

[0017] Optionally, in the circuit of any embodiment of this disclosure, the current conversion module includes: a PNP type triode (a triode into which current flows from the emitter E);

[0018] The emitter terminal of the PNP transistor is used as the first input terminal of the current conversion module and connected to an external current input terminal.

[0019] Connect the base and collector of the PNP transistor to the second input terminal of the current conversion module, and then connect them to the voltage input terminal of the load.

[0020] Optionally, in the circuit of any embodiment of this disclosure, the current conversion module includes: an NPN type triode (a triode from which current flows out from the emitter E);

[0021] The base and collector terminals of the aforementioned NPN transistor are used as the first input terminals of the aforementioned current conversion module and connected to an external current input terminal.

[0022] Connect the emitter terminal of the aforementioned NPN transistor to the second input terminal of the current conversion module, and then connect it to the voltage input terminal of the load.

[0023] Optionally, in the circuit of any embodiment of this disclosure, the current conversion module includes a PMOS transistor (positive channel metal oxidide semiconductor, MOS transistor).

[0024] The source terminal of the PMOS transistor is used as the first input terminal of the current conversion module and connected to an external current input terminal.

[0025] Connect the drain terminal of the PMOS transistor to the second input terminal of the current conversion module, and then connect it to the voltage input terminal of the load.

[0026] Secondly, embodiments of this disclosure provide a sampling method, the method comprising:

[0027] The target current input at the first input terminal is converted into the target voltage and output at the first output terminal to the second input terminal, wherein the second input terminal is connected to the first output terminal;

[0028] The target voltage input at the second input terminal is adjusted and then output from the second output terminal to the third input terminal, wherein the third input terminal is connected to the second output terminal.

[0029] The target voltage, after adjustment and processing, input from the third input terminal is converted into a signal and the target value is output.

[0030] Optionally, in any embodiment of the method disclosed herein, the conversion of the target current input at the first input terminal into the target voltage and output at the first output terminal includes:

[0031] The input target current is converted into the target voltage using a diode;

[0032] The above-mentioned adjustment and processing of the target voltage input to the second input terminal and output at the second output terminal includes:

[0033] The target voltage is adjusted to prevent interference using a buffer.

[0034] The adjusted target voltage is converted from analog to digital using an analog-to-digital converter and then output as the target value.

[0035] Optionally, in any embodiment of the method disclosed herein, after converting the adjusted target voltage input from the third input terminal into a signal and outputting the target value, the method further includes:

[0036] The magnitude of the target current corresponding to the above target value is determined from the correlation relationship, wherein the above correlation relationship stores multiple different sets of numerical values ​​and current correspondences.

[0037] The sampling circuit provided in this embodiment first connects to an external current input terminal via the first input terminal of the current conversion module, and connects to the voltage input terminal of the load via the first output terminal of the current conversion module. The current conversion module converts the target current output from the current input terminal to obtain a target voltage. Then, the second input terminal of the adjustment module is connected to the first input terminal of the current conversion module, and the adjustment module adjusts the target voltage. Finally, the second output terminal of the adjustment module is connected to the third input terminal of the signal conversion module, and the signal conversion module outputs a target value based on the adjusted target voltage. This circuit achieves sampling by using a current conversion module to output a target voltage, adjusting the target voltage using an adjustment module, and then using a signal conversion module to output a target value based on the adjusted target voltage. This allows for the construction of a sampling circuit without using different sampling resistors and amplifiers with adjustable amplification factors, reducing circuit area and cost. Attached Figure Description

[0038] Figure 1 This is a schematic diagram of a sampling circuit provided in an embodiment of the present disclosure;

[0039] Figure 2 This is a schematic diagram of another sampling circuit provided in an embodiment of the present disclosure;

[0040] Figure 3 This is a schematic diagram of another sampling circuit provided in an embodiment of the present disclosure;

[0041] Figure 4 A schematic flowchart of a sampling method is provided in this embodiment;

[0042] Figure 5 A graph illustrating the current-voltage conversion characteristics provided in an embodiment of this disclosure. Detailed Implementation

[0043] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps set forth in these embodiments do not limit the scope of the present disclosure.

[0044] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of this disclosure are only used to distinguish different steps, devices or modules, and do not represent any specific technical meaning, nor do they indicate the logical order between them.

[0045] It should also be understood that in the embodiments disclosed herein, "a plurality of" may refer to two or more, and "at least one" may refer to one, two or more.

[0046] It should also be understood that any component, data or structure mentioned in the embodiments of this disclosure can generally be understood as one or more unless expressly defined or given to the contrary in the context.

[0047] Furthermore, the term "and / or" in this disclosure is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this disclosure generally indicates that the preceding and following related objects have an "or" relationship.

[0048] It should also be understood that the description of the various embodiments in this disclosure emphasizes the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, they will not be described in detail.

[0049] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use.

[0050] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.

[0051] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.

[0052] It should be noted that, unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other. To facilitate understanding of the embodiments of this disclosure, the disclosure will be described in detail below with reference to the accompanying drawings and embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.

[0053] Figure 1 This is a schematic diagram of a sampling circuit provided in an embodiment of the present disclosure, such as... Figure 1 As shown, the sampling circuit specifically includes:

[0054] Current conversion module 10, regulation module 20 and signal conversion module 30;

[0055] The first input terminal of the current conversion module 10 is connected to an external current input terminal, and the first output terminal of the current conversion module 10 is connected to the voltage input terminal of the load.

[0056] The second input terminal of the adjustment module 20 is connected to the first input terminal of the current conversion module 10, and the second output terminal of the adjustment module 20 is connected to the third input terminal of the signal conversion module 30.

[0057] The current conversion module 10 converts the target current input at the current input terminal to obtain the target voltage, the adjustment module 20 adjusts the target voltage, and the signal conversion module 30 outputs the target value based on the adjusted target voltage.

[0058] Furthermore, the current conversion module 10 converts the current input at the first input terminal and outputs a voltage at the first output terminal to provide the voltage for the signal conversion module 30 to perform signal conversion, and the adjustment module 20 adjusts the voltage output by the current conversion module 10 to prevent interference with the input source of the signal conversion module 30.

[0059] The target value output process can be as follows: the target current is input through the first input terminal of the current conversion module 10, the current conversion module 10 converts the target current into a target voltage, and outputs the target voltage through the first output terminal; the target voltage is input to the adjustment module 20 through the second input terminal connected to the first output terminal, the adjustment module 20 adjusts the target voltage to obtain the adjusted target voltage, and outputs the adjusted target voltage through the second output terminal; the adjusted target voltage is input to the signal conversion module 30 through the third input terminal connected to the second output terminal, the signal conversion module 30 processes the adjusted target voltage to obtain the target value.

[0060] The sampling circuit provided in this embodiment can achieve sampling by using a current conversion module to output a target voltage, then using an adjustment module to adjust the target voltage, and finally using a signal conversion module to output a target value based on the adjusted target voltage. This allows the sampling circuit to be constructed without using different sampling resistors and amplifiers with adjustable amplification factors, thereby reducing the circuit area and lowering the cost.

[0061] Optionally, in this embodiment of the disclosure, the current conversion module includes a diode.

[0062] Optionally, in this embodiment of the disclosure, the adjustment module includes a buffer.

[0063] Optionally, in this embodiment of the present disclosure, the signal conversion module includes an analog-to-digital converter.

[0064] The sampling circuit involved in the embodiments of the present invention will be described below, with the current conversion module as a diode, the adjustment module as a buffer, and the signal conversion module as an analog-to-digital converter.

[0065] Figure 2 A schematic diagram of another sampling circuit provided in an embodiment of this disclosure is shown below. Figure 2 As shown, the sampling circuit specifically includes:

[0066] Diode D1, buffer 21, and analog-to-digital converter 31;

[0067] The input terminal of diode D1 is connected to an external current input terminal, and the output terminal of diode D1 is connected to the voltage input terminal of the load.

[0068] The input terminal of buffer 21 is connected to the input terminal of diode D1, and the output terminal of buffer 21 is connected to the input terminal of analog-to-digital converter 31.

[0069] In this process, diode D1 converts the target current input at the current input terminal to obtain the target voltage, buffer 21 adjusts the target voltage, and analog-to-digital converter 31 outputs the target value based on the adjusted target voltage.

[0070] Furthermore, diode D1 converts the current input at the input terminal into a voltage and outputs a voltage at the output terminal to provide the voltage for signal conversion by analog-to-digital converter 31, and buffer 21 regulates the voltage output by diode D1 to prevent interference with the input source of analog-to-digital converter 31.

[0071] The output process of the target value can be as follows: the target current is input through the input terminal of diode D1, diode D1 converts the target current into the target voltage, and outputs the target voltage at the output terminal; the target voltage is input to buffer 21 through the input terminal of buffer 21 connected to the output terminal of diode D1, buffer 21 adjusts the target voltage to obtain the adjusted target voltage, and outputs the adjusted target voltage at the output terminal; the adjusted target voltage is input to analog-to-digital converter 31 through the input terminal of analog-to-digital converter 31 connected to the output terminal of buffer 21, analog-to-digital converter 31 processes the adjusted target voltage to obtain the target value.

[0072] The sampling circuit provided in this embodiment can realize the conversion of current to voltage using diodes, outputting a target voltage, then adjusting the target voltage using a buffer, and finally using an analog-to-digital converter to output a target value based on the adjusted target voltage to complete sampling. This enables the sampling circuit to be constructed using diodes for current-to-voltage conversion, reducing the circuit area and lowering the cost.

[0073] To better understand the sampling circuit, the following will explain... Figure 3 Please provide a detailed explanation.

[0074] Figure 3This is a schematic diagram of another sampling circuit provided in an embodiment of the present disclosure, such as... Figure 3 As shown, the sampling circuit specifically includes:

[0075] Current conversion module 10, regulation module 20 and signal conversion module 30;

[0076] The current conversion module 10 includes: diode D1;

[0077] The input terminal of diode D1 is connected to an external current input terminal, and the output terminal of diode D1 is connected to the voltage input terminal of the load.

[0078] In this configuration, diode D1 is located at the external current input terminal Iin and the external current output terminal Iout, and the current output terminal Iout is connected to the ground terminal C1.

[0079] The adjustment module 20 includes: an isolation / amplification buffer 21;

[0080] The input terminal of the isolation / amplification buffer 21 is connected to the input terminal of the diode D1, and the output terminal of the isolation / amplification buffer 21 is connected to the input terminal of the analog-to-digital converter 31.

[0081] Among them, the non-inverting terminal of the isolation / amplification buffer 21 is the input terminal input voltage, the inverting terminal is connected to connection point 1, the connection point 1 and connection point 3 are connected to switch K1, the connection point 1 and connection point 2 are connected to switch K2, the connection point 2 is connected to resistor R1 and resistor R2, resistor R1 is connected to ground terminal C4, resistor R2 and connection point 3 are connected to switch K3, and the connection point 3 is connected to voltage output terminal Vin.

[0082] The signal conversion module 30 includes an analog-to-digital converter 31.

[0083] The analog-to-digital converter 31 is connected to ground terminal C2 and ground terminal C3.

[0084] Furthermore, diode D1 converts the target current input at the current input terminal to obtain the target voltage, isolation / amplification buffer 21 adjusts the target voltage, and analog-to-digital converter 31 outputs the target value based on the adjusted target voltage.

[0085] Furthermore, diode D1 converts the current input at the input terminal into a voltage and outputs a voltage at the output terminal to provide the voltage for signal conversion by analog-to-digital converter 31, and isolation / amplification buffer 21 isolates and / or amplifies the voltage output by diode D1 to prevent interference with the input source of analog-to-digital converter 31.

[0086] The target value output process can be as follows: the target current is input through the external current input terminal Iin, and then through the input terminal of diode D1 connected to the external current input terminal. Diode D1 converts the target current into a target voltage and outputs the target voltage at the output terminal. The target voltage is input to the isolation / amplification buffer 21 through the input terminal connected to the output terminal of diode D1. The isolation / amplification buffer 21 isolates and / or amplifies the target voltage to obtain an isolated and / or amplified target voltage, and outputs the isolated and / or amplified target voltage at the output terminal. The isolated and / or amplified target voltage is input to the analog-to-digital converter 31 through the voltage input terminal Vin connected to the output terminal of the isolation / amplification buffer 21. The analog-to-digital converter 31 performs analog-to-digital conversion on the isolated and / or amplified target voltage to obtain the target value.

[0087] As an example, the target current is input through the input terminal Iin, and then through the input terminal of diode D1 connected to the external current input terminal. Diode D1 converts the current into voltage, resulting in a target voltage value of 559mV, which is output at the output terminal of diode D1. The target voltage is input to the isolation / amplification buffer 21 through the input terminal Vin, which is connected to the output terminal of diode D1. When only isolation is required, only the input-output direct connection switch K1 needs to be closed. When amplification is required, the switches K2 connected to the input and resistors and K3 connected to the output are closed. The actual values ​​of the ground-connected resistor R1 and the input-output-connected resistor R2 are adjusted according to the required amplification ratio. When the op-amp gain is large enough, its amplification factor is 1 or higher, which can be taken here. The voltage is amplified by one time, resulting in a target voltage of 1118mV. The isolation / amplification buffer 21 amplifies the target voltage and outputs it at the output terminal. The amplified target voltage is input to the analog-to-digital converter 31 (ADC 31) through the voltage input terminal Vin, which is connected to the output terminal of the isolation / amplification buffer 21. The ADC 31 converts the amplified target voltage into a digital value, which can be 1118. This digital value is determined as the target value. After outputting the target value, the target value is output at the voltage output terminal Vout of the isolation / amplification buffer 21. The MCU (Microcontroller Unit) 41 then queries the data table and calculates the actual current value, which is 100nA. The actual current value is then measured.

[0088] Figure 2 or Figure 3 The diodes in the current conversion module can also be replaced with other electronic components.

[0089] Optionally, in this embodiment of the disclosure, a PNP transistor is used instead of a diode in the current conversion module, that is, the current conversion module includes a PNP transistor.

[0090] Furthermore, the emitter terminal of the PNP transistor is used as the first input terminal of the current conversion module and connected to an external current input terminal; the base and collector terminals of the PNP transistor are used as the second input terminal of the current conversion module and connected to the voltage input terminal of the load.

[0091] Optionally, in this embodiment of the disclosure, an NPN transistor is used instead of a diode in the current conversion module; that is, the current conversion module includes an NPN transistor.

[0092] Furthermore, the base and collector terminals of the aforementioned NPN transistor are used as the first input terminals of the aforementioned current conversion module and connected to an external current input terminal.

[0093] Connect the emitter terminal of the aforementioned NPN transistor to the second input terminal of the current conversion module, and then connect it to the voltage input terminal of the load.

[0094] Optionally, in this embodiment of the disclosure, a PMOS transistor is used instead of a diode in the current conversion module; that is, the current conversion module includes a PMOS transistor.

[0095] Furthermore, the source terminal of the aforementioned PMOS transistor is used as the first input terminal of the aforementioned current conversion module and connected to an external current input terminal.

[0096] Connect the drain terminal of the PMOS transistor to the second input terminal of the current conversion module, and then connect it to the voltage input terminal of the load.

[0097] Depending on the actual needs, the current conversion module mentioned above can be a diode or a PMOS transistor, etc., and no specific limitation is made here.

[0098] Taking the sampling circuit in the above embodiment as an example, the current sampling method will be introduced.

[0099] Figure 4 This disclosure provides a schematic flowchart of a sampling method, as shown in the embodiments below. Figure 4 As shown, it specifically includes:

[0100] Step 401: Convert the target current input at the first input terminal into the target voltage and output it at the first output terminal to the second input terminal, wherein the second input terminal is connected to the first output terminal.

[0101] Specifically, the input target current is converted into the target voltage using a diode.

[0102] In this embodiment of the disclosure, the input terminal of the diode is connected to an external current input terminal. After the current is input at the current input terminal, it is input into the diode through the input terminal of the diode. The diode converts the current into voltage and outputs it at the voltage input terminal connected to the load.

[0103] Step 402: After adjusting the target voltage input at the second input terminal, the voltage is output from the second output terminal to the third input terminal, wherein the third input terminal is connected to the second output terminal.

[0104] Specifically, the target voltage is adjusted to prevent interference using a buffer.

[0105] In this embodiment of the disclosure, the voltage is input from the input terminal of the buffer, and after the buffer adjusts the input voltage, it outputs the adjusted voltage at the output terminal connected to the input terminal of the analog-to-digital converter.

[0106] Step 403: The target voltage after adjustment and processing input from the third input terminal is converted into a signal and the target value is output.

[0107] Specifically, the adjusted target voltage is converted from analog to digital using an analog-to-digital converter and then output as the target value.

[0108] In this embodiment of the disclosure, the adjusted voltage is input through the input terminal of the analog-to-digital converter, which performs analog-to-digital conversion on the input voltage to obtain the actual value.

[0109] Specifically, the magnitude of the target current corresponding to the aforementioned target value is determined from the correlation relationship, wherein the correlation relationship stores multiple different sets of numerical values ​​and current correspondences.

[0110] In this embodiment of the disclosure, the analog-to-digital converter output value is looked up according to the data table to obtain the actual current value. In the data table that has been prepared, the corresponding current value is looked up according to the analog-to-digital converter output value. The data table is prepared in a form where the input current value and the output value of the analog-to-digital converter correspond one-to-one.

[0111] Optionally, in embodiments of this disclosure, the current value can also be calculated from an expression, or obtained by directly measuring or acquiring the diode current-voltage conversion characteristics using an analog-to-digital converter. Figure 5 The figure shows the current-voltage conversion characteristic curve. After tabulation or plotting, MATLAB (matrix & laboratory, a commercial mathematical calculation software) is used to fit the obtained voltage curve to obtain the current / voltage expression, calculate the current value, and then obtain the current value.

[0112] The sampling circuit provided in this embodiment first connects to an external current input terminal through the first input terminal of the current conversion module, and connects to the voltage input terminal of the load through the first output terminal of the current conversion module. The target current output from the current input terminal is converted using the current conversion module to obtain a target voltage. Then, the first output terminal of the current conversion module is connected to the second input terminal of the adjustment module, and the target voltage is adjusted using the adjustment module. Finally, the second output terminal of the adjustment module is connected to the third input terminal of the signal conversion module, and the signal conversion module outputs a target value based on the adjusted target voltage. This circuit achieves sampling by using a current conversion module to output a target voltage, adjusting the target voltage using an adjustment module, and then using a signal conversion module to output a target value based on the adjusted target voltage. This allows for the construction of a sampling circuit without using different sampling resistors and amplifiers with adjustable amplification factors, reducing circuit area and cost.

[0113] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.

[0114] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of this disclosure. It should be understood that the above description is only a specific embodiment of this disclosure and is not intended to limit the scope of protection of this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A sampling circuit, characterized in that, The circuit includes: Current conversion module, regulation module, and signal conversion module; The first input terminal of the current conversion module is connected to an external current input terminal, and the first output terminal of the current conversion module is connected to the voltage input terminal of the load. The second input terminal of the adjustment module is connected to the first input terminal of the current conversion module, and the second output terminal of the adjustment module is connected to the third input terminal of the signal conversion module. The current conversion module converts the target current output from the current input terminal to obtain the target voltage; the adjustment module adjusts the target voltage; and the signal conversion module outputs a target value based on the adjusted target voltage. The adjustment module includes an isolation / amplification buffer, a first switch, a second switch, a third switch, a first resistor, and a second resistor. The non-inverting input of the isolation / amplification buffer serves as the second input of the adjustment module and is connected to the first input of the current conversion module. The inverting input of the isolation / amplification buffer is connected to the first terminals of both the first and second switches. The output of the isolation / amplification buffer is connected to the second terminals of the first and third switches, and the third input of the signal conversion module. The second terminal of the second switch is connected to the first terminals of both the first and second resistors. The second terminal of the third switch is connected to the second terminal of the second resistor. The second terminal of the first resistor is connected to ground. When the adjustment module is in isolation mode, the first switch is closed, and the second and third switches are open; when the adjustment module is in amplification mode, the first switch is open, and the second and third switches are closed.

2. The circuit according to claim 1, characterized in that, The current conversion module includes: a diode, The input terminal of the diode is used as the first input terminal of the current conversion module and connected to an external current input terminal. The output terminal of the diode is used as the first output terminal of the current conversion module and connected to the voltage input terminal of the load.

3. The circuit according to claim 1, characterized in that, The signal conversion module includes: an analog-to-digital converter, Connect the input terminal of the analog-to-digital converter to the second output terminal of the adjustment module.

4. The circuit according to claim 1, characterized in that, The current conversion module includes a PNP transistor. The emitter terminal of the PNP transistor is used as the first input terminal of the current conversion module and connected to an external current input terminal. The base and collector terminals of the PNP transistor are used as the first output terminals of the current conversion module and connected to the voltage input terminals of the load.

5. The circuit according to claim 1, characterized in that, The current conversion module includes an NPN transistor. The base and collector terminals of the NPN transistor are used as the first input terminals of the current conversion module and connected to an external current input terminal. The emitter terminal of the NPN transistor is used as the first output terminal of the current conversion module and connected to the voltage input terminal of the load.

6. A current sampling method, characterized in that, The current sampling method, applied to the sampling circuit according to any one of claims 1-5, comprises: The target current input at the first input terminal is converted into the target voltage and output at the first output terminal to the second input terminal, wherein the second input terminal is connected to the first output terminal; The target voltage input at the second input terminal is regulated and then output at the second output terminal to the third input terminal, wherein the third input terminal is connected to the second output terminal; The target voltage, after adjustment and processing, input from the third input terminal is converted into a signal and the target value is output.

7. The method according to claim 6, characterized in that, The step of converting the target current input at the first input terminal into the target voltage and outputting it at the first output terminal includes: The input target current is converted into the target voltage using a diode; The step of adjusting the target voltage input at the second input terminal and outputting it at the second output terminal includes: The target voltage is adjusted to prevent interference using a buffer; The adjusted target voltage is converted from analog to digital using an analog-to-digital converter and then output as the target value.

8. The method according to claim 6, characterized in that, After converting the adjusted target voltage input from the third input terminal into a signal and outputting the target value, the method further includes: The magnitude of the target current corresponding to the target value is determined from the association relationship, wherein the association relationship stores multiple different sets of correspondences between numerical values ​​and currents.

Citation Information

Patent Citations

  • Analog-digital converter, analog-digital conversion method and integrated circuit chip

    CN103384152A

  • Optical module and detection circuit thereof

    CN103780303A

  • Primary winding resonance wave trough sampling circuit and sampling method

    CN109444524A