Peak value detection circuit and device and server

By introducing a switch circuit control charging path into the peak detection circuit, the problem that the output peak voltage caused by the diode conduction voltage drop is lower than the maximum value of the input signal, and the effective detection of small signals and accurate guarantee of capacitance voltage is achieved, which improves the efficiency of the capacitance voltage. The accuracy and adaptability of the detection.

CN119087020APending Publication Date: 2024-12-06INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411379182.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing peak detection schemes cause the output peak voltage to be lower than the maximum value of the input signal due to the diode turn-on voltage drop, and are not suitable for peak detection of small signals.

Method used

A peak detection circuit is designed to control the charging path through a switching circuit. When the pulse signal voltage is lower than the preset value, the capacitor is charged through a specific path; when the voltage reaches or exceeds the preset value, it is charged through a diode to prevent the capacitor from being in the Discharge after charging to ensure that the capacitor maintains the maximum voltage of the input signal.

Benefits of technology

Improves the accuracy and reliability of peak detection, enhances the adaptability and performance of the circuit in frequent switching and small signal operating environments, and ensures that the capacitor captures and maintains the true peak voltage of the input signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119087020A_ABST
    Figure CN119087020A_ABST
Patent Text Reader

Abstract

The invention discloses a peak detection circuit, a peak detection device and a server, and relates to the field of signal detection. The peak detection circuit in the scheme controls the charging path by introducing the switching circuit, and solves the problem that the output peak voltage is lower than the maximum value of the input signal due to the conduction voltage drop of the diode in the current scheme. Specifically, when the voltage of the pulse signal is lower than a first preset value, the switching circuit allows the capacitor to be charged, so that the peak value of the small signal can be detected; and when the voltage of the pulse signal reaches or exceeds the preset value, the switching circuit is switched to a state of being charged through the diode, and the diode prevents the capacitor from discharging through a power supply or other paths after being charged, so that the capacitor is ensured to keep the maximum voltage value of the input signal. The design ensures that the capacitor can effectively capture and maintain the real peak voltage of an input signal, improves the accuracy and reliability of peak detection, and remarkably enhances the adaptability and performance of the circuit especially in the environment of frequent switching and small signal operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal detection, and in particular to a peak detection circuit, device and server. Background Art

[0002] With the rapid development of the Internet communication industry, electronic products have been widely infiltrated into all areas of society, promoting the rapid development of all walks of life, from home appliances to cloud computing, and people's requirements for product quality are also increasing. Product design needs to maintain reliability and stability under long-term working conditions, and ensure safety and reliability during frequent startup, shutdown, plug-in and unplug operations. However, high and low pulses generated in the board are often encountered in the design, and peak detection is required to determine their impact on product operation and signal transmission.

[0003] In the existing peak detection scheme, the method of directly charging the capacitor with a diode is mainly adopted. When the input signal increases from zero, due to the unidirectional conductivity of the diode, the current can only flow in one direction, thereby charging the capacitor. Since the capacitor cannot discharge through the diode, it will maintain the maximum voltage value of the input signal, thereby outputting a voltage peak. However, due to the conduction voltage drop of the diode itself, the actual output peak voltage will not reach the maximum value of the input signal, and this scheme is not suitable for peak detection with small input signals, because the amplitude of the input signal must be greater than the conduction voltage drop of the diode to achieve effective peak detection. Summary of the invention

[0004] The purpose of the present invention is to provide a peak detection circuit, device and server, which ensure that the capacitor can effectively capture and maintain the true peak voltage of the input signal, improve the accuracy and reliability of peak detection, and significantly enhance the adaptability and performance of the circuit, especially in an environment of frequent switching and small signal operation.

[0005] In one aspect, the present application provides a peak detection circuit, comprising:

[0006] A first diode and a first capacitor, wherein a cathode of the first diode is connected to a first end of the first capacitor, and a second end of the first capacitor is grounded;

[0007] a switch circuit, wherein a first output terminal of the switch circuit is connected to an anode of the first diode, a second output terminal of the switch circuit is connected to a first terminal of the first capacitor, and an input terminal of the switch circuit inputs a pulse signal;

[0008] The switching circuit is used to control the path between its own input end and the second output end to be turned on to charge the first capacitor if the voltage of the pulse signal is lower than a first preset value during the process of the voltage increasing of the pulse signal; if the voltage of the pulse signal is not lower than the first preset value, control the path between its own input end and the first output end to be turned on to charge the first capacitor through the first diode; the first preset value is not less than the conduction voltage drop of the first diode.

[0009] Wherein, the switch circuit comprises a first amplifier;

