A signal interval detection and judgment circuit based on switch circuit

Through the signal interval detection and judgment circuit based on the switch circuit, the Hall integrated circuit and the comparator are used to judge whether the signal is within a reasonable interval, which solves the problem of difficult signal interval detection in the existing technology and achieves accurate detection in the environment of severe electromagnetic interference in automobiles. Signal judgment to ensure the correct output of smart sensors.

CN110716161BActive Publication Date: 2024-10-25TIANJIN HAOYANG TIANHE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911100974.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-12
Publication Date
2024-10-25
Estimated Expiration
2039-11-12

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively distinguish whether the signal is within a reasonable range when detecting signals, especially in environments with severe electromagnetic interference in automobiles, resulting in false output and affecting the accuracy of smart sensors.

Method used

Design a signal interval detection and judgment circuit based on a switching circuit. Through the combination of signal sending module, comparator, signal conditioning circuit and switching circuit module, the Hall integrated circuit and comparator are used to determine whether the signal is within the specified interval and output a high voltage. flat or low level to avoid false signals caused by electromagnetic interference.

Benefits of technology

It achieves rapid confirmation of the signal range, has a simple circuit, low cost, and low power consumption. It can accurately determine whether the signal is within a reasonable range and avoid false output in environments with severe electromagnetic interference such as automobiles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110716161B_ABST
    Figure CN110716161B_ABST
Patent Text Reader

Abstract

The present invention discloses a signal interval detection and judgment circuit based on a switch circuit, wherein the output end of the signal sending module is respectively connected to the inverting end of the first comparator and the second comparator, the in-phase end of the first comparator is connected to the first signal adjustment circuit, and the in-phase end of the second comparator is connected to the second signal adjustment circuit; the output end of the first comparator is used as the output end of the judgment circuit, the output end of the first comparator is connected to the working voltage through a resistor R3, and the output end of the first comparator is also connected to the signal output end of the switch circuit module; the output end of the second comparator is connected to the working voltage through a resistor R4, and the output end of the second comparator is also connected to the signal control end of the switch circuit module; the signal input end of the switch circuit module is connected to the ground circuit. This design has the advantages of simple circuit, low cost, low power consumption, etc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a signal interval detection and judgment circuit based on a switch circuit, belonging to the technical field of signal detection and judgment. Background Art

[0002] Currently, when detecting a signal, it is often necessary to determine whether the signal is within a reasonable range. If it is within a certain signal range, a response signal can be sent out for use and identification by other circuits.

[0003] For example, in the automotive industry, many people know that the higher the degree of automation of cars, the more microelectronic circuits there are, and the more afraid of electromagnetic interference. There are many lamps and electrical components in cars, especially the high-power headlights, air conditioning motors and wiper motors, which will generate surge currents when switched on and off, causing arcs at the mechanical switch contacts and bringing large electromagnetic interference signals.

[0004] Therefore, an electromagnetic signal judgment circuit can be added. When the electromagnetic signal is within the specified range, this judgment circuit outputs a high level. The output high level can be used as a control signal for other intelligent sensors to avoid erroneous output caused by electromagnetic signal interference. Summary of the invention

[0005] Purpose: In order to overcome the deficiencies in the prior art, the present invention provides a signal interval detection and judgment circuit based on a switching circuit.

[0006] Technical solution: To solve the above technical problems, the technical solution adopted by the present invention is:

[0007] A signal interval detection and judgment circuit based on a switch circuit comprises: a signal sending module, wherein the output end of the signal sending module is respectively connected to the inverting ends of a first comparator and a second comparator, the non-inverting end of the first comparator is connected to the first signal adjustment circuit, and the non-inverting end of the second comparator is connected to the second signal adjustment circuit, and the first signal adjustment circuit and the second signal adjustment circuit are respectively connected in parallel between an operating voltage and a grounding circuit; the output end of the first comparator serves as the output end of the judgment circuit, the output end of the first comparator is connected to the operating voltage through a resistor R3, and the output end of the first comparator is also connected to the signal output end of the switch circuit module; the output end of the second comparator is connected to the operating voltage through a resistor R4, and the output end of the second comparator is also connected to the signal control end of the switch circuit module; the signal input end of the switch circuit module is connected to the grounding circuit; the first signal adjustment circuit outputs a signal upper limit value, and the second signal adjustment circuit outputs a signal lower limit value.

