CN116743124A - Threshold value generation circuit, chip and device - Google Patents

Threshold value generation circuit, chip and device Download PDF

Info

Publication number
CN116743124A
CN116743124A CN202310779853.9A CN202310779853A CN116743124A CN 116743124 A CN116743124 A CN 116743124A CN 202310779853 A CN202310779853 A CN 202310779853A CN 116743124 A CN116743124 A CN 116743124A
Authority
CN
China
Prior art keywords
circuit
threshold
threshold value
comparator
comparison
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310779853.9A
Other languages
Chinese (zh)
Inventor
刘康
苏晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jihaiyingxin Technology Co ltd
Zhuhai Geehy Semiconductor Co Ltd
Original Assignee
Shanghai Jihaiyingxin Technology Co ltd
Zhuhai Geehy Semiconductor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Jihaiyingxin Technology Co ltd, Zhuhai Geehy Semiconductor Co Ltd filed Critical Shanghai Jihaiyingxin Technology Co ltd
Priority to CN202310779853.9A priority Critical patent/CN116743124A/en
Publication of CN116743124A publication Critical patent/CN116743124A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/22Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral
    • H03K5/24Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/02Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems using reflection of acoustic waves
    • G01S15/06Systems determining the position data of a target
    • G01S15/08Systems for measuring distance only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/52Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S15/00

Abstract

The present invention relates to the field of electronic technologies, and in particular, to a threshold generating circuit, a chip, and a device. The threshold generation circuit includes a storage unit for storing a plurality of reference thresholds; the timing circuit is used for timing; the control circuit is used for acquiring a reference threshold value in the storage unit according to timing information of the timing circuit and sending the acquired reference threshold value to the threshold value generation circuit; a threshold generation circuit for generating a comparison threshold associated with the current reference threshold for each reference threshold received; the control circuit is also used for sending the generated comparison threshold value to the switching circuit; and the switching circuit is used for receiving the switching signal sent by the control circuit, controlling the on-off of the switch according to the switching signal and sending different threshold signals to the comparator. By setting the threshold generating circuit to generate a plurality of comparison thresholds associated with each reference threshold according to each reference threshold, the storage space of the memory can be effectively saved, and the chip cost is reduced.

Description

