CN112098962A - Detection device, detection method and radar system - Google Patents

Detection device, detection method and radar system Download PDF

Info

Publication number
CN112098962A
CN112098962A CN202010970054.6A CN202010970054A CN112098962A CN 112098962 A CN112098962 A CN 112098962A CN 202010970054 A CN202010970054 A CN 202010970054A CN 112098962 A CN112098962 A CN 112098962A
Authority
CN
China
Prior art keywords
value
frequency
clock signal
detection
continuous wave
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
CN202010970054.6A
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.)
Calterah Semiconductor Technology Shanghai Co Ltd
Original Assignee
Calterah Semiconductor Technology Shanghai 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 Calterah Semiconductor Technology Shanghai Co Ltd filed Critical Calterah Semiconductor Technology Shanghai Co Ltd
Publication of CN112098962A publication Critical patent/CN112098962A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/40Means for monitoring or calibrating
    • G01S7/4052Means for monitoring or calibrating by simulation of echoes
    • G01S7/4056Means for monitoring or calibrating by simulation of echoes specially adapted to FMCW

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

The invention relates to the technical field of radars, in particular to a detection device, a detection method and a radar system. The detection device provided by the invention comprises: the input circuit is connected with the synthesizer to receive the frequency modulation continuous wave signal and down-converts and shapes the frequency modulation continuous wave signal to generate a first clock signal; a ring register link for updating values of corresponding data bits in the indicating data according to clock edges of the first clock signal; and the processing circuit samples the indicating data based on the second clock signal to obtain a measured value, and provides detection result data according to the measured value to indicate whether the frequency of the frequency-modulated continuous wave signal is normal or not. The frequency of the first clock signal changes linearly in the detection interval, the frequency of the second clock signal is smaller than that of the first clock signal, and the measured value is controlled by the number of clock edges of the first clock signal in the detection interval. The radar system, the detection device and the detection method provided by the disclosure can be used for judging whether the frequency of the frequency modulation continuous wave signal is normal or not.

Description

