Fault detection method of passive device, communication module and electronic equipment
By obtaining the RF gain index and actual received power from the calibration file and comparing the calibration and actual received power, the problem of not being able to detect passive device failures in the communication module is solved, and the accurate detection and processing of passive device failures is achieved.
Patent Information
- Application Number
- CN202411533557.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-02-11
AI Technical Summary
The prior art cannot detect passive devices in communication modules, resulting in failures being unable to detect and repair problems in a timely manner, affecting communication performance.
By obtaining the target RF gain index in the target frequency band from the preset calibration file, the communication module is controlled to transmit power, and obtain the target actual received power received by the modem during the power transmission process. Then, the target calibration received power is compared with the target actual received power, and the passive device is determined based on the comparison results.
It realizes accurate fault detection of passive devices in communication modules, can promptly detect and handle faults, and improves the performance and reliability of communication modules.
Smart Images

Figure CN119420426A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a passive device fault detection method, a communication module and an electronic device. Background Art
[0002] With the development of wireless communication technology, the number of frequency bands supported by communication modules is increasing, which also leads to more and more RF devices (including active devices and passive devices) required in communication modules. However, the hardware status of these RF devices will directly affect the performance of the communication module. Therefore, it is necessary to detect the hardware status of these RF devices before using the communication module.
[0003] In the related art, only active devices in the communication module can be detected, but passive devices in the communication module cannot be detected. Therefore, how to detect passive devices in the communication module has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] The present application provides a passive device fault detection method, a communication module and an electronic device to solve the problem in the prior art that the passive device in the communication module cannot be detected.
[0005] In a first aspect, an embodiment of the present application provides a passive device fault detection method, the method comprising:
[0006] Obtaining a target RF gain index under a target frequency band from a preset calibration file, wherein the target frequency band is any one of a plurality of frequency bands supported by the communication module, the target frequency band corresponds to a plurality of RF gain indices, the target RF gain index is at least one of the plurality of RF gain indices, and the calibration file is used to store the frequency bands supported by the communication module and the plurality of RF gain indices under each frequency band in a corresponding manner;
[0007] Based on the target radio frequency gain index, controlling the communication module to perform power transmission, and obtaining the target actual received power received by the modem in the communication module during the power transmission process;
[0008] Obtaining a target calibration received power from the calibration file, wherein the calibration file is further used to store each RF gain index and the calibration received power corresponding to each RF gain index, and the target calibration received power is the calibration received power corresponding to the target RF gain index;
[0009] The target calibrated received power is compared with the target actual received power, and it is determined whether a passive component corresponding to the target frequency band is faulty according to the comparison result.
[0010] Optionally, comparing the target calibrated received power with the target actual received power, and determining whether a passive component corresponding to the target frequency band is faulty according to the comparison result, includes:
[0011] Comparing the target calibrated received power with the target actual received power, and determining whether a difference between the target calibrated received power and the target actual received power is less than a preset threshold;
[0012] When the difference between the target calibrated received power and the target actual received power is less than the preset threshold, determining that there is no fault in the passive component corresponding to the target frequency band;
[0013] When the difference between the target calibrated received power and the target actual received power is greater than or equal to the preset threshold, it is determined that a passive component corresponding to the target frequency band is faulty.
[0014] Optionally, after determining that the passive component corresponding to the target frequency band is faulty, the method further includes:
[0015] Determine whether there are faults in passive components corresponding to other frequency bands among the multiple frequency bands except the target frequency band;
[0016] In the case where it is determined that the passive components corresponding to the other frequency bands among the multiple frequency bands except the target frequency band are faulty, it is determined that the coupler in the communication module is faulty, wherein the coupler in the communication module is a passive component associated with each frequency band among the multiple frequency bands;
[0017] When it is determined that there is no fault in the passive components corresponding to the other frequency bands among the multiple frequency bands except the target frequency band, it is determined that there is no fault in the coupler in the communication module.
[0018] Optionally, before acquiring the target radio frequency gain index in the target frequency band from the preset calibration file, the method further includes:
[0019] Acquire a plurality of calibrated received powers obtained by calibrating the modem under a plurality of RF gain indices corresponding to each frequency band in the plurality of frequency bands, wherein each RF gain index in the plurality of RF gain indices corresponds one-to-one to each calibrated received power in the plurality of calibrated received powers;
[0020] The multiple frequency bands, the multiple radio frequency gain indices, and the multiple calibration receiving powers are stored correspondingly to obtain the calibration file;
[0021] The calibration file is pre-set in the communication module.
[0022] Optionally, before acquiring the target radio frequency gain index in the target frequency band from the preset calibration file, the method further includes:
[0023] Performing fault detection on active devices in the communication module;
[0024] When the fault detection result indicates that there is no fault in the active device in the communication module, the communication module is controlled to enter a non-signaling mode, and the step of obtaining the target RF gain index in the target frequency band from a preset calibration file is performed.
[0025] Optionally, the performing fault detection on active devices in the communication module includes:
[0026] Reading the value of a register in an active device in the communication module, and determining whether the value of the register is read successfully;
[0027] In the case where the value of the register is read successfully, determining that there is no fault in the active device in the communication module;
[0028] In the event that the value of the register fails to be read, it is determined that an active device in the communication module is faulty.
[0029] Optionally, after comparing the target calibrated received power with the target actual received power and determining whether the passive component corresponding to the target frequency band is faulty according to the comparison result, the method further includes:
[0030] When it is determined that the passive component corresponding to the target frequency band is faulty, interrupting the function corresponding to the target frequency band and retaining the functions corresponding to other frequency bands; and / or,
[0031] When it is determined that the passive component corresponding to the target frequency band has a fault, fault prompt information is generated and the fault prompt information is output, wherein the fault prompt information is used to indicate that the passive component corresponding to the target frequency band has a fault.
[0032] In a second aspect, an embodiment of the present application further provides a communication module, the communication module comprising:
[0033] A first acquisition module is used to obtain a target RF gain index under a target frequency band from a preset calibration file, wherein the target frequency band is any one of a plurality of frequency bands supported by the communication module, the target frequency band corresponds to a plurality of RF gain indices, the target RF gain index is at least one of the plurality of RF gain indices, and the calibration file is used to store the frequency bands supported by the communication module and the plurality of RF gain indices under each frequency band in a corresponding manner;
[0034] A second acquisition module is used to control the communication module to perform power transmission based on the target radio frequency gain index, and obtain the target actual received power received by the modem in the communication module during the power transmission process;
[0035] A third acquisition module is used to obtain a target calibration received power from the calibration file, wherein the calibration file is also used to store each RF gain index and the calibration received power corresponding to each RF gain index, and the target calibration received power is the calibration received power corresponding to the target RF gain index;
[0036] The determination module is used to compare the target calibrated received power with the target actual received power, and determine whether the passive component corresponding to the target frequency band is faulty according to the comparison result.
[0037] In a third aspect, an embodiment of the present application further provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0038] Memory, used to store computer programs;
[0039] The processor is used to implement the passive device fault detection method described in the first aspect when executing the program stored in the memory.
[0040] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the passive device fault detection method as described in the first aspect is implemented.
[0041] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0042] The method provided by the embodiment of the present application obtains a target RF gain index under a target frequency band from a pre-set calibration file, wherein the target frequency band is any frequency band among multiple frequency bands supported by the communication module, the target frequency band corresponds to multiple RF gain indices, and the target RF gain index is at least one RF gain index among the multiple RF gain indices, and the calibration file is used to store the frequency bands supported by the communication module and multiple RF gain indices under each frequency band in a corresponding manner; based on the target RF gain index, the communication module is controlled to perform power transmission, and the target actual received power received by the modem in the communication module is obtained during the power transmission process; the target calibration received power is obtained from the calibration file, wherein the calibration file is also used to store the RF gain index and the calibration received power corresponding to each RF gain index, and the target calibration received power is the calibration received power corresponding to the target RF gain index; the target calibration received power is compared with the target actual received power, and it is determined whether the passive device corresponding to the target frequency band is faulty based on the comparison result. Through the above method, the target actual receiving power received by the modem in the communication module and the target calibrated receiving power pre-stored in the calibration file can be used to accurately determine whether the passive devices corresponding to the target frequency band in the communication module are faulty, thereby effectively solving the problem that the passive devices in the communication module cannot be detected in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0045] Figure 1 A schematic diagram of a flow chart of a passive device fault detection method provided in an embodiment of the present application;
[0046] Figure 2 A schematic diagram of the structure of a communication module provided in an embodiment of the present application;
[0047] Figure 3 A schematic flow chart of another passive device fault detection method provided in an embodiment of the present application;
[0048] Figure 4 A schematic diagram of the structure of another communication module provided in an embodiment of the present application;
[0049] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0051] See also Figure 1 , Figure 1 The present invention provides a schematic flow chart of a method for detecting a fault in a passive device. Figure 1 As shown, the passive device fault detection method may include the following steps:
[0052] Step 102: obtain a target RF gain index under a target frequency band from a preset calibration file, wherein the target frequency band is any one of a plurality of frequency bands supported by the communication module, the target frequency band corresponds to a plurality of RF gain indices, the target RF gain index is at least one of the plurality of RF gain indices, and the calibration file is used to store the corresponding frequency bands supported by the communication module and the plurality of RF gain indices under each frequency band.
[0053] It should be noted that the passive device fault detection method provided in the embodiment of the present application can be used to detect faults in passive devices within a communication module. The passive device fault detection method can be executed by the processor of the communication module itself, or by other electronic devices connected to the communication module, and the present application does not make specific limitations. The communication module here may include but is not limited to the second generation mobile communication technology (2-Generation wireless telephone technology, referred to as 2G) communication module, the third generation mobile communication technology (3rd-Generation, referred to as 3G) communication module, the fourth generation mobile communication technology (4th Generation Mobile Communication Technology, referred to as 4G) communication module and the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, referred to as 5G) communication module, etc. The communication module may include multiple active devices and multiple passive devices, wherein an active device refers to a device that requires external energy to work properly, and a passive device refers to a device that does not require external energy to work properly. As an optional implementation, the structure of the communication module is as follows Figure 2 As shown, it includes a modem, a low, medium and high frequency multi-mode amplifier, a 5G ultra-high frequency transmitting and receiving module, a switch, filters corresponding to different frequency bands, an auxiliary receiving module and other structures. Among them, the low, medium and high frequency multi-mode amplifier, the 5G ultra-high frequency transmitting and receiving module, the switch, and the auxiliary receiving module are active devices, and fault detection can be performed through the Mobile Industry Processor Interface (MIPI); the filter and the coupler are passive devices, and fault detection cannot be performed through the MIPI interface.
[0054] Specifically, the target frequency band is any one of the multiple frequency bands supported by the communication module, such as any low frequency band, any medium frequency band or any high frequency band. Each of the multiple frequency bands supported by the communication module can correspond to multiple RF gain indexes (Radio Frequency Gain Index, referred to as RGI), that is, one frequency band can correspond to multiple RF gain indexes. Among them, the RF gain index here refers to the output power adjustment index of the RF power amplifier, so the size of the RF gain index is related to the output power of the communication module and the power received by the modem in the communication module through the coupler. The target RF gain index can be at least one RF gain index among the multiple RF gain indexes corresponding to the target frequency band, such as 1, 2, 3, etc. RF gain indexes corresponding to the target frequency band.
[0055] The calibration file is a file pre-set in the communication module before the communication module leaves the factory. The calibration file stores the frequency bands supported by the communication module and multiple RF gain indices under each frequency band. In this way, the target RF gain index under the target frequency band can be obtained from the pre-set calibration file according to the target frequency band.
[0056] In this step, any one RF gain index under the target frequency band can be randomly obtained from the calibration file, or any multiple RF gain indexes under the target frequency band can be randomly obtained from the calibration file, which is not specifically limited in the embodiment of the present application. As an optional implementation, in order to improve the fault detection efficiency of passive devices, an RF gain index under the target frequency band can be obtained from the calibration file for analysis and processing.
[0057] Step 104: Based on the target radio frequency gain index, control the communication module to perform power transmission, and obtain the target actual receiving power received by the modem in the communication module during the power transmission process.
[0058] In this step, after obtaining the target RF gain index, the communication module can be controlled to perform power transmission based on the target RF gain index, and the target actual received power received by the modem in the communication module can be obtained during the power transmission process. It should be noted that if the target RF gain index is a plurality of RF gain indices under the target frequency band, in the process of controlling the communication module to perform power transmission, power transmission can be performed in the order of these multiple RF gain indices from large to small, and then the multiple actual received powers received by the modem can be obtained; power transmission can also be performed in the order of these multiple RF gain indices from small to large, and then the multiple actual received powers received by the modem can be obtained. It should be noted that the actual received power received by the modem refers to the power coupled back to the modem from the coupler, which is much smaller than the actual output power of the communication module.
[0059] Step 106: Obtain a target calibration received power from the calibration file, wherein the calibration file is also used to store each RF gain index and the calibration received power corresponding to each RF gain index, and the target calibration received power is the calibration received power corresponding to the target RF gain index.
[0060] Specifically, the calibration file not only stores the frequency bands supported by the communication module and multiple RF gain indices under each frequency band, but also stores each RF gain index and the calibrated received power corresponding to each RF gain index. In other words, the calibration file stores the calibrated received power under different frequency bands and different RF gain indices, as shown in the following table:
[0061]
[0062] It can be seen that one frequency band can correspond to multiple RF gain indices, and each RF gain index corresponds to a calibration received power, and different RF gain indices correspond to different values of the calibration received power.
[0063] In this step, the target calibration received power corresponding to the target radio frequency gain index may be directly acquired from the calibration file based on the target radio frequency gain index.
[0064] Step 108: Compare the target calibration received power with the target actual received power, and determine whether the passive device corresponding to the target frequency band is faulty according to the comparison result.
[0065] In this step, the target calibration received power can be compared with the target actual received power to obtain the difference between the target calibration received power and the target actual received power, and then based on the difference, it is determined whether the passive components corresponding to the target frequency band in the communication module are faulty. The passive components corresponding to the target frequency band here include but are not limited to filters and other independent components (such as resistors, capacitors, inductors, diodes, etc.) corresponding to the target frequency band.
[0066] In this embodiment, the target actual received power received by the modem in the communication module and the target calibrated received power pre-stored in the calibration file can be used to accurately determine whether the passive components corresponding to the target frequency band in the communication module are faulty, thereby effectively solving the problem in the prior art that passive components in the communication module cannot be detected.
[0067] Furthermore, the above step 108, comparing the target calibration received power with the target actual received power, and determining whether the passive device corresponding to the target frequency band is faulty according to the comparison result, includes:
[0068] Comparing the target calibration received power with the target actual received power, and determining whether the difference between the target calibration received power and the target actual received power is less than a preset threshold;
[0069] When the difference between the target calibrated received power and the target actual received power is less than a preset threshold, it is determined that there is no fault in the passive device corresponding to the target frequency band;
[0070] When the difference between the target calibrated received power and the target actual received power is greater than or equal to a preset threshold, it is determined that a passive component corresponding to the target frequency band is faulty.
[0071] In one embodiment, when comparing the target calibration received power with the target actual received power, and determining whether the passive device corresponding to the target frequency band is faulty based on the comparison result, the target calibration received power can be first compared with the target actual received power to obtain the difference between the target calibration received power and the target actual received power, and then determine whether the difference is less than a preset threshold value. If the difference is less than the preset threshold value, it can be determined that the passive device corresponding to the target frequency band is not faulty; if the difference is greater than or equal to the preset threshold value, it can be determined that the passive device corresponding to the target frequency band is faulty, because if the filter is damaged, the insertion loss of the filter will increase, which will cause the actual received power received by the modem to become lower, and thus there will be a large deviation from the calibration received power. It should be noted that the preset threshold here can be set according to the actual situation, such as 1.5dB, 2dB, etc., and the embodiment of the present application does not make specific limitations.
[0072] For example, assuming that a communication module supports a total of 20 frequency bands, when obtaining the actual received power of the modem, an RF gain index can be randomly selected from each of the 20 frequency bands for power transmission to obtain 20 actual received powers, and then the 20 actual received powers are compared one by one with the 20 calibrated received powers corresponding to the 20 RF gain indices in the calibration file. If the difference between the 20 actual received powers and the 20 calibrated received powers corresponding to the 20 RF gain indices in the calibration file is less than the preset threshold, it means that there is no fault in the passive devices corresponding to all frequency bands in the communication module; if one or more of the differences between the 20 actual received powers and the 20 calibrated received powers corresponding to the 20 RF gain indices in the calibration file is greater than or equal to the preset threshold, it means that there is a fault in the passive devices corresponding to some frequency bands in the communication module.
[0073] Through the above method, it is possible to accurately and quickly determine whether the passive components corresponding to each frequency band in the communication module are faulty, thereby effectively solving the problem in the prior art that the passive components in the communication module cannot be detected.
[0074] Furthermore, after the above step of determining that the passive component corresponding to the target frequency band has a fault, the method further includes:
[0075] Determine whether there are faults in passive components corresponding to other frequency bands among multiple frequency bands except the target frequency band;
[0076] In the case where it is determined that the passive components corresponding to the other frequency bands except the target frequency band among the multiple frequency bands are faulty, it is determined that the coupler in the communication module is faulty, wherein the coupler in the communication module is a passive component associated with each frequency band among the multiple frequency bands;
[0077] When it is determined that there is no fault in the passive components corresponding to the other frequency bands except the target frequency band among the multiple frequency bands, it is determined that there is no fault in the coupler in the communication module.
[0078] In one embodiment, the passive components in the communication module include, in addition to the filters corresponding to each frequency band, a coupler connected to the filters corresponding to each frequency band. Therefore, after determining that the passive components corresponding to the target frequency band are faulty, it is also necessary to determine whether the passive components corresponding to other frequency bands other than the target frequency band among the multiple frequency bands supported by the communication module are faulty. If the passive components corresponding to other frequency bands other than the target frequency band among the multiple frequency bands are also faulty, it can be determined that the coupler in the communication module is faulty. The reason is that the possibility of the filters corresponding to the various frequency bands failing at the same time is relatively small, and all filters are connected between the coupler and the modem. Therefore, once the coupler fails, it will cause a large deviation between the actual received power corresponding to all frequency bands and the calibrated received power. If the passive components corresponding to other frequency bands other than the target frequency band among the multiple frequency bands are not faulty, it can be determined that the coupler in the communication module is not faulty.
[0079] Through the above method, it is possible to accurately and quickly determine whether the coupler in the communication module is faulty, thereby effectively solving the problem in the prior art that passive components in the communication module cannot be detected.
[0080] Furthermore, before the above step 102 of acquiring the target radio frequency gain index in the target frequency band from the preset calibration file, the method further includes:
[0081] Acquire a plurality of calibrated received powers obtained by calibrating the modem under a plurality of radio frequency gain indices corresponding to each frequency band in a plurality of frequency bands, wherein each radio frequency gain index in the plurality of radio frequency gain indices corresponds one-to-one to each calibrated received power in the plurality of calibrated received powers;
[0082] Correspondingly storing multiple frequency bands, multiple radio frequency gain indices, and multiple calibration receiving powers to obtain a calibration file;
[0083] The calibration file is pre-set in the communication module.
[0084] In one embodiment, before obtaining the target RF gain index under the target frequency band from the preset calibration file, a calibration file can also be obtained and preset. Specifically, multiple calibration receiving powers obtained by calibrating the modem under multiple RF gain indices corresponding to each frequency band in multiple frequency bands can be obtained. It should be noted that each RF gain index corresponds to a calibration receiving power one by one. For example, assuming that a certain communication module supports a total of 20 frequency bands, each frequency band has 5 RF gain indices corresponding to it, then the communication module corresponds to a total of 100 RF gain indices. When obtaining the calibration file, it is necessary to perform power transmission on these 100 RF gain indices, obtain these 100 calibration receiving powers, and then store these 100 calibration receiving powers corresponding to the 100 RF gain indices to obtain the calibration file, so as to obtain the calibration file, and finally pre-set the calibration file in the communication module, so as to facilitate the subsequent power transmission based on the calibration file and obtain the actual receiving power received by the modem. As an optional implementation, when obtaining the actual receiving power of the modem, if an RF gain index is randomly selected from each of the 20 frequency bands for power transmission, only 20 RF gain indices need to be selected for power transmission, and 20 calibrated receiving powers are obtained. Then, the 20 calibrated receiving powers are compared with the 20 RF gain indices to determine whether there is a fault in the passive device in the communication module.
[0085] Furthermore, before the above step 102 of acquiring the target radio frequency gain index in the target frequency band from the preset calibration file, the method further includes:
[0086] Perform fault detection on active devices in communication modules;
[0087] When the fault detection result indicates that there is no fault in the active device in the communication module, the communication module is controlled to enter a non-signaling mode, and a step of obtaining a target RF gain index in a target frequency band from a preset calibration file is executed.
[0088] In one embodiment, before obtaining the target RF gain index under the target frequency band from a preset calibration file, fault detection can also be performed on the active devices in the communication module to determine whether there is a fault in the active devices in the communication module, and after determining that there is no fault in the active devices in the communication module, the communication module is controlled to enter a non-signaling mode, and the step of obtaining the target RF gain index under the target frequency band from the preset calibration file is executed.
[0089] Through the above-mentioned method, the interference of the faulty active components in the communication module to the passive components can be eliminated, thereby further improving the accuracy of the passive component fault detection in the communication module.
[0090] Furthermore, the above step of performing fault detection on active devices in the communication module includes:
[0091] Read the value of the register in the active device in the communication module, and determine whether the register value is read successfully;
[0092] In the case where the register value is read successfully, it is determined that there is no fault in the active device in the communication module;
[0093] In the event that the register value reading fails, it is determined that an active device in the communication module is faulty.
[0094] In one embodiment, when fault detection is performed on an active device in a communication module, the value of a register in the active device in the communication module may be read, and it may be determined whether the register value is read successfully. Specifically, the active device (such as Figure 2 The value of the register in the communication module (low, medium and high frequency multi-mode amplifier, 5G ultra-high frequency transmission and reception module, switch, auxiliary reception module, etc.) is read and judged whether the register value is read successfully. If the register value is read successfully, it can be determined that there is no fault in the active device in the communication module; if the register value fails to be read, it can be determined that there is a fault in the active device in the communication module.
[0095] Through the above method, it is possible to accurately determine whether the active device in the communication module is faulty, so as to achieve fault detection of the active device.
[0096] Furthermore, after comparing the target calibration received power with the target actual received power in the above step 108, and determining whether the passive device corresponding to the target frequency band is faulty according to the comparison result, the method further includes:
[0097] When it is determined that the passive device corresponding to the target frequency band is faulty, interrupting the function corresponding to the target frequency band and retaining the functions corresponding to other frequency bands; and / or,
[0098] When it is determined that the passive component corresponding to the target frequency band has a fault, fault prompt information is generated and output, wherein the fault prompt information is used to indicate that the passive component corresponding to the target frequency band has a fault.
[0099] In one embodiment, when it is determined that a passive device in a communication module is faulty, the frequency band function corresponding to the faulty passive device in the communication module can be interrupted, and the frequency band function corresponding to the normal passive device can be retained, so that the normal use of the undamaged functions in the communication module can be guaranteed as much as possible. As another implementation, when it is determined that a passive device in a communication module is faulty, a fault prompt information can be generated and output, wherein the fault prompt information is used to indicate that there is a faulty passive device in the communication module, and can be any form of prompt information such as voice, text, or sound and light, so that a fault reminder can be made in time, and it is convenient to replace the faulty communication module or the faulty device in the communication module.
[0100] In one embodiment, the fault detection process of the passive device provided in the embodiment of the present application is as follows: Figure 3 As shown, it may include the following steps:
[0101] Step 301: Turn on the communication module.
[0102] Step 302: Detect whether active components in the communication module are damaged.
[0103] When it is detected that the active device in the communication module is not damaged, step 303 is executed; when it is detected that the active device in the communication module is damaged, the process ends.
[0104] Step 303: Control the communication module to enter a non-signaling mode.
[0105] Step 304: Obtain a target radio frequency gain index in a target frequency band from a preset calibration file, and perform power transmission.
[0106] Step 305: Acquire the target actual received power received by the modem in the communication module during the power transmission process.
[0107] Step 306: Determine whether the difference between the target calibration received power and the target actual received power is less than a preset threshold.
[0108] The target calibration received power is compared with the target actual received power, and it is determined whether the difference between the target calibration received power and the target actual received power is less than a preset threshold; if the difference between the target calibration received power and the target actual received power is less than the preset threshold, step 307 is executed; if the difference between the target calibration received power and the target actual received power is greater than or equal to the preset threshold, step 308 is executed. Step 307: Determine whether the passive device corresponding to the target frequency band is faulty.
[0109] Step 308: Determine whether a passive component corresponding to the target frequency band is faulty.
[0110] Step 309: Determine whether there are faults in passive components corresponding to other frequency bands among the multiple frequency bands except the target frequency band.
[0111] When it is determined that passive components corresponding to frequency bands other than the target frequency band among multiple frequency bands are faulty, it is determined that the coupler in the communication module is faulty; when it is determined that passive components corresponding to frequency bands other than the target frequency band among multiple frequency bands are not faulty, it is determined that the coupler in the communication module is not faulty.
[0112] Step 310: Determine whether a coupler in the communication module is faulty.
[0113] Step 311: Determine that there is no fault in the coupler in the communication module.
[0114] By executing the above steps 301 to 311, the problem that the passive components in the communication module in the prior art cannot be detected for faults is solved. At the same time, since the communication module, such as the Network Access Device (NAD) module, needs to be mounted on the Telematics Control Unit (TCU) for a second time, the NAD module can be self-tested before mounting, and the problematic NAD module can be easily and quickly screened out, which can avoid the bad NAD module being mounted on the TCU and making the entire TCU scrapped, and is also conducive to locating the problem of the bad board.
[0115] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of a communication module provided in an embodiment of the present application. Figure 4 As shown, the communication module 400 includes:
[0116] The first acquisition module 401 is used to obtain a target RF gain index under a target frequency band from a preset calibration file, wherein the target frequency band is any frequency band among multiple frequency bands supported by the communication module, the target frequency band corresponds to multiple RF gain indices, the target RF gain index is at least one RF gain index among the multiple RF gain indices, and the calibration file is used to store the frequency bands supported by the communication module and the multiple RF gain indices under each frequency band in a corresponding manner;
[0117] A second acquisition module 402 is used to control the communication module to perform power transmission based on the target radio frequency gain index, and obtain the target actual received power received by the modem in the communication module during the power transmission process;
[0118] The third acquisition module 403 is used to obtain the target calibration received power from the calibration file, wherein the calibration file is also used to store each RF gain index and the calibration received power corresponding to each RF gain index, and the target calibration received power is the calibration received power corresponding to the target RF gain index;
[0119] The determination module 404 is used to compare the target calibration received power with the target actual received power, and determine whether the passive device corresponding to the target frequency band is faulty according to the comparison result.
[0120] Further, the determination module 404 includes:
[0121] A first judgment submodule is used to compare the target calibration received power with the target actual received power, and to judge whether the difference between the target calibration received power and the target actual received power is less than a preset threshold;
[0122] A first determination submodule is used to determine that there is no fault in the passive device corresponding to the target frequency band when the difference between the target calibration received power and the target actual received power is less than a preset threshold;
[0123] The second determination submodule is used to determine that a passive component corresponding to the target frequency band is faulty when the difference between the target calibrated received power and the target actual received power is greater than or equal to a preset threshold.
[0124] Furthermore, the determination module 404 further includes:
[0125] A third determination submodule is used to determine whether there are faults in passive components corresponding to other frequency bands among the multiple frequency bands except the target frequency band;
[0126] A fourth determination submodule is used to determine that a coupler in the communication module has a fault when it is determined that a passive device corresponding to other frequency bands in the multiple frequency bands except the target frequency band has a fault, wherein the coupler in the communication module is a passive device associated with each frequency band in the multiple frequency bands;
[0127] The fifth determination submodule is used to determine that there is no fault in the coupler in the communication module when it is determined that there is no fault in the passive components corresponding to other frequency bands except the target frequency band among the multiple frequency bands.
[0128] Furthermore, the communication module 400 also includes:
[0129] a fourth acquisition module, configured to acquire a plurality of calibrated received powers obtained by calibrating the modem under a plurality of RF gain indices corresponding to each frequency band in the plurality of frequency bands, wherein each RF gain index in the plurality of RF gain indices corresponds one-to-one to each calibrated received power in the plurality of calibrated received powers;
[0130] A storage module, used to store multiple frequency bands, multiple radio frequency gain indices and multiple calibration receiving powers correspondingly to obtain a calibration file;
[0131] The setting module is used to pre-set the calibration file in the communication module.
[0132] Furthermore, the communication module 400 also includes:
[0133] A detection module, used for performing fault detection on active devices in the communication module;
[0134] The control module is used to control the communication module to enter a non-signaling mode and execute the step of obtaining a target RF gain index under a target frequency band from a preset calibration file when a fault detection result indicates that there is no fault in an active device in the communication module.
[0135] Furthermore, the detection module includes:
[0136] The second judgment submodule is used to read the value of the register in the active device in the communication module and judge whether the value of the register is read successfully;
[0137] A sixth determination submodule, used to determine that there is no fault in the active device in the communication module when the value of the register is read successfully;
[0138] The seventh determination submodule is used to determine whether an active device in the communication module is faulty when the register value reading fails.
[0139] Furthermore, the communication module 400 also includes:
[0140] an interruption module, used to interrupt the function corresponding to the target frequency band and retain the functions corresponding to other frequency bands when it is determined that the passive device corresponding to the target frequency band is faulty; and / or,
[0141] The generation module is used to generate fault prompt information and output the fault prompt information when it is determined that the passive component corresponding to the target frequency band has a fault, wherein the fault prompt information is used to indicate that the passive component corresponding to the target frequency band has a fault.
[0142] It should be noted that the communication module 400 can implement the steps of the passive device fault detection method provided in any of the aforementioned method embodiments and can achieve the same technical effects, which will not be described in detail here.
[0143] like Figure 5As shown, the embodiment of the present application further provides an electronic device, including a processor 511, a communication interface 512, a memory 513 and a communication bus 514, wherein the processor 511, the communication interface 512, and the memory 513 communicate with each other through the communication bus 514.
[0144] Memory 513, used for storing computer programs;
[0145] In one embodiment of the present application, the processor 511 is used to implement the steps of the passive device fault detection method provided by any one of the aforementioned method embodiments when executing the program stored in the memory 513.
[0146] The electronic device provided in the embodiment of the present application may specifically be a module capable of realizing a communication function or a terminal device including the module, etc. The terminal device may be a mobile terminal or a smart terminal. The mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a laptop computer, etc.; the smart terminal may specifically be a terminal including a wireless communication module such as a smart car, a smart watch, a shared bicycle, a smart cabinet, etc.; the module may specifically be a wireless communication module, such as any one of a 2G communication module, a 3G communication module, a 4G communication module, a 5G communication module, and a NB-IOT communication module.
[0147] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the passive device fault detection method provided in any of the aforementioned method embodiments are implemented.
[0148] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0149] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A passive device fault detection method, characterized in that: The method comprises: Obtaining a target RF gain index under a target frequency band from a preset calibration file, wherein the target frequency band is any one of a plurality of frequency bands supported by the communication module, the target frequency band corresponds to a plurality of RF gain indices, the target RF gain index is at least one of the plurality of RF gain indices, and the calibration file is used to store the frequency bands supported by the communication module and the plurality of RF gain indices under each frequency band in a corresponding manner; Based on the target radio frequency gain index, controlling the communication module to perform power transmission, and obtaining the target actual received power received by the modem in the communication module during the power transmission process; Obtaining a target calibration received power from the calibration file, wherein the calibration file is further used to store correspondingly each RF gain index and the calibration received power corresponding to each RF gain index, and the target calibration received power is the calibration received power corresponding to the target RF gain index; The target calibrated received power is compared with the target actual received power, and it is determined whether a passive component corresponding to the target frequency band is faulty according to the comparison result.
2. The method according to claim 1, characterized in that: The comparing the target calibrated received power with the target actual received power, and determining whether the passive component corresponding to the target frequency band is faulty according to the comparison result, includes: Comparing the target calibrated received power with the target actual received power, and determining whether a difference between the target calibrated received power and the target actual received power is less than a preset threshold; When the difference between the target calibrated received power and the target actual received power is less than the preset threshold, determining that there is no fault in the passive component corresponding to the target frequency band; When the difference between the target calibrated received power and the target actual received power is greater than or equal to the preset threshold, it is determined that a passive component corresponding to the target frequency band is faulty.
3. The method according to claim 2, characterized in that After determining that the passive component corresponding to the target frequency band is faulty, the method further includes: Determine whether there are faults in passive components corresponding to other frequency bands among the multiple frequency bands except the target frequency band; In the case where it is determined that the passive components corresponding to the other frequency bands among the multiple frequency bands except the target frequency band are faulty, it is determined that the coupler in the communication module is faulty, wherein the coupler in the communication module is a passive component associated with each frequency band among the multiple frequency bands; When it is determined that there is no fault in the passive components corresponding to the other frequency bands among the multiple frequency bands except the target frequency band, it is determined that there is no fault in the coupler in the communication module.
4. The method according to claim 1, characterized in that Before acquiring the target radio frequency gain index in the target frequency band from the preset calibration file, the method further includes: Acquire a plurality of calibrated received powers obtained by calibrating the modem under a plurality of RF gain indices corresponding to each frequency band in the plurality of frequency bands, wherein each RF gain index in the plurality of RF gain indices corresponds one-to-one to each calibrated received power in the plurality of calibrated received powers; The multiple frequency bands, the multiple radio frequency gain indices, and the multiple calibration receiving powers are stored correspondingly to obtain the calibration file; The calibration file is pre-set in the communication module.
5. The method according to claim 1, characterized in that Before acquiring the target radio frequency gain index in the target frequency band from the preset calibration file, the method further includes: Performing fault detection on active devices in the communication module; When the fault detection result indicates that there is no fault in the active device in the communication module, the communication module is controlled to enter a non-signaling mode, and the step of obtaining the target RF gain index in the target frequency band from a preset calibration file is performed.
6. The method according to claim 5, characterized in that The performing fault detection on active devices in the communication module includes: Reading the value of a register in an active device in the communication module, and determining whether the value of the register is read successfully; In the case where the value of the register is read successfully, determining that there is no fault in the active device in the communication module; In the event that the register value reading fails, it is determined that an active device in the communication module is faulty.
7. The method according to claim 1, characterized in that After comparing the target calibrated received power with the target actual received power and determining whether the passive component corresponding to the target frequency band is faulty according to the comparison result, the method further includes: When it is determined that the passive component corresponding to the target frequency band is faulty, interrupting the function corresponding to the target frequency band and retaining the functions corresponding to other frequency bands; and / or, When it is determined that the passive component corresponding to the target frequency band has a fault, fault prompt information is generated and the fault prompt information is output, wherein the fault prompt information is used to indicate that the passive component corresponding to the target frequency band has a fault.
8. A communication module, characterized in that: The communication module comprises: A first acquisition module is used to obtain a target RF gain index under a target frequency band from a preset calibration file, wherein the target frequency band is any one of a plurality of frequency bands supported by the communication module, the target frequency band corresponds to a plurality of RF gain indices, the target RF gain index is at least one of the plurality of RF gain indices, and the calibration file is used to store the frequency bands supported by the communication module and the plurality of RF gain indices under each frequency band in a corresponding manner; A second acquisition module, configured to control the communication module to perform power transmission based on the target radio frequency gain index, and to obtain a target actual received power received by a modem in the communication module during the power transmission process; A third acquisition module is used to obtain a target calibration received power from the calibration file, wherein the calibration file is also used to store each RF gain index and the calibration received power corresponding to each RF gain index, and the target calibration received power is the calibration received power corresponding to the target RF gain index; The determination module is used to compare the target calibrated received power with the target actual received power, and determine whether the passive component corresponding to the target frequency band is faulty according to the comparison result.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor is used to implement the steps of the passive device fault detection method described in any one of claims 1 to 7 when executing a program stored in a memory.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the passive device fault detection method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Fault detection method for passive device, and communication module and electronic device
WO2026091793A1