Performance detection method of analog front-end circuit, electronic equipment and readable storage medium

By directly analyzing the sampling data of the simulated front-end circuit, calculating the signal amplitude and frequency, quickly determining whether the performance meets user requirements, solving the problem of poor efficiency of existing detection methods, and achieving rapid and comprehensive performance detection.

CN120028672APending Publication Date: 2025-05-23HANGZHOU VIVALNK MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411982284.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The existing analog front-end circuit performance detection methods have problems such as long detection time, inability to fully inspect, and poor detection efficiency.

Method used

By obtaining the excitation signal and inputting it to the analog front-end circuit, continuously sampled data is collected, feature values ​​are extracted, output signal amplitude and frequency are calculated, and whether the performance meets user requirements.

Benefits of technology

It realizes rapid detection and simulates the performance of the front-end circuit, shortens the detection time, improves the detection efficiency, enables full inspection, and reduces the probability of product scrapping and rework.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120028672A_ABST
    Figure CN120028672A_ABST
Patent Text Reader

Abstract

The invention relates to a performance detection method of an analog front-end circuit, electronic equipment and a readable storage medium, and the method comprises the steps: obtaining an excitation signal, and inputting the excitation signal to the analog front-end circuit; acquiring continuous sampling data of preset duration from the output end of the analog front-end circuit; extracting a characteristic value from the continuous sampling data, and calculating an output signal amplitude and an output signal frequency according to the characteristic value; according to the excitation signal, the output signal amplitude and the output signal frequency, whether the performance of the analog front-end circuit meets the user requirement or not is analyzed, that is, the detection method provided by the invention directly analyzes adopted data without drawing a signal curve, so that the test time is short, and the purpose of improving the detection efficiency is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of circuit performance detection, and in particular to a performance detection method, electronic device and readable storage medium for an analog front-end circuit. Background Art

[0002] In various industries and fields, the performance of analog front-end circuits plays a vital role in product quality. Therefore, before the product is shipped, the performance of the analog front-end circuit needs to be tested. The current conventional practice for testing the performance of analog front-end circuits is to input a standard signal into the analog front-end circuit, sample the signal output by the analog front-end circuit, and draw a sampled signal curve. By measuring the characteristic value of the drawn curve and comparing it with the standard signal, the performance of the analog front-end circuit is tested.

[0003] Then, due to the large number of test items and complex test processes in traditional laboratory environments, the testing process is time-consuming. If the performance of the analog front-end circuit of the product is to be tested on the production line, sampling tests can generally only be performed, using the minimum sample size for sampling. Even for sampling tests, it takes a long time to wait for the test results, so the sampling plan has a lag. When the sampling test results are found to be unqualified, the products produced in the same period will face scrapping or rework, resulting in significant losses. In addition, sampling tests cannot guarantee that every product meets the standards and may miss individual unqualified products. Therefore, the existing product analog front-end circuit performance testing methods have the problems of long detection time, inability to fully inspect, and poor detection efficiency. Summary of the invention

[0004] The embodiments of the present application provide a performance detection method for an analog front-end circuit, an electronic device, and a readable storage medium to at least solve the problem of poor efficiency of existing analog front-end circuit testing methods in the related art.

[0005] In a first aspect, an embodiment of the present application provides a performance detection method for an analog front-end circuit, comprising:

[0006] Acquire an excitation signal, and input the excitation signal into the analog front-end circuit;

[0007] Collecting continuous sampling data of a preset time length from the output end of the analog front-end circuit;

[0008] Extracting characteristic values ​​from the continuous sampling data, and calculating the output signal amplitude and the output signal frequency according to the characteristic values;

[0009] Whether the performance of the analog front-end circuit meets user requirements is analyzed based on the excitation signal, the output signal amplitude and the output signal frequency.

[0010] In one embodiment, extracting feature values ​​from the continuous sampled data includes:

[0011] Calculating an arithmetic mean value according to the continuous sampling data, and taking the arithmetic mean value as a signal baseline;

[0012] The continuous sampling data is matched and searched with the signal baseline to obtain a plurality of signal intersection points, and the values ​​of the signal intersection points are recorded as characteristic values.