[0010] The positive input terminal of the first amplifier is used as the input terminal of the switch circuit, the output terminal of the first amplifier is used as the first output terminal of the switch circuit, and the negative input terminal of the first amplifier is used as the second output terminal of the switch circuit;

[0011] The first amplifier is used to, during the voltage increase process of the pulse signal, virtually short-circuit when the voltage of the pulse signal is lower than the first preset value, so that the voltage of its own input negative terminal is equal to the voltage of its own input positive terminal, so as to charge the first capacitor through its own input negative terminal, and virtually cut off when the voltage of the pulse signal is not lower than the first preset value, so that the voltage of its own output terminal is equal to the voltage of its own input positive terminal, so as to charge the first capacitor through its own output terminal and the first diode.

[0012] Wherein, the switch circuit further includes:

[0013] A clamp circuit, a first end of which is respectively connected to the negative input end of the first amplifier and the first end of the first capacitor;

[0014] a control circuit, a first end of which is connected to the second end of the clamp circuit, and a second end of which is connected to the anode of the first diode;

[0015] a first transistor, a control terminal of which is connected to the cathode of the first diode, and a first terminal and a second terminal of which are connected to the first terminal of the first capacitor;

[0016] The clamping circuit is used for clamping the voltage of its second end to the voltage of the first end of the first capacitor if the voltage of the pulse signal is lower than a first preset value during the voltage increase of the pulse signal, and the clamping circuit is cut off if the voltage of the pulse signal is not lower than the first preset value;

[0017] The control circuit is used to output a control voltage according to the voltage of the second end of the clamp circuit when the pulse voltage is lower than the first preset value, and to output the control voltage according to the voltage of the output end of the first amplifier when the voltage of the pulse signal is not lower than the first preset value;

[0018] The first transistor is used to be turned on when the control circuit outputs a control voltage.

[0019] Wherein, the clamping circuit comprises:

[0020] a second diode and a second capacitor;

[0021] The anode of the second diode is respectively connected to the first end of the second capacitor, the first end of the first capacitor and the negative input end of the first amplifier, and the cathode of the second diode is respectively connected to the cathode of the second capacitor, the output end of the first amplifier and the first end of the control circuit;

[0022] The second diode is used to conduct forward when the voltage of the pulse signal is lower than the first preset value to clamp the voltage of its cathode to the voltage of the first end of the first capacitor; and to be reverse biased when the voltage of the pulse signal is not lower than the first preset value.

[0023] Wherein, the control circuit comprises:

[0024] A transistor, the base of the transistor serves as the first end of the control circuit and is connected to the second end of the clamping circuit, the collector of the transistor is connected to a power supply, and the emitter of the transistor serves as the second end of the control circuit and is connected to the anode of the first diode.

[0025] Wherein, the switch circuit further includes:

[0026] a first resistor and a third capacitor;

[0027] The first end of the first resistor is respectively connected to the anode of the second diode, the first end of the second capacitor, the negative input terminal of the first amplifier and the first end of the first capacitor, the second end of the first resistor is respectively connected to the cathode of the first diode, the first end of the third capacitor and the control end of the first transistor, and the other end of the third capacitor is respectively connected to the anode of the first diode and the second end of the control circuit.

[0028] Among them, it also includes:

[0029] The second stage amplifier circuit;

[0030] The positive input terminal of the second-stage amplifier circuit is respectively connected to the first and second terminals of the first transistor and the first end of the first capacitor, and the negative input terminal of the second-stage amplifier circuit is connected to the anode of the second diode, the first end of the capacitor, the negative input terminal of the first amplifier and the output terminal of the second-stage amplifier circuit.

[0031] Wherein, the second stage amplification circuit comprises:

[0032] a second amplifier, a second resistor, and a third resistor;

[0033] The positive input terminal of the second amplifier serves as the positive input terminal of the second-stage amplifier circuit and is respectively connected to the first terminal and the second terminal of the first transistor and the first terminal of the first capacitor;

[0034] The negative input terminal of the second amplifier is connected to the first terminal of the second resistor and the output terminal of the second amplifier respectively;

[0035] The second end of the second resistor is respectively connected to the anode of the second diode, the first end of the second capacitor and the negative input end of the first amplifier;

[0036] A first end of the third resistor is connected to the cathode of the first diode, and a second end of the third resistor is connected to the control end of the first transistor;

[0037] The second amplifier is used to isolate the first end of the third capacitor from the external output end when performing peak detection;

[0038] The second resistor is used to isolate the first amplifier from the second amplifier so that the potentials of the first amplifier and the second amplifier are different;

[0039] The third resistor is used to isolate the second amplifier connected to the first amplifier and the first transistor.

