Test system and test method

By introducing a test system with automatic switching devices and control devices in the data acquisition system testing, the problem of low testing efficiency and accuracy in the existing test methods is solved, automated testing is realized, and testing efficiency and accuracy are improved.

CN120029837APending Publication Date: 2025-05-23ZOLIX ANALYTICAL INSTRUMENTS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510098238.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The existing data acquisition system testing methods have problems such as large testing workload, many repetitive work, and low testing efficiency and accuracy. In particular, manual switching of connecting cables is easy to introduce different contact resistances, which affects the test results.

Method used

It provides a testing system, including a control device, a detection device and an automatic switching device. By switching the connection channel through the automatic switching device, it realizes automatic connection and signal transmission between the detection device and the data acquisition system. The control device generates a test signal through software control and reads the test results.

Benefits of technology

Automatic testing is realized, reducing manual operations, improving testing efficiency and accuracy, reducing the possibility of manual errors, and saving labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029837A_ABST
    Figure CN120029837A_ABST
Patent Text Reader

Abstract

The invention discloses a test system and a test method, and relates to the technical field of test, the test system comprises a control device, a detection device and an automatic switching device; the control device is respectively connected with the detection device and the automatic switching device, sends a first control signal to the detection device and sends a second control signal to the automatic switching device; the detection device is also connected with the automatic switching device, and outputs a first test signal to the automatic switching device according to the first control signal; the automatic switching device is also connected with the data acquisition system, switches a connection channel with the detection device and / or the data acquisition system according to the second control signal, collects a first test signal through the connection channel with the detection device, and outputs the first test signal through the connection channel with the data acquisition system; the data acquisition system acquires output signals of the automatic switching device, and the control device further reads the signals acquired by the data acquisition system and generates a first test result according to the signals acquired by the data acquisition system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of testing technology, and in particular, to a testing system and a testing method. Background Art

[0002] Testing work, whether manual or automatic, is a way to ensure product quality. Traditional manual testing, because testers need to manually write test cases, has many disadvantages, such as large testing workload, much repetitive work, low testing efficiency, inability to guarantee the accuracy of test results, and difficulty in implementing regression testing.

[0003] For some basic, fixed-mode operations, automated testing tools can be used. It should be said that automated testing has irreplaceable advantages in performance testing, functional testing, etc. It can use simple scripts to implement a large number of repetitive operations. By analyzing the test results, conclusions can be drawn, which not only saves a lot of manpower and material resources, but also makes the test results more accurate.

[0004] There are currently two main testing methods for data acquisition system testing:

[0005] The first method is to compile manual test cases based on the functions and performance of the data acquisition system, manually set the input device, manually switch the connection cables for the corresponding channels, and manually record the test results; however, this method has the following disadvantages: 1) The test workload is large. 2) There are many repetitive tasks and they are tedious and prone to errors. 3) The test time is long and the test efficiency is low. 4) Manually switching the connection cables can easily introduce differences in contact resistance, affecting the final test results and the accuracy is not high.

[0006] The second method is to use the software of the output / detection device to set the output quantity or value, manually switch the corresponding test channel connection line, and then test through automatic acquisition. However, this method still has the following disadvantages: 1) Manual operation is prone to mistakes. 2) The test time is long and the test efficiency is low. 4) Manual switching of the connection cable is likely to introduce contact resistance differences, affecting the final test results and the accuracy is not high.

[0007] This section is intended to provide a background or context to the embodiments of the present application as recited in the claims. No admission is made that the description herein is prior art by inclusion in this section. Summary of the invention

[0008] The purpose of this application is to provide a testing system and a testing method, which can at least solve one of the above-mentioned technical problems existing in the current testing systems and testing methods.

[0009] An embodiment of the present application provides a test system, including a control device, a detection device and an automatic switching device, wherein the control device is connected to the detection device and the automatic switching device, respectively, and the control device sends a first control signal to the detection device and sends a second control signal to the automatic switching device; the detection device is also connected to the automatic switching device, and the detection device outputs a first test signal to the automatic switching device according to the first control signal; the automatic switching device is also connected to a data acquisition system, and the automatic switching device switches a connection channel with the detection device and / or the data acquisition system according to the second control signal, collects the first test signal through the connection channel with the detection device, and outputs the first test signal through the connection channel with the data acquisition system; the data acquisition system collects the output signal of the automatic switching device, and the control device also reads the signal collected by the data acquisition system, and generates a first test result according to the signal collected by the data acquisition system.

