Radar installation mode determination method and device, electrical equipment and medium

Through the method of alternately emitting different waveforms and recording the number of detection times, the problem of radar installation method identification is solved, and accurate judgment and intelligent calibration of radar installation method are achieved.

CN120143056APending Publication Date: 2025-06-13GD MIDEA AIR CONDITIONING EQUIP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311699281.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-11
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

The prior art is difficult to accurately identify the installation method of radar, which affects the accuracy of radar use.

Method used

By controlling the radar to alternately emit the first waveform and the second waveform, during the alternating transmission of the radar, the number of detection times of the first waveform and the second waveform on the target is determined, and the installation method of the radar is judged based on these detection times.

Benefits of technology

It realizes the installation method of the radar without manual calibration, and improves the intelligence and user experience of radar calibration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120143056A_ABST
    Figure CN120143056A_ABST
Patent Text Reader

Abstract

The invention discloses a radar installation mode determination method and device, electrical equipment and a medium. The method comprises the following steps: controlling a radar to alternately emit a first waveform and a second waveform; in the process of alternately transmitting the first waveform and the second waveform by the radar, determining a first detection frequency of a target in a radar detection area based on the first waveform and a second detection frequency of the target in the radar detection area based on the second waveform in a current period; and determining a target installation mode of the radar based on the first detection times and the second detection times. According to the scheme, the installation mode of the radar can be accurately judged, the installation mode of the radar does not need to be calibrated manually, the radar calibration intelligence is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of radar, and in particular, relates to a method, device, electrical equipment, and medium for determining a radar installation method. Background Art

[0002] In order to improve the intelligence of electrical equipment, more and more equipment is equipped with radars. Taking an air conditioner as an example, a radar can detect whether there is a user in a room and adjust the operating parameters of the air conditioner according to the detected user situation. For electrical equipment that does not have a radar installed, an independent radar device can be installed, and intelligent control of the electrical equipment can be achieved through the linkage between the radar device and the electrical equipment.

[0003] In the related art, there are various radar installation methods, such as ceiling installation, side installation, etc. In order to ensure the accuracy of the radar during use, the radar needs to be configured based on the installation method, so it is necessary to accurately identify the radar installation method. Summary of the Invention

[0004] In view of the above technical problems in the related art, an embodiment of the present invention provides a method for determining a radar installation method to accurately identify the radar installation method.

[0005] In a first aspect, an embodiment of the present invention provides a method for determining a radar installation method, including:

[0006] Controlling the radar to alternately emit a first waveform and a second waveform;

[0007] During the process of the radar alternately emitting the first waveform and the second waveform, determining a first detection count of targets within the radar detection area based on the first waveform in the current cycle, and a second detection count of targets within the radar detection area based on the second waveform;

[0008] Based on the first detection count and the second detection count, determining the target installation method of the radar.

[0009] In some embodiments, before controlling the radar to alternately emit a first waveform and a second waveform, the method further includes:

[0010] Adjusting the transmission parameters of the first waveform and the transmission parameters of the second waveform so that the maximum detection distances of both the first waveform and the second waveform are the target distance.

[0011] In some embodiments, the first waveform is a frequency-modulated continuous wave waveform, and adjusting the transmission parameters of the first waveform includes:

[0012] Adjust the intermediate frequency sampling rate and frequency modulation slope corresponding to the first waveform so that the farthest detection distance of the first waveform is the target distance.

[0013] In some embodiments, the second waveform is a Doppler waveform, and adjusting the transmission parameters of the second waveform includes:

[0014] Adjust the transmission power corresponding to the second waveform so that the farthest detection distance of the second waveform is the target distance.

[0015] In some embodiments, determining the target installation method of the radar based on the first detection count and the second detection count includes:

[0016] If the absolute value of the difference between the first detection count and the second detection count is less than the first threshold, determine that the target installation method is side-mounted;

[0017] If the absolute value of the difference between the first detection count and the second detection count is greater than the second threshold, determine that the target installation method is top-mounted.

[0018] In some embodiments, determining the target installation method of the radar based on the first detection count and the second detection count includes:

[0019] Determine the farthest distance detected by the radar in the current cycle as the target farthest distance;

[0020] Based on the first detection count, the second detection count, the target farthest distance, and the default farthest detection distance corresponding to the radar when installed in a side-mounted manner, determine the cumulative score corresponding to the current cycle, and the cumulative score is used to measure the installation method of the radar;

