Signal detection circuit, detection method, signal processing circuit and electronic equipment
By introducing proportional amplification and hysteresis circuits in the signal detection circuit, and dynamically adjusting the amplification ratio based on the comparison between the signal and the reference voltage, the problem of insufficient signal detection accuracy and consistency in the existing technology is solved, and the detection of a wide amplitude range is achieved. High-precision detection of signals.
Patent Information
- Application Number
- CN202410632130.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-05-21
AI Technical Summary
Existing signal detection circuits have poor detection accuracy when detecting signals with a wide amplitude range, especially for small signals, with poor detection accuracy and consistency.
A signal detection circuit is designed, including a proportional amplification circuit and a hysteresis circuit. By comparing the signal to be detected with the preset reference voltage, the amplification ratio is determined, and the signal is amplified based on this ratio to ensure appropriate processing of signals of different sizes. Amplify and improve detection accuracy.
Without reducing the signal detection range, it improves the detection accuracy of weak signals, is suitable for signals of different sizes, simplifies hardware configuration, improves the stability and cost-effectiveness of the circuit, and is suitable for more application scenarios.
Smart Images

Figure CN118209779B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of signal detection, and in particular to a signal detection circuit, a detection method, a signal processing circuit and an electronic device. Background Art
[0002] As we all know, the most difficult part for signal detection circuits is the extraction and detection accuracy of weak signals.
[0003] However, existing signal detection circuits usually have the following disadvantages when they need to detect signals with a wide amplitude range: when the input signal to be detected is small, the detection accuracy is poor; when the detection signal range is wide, the accuracy of detecting smaller signals is also poor, and the consistency is poor. Summary of the invention
[0004] The main technical problem solved by the present application is to provide a signal detection circuit, a detection method, a signal processing circuit and an electronic device, which can solve the problem that the signal detection circuit in the prior art has poor detection accuracy when the input signal to be detected is small; when the detection signal range is wide, the accuracy of detecting small signals is also poor, and the consistency is poor.
[0005] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide a signal detection circuit, wherein the signal detection circuit includes: a proportional amplifier circuit, which is used to couple with the circuit to be detected to receive the signal to be detected sent by the circuit to be detected; a hysteresis circuit, which is coupled to the proportional amplifier circuit; the hysteresis circuit is used to receive the signal to be detected sent by the proportional amplifier circuit, compare the signal to be detected with a preset reference voltage, determine the amplification ratio of the signal to be detected, and send a control signal corresponding to the amplification ratio to the proportional amplifier circuit; the proportional amplifier circuit is used to receive the control signal and proportionally amplify the signal to be detected based on the amplification ratio; wherein the number of amplification ratios is at least two.
[0006] Among them, the amplification ratio is negatively correlated with the signal to be detected.
[0007] Among them, the signal detection circuit also includes a differential amplifier circuit, which is coupled to a proportional amplifier circuit and a hysteresis circuit. The differential amplifier circuit is used to receive the signal to be detected sent by the circuit to be detected, so as to pre-amplify the signal to be detected and then send it to the proportional amplifier circuit and the hysteresis circuit, so that the hysteresis circuit compares the pre-amplified signal to be detected with a preset reference voltage, determines the amplification ratio of the signal to be detected, and sends a control signal corresponding to the amplification ratio to the proportional amplifier circuit, so that the proportional amplifier circuit proportionally amplifies the pre-amplified signal to be detected based on the amplification ratio.
[0008] Wherein, the differential amplifier circuit includes first to fifth resistors, first to fourth capacitors, and a first amplifier, the first end of the first resistor is used to couple the first end of the detection circuit to be detected and is grounded, the second end of the first resistor is coupled to the first end of the fourth capacitor, the first end of the second resistor, the first end of the first amplifier and the first end of the third resistor, the second end of the fourth capacitor is grounded, the second end of the second resistor is coupled to the first end of the first capacitor and is grounded, the second end of the third resistor is coupled to the second end of the first capacitor and the first reference voltage providing end, the first end of the fourth resistor is used to couple the second end of the detection circuit to be detected, the second end of the fourth resistor is coupled to the first end of the third capacitor, the first end of the second capacitor, the first end of the fifth resistor and the second end of the first amplifier, the second end of the third capacitor is grounded, the second end of the second capacitor is coupled to the second end of the fifth resistor, the third end of the first amplifier, the proportional amplifier circuit and the hysteresis circuit.
[0009] Among them, the proportional amplification circuit also includes a comparison sub-circuit and a switch sub-circuit. The comparison sub-circuit is coupled to the switch sub-circuit and is used to couple with the post-working circuit. The switch sub-circuit is coupled to the hysteresis circuit. The switch sub-circuit receives a control signal sent by the hysteresis circuit to change the switch state under the action of the control signal so that the comparison sub-circuit proportionally amplifies the detection signal based on the amplification ratio.
[0010] Among them, the comparison subcircuit includes a second amplifier, the switch subcircuit includes a first switch tube, sixth to tenth resistors, the first end of the second amplifier is used to couple to the front detection circuit, the second end of the second amplifier is coupled to the first end of each of the sixth to tenth resistors, the third end of the second amplifier is coupled to the second end of the sixth resistor and the post-working circuit, the second end of the seventh resistor is grounded, the second end of the eighth resistor is grounded, the second end of the ninth resistor is coupled to the second end of the tenth resistor and the third end of the first switch tube, the second end of the first switch tube is grounded, and the first end of the first switch tube is coupled to the hysteresis circuit.
[0011] Among them, the hysteresis circuit includes a first comparator, an eleventh resistor and a twelfth resistor, the second end of the first comparator is coupled to the proportional amplifier circuit, the first end of the eleventh resistor is coupled to the second reference voltage providing end, the second end of the eleventh resistor is coupled to the first end of the first comparator and the first end of the twelfth resistor, and the second end of the twelfth resistor is coupled to the third end of the first comparator and the first end of the first switch tube.
[0012] Among them, the signal detection circuit also includes a gradation detection circuit, the gradation detection circuit includes a thirteenth resistor, a fourteenth resistor and a fifteenth resistor, the first end of the thirteenth resistor is coupled to the proportional amplifier circuit, the second end of the thirteenth resistor is coupled to the first end of the fourteenth resistor, the second end of the fourteenth resistor is coupled to the first end of the fifteenth resistor and the second end of the first comparator, and the second end of the fifteenth resistor is grounded.
[0013] Among them, the comparison subcircuit includes a third amplifier, the switch subcircuit includes a second switch tube, a third switch tube, and fifteenth to nineteenth resistors, the first end of the third amplifier is used to couple the front detection circuit, the third end of the third amplifier is coupled to the first end of each of the fifteenth to nineteenth resistors, the third end of the third amplifier is coupled to the second end of the fifteenth resistor and the post-working circuit, the second end of the sixteenth resistor is grounded, the second end of the seventeenth resistor is grounded, the second end of the eighteenth resistor is coupled to the third end of the second switch tube, the second end of the second switch tube is grounded, the first end of the second switch tube is coupled to the first end of the hysteresis circuit, the second end of the nineteenth resistor is coupled to the third end of the third switch tube, the second end of the third switch tube is grounded, and the first end of the third switch tube is coupled to the second end of the hysteresis circuit.
[0014] Wherein, the hysteresis circuit includes a second comparator, a third comparator, twentieth to thirty-third resistors, a fifth capacitor, a sixth capacitor, a first voltage follower, a second voltage follower, a first normally open contact, a second normally open contact, a NOT gate circuit and an AND gate circuit; wherein, the second end of the second comparator is coupled to the proportional amplifier circuit, the first end of the twentieth resistor is coupled to the third reference voltage providing end, the second end of the twentieth resistor is coupled to the first end of the twenty-first resistor, the second end of the twenty-first resistor is coupled to the first end of the first voltage follower and the first end of the twenty-second resistor, the second end of the twenty-second resistor is coupled to the first end of the second voltage follower and the first end of the twenty-third resistor, the second end of the twenty-third resistor is grounded, the second end of the first voltage follower is coupled to its third end and the first end of the twenty-fourth resistor, the second end of the twenty-fourth resistor is coupled to the first end of the second comparator and the first end of the twenty-fifth resistor, the second end of the twenty-fifth resistor is coupled to the third end of the second comparator and the first end of the twenty-sixth resistor, and the second end of the twenty-sixth resistor is coupled to the first end of the fifth capacitor and the control circuit of the first normally open contact. end, the second end of the fifth capacitor is grounded; the second end of the second voltage follower is coupled to its third end and the first end of the twenty-seventh resistor, the second end of the twenty-seventh resistor is coupled to the first end of the third comparator and the first end of the twenty-eighth resistor, the second end of the twenty-eighth resistor is coupled to the third end of the third comparator and the first end of the twenty-ninth resistor, the second end of the twenty-ninth resistor is coupled to the first end of the sixth capacitor and the control end of the second normally open contact, and the second end of the sixth capacitor is grounded; the first end of the thirtieth resistor is coupled to the first end of the thirty-first resistor and the set level providing end, the second end of the thirtieth resistor is coupled to the first end of the first normally open contact and the first end of the AND gate sub-circuit, the second end of the first normally open contact is coupled to the first end of the thirty-second resistor, the second end of the thirty-third resistor is grounded, the second end of the thirty-first resistor is coupled to the first end of the second normally open contact, the first end of the NOT gate sub-circuit and the first end of the third switch tube, the second end of the second normally open contact is coupled to the first end of the thirty-third resistor, the second end of the NOT gate sub-circuit is coupled to the second end of the AND gate sub-circuit, and the third end of the AND gate sub-circuit is coupled to the first end of the second switch tube.
[0015] Among them, the signal detection circuit also includes a grading detection circuit, which includes a thirty-fourth resistor, a thirty-fifth resistor, a thirty-sixth resistor and a thirty-seventh resistor. The first end of the thirty-fourth resistor is coupled to the proportional amplifier circuit, the second end of the thirty-fourth resistor is coupled to the first end of the thirty-fifth resistor, the second end of the thirty-fifth resistor is coupled to the first end of the thirty-sixth resistor and the second end of the second comparator, the second end of the thirty-sixth resistor is coupled to the first end of the thirty-seventh resistor and the second end of the third comparator, and the second end of the thirty-seventh resistor is grounded.
[0016] Among them, the signal detection circuit also includes a signal processing circuit, which is coupled to the hysteresis circuit and the proportional amplification circuit. The signal processing circuit receives the control signal sent by the hysteresis circuit and the proportionally amplified signal to be detected sent by the proportional amplification circuit, so as to calculate the detection output data using the control signal and the proportionally amplified signal to be detected.
[0017] The signal detection circuit further includes a voltage follower circuit coupled to the hysteresis circuit to receive the signal to be detected sent by the circuit to be detected, and to perform voltage following processing on the signal to be detected and then send it to the hysteresis circuit.
[0018] Among them, the signal detection circuit also includes a filtering circuit, which is coupled to the proportional amplifier circuit and is used to couple to the post-working circuit. The filtering circuit receives the amplified signal to be detected sent by the proportional amplifier circuit, filters the amplified signal to be detected, and then sends it to the post-working circuit.
[0019] Wherein, the filtering circuit includes a first filtering resistor, a second filtering resistor and a filtering capacitor, the first end of the first filtering resistor is coupled to the proportional amplification circuit, the second end of the first filtering resistor is coupled to the first end of the filtering capacitor, the first end of the second filtering resistor and the post-working circuit, the second end of the filtering capacitor is grounded, and the second end of the second filtering resistor is grounded.
[0020] In order to solve the above technical problems, another technical solution adopted in the present application is: to provide a detection method, which includes: receiving a signal to be detected sent by a circuit to be detected; comparing the signal to be detected with a preset reference voltage to determine the amplification ratio of the signal to be detected; proportionally amplifying the signal to be detected based on the amplification ratio; wherein the number of amplification ratios is at least two.
[0021] Among them, after the step of receiving the signal to be detected sent by the circuit to be detected, before the step of comparing the signal to be detected with a preset reference voltage and determining the amplification ratio of the signal to be detected, it also includes: pre-amplifying the signal to be detected; the step of comparing the signal to be detected with the preset reference voltage and determining the amplification ratio of the signal to be detected includes: comparing the pre-amplified signal to be detected with the preset reference voltage to determine the amplification ratio of the signal to be detected; the step of proportionally amplifying the signal to be detected based on the amplification ratio includes: proportionally amplifying the pre-amplified signal to be detected based on the amplification ratio.
[0022] To solve the above technical problems, another technical solution adopted in the present application is: to provide a signal processing circuit, wherein the signal processing circuit includes a circuit to be detected and a signal detection circuit coupled to each other; wherein the signal detection circuit is a signal detection circuit as described in any of the above items.
[0023] To solve the above technical problems, another technical solution adopted in the present application is: to provide an electronic device, wherein the electronic device includes a shell and a functional circuit coupled to each other; wherein the functional circuit is a signal detection circuit as described in any of the above items, or a signal processing circuit as described above.
[0024] The beneficial effect of the present application is as follows: different from the prior art, the proportional amplifier circuit in the signal detection circuit provided by the present application is used to receive the signal to be detected sent by the circuit to be detected, so as to compare the signal to be detected with the preset reference voltage by using the hysteresis circuit, determine the amplification ratio of the signal to be detected, and send a control signal corresponding to the amplification ratio to the proportional amplifier circuit, so that the proportional amplifier circuit proportionally amplifies the signal to be detected based on the amplification ratio, so that different amplification ratios can be used to proportionally amplify different signals to be detected that are greater than and less than the preset reference voltage, so as to effectively ensure the detection accuracy of weak signals, that is, smaller signals to be detected, while not narrowing the signal detection range of the post-working circuit; and it can be adapted to signals to be detected of different sizes, and effectively ensure the signal detection accuracy without repeatedly adjusting the signal detection range, so that it can be suitable for more application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work, among which:
[0026] Figure 1 It is a structural schematic diagram of the first embodiment of the signal detection circuit of the present application;
[0027] Figure 2 It is a structural schematic diagram of a second implementation mode of the signal detection circuit of the present application;
[0028] Figure 3 yes Figure 2 A schematic diagram of a framework of an embodiment of a signal processing logic of a signal detection circuit;
[0029] Figure 4 It is a structural schematic diagram of a third embodiment of the signal detection circuit of the present application;
[0030] Figure 5 yes Figure 4 Schematic diagram of waveforms of some signals in the signal detection circuit;
[0031] Figure 6 , Figure 7 as well as Figure 8 is a structural schematic diagram of a fourth embodiment of the signal detection circuit of the present application;
[0032] Fig. 9 yes Figure 6-Figure 8 Schematic diagram of waveforms of some signals in the signal detection circuit;
[0033] Fig.10 yes Figure 6-Figure 8 A schematic diagram of the waveform of another part of the signal in the signal detection circuit;
[0034] Fig.11 It is a schematic diagram of the process of the first implementation method of the detection method of the present application;
[0035] Fig.12 It is a schematic diagram of the process of the second implementation method of the detection method of the present application;
[0036] Fig.13 It is a schematic diagram of a framework of an implementation scheme of a signal processing circuit of the present application;
[0037] Fig.14 It is a schematic diagram of the framework of an implementation scheme of the electronic device of the present application. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0039] The terms "first", "second" and "third" in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second" and "third" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. All directional indications (such as up, down, left, right, front, back...) in the implementation mode of this application are only used to explain the relative position relationship, movement, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0040] Reference to "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0041] The present application is described in detail below with reference to the accompanying drawings and implementation methods.
[0042] See also Figure 1 , Figure 1 1 is a schematic diagram of the structure of the first embodiment of the signal detection circuit of the present application. In this embodiment, the signal detection circuit 10 specifically includes: a proportional amplification circuit 11 and a hysteresis circuit 12.
[0043] Among them, a signal detection circuit 10 provided in the present application is specifically used in a circuit to be detected 101 that needs to detect and analyze electrical signals to determine whether the circuit is operating normally, whether there are any abnormalities, etc., and / or needs to perform signal processing such as power calculation and waveform analysis, so as to understand the operating status and working parameters of the circuit by detecting the signal to be detected in the circuit to be detected 101. Of course, in other embodiments, the signal detection circuit 10 can also be specifically applied to any other reasonable electronic equipment that needs to perform electrical signal detection, such as power equipment, communication equipment, computer equipment, etc., to ensure the normal operation of the power system; and in the communication system, electrical signal detection can also be used to detect parameters such as signal amplitude, frequency, phase, etc. to ensure the quality of the communication system, and this embodiment does not limit this.
[0044] Specifically, the proportional amplifier circuit 11 is used to couple to the external circuit to be detected 101 to receive or sample the original weak signal from the circuit to be detected 101, that is, the signal to be detected, and amplify such signal before sending it to the external post-working circuit 102.
[0045] It is worth noting that the circuit to be detected 101 can be understood as a pre-working circuit that needs to monitor the operating status and / or detect and analyze its working parameters; the signal to be detected can specifically be any reasonable signal such as a voltage signal and / or a current signal and / or a waveform signal; and the post-working circuit 102 can be understood as a signal function circuit that uses the signal to be detected to work, and / or a signal detection circuit 10 that detects and analyzes the signal to be detected to determine the operating status and working parameters of the circuit to be detected 101.
[0046] In addition, the term "coupled" herein refers to any direct and indirect connection means. Therefore, if the first circuit is described as being coupled to the second circuit, it means that the first circuit can be directly connected to the second circuit through electrical connection or signal connection methods such as wireless transmission, optical transmission, etc., or can be indirectly connected to the second circuit through other circuits or connection means.
[0047] Specifically, if the signal generated by the circuit to be detected 101 during operation is too small to meet the requirements of the post-working circuit 102 for signal strength and signal detection accuracy, the proportional amplifier circuit 11 is specifically used to apply a preset proportional coefficient to the signal to be detected for amplification, so as to ensure that the signal is enhanced to a level sufficient to drive the post-working circuit 102 to work normally without distortion, and / or to meet the signal detection accuracy without adjusting the signal detection range of the post-working circuit 102.
[0048] Furthermore, the hysteresis circuit 12 is interconnected with the proportional amplifier circuit 11, and its main function is to compare and process the signal to be detected transmitted by the proportional amplifier circuit 11. Specifically, after receiving the signal to be detected from the proportional amplifier circuit 11, the hysteresis circuit 12 compares the signal with a preset reference voltage to determine the amplification ratio of the signal to be detected, and sends a control signal corresponding to the amplification ratio to the proportional amplifier circuit 11, so that the proportional amplifier circuit 11 performs proportional amplification processing on the signal to be detected based on the amplification ratio.
[0049] It is understandable that the hysteresis circuit 12 specifically generates a corresponding control signal based on the comparison result between the signal to be detected and the preset reference voltage, and feeds this control signal back to the proportional amplifier circuit 11. The control signal here is designed according to different comparison results, and the purpose is to instruct the proportional amplifier circuit 11 to select a suitable amplification ratio to amplify the signal to be detected.
[0050] It is worth noting that the number of amplification ratios in the system is at least two, which means that the hysteresis circuit 12 can flexibly switch different amplification factors according to the relationship between the signal to be detected and the preset reference voltage, so as to achieve more accurate and dynamic control of the signal. Finally, the signal to be detected, which has been processed by the proportional amplification circuit 11 according to the amplification ratio indicated by the control signal, will be transmitted to the post-operation circuit 102 with a more appropriate amplitude and accuracy, thereby ensuring that the entire system can make appropriate responses and actions according to actual conditions.
[0051] Among them, the number of the preset reference voltages can be one or more, and when the preset reference voltage is one, the result of the hysteresis circuit 12 comparing the signal to be detected with the preset reference voltage will correspond to the signal to be detected being greater than or less than the preset reference voltage, so as to give different control signals respectively corresponding to the signal to be detected being greater than or less than the preset reference voltage, and use different control signals to trigger the proportional amplifier circuit 11 to adopt different amplification ratios to proportionally amplify the signal to be detected.
[0052] It can be seen that the preset reference voltage will limit two preset threshold ranges. When the signal to be detected is in different preset threshold ranges, different amplification ratios of the signal to be detected will be determined, so as to be able to adapt to signals to be detected of different sizes and reasonably perform different multiples of amplification.
[0053] When the number of the preset reference voltages is at least two, the at least two preset reference voltages will define at least three preset threshold ranges. Similarly, when the signal to be detected is within different preset threshold ranges, at least three different amplification ratios of the signal to be detected will be determined, so that the proportional amplification circuit 11 can proportionally amplify the signal to be detected using at least three different amplification ratios, so as to further refine the proportional amplification of the signal to be detected, thereby meeting the requirements of the post-operation circuit 102 for signal strength and signal detection accuracy.
[0054] Among them, the hysteresis circuit 12 determines the amplification ratio of the signal to be detected by comparing the signal to be detected with a preset reference voltage, which is negatively correlated with the signal to be detected. That is, when the signal to be detected is small, the amplification ratio determined by the hysteresis circuit 12 is large, and when the signal to be detected is large, the amplification ratio determined by the hysteresis circuit 12 is small.
[0055] It is understandable that when the actual detection range of the signal detection circuit 10 or the post-working circuit 102 is 0-60V, in order to ensure the detection accuracy of weak signals, such as the detection accuracy of signals to be detected of about 1V, it is usually necessary to adjust the actual detection range to a smaller range, such as 0-10V, so that the signals to be detected of about 1V are easier to identify and distinguish relative to the smaller detection range, so as to achieve accurate detection; or, amplify the weak signal, such as after amplifying the signals to be detected of about 1V by 10 times, it will become easier to identify relative to the original detection range of 0-60V, so as to achieve accurate detection, and there is no need to change the original hardware circuit and / or electrical settings for signal detection.
[0056] However, the method of satisfying the signal detection accuracy by adjusting the signal detection range usually requires a more complex circuit configuration and control method, and frequent adjustment of the signal detection range will affect the overall stability of the circuit, and puts forward higher requirements and implementation costs for the signal detection circuit 10 or the post-working circuit 102.
[0057] Therefore, the above scheme effectively ensures signal detection in a wider range by adopting different amplification ratios to proportionally amplify different signals to be detected that are greater than and less than a preset reference voltage. That is, without narrowing the signal detection range to meet the detection accuracy of stronger signals, it also effectively ensures the detection accuracy of weak signals, that is, smaller signals to be detected, thereby effectively simplifying the hardware circuit configuration to meet different signal detection ranges, and has the advantages of simple circuit structure, high reliability and low cost; and it can also be adapted to signals to be detected of different sizes, and by utilizing different proportional amplifications without repeatedly adjusting the signal detection range, it takes into account the detection accuracy of weak signals and strong signals, that is, signals to be detected of different sizes; in addition, the signal detection circuit 10 can also adjust the detection accuracy as needed, that is, by freely configuring different proportional switching points to achieve controllable detection accuracy, so that it is suitable for more application scenarios, and has a larger application range, and the circuit design is simple and the degree of adjustment freedom is high.
[0058] See also Figure 2 , Figure 2 The difference between the signal detection circuit in this embodiment and the first embodiment of the signal detection circuit provided in this application is that the signal detection circuit 20 further includes a differential amplifier circuit 23 .
[0059] Specifically, the differential amplifier circuit 23 is coupled to the proportional amplifier circuit 21 and the hysteresis circuit 22. The differential amplifier circuit 23 is used to receive the signal to be detected sent by the detection circuit 101, and pre-amplify the signal to be detected to effectively suppress the common-mode noise of the signal to be detected. Only the differential signal (i.e., the signal difference between the two input ports) is amplified to improve the signal quality and signal-to-noise ratio, and then sent to the proportional amplifier circuit 21 and the hysteresis circuit 22 respectively.
[0060] Among them, the hysteresis circuit 22 can specifically generate a corresponding control signal using the comparison result between the pre-amplified signal to be detected and the preset reference voltage, and send the control signal to the proportional amplifier circuit 21, that is, compare the pre-amplified signal to be detected with the preset reference voltage to determine the amplification ratio of the signal to be detected, so that the proportional amplifier circuit 21 can proportionally amplify the pre-amplified signal to be detected based on the currently determined amplification ratio to dynamically adjust its amplification factor or working mode, so that the entire system can flexibly adapt to changes in the actual input signal, and send the signal after proportional amplification processing to the post-working circuit 102.
[0061] In one embodiment, the proportional amplifier circuit 21 further includes a comparison sub-circuit 211 and a switch sub-circuit 212. The comparison sub-circuit 211 is coupled to the post-working circuit 102 and the switch sub-circuit 212. The switch sub-circuit 212 is coupled to the hysteresis circuit 22 to receive the detection signal sent by the detection circuit 101 or the pre-amplified detection signal sent by the differential amplifier circuit 23.
[0062] Among them, after comparing the signal to be detected or the pre-amplified signal to be detected with the preset reference voltage, the hysteresis circuit 22 specifically outputs a corresponding control signal to the switch subcircuit 212 corresponding to the current comparison result, so as to change the switch state of the switch subcircuit 212, such as turning on or off one or several switch devices in the switch subcircuit 212. When the switch state changes, the internal circuit structure or path of the comparison subcircuit 211 is actually changed, thereby changing its amplification ratio of the signal to be detected, so that the comparison subcircuit 211 adopts a corresponding amplification ratio to proportionally amplify the signal to be detected.
[0063] For example, the change of the switch state may affect the configuration of the resistor network, and different configurations of the resistor network correspond to different amplification factors. Therefore, in this way, the system can automatically adjust the amplification ratio according to the magnitude relationship between the signal to be detected and the preset reference voltage, realizing dynamic adjustment and optimization of signal amplification.
[0064] Furthermore, in one embodiment, the signal detection circuit 20 specifically also includes a step detection circuit 25, which is coupled between the hysteresis circuit 22 and the circuit to be detected 101 or the differential amplifier circuit 23, and is used to divide the voltage of the signal to be detected or the pre-amplified signal to be detected and send it to the hysteresis circuit 22, so that the hysteresis circuit 22 can perform corresponding voltage comparison.
[0065] In one embodiment, in order to further improve the quality of the signal and reduce the influence of noise and unnecessary frequency components on the post-working circuit 102, a filter circuit 24 is usually added after the proportional amplifier circuit 21. Specifically, the signal detection circuit 20 also includes a filter circuit 24, which is coupled between the proportional amplifier circuit 21 and the post-working circuit 102, and is used to receive the signal to be detected sent by the proportional amplifier circuit 21 after being amplified according to a preset ratio, so as to filter out unnecessary frequency components of the signal to be detected after the proportional amplifier according to actual needs, and retain or highlight the effective spectrum part in the signal, enhance the signal-to-noise ratio of the signal, improve the signal quality, and then output it to the post-working circuit 102, such as a data acquisition system, an analog-to-digital converter, a controller or other signal processing modules, to provide these circuits with a purer and more accurate signal input, so as to ensure the normal operation and precise control and / or precise detection of the entire system.
[0066] In one embodiment, the signal detection circuit 20 also includes a voltage follower circuit 26, which is coupled to the hysteresis circuit 22 to receive the signal to be detected sent by the circuit to be detected 101, and to send the signal to be detected to the hysteresis circuit 22 after performing voltage following processing on the signal to be detected, so as to provide buffering and isolation for the hysteresis circuit 22, so as to prevent the circuit to be detected 101 from directly outputting the signal to be detected to the hysteresis circuit 22, thereby causing an impact on the hysteresis circuit 22.
[0067] It is worth noting that the voltage follower circuit 26 specifically includes a voltage follower. As the name implies, the output voltage of the voltage follower is the same as the input voltage, that is, the voltage amplification factor of the voltage follower is always less than and close to 1.
[0068] In one embodiment, the signal detection circuit 20 specifically also includes a signal processing circuit 27, which is coupled to the hysteresis circuit 22 and the proportional amplification circuit 21. The signal processing circuit 27 receives a control signal sent from the hysteresis circuit 22, and simultaneously receives the proportionally amplified signal to be detected sent by the proportional amplification circuit 21, so as to calculate the detection output data using the control signal and the proportionally amplified signal to be detected.
[0069] In other embodiments, the signal processing circuit 27 may be independent of the signal detection circuit 20 or integrated into an external post-operation circuit 102, which is not limited in the present application.
[0070] Please continue reading Figure 3 , Figure 3 yes Figure 2 A schematic diagram of a framework of an embodiment of the signal processing logic of a signal detection circuit in FIG.
[0071] For ease of understanding, taking at least two preset threshold ranges obtained based on each preset reference voltage, and respectively being preset threshold range Vin-set1, preset threshold range Vin-set2, ..., preset threshold range Vin-setn (n is an integer greater than 1) as an example, it can be known that the preset threshold range Vin-set1 can be specifically determined by the hysteresis point upper limit 1 and the hysteresis point lower limit 1 corresponding to the preset reference voltage using the hysteresis setting of the hysteresis circuit 22, and corresponds to the first gear; the preset threshold range Vin-set2 is determined by the hysteresis point upper limit 2 and the hysteresis point lower limit 2 corresponding to the preset reference voltage, and corresponds to the second gear; ...; the preset threshold range Vin-setn is determined by the hysteresis point upper limit n and the hysteresis point lower limit n corresponding to the preset reference voltage, and corresponds to the nth gear; wherein, the hysteresis point lower limit 1 can be specifically equal to or greater than the hysteresis point upper limit 2, and so on, the hysteresis point lower limit (n-1) can be specifically equal to or greater than the hysteresis point upper limit n, and the present application does not limit this.
[0072] Among them, each preset threshold range will determine an actual amplification ratio of the signal to be detected. The logic execution unit of the proportional amplification circuit 21 can be specifically divided into an amplification ratio unit and a ratio switching unit. The ratio switching unit corresponds to the first gear, the second gear, ..., and the nth gear determined by the hysteresis setting of the hysteresis circuit 22, respectively, and has switching switches 1, switching switches 2, ..., and switching switches n, so as to respectively correspond to the amplification ratio units using amplification ratios k1, amplification ratios k2, ..., and amplification ratios kn to perform proportional amplification processing on the signal to be detected, and respectively correspond to the theoretical calculated values determined by the hardware configuration of the hysteresis circuit 22: amplification ratio coefficients AV1, amplification ratio coefficients AV2, ..., and amplification ratio coefficients AVn.
[0073] It can be understood that the control signal sent by the hysteresis circuit 22 to the proportional amplification circuit 21 will correspond to the amplification ratio 1, amplification ratio 2,..., amplification ratio n respectively, and have amplification ratio mark 1, amplification ratio mark 2,..., amplification ratio mark n, so that after the data processing unit receives the proportionally amplified signal to be detected, it can respond to the amplification ratio mark 1, amplification ratio mark 2,..., amplification ratio mark n and use calculation formula 1, calculation formula 2,..., calculation formula n to complete the calculation of the detection output data.
[0074] It can be seen that the calculation formula 1 can be specifically V-in1=Vout / AV1, or (Vout-B) / AV1; the calculation formula 2 is V-in2=Vout / AV2, or (Vout-B) / AV2; ...; the calculation formula n is V-inn=Vout / AVn, or (Vout-B) / AVn.
[0075] The actual value of the signal to be detected after proportional amplification is Vout; B is a static constant when the proportional amplification circuit 21 proportionally amplifies the signal to be detected.
[0076] For ease of understanding, taking the case where the detected signal is a voltage signal Vc1, and the voltage signal Vc1 is 1V and belongs to the preset threshold range Vin-set1, 0-3V, the proportional amplifier circuit 21 uses a corresponding amplification coefficient AV1 of 10 as an example, it can be seen that the detection output data calculated by the signal processing circuit 27 can be specifically: V-in1=Vout / AV1=Vout / 10, or (Vout-B) / AV1=(Vout-B) / 10; similarly, when the voltage signal Vcn belongs to the preset threshold range Vin-setn, the detection output data V-inn=Vout / AVn, or (Vout-B) / AVn.
[0077] Among them, the actual calculated value of the signal to be detected after proportional amplification is Vr1=Vc1*k1+B, Vrn=Vcn*kn+B, and in the actual signal detection circuit 20, k1 is not completely equal to the theoretical value AV1, k2 is not completely equal to the theoretical value AV2,..., kn is not completely equal to the theoretical value AVn, and k1, k2,..., kn are difficult to obtain, but it does not prevent theoretical calculation based on the measured AV1, AV2,..., AVn to realize detection and analysis of the signal to be detected.
[0078] It is understandable that when the actual detection range of the signal processing circuit 27 is 0-60V, in order to ensure the detection accuracy of weak signals, for example, to ensure the signal detection accuracy of about 1V, by amplifying the signal to be detected of about 1V by 10 times, it will become easier to identify than the original 0-60V detection range, so as to achieve accurate detection, and there is no need to change the original hardware circuit and / or electrical settings for signal detection.
[0079] In another embodiment, when the signal processing circuit 27 specifically uses the signal to be detected after pre-amplification by the differential amplifier circuit 23 to determine the amplification ratio of the signal to be detected and the corresponding control signal, the detection output data V-inn can be specifically obtained using the following calculation formula:
[0080] V-inn=Vout / (AV0*AVn), or (Vout-B) / (AV0*AVn); AV0 is the pre-amplification coefficient.
[0081] In one embodiment, the signal detection circuit 20 specifically further includes a protection circuit (not shown), which is coupled between the proportional amplification circuit 21 and the signal processing circuit 27, and is used to receive the proportionally amplified signal to be detected sent by the proportional amplification circuit 21, and after limiting the proportionally amplified signal to be detected within a safety threshold range, send it to the signal processing circuit 27, so as to prevent the port detection voltage of the signal processing circuit 27 from exceeding the safe allowable value and causing damage to the signal processing circuit 27.
[0082] See also Figure 4 , Figure 4 1 is a schematic diagram of the structure of the third embodiment of the signal detection circuit of the present application. The difference between the signal detection circuit in this embodiment and the second embodiment of the signal detection circuit provided in the present application is that the differential amplifier circuit 33 in the signal detection circuit 30 specifically further includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a first capacitor C1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, and a first amplifier FD1.
[0083] Wherein, the first end of the first resistor R1 is used to couple the first end of the detection circuit 101 and is grounded, the second end of the first resistor R1 is coupled to the first end of the fourth capacitor C4, the first end of the second resistor R2, the first end of the first amplifier FD1 and the first end of the third resistor R3, the second end of the fourth capacitor C4 is grounded, the second end of the second resistor R2 is coupled to the first end of the first capacitor C1 and is grounded, the second end of the third resistor R3 is coupled to the second end of the first capacitor C1 and the first reference voltage Vref1 providing end, the first end of the fourth resistor R4 is used to couple the second end of the detection circuit 101, the second end of the fourth resistor R4 is coupled to the first end of the third capacitor C3, the first end of the second capacitor C2, the first end of the fifth resistor R5 and the second end of the first amplifier FD1, the second end of the third capacitor C3 is grounded, and the second end of the second capacitor C2 is coupled to the second end of the fifth resistor R5, the third end of the first amplifier FD1, the proportional amplifier circuit 31 and the hysteresis circuit 32.
[0084] Therefore, it can be known that the first amplifier FD1 specifically cooperates with the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5, the first capacitor C1, the second capacitor C2, the third capacitor C3, the fourth capacitor C4 and the first amplifier FD1 to use the first reference voltage Vref1 to pre-amplify the detection signal V-in-sense, and send the pre-amplified first reference voltage Vref1 to the rear-end proportional amplifier circuit 31.
[0085] In one embodiment, the proportional amplifier circuit 31 specifically further includes a comparison subcircuit 311 and a switch subcircuit 312. The comparison subcircuit 311 includes a second amplifier FD2. The switch subcircuit 312 includes a first switch tube Q1, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, and a tenth resistor R10. The first end of the second amplifier FD2 is used to couple to the front detection circuit 101. The second end of the second amplifier FD2 is coupled to the first end of each of the sixth resistor R6, the seventh resistor R7, the eighth resistor R8, the ninth resistor R9, and the tenth resistor R10. The third end of the second amplifier FD2 is coupled to the second end of the sixth resistor R6 and the post-operation circuit 102. The second end of the seventh resistor R7 is grounded, the second end of the eighth resistor R8 is grounded, the second end of the ninth resistor R9 is coupled to the second end of the tenth resistor R10 and the third end of the first switch tube Q1. The second end of the first switch tube Q1 is grounded, and the first end of the first switch tube Q1 is coupled to the hysteresis circuit 32.
[0086] Optionally, the first switch tube Q1 can be specifically one or more combinations of any reasonable switch devices such as MOS (Metal Oxide Semiconductor Field Effect Transistor), triode, thyristor, IGBT (Insulate Gate Bipolar Transistor), etc., and the present application does not limit this.
[0087] In one embodiment, the hysteresis circuit 32 specifically also includes a first comparator BJ1, an eleventh resistor R11 and a twelfth resistor R12, the second end of the first comparator BJ1 is coupled to the proportional amplifier circuit 31, the first end of the eleventh resistor R11 is coupled to the second reference voltage Vref2 providing end, the second end of the eleventh resistor R11 is coupled to the first end of the first comparator BJ1 and the first end of the twelfth resistor R12, and the second end of the twelfth resistor R12 is coupled to the third end of the first comparator BJ1 and the first end of the first switch tube Q1.
[0088] In one embodiment, the signal detection circuit 30 specifically also includes a grading detection circuit 35, which includes a thirteenth resistor R13, a fourteenth resistor R14 and a fifteenth resistor R15, wherein the first end of the thirteenth resistor R13 is coupled to the proportional amplifier circuit 31, the second end of the thirteenth resistor R13 is coupled to the first end of the fourteenth resistor R14, the second end of the fourteenth resistor R14 is coupled to the first end of the fifteenth resistor R15 and the second end of the first comparator BJ1, and the second end of the fifteenth resistor R15 is grounded.
[0089] In one embodiment, the signal detection circuit 30 specifically also includes a voltage follower circuit 36, which includes a voltage follower U, a first end of the voltage follower U is coupled to the third end of the first amplifier FD1, and a second end of the voltage follower U is coupled to its third end and the first end of the thirteenth resistor R13.
[0090] In one embodiment, the signal detection circuit 30 specifically also includes a filter circuit 34, which includes a first filter resistor RL1, a second filter resistor RL2 and a filter capacitor CL1. The first end of the first filter resistor RL1 is coupled to the proportional amplifier circuit 31, the second end of the first filter resistor RL1 is coupled to the first end of the filter capacitor CL1 and the first end of the second filter resistor RL2, and is used to couple to the post-working circuit 102. The second end of the filter capacitor CL1 is grounded, and the second end of the second filter resistor RL2 is grounded.
[0091] In one embodiment, the signal detection circuit 30 specifically further includes a protection circuit 38, which includes a first diode D1 and a second diode D2, wherein the second end of the first diode D1 is coupled to the first end of the second diode D2, the second end of the first filter resistor RL1, the first end of the filter capacitor CL1, and the first end of the second filter resistor RL2, and is used to couple the post-working circuit 102 and / or the signal processing circuit (not shown in the figure), the first end of the first diode D1 is grounded, and the second end of the second diode D2 is coupled to the preset level providing end VCC.
[0092] In one embodiment, the signal detection circuit 30 further includes a plurality of voltage meters V for detecting the voltage of any reasonable node in the signal detection circuit 30 , so as to monitor the working state of the signal detection circuit 30 and provide reference and simulation verification for the signal processing circuit.
[0093] Please continue reading Figure 5 , Figure 5 yes Figure 4 Schematic diagram of the waveforms of some signals in the signal detection circuit.
[0094] in, Figure 5 Specifically shown are the signal to be detected V-in-sense, the control signal KEY1 output by the hysteresis circuit 32, the second output signal Vout of the protection circuit 38, the first output signal Vout1 of the differential amplifier circuit 33, and the input signal of the first end of the first comparator BJ1, that is, the set voltage signal Vset obtained by using the second reference voltage Vref2, which can also be understood as the above-mentioned preset reference voltage.
[0095] It can be understood that the differential amplifier circuit 33 is specifically used to obtain the first output signal Vout1 after pre-amplification of the detection signal V-in-sense, so as to follow the first output signal Vout1 using the voltage follower U, and output it to the second end of the first comparator BJ1 after voltage division by the step detection circuit 35, so that the first comparator BJ1 compares the divided first output signal Vout1 with the set voltage signal Vset to obtain the control signal KEY1, and uses the control signal KEY1 to trigger the first switch tube Q1 to be turned on or off, so as to adjust the equivalent value of the resistance between the second end and the third end of the second amplifier FD2, so as to selectively determine the amplification ratio of the detection signal V-in-sense by the proportional amplifier circuit 31, so as to proportionally amplify the detection signal V-in-sense based on the amplification ratio, and output it to the post-working circuit 102 and / or the signal processing circuit after filtering by the filtering circuit 34 and voltage clamping by the protection circuit 38.
[0096] Specifically, taking the first switch tube Q1 as a P-type MOS tube as an example, when the signal to be detected V-in-sense gradually increases, the first output signal Vout1 of the differential amplifier circuit 33 will also gradually increase, and then the voltage follower U and the step detection circuit 35 will be used to divide the voltage to obtain the step voltage Vback_fb, where:
[0097] When the bin voltage Vback_fb is less than the set voltage signal Vset, the control signal KEY1 is high to trigger the first switch tube Q1 to turn on. At this time, the first amplification ratio of the second amplifier FD2 is recorded as AV1.
[0098] When the bin voltage Vback_fb is greater than the set voltage signal Vset, the control signal KEY1 is low to trigger the first switch tube Q1 to be turned off. At this time, the second amplification ratio of the second amplifier FD2 is recorded as AV2.
[0099] It can be seen that when the detection signal V-in-sense gradually increases to the point IinH, the control signal KEY1 is high, and when the detection signal V-in-sense exceeds IinH and then decreases to the point IinL, the control signal KEY1 is low. Among them, IinH is the hysteresis upper limit value Vset_H corresponding to the comparison between the step voltage Vback_fb and the set voltage signal Vset, and IinL is the hysteresis lower limit value Vset_L corresponding to the comparison between the step voltage Vback_fb and the set voltage signal Vset, that is, the hysteresis point difference set by the hysteresis circuit 32 is ΔIin =IinH-IinL, and the hysteresis point, that is, the setting of the hysteresis upper limit value Vset_H and the hysteresis lower limit value Vset_L is specifically determined by the circuit configuration of the hysteresis circuit 32 and the set voltage signal Vset, that is, the above-mentioned preset reference voltage, so that different amplification ratios can be set by comparing the step voltage Vback_fb with the set voltage signal Vset during the detection process of the circuit to be detected 101, so that the amplification and extraction of weak signals can be effectively guaranteed while detecting a wider range of signals.
[0100] The setting of the hysteresis point can effectively prevent the control signal KEY1 from being disturbed when the detected signal V-in-sense fluctuates near the graded detection setting point, or when the detected signal V-in-sense is disturbed, so as to avoid affecting the detection result.
[0101] It is understandable that the setting of the hysteresis point upper limit value Vset_H and / or the hysteresis point lower limit value Vset_L can be adjusted by adjusting the peripheral circuit configuration of the first comparator BJ1, that is, the resistance value of the twelfth resistor R12.
[0102] Similarly, each amplification ratio of the proportional amplifier circuit 31 can also be adjusted through the peripheral circuit configuration of the second amplifier FD2, that is, the resistance values of the sixth resistor R6, the seventh resistor R7, the eighth resistor R8, the ninth resistor R9, and the tenth resistor R10. Among them, adjusting the resistance values of the seventh resistor R7 and the eighth resistor R8 can adjust the first amplification ratio AV1 and the value of the second output signal Vout of the second amplifier FD2 when the signal to be detected V-in-sense is a weak signal; and adjusting the resistance values of the ninth resistor R9 and the tenth resistor R10 can adjust the second amplification ratio AV2 and the value of the second output signal Vout of the second amplifier FD2 when the signal to be detected V-in-sense is a strong signal; and adjusting the resistance value of the sixth resistor R6 can simultaneously adjust the value of the first amplification ratio AV1 and the value of the second amplification ratio AV2.
[0103] See also Figure 6-Figure 8 ,in, Figure 6 , Figure 7 as well as Figure 8 1 is a schematic diagram of the structure of the fourth embodiment of the signal detection circuit of the present application. The difference between the signal detection circuit in this embodiment and the second embodiment of the signal detection circuit provided in the present application is that the comparison subcircuit 411 in the signal detection circuit 40 specifically further includes a third amplifier FD3, and the switch subcircuit 412 includes a second switch tube Q2, a third switch tube Q3, a fifteenth resistor R15, a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor R18, and a nineteenth resistor R19.
[0104] Among them, the first end of the third amplifier FD3 is used to couple to the detection circuit 101, the third end of the third amplifier FD3 is coupled to the first end of each of the fifteenth resistor R15, the sixteenth resistor R16, the seventeenth resistor R17, the eighteenth resistor R18, and the nineteenth resistor R19, the third end of the third amplifier FD3 is coupled to the second end of the fifteenth resistor R15 and the post-working circuit 102, the second end of the sixteenth resistor R16 is grounded, the second end of the seventeenth resistor R17 is grounded, the second end of the eighteenth resistor R18 is coupled to the third end of the second switch tube Q2, the second end of the second switch tube Q2 is grounded, the first end of the second switch tube Q2 is coupled to the first end of the hysteresis circuit 42, the second end of the nineteenth resistor R19 is coupled to the third end of the third switch tube Q3, the second end of the third switch tube Q3 is grounded, and the first end of the third switch tube Q3 is coupled to the second end of the hysteresis circuit 42.
[0105] In one embodiment, the hysteresis circuit 42 specifically also includes a second comparator BJ2, a third comparator BJ3, a twentieth resistor R20, a twenty-first resistor R21, a twenty-second resistor R22, a twenty-third resistor R23, a twenty-fourth resistor R24, a twenty-fifth resistor R25, a twenty-sixth resistor R26, a twenty-seventh resistor R27, a twenty-eighth resistor R28, a twenty-ninth resistor R29, a thirtieth resistor R30, a thirty-first resistor R31, a thirty-second resistor R32, a thirty-third resistor R33, a fifth capacitor C5, a sixth capacitor C6, a first voltage follower U1, a second voltage follower U2, a first normally open contact K1, a second normally open contact K2, a NOT gate sub-circuit FM, and an AND gate sub-circuit YM.
[0106] Among them, the second end of the second comparator BJ2 is coupled to the proportional amplifier circuit 41, the first end of the twentieth resistor R20 is coupled to the third reference voltage Vref3 providing end, the second end of the twentieth resistor R20 is coupled to the first end of the twenty-first resistor R21, the second end of the twenty-first resistor R21 is coupled to the first end of the first voltage follower U1 and the first end of the twenty-second resistor R22, the second end of the twenty-second resistor R22 is coupled to the first end of the second voltage follower U2 and the first end of the twenty-third resistor R23, the second end of the twenty-third resistor R23 is grounded, the second end of the first voltage follower U1 is coupled to its third end and the first end of the twenty-fourth resistor R24, the second end of the twenty-fourth resistor R24 is coupled to the first end of the second comparator BJ2 and the first end of the twenty-fifth resistor R25, the second end of the twenty-fifth resistor R25 is coupled to the third end of the second comparator BJ2 and the first end of the twenty-sixth resistor R26, the second end of the twenty-sixth resistor R26 is coupled to the first end of the fifth capacitor C5 and the control end of the first normally open contact K1, and the second end of the fifth capacitor C5 is grounded.
[0107] The second end of the second voltage follower U2 is coupled to its third end and the first end of the twenty-seventh resistor R27, the second end of the twenty-seventh resistor R27 is coupled to the first end of the third comparator BJ3 and the first end of the twenty-eighth resistor R28, the second end of the twenty-eighth resistor R28 is coupled to the third end of the third comparator BJ3 and the first end of the twenty-ninth resistor R29, the second end of the twenty-ninth resistor R29 is coupled to the first end of the sixth capacitor C6 and the control end of the second normally open contact K2, and the second end of the sixth capacitor C6 is grounded.
[0108] The first end of the 30th resistor R30 is coupled to the first end of the 31st resistor R31 and the setting level VDD providing end, the second end of the 30th resistor R30 is coupled to the first end of the first normally open contact K1 and the first end of the AND gate sub-circuit YM, the second end of the first normally open contact K1 is coupled to the first end of the 32nd resistor R32, the second end of the 33rd resistor R33 is grounded, the second end of the 31st resistor R31 is connected to the first end of the second normally open contact K2, the first end of the NOT gate sub-circuit FM and the first end of the third switch tube Q3, the second end of the second normally open contact K2 is coupled to the first end of the 33rd resistor R33, the second end of the NOT gate sub-circuit FM is coupled to the second end of the AND gate sub-circuit YM, and the third end of the AND gate sub-circuit YM is coupled to the first end of the second switch tube Q2.
[0109] Optionally, the second switch tube Q2 and the third switch tube Q3 may be one or more combinations of any reasonable switch devices such as MOS tubes, triodes, thyristors, IGBTs, etc., which is not limited in the present application.
[0110] Among them, the first normally open contact K1 and the second normally open contact K2 can be specifically understood as the normally open contacts in any reasonable relay, or the controlled second end and third end in any reasonable switching device such as MOS tube, triode, thyristor, IGBT, etc., so as to be able to trigger conduction or shutdown in response to the level state of the second node voltage ON2 at the second end of the twenty-sixth resistor R26 and the first node voltage ON1 at the second end of the twenty-ninth resistor R29, respectively. The present application does not limit this.
[0111] In one embodiment, the signal detection circuit 40 specifically also includes a grading detection circuit 45, which includes a thirty-fourth resistor R34, a thirty-fifth resistor R35, a thirty-sixth resistor R36 and a thirty-seventh resistor R37. The first end of the thirty-fourth resistor R34 is coupled to the proportional amplifier circuit 41, the second end of the thirty-fourth resistor R34 is coupled to the first end of the thirty-fifth resistor R35, the second end of the thirty-fifth resistor R35 is coupled to the first end of the thirty-sixth resistor R36 and the second end of the second comparator BJ2, the second end of the thirty-sixth resistor R36 is coupled to the first end of the thirty-seventh resistor R37 and the second end of the third comparator BJ3, and the second end of the thirty-seventh resistor R37 is grounded.
[0112] In one embodiment, the signal detection circuit 40 specifically also includes a third voltage follower U3 and a fourth voltage follower U4, the first end of the third voltage follower U3 is coupled to the second end of the twenty-ninth resistor R29, the second end of the third voltage follower U3 is coupled to its third end and a signal processing circuit (not shown), the first end of the fourth voltage follower U4 is coupled to the second end of the twenty-sixth resistor R26, the second end of the fourth voltage follower U4 is coupled to its third end and the signal processing circuit, so that the third voltage follower U3 and the fourth voltage follower U4 can be used to output the second node voltage ON2 of the second end of the twenty-sixth resistor R26 and the first node voltage ON1 of the second end of the twenty-ninth resistor R29 to the signal processing circuit, so that the signal processing circuit uses the first node voltage ON1, the second node voltage ON2 and the proportionally amplified signal to be detected V-in-sense to calculate and obtain the detection output data.
[0113] In one embodiment, the signal detection circuit 40 further includes a plurality of voltage meters V for detecting the voltage of any reasonable node in the signal detection circuit 40 , so as to monitor the working state of the signal detection circuit 40 and provide reference and simulation verification for the signal processing circuit.
[0114] It is understandable that in this embodiment, the differential amplifier circuit 43, the voltage follower circuit 46, the filter circuit 44 and the protection circuit 48 are respectively the same as the differential amplifier circuit 33, the voltage follower circuit 36, the filter circuit 34 and the protection circuit 38. For details, please refer to Figure 4 And the related text content will not be repeated here.
[0115] Please continue reading Fig. 9 and Fig.10 ,in, Fig. 9 yes Figure 6-Figure 8 Schematic diagram of the waveform of some signals in the detection circuit. Fig.10 yes Figure 6-Figure 8 Schematic diagram of the waveform of another part of the signal in the detection circuit.
[0116] in, Fig. 9 and Fig.10 Specifically shown are the detection signal V-in-sense, the first output signal Vout1 of the differential amplifier circuit 33, the second output signal Vout of the protection circuit 38, the first control signal GL and the second control signal GH output by the hysteresis circuit 42 to the second switch tube Q2 and the third switch tube Q3 respectively, the first comparison signal V-ON1 obtained after the corresponding voltage comparison is performed using the second comparator BJ2, and the second comparison signal V-ON2 obtained after the corresponding voltage comparison is performed using the third comparator BJ3.
[0117] It can be understood that the hysteresis circuit 42 specifically utilizes the twentieth resistor R20, the twenty-first resistor R21, the twenty-second resistor R22, and the twenty-third resistor R23 to divide the third reference voltage Vref3, and then utilizes the first voltage follower U1 and the second voltage follower U2 to sample and follow the processing to obtain the first setting voltage Ref-Key1 and the second setting voltage Ref-Key2; wherein the first setting voltage Ref-Key1 is greater than the second setting voltage Ref-Key2, so as to be able to define three voltage threshold ranges, namely, less than the second setting voltage Ref-Key2, greater than the second setting voltage Ref-Key2 and less than the first setting voltage Ref-Key1, and greater than the first setting voltage Ref-Key1.
[0118] Furthermore, when the voltage follower U obtains the signal V-in-sense to be detected after pre-amplification by the differential amplifier circuit 43, the thirty-fourth resistor R34, the thirty-fifth resistor R35, the thirty-sixth resistor R36 and the thirty-seventh resistor R37 can be used for voltage division to obtain two different divided voltage signals to be detected, and then compared by the second comparator and the third comparator using the corresponding resistors and the first set voltage Ref-Key1 and the second set voltage Ref-Key2 to obtain the first comparison signal V-ON1 and the second comparison signal V-ON2 respectively, so that the first comparison signal V-ON1 and the second comparison signal V-ON2 can be used to trigger the first normally open contact K1 and the second normally open contact K2 to be turned on or off respectively, so as to adjust the connection status between the 30th resistor R30, the thirty-first resistor R31, the thirty-second resistor R32 and the thirty-third resistor R33, and cooperate with the NOT gate sub-circuit FM and the AND gate sub-circuit YM to obtain the first control signal GL and the second control signal GH respectively using the set level VDD.
[0119] Among them, the corresponding relationship between the level states of the first comparison signal V-ON1 and the second comparison signal V-ON2 and the first control signal GL and the second control signal GH is shown in Table 1, which is a truth table of the three-speed amplification ratio switching drive logic (GL, GH).
[0120] Table 1: Truth table of three-gear amplification ratio switching drive logic (GL, GH)
[0121]
[0122] Note: H is logic high level; L is logic low level
[0123] It can be seen that, taking the second switch tube Q2 and the third switch tube Q3 as P-type MOS tubes as an example, when the first control signal GL is L and the second control signal GH is H, the second switch tube Q2 will be triggered to be turned off and the third switch tube Q3 will be triggered to be turned on; when the first control signal GL is H and the second control signal GH is L, the second switch tube Q2 will be triggered to be turned on and the third switch tube Q3 will be triggered to be turned on and turned off; when the first control signal GL is L and the second control signal GH is L, the second switch tube Q2 will be triggered to be turned off and the third switch tube Q3 will be triggered to be turned on and turned off.
[0124] Similarly, adjusting the resistance values of the sixteenth resistor R16 and the seventeenth resistor R17 can adjust the third amplification ratio AV3 of the third amplifier FD3 and the value of the second output signal Vout when the signal to be detected V-in-sense is a weak signal; and adjusting the resistance values of the eighteenth resistor R18 and the nineteenth resistor R19 can adjust the fourth amplification ratio AV4 of the third amplifier FD3 and the value of the second output signal Vout when the signal to be detected V-in-sense is a strong signal; and adjusting the resistance value of the fifteenth resistor R15 can simultaneously adjust the value of the third amplification ratio AV3 and the value of the fourth amplification ratio AV4.
[0125] Therefore, by utilizing the corresponding comparison between the second comparator BJ2 and the third comparator BJ3, the first control signal GL and the second control signal GH are sent to the second switch tube Q2 and the third switch tube Q3 respectively, so as to utilize the first control signal GL to trigger the second switch tube Q2 to be turned on or off, and utilize the second control signal GH to trigger the third switch tube Q3 to be turned on or off, and adjust the resistance equivalent value between the second end and the third end of the third amplifier FD3, so as to selectively determine the amplification ratio of the proportional amplifier circuit 41 to the pre-amplified detection signal V-in-sense, that is, the first output signal Vout1.
[0126] In some other embodiments, the hysteresis circuit 42 may also specifically adopt a similar circuit architecture, using more voltage comparison units composed of comparators and more resistance equivalent value adjustment units composed of switching tubes to limit more voltage threshold ranges, so that the detection signal V-in-sense can be proportionally amplified with amplification ratios with more options, so as to further refine the signal detection scenarios adapted to the detection signals of different sizes, and achieve more accurate signal detection accuracy and the working requirements of the post-working circuit. The present application does not limit this.
[0127] This application also specifically adopts a detection method, please refer to Fig.11 , Fig.11 This is a flow chart of the first embodiment of the detection method of the present application. Specifically, it may include the following steps:
[0128] S51: receiving a signal to be detected sent by the circuit to be detected.
[0129] It is understandable that the detection method in this embodiment is specifically a method in which a signal detection circuit detects a signal to be detected in the circuit to be detected to understand the operating state and working parameters of the circuit. The signal detection circuit specifically includes a proportional amplifier circuit and a hysteresis circuit, the proportional amplifier circuit is used to couple with the circuit to be detected, and the hysteresis circuit is coupled to the proportional amplifier circuit.
[0130] Specifically, the proportional amplification circuit receives or collects and acquires a signal that needs to be detected and analyzed in the circuit to be detected, that is, the signal to be detected.
[0131] S52: Compare the signal to be detected with a preset reference voltage to determine an amplification ratio of the signal to be detected.
[0132] Furthermore, the signal to be detected is compared with a preset reference voltage by using a hysteresis circuit to determine the amplification ratio of the signal to be detected, and a control signal corresponding to the amplification ratio is sent to the proportional amplification circuit.
[0133] S53: Proportionally amplify the signal to be detected based on the amplification ratio.
[0134] Still further, the proportional amplification circuit proportionally amplifies the signal to be detected based on a corresponding amplification ratio in response to a currently received control signal.
[0135] Among them, the number of the preset reference voltages can specifically be one or more, and when the preset reference voltage is one, the result of the hysteresis circuit comparing the signal to be detected with the preset reference voltage will correspond to the signal to be detected being greater than or less than the preset reference voltage, so as to give different control signals respectively corresponding to the signal to be detected being greater than or less than the preset reference voltage, and use different control signals to trigger the proportional amplifier circuit to adopt different amplification ratios to proportionally amplify the signal to be detected.
[0136] It can be seen that the preset reference voltage will limit two preset threshold ranges. When the signal to be detected is in different preset threshold ranges, different amplification ratios of the signal to be detected will be determined, so as to be able to adapt to signals to be detected of different sizes and reasonably perform different multiples of amplification.
[0137] When the number of the preset reference voltages is at least two, the at least two preset reference voltages will define at least three preset threshold ranges. Similarly, when the signal to be detected is within different preset threshold ranges, at least three different amplification ratios of the signal to be detected will be determined, so that the proportional amplification circuit can proportionally amplify the signal to be detected using at least three different amplification ratios, so as to further refine the proportional amplification of the signal to be detected, thereby meeting the requirements of the post-working circuit for signal strength and signal detection accuracy.
[0138] Among them, the hysteresis circuit determines the amplification ratio of the signal to be detected by comparing the signal to be detected with a preset reference voltage, and the amplification ratio is negatively correlated with the signal to be detected. That is, when the signal to be detected is small, the amplification ratio determined by the hysteresis circuit is large, and when the signal to be detected is large, the amplification ratio determined by the hysteresis circuit is small.
[0139] In one embodiment, the signal detection circuit further includes a voltage follower, and the voltage follower circuit is coupled to the hysteresis circuit. After S51 and before S52, the following step further includes: performing voltage following processing on the signal to be detected.
[0140] In one embodiment, the signal detection circuit further includes a filter circuit, and the filter circuit is coupled to the proportional amplification circuit. After the above S53, the step further includes: filtering the proportionally amplified signal to be detected.
[0141] In one embodiment, the signal detection circuit further includes a protection circuit, which is coupled to the proportional amplification circuit. After the above S53, the step further includes: limiting the proportionally amplified signal to be detected within a safety threshold range.
[0142] In one embodiment, the signal detection circuit further includes a signal processing circuit, the signal processing circuit is coupled to the hysteresis circuit and the proportional amplification circuit, and after the above S53, further includes: obtaining detection output data by calculating using the control signal and the proportionally amplified signal to be detected.
[0143] In one embodiment, after the above S53, the method further includes: sending the amplified signal to be detected to a post-operation circuit.
[0144] See also Fig.12 , Fig.12 : is a schematic diagram of the flow chart of the second embodiment of the detection method of the present application. The detection method of this embodiment is Fig.11 A schematic flow chart of a detailed implementation of the detection method in the embodiment of the present invention specifically comprises the following steps:
[0145] S61: receiving a signal to be detected sent by the circuit to be detected.
[0146] Among them, S61 and Fig.11 For details, please refer to S51 and its related text descriptions, which will not be repeated here.
[0147] S62: Pre-amplify the signal to be detected.
[0148] It is understandable that the signal detection circuit specifically also includes a differential amplifier circuit, which is coupled to a proportional amplifier circuit and a hysteresis circuit. The differential amplifier circuit is used to receive the signal to be detected sent by the circuit to be detected, so as to pre-amplify the signal to be detected and then send it to the proportional amplifier circuit and the hysteresis circuit.
[0149] It is worth noting that the differential amplifier circuit can filter out common-mode interference in the circuit to be detected, and at the same time use the pre-amplification function to provide a graded reference signal for the hysteresis circuit, that is, it is convenient for the hysteresis circuit to use the pre-amplified signal to be detected to determine the amplification ratio of the signal to be detected.
[0150] S63: Compare the pre-amplified signal to be detected with a preset reference voltage to determine an amplification ratio of the signal to be detected.
[0151] Specifically, the hysteresis circuit compares the pre-amplified signal to be detected with a preset reference voltage to determine the amplification ratio of the signal to be detected, and sends a control signal corresponding to the amplification ratio to the proportional amplification circuit.
[0152] S64: Proportionally amplify the pre-amplified signal to be detected based on the amplification ratio.
[0153] Furthermore, the proportional amplification circuit proportionally amplifies the pre-amplified signal to be detected based on a corresponding amplification ratio in response to a currently received control signal.
[0154] It is understandable that in some other embodiments, the signal detection circuit may further include some other more specific circuit units to implement other more specific detection methods. Figure 1-Figure 10 And related text descriptions will not be repeated here.
[0155] This application also specifically adopts a signal processing circuit, see Fig.13 , Fig.13 It is a schematic diagram of a framework of an embodiment of the signal processing circuit of the present application. In this embodiment, the signal processing circuit 70 specifically includes a circuit to be detected 71 and a signal detection circuit 72 coupled to each other.
[0156] It should be noted that the signal detection circuit 72 described in this embodiment is the signal detection circuit 10, the signal detection circuit 20, the signal detection circuit 30 or the signal detection circuit 40 described in any one of the above embodiments. Figure 1-Figure 10 And the related text content will not be repeated here.
[0157] This application also specifically uses an electronic device, see Fig.14 , Fig.14Schematic diagram of the framework of an electronic device of the present application. In this embodiment, the electronic device 80 specifically includes a housing 81 and a functional circuit 82 coupled to each other.
[0158] It should be noted that the functional circuit 82 described in this embodiment is the signal detection circuit 10, the signal detection circuit 20, the signal detection circuit 30 or the signal detection circuit 40 described in any one of the above embodiments, or the signal processing circuit 70. Figure 1-Figure 10 , Fig.13 And the related text content will not be repeated here.
[0159] The beneficial effect of the present application is as follows: different from the prior art, the proportional amplifier circuit in the signal detection circuit provided by the present application is used to receive the signal to be detected sent by the circuit to be detected, so as to compare the signal to be detected with the preset reference voltage by using the hysteresis circuit, determine the amplification ratio of the signal to be detected, and send a control signal corresponding to the amplification ratio to the proportional amplifier circuit, so that the proportional amplifier circuit proportionally amplifies the signal to be detected based on the amplification ratio, so that different amplification ratios can be used to proportionally amplify different signals to be detected that are greater than and less than the preset reference voltage, so as to effectively ensure the detection accuracy of weak signals, that is, smaller signals to be detected, while not narrowing the signal detection range of the post-working circuit; and it can be adapted to signals to be detected of different sizes, and effectively ensure the signal detection accuracy without repeatedly adjusting the signal detection range, so that it can be suitable for more application scenarios.
[0160] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A signal detection circuit, characterized in that: The signal detection circuit comprises: A proportional amplifying circuit, used for coupling with the circuit to be detected to receive a signal to be detected sent by the circuit to be detected; A hysteresis circuit coupled to the proportional amplifier circuit; The hysteresis circuit is used to receive the signal to be detected, compare the signal to be detected with a preset reference voltage, determine the amplification ratio of the signal to be detected, and send a control signal corresponding to the amplification ratio to the proportional amplification circuit; The proportional amplification circuit is used to receive the control signal and proportionally amplify the signal to be detected based on the amplification ratio; Wherein, the number of the amplification ratios is at least two, the preset reference voltage is limited to obtain at least two preset threshold ranges, the preset threshold ranges are determined by the hysteresis point upper limit value and the hysteresis point lower limit value corresponding to the preset reference voltage, and the hysteresis point lower limit value with a larger numerical interval in each of two adjacent preset threshold ranges is greater than the hysteresis point upper limit value with a smaller numerical interval; The proportional amplification circuit further includes a comparison subcircuit and a switch subcircuit, the comparison subcircuit includes a second amplifier, the switch subcircuit includes a first switch tube, sixth to tenth resistors, a first end of the second amplifier is used to couple with the circuit to be detected, a second end of the second amplifier is coupled to the first end of each of the sixth to tenth resistors, a third end of the second amplifier is coupled to the second end of the sixth resistor, and is used to couple with the post-operation circuit, a second end of the seventh resistor is grounded, a second end of the eighth resistor is grounded, a second end of the ninth resistor is coupled to the second end of the tenth resistor and the third end of the first switch tube, and a second end of the first switch tube is grounded; The hysteresis circuit includes a first comparator, an eleventh resistor and a twelfth resistor, wherein a first end of the eleventh resistor is coupled to a second reference voltage supply end, a second end of the eleventh resistor is coupled to a first end of the first comparator and a first end of the twelfth resistor, and a second end of the twelfth resistor is coupled to a third end of the first comparator and a first end of the first switch tube; The signal detection circuit also includes a gradation detection circuit, which includes a thirteenth resistor, a fourteenth resistor and a fifteenth resistor, wherein the first end of the thirteenth resistor is used to couple with the circuit to be detected, the second end of the thirteenth resistor is coupled to the first end of the fourteenth resistor, the second end of the fourteenth resistor is coupled to the first end of the fifteenth resistor and the second end of the first comparator, and the second end of the fifteenth resistor is grounded.
2. The signal detection circuit according to claim 1, characterized in that: The amplification ratio is negatively correlated with the signal to be detected.
3. The signal detection circuit according to claim 1, characterized in that: The signal detection circuit also includes a differential amplifier circuit, which is coupled to the first end of the second amplifier and the first end of the thirteenth resistor, and is used to couple with the circuit to be detected to receive the signal to be detected sent by the circuit to be detected, and to pre-amplify the signal to be detected and then send it to the first end of the second amplifier and the first end of the thirteenth resistor.
4. The signal detection circuit according to claim 3, characterized in that: The differential amplifier circuit includes first to fifth resistors, first to fourth capacitors, and a first amplifier. The first end of the first resistor is used to couple the first end of the circuit to be detected and is grounded. The second end of the first resistor is coupled to the first end of the fourth capacitor, the first end of the second resistor, the first end of the first amplifier, and the first end of the third resistor. The second end of the fourth capacitor is grounded. The second end of the second resistor is coupled to the first end of the first capacitor and is grounded. The second end of the third resistor is coupled to the second end of the first capacitor and a first reference voltage providing end. The first end of the fourth resistor is used to couple the second end of the circuit to be detected. The second end of the fourth resistor is coupled to the first end of the third capacitor, the first end of the second capacitor, the first end of the fifth resistor, and the second end of the first amplifier. The second end of the third capacitor is grounded. The second end of the second capacitor is coupled to the second end of the fifth resistor, the third end of the first amplifier, the first end of the second amplifier, and the first end of the thirteenth resistor.
5. The signal detection circuit according to any one of claims 1 to 4, characterized in that: The signal detection circuit also includes a signal processing circuit, which is coupled to the hysteresis circuit and the proportional amplification circuit. The signal processing circuit receives the control signal sent by the hysteresis circuit and the proportionally amplified signal to be detected sent by the proportional amplification circuit, so as to calculate the detection output data using the control signal and the proportionally amplified signal to be detected.
6. The signal detection circuit according to any one of claims 1 to 2, characterized in that: The signal detection circuit also includes a voltage follower circuit, which is coupled to the first end of the thirteenth resistor and is used to couple with the circuit to be detected to receive the signal to be detected sent by the circuit to be detected, and to perform voltage following processing on the signal to be detected and then send it to the first end of the thirteenth resistor.
7. The signal detection circuit according to any one of claims 1 to 4, characterized in that: The signal detection circuit also includes a filtering circuit, which is coupled to the third end of the second amplifier and is used to couple to the post-working circuit. The filtering circuit receives the amplified signal to be detected sent by the third end of the second amplifier, filters the amplified signal to be detected, and then sends it to the post-working circuit.
8. The signal detection circuit according to claim 7, characterized in that: The filtering circuit includes a first filtering resistor, a second filtering resistor and a filtering capacitor. The first end of the first filtering resistor is coupled to the third end of the second amplifier. The second end of the first filtering resistor is coupled to the first end of the filtering capacitor, the first end of the second filtering resistor and the post-working circuit. The second end of the filtering capacitor is grounded, and the second end of the second filtering resistor is grounded.
9. A signal detection circuit, characterized in that: The signal detection circuit comprises: A proportional amplifying circuit, used for coupling with the circuit to be detected to receive a signal to be detected sent by the circuit to be detected; A hysteresis circuit coupled to the proportional amplifier circuit; The hysteresis circuit is used to receive the signal to be detected, compare the signal to be detected with a preset reference voltage, determine the amplification ratio of the signal to be detected, and send a control signal corresponding to the amplification ratio to the proportional amplification circuit; The proportional amplification circuit is used to receive the control signal and proportionally amplify the signal to be detected based on the amplification ratio; Wherein, the number of the amplification ratios is at least two, the preset reference voltage is limited to obtain at least two preset threshold ranges, the preset threshold ranges are determined by the hysteresis point upper limit value and the hysteresis point lower limit value corresponding to the preset reference voltage, and the hysteresis point lower limit value with a larger numerical interval in each of two adjacent preset threshold ranges is greater than the hysteresis point upper limit value with a smaller numerical interval; The proportional amplification circuit further includes a comparison subcircuit and a switch subcircuit, the comparison subcircuit includes a third amplifier, the switch subcircuit includes a second switch tube, a third switch tube, and fifteenth to nineteenth resistors, a first end of the third amplifier is used to couple with the circuit to be detected, a second end of the third amplifier is coupled to the first end of each of the fifteenth to nineteenth resistors, a third end of the third amplifier is coupled to the second end of the fifteenth resistor, and is used to couple with the post-operation circuit, a second end of the sixteenth resistor is grounded, a second end of the seventeenth resistor is grounded, a second end of the eighteenth resistor is coupled to the third end of the second switch tube, a second end of the second switch tube is grounded, a second end of the nineteenth resistor is coupled to the third end of the third switch tube, and a second end of the third switch tube is grounded; The hysteresis circuit includes a second comparator, a third comparator, twentieth to thirty-third resistors, a fifth capacitor, a sixth capacitor, a first voltage follower, a second voltage follower, a first normally open contact, a second normally open contact, a NOT gate sub-circuit and an AND gate sub-circuit; A first end of the twentieth resistor is coupled to a third reference voltage supply end, a second end of the twentieth resistor is coupled to a first end of a twenty-first resistor, a second end of the twenty-first resistor is coupled to a first end of the first voltage follower and a first end of the twenty-second resistor, a second end of the twenty-second resistor is coupled to a first end of the second voltage follower and a first end of the twenty-third resistor, a second end of the twenty-third resistor is grounded, a second end of the second voltage follower is coupled to a third end thereof and a first end of a twenty-fourth resistor, a second end of the twenty-fourth resistor is coupled to a first end of the second comparator and a first end of a twenty-fifth resistor, a second end of the twenty-fifth resistor is coupled to a third end of the second comparator and a first end of a twenty-sixth resistor, a second end of the twenty-sixth resistor is coupled to a first end of the fifth capacitor and a control end of the second normally open contact, and a second end of the fifth capacitor is grounded; The second end of the first voltage follower is coupled to the third end thereof and the first end of the twenty-seventh resistor, the second end of the twenty-seventh resistor is coupled to the first end of the third comparator and the first end of the twenty-eighth resistor, the second end of the twenty-eighth resistor is coupled to the third end of the third comparator and the first end of the twenty-ninth resistor, the second end of the twenty-ninth resistor is coupled to the first end of the sixth capacitor and the control end of the first normally open contact, and the second end of the sixth capacitor is grounded; A first end of the 30th resistor is coupled to a first end of a 31st resistor and a set level providing end, a second end of the 30th resistor is coupled to a first end of the first normally open contact and a first end of the AND gate sub-circuit, a second end of the first normally open contact is coupled to a first end of a 32nd resistor, a second end of the 32nd resistor is coupled to a second end of the 33rd resistor and is grounded, a second end of the 31st resistor is coupled to a first end of the second normally open contact, a first end of the NOT gate sub-circuit and a first end of the third switch tube, a second end of the second normally open contact is coupled to a first end of the 33rd resistor, a second end of the NOT gate sub-circuit is coupled to a second end of the AND gate sub-circuit, and a third end of the AND gate sub-circuit is coupled to a first end of the second switch tube; The signal detection circuit also includes a gradation detection circuit, which includes a thirty-fourth resistor, a thirty-fifth resistor, a thirty-sixth resistor and a thirty-seventh resistor, the first end of the thirty-fourth resistor is used to couple with the circuit to be detected, the second end of the thirty-fourth resistor is coupled to the first end of the thirty-fifth resistor, the second end of the thirty-fifth resistor is coupled to the first end of the thirty-sixth resistor and the second end of the second comparator, the second end of the thirty-sixth resistor is coupled to the first end of the thirty-seventh resistor and the second end of the third comparator, and the second end of the thirty-seventh resistor is grounded.
10. A signal detection method, characterized in that: Applied to the signal detection circuit according to any one of claims 1 to 8, or the signal detection circuit according to claim 9, the signal detection method comprises: Receiving a signal to be detected sent by a circuit to be detected; Comparing the signal to be detected with a preset reference voltage to determine an amplification ratio of the signal to be detected; The signal to be detected is proportionally amplified based on the amplification ratio; wherein the number of the amplification ratios is at least two, the preset reference voltage limits at least two preset threshold ranges, the preset threshold ranges are determined by the hysteresis point upper limit value and the hysteresis point lower limit value corresponding to the preset reference voltage, and the hysteresis point lower limit value with a larger numerical interval in each adjacent two preset threshold ranges is greater than the hysteresis point upper limit value with a smaller numerical interval.
11. The signal detection method according to claim 10, characterized in that: After the step of receiving the signal to be detected sent by the circuit to be detected and before the step of comparing the signal to be detected with a preset reference voltage to determine the amplification ratio of the signal to be detected, the method further includes: Pre-amplifying the signal to be detected; The step of comparing the signal to be detected with a preset reference voltage to determine the amplification ratio of the signal to be detected includes: Comparing the pre-amplified signal to be detected with the preset reference voltage to determine the amplification ratio of the signal to be detected; The step of proportionally amplifying the signal to be detected based on the amplification ratio comprises: The pre-amplified signal to be detected is proportionally amplified based on the amplification ratio.
12. A signal processing circuit, characterized in that: The signal processing circuit includes a circuit to be detected and a signal detection circuit coupled to each other; Wherein, the signal detection circuit is the signal detection circuit as described in any one of claims 1 to 8, or the signal detection circuit as described in claim 9.
13. An electronic device, characterized in that: The electronic device comprises a housing and a functional circuit coupled to each other; Wherein, the functional circuit is the signal detection circuit as described in any one of claims 1 to 8, or the signal detection circuit as described in claim 9, or the signal processing circuit as described in claim 12.