[0010] In some embodiments, the control device is also connected to the data acquisition system, and the control device sends a third control signal to the data acquisition system and sends a fourth control signal to the automatic switching device; the automatic switching device switches the connection channel with the detection device and / or the data acquisition system according to the fourth control signal; the data acquisition system generates a second test signal according to the third control signal, and outputs the second test signal through the connection channel with the automatic switching device; the automatic switching device collects the output signal of the data acquisition system, and sends the collected output signal to the detection device through the connection channel with the detection device; the detection device collects the output signal sent by the automatic switching device; the control device also reads the output signal collected by the detection device, and generates a second test result based on the output signal.

[0011] In some embodiments, the first test signal includes a current signal or a voltage signal; after the automatic switching device switches the connection channel with the data acquisition system according to the second control signal, the automatic switching device is connected to an input port of the data acquisition system.

[0012] In some embodiments, after the automatic switching device switches the connection channel with the data acquisition system according to the fourth control signal, the automatic switching device is connected to an output port of the data acquisition system.

[0013] In some embodiments, the automatic switching device includes a control circuit and at least one switching circuit, wherein the control circuit is connected to the control device and the switching circuit, and the control circuit generates an input signal for the switching circuit according to the second control signal / fourth control signal; the switching circuit is respectively connected to the control circuit, the detection device and the data acquisition system, and the switching circuit switches the connection channel with the detection device and / or the data acquisition system according to the input signal sent by the control circuit.

[0014] In some embodiments, the control circuit includes a digital signal processor and a signal amplifying circuit, wherein the digital signal processor is connected to the control device, receives the second control signal / fourth control signal sent by the control device, and generates an input signal of the switching circuit according to the second control signal / fourth control signal; the signal amplifying circuit is connected to the digital signal processor and the switching circuit respectively, the signal amplifying circuit amplifies the input signal to generate an amplified signal, and sends the amplified signal to the switching circuit, so that the switching circuit switches the connection channel with the detection device and / or the data acquisition system according to the amplified signal.

[0015] In some embodiments, the switching circuit includes at least two connected relays, and a control end of each of the relays is connected to an output pin of the signal amplifying circuit to receive an amplified signal sent by the signal amplifying circuit through the output pin.

[0016] The present application also provides a testing method, based on the testing system described in any of the above embodiments, the method comprising:

[0017] The control device sends a first control signal to the detection device and sends a second control signal to the automatic switching device;

[0018] The automatic switching device switches the connection channel with the detection device and / or the data acquisition system according to the second control signal;

[0019] The detection device outputs a first test signal to the automatic switching device according to the first control signal;

[0020] The automatic switching device outputs the first test signal to the data acquisition system, so that the data acquisition system acquires the output signal of the automatic switching device;

[0021] The control device reads the signal collected by the data acquisition system, and generates a first test result according to the signal collected by the data acquisition system.

[0022] In some embodiments, the method further comprises:

[0023] The control device sends a third control signal to the data acquisition system and sends a fourth control signal to the automatic switching device;

[0024] The automatic switching device switches the connection channel with the detection device and / or the data acquisition system according to the fourth control signal;

[0025] The data acquisition system generates a second test signal according to the third control signal, and outputs the second test signal through a connection channel with the automatic switching device;

[0026] The automatic switching device collects the output signal of the data acquisition system and sends the collected output signal to the detection device;

[0027] The detection device collects the output signal sent by the automatic switching device;

[0028] The control device also reads the output signal collected by the detection device, and generates a second test result according to the output signal.

[0029] In some embodiments, the control device generates a first test result according to the signal collected by the data acquisition system, including:

[0030] The control device determines the data acquisition performance of the data acquisition system under a preset gain condition according to the signal collected by the data acquisition system and the first test signal;

