Current detection method and system of network terminal
The method automates current threshold determination using standby current to enhance network terminal current measurement efficiency and accuracy by eliminating manual threshold setting and experience dependence.
Patent Information
- Application Number
- CN202410748315.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-12-06
AI Technical Summary
Existing network terminal current measurement methods require labor-intensive manual threshold setting and are highly dependent on personnel experience, leading to inefficiency and inaccuracy.
A method and system for automatically determining the current threshold using the standby current of the network terminal, allowing for the extraction of effective current data without manual intervention.
This approach reduces workload and reliance on human experience, ensuring accurate extraction of effective current data and improving measurement efficiency.
Smart Images

Figure CN119094409A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of signal measurement, and in particular to a current detection method and system for a network terminal. Background Art
[0002] As the use environment of network terminals becomes more diverse and complex, complex and changing application scenarios must be comprehensively considered during their design and development phase. By measuring the technical indicators (such as current) of network terminals in various working scenarios, the performance of network terminals can be judged, and then product optimization can be performed to improve product adaptability and reliability.
[0003] The existing network terminal current measurement method requires manually setting thresholds in each scenario to filter effective current data and judge the performance of the network terminal. This method is not only labor-intensive, but also the threshold setting is extremely dependent on the professionalism and experience of personnel, making the current measurement inefficient. Summary of the invention
[0004] The present invention provides a current detection method and system for a network terminal, which can effectively reduce the huge workload caused by manually setting the current threshold, and can also make the setting of the current threshold not rely on personnel experience, thereby ensuring the accuracy of effective current data extraction, and can solve the problem of how to improve the efficiency of current measurement.
[0005] To achieve the above object, the present invention provides a current detection method for a network terminal, comprising:
[0006] Obtaining the standby current of the network terminal to be tested;
[0007] automatically extracting a current threshold value according to the standby current;
[0008] Obtaining the operating current of the network terminal to be tested;
[0009] Effective current data is extracted from the operating current according to the current threshold.
[0010] The present invention also provides a current detection system for a network terminal, comprising: a state adjustment module, a current measurement module, a threshold storage module, and a data extraction module;
[0011] Wherein, the state adjustment module is used to put the network terminal in a standby state or a working state;
[0012] The current measurement module is used to obtain the standby current and working current of the network terminal;
[0013] The threshold storage module is used to extract a current threshold from the standby current and store the current threshold;
[0014] The data extraction module is used to extract effective current data from the working current according to the current threshold.
[0015] In the current detection method and system for a network terminal provided by an embodiment of the present invention, a current threshold is automatically obtained through the standby current of the network terminal to be tested, and then effective current data is extracted from the working current, so that the effective current data can be extracted without manually setting the current threshold. This not only effectively reduces the huge workload caused by manually setting the current threshold, but also makes the setting of the current threshold not rely on human experience, thereby ensuring the accuracy of effective current data extraction and solving the problem of how to improve current measurement efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0017] Figure 1 A schematic flow chart of a current detection method for a network terminal provided by an embodiment of the present invention;
[0018] Figure 2 A current waveform diagram of a network terminal to be tested in a standby state provided by an embodiment of the present invention;
[0019] Figure 3 A current waveform diagram of the working state of the network terminal to be tested provided by an embodiment of the present invention;
[0020] Figure 4 An effective current waveform diagram of the working state of the network terminal to be tested provided by an embodiment of the present invention;
[0021] Figure 5 A schematic structural diagram of a current detection system for a network terminal provided by another embodiment of the present invention. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0023] In addition, the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the description of the following embodiments, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0024] The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. To make the technical solution of the present invention clearer, the embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.
[0025] Figure 1 A schematic flow chart of a current detection method for a network terminal provided by an embodiment of the present invention; Figure 1 As shown, the specific steps of the method include:
[0026] S1: Get the standby current of the network terminal under test.
[0027] S2: Automatically extract the current threshold according to the standby current.
[0028] S3: Obtain the working current of the network terminal to be tested.
[0029] S4: Extracting effective current data from the working current according to the current threshold.
[0030] Standby current refers to the current consumed by the network terminal in standby or sleep mode. In this state, the network terminal may not be doing any substantial work, but still needs a small amount of current to maintain its internal state, such as keeping the clock running, storing data, or waiting for external signal activation.
[0031] Working current refers to the current consumed by a network terminal in normal working state. When optimizing network terminals, in order to more accurately judge the performance of network terminals in various working scenarios, it is necessary to remove the standby current from the working current and use more accurate and effective current data as a technical evaluation indicator.
[0032] Specifically, in order to obtain the standby current of the network terminal to be tested, the embodiment of the present invention needs to put the network terminal to be tested in a standby state and measure the current value of the network terminal to be tested in the standby state.
[0033] More specifically, the steps of putting the network terminal to be tested in a standby state are as follows:
[0034] S11: turn off the signal of the simulated base station;
[0035] A simulated base station refers to a test device that simulates a mobile communication base station for laboratory testing, research and development, education or training purposes. This device can simulate the signals and functions of a real mobile communication base station, helping engineers and technicians test and verify the performance of mobile communication equipment without an actual base station, accelerating the product development cycle, improving test efficiency and reducing test costs.
[0036] Turning off the simulated base station signal can ensure that the network terminal under test is in a disconnected state, effectively reducing the current fluctuation caused by the simulated base station signal.
[0037] S12: Turn on the network terminal to be tested by using a power supply device;
[0038] Using an external power supply device to start the network terminal under test can ensure that the network terminal can work normally even when there is no battery or the battery is exhausted.
[0039] More preferably, in order to achieve high-precision measurement of current and ensure that the current sampling rate of the network terminal to be tested is at the microsecond level, the power supply device described in the embodiment of the present invention can use a precision power supply with a measurement accuracy of not less than 1 μA.
[0040] S13: Wait for the current of the network terminal to be tested to stabilize.
[0041] Since the network terminal to be tested will go through a startup process at the initial stage of power-on, at which time each electronic control module will gradually start and reach the working state, which will cause the current of the network terminal to be tested to fluctuate. In order to ensure that the measured standby current can accurately reflect the current status of the network terminal to be tested under stable operation, it is necessary to wait for the current to stabilize before measuring.
[0042] In addition, in order to ensure that there are enough current values in the sampled current signal for subsequent analysis and processing, the embodiment of the present invention samples the current value of the network terminal to be tested after stabilization within a preset time period, such as 5 seconds.
[0043] Figure 2 The current waveform diagram of the network terminal to be tested in the standby state provided in this embodiment (where the horizontal axis is time / ms and the vertical axis is current value / A); Figure 2 As shown, in the current signal collected by the network terminal under test in the standby state, two low peaks appeared in the initial stage (within 4 seconds), and the subsequent current signal fluctuation amplitude was small, indicating that the current of the network terminal was stable after 4 seconds.
[0044] Since the standby current is obtained by the network terminal under test when the simulated base station signal is turned off, in order to be able to filter out effective current data from the working current of the network terminal under test when the simulated base station signal is turned on, the embodiment of the present invention automatically sets the current threshold according to the standby current, so that the effective current data can be extracted without manually setting the current threshold, effectively reducing the huge workload caused by manually setting the current threshold.
[0045] In the embodiment of the present invention, when setting the current threshold according to the standby current, the maximum current value, the mean current value, the median current value, the mode current value, etc. can be selected. However, the process of obtaining the mean current value, the median current value, and the mode current value is relatively cumbersome, and in some scenarios, some subsequent valid current data may be lost, resulting in poor current detection accuracy.
[0046] Preferably, the embodiment of the present invention sets the current threshold value to the maximum current value in the standby current. In practical applications, only one comparator is needed to determine the current threshold value, which not only simplifies the calculation process of the current threshold value, but also reduces the circuit complexity, so that the current threshold value can be automatically obtained under a circuit structure with low power consumption and small area, thereby improving the current detection efficiency.
[0047] like Figure 2 As shown, in the embodiment of the present invention, the maximum current value of the standby current, that is, the current threshold, is approximately 0.042A.
[0048] Furthermore, in order to obtain the working current of the network terminal to be tested, the embodiment of the present invention needs to put the network terminal to be tested in a working state and measure the current value of the network terminal to be tested in the working state.
[0049] Specifically, the steps of putting the network terminal to be tested into working state are as follows:
[0050] S31: Set measurement parameters.
[0051] In the embodiment of the present invention, the measurement parameters include but are not limited to: downlink signal strength, frequency, subcarrier spacing, number of subcarriers, subcarrier position, uplink signal expected power and modulation mode, etc. The specific measurement parameters need to be set according to the network protocol, the network terminal to be tested and the detection requirements. For example: under NB-IoT, the measurement parameters also include temperature, voltage and uplink transmission power, etc.
[0052] S32: According to the measurement parameters, simulate the base station sending a downlink signal.
[0053] Start the simulated base station and send downlink signals to the network terminal under test according to the set measurement parameters.
[0054] S33: The network terminal to be tested is stationed on the network.
[0055] Network testing usually refers to connecting the device under test to a test network or simulated network environment to conduct various communication tests and performance evaluations, thereby providing important data for product development, optimization and certification.
[0056] S34: Adjust measurement parameters to meet preset measurement requirements.
[0057] Specifically, multiple groups of measurement parameters can be set according to the detection requirements, and the values in each group of measurement parameters are not exactly the same, so that different usage scenarios can be simulated to obtain the corresponding working current. In an embodiment of the present invention, adjusting the measurement parameters mainly includes: adjusting the strength of the downlink signal until the bit error rate is greater than 5%, thereby meeting the detection sensitivity requirements; and / or adjusting the attenuation value of the entire link until the power of the uplink signal is close to the expected power of the uplink signal, thereby meeting the uplink signal detection requirements.
[0058] S35: Wait for the current of the network terminal to be tested to stabilize.
[0059] Further, in an embodiment of the present invention, after waiting for the current of the network terminal to be tested to be stable, the current value of the network terminal to be tested under the preset condition is measured to obtain the working current. The above preset condition may be that the transmission power is maximum, that is, when the working current is the maximum power current, it is necessary to measure the current of the network terminal when the transmission power reaches the maximum. Of course, in other embodiments, the preset condition may also be other conditions, and this application does not limit this.
[0060] Figure 3 The current waveform diagram of the network terminal to be tested under working state provided by the embodiment of the present invention is as follows: Figure 3 As shown, after being connected to the network, the current of the network terminal under test has regular current pulses, including a short-time pulse peak with a current value of about 0.23A, a square pulse with a current value of about 0.09A, and the current value of the remaining bands is about 0.025A.
[0061] In order to effectively extract the effective current data from the above working current, it is necessary to filter Figure 3 In the embodiment of the present invention, the specific steps of extracting effective current data from the working current according to the current threshold value include:
[0062] S41: adjusting the current value of the working current that is less than the current threshold to 0.
[0063] like Figure 3 In the embodiment shown, the current threshold is set to 0.04A. Figure 3 The current value of the working current that is less than the current threshold is replaced by 0, thereby filtering out noise and clutter.
[0064] S42: Divide the working current into several segments.
[0065] Specifically, in the embodiment of the present invention, the number of segments is determined according to the number of subcarriers. Of course, in actual application, the number of segments can also be reasonably set according to the actual waveform diagram, while ensuring the detection accuracy, the number of segments can be reduced as much as possible to further improve the detection accuracy.
[0066] In addition, the number of current data contained in each segment does not need to be completely consistent, but only needs to be basically consistent.
[0067] like Figure 3 In the illustrated embodiment, one segment is formed every 2 seconds, so that the short pulse peak and the square pulse are in different segments.
[0068] S43: Obtain the number of current data with current values not equal to 0 in each segment.
[0069] Specifically, in actual application, the analog current signal can be converted into a digital current signal by an analog-to-digital converter, and each current data is read in a clock cycle; and then the number of current data with current values not equal to 0 is obtained by a counter.
[0070] S44: If the number of current data with current values other than 0 in a certain section is less than a preset number, all of them are adjusted to 0.
[0071] In some test scenarios, such as when there is a lot of noise or occasional non-zero readings in the current signal, this method can reduce the complexity of the data and improve the accuracy of the analysis. However, it should be noted that this processing may lose some important information, so the impact on the test results should be carefully considered when setting the preset number.
[0072] Specifically, in the embodiment of the present invention, the preset number is determined according to the number of subcarriers. In actual application, the value of the preset number can also be reasonably set according to the actual waveform diagram, while ensuring the detection accuracy, filtering out clutter as much as possible to ensure the effectiveness and accuracy of effective current data extraction.
[0073] like Figure 3 In the illustrated embodiment, the preset number is greater than the number of current data occupied by the short-time pulse peak and less than the number of current data occupied by the square pulse. In this way, the short-time pulse peak can be effectively filtered out (the current value is replaced by 0), while the current data of the square pulse is retained.
[0074] S45: extract the remaining current data that is not 0 as effective current data.
[0075] Figure 4The effective current waveform diagram of the network terminal under test in the working state provided by the embodiment of the present invention is as follows: Figure 4 As shown, the current data of the square pulse is finally extracted as the effective current data.
[0076] The embodiment of the present invention automatically obtains the current threshold through the standby current of the network terminal to be tested, and then extracts the effective current data from the working current, so that the effective current data can be extracted without manually setting the current threshold. This not only effectively reduces the huge workload caused by manually setting the current threshold, but also makes the setting of the current threshold not rely on personnel experience, thereby ensuring the accuracy of the effective current data extraction and solving the problem of how to improve the current measurement efficiency.
[0077] Another embodiment of the present invention further provides a current detection system for a network terminal, which is used to implement the current detection method for the network terminal as described above. Figure 5 A schematic diagram of the structure of a current detection system of a network terminal provided by another embodiment of the present invention is shown in FIG. Figure 5 As shown, the system includes: a state adjustment module 001 , a current measurement module 002 , a data extraction module 003 , and a threshold storage module 004 .
[0078] Among them, the state adjustment module 001 is used to put the network terminal to be tested in a standby state or a working state; the current measurement module 002 is used to obtain the standby current and the working current of the network terminal to be tested; the threshold storage module 004 is used to extract the current threshold from the standby current and store the current threshold; the data extraction module 003 is used to extract the effective current data from the working current according to the current threshold.
[0079] The current detection system of the network terminal provided in the embodiment of the present invention can obtain the standby current and working current of the network terminal to be tested through the cooperation between the state adjustment module 001 and the current measurement module 002; the current threshold corresponding to the network terminal to be tested under each set of measurement parameters can be obtained through the threshold storage module 004, so that the data extraction module 003 can call the current threshold stored in the threshold storage module 004 to realize the extraction of effective current data. In this way, without manual operation, the current threshold setting and the extraction of effective current data can be automatically realized by using the current detection system of the network terminal, which not only reduces the workload and improves the detection efficiency, but also ensures the accuracy and effectiveness of the extraction of effective current data.
[0080] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention is indicated by the following claims.
[0081] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A current detection method for a network terminal, characterized in that: include: Obtaining the standby current of the network terminal to be tested; automatically extracting a current threshold value according to the standby current; Obtaining the operating current of the network terminal to be tested; Effective current data is extracted from the operating current according to the current threshold.
2. The method according to claim 1, characterized in that The step of obtaining the standby current of the network terminal to be tested specifically includes: The network terminal to be tested is placed in a standby state, and a current value of the network terminal to be tested in the standby state is measured.
3. The method according to claim 2, characterized in that The step of placing the network terminal to be tested in a standby state specifically includes: Turn off the signal of the simulated base station; Using power supply equipment to power on the network terminal to be tested; Waiting for the current of the network terminal to be tested to stabilize.
4. The method according to claim 3, characterized in that The power supply device is a precision power supply with a measurement accuracy of no less than 1 μA.
5. The method according to any one of claims 1 to 4, characterized in that: The automatically extracting the current threshold according to the standby current specifically includes: The maximum current value of the standby current is set as the current threshold.
6. The method according to claim 5, characterized in that The obtaining of the operating current of the network terminal to be tested specifically includes: The network terminal to be tested is placed in a working state, and a current value of the network terminal to be tested in the working state is measured.
7. The method according to claim 6, characterized in that The step of putting the network terminal to be tested into a working state specifically includes: Set measurement parameters; According to the measurement parameters, the simulated base station sends a downlink signal; The network terminal to be tested is stationed on the network; Adjusting the measurement parameters to meet preset measurement requirements; Waiting for the current of the network terminal to be tested to stabilize.
8. The method according to claim 7, characterized in that The measurement parameters include: downlink signal strength, frequency, subcarrier spacing, number of subcarriers, subcarrier position, uplink signal expected power and modulation mode.
9. The method according to claim 8, characterized in that The adjusting the measurement parameters to meet the preset measurement requirements specifically includes: Adjusting the downlink signal strength until the bit error rate is greater than 5%; And / or, adjusting the attenuation value of the entire link until the power of the uplink signal approaches the expected power of the uplink signal.
10. The method according to claim 9, characterized in that The extracting effective current data from the working current according to the current threshold specifically includes: Adjusting the current value of the working current that is less than the current threshold to 0; dividing the working current into a plurality of segments; Get the number of current data with current values not equal to 0 in each segment; If the number of current data with current values other than 0 in a certain section is less than the preset number, all of them are adjusted to 0; The remaining current data which is not zero is extracted as the effective current data.
11. The method according to claim 10, characterized in that include: The number of segments of the working current and the preset number are determined according to the number of subcarriers.
12. A current detection system for a network terminal, characterized in that: include: A state adjustment module, a current measurement module, a threshold storage module and a data extraction module; Wherein, the state adjustment module is used to put the network terminal in a standby state or a working state; The current measurement module is used to obtain the standby current and working current of the network terminal; The threshold storage module is used to extract a current threshold from the standby current and store the current threshold; The data extraction module is used to extract effective current data from the working current according to the current threshold.