[0021] Based on the cumulative score corresponding to the current cycle, determine the target installation method.

[0022] In some embodiments, the method further includes: obtaining N cumulative scores corresponding one-to-one to N cycles before the current cycle, where N is a positive integer;

[0023] Determining the target installation method based on the cumulative score corresponding to the current cycle includes: performing an averaging process on the N cumulative scores and the cumulative score corresponding to the current cycle to obtain an average cumulative score;

[0024] Based on the average cumulative score, determine the target installation method.

[0025] In some embodiments, determining the target installation method based on the average cumulative score includes:

[0026] If the average cumulative score is less than the third threshold, determine that the target installation method is side-mounted;

[0027] If the average cumulative score is greater than the fourth threshold, determine that the target installation method is top-mounted.

[0028] In some embodiments, after determining the target installation method of the radar, the method further includes:

[0029] Compare the target installation method with the preset installation method stored in the radar;

[0030] If the target installation method is different from the preset installation method, generate a reminder message to remind the user that the radar installation method has changed.

[0031] In a second aspect, an embodiment of the present invention provides a device for determining a radar installation method, including:

[0032] A transmitting module, configured to control the radar to alternately transmit a first waveform and a second waveform;

[0033] A detection times determination module, configured to determine a first detection times of a target in a radar detection area based on the first waveform and a second detection times of the target in the radar detection area based on the second waveform during the process that the radar alternately transmits the first waveform and the second waveform;

[0034] A processing module, configured to determine the target installation method of the radar based on the first detection times and the second detection times.

[0035] In a third aspect, an embodiment of the present invention provides an electrical device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the above-mentioned method for determining a radar installation method when executing the program.

[0036] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the above-mentioned method for determining a radar installation method are implemented.

[0037] One or more technical solutions provided by the embodiments of the present invention at least achieve the following technical effects or advantages:

[0038] In the method for determining the radar installation method provided in the embodiments of this specification, the radar is controlled to alternately transmit a first waveform and a second waveform. During the process of the radar alternately transmitting the first waveform and the second waveform, the number of first detections of the targets in the radar detection area based on the first waveform in the current period is determined, and the number of second detections of the targets in the radar detection area based on the second waveform is determined; based on the number of first detections and the number of second detections, the target installation method of the radar is determined, and the target installation method is side-mounted or top-mounted. In the above solution, since the detection range of the radar is different under different installation methods, and for the first waveform and the second waveform, due to the characteristics of different waveforms, the ranging capabilities of the first waveform and the second waveform are also different under different detection ranges of the radar, that is, the number of detections of the targets by the first waveform and the second waveform in the top-mounted method is different from the number of detections of the targets by the first waveform and the second waveform in the side-mounted method. Therefore, the solution in the embodiments of this specification can accurately determine the installation method of the radar through the number of detections of the targets by the first waveform and the second waveform, without the need for manual calibration of the radar installation method, improving the intelligence of radar calibration and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0040] Figure 1 It is a flowchart of a method for determining the radar installation method provided in the embodiments of this specification;

[0041] Figure 2 It is a schematic diagram of the projection of the radar detection range on the ground when side-mounted provided in the embodiments of this specification;

[0042] Figure 3 It is a schematic diagram of the projection of the radar detection range on the ground when top-mounted provided in the embodiments of this specification;

[0043] Figure 4 It is a schematic diagram of a device for determining the radar installation method provided in the embodiments of this specification;

[0044] Figure 5 It is a schematic diagram of an electrical equipment provided in the embodiments of this specification. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0045] An embodiment of this specification provides a method, apparatus, electrical equipment, and medium for determining a radar installation method. The method includes: controlling the radar to alternately transmit a first waveform and a second waveform; during the process of the radar alternately transmitting the first waveform and the second waveform, determining the first detection times of targets within the radar detection area based on the first waveform in the current period, and the second detection times of targets within the radar detection area based on the second waveform; and determining the target installation method of the radar based on the first detection times and the second detection times.