[0040] On the other hand, the present application provides a peak detection device, including the peak detection circuit described above, and further including:

[0041] The voltage detection device is used to detect the voltage at the first end of the first capacitor in the peak detection circuit, and determine the peak voltage of the pulse signal according to the detected voltage.

[0042] On the other hand, the present application provides a server, comprising the peak detection device described above.

[0043] The present invention provides a peak detection circuit, device and server, which relate to the field of signal detection. The peak detection circuit in this scheme controls the charging path by introducing a switching circuit, which solves the problem in the current scheme that the output peak voltage is lower than the maximum value of the input signal due to the diode conduction voltage drop. Specifically, when the pulse signal voltage is lower than the first preset value, the switching circuit allows the capacitor to charge, so that the peak value of the small signal can be detected; and when the pulse signal voltage reaches or exceeds the preset value, the switching circuit switches to a state of charging through a diode, and the diode prevents the capacitor from discharging through a power supply or other paths after charging, ensuring that the capacitor maintains the maximum voltage value of the input signal. This design ensures that the capacitor can effectively capture and maintain the true peak voltage of the input signal, improves the accuracy and reliability of peak detection, and significantly enhances the adaptability and performance of the circuit, especially in an environment of frequent switching and small signal operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1 A schematic diagram of a peak detection circuit provided by the present invention;

[0046] Figure 2 A schematic diagram of a pulse signal provided by the present invention;

[0047] Figure 3 The present invention provides a specific circuit diagram of a peak detection circuit. DETAILED DESCRIPTION

[0048] The core of the present invention is to provide a peak detection circuit, device and server, which ensures that the capacitor can effectively capture and maintain the true peak voltage of the input signal, improves the accuracy and reliability of peak detection, and significantly enhances the adaptability and performance of the circuit, especially in an environment of frequent switching and small signal operation.

[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] On the one hand, if Figure 1As shown, the present application provides a peak detection circuit, comprising:

[0051] A first diode D1 and a first capacitor C1, wherein a cathode of the first diode D1 is connected to a first end of the first capacitor C1, and a second end of the first capacitor C1 is grounded;

[0052] A switch circuit, wherein a first output terminal of the switch circuit is connected to an anode of a first diode D1, a second output terminal of the switch circuit is connected to a first terminal of a first capacitor C1, and an input terminal of the switch circuit inputs a pulse signal;

[0053] The switch circuit is used to control the path between its own input terminal and the second output terminal to be turned on during the voltage increase of the pulse signal, if the voltage of the pulse signal is lower than the first preset value, so as to charge the first capacitor C1; if the voltage of the pulse signal is not lower than the first preset value, control the path between its own input terminal and the first output terminal to be turned on, so as to charge the first capacitor C1 through the first diode D1; the first preset value is not less than the conduction voltage drop of the first diode D1.

[0054] Specifically, the pulse signal is Figure 2 As shown in the figure, the working principle of the peak detection circuit is to effectively detect the peak value of the input pulse signal. Its core mechanism is to determine the charging path of the capacitor according to the voltage change of the input signal through the intelligent control of the switch circuit.

[0055] When the pulse signal voltage gradually increases, when the voltage is lower than the set first preset value, the switch circuit will switch the state, so that the path between its own input terminal and the second output terminal is turned on, and the capacitor is charged through this path. This process ensures that under low voltage conditions, the capacitor can gradually accumulate the signal voltage, so as not to miss any small signal changes.

[0056] On the contrary, when the voltage of the pulse signal reaches or exceeds the first preset value, the switch circuit will conduct the path between the input end and the first output end, and the capacitor will be charged through the first diode D1. Setting the first preset value to be not less than the conduction voltage drop of the first diode D1 can ensure that the capacitor can be charged quickly even under high voltage conditions, ensuring that the output peak voltage is as close to the true peak value of the input signal as possible. In this circuit, the role of the diode is to prevent the capacitor from discharging through the power supply or other paths after charging, ensuring that the capacitor maintains the maximum voltage value of the input signal.

[0057] This design not only improves the sensitivity of peak detection, but also enhances the effectiveness of the circuit in processing small signals, thus meeting the high reliability and high precision requirements of signal detection in modern electronic equipment.

[0058] As a preferred embodiment, the switching circuit includes a first amplifier U1; the positive input terminal of the first amplifier U1 serves as the input terminal of the switching circuit, the output terminal of the first amplifier U1 serves as the first output terminal of the switching circuit, and the negative input terminal of the first amplifier U1 serves as the second output terminal of the switching circuit; the first amplifier U1 is used to, during the voltage increase process of the pulse signal, virtually short-circuit when the voltage of the pulse signal is lower than a first preset value, so that the voltage at its own negative input terminal is equal to the voltage at its own positive input terminal, so as to charge the first capacitor C1 through its own negative input terminal, and virtually disconnect when the voltage of the pulse signal is not lower than the first preset value, so that the voltage at its own output terminal is equal to the voltage at its own positive input terminal, so as to charge the first capacitor C1 through its own output terminal and the first diode D1.

