Ultrasonic radar measurement method, device, vehicle-mounted terminal and readable storage medium
By dividing the wave transmission combination of ultrasonic radars into delay packets and setting the delay time period randomly, the problem of echo crosstalk between multiple ultrasonic radars is solved, and higher measurement accuracy and efficiency are achieved, and suitable for a variety of scenarios.
Patent Information
- Application Number
- CN202411104522.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-08-13
AI Technical Summary
There is echo crosstalk between multiple ultrasonic radars, affecting the accuracy and efficiency of measurements.
By dividing the wave transmitting radar in the wave transmitting combination into multiple delay packets, and randomly selecting the target delay packet that needs to be delayed, setting the delay time of each wave transmitting radar, making the wave transmitting time as irregular as possible. This reduces the similarity of echo time and reduces echo crosstalk.
In various scenarios, the probability of echo crosstalk is effectively reduced, the accuracy and efficiency of ultrasonic radar measurement is improved, and it is highly versatile. It does not need to adjust the wave transmission time as obstacles and vehicle positions change.
Smart Images

Figure CN118642112B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ultrasonic radar technology, and in particular to an ultrasonic radar measurement method, device, vehicle-mounted terminal and readable storage medium. Background Art
[0002] Ultrasonic radar is widely used in automotive fields such as reversing assistance, blind spot detection, automatic parking, and forward collision warning. In the measurement scenario, multiple ultrasonic radars are usually used simultaneously to locate the vehicle's position in a timely and accurate manner, but there will be echo crosstalk between multiple ultrasonic radars.
[0003] How to reduce echo crosstalk between multiple ultrasonic radars is an urgent problem to be solved by those skilled in the art. Summary of the invention
[0004] The object of the present invention is to provide an ultrasonic radar measurement method, device, vehicle-mounted terminal and readable storage medium, which can reduce echo crosstalk between multiple ultrasonic radars.
[0005] The embodiments of the present invention can be implemented as follows:
[0006] In a first aspect, the present invention provides an ultrasonic radar measurement method, which is applied to a vehicle-mounted terminal, wherein the vehicle-mounted terminal is electrically connected to a plurality of radars, and the method comprises:
[0007] Acquire a wave transmission combination, wherein the wave transmission combination includes at least one wave transmission radar set to a wave transmission mode and at least one wave receiving radar set to a wave receiving mode among the plurality of radars;
[0008] The transmitting radars in the transmitting combination are divided into a plurality of delay groups according to the transmitting modes, and the transmitting radars in the same delay group have the same transmitting mode;
[0009] Randomly select a target delayed group that needs to be delayed from the multiple delayed groups;
[0010] Randomly setting the delay time of each transmitting radar in the target delay group;
[0011] All radars in the transmitting combination are started, so that each transmitting radar in the target delay group performs delayed transmitting according to its own delay time, and the remaining radars operate normally.
[0012] In an optional implementation manner, each of the delay groups is pre-set with a group identifier, and the step of randomly selecting a target delay group that needs to be delayed from the multiple delay groups includes:
[0013] generating a random number within a preset range, wherein the preset range is determined according to the number of groups of the delayed group;
[0014] Determine a target group identifier from the group identifiers of the plurality of delayed groups according to the random number;
[0015] The delayed group corresponding to the target group identifier is determined as the target delayed group.
[0016] In an optional implementation, the step of randomly setting the delay duration of each transmitting radar in the target delay group includes:
[0017] For each transmitting radar in the target delay group, a random number not greater than a maximum preset time length is generated using a preset random function;
[0018] According to the random number generated by the preset random function and the preset time unit, the delay time of the wave radar is calculated and written into the wave radar to set the delay time of the wave radar.
[0019] In an optional embodiment, the method further comprises:
[0020] Obtaining the initial echo time and echo type of each echo received by each receiving radar in the transmitting and receiving combination;
[0021] Determine the compensation time of each echo according to the echo type of each echo;
[0022] The difference between the initial echo time of each echo and the compensation time of each echo is calculated to obtain the final echo time of each echo.
[0023] In an optional embodiment, the positions of the plurality of transmitting radars in the transmitting combination are not adjacent, and the transmitting modes of the two transmitting radars adjacent to the same receiving radar are different, and the step of determining the compensation time of each echo according to the echo type of each echo comprises:
[0024] For any target echo, according to the echo type of the target echo and the position of the target receiving radar receiving the target echo, the target transmitting radar is determined from the transmitting radars of the transmitting combination, and the echo returned by the ultrasonic wave emitted by the target transmitting radar is the target echo;
[0025] If the target radar belongs to the target delay group, the delay time of the target radar is determined as the compensation time; otherwise, 0 is determined as the compensation time.
[0026] In an optional implementation, the step of determining the target transmitting radar from the transmitting radars of the transmitting combination according to the echo type of the target echo and the position of the target receiving radar receiving the target echo comprises:
[0027] The transmitting radar in the transmitting combination adjacent to the target receiving radar is used as a reference transmitting radar;
[0028] If the emission mode of the reference emission radar matches the echo type of the target echo, the reference emission radar is determined to be the target emission radar.
[0029] In an optional embodiment, the vehicle-mounted terminal is installed on a designated vehicle, and the designated vehicle is equipped with the multiple radars. The transmission combination includes multiple front-end radars located at the head of the designated vehicle and multiple rear-end radars located at the tail of the designated vehicle. Among the multiple front-end radars and the multiple rear-end radars, the transmitting radars set to the transmitting mode and the receiving radars set to the receiving mode are arranged at intervals, and the transmission modes of two transmitting radars adjacent to the same receiving radar are different, and the transmission modes include up-frequency transmission and down-frequency transmission.
[0030] In a second aspect, the present invention provides an ultrasonic radar measuring device, which is applied to a vehicle-mounted terminal, wherein the vehicle-mounted terminal is electrically connected to a plurality of radars, and the device comprises:
[0031] an acquisition module, configured to acquire a wave transmission combination, wherein the wave transmission combination includes at least one wave transmission radar set to a wave transmission mode and at least one wave receiving radar set to a wave receiving mode among the multiple radars;
[0032] A division module, used for dividing the wave-transmitting radars in the wave-transmitting combination into a plurality of delay groups according to the wave-transmitting mode, and the wave-transmitting radars in the same delay group have the same wave-transmitting mode;
[0033] A selection module, used for randomly selecting a target delayed group that needs delayed transmission from the multiple delayed groups;
[0034] A setting module, used for randomly setting the delay time of each transmitting radar in the target delay group;
[0035] The start-up module is used to start all radars in the wave-transmitting combination, so that each wave-transmitting radar in the target delay group transmits waves with delay according to its own delay time, and the remaining radars work normally.
[0036] In a third aspect, the present invention provides a vehicle-mounted terminal, comprising a processor and a memory, wherein the memory is used to store a program, and the processor is used to implement the ultrasonic radar measurement method described in any one of the aforementioned embodiments when executing the program.
[0037] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the ultrasonic radar measurement method as described in any one of the aforementioned embodiments.
[0038] Compared with the prior art, in the embodiment of the present invention, at least one radar among the multiple radars is set as a transmitting radar in a transmitting mode and at least one radar is set as a receiving radar in a receiving mode to obtain a transmitting combination, and then the transmitting radars in the transmitting combination are divided into multiple delay groups according to the transmitting mode, and the transmitting radars in the same delay group have the same transmitting mode, and the target delay group that needs to delay the transmitting is randomly selected, and then the delay time is randomly set for each transmitting sequence in the target delay group, so that when the radars in the transmitting combination are started, the transmitting radars in the target delay group delay the transmitting according to the randomly set delay time, and the remaining transmitting radars transmit normally and the receiving radars receive normally, and the transmitting time of the transmitting radars is made as irregular as possible by randomly selecting the transmitting radars that delay the transmitting and randomly setting the delay time of the transmitting radars that delay the transmitting, so that the transmitting time of the transmitting radars is made as irregular as possible, and then the time when the ultrasonic waves emitted by the transmitting radars with the same transmitting mode generate echoes is as different as possible in various scenarios, thereby reducing the echo crosstalk caused by the close echo time due to the same transmitting mode and the same transmitting time. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0040] Figure 1 This is an example diagram of an application scenario provided by this embodiment.
[0041] Figure 2 This is an example diagram of the wave combination provided in this embodiment.
[0042] Figure 3 This is an example diagram of ultrasonic radar crosstalk provided in this embodiment.
[0043] Figure 4 This is an example flowchart of the ultrasonic radar measurement method provided in this embodiment.
[0044] Figure 5 Delayed wave example provided for this embodiment Figure 1 .
[0045] Figure 6 Delayed wave example provided for this embodiment Figure 2 .
[0046] Figure 7 This is a block diagram of an example of an ultrasonic radar measurement device provided in this embodiment.
[0047] Figure 8 This is a block diagram of an example of a vehicle-mounted terminal provided in this embodiment.
[0048] Icons: 10 - vehicle-mounted terminal; 11 - processor; 12 - memory; 13 - bus; 100 - ultrasonic radar measuring device; 110 - acquisition module; 120 - division module; 130 - selection module; 140 - setting module; 150 - start module. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0050] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0052] In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. appear to indicate an orientation or position relationship, they are based on the orientation or position relationship shown in the accompanying drawings, or are the orientation or position relationship in which the product of the invention is usually placed when used. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0053] In addition, the terms “first”, “second”, etc., if used, are merely used to distinguish between the descriptions and should not be understood as indicating or implying relative importance.
[0054] It should be noted that, in the absence of conflict, the features in the embodiments of the present invention may be combined with each other.
[0055] Please refer to Figure 1 , Figure 1 This is an example diagram of an application scenario provided in this embodiment. Figure 1 In the figure, the designated vehicle is equipped with 12 radars: radar 1 to radar 12, wherein radar 1 to radar 6 are located at the head of the designated vehicle and are front radars, and radar 7 to radar 12 are located at the tail of the designated vehicle and are rear radars. Radar 1 to radar 12 can be set to a transmitting mode or a receiving mode according to the requirements. The radars set to the transmitting mode and the radars set to the receiving mode should be set at intervals, and the transmitting modes of the two radars set to the transmitting mode adjacent to the same radar set to the receiving mode are different. The transmitting modes include up-frequency transmitting and down-frequency transmitting.
[0056] Different wave combinations can be obtained according to the different wave transmission and reception modes set by each radar. Please refer to Figure 2 , Figure 2 This is an example diagram of the wave combination provided in this embodiment. Figure 2 2 shows two wave transmission combinations: wave transmission combination 1 and wave transmission combination 2. Taking the front-end radar in wave transmission combination 1 as an example, among radars 1 to radar 6, the radars with adjacent serial numbers are also set in adjacent positions. For example, radar 1 is adjacent to radar 2, radar 2 is adjacent to radar 3, and the other radars are similar. In wave transmission combination 1, radars 1, 3, and 5 are set in the wave transmission mode, and radars 2 and 6 are set in the wave receiving mode. Since radar 1 and radar 3 are adjacent to radar 2, the wave transmission modes of radar 1 and radar 3 are different. Radar 1 is a down-frequency wave transmission, and radar 3 is an up-frequency wave transmission. Since radar 3 and radar 5 are adjacent to radar 4, the wave transmission modes of radar 3 and radar 5 are different. Radar 3 has been set to an up-frequency wave transmission, and radar 5 is set to a down-frequency wave transmission. The rear-end radar in wave transmission combination 1 is similar to it, and it will not be repeated here. Wave transmission combination 2 is similar to wave transmission combination 1, and it will not be repeated here.
[0057] It should be noted that a radar set to the transmitting mode will also receive the echo of the ultrasonic wave emitted by itself, while a radar set to the receiving mode can only receive the echo of the ultrasonic wave emitted by other transmitting radars. For example, if radar 1 is set to down-frequency transmission and radar 3 is set to up-frequency transmission, radar 1 and radar 3 will each receive the echo of the ultrasonic wave emitted by themselves, and radar 2 can receive the echo of the ultrasonic wave emitted by radar 1 as well as the echo of the ultrasonic wave emitted by radar 3.
[0058] Since the receiving radar set to receiving mode can receive the echo of the ultrasonic waves emitted by the two transmitting radars set to transmitting mode adjacent to it, although the transmitting radar and the receiving radar are set at intervals and the transmitting modes of the two transmitting radars are different, the receiving radar can accurately distinguish the direction of obstacles through indirect echoes, and at the same time greatly reduces the probability of mutual interference between the two transmitting radars. However, when the layout of the receiving radar and the transmitting radar conforms to a certain rule, and the time when two or more transmitting radars adjacent to the same receiving radar emit ultrasonic waves is the same or extremely close, the echo of the ultrasonic wave of the transmitting radar will reach the receiving radar at the same time, and the echo crosstalk phenomenon will occur. If the receiving radar has two adjacent transmitting radars, the receiving radar should have received two echoes, but due to the existence of echo crosstalk, the receiving radar only receives one highly abnormal echo and cannot receive the other echo.
[0059] Please refer to Figure 3 , Figure 3 This is an example diagram of ultrasonic radar crosstalk provided in this embodiment. Figure 3 In the example, radar 2 and radar 4 transmit at the same time. Under normal circumstances, radar 3 should receive two echoes: echo 1 and echo 2. However, if echo crosstalk occurs, radar 3 may only receive one echo, and the echo received is a highly abnormal echo, and the other echo is lost. Similarly, when radar 3 and radar 5 transmit at the same time, radar 4 may also receive an abnormal echo with an abnormal echo height.
[0060] The echo crosstalk phenomenon is very likely to occur in measurement scenarios where the obstacle is a large-sized plane, such as a large-sized wall, which greatly affects the accuracy of the echo information. Although the transmission time of the transmitting radar can be preset to be different from each other to avoid echo crosstalk, the preset transmission time is only applicable to the case where the angle between the large-sized plane obstacle and the vehicle is a specific angle. When the specific angle changes, the transmission time needs to be reset accordingly. This implementation method is obviously very inefficient. If it is not reset, echo crosstalk will still occur with a high probability.
[0061] In view of this, the present embodiment provides an ultrasonic radar measurement method, device, vehicle-mounted terminal and readable storage medium. By making the transmission time of the radar as irregular as possible, there is no need to adjust the transmission time as the relative position between the obstacle and the vehicle changes, and the probability of echo crosstalk can be effectively reduced in various measurement scenarios. It has strong versatility and will be described in detail below.
[0062] Please refer to Figure 4 , Figure 4 This is an example flow chart of the ultrasonic radar measurement method provided in this embodiment, the method includes the following steps:
[0063] Step S101, obtaining a transmission combination, where the transmission combination includes at least one transmission radar set to a transmission mode and at least one reception radar set to a reception mode among a plurality of radars.
[0064] In this embodiment, the wave combination can be as follows: Figure 2 A set of wave combinations is randomly selected or selected in sequence from the two sets of wave combinations shown, or it can be selected first according to Figure 2 The idea formed by Figure 2 A group of wave transmission combinations are selected randomly or in a preset order from other multiple groups of wave transmission combinations with different combinations in the above. Randomly selecting the wave transmission combination can further improve the randomness of selecting the wave transmission radar in the actual measurement scene, improve the irregularity of the wave transmission radar selection, make the relative position between the wave transmission radar and the obstacle in the actual measurement scene also have a certain randomness, further enhance the randomness of radar wave transmission and reception, and reduce the probability of echo crosstalk.
[0065] It should be noted that a transmitting radar set to the transmitting mode will not only transmit waves but also receive echoes of ultrasonic waves emitted by itself. A receiving radar set to the receiving mode will not transmit waves but only receive echoes of ultrasonic waves emitted by other transmitting radars. Since the transmitting radar and the receiving radar are set at intervals, when any radar receives an echo, the only valid echo received can be the echo of the ultrasonic wave emitted by itself or the echo of the ultrasonic wave emitted by the transmitting radar adjacent to itself.
[0066] Step S102, dividing the transmitting radars in the transmitting combination into a plurality of delay groups according to the transmitting modes, and the transmitting radars in the same delay group have the same transmitting mode.
[0067] In this embodiment, there may be multiple transmitting radars in a transmitting combination. In order to ensure that the radar can distinguish the ultrasonic echoes emitted by different transmitting radars when receiving the echo, and ensure that there is no crosstalk between the echoes, this embodiment divides the transmitting radars with the same transmitting mode in the same transmitting combination into the same delay group, and only selects one transmitting radar in a delay group for transmitting delay each time.
[0068] Step S103: randomly selecting a target delayed group that needs delayed transmission from a plurality of delayed groups.
[0069] In this embodiment, a sequence number or an ordered identifier may be set for each delayed group, and a random number is used to correspond the random number and the sequence number or the ordered identifier, thereby achieving the purpose of randomly selecting a target delayed group.
[0070] Step S104, randomly setting the delay time of each transmitting radar in the target delay group.
[0071] In this embodiment, the delay duration of each transmitting radar in the target delay group is randomly set, which can effectively improve the randomness of the transmitting time of the transmitting radar, making the transmitting time of each transmitting radar as irregular as possible, thereby reducing the echo crosstalk caused by the close echo time due to the same transmitting mode and the same transmitting time.
[0072] Step S105, starting all radars in the transmission group, so that each transmission radar in the target delay group transmits with delay according to its own delay time, and the remaining radars work normally.
[0073] In this embodiment, although all radars in the wave transmitting combination are started at the same time, the wave transmitting radar with a delay time length is delayed according to the set delay time length, the other wave transmitting radars transmit normally, and the other wave receiving radars receive normally. Since the radars in the wave transmitting combination can include the front radar located at the front of the vehicle and the rear radar located at the rear of the vehicle, and the wave transmitting radars in the front radar and the rear radar are all delayed according to the ultrasonic radar measurement method provided in this embodiment, the position of the vehicle can be located timely and accurately according to the echo information of the echoes received by all the wave receiving radars in the wave transmitting combination.
[0074] The above method provided in this embodiment randomly selects a delayed wave radar and randomly sets the delay time of the delayed wave radar, so that the wave transmission time of the wave radar is as irregular as possible, so that the time when the ultrasonic wave emitted by the wave radar with the same wave transmission mode generates an echo is as different as possible in various scenarios, thereby reducing the echo crosstalk caused by the close echo time due to the same wave transmission mode and the same wave transmission time.
[0075] In an optional implementation manner, a group identifier may be pre-set for each delayed group. In this case, one implementation manner of randomly selecting a target delayed group is:
[0076] First, a random number within a preset range is generated, where the preset range is determined according to the number of delayed groups;
[0077] Secondly, determining the target group identifier from the group identifiers of the plurality of delayed groups according to the random number;
[0078] Finally, the delayed group corresponding to the target group identifier is determined as the target delayed group.
[0079] In this embodiment, the group identifier may be a sequence number, or a string containing a sequence number, or a string containing letters or characters determined by the sequence number, etc. For example, the group identifier may be 1-5, or the group identifier may be ae. The preset range is determined according to the number of delayed groups. For example, if the number of delayed groups is 5, the preset range may be [1,5] or [0,4]. Taking the group identifier as a sequence number as an example, the number of groups is 2, and the sequence numbers of the two delayed groups are 0 and 1 respectively, a random number of 0 or 1 is generated. When the random number is 0, the transmitting radar in the delayed group with the sequence number 0 is delayed to transmit. When the random number is 1, the transmitting radar in the delayed group with the sequence number 1 is delayed to transmit.
[0080] In this embodiment, as another implementation method, the preset range can also be an integer, and the generated random number is a random integer. The generated random integer is modulo the number of groups to obtain a result less than the number of groups, and finally the result is used to determine the target group identifier.
[0081] In an optional implementation manner, in order to efficiently and randomly set the delay time of the radar, this embodiment provides an implementation method:
[0082] First, for each transmitting radar in the target delay group, a random number no greater than a maximum preset time length is generated using a preset random function;
[0083] In this embodiment, the maximum preset duration is determined according to the maximum delay duration that can be accepted in an actual test scenario.
[0084] Secondly, according to the random number generated by the preset random function and the preset time unit, the delay time of the wave radar is calculated and written into the wave radar to set the delay time of the wave radar.
[0085] In this embodiment, the accuracy of the corresponding wave transmission time may be different for different radar models, and the accuracy of the radar delay time required for different measurement scenarios may also be different. In order to facilitate the setting of the delay time of radars of different models, this embodiment can set the preset time unit according to actual needs, and calculate the delay time of the wave transmission column to be set by using random numbers and preset time units, thereby improving the flexibility of radar testing. For example, for a radar of model A, the accuracy of its wave transmission time is at the millisecond level, and the preset time unit is set to milliseconds, and the delay time calculated by using the random number x and the preset time unit is x milliseconds. For a radar of model B, the accuracy of its wave transmission time is at the microsecond level, and the preset time unit is set to microseconds, and the delay time calculated by using the random number y and the preset time unit is y microseconds.
[0086] In this embodiment, as an implementation manner, writing the delay time into the transmitting radar may be writing into the hardware RAM of the transmitting radar.
[0087] In an optional implementation manner, in order to uniformly process the echo times of delayed echo transmission and normal echo transmission and finally obtain the correct echo time of each echo, this embodiment further provides an implementation method:
[0088] Firstly, the initial echo time and echo type of each echo received by each receiving radar in the transmitting and receiving combination are obtained;
[0089] In this embodiment, the echo type corresponds to the wave transmission mode. If the wave transmission mode is up-frequency wave transmission, the received echo type is up-frequency wave. If the wave transmission mode is down-frequency wave transmission, the received echo type is down-frequency wave.
[0090] Secondly, the compensation time of each echo is determined according to the echo type of each echo;
[0091] Finally, the difference between the initial echo time of each echo and the compensation time of each echo is calculated to obtain the final echo time of each echo.
[0092] In this embodiment, if the ultrasonic wave corresponding to the echo is a normal wave, the initial echo time is the final echo time. If the ultrasonic wave corresponding to the echo is a delayed wave, a compensation adjustment needs to be made based on the initial echo time to obtain the final echo time. This embodiment provides a method for determining the compensation time for compensating the echo:
[0093] First, for any target echo, according to the echo type of the target echo and the position of the target receiving radar receiving the target echo, the target transmitting radar is determined from the transmitting radars in the transmitting combination, and the echo returned by the ultrasonic wave emitted by the target transmitting radar is the target echo;
[0094] In this embodiment, since the transmitting radar itself can also receive the echo of the ultrasonic wave it transmits, the echo received by the transmitting radar set to the transmitting mode is the target transmitting radar itself, and the echo received by the receiving radar set to the receiving mode is determined according to the transmitting mode of the transmitting radar adjacent to the transmitting radar, which is implemented as follows:
[0095] The transmitting radar in the transmitting combination adjacent to the target receiving radar is used as the reference transmitting radar; if the transmitting mode of the reference transmitting radar matches the echo type of the target echo, the reference transmitting radar is determined to be the target transmitting radar.
[0096] Since the transmitting radars adjacent to the same receiving radar have different transmitting modes, and the echo type matches the transmitting mode, if the received echo type is an up-frequency echo, the radar with the up-frequency transmitting mode is the target transmitting radar, and if the received echo type is a down-frequency echo, the radar with the down-frequency transmitting mode is the target transmitting radar. For example, Figure 2 In the front-end radar of combination 1 in the transmitting combination, when radar 2 receives an echo, its reference radars are radar 1 and radar 3. If the echo received by radar 2 is an up-conversion echo, radar 3 is the target transmitting radar; when the echo received by radar 2 is a down-conversion echo, radar 1 is the target transmitting radar.
[0097] Secondly, if the target transmitting radar belongs to the target delay group, the delay time length of the target transmitting radar is determined as the compensation time, otherwise 0 is determined as the compensation time.
[0098] In this embodiment, when compensation adjustment is not required, the compensation time is set to 0, and the final echo time can be calculated using a unified processing method.
[0099] In order to explain the delayed wave more intuitively, this embodiment uses Figure 2 Taking the front-end radar of combination 1 of the medium-wave combination as an example, two delayed wave transmission methods are illustrated respectively. Please refer to Figure 5 and Figure 6 , Figure 5 Delayed wave example provided for this embodiment Figure 1 , Figure 6 Delayed wave example provided for this embodiment Figure 2 .
[0100] Figure 5 In combination 1, radar 3 delays transmitting, the other transmitting radars transmit normally, and the other receiving radars receive normally. The echo compensation of each receiving radar is as follows:
[0101] Radar 1 receives its own echo. Since Radar 1 does not delay the transmission, the initial echo time of the echo received by Radar 1 is the final echo time.
[0102] Radar 2 receives the echo from radar 1. Since radar 1 does not delay the transmission, that is, the measurement time of the two radars is at the same time, no compensation is performed on the echo. That is, the initial echo time of the echo received by radar 2 is the final echo time.
[0103] Radar 2 receives the echo from radar 3. If the initial echo time is T11, since radar 3 starts measuring after a delay of T_delay3, its final echo time, i.e. the actual flight time of the echo in the air, is T11-T_delay3.
[0104] Radar 3 receives its own echo. If the initial echo time is T12, since radar 3 delays T_delay3 before starting measurement, its final echo time, i.e. the actual flight time of the echo in the air, is T12-T_delay3;
[0105] Radar 4 receives the echo from radar 3. If the initial echo time is T13, since radar 3 starts measuring after a delay of T_delay3, its final echo time, i.e. the actual flight time of the echo in the air, is T13-T_delay3.
[0106] Radar 4 receives the echo from radar 5. Since radar 5 does not delay the transmission, that is, the measurement times of the two radars are at the same time, the initial echo time of the echo received by radar 4 is the final echo time.
[0107] Radar 5 receives the echo from radar 1. Since radar 1 does not delay the transmission, that is, the measurement times of the two radars are at the same time, the initial echo time of the echo received by radar 5 is the final echo time.
[0108] Radar 6 receives the echo from radar 5. Since radar 5 does not delay the transmission, that is, the measurement times of the two radars are at the same time, the initial echo time of the echo received by radar 6 is the final echo time.
[0109] Figure 6 In combination 1, radar 1 and radar 5 delay the transmission, the other transmitting radars transmit normally, and the other receiving radars receive normally. The echo compensation of each receiving radar is as follows:
[0110] Radar 1 receives its own echo. If the initial echo time is T21, since radar 1 delays T_delay1 before starting measurement, its final echo time, i.e. the actual flight time of the echo in the air, is T21-T_delay1.
[0111] Radar 2 receives the echo from radar 1. If the initial echo time is T22, since radar 1 starts measuring after a delay of T_delay1, its final echo time, i.e. the actual flight time of the echo in the air, is T22-T_delay1.
[0112] Radar 2 receives the echo from radar 3. Since radar 3 does not delay the transmission, that is, the measurement times of the two radars are at the same time, the initial echo time of the echo received by radar 2 is the final echo time.
[0113] Radar 3 receives its own echo. Since Radar 3 does not delay the transmission, that is, the measurement times of the two radars are at the same time, the initial echo time of the echo received by Radar 3 is the final echo time.
[0114] Radar 4 receives the echo from radar 3. Since radar 3 does not delay the transmission, that is, the measurement times of the two radars are at the same time, the initial echo time of the echo received by radar 4 is the final echo time.
[0115] Radar 4 receives the echo from radar 5. If the initial echo time is T23, since radar 5 starts measuring after a delay of T_delay5, its final echo time, i.e. the actual flight time of the echo in the air, is T23-T_delay5.
[0116] Radar 5 receives its own echo. If the initial echo time is T24, since radar 5 starts measuring after a delay of T_delay5, its final echo time, i.e., the actual flight time of the echo in the air, is T24-T_delay5.
[0117] Radar 6 receives the echo from radar 5. If the initial echo time is T25, since radar 5 starts measuring after a delay of T_delay5, its final echo time, i.e., the actual flight time of the echo in the air, is T25-T_delay5.
[0118] In order to execute the corresponding steps in the above embodiment and each possible implementation method, an implementation method of the ultrasonic radar measurement device 100 is given below. Figure 7 , Figure 7 This is a block diagram of an ultrasonic radar measuring device provided in an embodiment of the present invention. It should be noted that the basic principles and technical effects of the ultrasonic radar measuring device 100 provided in this embodiment are the same as those of the corresponding above-mentioned embodiments, which are not mentioned in this embodiment for the sake of brief description.
[0119] The ultrasonic radar measurement device 100 includes an acquisition module 110 , a division module 120 , a selection module 130 , a setting module 140 and a start module 150 .
[0120] An acquisition module 110 is used to acquire a wave transmission combination, where the wave transmission combination includes at least one wave transmission radar set to a wave transmission mode and at least one wave receiving radar set to a wave receiving mode among the multiple radars;
[0121] A division module 120 is used to divide the transmitting radars in the transmitting combination into a plurality of delay groups according to the transmitting modes, and the transmitting radars in the same delay group have the same transmitting mode;
[0122] A selection module 130, configured to randomly select a target delayed group that needs to be delayed from a plurality of delayed groups;
[0123] A setting module 140, used for randomly setting the delay time of each transmitting radar in the target delay group;
[0124] The start module 150 is used to start all radars in the wave transmission combination, so that each wave transmission radar in the target delay group performs delayed wave transmission according to its own delay time, and the remaining radars work normally.
[0125] In an optional embodiment, each delayed group is pre-set with a group identifier, and the selection module 130 is specifically used to: generate a random number within a preset range, the preset range is determined according to the number of groups of the delayed groups; determine a target group identifier from the group identifiers of multiple delayed groups according to the random number; and determine the delayed group corresponding to the target group identifier as the target delayed group.
[0126] In an optional implementation, the setting module 140 is specifically used to: for each transmitting radar in the target delay group, generate a random number that is not greater than a maximum preset duration using a preset random function; calculate the delay duration of the transmitting radar based on the random number generated by the preset random function and the preset duration unit and write it into the transmitting radar to set the delay duration of the transmitting radar.
[0127] In an optional embodiment, the starting module 150 is also used to: obtain the initial echo time and echo type of each echo received by each receiving radar in the transmitting and receiving combination; determine the compensation time of each echo according to the echo type of each echo; calculate the difference between the initial echo time of each echo and the compensation time of each echo to obtain the final echo time of each echo.
[0128] In an optional embodiment, the positions of multiple transmitting radars in the transmitting combination are not adjacent, and the transmitting modes of two transmitting radars adjacent to the same receiving radar are different. When the starting module 150 is used to determine the compensation time of each echo according to the echo type of each echo, it is specifically used to: for any target echo, determine the target transmitting radar from the transmitting radars in the transmitting combination according to the echo type of the target echo and the position of the target receiving radar that receives the target echo, and the echo returned by the ultrasonic wave emitted by the target transmitting radar is the target echo; if the target transmitting radar belongs to the target delay group, the delay duration of the target transmitting radar is determined as the compensation time, otherwise 0 is determined as the compensation time.
[0129] In an optional embodiment, when the starting module 150 is used to determine the target transmitting radar from the transmitting radars in the transmitting combination according to the echo type of the target echo and the position of the target receiving radar that receives the target echo, it is specifically used to: use the transmitting radar in the transmitting combination that is adjacent to the position of the target receiving radar as a reference transmitting radar; if the transmitting mode of the reference transmitting radar matches the echo type of the target echo, then determine that the reference transmitting radar is the target transmitting radar.
[0130] The embodiment of the present invention also provides a block diagram of a vehicle terminal 10, the vehicle terminal 10 is electrically connected to a plurality of ultrasonic radars, among which there are a plurality of wave-transmitting radars that simultaneously transmit ultrasonic waves according to a preset sound wave type, and the positions of the plurality of wave-transmitting radars are not adjacent, so as to implement the ultrasonic radar measurement method of the above embodiment. Figure 8 , Figure 8 The block diagram of the vehicle terminal 10 provided in the embodiment of the present invention is shown. The vehicle terminal 10 includes a processor 11 , a memory 12 and a bus 13 . The processor 11 and the memory 12 are connected via the bus 13 .
[0131] The processor 11 may be an integrated circuit chip having the ability to process signals. In the implementation process, each step of the ultrasonic radar measurement method of the above embodiment may be completed by an integrated logic circuit of hardware in the processor 11 or by instructions in the form of software. The above processor 11 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0132] The memory 12 is used to store a program for implementing the ultrasonic radar measurement method of the above embodiment, and the program may be a software function module stored in the memory 12 in the form of software or firmware or fixed in the operating system (OS) of the vehicle terminal 10. After receiving the execution instruction, the processor 11 executes the program to implement the ultrasonic radar measurement method disclosed in the above embodiment.
[0133] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the ultrasonic radar measurement method as described in any one of the aforementioned embodiments is implemented.
[0134] In summary, an embodiment of the present invention provides an ultrasonic radar measurement method, device, vehicle-mounted terminal and readable storage medium, the method comprising: obtaining a wave transmission combination, the wave transmission combination comprising at least one wave transmission radar set to a wave transmission mode and at least one wave receiving radar set to a wave receiving mode among multiple radars; dividing the wave transmission radars in the wave transmission combination into multiple delay groups according to the wave transmission mode, the wave transmission modes of the wave transmission radars in the same delay group are the same; randomly selecting a target delay group that needs delayed wave transmission from the multiple delay groups; randomly setting the delay time of each wave transmission radar in the target delay group; starting all radars in the wave transmission combination so that each wave transmission radar in the target delay group delays the wave transmission according to its own delay time, and enabling the remaining radars to work normally. Compared with the prior art, this embodiment has at least the following advantages: (1) by randomly selecting the delayed transmitting radar and randomly setting the delay time of the delayed transmitting radar, the transmitting time of the transmitting radar is made as irregular as possible, so that the time when the ultrasonic waves emitted by the transmitting radars with the same transmitting mode generate echoes is as different as possible in various scenarios, thereby reducing the echo crosstalk caused by the same transmitting mode and the same transmitting time resulting in close echo times; (2) the transmitting radar and the receiving radar are set at intervals, and the transmitting modes of the two transmitting radars are different. The receiving radar can quickly and accurately identify the target transmitting radar by checking whether the receiving radar type matches the transmitting mode of the reference transmitting radar, and can distinguish the ultrasonic echoes emitted by different transmitting radars while ensuring that no crosstalk occurs between the echoes. (3) When no compensation adjustment is required, the compensation time is set to 0, and the final echo time can be calculated using a unified processing method, thereby simplifying the processing. (4) Since the ultrasonic radar measurement method provided in this embodiment minimizes echo crosstalk in various scenarios, it has strong versatility.
[0135] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. An ultrasonic radar measurement method, It is characterized in that Applied to a vehicle-mounted terminal, the vehicle-mounted terminal is electrically connected to a plurality of radars, and the method comprises: Acquire a wave transmission combination, wherein the wave transmission combination includes at least one wave transmission radar set to a wave transmission mode and at least one wave receiving radar set to a wave receiving mode among the plurality of radars; The transmitting radars in the transmitting combination are divided into a plurality of delay groups according to the transmitting modes, the transmitting radars in the same delay group have the same transmitting mode, and each delay group is pre-set with a group identifier; generating a random number within a preset range, wherein the preset range is determined according to the number of groups of the delayed group; Determine a target group identifier from the group identifiers of the plurality of delayed groups according to the random number; Determine the delayed group corresponding to the target group identifier as the target delayed group; For each transmitting radar in the target delay group, a random number not greater than a maximum preset time length is generated using a preset random function; According to the random number generated by the preset random function and the preset time unit, the delay time of the wave radar is calculated and written into the wave radar to set the delay time of the wave radar; Starting all radars in the wave transmission combination, so that each wave transmission radar in the target delay group delays the transmission according to its own delay time, and the remaining radars work normally; The method further comprises: Acquiring the initial echo time and echo type of each echo received by each receiving radar in the transmitting combination, wherein the positions of the multiple transmitting radars in the transmitting combination are not adjacent, and the transmitting modes of the two transmitting radars adjacent to the same receiving radar are different; Determine the compensation time of each echo according to the echo type of each echo; Calculating the difference between the initial echo time of each echo and the compensation time of each echo to obtain the final echo time of each echo; The step of determining the compensation time of each echo according to the echo type of each echo comprises: For any target echo, according to the echo type of the target echo and the position of the target receiving radar receiving the target echo, the target transmitting radar is determined from the transmitting radars of the transmitting combination, and the echo returned by the ultrasonic wave emitted by the target transmitting radar is the target echo; If the target radar belongs to the target delay group, the delay time of the target radar is determined as the compensation time; otherwise, 0 is determined as the compensation time.
2. The ultrasonic radar measurement method according to claim 1, It is characterized in that The step of determining the target transmitting radar from the transmitting radars of the transmitting combination according to the echo type of the target echo and the position of the target receiving radar receiving the target echo comprises: The transmitting radar in the transmitting combination adjacent to the target receiving radar is used as a reference transmitting radar; If the emission mode of the reference emission radar matches the echo type of the target echo, the reference emission radar is determined to be the target emission radar.
3. The ultrasonic radar measurement method according to claim 1, It is characterized in that The vehicle-mounted terminal is installed on a designated vehicle, and the designated vehicle is equipped with the multiple radars. The transmission combination includes multiple front-end radars located at the head of the designated vehicle and multiple rear-end radars located at the tail of the designated vehicle. Among the multiple front-end radars and the multiple rear-end radars, the transmission radars set to the transmission mode and the receiving radars set to the receiving mode are arranged at intervals, and the transmission modes of two transmission radars adjacent to the same receiving radar are different. The transmission mode includes up-frequency transmission and down-frequency transmission.
4. An ultrasonic radar measuring device, It is characterized in that Applied to a vehicle-mounted terminal, the vehicle-mounted terminal is electrically connected to a plurality of radars, and the device comprises: an acquisition module, configured to acquire a wave transmission combination, wherein the wave transmission combination includes at least one wave transmission radar set to a wave transmission mode and at least one wave receiving radar set to a wave receiving mode among the multiple radars; A division module, used for dividing the transmitting radars in the transmitting combination into a plurality of delay groups according to the transmitting modes, the transmitting radars in the same delay group have the same transmitting mode, and each delay group is pre-set with a group identifier; The selection module is used to: generate a random number within a preset range, wherein the preset range is determined according to the number of groups of the delayed group; determine a target group identifier from the group identifiers of the plurality of delayed groups according to the random number; and determine the delayed group corresponding to the target group identifier as the target delayed group; The setting module is used to: for each transmitting radar in the target delay group, use a preset random function to generate a random number that is not greater than a maximum preset time length; calculate the delay time length of the transmitting radar according to the random number generated by the preset random function and a preset time length unit, and write it into the transmitting radar to set the delay time length of the transmitting radar; A start-up module is used to start all radars in the wave-transmitting combination, so that each wave-transmitting radar in the target delay group transmits waves with delay according to its own delay time, and the remaining radars work normally; The startup module is further used to: obtain the initial echo time and echo type of each echo received by each receiving radar in the transmitting combination, wherein the positions of the multiple transmitting radars in the transmitting combination are not adjacent, and the transmitting modes of two transmitting radars adjacent to the same receiving radar are different; determine the compensation time of each echo according to the echo type of each echo; calculate the difference between the initial echo time of each echo and the compensation time of each echo to obtain the final echo time of each echo; When the starting module is used to determine the compensation time of each echo according to the echo type of each echo, it is specifically used to: for any target echo, according to the echo type of the target echo and the position of the target receiving radar that receives the target echo, determine the target transmitting radar from the transmitting radars of the transmitting combination, and the echo returned by the ultrasonic wave emitted by the target transmitting radar is the target echo; if the target transmitting radar belongs to the target delay group, determine the delay duration of the target transmitting radar as the compensation time, otherwise determine 0 as the compensation time.
5. A vehicle-mounted terminal, It is characterized in that It comprises a processor and a memory, wherein the memory is used to store a program, and the processor is used to implement the ultrasonic radar measurement method according to any one of claims 1 to 3 when executing the program.
6. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the ultrasonic radar measurement method according to any one of claims 1 to 3 is implemented.