[0013] In one embodiment, matching and searching the continuous sampling data with the signal reference line to obtain a plurality of signal intersection points includes:

[0014] The continuous sampling data includes a plurality of sampling values ​​a[x], wherein 0≤x≤N, and N is a natural number greater than 0;

[0015] When a[x] is greater than the signal baseline and a[x+1] is less than the signal baseline, the sampling value of a[x] and a[x+1] that is closer to the signal baseline is taken as the signal intersection point;

[0016] Alternatively, when a[x] is less than or equal to the signal baseline and a[x+1] is greater than or equal to the signal baseline, the sampling value of a[x] and a[x+1] that is closer to the signal baseline is calculated as the signal intersection point.

[0017] In one embodiment, calculating the output signal amplitude according to the characteristic value includes:

[0018] Compare the continuous sampling data between two adjacent eigenvalues ​​and select the maximum sampling value and the minimum sampling value;

[0019] The output signal amplitude is obtained by performing calculation according to the maximum sampling value and the minimum sampling value.

[0020] In one embodiment, calculating the output signal frequency according to the characteristic value includes:

[0021] Counting the number of the eigenvalues, recorded as the number of intersection points;

[0022] The output signal frequency is obtained by performing calculation according to the frequency of the excitation signal and the number of crossover points.

[0023] In one embodiment, analyzing whether the performance of the analog front-end circuit meets user requirements according to the excitation signal, the output signal amplitude, and the output signal frequency includes:

[0024] Determining a standard baseline according to the excitation signal, and calculating a baseline matching degree according to the signal baseline and the standard baseline;

[0025] Obtaining the frequency of the excitation signal, recording it as the original signal frequency, and calculating the frequency matching degree according to the original signal frequency and the output signal frequency;

[0026] Acquire the amplitude of the excitation signal, record it as the original signal amplitude, and calculate the gain matching degree according to the original signal amplitude and the output signal amplitude;

[0027] When the baseline matching degree, the frequency matching degree and the gain matching degree are all within the corresponding preset ranges, it is determined that the performance of the analog front-end circuit meets the user requirements.

[0028] In one embodiment, analyzing whether the performance of the analog front-end circuit meets user requirements according to the excitation signal, the output signal amplitude, and the output signal frequency further includes:

[0029] Acquire multiple output signal amplitudes of the same excitation signal, analyze the multiple output signal amplitudes by a discreteness analysis method, and obtain gain stability;

[0030] When the gain stability is within a corresponding preset range, it is determined that the performance of the analog front-end circuit meets user requirements.

[0031] In one embodiment, the method further comprises:

[0032] Acquire multiple excitation signals with the same frequency but different amplitudes, and input the multiple excitation signals into the analog front-end circuit in order from small to large amplitudes, wherein the largest amplitude exceeds the dynamic range of the analog front-end circuit;

[0033] Collecting data of a preset time length from the output end of the analog front-end circuit to obtain multiple groups of continuous sampling data;

[0034] Extracting characteristic values ​​from multiple sets of continuous sampling data, and performing calculations based on the characteristic values ​​to obtain multiple sets of output signal amplitudes;

[0035] The actual signal dynamic range of the analog front-end circuit is determined according to the multiple groups of output signal amplitudes.

[0036] In a second aspect, an embodiment of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the performance detection method of the analog front-end circuit as described in the first aspect above is implemented.

[0037] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the performance detection method for the analog front-end circuit as described in the first aspect above.

[0038] The performance detection method of the analog front-end circuit, the electronic device, and the readable storage medium provided by the embodiments of the present application have at least the following technical effects:

[0039] Acquire an excitation signal and input the excitation signal into the analog front-end circuit; collect continuous sampling data of a preset time length from the output end of the analog front-end circuit; extract characteristic values ​​from the continuous sampling data, and calculate the output signal amplitude and the output signal frequency according to the characteristic values; analyze whether the performance of the analog front-end circuit meets the user requirements according to the excitation signal, the output signal amplitude and the output signal frequency. That is, the detection method provided in the present application directly analyzes the adopted data and does not need to draw a signal curve, so the test time is short, thereby achieving the purpose of improving the detection efficiency.

[0040] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0042] Figure 1 It is a block diagram of the analog front-end circuit;

