CN112217578A - Frequency adjustment method, device, equipment and readable computer storage medium - Google Patents

Frequency adjustment method, device, equipment and readable computer storage medium Download PDF

Info

Publication number
CN112217578A
CN112217578A CN201910627709.7A CN201910627709A CN112217578A CN 112217578 A CN112217578 A CN 112217578A CN 201910627709 A CN201910627709 A CN 201910627709A CN 112217578 A CN112217578 A CN 112217578A
Authority
CN
China
Prior art keywords
signal
frequency
amplitude
working frequency
hardware module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910627709.7A
Other languages
Chinese (zh)
Other versions
CN112217578B (en
Inventor
宋扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Horizon Robotics Technology Research and Development Co Ltd
Original Assignee
Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Horizon Robotics Technology Research and Development Co Ltd filed Critical Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority to CN201910627709.7A priority Critical patent/CN112217578B/en
Publication of CN112217578A publication Critical patent/CN112217578A/en
Application granted granted Critical
Publication of CN112217578B publication Critical patent/CN112217578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B15/00Suppression or limitation of noise or interference

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Radar Systems Or Details Thereof (AREA)
  • Transmitters (AREA)

Abstract

The invention discloses a frequency adjusting method, a device, equipment and a readable computer storage medium. The frequency adjustment method of the hardware module comprises the following steps: mixing a first signal corresponding to a first working frequency of a hardware module with a second signal corresponding to a second working frequency to obtain a mixed third signal; determining a first amplitude based on the third signal; and if the first amplitude meets a preset condition, adjusting the first working frequency to a third working frequency. Therefore, the working frequency of the hardware module can be adjusted through the preset condition, and then the working frequency of the hardware module can be controlled, so that the hardware module can be effectively controlled to work within the set working frequency range, and the working stability of the hardware module within the set working frequency range is higher.

Description

Frequency adjustment method, device, equipment and readable computer storage medium
Technical Field
The present application relates to the field of electromagnetic technology, and in particular, to a method, an apparatus, a device, and a readable computer storage medium for frequency adjustment.
Background
With the rapid development of the automatic driving technology, mass production products are available in the market for road test. The autopilot system, unlike entertainment systems such as tbox, plays a crucial role in relation to vehicle safety. The environment of the automobile is worse than that of ordinary families and industrial environments, for example, the automobile can pass through areas with strong electromagnetic wave radiation, such as communication radar base stations, high-voltage line towers and the like. Compared with the traditional ECU circuit, the automatic driving module is often integrated with more IC chips, the working frequency range is higher, and high-frequency strong electromagnetic interference is more easily received, so that IC misoperation and even damage are caused, and the driving safety of the automobile is influenced.
In the prior art, in order to solve the problem of electromagnetic interference in automatic driving, interference hardware such as hardware filtering and hardware shielding is generally used for protection, but potential failure problems exist along with long-time use of the interference hardware, and the problem that the pure hardware protection is not easy to find once the pure hardware protection fails.
Disclosure of Invention
The present application is proposed to solve the above-mentioned technical problems. Embodiments of the present application provide a frequency adjustment method, apparatus, device, and readable computer storage medium, which can effectively reduce the probability of failure of electromagnetic interference protection due to failure of a pure hardware electromagnetic interference protection method by adjusting the actual operating frequency of a hardware module, so that the stability of electromagnetic interference protection is higher.
According to an aspect of the present application, there is provided a method for adjusting a frequency of a hardware module, including:
mixing a first signal corresponding to a first working frequency of a hardware module with a second signal corresponding to a second working frequency to obtain a mixed third signal;
determining a first amplitude based on the third signal;
and if the first amplitude meets a preset condition, adjusting the first working frequency to a third working frequency.
According to another aspect of the present application, there is provided a frequency adjustment apparatus of a hardware module, including:
the frequency mixing unit is used for mixing a first signal corresponding to a first working frequency of the hardware module with a second signal corresponding to a second working frequency to obtain a third signal after frequency mixing;
an amplitude determination unit for determining a first amplitude based on the third signal;
and the frequency adjusting unit is used for adjusting the first working frequency to a third working frequency if the first amplitude meets a preset condition.
According to another aspect of the present application, there is provided a computer-readable storage medium storing a computer program for executing the frequency adjustment method of the above-described hardware module.
According to another aspect of the present application, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; the processor is used for executing the frequency adjusting method of the hardware module.
The method comprises the following steps of mixing a first signal corresponding to a first working frequency of a hardware module with a second signal corresponding to a second working frequency to obtain a mixed third signal; determining a first amplitude based on the third signal; if the first amplitude meets a preset condition, the first working frequency is adjusted to a third working frequency, and the third working frequency can be controlled not to meet the preset condition; therefore, the working frequency of the hardware module is controlled through the preset condition, and then the working frequency of the hardware module can be controlled within the set working frequency range of the hardware module.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in more detail embodiments of the present application with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a flowchart illustrating a method for adjusting a frequency of a hardware module according to an exemplary embodiment of the present application.
Fig. 2 is a schematic flow chart for determining a third signal according to an exemplary embodiment of the present application.
Fig. 3 is a schematic diagram of a structure for determining a third signal according to another exemplary embodiment of the present application.
Fig. 4 is a flowchart illustrating a step of acquiring a first preset condition according to another exemplary embodiment of the present application.
Fig. 5 is a schematic structural diagram of a hardware structure corresponding to a frequency adjustment method for a hardware module according to another exemplary embodiment of the present application.
Fig. 6 is a block diagram of a frequency adjustment apparatus of a hardware module according to another exemplary embodiment of the present application.
Fig. 7 is a block diagram of a mixing unit according to another exemplary embodiment of the present application.
Fig. 8 is a block diagram of an electronic device provided in an exemplary embodiment of the present application.
Detailed Description
Hereinafter, example embodiments according to the present application will be described in detail with reference to the accompanying drawings. It should be understood that the described embodiments are only some embodiments of the present application and not all embodiments of the present application, and that the present application is not limited by the example embodiments described herein.
Summary of the application
As described above, in order to solve the problem of electromagnetic interference in automatic driving, usually, interference hardware such as hardware filtering and hardware shielding is used for protection, but as the interference hardware is used for a long time, a potential failure problem exists, and a problem that the pure hardware protection is not easy to find once the hardware protection fails exists, so how to effectively reduce the probability of failure of electromagnetic interference protection, and ensure the stability of electromagnetic interference protection.
Based on the technical problem, the basic concept of the present application is to mix a first signal corresponding to a first operating frequency of a hardware module with a second signal corresponding to a second operating frequency to obtain a third signal; and when the first amplitude corresponding to the third signal is detected to meet the preset condition, the first working frequency is adjusted to be a third working frequency, and the amplitude corresponding to the third working frequency can be controlled not to meet the preset condition.
And if the first amplitude accords with the preset condition, adjusting the working frequency, wherein the implicit circulation condition is that the working frequency is adjusted when the amplitude accords with the preset condition every time, and the working frequency is not adjusted when the amplitude does not accord with the preset condition, so that the working frequency of the hardware module can be controlled through the circulation.
Having described the general principles of the present application, various non-limiting embodiments of the present application will now be described with reference to the accompanying drawings.
Exemplary method
Fig. 1 is a method for adjusting a frequency of a hardware module according to an exemplary embodiment of the present application. The embodiment can be applied to an electronic device, as shown in fig. 1, and includes the following steps:
step 101, mixing a first signal corresponding to a first operating frequency of a hardware module with a second signal corresponding to a second operating frequency to obtain a mixed third signal.
The hardware module comprises hardware such as a positioning chip, a horizontal sensor, an angular velocity sensor, an acceleration sensor, a central processing unit, a mobile communication chip and a vehicle body control chip. And the first working frequency is an actual working frequency point of the hardware module. The second working frequency is an ideal working frequency point of the hardware module, and the SOC central processing unit stores the frequency information in a truth table form into the RAM.
Step 102, determining a first amplitude based on the third signal.
Step 103, if the amplitude of the third signal meets a preset condition, adjusting the first working frequency to a third working frequency.
Specifically, after the amplitude of the third signal is obtained, it is detected whether the amplitude of the third signal meets the preset condition, and if the amplitude of the third signal meets the preset condition, it is proved that the hardware module is subjected to electromagnetic interference, so step 103 is executed to adjust the first operating frequency to the third operating frequency, and store the third operating frequency in the RAM. And the third working frequency is within the working frequency range of the hardware module, and is used for determining that the hardware module after the frequency adjustment can work normally. If not, the hardware module is proved not to be subjected to electromagnetic interference, and the first working frequency is not adjusted.
In an embodiment, a fourth operating frequency corresponding to the third operating frequency stored in the RAM needs to be obtained, where the fourth operating frequency is an ideal operating frequency of the hardware module after the frequency adjustment. The above step 101-103 is repeated until the preset condition is not met, and the frequency does not need to be adjusted.
Because the preset condition is related to the amplitude, the amplitude corresponding to the actual working frequency of the hardware module can be checked through the preset condition, and then whether the hardware module receives electromagnetic interference under the current ideal working frequency is judged, so that the working stability of the hardware module can be effectively controlled, the stability of electromagnetic interference protection is promoted to be improved, and the probability of electromagnetic interference protection failure caused by failure of a pure hardware electromagnetic interference protection method can be effectively reduced.
The following layout is a next level flow chart, which is combined from the embodiments, each from the embodiments as the case may be, but includes at least the upper features, for example:
as shown in fig. 2, on the basis of the embodiment shown in fig. 1, step 101 may include the following steps:
step 1011, inputting the analog signal corresponding to the second operating frequency into the voltage-controlled oscillator, and determining the second signal.
Step 1012, inputting the first signal and the second signal into a mixer, and determining the third signal.
In step 1011, the ideal working frequency point of the hardware module is first read from the RAM, and the ideal working frequency point is used as the second working frequency; after the second working frequency is obtained, if the second working frequency is a digital signal, the digital signal corresponding to the second working frequency needs to be converted into an analog signal through a digital-to-analog converter, then a model signal corresponding to the second working frequency is input into the voltage-controlled oscillator, a sine wave with the second working frequency is obtained, and the obtained sine wave is used as the second signal. And if the second working frequency is represented by an analog signal, directly inputting the analog signal corresponding to the second working frequency into the voltage-controlled oscillator to obtain a sine wave with the second working frequency and using the sine wave as the second signal.
In this embodiment of the application, in step 1012, the actual working frequency point of the hardware is obtained through a real-time detection manner, and the obtained actual working frequency point is used as the first working frequency, and then the analog signal corresponding to the first working frequency is input into the voltage-controlled oscillator, so as to obtain a sine wave with the frequency of the first working frequency and use the sine wave as the first signal.
Specifically, after the first signal is acquired, the first signal and the second signal are input to the mixer, an intermediate frequency signal corresponding to the first signal and the second signal is obtained, and the obtained intermediate frequency signal is used as the third signal.
For example, referring to fig. 3, if the hardware module is a positioning sensor, an ideal operating frequency of the positioning sensor is f1, since f1 is usually stored as a digital signal, f1 needs to be converted from the digital signal to an analog signal to obtain an analog signal corresponding to f1, the analog signal corresponding to f1 is the second operating frequency 31, and then the analog signal corresponding to f1 is input to the voltage-controlled oscillator 32, and the voltage-controlled oscillator 32 functions to output a sine wave with a frequency of f1, that is, the second signal 320 to the mixer 33; at this time, the first signal 30 detected in real time is also input to the mixer 33.
If the first operating frequency corresponding to the first signal 30 is f2, when both the first signal 30 and the second signal 320 are input to the mixer 33, the mixer 33 processes the first signal 30 and the second signal 320 to obtain intermediate frequency signals of f1-f2, and uses the intermediate frequency signals as the third signal.
In the embodiment of the present application, the first signal and the second signal are input to the mixer to obtain the third signal, and due to the action of the mixer, the first signal can be moved to the position of the intermediate frequency without distortion, so that in the subsequent processing process performed on the basis of higher accuracy of the first signal, the accuracy of the subsequently processed data is also higher.
In the embodiment of the present application, on the basis of the embodiment shown in fig. 1, step 102 may include the following steps:
step 1021, inputting the third signal into a low-pass filter to obtain a low-pass filtered fourth signal;
specifically, the fourth signal is obtained by low-pass filtering the third signal with the low-pass filter.
Step 1022, inputting the fourth signal into an envelope detector, and determining the first amplitude.
Specifically, after the fourth signal is obtained, the amplitude of the fourth signal is obtained, and the amplitude of the fourth signal is taken as the first amplitude.
In this embodiment, after the first signal and the second signal are input to a mixer and the third signal is determined, the third signal is input to a low-pass filter for low-pass filtering, so as to obtain the fourth signal.
In an embodiment of the present application, a center frequency of the low-pass filter is a preset fixed value, when the frequency of the third signal is greater than the signal with the preset fixed value, the signal with the frequency of the third signal not greater than the preset fixed value can normally pass through the low-pass filter.
In the embodiment of the present application, the preset fixed value is usually set according to an empirical value, for example, the preset fixed value may be 10 mhz.
For example, with continued reference to fig. 3, the mixer 33 mixes the first signal 30 and the second signal 320 to obtain a third signal, wherein the first operating frequency f1 of the first signal is 220 mhz, the second operating frequency f2 of the second signal is 200 mhz, and the frequencies f1-f2 of the third signal are 20 mhz. After the third signal is obtained, the third signal is input to the low pass filter 34, the center frequency of the low pass filter 34 is 10 mhz, so the low pass filter 34 prohibits the 10-20 mhz frequency from passing, i.e., filters out the amplitude.
Thus, the center frequency of the low-pass filter is a preset fixed value, when the frequency of the third signal is greater than the preset fixed value, the signal can normally pass through, and the frequency of the third signal is not greater than the preset fixed value, and because the third signal is the intermediate frequency signal of the first signal and the second signal, it is ensured that the intermediate frequency signal not greater than the preset fixed value can normally pass through, the intermediate frequency signal greater than the preset fixed value is filtered, and the difference between the actual working frequency point and the ideal working frequency point of the hardware module is larger if the intermediate frequency signal is larger, otherwise, the difference between the actual working frequency point and the ideal working frequency point of the hardware module is smaller if the intermediate frequency signal is smaller, and the intermediate frequency signal greater than the preset fixed value is filtered, so that the signal when the difference between the actual working frequency point and the ideal working frequency point of the hardware module is larger can be filtered, the signal that ensures when the difference between the actual working frequency point of hardware module and the ideal working frequency point is less can normally pass through, effectively ensures promptly that the actual working frequency of hardware module is in the signal when near the ideal working frequency point can be passed through to and effectively avoid the actual working frequency of hardware module keeps away from signal when the working frequency point forbids to pass through.
In addition, when the actual working frequency of the hardware module is not near the working frequency point, the hardware module is usually in an abnormal working state, and when the actual working frequency of the hardware module is near the working frequency point, the hardware module is usually in a normal working state; therefore, the frequency of detection of the hardware module in abnormal working can be effectively reduced, targeted detection is realized, the frequency of detection is effectively reduced, and the working efficiency of detection is improved.
In another embodiment of the present application, as shown in fig. 4, the step of obtaining the preset condition includes the following steps:
step 401, determining a second amplitude corresponding to the second operating frequency from a preset corresponding relation table, where the corresponding relation table is used to record a corresponding relation between the operating frequency and the amplitude of the hardware module;
step 402, determining the preset condition based on the second amplitude.
In step 401, since the correspondence between the ideal operating frequency and the amplitude of the hardware module is recorded in the correspondence table, after the second operating frequency is obtained, the second operating frequency is searched from the first correspondence table, the searched amplitude corresponding to the second operating frequency is used as the second amplitude, and the amplitude larger than the second amplitude is used as the preset condition.
In this embodiment of the application, for example, if the second operating frequency f2 is 200 mhz, the amplitude corresponding to 200 mhz is found to be 30dBuV from the correspondence table, and 30dBuV may be used as the second amplitude.
Step 402 is executed, after the second amplitude is obtained in step 401, the preset condition is determined according to the second amplitude, where the preset condition may be that the second amplitude is greater than the preset condition, and that the second amplitude is greater than 30dBuV is determined as the preset condition.
Specifically, when the first amplitude is greater than 30dBuV, it may be determined that the first amplitude satisfies the preset condition; when the first amplitude value is not greater than 30dBuV, it may be determined that the first amplitude value does not meet the preset condition.
For example, with continued reference to fig. 3, after the third signal passes through the low-pass filter 34 in sequence, the fourth signal is obtained, and then the fourth signal is input to the envelope detector 35 for detection, so as to obtain the first amplitude; at this time, since the first amplitude is represented by an analog signal, the first amplitude needs to be analog-to-digital converted by an ADC conversion circuit 37 (analog-to-digital converter) to obtain a digital signal corresponding to the first amplitude; and inputting the obtained digital signal corresponding to the first amplitude into a central processing unit 36, reading the second amplitude from an RAM by the central processing unit 36, judging whether the first amplitude is greater than the second amplitude, if so, judging that the first amplitude meets the preset condition, and adjusting the first working frequency to a third working frequency, wherein the amplitude corresponding to the third working frequency is not greater than the second amplitude.
In addition, after the third operating frequency is determined, an ideal operating frequency corresponding to the third operating frequency is determined from the RAM as the fourth operating frequency, and then the steps 101 and 103 are repeated until the preset condition is not met, without adjusting the frequency
At this time, since the second amplitude is determined according to the second operating frequency and the preset condition is determined based on the second amplitude, as such, it can be deduced that the predetermined condition is determined according to the second operating frequency, and if the predetermined condition is greater than the second amplitude, when it is adhered to that the first amplitude is greater than the second amplitude, it can be known that the amplitude corresponding to the second operating frequency exceeds the amplitude corresponding to the normal operating frequency of the hardware module, it can be known that other hardware causes electromagnetic interference to the hardware module, so that the amplitude of the operating frequency of the hardware module exceeds the limit, and thus, by the method, the condition that other hardware causes electromagnetic interference to the hardware module can be accurately judged in real time, and the phenomenon of electromagnetic interference can be accurately and timely found.
In the embodiment of the present application, referring to fig. 5, a hardware structure corresponding to the frequency adjustment method of the hardware module is provided, wherein the multiple sensors 40, the mobile communication chip 41 and the vehicle body control chip 43 are all connected to the central processing unit 36, so that the central processing unit 36 can obtain the working frequency of each of the multiple sensors 40, the mobile communication chip 41 and the vehicle body control chip 43 in real time. And, the central processing unit 36 is connected to a Random Access Memory (RAM)44, and is configured to store the ideal operating frequency point information of each chip into the RAM 44 in a truth table form, and set a magnitude (limit) corresponding to the ideal operating frequency point of each chip.
Specifically, if the plurality of sensors 40 includes a positioning sensor, an angular velocity sensor, and an acceleration sensor, the data stored in the random access memory 44 is specifically shown in table 1 below:
Figure BDA0002127630740000101
Figure BDA0002127630740000111
TABLE 1
The central processing unit 36 is connected to the mixer 33 through the DAC conversion circuit 43, and is configured to perform digital-to-analog conversion on the ideal working frequency point of each chip through the DAC conversion circuit 43 and input the converted ideal working frequency point to the mixer 33; the antenna 45 collects the actual operating frequency of each chip in real time, and then inputs the actual operating frequency of each chip into the mixer 33, so that the intermediate frequency signals of the actual operating frequency point and the ideal operating frequency point of each chip can be obtained through the mixer 33.
Further, after the intermediate frequency signal corresponding to each chip is obtained by the mixer 33, the mixer 33 inputs the intermediate frequency signal of each chip into the envelope detector 34, and the amplitude corresponding to the actual operating frequency of each chip is obtained through the detection function of the envelope detector 34; then, the amplitude corresponding to the actual working frequency of each chip detected by the envelope detector 34 is converted into a digital signal by the ADC conversion circuit 37, and then returned to the central processing unit 36; the central processing unit 36 reads the limit value corresponding to each chip from the random access memory 44, and detects whether the amplitude value corresponding to the actual working frequency of each chip exceeds the corresponding limit value; and for each chip, if the amplitude corresponding to the actual working frequency of the chip exceeds the corresponding limit value, adjusting the working frequency of the chip until the amplitude corresponding to the adjusted working frequency does not exceed the corresponding limit value, ensuring that the adjusted working frequency is within a set working frequency range corresponding to the normal work of the chip, and taking the adjusted working frequency as the third working frequency.
For example, taking the mobile communication chip 41 as an example, when the cpu 36 receives the maximum amplitude P corresponding to the actual operating frequency of the mobile communication chip 41 detected by the envelope detector 34, at this time, the cpu 36 reads the out-of-limit amplitude D1 corresponding to the mobile communication chip 41 from table 1 in the random access memory 44, and if P > D1, adjusts the operating frequency of the mobile communication chip 41 until the amplitude corresponding to the adjusted operating frequency does not exceed D1, and ensures that the adjusted operating frequency is within the set operating frequency range corresponding to the normal operation of the mobile communication chip 41, at this time, the adjusted operating frequency is taken as the third operating frequency.
Therefore, by the above mode, when the amplitude corresponding to the actual working frequency of one chip is detected to exceed the corresponding limit value, the working frequency of the chip is adjusted until the amplitude corresponding to the adjusted working frequency does not exceed the corresponding limit value, and the adjusted working frequency is ensured to be within the set working frequency range corresponding to the normal work of the chip.
Exemplary devices
Based on the same technical concept as the above method, as shown in fig. 6, an exemplary embodiment of the present application further provides a frequency adjustment apparatus for a hardware module, including:
a frequency mixing unit 601, configured to mix a first signal corresponding to a first operating frequency of a hardware module with a second signal corresponding to a second operating frequency of the hardware module to obtain a mixed third signal;
an amplitude determining unit 602, configured to determine a first amplitude based on the third signal;
the frequency adjusting unit 603 is configured to adjust the first operating frequency to a third operating frequency if the first amplitude meets a preset condition.
In an alternative, as shown in fig. 7, the mixing unit 601 includes:
a first signal determining module 6011, configured to input an analog signal corresponding to the first operating frequency into a voltage-controlled oscillator, and determine the first signal; and
a mixing module 6012, configured to input the first signal and the second signal into a mixer, and determine the third signal.
In an alternative, the amplitude determining unit 602 includes:
the low-pass filtering module is used for inputting the third signal into a low-pass filter to obtain a low-pass filtered fourth signal;
and the detection module is used for inputting the fourth signal into an envelope detector and determining the first amplitude.
In an optional manner, the frequency adjustment apparatus further includes:
a preset condition determining unit, configured to determine a second amplitude corresponding to the second operating frequency from a preset correspondence table, where the correspondence table is used to record a correspondence between the operating frequency and the amplitude of the hardware module; determining the preset condition based on the second amplitude.
In an alternative, the frequency adjustment apparatus includes: the first working frequency is an actual working frequency point of the hardware module, and the second working frequency is an ideal working frequency point of the hardware module.
Exemplary electronic device
An exemplary embodiment of the present application also provides an electronic device, as shown in fig. 8, the electronic device 80 includes one or more processors 81 and a memory 82.
The processor 81 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 80 to perform desired functions.
Memory 82 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by the processor 81 to implement the sound source localization methods of the various embodiments of the present application described above and/or other desired functions. Various contents such as an input signal, a signal component, a noise component, etc. may also be stored in the computer-readable storage medium.
In one example, the electronic device 80 may further include: an input device 83 and an output device 84, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
The input device 83 may also include, for example, a keyboard, a mouse, and the like.
The output device 84 may output various information including the determined distance information, direction information, and the like to the outside. The output devices 84 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, among others.
Of course, for simplicity, only some of the components of the electronic device 80 relevant to the present application are shown in fig. 8, and components such as buses, input/output interfaces, and the like are omitted. In addition, the electronic device 80 may include any other suitable components depending on the particular application.
Exemplary computer program product and computer-readable storage Medium
In addition to the above-described methods and apparatus, embodiments of the present application may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the image recognition methods according to various embodiments of the present application described in the "exemplary methods" section of this specification, supra.
The computer program product may be written with program code for performing the operations of embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform steps in an image recognition method according to various embodiments of the present application described in the "exemplary methods" section above of this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present application in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present application are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present application. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the foregoing disclosure is not intended to be exhaustive or to limit the disclosure to the precise details disclosed.
The block diagrams of devices, apparatuses, systems referred to in this application are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
It should also be noted that in the devices, apparatuses, and methods of the present application, the components or steps may be decomposed and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the application to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (10)

1. A frequency adjustment method of a hardware module comprises the following steps:
mixing a first signal corresponding to a first working frequency of a hardware module with a second signal corresponding to a second working frequency to obtain a mixed third signal;
determining a first amplitude based on the third signal;
and if the first amplitude meets a preset condition, adjusting the first working frequency to a third working frequency.
2. The method of claim 1, wherein the mixing a first signal corresponding to a first operating frequency of a hardware module with a second signal corresponding to a second operating frequency of the hardware module, and determining a mixed third signal comprises:
inputting an analog signal corresponding to the second working frequency into a voltage-controlled oscillator, and determining the second signal;
inputting the first signal and the second signal into a mixer, and determining the third signal.
3. The frequency adjustment method of claim 2, the determining a first amplitude based on the third signal comprising:
inputting the third signal into a low-pass filter to obtain a low-pass filtered fourth signal;
inputting said fourth signal into an envelope detector, determining said first amplitude.
4. A method of frequency adjustment as claimed in any one of claims 1 to 3, the method further comprising:
determining a second amplitude corresponding to the second working frequency from a preset corresponding relation table, wherein the corresponding relation table is used for recording the corresponding relation between the working frequency and the amplitude of the hardware module;
determining the preset condition based on the second amplitude.
5. The method according to any one of claims 1 to 4, wherein the first operating frequency is an actual operating frequency point of the hardware module, and the second operating frequency is an ideal operating frequency point of the hardware module.
6. A frequency adjustment apparatus of a hardware module, comprising:
the frequency mixing unit is used for mixing a first signal corresponding to a first working frequency of the hardware module with a second signal corresponding to a second working frequency to obtain a third signal after frequency mixing;
an amplitude determination unit for determining a first amplitude based on the third signal;
and the frequency adjusting unit is used for adjusting the first working frequency to a third working frequency if the first amplitude meets a preset condition.
7. The frequency adjustment apparatus of claim 6, the mixing unit comprising:
the first signal determining module is used for inputting the analog signal corresponding to the first working frequency into the voltage-controlled oscillator and determining the first signal; and
and the frequency mixing module is used for inputting the first signal and the second signal into a frequency mixer and determining the third signal.
8. The frequency adjustment apparatus of claim 7, further comprising:
the low-pass filtering module is used for inputting the third signal into a low-pass filter to obtain a low-pass filtered fourth signal;
and the detection module is used for inputting the fourth signal into an envelope detector and determining the first amplitude.
9. A computer-readable storage medium storing a computer program for executing the frequency adjustment method according to any one of claims 1 to 5.
10. An electronic device, the electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to perform the frequency adjustment method according to any one of claims 1 to 5.
CN201910627709.7A 2019-07-12 2019-07-12 Frequency adjustment method, device, equipment and readable computer storage medium Active CN112217578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910627709.7A CN112217578B (en) 2019-07-12 2019-07-12 Frequency adjustment method, device, equipment and readable computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910627709.7A CN112217578B (en) 2019-07-12 2019-07-12 Frequency adjustment method, device, equipment and readable computer storage medium

Publications (2)

Publication Number Publication Date
CN112217578A true CN112217578A (en) 2021-01-12
CN112217578B CN112217578B (en) 2022-10-21

Family

ID=74047123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910627709.7A Active CN112217578B (en) 2019-07-12 2019-07-12 Frequency adjustment method, device, equipment and readable computer storage medium

Country Status (1)

Country Link
CN (1) CN112217578B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130265893A1 (en) * 2012-04-04 2013-10-10 Electronics And Telecommunications Research Institute Apparatus for analyzing interference of wireless communication device, and system and method for analyzing interference using the same
CN103983953A (en) * 2014-06-10 2014-08-13 武汉拓宝电子系统有限公司 Method for avoiding mutual interference in radar system
CN205787100U (en) * 2016-06-01 2016-12-07 南京正銮电子科技有限公司 A kind of frequency self adaptation noise trap
CN108810923A (en) * 2017-05-04 2018-11-13 展讯通信(上海)有限公司 AFH interferes the judgment method and device, computer readable storage medium, receiver of frequency point
CN108964789A (en) * 2018-10-16 2018-12-07 Oppo(重庆)智能科技有限公司 Radio frequency interference processing method, device, storage medium and electronic equipment
CN109561642A (en) * 2018-10-26 2019-04-02 Oppo广东移动通信有限公司 Electromagnetic interference control method and Related product

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130265893A1 (en) * 2012-04-04 2013-10-10 Electronics And Telecommunications Research Institute Apparatus for analyzing interference of wireless communication device, and system and method for analyzing interference using the same
CN103983953A (en) * 2014-06-10 2014-08-13 武汉拓宝电子系统有限公司 Method for avoiding mutual interference in radar system
CN205787100U (en) * 2016-06-01 2016-12-07 南京正銮电子科技有限公司 A kind of frequency self adaptation noise trap
CN108810923A (en) * 2017-05-04 2018-11-13 展讯通信(上海)有限公司 AFH interferes the judgment method and device, computer readable storage medium, receiver of frequency point
CN108964789A (en) * 2018-10-16 2018-12-07 Oppo(重庆)智能科技有限公司 Radio frequency interference processing method, device, storage medium and electronic equipment
CN109561642A (en) * 2018-10-26 2019-04-02 Oppo广东移动通信有限公司 Electromagnetic interference control method and Related product

Also Published As

Publication number Publication date
CN112217578B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
JP2020040654A (en) Yaw-angle determination method, yaw-angle determination device, equipment, computer-readable storage medium
US8823580B2 (en) FMCW radar sensor and method for frequency matching
CN109960241B (en) Automatic test method and system for automobile ECU internal calibration meter
CN112217578B (en) Frequency adjustment method, device, equipment and readable computer storage medium
US12046008B2 (en) Pose calibration method, robot and computer readable storage medium
JP2024503917A (en) Motor, its harmonic noise optimization method, and device
CN112346046B (en) Single-target tracking method and system based on vehicle-mounted millimeter wave radar
CN111199142B (en) QAR data processing method, device and system
US9746962B2 (en) Frequency selecting module and related computing device and frequency selecting method
CN110967027B (en) Map correction method and device and electronic equipment
CN115629930B (en) Fault detection method, device, equipment and storage medium based on DSP system
CN109683834B (en) Gerber file conversion precision processing method, system, equipment and storage medium
CN114862961B (en) Position detection method and device for calibration plate, electronic equipment and readable storage medium
CN110967990B (en) Track determination method and device and electronic equipment
CN109284128B (en) Method, device, storage medium and mobile terminal for converting data
CN112148152A (en) Drive processing method and device for input device, electronic device and medium
CN111813365A (en) Method, device and equipment for preventing interruption of multiple rounds of conversations
JP2021140245A (en) Information provision device
US20230359787A1 (en) Information processing apparatus, information processing method, and recording medium
CN114088628B (en) Microscope measuring method
US20140281201A1 (en) Refresh control device, wireless receiver, and semiconductor integrated circuit
CN111669104B (en) Motor driving method, device, terminal and storage medium
US20130221891A1 (en) Motor driver having built in self test function
CN113297943B (en) Equipment auxiliary control technology based on mixed reality
CN109150343B (en) Collision signal detection method and device, communication equipment and storage medium

Legal Events

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