[0059] In this preferred embodiment, the switch circuit uses a first amplifier U1 to achieve efficient peak detection. When the voltage of the input pulse signal gradually rises, the working state of the first amplifier U1 is dynamically adjusted according to the voltage value of the input signal. When the voltage of the input signal is lower than the set first preset value, the first amplifier U1 is in a virtual short state, which means that the voltage at its negative input terminal is equal to the voltage at its positive input terminal, so that the current can charge the first capacitor C1 through the negative input terminal. This process enables the first capacitor C1 to be continuously charged under lower voltage conditions and maintain sensitivity to small signal changes.

[0060] On the contrary, when the voltage of the pulse signal reaches or exceeds the first preset value, the first amplifier U1 switches to a virtual off state, and the voltage at its output terminal is equal to the voltage at the positive input terminal, thereby allowing the first capacitor C1 to be charged through the output terminal and the first diode D1. This design ensures that the capacitor can be quickly charged under high voltage conditions, thereby improving the response speed and accuracy of peak detection.

[0061] Through this adaptive working mechanism, the first amplifier U1 not only enhances the circuit's adaptability to different voltage ranges, but also ensures the efficiency and accuracy of peak detection, providing greater reliability and stability for the overall circuit.

[0062] As a preferred embodiment, the switch circuit also includes: a clamping circuit, a first end of which is respectively connected to the negative input end of the first amplifier U1 and the first end of the first capacitor C1; a control circuit, a first end of which is connected to the second end of the clamping circuit, and a second end of which is connected to the anode of the first diode D1; a first transistor Q1, a control end of which is connected to the cathode of the first diode D1, and a first end and a second end of which are connected to the first end of the first capacitor C1; the clamping circuit is used to clamp the voltage of its second end to the voltage of the first end of the first capacitor C1 if the voltage of the pulse signal is lower than the first preset value during the voltage increase of the pulse signal, and the clamping circuit is cut off if the voltage of the pulse signal is not lower than the first preset value; the control circuit is used to output a control voltage according to the voltage of the second end of the clamping circuit when the pulse voltage is lower than the first preset value, and output a control voltage according to the voltage of the output end of the first amplifier U1 when the voltage of the pulse signal is not lower than the first preset value; the first transistor Q1 is used to be turned on when the control circuit outputs the control voltage.

[0063] In this preferred embodiment, the switch circuit introduces a clamping circuit, a control circuit and a first transistor Q1 to further optimize the performance of peak detection. The main function of the clamping circuit is to monitor the voltage change of the pulse signal. When the voltage of the pulse signal is lower than the set first preset value, the clamping circuit maintains the voltage of its second end at the same level as the first end of the first capacitor C1 to ensure that the capacitor charging process will not be negatively affected. This mechanism can effectively prevent the capacitor voltage from dropping below the required level and ensure that the capacitor is always in a charged state.

[0064] At the same time, the control circuit is responsible for outputting a corresponding control voltage according to the voltage at the second end of the clamp circuit. When the voltage of the pulse signal is lower than the first preset value, the output of the control circuit enables the system to maintain sensitivity to low voltage signals. When the voltage of the pulse signal reaches or exceeds the first preset value, the control circuit will switch to outputting a control voltage according to the output voltage of the first amplifier U1, thereby adjusting the system's responsiveness to high voltage signals. The first transistor Q1 plays a key switching role. When the control circuit outputs the control voltage, the first transistor Q1 will be turned on, thereby further enhancing the charging capacity of the circuit.

[0065] Through this design, the entire circuit achieves adaptive management of different voltage ranges, which not only improves the accuracy and speed of peak detection, but also enhances the circuit's responsiveness to signal changes, ensuring reliability and stability under various working conditions.

[0066] As a preferred embodiment, the clamping circuit includes: a second diode D2 and a second capacitor C2; the anode of the second diode D2 is respectively connected to the first end of the second capacitor C2, the first end of the first capacitor C1 and the negative input end of the first amplifier U1, and the cathode of the second diode D2 is respectively connected to the cathode of the second capacitor C2, the output end of the first amplifier U1 and the first end of the control circuit; the second diode D2 is used to conduct forward when the voltage of the pulse signal is lower than the first preset value, so as to clamp the voltage of its own cathode to the voltage of the first end of the first capacitor C1; and reverse bias when the voltage of the pulse signal is not lower than the first preset value.