[0031] The control device generates a second test result according to the output signal, including:

[0032] The control device determines the output performance of the data acquisition system according to the output signal and the second test signal.

[0033] The test system and test method provided by the embodiment of the present application, because the data acquisition system usually has the characteristics of multi-function and high sensitivity, the automatic switching device can have the characteristics of low contact resistance and high switching frequency; the control device controls the automatic switching device to switch the corresponding on-off port through software, connects the corresponding channel of the detection device and the data acquisition system, and the software controls the detection device to output the corresponding size and value signal to the data acquisition system, the data acquisition system automatically collects the signal, the control device reads the data collected by the data acquisition system and performs data processing, and automatically determines the test result according to the qualified judgment standard, which is used to test the data acquisition function of the data acquisition system. It can be seen that automatic control and automatic testing are realized, and automation is realized throughout the process, without the participation of personnel, saving labor costs, and also improving the test efficiency and accuracy, and reducing the possibility of manual errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. 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.

[0035] Figure 1 A schematic diagram of the connection relationship between a test system and a data acquisition system provided in an embodiment of the present application.

[0036] Figure 2 A schematic diagram of the connection relationship between a test system and a data acquisition system provided in an embodiment of the present application.

[0037] Figure 3 A schematic diagram of the connection relationship between a test system and a data acquisition system provided in an embodiment of the present application.

[0038] Figure 4 A schematic diagram of the structure of a control circuit provided in an embodiment of the present application.

[0039] Figure 5 A working principle diagram of a switching circuit provided in an embodiment of the present application.

[0040] Figure 6 A flow chart of a testing method provided in an embodiment of the present application.

[0041] Figure 7 A partial flow chart of a testing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] 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.

[0043] With reference to the following description and accompanying drawings, the specific embodiments of the present application are disclosed in detail, indicating the way in which the principles of the present application can be adopted. It should be understood that the embodiments of the present application are not limited in scope. Within the scope of the spirit and clauses of the appended claims, the embodiments of the present application include many changes, modifications and equivalents.

[0044] Features described and / or illustrated with respect to one embodiment may be used in the same or similar manner in one or more other embodiments, combined with features in other embodiments, or substituted for features in other embodiments.

[0045] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, integers, steps or components, but does not exclude the presence or addition of one or more other features, integers, steps or components.

[0046] In order to solve at least one of the above problems existing in the prior art, the present application provides a testing system, such as Figure 1 As shown, the test system includes a control device 10, a detection device 20 and an automatic switching device 30, wherein:

[0047] The control device 10 is connected to the detection device 20 and the automatic switching device 30 respectively, and the control device 10 sends a first control signal to the detection device 20 and sends a second control signal to the automatic switching device 30;

[0048] The detection device 20 is also connected to the automatic switching device 30, and the detection device 20 outputs a first test signal to the automatic switching device 30 according to the first control signal;

[0049] The automatic switching device 30 is also connected to the data acquisition system 002. The automatic switching device 30 switches the connection channel with the detection device 20 and / or the data acquisition system 002 according to the second control signal, collects the first test signal through the connection channel with the detection device 20, and outputs the first test signal through the connection channel with the data acquisition system 002;

[0050] The data acquisition system 002 acquires the output signal of the automatic switching device 30 , and the control device 10 further reads the signal acquired by the data acquisition system 002 , and generates a first test result according to the signal acquired by the data acquisition system 002 .

[0051] Specifically, since the data acquisition system 002 usually has the characteristics of multi-function and high sensitivity, the automatic switching device 30 should have the characteristics of low contact resistance and high switching frequency; the control device 10 controls the automatic switching device 30 to switch the corresponding on-off port through software, connects the detection device 20 and the corresponding channel of the data acquisition system 002, and realizes automatic switching between channels; the control device 10 controls the detection device 20 through software to output the corresponding amount and value signal to the data acquisition system 002, and the data acquisition system 002 automatically collects the signal, and the control device 10 reads the data collected by the data acquisition system 002 and processes the data, and automatically determines the test result according to the qualified judgment standard, which is used to test the data acquisition function of the data acquisition system 002, realizes automatic control of input signals and real-time collection, and automatically determines the result. It can be seen that the test system provided by the embodiment of the present application realizes automatic control and automatic testing, realizes automation throughout the process, does not require personnel participation, saves labor costs, improves test efficiency and accuracy, and reduces the possibility of manual errors; it can replace manual testing, solve the problems of large test workload, many repetitive tasks, low test efficiency and accuracy.