Threshold value generation circuit, chip and device
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a threshold generating circuit, a chip, and a device.
Background
Currently, it is a common ranging method to calculate the distance between the target object and the device itself by transmitting ultrasonic waves and detecting the time at which the echo is received. Whether or not the echo is an echo of an ultrasonic wave is generally determined by detecting the amplitude of the echo, a threshold value is set in a comparator, and the echo amplitude is an ultrasonic wave when the amplitude is greater than the threshold value. It is known that the amplitude of an ultrasonic echo changes with the distance of a target object, that is, the closer the target object is, the stronger the echo signal of the ultrasonic wave is, and the farther the obstacle is, the weaker the echo signal of the ultrasonic wave is. Therefore, the industry generally adopts a dynamic threshold mode, and the threshold needs to be continuously reduced along with the time extension. The common practice is to store a large number of mapping relations between threshold values and time in a register in advance, wherein each threshold value has a corresponding time, and after transmitting ultrasonic waves, the corresponding threshold value is selected according to the time of receiving and withdrawing the dialing to carry out comparison and judgment. However, this requires a large register space, occupies valuable space on the chip, and increases the cost of the chip.
Disclosure of Invention
The embodiment of the invention provides a threshold generating circuit, a chip and a device, wherein the threshold generating circuit is arranged to generate a plurality of comparison thresholds related to each reference threshold according to each reference threshold, so that the storage space of a memory can be effectively saved, and the cost of the chip is reduced.
In a first aspect, an embodiment of the present invention provides a threshold generation circuit, including:
a storage unit configured to store a plurality of reference thresholds;
the timing circuit is used for timing;
the control circuit is used for acquiring the reference threshold value in the storage unit according to the timing information of the timing circuit and sending the acquired reference threshold value to the threshold value generation circuit;
a threshold generation circuit for generating a comparison threshold associated with the current reference threshold for each reference threshold received; the control circuit is further used for sending the generated comparison threshold value to a switching circuit;
the switching circuit is used for receiving the switching signal sent by the control circuit, controlling the on-off of the switch according to the switching signal, and sending different threshold signals to the comparator.
In an embodiment, the control circuit is further configured to: and sending the acquired reference threshold value to the comparator through the switch circuit so that the comparator can carry out numerical comparison by taking the reference threshold value as a standard after receiving the reference threshold value.
In one embodiment, the controller acquires a reference threshold value associated with the timing information in the storage unit according to the timing circuit, and sends the acquired reference threshold value to the threshold value generation circuit.
In an embodiment, the threshold generation circuit is provided with a plurality of output ports for outputting a plurality of the comparison thresholds.
In one embodiment, the switching circuit includes a plurality of switches, each switch being disposed between the output port and the comparator, the switching circuit controlling the switch to open or close based on a switching signal of the control circuit to send the comparison threshold to the comparator.
In one embodiment, the switching circuit includes a data selector electrically connected to the output port of the threshold generation circuit;
and the data selector is used for sequentially sending the comparison threshold value output by the output port to the comparator based on the switch signal of the control circuit.
In one embodiment, the threshold generation circuit includes a high potential terminal and a low potential terminal; the controller inputs the reference threshold value to a high potential end of the threshold value generation circuit.
In one embodiment, the control circuit obtains two reference thresholds corresponding to different times in the storage unit according to the timing information and sends the obtained two reference thresholds to the threshold generation circuit; the control circuit inputs the first reference threshold value to a high potential end of the threshold value generating circuit, and inputs the second reference threshold value to a low potential end of the threshold value generating circuit.
In one embodiment, the threshold generation circuit includes a plurality of resistors connected in series, and the output port is disposed between at least one adjacent resistor.
In one embodiment, the threshold generation circuit includes at least one variable resistor, the control circuit controls a change in resistance thereof, and the threshold generation circuit outputs the comparison threshold value related to a resistance value of the variable resistor.
In one embodiment, the frequency at which the control circuit acquires the reference threshold increases with increasing time.
In a second aspect, an embodiment of the present invention provides an ultrasonic sensor chip, including:
an ultrasonic driving module, a signal processing module, a comparator, and a threshold generating circuit provided in the first aspect;
the ultrasonic driving module is used for sending an excitation signal;
the signal processing module is used for filtering the echo signals and inputting the filtered echo signals to the comparator;
the threshold generating circuit is used for sending a reference threshold value or a comparison threshold value to the comparator;
the comparator is used for comparing the reference threshold value or the comparison threshold value with the echo signal.
In a third aspect, an embodiment of the present invention provides an ultrasonic radar apparatus including:
an ultrasonic transducer, a microprocessor, and an ultrasonic sensor chip provided in the first aspect;
the ultrasonic transducer is used for receiving the excitation signal and transmitting and receiving ultrasonic waves;
the microprocessor is used for starting or closing the ultrasonic sensor chip and sending a trigger signal to the ultrasonic sensor chip;
the ultrasonic sensor chip is used for receiving the trigger signal of the microprocessor, sending the excitation signal to the ultrasonic transducer and processing ultrasonic echo.
In an embodiment of the present invention, the threshold generation circuit includes a storage unit configured to store a plurality of reference thresholds; the timing circuit is used for timing; the control circuit is used for acquiring a reference threshold value in the storage unit according to timing information of the timing circuit and sending the acquired reference threshold value to the threshold value generation circuit; a threshold generation circuit for generating a comparison threshold associated with the current reference threshold for each reference threshold received; the control circuit is also used for sending the generated comparison threshold value to the switching circuit; and the switching circuit is used for receiving the switching signal sent by the control circuit, controlling the on-off of the switch according to the switching signal and sending different threshold signals to the comparator. By setting the threshold generating circuit to generate a plurality of comparison thresholds associated with each reference threshold according to each reference threshold, the storage space of the memory can be effectively saved, and the chip cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a threshold generating circuit according to an embodiment of the present invention;
FIG. 2 is a graph showing the comparison threshold versus time according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a threshold versus time according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a threshold generating circuit according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another threshold generation circuit according to an embodiment of the present invention;
FIG. 6 (A) is a schematic diagram of another threshold generation circuit according to an embodiment of the present invention;
fig. 6 (B) is a schematic structural diagram of another threshold generating circuit according to an embodiment of the present invention;
FIG. 7 is a graph showing another threshold versus time provided by an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an ultrasonic radar apparatus according to an embodiment of the present invention.
Detailed Description
For a better understanding of the technical solutions of the present specification, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are only some, but not all, of the embodiments of the present description. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present disclosure.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Aiming at the problem that a large amount of dynamic threshold values and time mapping relations need to be stored in advance to cause a large amount of space of a memory to be occupied when ultrasonic ranging is used currently, the embodiment of the invention provides a threshold value generating circuit, which generates a comparison threshold value associated with each reference threshold value according to the reference threshold values, and effectively reduces the occupied space of the memory.
Fig. 1 is a schematic diagram of a threshold generation circuit according to an embodiment of the present invention. As shown in fig. 1, the circuit includes a timer circuit 101, a memory cell 102, a control circuit 103, a threshold generation circuit 104, a switching circuit 105, and a comparator 106.
The control circuit 103 is connected to the memory unit 102 and the timer circuit 101, respectively, the memory unit 102 is used for storing a plurality of reference thresholds, the timer circuit 101 is used for timing, the control circuit 103 can acquire timing information in the timer circuit, and the reference thresholds are acquired in the memory unit 102. The control circuit 103 is also connected to a threshold generation circuit 104, a switching circuit 105, and a comparator 106. The threshold generation circuit 104 is connected to the comparator 106 through a switching circuit. After the control circuit 103 acquires the reference threshold value, the reference threshold value is transmitted to one input terminal of the comparator 106, and the other input terminal of the comparator 106 receives the return wave signal. And the comparator receives the reference threshold value and then carries out numerical comparison by taking the reference threshold value as a threshold value standard, and if the amplitude of the echo signal is determined to be larger than the reference threshold value, the echo signal is determined to be an ultrasonic echo.
The controller obtains the timing information of the timing circuit in two ways: one is that the timing circuit is a timer, the controller controls the timer to start timing, after timing, the controller reads the data in the memory cell; the method comprises the steps of repeatedly starting, firstly reading a reference threshold value of a first address in a storage unit, continuously reading a reference threshold value … of a second address in a second time until the appointed time is over, and outputting a threshold value of the next round; in another way, the timing circuit counts time all the time, the controller reads the timing information, when the read timing information is the first timing information, the reference threshold value of the first address in the storage unit is read, when the timing information is the second timing information, the reference threshold value … of the second address in the storage unit is read until the threshold value of the next round is produced after the appointed time is over.
The ultrasonic echo signal decreases with the increase of the distance from the target object, so the longer the time of receiving the echo signal after transmitting the ultrasonic wave, the weaker the ultrasonic echo signal, and the threshold standard of the comparator 106 needs to be correspondingly reduced for accurate judgment. After acquiring the reference threshold, the control circuit 103 transmits the reference threshold to the threshold generation circuit 104 in addition to the comparator 106, and the threshold generation circuit 104 generates a plurality of comparison thresholds based on the received reference threshold. The values of the comparison thresholds are different from each other and are all smaller than the reference threshold. The control circuit 103 sequentially transmits the comparison thresholds to the comparator 106 in order of the values from large to small according to the timing information acquired from the timing circuit 101, and after each new comparison threshold is received by the comparator 106, the comparator 106 performs value judgment by using the newly received comparison threshold as a threshold standard, thereby achieving the purpose of gradually reducing the threshold standard.
In one embodiment, after the ultrasonic wave is emitted, the control circuit 103 may acquire timing information in the timing circuit 101, when detecting that the timing information meets the condition of acquiring the reference threshold, the control circuit 103 may perform a process of acquiring the reference threshold and transmitting the reference to the comparator 106 and the threshold generating circuit 104, the threshold generating circuit 104 may generate a plurality of comparison thresholds associated with the reference threshold based on the reference threshold, and the subsequent control circuit 103 may sequentially transmit the comparison thresholds to the comparator 106 according to the time information. When the condition that the timer information matches the acquisition reference threshold is detected again after all the comparison thresholds have been transmitted, the control circuit 103 acquires the next reference threshold again from the storage unit 102. The control circuit 103 may determine whether the current timing information meets the condition of acquiring the reference threshold after acquiring the timing information, and if yes, acquire the reference threshold associated with the current timing information from the storage unit 102. In general, the number of comparison thresholds generated by the threshold generation circuit based on one reference threshold is constant, and thus the control circuit 103 reads one reference threshold in the storage unit 102 every fixed period of time. In this way, under the condition that the storage unit 102 stores only a small number of reference thresholds, the control circuit 103 may control the threshold generation circuit 104 to generate a plurality of comparison thresholds, and periodically send the comparison thresholds to the comparator 106, and the comparator 106 may more accurately determine whether the echo is an ultrasonic echo by continuously changing the threshold criteria, and may not occupy too much storage space of the storage unit 102.
In one embodiment, in an actual ultrasound detection scenario, the read intervals of every two reference thresholds are not necessarily the same. The longer the time from which the ultrasonic wave is transmitted, the greater the likelihood of encountering an obstacle (i.e., the greater the probability of receiving an ultrasonic echo), and the higher the accuracy requirement of the comparator 106 on the threshold criteria, and therefore, the frequency at which the control circuit acquires the reference threshold will increase with increasing time, and the reading interval of the reference threshold will gradually decrease, further improving the accuracy of the determination by the comparator 106.
In one embodiment, switching circuit 105 comprises a plurality of switches, as shown in FIG. 1, having a total of N+1 switches from S0-Sn. When determining that the timing information meets the condition for acquiring the reference threshold, the control circuit 103 reads the reference threshold associated with the current timing information, here denoted as V, in the storage unit 102 th1 The current time is recorded as t 0 . The control circuit 103 sends a switch signal to the switch circuit, instructing the switch circuit 105 to close S0 and open the other switches, V th1 Through S0 input to one end of the comparator 106, the comparator 106 is set at V th1 And carrying out numerical judgment for the comparison standard. In addition, the control circuit 103 controls V th1 Is sent to the threshold generation circuit 104 to generate a plurality of comparison thresholds. After a preset time period, the current time is t 1 The control circuit 103 instructs the switch circuit 105 to close the switch S1, open the other switches, and compare the maximum value with the threshold V 1 One end of the comparator 106 is input. After that, the control circuit 103 instructs the switch circuit 105 to turn on the corresponding switch every time a preset period passes, and sequentially outputs the comparison threshold to one end of the comparator 106 from the higher value to the lower value for value judgment. Up to t n At this time, the control circuit 103 instructs the switching circuit 105 to close the switch Sn, open the other switches, and compare the minimum value with the threshold V n The value is input to one end of the comparator 106 for judgment. The threshold criteria of comparator 106 is at t 0 Time V th1 ,t 1 Time V 1 ,t 2 Time V 1 ,……,t n Time V n As shown in fig. 2, the numerical value changes into a downward trend curve. The timer circuit 101 continues to count time, and the current time reaches t n+1 The control circuit 103 determines that the current timing information meets the condition for acquiring the reference threshold value, and acquires the second reference threshold value V from the storage unit 102 th2 . Subsequent repetition of V th1 To V n After which the control circuit 103 acquires a third reference threshold V th3 The same procedure is repeated. Up to t (n-1)(n+1) At the moment, the control circuit 103 acquires the last reference threshold V stored in the storage unit 102 thn Directly let V thn And sent to the comparator 106 to end the entire process. The change in value of the comparator 106 across the threshold criteria may be a gradual decrease curve as shown in fig. 3. In this way, a threshold curve can be fitted relatively accurately by a simple circuit.
In the embodiment of the invention, from t 0 At the moment up to t (n-1)(n+1) At the moment, the comparator 106 receives n in total 2 A number of values, and only V is stored in the memory unit 102 th1 To V thn The mapping relation between the total n reference thresholds and time greatly reduces the number of the numerical values to be stored by the storage unit 102, and effectively saves the storage space.
In one embodiment, the threshold generation circuit 104 includes a plurality of resistors connected in series, as shown in FIG. 4, R 1 To R n+1 In total, n+1 fixed value resistors, and an output port is arranged between every two adjacent fixed value resistors, and each output port is connected to one end of the comparator 106 through a switch. The threshold value generation circuit 104 includes a high potential end and a low potential end, and receives any reference threshold value, and inputs the reference threshold value (voltage value) to the high potential end, and the low potential end is grounded. Taking FIG. 4 as an example, R 1 The upper part is a high potential end, R n+1 The lower part is the low potential end. When S1 is closed and the other switches are open, the voltage between R1 and R2 will be output as a comparison threshold to one end of the comparator 106. According to the principle of series voltage division of resistors, the voltage output between R1 and R2 is the largest, the voltage output between Rn and rn+1 is the smallest, and the control circuit 103 sends different switching signals to the switching circuit 105 to instruct the switching circuit 105 to sequentially close S1, S2, … … and Sn, so that the comparison threshold can be output to one end of the comparator 106 according to the order from the large value to the small value. In V form th1 For example, the threshold generation circuit 104 will have a value of V th1 Above the voltage input R1, between R1 and R2 will output V 1 Will output V between R2 and R3 2 Will output V between Rn and Rn+1 n
In one embodiment, the threshold generating circuit 104 may be further implemented by at least one variable resistor, the control circuit 103 may control the resistance value of the variable resistor, the threshold generating circuit 104 inputs the reference threshold value into one end of the variable resistor, and the other end of the variable resistor may output different comparison thresholds through the output port. Specifically, the variable resistor is connected in series with a fixed resistor (or two variable resistors are connected in series), an output port is arranged between the two resistors, the other end of the variable resistor is connected with a reference threshold, the other end of the fixed resistor is grounded, and when the resistance of the variable resistor is changed, the voltage value of the output port is also changed. The variable resistor replaces a plurality of fixed-value resistors, and the control circuit 103 can obtain different comparison thresholds by changing the resistance value of the variable resistor, so that the circuit structure can be effectively simplified, and the control is convenient.
In one embodiment, the switch circuit 105 may include a data selector, as shown in fig. 5, where the data selector 107 is electrically connected to an output port of the threshold generating circuit 104, and the comparison threshold generated by the threshold generating circuit 104 is used as an input of the data selector 107, and the comparison threshold is selectively and sequentially output to the comparator 106 according to the switch signal sent by the control circuit 103. The initial states of the switches of the switch circuit 105 are all open states, the control circuit 103 reads the reference threshold value and outputs the reference threshold value to the switch circuit 105, and the switch circuit 105 is controlled to close the switch S0; after the data selector 107 outputs the comparison threshold, the control circuit 103 controls the switching circuit to close the switch S1. In the embodiment of the invention, a large number of switches are replaced by the data selector, so that the design cost and the design difficulty can be greatly reduced, the required data can be more accurately output according to the received data, and the unstable condition caused by using a plurality of switches is prevented.
In one embodiment, the threshold generation circuit structure is fixed, but the change of the threshold is not gradual over time, and a steep slope may occur, which may cause a large error. Such as V th1 、V th2
V th3 … to the threshold generation circuit, the same output terminal will generate different voltage drop ratios, and the mode error is not large at the place where the comparison threshold changes more graduallyWhen the comparison threshold changes steeply, a large error occurs. Normally, according to V th1 The comparison thresholds generated should all be greater than V th2 But in view of the above error, according to V th1 The comparison threshold V generated n May be less than V th2 . For the above case, the control circuit 103 may acquire two reference thresholds each time in the storage unit 102, and acquire a second reference threshold associated with the next time count information in addition to the first reference threshold associated with the current time count information. Wherein sent to the comparator is a first reference threshold associated with the current timing information. The control circuit 103 inputs both reference thresholds to the threshold generation circuit 104, wherein a first reference threshold is input to the high potential end of the threshold generation circuit 104 and a second reference threshold is input to the low potential end of the threshold generation circuit 104. As shown in fig. 6 (a), the control circuit 103 is connected to both ends of the threshold value generation circuit 104, and inputs one reference threshold value. Specifically, as shown in fig. 6 (B), the control circuit 103 sets a first reference threshold V corresponding to the current timing information th(i) One end (i.e. high potential end) of a plurality of serially connected constant value resistors is input, and a second reference threshold V corresponding to the next timing information is obtained th(i+1) The other ends (i.e., low potential ends) of the plurality of serially connected fixed-value resistors are input. According to the series voltage division of the constant value resistor, all the generated comparison thresholds are positioned at V th(i) And V th(i+1) Between V th(i) And V th(i+1) The corresponding curve of the comparison threshold will be smoother. The resulting value curve may be shown in fig. 7, where the solid curve indicated by arrow 701 is ideal, and all the values sent to the comparator 106 are stored by the storage unit 102, instead of only storing the reference threshold value; the dashed curve indicated by arrow 702 corresponds to the case that the storage unit 102 stores only the reference threshold value and the control circuit 103 obtains one reference threshold value at a time to input the threshold value into the threshold value generating circuit 104, so that a small error exists between the comparison threshold value and the ideal case; the case corresponding to the dot-dash curve indicated by the arrow 703 is that the storage unit 102 stores only the reference threshold value and the control circuit 103 acquires two reference threshold value input threshold value generating circuits 104 at a time, and the obtained comparison threshold value is very close to the idealAnd (3) the situation. By inputting the reference threshold values at the front and rear moments, larger errors can be prevented from being generated when the threshold value changes steeply, the accuracy of comparing the threshold values is further improved, and the fitting of the actual threshold value curve is better.
In the embodiment of the invention, the threshold generating circuit is arranged to generate a plurality of comparison thresholds related to each reference threshold according to each reference threshold, the comparator can carry out numerical judgment based on more threshold standards, and the comparison threshold fitting curve with a large number of changes enables the detection result to be more accurate.
The embodiment of the invention also provides an ultrasonic sensor chip, which comprises: the ultrasonic driving module, the signal processing module, the comparator and the threshold generating circuit. The ultrasonic driving module is used for sending an excitation signal; the signal processing module is used for filtering the echo signals and inputting the filtered echo signals to the comparator; a threshold generation circuit for periodically transmitting a reference threshold or a comparison threshold to the comparator; and the comparator is used for comparing the reference threshold value or the comparison threshold value with the echo signal and judging whether the echo received in the current environment is the echo of the ultrasonic wave sent by the ultrasonic sensor chip. The ultrasonic sensor chip can more accurately judge whether the received echo is an ultrasonic echo or not because the threshold generating circuit is arranged.
The embodiment of the invention also provides an ultrasonic radar device, as shown in fig. 8, which comprises: an ultrasonic transducer 801, a microprocessor 802, and an ultrasonic sensor chip 803 described above. The ultrasonic transducer 801 further includes an ultrasonic wave transmitting sensor and an ultrasonic wave receiving sensor for transmitting and receiving ultrasonic waves; the microprocessor 802 is used for starting or closing the ultrasonic sensor chip and sending a trigger signal to the ultrasonic sensor chip; the ultrasonic sensor chip 803 is configured to receive a trigger signal from the microprocessor, send an excitation signal to the ultrasonic transducer, process an ultrasonic echo, and determine whether the ultrasonic echo is a mechanical wave returned by the ultrasonic wave contacting the target object. By mounting the above-described ultrasonic sensor chip 803, the ultrasonic radar apparatus can obtain more accurate results when detecting ultrasonic waves.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order from that shown or discussed, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the invention.