[0046] In the solution of the embodiment of this specification, since the detection range of the radar varies under different installation methods, and for the first waveform and the second waveform, due to the characteristics of different waveforms, there are also differences in the ranging capabilities of the first waveform and the second waveform under different detection ranges of the radar. That is, there are differences in the detection times of the first waveform and the second waveform for targets in the top-mounted method and the side-mounted method. Therefore, in the solution of the embodiment of this specification, the installation method of the radar can be accurately determined through the detection times of the first waveform and the second waveform for targets, without the need for manual calibration of the radar installation method, improving the intelligence of radar calibration and enhancing the user experience.

[0047] To make the objectives, technical solutions, and advantages 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 accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0048] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present invention described here can be implemented in an order different from those illustrated or described here. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily need to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these process, method, product, or device.

[0049] As Figure 1 shown, it is a flowchart of a method for determining a radar installation method provided by an embodiment of this specification. The method includes the following steps:

[0050] Step S101: Control the radar to alternately transmit the first waveform and the second waveform;

[0051] Step S102: During the process of the radar alternately transmitting the first waveform and the second waveform, determine the first detection times of the targets within the radar detection area based on the first waveform and the second detection times of the targets within the radar detection area based on the second waveform in the current period;

[0052] Step S103: Determine the target installation method of the radar based on the first detection times and the second detection times.

[0053] The method provided by the embodiments of this specification can be applied to devices equipped with radars. Such devices can be independent radar devices or electrical devices integrated with radar sensors, such as air conditioners and fresh air devices integrated with electrical devices. It should be noted that whether it is an independent radar device or an electrical device integrated with a radar sensor, the installation method of the radar can be adjusted. The method provided by the embodiments of this specification can also be applied to a server that can communicate with a device equipped with a radar. Of course, it can also be applied to a system composed of a device and a server, which is not limited here. For the sake of easy understanding, the method for determining the radar installation method provided by the embodiments of this specification will be described in detail below taking an independent radar device as an example.

[0054] It should be noted that the installation methods of the radar can include side installation and top installation. Among them, top installation can be to install the radar on the ceiling of the room, and side installation can be to install the radar on the side wall of the room. There are differences in the detection ranges between the side installation and the top installation of the radar. Please refer to Figure 2 which is a schematic diagram of the projection of the radar detection range on the ground when the radar is side-mounted. In Figure 2 , the projection of the side-mounted radar on the ground is the origin position in Figure 2 . It can be seen that the detection range of the side installation is on one side of the radar. Please refer to Figure 3 which is a schematic diagram of the projection of the radar detection range on the ground when the radar is top-mounted. In Figure 3 , the projection of the top-mounted radar on the ground is the origin position in Figure 3 . The detection range of the top installation surrounds the radar, and it can be considered that the field of view angle of the top-mounted radar can cover 360°. Figure 2 、 3 The units of the abscissa and ordinate in

[0055] are both m. In the embodiments of this specification, the installation method of the radar can be changed. For example, during use, the user can move the position of the radar by himself. For example, change from top installation to side installation.In step S101, the radar can transmit waveforms of multiple modes, including but not limited to FMCW (Frequency Modulated Continuous Wave) waveforms and Doppler waveforms. Of course, it can also include other waveforms, which are not limited here. For the convenience of description, taking the first waveform as an FMCW waveform and the second waveform as a Doppler waveform as an example, that is, the radar can alternately transmit an FMCW waveform and a Doppler waveform.

[0056] In step S102, the current period can be set according to actual needs. For example, one period can correspond to one waveform alternation. For example, the time duration of one period can be divided into a first duration and a second duration. The first duration and the second duration can be the same or different. The first waveform is transmitted within the first duration, and the second waveform is transmitted within the second duration. Or, the transmission period of the first waveform is the first transmission period, and the transmission period of the second waveform is the second transmission period. The first transmission period and the second transmission period can be the same or different. One period can include a first transmission period and a second transmission period, that is, within one period, the first waveform of one first transmission period and the second waveform of one second transmission period can be alternately transmitted. Of course, the current period can include multiple waveform alternations, which are not limited here.

[0057] When transmitting the first waveform, every time a target located in the radar detection area is detected by the first waveform, the number of target detections is recorded once, and the total number of targets detected during the transmission of the first waveform is used as the first detection number. Similarly, when transmitting the second waveform, every time a target located in the radar detection area is detected by the second waveform, the number of target detections is recorded once, and the total number of targets detected during the transmission of the second waveform is used as the second detection number. Among them, the target is any target located within the radar detection area.