[0052] like Figure 1 As shown, in some embodiments, the control device 10 is also connected to the data acquisition system 002, and the control device 10 sends a third control signal to the data acquisition system 002 and sends a fourth control signal to the automatic switching device 30; the automatic switching device 30 switches the connection channel with the detection device 20 and / or the data acquisition system 002 according to the fourth control signal; the data acquisition system 002 generates a second test signal according to the third control signal, and outputs the second test signal through the connection channel with the automatic switching device 30; the automatic switching device 30 collects the output signal of the data acquisition system 002, and sends the collected output signal to the detection device 20 through the connection channel with the detection device 20; the detection device 20 collects the output signal sent by the automatic switching device 30; the control device 10 also reads the output signal collected by the detection device 20, and generates a second test result according to the output signal.

[0053] Specifically, the data acquisition system 002 may also have a certain output function. At this time, the control device 10 may send instructions to the data acquisition system 002, so that the data acquisition system 002 outputs a certain value through the corresponding channel, and transmits it losslessly to the detection device 20 through the automatic switching device 30. The control device 10 reads the signal value collected by the detection device 20, and compares the error value between the set output and the collected signal value, and gives a second test result for testing the signal output function of the data acquisition system 002.

[0054] In some embodiments, the first test signal includes a current signal or a voltage signal; after the automatic switching device 30 switches the connection channel with the data acquisition system 002 according to the second control signal, the automatic switching device 30 is connected to an input port of the data acquisition system 002.

[0055] Specifically, when testing the current input function of the data acquisition system 002: the control device 10 controls the automatic switching device 30 to connect the detection device 20 with the corresponding acquisition channel of the data acquisition system 002, the control device 10 controls the detection device 20 to output different current values ​​and reads out the data collected by the data acquisition system 002 under different gain conditions, calculates the corresponding parameters (such as linearity and stability) and gives a first test result.

[0056] When testing the voltage input function of the data acquisition system 002: the control device 10 controls the automatic switching device 30, connects the detection device 20 with the corresponding acquisition channel of the data acquisition system 002, the control device 10 controls the detection device 20 to output different voltage values ​​and reads out the data collected by the data acquisition system 002 under different gain conditions, calculates the corresponding parameters (such as linearity and stability) and gives the first test result.

[0057] In some embodiments, after the automatic switching device 30 switches the connection channel with the data acquisition system 002 according to the fourth control signal, the automatic switching device 30 is connected to an output port of the data acquisition system 002 .

[0058] Specifically, when testing the signal output function of the data acquisition system 002: the control device 10 controls the automatic switching device 30 to connect the corresponding output channel of the data acquisition system 002 and the input channel of the detection device 20, the control device 10 controls the data acquisition system 002 to output different signal values, and reads out the signal value collected by the detection device 20, compares the set output quantity and the error value of the collected signal quantity and gives a second test result.

[0059] like Figure 2As shown, in some embodiments, the automatic switching device 30 includes a control circuit 31 and at least one switching circuit 32, wherein the control circuit 31 is connected to the control device 10 and the switching circuit 32, and the control circuit 31 generates an input signal of the switching circuit 32 according to the second control signal / fourth control signal; the switching circuit 32 is respectively connected to the control circuit 31, the detection device 20 and the data acquisition system 002, and the switching circuit 32 switches the connection channel with the detection device 20 and / or the data acquisition system 002 according to the input signal sent by the control circuit 31.

