Multi-segment tube current sampling system and current sampling method
By connecting series resistors in the X-ray tube current sampling system and adaptively selecting the current sampling branch, the problem of low current sampling accuracy in the prior art is solved, high-precision and wide range of current sampling are achieved, and noise and system are reduced Risk of failure.
Patent Information
- Application Number
- CN202411067675.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-11-22
AI Technical Summary
The existing X-ray tube current sampling scheme is not very accurate when adjusting high voltage voltage and current, making it difficult to meet the requirements of medical diagnostic equipment for image quality and radiation dose, especially in different radiation dose requirements in different human parts.
A multi-segment tube current sampling system is adopted, by connecting n resistors in series at the output end of the current to be sampled, and adaptively selecting according to the output voltage of the current sampling branch, the current sampling branch with the best accuracy is determined to achieve high-precision current sampling.
The sampling accuracy of the X-ray tube current is improved, and the current sampling branch can be adaptively selected according to the actual output current magnitude, reducing the probability of sampling error, reducing noise, extending the system life, and no relay switching is required.
Smart Images

Figure CN119012483A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of X-ray light sources, and in particular to a multi-segment tube current sampling system and a current sampling method. Background Art
[0002] As medical diagnostic equipment has higher and higher requirements for image quality, the stability of the high voltage of the X-ray generator must be greatly improved to ensure the stability of the image brightness. At the same time, medical diagnostic equipment is also constantly reducing the radiation dose of patients to minimize the harm to patients. This requires that X-ray diagnostic equipment can use different radiation doses for different parts of the body, for example, different radiation doses for people of different weights. This places higher requirements on the X-ray generator.
[0003] The radiation dose is determined by the high voltage (kV) of the X-ray generator and the X-ray tube current; essentially, the X-ray generator is required to be able to adjust the high voltage and X-ray tube current within a wide range. It is well known that voltage sampling is relatively easy and it is also easy to achieve wide range and high precision sampling.
[0004] In an X-ray generator, the X-ray tube current ranges from 0.1mA to 300mA, and its current variation range is very large. In order to achieve the purpose of diagnosis while reducing the harm of radiation to the human body, it is very important to accurately sample the X-ray tube current.
[0005] At present, the sampling scheme for X-ray tube current is to select different sampling circuits according to the tube current configured by software, use relays to switch the corresponding sampling circuits to sample the tube current, and then transmit the amplified tube current sampling signal to the control chip.
[0006] The disclosure of the above background technology content is only used to assist in understanding the inventive concept and technical solution of the present invention. It does not necessarily belong to the prior art of the present application, nor does it necessarily provide technical guidance. In the absence of clear evidence that the above content has been disclosed before the filing date of the present application, the above background technology should not be used to evaluate the novelty and creativity of the present application. Summary of the invention
[0007] The purpose of the present invention is to provide a multi-segment tube current sampling system and a current sampling method, which can adaptively select the current sampling branch with the best accuracy as the current current sampling circuit according to the actual output current of the X-ray tube, thereby effectively improving the sampling accuracy of the tube current.
[0008] To achieve the above object, the technical solution adopted by the present invention is as follows:
[0009] A multi-section tube current sampling system comprises n resistors, n current sampling branches and a processor, wherein n is an integer not less than 2; wherein the n resistors are sequentially connected in series to a current output end to be sampled, and one end of the two ends of the n series resistors is configured as a first sampling point, and the other end and a connection point between two adjacent resistors are configured as a second sampling point;
[0010] The first sampling point and any one of the second sampling points are configured as an input end of one of the current sampling branches, and the input voltage of each of the current sampling branches is a first voltage and the output voltage thereof is a second voltage;
[0011] If the first voltage is not less than a preset first voltage threshold, the second voltage is a preset second voltage threshold;
[0012] If the first voltage is less than a preset first voltage threshold, the second voltage is less than the second voltage threshold, and the second voltage matches the first voltage;
[0013] The processor is configured to receive n second voltages and determine that one of the multiple current sampling branches is a current current sampling circuit, including:
[0014] determining a maximum value and a second maximum value of n second voltages;
[0015] If the maximum values of the n second voltages are all smaller than the second voltage threshold, then the current sampling branch with the second voltage as the maximum value is determined to be the current current sampling circuit;
[0016] If the maximum value of the n second voltages is the second voltage threshold, it is determined that the current sampling branch whose second voltage is the second maximum value is the current current sampling circuit.
[0017] Further, any one of the above-mentioned technical solutions or a combination of multiple technical solutions further includes performing a current sampling operation in the following manner:
[0018] Determine that the first sampling point is K0, and sort the plurality of second sampling points into K1, ..., K2, ..., K3, ..., K4, ..., K5, ..., K6, ..., K7, ..., K8, ..., K9, ..., K10, ..., K11, ..., K12, ..., K13, ..., K14, ..., K15, ..., K16, ..., K17, ..., K18, ..., K19, ..., K n , K n is the nth second sampling point;
[0019] Determine the first sampling point K0 and the jth second sampling point K j The current sampling branch at the input end is the jth current sampling branch, where j is a positive integer from 1 to n;
[0020] If the second voltage output by the jth current sampling branch is a preset second voltage threshold, and the second voltages output by the j+1th to nth current sampling branches are less than the preset second voltage threshold, the j+1th current sampling branch is determined to be the current current sampling circuit.
[0021] Further, any one of the above-mentioned technical solutions or a combination of multiple technical solutions further includes performing a current sampling operation in the following manner:
[0022] If the second voltage output by the jth current sampling branch is less than a preset second voltage threshold, and the second voltage output by one or more current sampling branches from the j+1th to the nth current sampling branches is the preset second voltage threshold, current sampling is stopped and / or a prompt message is issued; or,
[0023] If, among the n current sampling branches, there is a subsequent current sampling branch whose output of the second voltage is greater than the second voltage output of the previous current sampling branch, current sampling is stopped and / or a prompt message is issued.
[0024] Further, based on any one of the technical solutions or a combination of multiple technical solutions described above, the current sampling branch includes a voltage sampling module and a voltage dividing module electrically connected in sequence, the input end of the voltage sampling module is configured as the input end of the current sampling branch, the output end of the voltage sampling module is electrically connected to the input end of the voltage dividing module, and the voltage sampling module is configured to collect the first voltage and input it into the voltage dividing module;
[0025] The voltage divider module is configured to divide the first voltage and output it to the processor, including: if the first voltage is not greater than a preset first voltage threshold, the output voltage of the voltage divider module is the first voltage; if the first voltage is greater than the first voltage threshold, the output voltage of the voltage divider module is the first voltage threshold;
[0026] The second voltage threshold is the same as the first voltage threshold.
[0027] Further, based on any one of the technical solutions or a combination of multiple technical solutions described above, the current sampling branch includes a voltage sampling module, a voltage dividing module and a voltage conversion module which are electrically connected in sequence, the input end of the voltage sampling module is configured as the input end of the current sampling branch, the output end of the voltage sampling module is electrically connected to the input end of the voltage dividing module, and the voltage sampling module is configured to collect the first voltage and input it into the voltage dividing module;
[0028] The voltage division module is configured to perform voltage division processing on the first voltage, including: if the first voltage is not greater than a preset first voltage threshold, the output voltage of the voltage division module is the first voltage; if the first voltage is greater than the first voltage threshold, the output voltage of the voltage division module is the first voltage threshold;
[0029] The input end of the voltage conversion module is electrically connected to the output end of the voltage divider module, and the output end thereof is electrically connected to the input end of the processor. The voltage conversion module is configured to convert the output voltage of the voltage divider module into the second voltage.
[0030] Further, based on any one of the technical solutions or a combination of multiple technical solutions mentioned above, the second voltage threshold is different from the first voltage threshold, and the second voltage threshold is not less than an upper limit value of the voltage output by the current output terminal to be sampled.
[0031] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, the number of the n resistors is determined by the following method, including:
[0032] Determine the current sampling range according to the range of the current output by the current output terminal to be sampled, wherein the lower limit value of the current sampling range is not greater than the minimum value of the current output by the current output terminal to be sampled, and the upper limit value of the current sampling range is not less than the maximum value of the current output by the current output terminal to be sampled;
[0033] The current sampling range is divided into a number of continuous current sampling intervals [I0, I1], [I1, I2], ... [I n-1 ,I n ];
[0034] The number of the resistors is determined to be the number of the current sampling intervals.
[0035] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, the resistance value of each resistor in the n resistors is determined by the following method, including:
[0036] Determine the upper limit values I1, ..., I2 of each current sampling interval n ;
[0037] Determine that the first sampling point is K0, and sort the plurality of second sampling points into K1, ..., K2, ..., K3, ..., K4, ..., K5, ..., K6, ..., K7, ..., K8, ..., K9, ..., K10, ..., K11, ..., K12, ..., K13, ..., K14, ..., K15, ..., K16, ..., K17, ..., K18, ..., K19, ..., K n , K n is the nth second sampling point;
[0038] The n resistors are arranged in order from near to far from the first sampling point into R1, ..., R n , Rn is the nth resistor;
[0039] The sum of the resistance values of all resistors between the first sampling point and each of the second sampling points is determined according to the first voltage threshold and the upper limit value of each current sampling interval, and the resistance value of each resistor is calculated, and the calculation formula is:
[0040]
[0041] Among them, I j is the upper limit of the jth current sampling sub-range, j is a positive integer from 1 to n, U p is the first voltage threshold.
[0042] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, the first voltage threshold is not less than the maximum value of the voltage output by the current output terminal to be sampled; or,
[0043] The first voltage threshold is a preset calculated value, which is calculated by: determining the total resistance value of the n resistors, where the total resistance value is the sum of the resistances of the n resistors; and determining the preset first voltage threshold as the product of the total resistance value and the upper limit value of the current sampling range.
[0044] Furthermore, any one of the above-mentioned technical solutions or a combination of multiple technical solutions also includes determining the current output by the current output terminal to be sampled according to the current sampling circuit.
[0045] Further, based on any one of the technical solutions or a combination of multiple technical solutions described above, the number of the current sampling branches is 3, and the current sampling intervals corresponding to the 3 current sampling branches are a continuous first interval, a second interval and a third interval in ascending order;
[0046] The lower limit value of the first interval is not greater than the minimum value of the current output by the current output terminal to be sampled, and the upper limit value of the third interval is not less than the maximum value of the current output by the current output terminal to be sampled.
[0047] Further, based on any one of the technical solutions or a combination of multiple technical solutions mentioned above, the ratio of the upper limit value of the first interval, the upper limit value of the second interval and the upper limit value of the third interval is 1:5:10.
[0048] Further, based on any one of the technical solutions or a combination of multiple technical solutions described above, the maximum value of the output current of the current output end to be sampled is not greater than 250mA, and the minimum value is not greater than 0.1mA, and the first interval is configured as [0.1mA, 30mA], the second interval is [30mA, 150mA], and the third interval is [150mA, 300mA].
[0049] According to another aspect of the present invention, a current sampling method is provided, comprising the following steps:
[0050] n resistors are sequentially connected in series at the output end of the current to be sampled, where n is an integer not less than 2, and one end of the n series resistors is configured as a first sampling point, and the other end and a connection point between two adjacent resistors are configured as a second sampling point;
[0051] The first sampling point and any one of the second sampling points are configured as input ends of a current sampling branch, the input voltage of each current sampling branch is a first voltage, and the output voltage thereof is a second voltage;
[0052] If the first voltage is not less than a preset first voltage threshold, the second voltage is a preset second voltage threshold;
[0053] If the first voltage is less than a preset first voltage threshold, the second voltage is less than the second voltage threshold, and the second voltage matches the first voltage;
[0054] Determining that one of the plurality of current sampling branches is a current current sampling circuit comprises:
[0055] determining a maximum value and a second maximum value of n second voltages;
[0056] If the maximum values of the n second voltages are all smaller than the second voltage threshold, then the current sampling branch with the second voltage as the maximum value is determined to be the current current sampling circuit;
[0057] If the maximum value of the n second voltages is the second voltage threshold, determining that the current sampling branch with the second voltage being the second maximum value is the current current sampling circuit;
[0058] The current sampling circuit is configured to collect the current output by the current output terminal to be sampled.
[0059] Furthermore, any one of the above-mentioned technical solutions or a combination of multiple technical solutions further includes:
[0060] Determine that the first sampling point is K0, and sort the plurality of second sampling points into K1, ..., K2, ..., K3, ..., K4, ..., K5, ..., K6, ..., K7, ..., K8, ..., K9, ..., K10, ..., K11, ..., K12, ..., K13, ..., K14, ..., K15, ..., K16, ..., K17, ..., K18, ..., K19, ..., K n , K n is the nth second sampling point;
[0061] Determine the first sampling point K0 and the jth second sampling point K j The current sampling branch at the input end is the jth current sampling branch, where j is a positive integer from 1 to n;
[0062] If the second voltage output by the jth current sampling branch is a preset second voltage threshold, and the second voltages output by the j+1th to nth current sampling branches are less than the preset second voltage threshold, the jth current sampling branch is determined to be the current current sampling circuit.
[0063] Furthermore, any one of the above-mentioned technical solutions or a combination of multiple technical solutions further includes:
[0064] If the second voltage output by the jth current sampling branch is less than a preset second voltage threshold, and the second voltage output by one or more current sampling branches from the j+1th to the nth current sampling branches is the preset second voltage threshold, current sampling is stopped and / or a prompt message is issued; or,
[0065] If, among the n current sampling branches, there is a subsequent current sampling branch whose output of the second voltage is greater than the second voltage output of the previous current sampling branch, current sampling is stopped and / or a prompt message is issued.
[0066] Further, based on any one of the technical solutions or a combination of multiple technical solutions described above, the current sampling branch includes a voltage sampling module, a voltage dividing module and a voltage conversion module which are electrically connected in sequence, the input end of the voltage sampling module is configured as the input end of the current sampling branch, the output end of the voltage sampling module is electrically connected to the input end of the voltage dividing module, and the voltage sampling module is configured to collect the first voltage and input it into the voltage dividing module;
[0067] The voltage division module is configured to perform voltage division processing on the first voltage, including: if the first voltage is not greater than a preset first voltage threshold, the output voltage of the voltage division module is the first voltage; if the first voltage is greater than the first voltage threshold, the output voltage of the voltage division module is the first voltage threshold;
[0068] The input end of the voltage conversion module is electrically connected to the output end of the voltage dividing module, and the voltage conversion module is configured to convert the output voltage of the voltage dividing module into the second voltage.
[0069] The beneficial effects brought by the technical solution provided by the present invention are as follows:
[0070] a. The present invention connects n resistors in series at the output end of the current to be sampled, and sets one end of the series resistor as the first sampling point, and the connection point between the other end and the adjacent resistor as the second sampling point, sets multiple current sampling branches to respectively collect the output voltage between the first sampling point and any second sampling point, and performs threshold judgment on the output voltage of the current sampling branch. If the output voltages of all current sampling branches are not saturated, the current sampling branch with the largest output voltage is determined to be used for current collection. If there is a current sampling branch with a saturated output voltage, the current sampling branch with the second largest output voltage is determined to be used for current collection. The current sampling branch with the best accuracy can be adaptively selected as the current current sampling circuit according to the actual output current of the X-ray tube, and the ratio is not actively selected according to the exposure parameters. The real current is adaptively selected and accurately reflected completely according to the objective sampling data, which effectively improves the sampling accuracy of the tube current and has a wide sampling range.
[0071] b. The present invention can more accurately determine the current sampling branch with the best accuracy and the most reliability as the current current sampling circuit by comparing the output voltages and the position sequence relationship of multiple current sampling branches, and has a self-checking function, which can automatically determine whether the current sampling system has abnormalities, faults, and other situations that are not suitable for current sampling, thereby reducing the probability of current sampling errors;
[0072] c. The tube current sampling system and method provided by the present invention do not require the use of relays, are small in size, highly reliable, can reduce the noise of the X-ray system, do not require switching relays to meet different sampling requirements, and can increase the life of the sampling system. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0074] Figure 1 A module block diagram of a first multi-segment tube current sampling system provided for an exemplary embodiment of the present invention;
[0075] Figure 2 A module block diagram of a second multi-segment tube current sampling system provided for an exemplary embodiment of the present invention.
[0076] Figure 3 A schematic structural diagram of a multi-segment tube current sampling system provided for an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0077] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0078] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0079] The existing tube current sampling scheme has at least the following deficiencies:
[0080] (1) Relays are required, which are relatively large, resulting in a larger sampling circuit.
[0081] (2) For some applications that require dual-energy switching, there is a problem of frequent switching of relays. On the one hand, there is a sound that can be heard by the human ear and increases the noise of the X-ray system. On the other hand, frequent switching of relays can easily affect the life of the X-ray generator and its sampling circuit;
[0082] (3) The sampling accuracy of the tube current is not high. The sampling circuit of the switching mode formed by two-stage resistors in parallel determines that its sampling accuracy is not high. Take the tube current range of 0.1mA to 250mA as an example, because the operating voltage range of the control chip is 3.3V. For safety reasons, 3V is usually used in practical applications. Two-stage sampling is to divide the entire current range into two sections. In order to ensure the accuracy of the low mA stage, the range of the first section must be relatively small. Suppose it is divided into two sections: 0.1-50mA and 50-300mA. This means that 0.1-50mA corresponds to 0-3V, and 50mA-300mA also corresponds to 0-3V. The first section 50mA corresponds to 3V, and the second section 300mA also corresponds to 3V; it is obvious that the resolution of the two sections is different, and the final result is that the tube current sampling accuracy is different.
[0083] Based on the above deficiencies of the prior art, the present application proposes a multi-segment tube current sampling system, which does not require the use of relays. By setting current sampling branches, it is possible to adaptively select the current sampling branch with the best accuracy as the current current sampling circuit according to the actual output current of the X-ray tube, which can not only realize a wide range of tube current sampling, but also effectively improve the sampling accuracy of the tube current.
[0084] In one embodiment of the present invention, a multi-segment tube current sampling system is provided. Figure 1 and Figure 2 The multi-segment tube current sampling system includes n resistors, n current sampling branches and a processor, where n is an integer not less than 2; wherein the n resistors are sequentially connected in series to the current output end to be sampled, i.e., the tube current sampling end, and the two ends of the n series resistors, one of which is configured as a first sampling point, and the other end and the connection point between two adjacent resistors are configured as a second sampling point; a method for determining the first sampling point and the second sampling point is as follows: Figure 1 As shown, the first end of the n series resistors, that is, the end away from the current output end to be sampled, is the first sampling point, and the connection point of two adjacent resistors and the current output end to be sampled is the second sampling point; another example is Figure 2 As shown, the current output end to be sampled, i.e., the second end of the n series resistors, is the first sampling point, and the connection point of two adjacent resistors and the first end of the n series resistors are the second sampling point;
[0085] The first sampling point and any one of the second sampling points are configured as an input end of the current sampling branch, the input voltage of each current sampling branch is the first voltage, and the output voltage thereof is the second voltage; that is, each current sampling branch is configured to collect the voltage between the first sampling point and the second sampling point, that is, the first voltage, and judge and process the first voltage to output it as the second voltage, and the current sampling branch judges and processes the first voltage in the following manner:
[0086] If the first voltage is not less than a preset first voltage threshold, the second voltage is a preset second voltage threshold;
[0087] If the first voltage is less than a preset first voltage threshold, the second voltage is less than the second voltage threshold, and the second voltage matches the first voltage;
[0088] The processor is configured to receive n second voltages and determine that one of the multiple current sampling branches is a current current sampling circuit, including:
[0089] determining a maximum value and a second maximum value of n second voltages;
[0090] If the maximum values of the n second voltages are all smaller than the second voltage threshold, then the current sampling branch with the second voltage as the maximum value is determined to be the current current sampling circuit;
[0091] If the maximum value of the n second voltages is the second voltage threshold, it is determined that the current sampling branch whose second voltage is the second maximum value is the current current sampling circuit.
[0092] The magnitude of the current outputted by the current output terminal to be sampled is determined according to the current sampling circuit.
[0093] Preferably, the tube current sampling operation is further performed using the multi-segment tube current sampling system in the following manner.
[0094] Determine that the first sampling point is K0, and sort the plurality of second sampling points into K1, ..., K2, ..., K3, ..., K4, ..., K5, ..., K6, ..., K7, ..., K8, ..., K9, ..., K10, ..., K11, ..., K12, ..., K13, ..., K14, ..., K15, ..., K16, ..., K17, ..., K18, ..., K19, ..., K n , K n is the nth second sampling point;
[0095] Determine the first sampling point K0 and the jth second sampling point K j The current sampling branch at the input end is the jth current sampling branch, where j is a positive integer from 1 to n.
[0096] If the second voltage output by the jth current sampling branch is the preset second voltage threshold, and the second voltages output by the j+1th to nth current sampling branches are all less than the preset second voltage threshold, then the j+1th current sampling branch is determined to be the current current sampling circuit. In this embodiment, it is determined that the second voltage output by the 1st to jth current sampling branches is a saturated voltage, and the second voltage output by the j+1th to nth current sampling branches is an unsaturated voltage, which indicates that the j+1th current sampling branch is the current sampling branch with the highest sampling accuracy, and on the other hand, it also indicates that the current multi-segment tube current sampling system is working normally.
[0097] If the second voltage output by the jth current sampling branch is less than the preset second voltage threshold, and the second voltage output by one or more of the current sampling branches in the j+1th to nth current sampling branches is the preset second voltage threshold, current sampling is stopped and / or a prompt message is issued. When the second voltage output by the jth current sampling branch is not saturated, if the output voltage of one or more of the current sampling branches in the j+1th to nth current sampling branches is saturated, it means that the multi-stage tube current sampling system is working abnormally, has a fault, or the interference signal is too large, etc., and the current sampling should be stopped and an error or alarm message should be prompted.
[0098] More preferably, in this embodiment, it is also possible to compare whether there is a current sampling branch in the n current sampling branches whose output voltage is greater than the output voltage of the current sampling branch before it. If there is, it means that the multi-stage tube current sampling system is working abnormally, has a fault, or the interference signal is too large, and the current sampling should be stopped and an error or alarm message should be prompted. If there is no current sampling, the current sampling operation can be performed in the above manner.
[0099] In one embodiment of the present invention, in the multi-segment tube current sampling system, each of the current sampling branches does not include Figure 1 The voltage conversion module shown in, in this embodiment, the current sampling branch includes a voltage sampling module and a voltage dividing module electrically connected in sequence, the input end of the voltage sampling module is configured as the input end of the current sampling branch, the output end of the voltage sampling module is electrically connected to the input end of the voltage dividing module, and the voltage sampling module is configured to collect the first voltage and input it into the voltage dividing module.
[0100] The output end of the voltage divider module is configured as the output end of the current sampling branch, and the voltage divider module is configured to divide the first voltage and output it to the processor, including: if the first voltage is not greater than a preset first voltage threshold, the output voltage of the voltage divider module is the first voltage, and the second voltage is the first voltage at this time; if the first voltage is greater than the first voltage threshold, the output voltage of the voltage divider module is the first voltage threshold, and the second voltage is the first voltage threshold at this time. In this embodiment, the second voltage threshold is the same as the first voltage threshold.
[0101] In another embodiment of the present invention, in the multi-segment tube current sampling system, each of the current sampling branches further includes Figure 1 In this embodiment, the current sampling branch includes a voltage sampling module, a voltage dividing module and a voltage conversion module which are electrically connected in sequence, the input end of the voltage sampling module is configured as the input end of the current sampling branch, the output end of the voltage sampling module is electrically connected to the input end of the voltage dividing module, and the voltage sampling module is configured to collect the first voltage and input it into the voltage dividing module.
[0102] The voltage divider module is configured to perform voltage division processing on the first voltage, including: if the first voltage is not greater than a preset first voltage threshold, the output voltage of the voltage divider module is the first voltage; if the first voltage is greater than the first voltage threshold, the output voltage of the voltage divider module is the first voltage threshold.
[0103] The input end of the voltage conversion module is electrically connected to the output end of the voltage divider module, and the output end thereof is electrically connected to the input end of the processor. The voltage conversion module is configured to convert the output voltage of the voltage divider module into the second voltage.
[0104] In this embodiment, the second voltage threshold is different from the first voltage threshold, and the second voltage threshold is preferably the upper limit value of the voltage output by the current output terminal to be sampled. Preferably, the first voltage threshold is greater than the second voltage threshold. More preferably, the first voltage threshold is 2 times, 3 times or 4 times the second voltage threshold, which can further improve the sampling accuracy of the tube current.
[0105] For the multi-segment tube current sampling system described in any of the above embodiments, the parameters of the system can be directly selected and determined based on experience, and the parameters include the number of the n resistors, the resistance value of each resistor, the first voltage threshold and the second voltage threshold, etc. It is also possible to predetermine multiple groups of the parameters based on experience, and compare the optimal groups of the multiple groups of the parameters by means of experiments or simulations. The tube current sampling accuracy, sampling width and cost of the multi-segment tube current sampling system corresponding to the optimal group are optimal, and the parameters corresponding to the optimal group are applied to the multi-segment tube current sampling system. Of course, the sampling widths of multiple groups of parameters can also be the same, and the optimal group can be determined by comprehensive consideration of both sampling accuracy and system cost.
[0106] There are many ways to evaluate the optimal comprehensive tube current sampling accuracy, sampling width and cost of the multi-segment tube current sampling system. For example, an evaluation function is defined to normalize the sampling accuracy, sampling width and cost respectively and map them to values in the range of [0,1]. The evaluation function calculation formula is as follows:
[0107]
[0108] Among them, x is the tube current sampling accuracy, y is the tube current sampling width, and z is the cost of the multi-segment tube current sampling system. is the value after normalization of x, and the larger the x, the The bigger, is the value after normalization of y, and the larger y is, the The bigger, is the value after normalization of z, and the larger z is, the The smaller the value of f(x, y, z), the better the parameter.
[0109] In one embodiment of the present invention, a method for determining parameters of the multi-segment tube current sampling system by calculation based on the range of tube current is proposed.
[0110] In this embodiment, the number of the n resistors is determined by the following method, including:
[0111] The current sampling range is determined according to the range of the current output by the current output terminal to be sampled, that is, the tube current range, wherein the lower limit value of the current sampling range is not greater than the minimum value of the current output by the current output terminal to be sampled, and the upper limit value of the current sampling range is not less than the maximum value of the current output by the current output terminal to be sampled; for example, the tube current range is [0.1mA, 250mA], and the current sampling range is determined to be [0.1mA, 300mA];
[0112] The current sampling range is divided into a number of continuous current sampling intervals [I0, I1], [I1, I2], ... [I n-1 ,I n ];
[0113] The number of the resistors is determined to be the number of the current sampling intervals, that is, if the current sampling range is divided into 3 consecutive current sampling intervals, 3 resistors are connected in series at the output end of the tube current; if the current sampling range is divided into 4 consecutive current sampling intervals, 4 resistors are connected in series at the output end of the tube current.
[0114] In this embodiment, the resistance value of each resistor in the n resistors is further determined by the following method, including:
[0115] Determine the upper limit values I1, ..., I2 of each current sampling interval n ;
[0116] Determine that the first sampling point is K0, and sort the plurality of second sampling points into K1, ..., K2, ..., K3, ..., K4, ..., K5, ..., K6, ..., K7, ..., K8, ..., K9, ..., K10, ..., K11, ..., K12, ..., K13, ..., K14, ..., K15, ..., K16, ..., K17, ..., K18, ..., K19, ..., K n , K n is the nth second sampling point;
[0117] The n resistors are arranged in order from near to far from the first sampling point into R1, ..., R n , R n is the nth resistor;
[0118] The sum of the resistance values of all resistors between the first sampling point and each of the second sampling points is determined according to the first voltage threshold and the upper limit value of each current sampling interval, and the resistance value of each resistor is calculated, and the calculation formula is:
[0119]
[0120] Among them, I j is the upper limit of the jth current sampling sub-range, j is a positive integer from 1 to n, U p is the first voltage threshold.
[0121] The first voltage threshold is not less than the maximum value of the voltage output by the current output terminal to be sampled. For example, if the maximum value of the voltage output by the current output terminal to be sampled is 3V, the first voltage threshold is a value greater than 3V, preferably 15V.
[0122] In another embodiment of the present invention, if the resistance values of the n resistors and the resistance values of each resistor are determined based on experience, experimental comparison, simulation, etc., then the first voltage threshold is preferably determined as the product of the total resistance value and the upper limit value of the current sampling range, and the total resistance value is the sum of the resistances of the n resistors.
[0123] In one embodiment of the present invention, the number of the current sampling branches is 3, and the current sampling intervals corresponding to the 3 current sampling branches are a continuous first interval, a second interval, and a third interval in order from small to large; the lower limit value of the first interval is not greater than the minimum value of the current output by the current output terminal to be sampled, and the upper limit value of the third interval is not less than the maximum value of the current output by the current output terminal to be sampled. Preferably, the ratio of the upper limit value of the first interval, the upper limit value of the second interval, and the upper limit value of the third interval is 1:5:10.
[0124] In a specific embodiment of the present invention, the maximum value of the output current of the current output terminal to be sampled, i.e., the tube current, is not greater than 250mA, and the minimum value of the tube current is not greater than 0.1mA. In this embodiment, the multi-segment tube current sampling system adopts three-segment sampling, and the first interval is configured as [0.1mA, 30mA], the second interval is [30mA, 150mA], and the third interval is [150mA, 300mA].
[0125] Three resistors R1, R2 and R3 are connected in series at the tube current output end, where R1+R2+R3 corresponds to the sampling interval [0.1mA, 30mA]; R1+R2 corresponds to the sampling interval [30mA, 150mA], and R1 corresponds to the sampling interval [150mA, 300mA].
[0126] During the tube current sampling process, three sets of data can be obtained in real time. It can be seen that 0.1-25mA corresponds to 0-3V, 25-150mA corresponds to 0-3V, and 150-250mA also corresponds to 0-3V; it can be seen that in each current range, the current accuracy is very high, which fundamentally improves the sampling accuracy of the tube current; and the sampling relay does not need to be switched during the sampling process of this system.
[0127] The three sets of sampling data will be transmitted to the control chip (processor), and the chip will adaptively select the most accurate sampling interval to obtain the current tube current according to the sampling value. Figure 2 Give an example.
[0128] See also Figure 2 , if the output current of the current output terminal to be sampled, i.e. the tube current, is 1mA, then:
[0129] After passing through the A sampling circuit, the voltage at A1 is 0.5V, and after voltage division, the voltage at A2 is 0.3V;
[0130] After passing through the B sampling circuit, the voltage at B1 is 0.1V, and after voltage division, the voltage at B2 is 0.02V;
[0131] After passing through the C sampling circuit, the voltage at C1 is 0.05V, and after voltage division, the voltage at C2 is 0.01V;
[0132] When the voltages of A2, B2, and C2 are sent to the DSP, the three voltages will be judged. Although the voltages of the three channels are different, the voltages of channels B and C are very small. However, the software can also judge that the three channels are all 1mA, and will choose to use channel A with a more reasonable range; the signals of channels B and C are very small, and it is likely that the signals are about the same size as the noise, and are easily interfered by the noise, resulting in inaccurate sampling values.
[0133] See also Figure 3 , if the output current of the current output terminal to be sampled, i.e. the tube current, is 11mA, then:
[0134] After passing through the A sampling circuit, the voltage at A1 is 5.5V, and after voltage division, the voltage at A2 is 1.1V;
[0135] After passing through the B sampling circuit, the voltage at B1 is 1.1V, and after voltage division, the voltage at B2 is 0.22V;
[0136] After passing through the C sampling circuit, the voltage at C1 is 0.55V, and after voltage division, the voltage at C2 is 0.11V;
[0137] When the voltages of A2, B2, and C2 are sent to the DSP, the three voltages will be judged. Although the voltages of the three channels are different, the voltages of channels B and C are very small. However, the software can also judge that the three channels are all 11mA, and will choose to use channel A with a more reasonable range; the signals of channels B and C are very small, and it is likely that the signals are about the same size as the noise, and are easily interfered by noise. This causes inaccurate sampling values. Here, it can also be found that the actual voltage signal of channel C is equivalent to the number after the decimal point of the value of channel A.
[0138] See also Figure 3, if the output current of the current output terminal to be sampled, i.e. the tube current, is 111mA, then:
[0139] After passing through the A sampling circuit, the voltage at A1 is 15V, and after voltage division, the voltage at A2 is 3V;
[0140] After passing through the B sampling circuit, the voltage at B1 is 11.1V, and after voltage division, the voltage at B2 is 2.22V;
[0141] After the C sampling circuit, the voltage at C1 is 5.5V, and after voltage division, the voltage at C2 is 1.1V;
[0142] When the voltages of A2, B2, and C2 are sent to the DSP, the three voltages will be judged. By observing the signal sent to the SDP by channel A, it will be found that the signal of channel A is saturated, which means it exceeds 30mA. Then the signal of channel A cannot be used. At this time, you can choose between channel B and channel C. If channel B is not saturated, choose channel B with a larger signal to get a more accurate current value.
[0143] See also Figure 3 , if the output current of the current output terminal to be sampled, i.e. the tube current, is 211mA, then:
[0144] After passing through the A sampling circuit, the voltage at A1 is 15V, and after voltage division, the voltage at A2 is 3V;
[0145] After passing through the B sampling circuit, the voltage at B1 is 15V, and after voltage division, the voltage at B2 is 3V;
[0146] After the C sampling circuit, the voltage at C1 is 10.5V, and after voltage division, the voltage at C2 is 2.11V;
[0147] When the A2, B2, and C2 voltages are sent to the DSP, the three voltages will be judged. By observing the signals sent to the DSP from A and B, it will be found that the signals from A and B are saturated, which means they exceed 30mA and 150mA, respectively. The signals from A and B cannot be used. At this time, the C signal is selected to obtain a more accurate large current value.
[0148] In the current sampling process of the above multi-stage tube current sampling system, the logic involved in the software can be expressed as:
[0149] As long as the A-channel signal does not reach 3V, it means that the current is less than 30mA, and the signal sampled by the A-channel sampling circuit is selected;
[0150] If the A channel signal reaches 3V and is saturated, and the B channel is not saturated, it means that the current is greater than 30mA and less than 150mA, and the sampling signal of the B channel is used;
[0151] If path A is saturated and path B is also saturated, it means that the current exceeds 150mA, and path C is used to sample the signal.
[0152] On this basis, the following prompts or error reporting methods are added to determine whether there is a problem with the sampling circuit or a large interference in the working environment. Specifically, if any of the following situations occurs:
[0153] A is not saturated, B is saturated, C is saturated;
[0154] A is not saturated, B is saturated, C is not saturated;
[0155] A is not saturated, B is not saturated, C is saturated;
[0156] A is saturated, B is not saturated, C is saturated;
[0157] This means that there is a problem with the circuit, or that there is a lot of interference in the working environment, and the system sends a prompt signal or an error signal.
[0158] In this embodiment, the system has a redundant protection function. Even if there is an open circuit in the subsequent circuit of the sampling resistor of one or more current sampling branches, the other current sampling branches that are working normally are not affected. For example, in certain specific cases, there are problems with both A and B, such as A and B are open at the same time. It should be noted that the open circuit here does not refer to the sampling resistor being open, but to a circuit part after the sampling resistor being open, such as the voltage sampling module or voltage divider module on A or B cannot work normally if it is open. Then a separate C channel can be used to independently undertake the sampling of the entire range. Although the accuracy cannot reach the expected accuracy, it can at least ensure that the tube current sampling current can work.
[0159] Based on the above analysis, it can be seen that the multi-segment tube current sampling system provided by the present invention is based on the idea of multi-segment sampling. Through multi-segment sampling, the sampling branch with the best accuracy is adaptively selected for tube current sampling, which can improve accuracy, especially for small currents (mA level). Based on the multi-segment sampling concept provided by the present invention and the objective judgment mechanism of the system based on the actual tube current, the current sampling efficiency is high, the range is wide and the accuracy is high. Moreover, based on the voltage values of each sampling branch, it is assisted in judging whether there is a problem with the sampling system, and it has a self-diagnosis function, which can improve the reliability of tube current detection. The present invention does not require a sampling relay, has a small size, low noise and a long service life. And the sampling branch with the largest range can be used for tube current sampling, so that the system sampling circuit has a redundant protection function.
[0160] In one embodiment of the present invention, a current sampling method is provided, comprising the following steps:
[0161] n resistors are sequentially connected in series at the output end of the current to be sampled, where n is an integer not less than 2, and one end of the n series resistors is configured as a first sampling point, and the other end and a connection point between two adjacent resistors are configured as a second sampling point;
[0162] The first sampling point and any one of the second sampling points are configured as input ends of a current sampling branch, the input voltage of each current sampling branch is a first voltage, and the output voltage thereof is a second voltage;
[0163] If the first voltage is not less than a preset first voltage threshold, the second voltage is a preset second voltage threshold;
[0164] If the first voltage is less than a preset first voltage threshold, the second voltage is less than the second voltage threshold, and the second voltage matches the first voltage;
[0165] Determining that one of the plurality of current sampling branches is a current current sampling circuit comprises:
[0166] determining a maximum value and a second maximum value of n second voltages;
[0167] If the maximum values of the n second voltages are all smaller than the second voltage threshold, then the current sampling branch with the second voltage as the maximum value is determined to be the current current sampling circuit;
[0168] If the maximum value of the n second voltages is the second voltage threshold, determining that the current sampling branch with the second voltage being the second maximum value is the current current sampling circuit;
[0169] The current sampling circuit is configured to collect the current output by the current output terminal to be sampled.
[0170] In this embodiment, the current sampling method further includes:
[0171] Determine that the first sampling point is K0, and sort the plurality of second sampling points into K1, ..., K2, ..., K3, ..., K4, ..., K5, ..., K6, ..., K7, ..., K8, ..., K9, ..., K10, ..., K11, ..., K12, ..., K13, ..., K14, ..., K15, ..., K16, ..., K17, ..., K18, ..., K19, ..., K n , K n is the nth second sampling point;
[0172] Determine the first sampling point K0 and the jth second sampling point K j The current sampling branch at the input end is the jth current sampling branch, where j is a positive integer from 1 to n;
[0173] If the second voltage output by the jth current sampling branch is a preset second voltage threshold, and the second voltages output by the j+1th to nth current sampling branches are less than the preset second voltage threshold, the jth current sampling branch is determined to be the current current sampling circuit.
[0174] More preferably, the current sampling method is also provided with an automatic fault monitoring and error reporting function, including:
[0175] If the second voltage output by the jth current sampling branch is less than a preset second voltage threshold, and the second voltage output by one or more current sampling branches from the j+1th to the nth current sampling branches is the preset second voltage threshold, current sampling is stopped and / or a prompt message is issued; or,
[0176] If, among the n current sampling branches, there is a subsequent current sampling branch whose output of the second voltage is greater than the second voltage output of the previous current sampling branch, current sampling is stopped and / or a prompt message is issued.
[0177] In this embodiment, the current sampling branch includes a voltage sampling module, a voltage dividing module and a voltage conversion module which are electrically connected in sequence, the input end of the voltage sampling module is configured as the input end of the current sampling branch, the output end of the voltage sampling module is electrically connected to the input end of the voltage dividing module, and the voltage sampling module is configured to collect the first voltage and input it into the voltage dividing module;
[0178] The voltage division module is configured to perform voltage division processing on the first voltage, including: if the first voltage is not greater than a preset first voltage threshold, the output voltage of the voltage division module is the first voltage; if the first voltage is greater than the first voltage threshold, the output voltage of the voltage division module is the first voltage threshold;
[0179] The input end of the voltage conversion module is electrically connected to the output end of the voltage dividing module, and the voltage conversion module is configured to convert the output voltage of the voltage dividing module into the second voltage.
[0180] It should be noted that the above-mentioned current sampling method embodiment and the multi-segment tube current sampling system embodiment belong to the same inventive concept, and the entire content of the multi-segment tube current sampling system embodiment is incorporated into the current sampling method embodiment by reference.
[0181] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0182] The above is only a specific implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A multi-stage tube current sampling system, characterized in that: The device comprises n resistors, n current sampling branches and a processor, wherein n is an integer not less than 2; wherein the n resistors are sequentially connected in series to the output end of the current to be sampled, and two ends of the n series resistors, one end of which is configured as a first sampling point, and the other end and the connection point between two adjacent resistors are configured as a second sampling point; The first sampling point and any one of the second sampling points are configured as an input end of one of the current sampling branches, and the input voltage of each of the current sampling branches is a first voltage and the output voltage thereof is a second voltage; If the first voltage is not less than a preset first voltage threshold, the second voltage is a preset second voltage threshold; If the first voltage is less than a preset first voltage threshold, the second voltage is less than the second voltage threshold, and the second voltage matches the first voltage; The processor is configured to receive n second voltages and determine that one of the multiple current sampling branches is a current current sampling circuit, including: determining a maximum value and a second maximum value of n second voltages; If the maximum values of the n second voltages are all smaller than the second voltage threshold, then the current sampling branch with the second voltage as the maximum value is determined to be the current current sampling circuit; If the maximum value of the n second voltages is the second voltage threshold, it is determined that the current sampling branch whose second voltage is the second maximum value is the current current sampling circuit.
2. The multi-segment tube current sampling system according to claim 1, characterized in that: It also includes current sampling operations through the following methods: Determine that the first sampling point is K0, and sort the plurality of second sampling points into K1, ..., K2, ..., K3, ..., K4, ..., K5, ..., K6, ..., K7, ..., K8, ..., K9, ..., K10, ..., K11, ..., K12, ..., K13, ..., K14, ..., K15, ..., K16, ..., K17, ..., K18, ..., K19, ..., K n , K n is the nth second sampling point; Determine the first sampling point K0 and the jth second sampling point K j The current sampling branch at the input end is the jth current sampling branch, where j is a positive integer from 1 to n; If the second voltage output by the jth current sampling branch is a preset second voltage threshold, and the second voltages output by the j+1th to nth current sampling branches are less than the preset second voltage threshold, the j+1th current sampling branch is determined to be the current current sampling circuit.
3. The multi-segment tube current sampling system according to claim 2, characterized in that: It also includes current sampling operations through the following methods: If the second voltage output by the j-th current sampling branch is less than a preset second voltage threshold, and the second voltage output by one or more of the current sampling branches from the j+1th to the n-th current sampling branches is the preset second voltage threshold, current sampling is stopped and / or a prompt message is issued; or, If, among the n current sampling branches, there is a subsequent current sampling branch whose output of the second voltage is greater than the second voltage output of the previous current sampling branch, current sampling is stopped and / or a prompt message is issued.
4. The multi-segment tube current sampling system according to any one of claims 1 to 3, characterized in that: The current sampling branch comprises a voltage sampling module and a voltage dividing module which are electrically connected in sequence, the input end of the voltage sampling module is configured as the input end of the current sampling branch, the output end of the voltage sampling module is electrically connected to the input end of the voltage dividing module, and the voltage sampling module is configured to collect the first voltage and input it into the voltage dividing module; The voltage division module is configured to divide the first voltage and output it to the processor, including: if the first voltage is not greater than a preset first voltage threshold, the output voltage of the voltage division module is the first voltage; If the first voltage is greater than the first voltage threshold, the output voltage of the voltage divider module is the first voltage threshold; The second voltage threshold is the same as the first voltage threshold.
5. The multi-segment tube current sampling system according to any one of claims 1 to 3, characterized in that: The current sampling branch comprises a voltage sampling module, a voltage dividing module and a voltage conversion module which are electrically connected in sequence, the input end of the voltage sampling module is configured as the input end of the current sampling branch, the output end of the voltage sampling module is electrically connected to the input end of the voltage dividing module, and the voltage sampling module is configured to collect the first voltage and input it into the voltage dividing module; The voltage division module is configured to perform voltage division processing on the first voltage, including: if the first voltage is not greater than a preset first voltage threshold, the output voltage of the voltage division module is the first voltage; If the first voltage is greater than the first voltage threshold, the output voltage of the voltage divider module is the first voltage threshold; The input end of the voltage conversion module is electrically connected to the output end of the voltage divider module, and the output end thereof is electrically connected to the input end of the processor. The voltage conversion module is configured to convert the output voltage of the voltage divider module into the second voltage.
6. The multi-segment tube current sampling system according to claim 5, characterized in that: The second voltage threshold is different from the first voltage threshold, and the second voltage threshold is not less than an upper limit value of the voltage output by the current output terminal to be sampled.
7. The multi-segment tube current sampling system according to any one of claims 1 to 3, characterized in that: The number of the n resistors is determined by: Determine the current sampling range according to the range of the current output by the current output terminal to be sampled, wherein the lower limit value of the current sampling range is not greater than the minimum value of the current output by the current output terminal to be sampled, and the upper limit value of the current sampling range is not less than the maximum value of the current output by the current output terminal to be sampled; The current sampling range is divided into a number of continuous current sampling intervals [I0, I1], [I1, I2], ... [I n-1 ,I n ]; The number of the resistors is determined to be the number of the current sampling intervals.
8. The multi-segment tube current sampling system according to claim 7, characterized in that: The resistance value of each resistor in the n resistors is determined by: Determine the upper limit values I1, ..., I2 of each current sampling interval n ; Determine that the first sampling point is K0, and sort the plurality of second sampling points into K1, ..., K2, ..., K3, ..., K4, ..., K5, ..., K6, ..., K7, ..., K8, ..., K9, ..., K10, ..., K11, ..., K12, ..., K13, ..., K14, ..., K15, ..., K16, ..., K17, ..., K18, ..., K19, ..., K n , K n is the nth second sampling point; The n resistors are arranged in order from near to far from the first sampling point into R1, ..., R n , R n is the nth resistor; The sum of the resistance values of all resistors between the first sampling point and each of the second sampling points is determined according to the first voltage threshold and the upper limit value of each current sampling interval, and the resistance value of each resistor is calculated, and the calculation formula is: Among them, I j is the upper limit of the jth current sampling sub-range, j is a positive integer from 1 to n, U p is the first voltage threshold.
9. The multi-segment tube current sampling system according to claim 1, characterized in that: The first voltage threshold is not less than the maximum value of the voltage output by the current output terminal to be sampled; or, The first voltage threshold is a preset calculated value, which is calculated by: determining a total resistance value of the n resistors, where the total resistance value is the sum of the resistances of the n resistors; Determine the preset first voltage threshold as the product of the total resistance value and the upper limit value of the current sampling range; and / or, The method also includes determining the magnitude of the current output by the current output terminal to be sampled according to the current sampling circuit.
10. The multi-segment tube current sampling system according to claim 1, characterized in that: The number of the current sampling branches is 3, and the current sampling intervals corresponding to the 3 current sampling branches are a continuous first interval, a second interval and a third interval in ascending order; The lower limit value of the first interval is not greater than the minimum value of the current output by the current output terminal to be sampled, and the upper limit value of the third interval is not less than the maximum value of the current output by the current output terminal to be sampled.
11. The multi-segment tube current sampling system according to claim 10, characterized in that: The ratio of the upper limit value of the first interval, the upper limit value of the second interval and the upper limit value of the third interval is 1:5:10; and / or, The maximum value of the output current of the current output terminal to be sampled is not greater than 250mA, and the minimum value is not greater than 0.1mA. The first interval is configured as [0.1mA, 30mA], the second interval is [30mA, 150mA], and the third interval is [150mA, 300mA].
12. A current sampling method, characterized in that: The following steps are involved: n resistors are sequentially connected in series at the output end of the current to be sampled, where n is an integer not less than 2, and one end of the n series resistors is configured as a first sampling point, and the other end and a connection point between two adjacent resistors are configured as a second sampling point; The first sampling point and any one of the second sampling points are configured as input ends of a current sampling branch, the input voltage of each current sampling branch is a first voltage, and the output voltage thereof is a second voltage; If the first voltage is not less than a preset first voltage threshold, the second voltage is a preset second voltage threshold; If the first voltage is less than a preset first voltage threshold, the second voltage is less than the second voltage threshold, and the second voltage matches the first voltage; Determining that one of the plurality of current sampling branches is a current current sampling circuit comprises: determining a maximum value and a second maximum value of n second voltages; If the maximum values of the n second voltages are all smaller than the second voltage threshold, then the current sampling branch with the second voltage as the maximum value is determined to be the current current sampling circuit; If the maximum value of the n second voltages is the second voltage threshold, determining that the current sampling branch with the second voltage being the second maximum value is the current current sampling circuit; The current sampling circuit is configured to collect the current output by the current output terminal to be sampled.
13. The current sampling method according to claim 12, characterized in that: Also includes: Determine that the first sampling point is K0, and sort the plurality of second sampling points into K1, ..., K2, ..., K3, ..., K4, ..., K5, ..., K6, ..., K7, ..., K8, ..., K9, ..., K10, ..., K11, ..., K12, ..., K13, ..., K14, ..., K15, ..., K16, ..., K17, ..., K18, ..., K19, ..., K n , K n is the nth second sampling point; Determine the first sampling point K0 and the jth second sampling point K j The current sampling branch at the input end is the jth current sampling branch, where j is a positive integer from 1 to n; If the second voltage output by the jth current sampling branch is a preset second voltage threshold, and the second voltages output by the j+1th to nth current sampling branches are less than the preset second voltage threshold, the jth current sampling branch is determined to be the current current sampling circuit.
14. The current sampling method according to claim 13, characterized in that: Also includes: If the second voltage output by the j-th current sampling branch is less than a preset second voltage threshold, and the second voltage output by one or more of the current sampling branches from the j+1th to the n-th current sampling branches is the preset second voltage threshold, current sampling is stopped and / or a prompt message is issued; or, If there is a subsequent current sampling branch among the n current sampling branches whose second voltage output is greater than the second voltage output by the previous current sampling branch, current sampling is stopped and / or a prompt message is issued; or, A voltage sampling module, a voltage dividing module and a voltage conversion module which are electrically connected in sequence are arranged on the current sampling branch, the input end of the voltage sampling module is configured as the input end of the current sampling branch, the output end of the voltage sampling module is electrically connected to the input end of the voltage dividing module, and the voltage sampling module is configured to collect the first voltage and input it into the voltage dividing module; The voltage dividing module is configured to perform voltage dividing processing on the first voltage, including: if the first voltage is not greater than a preset first voltage threshold, the output voltage of the voltage dividing module is the first voltage; If the first voltage is greater than the first voltage threshold, the output voltage of the voltage divider module is the first voltage threshold; the input end of the voltage conversion module is electrically connected to the output end of the voltage divider module, and the voltage conversion module is configured to convert the output voltage of the voltage divider module into the second voltage.
