Automatic gain control method, sensor and wireless electrical element
The automatic gain control method adjusts gain factors using digital circuits to maintain echo signal power within thresholds, addressing signal distortion and improving target detection accuracy in sensors.
Patent Information
- Application Number
- JP2022551272
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-03-02
- Filing Date
- 2021-02-25
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-02-25
AI Technical Summary
Existing sensors face challenges in accurately detecting targets due to signal distortion from echo signals exceeding or falling below the maximum and minimum signal power thresholds, leading to issues like missed detections and false positives.
An automatic gain control method that adjusts gain factors using saturation information of test echo unit signals to ensure received signal power remains within a predetermined range, employing digital circuits for flexibility and accuracy.
This method effectively prevents signal distortion, improves target detection accuracy, and reduces quantization noise, while simplifying circuit design and enabling cooperative reception and transmission.
Smart Images

Figure 0007546307000005 
Figure 0007546307000006 
Figure 0007546307000004
Abstract
Description
[Technical field]
[0001] This application claims priority to a Chinese patent application entitled “Method and Apparatus for Gain Control of Radar Signal,” filed with the China Patent Office on March 2, 2020, application number 202010136325.8, the entire contents of which are incorporated herein by reference.
[0002] The present application relates to the technical field of automatic gain control, and more particularly to an automatic gain control method, a sensor and a wireless electric element. [Background technology]
[0003] In various sensor applications (e.g., radar), the strength of the signal (i.e., echo signal) received by the sensor can be constantly modified by the influence of factors such as the shape, size, and distance of the reflector (or target) from the sensor.
[0004] However, the signal power that the receiving link of the signal in the sensor can withstand has a certain threshold range. That is, the maximum signal power that the receiving link of the signal in the sensor can withstand is constant. Therefore, if the signal power of the echo signal exceeds the maximum signal power, the signal received by the receiving link may be distorted. Therefore, the sensor may not be able to accurately detect the data of the target object, and even the sensor may be completely blinded. Similarly, the minimum signal power that the receiving link of the signal in the sensor can receive is also constant. If the signal power of the echo signal is less than the minimum signal power, a relatively large quantization noise may be introduced into the signal received by the receiving link. Therefore, the sensor may have problems such as missed detection and false detection. Detailed Description of the Invention
[0005] In consideration of this, the embodiments of the present application provide an automatic gain control (AGC) method, a sensor, and a wireless electrical element, which adjusts the gain coefficients of the transmitting and receiving links using saturation information of the test echo information. Through this, it is possible to ensure that the received signal power for target detection is within a predetermined threshold range. In addition, it is possible to improve the target detection accuracy of the sensor and prevent defects such as missed detection, false detection, and loss of function.
[0006] In order to solve the above problems, the technical solutions provided in the embodiments of this application are as follows:
[0007] In a first aspect, the present application provides an automatic gain control method, which can be applied to a signal transmission / reception link of a sensor, in which a signal frame in a wireless electrical signal transmitted in the signal transmission / reception link includes a plurality of consecutive unit signals, the plurality of unit signals including N test unit signals and at least one scan unit signal.
[0008] The method includes the steps of obtaining saturation information of an ith test echo unit signal corresponding to an ith test unit signal, where i and N are positive integers, i≦N−1, 2≦N; determining an (i+1)th preamble gain based on saturation information of at least one test echo unit signal among the previous i test echo unit signals; the signal transmission / reception link transmits an i+1th test unit signal and / or receives an i+1th test echo unit signal based on the i+1th preamble gain; Cycling through i=N-1; acquiring saturation information of the Nth test echo unit signal and an output signal power of an analog-to-digital converter (ADC) in the sensor at this time; determining a scan gain based on saturation information of the Nth test echo unit signal and the ADC output signal power; transmitting each of the scan unit signals using the scan gain and / or receiving a scan echo unit signal corresponding to each of the scan unit signals.
[0009] In the above embodiment, the link gain for subsequently transmitting and / or receiving the detection signal is adjusted by using the saturation information of the test echo unit signal and the ADC output signal power of the sensor. This ensures that the strength of the signal subsequently received by the sensor is within a predetermined range. This effectively prevents signal distortion and improves the accuracy of target information detection. At the same time, it effectively prevents the introduction of relatively large quantization noise, thereby preventing the possibility of missed detection and false detection.
[0010] In addition, the operation method in this embodiment is implemented in the digital part of the sensor, which can effectively reduce the complexity of the circuit design and improve the flexibility of the automatic gain control. Also, the cooperation of the receiving and transmitting parts of the sensor can be realized.
[0011] It should be noted that the shape between the test unit signal and the scan unit signal is the same or similar, so that the strength of the acquired test echo unit signal can reflect the strength of the receiving link in the scan echo unit signal relatively realistically. In some special application scenarios, the shape between the test unit signal and the scan unit signal can be set to be slightly different to meet actual needs.
[0012] In an alternative embodiment, the step of determining a scan gain based on saturation information of the Nth test echo unit signal and the ADC output signal power comprises: determining whether link saturation occurs in the signal transmission / reception link based on saturation information of the Nth test echo unit signal; setting the scan gain to a default value if the link saturation occurs; If not, determining the value of the scan gain based on the ADC output signal power.
[0013] In the above embodiment, the scan gain is determined based on the saturation information of the test echo unit signal and the signal power output by the ADC. Specifically, first, it is determined whether link saturation occurs in the signal transmitting / receiving link based on the saturation information of the Nth test echo unit signal. If it is determined that saturation occurs in the signal link, the scan gain is set to a default value. If it is determined that saturation does not occur in the signal link, the value of the scan gain is determined based on the ADC output signal power. Thus, the scan gain is adjusted in real time according to the actual situation of the output signal, and the transmit / receive link can transmit the scan unit signal according to the scan gain, or receive the scan echo unit signal corresponding to the scan unit signal according to the scan gain. In this way, it is ensured that the transmitted scan unit signal can detect the target object, and that information such as the distance of the target object can be determined through the received scan echo unit signal.
[0014] In an alternative embodiment, the default value is a minimum or maximum gain value of the signaling transmit / receive link.
[0015] In the above embodiment, when link saturation occurs in the signal transmission / reception link, which means that the strength of the received signal is within a certain range, the accuracy of determining the target object can be guaranteed, and in this case, the scanning gain of the signal transmission / reception link can be set to a minimum gain value or a maximum gain value without the need for dynamic adjustment based on the current signal power.
[0016] In an alternative embodiment, the method may further include the following steps:
[0017] When the default value is the maximum value of the signal transmission / reception link, if the input signal of the ADC is less than a predetermined value, a left shift operation is performed on the ADC output signal.When the input signal is very small and the link gain has already been adjusted to the maximum, a left shift operation is performed on the ADC output data to ensure the accuracy of baseband digital processing.
[0018] In an alternative embodiment, determining the value of the scan gain based on the ADC output signal power may include the steps of:
[0019] Based on the ADC output signal power, the value of the scan gain is determined through a look up table (LUT) and / or calculation.
[0020] In an alternative embodiment, the step of acquiring an ADC output signal power in the sensor comprises: determining the ADC output signal power by calculating the average squared value of each value in the Nth echo unit signal of the ADC output; or The step of using the absolute value of a predetermined order within a valid region of the Nth echo unit signal of the ADC output as the ADC output signal power.
[0021] In an alternative embodiment, the largest or the next largest absolute value in the valid range of the Nth echo unit signal of the ADC output is used as the ADC output signal power.
[0022] In an alternative embodiment, the method may further include the following steps:
[0023] A first test unit signal is transmitted using an initial gain, and a first test echo unit signal corresponding to the first test unit signal is received.
[0024] In an alternative embodiment, the sensor includes at least two signal transmitting and receiving links.
[0025] The method further includes, for any signal transmission / reception link, determining a scanning gain corresponding to each of the signal transmission / reception links.
[0026] Here, each of the signal transmitting and receiving links transmits and / or receives signals based on a corresponding scanning gain.
[0027] Additionally, each of the signal transmitting and receiving links transmits and / or receives signals based on a minimum scanning gain.
[0028] In this embodiment, for sensors of at least two signal transmitting / receiving links, each signal transmitting / receiving link can perform AGC adjustment independently. In this manner, the scan gains between different signal transmitting / receiving links can be different. That is, each signal transmitting / receiving link can adopt the scan gain obtained after each AGC adjustment to perform a target detection operation that does not require angle measurement. If angle measurement is required, each signal transmitting / receiving link must first unify the scan gain before performing a subsequent target detection operation. That is, each signal transmitting / receiving link must perform a subsequent target detection operation based on the same scan gain (generally the smallest scan gain among the scan gains of each signal transmitting / receiving link). This prevents a system phase difference from being introduced and affecting the results of subsequent angle measurement.
[0029] Specifically, a final scan gain can be selected before the end of transmission of the last test unit signal of each signal transmission / reception link. Before the end of transmission of each test unit signal for link determination, AGC operation can be performed by maintaining the gains between each signal transmission / reception link to be consistent.
[0030] In an alternative embodiment, the method further comprises: Dividing the plurality of signal frames into the N test unit signals and the at least one scan unit signal based on the number of unit signals or the length of a period of the signal frame; or The method may further include increasing the N test unit signals based on an original signal frame to form a signal frame including the N test unit signals and the at least one scan unit signal.
[0031] Here, the N test unit signals are consecutively distributed in the signal frame.
[0032] In an alternative embodiment, for any signal frame, the N test unit signals are located at the beginning of the signal frame to form a preamble unit signal.
[0033] Here, the signal transmission / reception link transmits each of the scan unit signals in a current frame signal and / or receives a scan echo unit signal corresponding to each of the scan unit signals in a current frame signal based on the scan gain.
[0034] In an alternative embodiment, for any signal frame, the N test unit signals are located at the tail of the signal frame.
[0035] Here, the signal transmission / reception link transmits each of the scan unit signals in a next frame signal and / or receives a scan echo unit signal corresponding to each of the scan unit signals in a next frame signal based on the scan gain.
[0036] In an alternative embodiment, the step of obtaining, for any test unit signal, saturation information of a test echo unit signal corresponding to the test unit signal, comprises: The method includes the step of collecting statistics on the number of times link saturation occurs in the signal transmission / reception link within a time period between the start and end of transmission of the test unit signal.
[0037] In an alternative embodiment, the method further comprises: determining whether a number of times link saturation occurs in the signal transmission / reception link within a time period between a start and end of transmission of the test unit signal is greater than a predetermined value; if greater than a predetermined value, defining that link saturation has occurred; If not, defining that link saturation has not occurred.
[0038] In an alternative embodiment, the method further comprises: collecting saturation information of the signal transmission / reception link when transmitting each of the scan unit signals; The method may further include dynamically adjusting a value of the scan gain based on saturation information of the signal transmission / reception link.
[0039] When the signal transmission / reception link transmits the scan unit signal, the scan unit signal may be transmitted by adopting a fixed scan gain until the transmission of the scan unit signal in the frame signal is completed. The scan unit signal in a subsequent predetermined frame may also be transmitted by adopting a fixed scan gain. Similarly, real-time dynamic adjustment of the scan gain may be performed based on current statistical saturation information according to actual demand. However, the same unit signal performs signal transmission / reception operations by adopting a fixed gain.
[0040] In an alternative embodiment, the wireless electrical signal is a Frequency Modulation Continuous Wave (FMCW) signal.
[0041] The FMCW wave has a frame structure composed of multiple continuous unit signals (chirps). The link gain configuration is obtained by performing signal strength estimation using N test unit signals as preamble test signals. At the same time, the AGC design algorithm can be implemented using a digital circuit or a digital module such as a DSP. Compared with performing AGC by adding feedback to an RF (radio frequency) or analog link, the technical solution of the present embodiment can effectively improve the real-time nature of gain adjustment, and the circuit design is simple and the designed circuit has relatively high flexibility in actual AGC application. In addition, the link gain can be self-adaptively adjusted to be applicable to various application scenarios to implement cooperative work of reception and transmission.
[0042] In an alternative embodiment, the method further comprises: presetting a gain configuration table; The method may further include obtaining the (i+1)th preamble gain and / or the scan gain through a lookup table scheme based on the gain configuration table.
[0043] Here, each echo signal unit corresponds to one gain configuration table, and all echo signal units correspond to one gain configuration table.
[0044] In a second aspect, embodiments of the present application further provide a sensor.
[0045] A signal transmission / reception link used to transmit and receive wireless electrical signals; an ADC device used to perform digital signal processing on the received wireless electrical signal; and an automatic gain control device adapted to provide automatic gain control to said signal transmission and reception links in accordance with the method according to the first aspect of the present application.
[0046] In an alternative embodiment, the sensor may be a millimeter wave radar.
[0047] In an alternative embodiment, the automatic gain control device is a digital circuit module or digital circuit processor (Digital Signal Processor, DSP) within the sensor.
[0048] In a third aspect, an embodiment of the present application further provides a method of automatic gain control, which is applied to a wireless electrical device.
[0049] The method includes obtaining a strength of a signal received by the wireless electrical element; performing digital signal processing on the strength of the signal received by the wireless electrical element and obtaining a link gain configuration through a look-up table method; transmitting a signal and / or receiving a signal based on a gain configuration of the link.
[0050] In the above embodiment, a correspondence relationship between signal strength and link gain can be pre-stored, and after determining the strength of a received signal, a link gain configuration can be determined based on the signal strength and the correspondence relationship.
[0051] In this embodiment, assuming that there is no conflict, the automatic gain control method can be specifically implemented by referring to and combining the contents described in other embodiments of the present application. Also, the relevant steps of the automatic gain control in this embodiment can be embodied by combining and appropriately adjusting the relevant technical contents described in other embodiments along with actual applications.
[0052] In a fourth aspect, embodiments of the present application further provide a wireless electrical device.
[0053] This includes a signaling link used to receive signals, and It may further include an automatic gain control device adapted to obtain a gain configuration of the link based on the method of any embodiment according to the fourth aspect of the present application, wherein the automatic gain control device is further adapted to transmit a signal and / or receive a signal based on the gain configuration of the link.
[0054] The wireless electric element in the above embodiment can be a communication element, or a sensor element for target detection, such as a radar, which adjusts the gain of the signal receiving link of the element according to the saturation information of the received test signal and the digital circuit processing result, and makes the signal strength of the subsequently received communication, target detection, etc., fall within the threshold range of the receiving link. Furthermore, it allows the receiver to work in a suitable link gain environment, while making the corresponding model, circuit, etc. simple, flexible, and efficient.
[0055] In a fifth aspect, the embodiment of the present application further provides a sensor. The sensor may include an automatic gain control stage and a target detection stage when performing target detection in a predetermined time period (e.g., one or more frames). That is, in the automatic gain control stage, the sensor may self-adaptively adjust gain coefficients of the transmitting and receiving links. Through this, it is ensured that the echo signal received in the target detection stage is within a predetermined threshold range, and the two stages may be cycled in sequence during the entire target detection process.
[0056] For example, in the case of an FMCW radar sensor, the first part (e.g., 3 or 5 chirps) of one frame signal can be used as a preamble signal to perform automatic gain control. The remaining part of the chirp signal can be used as a scan signal to perform target detection. That is, the transmission stage of the preamble signal of each frame signal is as follows: Target Detection PhaseThe subsequent scanning signal transmission step can be regarded as an automatic gain control step. At the same time, for consecutive frame signals, the rear chirp signal in the current frame signal can also be used as the preamble signal of the next frame signal to perform automatic gain control. Also, the front chirp signal of each frame can be used as the scanning signal to perform target detection.
[0057] It should be noted that the automatic gain control step and the target detection step may be divided according to the function of transmitting and implementing a unit signal (e.g., a chirp signal), and may also be divided along the time domain. Specifically, they may be adaptively adjusted according to actual needs.
[0058] Specifically, the sensor comprises: a signal transmission link used to transmit wireless electrical signals; a signal receiving link used to receive the echo signal; a detector coupled to the signal receiving link and used to detect whether each element is in a saturated state when the signal receiving link receives the echo signal; The signal transmitting link, the signal receiving link, and the Examination and a controller coupled to the detector.
[0059] Here, in an automatic gain control stage, the controller is used to adjust the gain factor of the signal transmission link and / or the signal reception link based on the saturation state information output by the detector.
[0060] In an alternative embodiment, the signal receiving link includes a low noise amplifier LNA, a transimpedance amplifier TIA, a first variable gain amplifier VGA1, and a second variable gain amplifier VGA2, which are connected in series, to perform signal processing on the echo signal.
[0061] Here, the detector is connected to the output terminal of the transimpedance amplifier, the output terminal of the first variable gain amplifier, and / or the output terminal of the second variable gain amplifier, respectively, and thereby detects information on saturation states of the transimpedance amplifier, the first variable gain amplifier, and / or the second variable gain amplifier in real time when the signal processing is performed.
[0062] In an alternative embodiment, the detectors include a first detector, a second detector, and a third detector.
[0063] The first detector is connected to the output terminal of the transimpedance amplifier and is used to detect and output information of a first saturation state when the transimpedance amplifier performs the signal processing.
[0064] The second detector is connected to the output end of the first variable gain amplifier and is used to detect and output information of a second saturation state when the first variable gain amplifier performs the signal processing.
[0065] The third detector is connected to the output end of the second variable gain amplifier and is used to detect and output third saturation state information when the second variable gain amplifier performs the signal processing.
[0066] Here, the controller adjusts a gain coefficient of the signal transmitting link and / or the signal receiving link based on the first saturation state information, the second saturation state information, and the third saturation state information, thereby implementing automatic gain control.
[0067] In an alternative embodiment, the signal receiving link comprises: The second variable gain amplifier further includes an analog-to-digital converter, each connected to an output terminal of the second variable gain amplifier, for performing analog-to-digital conversion on the echo signal and outputting ADC data.
[0068] The controller is coupled to an output of the analog-to-digital converter.
[0069] Here, at the end of the automatic gain control step, the controller is used to obtain current ADC data output by the analog-to-digital converter and information of a current saturation state output by the detector, and further obtain a scan gain coefficient based on the current ADC data and the information of the current saturation state.
[0070] In a next target detection stage, the controller is further used to control the signal transmitting link and / or the signal receiving link to transmit and receive radioelectric signals based on the scanning gain factor.
[0071] Optionally, each said detector comprises: a sampling and comparison module used to perform sampling and power comparison on the received echo signals; a counting module used for counting the number of times the signal power value sampled in the sampling and comparing module is greater than a predetermined value; and a comparison module, which is used to compare the numerical value output by the counting module with a predetermined threshold value.
[0072] Here, during the automatic gain control stage, if the count value of the counting module is greater than the predetermined threshold during the transmission of each unit signal before the transmission of the unit signal is completed, the comparison module outputs saturation state information as being in a saturated state.
[0073] Optionally, in the automatic gain control step, the controller obtains an intermediate gain coefficient through a look-up table and / or calculation based on saturation state information output by the detector, and is used to adjust the gain coefficient of the signal transmitting link and / or the signal receiving link with the intermediate gain coefficient for transmitting and / or receiving a next unit signal. [Brief description of the drawings]
[0074] In the following, in order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings to be used in the description of the embodiments or the prior art are briefly introduced. The following accompanying drawings are only some of the embodiments described in the present application, and those skilled in the art in the technical field to which the present application belongs can obtain different drawings from these drawings without creative efforts.
[0075] [Figure 1] FIG. 2 is a flow diagram of an automatic gain control method provided in an embodiment of the present application. [Diagram 2] FIG. 2 is a block diagram of a test echo unit signal processing provided in an embodiment of the present application. [Diagram 3] FIG. 1 is a schematic diagram of an effective interval provided in an example of the present application. [Figure 4a] FIG. 2 is a structural diagram of a transmission signal provided in an embodiment of the present application. [Figure 4b] 4A to 4C are structural diagrams of different transmission signals provided in the embodiments of the present application. [Figure 5a] FIG. 1 is a diagram illustrating the principle of radar operation provided in an embodiment of the present application. [Figure 5b] FIG. 1 is a schematic diagram of a frequency modulated continuous wave provided in an embodiment of the present application. [Figure 6] FIG. 2 is a flow diagram of a different automatic gain control method provided in an embodiment of the present application. [Figure 7] FIG. 2 is a structural diagram of a sensor provided in an embodiment of the present application. [Figure 8] 1A to 1C are structural diagrams of different sensors provided in the embodiments of the present application. [Figure 9] FIG. 2 is a structural diagram of a wireless electrical element provided in an embodiment of the present application. MODE FOR CARRYING OUT THEINVENTION
[0076] In order to make the above objectives, features and advantages of the present application clearer and easier to understand, the following detailed description of the embodiments of the present application is given with reference to the accompanying drawings and specific implementation modes.
[0077] In order to facilitate understanding of the technical solutions provided in this application, the following will take radar as an example to describe in detail the relevant technical contents mentioned in this application. It should be noted that based on the techniques known to those skilled in the art, the contents described in this application can be extended to other wireless electrical elements such as sensors and communications.
[0078] In practical applications, the strength of an echo signal that a radar receiving link can withstand is limited. Therefore, in order to ensure the accuracy of radar target detection, it is necessary to control the strength of the echo signal within a certain threshold range. To solve the above problem, currently, a feedback circuit is mainly added to an RF / analog circuit, and the receiving gain and / or transmitting gain are adjusted through a signal fed back by the feedback circuit. However, such a method has a complex circuit design and is relatively less flexible. In addition, it may be relatively difficult to cooperate with the receiving / transmitting links.
[0079] To address the above problem, the embodiment of the present application provides an automatic gain control method, which can perform automatic gain adjustment through a digital circuit or a digital signal processor (DSP). This not only simplifies the circuit design, but also allows the digital signal to be modified and adjusted appropriately. Therefore, flexibility is effectively improved, and cooperation between the receiving link and the transmitting link can be realized.
[0080] To facilitate understanding of the automatic gain control method provided in the embodiments of the present application, the method will be described below with reference to the accompanying drawings.
[0081] Referring to Fig. 1, the figure is a flow diagram of an automatic gain control method provided in an embodiment of the present application. The method can be applied on a signal transmitting / receiving link of a sensor or other wireless electric element. A wireless electric signal transmitted in the signal transmitting / receiving link can include a plurality of signal frames. At least a part of the signal frames can include a plurality of consecutive unit signals. The plurality of unit signals can include N test unit signals and at least one scan unit signal. The method includes the following steps:
[0082] S101: Obtain saturation information of an i-th test unit signal and a corresponding i-th test echo unit signal.
[0083] In this embodiment, for each test unit signal in the transmission signal transmitted by the signal transmitting / receiving link, saturation information of the test echo unit signal corresponding to the test unit signal is obtained, where the test echo signal corresponding to the test unit signal means the signal received by the transmitting / receiving link after the test unit signal is reflected by an object. In an alternative embodiment, the saturation information of the test echo signal can be regarded as signal information of the test echo signal that exceeds a threshold range of the signal that can be received by the receiving link.
[0084] Also, the step of acquiring saturation information of the test echo unit signal corresponding to the i-th test unit signal may include a step of collecting statistics on the number of times link saturation occurs in the signal transmitting / receiving link within a time period from the start of transmission of the test unit signal to the end of transmission. Specifically, it is determined whether the number of times link saturation occurs in the signal transmitting / receiving link is greater than a predetermined value. If it is greater than the predetermined value, it may be determined that saturation has occurred in the signal transmitting / receiving link. If not, it may be determined that saturation has not occurred in the signal transmitting / receiving link.
[0085] Specifically, FIG. 2 is a structural diagram of a saturation detector set for a signal receiving link. In the embodiment, the signal receiving link may include a low noise amplifier LNA, a variable gain amplifier VGA1, a variable gain amplifier VGA2, and an echo signal sampling module ADC, which are connected in sequence. In addition, a filter as shown in the drawing may be provided between the low noise amplifier LNA and the variable gain amplifier VGA1, and between the variable gain amplifier VGA1 and the variable gain amplifier VGA2. At the same time, a transimpedance amplifier TIA (not shown) may be further provided between the low noise amplifier LNA and the filter. Correspondingly, the detector shown in the drawing may be connected to the output terminal of the low noise amplifier LNA, the transimpedance amplifier TIA, the variable gain amplifier VGA1, and / or the variable gain amplifier VGA2. Through this, it may be possible to detect whether the low noise amplifier LNA, the transimpedance amplifier TIA, the variable gain amplifier VGA1, and / or the variable gain amplifier VGA2 are in a saturated state when processing an echo signal in an automatic gain control stage.
[0086] In an alternative embodiment, one or more detectors can be used to detect saturation for each element in the signal receiving link. It is also possible to detect saturation for only some elements. For example, a first detector, a second detector, and a third detector can be provided to detect saturation (not shown) for the low noise amplifier (or transimpedance amplifier), the variable gain amplifier VGA1, and the variable gain amplifier VGA2, respectively. In addition, the saturation information data output from the three detectors can be combined to perform automatic gain control, and the ADC output data can be combined to obtain the scan gain coefficient for the subsequent stage.
[0087] Optionally, each detector may include elements such as a sampling and comparing module, a counter, and a comparator on a digital circuit board. That is, the sampling and comparing module may be used to sample the received echo signal. When the power of the sampling signal is outside a predetermined threshold range, it is determined that the corresponding element is saturated. The counter performs statistics on the number of saturation events output by the sampling and comparing module within the transmission stage of one test unit signal. The comparator compares the count value output by the counter with a predetermined threshold, and determines that the corresponding element is saturated only if the count value is greater than the predetermined threshold.
[0088] In an alternative embodiment, as shown in FIG. 2, a detector is installed in the signal transmission / reception link to perform statistics on the number of saturations within a predetermined time period. For example, a saturation information detector is operated within a time period from the start of transmission of a test unit signal to the end of transmission, and sampling is performed at a predetermined position on the link after the echo signal received by the signal reception channel passes through the low noise amplifier, and it is determined whether the received power of the echo signal at each point is outside a predetermined power threshold range. If it is outside the predetermined power threshold, the counter is incremented by 1. Then, when it passes through the variable gain amplifier VGA1 and the variable gain amplifier VGA2, the sampling and determination are performed respectively. Finally, the counter value is compared with a predetermined threshold. If it is equal to or greater than the predetermined threshold, it is determined that the received test echo signal is saturated, and if not, it is not saturated.
[0089] In an alternative embodiment, the frame signals of N test unit signals and at least one scan unit signal can be obtained through the following manner.
[0090] One is to add N test unit signals in front of the M scan unit signals based on using M scan unit signals in one signal frame and use them as preamble signals. That is, at this time, one frame signal includes N+M unit signals. N test unit signals and M scan unit signals are used by one signal frame to perform continuous transmission. Here, the category of the added N test unit signals may be the same as the category of the M scan unit signals, but may not be the same. For example, various parameters of the added test unit signals may be maintained to match various parameters of the scan unit signals. The values of M and N may be dynamically distributed according to actual needs to implement flexible real-time adjustment. This embodiment is not limited thereto. Considering other radar application scenarios, M and N may satisfy the relationship 2≦N≦(M+N) / 2, where M and N are integers.
[0091] One is to divide the multiple unit signals in the signal frame into N test unit signals and at least one scan unit signal according to the number of unit signals. For example, a signal frame including X unit signals is obtained. Among the X unit signals, X1 unit signals located at the front are defined as test unit signals, and the remaining X2 unit signals are defined as scan unit signals. In addition, based on the consideration of the actual application scenario, X1 and X2 can be made to satisfy the relationship formulas 2≦X1≦X / 2, 2≦X2, where X, X1, and X2 are all integers.
[0092] The other is to divide the unit signals in the signal frame into test unit signals and scan unit signals based on the length of the period of the signal frame. For example, the period of the signal frame is T. Within the period T, each unit signal located within a first time interval T1 is defined as a test unit signal. Each unit signal located within the remaining time interval T2 is defined as a scan unit signal to form a transmission signal. T=T1+T2, 2≦T1≦T / 2, and each time interval includes at least two unit signals. In other words, the signal frame is divided into different time intervals to determine the test unit signals and scan unit signals. For example, each unit signal in a time interval closer to the front can be determined as a test unit signal, and each unit signal in a time interval closer to the rear can be determined as a scan unit signal.
[0093] In this embodiment, the test unit signal for gain estimation is generally not used for detecting target objects, and the test unit signal for gain estimation and the scan unit signal for detecting target objects have the same or similar shapes, so that the test unit signal for gain estimation reflects the strength of the scan unit signal for tracking target objects on the receiving link relatively realistically.
[0094] According to the frame signal including the test unit signal and the scan unit signal obtained in the above embodiment, it is determined whether there is saturation information in the i-th test echo unit signal, specifically as follows:
[0095] The controller can determine whether saturation information exists in the i-th test echo unit signal through the following method: The controller can obtain a plurality of sampling points by sampling the i-th test echo unit signal a plurality of times within a valid time; It is determined whether link saturation occurs in each sampling point; If link saturation occurs in all of a predetermined number of sampling points or the number of sampling points where link saturation occurs is greater than a predetermined threshold, it is determined that saturation information exists in the i-th test echo unit signal; Specifically, it is determined whether the power of the sampling point exceeds a power threshold; If it exceeds, it is determined that link saturation occurs in the sampling point, and the number of sampling points where link saturation occurs is counted; If the number of sampling points where link saturation occurs satisfies a predetermined condition, it is determined that saturation occurs in the i-th test echo unit signal.
[0096] Also, when i=1, that is, when transmitting a first test unit signal, the signal transmitting / receiving link can transmit the first test unit signal using an initial gain, and the signal receiving link can receive a first test echo unit signal corresponding to the first test unit signal using the initial gain, where the initial gain includes an initial transmitting gain and an initial receiving gain. The initial gain can be pre-built into the system based on application scenarios, data analysis, etc.
[0097] S102: Determine the (i+1)th preamble gain based on saturation information of at least one test echo unit signal among the previous i test echo unit signals.
[0098] In this embodiment, the controller obtains saturation information of the test echo signal corresponding to the currently transmitted test unit signal, and then determines the i+1th preamble gain based on the saturation information of at least one test echo unit signal among all the obtained test echo unit signals.
[0099] Here, the controller determines the (i+1)th preamble gain based on saturation information of at least one test echo unit signal among the previous i test echo unit signals, and can obtain the gain through the following manner.
[0100] One is that the controller selects some test echo unit signals from the previous i test echo unit signals acquired by the controller, and determines the (i+1)th preamble gain through calculation and / or lookup table based on saturation information of the some test echo unit signals. Alternatively, the controller queries based on saturation information of some test echo unit signals to acquire the preamble gain corresponding to the saturation information. That is, the controller stores a correspondence table between saturation information and preamble gain in advance. When acquiring saturation information of the previous i test echo unit signals, the controller queries the corresponding preamble gain based on saturation information of some test echo unit signals and the correspondence table.
[0101] The other is that the controller determines the i+1th preamble gain through calculation and / or lookup table based on the saturation information of all test echo unit signals. That is, when the controller obtains the saturation information of the i-th test echo unit signal, it determines the i+1th preamble gain based on the saturation information of each previously and currently obtained test echo unit signal. Specifically, the controller can calculate and obtain the i+1th preamble gain based on the saturation information of all obtained test echo unit signals. Alternatively, the controller determines the i+1th preamble gain through the lookup table based on the saturation information of all obtained test echo unit signals.
[0102] In some embodiments, a gain configuration table is prestored in the controller, and the i+1th preamble gain is obtained through a lookup table manner according to the gain configuration table. Specifically, each test echo unit signal can correspond to a gain configuration table, or the test echo unit signals can correspond to the same gain configuration table.
[0103] In a specific implementation, the controller can calculate and obtain average saturation information based on the saturation information of all test echo unit signals. Furthermore, the controller can obtain the i+1th preamble gain through calculation or lookup table based on the average saturation information. Of course, the controller can also determine the maximum saturation information or the minimum saturation information from the saturation information of all test echo unit signals. Furthermore, the controller can calculate and obtain the i+1th preamble gain based on the maximum saturation information or the minimum saturation information. Or the controller obtains the i+1th preamble gain through the lookup table based on the maximum saturation information or the minimum saturation information. Here, the controller calculating and obtaining the preamble gain based on the saturation information of the test echo unit signals means that the controller can determine the preamble gain based on the saturation information of the test echo unit signals and the maximum value of the test echo unit signals that can be received in the signal transmission / reception link.
[0104] S103: The signal transmitting / receiving link transmits the i+1th test unit signal and / or receives the i+1th test echo unit signal based on the i+1th preamble gain, and cycles through i=N-1 in order.
[0105] In this embodiment, the i+1th test unit signal is transmitted and / or the i+1th echo unit signal is received using the i+1th preamble gain. That is, the preamble gain determined at the current time is used to transmit the next test unit signal and / or receive the next test echo unit signal. S102 to S103 are repeatedly performed until the Nth test unit signal is transmitted and / or the Nth test echo unit signal is received based on the N-1th preamble gain.
[0106] In practical application, when adjusting the gains of signal transmitting and receiving links, only the gain of the transmitting link can be adjusted, or only the gain of the receiving link can be adjusted. In addition, the transmitting gain and the receiving gain can be adjusted simultaneously, or the gain of the receiving link can be adjusted first and then the gain of the transmitting link can be adjusted. When adjusting the two gains separately, the priority of the receiving gain can be adjusted to be higher than the priority of the transmitting gain according to actual needs.
[0107] Alternatively, when the gain of the transmitting link is adjusted and the gain of the receiving link is also adjusted, the i+1th test echo unit signal can be received using the i+1th preamble gain, and sequentially cycled up to i=N1. The N1+2th test unit signal is transmitted using the N1+1th preamble gain, and sequentially cycled up to i=N-1 to obtain saturation information of the Nth test echo unit signal. That is, the preamble gain adjusted using the saturation information of the previous N1 test echo unit signals is the gain of the receiving link. The test echo unit signal is received using the gain of the receiving link. The preamble gain adjusted using the saturation information of the N1+1th to N-1th test echo unit signals is the gain of the transmitting link. The next test unit signal is transmitted using the gain of the transmitting link. Here, N1 is an integer and 2 <N1<N-1である。
[0108] S104: Obtain saturation information of the Nth test echo unit signal and the current internal sensor analog-to-digital converter ADC output signal power.
[0109] Specifically, after transmitting the Nth test unit signal using the N-1th preamble gain, obtain saturation information of the Nth test echo unit signal corresponding to the Nth test unit signal, and simultaneously obtain the output signal power of the ADC for the Nth test echo unit signal at the current time.
[0110] S105: Determine a scan gain based on the saturation information of the Nth test echo unit signal and the ADC output signal power.
[0111] Specifically, first, it is determined whether link saturation occurs in the signal transmitting / receiving link based on the saturation information of the Nth test echo unit signal. If saturation occurs in the signal transmitting / receiving link, the scan gain can be set to a default value. That is, if saturation still occurs in the signal transmitting / receiving link, it means that the strength of the test echo unit signal received in the current receiving link still cannot be used to accurately detect the target object. Therefore, the scan gain still needs to be adjusted, and the transmitting link and / or the receiving link needs to be directly set to a default value. Here, the default value can be the maximum gain value or the minimum gain value of the signal transmitting / receiving link.
[0112] In some embodiments, to ensure processing accuracy, a right shift or left shift operation may be performed on the signal output from the analog-to-digital converter ADC. Then, a scan gain is determined according to the signal output power of the left / right shift operation. For example, if the scan gain of the signal transmission / reception link has been adjusted to the maximum gain value, but the strength of the received echo unit signal is still relatively small, a left shift operation may be performed on the signal output from the analog-to-digital converter. This increases the output signal power to ensure processing accuracy.
[0113] Also, if it is determined based on the saturation information of the Nth test echo unit signal that saturation has not occurred in the signal transmission / reception link, the scan gain can be determined based on the ADC output signal power. Specifically, when the controller acquires the output signal power of the Nth test echo unit signal, the scan gain can be calculated based on the thresholds (maximum and minimum values) of the signal that can be received in the signal transmission / reception link and the output signal power. Thus, the accuracy of detection is ensured by ensuring that the strength of the received echo unit signal is not greater than the maximum reception threshold and not less than the minimum reception threshold. In addition, when the controller acquires the output signal power of the Nth test echo unit signal, the controller can acquire the scan gain through a look up table (LUT) method based on the output signal power, and transmit the scan unit signal or receive the scan echo unit signal using the scan gain. Thus, the accuracy of subsequent detection is ensured by ensuring that the strength of the received scan echo unit signal is not greater than the maximum reception threshold and not less than the minimum reception threshold.
[0114] In some embodiments, a gain configuration table is prestored in the controller, and the scan gain is obtained through a look-up table manner based on the gain configuration table. Therefore, the efficiency of the system operation can be further improved. Specifically, each test echo unit signal can correspond to one gain configuration table. Or, the test echo unit signals can correspond to the same gain configuration table. In some embodiments, the ADC output signal power in the sensor can be obtained through the following manner.
[0115] One is to determine the ADC output signal power by calculating the average value of the squares of each value in the Nth test echo unit signal output from the ADC. In other words, the Nth test echo unit signal is sampled to obtain an amplitude value corresponding to each sampling point. The squares of the amplitude values of each sampling point are added together and divided by the sampling point to obtain an average value. The average value is used as the ADC output signal power.
[0116] The other is to use absolute values in a predetermined order within the valid region of the Nth test echo unit signal output from the ADC as the ADC output signal power. In other words, for the acquired Nth test echo unit signal, the valid region of the Nth test echo unit signal is first determined. For example, as shown in FIG. 3, when the rising edge of the chirp signal is valid, a part or all of the region starting from the rising edge to the falling edge of the Nth test echo unit signal is determined as the valid region. An absolute value corresponding to a specific point in the valid region is determined as the ADC output signal power. Here, the absolute values in the predetermined order may be the largest absolute value or the next largest absolute value. That is, the square of the largest absolute value in the valid region is used as the ADC output signal power. Or, the square of the second largest absolute value in the valid region is used as the ADC output signal power.
[0117] S106: Transmit each scan unit signal using a scan gain and / or receive a scan echo unit signal corresponding to each scan unit signal.
[0118] In this embodiment, a scan gain is determined based on the saturation information of the Nth echo unit signal and the ADC output signal power. Then, each subsequent scan unit signal is transmitted using the scan gain, and / or a scan echo unit signal corresponding to each scan unit signal is received using the scan gain. Here, the scan gain may include a transmit gain and / or a receive gain. If the scan gain includes only a transmit gain, the transmit link unit transmits each scan unit signal using the transmit gain. If the scan gain includes only a receive gain, the receive link unit receives a scan echo unit signal corresponding to each scan unit signal using the receive gain. If the scan gain includes both a transmit gain and a receive gain, the transmit link unit transmits each scan unit signal using the transmit gain. The receive link unit receives an echo unit signal corresponding to each scan unit signal using the receive gain.
[0119] In some optional embodiments, when each scan unit signal is transmitted, saturation information of each signal transmission / reception link can be statistically collected. This facilitates dynamic adjustment of the scan gain value based on the saturation information of the signal transmission / reception link, and enables dynamic adjustment of the strength of the scan echo unit signal received by the signal transmission / reception link. This ensures the accuracy of the positioning of the target object. Here, for the implementation of acquiring saturation information of each signal transmission / reception link, refer to the related description of acquiring saturation information of the test echo unit signal.
[0120] In some embodiments, when the sensor includes at least two signal transmitting / receiving links, for any of the signal transmitting / receiving links, a scan gain corresponding to each of the signal transmitting / receiving links is determined. When transmitting a scan unit signal or receiving a scan echo unit signal, the scan unit signal of the signal transmitting / receiving link is transmitted using the scan gain corresponding to the signal transmitting / receiving link, and / or a scan echo unit signal corresponding to the scan unit signal of the signal transmitting / receiving link is received. In other words, each transmitting / receiving link can independently determine a scan gain corresponding thereto. When the transmitting / receiving link transmits a scan unit signal or receives a scan echo unit signal, the transmitting / receiving link transmits a scan unit signal using the scan gain corresponding thereto, or receives a scan echo unit signal using the scan gain corresponding thereto.
[0121] In some embodiments, when the sensor includes at least two signal transmission / reception links and performs a scenario such as angle measurement using the sensor, the scan gains corresponding to each transmission / reception link are the same. In other words, when the sensor is used to perform not only distance measurement but also angle measurement, each transmission / reception link transmits each scan unit signal and / or receives an echo unit signal corresponding to the scan unit signal using a target scan gain. Here, angle measurement means using the sensor to measure the deflection angle of the target object with respect to the sensor. Here, the target gain can be determined through the scan gain corresponding to each signal transmission / reception link. For example, the scan gain with the smallest value among the scan gains corresponding to each signal transmission / reception link is determined as the target scan gain. This ensures that the strength of the scan echo unit signal received by each signal transmission / reception link does not exceed the reception threshold.
[0122] In this embodiment, for a sensor including at least two signal transmitting / receiving links, each signal transmitting / receiving link performs AGC adjustment independently of each other. Thus, the scan gains between different signal transmitting / receiving links may be different. That is, each signal transmitting / receiving link may adopt the scan gain obtained after each AGC adjustment to perform a target detection operation that does not require angle measurement. If angle measurement is required, each signal transmitting / receiving link must first unify the scan gain before performing a subsequent target detection operation. That is, each signal transmitting / receiving link must perform a subsequent target detection operation based on the same scan gain (generally the smallest scan gain among the scan gains of each signal transmitting / receiving link). This prevents a system phase difference from being introduced and affecting the results of subsequent angle measurement.
[0123] Specifically, a final scan gain can be selected before the end of transmission of the last test unit signal of each signal transmission / reception link. Before the end of transmission of each test unit signal for link determination, the gains between each signal transmission / reception link can be kept consistent and AGC operation can be performed.
[0124] In some embodiments, for any signal frame, N test unit signals are located at the beginning of the signal frame to form a preamble unit signal, where the signal transmission / reception link transmits each scan unit signal in the current frame signal according to a scan gain, and / or receives a scan echo unit signal corresponding to each scan unit signal in the current frame signal. As shown in FIG. 4a, the signal frame includes N test unit signals and M scan unit signals, where the N test unit signals are used as a preamble signal of the current frame before being located in the M scan unit signals, and the N+M unit signals are a concatenated signal.
[0125] In some embodiments, for any signal frame, the N test unit signals are located at the tail of the signal frame. The signal transmitting / receiving link transmits each scan unit signal in the next frame signal and / or receives a scan echo unit signal corresponding to each scan unit signal in the next frame signal based on the scan gain. As shown in FIG. 4b, signal frame 1 (i.e., transmission signal 1) includes M scan unit signals and N test unit signals. Here, the N test unit signals are located at the tail of the M scan unit signals and are used as preamble signals of the next frame. In this case, the scan gain determined based on the Nth test echo unit signal is used to guide the signal transmitting / receiving link to receive a scan echo unit signal corresponding to a scan unit signal in signal frame 2 (i.e., transmission signal 2) and / or transmit a scan unit signal in signal frame 2.
[0126] It can be seen that the signal strength estimation can be performed using all test unit signals regardless of the position of the test unit signals, and the gain on the transmission and reception links can be adjusted, thereby ensuring that the strength of the received test echo signal is within a predetermined range, thereby ensuring the accuracy of target detection.
[0127] As can be seen, in this embodiment, saturation information of a test echo signal corresponding to a currently transmitted test unit signal is obtained, and a preamble gain is determined based on the saturation information of at least one received test echo signal. Then, a next test unit signal is transmitted using the preamble gain, and / or a test echo unit signal corresponding to the next test unit signal is received using the preamble gain. When a next test unit signal is transmitted, saturation information of a test echo signal corresponding to the next test unit signal is obtained. Also, a preamble gain is determined using the saturation information. A unit signal at a next time is transmitted using the preamble gain, and / or a test echo unit signal corresponding to the next time is received. The sequential loop is performed up to the N-1th test unit signal. When an Nth test unit signal is transmitted, saturation information of a test echo signal corresponding to the Nth test unit signal and an output signal power for the Nth test echo unit signal of the ADC are obtained. Also, a scan gain is determined based on the saturation information and the output signal power, and a scan unit signal is transmitted using the scan gain, and / or a scan echo unit signal corresponding to the scan unit signal is received. As can be seen, through the method provided in the embodiment of the present application, the gain of the transmitting and receiving links can be determined in real time to adjust the transmission power of the transmitting signal and / or the receiving power of the echo signal, thereby ensuring that the strength of the echo signal is within a predetermined receiving range, thereby improving the accuracy of target object detection.
[0128] In addition, in the above embodiment, the link gain for subsequently transmitting and / or receiving the detection signal is adjusted by using the saturation information of the test echo unit signal and the ADC output signal power of the sensor. Through this, the strength of the subsequently received signal is guaranteed to be within a predetermined range. Thus, it is possible to effectively prevent signal distortion and improve the accuracy of target information detection. At the same time, it is possible to effectively prevent the introduction of relatively large quantization noise, thereby preventing the possibility of missed detection and false detection. Other operation methods in this embodiment can be performed in the digital part of the device. Therefore, it is possible to effectively reduce the complexity of the circuit design and improve the flexibility of the automatic gain control. In addition, it is possible to embody the cooperation of the reception and transmission of the sensor.
[0129] The embodiments of the present application may be applied to a Frequency Modulated Continuous Wave (FMCW) radar.
[0130] In the structural diagram of the radar system shown in FIG. 5a, the radar system may include a transmitting antenna, a receiving antenna, a power splitter, a power amplifier, and an RF front end configured as a frequency mixer. The rear end processing part may include a triangular wave generator, a VCO, an AD sampling, a signal processing module, and the like. Specifically, the triangular wave generator provides a necessary modulation signal. Through the control of a voltage-controlled oscillator (VCO), the frequency is controlled to generate a continuous high-frequency continuous wave that changes in a triangular shape over time. Through the power splitter, a portion of the signal is amplified through the power amplifier and then emitted through the transmitting antenna, and the other portion can be used as a local oscillator signal for the frequency mixer. When the transmitted radio wave is reflected by a target object to form an echo signal and is received by the receiving antenna, the received echo signal may have parameter changes such as frequency and phase compared to the local oscillator signal. That is, after passing through a frequency mixer and lowering the frequency based on the local oscillator signal, a beat signal is output, and then the beat signal is filtered, amplified, and AD sampled, and digital signal processing such as 2D-FFT (2 Dimensional Fast Fourier Transform), CFAR (Constant False-Alarm Rate), DOA (Direction Of Arrival), etc. is performed. Through this, information such as the distance, speed, and angle of the target relative to the sensor is obtained, and target detection is realized.
[0131] Here, the frequency modulated continuous wave (FMCW) is composed of a plurality of chirp signals. Through the relevant content of the automatic gain control method of the present application, the link gain configuration can be obtained by processing the strength of the echo chirp signal based on a digital signal processing method. In addition, the strength of the transmitted chirp signal and / or the strength of the echo chirp signal can be adaptively adjusted based on the link gain configuration. This ensures that the strength of the received echo chirp signal is within a predetermined reception range, thereby ensuring the accuracy of target detection.
[0132] In practical applications, a certain number of chirp signals in the frequency modulated continuous wave frame signal can be used to perform signal strength estimation. Also, the gain corresponding to the transmission link / reception link can be determined. In the frequency modulated continuous wave waveform diagram shown in FIG. 5b, the chirp signal on the left side of the dotted line is used for signal strength estimation. That is, automatic gain control (AGC) is performed. The chirp signal on the right side of the dotted line is used for target object detection. It should be noted that the linear frequency modulated continuous wave waveform in FIG. 5b is only one example. The specific waveform expression form can be determined according to the actual situation.
[0133] The chirp signal for signal strength estimation is generally not used for target object detection, and the shape of the chirp signal for signal strength estimation is the same or similar to that of the chirp signal for target object detection, otherwise the chirp signal for signal strength estimation cannot relatively realistically reflect the strength of the chirp signal for target object estimation on the receiving link.
[0134] In addition, the embodiment of the present application further provides an automatic gain control method. Referring to Figure 6, the figure is a flow chart of the automatic gain control method provided in the embodiment of the present application. As shown in Figure 6, the method can include the following steps:
[0135] S601: The strength of a signal received by a wireless electrical element is obtained.
[0136] S602: The wireless electrical element performs digital signal processing on the strength of the signal received, and obtains the link gain configuration through a look-up table method.
[0137] In this embodiment, a signal received by a wireless electrical element is subjected to digital signal processing, such as filtering noise in the signal, and the processed signal is obtained, and a strength of the processed signal is obtained, and a link gain configuration is obtained based on the signal strength through a look-up table method.
[0138] S603: Transmit a signal and / or receive a signal based on a link gain configuration.
[0139] After determining the link gain configuration, the transmit signal or receive signal of the link gain configuration can be used to ensure that the strength of the echo signal received by the wireless electrical element meets a predetermined condition, and the accuracy of the target object detection can be confirmed.
[0140] Based on the embodiment of the method, the embodiment of the present application further provides a sensor. Referring to FIG. 7, the sensor 700 includes a signal transmission and reception link 701, an analog-to-digital converter 702, and an automatic gain control device. 703 and
[0141] Here, the signal transmission / reception link 701 is used to transmit and receive wireless electrical signals. For a specific implementation of the signal transmission / reception link 701, please refer to the related description in the method illustrated in FIG.
[0142] The analog-to-digital converter 702 is used to perform digital signal processing on the received wireless electrical signal. Specifically, the digital signal processing is performed on the received test echo unit signal or scan echo unit signal. For a specific implementation of the analog-to-digital converter 702, please refer to the related description in the method illustrated in FIG. 1.
[0143] The automatic gain control device 703 is used to control the gain of a signal transmission / reception link in the method according to the method embodiment of the present application (e.g., FIG. 1 and FIG. 6). For a specific implementation of the automatic gain control device 703, please refer to the description related to the method. Here, the automatic gain control The device 703 may be a digital circuit module or a digital circuit processor in the sensor, where the automatic gain control device 703 is a digital circuit module or a digital circuit processor in the sensor.
[0144] Here, the sensor may be a millimeter wave radar. The radar may include a receiving antenna 801, a processor 802, and a transmitting antenna 803 as shown in FIG. 8. Here, the processor 802 is coupled to the receiving antenna 801 and the transmitting antenna 803, respectively.
[0145] The receiving antenna 801 is used to receive a test echo unit signal or a scanning echo unit signal.
[0146] A processor 802 is used to obtain the strength of the test echo unit signal and perform digital signal processing on the strength of the test echo unit signal to obtain a link gain.
[0147] The transmitting antenna 803 is used to transmit the subsequent transmitting test unit signal or scan unit signal with the link gain.
[0148] The receive antenna 801 is further used to receive a test echo unit signal corresponding to the subsequently transmitted test unit signal or a scan echo unit signal corresponding to the scan unit signal using the link gain configuration.
[0149] In some embodiments, the radar may further include an analog-to-digital converter 804. The analog-to-digital converter 804 is located between the receiving antenna 801 and the processor 802. The analog-to-digital converter 804 is used to perform analog-to-digital conversion on the test echo unit signal.
[0150] In this embodiment, the analog-digital converter performs analog-digital conversion on the test echo unit signal received by the receiving antenna, and outputs the converted test echo unit signal.The processor obtains the strength of the converted test echo unit signal.That is, through the analog-digital conversion operation, the strength of the digital test echo unit signal is estimated, and the calculation complexity is simplified.
[0151] In some embodiments, the radar further includes an amplifier 805. The amplifier may be located between the receiving antenna 801 and the processor 802. Specifically, the amplifier 805 is located between the receiving antenna 801 and the analog-to-digital converter 804. The amplifier 805 is used to amplify the test echo unit signal.
[0152] In some embodiments, the radar further includes a detector 806. The detector 806 is used to determine whether saturation occurs in the test echo unit signal based on the signal power of each sampling point in the echo signal.
[0153] Specifically, the detector 806 includes a comparator and a counter, where the comparator is used to compare the signal power of each sampling point with a predetermined power threshold, and the counter is used to count the signal power to ensure that the signal power is not less than the number of sampling points of the predetermined power threshold.
[0154] Here, the specific realization of each element is as described above. Law Please refer to the related description, and this embodiment will not be described repeatedly here.
[0155] An embodiment of the present application further provides a wireless electrical device. As shown in FIG. 9, the wireless electrical device 900 includes a signaling link 901 and an automatic gain A controller 902 may be included.
[0156] Here, signaling link 901 is used to transmit the received signal.
[0157] automatic gain The controller 902 is used to obtain a link gain configuration and transmit and / or receive signals based on the link gain configuration.
[0158] Here, signal link 901 and automatic gain For a specific implementation of the control device 902, please refer to the relevant description of the method embodiment.
[0159] It should be noted that each embodiment in this specification has been described in a progressive manner. All the matters described in each embodiment are the differences between different embodiments, and the same or similar parts between each embodiment can be referred to each other. In the case of a system or device disclosed in an embodiment, this corresponds to the method disclosed in the embodiment, so the description is relatively simple. The relevant parts can be referred to the description of the method part.
[0160] It should be noted that in this application, "at least one (item)" means one or more, and "multiple" means two or more. "And / or" is used to describe the related relationship of related objects, and means that there are three relationships. For example, "A and / or B" can indicate three cases, such as when only A exists, when only B exists, and when A and B exist simultaneously. Here, A and B can be singular or plural. The symbol " / " generally means that the related objects before and after are in a kind of "or" relationship. "At least one of the following items" or similar expressions means any combination of these items. Here, any combination of single items or multiple items is included. For example, at least one item of a, b, or c can indicate a, b, c, "a and b", "a and c", "b and c", or "a and b and c". Here, a, b, and c may be one or more.
[0161] It should be noted that in this application, relational terms such as first and second are merely used to distinguish one entity or operation from another entity or operation. This does not necessarily require or imply that any such actual relationship or sequence exists between these entities or operations. It should also be noted that the terms "comprise", "include", or other variations are intended to be inclusive, so that a process, method, article, or device that includes a set of elements not only includes those elements, but also includes different elements not expressly listed, or includes elements inherent in the process, method, article, or device. In the absence of further limitations, an element qualified by the phrase "comprises a ..." does not exclude the presence of different identical elements in the process, method, article, or device that includes the element.
[0162] The steps of the methods or algorithms described in the embodiments disclosed herein may be implemented directly using hardware, software modules executed by a processor, or a combination of the two. The software modules may be located in a random access memory (RAM), a built-in memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable and programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0163] The above description of the disclosed embodiments will enable one skilled in the art to embody or use the present application. Various modifications to these embodiments can be readily made by one skilled in the art. The general principles defined herein may be embodied in different embodiments without departing from the spirit or scope of the present application. Thus, the present application is not limited to the embodiments shown in the drawings. The present application is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. In the automatic gain control method, The method is applied to a signal transmission / reception link of a sensor, and in a wireless electric signal transmitted in the signal transmission / reception link, a signal frame includes a plurality of consecutive unit signals, the plurality of unit signals including N test unit signals and at least one scan unit signal for detecting a target object, and the method includes: obtaining saturation information of an ith test echo unit signal, the ith test echo unit signal being an echo signal corresponding to the ith test unit signal, where i and N are positive integers, i≦N−1, 2≦N; determining an i+1-th preamble gain for a strength of the i+1-th test echo unit signal received corresponding to the i+1-th test unit signal transmitted based on saturation information of at least one test echo unit signal among the previous i test echo unit signals; the signal transmission / reception link transmitting an i+1th test unit signal and / or receiving an i+1th test echo unit signal based on the i+1th preamble gain; cycling through i=N−1; obtaining saturation information of the Nth test echo unit signal and an output signal power of an ADC (analog-to-digital converter) in the sensor at this time; determining a scan gain for the strength of a scan echo unit signal received corresponding to a transmitted scan unit signal based on the saturation information of the Nth test echo unit signal and the output signal power of the ADC, so that the strength of a subsequent received signal is within a predetermined range; transmitting each of the scan unit signals using the scan gain and / or receiving a scan echo unit signal corresponding to each of the scan unit signals; determining a scan gain based on saturation information of the Nth test echo unit signal and the output signal power of the ADC, determining whether link saturation occurs in the signal transmission / reception link based on saturation information of the Nth test echo unit signal; setting the scan gain to a default value if the link saturation occurs; otherwise, determining the value of the scan gain based on the output signal power of the ADC.
2. 2. The method of claim 1, wherein the default value is a minimum or maximum gain value of the signaling transmit / receive link.
3. 3. The method of claim 2, further comprising: performing a left shift operation on the output signal of the ADC if the input signal of the ADC is smaller than a predetermined value when the default value is the maximum value of the signal transmission / reception link.
4. determining the value of the scan gain based on the output signal power of the ADC, 2. The method of claim 1, further comprising determining the value of the scan gain through at least one of a look-up table and a calculation based on an output signal power of the ADC.
5. The step of acquiring an output signal power of an ADC (analog-to-digital converter) in the sensor includes: determining an output signal power of the ADC by calculating the average squared value of each value in the Nth echo unit signal at the output of the ADC; or 2. The method of claim 1, further comprising the step of using the absolute value of a predetermined sequence within a valid range of the Nth echo unit signal at the output of the ADC as the output signal power of the ADC.
6. 6. The method according to claim 5, wherein the output signal power of the ADC is the largest or the next largest absolute value in the valid range of the Nth echo unit signal at the output of the ADC.
7. 2. The method of claim 1, further comprising the steps of transmitting a first test unit signal using an initial gain and receiving a first test echo unit signal corresponding to the first test unit signal.
8. The sensor includes at least two signal transmitting and receiving links, and the method further comprises: For any signal transmission / reception link, determining a scanning gain corresponding to each of the signal transmission / reception links; wherein each of the signal transmitting and receiving links transmits and / or receives signals based on a respective corresponding scanning gain; or 2. The method of claim 1, wherein each of the signal transmitting and receiving links at least one of transmits and receives signals based on a minimum scanning gain.
9. Dividing the plurality of unit signals in a signal frame into the N test unit signals and the at least one scan unit signal based on the number of unit signals or the length of a period of the signal frame; or augmenting the N test unit signals based on an original signal frame to form a signal frame including the N test unit signals and the at least one scan unit signal; 2. The method of claim 1, wherein the N test unit signals are consecutively distributed in the signal frame.
10. For any signal frame, the N test unit signals are located at the beginning of the signal frame to form a preamble unit signal; 2. The method of claim 1, wherein the signal transmission / reception link transmits each of the scan unit signals in a current frame signal and / or receives a scan echo unit signal corresponding to each of the scan unit signals in a current frame signal based on the scan gain.
11. For any signal frame, the N test unit signals are located at the tail of the signal frame; 2. The method of claim 1, wherein the signal transmission / reception link transmits each of the scan unit signals in a next frame signal and / or receives a scan echo unit signal corresponding to each of the scan unit signals in a next frame signal based on the scan gain.
12. The step of obtaining saturation information of a test echo unit signal corresponding to any one of the test unit signals includes:
2. The method according to claim 1, further comprising the step of: collecting statistics on the number of times that link saturation occurs in the signal transmission / reception link within a time interval between the start and end of transmission of the test unit signal.
13. determining whether a number of times link saturation occurs in the signal transmission / reception link within a time period between a start and end of transmission of the test unit signal is greater than a predetermined value; if greater than the predetermined value, determining link saturation; 13. The method of claim 12, further comprising: if not, determining that the link is unsaturated.
14. collecting saturation information of the signal transmission / reception link when transmitting each of the scan unit signals; 2. The method of claim 1, further comprising: dynamically adjusting the value of the scanning gain based on saturation information of the signaling transmit / receive links.
15. 2. The method of claim 1, wherein the wireless electrical signal is a frequency modulated continuous wave signal.
16. presetting a gain configuration table; obtaining at least one of the (i+1)th preamble gain and the scan gain through a lookup table based on the gain configuration table; 16. The method according to claim 1, wherein each test echo unit signal corresponds to a respective gain configuration table or the test echo unit signals correspond to the same gain configuration table.
17. In the sensor, a signal transmission / reception link used for transmitting and receiving wireless electrical signals; an analog-to-digital converter ADC used to perform digital signal processing on the received radio electrical signal; and an automatic gain control device adapted to carry out a method according to any one of claims 1 to 15 to provide automatic gain control for said signal transmission and reception links.
18. The method includes presetting a gain configuration table; obtaining at least one of the (i+1)th preamble gain and the scan gain through a lookup table based on the gain configuration table; 18. The sensor according to claim 17, wherein each test echo unit signal corresponds to a respective one gain configuration table or the test echo unit signals correspond to the same gain configuration table.
19. 20. The sensor according to claim 17, wherein the sensor is a millimeter wave radar.
20. 18. The sensor of claim 17, wherein the automatic gain control device is a digital circuit module or a digital circuit processor within the sensor.
Citation Information
Patent Citations
Receiving equipment
JP1991031783A
Gain control device and method for millimeter-wave radar
JP2000147087A
Received-signal amplifying device for FM-CW radar
JP2001228240A
Observing method by ocean radar
JP2002082165A
FM-CW radar apparatus shared for transmission and reception
JP2004294092A