[0043] Figure 2 is a flow chart of a performance detection method of an analog front-end circuit in an embodiment of the present application;

[0044] Figure 3 is a schematic diagram of the intersection of a sinusoidal signal and a reference line in one embodiment of the present application;

[0045] Figure 4 It is a structural block diagram of an electronic device in one embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0047] Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application. For those of ordinary skill in the art, without creative efforts, the present application can also be applied to other similar scenarios based on these drawings. In addition, it can also be understood that although the efforts made in such a development process may be complex and lengthy, for those of ordinary skill in the art related to the content disclosed in the present application, some design, manufacturing, or production changes based on the technical content disclosed in the present application are only conventional technical means and should not be understood as the content disclosed in the present application being insufficient.

[0048] In the present application, the mention of "embodiment" means that the specific features, structures, or characteristics described in combination with the embodiment can be included in at least one embodiment of the present application. The occurrence of this phrase at various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those of ordinary skill in the art explicitly and implicitly understand that the embodiments described in the present application can be combined with other embodiments without conflict.

[0049] Unless otherwise defined, the technical terms or scientific terms involved in the present application should have the ordinary meaning understood by those of ordinary skill in the technical field to which the present application belongs. The words such as "a", "an", "one", "the" and the like involved in the present application do not indicate a quantity limitation and can represent a singular or plural number. The terms "including", "comprising", "having" and any variations thereof involved in the present application are intended to cover non-exclusive inclusion; for example, a process, method, system, product or device including a series of steps or modules (units) is not limited to the listed steps or units, but may further include unlisted steps or units, or may further include other steps or units inherent to these processes, methods, products or devices. The terms "connected", "coupled" and the like involved in the present application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "plurality" involved in the present application refers to two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships can exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after. The terms "first", "second", "third" and the like involved in the present application are only used to distinguish similar objects and do not represent a specific order for the objects.

[0050] Symbol Explanation

[0051] F: Sampling rate of the analog front end

[0052] T: Sampling period of the analog front end, F = 1 / T

[0053] f s : The frequency of the excitation signal, with a subscript, such as f sn It represents the frequency of the nth excitation signal

[0054] f o : The frequency calculated from the sampled data, with a subscript, such as f on It means the nth calculation frequency

[0055] V spp : Peak-to-peak value of the excitation signal, with a subscript, such as V sppn It represents the peak-to-peak value of the nth excitation signal

[0056] V opp : Peak-to-peak value calculated from sampled data, with a subscript, such as V oppn It represents the nth peak-to-peak value

[0057] V sb : Baseline of the excitation signal.

[0058] V ob : The baseline calculated from the sampled data.

[0059] Based on the defects of the existing technology, this patent proposes a simple, effective and fast detection method to determine the performance of the analog front-end circuit, making it feasible to perform a full inspection of the performance of the analog front-end circuit on the production line. This method quickly determines the performance of the analog front-end circuit by analyzing the characteristics and statistical indicators of the sampled data, helping test engineers make quick decisions and troubleshoot problems.

[0060] In the first aspect, the embodiments of the present application provide a method for detecting the performance of an analog front-end circuit, which is mainly used to detect a conventional analog front-end circuit. Figure 1 As shown, it includes: a filtering module, an amplifying module, and a sampling module. An excitation signal (continuous signal) is input to the analog front end, and the analog front end outputs sampling data (discrete signal).

[0061] Figure 2 It is a flow chart of the performance detection method of the analog front-end circuit in an embodiment of the present application, and the specific process is implemented by the following steps.

[0062] Step S1, obtaining an excitation signal, and inputting the excitation signal into the analog front-end circuit. In the embodiment of the present application, the first specific frequency f is input. s1 , specific amplitude V spp1The excitation source is a sinusoidal signal of various frequencies and amplitudes. A sinusoidal signal of a certain frequency and amplitude is input in turn. Each input will output corresponding sampling data, based on which a phased analysis can be obtained.

[0063] Step S2, collecting continuous sampling data of a preset time length from the output end of the analog front-end circuit, specifically, obtaining continuous sampling data of a duration of t from the output end of the analog front-end circuit, where t is an integer multiple of the sampling period T.