[0060] Specifically, the detection device 20 may have at least one output port and may also have at least one input port, the data acquisition system 002 may have at least one input port and may also have at least one output port, one end of the switching circuit 32 is connected to the input port / output port of the detection device 20, and the other end of the switching circuit 32 is connected to the input port / output port of the data acquisition system 002. When the data acquisition system 002 is tested, the switching circuit 32 switches the connection channel with the detection device 20 and / or the data acquisition system 002, which means that one end of the switching circuit 32 connected to a port (input port or output port) of the detection device 20 is switched to another port (input port or output port) of the detection device 20, and / or the other end of the switching circuit 32 connected to a port (input port or output port) of the data acquisition system 002 is switched to another port (input port or output port) of the data acquisition system 002.

[0061] like Figure 3 As shown, in some embodiments, the control circuit 31 includes a digital signal processor 311 and a signal amplifying circuit 312, wherein the digital signal processor 311 is connected to the control device 10, receives the second control signal / fourth control signal sent by the control device 10, and generates an input signal of the switching circuit 32 according to the second control signal / fourth control signal; the signal amplifying circuit 312 is respectively connected to the digital signal processor 311 and the switching circuit 32, the signal amplifying circuit 312 amplifies the input signal, generates an amplified signal, and sends the amplified signal to the switching circuit 32, so that the switching circuit 32 switches the connection channel with the detection device 20 and / or the data acquisition system 002 according to the amplified signal.

[0062] For example, the digital signal processor 311 may be a high-performance digital signal processor (DSP), and the I / O output port of the DSP is output to the switching circuit 32 after signal amplification and the addition of a protection circuit.

[0063] by Figure 4 For example, the DSP in the example, its I / O output pins correspond to OUT0~OUT7 respectively, and its output signal is output to the 15~18 and 3~6 pins of the wiring terminal through the chip with signal amplification function, pull-up resistor and protection diode, and then output to the switching circuit 32 (see Figure 5 ) is used to control the connection and disconnection of each electronic switch (such as a relay).

[0064] Figure 5 is a working principle diagram of a switching circuit provided in an embodiment of the present application. Figure 5 As shown, in some embodiments, the switching circuit 32 includes at least two connected relays, and the control end of each relay is connected to an output pin of the signal amplifying circuit to receive an amplified signal sent by the signal amplifying circuit through the output pin.

[0065] Specifically, if Figure 5 As shown, the electronic switch can use a low-loss electronic switch, such as a single-pole double-throw relay, to achieve fast, low-loss switching between channels. For example: the control device 10 controls the I / O port of the DSP to output a 0000001 signal, which can achieve the connection between channel 1 (channal1) and signal terminal 8, that is, a short-circuit state; other signal terminals 1, 2, 3, 4, 5, 6, 7 and channal1 are disconnected, that is, an open circuit state, effectively reducing the interference of other invalid signals. Among them, the channel 1 can refer to a port of the detection device 20, and the signal terminals 1 to 8 can be the 8 ports of the data acquisition system 002, or the channel 1 can be a port of the data acquisition system 002, and the signal terminals 1 to 8 can be the 8 ports of the detection device 20.

[0066] Based on the same inventive concept, a test method is also provided in the embodiment of the present application, as described in the following embodiment. Since the principle of solving the problem by this method is similar to that of the test system described in the above embodiment, the implementation of this method can refer to the implementation of the test system, and the repeated parts will not be repeated.

[0067] Figure 6 is a flow chart of a test method provided in an embodiment of the present application, and the test method is based on the test system described in any of the above embodiments. Figure 6 As shown, the method includes:

[0068] S1, the control device sends a first control signal to the detection device and sends a second control signal to the automatic switching device;

[0069] S2, the automatic switching device switches the connection channel with the detection device and / or the data acquisition system according to the second control signal;

[0070] S3, the detection device outputs a first test signal to the automatic switching device according to the first control signal;

[0071] S4, the automatic switching device outputs the first test signal to the data acquisition system, so that the data acquisition system acquires the output signal of the automatic switching device;

[0072] S5. The control device reads the signal collected by the data acquisition system, and generates a first test result according to the signal collected by the data acquisition system.