[0058] In the embodiments of this specification, in order to ensure that the first waveform and the second waveform detect the targets in the same detection area, before alternately transmitting the first waveform and the second waveform, the following steps can also be included: adjusting the transmission parameters of the first waveform, and adjusting the transmission parameters of the second waveform, so that the maximum detection distances of the first waveform and the second waveform are both the target distance.

[0059] For the specific types of the first waveform and the second waveform, the parameters affecting the detection distance of the first waveform can be adjusted, and the parameters affecting the detection distance of the second waveform can be adjusted.

[0060] In some embodiments, if the first waveform is an FMCW waveform, adjusting the transmission parameters of the first waveform includes: adjusting the intermediate frequency sampling rate and the frequency modulation slope corresponding to the first waveform, so that the maximum detection distance of the first waveform is the target distance.

[0061] Specifically, the target distance can be set according to actual needs. The target distance can be 2m, 3m, 5m, etc. It should be noted that the target distance needs to be a distance that can be detected by both the first waveform and the second waveform. When the first waveform is a frequency-modulated continuous wave waveform, the detection distance of the frequency-modulated continuous wave is related to the intermediate frequency sampling rate and the frequency modulation slope. After the target distance is determined, by adjusting the intermediate frequency sampling rate and the frequency modulation slope, the farthest detection distance of the frequency-modulated continuous wave can be made the target distance. Among them, the larger the intermediate frequency sampling rate and the smaller the frequency modulation slope, the farther the detection distance.

[0062] In some other embodiments, the second waveform is a Doppler waveform, and the transmission parameters of the second waveform are adjusted, including: adjusting the transmission power corresponding to the second waveform so that the farthest detection distance of the second waveform is the target distance.

[0063] Specifically, the detection distance of the Doppler waveform is related to the transmission power. The larger the transmission power, the farther the detection distance. After the target distance is determined, by adjusting the transmission power, the farthest detection distance of the Doppler waveform can be limited to the target distance.

[0064] In step S103, after obtaining the first detection times corresponding to the first waveform and the second detection times corresponding to the second waveform, the target installation method of the radar can be determined according to the first detection times and the second detection times.

[0065] It should be understood that there are differences in the detection characteristics of different waveforms. For the sake of convenience of explanation, still taking the above-mentioned first waveform as a frequency-modulated continuous wave waveform and the second waveform as a Doppler waveform as an example, due to the reasons of the antenna and waveform modulation, the power and ranging ability of the frequency-modulated continuous wave are poor at a large field of view angle, and there is a detection blind area, while the Doppler waveform has good ranging ability at each field of view angle. Therefore, in different installation methods, since the detection range of the radar will also be different, the number of times each waveform detects the target will be different.

[0066] For example, in the side-mounted mode, the number of times the frequency-modulated continuous wave waveform and the Doppler waveform detect the target is approximately the same. In the top-mounted mode, since there is a blind area in the frequency-modulated continuous wave, the number of times the Doppler waveform detects the target will be much greater than that of the frequency-modulated continuous wave waveform. Based on this, the target installation method of the radar can be determined through the following steps: If the absolute value of the difference between the first detection times and the second detection times is less than the first threshold, it is determined that the target installation method is side-mounted; if the absolute value of the difference between the first detection times and the second detection times is greater than the second threshold, it is determined that the target installation method is top-mounted.

[0067] In the embodiments of the present specification, the first threshold and the second threshold can be set according to actual needs, and the first threshold is less than or equal to the second threshold. In some embodiments, when the first waveform is a frequency-modulated continuous wave waveform and the second waveform is a Doppler waveform, since the detection times of the two are similar during side installation, while there is a large difference in the detection times of the two during top installation, therefore, the first threshold can be much smaller than the second threshold. When the absolute value of the difference between the first detection time and the second detection time is less than the first threshold, it indicates that the detection times of the two are approximately equal, and then the installation method can be determined to be side installation. Similarly, when the absolute value of the difference between the first detection time and the second detection time is greater than the second threshold, it indicates that there is a large difference in the detection times of the two, and at this time, the installation method can be determined to be top installation.

