Fault detection method for passive device, and communication module and electronic device
By comparing the RF gain index obtained from the calibration file with the actual received power, fault detection of passive components in the communication module is realized, solving the problem that cannot be detected in the existing technology and improving detection efficiency and accuracy.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- ROLLING WIRELESS SARL
- Filing Date
- 2025-08-20
- Publication Date
- 2026-05-07
AI Technical Summary
Existing technologies cannot detect passive components in communication modules, which affects communication performance.
By obtaining the target RF gain index under the target frequency band from the pre-set calibration file, the communication module is controlled to transmit power, and the actual received power received by the modem is compared with the calibrated received power to determine whether there is a fault in the passive device.
Accurately diagnosing faults in passive components of communication modules solves the problem that cannot be detected in existing technologies, and improves detection efficiency and accuracy.
Smart Images

Figure CN2025115793_07052026_PF_FP_ABST
Abstract
Description
Fault detection methods for passive components, communication modules and electronic equipment
[0001] This application claims priority to Chinese Patent Application No. 202411533557.1, filed on October 30, 2024, entitled "Fault Detection Method for Passive Devices, Communication Module and Electronic Equipment", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of wireless communication technology, and in particular to a fault detection method for passive devices, a communication module, and an electronic device. Background Technology
[0003] With the development of wireless communication technology, the number of frequency bands supported by communication modules is increasing, which also leads to an increase in the number of radio frequency devices (including active and passive devices) required in communication modules. However, the hardware status of these radio frequency devices will directly affect the performance of the communication module. Therefore, it is necessary to test the hardware status of these radio frequency devices before using the communication module.
[0004] In related technologies, only active devices in communication modules can be tested, but passive devices in communication modules cannot be tested. Therefore, how to test passive devices in communication modules has become an urgent technical problem to be solved. Summary of the Invention
[0005] This application provides a method for fault detection of passive devices, a communication module, and an electronic device to solve the problem that the prior art cannot detect passive devices in communication modules.
[0006] In a first aspect, embodiments of this application provide a fault detection method for passive devices, the method comprising:
[0007] The target RF gain index under the target frequency band is obtained from the pre-set calibration file. The target frequency band is any one of the 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 of the multiple RF gain indices. The calibration file is used to store the corresponding frequency bands supported by the communication module and the multiple RF gain indices under each frequency band.
[0008] Based on the target RF gain index, the communication module is controlled to transmit power, and the actual received power of the target received by the modem in the communication module is obtained during the power transmission process;
[0009] The target calibration received power is obtained from the calibration file, wherein the calibration file is also used to store the corresponding calibration received power for each RF gain index and each RF gain index, and the target calibration received power is the calibration received power corresponding to the target RF gain index;
[0010] The target calibrated received power is compared with the target actual received power, and the passive device corresponding to the target frequency band is determined to be faulty based on the comparison result.
[0011] Optionally, comparing the target calibrated received power with the target actual received power, and determining whether there is a fault in the passive device corresponding to the target frequency band based on the comparison result, includes:
[0012] The target calibrated received power is compared with the target actual received power, and it is determined whether the difference between the target calibrated received power and the target actual received power is less than a preset threshold.
[0013] If the difference between the target calibrated received power and the target actual received power is less than the preset threshold, it is determined that there is no fault in the passive device corresponding to the target frequency band.
[0014] If 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 the passive device corresponding to the target frequency band is faulty.
[0015] Optionally, after determining that a passive device corresponding to the target frequency band has a fault, the method further includes:
[0016] Determine whether there are faults in the passive devices corresponding to the frequency bands other than the target frequency band among the plurality of frequency bands;
[0017] If it is determined that the passive devices corresponding to other frequency bands besides 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 device that is associated with each of the multiple frequency bands;
[0018] If it is determined that there are no faults in the passive devices corresponding to the frequency bands other than the target frequency band among the multiple frequency bands, it is determined that there are no faults in the coupler in the communication module.
[0019] Optionally, before obtaining the target RF gain index for the target frequency band from a pre-set calibration file, the method further includes:
[0020] The modem is calibrated under multiple RF gain indices corresponding to each of the multiple frequency bands to obtain multiple calibrated received powers, wherein each RF gain index corresponds one-to-one with each calibrated received power.
[0021] The calibration file is obtained by storing the multiple frequency bands, the multiple RF gain indices, and the multiple calibration receive powers accordingly.
[0022] The calibration file is pre-set in the communication module.
[0023] Optionally, before obtaining the target RF gain index for the target frequency band from a pre-set calibration file, the method further includes:
[0024] Fault detection is performed on the active devices in the communication module;
[0025] If the fault detection results indicate that there is no fault in the active device in the communication module, the communication module is controlled to enter the non-signaling mode and the step of obtaining the target RF gain index of the target frequency band from the pre-set calibration file is executed.
[0026] Optionally, the fault detection of the active devices in the communication module includes:
[0027] Read the value of the register inside the active device in the communication module, and determine whether the value of the register was read successfully;
[0028] If the value of the register is successfully read, it is determined that there is no fault in the active device in the communication module;
[0029] If the value of the register fails to be read, it is determined that there is a fault in the active device in the communication module.
[0030] Optionally, after comparing the target calibrated received power with the target actual received power and determining whether there is a fault in the passive device corresponding to the target frequency band based on the comparison result, the method further includes:
[0031] If a fault is found in the passive device corresponding to the target frequency band, the function corresponding to the target frequency band is interrupted, while the functions corresponding to other frequency bands are retained; and / or,
[0032] If it is determined that there is a fault in the passive device corresponding to the target frequency band, a fault prompt message is generated and output, wherein the fault prompt message is used to indicate that there is a fault in the passive device corresponding to the target frequency band.
[0033] Secondly, embodiments of this application also provide a communication module, the communication module comprising:
[0034] The first acquisition module is used to acquire the target RF gain index under the target frequency band from a pre-set calibration file. The target frequency band is any one of the 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 of the multiple RF gain indices. The calibration file is used to store the corresponding frequency bands supported by the communication module and the multiple RF gain indices under each frequency band.
[0035] The second acquisition module is used to control the communication module to perform power transmission based on the target RF gain index, and to acquire the target actual received power received by the modem in the communication module during the power transmission process;
[0036] The third acquisition module is used to acquire the target calibration received power from the calibration file, wherein the calibration file is also used to store each RF gain index and the corresponding calibration received power, and the target calibration received power is the calibration received power corresponding to the target RF gain index.
[0037] The determination module is used to compare the target calibrated received power with the target actual received power, and determine whether there is a fault in the passive device corresponding to the target frequency band based on the comparison result.
[0038] Thirdly, embodiments of this application also provide 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 through the communication bus;
[0039] Memory, used to store computer programs;
[0040] The processor, when executing a program stored in memory, implements the fault detection method for passive devices described in the first aspect.
[0041] Fourthly, embodiments of this application also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the fault detection method for passive devices as described in the first aspect.
[0042] The technical solutions provided in this application have the following advantages compared with the prior art:
[0043] The method provided in this application embodiment obtains a target RF gain index for a target frequency band from a pre-set calibration file. The target frequency band is any one of multiple frequency bands supported by the communication module, and the target frequency band corresponds to multiple RF gain indices. The target RF gain index is at least one of the multiple RF gain indices. The calibration file is used to store the corresponding frequency bands supported by the communication module and the multiple RF gain indices under each frequency band. Based on the target RF gain index, the communication module is controlled to perform power transmission, and the actual target received power received by the modem in the communication module is obtained during the power transmission process. A target calibrated received power is obtained from the calibration file, which is also used to store the corresponding RF gain index and the calibrated received power corresponding to each RF gain index. The target calibrated received power is the calibrated received power corresponding to the target RF gain index. The target calibrated received power is compared with the actual target received power, and the comparison result determines whether the passive device corresponding to the target frequency band is faulty. By using the above method, the actual received power of the target signal received by the modem in the communication module and the target calibration received power stored in the calibration file can be compared to accurately determine whether there is a fault in the passive device corresponding to the target frequency band in the communication module. This effectively solves the problem that the passive device in the communication module cannot be detected in the prior art. Attached Figure Description
[0044] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0045] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.
[0046] Figure 1 is a flowchart illustrating a fault detection method for a passive device provided in an embodiment of this application;
[0047] Figure 2 is a schematic diagram of the structure of a communication module provided in an embodiment of this application;
[0048] Figure 3 is a flowchart illustrating another method for fault detection of passive devices provided in an embodiment of this application;
[0049] Figure 4 is a structural schematic diagram of another communication module provided in an embodiment of this application;
[0050] Figure 5 is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0052] Referring to Figure 1, Figure 1 is a schematic flowchart of a fault detection method for a passive device provided in an embodiment of this application. As shown in Figure 1, the fault detection method for the passive device may include the following steps:
[0053] Step 102: Obtain the target RF gain index under the target frequency band from the pre-set calibration file. The target frequency band is any one of the 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 of the multiple RF gain indices. The calibration file is used to store the corresponding frequency bands supported by the communication module and the multiple RF gain indices under each frequency band.
[0054] It should be noted that the fault detection method for passive devices provided in this application can be used to detect faults in passive devices within a communication module. This fault detection method for passive devices can be executed by the processor of the communication module itself, or by other electronic devices connected to the communication module; this application does not impose specific limitations. The communication module here may include, but is not limited to, second-generation (2G) wireless telephone technology communication modules, third-generation (3G) mobile communication technology communication modules, fourth-generation (4G) mobile communication technology communication modules, and fifth-generation (5G) mobile communication technology communication modules. The communication module may include multiple active devices and multiple passive devices, where active devices are those that require external power to function normally, and passive devices are those that do not require external power to function normally. As an optional implementation, the structure of this communication module is shown in Figure 2. It includes a modem, a low-, mid-, and high-frequency multimode amplifier, a 5G ultra-high-frequency transmit / receive module, a switch, filters corresponding to different frequency bands, and an auxiliary receive module. Among them, the low-, mid-, and high-frequency multimode amplifier, the 5G ultra-high-frequency transmit / receive module, the switch, and the auxiliary receive module are active devices, and fault detection can be performed through the Mobile Industry Processor Interface (MIPI). The filters and couplers are passive devices and cannot be fault detected through the MIPI interface.
[0055] Specifically, the target frequency band can be any one of the multiple frequency bands supported by the communication module, such as any low-frequency band, any mid-frequency band, or any high-frequency band. Each of the multiple frequency bands supported by the communication module can correspond to multiple Radio Frequency Gain Indexes (RGIs), meaning one frequency band can correspond to multiple RGIs. Here, the RGI refers to the output power adjustment index of the radio frequency power amplifier; therefore, the magnitude of the RGI is related to the output power of the communication module and the power received by the modem through the coupler in the communication module. The target RGI can be at least one of the multiple RGIs corresponding to the target frequency band, such as one, two, or three RGIs corresponding to the target frequency band.
[0056] The aforementioned calibration file is a file pre-set in the communication module before it leaves the factory. This calibration file stores the frequency bands supported by the communication module and multiple RF gain indices for each band. Thus, the target RF gain index for the target frequency band can be obtained from the pre-set calibration file based on the target frequency band.
[0057] In this step, any RF gain index under the target frequency band can be randomly obtained from the calibration file, or any number of RF gain indices under the target frequency band can be randomly obtained from the calibration file; this embodiment does not impose specific limitations. As an optional implementation, 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 and analyzed.
[0058] Step 104: Based on the target RF gain index, control the communication module to transmit power, and obtain the target actual received power received by the modem in the communication module during the power transmission process.
[0059] In this step, after obtaining the target RF gain index, the communication module can be controlled to transmit power based on the target RF gain index, and the 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 consists of multiple RF gain indices under the target frequency band, during the power transmission process, the power can be transmitted in descending order of these multiple RF gain indices, and then the multiple actual received powers received by the modem can be obtained; alternatively, the power can be transmitted in ascending order of these multiple RF gain indices, 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.
[0060] Step 106: Obtain the target calibration received power from the calibration file. The calibration file is also used to store the corresponding calibration received power for each RF gain index and the corresponding RF gain index. The target calibration received power is the calibration received power corresponding to the target RF gain index.
[0061] Specifically, the aforementioned calibration file not only stores the frequency bands supported by the communication module and multiple RF gain indices for each frequency band, but also stores each RF gain index and the corresponding calibrated received power. In other words, the calibration file stores the calibrated received power for different frequency bands and different RF gain indices, as shown in Table 1:
[0062] Table 1
[0063] It can be seen that a 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 calibration received power.
[0064] In this step, the target calibration receive power corresponding to the target RF gain index can be directly obtained from the calibration file based on the target RF gain index.
[0065] Step 108: Compare the target calibrated received power with the target actual received power, and determine whether there is a fault in the passive device corresponding to the target frequency band based on the comparison result.
[0066] In this step, the target calibrated received power is compared with the target actual received power to obtain the difference between the two. Then, based on this difference, it is determined whether there is a fault in the passive components corresponding to the target frequency band in the communication module. These passive components corresponding to the target frequency band include, but are not limited to, filters and other independent components (such as resistors, capacitors, inductors, diodes, etc.) corresponding to that target frequency band.
[0067] In this embodiment, the actual received power of the target signal received by the modem in the communication module and the target calibration received power stored in the calibration file can be used to accurately determine whether there is a fault in the passive device corresponding to the target frequency band in the communication module, thereby effectively solving the problem that the passive device in the communication module cannot be detected in the prior art.
[0068] Further, step 108 above, comparing the target calibrated received power with the target actual received power, and determining whether there is a fault in the passive device corresponding to the target frequency band based on the comparison result, includes:
[0069] The target calibrated received power is compared with the target actual received power, and it is determined whether the difference between the target calibrated received power and the target actual received power is less than a preset threshold.
[0070] If 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.
[0071] If 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 there is a fault in the passive device corresponding to the target frequency band.
[0072] In one embodiment, when comparing the target calibrated received power with the target actual received power and determining whether there is a fault in the passive device corresponding to the target frequency band based on the comparison result, the target calibrated received power can be compared with the target actual received power first to obtain the difference between the target calibrated received power and the target actual received power. Then, it can be determined whether the difference is less than a preset threshold. If the difference is less than the preset threshold, it can be determined that there is no fault in the passive device corresponding to the target frequency band; if the difference is greater than or equal to the preset threshold, it can be determined that there is a fault in the passive device corresponding to the target frequency band. This is because if the filter is damaged, the insertion loss of the filter will increase, which will lead to a lower actual received power received by the modem, and thus a large deviation from the calibrated 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 this embodiment of the application does not make a specific limitation.
[0073] For example, assuming a communication module supports 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, thus obtaining 20 actual received power values. These 20 actual received power values are then compared one by one with the 20 calibrated received power values corresponding to the 20 RF gain indices in the calibration file. If the difference between these 20 actual received power values and the 20 calibrated received power values corresponding to the 20 RF gain indices in the calibration file is less than a preset threshold, it indicates that the passive devices corresponding to all frequency bands in the communication module are not faulty. If one or more of the differences between these 20 actual received power values and the 20 calibrated received power values corresponding to the 20 RF gain indices in the calibration file are greater than or equal to the preset threshold, it indicates that the passive devices corresponding to some frequency bands in the communication module are faulty.
[0074] The above method can accurately and quickly determine whether there is a fault in the passive components corresponding to each frequency band in the communication module, thus effectively solving the problem that the existing technology cannot detect the passive components in the communication module.
[0075] Furthermore, after determining the fault in the passive device corresponding to the target frequency band as described above, the method further includes:
[0076] Determine whether there are faults in passive devices in frequency bands other than the target frequency band among multiple frequency bands;
[0077] If it is determined that the passive devices corresponding to the frequency bands other than the target frequency band in multiple frequency bands are faulty, it is determined that the coupler in the communication module is faulty. The coupler in the communication module is a passive device that is associated with each of the multiple frequency bands.
[0078] If it is determined that there are no faults in the passive devices corresponding to the frequency bands other than the target frequency band among multiple frequency bands, then it is determined that there are no faults in the coupler in the communication module.
[0079] In one embodiment, the passive components in the communication module include not only filters corresponding to each frequency band, but also couplers connected to the filters for each frequency band. Therefore, after determining that the passive component corresponding to the target frequency band is faulty, it is also necessary to determine whether the passive components corresponding to other frequency bands supported by the communication module are faulty. If the passive components corresponding to other frequency bands are also faulty, then the coupler in the communication module is faulty. This is because the probability of filters for each frequency band failing simultaneously is relatively small, and all filters are connected between the coupler and the modem. Therefore, if the coupler fails, it will cause a large deviation between the actual received power and the calibrated received power for all frequency bands. If the passive components corresponding to other frequency bands are not faulty, then the coupler in the communication module is not faulty.
[0080] The above method can accurately and quickly determine whether there is a fault in the coupler in the communication module, thus effectively solving the problem that the passive components in the communication module cannot be detected in the existing technology.
[0081] Furthermore, before step 102 above, which involves obtaining the target RF gain index for the target frequency band from a pre-set calibration file, the method further includes:
[0082] The modem is calibrated under multiple RF gain indices for each frequency band in multiple frequency bands, and each RF gain index corresponds one-to-one with each calibrated received power in the multiple calibrated received powers.
[0083] Multiple frequency bands, multiple RF gain indices, and multiple calibration receive powers are stored to obtain a calibration file;
[0084] The calibration file is pre-set in the communication module.
[0085] In one embodiment, before obtaining the target RF gain index for the target frequency band from a pre-set calibration file, a calibration file can be obtained and preset. Specifically, multiple calibrated received powers obtained by calibrating the modem under multiple RF gain indices corresponding to each frequency band can be obtained. It should be noted that each RF gain index corresponds one-to-one with a calibrated received power. For example, assuming a communication module supports a total of 20 frequency bands, and 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, power transmission needs to be performed on these 100 RF gain indices to obtain these 100 calibrated received powers. Then, these 100 calibrated received powers are stored in correspondence with the 100 RF gain indices to obtain the calibration file. Finally, the calibration file is preset in the communication module to facilitate subsequent power transmission based on the calibration file and to obtain the actual received power received by the modem. As an optional implementation, when obtaining the actual received power of the modem, if an RF gain index is randomly selected from each of the 20 frequency bands for power transmission, then only 20 RF gain indices need to be selected for power transmission to obtain 20 calibrated received powers. Then, these 20 calibrated received powers are compared with the 20 RF gain indices to determine whether there is a fault in the passive components in the communication module.
[0086] Furthermore, before step 102 above, which involves obtaining the target RF gain index for the target frequency band from a pre-set calibration file, the method further includes:
[0087] Fault detection is performed on active components in the communication module;
[0088] If the fault detection results indicate that there is no fault in the active devices in the communication module, the communication module is controlled to enter non-signaling mode and the step of obtaining the target RF gain index under the target frequency band from the pre-set calibration file is executed.
[0089] In one embodiment, before obtaining the target RF gain index under the target frequency band from the pre-set calibration file, fault detection can 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. After determining that there is no fault in the active devices in the communication module, the communication module is controlled to enter the non-signaling mode and the step of obtaining the target RF gain index under the target frequency band from the pre-set calibration file is executed.
[0090] By using the above methods, interference caused by faulty active devices in the communication module to passive devices can be eliminated, thereby further improving the accuracy of fault detection of passive devices in the communication module.
[0091] Furthermore, the above steps, including fault detection of active devices in the communication module, include:
[0092] Read the value of the register inside the active device in the communication module and determine whether the register value was read successfully;
[0093] If the register value is successfully read, it is determined that there is no fault in the active device in the communication module;
[0094] If the register value fails to be read, it indicates that there is a fault in the active device in the communication module.
[0095] In one embodiment, when performing fault detection on active devices in the communication module, the values of the registers within the active devices can be read, and it can be determined whether the register values were read successfully. Specifically, the values of the registers within active devices (such as the low-, medium-, and high-frequency multimode amplifiers, 5G UHF transmit / receive modules, switches, and auxiliary receive modules shown in Figure 2) can be read via the MIPI interface, and it can be determined whether the register values were read successfully. If the register values are read successfully, it can be determined that there is no fault in the active devices in the communication module; if the register values are read unsuccessfully, it can be determined that there is a fault in the active devices in the communication module.
[0096] The above methods can accurately determine whether there is a fault in the active components of the communication module, thereby enabling fault detection of active components.
[0097] Furthermore, after comparing the target calibrated received power with the target actual received power in step 108 above, and determining whether there is a fault in the passive device corresponding to the target frequency band based on the comparison result, the method further includes:
[0098] If a fault is found in the passive device corresponding to the target frequency band, the function corresponding to the target frequency band is interrupted, while the functions corresponding to other frequency bands are retained; and / or,
[0099] If a fault is found in the passive device corresponding to the target frequency band, a fault indication message is generated and output. The fault indication message is used to indicate that the passive device corresponding to the target frequency band is faulty.
[0100] In one embodiment, if a fault is determined in a passive component of the communication module, the frequency band function corresponding to the faulty passive component can be interrupted, while the frequency band function corresponding to the normal passive component can be retained. This ensures the normal operation of undamaged functions in the communication module as much as possible. As another implementation, if a fault is determined in a passive component of the communication module, a fault indication message can be generated and output. This fault indication message indicates the faulty passive component in the communication module and can be any form of indication such as voice, text, or audio-visual feedback. This provides timely fault alerts, facilitating the replacement of the faulty communication module or the faulty component within it.
[0101] In one embodiment, the fault detection process for passive devices provided in this application is shown in Figure 3, which may include the following steps:
[0102] Step 301: Power on the communication module.
[0103] Step 302: Check whether the active devices in the communication module are damaged.
[0104] If no damage is detected in the active components of the communication module, proceed to step 303; if damage is detected in the active components of the communication module, end the process.
[0105] Step 303: Control the communication module to enter non-signaling mode.
[0106] Step 304: Obtain the target RF gain index for the target frequency band from the pre-set calibration file and perform power transmission.
[0107] Step 305: During the power transmission process, obtain the actual received power of the target received by the modem in the communication module.
[0108] Step 306: Determine whether the difference between the target calibrated received power and the target actual received power is less than a preset threshold.
[0109] The target calibrated received power is compared with the target actual received power, and it is determined whether the difference between the target calibrated received power and the target actual received power is less than a preset threshold. If the difference between the target calibrated received power and the target actual received power is less than the preset threshold, step 307 is executed; if the difference between the target calibrated received power and the target actual received power is greater than or equal to the preset threshold, step 308 is executed. Step 307: Determine that there is no fault in the passive device corresponding to the target frequency band.
[0110] Step 308: Determine if there is a fault in the passive device corresponding to the target frequency band.
[0111] Step 309: Determine whether there are any faults in the passive devices corresponding to the frequency bands other than the target frequency band among the multiple frequency bands.
[0112] If it is determined that the passive devices corresponding to the frequency bands other than the target frequency band are faulty, then the coupler in the communication module is faulty; if it is determined that the passive devices corresponding to the frequency bands other than the target frequency band are not faulty, then the coupler in the communication module is not faulty.
[0113] Step 310: Determine that there is a fault in the coupler in the communication module.
[0114] Step 311: Determine that there is no fault in the coupler of the communication module.
[0115] By performing steps 301 to 311 above, the problem of passive components in communication modules being unable to perform fault detection in the prior art is solved. Simultaneously, since communication modules, such as Network Access Device (NAD) modules, require secondary mounting onto the Telematics Control Unit (TCU), a self-test can be performed on the NAD module before mounting. This allows for convenient and quick screening of faulty NAD modules, preventing faulty NAD modules from being mounted onto the TCU and rendering the entire TCU unusable. It also facilitates the localization of faulty board problems.
[0116] Referring to Figure 4, Figure 4 is a structural schematic diagram of a communication module provided in an embodiment of this application. As shown in Figure 4, the communication module 400 includes:
[0117] The first acquisition module 401 is used to acquire the target RF gain index under the target frequency band from the pre-set calibration file. The target frequency band is any one of the 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 of the multiple RF gain indices. The calibration file is used to store the corresponding frequency bands supported by the communication module and the multiple RF gain indices under each frequency band.
[0118] The second acquisition module 402 is used to control the communication module to transmit power based on the target RF gain index, and to acquire the target actual received power received by the modem in the communication module during the power transmission process.
[0119] The third acquisition module 403 is used to acquire the target calibration received power from the calibration file. The calibration file is also used to store the corresponding calibration received power for each RF gain index and the corresponding RF gain index. The target calibration received power is the calibration received power corresponding to the target RF gain index.
[0120] The determination module 404 is used to compare the target calibrated received power with the target actual received power, and determine whether there is a fault in the passive device corresponding to the target frequency band based on the comparison result.
[0121] Furthermore, module 404 is determined to include:
[0122] The first judgment submodule is used to compare the target calibrated received power with the target actual received power, and to determine whether the difference between the target calibrated received power and the target actual received power is less than a preset threshold.
[0123] The first determining 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 calibrated received power and the target actual received power is less than a preset threshold.
[0124] The second determination submodule is used to determine that there is a fault in the passive device 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 a preset threshold.
[0125] Furthermore, module 404 also includes:
[0126] The third determination submodule is used to determine whether there is a fault in the passive devices corresponding to other frequency bands besides the target frequency band in multiple frequency bands;
[0127] The fourth determination submodule is used to determine that the coupler in the communication module is faulty when the passive devices corresponding to other frequency bands besides the target frequency band are faulty. The coupler in the communication module is a passive device that is associated with each of the multiple frequency bands.
[0128] The fifth determination submodule is used to determine that the coupler in the communication module is not faulty if the passive devices corresponding to the other frequency bands besides the target frequency band are not faulty.
[0129] Furthermore, the communication module 400 also includes:
[0130] The fourth acquisition module is used to acquire multiple calibrated received powers obtained by the modem under multiple RF gain indices corresponding to each frequency band in multiple frequency bands, wherein each RF gain index in the multiple RF gain indices corresponds one-to-one with each calibrated received power in the multiple calibrated received powers;
[0131] The storage module is used to store multiple frequency bands, multiple RF gain indices, and multiple calibration receive powers to obtain calibration files;
[0132] The setup module is used to pre-set calibration files in the communication module.
[0133] Furthermore, the communication module 400 also includes:
[0134] The detection module is used to detect faults in the active components of the communication module;
[0135] The control module is used to control the communication module to enter a non-signaling mode and execute the step of obtaining the target RF gain index of the target frequency band from a pre-set calibration file when the fault detection result indicates that there is no fault in the active device in the communication module.
[0136] Furthermore, the detection module includes:
[0137] The second judgment submodule is used to read the value of the register in the active device in the communication module and determine whether the value of the register has been read successfully.
[0138] The sixth determination submodule is used to determine that there is no fault in the active devices in the communication module if the value of the register is successfully read.
[0139] The seventh determination submodule is used to determine if there is a fault in the active device in the communication module when the value of the register fails to be read.
[0140] Furthermore, the communication module 400 also includes:
[0141] The interrupt module is used to interrupt the function corresponding to the target frequency band and retain the function corresponding to other frequency bands when a fault is found in the passive device corresponding to the target frequency band; and / or,
[0142] The generation module is used to generate fault prompt information and output the fault prompt information when it is determined that there is a fault in the passive device corresponding to the target frequency band. The fault prompt information is used to indicate that there is a fault in the passive device corresponding to the target frequency band.
[0143] 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 effect, which will not be elaborated here.
[0144] As shown in Figure 5, this application embodiment also 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.
[0145] Memory 513 is used to store computer programs;
[0146] In one embodiment of this application, when the processor 511 executes the program stored in the memory 513, it implements the steps of the passive device fault detection method provided in any of the foregoing method embodiments.
[0147] The electronic device provided in this application embodiment can specifically be a module capable of communication functions or a terminal device containing such a module. The terminal device can be a mobile terminal or a smart terminal. Specifically, a mobile terminal can be at least one of a mobile phone, tablet computer, or laptop computer; a smart terminal can specifically be a smart car, smartwatch, shared bicycle, smart cabinet, or other terminal containing a wireless communication module; and the module can specifically be a wireless communication module, such as any one of a 2G communication module, 3G communication module, 4G communication module, 5G communication module, or NB-IoT communication module.
[0148] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the fault detection method for passive devices as provided in any of the foregoing method embodiments.
[0149] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0150] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily 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 invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A fault detection method for passive devices, characterized in that, The method includes: The target RF gain index under the target frequency band is obtained from the pre-set calibration file. The target frequency band is any one of the 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 of the multiple RF gain indices. The calibration file is used to store the corresponding frequency bands supported by the communication module and the multiple RF gain indices under each frequency band. Based on the target RF gain index, the communication module is controlled to transmit power, and the actual received power of the target 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 corresponding calibration received power for each RF gain index and 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 the passive device corresponding to the target frequency band is determined to be faulty based on the comparison result.
2. The method according to claim 1, characterized in that, The step of comparing the target calibrated received power with the target actual received power, and determining whether there is a fault in the passive device corresponding to the target frequency band based on the comparison result, includes: The target calibrated received power is compared with the target actual received power, and it is determined whether the difference between the target calibrated received power and the target actual received power is less than a preset threshold. If the difference between the target calibrated received power and the target actual received power is less than the preset threshold, it is determined that there is no fault in the passive device corresponding to the target frequency band. If 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 the passive device corresponding to the target frequency band is faulty.
3. The method according to claim 2, characterized in that, After determining that a fault exists in the passive device corresponding to the target frequency band, the method further includes: Determine whether there are faults in the passive devices corresponding to the frequency bands other than the target frequency band among the plurality of frequency bands; If it is determined that the passive devices corresponding to other frequency bands besides 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 device that is associated with each of the multiple frequency bands; If it is determined that there are no faults in the passive devices corresponding to the frequency bands other than the target frequency band among the multiple frequency bands, it is determined that there are no faults in the coupler in the communication module.
4. The method according to claim 1, characterized in that, Before obtaining the target RF gain index for the target frequency band from a pre-set calibration file, the method further includes: The modem is calibrated under multiple RF gain indices corresponding to each of the multiple frequency bands to obtain multiple calibrated received powers, wherein each RF gain index corresponds one-to-one with each calibrated received power. The calibration file is obtained by storing the multiple frequency bands, the multiple RF gain indices, and the multiple calibration receive powers accordingly. The calibration file is pre-set in the communication module.
5. The method according to claim 1, characterized in that, Before obtaining the target RF gain index for the target frequency band from a pre-set calibration file, the method further includes: Fault detection is performed on the active devices in the communication module; If the fault detection results indicate that there is no fault in the active device in the communication module, the communication module is controlled to enter the non-signaling mode and the step of obtaining the target RF gain index of the target frequency band from the pre-set calibration file is executed.
6. The method according to claim 5, characterized in that, The fault detection of active devices in the communication module includes: Read the value of the register inside the active device in the communication module, and determine whether the value of the register was read successfully; If the value of the register is successfully read, it is determined that there is no fault in the active device in the communication module; If the value of the register fails to be read, it is determined that there is a fault in the active device in the communication module.
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 there is a fault in the passive device corresponding to the target frequency band based on the comparison result, the method further includes: If a fault is found in the passive device corresponding to the target frequency band, the function corresponding to the target frequency band is interrupted, while the functions corresponding to other frequency bands are retained; and / or, If it is determined that there is a fault in the passive device corresponding to the target frequency band, a fault prompt message is generated and output, wherein the fault prompt message is used to indicate that there is a fault in the passive device corresponding to the target frequency band.
8. A communication module, characterized in that, The communication module includes: The first acquisition module is used to acquire the target RF gain index under the target frequency band from a pre-set calibration file. The target frequency band is any one of the 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 of the multiple RF gain indices. The calibration file is used to store the corresponding frequency bands supported by the communication module and the multiple RF gain indices under each frequency band. The second acquisition module is used to control the communication module to transmit power based on the target RF gain index, and to acquire the target actual received power received by the modem in the communication module during the power transmission process; The third acquisition module is used to acquire the target calibration received power from the calibration file, wherein the calibration file is also used to store each RF gain index and the corresponding calibration received power, 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 there is a fault in the passive device corresponding to the target frequency band based on 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; When a processor executes a program stored in a memory, it implements the steps of the fault detection method for a passive device according to any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the fault detection method for passive devices as described in any one of claims 1-7.
Citation Information
Patent Citations
Fault detection method and parameter calibration method of radio frequency path and mobile terminal
CN106911405A
Radio frequency test method, mobile terminal and storage medium
CN109462448A
Power calibration method, calibration device and calibration system of wireless module
CN114172593A
Fault detection method of passive device, communication module and electronic equipment
CN119420426A
Method and apparatus for calibrating a frequency domain reflectometer
US20050234662A1