Detection device, detection method and radar system
Technical Field
The present invention relates to the field of radar technologies, and in particular, to a detection apparatus, a detection method, and a radar system.
Background
In a radar system, a Frequency difference between an echo signal and a transmitted signal can be obtained by transmitting and receiving Frequency Modulated Continuous Wave (FMCW), so as to obtain information such as a distance and a speed of a target according to the Frequency difference. The modulation mode adopting the frequency modulation continuous wave has the outstanding advantages of simple realization structure, simple signal processing process, low cost, low power and the like, and is widely applied to the fields of vehicle-mounted radars and the like.
Because the frequency of the frequency modulation continuous wave is constantly changed in the working process of the radar system, the frequency state of the frequency modulation continuous wave can be used for judging whether modules such as a phase-locked loop and the like in the radar system are in a normal working state.
Based on this, it is desirable to provide a frequency detection scheme for frequency modulated continuous waves, which is used to determine whether the radar system and the synthesizer are in a normal operation state.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a radar system, a detection method and a detection device, which can monitor the frequency of a frequency modulated continuous wave signal in real time so as to judge whether the frequency change of the frequency modulated continuous wave signal is in a normal state.
According to a first aspect of embodiments of the present invention, there is provided a detection apparatus for a synthesizer, the synthesizer being configured to output a frequency modulated continuous wave signal, the detection apparatus comprising: the input circuit is connected with the synthesizer to receive the frequency modulation continuous wave signal and performs frequency reduction and shaping processing on the frequency modulation continuous wave signal to generate a first clock signal in a square wave form, and the frequency of the first clock signal changes linearly in a detection interval; a ring register link coupled to the input circuit to receive the first clock signal, to provide indicating data, and to update values of corresponding data bits in the indicating data according to respective clock edges of the first clock signal; and a processing circuit, coupled to the ring register link, for: and sampling the indicating data based on a second clock signal to obtain a measured value, and providing detection result data according to the measured value, wherein the detection result data represents whether the frequency of the frequency-modulated continuous wave signal is normal or not, the frequency of the second clock signal is less than that of the first clock signal, and the measured value is controlled by the number of clock edges of the first clock signal in the detection interval.
Optionally, for each detection interval, the ring register link is adapted to: circularly updating the value of each data bit of the indicating data under the triggering of each clock edge in turn; and updating the value of a respective one of the data bits in the indicating data triggered by each of the clock edges.
Optionally, the processing circuit includes: a sampling unit, connected to the ring register link, for: sampling the indication data based on the second clock signal to obtain a start value and an end value of the indication data within a detection interval, wherein the detection interval corresponds to one or more sampling periods of the second clock signal; a storage unit, configured to store a relationship lookup table in advance to indicate sequence numbers respectively corresponding to a plurality of state values of the indication data in an output logic sequence of the ring register link, where the plurality of state values include the start value and the end value, and the sequence numbers include a first sequence number corresponding to the start value and a second sequence number corresponding to the end value; and a first judging unit, configured to obtain the measurement value according to a difference between the first sequence number and the second sequence number, and judge whether the offset between the measurement value and a preset expected value of the detection interval is greater than a first threshold, if yes, the first judging unit sets a first bit result value of the detection result data to be in an effective state to indicate that an average value of the frequency-modulated continuous wave signal in the detection interval does not satisfy an expected range, and if not, the first judging unit sets the first bit result value to be in an ineffective state to indicate that the average value of the frequency-modulated continuous wave signal in the detection interval satisfies the expected range.
Optionally, the preset expected value is: calculating the obtained data value based on a total number of the plurality of state values and an expected number of occurrences of a clock edge of the first clock signal within the detection interval.
Optionally, for each detection interval: the measured value is equal to the difference value, the preset expected value is equal to a remainder obtained by dividing twice of a set value corresponding to the detection interval by the total number of the plurality of state values, and the set value is equal to a product of an expected average value of the frequency of the first clock signal in the detection interval and the duration of the detection interval.
Optionally, the processing circuit further includes: a counter for providing a count value in accordance with the first bit result value, the counter being responsive to the first bit result value in an active state to increment the count value by 1 and responsive to the first bit result value in an inactive state to reset the count value to an initial value; and the comparator is used for judging whether the counting value is larger than a second threshold value or not, if so, the comparator sets a second bit result value of the detection result data to be in an effective state to represent that the frequency change of the frequency modulation continuous wave signal is in an abnormal state, and if not, the comparator sets the second bit result value to be in an ineffective state to represent that the frequency change of the frequency modulation continuous wave signal is in a normal state.
Optionally, the synthesizer includes: and the phase-locked loop structure comprises a voltage-controlled oscillator, wherein the voltage-controlled oscillator generates the frequency-modulated continuous wave signal according to the frequency control voltage, and the frequency of the frequency-modulated continuous wave signal changes along with the voltage value of the frequency control voltage.
For example, when the calculated offset is smaller than or equal to the first threshold, the detection apparatus disclosed in the embodiment of the present invention may determine that the phase-locked loop structure is in a normal operating state, otherwise, the phase-locked loop structure is in an abnormal operating state; in order to improve the judgment accuracy, the detection device disclosed in the embodiment of the invention can respectively perform judgment processing on a plurality of detection intervals, and only when the offset is smaller than or equal to the first threshold and a certain regular change or a smaller change amplitude is presented in all or a preset proportion of the detection intervals, the phase-locked loop structure is judged to be in a normal working state. Wherein, the judgment of the magnitude of the variation amplitude can be set based on the actual precision requirement.
In addition, for the phase-locked loop structure in the abnormal working state, the detection apparatus provided in the embodiment of the present invention may further determine whether the phase-locked loop structure is in the locked state or the unstable state by further analyzing and judging the change rule of the offset obtained in the different detection intervals (that is, in the embodiment of the present invention, the abnormal working state may include the locked state and the unstable state). For example, when the offset obtained in adjacent sampling periods (corresponding to adjacent detection intervals) changes randomly or the change amplitude is large, it may be determined that the phase-locked loop structure is in an unstable state in an abnormal state at this time, that is, it may be considered that some devices in the phase-locked loop structure may be damaged at this time; otherwise, the phase-locked loop structure may be considered to be in a locked state in the abnormal state.
According to a second aspect of the embodiments of the present invention, there is provided a radar system, any one of the detection apparatus and the synthesizer provided by the embodiments of the present invention; and a radar transceiver providing a transmit signal and/or processing an echo signal in dependence on the frequency modulated continuous wave signal.
According to a third aspect of the embodiments of the present invention, there is also provided a detection method of a synthesizer, the synthesizer being configured to output a frequency-modulated continuous wave signal, the detection method including: carrying out frequency reduction and shaping processing on the frequency modulation continuous wave signal to generate a first clock signal in a square wave form, wherein the frequency of the first clock signal changes linearly in a detection interval; providing indicating data with a plurality of data bits, and updating corresponding data bits in the indicating data according to clock edges of the first clock signal; sampling the indicating data based on a second clock signal to obtain a measurement value; and providing detection result data according to the measured value, wherein the detection result data represents whether the frequency of the frequency-modulated continuous wave signal is normal or not, the frequency of the second clock signal is smaller than that of the first clock signal, and the measured value is controlled by the number of clock edges of the first clock signal in the detection interval.
Optionally, the step of updating the corresponding data bit in the indication data according to the clock edge of the first clock signal includes: circularly updating the value of each data bit of the indicating data under the triggering of each clock edge in turn; and updating the value of a respective one of the data bits in the indicating data triggered by each of the clock edges.
Optionally, the step of sampling the indication data based on the second clock signal to obtain the measurement value, and providing the detection result data according to the measurement value includes: sampling the indication data based on the second clock signal to obtain a start value and an end value of the indication data within a detection interval, wherein the detection interval corresponds to one or more sampling periods of the second clock signal; obtaining a relationship lookup table indicating sequence numbers respectively corresponding to a plurality of state values of the indicating data in an output logical order, the plurality of state values including the start value and the end value, the sequence numbers including a first sequence number corresponding to the start value and a second sequence number corresponding to the end value; obtaining the measurement value according to the difference value between the first sequence number and the second sequence number; and judging whether the offset between the measured value and the preset expected value of the detection interval is larger than a first threshold value, if so, setting a first bit result value of the detection result data to be in an effective state to indicate that the average value of the frequency modulation continuous wave signal in the detection interval does not meet the expected range, and if not, setting the first bit result value to be in an invalid state to indicate that the average value of the frequency modulation continuous wave signal in the detection interval meets the expected range.
Optionally, the detection method further includes: calculating the obtained preset expected value based on the total number of the plurality of state values and the expected occurrence number of clock edges of the first clock signal in the detection interval.
Optionally, for each detection interval: the measured value is equal to the difference value, the preset expected value is equal to a remainder obtained by dividing twice of a set value corresponding to the detection interval by the total number of the plurality of state values, and the set value is equal to a product of a preset frequency average value of the first clock signal in the detection interval and the duration of the detection interval.
Optionally, the step of sampling the indication data based on the second clock signal to obtain the measurement value, and providing the detection result data according to the measurement value further includes: providing a count value according to the first bit result value, adding 1 to the count value when the first bit result value is in an effective state, and restoring the count value to an initial value when the first bit result value is in an ineffective state; and judging whether the count value is larger than a second threshold value, if so, setting a second bit result value of the detection result data to be in an effective state to represent that the frequency change of the frequency modulation continuous wave signal is in an abnormal state, and if not, setting the second bit result value to be in an ineffective state to represent that the frequency change of the frequency modulation continuous wave signal is in a normal state.
According to the radar system, the detection device and the detection method provided by the embodiment of the invention, the frequency modulation continuous wave signal is subjected to frequency reduction and shaping to obtain the first clock signal in a square wave form, the value of the corresponding data bit in the indication data is updated according to each clock edge of the first clock signal, and the indication data is sampled based on the second clock signal to obtain the measured value of the number of the clock edges controlled by the first clock signal, so that the detection result data can be obtained according to the measured value to represent whether the frequency of the frequency modulation continuous wave signal is normal or not, and the detection of the frequency modulation continuous wave signal is realized. In the radar system according to the embodiment of the present invention, since the frequency of the frequency modulated continuous wave signal is controlled by the synthesizer, the detection result data provided by the detection device can indicate whether the synthesizer is operating abnormally or not and whether the radar system is operating abnormally or not.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 shows a schematic structural diagram of a radar system of an embodiment of the present invention;
FIG. 2 shows a schematic diagram of an embodiment of the synthesizer of FIG. 1;
FIG. 3 is a schematic diagram showing waveforms of a frequency modulated continuous wave signal, a first clock signal and a frequency control voltage according to an embodiment of the present invention;
FIG. 4 shows a schematic block diagram of a detection apparatus of an embodiment of the present invention;
FIG. 5 is a schematic diagram of a ring register link according to an embodiment of the present invention;
FIG. 6 is a circuit diagram of the registers of FIG. 5;
FIG. 7 shows a schematic block diagram of one implementation of the processing circuit of FIG. 4;
FIG. 8 shows a schematic block diagram of another implementation of the processing circuit of FIG. 4;
fig. 9 is a schematic flow chart of a detection method according to an embodiment of the present invention.
Detailed Description
The invention will be described in more detail below with reference to the accompanying drawings. Like elements in the various figures are denoted by like reference numerals. For purposes of clarity, the various features in the drawings are not necessarily drawn to scale. Moreover, certain well-known elements may not be shown in the figures.
Overview of the System
Fig. 1 shows a schematic structural diagram of a radar system of an embodiment of the present invention. Fig. 2 shows a schematic diagram of an embodiment of the synthesizer of fig. 1. Fig. 3 is a schematic waveform diagram of the frequency modulated continuous wave signal, the first clock signal and the frequency control voltage according to the embodiment of the invention.
As shown in fig. 1, a radar system of an embodiment of the present invention includes: the device comprises a transceiving antenna, a receiving channel, a transmitting channel, a synthesizer, a signal processing module and a detection device. The receiving and transmitting antenna, the receiving channel, the transmitting channel and the signal processing module are used as radar transceivers, and the radar transceivers provide transmitting signals and/or process echo signals according to frequency modulation continuous wave signals provided by the synthesizer.
The following describes each part of the radar system based on the frequency modulated continuous wave system according to the present embodiment with reference to fig. 1 to 3. However, the present embodiment is not limited thereto, and a/some conventional structure/modules not mentioned may also be included in the radar system of the present embodiment.
(1) Transceiver antenna
The transceiving antenna comprises a transmitting antenna 1 and a receiving antenna 2. The transmitting antenna 1 provides a space radiation electromagnetic wave based on the transmitting signal, the electromagnetic wave is reflected on the surface of the target object, the reflected electromagnetic wave is captured by the receiving antenna, so that the receiving antenna 2 obtains an echo signal. Since the transmitting signal in the radar system 100 according to the embodiment of the present invention is a frequency modulated continuous wave with a constantly changing frequency, the radar system 100 in the frequency modulated continuous wave system may obtain information such as a distance and a speed of the target object according to a frequency difference between the transmitting signal and the echo signal, where the speed of the target object may be obtained by calculating distance measurements for multiple times, for example.
(2) Synthesizer
The synthesizer 6 is used for generating a frequency-modulated continuous wave signal S with a continuously variable frequencyFMThe frequency of the frequency modulated continuous wave signal changes in a trend such as a triangular wave or a sawtooth wave, and has a linear change trend in the detection area. Frequency modulated continuous wave signal SFMThe signal may be a periodic signal or a non-periodic signal, which is not limited in this application.
As an alternative embodiment, the synthesizer 6 is, for example, a Phase Locked Loop (PLL) shown in fig. 2, and includes modules such as a Charge Pump (CP) 610, a Loop Filter (LP) 620, a Voltage Controlled Oscillator (VCO) 630, a feedback Frequency divider 640, and a Phase Frequency Detector (PFD) 650.
Wherein, the phase frequency detector 650, the charge pump 610, the loop filter 620 and the voltage-controlled oscillator 630 are cascaded in sequence, and the output end of the voltage-controlled oscillator 630 provides the output frequency-modulated continuous wave signal SFM. The feedback frequency divider 640 receives the frequency-modulated continuous wave signal S output by the voltage-controlled oscillator 630FMFrequency-modulated continuous wave signal SFMFrequency division is carried out to obtain a frequency-down scanning signal SFM_divAnd down-converting the frequency-down scanning signal SFM_divIs provided to a phase frequency detector 650 forming a feedback control loop in a phase locked loop configuration.
The feedback frequency Divider 640 is, for example, a Multi-Modulus Divider (MMD) capable of dividing the frequency-modulated continuous wave signal S according to a frequency division ratio set by the mode control signalFMDividing the frequency to obtain a down-converted scanning signal SFM_divThereby implementing a programmable frequency division function. When the frequency dividing ratio set by the mode control signal is continuously changed, the frequency-modulated continuous wave signal SFMMay be varied continuously.
The phase frequency detector 650 detects the frequency and phase of the reference signal Fref and the down-converted scanning signal SFM_divAre compared to generate a first status signal Qa and a second status signal Qb characterizing the comparison result. As an example, the reference signal Fref may be provided by a crystal oscillator, or may be provided by other circuits or modules, which are not limited in this application.
The charge pump 610 generates the analog voltage signal Vo according to the received first and second state signals Qa and Qb, which are respectively used for up-and down-regulating the voltage value of the analog voltage signal Vo.
The analog voltage signal Vo is filtered by the loop filter 620 to obtain a frequency control voltage Vc, so that the voltage-controlled oscillator 630 generates a frequency modulation continuous wave signal S under the control of the frequency control voltage VcFMThe frequency modulated continuous wave signal SFMFrequency of (3) and the voltage of the frequency control voltage VcThe values correspond. Under the control of the above phase-locked loop structure, as shown in fig. 3, the voltage value of the frequency control voltage Vc has a linear variation trend within each linear interval Tchrip _ up, for example: the frequency control voltage Vc is linearly increased from a preset voltage at the start time of each linear interval, and the frequency-modulated continuous wave signal provided by the voltage-controlled oscillator 630 under the action of the preset voltage has the minimum frequency FL(ii) a At the end of each linear interval, the frequency control voltage Vc reaches the highest voltage, and the frequency modulated continuous wave signal provided by the voltage controlled oscillator 630 under the action of the highest voltage has the maximum frequency FH(ii) a In the waiting interval between every two adjacent linear intervals, the frequency control voltage Vc is reset to a preset voltage. Thus, the voltage controlled oscillator 630 provides a frequency modulated continuous wave signal SFMIs linearly varied with the frequency control voltage Vc within each linear interval.
In some optional embodiments, the time lengths of the linear intervals Tchrip _ up are equal, and the time lengths of the waiting intervals are equal, and the linear intervals and the waiting intervals are alternately distributed in a time domain, so that the frequency control voltage Vc has a frame period and is in a triangular wave or a sawtooth wave in each frame period.
The synthesizer 6 is described in the embodiment by taking the phase-locked loop structure as an example, however, the synthesizer of the embodiment of the present invention is not limited thereto, and the synthesizer 6 may be implemented by other circuits capable of generating a frequency modulated continuous wave signal.
When the radar system works, the phase-locked loop structure containing the voltage-controlled oscillator must be ensured to be in a normal working state, so how to detect the working state of the phase-locked loop structure (or a synthesizer of other structures) is the key for ensuring the normal operation of the radar system. The invention realizes the monitoring of the working state of the phase-locked loop structure by detecting the amplitude-reduced and shaped frequency-modulated continuous wave signal so as to judge whether the synthesizer and the radar system are in the normal working state.
(3) Receiving channel and transmitting channel
The transmit path 3 and the receive path 4 are coupled to the transmit antenna 1 and the receive antenna 2, respectively. The transmission channel 3 is connected to a synthesizer 6 for receiving a frequency modulated continuous wave signal SFMAnd the transmission channel 3 is based on the frequency modulated continuous wave signal SFMProviding a transmission signal in the form of a frequency modulated continuous wave to a transmission antenna 1 and modulating the frequency modulated continuous wave signal SFMProcessing is performed to generate a first signal S1. The receiving channel 4 is connected to the receiving antenna 2 to receive the echo signal, and performs filtering and the like on the echo signal, thereby generating a second signal S2.
(4) Frequency mixing unit
The mixing unit 5 is connected to the transmit path 3 and the receive path 4 to receive the first signal S1 and the second signal S2 to obtain a beat signal S based on the first signal S1 and the second signal S2D. The beat signal SDIs the difference between the frequency of the first signal S1 and the frequency of the second signal S2, so as to be able to characterize the difference between the time when the echo signal is received and the time when the emission signal is emitted, the difference being related to the information of the distance, the speed, etc. of the target object. Beat signal SDFor example, is proportional to the distance between the target and the radar.
(5) Signal processing module
The signal processing module 8 receives the beat signal S provided by the mixing unit 5DThereby according to the beat signal SDObtains a detection result Sdata including information of a distance, a speed, and the like of the target with respect to the radar system.
The signal processing module 8 for example comprises a processor for processing the beat signal SDThe device comprises modules such as an analog-to-digital converter for generating corresponding digital signals, and an arithmetic unit for calculating and processing the digital signals.
(6) Detection device
The radar system of the embodiment of the invention also comprises a detection device 7, wherein the detection device 7 is used for detecting the frequency modulation continuous wave signal S provided by the synthesizer 6FMAnd (6) detecting.
As shown in fig. 2, the detection means 7 may be coupled to an output of the synthesizer 6 for receiving the frequency modulated continuous wave signal SFMFor aligning frequency-modulated continuous wave signals SFMDown-conversion and shaping are performed to obtain the first clock signal Sclk. Frequency modulated continuous wave signal SFMAt a set ratio to the frequency of the first clock signal SclkExample NdivAnd the first clock signal Sclk is a continuous wave signal S with a frequency smaller than the frequency modulationFMSo that the detection result data obtained by the detection device 7 detecting the frequency of the first clock signal Sclk may also represent the frequency modulated continuous wave signal SFMWhether or not an abnormality occurs in the frequency of (2). Due to the frequency-modulated continuous-wave signal S generated by the synthesizer 6FMIn practical applications, it is usual to have a relatively high frequency (for example, varying in the frequency range of 30GHz to 300 GHz), so that the detection device 7 can be calibrated by matching the frequencies according to the set ratio NdivThe first clock signal Sclk obtained by frequency reduction is detected to indirectly realize the frequency modulation continuous wave signal SFMThe frequency monitoring of (2) thus improves the detection precision, and also makes the working frequency range of the detection device 7 unnecessarily high, i.e. reduces the performance requirement on the detection device 7; frequency-modulated continuous wave signal S, on the other handFMThe signal being generally in the form of a sine wave, the detection means 7 supplying a frequency-modulated continuous wave signal SFMThe shaping of the first clock signal Sclk in the form of a square wave further enables a more accurate frequency detection by the detection means 7.
Besides, the detecting device 7 is further configured to provide the indication data Dstate, and update the indication data Dstate according to the respective clock edges of the first clock signal Sclk (i.e. the level change edges of the first clock signal Sclk, which may include each rising edge and/or each falling edge) in the detection interval, so as to determine the fm continuous wave signal S in the detection interval according to the indication data DstateFMWhether the frequency of (2) is normal. For example, the detecting device 7 may update the corresponding data bits in the indicating data Dstate at each rising edge and each falling edge of the first clock signal Sclk, or may update the corresponding data bits in the indicating data Dstate only at each rising edge or each falling edge of the first clock signal Sclk.
It should be noted that, in the embodiment of the present invention, the linear interval Tchrip _ up shown in fig. 3 may be directly used as the detection interval. However, the embodiments of the present invention are not limited thereto, and in other embodiments, the detection interval may be a part of the linear interval Tchrip _ up.
Fig. 4 shows a schematic block diagram of a detection apparatus of an embodiment of the present invention. The detection device 7 of the present embodiment will be described in detail below with reference to fig. 4.
As shown in fig. 4, the detection means 7 comprises an input circuit 7300, a ring register link 7100 and a processing circuit 7200.
Input circuit 7300 for coupling frequency modulated continuous wave signal SFMA shaping process and a frequency reduction process are performed to generate the first clock signal Sclk. The shaping process can be realized by circuit structures such as a buffer, a phase inverter and the like, so that the first clock signal Sclk has a square waveform; the frequency-down process may be implemented by a frequency divider with a fixed or adjustable division ratio to frequency-modulate the continuous-wave signal SFMIs in a set ratio N with the frequency of the first clock signal SclkdivAnd the first clock signal Sclk satisfies the operating frequency of the ring register link 7100. It should be noted that the frequency reduction process may be performed before the shaping process or after the shaping process, which is not limited in this application.
The ring register link 7100 is used for providing indicating data Dstate with a plurality of data bits, and updating each data bit D1-Dn in the indicating data Dstate according to the clock edge of the first clock signal Sclk, wherein n is a natural number greater than 1.
For example, when the first clock signal Sclk has a rising edge, the logic state of a corresponding one of the data bits Di in the indicating data Dstate changes (from 1 to 0 or from 0 to 1, abbreviated as "i" update), and then, when the first clock signal Sclk has a falling edge, the logic state of another data bit Dj in the indicating data Dstate after the i "update changes (abbreviated as" j "update), and so on, it can be known that: in each frame period, the first clock signal Sclk has a rising edge and a falling edge, indicating that the data Dstate can be updated 2 times, i.e. indicating that the data Dstate has two corresponding data bits updated. Wherein i and j are respectively non-zero natural numbers less than or equal to n.
In some alternative embodiments, j is equal to i +1 when i is less than n, and j is equal to 1 when i is equal to n, so that the respective data bits D1 to Dn in the indicating data Dstate can be cyclically updated according to the clock edge of the first clock signal Sclk.
In the above description, the i-th update of the indicating data Dstate occurs when the first clock signal Sclk has a rising edge, it should be noted that in some other equivalent embodiments, the i-th update of the indicating data Dstate may occur when the first clock signal Sclk has a falling edge, and correspondingly, the j-th update of the indicating data Dstate may occur when the first clock signal Sclk has a rising edge. Further, in the description of the embodiments of the present invention, the update of one data bit in the indication data Dstate means that the logical value of the data bit is updated from 1 to 0 or from 0 to 1.
The various data values that the indicating data Dstate may provide during the course of continuous update are referred to herein as the respective state values of the indicating data Dstate.
The processing circuit 7200 is connected to the output of the ring register link 7100 to receive the indication data Dstate. The processing circuit 7200 is configured to obtain preset expected values of the indication data Dstate corresponding to the detection intervals, and determine whether an average value of the frequency of the first clock signal Sclk in the detection interval meets an expected range according to a start value and an end value of the indication data Dstate in each detection interval and the preset expected value corresponding to the detection interval.
In the linear interval, the processing circuit 7200 may sample the indicating data Dstate triggered by a clock edge (rising edge or falling edge) of the second clock signal clk _ cs to obtain a start value and an end value of the indicating data Dstate in each detection interval. In this case, each detection interval corresponds to a respective one of the sampling periods in the second clock signal clk _ cs, and the start time and the end time of each detection interval correspond to two adjacent and co-directional clock edges of the second clock signal clk _ cs. The second clock signal clk _ cs is set to have a frequency less than that of the first clock signal Sclk. This embodiment will be described in detail below, however, the embodiment of the present invention is not limited thereto, and each detection interval is not limited to correspond to one sampling period of the second clock signal, but may correspond to a plurality of consecutive sampling periods.
Specifically, in each detection interval, the processing circuit 7200 may sample a start value of the indicating data Dstate at a start time of the detection interval, and each data bit D1-Dn in the indicating data Dstate is updated cyclically with the occurrence of the clock edge of the first clock signal Sclk; the processing circuit 7200 obtains an end value of the indicating data Dstate at the end time of the detection interval, and it is known that the difference between the end value and the start value is related to the number of times the indicating data Dstate is updated, that is, the total number of clock edges of the first clock signal Sclk occurring in the detection interval. Therefore, the difference between the start value and the end value of the indication data Dstate in the detection interval is related to the average frequency of the first clock signal Sclk in the detection interval. Based on this, the processing circuit 7200 may obtain a measurement value according to a difference between a start value and an end value of the indication data Dstate in each detection interval, and provide the detection result data Sout according to a preset expected value corresponding to the measurement value and the sampling period, so that the detection result data Sout can represent whether an average value of the frequency of the first clock signal Sclk in each detection interval meets an expected range, and if so, the frequency-modulated continuous wave signal S is illustratedFMIs in a normal state in the detection area, if not, the frequency modulation continuous wave signal S is indicatedFMIs abnormal in the detection interval.
The "start value" disclosed herein is a data value indicating data Dstate at the start time of the detection interval; the "end value" is a data value indicating data Dstate at the end time of the detection interval. Wherein the start value and the end value are each one of the respective state values of the indicating data Dstate.
In some alternative embodiments, the preset expected value may represent an expected number of occurrences of the clock edge of the first clock signal Sclk within the detection interval, for example, an expected average value of the frequency of the first clock signal Sclk within the detection interval. Based on this, the processing circuit 7200 may calculate a predicted end value of the indicating data Dstate in the detection interval according to a start value of the indicating data in the detection interval, a preset expected value corresponding to the detection interval, and a duration of the detection interval; subsequently, the processing circuit 7200 may compare the sampled end value with the calculated predicted end value, and if the two values are within the error tolerance range, it indicates that the average value of the frequency of the first clock signal Sclk in the detection interval satisfies the expected range, and if the two values are not within the error tolerance range, it indicates that the average value of the frequency of the first clock signal Sclk in the detection interval does not satisfy the expected range, and the synthesizer 6 (shown in fig. 1) and the radar system operate abnormally.
In other alternative embodiments, the preset expected value may be a value calculated according to the total number of the state values that may be provided by the specifying data Dstate and the expected number of occurrences of the clock edge of the first clock signal Sclk within the detection interval. Based on this, for each detection interval, the processing circuit 7200 may determine whether the average value of the frequency of the first clock signal Sclk in the detection interval satisfies the desired range according to the difference between the start value and the end value of the first clock signal Sclk in the detection interval and the preset desired value corresponding to the detection interval. The following detailed description of the embodiments will be omitted.
In the embodiment shown in fig. 4, the ring register link 7100 has a clock terminal that directly receives the first clock signal Sclk, such that the ring register link takes the first clock signal Sclk as the clock signal clk. As mentioned above, the first clock signal Sclk is a frequency modulated continuous wave signal SFMSo that it can be based on the frequency modulated continuous wave signal SFMA known set ratio N to the frequency of the first clock signal SclkdivAnd the detection result data Sout provided by the processing circuit 7200 acquires the frequency-modulated continuous wave signal SFMWhether the average of the frequencies in the detection interval meets the expected frequency range, i.e.: the detection result data Sout provided by the processing circuit 7200 can also characterize the frequency modulated continuous wave signal SFMWhether the average value of the frequencies in the detection interval satisfies the expected range. When the detection result data Sout indicates that the average value of the frequency of the first clock signal Sclk in the detection interval meets the expected range, it is statedFrequency-modulated continuous wave signal S with normal operation of synthesizerFMThe frequency change is correct, and at the moment, the radar system can work normally; when the detection result data Sout indicates that the average value of the frequency of the first clock signal Sclk in the detection interval does not conform to the expected range, the abnormal operation of the synthesizer and the frequency modulation continuous wave signal S are indicatedFMDoes not meet the expected range, and the radar system works abnormally.
The ring register link 7100 and the processing circuit 7200 of the embodiment of the present invention are described in detail below.
Ring register link
Fig. 5 is a schematic structural diagram of a ring register link according to an embodiment of the present invention. Fig. 6 shows a schematic circuit diagram of each register in fig. 5. The ring register link of the embodiment of the present invention is described in detail below with reference to fig. 5 and 6.
As shown in fig. 5, the ring register link 7100 includes a plurality of registers 7110 cascaded in sequence, with the last level registers cascaded before the first level registers to form the ring link.
Each stage of register 7110 generates the output signal DOUT of the stage and the corresponding data bit in the indicating data Dstate according to the clock signal clk, the inverted clock signal clkb and the input signal DIN of the stage, respectively, and each stage of register 7110 corresponds to different data bits in the indicating data Dstate.
The ring register chain 7100 further comprises an odd number of inverters INV1 cascaded between the first stage register and the last stage register, so that the first stage register can obtain the input signal of the present stage according to the inverted signal of the output signal provided by the last stage register. And each stage of registers except the first stage of registers respectively obtains the input signal of the stage according to the output signal provided by the register cascaded at the previous stage.
The ring register link 7100 also comprises an odd number of inverters INV0 for generating an inverted clock signal clkb from the clock signal clk, such that the inverted clock signal clkb is the inverted signal of the clock signal clk.
In an alternative embodiment, as shown in fig. 5, the number n of data bits of the indicating data Dstate is an even number different from zero, and each stage of the register 7110 corresponds to two adjacent data bits of the indicating data Dstate, for example, the first stage register 7110 is used for outputting the data bit D1 and the data bit D2 in the indicating data Dstate, the second stage register 7110 is used for outputting the data bit D3 and the data bit D4 in the indicating data Dstate, and so on.
As an example, each stage register 7110 may update a corresponding first data bit Dk (output by the DF1 terminal of the stage register) in the indicating data Dstate according to a rising edge of the clock signal clk, and update a corresponding second data bit Dp (output by the DF2 terminal of the stage register) in the indicating data Dstate according to a falling edge of the clock signal clk. Where k and p are respectively non-zero natural numbers of n or less, and p is preferably k + 1.
In other embodiments, each stage of the register 7110 may update the corresponding first data bit Dk in the indicating data Dstate according to the falling edge of the clock signal clk, and update the corresponding second data bit Dp in the indicating data Dstate according to the rising edge of the clock signal clk, which has the same principle as the above embodiments and is not described again.
It should be noted that "updating a certain data bit" as described herein refers to resetting the corresponding data bit according to the current state of each relevant signal, that is, updating the corresponding data bit in the indication data Dstate may or may not change the logic state of the data bit.
As an alternative embodiment, each stage of registers 7110 includes at least two stages of sample and hold modules as shown in fig. 6. The number of sample-and-hold blocks cascaded in each stage of registers 7110 may be the same as the number of bits of the indicating data corresponding to each stage of registers. In this embodiment, 2 data bits are corresponding to each stage of register, and each stage of register includes a first stage sample-and-hold module and a second stage sample-and-hold module.
As shown in fig. 6, the first stage sample-and-hold block 7111 samples the input signal DIN of the present stage register in the sample state to generate the transfer signal DZ, and the second stage sample-and-hold block 7112 samples the transfer signal DZ in the sample state to generate the output signal DOUT of the present stage register.
The first stage sample and hold module 7111 has a sample state and a hold state and alternately enters the sample state and the hold state according to a clock signal clk. In a sampling state, the first stage sample-and-hold module 7111 updates the transfer signal DZ according to the input signal DIN of the present stage register; in the hold state, the first stage sample and hold module 7111 holds the pass signal unchanged.
As an alternative embodiment, the first stage sample and hold module 7111 may include a transmission gate controlled by the clock signal clk. The transmission gate includes, for example, field effect transistors M11 and M12, sources of the field effect transistors M11 and M12 are connected to receive the input signal DIN of the present stage register 7110, and drains of the field effect transistors M11 and M12 are connected to provide the transfer signal DZ; the gates of field effect transistors M11 and M12 receive clock signal clk and inverted clock signal clkb, respectively.
The first stage sample-and-hold block 7111 may further include an even number of inverters (not gates) for buffering the input signal DIN input to the transmission gate and/or buffering the transfer signal DZ output from the transmission gate.
The second stage sample-and-hold block 7112 and the first stage sample-and-hold block 7111 may have the same circuit structure, the second stage sample-and-hold block 7112 may include, for example, a transmission gate formed by field effect transistors M21 and M22, sources of the field effect transistors M21 and M22 may be coupled to receive the transfer signal DZ provided by the first stage sample-and-hold block 7111, drains of the field effect transistors M21 and M22 may be coupled to provide the output signal DOUT of the present stage register, and gates of the field effect transistors M21 and M22 may receive the clock signal clk and the inverted clock signal clkb, respectively. The second stage sample and hold block 7112 may also include an even number of inverters to buffer the pass signal DZ input to the transmission gate and/or to buffer the output signal DOUT provided by the present stage register.
In an alternative embodiment, the transmission gate in the first stage sample-and-hold block 7111 is cascaded between two inverters, and the transmission gate in the second stage sample-and-hold block 7112 is cascaded between two other inverters, so that a simple circuit structure can be used to implement an accurate sample-and-hold function.
In order to make the second stage sample-and-hold module 7112 and the first stage sample-and-hold module 7111 operate in different states at the same time, that is, the first stage sample-and-hold module 7112 and the first stage sample-and-hold module 7111 alternately enter a sampling state and a holding state, the transmission gate in the second stage sample-and-hold module 7112 and the transmission gate in the first stage sample-and-hold module 7111 are alternately turned on under the control of the clock signal clk.
As an alternative embodiment, the gates of the field effect transistors M12 and M21 receive the inverted clock signal clkb, the gates of the field effect transistors M11 and M22 receive the clock signal clk, the field effect transistors M11 and M21 are for example PMOS transistors, and the field effect transistors M12 and M22 are for example NMOS transistors. Therefore, when the clock signal clk is at a low level, the transmission gate in the first stage sample-and-hold module 7111 is turned on, so that the transmission signal DZ is the same as the input signal DIN received by the register of the current stage, and at this time, the first stage sample-and-hold module 7111 operates in a sampling state and the second stage sample-and-hold module 7112 operates in a holding state; when the clock signal clk is at a high level, the transmission gate in the second stage sample-and-hold module 7112 is turned on, so that the output signal DOUT provided by the register of the present stage is the same as the transmission signal DZ provided by the first stage sample-and-hold module 7111, and at this time, the first stage sample-and-hold module 7111 operates in a hold state and the second stage sample-and-hold module 7112 operates in a sampling state.
As shown in fig. 6, each stage of registers 7110 further includes a first stage buffer module 7113 and a second stage buffer module 7114. The first stage buffer module 7113 buffers the transmission signal DZ output by the first stage sample-and-hold module 7111 to drive/shape the first data bit Dk corresponding to the current stage register in the indicating data Dstate, and the second stage buffer module 7114 buffers the output signal DOUT provided by the second stage sample-and-hold module 7112 to drive/shape the second data bit Dp corresponding to the current stage register in the indicating data Dstate. The first-stage buffer module 7113 and the second-stage buffer module 7114 include, for example, an even number of cascaded inverters (not gates), respectively.
In the above embodiments, each stage of the sample-and-hold module and each stage of the buffer module receive the same power supply voltage, for example, the high-level power supply voltage VDD and the low-level voltage VSS.
Processing circuit
Fig. 7 shows a schematic block diagram of one implementation of the processing circuit of fig. 4.
The processing circuit according to the embodiment of the present invention is described and illustrated below according to the implementation shown in fig. 7, however, the embodiment of the present invention is not limited to this, and other implementation principles of the processing circuit are described above, and those skilled in the art may also use other determination manners to determine whether the average value of the frequency of the first clock signal and the frequency of the frequency-modulated continuous wave signal in the detection interval is within the desired range.
As shown in fig. 7, the processing circuit 7200 includes a sampling unit 7210, a storage unit 7220, and a first determination unit 7230.
The sampling unit 7210 is configured to sample the indicating data Dstate provided by the ring register link 7100 at a start time of a detection interval to obtain a start value Dstate _ ini of the indicating data within the detection interval, and sample the indicating data Dstate provided by the ring register link 7100 at an end time of the detection interval to obtain an end value Dstate _ end of the indicating data within the detection interval. The sampling unit 7210 receives a second clock signal clk _ cs, the frequency of the second clock signal clk _ cs is less than the frequency of the clock signal clk of the ring register link 7100, and the sampling period Tsample of the second clock signal clk _ cs corresponds to a detection interval, so that the sampling unit 7210 can obtain the start value Dstate _ ini and the end value Dstate _ end by sampling under the control of the second clock signal clk _ cs.
The storage unit 7220 is configured to store in advance various status values Dstate _1 to Dstate _2n that may occur indicating data, and store sequence numbers corresponding to the respective status values of the indicating data in the output logic sequence of the ring register link, so as to establish a lookup table of relationships between different status values and the sequence numbers. The memory unit 7220 may be provided in the signal processing module 8 shown in fig. 1, may be a memory provided separately, or may be provided in the same module as other circuits.
The storage unit 7220 stores, for example, a relationship lookup table as shown in table 1 below.
Table 1 prestored relation lookup table between different state values and sequence numbers
Figure BDA0002682186040000151
Figure BDA0002682186040000161
In each detection interval, the first determining unit 7230 is configured to obtain a difference Δ a between the sequence number a2 corresponding to the end value Dstate _ end of the indication data in the detection interval and the sequence number a1 corresponding to the start value Dstate _ ini of the indication data in the detection interval according to the relationship lookup table, and obtain the measurement value of the detection interval according to the difference Δ a. Further, the first determining unit 7230 may be configured to determine whether an offset a _ os between the measurement value of the detection interval and the preset expected value a _ ref is greater than a first threshold, if so, set the first bit result value Sout [0] of the detection result data Sout to be in an active state (e.g., 1, or 0 in other embodiments), and if not, set the first bit result value Sout [0] of the detection result data Sout to be in an inactive state (e.g., 0, or 1 in other embodiments), so that the first bit result value Sout [0] may represent whether an average value of the frequency of the first clock signal Sclk in the detection interval satisfies a desired range, for the following reasons:
as described above, the clock signal clk of the ring register link 7100 is the first clock signal Sclk, so the synthesizer provides the frequency modulated continuous wave signal SFMHas a set ratio N to the frequency of the clock signal clkdivThe set ratio is usually a positive real number equal to or greater than 1.
Pseudo frequency modulated continuous wave signal SFMThe frequency in the detection interval is fixed to f0, and the duration of the detection intervalA sampling period Tsample equal to the second clock signal clk _ cs, the clock signal clk has a frequency of f0/N during the detection intervaldivThe number of times that the indication data Dstate provided by the ring register link 7100 is updated in the detection interval is equal to:
2*Tsample/[1/(f0/Ndiv)]
but due to frequency modulated continuous wave signal SFMIn fact, it is linearly increasing in each detection interval, so that between each two adjacent sampling points, the expected number of times the indicating data Dstate output by the loop register link 7100 is updated is equal to:
{2*Tsample/[1/(Fy-1/Ndiv)]+2*Tsample/[1/(Fy/Ndiv)]}/2
namely:
Tsample*(Fy-1+Fy)/Ndiv
wherein y is a natural number of 1 or more, FyAnd Fy-1Frequency modulated continuous wave signals S corresponding to the current sampling points (the current clock edge of the second clock signal clk _ cs)FMAnd the frequency modulated continuous wave signal S corresponding to the next previous sampling point (the next clock edge of the second clock signal clk _ cs)FMThe desired frequency of (c). Fy-1And FyFor example corresponding to the frequencies F shown in fig. 3, respectively1And F2
Table 1 illustrates 16 (i.e., 2n) state values for ring register link 7100 as an example of 8-bit indicating data Dstate (i.e., n-8), which in this example may comprise 4 stages of registers, each stage of registers corresponding to a corresponding 2 data bits in the indicating data. The ring register link 7100 cyclically outputs 16 state values indicating data Dstate in output logic order with 16 outputs as one cycle, and the 16 state values are sequentially numbered from 1 to 16 in order according to the output logic order of the ring register link 7100.
As can be seen from the above analysis, two adjacent clock edges in the second clock signal clk _ cs may define a detection interval, and a remainder obtained by dividing 16 by an expected number of times that the indication data Dstate is updated in the detection interval may be calculated to obtain a preset expected value a _ ref corresponding to the detection interval, where the preset expected value represents an ideal value of the difference Δ a calculated by the first determining unit 7230.
Based on this, the first determination unit 7230 may determine whether an offset amount a _ os between the difference Δ a (i.e., the measured value) and the preset desired value a _ ref is greater than a first threshold value. If so, it indicates that the deviation between the difference Δ a and the preset expected value a _ ref is too large and exceeds the allowable range determined by the first threshold, and the first determining unit 7230 may determine the first result value Sout [0] of the detection result data Sout]Set to an active state to indicate the first clock signal Sclk and the frequency modulated continuous wave signal SFMIs not in the expected range, so that the first bit result value Sout [0] of the valid state can be used]Learning that the synthesizer and the radar system are in abnormal working states; if not, it indicates that the deviation between the difference Δ a and the preset expected value a _ ref is within the allowable range determined by the first threshold, and at this time, the first determining unit 7230 may determine the first result value Sout [0] of the detection result data Sout]Set to an inactive state to indicate the first clock signal Sclk and the frequency modulated continuous wave signal SFMThe average value of the frequency of (1) in the detection interval satisfies a desired range, so that it is possible to obtain a first bit result value Sout [0] according to the invalid state]And the synthesizer and the radar system are in a normal working state.
As an alternative embodiment, the first judgment unit 7230 may include: a search module for searching the corresponding sequence numbers a1 and a2 in the storage unit 7220 according to the start value and the end value provided by the sampling unit 7210; the calculating module is used for calculating a difference value delta a according to the sequence numbers a1 and a2 and calculating the offset between the difference value delta a and a preset expected value a _ ref; a comparison module for comparing the offset with a first threshold to generate a first bit result value Sout [0 ].
Fig. 8 shows a schematic block diagram of yet another implementation of the processing circuit of fig. 4.
As a further optimized embodiment, as shown in fig. 8, the processing circuit 7200 may further include a second determination unit 7240 in addition to the sampling unit 7210, the storage unit 7220, and the first determination unit 7230 described in the above-described embodiment. The second determining unit 7240 is configured to provide a second bit result value Sout [1] in the detection result data Sout, so as to further provide detection result information of the modulated continuous wave signal.
As shown in FIG. 8, the second determining unit 7240 is configured to generate a second bit result value Sout [1] according to the first bit result value Sout [0], and the second determining unit 7240 includes a counter 7241 and a comparator 7242.
Wherein, the counter 7241 is used for outputting the first bit result value Sout [0]]A count num is provided. When the first bit result value Sout [0]]When the count value is in the valid state, the counter 7241 increments the count value num by 1; and when the first bit result value Sout [0] is received by the counter 7241]In the invalid state, the counter 7241 resets the count value num to the initial value. The count num may thus characterize the first bit result Sout [0]]Number of sampling cycles continuously characterising abnormal operating conditions, i.e. frequency-modulated continuous-wave signal SFMIs continuously not in compliance with the preset frequency.
The comparator 7242 is configured to compare the count num provided by the counter 7241 with a second threshold max _ ref to obtain a second bit result Sout [1]]. When the count num is greater than the second threshold max _ ref, the comparator 7242 outputs a second bit result Sout [1] of the valid state]To indicate the first clock signal Sclk and the fm continuous wave signal SFMThe average value of the frequency in a plurality of continuous detection intervals/sampling periods which exceed the expected number does not meet the expected range, and at the moment, the synthesizer and the radar system are in an abnormal working state for a long time and are not easy to restore to normal automatically; when the count num is less than or equal to the second threshold max _ ref, the comparator 7242 outputs a second bit result Sout [1] of an invalid state]To characterize the first clock signal Sclk and the frequency modulated continuous wave signal SFMIs expected to vary in frequency.
In alternative embodiments, the subsequent stage circuit connected to the comparator 7242 may be triggered by the second bit result value Sout [1] of the valid state to initiate an early warning prompt, which includes but is not limited to an audio prompt, a pop-up prompt, an optical prompt, and the like. When the second bit result value Sout [1] is in an invalid state, the post-stage circuit does not need to initiate early warning prompt.
The present invention further provides a detecting device for determining the first clock signal Sclk and the frequency modulated continuous wave signal S according to the above embodimentsFMWhether the average value of the frequencies in the respective detection intervals meets the expected range.
According to the radar system and the detection device provided by the embodiment of the invention, the frequency modulation continuous wave signal is subjected to frequency reduction and shaping to obtain the first clock signal in a square wave form, the value of the corresponding data bit in the indication data is updated according to each clock edge of the first clock signal, and the indication data is sampled based on the second clock signal to obtain the measured value controlled by the number of the clock edges of the first clock signal, so that the detection result data can be obtained according to the measured value to represent whether the frequency of the frequency modulation continuous wave signal is normal or not, and the detection of the frequency modulation continuous wave signal is realized. In the radar system according to the embodiment of the present invention, since the frequency of the frequency modulated continuous wave signal is controlled by the synthesizer, the detection result data provided by the detection device can indicate whether the synthesizer is operating abnormally or not and whether the radar system is operating abnormally or not.
For example, for a synthesizer of a phase-locked loop structure, when the calculated offset is smaller than or equal to a first threshold, the detection apparatus and the radar system provided in the embodiment of the present invention may determine that the phase-locked loop structure is in a normal operating state, otherwise, the phase-locked loop structure is in an abnormal operating state; in order to improve the judgment accuracy, the judgment processing can be performed on the plurality of detection intervals respectively, and the phase-locked loop structure is judged to be in the normal working state only when the offsets of the detection intervals are smaller than or equal to the first threshold and the detection intervals show a certain regular change or a smaller change amplitude. Wherein, the judgment of the magnitude of the variation amplitude can be set based on the actual precision requirement.
In addition, for the phase-locked loop structure in the abnormal working state, the detection apparatus and the radar system provided in the embodiment of the present invention may further determine whether the phase-locked loop structure is in the locked state or the unstable state by further analyzing and judging the change rule of the offset obtained in the different detection intervals (that is, in the embodiment of the present invention, the abnormal working state may include the locked state and the unstable state). For example, when the offset obtained in adjacent sampling periods (corresponding to adjacent detection intervals) changes randomly or the change amplitude is large, it may be determined that the phase-locked loop structure is in an unstable state in an abnormal state at this time, that is, it may be considered that some devices in the phase-locked loop structure may be damaged at this time; otherwise, the phase-locked loop structure may be considered to be in a locked state in the abnormal state.
Fig. 9 is a schematic flow chart of a detection method according to an embodiment of the present invention. Including steps S810 through S850. The method is applied to the detection device and the radar system of each of the above embodiments, for example.
In step S810, the frequency modulated continuous wave signal is down-converted and shaped to generate a first clock signal in the form of a square wave, and the frequency of the frequency modulated continuous wave signal is proportional to the frequency of the first clock signal. The frequency of the frequency modulated continuous wave signal varies linearly within the detection interval, and therefore the frequency of the first clock signal also varies linearly within the detection interval.
In step S820, indication data having a plurality of data bits is provided, and corresponding data bits in the indication data are updated according to clock edges of the first clock signal.
As an alternative embodiment, each rising edge and/or each falling edge of the first clock signal may be used as a clock edge for updating the indication data. Step S820 may include: circularly updating the value of each data bit of the indicating data under the triggering of each clock edge in turn; and updating a value indicative of a respective one of the data bits at the trigger of each clock edge.
In step S830, the indicating data is sampled based on the second clock signal to obtain a measurement value, and the detection result data is provided according to the measurement value. The measured value is controlled by the number of clock edges of the first clock signal in the detection interval, the detection result data represents whether the frequency of the frequency modulation continuous wave signal and the frequency of the first clock signal are normal or not, and the frequency of the second clock signal is smaller than the frequency of the first clock signal.
As an alternative embodiment, step S830 may include: sampling the indicating data based on a second clock signal to obtain a start value and an end value of the indicating data within a detection interval, the detection interval may correspond to one or more sampling periods of the second clock signal; obtaining a relation lookup table, wherein the relation lookup table is used for providing sequence numbers corresponding to a plurality of state values of the indicating data respectively in the output logic sequence, the plurality of state values of the indicating data comprise the starting value and the ending value, and the sequence numbers comprise a first sequence number corresponding to the starting value and a second sequence number corresponding to the ending value; obtaining a measured value according to a difference value between the first sequence number and the second sequence number; and judging whether the offset between the measured value and the preset expected value of the detection interval is larger than a first threshold value, if so, setting a first bit result value of the detection result data to be in an effective state to indicate that the average value of the frequency-modulated continuous wave signal in the detection interval does not meet the expected range, and if not, setting the first bit result value to be in an ineffective state to indicate that the average value of the frequency-modulated continuous wave signal in the detection interval meets the expected range.
As an alternative embodiment, step S830 may further include: and calculating to obtain a preset expected value based on the total number of the plurality of state values of the indicating data and the expected occurrence number of the clock edges of the first clock signal in the detection interval.
As an alternative embodiment, for each detection interval, the measured value may be equal to a difference value between the first sequence number and the second sequence number, and the preset expected value is equal to a remainder obtained by dividing twice a set value corresponding to the detection interval by a total number of a plurality of state values of the indicating data, where the set value is equal to a product between a preset frequency average value of the first clock signal in the detection interval and a duration of the detection interval.
As an alternative embodiment, in step S830, the step of providing the detection result data according to the measurement value may further include: providing a count value according to the first bit result value, adding 1 to the count value when the first bit result value is in an effective state, and restoring the count value to an initial value when the first bit result value is in an ineffective state; and judging whether the count value is larger than a second threshold value, if so, setting a second bit result value of the detection result data to be in an effective state to represent that the frequency change of the frequency modulation continuous wave signal is in an abnormal state, and if not, setting the second bit result value to be in an ineffective state to represent that the frequency change of the frequency modulation continuous wave signal is in a normal state.
It should be noted that the detection method provided in the embodiments of the present invention may include the technical details and features provided in the description of the detection apparatus and the radar system in each embodiment, and the same parts are not described herein again.
According to the radar system, the detection device and the detection method provided by the embodiment of the invention, the frequency modulation continuous wave signal is subjected to frequency reduction and shaping to obtain the first clock signal in a square wave form, the value of the corresponding data bit in the indication data is updated according to each clock edge of the first clock signal, and the indication data is sampled based on the second clock signal to obtain the measured value of the number of the clock edges controlled by the first clock signal, so that the detection result data can be obtained according to the measured value to represent whether the frequency of the frequency modulation continuous wave signal is normal or not, and the detection of the frequency modulation continuous wave signal is realized. In the radar system according to the embodiment of the present invention, since the frequency of the frequency modulated continuous wave signal is controlled by the synthesizer, the detection result data provided by the detection device can indicate whether the synthesizer is operating abnormally or not and whether the radar system is operating abnormally or not.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
While embodiments in accordance with the invention have been described above, these embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. The invention is limited only by the claims and their full scope and equivalents.