[0064] Step S3, extracting characteristic values ​​from the continuous sampling data, and calculating the output signal amplitude and the output signal frequency according to the characteristic values, that is, extracting characteristic values ​​from the sampling data, and then calculating the signal amplitude (peak-to-peak value) V in each cycle according to the characteristic values opp1 , signal baseline V ob1 , calculate the signal frequency f o1 .

[0065] Specifically, an arithmetic mean is calculated based on the continuous sampling data, and the arithmetic mean is used as a signal baseline; the continuous sampling data is matched and searched with the signal baseline to obtain multiple signal intersection points, and the values ​​of the signal intersection points are recorded as characteristic values. In this embodiment, determining the signal intersection point is to determine the signal period, and the time length between two signal intersection points is one period.

[0066] For example, the continuous sampling data includes multiple sampling values ​​a[x], where 0≤x≤N, and N is a natural number greater than 0; when a[x] is greater than or equal to the signal baseline, and a[x+1] is less than or equal to the signal baseline, the sampling value between a[x] and a[x+1] that is closer to the signal baseline is calculated as the signal intersection point; or, when a[x] is less than or equal to the signal baseline, and a[x+1] is greater than or equal to the signal baseline, the sampling value between a[x] and a[x+1] that is closer to the signal baseline is calculated as the signal intersection point.

[0067] When calculating the output signal amplitude, all continuous sampling data between two adjacent eigenvalues ​​are compared in size, and then the maximum sampling value and the minimum sampling value are selected from this part of the data; the difference between the maximum sampling value and the minimum sampling value is calculated to obtain the signal peak-to-peak value, and the amplitude of the output signal can be determined based on the signal peak-to-peak value.

[0068] In the process of calculating the output signal frequency according to the eigenvalues, the number of the eigenvalues ​​is first counted and recorded as the number of crossover points; then the output signal frequency is calculated according to the frequency of the excitation signal and the number of crossover points.

[0069] Step S4, analyzing whether the performance of the analog front-end circuit meets the user's requirements based on the excitation signal, the output signal amplitude and the output signal frequency. Specifically, the baseline matching, signal frequency matching, signal gain matching, signal gain stability and signal dynamic range are calculated based on the excitation signal, the output signal amplitude and the output signal frequency, and then the performance of the circuit is evaluated.

[0070] Specifically, a standard baseline is determined according to the excitation signal, and a baseline matching degree is calculated according to the signal baseline and the standard baseline; the frequency of the excitation signal is obtained and recorded as the original signal frequency, and the frequency matching degree is calculated according to the original signal frequency and the output signal frequency; the amplitude of the excitation signal is obtained and recorded as the original signal amplitude, and the gain matching degree is calculated according to the original signal amplitude and the output signal amplitude; when the baseline matching degree, the frequency matching degree and the gain matching degree are all within the corresponding preset ranges, it is determined that the performance of the analog front-end circuit meets the user requirements.

[0071] In a preferred embodiment, multiple output signal amplitudes of the same excitation signal can also be obtained, and the multiple output signal amplitudes are analyzed by a discreteness analysis method to obtain gain stability; when the gain stability is within a corresponding preset range, it is determined that the performance of the analog front-end circuit meets user requirements.

[0072] In a preferred embodiment, multiple excitation signals with the same frequency but different amplitudes can also be obtained, and the multiple excitation signals are input into the analog front-end circuit in order from small to large amplitudes, wherein the maximum amplitude exceeds the dynamic range of the analog front-end circuit; data of a preset time length is collected from the output end of the analog front-end circuit to obtain multiple groups of continuous sampling data; characteristic values ​​are extracted from the multiple groups of continuous sampling data, and calculations are performed based on the characteristic values ​​to obtain multiple groups of output signal amplitudes; the actual signal dynamic range of the analog front-end circuit is determined based on the multiple groups of output signal amplitudes.

[0073] In a specific embodiment of the present application, the performance detection method provided by the present application is described in detail through a detailed example. First, the number of sample data that can be obtained within time t is calculated, and the calculation formula is: N = int (F / f s )*int(f s *t), where int is rounded up. Then calculate the signal baseline V b1 , calculate the arithmetic mean AVG through the obtained N consecutive data, which is the baseline value V b1 =AVG.