[0073] The test method provided by the embodiment of the present application is that the control device switches the corresponding on-off port through the software-controlled automatic switching device, connects the corresponding channel of the detection device and the data acquisition system, and the software controls the detection device to output the corresponding amount and value signal to the data acquisition system, the data acquisition system automatically collects the signal, the control device reads the data collected by the data acquisition system and performs data processing, and automatically determines the test result according to the qualified judgment standard, which is used to test the data acquisition function of the data acquisition system. It can be seen that automatic control and automatic testing are realized, and automation is realized throughout the process, without the participation of personnel, saving labor costs, and also improving the test efficiency and accuracy, and reducing the possibility of manual errors.

[0074] like Figure 7 As shown, in some embodiments, the method further includes:

[0075] S6, the control device sends a third control signal to the data acquisition system and sends a fourth control signal to the automatic switching device;

[0076] S7, the automatic switching device switches the connection channel with the detection device and / or the data acquisition system according to the fourth control signal;

[0077] S8, the data acquisition system generates a second test signal according to the third control signal, and outputs the second test signal through the connection channel with the automatic switching device;

[0078] S9, the automatic switching device collects the output signal of the data acquisition system, and sends the collected output signal to the detection device;

[0079] S10, the detection device collects the output signal sent by the automatic switching device;

[0080] S11. The control device further reads the output signal collected by the detection device, and generates a second test result according to the output signal.

[0081] In some embodiments, the control device generates a first test result based on the signal collected by the data acquisition system, including: the control device determines the data acquisition performance of the data acquisition system under preset gain conditions based on the signal collected by the data acquisition system and the first test signal; the control device generates a second test result based on the output signal, including: the control device determines the output performance of the data acquisition system based on the output signal and the second test signal.

[0082] It can be seen that the testing method provided in the embodiment of the present application has at least the following advantages:

[0083] It is more convenient to perform regression testing on the program. This is the most important task of automated testing, especially when the program is frequently modified, the effect is very obvious. Since the actions and use cases of regression testing are completely designed, the expected results of the test are also completely predictable. Automatically running regression testing can greatly improve testing efficiency and shorten regression testing time.

[0084] More and more tedious tests can be run. One of the obvious benefits of automation is that more tests can be run in less time.

[0085] It is possible to perform some tests that are difficult or impossible to perform manually. For example, for testing a large number of users, it is impossible to have enough testers perform the test at the same time, but automated testing can simulate many users at the same time to achieve the purpose of testing.

[0086] Better use of resources. Automating tedious tasks can improve accuracy and the enthusiasm of testers, freeing up test technicians to devote more energy to designing better test cases. Some tests are not suitable for automatic testing, but only for manual testing. After automating the tests that can be automatically tested, testers can focus on the manual testing part, improving the efficiency of manual testing;

[0087] The test is consistent and repeatable. Since the test is executed automatically, the consistency of the results and execution content of each test can be guaranteed, thus achieving the repeatable effect of the test;

[0088] Test reusability. Since automated testing usually uses scripting technology, it is possible to use the same test case in different test processes with little or no modification.

[0089] Increase software trust. Since the test is performed automatically, there is no negligence or error in the execution process, which depends entirely on the design quality of the test. Once the software passes the strong automatic test, the trust of the software will naturally increase.

[0090] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements. The orientation or positional relationship indicated by the terms "upper", "lower", etc. is based on the orientation or positional relationship shown in the accompanying drawings, only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation to the present application. Unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0091] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In the description of this specification, the description of reference terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiments of this specification. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples without contradiction.

[0092] Specific embodiments are used in this application to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core idea of ​​this application. At the same time, for those skilled in the art, according to the idea of ​​this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on this application.

Claims

1. A testing system, characterized in that: It includes a control device, a detection device and an automatic switching device, wherein: The control device is connected to the detection device and the automatic switching device respectively, and the control device sends a first control signal to the detection device and sends a second control signal to the automatic switching device; The detection device is also connected to the automatic switching device, and the detection device outputs a first test signal to the automatic switching device according to the first control signal; The automatic switching device is further connected to the data acquisition system, and the automatic switching device switches the connection channel with the detection device and / or the data acquisition system according to the second control signal, collects the first test signal through the connection channel with the detection device, and outputs the first test signal through the connection channel with the data acquisition system; The data acquisition system acquires the output signal of the automatic switching device, and the control device also reads the signal acquired by the data acquisition system and generates a first test result according to the signal acquired by the data acquisition system.

