Peak parameter detection circuit and electronic equipment
By designing a peak parameter detection circuit, and utilizing a sampling resistor, a signal acquisition module, and a voltage holding module, the peak parameter is automatically calculated, solving the problems of low automation and large error in existing technologies, and achieving high-accuracy detection.
Patent Information
- Application Number
- CN202423006580.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2034-12-05
AI Technical Summary
In the existing technology, the peak parameter detection of electronic devices has a low degree of automation, and the large error of manual reading leads to inaccurate detection.
Design a peak parameter detection circuit, including a sampling resistor, a signal acquisition module, a voltage holding module, and a detection processing module. The sampling resistor generates a sampling voltage, the signal acquisition module amplifies and outputs the signal to the voltage holding module to hold the voltage, and the detection processing module calculates the peak parameter.
It has achieved automation and improved accuracy in peak parameter detection, reducing errors caused by manual operation.
Smart Images

Figure CN223624319U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, and more specifically, to a peak parameter detection circuit and electronic device. Background Technology
[0002] With the development of electronic technology, all kinds of electronic devices have become common in households. These electronic devices need to undergo a number of tests when they leave the factory to verify whether the functions of the electronic devices are normal.
[0003] In related technologies, electronic devices are equipped with corresponding power supply protection devices to provide protection in case of power supply abnormalities. Therefore, these power supply protection devices also need to be tested. Generally, relevant technicians need to connect instruments such as multimeters or oscilloscope current guns to the electronic devices and take readings through these instruments when the power supply protection devices are activated, thereby obtaining the peak current and / or peak voltage during the protection process.
[0004] However, this approach requires technicians to reconnect the instruments after testing each electronic device, and manual readings can introduce significant measurement errors. Therefore, this technology suffers from low automation and large errors. Utility Model Content
[0005] The purpose of this application is to provide a peak parameter detection circuit and electronic device that can improve the automation and accuracy of peak parameter detection.
[0006] The embodiments of this application are implemented as follows:
[0007] A first aspect of this application provides a peak parameter detection circuit, the circuit comprising: a sampling resistor, a signal acquisition module, a voltage holding module, and a detection processing module;
[0008] The first end of the sampling resistor is connected to the first end of the signal acquisition module, and the second end of the sampling resistor is grounded; the first end of the sampling resistor is also used to input the current to be detected, and the sampling resistor is used to generate a sampling voltage under the action of the current to be detected;
[0009] The second and third terminals of the signal acquisition module are connected to the first and second terminals of the voltage holding module, respectively, and the fourth terminal of the signal acquisition module is connected to the first terminal of the detection and processing module; the signal acquisition module is used to amplify the sampled voltage and output the amplified voltage to the detection and processing module.
[0010] The voltage holding module is used to hold the amplified voltage; the detection and processing module is used to obtain peak parameters based on the amplified voltage; the peak parameters include peak current and / or peak voltage.
[0011] Optionally, the signal acquisition module includes a first amplifier, a diode, and a second amplifier;
[0012] The non-inverting input terminal of the first amplifier is connected to the first terminal of the sampling resistor, the inverting input terminal of the first amplifier is grounded, and the output terminal of the first amplifier is connected to the positive terminal of the diode; the first amplifier is used to amplify the sampling voltage and output the amplified voltage to the diode;
[0013] The negative terminal of the diode is connected to the non-inverting input terminal of the second amplifier, the first terminal and the second terminal of the voltage holding module, respectively; the diode is used to prevent the voltage holding module from discharging into the first amplifier.
[0014] The output terminal of the second amplifier is connected to the first terminal of the detection and processing module and the inverting input terminal of the second amplifier, respectively; the second amplifier is used to adjust the impedance of the amplified voltage.
[0015] Optionally, the signal acquisition module includes a first amplifier, a diode, a second amplifier, a first resistor, and a second resistor;
[0016] The non-inverting input terminal of the first amplifier is connected to the first terminal of the first resistor, the inverting input terminal of the first amplifier is connected to the first terminal of the second resistor, and the output terminal of the first amplifier is connected to the positive terminal of the diode.
[0017] The negative terminal of the diode is connected to the non-inverting input terminal of the second amplifier, the first terminal and the second terminal of the voltage holding module, respectively.
[0018] The output terminal of the second amplifier is connected to the first terminal of the detection and processing module, the inverting input terminal of the second amplifier, and the second terminal of the second resistor, respectively.
[0019] The second end of the first resistor is connected to the first end of the sampling resistor;
[0020] The first resistor and the second resistor are used to adjust the feedback coefficient of the first amplifier.
[0021] Optionally, the voltage holding module includes a holding capacitor and a controllable switch;
[0022] The first plate of the holding capacitor is connected to the non-inverting input terminal of the second amplifier, and the second plate of the holding capacitor is grounded; the holding capacitor is used to charge under the action of the amplified voltage, and to maintain the voltage at the non-inverting input terminal of the second amplifier at the amplified voltage when charging is complete;
[0023] The first terminal of the controllable switch is connected to the negative terminal of the diode, and the second terminal of the controllable switch is grounded; the controllable switch is connected in parallel with the holding capacitor.
[0024] Optionally, the control terminal of the controllable switch is connected to the second terminal of the detection and processing module;
[0025] The controllable switch is used to turn off or on under the control of the detection and processing module.
[0026] Optionally, the controllable switch is a relay.
[0027] Optionally, the detection processing module includes a signal conversion unit and a processing unit;
[0028] The input terminal of the signal conversion unit is connected to the fourth terminal of the signal acquisition module, and the output terminal of the signal conversion unit is connected to the input terminal of the processing unit; the signal conversion unit is used to convert the amplified voltage into a digital voltage signal and output it to the processing unit.
[0029] The processing unit is used to obtain the peak parameter based on the digital voltage signal.
[0030] Optionally, the signal conversion unit is an analog-to-digital converter.
[0031] A second aspect of this application provides an electronic device, which includes the peak parameter detection circuit described in the first aspect.
[0032] Optionally, the electronic device further includes an energy storage unit;
[0033] The output terminal of the energy storage unit is connected to the first terminal of the sampling resistor in the peak parameter detection circuit; the energy storage unit is used to output the current to be detected to the sampling resistor.
[0034] The beneficial effects of the embodiments of this application include:
[0035] This application provides a peak parameter detection circuit, which includes a sampling resistor, a signal acquisition module, a voltage holding module, and a detection processing module. Specifically, the first end of the sampling resistor is connected to the first end of the signal acquisition module, the second end of the sampling resistor is grounded, the second and third ends of the signal acquisition module are connected to the first and second ends of the voltage holding module, respectively, and the fourth end of the signal acquisition module is connected to the first end of the detection processing module.
[0036] Furthermore, the sampling resistor generates a sampling voltage under the action of the current to be detected. The signal acquisition module amplifies the sampling voltage and outputs the amplified voltage to the detection processing module. The voltage holding module holds the amplified voltage, and then the detection processing module obtains the peak parameter based on the amplified voltage.
[0037] As can be seen, after the current to be detected is input into the circuit, the components and modules in the circuit can automatically complete the detection of the peak parameters corresponding to the current to be detected without the need for relevant technicians to perform a lot of manual operations using the corresponding instruments. This can avoid measurement errors that may be caused by manual reading and human error.
[0038] In addition, since the circuit also uses a voltage holding module to maintain the amplified voltage, it ensures that the voltage received by the detection and processing module is stable, thereby ensuring the accuracy and reliability of the peak parameter obtained by the detection and processing module based on the received amplified voltage.
[0039] In this way, the automation and accuracy of peak parameter detection can be improved. Attached Figure Description
[0040] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is a schematic diagram of the structure of the first peak parameter detection circuit provided in the embodiments of this application;
[0042] Figure 2 This is a schematic diagram of the structure of the second peak parameter detection circuit provided in the embodiments of this application;
[0043] Figure 3 This is a schematic diagram of the structure of the third peak parameter detection circuit provided in the embodiments of this application;
[0044] Figure 4 This is a schematic diagram of the structure of the fourth peak parameter detection circuit provided in the embodiments of this application;
[0045] Figure 5 This is a schematic diagram of the structure of the fifth peak parameter detection circuit provided in the embodiments of this application;
[0046] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0047] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0048] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0049] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0050] In the description of this application, it should be noted that the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0051] In the description of this application, it should also be noted that, unless otherwise expressly specified and limited, the terms "set up," "install," "connect," and "link" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0052] In related technologies, electronic devices are equipped with corresponding power supply protection devices to provide protection in case of power supply abnormalities. Therefore, these power supply protection devices also need to be tested. Generally, relevant technicians need to connect instruments such as multimeters or oscilloscope current guns to the electronic devices and take readings through these instruments when the power supply protection devices are activated, thereby obtaining the peak current and / or peak voltage during the protection process.
[0053] However, this approach requires technicians to reconnect the instruments after testing each electronic device, and manual readings can introduce significant measurement errors. Therefore, this technology suffers from low automation and large errors.
[0054] To address this, this application provides a peak parameter detection circuit. This circuit comprises a sampling resistor, a signal acquisition module, a voltage holding module, and a detection processing module. Specifically, the first terminal of the sampling resistor is connected to the first terminal of the signal acquisition module, the second terminal of the sampling resistor is grounded, the second and third terminals of the signal acquisition module are connected to the first and second terminals of the voltage holding module, respectively, and the fourth terminal of the signal acquisition module is connected to the first terminal of the detection processing module. The sampling resistor generates a sampling voltage under the influence of the current to be detected. The signal acquisition module amplifies this sampling voltage and outputs the amplified voltage to the detection processing module. The voltage holding module holds the amplified voltage, and the detection processing module obtains the peak parameter based on this amplified voltage. This improves the automation and accuracy of peak parameter detection.
[0055] This application describes a peak parameter detection circuit used in test equipment and / or other electronic devices as an example. However, it does not imply that this application's embodiments can only be applied to peak parameter detection in test equipment and / or other electronic devices.
[0056] Alternatively, the test equipment may refer to a device specifically designed for detecting peak current and / or peak voltage.
[0057] Optionally, the electronic device may include any possible terminal device, server, or other device, and this application embodiment does not limit this.
[0058] The peak parameter detection circuit provided in the embodiments of this application will be explained in detail below.
[0059] Figure 1 A schematic diagram of a peak parameter detection circuit provided in this application. See also... Figure 1This application provides a peak parameter detection circuit 100, which includes: a sampling resistor R0, a signal acquisition module 101, a voltage holding module 102, and a detection and processing module 103.
[0060] The first end of the sampling resistor R0 is connected to the first end of the signal acquisition module 101, and the second end of the sampling resistor R0 is grounded.
[0061] The second and third terminals of the signal acquisition module 101 are connected to the first and second terminals of the voltage holding module 102, respectively, and the fourth terminal of the signal acquisition module 101 is connected to the first terminal of the detection and processing module 103.
[0062] The first end of the sampling resistor R0 is also used to input the current to be detected, and the sampling resistor R0 is used to generate a sampling voltage under the action of the current to be detected.
[0063] Optionally, the sampling resistor R0 can be any possible resistor, and its resistance value can be adjusted according to actual needs. For example, the sampling resistor R0 can be a high-precision sampling resistor with a low temperature coefficient and high withstand voltage. This application does not limit this aspect.
[0064] Optionally, the current to be detected (e.g.) Figure 1 The current +i shown can refer to any current in the input circuit 100 and / or the sampling resistor R0. For example, the current to be detected can be output by an energy storage unit outside the circuit 100, and specifically, the current to be detected can be output after the energy storage unit performs the corresponding protection action (overcurrent protection or overvoltage protection). Then the circuit 100 can be used to detect the overcurrent protection peak parameter and / or overvoltage protection peak parameter of the energy storage unit. This application embodiment does not limit this.
[0065] Optionally, the sampling voltage refers to the voltage across the sampling resistor R0 when the current to be detected is input, and the sampling voltage is specifically determined by the current to be detected and the resistance value of the sampling resistor R0.
[0066] In this embodiment, the signal acquisition module 101 is used to amplify the sampled voltage and output the amplified voltage to the detection and processing module 103.
[0067] Optionally, the signal acquisition module 101 may be equipped with a corresponding operational amplifier to amplify the sampled voltage, or the voltage amplification may be achieved in any other possible way, such as a boost converter, a boost regulator, etc. This application embodiment does not limit this.
[0068] In other words, the amplified voltage is specifically obtained by the signal acquisition module 101 amplifying the sampled voltage based on the corresponding amplification factor.
[0069] In this embodiment, the voltage holding module 102 is used to hold the amplified voltage.
[0070] Optionally, the voltage holding module 102 can maintain the amplified voltage at a stable or constant voltage level by storing energy. Specifically, when the signal acquisition module 101 receives the sampled voltage, it can provide a corresponding operating voltage to the voltage holding module 102 to power on the voltage holding module 102.
[0071] In this embodiment, the detection processing module 103 is used to obtain peak parameters based on the amplified voltage. Furthermore, the peak parameters may include at least peak current and / or peak voltage.
[0072] Generally, the peak current and / or peak voltage can be expressed in the form of digital signals. That is, the detection and processing module 103 can also have the function of converting analog signals into corresponding digital signals.
[0073] For example, those skilled in the art can pre-configure the detection processing module 103, such as storing the resistance value of the sampling resistor R0 in the detection processing module 103 or in a memory connected to the detection processing module 103, so that the detection processing module 103 can calculate the peak current and / or the peak voltage upon receiving the amplified voltage.
[0074] For example, if it is necessary to calculate the peak voltage corresponding to the current to be detected, the detection processing module 103 can convert the amplified voltage into a corresponding digital signal and use the voltage level indicated by the digital signal as the peak voltage.
[0075] For example, if it is necessary to calculate the peak current corresponding to the current to be detected, the detection processing module 103 can first determine the peak voltage based on the amplified voltage, and calculate the peak current by the volt-ampere method or other possible methods with the resistance value of the sampling resistor R0. This application embodiment does not limit this.
[0076] It is worth noting that, in order to better introduce the peak parameter detection circuit 100 provided in the embodiments of this application, the working principle of the circuit 100 is explained below:
[0077] In the initial or non-operating state, there is no current input to be detected, and there is no sampling voltage across the sampling resistor R0. Therefore, the signal acquisition module 101 will not output the amplified voltage to the detection processing module 103. In this case, both the voltage holding module 102 and the detection processing module 103 are in a sleep state.
[0078] In operation, the current to be detected is input to the sampling resistor R0. A sampling voltage is generated across R0 and output to the signal acquisition module 101. The signal acquisition module 101 amplifies this sampling voltage to obtain the amplified voltage. Simultaneously, the signal acquisition module 101 provides operating voltage to the voltage holding module 102, powering it on to maintain the amplified voltage. Then, after the detection processing module 103 receives the amplified voltage, it can calculate peak parameters such as the peak current and / or peak voltage based on this voltage. This completes the detection of peak parameters.
[0079] It is worth noting that, in the circuit 100 provided in this application, a sampling voltage is generated by outputting the current to be detected to the sampling resistor R0. This sampling voltage is then amplified by the signal acquisition module 101 within the circuit 100, and the amplified voltage is held by the voltage holding module 102. This ensures that the voltage received by the detection processing module 103 is stable, preventing inaccurate peak parameters obtained by the detection processing module 103 due to voltage instability during calculations based on the received voltage. Therefore, it ensures that the peak parameter obtained by the detection processing module 103 based on the amplified received voltage is accurate and reliable.
[0080] In this embodiment, a sampling resistor R0, a signal acquisition module 101, a voltage holding module 102, and a detection and processing module 103 are configured in the circuit 100. Specifically, the first terminal of the sampling resistor R0 is connected to the first terminal of the signal acquisition module 101, and the second terminal of the sampling resistor R0 is grounded. The second and third terminals of the signal acquisition module 101 are connected to the first and second terminals of the voltage holding module 102, respectively, and the fourth terminal of the signal acquisition module 101 is connected to the first terminal of the detection and processing module 103.
[0081] Furthermore, after the current to be detected is input into the sampling resistor R0, a sampling voltage is generated. The signal acquisition module 101 amplifies the sampling voltage and outputs the amplified voltage to the detection processing module 103. Then, the detection processing module 103 obtains the peak parameter based on the amplified voltage. It can be seen that after the current to be detected is input into the circuit 100, the various components and modules in the circuit 100 can automatically complete the detection of the peak parameter corresponding to the current to be detected, without the need for relevant technicians to perform a lot of manual operations using corresponding instruments. This can avoid measurement errors that may be caused by manual reading and possible human error.
[0082] In addition, since the voltage holding module 102 in the circuit 100 also holds the amplified voltage to ensure that the voltage received by the detection processing module 103 is stable, the accuracy and reliability of the peak parameter obtained by the detection processing module 103 based on the received amplified voltage can be ensured.
[0083] In this way, the automation and accuracy of peak parameter detection can be improved.
[0084] In one possible implementation, see [link to relevant documentation]. Figure 2 The signal acquisition module 101 includes a first amplifier A1, a diode D, and a second amplifier A2.
[0085] The non-inverting input terminal of the first amplifier A1 is connected to the first terminal of the sampling resistor R0, the inverting input terminal of the first amplifier A1 is grounded, and the output terminal of the first amplifier A1 is connected to the positive terminal of the diode D.
[0086] The negative terminal of diode D is connected to the non-inverting input terminal of the second amplifier A2, the first terminal and the second terminal of the voltage holding module 102, respectively.
[0087] The output terminal of the second amplifier A2 is connected to the first terminal of the detection and processing module 103 and the inverting input terminal of the second amplifier A2, respectively.
[0088] In this embodiment, the first amplifier A1 is used to amplify the sampled voltage and output the amplified voltage to the diode D.
[0089] Optionally, the first amplifier A1 can be an operational amplifier with a certain amplification factor. The amplification factor of the first amplifier A1 can be set according to actual needs. For example, the amplification factor can be 1, 2, or any other possible factor. This application embodiment does not limit this.
[0090] In this embodiment, diode D is used to prevent voltage holding module 102 from discharging into first amplifier A1.
[0091] Optionally, a diode D with suitable parameters can be selected based on the current to be detected and / or the parameters of other components in the circuit 100.
[0092] In this embodiment, the second amplifier A2 is used to adjust the impedance of the amplified voltage.
[0093] Generally, the amplification factor of the second amplifier A2 is 1, so it can be regarded as a voltage follower. Since voltage followers generally have high input impedance and low output impedance, the second amplifier A2 can be used to reduce the impedance of the amplified voltage.
[0094] In other words, the second amplifier A2 can be used to improve the load-carrying capacity of the amplified voltage to ensure that the voltage output to the detection processing module 103 can correctly drive the detection processing module 103 to work normally.
[0095] Understandably, because diode D has unidirectional conductivity, it ensures that the amplified voltage output from the first amplifier A1 can be output to the second amplifier A2 and the voltage holding module 102 via diode D, while preventing the voltage holding module 102 from outputting voltage to the first amplifier A1 via diode D. In other words, setting diode D in the signal acquisition module 101 prevents the voltage holding module 102 from failing to hold the amplified voltage due to external discharge.
[0096] It is worth noting that by setting a first amplifier A1, a diode D, and a second amplifier A2 in the signal acquisition module 101, and forming a two-stage amplification circuit with the first amplifier A1 and the second amplifier A2, the sampled voltage can be effectively amplified, and the impedance of the amplified voltage can be adjusted to ensure that the detection and processing module 103 can work normally. In addition, the diode D can also ensure the voltage holding module 103's ability to hold the amplified voltage, thereby improving the reliability and stability of the circuit 100.
[0097] In one possible implementation, see [link to relevant documentation]. Figure 3 The signal acquisition module 101 includes a first amplifier A1, a diode D, a second amplifier A2, a first resistor R1, and a second resistor R2.
[0098] The non-inverting input terminal of the first amplifier A1 is connected to the first terminal of the first resistor R1, the inverting input terminal of the first amplifier A1 is connected to the first terminal of the second resistor R2, and the output terminal of the first amplifier A1 is connected to the positive terminal of the diode D.
[0099] The negative terminal of diode D is connected to the non-inverting input terminal of the second amplifier A2, the first terminal and the second terminal of the voltage holding module 103, respectively.
[0100] The output of the second amplifier is connected to the first terminal of the detection and processing module, the inverting input terminal of the second amplifier, and the second terminal of the second resistor R2, respectively.
[0101] The second end of the first resistor R1 is connected to the first end of the sampling resistor R0.
[0102] In this embodiment, the functions and working principles of the first amplifier A1, diode D, and second amplifier A2 are the same as those mentioned in the previous embodiment, and will not be repeated here.
[0103] In this embodiment, the first resistor R1 and the second resistor R2 are used to adjust the feedback coefficient of the first amplifier A1.
[0104] Optionally, the resistance values of the first resistor R1 and the second resistor R2 can be adjusted according to actual needs. Furthermore, the feedback coefficient of the first amplifier A1 is specifically determined by the resistance values of the first resistor R1 and the second resistor R2.
[0105] It is understandable that the feedback coefficient of the first amplifier A1 generally refers to the ratio between the feedback signal and the output signal of the first amplifier A1. Furthermore, the larger the feedback coefficient, the smaller the amplification factor of the first amplifier A1; conversely, the smaller the feedback coefficient, the larger the amplification factor of the first amplifier A1. Therefore, the feedback coefficient and amplification factor of the first amplifier A1 can be adjusted by adjusting the resistance values of the first resistor R1 and / or the second resistor R2, thereby ensuring that the amplified voltage output by the first amplifier A1 and / or the signal acquisition module 101 meets the requirements for detecting peak parameters.
[0106] In one possible implementation, see [link to relevant documentation]. Figure 4 The voltage holding module 102 includes a holding capacitor C and a controllable switch S.
[0107] Keep the first plate of capacitor C connected to the non-inverting input terminal of the second amplifier A2, and keep the second plate of capacitor C grounded.
[0108] The first terminal of the controllable switch S is connected to the negative terminal of the diode D, and the second terminal of the controllable switch S is grounded.
[0109] In other words, the controllable switch S is connected in parallel with the holding capacitor C.
[0110] In this embodiment, the holding capacitor C is used to charge under the amplified voltage, and when charging is complete, it maintains the voltage at the non-inverting input terminal of the second amplifier A2 at the amplified voltage.
[0111] Optionally, the holding capacitor C can be any possible capacitor, and the specific parameters can be selected according to actual needs. This application does not limit this.
[0112] In this embodiment, the controllable switch S can be any switch that can be controlled to be turned on or off by an electrical signal, and this application embodiment does not limit it.
[0113] Optionally, the controllable switch S can be a relay, or any other possible switching device such as a contactor, MOSFET, or transistor.
[0114] Generally, the controllable switch S can preferably be a relay or contactor, which can directly disconnect the circuit connection. This avoids the problem of leakage current causing the holding capacitor C to discharge to the outside when using devices such as MOSFETs or transistors.
[0115] It is worth noting that, generally, before inputting the current to be detected, the controllable switch S can be turned on in any possible way to discharge the holding capacitor C. After the holding capacitor C has finished discharging, the controllable switch S is turned off again. This ensures that after the current to be detected is input and the amplified voltage output by the first amplifier A1 has finished charging the holding capacitor C, the voltage between the two plates of the holding capacitor C is the amplified voltage. In this way, the holding capacitor C can continuously apply a voltage matching the amplified voltage to the non-inverting input terminal of the second amplifier A2 after charging is complete, thereby ensuring that the holding capacitor C and / or the voltage holding module 102 can reliably perform the function of holding the voltage.
[0116] For example, one possible approach is to continue reading... Figure 4 The control terminal of the controllable switch S is connected to the second terminal of the detection and processing module 103.
[0117] In this embodiment, the controllable switch S is used to turn off or on under the control of the detection and processing module 103.
[0118] In this way, the controllable switch S can be controlled by the detection and processing module 103, eliminating the need to introduce other control devices into the circuit 100, thereby reducing the cost of the circuit 100.
[0119] In one possible implementation, see [link to relevant documentation]. Figure 5 The detection and processing module 103 includes a signal conversion unit 1031 and a processing unit 1032.
[0120] The input terminal of the signal conversion unit 1031 is connected to the fourth terminal of the signal acquisition module, and the output terminal of the signal conversion unit 1031 is connected to the input terminal of the processing unit 1032.
[0121] In this embodiment, the signal conversion unit 1031 is used to convert the amplified voltage into a digital voltage signal and output it to the processing unit 1032.
[0122] Optionally, the signal conversion unit 1031 can be any device capable of converting analog signals into digital voltage signals. For example, the signal conversion unit 1031 can be an analog-to-digital converter.
[0123] In this embodiment, the processing unit 1032 is used to obtain the peak parameter based on the digital voltage signal.
[0124] Optionally, the processing unit 1032 can be any component with processing, calculation, control and other functions. For example, the processing unit 1032 can be a microcontroller unit (MCU), a digital signal processor (DSP) and other components. This application embodiment does not limit this.
[0125] Specifically, if the amplification factor of the signal acquisition module 101 is 1, the processing unit 1032 can directly analyze and identify the digital voltage signal to obtain the voltage indicated by the digital voltage signal, and use the voltage indicated by the digital voltage signal as the peak voltage. If the amplification factor of the signal acquisition module 101 is not 1, the processing unit 1032 can also analyze and identify the digital voltage signal to obtain the voltage indicated by the digital voltage signal, and perform calculations based on the voltage indicated by the digital voltage signal and the amplification factor of the signal acquisition module 101 to obtain the peak voltage.
[0126] Furthermore, when the processing unit 1032 obtains the peak voltage, it can also calculate the peak current by using the voltmeter-ammeter method to calculate the peak voltage and the resistance value of the sampling resistor R0. It is understood that the peak current can also be calculated in any other possible way, and this embodiment does not limit this calculation.
[0127] Further, see also Figure 5 The control terminal of the processing unit 1032 can also be connected to the control terminal of the controllable switch S to achieve the purpose of controlling the controllable switch S to be turned on or off through the processing unit 1032.
[0128] The following describes an electronic device including the peak parameter detection circuit provided in this application. This electronic device and the peak parameter detection circuit belong to the same design concept. Their specific working principle and technical effects are described above and will not be repeated in detail below.
[0129] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. See also... Figure 6 The electronic device 200 includes at least the peak parameter detection circuit 100 provided in any of the above embodiments.
[0130] Optionally, the electronic device 200 may be a test device specifically designed for detecting peak parameters at the factory, or any other possible terminal device or server. This application embodiment does not limit this.
[0131] In one possible implementation, see [link to previous section] Figure 6 The electronic device 200 also includes an energy storage unit 201.
[0132] The output terminal of the energy storage unit 201 is connected to the first terminal of the sampling resistor R0 in the peak parameter detection circuit 100.
[0133] In this embodiment, the energy storage unit 201 is used to output the current to be detected to the sampling resistor R0.
[0134] Optionally, the energy storage unit 201 can be any energy storage device that needs to undergo overcurrent protection testing, overvoltage protection testing, and / or other possible power supply protection testing. The energy storage unit 201 can also be any energy storage device that has already triggered overcurrent protection testing or overvoltage protection testing. This application embodiment does not limit this.
[0135] Optionally, the energy storage unit 201 can be any type of cell, battery, or battery pack, and the energy storage unit 201 can be applied to any possible device. For example, the energy storage unit 201 can be a lithium battery that needs to undergo overcurrent protection testing and / or overvoltage protection testing, and the lithium battery can specifically be a battery in a terminal device such as a laptop computer.
[0136] In this way, when the energy storage unit 201 triggers the corresponding power supply protection, the peak parameter detection circuit 100 can automatically and accurately detect the peak parameters of the output power of the energy storage unit 201.
[0137] In one possible embodiment, the electronic device 200 may also include a corresponding power parameter adjustment device, the input of which may be connected to the output of the energy storage unit 201, and the output of which may be connected to the first end of the sampling resistor R0.
[0138] It is worth noting that this power parameter adjustment device can be used to reduce the voltage and / or current value of the power output by the energy storage unit 201, so as to avoid damage to the components in the peak parameter detection circuit 100 due to excessively high voltage or current output by the energy storage unit 201 under overcurrent or overvoltage conditions. In this way, the reliability and safety of the peak parameter detection circuit 100 and the electronic device 200 can be improved.
[0139] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0140] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A peak parameter detection circuit, characterized in that, The circuit includes: a sampling resistor, a signal acquisition module, a voltage holding module, and a detection and processing module; The first end of the sampling resistor is connected to the first end of the signal acquisition module, and the second end of the sampling resistor is grounded; the first end of the sampling resistor is also used to input the current to be detected, and the sampling resistor is used to generate a sampling voltage under the action of the current to be detected; The second and third terminals of the signal acquisition module are connected to the first and second terminals of the voltage holding module, respectively, and the fourth terminal of the signal acquisition module is connected to the first terminal of the detection and processing module; the signal acquisition module is used to amplify the sampled voltage and output the amplified voltage to the detection and processing module. The voltage holding module is used to hold the amplified voltage; the detection and processing module is used to obtain peak parameters based on the amplified voltage; the peak parameters include peak current and / or peak voltage.
2. The peak parameter detection circuit as described in claim 1, characterized in that, The signal acquisition module includes a first amplifier, a diode, and a second amplifier; The non-inverting input terminal of the first amplifier is connected to the first terminal of the sampling resistor, the inverting input terminal of the first amplifier is grounded, and the output terminal of the first amplifier is connected to the positive terminal of the diode; the first amplifier is used to amplify the sampling voltage and output the amplified voltage to the diode; The negative terminal of the diode is connected to the non-inverting input terminal of the second amplifier, the first terminal and the second terminal of the voltage holding module, respectively; the diode is used to prevent the voltage holding module from discharging into the first amplifier. The output terminal of the second amplifier is connected to the first terminal of the detection and processing module and the inverting input terminal of the second amplifier, respectively; the second amplifier is used to adjust the impedance of the amplified voltage.
3. The peak parameter detection circuit as described in claim 1, characterized in that, The signal acquisition module includes a first amplifier, a diode, a second amplifier, a first resistor, and a second resistor; The non-inverting input terminal of the first amplifier is connected to the first terminal of the first resistor, the inverting input terminal of the first amplifier is connected to the first terminal of the second resistor, and the output terminal of the first amplifier is connected to the positive terminal of the diode. The negative terminal of the diode is connected to the non-inverting input terminal of the second amplifier, the first terminal and the second terminal of the voltage holding module, respectively. The output terminal of the second amplifier is connected to the first terminal of the detection and processing module, the inverting input terminal of the second amplifier, and the second terminal of the second resistor, respectively. The second end of the first resistor is connected to the first end of the sampling resistor; The first resistor and the second resistor are used to adjust the feedback coefficient of the first amplifier.
4. The peak parameter detection circuit as described in claim 2 or 3, characterized in that, The voltage holding module includes a holding capacitor and a controllable switch; The first plate of the holding capacitor is connected to the non-inverting input terminal of the second amplifier, and the second plate of the holding capacitor is grounded; the holding capacitor is used to charge under the action of the amplified voltage, and to maintain the voltage at the non-inverting input terminal of the second amplifier at the amplified voltage when charging is complete; The first terminal of the controllable switch is connected to the negative terminal of the diode, and the second terminal of the controllable switch is grounded; the controllable switch is connected in parallel with the holding capacitor.
5. The peak parameter detection circuit as described in claim 4, characterized in that, The control terminal of the controllable switch is connected to the second terminal of the detection and processing module; The controllable switch is used to turn off or on under the control of the detection and processing module.
6. The peak parameter detection circuit as described in claim 4, characterized in that, The controllable switch is a relay.
7. The peak parameter detection circuit as described in claim 1, characterized in that, The detection and processing module includes a signal conversion unit and a processing unit; The input terminal of the signal conversion unit is connected to the fourth terminal of the signal acquisition module, and the output terminal of the signal conversion unit is connected to the input terminal of the processing unit; the signal conversion unit is used to convert the amplified voltage into a digital voltage signal and output it to the processing unit. The processing unit is used to obtain the peak parameter based on the digital voltage signal.
8. The peak parameter detection circuit as described in claim 7, characterized in that, The signal conversion unit is an analog-to-digital converter.
9. An electronic device, characterized in that, The electronic device includes the peak parameter detection circuit according to any one of claims 1 to 8.
10. The electronic device as claimed in claim 9, characterized in that, The electronic device also includes an energy storage unit; The output terminal of the energy storage unit is connected to the first terminal of the sampling resistor in the peak parameter detection circuit; the energy storage unit is used to output the current to be detected to the sampling resistor.