[0068] In some embodiments, step S103 can also be implemented through the following steps: determining the farthest distance detected by the radar in the current period as the target farthest distance; based on the first detection time, the second detection time, the target farthest distance, and the default farthest detection distance corresponding to the radar when installed in a side-mounted manner, determining the cumulative score corresponding to the current period, where the cumulative score is used to measure the installation method of the radar; and determining the target installation method based on the cumulative score corresponding to the current period.

[0069] Specifically, depending on the environment where the radar is located, the default farthest detection distance of the radar in the side-mounted manner is also different. For example, in a home installation environment, the farthest distance in side installation can be the size of the room where the radar is located. In some embodiments, in a home installation scenario, the farthest detection distance in side installation is 5m, and the farthest detection distance in top installation is 3m.

[0070] In the embodiments of the present specification, for each period, the farthest distance detected in that period is recorded as the target farthest distance, and the cumulative score can be calculated by the following formula:

[0071]

[0072] where S is the cumulative score, K1 is the first detection time, K2 is the second detection time, λ is a constant greater than 1, D is the target farthest distance, and D′ is the default farthest detection distance when installed in a side-mounted manner.

[0073] As can be seen from the above formula, in the side-mounted mode, since K1 and K2 are approximately the same and D - D' is approximately zero, the cumulative score S is close to 1. In the top-mounted mode, K2 is much larger than K1 and D - D' is not zero. Therefore, the cumulative score S is relatively large. Based on this, when determining the target installation mode of the radar, if the cumulative score corresponding to the current period is less than the first preset value, it can be determined that the target installation mode is the side-mounted mode; if the cumulative score corresponding to the current period is greater than the second preset value, it can be determined that the target installation mode is the top-mounted mode. The first preset value and the second preset value can be set according to actual needs and are not limited here.

[0074] In the embodiments of this specification, in order to make the determined target installation mode more accurate, the target installation mode can also be determined based on the cumulative scores corresponding to multiple periods. The specific steps are as follows: Obtain N cumulative scores corresponding one by one to N periods before the current period, where N is a positive integer; perform an averaging process on the N cumulative scores and the cumulative score corresponding to the current period to obtain an average cumulative score; determine the target installation mode based on the average cumulative score.

[0075] Specifically, for the N periods before the current period and the current period, the cumulative score corresponding to each period can be calculated through the above formula, which are S1, S2... Sn+1 respectively. Further, an average value calculation is performed on all the cumulative scores to obtain an average cumulative score, and the target installation mode is determined according to the average cumulative score. Among them, the value of N can be selected according to actual needs and is not limited here.

[0076] In some embodiments, the target installation mode can be determined through the following steps: If the average cumulative score is less than the third threshold, determine that the target installation mode is side-mounted; if the average cumulative score is greater than the fourth threshold, determine that the target installation mode is top-mounted.

[0077] When the average cumulative score is less than the third threshold, it indicates that in these multiple periods, the difference between the first detection times and the second detection times is relatively small, which means the radar is in the side-mounted mode. When the average cumulative score is greater than the fourth threshold, it indicates that in these multiple periods, the difference between the first detection times and the second detection times is relatively large, which means the radar is in the top-mounted mode. Among them, the third threshold and the fourth threshold can be set according to actual needs and are not limited here, as long as the third threshold is less than or equal to the fourth threshold.

[0078] In the embodiments of this specification, the following steps can also be included: Compare the target installation mode with the preset installation mode stored in the radar; if the target installation mode is different from the preset installation mode, generate a reminder message to remind the user that the radar installation mode has changed.

[0079] In some embodiments, the preset installation method can be manually input when the radar is initially installed. In other embodiments, the installation method of the radar can be calculated and stored by the method provided above at a preset frequency, and then the preset installation method can be the installation method of the radar calculated and stored last time. If the target installation method is different from the preset installation method, it indicates that the installation method of the radar has changed. To ensure the effective operation of the radar, at this time, a reminder message can be generated and the user can be reminded to confirm the installation method of the radar in time by means of sound and light reminder or pushing the reminder message to the user terminal. At the same time, information about the radar failure can also be sent to the server or the associated devices of the radar.

[0080] In summary, the solution provided in the embodiments of this specification can effectively calibrate the installation method of the radar without manual participation. By alternately transmitting different waveforms, the installation method of the radar can be determined based on the number of target detections under different waveforms without adding additional antennas or other modules, which is simple to implement and reduces the volume of the radar. In addition, in the embodiments of this specification, by alternately transmitting the frequency-modulated continuous wave waveform and the Doppler waveform, the detection ability deficiency of the frequency-modulated continuous wave at large angles can be effectively compensated, and the large-angle detection ability of the radar is improved.