Claims (13)

1. A threshold generation circuit, comprising:
a storage unit configured to store a plurality of reference thresholds;
the timing circuit is used for timing;
the control circuit is used for acquiring the reference threshold value in the storage unit according to the timing information of the timing circuit and sending the acquired reference threshold value to the threshold value generation circuit;
a threshold generation circuit for generating a comparison threshold associated with the current reference threshold for each reference threshold received; the control circuit is further used for sending the generated comparison threshold value to a switching circuit;
the switching circuit is used for receiving the switching signal sent by the control circuit, controlling the on-off of the switch according to the switching signal, and sending different threshold signals to the comparator.
2. The circuit of claim 1, wherein the control circuit is further configured to: and sending the acquired reference threshold value to the comparator through the switch circuit so that the comparator can carry out numerical comparison by taking the reference threshold value as a standard after receiving the reference threshold value.
3. The circuit according to claim 1, wherein the controller acquires a reference threshold value associated with the timing information in the storage unit according to the timing circuit, and sends the acquired reference threshold value to the threshold value generation circuit.
4. The circuit according to claim 1, wherein the threshold generation circuit is provided with a plurality of output ports for outputting a plurality of the comparison thresholds.
5. The circuit of claim 4, wherein the switching circuit comprises a plurality of switches, each switch disposed between the output port and the comparator, the switching circuit controlling the switch to open or close based on a switching signal of the control circuit to send the comparison threshold to the comparator.
6. The circuit of claim 4, wherein the switching circuit comprises a data selector electrically connected to the output port of the threshold generation circuit;
and the data selector is used for sequentially sending the comparison threshold value output by the output port to the comparator based on the switch signal of the control circuit.
7. The circuit of claim 1, wherein the threshold generation circuit comprises a high potential terminal and a low potential terminal; the controller inputs the reference threshold value to a high potential end of the threshold value generation circuit.
8. The circuit according to claim 7, wherein the control circuit acquires reference thresholds corresponding to two different times in the storage unit according to the timing information and sends the acquired two reference thresholds to the threshold generation circuit; the control circuit inputs the first reference threshold value to a high potential end of the threshold value generating circuit, and inputs the second reference threshold value to a low potential end of the threshold value generating circuit.
9. A circuit according to any one of claims 4 to 8, wherein the threshold generation circuit comprises a plurality of resistors in series, the output port being provided between at least one adjacent resistor.
10. The circuit according to claim 1, wherein the threshold generation circuit includes at least one variable resistor, the control circuit controls a change in resistance thereof, and the threshold generation circuit outputs the comparison threshold value in relation to a resistance value of the variable resistor.
11. The circuit of claim 1, wherein the frequency at which the control circuit acquires the reference threshold increases with increasing time.
12. An ultrasonic sensor chip, comprising:
an ultrasonic driving module, a signal processing module, a comparator, and a threshold generating circuit according to any one of claims 1 to 11;
the ultrasonic driving module is used for sending an excitation signal;
the signal processing module is used for filtering the echo signals and inputting the filtered echo signals to the comparator;
the threshold generating circuit is used for sending a reference threshold value or a comparison threshold value to the comparator;
the comparator is used for comparing the reference threshold value or the comparison threshold value with the echo signal.
13. An ultrasonic radar apparatus, comprising:
an ultrasonic transducer, a microprocessor, and an ultrasonic sensor chip as claimed in claim 12;
the ultrasonic transducer is used for receiving the excitation signal and transmitting and receiving ultrasonic waves;
the microprocessor is used for starting or closing the ultrasonic sensor chip and sending a trigger signal to the ultrasonic sensor chip;
the ultrasonic sensor chip is used for receiving the trigger signal of the microprocessor, sending the excitation signal to the ultrasonic transducer and processing ultrasonic echo.
CN202310779853.9A 2023-06-28 2023-06-28 Threshold value generation circuit, chip and device Pending CN116743124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310779853.9A CN116743124A (en) 2023-06-28 2023-06-28 Threshold value generation circuit, chip and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310779853.9A CN116743124A (en) 2023-06-28 2023-06-28 Threshold value generation circuit, chip and device