[0008] As a preferred solution, the signal sending module adopts a Hall integrated circuit.

[0009] As a preferred solution, the first signal adjustment circuit includes: a first adjustable potentiometer RP1, one end of the first adjustable potentiometer RP1 is connected to the working voltage, and the other end is grounded through a resistor R1.

[0010] As a preferred solution, the second signal adjustment circuit includes: a second adjustable potentiometer RP2, one end of the second adjustable potentiometer RP2 is connected to the working voltage, and the other end is grounded through a resistor R2.

[0011] As a preferred solution, the switch circuit module adopts CD4066.

[0012] As a preferred solution, the Hall integrated circuit adopts UGN3501T.

[0013] As a preferred solution, the first comparator and the second comparator adopt LM339.

[0014] Beneficial effects: The signal interval detection and judgment circuit based on the switching circuit provided by the present invention is convenient for adjusting the upper and lower limit values ​​of the input signal, and can quickly confirm the input signal between the upper and lower limit values. This design has the advantages of simple circuit, low cost and low power consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a schematic diagram of the circuit structure of the present invention. DETAILED DESCRIPTION

[0016] The present invention will be further described below in conjunction with the accompanying drawings.

[0017] Example:

[0018] like Figure 1 As shown, the signal sending module IC1 in the circuit adopts the linear Hall integrated circuit UGN3501T, which outputs different voltage signals according to the strength of the magnetic field. Pin 1 is the working voltage terminal, pin 2 is the ground terminal, and pin 3 is the voltage signal output terminal.

[0019] The maximum resistance of the adjustable potentiometer RP1 in the first signal adjustment circuit is 100K, and the resistor R1 is 10K.

[0020] The maximum resistance of the adjustable potentiometer RP2 in the second signal adjustment circuit is 100K, and the resistor R2 is 5K.

[0021] The first comparator IC2 and the second comparator IC3 use LM339, the non-inverting end of the first comparator IC2 is pin 7 of LM339, the inverting end of the first comparator IC2 is pin 6 of LM339, the output end of the first comparator IC2 is pin 1 of LM339, the non-inverting end of the second comparator IC3 is pin 5 of LM339, the inverting end of the second comparator IC3 is pin 4 of LM339, and the output end of the second comparator IC3 is pin 2 of LM339; at the same time, the output end of the first comparator IC2 and the output end of the second comparator IC3 are connected to the working voltage resistor R3 and the resistor R4, both of which are 5K.

[0022] The switch circuit module IC4 adopts CD4066, the input end of the switch circuit module IC4 is pin 1 of CD4066, the output end of the switch circuit module IC4 is pin 2 of CD4066, and the control end of the switch circuit module IC4 is pin 13 of CD4066; the output end of the switch circuit module IC4 is connected to the output end of the first comparator IC2, the control end of the switch circuit module IC4 is connected to the output end of the second comparator IC3, and the input end of the switch circuit module IC4 is grounded; the output end of the first comparator IC2 serves as the output of the judgment circuit.

[0023] The working principle is as follows: when in use, the upper threshold of the voltage is set to V by the adjustable potentiometer RP1 and the resistor R1. ref1 By adjusting the value of RP1, the potential of the in-phase pin 7 of the integrated circuit IC2 is changed, so that V ref1 The lower threshold of the voltage is set to V by the adjustable potentiometer RP2 and the resistor R2. ref2 By adjusting the value of RP2, the potential of the in-phase pin 5 of the integrated circuit IC3 is changed, so that V ref2 Equal to the desired threshold.

[0024] When the magnetic field strength is strong, the voltage signal V output by the Hall IC i Greater than the upper threshold V ref1 When V i >V ref1, resulting in the potential of the inverting end pin 6 of the LM339 comparator circuit IC2 being greater than the potential of the inverting end pin 7 of IC2, and the output end pin 1 of the LM339 comparator circuit IC2 outputs a low level; at the same time, the potential of the inverting end pin 4 of the LM339 comparator circuit IC3 is greater than the potential of the inverting end pin 5 of IC3, and the output end pin 2 of the LM339 comparator circuit IC3 also outputs a low level, and the control end pin 13 of the CD4066 switch circuit IC4 is a low level, and the pins 1 and 2 of the CD4066 switch circuit IC4 are not closed and turned on. At this time, the output signal V0 is the low level of the output end pin 1 of the LM339 comparator circuit IC2, that is, the output signal V0 is a low level, and it is considered that the voltage signal V output by the Hall integrated circuit of the judgment circuit i Not within the signal range.