[0074] After obtaining the baseline value, find the intersection point between the output signal and the baseline, and form an array of N consecutive sampling data: a[0], a[1], ..., a[i], ..., a[j], ..., a[k], ..., a[N]. When a[x]≥AVG and a[x+1]≤AVG, a[x] or a[x+1] is the intersection point data. The selection rules of a[x] or a[x+1] are as follows: if |a[x]–AVG|<|a[x+1]–AVG|, a[x] is taken as the intersection point; if |a[x]–AVG|>|a[x+1]–AVG|, a[x+1] is taken as the intersection point. Then use array b[] to record the subscripts of these intersection data in array a[], assuming that data a[i], a[j], ..., a[k] meet the above requirements, and there are a total of n data that meet the requirements, then b[n] = {i, j, ..., k}. Figure 3 It is a schematic diagram of the signal intersection point, where the straight line is the signal reference line and the origin is the continuous sampling data. Figure 3 The square points in the figure are signal crossing points. Figure 3 The purpose is to show the specific position of the signal intersection point in the sinusoidal signal to make the method of the present application clearer. In the actual process of implementing the performance detection method of the analog front-end circuit of the present application, it is not necessary to convert the sampled data into Figure 3 to draw.

[0075] Alternatively, when a[x]≤AVG and a[x+1]≥AVG, a[x] or a[x+1] is the intersection point data. The selection rule of a[x] or a[x+1] is as follows: if |a[x]–AVG|<|a[x+1]–AVG|, a[x] is taken as the intersection point; if |a[x]–AVG|>|a[x+1]–AVG|, a[x+1] is taken as the intersection point.

[0076] After determining the signal intersection point, calculate the peak-to-peak amplitude of the signal: In the a[] array, each a[b[i]]~a[b[i+1]] is the data of a signal cycle. Take a[b[i]]~a[b[i+1]] as a group to calculate the maximum and minimum values ​​in the data, assuming they are V max and V min , then the peak-to-peak value of the signal in this cycle is V opp =V max –V min Calculate the peak-to-peak value Vopp of all samples corresponding to the excitation source 1-1 , V opp1-2 , …, V opp1-n .

[0077] The signal frequency can also be calculated from the collected data and the signal intersection point. The signal frequency can be calculated through the above b[] array. The calculation formula is: fo =F / ((b[n-1]-b[0]) / (n-1))=F*(n-1) / (b[n-1]-b[0]).

[0078] After calculating the signal baseline value, signal peak-to-peak value, and signal frequency, the performance of the analog front-end circuit can be analyzed based on the following judgment indicators. Specifically, the judgment indicators include:

[0079] Baseline matching degree, the calculated baseline value V ob The reference line V corresponding to the excitation source sb For comparison, the absolute deviation value |V is calculated sb -V ob |Or calculate the deviation Whether to use the absolute deviation value or the deviation degree as the criterion and the standard value is determined based on the system error and the actual application scenario. For example, when the absolute deviation value or the deviation degree of the baseline is less than the corresponding threshold, it is considered that the analog front-end circuit meets the user's requirements in terms of baseline matching;

[0080] Signal frequency matching, the calculated frequency value f o The frequency f corresponding to the excitation source s Just make a comparison, that is, calculate the absolute deviation value |f s -f o |Or calculate the deviation Whether to use the absolute deviation value or the deviation degree as the judgment standard and what the standard value is is determined based on the system error and the actual application scenario. For example, when the absolute deviation value or the deviation degree of the signal frequency is less than the corresponding threshold, it is considered that the analog front-end circuit meets the user's requirements in terms of signal frequency matching;

[0081] Signal gain matching, the calculated peak-to-peak value V opp Peak-to-peak V corresponding to the excitation source spp Just make a comparison, that is, calculate the absolute deviation value |V spp -V opp |Or calculate the deviation Whether to use the absolute deviation value or the deviation degree as the judgment standard and what the standard value is is determined based on the system error and the actual application scenario. For example, when the absolute deviation value or the deviation degree of the signal gain is less than the corresponding threshold, it is considered that the analog front-end circuit meets the user's requirements in terms of signal gain matching;