Claims (14)

1. A detection apparatus for a synthesizer, the synthesizer being configured to output a frequency modulated continuous wave signal, the detection apparatus comprising:
the input circuit is connected with the synthesizer to receive the frequency modulation continuous wave signal and performs frequency reduction and shaping processing on the frequency modulation continuous wave signal to generate a first clock signal in a square wave form, and the frequency of the first clock signal changes linearly in a detection interval;
a ring register link coupled to the input circuit to receive the first clock signal, to provide indicating data, and to update values of corresponding data bits in the indicating data according to respective clock edges of the first clock signal; and
a processing circuit, coupled to the ring register link, to: sampling the indicating data based on a second clock signal to obtain a measured value, and providing detection result data according to the measured value, wherein the detection result data represents whether the frequency of the frequency-modulated continuous wave signal is normal or not,
the frequency of the second clock signal is less than that of the first clock signal, and the measured value is controlled by the number of clock edges of the first clock signal occurring in the detection interval.
2. The detection apparatus according to claim 1, wherein for each of the detection intervals, the ring register link is adapted to:
circularly updating the value of each data bit of the indicating data under the triggering of each clock edge in turn; and
updating the value of a respective one of the data bits in the indicating data triggered by each of the clock edges.
3. The detection device of claim 1, wherein the processing circuit comprises:
a sampling unit, connected to the ring register link, for: sampling the indication data based on the second clock signal to obtain a start value and an end value of the indication data within a detection interval, wherein the detection interval corresponds to one or more sampling periods of the second clock signal;
a storage unit, configured to store a relationship lookup table in advance to indicate sequence numbers respectively corresponding to a plurality of state values of the indication data in an output logic sequence of the ring register link, where the plurality of state values include the start value and the end value, and the sequence numbers include a first sequence number corresponding to the start value and a second sequence number corresponding to the end value; and
a first judging unit, configured to obtain the measurement value according to a difference between the first sequence number and the second sequence number, and judge whether an offset between the measurement value and a preset expected value of the detection interval is greater than a first threshold,
if so, the first judgment unit sets the first bit result value of the detection result data to be in an effective state to indicate that the average value of the frequency modulation continuous wave signal in the detection interval does not meet the expected range,
if not, the first judgment unit sets the first bit result value to be in an invalid state so as to indicate that the average value of the frequency modulation continuous wave signal in the detection interval meets the expected range.
4. The detection device according to claim 3, wherein the preset desired value is: calculating the obtained data value based on a total number of the plurality of state values and an expected number of occurrences of a clock edge of the first clock signal within the detection interval.
5. The detection apparatus according to claim 4, wherein for each of the detection intervals:
the measured value is equal to the difference value,
the preset expected value is equal to a remainder obtained by dividing twice of a set value corresponding to the detection interval by the total number of the plurality of state values,
the set value is equal to the product of the desired average value of the frequency of the first clock signal within the detection interval and the duration of the detection interval.
6. The detection device of claim 4, wherein the processing circuit further comprises:
a counter for providing a count value in accordance with the first bit result value, the counter being responsive to the first bit result value in an active state to increment the count value by 1 and responsive to the first bit result value in an inactive state to reset the count value to an initial value; and
a comparator for determining whether the count value is greater than a second threshold value,
if yes, the comparator sets a second bit result value of the detection result data to be in an effective state so as to represent that the frequency change of the frequency modulation continuous wave signal is in an abnormal state,
if not, the comparator sets the second bit result value to be in an invalid state so as to represent that the frequency change of the frequency modulation continuous wave signal is in a normal state.
7. The detection apparatus according to claim 1, wherein the synthesizer comprises:
and the phase-locked loop structure comprises a voltage-controlled oscillator, wherein the voltage-controlled oscillator generates the frequency-modulated continuous wave signal according to the frequency control voltage, and the frequency of the frequency-modulated continuous wave signal changes along with the voltage value of the frequency control voltage.
8. A method of testing a synthesizer that outputs a frequency modulated continuous wave signal, the method comprising:
carrying out frequency reduction and shaping processing on the frequency modulation continuous wave signal to generate a first clock signal in a square wave form, wherein the frequency of the first clock signal changes linearly in a detection interval;
providing indicating data with a plurality of data bits, and updating corresponding data bits in the indicating data according to clock edges of the first clock signal;
sampling the indicating data based on a second clock signal to obtain a measurement value;
providing detection result data according to the measured value, wherein the detection result data represents whether the frequency of the frequency-modulated continuous wave signal is normal or not,
the frequency of the second clock signal is less than that of the first clock signal, and the measured value is controlled by the number of clock edges of the first clock signal occurring in the detection interval.
9. The method of claim 8, wherein the step of updating the corresponding data bits in the indicating data according to the clock edges of the first clock signal comprises:
circularly updating the value of each data bit of the indicating data under the triggering of each clock edge in turn; and
updating the value of a respective one of the data bits in the indicating data triggered by each of the clock edges.
10. The detection method of claim 8, wherein sampling the indicating data based on the second clock signal to obtain the measurement value and providing the detection result data according to the measurement value comprises:
sampling the indication data based on the second clock signal to obtain a start value and an end value of the indication data within a detection interval, wherein the detection interval corresponds to one or more sampling periods of the second clock signal;
obtaining a relationship lookup table indicating sequence numbers respectively corresponding to a plurality of state values of the indicating data in an output logical order, the plurality of state values including the start value and the end value, the sequence numbers including a first sequence number corresponding to the start value and a second sequence number corresponding to the end value;
obtaining the measurement value according to the difference value between the first sequence number and the second sequence number;
judging whether the offset between the measured value and the preset expected value of the detection interval is larger than a first threshold value,
if yes, setting a first bit result value of the detection result data to be in a valid state to indicate that the average value of the frequency modulation continuous wave signal in the detection interval does not meet the expected range,
if not, setting the first bit result value as an invalid state to indicate that the average value of the frequency modulation continuous wave signal in the detection interval meets an expected range.
11. The detection method according to claim 10, further comprising:
calculating the obtained preset expected value based on the total number of the plurality of state values and the expected occurrence number of clock edges of the first clock signal in the detection interval.
12. The detection method according to claim 11, wherein for each of the detection intervals:
the measured value is equal to the difference value,
the preset expected value is equal to a remainder obtained by dividing twice of a set value corresponding to the detection interval by the total number of the plurality of state values,
the set value is equal to the product of the preset frequency average value of the first clock signal in the detection interval and the duration of the detection interval.
13. The method of claim 10, wherein sampling the indicating data based on the second clock signal to obtain the measurement value and providing the test result data according to the measurement value further comprises:
providing a count value according to the first bit result value, adding 1 to the count value when the first bit result value is in an effective state, and restoring the count value to an initial value when the first bit result value is in an ineffective state; and
determining whether the count value is greater than a second threshold value,
if so, setting a second bit result value of the detection result data as an effective state to represent that the frequency change of the frequency modulation continuous wave signal is in an abnormal state,
and if not, setting the second bit result value as an invalid state to represent that the frequency change of the frequency modulation continuous wave signal is in a normal state.
14. A radar system, comprising:
a detection apparatus and synthesizer according to any one of claims 1 to 7; and
and the radar transceiver provides a transmitting signal and/or processes an echo signal according to the frequency modulation continuous wave signal.
CN202010970054.6A 2019-11-22 2020-09-15 Detection device, detection method and radar system Pending CN112098962A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2019111595263 2019-11-22
CN201911159526.3A CN111025245A (en) 2019-11-22 2019-11-22 Detection device, detection method and radar system

