Current sampling and conditioning circuit and energy storage power supply
By using a fixed proportion amplification module, a control conditioning module and an adjustable amplification module in the current sampling conditioning circuit, the amplification ratio selection unit is selected based on the target control signal and feedback, flexible adjustment of the amplification ratio is achieved, and the cost and cost in the existing technology is solved. The problem of complexity improves the accuracy and stability of the sampling signal.
Patent Information
- Application Number
- CN202411162608.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-08-23
AI Technical Summary
In the prior art, the current sampling conditioning circuit is adjusted in amplification proportion through a programmable gain amplifier, which is costly and increases system complexity.
A current sampling and conditioning circuit is designed, including a fixed proportion amplification module, a control conditioning module and an adjustable amplification module. Through the target control signal and feedback amplification ratio selection unit, flexible adjustment of the amplification ratio is achieved, reducing costs and complexity.
It realizes flexible adjustment of the amplification ratio without increasing the complexity of the system, improves the accuracy and stability of the sampling signal, and reduces circuit costs.
Smart Images

Figure CN118694371B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of energy storage power supply, and in particular to a current sampling and conditioning circuit and an energy storage power supply. Background Art
[0002] In the field of electronic signal processing technology, including analog electronic circuits and electronic measurement technology, the processing of sampling signals such as voltage, current, and temperature is an important research direction. These signal processing usually relies on sampling and conditioning circuits, whose main functions are to filter, amplify, and isolate the input analog signals to meet the needs of subsequent signal processing units. However, due to the complexity and diversity of the actual application environment, the amplitude of the sampling signal varies greatly, so the sampling and conditioning circuit is required to adapt to this change and provide a suitable amplification ratio to ensure the accuracy and stability of the sampling signal.
[0003] The existing technical solution usually uses a programmable gain amplifier to adjust the amplification ratio through software control. However, this method is costly and requires software support, which increases the complexity of the system. Summary of the invention
[0004] Based on this, it is necessary to provide a current sampling and conditioning circuit and energy storage power supply that can achieve low-cost amplification ratio adjustment in response to the above technical problems.
[0005] In a first aspect, the present application provides a current sampling and conditioning circuit, comprising:
[0006] A fixed ratio amplification module is used to amplify the input current at a fixed ratio to obtain a target amplified current;
[0007] A control conditioning module, configured to generate a target control signal corresponding to the target current range according to the target current range in which the target amplified current is located;
[0008] The adjustable amplification module is used to determine a target feedback amplification ratio corresponding to the input current based on the target control signal, and amplify the input current based on the target feedback amplification ratio and then output it.
[0009] In some embodiments, the control conditioning module is used to output a first control signal when the target amplified current is greater than or equal to a preset current value, and output a second control signal when the target amplified current is less than the preset current value;
[0010] The target feedback amplification ratio determined by the adjustable amplification module based on the first control signal is smaller than the target feedback amplification ratio determined based on the second control signal.
[0011] In some embodiments, the control and conditioning module includes: a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a first transistor, and a second transistor;
[0012] One end of the first resistor is connected to the output end of the fixed ratio amplification module, and the other end of the first resistor is connected to one end of the second resistor and the base of the first transistor; the other end of the second resistor is connected to the emitter of the first transistor, one end of the third resistor and the ground end; the other end of the third resistor is connected to the collector of the second transistor, and the other end of the third resistor is the signal output end of the control conditioning module; the emitter of the second transistor is connected to the power supply and one end of the fifth resistor, the base of the second transistor is connected to one end of the fourth resistor, and the other end of the fourth resistor is connected to the other end of the fifth resistor and the collector of the first transistor.
[0013] In some embodiments, the adjustable amplification module includes: an operational amplifier and a feedback amplification ratio selection unit;
[0014] The feedback amplification ratio selection unit is used to determine a target feedback amplification ratio corresponding to the input current based on the target control signal;
[0015] The operational amplifier is used to amplify the input current based on the target feedback amplification ratio and output the current amplified by the target feedback amplification ratio.
[0016] In some embodiments, the feedback amplification ratio selection unit includes: a switching subunit, a first feedback resistor and a second feedback resistor, the feedback amplification ratio corresponding to the first feedback resistor is smaller than the feedback amplification ratio corresponding to the second feedback resistor;
[0017] The switching subunit is used to control the first feedback resistor to be connected to the input end and the output end of the operational amplifier when the target control signal is the first control signal, and to control the second feedback resistor to be connected to the input end and the output end of the operational amplifier when the target control signal is the second control signal;
[0018] Wherein, when the target amplified current is greater than or equal to a preset current value, the target control signal is a first control signal; when the target amplified current is less than a preset current value, the target control signal is a second control signal.
[0019] In some embodiments, the number of the control conditioning module and the adjustable amplification module in the circuit are both two, including: a first conditioning control module, a first adjustable amplification module connected to the first conditioning control module, a second conditioning control module, a second adjustable amplification module connected to the second conditioning control module, the output ends of the first adjustable amplification module and the second adjustable amplification module are connected to a detection port, and the circuit further includes: an output control module connected to the output end of the first adjustable amplification module;
[0020] The first conditioning control module is configured to output a second control signal when the target amplified current is less than a first preset current value, and output a first control signal when the target amplified current is greater than or equal to the first preset current value;
[0021] The second conditioning control module is used to output a second control signal when the target amplified current is less than a third preset current value, and output a first control signal when the target amplified current is greater than the third preset current value;
[0022] The output control module is used for not suppressing the output of the first adjustable amplifying module when the target amplified current is less than the second preset current, and suppressing the output of the first adjustable amplifying module when the target amplified current is greater than or equal to the second preset current;
[0023] Among them, the target feedback amplification ratio determined by the first adjustable amplification module is smaller than the target feedback amplification ratio determined by the second adjustable amplification module, the first preset current value is smaller than the second preset current, and the second preset current is smaller than the third preset current value.
[0024] In some embodiments, when the first conditioning control module outputs a first control signal, the first adjustable amplification module determines a first feedback amplification ratio; when the first conditioning control module outputs a second control signal, the first adjustable amplification module determines a second feedback amplification ratio, and the first feedback amplification ratio is less than the second feedback amplification ratio;
[0025] When the second conditioning control module outputs the first control signal, the second adjustable amplification module determines the third feedback amplification ratio; when the second conditioning control module outputs the second control signal, the second adjustable amplification module determines the fourth feedback amplification ratio, and the third feedback amplification ratio is smaller than the fourth feedback amplification ratio.
[0026] In some embodiments, the output control module includes: a sixth resistor, a seventh resistor and a third transistor;
[0027] One end of the sixth resistor is connected to the output end of the fixed ratio amplification module, and the other end of the sixth resistor is connected to the seventh resistor and the base of the third transistor; the other end of the seventh resistor is connected to the emitter of the third transistor, and the collector of the third transistor is connected to the output end of the first adjustable amplification module.
[0028] In some embodiments, the circuit further includes: a target crosstalk prevention subunit connected between an output end of a target adjustable amplification module and a detection port, the target adjustable amplification module including the first adjustable amplification module or the second adjustable amplification module;
[0029] The target anti-crosstalk subunit is used to increase the impedance of the target adjustable amplification module.
[0030] In a second aspect, the present application further provides an energy storage power supply, comprising a current sampling and conditioning circuit as described in the first aspect or any embodiment thereof.
[0031] The above-mentioned current sampling and conditioning circuit includes: a fixed ratio amplification module, which is used to amplify the input current at a fixed ratio to obtain a target amplified current; a control conditioning module, which is used to generate a target control signal corresponding to the target current range according to the target current range in which the target amplified current is located; and an adjustable amplification module, which is used to determine the target feedback amplification ratio corresponding to the input current based on the target control signal, and amplify the input current based on the target feedback amplification ratio and then output it. Through this scheme, since the control conditioning module in the circuit can generate the corresponding target control signal according to the target current range in which the target amplified current is located, and the adjustable amplification module can determine the corresponding target feedback amplification ratio based on the target control signal, that is, in the circuit, the corresponding feedback amplification ratio can be selected based on the size of the target amplified current, so that the control and adjustment of the amplification ratio can be achieved through a simple circuit structure, with low cost and low implementation complexity. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1 A schematic diagram of a current sampling and conditioning circuit Figure 1 ;
[0034] Figure 2 A schematic diagram of a current sampling and conditioning circuit Figure 2 ;
[0035] Figure 3 A schematic diagram of a current sampling and conditioning circuit Figure 3 ;
[0036] Figure 4 A schematic diagram of a current sampling and conditioning circuit Figure 4 ;
[0037] Figure 5 A schematic diagram of a current sampling and conditioning circuit Figure 5 . DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0039] In the fields of electronic signal processing technology, analog electronic circuits, and electronic measurement technology, the processing of sampling signals such as voltage, current, and temperature is an important research area. The processing of such signals often relies on sampling and conditioning circuits, whose core function is to filter, amplify, isolate, and perform other operations on the input analog signals to meet the requirements of subsequent signal processing units. However, given the complexity and diversity of the actual application environment, the amplitude of the sampling signal often changes significantly, which requires the sampling and conditioning circuit to be able to adapt to such changes and provide an appropriate amplification ratio to ensure the accuracy and stability of the sampling signal.
[0040] To address the above issues, current technical solutions usually use a programmable gain amplifier (PGA) to adjust the amplification ratio through software control.
[0041] However, the above technical solutions have certain problems and defects. Although the programmable gain amplifier can realize the regulation of the amplification ratio, its cost is relatively high and it requires software support, which increases the complexity of the system.
[0042] In the embodiment of the present application, by providing a current sampling and conditioning circuit and adjusting the amplification ratio through a hardware circuit, the cost and implementation complexity can be reduced.
[0043] In the embodiments of the present application, the main methods used include:
[0044] 1. Signal segmentation processing.
[0045] First, the sampling signals such as voltage, current, and temperature are processed in segments. The specific principle is to divide the sampling signal into several segments according to its amplitude, and each segment corresponds to a specific amplification ratio. In this way, no matter how the amplitude of the sampling signal changes, the most appropriate amplification ratio can be selected for amplification, thereby improving the accuracy and stability of the sampling signal.
[0046] Exemplarily, a signal segmenter with an automatic adjustment function can be used, which can automatically divide the sampled signal into several segments according to its amplitude. For example, the amplitude range of the sampled signal is set to 0-10V, and it is divided into two segments, each with an amplitude range of 0-5V and 5-10V. Each segment corresponds to a specific amplification ratio, 10 times and 2 times, respectively. In this way, no matter how the sampled signal changes, the most appropriate amplification ratio can be selected for amplification.
[0047] 2. Multiplexing of current sampling and conditioning circuits.
[0048] Design a reusable current sampling conditioning circuit, in which the operational amplifier can adapt to different sampling signals and switch between different amplification ratios. This design can not only reduce the complexity of the system, but also improve the accuracy and stability of the sampling signal.
[0049] Exemplarily, when the voltage value of the sampling signal is within the range of 0-5V, the amplification ratio can be set to 10 times through the switch; when the amplitude of the sampling signal is within the range of 5-10V, the amplification ratio can be set to 2 times through the switch.
[0050] 3. Adjustment of feedback amplification ratio.
[0051] In the current sampling and conditioning circuit, a variety of feedback amplification ratios are used, and these feedback amplification ratios can be switched by switches. When a small signal is input, a high amplification ratio is used; when a large signal is input, it is switched to a low amplification ratio. In this way, no matter how the amplitude of the sampling signal changes, the most appropriate amplification ratio can be selected for amplification, thereby improving the accuracy and stability of the sampling signal.
[0052] For example, in the current sampling conditioning circuit, two feedback resistors can be used, and the resistance values of these resistors are 10KΩ and 2KΩ respectively. When we need a high amplification ratio, we choose a feedback resistor with a larger resistance value; when we need a low amplification ratio, we choose a feedback resistor with a smaller resistance value. For example, when we need a 10-fold amplification ratio, we choose a feedback resistor with a resistance value of 10KΩ; when we need a 2-fold amplification ratio, we choose a feedback resistor with a resistance value of 2KΩ.
[0053] Through the above methods, the accuracy and stability of sampling signals such as voltage, current, and temperature can be effectively improved, and the amplification ratio can be adjusted without increasing the complexity of the system.
[0054] For example, Figure 1 A schematic diagram of a current sampling and conditioning circuit Figure 1 .like Figure 1 The current sampling and conditioning circuit shown includes:
[0055] The fixed ratio amplification module 11 is used to amplify the input current at a fixed ratio to obtain a target amplified current;
[0056] A control conditioning module 12, configured to generate a target control signal corresponding to the target current range according to the target current range in which the target amplified current is located;
[0057] The adjustable amplification module 13 is used to determine a target feedback amplification ratio corresponding to the input current based on the target control signal, and amplify the input current based on the target feedback amplification ratio and then output it.
[0058] Among them, the fixed ratio amplification module 11 can be a ratio amplifier with a fixed amplification ratio, and its feedback resistor can be fixed to one, corresponding to the fixed amplification ratio. The fixed ratio amplification module 11 adopts a fixed amplification ratio, so that the input current output is relatively stable after being processed by it, reducing the signal fluctuation and uncertainty that may be caused by the change of ratio. The stable amplification output helps to ensure the reliability of control in the subsequent process.
[0059] In the embodiment of the present application, multiple current ranges and multiple feedback amplification ratios may be provided. The current ranges may correspond to the feedback amplification ratios one by one. Some different current ranges may correspond to different control signals. When the target amplified current is in different ranges, a control signal corresponding to the current range currently in can be generated, and the corresponding feedback amplification ratio can be selected based on the control signal corresponding to the current range currently in.
[0060] In the above-mentioned current sampling and conditioning circuit, since the control conditioning module in the circuit can generate a corresponding target control signal according to the target current range in which the target amplified current is located, and the adjustable amplification module can determine the corresponding target feedback amplification ratio based on the target control signal, that is, in the circuit, the corresponding feedback amplification ratio can be selected based on the size of the target amplified current, so that the control and adjustment of the amplification ratio can be achieved through a simple circuit structure, with low cost and low implementation complexity.
[0061] In some embodiments, the above Figure 1The control conditioning module 12 shown is used to output a first control signal when the target amplified current is greater than or equal to a preset current value, and to output a second control signal when the target amplified current is less than the preset current value; the target feedback amplification ratio determined by the adjustable amplification module 13 based on the first control signal is less than the target feedback amplification ratio determined based on the second control signal.
[0062] Among them, the above-mentioned preset current value can be set according to actual needs, and the embodiment of the present application may not limit the value of the preset current value.
[0063] In the above embodiment, the control and conditioning module 12 can determine the current range of the target amplified current by a preset current value, and output different control signals based on the judgment result, wherein, when the target amplified current is large, a first control signal is output, and the adjustable amplification module 13 selects a smaller feedback amplification ratio based on the first control signal; when the target amplified current is small, a second control signal is output, and the adjustable amplification module 13 selects a larger feedback amplification ratio based on the second control signal.
[0064] The current sampling and conditioning circuit in the above embodiment can realize the selection between two feedback amplification ratios, so that when the target amplified current is small, a larger feedback amplification ratio is selected for amplification, and when the target amplified current is large, a smaller feedback amplification ratio is selected for amplification, thereby flexibly realizing the adjustment of the amplification ratio.
[0065] exist Figure 1 On the basis of Figure 2 As shown, this is a schematic diagram of a current sampling and conditioning circuit. Figure 2 The adjustable amplification module 13 includes: an operational amplifier 131 and a feedback amplification ratio selection unit 132;
[0066] The feedback amplification ratio selection unit 132 is used to determine a target feedback amplification ratio corresponding to the input current based on the target control signal;
[0067] The operational amplifier 131 is used to amplify the input current based on the target feedback amplification ratio and output the current amplified by the target feedback amplification ratio.
[0068] exist Figure 1 and Figure 2 On the basis of Figure 3 As shown, this is a schematic diagram of a current sampling and conditioning circuit. Figure 3 . Figure 3 In the embodiment, the control and conditioning module 12 includes: a first resistor R7, a second resistor R8, a third resistor R9, a fourth resistor R10, a fifth resistor R11, a first transistor Q1 and a second transistor Q2.
[0069] One end of the first resistor R7 is connected to the output end of the fixed ratio amplification module 11, and the other end of the first resistor R7 is connected to one end of the second resistor R8 and the base of the first transistor Q1; the other end of the second resistor R8 is connected to the emitter of the first transistor Q1, one end of the third resistor R9 and the ground end; the other end of the third resistor R9 is connected to the collector of the second transistor Q2, and the other end of the third resistor R9 is the signal output end of the control conditioning module 12; the emitter of the second transistor Q2 is connected to the power supply VCC and one end of the fifth resistor R11, the base of the second transistor Q2 is connected to one end of the fourth resistor R10, and the other end of the fourth resistor R10 is connected to the other end of the fifth resistor R11 and the collector of the first transistor Q1.
[0070] For example, Figure 3 As shown, the fixed ratio amplification module 11 may include a fixed ratio amplifier U1B and a feedback resistor R6.
[0071] For example, Figure 3 As shown, the operational amplifier 131 in the adjustable amplification module 13 can be Figure 3 As shown in U1A, the feedback amplification ratio selection unit 132 in the above-mentioned adjustable amplification module 13 includes: a switching subunit 1321, a first feedback resistor R4 and a second feedback resistor R3, the feedback amplification ratio corresponding to the first feedback resistor R4 is smaller than the feedback amplification ratio corresponding to the second feedback resistor R3, and R3 is greater than R4.
[0072] The switching subunit 1321 may be a feedback control chip, for example, a feedback control chip TMUX1136.
[0073] The switching subunit 1321 is used to control the first feedback resistor R4 to be connected to the input and output ends of the operational amplifier 131 when the target control signal is the first control signal, and to control the second feedback resistor R3 to be connected to the input and output ends of the operational amplifier 131 when the target control signal is the second control signal. When the target amplified current is greater than or equal to the preset current value, the target control signal is the first control signal; when the target amplified current is less than the preset current value, the target control signal is the second control signal.
[0074] In the embodiment of the present application, the first control signal may be a high level signal, and the second control signal may be a low level signal.
[0075] In the above embodiment, when the target amplified current is greater than or equal to the preset current value, the target control signal is a first control signal. Under the action of the first control signal on the switching subunit, the operational amplifier can be controlled to connect to the first feedback resistor, thereby selecting the amplification ratio corresponding to the first feedback resistor to amplify the output current. When the target amplified current is less than the preset current value, the target control signal is a second control signal. Under the action of the second control signal on the switching subunit, the operational amplifier can be controlled to connect to the second feedback resistor, thereby selecting the amplification ratio corresponding to the second feedback resistor to amplify the output current.
[0076] For example, Figure 3 As shown, Figure 3 The circuit may also include resistors Rs, R1 and R2, wherein two ends of Rs are respectively connected to the positive power supply SRP and the negative power supply SRN, and one end of Rs connected to the positive power supply SRP is connected to one end of R1, and the other end of R1 is connected to an input end of U1A, and one end of Rs connected to the negative power supply is connected to one end of R2, and the other end of R2 is connected to another input end of U1A. Figure 3 VCC can be 3.3V, R1=R2, can be 1KΩ, R3 and R4 are feedback resistors, the resistance value is selected according to the actual current accuracy to be detected, here they are 10KΩ and 2KΩ respectively; U1A is an operational amplifier for current signal amplification and sampling, U1B is a fixed proportional amplifier, Figure 3 The resistors R7, R9, R10, and R11 are all current limiting resistors, and R8 is the base bias resistor.
[0077] Figure 3 U1B in the circuit amplifies the current signal and outputs a voltage signal to the base of Q1 (i.e., the first transistor Q1 mentioned above); when the detected current reaches a certain value, Q1 will enter the linear region. When Q1 is in the linear region, Figure 3 The potential at point 1 is obtained by the equivalent resistance (Rce) between the collector (c) and emitter (e) of Q1, and the voltage divided by resistor R11. If the base input current value of Q1 is large enough, that is, the voltage (Vbe) between the base (B) and emitter (E) of Q1 is large enough, then Q1 will work in the saturation region. When Q1 is in the saturation region (Q1 is turned on), it is equivalent to the collector (c) and emitter (e) of Q1 being turned on, and the voltage (Vce) between the collector (c) and emitter (e) of Q1 is approximately 0, and the potential at point 1 is 0 at this time.
[0078] When the potential at point 1 drops from VCC to 0, Figure 3The PNP type (Bipolar Junction Transistor, BJT) Q2 (i.e. the second transistor Q2 mentioned above) will also start to conduct. When the resistance values of the current limiting resistors R9 and R10 are set appropriately, Q2 will also experience the two states of the amplification region and the saturation region. When Q2 changes from the amplification region to the saturation region, Figure 3 The potential of the two points in the circuit will gradually rise to above the 1.8V control voltage, and the switching subunit 1321 can be activated to switch to a smaller feedback ratio. Before the switching subunit 1321 is switched, U1A amplifies the current signal through the feedback resistor R3, and the amplification ratio is 10 times; after the switching subunit 1321 is switched, U1A amplifies the current signal through the feedback resistor R4, and the amplification ratio is 2 times. The larger the feedback resistor value, the greater the amplification ratio, and the higher the voltage, the smaller the amplification ratio.
[0079] Among them, the switching subunit 1321 can be a feedback control chip. When the 1.8V control signal is not connected, it is initially connected to one end of R3. After the 1.8V control signal is connected, it will be connected to one end of R4, and the other end of R3 and the other end of R4 are connected to an input end of U1A.
[0080] Above Figure 3 By adjusting the amplification factor of U1B, the switching subunit 1321 can be activated when the current amplified by U1B reaches the demand point we set. By using U1B for control, the actual value of the current can be monitored without being affected by the feedback switching of U1A.
[0081] Figure 3 The circuit shown may further include a resistor R5, a capacitor C3 and a detection port (ADC). Figure 3 R5 and C3 form a low-pass filter, which can filter the sampled values after sampling and amplification. Figure 3 Capacitors C1 and C2 are also included.
[0082] Above Figure 3 A circuit including two feedback resistors for switching the amplification ratio is shown, which can realize the control and adjustment of the two amplification ratios under different currents through a simple circuit structure, with low cost and low implementation complexity.
[0083] In some embodiments, in the current sampling and conditioning circuit, the number of the control and conditioning module and the adjustable amplification module may be one or more.
[0084] In some embodiments, for example, Figure 4 The figure shows a schematic diagram of a current sampling and conditioning circuit. Figure 4In the current sampling conditioning circuit, the number of control conditioning modules and adjustable amplification modules are both two, including: a fixed ratio amplification module 11, a first conditioning control module 12a, a first adjustable amplification module 13a connected to the first conditioning control module 12a, a second conditioning control module 12b, and a second adjustable amplification module 13b connected to the second conditioning control module 12b, the output ends of the first adjustable amplification module 13a and the second adjustable amplification module 13b are connected to the detection port ADC, and the current sampling conditioning circuit also includes: an output control module 14 connected to the output end of the first adjustable amplification module 13a.
[0085] The first conditioning control module 12a is configured to output a second control signal when the target amplified current is less than a first preset current value, and to output a first control signal when the target amplified current is greater than or equal to the first preset current value.
[0086] The second conditioning control module 12b is configured to output a second control signal when the target amplified current is less than a third preset current value, and to output a first control signal when the target amplified current is greater than the third preset current value.
[0087] The output control module 14 is used for not suppressing the output of the first adjustable amplifying module 13a when the target amplified current is less than the second preset current, and suppressing the output of the first adjustable amplifying module 13a when the target amplified current is greater than or equal to the second preset current. The target feedback amplification ratio determined by the first adjustable amplifying module 13a is less than the target feedback amplification ratio determined by the second adjustable amplifying module 13b, the first preset current value is less than the second preset current, and the second preset current is less than the third preset current value.
[0088] In some embodiments, when the first conditioning control module 12a outputs a first control signal, the first adjustable amplification module 13a determines a first feedback amplification ratio; when the first conditioning control module 12a outputs a second control signal, the first adjustable amplification module 13a determines a second feedback amplification ratio, and the first feedback amplification ratio is less than the second feedback amplification ratio.
[0089] When the second conditioning control module 12b outputs the first control signal, the second adjustable amplification module 13b determines the third feedback amplification ratio; when the second conditioning control module 12b outputs the second control signal, the second adjustable amplification module 13b determines the fourth feedback amplification ratio, and the third feedback amplification ratio is less than the fourth feedback amplification ratio.
[0090] The first preset current value, the second preset current value and the third preset current value can be used to divide the current range into four current ranges, and different feedback amplification ratios can be selected in different current ranges, so that adjustment can be made between the four feedback amplification ratios, thereby flexibly adjusting the amplification ratio.
[0091] In some embodiments, Figure 4 On the basis of Figure 5 As shown, this is a schematic diagram of a current sampling and conditioning circuit. Figure 5 .
[0092] Figure 4 The fixed ratio amplification module 11 may include Figure 5 The fixed ratio amplifier U2 in Figure 4 The first conditioning control module 12a may include Figure 5 In it: resistors R80, R90, R100, R110, R12, and two transistors Q1 and Q2; Figure 4 The first adjustable amplification module 13a may include Figure 5 The A control part of the feedback control chip TMUX1136, R30, R40 and the operational amplifier U1F, wherein the output end of the first conditioning control module 12a is connected to the A control part of the feedback control chip TMUX1136.
[0093] Figure 4 The second conditioning control module 12b may include Figure 5 In the circuit: resistors R16, R17, R18, R19 and R20, and two transistors Q5 and Q4. Figure 4 The second adjustable amplification module 13b may include Figure 5 The output end of the second conditioning control module 12b is connected to the B control part of the feedback control chip TMUX1136, R50, R60 and the operational amplifier U1C.
[0094] Figure 4 The output control module 14 includes Figure 5 Among them: the sixth resistor R13, the seventh resistor R14 and the third transistor Q3; one end of the sixth resistor R13 is connected to Figure 4 The output end of the fixed ratio amplification module 11, that is, Figure 5 The output end of the fixed proportional amplifier U2, the other end of the sixth resistor R13 is connected to the seventh resistor R14 and the base of the third triode Q3; the other end of the seventh resistor R14 is connected to the emitter of the third triode Q3, and the collector of the third triode Q3 is connected Figure 4 The output end (ie, Figure 5Output terminal of U1F in China).
[0095] In Figure 5 Among them, for the current signal, 3 operational amplifiers are separated to sample it, namely Figure 5 U1F, U1C and U2 in. Among them, U1F and U1C are operational amplifiers that actually need to be output to the detection port ADC. A feedback control chip TMUX1136 is connected behind them and is respectively connected to a voltage follower U1E and U1D; the feedback control chip TMUX1136 is used to switch the feedback resistors of the operational amplifiers U1F and U1C. The output voltage signal of the operational amplifier U2 is connected to the first conditioning control module 12a and the second conditioning control module 12b, and respectively controls the A control part and the B control part of the feedback control chip TMUX1136 to realize the switching of the feedback resistors in U1F and U1C. The output of U2 is also connected to the base of the NPN BJT Q3 to control the switch of Q3.
[0096] Assume that the feedback resistors R30 > R40 > R60 > R50, corresponding to different magnification factors for each path respectively. Let the input current be I, and assume that it corresponds to four current ranges respectively: I < I1, I1 < I < I2, I2 < I < I3, I3 < I. Among them, I1, I2 and I3 are different preset current values respectively.
[0097] When the input current I < I1, the feedback control chip TMUX1136 is respectively connected to R30 and R60, and Q3 is in the off state. Since R30 > R60, that is, the magnification ratio of U1F is greater than that of U1C, the voltage output by U1F is greater than the voltage of U1C. Therefore, after the outputs of U1F and U1C are aggregated at the detection port ADC, the output of U1F is the main one.
[0098] When the input current I1 < I < I2, control the first adjustable amplification module 13a to work, output a high level to the feedback control chip TMUX1136, and the A control part in the feedback control chip TMUX1136 acts, and the feedback resistor is switched from R30 to R40. At this time, Q3 is in the off state; since R40 > R60, that is, the magnification ratio of U1F is greater than that of U1C, the voltage output by U1F is greater than the voltage of U1C. Therefore, after the outputs of U1F and U1C are aggregated at the detection port ADC, the output of U1F is the main one.
[0099] When the input current I2 < I < I3, Q3 works and conducts, pulling the output of U1F to a low level. At this time, only the sampling value of U1C remains at the AD port. Therefore, at this time, the detection port ADC is based on the output of U1C, that is, based on the magnification ratio of the feedback resistor R60.
[0100] When the input current I3 < I, Q3 conducts, pulling the output of U1F to a low level. At this time, only the sampling value of U1C remains at the AD port, controlling the second adjustable amplification module 13b to work and outputting a high level to the feedback control chip TMUX1136. The B control part in the feedback control chip TMUX1136 acts, and the feedback resistor is switched from R60 to R50, and the amplification ratio is changed to the multiple corresponding to R50.
[0101] Figure 5 Among them, the resistor R80 is the current-limiting resistor of Q10, and R90 is the base bias resistor; R13 is the current-limiting resistor of Q3, and R14 is the base bias resistor of Q3; R16 is the current-limiting resistor of Q4, and R17 is the base bias resistor of Q4. R80, R90, R13, R14, R16, and R17 can enable Q10, Q3, and Q4 to work respectively within the corresponding set current ranges of the input current.
[0102] Figure 5 Among them, R70 is the feedback resistor of U2, and the value of R7 can be selected in coordination with the current-limiting resistors and bias resistors of Q10, Q3, and Q4.
[0103] In some embodiments, Figure 5 the current sampling conditioning circuit shown further includes: a target anti-crosstalk sub-unit connected between the output end of the target adjustable amplification module and the detection port ADC, and the target adjustable amplification module includes the above-mentioned first adjustable amplification module 13a or the second adjustable amplification module 13b. Among them, the target anti-crosstalk sub-unit is used to increase the impedance of the target adjustable amplification module. Among them, the target anti-crosstalk sub-unit may include Figure 5 U1E and D1 in Figure 5 and U1D and D2 in
[0104] As Figure 5 shown, Figure 5 using two voltage followers U1E and U1D in Figure 5 makes the impedance of the output ends of U1F and U1C become infinite (the actual impedance value is related to the operational amplifier), which can prevent crosstalk between the outputs of the two operational amplifiers.
[0105] Figure 5 also includes resistors Rs0, R10, and R20. Figure 5 The resistor R15 and the capacitor C5 in Figure 5 form a low-pass filter, which can filter the sampled and amplified sampled values.
[0106] In some embodiments, the embodiments of the present application provide an energy storage power supply, which may include a current sampling and conditioning circuit as in the above embodiments.
[0107] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0108] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A current sampling and conditioning circuit, characterized in that: include: A fixed ratio amplification module is used to amplify the input current at a fixed ratio to obtain a target amplified current; A control conditioning module, configured to generate a target control signal corresponding to the target current range according to the target current range in which the target amplified current is located; an adjustable amplification module, used to determine a target feedback amplification ratio corresponding to the input current based on the target control signal, and amplify the input current based on the target feedback amplification ratio and then output the amplified input current; The control conditioning module is specifically configured to output a first control signal when the target amplified current is greater than or equal to a preset current value, and output a second control signal when the target amplified current is less than the preset current value; The target feedback amplification ratio determined by the adjustable amplification module based on the first control signal is smaller than the target feedback amplification ratio determined based on the second control signal; The number of the control conditioning modules and the adjustable amplification modules in the circuit are both two, including: a first conditioning control module, a first adjustable amplification module connected to the first conditioning control module, a second conditioning control module, a second adjustable amplification module connected to the second conditioning control module, the output ends of the first adjustable amplification module and the second adjustable amplification module are connected to a detection port, and the circuit further includes: an output control module connected to the output end of the first adjustable amplification module; The first conditioning control module is configured to output the second control signal when the target amplified current is less than a first preset current value, and output the first control signal when the target amplified current is greater than or equal to the first preset current value; The second conditioning control module is configured to output the second control signal when the target amplified current is less than a third preset current value, and output the first control signal when the target amplified current is greater than the third preset current value; The output control module is used for not suppressing the output of the first adjustable amplifying module when the target amplified current is less than the second preset current, and suppressing the output of the first adjustable amplifying module when the target amplified current is greater than or equal to the second preset current; Among them, the target feedback amplification ratio determined by the first adjustable amplification module is smaller than the target feedback amplification ratio determined by the second adjustable amplification module, the first preset current value is smaller than the second preset current, and the second preset current is smaller than the third preset current value.
2. The circuit according to claim 1, characterized in that The control and conditioning module includes: a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a first transistor and a second transistor; One end of the first resistor is connected to the output end of the fixed ratio amplification module, and the other end of the first resistor is connected to one end of the second resistor and the base of the first transistor; the other end of the second resistor is connected to the emitter of the first transistor, one end of the third resistor and the ground end; the other end of the third resistor is connected to the collector of the second transistor, and the other end of the third resistor is the signal output end of the control conditioning module; the emitter of the second transistor is connected to the power supply and one end of the fifth resistor, the base of the second transistor is connected to one end of the fourth resistor, and the other end of the fourth resistor is connected to the other end of the fifth resistor and the collector of the first transistor.
3. The circuit according to claim 1, characterized in that The adjustable amplification module includes: an operational amplifier and a feedback amplification ratio selection unit; The feedback amplification ratio selection unit is used to determine a target feedback amplification ratio corresponding to the input current based on the target control signal; The operational amplifier is used to amplify the input current based on the target feedback amplification ratio and output the current amplified by the target feedback amplification ratio.
4. The circuit according to claim 3, characterized in that The feedback amplification ratio selection unit includes: a switching subunit, a first feedback resistor and a second feedback resistor, wherein the feedback amplification ratio corresponding to the first feedback resistor is smaller than the feedback amplification ratio corresponding to the second feedback resistor; The switching subunit is used to control the first feedback resistor to be connected to the input end and the output end of the operational amplifier when the target control signal is the first control signal, and to control the second feedback resistor to be connected to the input end and the output end of the operational amplifier when the target control signal is the second control signal; Wherein, when the target amplified current is greater than or equal to a preset current value, the target control signal is a first control signal; when the target amplified current is less than a preset current value, the target control signal is a second control signal.
5. The circuit according to claim 1, characterized in that When the first conditioning control module outputs a first control signal, the first adjustable amplification module determines a first feedback amplification ratio; when the first conditioning control module outputs a second control signal, the first adjustable amplification module determines a second feedback amplification ratio, and the first feedback amplification ratio is smaller than the second feedback amplification ratio; When the second conditioning control module outputs the first control signal, the second adjustable amplification module determines the third feedback amplification ratio; when the second conditioning control module outputs the second control signal, the second adjustable amplification module determines the fourth feedback amplification ratio, and the third feedback amplification ratio is smaller than the fourth feedback amplification ratio.
6. The circuit according to claim 1, characterized in that The output control module includes: a sixth resistor, a seventh resistor and a third triode; One end of the sixth resistor is connected to the output end of the fixed ratio amplification module, and the other end of the sixth resistor is connected to the seventh resistor and the base of the third transistor; the other end of the seventh resistor is connected to the emitter of the third transistor, and the collector of the third transistor is connected to the output end of the first adjustable amplification module.
7. The circuit according to claim 1, characterized in that The circuit further comprises: a target crosstalk prevention subunit connected between an output end of a target adjustable amplification module and the detection port, the target adjustable amplification module comprising the first adjustable amplification module or the second adjustable amplification module; The target anti-crosstalk subunit is used to increase the impedance of the target adjustable amplification module.
8. An energy storage power supply, characterized in that: It comprises the current sampling and conditioning circuit as described in any one of claims 1 to 7.