[0082] Signal gain stability, all the sampled peak-to-peak values ​​corresponding to each excitation source V opp1-1 , V opp1-2 , …, Vopp1-n The discreteness analysis can be performed. The discreteness evaluation can be performed using the variance / standard deviation, range, and interquartile difference methods. As for which method to use and what the standard value is, it is determined based on the system's own errors and actual application scenarios. For example, when the calculated variance / standard deviation, range, or interquartile difference is less than the corresponding threshold, it is considered that the analog front-end circuit meets the user's requirements in terms of signal gain stability.

[0083] Preferably, the signal dynamic range can also be determined by inputting multiple excitation signals. Specifically, excitation signals of the same frequency but with different peak-to-peak values ​​are input in sequence, and the peak-to-peak values ​​are required to increase from small to large, and the largest peak-to-peak value must exceed the dynamic range of the analog front-end circuit. opp The signal dynamic range can be measured.

[0084] In summary, the performance detection method of the analog front-end circuit provided by the present application can judge the performance of the analog front-end circuit by sampling the output signal after inputting the excitation signal into the analog front-end circuit and directly analyzing the sampled data. Therefore, the performance detection method provided by the present application does not need to draw a curve, but directly analyzes the sampled data, which can be realized in software automated detection, simplify the test process, and speed up the detection efficiency. In addition, the present application can directly quantify the test results, and because it is directly analyzed based on the source data, other links are reduced, and the accuracy loss of the data conversion process is avoided, so the detection results are more accurate; and the method provided by the present application is simple to implement, the algorithm is efficient, and it can be fully inspected in the mass production link of the product, thereby solving the problem that the analog front-end circuit performance of the product cannot be fully inspected on the production line and the detection efficiency is poor.

[0085] In a second aspect, an embodiment of the present application provides an electronic device, Figure 4 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Figure 4 As shown, the electronic device may include a processor 11 and a memory 12 storing computer program instructions.

[0086] Specifically, the processor 11 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0087] Among them, the memory 12 may include a large-capacity memory for data or instructions. By way of example and not limitation, the memory 12 may include a hard disk drive (HDD), a floppy disk drive, a solid-state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 12 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 12 may be inside or outside a data processing device. In a specific embodiment, the memory 12 is a non-volatile memory. In a specific embodiment, the memory 12 includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, PROM for short), an erasable PROM (Erasable Programmable Read-Only Memory, EPROM for short), an electrically erasable PROM (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), an electrically alterable ROM (Electrically Alterable Read-Only Memory, EAROM for short) or a flash memory (FLASH) or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (SRAM) or a dynamic random access memory (DRAM), wherein the DRAM can be a fast page mode dynamic random access memory (FPMDRAM), an extended data output dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.

[0088] The memory 12 may be used to store or cache various data files that need to be processed and / or used for communication, as well as possible computer program instructions executed by the processor 11 .

[0089] The processor 11 implements any one of the performance detection methods for the analog front-end circuit in the above embodiments by reading and executing computer program instructions stored in the memory 12 .

[0090] In one embodiment, the electronic device may further include a communication interface 13 and a bus 10. Figure 4 As shown, the processor 11, the memory 12, and the communication interface 13 are connected via a bus 10 and communicate with each other.

[0091] The communication interface 13 is used to realize the communication between the modules, devices, units and / or equipment in the embodiment of the present application. The communication port 13 can also realize data communication with other components such as: external devices, image / data acquisition equipment, databases, external storage and image / data processing workstations.

[0092] The bus 10 includes hardware, software or both, and couples the components of the electronic device to each other. The bus 10 includes but is not limited to at least one of the following: a data bus, an address bus, a control bus, an expansion bus, and a local bus. By way of example and not limitation, bus 10 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, bus 10 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.

[0093] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the performance detection method for the analog front-end circuit provided in the first aspect.

[0094] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0095] In a possible implementation, the present invention can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of the performance detection method of the analog front-end circuit provided in the first aspect.

[0096] The program code for executing the present invention may be written in any combination of one or more programming languages, and may be executed entirely on a user device, partially on a user device, as an independent software package, partially on a user device and partially on a remote device, or entirely on a remote device.