[0081] Based on the same inventive concept, an embodiment of the present invention provides a device for determining the installation method of a radar, as Figure 4 shown. The device includes:

[0082] A transmitting module 401, configured to control the radar to alternately transmit a first waveform and a second waveform;

[0083] A detection times determination module 402, configured to determine a first detection times of a target in the radar detection area based on the first waveform and a second detection times of the target in the radar detection area based on the second waveform during the process of the radar alternately transmitting the first waveform and the second waveform;

[0084] A processing module 403, configured to determine the target installation method of the radar based on the first detection times and the second detection times.

[0085] In some embodiments, the device further includes:

[0086] An adjustment module, configured to adjust the transmission parameters of the first waveform and the transmission parameters of the second waveform, so that the maximum detection distances of the first waveform and the second waveform are both the target distance.

[0087] In some embodiments, the first waveform is a frequency-modulated continuous wave waveform, and the adjustment module is configured to:

[0088] Adjust the intermediate frequency sampling rate and the frequency modulation slope corresponding to the first waveform so that the farthest detection distance of the first waveform is the target distance.

[0089] In some embodiments, the second waveform is a Doppler waveform, and the adjustment module is configured to:

[0090] Adjust the transmission power corresponding to the second waveform so that the farthest detection distance of the second waveform is the target distance.

[0091] In some embodiments, the processing module 403 is configured to:

[0092] If the absolute value of the difference between the first detection times and the second detection times is less than a first threshold, determine that the target installation method is side-mounted;

[0093] If the absolute value of the difference between the first detection times and the second detection times is greater than a second threshold, determine that the target installation method is top-mounted.

[0094] In some embodiments, the processing module 403 is configured to:

[0095] Determine the farthest distance detected by the radar in the current period as the target farthest distance;

[0096] Based on the first detection times, the second detection times, the target farthest distance, and the default farthest detection distance corresponding to the radar when it is side-mounted, determine the cumulative score corresponding to the current period, and the cumulative score is used to measure the installation method of the radar;

[0097] Based on the cumulative score corresponding to the current period, determine the target installation method.

[0098] In some embodiments, the device further includes:

[0099] An acquisition module, configured to acquire N cumulative scores corresponding one by one to N periods before the current period, where N is a positive integer;

[0100] The processing module 403 is configured to perform an averaging process on the N cumulative scores and the cumulative score corresponding to the current period to obtain an average cumulative score; based on the average cumulative score, determine the target installation method.

[0101] In some embodiments, the processing module 403 is configured to:

[0102] If the average cumulative score is less than a third threshold, determine that the target installation method is side-mounted;

[0103] If the average cumulative score is greater than the fourth threshold, determine that the target installation method is top-mounted.

[0104] In some embodiments, the device further includes:

[0105] A comparison module, configured to compare the target installation method with a preset installation method stored in the radar;

[0106] A reminder module, configured to generate a reminder message if the target installation method is different from the preset installation method, so as to remind the user that the radar installation method has changed.

[0107] Regarding the above device, the specific functions of each module have been described in detail in the embodiments of the radar installation method determination method provided in this specification, and will not be elaborated here.

[0108] Based on the same inventive concept, an embodiment of the present invention provides an electrical device. Referring to Figure 5 as shown, it includes: a memory 504, a processor 502, and a computer program stored on the memory 504 and executable on the processor 502. When the processor 502 executes the program, it implements any one of the embodiments of the radar installation method determination method.

[0109] Among them, in Figure 5 , the bus architecture (represented by bus 500), the bus 500 may include any number of interconnected buses and bridges. The bus 500 links various circuits including one or more processors represented by the processor 502 and a memory represented by the memory 504 together. The bus 500 may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art, and therefore will not be further described herein. The bus interface 505 provides an interface between the bus 500 and the receiver 501 and the transmitter 503. The receiver 501 and the transmitter 503 may be the same element, that is, a transceiver, which provides a unit for communicating with various other devices on the transmission medium. The processor 502 is responsible for managing the bus 500 and general processing, while the memory 504 may be used to store data used by the processor 502 when performing operations.

