CN117040461A - Gain compensation method, system, electronic device and storage medium - Google Patents

Gain compensation method, system, electronic device and storage medium Download PDF

Info

Publication number
CN117040461A
CN117040461A CN202310885815.1A CN202310885815A CN117040461A CN 117040461 A CN117040461 A CN 117040461A CN 202310885815 A CN202310885815 A CN 202310885815A CN 117040461 A CN117040461 A CN 117040461A
Authority
CN
China
Prior art keywords
vehicle
current
gain
gain compensation
wire harness
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.)
Pending
Application number
CN202310885815.1A
Other languages
Chinese (zh)
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.)
Ningbo Joynext Technology Corp
Original Assignee
Ningbo Joynext Technology Corp
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 Ningbo Joynext Technology Corp filed Critical Ningbo Joynext Technology Corp
Priority to CN202310885815.1A priority Critical patent/CN117040461A/en
Publication of CN117040461A publication Critical patent/CN117040461A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers
    • H03G3/20Automatic control
    • H03G3/30Automatic control in amplifiers having semiconductor devices

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The application provides a gain compensation method, a gain compensation system, electronic equipment and a storage medium, which comprise the steps of responding to the first power-on starting of a current vehicle, acquiring target vehicle type information corresponding to the current vehicle, wherein the target vehicle type information comprises the length of a vehicle-mounted wire harness; determining a target average gain attenuation value according to the pre-stored mapping relation between the vehicle-mounted wire harnesses with different lengths and the corresponding average gain attenuation values and target vehicle type information; acquiring the current service time and the vehicle temperature of a current vehicle; calculating a current gain compensation value according to the current use time, the vehicle temperature and the target average gain attenuation value; and controlling a gain controller built in the vehicle-mounted communication terminal according to the current gain compensation value to perform gain compensation on the radio frequency signals transmitted through the vehicle-mounted wiring harness. The method has the advantages that the accurate gain compensation of radio frequency signals transmitted by the vehicle-mounted wire harness is realized, the realization of an antenna communication function is guaranteed, the gain compensation of vehicles of different vehicle types is realized at the same time, and the suitability is strong.

Description