Publications (1)

Publication Number Publication Date
CN116743124A true CN116743124A (en) 2023-09-12

Family

ID=87901033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310779853.9A Pending CN116743124A (en) 2023-06-28 2023-06-28 Threshold value generation circuit, chip and device

Country Status (1)

Country Link
CN (1) CN116743124A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6147549A (en) * 1997-06-27 2000-11-14 Nec Corporation Reference voltage generating circuit of generating a plurality of reference voltages
CN101847358A (en) * 2009-03-27 2010-09-29 北京京东方光电科技有限公司 Gamma reference voltage generating device
US20110075473A1 (en) * 2009-09-30 2011-03-31 Hynix Semiconductor Inc. Circuit and method for generating reference voltage, phase change random access memory apparatus and read method using the same
CN102237862A (en) * 2010-03-19 2011-11-09 凹凸电子(武汉)有限公司 Circuits for generating reference signals, method and battery management circuit
CN102916595A (en) * 2012-10-25 2013-02-06 深圳市明微电子股份有限公司 Switching power supply and multi-threshold switching circuit thereof
US20130044535A1 (en) * 2011-04-13 2013-02-21 Kazuhiko Shimakawa Reference cell circuit and variable resistance nonvolatile memory device including the same
JP2014168143A (en) * 2013-02-28 2014-09-11 Renesas Electronics Corp Semiconductor device and microcontroller
CN106873703A (en) * 2015-11-23 2017-06-20 三星电子株式会社 Circuit and method for producing reference voltage based on temperature coefficient
CN108216258A (en) * 2016-12-22 2018-06-29 乐视汽车(北京)有限公司 Vehicle early warning threshold value generation method, system and its electronic equipment
CN115932807A (en) * 2022-12-29 2023-04-07 上海极海盈芯科技有限公司 Echo signal processing method, circuit, chip and device of ultrasonic sensor

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6147549A (en) * 1997-06-27 2000-11-14 Nec Corporation Reference voltage generating circuit of generating a plurality of reference voltages
CN101847358A (en) * 2009-03-27 2010-09-29 北京京东方光电科技有限公司 Gamma reference voltage generating device
US20110075473A1 (en) * 2009-09-30 2011-03-31 Hynix Semiconductor Inc. Circuit and method for generating reference voltage, phase change random access memory apparatus and read method using the same
CN102237862A (en) * 2010-03-19 2011-11-09 凹凸电子(武汉)有限公司 Circuits for generating reference signals, method and battery management circuit
US20130044535A1 (en) * 2011-04-13 2013-02-21 Kazuhiko Shimakawa Reference cell circuit and variable resistance nonvolatile memory device including the same
CN102916595A (en) * 2012-10-25 2013-02-06 深圳市明微电子股份有限公司 Switching power supply and multi-threshold switching circuit thereof
JP2014168143A (en) * 2013-02-28 2014-09-11 Renesas Electronics Corp Semiconductor device and microcontroller
CN106873703A (en) * 2015-11-23 2017-06-20 三星电子株式会社 Circuit and method for producing reference voltage based on temperature coefficient
CN108216258A (en) * 2016-12-22 2018-06-29 乐视汽车(北京)有限公司 Vehicle early warning threshold value generation method, system and its electronic equipment
CN115932807A (en) * 2022-12-29 2023-04-07 上海极海盈芯科技有限公司 Echo signal processing method, circuit, chip and device of ultrasonic sensor