[0067] In this preferred embodiment, the core components of the clamping circuit are the second diode D2 and the second capacitor C2, which are designed to provide a stable voltage during the pulse signal voltage change process. The working principle of the second diode D2 mainly depends on its forward conduction and reverse bias characteristics. When the voltage of the pulse signal is lower than the set first preset value, the second diode D2 will be in a forward conduction state, at which time the voltage of its anode will be connected to the first end of the first capacitor C1 and the negative input end of the first amplifier U1 through a conduction path, thereby clamping the voltage of its cathode to the voltage level of the first end of the first capacitor C1. This clamping action ensures that under low voltage conditions, the first capacitor C1 can remain charged, thereby avoiding signal distortion and capacitor voltage problems caused by voltage drops.

[0068] When the voltage of the pulse signal reaches or exceeds the first preset value, the second diode D2 will enter a reverse bias state, preventing current from passing. This behavior ensures that under high voltage conditions, the circuit will not be affected by the diode conduction voltage drop, thereby protecting the normal operation of the capacitor and subsequent circuits. Through this clamping mechanism, the clamping circuit can dynamically adjust the voltage reference under different voltage conditions, ensuring the stability and reliability of the entire circuit under various signal conditions.

[0069] This design improves the circuit's adaptability to signal fluctuations and provides a solid foundation for subsequent peak detection.

[0070] As a preferred embodiment, the control circuit includes: a transistor Q2, the base of the transistor Q2 serves as the first end of the control circuit and is connected to the second end of the clamping circuit, the collector of the transistor Q2 is connected to the power supply VCC, and the emitter of the transistor Q2 serves as the second end of the control circuit and is connected to the anode of the first diode D1.

[0071] In this preferred embodiment, the core component of the control circuit is the transistor Q2, whose function is mainly to realize the switching operation of the circuit through current control. The base of the transistor Q2 serves as the input end of the control circuit, and receives the voltage signal from the clamping circuit by connecting to the second end of the clamping circuit. When the voltage of the clamping circuit is lower than a specific threshold, the base of the transistor Q2 will obtain sufficient bias current, causing the transistor Q2 to turn on, thereby allowing current to flow from the collector to the emitter. In this case, the transistor Q2 acts as a switch, allowing the power supply to supply power to the subsequent circuit, especially to provide voltage to the first diode D1.

[0072] On the other hand, when the voltage of the clamping circuit reaches or exceeds the threshold, the base bias current will decrease, and transistor Q2 will enter the cut-off state, so that the current no longer flows through transistor Q2, thereby blocking the power supply to the subsequent circuit. This switching characteristic enables the control circuit to play a key role in the voltage change of the pulse signal, ensuring that the circuit can be enabled or disabled in time as needed under different working conditions, thereby improving the response speed and stability of the entire peak detection circuit. In this way, the control circuit effectively manages the supply of power and provides the necessary power support for accurate peak detection.

[0073] As a preferred embodiment, the switching circuit also includes: a first resistor R1 and a third capacitor C3; the first end of the first resistor R1 is respectively connected to the anode of the second diode D2, the first end of the second capacitor C2, the negative input end of the first amplifier U1 and the first end of the first capacitor C1, the second end of the first resistor R1 is respectively connected to the cathode of the first diode D1, the first end of the third capacitor C3 and the control end of the first transistor Q1, and the other end of the third capacitor C3 is respectively connected to the anode of the first diode D1 and the second end of the control circuit.

[0074] In this preferred embodiment, the first resistor R1 and the third capacitor C3 in the switch circuit work together to enhance the stability and responsiveness of the peak detection circuit. The configuration of the first resistor R1 enables it to adjust the current flow under different voltage conditions, thereby affecting the working state of other components in the circuit. When the voltage of the pulse signal changes, the presence of the first resistor R1 can limit the current flowing through each branch to prevent damage to the circuit components due to excessive instantaneous current. At the same time, the first resistor R1 is connected to the second diode D2, the second capacitor C2 and the negative input terminal of the first amplifier U1. This layout helps to balance the voltage when the signal is below a specific threshold and provide a stable input for subsequent signal processing.

[0075] The third capacitor C3 plays the role of energy storage and filtering. When the pulse signal changes, the third capacitor C3 can charge and discharge quickly to smooth the voltage fluctuations, thereby preventing excessive impact on the circuit. It can store electrical energy when the pulse signal drops, and provide support when the signal recovers to ensure stable operation of the system. By working in conjunction with the first resistor R1, the third capacitor C3 helps maintain a stable voltage, ensuring that the circuit can accurately capture the peak value of the signal under various working conditions. In addition, the connection between the third capacitor C3 and the control circuit enables the circuit to respond to changes in a timely manner and achieve precise control. This integrated design significantly improves the performance and reliability of the peak detection circuit in complex working environments.

[0076] As a preferred embodiment, it also includes: a second-stage amplifier circuit; the input positive terminal of the second-stage amplifier circuit is respectively connected to the first end and the second end of the first transistor Q1 and the first end of the first capacitor C1, and the input negative terminal of the second-stage amplifier circuit is connected to the anode of the second diode D2, the first end of the capacitor, the input negative terminal of the first amplifier U1 and the output terminal of the second-stage amplifier circuit.

[0077] In this preferred embodiment, the design of the second-stage amplifier circuit is intended to enhance the output stability and load capacity of the peak detection circuit. The positive input terminal of the circuit receives the signal from the first transistor Q1, which reflects the peak characteristics of the input signal after being processed by the previous circuit. By connecting the first end of the first capacitor C1, the second-stage amplifier circuit can obtain a stable voltage signal, which is essential for accurately reflecting the changes in the input signal. At the same time, the configuration of the negative input terminal ensures the circuit's resistance to noise and interference and improves the integrity of the signal.

[0078] When the pulse signal changes, the second-stage amplifier circuit acts as a buffer, effectively isolating the impact of the load on the signal output. This means that no matter how the external load changes, the circuit can maintain stable output characteristics, thereby achieving accurate peak detection. In addition, the gain design of the second-stage amplifier circuit enables it to maintain efficient amplification under low input signal conditions, which improves the circuit's load capacity. Through this design, even when the load changes, the output signal can still maintain high accuracy and stability, ensuring that the final detection result is reliable, thereby improving the performance and adaptability of the entire peak detection circuit.

[0079] As a preferred embodiment, the second-stage amplifier circuit includes: a second amplifier U2, a second resistor R2 and a third resistor R3; the input positive end of the second amplifier U2 is used as the input positive end of the second-stage amplifier circuit, and is respectively connected to the first end and the second end of the first transistor Q1 and the first end of the first capacitor C1; the input negative end of the second amplifier U2 is respectively connected to the first end of the second resistor R2 and the output end of the second amplifier U2; the second end of the second resistor R2 is respectively connected to the anode of the second diode D2, the first end of the second capacitor C2 and the input negative end of the first amplifier U1; the first end of the third resistor R3 is connected to the cathode of the first diode D1, and the second end of the third resistor R3 is connected to the control end of the first transistor Q1; the second amplifier U2 is used to isolate the first end of the third capacitor C3 from the external output end when performing peak detection; the second resistor R2 is used to isolate the first amplifier U1 and the second amplifier U2, so that the potentials of the first amplifier U1 and the second amplifier U2 are different; the third resistor R3 is used to isolate the second amplifier U2 connected to the first amplifier U1 and the first transistor Q1.

[0080] In this preferred embodiment, the design of the second-stage amplifier circuit uses multiple components to work together to achieve efficient peak detection and ensure signal stability and isolation. The second amplifier U2, as the core of the circuit, is responsible for receiving the signal from the first transistor Q1 and the first capacitor C1, thereby enhancing the amplitude of the input signal and providing the required isolation effect to prevent external noise from affecting the integrity of the signal. This isolation not only helps to improve detection accuracy, but also ensures that the subsequent circuit can work stably, especially when the load conditions change.

[0081] The second resistor R2 plays a key isolation role in the circuit, keeping the potentials between the first amplifier U1 and the second amplifier U2 different, thereby avoiding mutual interference and ensuring that each amplifier works independently and efficiently. This design helps maintain the linear response of the signal, so that the changes in the signal can be better captured during the peak detection process. The presence of the third resistor R3 further enhances the isolation of the circuit, especially when connected to the first transistor Q1, it ensures that the signal between the second amplifier U2 and the first amplifier U1 is not affected by load changes, thereby improving the overall stability and reliability of the circuit. Through the careful layout of this series of components, the second-stage amplifier circuit achieves efficient peak detection under different working conditions, ensuring the accuracy and reliability of the final output signal, making the circuit have good adaptability in various applications.

[0082] Figure 3In order to make the diode charge quickly enough when (Vi-Vo, which is the difference between the anode voltage and cathode voltage of the diode) is very small, (Vi-Vo) can be amplified and then acted on the diode. Therefore, a comparison amplifier is added before the detector. D1 in the circuit is only turned on when the amplifier Vi-Vo>0, so that the capacitor C3 is charged. At this time, the voltage on the diode is (Vi-Vo). When in the charging state, D1 is turned on and D2 is turned off. When the positive end of U1 is larger than the negative end, the voltage of the 6th pin of U1 = Uin, the voltage of the control end of Q1 = the voltage of the 6th pin of U1-the conduction voltage drop of D1, and Uout = the voltage of the control end of Q1. At this time, the capacitor C3 is charged. Since D2 is cut off, there is no loop. At the same time, Uout is fed back to the negative end of U1, forming a follower with a large loop. When D1 is cut off and D2 is turned on, the reverse voltage output by U1 turns off D1, and the reverse current flowing through D1 passes through R1 to keep the capacitor in a holding state. The positive end of U1 is smaller than the negative end. U1 outputs negative voltage, D2 is turned on, and U1 becomes a follower; when D1 is turned off, U2 also becomes a follower, and Uout = the voltage of the control end of Q1. Since U1 and U2 are both followers, R2 plays an isolating role, allowing the potentials of the two op amp loops to be different. R4 serves as the discharge circuit of C1. Here, D1 and D2 can be replaced with Schottky diodes to reduce the voltage drop and improve the accuracy of peak detection. In order to suppress the reverse current of D1, the voltage of the positive electrode of D1 in the reverse direction should be only slightly lower than Vo. Therefore, a diode D1 and a resistor R1 are added between the comparison amplifier U1 and Q1. In addition, D1 has an inter-electrode capacitor C3, which forms a resistor-capacitor coupling circuit with R1.

[0083] On the other hand, the present application provides a peak detection device, including the above-mentioned peak detection circuit, and further including:

[0084] The voltage detection device is used to detect the voltage at the first end of the first capacitor C1 in the peak detection circuit, and determine the peak voltage of the pulse signal according to the detected voltage.

[0085] As a preferred embodiment: the peak detection device also includes a fault detection module, which is connected to the voltage detection device and is used to report an early warning when the peak voltage exceeds a preset safety range.

[0086] Specifically, in the peak detection device, the voltage detection device is responsible for monitoring the voltage at the first end of the first capacitor C1 in the peak detection circuit, so as to accurately determine the peak voltage of the pulse signal. When the voltage detected by the voltage detection device exceeds the preset safety range, the fault detection module will be started immediately, and its reporting mechanism can be implemented in a variety of ways, such as sending fault information to the central processing unit (CPU) or monitoring system through a serial communication interface (such as UART, I2C or SPI), or sending alarm information to a cloud server or management platform through a network interface. In addition, the fault detection module can also take a variety of corresponding measures, such as automatically cutting off the power supply to protect the equipment, triggering an alarm to notify the operator, or starting the backup system to maintain the basic functions of the equipment. This multi-level response mechanism not only enhances the safety and reliability of the system, but also ensures that necessary protective measures can be taken in time in abnormal situations to reduce potential losses and risks.

[0087] Through real-time monitoring of the voltage detection device, the peak value changes of the pulse signal can be identified in time. Combined with the rapid response mechanism of the fault detection module, an efficient and reliable peak value monitoring and fault management solution is provided for the entire system.

[0088] For other descriptions of the peak detection device, please refer to the above embodiments, and this application will not go into details here.

[0089] On the other hand, the present application provides a server, comprising the above-mentioned peak detection device.

[0090] For other descriptions of the server, please refer to the above embodiments, and this application will not go into details here.

[0091] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0092] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A peak detection circuit, characterized in that: include: A first diode and a first capacitor, wherein a cathode of the first diode is connected to a first end of the first capacitor, and a second end of the first capacitor is grounded; a switch circuit, wherein a first output terminal of the switch circuit is connected to an anode of the first diode, a second output terminal of the switch circuit is connected to a first terminal of the first capacitor, and an input terminal of the switch circuit inputs a pulse signal; The switching circuit is used to control the path between its own input end and the second output end to be turned on to charge the first capacitor if the voltage of the pulse signal is lower than a first preset value during the process of the voltage increasing of the pulse signal; if the voltage of the pulse signal is not lower than the first preset value, control the path between its own input end and the first output end to be turned on to charge the first capacitor through the first diode; the first preset value is not less than the conduction voltage drop of the first diode.

2. The peak detection circuit according to claim 1, characterized in that: The switching circuit includes a first amplifier; The positive input terminal of the first amplifier is used as the input terminal of the switch circuit, the output terminal of the first amplifier is used as the first output terminal of the switch circuit, and the negative input terminal of the first amplifier is used as the second output terminal of the switch circuit; The first amplifier is used to, during the voltage increase process of the pulse signal, virtually short-circuit when the voltage of the pulse signal is lower than the first preset value, so that the voltage of its own input negative terminal is equal to the voltage of its own input positive terminal, so as to charge the first capacitor through its own input negative terminal, and virtually cut off when the voltage of the pulse signal is not lower than the first preset value, so that the voltage of its own output terminal is equal to the voltage of its own input positive terminal, so as to charge the first capacitor through its own output terminal and the first diode.