Gain compensation method, system, electronic device and storage medium
Technical Field
The application relates to the field of automobiles, in particular to a gain compensation method, a system, electronic equipment and a storage medium applied to a radio frequency wire harness in a vehicle.
Background
Under normal conditions, multiple vehicle types can use the same vehicle-mounted communication terminal and the vehicle-mounted active antenna, and the vehicle of each vehicle type can adaptively adjust the length of a radio frequency wire harness connected with the vehicle-mounted active antenna and the vehicle-mounted communication terminal in the vehicle according to the assembly position of the vehicle-mounted antenna and the difference of the structure of the vehicle so as to complete compatible adaptation.
In order to achieve the effects of eliminating radio frequency signal loss of a radio frequency wiring harness and an active antenna and improving communication distance, a gain controller is arranged in a vehicle-mounted communication terminal to perform gain compensation on radio frequency signals transmitted through the radio frequency wiring harness, so that the requirement of the communication function of the active antenna is met. However, the radio frequency signal transmitted by the radio frequency wire harnesses with different lengths are also different in loss, and the radio frequency wire harnesses also generate corresponding aging loss along with the time lapse; these all can lead to the fixed gain compensation in the vehicle communication terminal and can not solve the loss problem that the ageing of radio frequency pencil brought in the vehicle of all motorcycle types.
Therefore, a gain compensation method capable of solving the radio frequency harness loss problem and having high adaptability is needed to solve the above technical problems.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a gain compensation method, system, electronic device and storage medium, so as to improve the requirements for guaranteeing the communication performance of the active antenna.
In a first aspect, the present application provides a gain compensation method, the method comprising:
responding to the first power-on starting of the current vehicle, and acquiring target vehicle type information corresponding to the current vehicle, wherein the target vehicle type information comprises the length of a vehicle-mounted wire harness, and the vehicle-mounted wire harness is a radio frequency wire harness which is connected with a vehicle-mounted active antenna and a vehicle-mounted communication terminal in the current vehicle;
determining a target average gain attenuation value according to the pre-stored mapping relation between vehicle-mounted wire harnesses with different lengths and corresponding average gain attenuation values and the target vehicle type information;
acquiring the current service time and the vehicle temperature of a current vehicle;
calculating a current gain compensation value according to the current use time, the vehicle temperature and the target average gain attenuation value;
and controlling a gain controller built in the vehicle-mounted communication terminal according to the current gain compensation value so as to carry out gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
In some embodiments, the determining the mapping relationship between the vehicle-mounted wire harnesses with different lengths and the corresponding average gain attenuation values includes:
respectively detecting a plurality of undetermined gain attenuation values of vehicle-mounted wire harnesses with different lengths in a preset period at intervals of a preset time period under a preset temperature condition;
and respectively carrying out average value processing on a plurality of to-be-determined gain attenuation values corresponding to the vehicle-mounted wire harnesses with different lengths, and generating average gain attenuation values corresponding to the vehicle-mounted wire harnesses with different lengths under the preset temperature condition so as to determine the mapping relation.
In some embodiments, the calculating a current gain compensation value based on the current time of use, the vehicle temperature, and the target average gain attenuation value comprises:
based on formula X 0 =△G/[(t 0 -t 1 )*2/10]* T, calculating the current gain compensation value X 0 Wherein ΔG is the target average gain attenuation value, t 0 At a preset temperature t 1 T is the current time of use and is in hours, which is the vehicle temperature.
In some embodiments, the method further comprises:
acquiring delay vehicle temperature t of current vehicle after current use time of n minutes 2
According to formula X n =△G/[(t 0 -t 2 )*2/10]* (T+n/60), calculating the delay gain loss value X after the current use time of n minutes n
According to the delay gain loss value X n And controlling a gain controller built in the current vehicle to perform gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
In some embodiments, the detecting the plurality of undetermined gain attenuation values of the vehicle-mounted wire harness with different lengths respectively at the preset temperature condition at intervals of a preset time period in a preset period includes:
sending out standard signal intensity from one end of a vehicle-mounted wire harness with different lengths through a network analyzer and detecting actual signal intensity at the other end of the vehicle-mounted wire harness;
the pending gain attenuation value is determined based on a difference between the standard signal strength and the actual signal strength.
In some embodiments, the obtaining the current usage time of the current vehicle includes:
acquiring the driving mileage of the current vehicle and the corresponding real-time vehicle speed;
and determining the current use time of the current vehicle according to the quotient of the acquired driving mileage and the real-time vehicle speed.
In some embodiments, the obtaining the target vehicle type information corresponding to the current vehicle includes:
and acquiring target vehicle type information received by the vehicle-mounted communication terminal from a plug-in memory of the gateway, wherein the target vehicle type information is transmitted to the vehicle-mounted communication terminal from the gateway through CAN communication.
In a second aspect, the present application provides a gain compensation system, comprising:
the data acquisition module is used for responding to the first power-on starting of the current vehicle to acquire target vehicle type information corresponding to the current vehicle, wherein the target vehicle type information comprises the length of a vehicle-mounted wire harness, and the vehicle-mounted wire harness is a radio frequency wire harness which is connected with a vehicle-mounted active antenna and a vehicle-mounted communication terminal in the current vehicle;
the data processing module is used for determining a target average gain attenuation value according to the pre-stored mapping relation between the vehicle-mounted wire harnesses with different lengths and the corresponding average gain attenuation values and the target vehicle type information;
the data acquisition module is also used for acquiring the current service time and the vehicle temperature of the current vehicle;
the data processing module is further used for calculating a current gain compensation value according to the current use time, the vehicle temperature and the target average gain attenuation value;
and the gain compensation module is used for controlling a gain controller arranged in the vehicle-mounted communication terminal according to the current gain compensation value so as to carry out gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness. In a third aspect, the present application provides an electronic device, including:
one or more processors;
and a memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the following:
responding to the first power-on starting of the current vehicle, and acquiring target vehicle type information corresponding to the current vehicle, wherein the target vehicle type information comprises the length of a vehicle-mounted wire harness, and the vehicle-mounted wire harness is a radio frequency wire harness which is connected with a vehicle-mounted active antenna and a vehicle-mounted communication terminal in the current vehicle;
determining a target average gain attenuation value according to the pre-stored mapping relation between vehicle-mounted wire harnesses with different lengths and corresponding average gain attenuation values and the target vehicle type information;
acquiring the current service time and the vehicle temperature of a current vehicle;
calculating a current gain compensation value according to the current use time, the vehicle temperature and the target average gain attenuation value;
and controlling a gain controller built in the vehicle-mounted communication terminal according to the current gain compensation value so as to carry out gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program that causes a computer to perform the operations of:
responding to the first power-on starting of the current vehicle, and acquiring target vehicle type information corresponding to the current vehicle, wherein the target vehicle type information comprises the length of a vehicle-mounted wire harness, and the vehicle-mounted wire harness is a radio frequency wire harness which is connected with a vehicle-mounted active antenna and a vehicle-mounted communication terminal in the current vehicle;
determining a target average gain attenuation value according to the pre-stored mapping relation between vehicle-mounted wire harnesses with different lengths and corresponding average gain attenuation values and the target vehicle type information;
acquiring the current service time and the vehicle temperature of a current vehicle;
calculating a current gain compensation value according to the current use time, the vehicle temperature and the target average gain attenuation value;
and controlling a gain controller built in the vehicle-mounted communication terminal according to the current gain compensation value so as to carry out gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
The beneficial effects achieved by the application are as follows:
the application provides a gain compensation method, which comprises the steps of responding to the first power-on starting of a current vehicle, acquiring target vehicle type information corresponding to the current vehicle, wherein the target vehicle type information comprises the length of a vehicle-mounted wire harness, and the vehicle-mounted wire harness is a radio frequency wire harness which is connected with a vehicle-mounted active antenna and a vehicle-mounted communication terminal in the current vehicle; determining a target average gain attenuation value according to the pre-stored mapping relation between vehicle-mounted wire harnesses with different lengths and corresponding average gain attenuation values and the target vehicle type information; acquiring the current service time and the vehicle temperature of a current vehicle; calculating a current gain compensation value according to the current use time, the vehicle temperature and the target average gain attenuation value; and controlling a gain controller built in the vehicle-mounted communication terminal according to the current gain compensation value so as to carry out gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
After the length of the vehicle-mounted wire harness of the current vehicle is obtained, searching an average gain attenuation value matched with the vehicle through a predetermined mapping relation; on the basis, the influence of factors such as the service time of the vehicle, the temperature of the vehicle and the like on the aging of the vehicle-mounted wire harness is considered, and the gain compensation value is determined based on the factors, so that the accurate gain compensation of the radio frequency signals is realized, and the realization of the communication function of the active antenna is ensured; meanwhile, gain compensation of vehicles of different vehicle types is achieved, and adaptability is high.
Furthermore, the accuracy of the average gain attenuation value of the determined vehicle-mounted wire harnesses with different lengths is enhanced by obtaining the gain attenuation values under various conditions and continuously averaging the gain attenuation values, so that the accuracy of gain compensation on the radio frequency signals is realized.
Furthermore, the application also provides a method for determining the delay gain compensation value, which can realize the compensation of the radio frequency signals transmitted on the vehicle-mounted wire harness every minute on the basis of the delay gain compensation value, and increase the compensation precision and the real-time performance.
Furthermore, the application utilizes the network analyzer to detect the radio frequency signals transmitted by the two ends of the vehicle-mounted wire harness so as to obtain the signal difference, and the application is simple, convenient and high in accuracy.
Furthermore, the present application can avoid inaccurate calculation of the use time caused by other factors (such as parking, etc.) by the method of obtaining the travel mileage and the corresponding real-time vehicle speed calculation to obtain the current use time.
Furthermore, when the vehicle type information is acquired, the vehicle type information is only acquired from the plug-in memory of the gateway, and is transmitted through CAN communication, so that the real-time performance of data transmission is ensured, and the cost performance is high.
Drawings
For a clearer description of the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the description below are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art, wherein:
FIG. 1 is a schematic diagram of a gain compensation method according to an embodiment of the present application;
fig. 2 is a schematic diagram of interaction between a gateway and an on-vehicle communication terminal according to an embodiment of the present application;
FIG. 3 is a flow chart of a gain compensation method according to an embodiment of the present application;
FIG. 4 is a block diagram of a gain compensation system according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be understood that throughout this specification and the claims, unless the context clearly requires otherwise, the words "comprise", "comprising", and the like, are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, it is the meaning of "including but not limited to".
It should also be appreciated that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
It should be noted that the terms "S1", "S2", and the like are used for the purpose of describing the steps only, and are not intended to be construed to be specific as to the order or sequence of steps, nor are they intended to limit the present application, which is merely used to facilitate the description of the method of the present application, and are not to be construed as indicating the sequence of steps. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present application.
As described in the background, the existing gain compensation method applied in a vehicle generally performs gain compensation on a loss signal of a radio frequency beam according to a set of fixed gain compensation values through a built-in gain controller. The difference of the loss values generated in the same aging time of the radio frequency wire harnesses with different lengths in different vehicles and the use time of the vehicles are not considered, and the loss values generated in the radio frequency wire harnesses with the same length in the vehicles after different use time are also different. Therefore, in order to accurately compensate the gain of the transmitted radio frequency signal due to the aging of the radio frequency harness, two factors of the length of the radio frequency harness and the aging time of the radio frequency harness need to be considered at the same time.
Therefore, a gain compensation method with higher applicability needs to be designed to meet the gain compensation requirements of vehicles of different vehicle types and different service times.
Example 1
The embodiment of the application provides a gain compensation method which can be applied to a central processing unit arranged in a vehicle-mounted communication terminal in a vehicle and can also be applied to a remote control terminal, and the application is not limited to the method. Specifically, as shown in fig. 1, when applied to a central processing unit, the process of performing gain compensation on a radio frequency signal transmitted by a vehicle-mounted wire harness in a vehicle according to the embodiment of the application includes:
s1, responding to the first power-on starting of the current vehicle, and determining a target average gain attenuation value according to the acquired target vehicle type information of the current vehicle and the mapping relation.
Fig. 2 is an interaction diagram of a gateway and a vehicle-mounted communication terminal (TBOX, telematics-BOX), specifically, in response to a first power-on start of a current vehicle, a central processing unit obtains vehicle type information of the current vehicle, wherein the vehicle type information is written into a plug-in ROM of the gateway SOC in a form of a software code in advance, and after the first power-on start of the vehicle, the gateway transmits the vehicle type information to the vehicle-mounted communication terminal through a CAN bus, so that the central processing unit CAN directly obtain target vehicle type information of the current vehicle in the vehicle-mounted communication terminal. The vehicle type information at least comprises the length of a vehicle-mounted wire harness configured in the current vehicle, wherein the vehicle-mounted wire harness is a radio frequency wire harness which is used for connecting a vehicle-mounted active antenna and a vehicle-mounted communication terminal in the current vehicle. After the central processing unit acquires the lengths of the vehicle-mounted wire harnesses, the corresponding average gain attenuation values are directly inquired according to the mapping relation between the vehicle-mounted wire harnesses with different lengths and the corresponding average gain attenuation values, and the corresponding average gain attenuation values are used for calculating target average gain attenuation values of the current gain compensation values.
It should be understood that, before performing gain compensation on the radio frequency signal transmitted by the vehicle-mounted wire harness in the vehicle for the first time, the mapping relationship between the vehicle-mounted wire harnesses with different lengths and the corresponding average gain attenuation values is predetermined and written into the central processing unit.
The method comprises the steps of determining a mapping relation, namely determining through an actual aging test outside a vehicle, specifically, sending out standard signal intensity at one end of vehicle-mounted wire harnesses with different lengths through a network analyzer, detecting actual signal intensity at the other end, and determining a pending gain attenuation value of the vehicle-mounted wire harnesses through the difference value between the standard signal intensity at the two ends of the same wire harness and the detected actual signal intensity; the test is repeated for vehicle-mounted wiring harnesses of different lengths at preset time intervals within a preset period under preset temperature conditions to determine a plurality of undetermined gain attenuation values. And then, carrying out average value processing on a plurality of undetermined gain attenuation values corresponding to the same wire harness to determine the average gain attenuation value corresponding to the vehicle-mounted wire harness, and further determining the mapping relation between the vehicle-mounted wire harnesses with different lengths and the corresponding average gain attenuation values.
For better illustration, in some implementation scenarios, the above method for detecting a plurality of undetermined gain attenuation values of vehicle-mounted wire harnesses with different lengths respectively at preset temperature conditions and at preset intervals in a preset period, and performing average processing on the plurality of undetermined gain attenuation values to further determine average gain attenuation values corresponding to different vehicle-mounted wire harnesses, includes the following preferable settings:
1. and (3) performing an aging test at 85 ℃, selecting a preset period to be 1-10 hours, detecting every 1 hour, determining undetermined gain attenuation values G1-G10, averaging the G1-G10, and calculating a gain attenuation value delta G1 for 1 hour.
2. And (3) performing an aging test at 85 ℃, selecting a preset period to be 10-100 hours, detecting every 10 hours, determining undetermined gain attenuation values G10, G20 and G30 … … G100, averaging the undetermined gain attenuation values, and calculating a gain attenuation value delta G10 for 10 hours.
3. And (3) performing an aging test at 85 ℃, selecting a preset period of 24-240 hours, detecting every 24 hours, determining undetermined gain attenuation values G24, G48 and G72 … … G240, averaging the undetermined gain attenuation values, and calculating a gain attenuation value delta G24 for an average of 24 hours.
4. For the gain attenuation values Δg1, Δg10, and Δg24 determined above, the gain attenuation value Δg per 1 hour interval is calculated using the formula (Δg1+Δg10+Δg24)/(1+10+24) = Δg; and delta G is the average gain attenuation value corresponding to the vehicle-mounted wire harness.
When determining the mapping relation between the vehicle-mounted wire harnesses with different lengths and the corresponding average gain attenuation values and writing the mapping relation into the central processing unit, preferably, the mapping relation can be recorded into a Personal Computer (PC), and then the mapping relation recorded by the PC end is encrypted through a burner and then written into the central processing unit after being encrypted through an High Speed Memory (HSM) chip.
S2, calculating a current gain compensation value according to the obtained current use time of the current vehicle, the vehicle temperature and the determined target average gain attenuation value.
The process for acquiring the current use time of the current vehicle is specifically as follows: and calculating the quotient of the driving mileage number and the real-time vehicle speed for the central processing unit by acquiring the driving mileage number and the corresponding real-time vehicle speed of the current vehicle, and determining the current use time of the current vehicle. The driving mileage and the real-time vehicle speed can be obtained through a navigation system such as a global satellite navigation system (Global Navigation Satellite System, GNSS), a global positioning system (Global Positioning System, GPS) or a beidou satellite navigation system (Beidou Navigation Satellite System, BDS) configured with the vehicle, and the embodiment of the present application is not limited herein. The vehicle temperature can be obtained according to a thermistor built in the vehicle-mounted communication terminal, and can also be obtained through other thermistors or thermal sensors mounted on the vehicle-mounted wire harness accessories.
According to the principle that the temperature rises by 10 ℃ and the aging speed is doubled, the current gain compensation value is calculated by the formula: x is X 0 =△G/[(t 0 -t 1 )*2/10]* T is calculated, wherein X 0 Representing the current gain compensation value, wherein ΔG is the target average gain attenuation value, t 0 At a preset temperature t 1 T is the current time of use and is in hours, which is the vehicle temperature.
And S3, controlling a gain controller arranged in the current vehicle according to the determined current gain compensation value so as to carry out gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
In addition, in some implementation scenarios, in order to further calculate a more accurate gain compensation value for the loss value of the vehicle-mounted wire harness and implement real-time compensation for the vehicle-mounted wire harness, the embodiment of the application further provides:
acquiring delay vehicle temperature t of current vehicle after current use time of n minutes 2 The method comprises the steps of carrying out a first treatment on the surface of the According to formula X n =△G/[(t 0 -t 2 )*2/10]* (T+n/60), calculating the delay gain loss value X after the current use time of n minutes n The method comprises the steps of carrying out a first treatment on the surface of the According to the delay gain loss value X n The gain controller built in the current vehicle is controlled to perform gain compensation. Wherein n is any one of 1 or more and 60 or less.
In addition, in some implementation scenarios, a trained gain compensation model can be written in the central processing unit, and after the length of the vehicle-mounted wire harness, the temperature of the vehicle and the current service time are acquired, a gain compensation value is directly determined based on the gain compensation model so as to control a gain controller built in the current vehicle to perform gain compensation. The gain compensation model is a model which is constructed based on methods such as deep learning or machine learning and can output a gain compensation value according to the length of the wire harness, aging time and temperature. The training process of the model specifically comprises the following steps: the network analyzer is used for carrying out an aging test to actually detect the loss values of the radio frequency signals generated at the two ends of the vehicle-mounted wire harness under different wire harness lengths, different aging times (corresponding to the service time of the vehicle) and different temperatures, and the detected loss values of the radio frequency signals transmitted by the vehicle-mounted wire harness are gain compensation values to be compensated. And taking the aging time, the temperature, the wire harness length and the corresponding gain compensation value obtained by the actual detection as a historical data set, taking one part of the aging time, the temperature and the wire harness length as a training set and the other part as a test set. And training the gain compensation model by using the determined training set and inputting data in the test set to test the gain compensation model until the error between the gain compensation value output by the gain compensation model and the gain compensation value corresponding to the test set is smaller than a preset threshold value, and successfully training the model.
Example two
The embodiment of the application also provides a gain compensation method, as shown in a flow chart of fig. 3, and the process of controlling the built-in gain controller to perform gain compensation on the radio frequency signal transmitted by the vehicle-mounted wire harness by using the gain compensation method disclosed by the application comprises the following steps:
3100. responding to the first power-on starting of the current vehicle, and acquiring target vehicle type information corresponding to the current vehicle, wherein the target vehicle type information comprises the length of a vehicle-mounted wire harness, and the vehicle-mounted wire harness is a radio frequency wire harness which is connected with a vehicle-mounted active antenna and a vehicle-mounted communication terminal in the current vehicle;
3200. determining a target average gain attenuation value according to the pre-stored mapping relation between vehicle-mounted wire harnesses with different lengths and corresponding average gain attenuation values and the target vehicle type information;
the process for determining the mapping relation between the vehicle-mounted wire harnesses with different lengths and the corresponding average gain attenuation values comprises the following steps:
3210. respectively detecting a plurality of undetermined gain attenuation values of vehicle-mounted wire harnesses with different lengths in a preset period at intervals of a preset time period under a preset temperature condition;
the method for detecting the multiple undetermined gain attenuation values of the vehicle-mounted wire harnesses with different lengths respectively in a preset period at intervals of a preset time period under a preset temperature condition comprises the following steps:
3211. sending out standard signal intensity from one end of a vehicle-mounted wire harness with different lengths through a network analyzer and detecting actual signal intensity at the other end of the vehicle-mounted wire harness;
3212. the pending gain attenuation value is determined based on a difference between the standard signal strength and the actual signal strength.
3220. And respectively carrying out average value processing on a plurality of to-be-determined gain attenuation values corresponding to the vehicle-mounted wire harnesses with different lengths, and generating average gain attenuation values corresponding to the vehicle-mounted wire harnesses with different lengths under the preset temperature condition so as to determine the mapping relation.
3300. Acquiring the current service time and the vehicle temperature of a current vehicle;
the obtaining the current use time of the current vehicle comprises the following steps:
3310. acquiring the driving mileage of the current vehicle and the corresponding real-time vehicle speed;
3320. and determining the current use time of the current vehicle according to the quotient of the acquired driving mileage and the real-time vehicle speed.
The obtaining the target vehicle type information corresponding to the current vehicle comprises the following steps:
3330. and acquiring target vehicle type information received by the vehicle-mounted communication terminal from a plug-in memory of the gateway, wherein the target vehicle type information is transmitted to the vehicle-mounted communication terminal from the gateway through CAN communication.
3400. Calculating a current gain compensation value according to the current use time, the vehicle temperature and the target average gain attenuation value;
wherein said calculating a current gain compensation value based on said current usage time, said vehicle temperature, and said target average gain attenuation value comprises:
3410. based on formula X 0 =△G/[(t 0 -t 1 )*2/10]* T, calculating the current gain compensation value X 0 Wherein ΔG is the target average gain attenuation value, t 0 At a preset temperature t 1 T is the current time of use and is in hours, which is the vehicle temperature.
3500. And controlling a gain controller built in the vehicle-mounted communication terminal according to the current gain compensation value so as to carry out gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
Preferably, the method further comprises:
3600. acquiring the delay vehicle temperature t_2 of the current vehicle after the current use time is n minutes;
3700. calculating a delay gain loss value X_n after the current use time n minutes according to the formula X_n= [ delta ] G/[ (t_0-t_2) [ 2/10] (T+n/60);
3800. and controlling a gain controller arranged in the current vehicle according to the delay gain loss value X_n so as to perform gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
Example III
Corresponding to the first and second embodiments, the embodiment of the present application further provides a gain compensation system, as shown in fig. 4, including:
the data acquisition module 410 is configured to obtain target vehicle type information corresponding to a current vehicle in response to a first power-on start of the current vehicle, where the target vehicle type information includes a length of a vehicle-mounted wire harness, and the vehicle-mounted wire harness is a radio frequency wire harness in the current vehicle, where the radio frequency wire harness connects a vehicle-mounted active antenna and a vehicle-mounted communication terminal;
the data processing module 420 is configured to determine a target average gain attenuation value according to a mapping relationship between pre-stored vehicle-mounted wire harnesses with different lengths and corresponding average gain attenuation values and the target vehicle type information;
the data acquisition module 410 is further configured to acquire a current usage time of the current vehicle and a vehicle temperature;
the data processing module 420 is further configured to calculate a current gain compensation value according to the current usage time, the vehicle temperature, and the target average gain attenuation value;
and the gain compensation module 430 is configured to control a gain controller built in the vehicle-mounted communication terminal according to the current gain compensation value so as to perform gain compensation on the radio frequency signal transmitted via the vehicle-mounted wire harness.
In some embodiments, the system further includes a preprocessing module 440 (not illustrated in the figure), where the preprocessing module is configured to detect, under a preset temperature condition, a plurality of undetermined gain attenuation values of vehicle-mounted wire harnesses with different lengths, respectively, at intervals of a preset period of time within a preset period; the preprocessing module is further configured to perform average processing on a plurality of to-be-determined gain attenuation values corresponding to the vehicle-mounted wire harnesses with different lengths, and generate average gain attenuation values corresponding to the vehicle-mounted wire harnesses with different lengths under the preset temperature condition, so as to determine the mapping relationship.
In some embodiments, the data processing module 420 is further configured to base formula X 0 =△G/[(t 0 -t 1 )*2/10]* T, calculating the current gain compensation value X 0 Wherein ΔG is the target average gain attenuation value, t 0 At a preset temperature t 1 T is the current time of use and is in hours, which is the vehicle temperature.
In some embodiments, the data acquisition module 410 is further configured to acquire a delayed vehicle temperature t of the current vehicle after the current use time of n minutes 2 The method comprises the steps of carrying out a first treatment on the surface of the The data processing module 420 is further configured to perform a processing according to formula X n =△G/[(t 0 -t 2 )*2/10]* (T+n/60), calculating the delay gain loss value X after the current use time of n minutes n The method comprises the steps of carrying out a first treatment on the surface of the According to the delay gain loss value X n And controlling a gain controller built in the current vehicle to perform gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
In some embodiments, the preprocessing module 440 is further configured to send out standard signal strengths from one end of the vehicle harness of different lengths through the network analyzer and detect actual signal strengths at the other end of the vehicle harness; the pending gain attenuation value is determined based on a difference between the standard signal strength and the actual signal strength.
In some embodiments, the data acquisition module 410 is further configured to acquire a current driving mileage of the vehicle and a corresponding real-time vehicle speed; and determining the current use time of the current vehicle according to the quotient of the acquired driving mileage and the real-time vehicle speed.
In some embodiments, the data acquisition module 410 is further configured to acquire target vehicle type information received by the vehicle-mounted communication terminal from the plug-in memory of the gateway, where the target vehicle type information is transmitted from the gateway to the vehicle-mounted communication terminal through CAN communication.
Example IV
Corresponding to all the embodiments described above, an embodiment of the present application provides an electronic device, including:
one or more processors; and a memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the following:
responding to the first power-on starting of the current vehicle, and acquiring target vehicle type information corresponding to the current vehicle, wherein the target vehicle type information comprises the length of a vehicle-mounted wire harness, and the vehicle-mounted wire harness is a radio frequency wire harness which is connected with a vehicle-mounted active antenna and a vehicle-mounted communication terminal in the current vehicle;
determining a target average gain attenuation value according to the pre-stored mapping relation between vehicle-mounted wire harnesses with different lengths and corresponding average gain attenuation values and the target vehicle type information;
acquiring the current service time and the vehicle temperature of a current vehicle;
calculating a current gain compensation value according to the current use time, the vehicle temperature and the target average gain attenuation value;
and controlling a gain controller built in the vehicle-mounted communication terminal according to the current gain compensation value so as to carry out gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
Fig. 5 illustrates an architecture of an electronic device, which may include a processor 510, a video display adapter 511, a disk drive 512, an input/output interface 513, a network interface 514, and a memory 520, among others. The processor 510, the video display adapter 511, the disk drive 512, the input/output interface 513, the network interface 514, and the memory 520 may be communicatively connected by a bus 530.
The processor 510 may be implemented by a general-purpose CPU (Central Processing Unit ), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc., for executing relevant programs to implement the technical scheme provided by the present application.
The Memory 520 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), static storage device, dynamic storage device, or the like. The memory 520 may store an operating system 521 for controlling the execution of the electronic device 500, and a Basic Input Output System (BIOS) 522 for controlling the low-level operation of the electronic device 500. In addition, a web browser 523, a data storage management system 525, an icon font processing system 525, and the like may also be stored. The icon font processing system 525 may be an application program that implements the operations of the foregoing steps in the embodiment of the present application. In general, when the technical solution provided by the present application is implemented by software or firmware, relevant program codes are stored in the memory 520 and invoked by the processor 510 to be executed.
The input/output interface 513 is used for connecting with an input/output module to realize information input and output. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
The network interface 514 is used to connect communication modules (not shown) to enable communication interactions of the device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 530 includes a path to transfer information between components of the device (e.g., processor 510, video display adapter 511, disk drive 512, input/output interface 513, network interface 515, and memory 520).
In addition, the electronic device 500 may also obtain information of specific acquisition conditions from the virtual resource object acquisition condition information database, for performing condition judgment, and so on.
It should be noted that although the above devices only show the processor 510, the video display adapter 511, the disk drive 512, the input/output interface 513, the network interface 515, the memory 520, the bus 530, etc., in the specific implementation, the device may include other components necessary to achieve normal execution. Furthermore, it will be appreciated by those skilled in the art that the apparatus may include only the components necessary to implement the present application, and not all of the components shown in the drawings.
Example five
Corresponding to all the above embodiments, the embodiments of the present application further provide a computer-readable storage medium, characterized in that it stores a computer program that causes a computer to perform the operations of:
responding to the first power-on starting of the current vehicle, and acquiring target vehicle type information corresponding to the current vehicle, wherein the target vehicle type information comprises the length of a vehicle-mounted wire harness, and the vehicle-mounted wire harness is a radio frequency wire harness which is connected with a vehicle-mounted active antenna and a vehicle-mounted communication terminal in the current vehicle;
determining a target average gain attenuation value according to the pre-stored mapping relation between vehicle-mounted wire harnesses with different lengths and corresponding average gain attenuation values and the target vehicle type information;
acquiring the current service time and the vehicle temperature of a current vehicle;
calculating a current gain compensation value according to the current use time, the vehicle temperature and the target average gain attenuation value;
and controlling a gain controller built in the vehicle-mounted communication terminal according to the current gain compensation value so as to carry out gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
From the above description of embodiments, it will be apparent to those skilled in the art that the present application may be implemented in software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for causing a computer device (which may be a personal computer, a cloud server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present application.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present application without undue burden.
The foregoing description of the preferred embodiments of the application is not intended to limit the application to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the application are intended to be included within the scope of the application.

Claims (10)

1. A method of gain compensation, the method comprising:
responding to the first power-on starting of the current vehicle, and acquiring target vehicle type information corresponding to the current vehicle, wherein the target vehicle type information comprises the length of a vehicle-mounted wire harness, and the vehicle-mounted wire harness is a radio frequency wire harness which is connected with a vehicle-mounted active antenna and a vehicle-mounted communication terminal in the current vehicle;
determining a target average gain attenuation value according to the pre-stored mapping relation between vehicle-mounted wire harnesses with different lengths and corresponding average gain attenuation values and the target vehicle type information;
acquiring the current service time and the vehicle temperature of a current vehicle;
calculating a current gain compensation value according to the current use time, the vehicle temperature and the target average gain attenuation value;
and controlling a gain controller built in the vehicle-mounted communication terminal according to the current gain compensation value so as to carry out gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
2. The method of claim 1, wherein the determining of the mapping relationship between the vehicle wiring harnesses of different lengths and the corresponding average gain attenuation values includes:
respectively detecting a plurality of undetermined gain attenuation values of vehicle-mounted wire harnesses with different lengths in a preset period at intervals of a preset time period under a preset temperature condition;
and respectively carrying out average value processing on a plurality of to-be-determined gain attenuation values corresponding to the vehicle-mounted wire harnesses with different lengths, and generating average gain attenuation values corresponding to the vehicle-mounted wire harnesses with different lengths under the preset temperature condition so as to determine the mapping relation.
3. The method of claim 1, wherein said calculating a current gain compensation value based on said current time of use, said vehicle temperature, and said target average gain attenuation value comprises:
based on formula X 0 =△G/[(t 0 -t 1 )*2/10]* T, calculating the current gain compensation value X 0 Wherein ΔG is the target average gain attenuation value, t 0 At a preset temperature t 1 T is the current time of use and is in hours, which is the vehicle temperature.
4. A method according to claim 3, characterized in that the method further comprises:
acquiring delay vehicle temperature t of current vehicle after current use time of n minutes 2
According to formula X n =△G/[(t 0 -t 2 )*2/10]* (T+n/60), calculating the delay gain loss value X after the current use time of n minutes n
According to the delay gain loss value X n And controlling a gain controller built in the current vehicle to perform gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
5. The method according to claim 2, wherein the detecting a plurality of undetermined gain attenuation values of the vehicle-mounted wire harness of different lengths, respectively, at predetermined intervals for a predetermined period of time in a predetermined period under a predetermined temperature condition includes:
sending out standard signal intensity from one end of a vehicle-mounted wire harness with different lengths through a network analyzer and detecting actual signal intensity at the other end of the vehicle-mounted wire harness;
the pending gain attenuation value is determined based on a difference between the standard signal strength and the actual signal strength.
6. The method according to any one of claims 1-5, wherein the obtaining a current usage time of the current vehicle comprises:
acquiring the driving mileage of the current vehicle and the corresponding real-time vehicle speed;
and determining the current use time of the current vehicle according to the quotient of the acquired driving mileage and the real-time vehicle speed.
7. The method according to any one of claims 1 to 5, wherein the obtaining the target vehicle type information corresponding to the current vehicle includes:
and acquiring target vehicle type information received by the vehicle-mounted communication terminal from a plug-in memory of the gateway, wherein the target vehicle type information is transmitted to the vehicle-mounted communication terminal from the gateway through CAN communication.
8. A gain compensation system, the system comprising:
the data acquisition module is used for responding to the first power-on starting of the current vehicle to acquire target vehicle type information corresponding to the current vehicle, wherein the target vehicle type information comprises the length of a vehicle-mounted wire harness, and the vehicle-mounted wire harness is a radio frequency wire harness which is connected with a vehicle-mounted active antenna and a vehicle-mounted communication terminal in the current vehicle;
the data processing module is used for determining a target average gain attenuation value according to the pre-stored mapping relation between the vehicle-mounted wire harnesses with different lengths and the corresponding average gain attenuation values and the target vehicle type information;
the data acquisition module is also used for acquiring the current service time and the vehicle temperature of the current vehicle;
the data processing module is further used for calculating a current gain compensation value according to the current use time, the vehicle temperature and the target average gain attenuation value;
and the gain compensation module is used for controlling a gain controller arranged in the vehicle-mounted communication terminal according to the current gain compensation value so as to carry out gain compensation on the radio frequency signals transmitted by the vehicle-mounted wire harness.
9. An electronic device, the electronic device comprising:
one or more processors;
and a memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that it stores a computer program, which causes a computer to perform the method of any one of claims 1-7.
CN202310885815.1A 2023-07-19 2023-07-19 Gain compensation method, system, electronic device and storage medium Pending CN117040461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310885815.1A CN117040461A (en) 2023-07-19 2023-07-19 Gain compensation method, system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310885815.1A CN117040461A (en) 2023-07-19 2023-07-19 Gain compensation method, system, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN117040461A true CN117040461A (en) 2023-11-10

Family

ID=88627128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310885815.1A Pending CN117040461A (en) 2023-07-19 2023-07-19 Gain compensation method, system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN117040461A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117395691A (en) * 2023-12-11 2024-01-12 泉州市三川通讯技术股份有限责任公司 Vehicle-mounted terminal communication optimization method under weak signal environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117395691A (en) * 2023-12-11 2024-01-12 泉州市三川通讯技术股份有限责任公司 Vehicle-mounted terminal communication optimization method under weak signal environment
CN117395691B (en) * 2023-12-11 2024-03-01 泉州市三川通讯技术股份有限责任公司 Vehicle-mounted terminal communication optimization method under weak signal environment

Similar Documents

Publication Publication Date Title
CN107896131B (en) Bluetooth signal adjusting method, device, test terminal, system and readable medium
CN117040461A (en) Gain compensation method, system, electronic device and storage medium
CN108055092B (en) Bluetooth signal adjusting method, device, test terminal, system and readable medium
US9103684B2 (en) System and method for odometer calibration
CN108199785B (en) Transmission power testing method, device and system and electronic equipment
CN108234034A (en) Bluetooth signal method of adjustment, device, test terminal, system and readable medium
CN105324638A (en) Offset estimation device, method, and program
CN109374022B (en) Sampling time sequence system of position encoder
CN103513123A (en) Device and method for measuring servo drive bandwidth
CN114397044A (en) Body temperature detection method and device, electronic equipment and storage medium
CN109341836B (en) Method and device for calibrating symmetrical platform
CN107894262B (en) Liquid level measuring device and method and engine
CN108039928B (en) Received signal strength testing method, device and system and electronic equipment
CN108123762B (en) Transmission power testing method, device and system and electronic equipment
CN108199788B (en) Transmission power testing method, device and system and electronic equipment
CN112834775B (en) Vehicle speed prediction method and device, electronic equipment and storage medium
CN111200467B (en) Calibration method and device for wireless parameters of chip and electronic equipment
JP2022552473A (en) A method for detecting a target position of a display unit and/or control unit on a holding device and a corresponding display unit and/or control unit
JP2018124812A (en) Degree of risk determination system, server, and computer program
CN113532879A (en) Data acquisition method and device, electronic equipment and storage medium
CN105894608A (en) Vehicle-mounted terminal
CN205230147U (en) Vehicle -mounted terminal
JP2020190886A (en) Information processor, information processing method, and program
CN112051074B (en) Vehicle calibration parameter acquisition method and system and computer readable storage medium
CN112362358B (en) Method and device for determining physical value of whole vehicle signal

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