[0097] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0098] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A performance detection method for an analog front-end circuit, characterized in that: include: Acquire an excitation signal, and input the excitation signal into the analog front-end circuit; Collecting continuous sampling data of a preset time length from the output end of the analog front-end circuit; Extracting characteristic values ​​from the continuous sampling data, and calculating the output signal amplitude and the output signal frequency according to the characteristic values; Whether the performance of the analog front-end circuit meets user requirements is analyzed based on the excitation signal, the output signal amplitude and the output signal frequency.

2. The performance detection method according to claim 1, characterized in that: The extracting characteristic values ​​from the continuous sampling data comprises: Calculating an arithmetic mean value according to the continuous sampling data, and taking the arithmetic mean value as a signal baseline; The continuous sampling data is matched and searched with the signal baseline to obtain a plurality of signal intersection points, and the values ​​of the signal intersection points are recorded as characteristic values.

3. The performance detection method according to claim 2, characterized in that: The step of matching and searching the continuous sampling data with the signal reference line to obtain a plurality of signal intersection points includes: The continuous sampling data includes a plurality of sampling values ​​a[x], wherein 0≤x≤N, and N is a natural number greater than 0; When a[x] is greater than or equal to the signal baseline, and a[x+1] is less than or equal to the signal baseline, the sampling value of a[x] and a[x+1] that is closer to the signal baseline is taken as the signal intersection point; Alternatively, when a[x] is less than or equal to the signal baseline and a[x+1] is greater than or equal to the signal baseline, the sampling value of a[x] and a[x+1] that is closer to the signal baseline is calculated as the signal intersection point.

4. The performance detection method according to claim 1, characterized in that: The step of calculating the output signal amplitude according to the characteristic value comprises: Compare the continuous sampling data between two adjacent eigenvalues ​​and select the maximum sampling value and the minimum sampling value; The output signal amplitude is obtained by performing calculation according to the maximum sampling value and the minimum sampling value.

5. The performance detection method according to claim 1, characterized in that: The step of calculating the output signal frequency according to the characteristic value comprises: Counting the number of the eigenvalues, recorded as the number of intersection points; The output signal frequency is obtained by performing calculation according to the frequency of the excitation signal and the number of crossover points.

6. The performance detection method according to claim 2, characterized in that: Analyzing whether the performance of the analog front-end circuit meets user requirements according to the excitation signal, the output signal amplitude, and the output signal frequency includes: Determining a standard baseline according to the excitation signal, and calculating a baseline matching degree according to the signal baseline and the standard baseline; Obtaining the frequency of the excitation signal, recording it as the original signal frequency, and calculating the frequency matching degree according to the original signal frequency and the output signal frequency; Acquire the amplitude of the excitation signal, record it as the original signal amplitude, and calculate the gain matching degree according to the original signal amplitude and the output signal amplitude; When the baseline matching degree, the frequency matching degree and the gain matching degree are all within the corresponding preset ranges, it is determined that the performance of the analog front-end circuit meets the user requirements.

7. The performance detection method according to claim 5, characterized in that: Analyzing whether the performance of the analog front-end circuit meets user requirements according to the excitation signal, the output signal amplitude and the output signal frequency also includes: Acquire multiple output signal amplitudes of the same excitation signal, analyze the multiple output signal amplitudes by a discreteness analysis method, and obtain gain stability; When the gain stability is within a corresponding preset range, it is determined that the performance of the analog front-end circuit meets user requirements.

8. The performance detection method according to claim 1, characterized in that: The method further comprises: Acquire multiple excitation signals with the same frequency but different amplitudes, and input the multiple excitation signals into the analog front-end circuit in order of amplitude from small to large, wherein the largest amplitude exceeds the dynamic range of the analog front-end circuit; Collecting data of a preset time length from the output end of the analog front-end circuit to obtain multiple groups of continuous sampling data; Extracting characteristic values ​​from multiple sets of continuous sampling data, and performing calculations based on the characteristic values ​​to obtain multiple sets of output signal amplitudes; The actual signal dynamic range of the analog front-end circuit is determined according to the multiple groups of output signal amplitudes.

9. An electronic device, characterized in that: It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the performance detection method of the analog front-end circuit as described in any one of claims 1 to 8 when executing the computer program.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the performance detection method of the analog front-end circuit according to any one of claims 1 to 8 is implemented.