[0110] The functions described herein can be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions can be stored on or transmitted via a computer-readable medium as one or more instructions or code. Other examples and implementations are within the scope and spirit of the present invention and the appended claims. For example, due to the nature of software, the functions described above can be implemented using software executed by a processor, hardware, firmware, hardwiring, or any combination thereof. In addition, each functional unit can be integrated in one processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.

[0111] In several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units can be a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of units or modules can be in an electrical or other form.

[0112] The units described as separate components may or may not be physically separated. The components serving as control devices may or may not be physical units, that is, they can be located in one place or distributed to multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0113] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks, or optical discs, and other media that can store program codes.

[0114] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the scope of the claims of the present invention.

Claims

1. A method for determining a radar installation method, characterized in that, comprising: Controlling the radar to alternately transmit a first waveform and a second waveform; During the process of the radar alternately transmitting the first waveform and the second waveform, determining the first detection times of targets within the radar detection area based on the first waveform and the second detection times of targets within the radar detection area based on the second waveform in the current period; Based on the first detection times and the second detection times, determining the target installation method of the radar.

2. The method according to claim 1, characterized in that, Before controlling the radar to alternately transmit a first waveform and a second waveform, the method further comprises: Adjusting the transmission parameters of the first waveform and adjusting the transmission parameters of the second waveform so that the farthest detection distances of the first waveform and the second waveform are both the target distance.

3. The method according to claim 2, characterized in that, The first waveform is a frequency-modulated continuous wave waveform, and the adjusting the transmission parameters of the first waveform includes: Adjusting the intermediate frequency sampling rate and the frequency modulation slope corresponding to the first waveform so that the farthest detection distance of the first waveform is the target distance.

4. The method according to claim 2, characterized in that, The second waveform is a Doppler waveform, and the adjusting the transmission parameters of the second waveform includes: Adjusting the transmission power corresponding to the second waveform so that the farthest detection distance of the second waveform is the target distance.

5. The method according to claim 1, characterized in that, The determining the target installation method of the radar based on the first detection times and the second detection times includes: If the absolute value of the difference between the first detection times and the second detection times is less than a first threshold, determining that the target installation method is side-mounted; If the absolute value of the difference between the first detection times and the second detection times is greater than a second threshold, determining that the target installation method is top-mounted.

6. The method according to claim 1, characterized in that, The determining the target installation method of the radar based on the first detection times and the second detection times includes: Determining the farthest distance detected by the radar in the current period as the target farthest distance; Based on the first detection times, the second detection times, the target farthest distance, and the default farthest detection distance corresponding to the radar when installed in a side-mounted manner, determining the cumulative score corresponding to the current period, and the cumulative score is used to measure the installation method of the radar; Based on the cumulative score corresponding to the current period, determining the target installation method.

7. The method according to claim 6, characterized in that, The method further comprises: obtaining N cumulative scores corresponding one by one to N periods before the current period, where N is a positive integer; The determining the target installation method based on the cumulative score corresponding to the current period includes: performing an averaging process on the N cumulative scores and the cumulative score corresponding to the current period to obtain an average cumulative score; Based on the average cumulative score, determining the target installation method.

8. The method according to claim 7, wherein, determining the target installation method based on the average cumulative score includes: if the average cumulative score is less than a third threshold, determining the target installation method as side installation; if the average cumulative score is greater than a fourth threshold, determining the target installation method as top installation.

9. The method according to claim 1, wherein, after determining the target installation method of the radar, the method further includes: comparing the target installation method with a preset installation method stored in the radar; if the target installation method is different from the preset installation method, generating a reminder message to remind the user that the radar installation method has changed.

10. A device for determining a radar installation method, wherein, comprising: a transmitting module, configured to control the radar to alternately transmit a first waveform and a second waveform; a detection times determination module, configured to determine a first detection times of a target in a radar detection area based on the first waveform and a second detection times of the target in the radar detection area based on the second waveform during the process that the radar alternately transmits the first waveform and the second waveform; a processing module, configured to determine the target installation method of the radar based on the first detection times and the second detection times.

11. An electrical equipment, wherein, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, the method according to any one of claims 1-9 is implemented.

12. A computer-readable storage medium, wherein, a computer program is stored thereon, and when the program is executed by a processor, the steps of the method according to any one of claims 1-9 are implemented.