A method for debugging threshold of true and false radio station of car radio

By collecting and generating line graphs to analyze the signal strength, signal-to-noise ratio, and radio frequency offset of the car radio, and automatically adjusting the thresholds, the problem of inaccurate identification of genuine and fake radio stations is solved, improving the driving experience and reducing costs.

CN115185808BActive Publication Date: 2026-07-07NINGBO BIRD E-LINK TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NINGBO BIRD E-LINK TECH CO LTD
Filing Date
2022-03-14
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

In existing technologies, car radios have difficulty efficiently adjusting the thresholds for signal strength, signal-to-noise ratio, and radio frequency offset when automatically searching for stations, leading to inaccurate identification of genuine and fake stations and affecting the driving experience.

Method used

By cyclically collecting signal strength, signal-to-noise ratio, and radio frequency offset data from real and fake radio stations, generating line graphs and analyzing them, a reasonable threshold is automatically determined.

Benefits of technology

It enables efficient and accurate threshold setting, improves the user experience of the radio function, and saves development costs and time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115185808B_ABST
    Figure CN115185808B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of car radio true and false radio threshold debugging method, comprising the following steps: S10, the playing frequency of radio, the time interval of cyclic sampling and the sampling number or sampling duration are set;S20, respectively to a true radio and a false radio are cyclically sampled three-dimensional parameters, wherein, three-dimensional parameters include signal strength, signal-to-noise ratio and radio frequency offset;S30, sampling diary is copied out, and three-dimensional parameter sampling value is extracted from diary;S40, the sampling value of three-dimensional parameter is respectively generated fold line chart, and fold line chart is analyzed, and the threshold of three-dimensional parameter is obtained.The method is cyclically collected three-dimensional parameters by using existing car module to true radio and false radio, so as to obtain a large amount of data, and the threshold of three-dimensional parameter is directly judged by generating fold line chart, test method is simple, test efficiency is high, threshold setting is accurate, and cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method for adjusting a car radio, and more particularly to a method for adjusting the threshold between true and false radio stations on a car radio. Background Technology

[0002] The radio function has always been a classic feature in car applications and one of the most frequently used functions by drivers. Its performance directly impacts the driver's experience. Two common problems arise when using a car radio: one is that the next station found is often a fake station, meaning it plays as static; the other is that after a round of searching, only a few valid stations are found, but when manually set to a familiar frequency, they play—these are genuine stations. In other words, the automatic search function sometimes filters out genuine stations as fake ones.

[0003] The identification of genuine and false stations on a radio is primarily determined by three key metrics: signal strength, signal-to-noise ratio (SNR), and radio frequency offset (RF offset). When searching for stations, the radio software reads these values ​​in 0.1 MHz increments, then uses a preset threshold to determine whether the current frequency is a genuine or false station. This threshold is therefore crucial and directly impacts the user experience. While radio chips typically release reference thresholds at the factory, variations exist when the chip is used in different automotive products, necessitating readjustment of the thresholds based on specific requirements.

[0004] Traditionally, the common method for adjusting thresholds involves adjusting the thresholds specifically based on known problems, then remaking the car infotainment module software (including radio functionality), burning this software to the module, and finally conducting extensive actual station search tests to determine if the adjusted thresholds are reasonable. During these tests, if too many false stations are found, the threshold is increased; if genuine stations are filtered out, the threshold is decreased. As you can imagine, this threshold adjustment method is very inefficient and often relies solely on subjective assessment. Summary of the Invention

[0005] To address the aforementioned problems, this invention provides a method for adjusting the threshold for true and false radio stations on a vehicle-mounted radio, capable of automatically collecting data and, based on a large amount of data, scientifically and intuitively determining the threshold for true and false stations. The specific technical solution is as follows:

[0006] A method for adjusting the threshold between genuine and fake radio stations on a car radio includes the following steps:

[0007] S10. Set the radio's playback frequency, the time interval for cyclic sampling, and the number of samples or sampling duration;

[0008] S20. Perform cyclic sampling of three-dimensional parameters on a real radio station and a fake radio station respectively, wherein the three-dimensional parameters include signal strength, signal-to-noise ratio and radio frequency offset;

[0009] S30. Copy the sampling log and extract the sampled values ​​of the three-dimensional parameters from the log;

[0010] S40. Generate line graphs for the sampled values ​​of the three-dimensional parameters, and analyze the line graphs to obtain the thresholds for the three-dimensional parameters.

[0011] Preferably, in step S10, a test program is written based on the software platform of the vehicle infotainment module.

[0012] Preferably, in step S20, the detected three-dimensional parameters are output to the storage space of the vehicle module in the form of logs.

[0013] Preferably, in step S10, the time interval for cyclic sampling is 5-100ms, and the number of samplings is 1000.

[0014] Preferably, in step S30, the sampled values ​​are extracted to the level.txt file using scripting language commands.

[0015] Furthermore, the scripting language commands include sed, grep, awk, and print.

[0016] Preferably, in step S40, the extracted sampled values ​​are imported into an Excel spreadsheet, and line graphs are generated for the signal strength, signal-to-noise ratio, and radio frequency offset of the real radio station and the fake radio station, respectively.

[0017] Furthermore, if noise appears in the sampled values, the average value after removing extreme values ​​from multiple points is used to create the line chart.

[0018] Compared with the prior art, the present invention has the following beneficial effects:

[0019] The present invention provides a method for debugging the threshold of true and false radio stations in a car radio. By using the existing car radio module to cyclically collect three-dimensional parameters of true and false radio stations, a large amount of data is obtained. By generating a line graph, the threshold of the three-dimensional parameters can be intuitively judged. The testing method is simple, efficient, accurate in threshold setting, and low in cost. Attached Figure Description

