A fast threshold detection circuit for switch modulation signals
By designing a fast threshold detection circuit with high-speed comparators and digital filters in the sensor chip, the detection difficulties caused by zero-drift voltage and noise interference in the sensor chip are solved, and fast and accurate detection and high-speed response of the switching modulation signal are achieved. , meeting the need for rapid protection of easily damaged devices.
Patent Information
- Application Number
- CN201810208647.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-03-14
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2038-03-14
AI Technical Summary
Sensor chips have zero-drift voltage interference and noise signals in their applications, which makes it difficult to detect fast threshold signals and cannot meet the need for fast response to protect easily damaged devices.
Design a fast threshold-crossing detection circuit including a sensor, a first modulation switch, an amplifier, a second modulation switch and a signal processing circuit. It uses two high-speed comparators, OR gates, digital processing modules and FIR filters to pass the digital circuit high and low Determine whether the analog signal exceeds the threshold, avoiding noise false alarms and providing high-speed response.
It achieves fast and accurate detection of switching modulation signals, ensures the accuracy and high-speed response of over-threshold signals, and meets the need for rapid protection of easily damaged devices.
Smart Images

Figure CN108444515B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a fast threshold value detection circuit, in particular to a fast threshold value detection circuit applied to a switch modulation signal. Background Art
[0002] Sensor chips are chips that use sensor technology to generate induced voltage / current by sensing changes in external signals (such as pressure, magnetic field). Such chips are widely used in industrial control, home appliances and other fields.
[0003] Due to the semiconductor process, sensor devices have a large zero drift voltage in applications. In order to suppress the interference of the zero drift voltage on the output signal, a switch modulation method is generally used to modulate the effective sensing signal to a higher frequency, so that it can be separated from the lower frequency zero drift voltage.
[0004] Since the sensor chip may encounter abnormal rise of the measured signal in the application, which may endanger other devices in the system, such as excessive pressure and excessive current. To avoid this situation, the sensor chip needs to quickly detect whether the measured signal exceeds the preset threshold and output an over-threshold signal when the measured signal exceeds the threshold, so that the system can provide timely protection for the easily damaged devices in the system.
[0005] Figure 1 A typical sensor amplifier circuit is shown: 100 is the sensor device; 101~103 are modulation switches and amplifiers; 104 is the subsequent signal processing circuit; 105 is the external signal (which can be pressure, magnetic field, etc.), 106 is the induced voltage generated by the sensor (here it is assumed to be a DC voltage); 107 is the signal after being amplified by the amplifier. It can be seen here that the induced signal has been converted into a square wave signal after switch modulation.
[0006] Taking the commonly used Hall current sensor as an example, in addition to providing basic current sensor functions, in applications with power semiconductor devices, users usually hope to provide a fast threshold indication signal after the current exceeds the threshold, so that the semiconductor device can be shut down in time to avoid damage under high current conditions. The protection response time required for a typical power semiconductor device is no more than 1~2 microseconds.
[0007] However, due to the performance limitations of the Hall device and the requirements of system design, the switching modulation clock rate will not be too fast (usually around 100kHz~1MHz). At the same time, in order to filter out unnecessary noise signals, the current sensor chip usually has a Figure 1A low-pass filter is used after the signal processing circuit 104 in the circuit to ensure good noise characteristics, but the low-pass filter will reduce the speed of transient response. Under the condition of generally acceptable noise characteristics, the transient response speed of the signal output end is generally greater than 5~10 microseconds. Since the over-threshold signal is a transient response, the signal output end signal with a low-pass filter is difficult to meet the requirement of providing an over-threshold signal. Others, such as pressure sensors, gas sensors, etc., also have similar rapid over-pressure (concentration) detection requirements, and their requirements and problems are similar to those of current sensors. Summary of the invention
[0008] In order to solve the problem of difficulty in detecting over-threshold signals, the present invention provides a fast over-threshold detection circuit applied to switch modulation signals, which can realize fast and accurate detection of over-threshold signals.
[0009] The technical solution is as follows: a fast threshold value detection circuit applied to a switch modulation signal, comprising a sensor connected in series, a first modulation switch, an amplifier, a second modulation switch and a signal processing circuit, characterized in that the second modulation switch is connected to a threshold signal detection module, the threshold signal detection module comprises two high-speed comparators, the input ends of the two high-speed comparators are connected to the second modulation switch, the output ends of the two high-speed comparators are connected to the input ends of an OR gate, the output end of the OR gate is connected to the input end of a digital processing module, the output end of the digital processing module is connected to the input end of a digital comparator, and the output end of the digital comparator outputs an over-threshold signal.
[0010] It is further characterized in that the digital processing module includes a high-speed digital sampler and a digital filter;
[0011] The digital filter is a FIR filter, and the FIR filter is composed of a corresponding number of delay modules and adder modules;
[0012] The high-speed digital sampler adopts 1-bit sampling.
[0013] After adopting the present invention, the signal sensed by the sensor is amplified by the amplifier, and output to the digital processing module through the high-speed comparator and the OR gate, and the question of whether an analog signal exceeds the specified threshold is converted into a high or low judgment of the value in the digital circuit, thereby avoiding false alarm signals caused by uncertain glitches and noise in the analog signal, and providing high-speed response characteristics while ensuring the accuracy of over-threshold signal detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a schematic diagram of the prior art structure;
[0015] Figure 2 It is a schematic diagram of the structure of the present invention;
[0016] Figure 3 Schematic diagram of signals taking a Hall current sensor as an example;
[0017] Figure 4 This is the schematic diagram of the digital filter. DETAILED DESCRIPTION
[0018] See Figures 2 to 4 As shown, a fast threshold value detection circuit applied to a switch modulation signal includes a sensor 200, a first modulation switch 201, an amplifier 202, a second modulation switch 203 and a signal processing circuit 204 connected in series, the second modulation switch 203 is connected to a threshold signal detection module, the threshold signal detection module includes two high-speed comparators 208 and 209, the input ends of the two high-speed comparators 208 and 209 are connected to the second modulation switch 103, the output ends of the two high-speed comparators 208 and 209 are connected to the input end of an OR gate 210, the output end of the OR gate 201 is connected to the input end of a digital processing module 211, the output end of the digital processing module 211 is connected to the input end of a digital comparator 212, and the output end of the digital comparator 212 outputs an over-threshold signal.
[0019] Take the Hall current sensor as an example: Assuming that when a current exceeding the specified value flows through the conductor, the sensor 200 will output a higher induced voltage 301 after sensing the magnetic field signal 205, and the waveform after amplification by the amplifier 20 is shown in 302. Because the high and low points in the waveform exceed the comparison values of the high-speed comparators 208 and 209 (i.e., the dotted lines in 302, the positive and negative thresholds), the waveform of the output of the high-speed comparators 208 and 209 after passing through the OR gate 210 is shown in the solid line in 303. Since the comparison points of the two high-speed comparators 208 and 209 are different, and the rising edge of the switch modulation signal cannot be infinitely fast, there are glitches of uncertain width in the waveform (solid lines in 303). At the same time, due to the influence of noise and the different amplifier settling speeds, other glitches may appear in the solid line waveform in 303.
[0020] The digital processing module 2111 includes a high-speed digital sampler and a digital filter; the high-speed digital sampler adopts 1-bit sampling. The circuit structure is relatively simple. The following relationship should exist between its sampling period Ps and the response time s of the high-speed overcurrent indication signal:
[0021] s = Ps / m
[0022] m can be any number greater than 1. In order to maintain accuracy, m is generally selected to be greater than 5. The result of high-speed digital sampling is a digital stream shown in 304. Like its analog signal source, it will inevitably contain burrs caused by interference: it may be 1 or 0. These numbers will be input as a code stream to the subsequent digital filter for processing. The digital filter structure in the digital processing module 211 is as follows: Figure 4 As shown, the structure is composed of n delay modules and adder modules to form an FIR filter, and the number of n is also determined by the response time of the high-speed overcurrent indication signal. The digital filter continuously calculates the shape of the current waveform, and its output is compared with the stored threshold by the digital comparator 212, thereby finally giving an indication of whether the current to be measured is overcurrent.
Claims
1. A fast threshold detection circuit for a switch modulation signal, comprising a sensor, a first modulation switch, an amplifier, a second modulation switch and a signal processing circuit connected in series, characterized in that: The second modulation switch is connected to a threshold signal detection module, which includes two high-speed comparators, wherein the input ends of the two high-speed comparators are connected to the second modulation switch, the output ends of the two high-speed comparators are connected to the input end of an OR gate, the output end of the OR gate is connected to the input end of a digital processing module, the output end of the digital processing module is connected to the input end of the digital comparator, and the output end of the digital comparator outputs an over-threshold signal; the digital processing module includes a high-speed digital sampler and a digital filter; the digital filter is an FIR filter, and the FIR filter is composed of a corresponding number of delay modules and adder modules; the high-speed digital sampler adopts 1-bit sampling.