2. The test system according to claim 1, characterized in that: The control device is also connected to the data acquisition system, and the control device sends a third control signal to the data acquisition system and sends a fourth control signal to the automatic switching device; The automatic switching device switches the connection channel with the detection device and / or the data acquisition system according to the fourth control signal; The data acquisition system generates a second test signal according to the third control signal, and outputs the second test signal through a connection channel with the automatic switching device; The automatic switching device collects the output signal of the data acquisition system, and sends the collected output signal to the detection device through a connection channel with the detection device; The detection device collects the output signal sent by the automatic switching device; The control device also reads the output signal collected by the detection device, and generates a second test result according to the output signal.

3. The test system according to claim 1, characterized in that: The first test signal includes a current signal or a voltage signal; after the automatic switching device switches the connection channel with the data acquisition system according to the second control signal, the automatic switching device is connected to an input port of the data acquisition system.

4. The test system according to claim 2, characterized in that: After the automatic switching device switches the connection channel with the data acquisition system according to the fourth control signal, the automatic switching device is connected to an output port of the data acquisition system.

5. The test system according to any one of claims 1 to 4, characterized in that: The automatic switching device comprises a control circuit and at least one switching circuit, wherein: The control circuit is connected to the control device and the switching circuit, and the control circuit generates an input signal for the switching circuit according to the second control signal / the fourth control signal; The switching circuit is connected to the control circuit, the detection device and the data acquisition system respectively, and the switching circuit switches the connection channel with the detection device and / or the data acquisition system according to the input signal sent by the control circuit.

6. The test system according to claim 5, characterized in that: The control circuit includes a digital signal processor and a signal amplification circuit, wherein: The digital signal processor is connected to the control device, receives the second control signal / fourth control signal sent by the control device, and generates an input signal of the switching circuit according to the second control signal / fourth control signal; The signal amplifying circuit is connected to the digital signal processor and the switching circuit respectively. The signal amplifying circuit amplifies the input signal to generate an amplified signal, and sends the amplified signal to the switching circuit, so that the switching circuit switches the connection channel with the detection device and / or the data acquisition system according to the amplified signal.

7. The test system according to claim 6, characterized in that: The switching circuit includes at least two connected relays, and a control end of each of the relays is connected to an output pin of the signal amplifying circuit to receive an amplified signal sent by the signal amplifying circuit through the output pin.

8. A testing method, characterized in that: Based on the test system according to any one of claims 1 to 7 above, the method comprises: The control device sends a first control signal to the detection device and sends a second control signal to the automatic switching device; The automatic switching device switches the connection channel with the detection device and / or the data acquisition system according to the second control signal; The detection device outputs a first test signal to the automatic switching device according to the first control signal; The automatic switching device outputs the first test signal to the data acquisition system, so that the data acquisition system acquires the output signal of the automatic switching device; The control device reads the signal collected by the data acquisition system, and generates a first test result according to the signal collected by the data acquisition system.

9. The method according to claim 8, characterized in that The method further comprises: The control device sends a third control signal to the data acquisition system and sends a fourth control signal to the automatic switching device; The automatic switching device switches the connection channel with the detection device and / or the data acquisition system according to the fourth control signal; The data acquisition system generates a second test signal according to the third control signal, and outputs the second test signal through a connection channel with the automatic switching device; The automatic switching device collects the output signal of the data acquisition system and sends the collected output signal to the detection device; The detection device collects the output signal sent by the automatic switching device; The control device also reads the output signal collected by the detection device, and generates a second test result according to the output signal.

10. The method according to claim 9, characterized in that The control device generates a first test result according to the signal collected by the data acquisition system, including: The control device determines the data acquisition performance of the data acquisition system under a preset gain condition according to the signal collected by the data acquisition system and the first test signal; The control device generates a second test result according to the output signal, including: The control device determines the output performance of the data acquisition system according to the output signal and the second test signal.