Circuit performance detection method and detection device
Through the combination of digital processor and audio codec, the frequency sweep signal and feedback signal are used to calculate the cutoff frequency and capacitance value of the filter circuit, which solves the problem of circuit performance measurement requiring professional instruments and achieves low-cost and fast circuit performance. detection.
Patent Information
- Application Number
- CN202110750352.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-02
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-07-02
AI Technical Summary
In the existing technology, circuit performance measurement requires professional instruments, which are costly and not suitable for fast measurement scenarios. Especially when the approximate performance of a circuit needs to be quickly evaluated, it is not economical to purchase professional instruments.
Through the combination of digital processor and audio codec, the frequency sweep signal is used for digital-to-analog conversion, sent to the circuit under test, and the feedback signal is received for analog-to-digital conversion to calculate the cutoff frequency and capacitance value of the filter circuit, and then evaluate the circuit performance. , realizing low-cost and fast circuit performance testing.
It realizes the convenient and rapid detection of circuit performance at low cost, avoids the necessity of purchasing professional instruments, simplifies the detection process, and improves the efficiency and accuracy of detection.
Smart Images

Figure CN113777477B
Abstract
Description
Technical Field
[0001] The present application relates to the field of circuit technology, and in particular to a circuit performance detection method and detection device. Background Art
[0002] The measurement of circuit performance generally requires professional measuring instruments, but professional measuring instruments are relatively expensive. Especially in some scenarios, when only the approximate performance of the circuit needs to be quickly measured, it is not cost-effective to purchase professional measuring instruments specifically. Summary of the invention
[0003] In view of this, the present application provides a circuit performance detection method and a detection device, which can conveniently and quickly detect the circuit performance of a circuit to be tested while ensuring low cost.
[0004] In a first aspect, an embodiment of the present application provides a method for detecting circuit performance, the method comprising: a digital processor sends a frequency sweep signal to an audio codec; the audio codec performs digital-to-analog conversion on the frequency sweep signal and sends the signal to a circuit under test connected to the audio codec; the audio codec receives a feedback signal returned by the circuit under test; the audio codec performs analog-to-digital conversion on the feedback signal and sends the signal to the digital processor; the digital processor determines the circuit performance of the circuit under test based on the received feedback signal.
[0005] Wherein, the circuit to be tested includes a first filter circuit formed by a capacitor to be tested, and the first filter circuit is connected between a first output terminal and a first input terminal of the audio codec;
[0006] The step of determining the circuit performance of the circuit to be tested according to the received feedback signal by the digital processor includes: the digital processor calculating the first capacitance of the capacitor to be tested according to the received first feedback signal corresponding to the first filter circuit.
[0007] Among them, the step of calculating the first capacitance of the capacitor to be measured by the digital processor according to the received first feedback signal corresponding to the first filtering circuit includes: the digital processor determines the first cut-off frequency of the first filtering circuit according to the received first feedback signal; and the digital processor calculates the first capacitance of the capacitor to be measured according to the first cut-off frequency.
[0008] Wherein, the circuit to be tested also includes a second filter circuit formed by the capacitor to be tested and different from the first filter circuit, the second filter circuit is connected between the second output terminal and the second input terminal of the audio codec, and the step of the digital processor determining the circuit performance of the circuit to be tested according to the received feedback signal also includes: the digital processor calculates the second capacitance of the capacitor to be tested according to the received second feedback signal corresponding to the second filter circuit; the digital processor calculates the average value of the first capacitance and the second capacitance, and uses the average value as the capacitance of the capacitor to be tested.
[0009] Among them, the first filtering circuit includes the capacitor to be measured and a first resistor with a known resistance value, one end of the capacitor to be measured is grounded, one end of the first resistor is connected to the other end of the capacitor to be measured, the other end of the first resistor is connected to the first output end of the audio codec, and the node where the first resistor is connected to the capacitor to be measured is connected to the first input end of the audio codec; the second filtering circuit includes the capacitor to be measured and a second resistor with a known resistance value, one end of the capacitor to be measured is connected to the second output end of the audio codec, one end of the second resistor is connected to the other end of the capacitor to be measured, the other end of the second resistor is grounded, and the node where the second resistor is connected to the capacitor to be measured is connected to the second input end of the audio codec.
[0010] The resistance values of the first resistor and the second resistor are equal.
[0011] Among them, the first filtering circuit includes the capacitor to be measured and a first resistor with a known resistance value, one end of the capacitor to be measured is grounded, one end of the first resistor is connected to the other end of the capacitor to be measured, the other end of the first resistor is connected to the first output end of the audio codec, and the node where the first resistor is connected to the capacitor to be measured is connected to the first input end of the audio codec; the second filtering circuit includes the capacitor to be measured and a second resistor with a known resistance value but a resistance value different from that of the first resistor, one end of the capacitor to be measured is grounded, one end of the second resistor is connected to the other end of the capacitor to be measured, the other end of the second resistor is connected to the second output end of the audio codec, and the node where the second resistor is connected to the capacitor to be measured is connected to the second input end of the audio codec.
[0012] The circuit to be tested includes a first filter circuit formed by a first capacitor to be tested and a second filter circuit formed by a second capacitor to be tested, the second capacitor to be tested and the first capacitor to be tested are in the same production batch, the first filter circuit is connected between the first output terminal and the first input terminal of the audio codec, and the second filter circuit is connected between the second output terminal and the second input terminal of the audio codec; the step of the digital processor determining the circuit performance of the circuit to be tested according to the received feedback signal includes: the digital processor calculates the first capacitance of the first capacitor to be tested and the second capacitance of the second capacitor to be tested respectively according to the received first feedback signal corresponding to the first filter circuit and the second feedback signal corresponding to the second filter circuit; the digital processor calculates the average value of the first capacitance and the second capacitance, and uses the average value as the capacitance of the first capacitor to be tested and the second capacitor to be tested.
[0013] Wherein, the circuit to be tested includes a simulation filtering circuit, and the digital processor determines the circuit performance of the circuit to be tested based on the received feedback signal, including: comparing the amplitude of the swept frequency signal and the feedback signal at the same frequency to determine the simulation effect of the circuit to be tested.
[0014] In a second aspect, an embodiment of the present application provides a circuit performance detection device, which includes a digital processor and an audio codec, wherein the digital processor is connected to the audio codec, and the digital processor and the audio codec cooperate with each other to implement the steps in the above method.
[0015] The beneficial effect is that the circuit performance detection method of the present application utilizes two relatively common devices, a digital processor and an audio codec, to cooperate with each other to detect the circuit performance of the circuit to be tested. It does not require the purchase of professional instruments and is low in cost. The entire detection method is simple and does not require cumbersome steps. Therefore, the circuit performance of the circuit to be tested can be detected conveniently and quickly while ensuring low cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0017] Figure 1 It is a flow chart of an implementation method of a circuit performance detection method of the present application;
[0018] Figure 2It is a schematic diagram of the circuit performance detection device of the present application when performing detection in an application scenario;
[0019] Figure 3 It is a schematic diagram of the circuit performance detection device of the present application when performing detection in another application scenario;
[0020] Figure 4 It is a schematic diagram of the circuit performance detection device of the present application when performing detection in another application scenario;
[0021] Figure 5 It is a schematic diagram of the circuit performance detection device of the present application when performing detection in another application scenario;
[0022] Figure 6 It is a schematic diagram of the circuit performance detection device of the present application when performing detection in another application scenario. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0024] See also Figure 1 , Figure 1 1 is a flow chart of an embodiment of a method for detecting circuit performance of the present application, the method comprising:
[0025] S110 : The digital processor 110 sends the frequency sweep signal to the audio codec 120 .
[0026] Combination Figure 2 , Figure 2 It is a schematic diagram of the circuit performance detection device of the present application when performing circuit performance detection. The circuit performance detection device 100 includes a digital processor 110, an audio codec 120 and a display 130. The audio codec 120 is connected to the digital processor 110, and the display 130 is connected to the digital processor 110.
[0027] Among them, the digital processor 110, the audio codec 120 and the display 130 are relatively common devices. The digital processor 110 can specifically be a DSP (Digital Signal Process), and the audio codec 120 is mainly used in the field of audio signal processing. The present application selects a sweep signal whose frequency falls within the audio range and sends it to the audio codec 120, and uses the audio codec 120 to participate in the circuit performance detection process.
[0028] S120 : the audio codec 120 performs digital-to-analog conversion on the frequency sweep signal and sends the converted signal to the circuit under test 200 connected to the audio codec 120 .
[0029] Specifically, the audio codec 120 has AD (analog-to-digital conversion) and DA (digital-to-analog conversion) conversion functions, so the audio codec 120 converts the frequency sweep signal into an analog signal and then sends it to the circuit under test 200 .
[0030] S130 : The audio codec 120 receives a feedback signal returned by the circuit under test 200 .
[0031] Specifically, the input terminal and the output terminal of the circuit under test 200 are both connected to the audio codec 120 , and the circuit under test 200 outputs a feedback signal after receiving an input signal.
[0032] S140 : The audio codec 120 performs analog-to-digital conversion on the feedback signal and sends the result to the digital processor 110 .
[0033] Specifically, since the digital processor 110 can only process digital signals, after receiving the feedback signal, the audio codec 120 performs analog-to-digital conversion on the feedback signal and sends the converted feedback signal to the digital processor 110 .
[0034] S150 : The digital processor 110 determines the circuit performance of the circuit under test 200 according to the received feedback signal.
[0035] Specifically, since the feedback signal is generated by the circuit under test 200 after receiving the sweep signal, the circuit performance of the circuit under test 200 can be determined based on the feedback signal, where the circuit performance of the circuit under test 200 includes but is not limited to the size of a component in the circuit under test 200, the gain, power consumption, noise of the circuit under test 200, and whether the circuit under test 200 is turned on.
[0036] After determining the circuit performance of the circuit under test 200, the digital processor 110 will also display the circuit performance of the circuit under test 200 on the display 130 to inform the user in an intuitive manner. It should be noted that in other embodiments, the circuit performance detection device 100 may not include the display 130.
[0037] From the above content, it can be seen that the circuit performance detection method in this embodiment uses two relatively common devices, the digital processor 110 and the audio codec 120, to cooperate with each other to detect the circuit performance of the circuit to be tested 200. It does not need to purchase professional instruments, the cost is low, and the entire detection method is simple. Therefore, the circuit performance of the circuit to be tested 200 can be detected conveniently and quickly while ensuring low cost.
[0038] Continue to combine Figure 1 and Figure 2 The circuit to be tested 200 includes a first filter circuit 210 formed by a capacitor to be tested 211. The first filter circuit 210 is connected between the first output terminal OUT_1 and the first input terminal IN_1 of the audio codec 120. In this application scenario, the digital processor 110 calculates the first capacitance of the capacitor to be tested 211 based on the received first feedback signal corresponding to the first filter circuit 210.
[0039] Specifically, after receiving the frequency sweep signal after digital-to-analog conversion, the first filter circuit 210 generates a first feedback signal, and the digital processor 110 calculates the first capacitance of the capacitor to be measured 211 according to the first feedback signal.
[0040] Among them, except for the unknown size of the capacitor 211 to be measured in the first filter circuit 210, the sizes of other components are known. Among them, the digital processor 110 can determine the first cutoff frequency of the first filter circuit 210 according to the received first feedback signal, and then the digital processor 110 calculates the first capacitance of the capacitor 211 to be measured according to the first cutoff frequency.
[0041] Specifically, at this time, the amplitude of the swept frequency signal sent by the digital processor 110 remains unchanged, and its frequency changes linearly (it can also be transformed nonlinearly, but when the frequency changes linearly, the subsequent detection results are more accurate). After receiving the first feedback signal, the digital processor 110 searches for the frequency when the amplitude of the first feedback signal decays to 0.707 of the amplitude of the swept frequency signal. This frequency is the cutoff frequency of the first filter circuit 210, recorded as the first cutoff frequency, and then the first capacitance of the capacitor 211 to be measured is calculated according to the first cutoff frequency.
[0042] In order to improve the accuracy of detection, Figure 3 The circuit to be tested 200 further includes a second filter circuit 220 which is different from the first filter circuit 210 and is formed by a capacitor to be tested 211. The second filter circuit 220 is connected between the second output terminal OUT_2 and the second input terminal IN_2 of the audio codec 120. At this time, the digital processor 110 calculates the second capacitance of the capacitor to be tested 211 according to the received second feedback signal corresponding to the second filter circuit 220. Then, the digital processor 110 calculates the average value of the first capacitance and the second capacitance to obtain the capacitance of the capacitor to be tested 211.
[0043] Specifically, after measuring the first capacitance of the capacitor 211 to be measured, the capacitor 211 to be measured in the first filter circuit 210 is taken out, and then the capacitor 211 to be measured is reconstructed into a second filter circuit 220 connected between the second output terminal OUT_2 and the second input terminal IN_2 of the audio codec 120. Then, the digital processor 110 will send the sweep signal to the audio codec 120 again. The audio codec 120 converts the sweep signal into digital-to-analog format and sends it to the second filter circuit 220. Then, the audio codec 120 receives the second feedback signal corresponding to the second filter circuit 220, and then calculates the second capacitance of the capacitor 211 to be measured. Finally, the average value of the first capacitance and the second capacitance is calculated, and the average value is used as the capacitance of the capacitor 211 to be measured.
[0044] Among them, the process of the audio codec 120 calculating the second capacitance of the capacitor to be measured 211 according to the second feedback signal is similar to the process of calculating the first capacitance of the capacitor to be measured 211 as described above: first determine the cutoff frequency of the second filter circuit 220, recorded as the second cutoff frequency, and then calculate the second capacitance of the capacitor to be measured 211 according to the second cutoff frequency. The specific process can be found above and will not be described in detail here.
[0045] In the above embodiment, the capacitor 211 to be measured is set in two different filter circuits, and then the capacitance of the capacitor 211 to be measured is obtained respectively according to the feedback signals returned by the two different filter circuits, and finally the average of the two capacitances is obtained, and the obtained average is used as the capacitance of the capacitor 211 to be measured. This process can avoid the accidental and error of obtaining the capacitance of the capacitor 211 to be measured at a single time, and improve the accuracy of the measurement result.
[0046] It should be noted that after obtaining the first capacitance of the capacitor 211 to be tested, the first filter circuit 210 can also be removed, and the capacitor 211 to be tested can be reconstructed into a second filter circuit 220 connected between the first output terminal OUT_1 and the first input terminal IN_1 of the audio codec 120. In other words, the second filter circuit 220 can be connected between the first output terminal OUT_1 and the first input terminal IN_1, or between the second output terminal OUT_2 and the second input terminal IN_2, and there is no limitation here.
[0047] Combination Figure 2 and Figure 3At this time, the first filter circuit 210 and the second filter circuit 220 are a low-pass filter circuit and a high-pass filter circuit, respectively. Specifically, the first filter circuit 210 includes a capacitor to be measured 211 and a first resistor 212 with a known resistance value. One end of the capacitor to be measured 211 is grounded, one end of the first resistor 212 is connected to the other end of the capacitor to be measured 211, and the other end of the first resistor 212 is connected to the first output end OUT_1 of the audio codec 120. At the same time, the node where the first resistor 212 and the capacitor to be measured 211 are connected is connected to the first input end IN_1 of the audio codec 120. The second filter circuit 220 includes a capacitor to be measured 211 and a second resistor 222 with a known resistance value. One end of the capacitor to be measured 211 is connected to the second output end OUT_2 of the audio codec 120, one end of the second resistor 222 is connected to the other end of the capacitor to be measured 211, and the other end of the second resistor 222 is grounded. At the same time, the node where the second resistor 222 and the capacitor to be measured 211 are connected is connected to the second input end IN_2 of the audio codec 120.
[0048] At this time, the resistance values of the first resistor 212 and the second resistor 222 may be equal or different, and this is not limited here. However, it can be understood that by setting the resistance values of the first resistor 212 and the second resistor 222 to be equal, the components in the first filter circuit 210 and the second filter circuit 220 can be completely the same, so when constructing the second filter circuit 220, the components in the first filter circuit 210 can be used without using new components, thereby reducing the use of components.
[0049] At the same time, the first capacitance of the capacitor 211 to be measured can be calculated according to the following formula:
[0050] Wherein, C1 represents the first capacitance of the capacitor 211 to be measured, R1 is the resistance of the first resistor 212, and f1 is the first cut-off frequency.
[0051] And the second capacitance of the capacitor 211 to be measured can be calculated according to the following formula:
[0052] Wherein, C2 represents the second capacitance of the capacitor 211 to be measured, R2 is the resistance of the second resistor 222, and f2 is the second cut-off frequency.
[0053] It can be seen from the above content that the first filter circuit 210 is an RC low-pass filter circuit, and the second filter circuit 220 is an RC high-pass filter circuit.
[0054] Combination Figure 2 and Figure 4, at this time, the first filter circuit 210 and the second filter circuit 220 are both RC low-pass filter circuits, but the resistance values of the first resistor 212 and the second resistor 222 are different. The specific circuit structures of the first filter circuit 210 and the second filter circuit 220 can be seen in Figure 2 and Figure 4 , I will not go into details here.
[0055] In other application scenarios, the first filter circuit 210 and the second filter circuit 220 may both be high-pass filter circuits, but similarly, the resistance values of the first resistor 212 and the second resistor 222 are different.
[0056] In the above application scenarios, the first filter circuit 210 and the second filter circuit 220 are connected to the audio codec 120 in sequence, so the first capacitance and the second capacitance of the capacitor 211 to be tested are measured in sequence, which takes a long time. Therefore, in order to shorten the detection time, refer to Figure 5 In another application scenario, the circuit to be tested 400 is set to include a first filter circuit 410 composed of a first capacitor to be tested 411 and a second filter circuit 420 composed of a second capacitor to be tested 421. The second capacitor to be tested 421 and the first capacitor to be tested 411 are in the same production batch. The first filter circuit 410 is connected between the first output terminal OUT_1 and the first input terminal IN_1 of the audio codec 320, and the second filter circuit 420 is connected between the second output terminal OUT_2 and the second input terminal IN_2 of the audio codec 320. At this time, the digital processor 310 calculates the first capacitance of the first capacitor to be tested 411 and the second capacitance of the second capacitor to be tested 421 according to the received first feedback signal corresponding to the first filter circuit 410 and the second feedback signal corresponding to the second filter circuit 420. Then, the digital processor 310 calculates the average value of the first capacitance and the second capacitance, and uses the average value as the capacitance of the first capacitor to be tested 411 and the second capacitor to be tested 421.
[0057] Specifically, the first capacitor 411 to be tested and the second capacitor 421 to be tested are in the same production batch, which means that the capacitances of the first capacitor 411 to be tested and the second capacitor 421 to be tested are equal, so the first capacitance of the first capacitor 411 to be tested and the second capacitance of the second capacitor 421 to be tested can be measured simultaneously.
[0058] Among them, the structures of the first filter circuit 410 and the second filter circuit 420 are different, specifically, one is a low-pass filter circuit and the other is a high-pass filter circuit, or both are high-pass filter circuits / low-pass filter circuits, but the resistance values of the resistors included are different. For details, please refer to the above-mentioned related content, which will not be described in detail here.
[0059] The above describes how to measure the capacitance of a capacitor. It should be noted that a method similar to the above can also be used to measure the resistance of a resistor. It is only necessary to replace the capacitor with a capacitor with a known capacitance and the resistor with an unknown resistance.
[0060] In another application scenario, see Figure 6 The circuit to be tested 600 includes a simulation filter circuit 610, and the simulation filter circuit 610 is connected to the audio codec 520. At this time, after receiving the feedback signal returned by the simulation filter circuit 610, the digital processor 510 compares the amplitude of the emitted sweep signal with the amplitude of the received feedback signal at the same frequency to determine the simulation effect of the simulation filter circuit 610.
[0061] Specifically, at this time, the amplitude of the swept frequency signal sent by the digital processor 510 remains unchanged, and its frequency changes linearly (it can also be transformed nonlinearly, but when the frequency changes linearly, the subsequent detection results are more accurate). The digital processor 510 sends the swept frequency signal to the audio codec 520, and the audio codec 520 converts the swept frequency signal into digital form and sends it to the simulation filter circuit 610. Then the simulation filter circuit 610 generates a feedback signal and sends it to the audio codec 520. The audio codec 520 converts the feedback signal into digital form and sends it to the digital processor 510. Then the digital processor 510 compares the amplitude of the emitted swept frequency signal with the amplitude of the received feedback signal at the same frequency, thereby determining the simulation effect of the simulation filter circuit 610.
[0062] In one application scenario, the digital processor 510 draws a frequency response curve of the simulated filter circuit 610 in a coordinate system based on the feedback signal, wherein the horizontal axis of the coordinate system represents the frequency and the vertical axis represents the amplitude, thereby correspondingly displaying the simulation effect of the simulated filter circuit 610 according to the frequency response curve.
[0063] In addition, the present application also protects a circuit performance detection device, which has the same structure as the circuit performance detection device in any of the above-mentioned embodiments. For details, please refer to the above-mentioned embodiments, which will not be repeated here.
[0064] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for detecting circuit performance, characterized in that: The method comprises: The digital processor sends the frequency sweep signal to the audio codec; The audio codec performs digital-to-analog conversion on the frequency sweep signal and sends the converted signal to the circuit to be tested connected to the audio codec; The audio codec receives a feedback signal returned by the circuit under test; The audio codec performs analog-to-digital conversion on the feedback signal and sends the result to the digital processor; The digital processor determines the circuit performance of the circuit to be tested according to the received feedback signal; Wherein, the circuit to be tested includes a simulation filter circuit, and the step of the digital processor determining the circuit performance of the circuit to be tested according to the received feedback signal includes: comparing the amplitude of the frequency sweep signal and the amplitude of the feedback signal at the same frequency to determine the simulation effect of the circuit to be tested; The circuit to be tested includes a first filter circuit formed by a capacitor to be tested and a second filter circuit different from the first filter circuit, the first filter circuit is connected between a first output terminal and a first input terminal of the audio codec, and the second filter circuit is connected between a second output terminal and a second input terminal of the audio codec; the step of the digital processor determining the circuit performance of the circuit to be tested according to the received feedback signal includes: the digital processor calculates a first capacitance of the capacitor to be tested according to a received first feedback signal corresponding to the first filter circuit; the digital processor calculates a second capacitance of the capacitor to be tested according to a received second feedback signal corresponding to the second filter circuit; the digital processor calculates an average value of the first capacitance and the second capacitance, and uses the average value as the capacitance of the capacitor to be tested; Alternatively, the circuit to be tested includes a first filter circuit formed by a first capacitor to be tested and a second filter circuit formed by a second capacitor to be tested, the second capacitor to be tested and the first capacitor to be tested are in the same production batch, the first filter circuit is connected between the first output terminal and the first input terminal of the audio codec, and the second filter circuit is connected between the second output terminal and the second input terminal of the audio codec; the step of the digital processor determining the circuit performance of the circuit to be tested according to the received feedback signal includes: the digital processor calculates the first capacitance of the first capacitor to be tested and the second capacitance of the second capacitor to be tested respectively according to the received first feedback signal corresponding to the first filter circuit and the second feedback signal corresponding to the second filter circuit; the digital processor calculates the average value of the first capacitance and the second capacitance, and uses the average value as the capacitance of the first capacitor to be tested and the second capacitor to be tested; The digital processor determines a first cutoff frequency of the first filter circuit according to the received first feedback signal; and the digital processor calculates the first capacitance of the capacitor to be measured according to the first cutoff frequency.
2. The method according to claim 1, characterized in that The first filtering circuit includes the capacitor to be measured and a first resistor with a known resistance, one end of the capacitor to be measured is grounded, one end of the first resistor is connected to the other end of the capacitor to be measured, the other end of the first resistor is connected to the first output end of the audio codec, and a node where the first resistor and the capacitor to be measured are connected is connected to the first input end of the audio codec; The second filtering circuit includes the capacitor to be measured and a second resistor with a known resistance value, one end of the capacitor to be measured is connected to the second output end of the audio codec, one end of the second resistor is connected to the other end of the capacitor to be measured, the other end of the second resistor is grounded, and the node where the second resistor is connected to the capacitor to be measured is connected to the second input end of the audio codec.
3. The method according to claim 2, characterized in that The resistance values of the first resistor and the second resistor are equal.
4. The method according to claim 1, characterized in that: The first filtering circuit includes the capacitor to be measured and a first resistor with a known resistance, one end of the capacitor to be measured is grounded, one end of the first resistor is connected to the other end of the capacitor to be measured, the other end of the first resistor is connected to the first output end of the audio codec, and a node where the first resistor and the capacitor to be measured are connected is connected to the first input end of the audio codec; The second filtering circuit includes the capacitor to be measured and a second resistor whose resistance is known but different from that of the first resistor. One end of the capacitor to be measured is grounded, one end of the second resistor is connected to the other end of the capacitor to be measured, and the other end of the second resistor is connected to the second output end of the audio codec. At the same time, the node where the second resistor is connected to the capacitor to be measured is connected to the second input end of the audio codec.
5. A circuit performance detection device, characterized in that: The circuit performance detection device includes a digital processor and an audio codec, wherein the digital processor is connected to the audio codec, and the digital processor and the audio codec cooperate with each other to implement the steps in the method as described in any one of claims 1-4.