Similar Documents

Publication Publication Date Title
US5025176A (en) Peak level detection circuit
US6734702B1 (en) Impedance calibration circuit
US20090095542A1 (en) Touch sensor and operating method thereof
JP4636163B2 (en) Switch circuit
US6750800B2 (en) Analog-digital converter and method for converting data of the same
EP2306650A2 (en) A/d converter and open detection method thereof
EP1538516A2 (en) Position indicator and position detector
US5168273A (en) Sequential analog/digital data multiplexing system and method
US10495741B2 (en) Object detection device and object detection system
CN116743124A (en) Threshold value generation circuit, chip and device
JP5492892B2 (en) Device for measuring at least one value of a voltage applied to an electronic component
US20140249420A1 (en) Ultrasound diagnostic apparatus
US6307811B1 (en) Method for the operation of several adjacent ultrasonic sensors
US7405649B2 (en) Communication control apparatus
US10775526B2 (en) Capacitance detecting device
JP5574686B2 (en) Analog signal processing circuit and distance / intensity measurement system using the same
US10491199B2 (en) Method for operating a pulse generator for capacitive sensors, and pulse generator
CN114270783A (en) Method for identifying the position of a bus subscriber
EP3404425A1 (en) Dynamic probe, dynamic measurement system and method for probing a dynamic data signal
RU1835595C (en) Pulse generator with a programmed relative pulse duration
CN117310719A (en) Dynamic threshold determination method, circuit and ultrasonic transducer chip
CN113127078B (en) CPLD configuration selection method and device
CN111431516A (en) Device for limiting power loss during digital signal sampling
CN219225089U (en) Ultrasonic echo signal processing circuit, chip and automobile radar device
CN219552548U (en) Narrow pulse power detection circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination