Signal detection circuit based on multipath comparator
By using a multi-comparator structure and a variable reference voltage design, the problems of detailed comparison of sensor output signals and control of different responses are solved, thus realizing a signal detection circuit with fast response and improved stability.
Patent Information
- Application Number
- CN202423078218.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2034-12-13
AI Technical Summary
In certain specific applications, existing signal detection circuits using a single comparator struggle to achieve detailed comparison of sensor output signals and control of different responses. Furthermore, with multiple comparators, the conditioning circuits for the reference voltage and input signal become complex, affecting circuit stability.
It adopts a multi-comparator structure, combining a sensor input module, amplifier circuit, multi-comparator and DAC circuit, and realizes different comparison threshold settings for the sensor output signal through a variable signal circuit, avoiding the delay caused by the signal entering the ADC processing, and using a variable reference voltage to adapt to different environments.
It achieves fast-response variable signal detection, enables direct control of different voltages, improves sensor response speed and circuit stability, and adapts to the needs of changing environments.
Smart Images

Figure CN223744711U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to electronic testing equipment etc. BACKGROUND
[0002] The common sensor post-stage circuit can be directly into the ADC circuit, such as the commonly used STM32 series single-chip microcomputer, which is provided with 12-bit ADC and can work under the sampling rate of 1MSPS, and under the general condition, the conversion time of ADC is in 1.5~7.5 ADC clock periods, so the conversion time of STM32 is about 1us, and in some specific occasions, such reaction speed is insufficient, and the response speed of the sensor can also be improved by using a comparator, in most circuits, a single comparator is used to compare with a fixed reference voltage, the output signal of the sensor is first amplified by a suitable amplifier, and the output voltage is adjusted to a suitable voltage value to compare with the reference voltage, so that a fast comparison result can be obtained.
[0003] In some specific application occasions, more detailed comparison needs to be made on the value of the sensor, or different response control needs to be made on different outputs of the sensor, so multiple comparators are needed, but in the case of multiple comparators, the selection of the reference voltage and the amplifier conditioning circuit of the input signal will become very difficult, and the precision and temperature drift of various devices will affect the stability of the circuit.
[0004] In view of the above defects, the present design person actively researches and innovates to create a novel structure of signal detection circuit based on multiple comparators, so that it has more industrial utilization value. CONTENT OF THE UTILITY MODEL
[0005] To solve the above technical problems, the purpose of the utility model is to provide a signal detection circuit based on multiple comparators.
[0006] To achieve the above purpose, the utility model adopts the following technical scheme:
[0007] A signal detection circuit based on multiple comparators, comprising a sensor input module and a processing module, the output end of the sensor input module is connected with the input end of the same first comparator circuit of multiple paths, the output end of the first comparator circuit of each path is connected with the input end of a first driving module, the output end of the sensor input module is connected with the input end of an amplifier circuit, the output end of the amplifier circuit is connected with the input end of the same second comparator circuit of multiple paths, the output end of the second comparator circuit of each path is connected with the input end of a second driving module, the output end of the processing module is connected with the input end of a first DAC circuit and a second DAC circuit, the output end of the first DAC circuit is connected with the input end of the first comparator circuit of each path, the feedback end of the first comparator circuit of each path is connected with the input end of the processing module, the output end of the second DAC circuit is connected with the input end of the second comparator circuit of each path, and the feedback end of the second comparator circuit of each path is connected with the input end of the processing module.
[0008] Preferably, the signal detection circuit based on multiple comparators, the processing module is a single-chip microcomputer, and the model thereof is STM32.
[0009] Preferably, the signal detection circuit based on multiple comparators, the amplifier circuit adopts a chip model OP07.
[0010] Preferably, the signal detection circuit based on multiple comparators, the first comparator circuit and the second comparator circuit are the same circuit, and the chip model of the first comparator circuit and the second comparator circuit is LM311.
[0011] Preferably, the signal detection circuit based on multiple comparators, the chip model of the first DAC circuit and the second DAC circuit is DAC65741.
[0012] By the above scheme, the signal detection circuit based on multiple comparators has at least the following advantages:
[0013] The variable signal circuit can provide fast response, different comparison threshold settings are performed on sensor output signals, direct control of different voltages is realized, and delay caused by signal entering an ADC for processing is avoided.
[0014] The above description is only a summary of the technical scheme of the utility model, in order to more clearly understand the technical means of the utility model, and can be implemented according to the content of the specification, the following detailed description of the preferred embodiments of the utility model and the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be considered as limiting the scope. For those skilled in the art, other related drawings can also be obtained from these drawings without creative labor.
[0016] Figure 1 is the schematic diagram of the present application;
[0017] Figure 2 is the circuit diagram of the amplifier circuit of the present application;
[0018] Figure 3 is the circuit diagram of the comparator circuit of the present application;
[0019] Figure 4 is the circuit diagram of the DAC circuit of the present application;
[0020] Figure 5 is the simulation comparison diagram of the amplifier circuit output of the present application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the following will combine 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 some of the embodiments of the present application, not all the embodiments. The components of the embodiments of the present application described and shown in the drawings can be arranged and designed in various different configurations.
[0022] Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of the present application.
[0023] EMBODIMENTS
[0024] As Figure 1 , Figure 2 , Figure 3 , Figure 4 and Figure 5As shown, a signal detection circuit based on a plurality of comparators includes a sensor input module 1 and a processing module 9, the output of the sensor input module 1 is connected with the input of a plurality of the same first comparator circuit 2, the output of each first comparator circuit 2 is connected with the input of a first driving module 3, the output of the sensor input module 1 is connected with the input of an amplifier circuit 4, the output of the amplifier circuit 4 is connected with the input of a plurality of the same second comparator circuit 5, the output of each second comparator circuit 5 is connected with the input of a second driving module 6, the output of the processing module 9 is connected with the input of a first DAC circuit 7 and a second DAC circuit 8, the output of the first DAC circuit 7 is connected with the input of each first comparator circuit 2, the feedback end of each first comparator circuit 2 is connected with the input of the processing module 9, the output of the second DAC circuit 8 is connected with the input of each second comparator circuit 5, and the feedback end of each second comparator circuit 5 is connected with the input of the processing module 9.
[0025] The processing module 9 in the utility model is a single-chip microcomputer, and the model thereof is an STM32 series.
[0026] The chip model of the amplifier circuit 4 in the utility model is OP07, wherein,
[0027] The amplifier circuit mainly obtains the voltage of two comparators, and after the input signal is coupled by a capacitor, the signal is given to a voltage dividing circuit to obtain a divided voltage ANA_SIG_A, and the rough detection signal is used for the first comparator circuit in the rear stage, and the voltage after the output of the amplifier circuit is equivalent to a more precise voltage value. The front stage of the amplifier is equivalent to (coarse adjustment), and the rear stage of the amplifier is equivalent to (fine adjustment).
[0028] The value of the amplifier output is about 3 times of the input, and the calculation formula is:
[0029]
[0030] The first comparator circuit 2 and the second comparator circuit 5 in the utility model are the same circuit, wherein the chip model of the first comparator circuit 2 and the second comparator circuit 5 is LM311.
[0031] In the comparator circuit, a signal of a DAC_H_1 is used, which is an analog level of the output of the DAC, for the input reference value of the comparator, which can be programmed to change. Different thresholds can be used to adjust different use scenarios. For example, the output value of a certain sensor may be different at different times, different temperatures, different seasons and different altitudes. Different preset values can be made by collecting data and stored in the ROM of the single-chip microcomputer, so that different environments can be directly selected for use.
[0032] The COMP_H_OUT2 is output in two ways, one of which is given to the processing module to let the processing module know the current state, and the other is directly input to a driving module to realize direct control of the device by the different states detected by the sensor.
[0033] The first DAC circuit 7 and the second DAC circuit 8 in the utility model all adopt a chip model of DAC65741.
[0034] In the DAC circuit in the utility model, a four-channel output 10-bit DAC controlled by IIC is used as the reference reference of the comparator, different reference voltages are used in the "coarse adjustment", and another four reference voltages are used in the "fine adjustment". In practical applications, more output channels of DAC can also be used to obtain more reference voltages to realize more precise comparison references.
[0035] The sensor input module (a conditioning circuit) and the driving module in the utility model are both module circuits known in the art, and will not be repeated.
[0036] In specific work, an amplifier circuit is used for comparison in two gears, the sensor input signal is directly connected to the first comparator circuit (equivalent to a "coarse adjustment") after passing through the sensor input module, and the sensor input signal is also connected to an amplifier circuit, and the amplified signal is connected to the second comparator circuit (equivalent to a "fine adjustment").
[0037] The comparator is used to compare different sensor input voltages to obtain different results, which are output to the driving circuit to directly act on the corresponding responsive device. The fastest control can be realized, and the sensor input signal state can also be input to the single-chip microcomputer for monitoring.
[0038] The variable output of the DAC circuit is used as the reference of the comparator, different levels are used for the reference of the comparator, and different comparison output results are obtained. The variable output of the DAC circuit makes the reference of the comparator flexible and adjustable, which can adapt to different environmental applications. According to different conditions, the reference of the comparator is adjusted to meet different application requirements.
[0039] It should be noted that like reference numerals and letters refer to like items throughout the accompanying drawings, and once an item is defined in one drawing, further definitions and explanations of the item are not required in subsequent drawings.
[0040] In the description of the present application, it should be noted that the terms "vertical", "horizontal", "inner", "outer", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship commonly placed when the product of the application is used, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the indicated device or element must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the present application. In addition, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0041] In addition, the terms "horizontal", "vertical", etc. do not mean that the components must be absolutely horizontal or vertical, but can be slightly inclined. For example, "horizontal" only means that its direction is more horizontal relative to "vertical", and does not mean that the structure must be completely horizontal, but can be slightly inclined.
[0042] In the description of the present application, it should be noted that unless otherwise explicitly specified and limited, the terms "arrangement", "installation", "connection", "connection" should be broadly understood, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium; it can be the communication between two elements inside. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0043] The above is only the preferred embodiment of the present application, and is not used to limit the present application. It should be noted that for those skilled in the art, without departing from the technical principles of the present application, a number of improvements and modifications can be made, and these improvements and modifications should be considered as the protection scope of the present application.
Claims
1. A multi-comparator based signal detection circuit comprising a sensor input module (1) and a processing module (9), characterized in that: The output end of the sensor input module (1) is connected with the input end of a plurality of same first comparator circuits (2), the output end of each first comparator circuit (2) is connected with the input end of a first driving module (3), the output end of the sensor input module (1) is connected with the input end of an amplifier circuit (4), the output end of the amplifier circuit (4) is connected with the input end of a plurality of same second comparator circuits (5), the output end of each second comparator circuit (5) is connected with the input end of a second driving module (6), the output end of the processing module (9) is connected with the input end of a first DAC circuit (7) and a second DAC circuit (8), the output end of the first DAC circuit (7) is connected with the input end of each first comparator circuit (2), the feedback end of each first comparator circuit (2) is connected with the input end of the processing module (9), the output end of the second DAC circuit (8) is connected with the input end of each second comparator circuit (5), and the feedback end of each second comparator circuit (5) is connected with the input end of the processing module (9).
2. The signal detection circuit based on multiple comparators according to claim 1, wherein: The processing module (9) is a single-chip microcomputer, and the model thereof is an STM32 series.
3. The signal detection circuit based on multiple comparators according to claim 1, wherein: The chip model of the amplifier circuit (4) is OP07.
4. The signal detection circuit based on multiple comparators of claim 1, wherein: The first comparator circuit (2) and the second comparator circuit (5) are same circuits, and the chip model of the first comparator circuit (2) and the second comparator circuit (5) is LM311.
5. The signal detection circuit based on multiple comparators according to claim 1, wherein: The chip model of the first DAC circuit (7) and the second DAC circuit (8) is DAC65741.