Publications (1)

Publication Number Publication Date
CN112098962A true CN112098962A (en) 2020-12-18

Family

ID=70207225

Family Applications (3)

Application Number Title Priority Date Filing Date
CN201911159526.3A Withdrawn CN111025245A (en) 2019-11-22 2019-11-22 Detection device, detection method and radar system
CN202010970054.6A Pending CN112098962A (en) 2019-11-22 2020-09-15 Detection device, detection method and radar system
CN202022020191.1U Active CN212569115U (en) 2019-11-22 2020-09-15 Detection device of synthesizer and radar system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201911159526.3A Withdrawn CN111025245A (en) 2019-11-22 2019-11-22 Detection device, detection method and radar system

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202022020191.1U Active CN212569115U (en) 2019-11-22 2020-09-15 Detection device of synthesizer and radar system

Country Status (1)

Country Link
CN (3) CN111025245A (en)

Also Published As

Publication number Publication date
CN212569115U (en) 2021-02-19
CN111025245A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
US5023572A (en) Voltage-controlled oscillator with rapid tuning loop and method for tuning same
US10727848B2 (en) Phase-locked loop having a multi-band oscillator and method for calibrating same
US5483558A (en) Method and apparatus for detecting phase or frequency lock
EP2495634B1 (en) A time base generator and method for providing a first clock signal and a second clock signal
US20180267159A1 (en) Signal generator
US20070296396A1 (en) Phase Difference Measurement Circuit
US7817761B2 (en) Test techniques for a delay-locked loop receiver interface
CN108061848B (en) method and system for measuring additive carry chain delay based on FPGA
US20090079479A1 (en) Adjustable digital lock detector
CN107820678B (en) Pulse width correction circuit, pulse width correction method, and electronic apparatus
US11342925B2 (en) Signal generation circuit and method, and digit-to-time conversion circuit and method
US9257969B2 (en) Frequency locking oscillator
US20070040614A1 (en) Circuit arrangement for detection of a locking condition for a phase locked loop, and a method
US7555094B2 (en) Counter capable of holding and outputting a count value and phase locked loop having the counter
US6686803B1 (en) Integrated circuit incorporating circuitry for determining which of at least two possible frequencies is present on an externally provided reference signal and method therefor
CN104426537A (en) Apparatus And Method For Evaluating The Performance Of System In Control Loop
JP5011559B2 (en) Reference signal generator
KR100349482B1 (en) Frequency measurement test circuit and semiconductor integrated circuit having the same
US11588491B2 (en) Signal generation circuit and method, and digit-to-time conversion circuit and method
US20060067454A1 (en) Circuit arrangement and method for determining a frequency drift in a phase locked loop
CN212569115U (en) Detection device of synthesizer and radar system
US6229864B1 (en) Phase locked loop lock condition detector
JP2002196087A (en) Circuit for measuring time
US6859165B2 (en) Pulse radar device
CN211698170U (en) Signal detection device and radar system

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