3. The peak detection circuit according to claim 2, characterized in that: The switch circuit further comprises: A clamp circuit, a first end of which is respectively connected to the negative input end of the first amplifier and the first end of the first capacitor; a control circuit, a first end of which is connected to the second end of the clamp circuit, and a second end of which is connected to the anode of the first diode; a first transistor, a control terminal of which is connected to the cathode of the first diode, and a first terminal and a second terminal of which are connected to the first terminal of the first capacitor; The clamping circuit is used for clamping the voltage of its second end to the voltage of the first end of the first capacitor if the voltage of the pulse signal is lower than a first preset value during the voltage increase of the pulse signal, and the clamping circuit is cut off if the voltage of the pulse signal is not lower than the first preset value; The control circuit is used to output a control voltage according to the voltage of the second end of the clamp circuit when the pulse voltage is lower than the first preset value, and to output the control voltage according to the voltage of the output end of the first amplifier when the voltage of the pulse signal is not lower than the first preset value; The first transistor is used to be turned on when the control circuit outputs a control voltage.

4. The peak detection circuit according to claim 3, characterized in that: The clamping circuit comprises: a second diode and a second capacitor; The anode of the second diode is respectively connected to the first end of the second capacitor, the first end of the first capacitor and the negative input end of the first amplifier, and the cathode of the second diode is respectively connected to the cathode of the second capacitor, the output end of the first amplifier and the first end of the control circuit; The second diode is used to conduct forward when the voltage of the pulse signal is lower than the first preset value to clamp the voltage of its cathode to the voltage of the first end of the first capacitor; and to be reverse biased when the voltage of the pulse signal is not lower than the first preset value.

5. The peak detection circuit according to claim 3, characterized in that: The control circuit comprises: A transistor, the base of the transistor serves as the first end of the control circuit and is connected to the second end of the clamping circuit, the collector of the transistor is connected to a power supply, and the emitter of the transistor serves as the second end of the control circuit and is connected to the anode of the first diode.

6. The peak detection circuit according to claim 3, characterized in that: The switch circuit further comprises: a first resistor and a third capacitor; The first end of the first resistor is respectively connected to the anode of the second diode, the first end of the second capacitor, the negative input terminal of the first amplifier and the first end of the first capacitor, the second end of the first resistor is respectively connected to the cathode of the first diode, the first end of the third capacitor and the control end of the first transistor, and the other end of the third capacitor is respectively connected to the anode of the first diode and the second end of the control circuit.

7. The peak detection circuit according to any one of claims 3 to 6, characterized in that: Also includes: The second stage amplifier circuit; The positive input terminal of the second-stage amplifier circuit is respectively connected to the first and second terminals of the first transistor and the first end of the first capacitor, and the negative input terminal of the second-stage amplifier circuit is connected to the anode of the second diode, the first end of the capacitor, the negative input terminal of the first amplifier and the output terminal of the second-stage amplifier circuit.

8. The peak detection circuit according to claim 7, characterized in that: The second stage amplifier circuit comprises: a second amplifier, a second resistor, and a third resistor; The positive input terminal of the second amplifier serves as the positive input terminal of the second-stage amplifier circuit and is respectively connected to the first terminal and the second terminal of the first transistor and the first terminal of the first capacitor; The negative input terminal of the second amplifier is connected to the first terminal of the second resistor and the output terminal of the second amplifier respectively; The second end of the second resistor is respectively connected to the anode of the second diode, the first end of the second capacitor and the negative input end of the first amplifier; A first end of the third resistor is connected to the cathode of the first diode, and a second end of the third resistor is connected to the control end of the first transistor; The second amplifier is used to isolate the first end of the third capacitor from the external output end when performing peak detection; The second resistor is used to isolate the first amplifier from the second amplifier so that the potentials of the first amplifier and the second amplifier are different; The third resistor is used to isolate the second amplifier connected to the first amplifier and the first transistor.

9. A peak detection device, characterized in that: The peak detection circuit according to any one of claims 1 to 8 further comprises: The voltage detection device is used to detect the voltage at the first end of the first capacitor in the peak detection circuit, and determine the peak voltage of the pulse signal according to the detected voltage.

10. A server, characterized in that: Comprising a peak detection device as claimed in claim 9.

Citation Information

Cited By

  • Abnormality detection circuit and method for differential signal, and electronic equipment

    CN122449419A