[0025] When the magnetic field strength is very weak, the voltage signal V output by the Hall IC i Less than the lower threshold V ref2 When V i <V ref2 , resulting in the potential of the inverting end pin 6 of the LM339 comparator circuit IC2 being less than the potential of the inverting end pin 7 of IC2, and the output end pin 1 of the LM339 comparator circuit IC2 outputs a high level; at the same time, the potential of the inverting end pin 4 of the LM339 comparator circuit IC3 is less than the potential of the inverting end pin 5 of IC3, and the output end pin 2 of the LM339 comparator circuit IC3 outputs a high level, and the control end pin 13 of the CD4066 switch circuit IC4 is a high level, resulting in the CD4066 switch circuit IC4 being turned on and closed, that is, pin 1 of the CD4066 switch circuit IC4 is turned on and pin 2 of the CD4066 switch circuit IC4, and pin 1 is grounded, so the output signal V0 is a low level, and it is considered that the voltage signal V output by the Hall integrated circuit of the judgment circuit i Not within the signal range.

[0026] When the magnetic field strength at the scene makes the Hall integrated circuit output a voltage signal V i In V ref2 <V i <V ref1The potential of the inverting pin 6 of the LM339 comparator circuit IC2 is less than the potential of the inverting pin 7 of IC2, and the output pin 1 of the LM339 comparator circuit IC2 outputs a high level. At the same time, the potential of the inverting pin 4 of the LM339 comparator circuit IC3 is greater than the potential of the inverting pin 5 of IC3, and the output pin 2 of the LM339 comparator circuit IC3 outputs a low level. The control pin 13 of the CD4066 switch circuit IC4 is low, resulting in that the pin 1 of the CD4066 switch circuit IC4 is disconnected from the pin 2 of the CD4066 switch circuit IC4. At this time, the output signal V0 is the high level of the output pin 1 of the LM339 comparator circuit IC2. It is considered that the voltage signal V output by the Hall integrated circuit of the judgment circuit i In the signal range.

[0027] It can be seen that as long as the on-site magnetic field strength signal is within the specified interval, the signal interval detection and judgment circuit output signal is high level; if the on-site magnetic field strength signal is outside the specified interval, the signal interval detection and judgment circuit output signal is low level. In this way, the interval detection and judgment of the on-site magnetic field strength signal is realized.

[0028] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A signal interval detection and judgment circuit based on a switch circuit, include: A signal sending module, characterized in that: the output end of the signal sending module is respectively connected to the inverting ends of the first comparator and the second comparator, the non-inverting end of the first comparator is connected to the first signal adjustment circuit, and the non-inverting end of the second comparator is connected to the second signal adjustment circuit, and the first signal adjustment circuit and the second signal adjustment circuit are respectively connected in parallel between the working voltage and the grounding circuit; the output end of the first comparator serves as the output end of the judgment circuit, the output end of the first comparator is connected to the working voltage through a resistor R3, and the output end of the first comparator is also connected to the signal output end of the switch circuit module; the output end of the second comparator is connected to the working voltage through a resistor R4, and the output end of the second comparator is also connected to the signal control end of the switch circuit module; the signal input end of the switch circuit module is connected to the grounding circuit; the first signal adjustment circuit outputs a signal upper limit value, and the second signal adjustment circuit outputs a signal lower limit value; The signal sending module adopts a Hall integrated circuit; The first signal adjustment circuit comprises: a first adjustable potentiometer RP1, one end of the first adjustable potentiometer RP1 is connected to the working voltage, and the other end is grounded through a resistor R1; The second signal adjustment circuit includes: a second adjustable potentiometer RP2, one end of the second adjustable potentiometer RP2 is connected to the working voltage, and the other end is grounded through a resistor R2.

2. A signal interval detection and judgment circuit based on a switch circuit according to claim 1, Features: The switch circuit module adopts CD4066.

3. The signal interval detection and judgment circuit based on the switch circuit according to claim 1, Features: The Hall integrated circuit adopts UGN3501T.

4. The signal interval detection and judgment circuit based on the switch circuit according to claim 1, Features: The first comparator and the second comparator are LM339.