[0020] Figure 1 This is a flowchart of a method for adjusting the threshold between true and false radio stations on a car radio.

[0021] Figure 2 It is a line graph of signal strength;

[0022] Figure 3 It is a line graph with noisy sampled values. Detailed Implementation

[0023] The present invention will now be further described with reference to the accompanying drawings.

[0024] like Figure 1 As shown, a method for adjusting the threshold between true and false radio stations on a car radio includes the following steps:

[0025] S10. Write a test program based on the software development platform of the vehicle infotainment module to achieve the following functions:

[0026] a. The radio's playback frequency can be set by the user;

[0027] b. The sampling time interval, number of samplings, or sampling duration can be set by the user. The three-dimensional parameters of the currently playing radio station can be sampled repeatedly on a large scale by setting the time interval.

[0028] S20. Perform cyclic sampling of three-dimensional parameters on a real radio station and a fake radio station respectively, wherein the three-dimensional parameters include signal strength, signal-to-noise ratio, and radio frequency offset. For example, sample once every 10ms, for a total of 1000 samples.

[0029] The three parameters—signal strength, signal-to-noise ratio, and radio frequency offset—can be read directly from the registers of the radio chip. The read values ​​are output as logs to the vehicle module's storage space for later copying and analysis.

[0030] S30. Copy the sampling log and extract the sampled values ​​of the three-dimensional parameters from the log.

[0031] Software logs are generally highly readable and not just isolated numerical values. Therefore, it's necessary to use scripting languages ​​to extract sampled values ​​of various parameters from the logs, making them easy to import into an Excel spreadsheet for later use in creating line charts. The scripting commands used here include sed, grep, awk, and print.

[0032] For example, the command `sed s / / \n / g'. / log.txt|grep "freq:level"|awk-F"="'{print$2}'|awk-F","'{print$1}'>level.txt` can extract all the sampled signal strength values ​​into the file level.txt.

[0033] S40. Import the extracted sampled values ​​into an Excel spreadsheet, generate line graphs for the signal strength, signal-to-noise ratio, and radio frequency offset of the real and fake radio stations respectively, and analyze the line graphs to obtain the threshold values ​​for the three parameters.

[0034] like Figure 2 As shown, the line graphs generated from the sampled signal strengths of the real radio station and the fake radio station are as follows: the stable curve represents 1000 data points sampled every 10ms during the playback of a real radio station; the curve with larger fluctuations represents 1000 data points sampled every 10ms during the playback of a fake radio station.

[0035] The following two aspects of information can be clearly seen from the diagram:

[0036] a. The signal strength of a real station is generally greater than 30dB, while the signal strength of a fake station is generally less than 30dB. Therefore, we can scientifically and intuitively set the signal strength threshold between real and fake stations to 30.

[0037] b. The signal strength of the vehicle's infotainment module is not very stable in the first 2 seconds, which also reflects that the radio hardware performance of the module needs to be optimized.

[0038] Similarly, we can intuitively define the thresholds for signal-to-noise ratio and radio frequency offset.

[0039] Among them, such as Figure 3 As shown, the line chart exhibits noise. Consider using the average value after removing extrema from multiple points to create the line chart, thereby determining a reasonable threshold for distinguishing between real and fake platforms. The process of removing extrema from multiple points and then averaging can be easily achieved using the TRIMMEAN function in Excel, based on the sampled values.

[0040] Therefore, the above analysis method can not only easily, intuitively and scientifically determine the threshold between true and false stations of a radio, but also discover problems with the stability of the hardware itself, which can greatly save development costs, manpower and time.

[0041] The technical principles of the present invention have been described above with reference to specific embodiments. These descriptions are merely for explaining the principles of the invention and should not be construed as limiting the scope of protection of the invention in any way. Based on this explanation, those skilled in the art can readily conceive of other specific embodiments of the invention without inventive effort, and these embodiments will all fall within the scope of protection of the claims of the present invention.

Claims

1. A method for adjusting the threshold of true and false radio stations on a car radio, characterized in that, Includes the following steps: S10. Set the radio's playback frequency, the time interval for cyclic sampling, and the number of samples or sampling duration; S20. Perform cyclic sampling of three-dimensional parameters on a real radio station and a fake radio station respectively, wherein the three-dimensional parameters include signal strength, signal-to-noise ratio and radio frequency offset; S30. Copy the sampling log and extract the sampled values ​​of the three-dimensional parameters from the log; S40. Generate line charts for the sampled values ​​of the three-dimensional parameters, and analyze the line charts to obtain the thresholds for the three-dimensional parameters. In step S40, the extracted sampled values ​​are imported into an Excel spreadsheet, and line graphs are generated for the signal strength, signal-to-noise ratio, and radio frequency offset of the real radio station and the fake radio station, respectively. If the sampled values ​​contain noise, the average value after removing the extreme values ​​from multiple points is used to create the line chart.

2. The method for adjusting the threshold of true and false radio stations in a vehicle radio according to claim 1, characterized in that, In step S10, a test program is written based on the software platform of the vehicle infotainment module.

3. The method for adjusting the threshold of true and false radio stations in a vehicle radio according to claim 1, characterized in that, In step S20, the detected three-dimensional parameters are output to the storage space of the vehicle module in the form of logs.

4. The method for adjusting the threshold of true and false radio stations in a vehicle radio according to claim 1, characterized in that, In step S10, the time interval for cyclic sampling is 5-100ms, and the number of sampling times is 1000.

5. The method for adjusting the threshold of true and false radio stations in a vehicle radio according to claim 1, characterized in that, In step S30, the sampled values ​​are extracted to the level.txt file using script language commands.

6. The method for adjusting the threshold of true and false radio stations in a vehicle radio according to claim 5, characterized in that, The scripting language commands include sed, grep, awk, and print.