CN219266946U - Test board card and test system - Google Patents
Test board card and test system Download PDFInfo
- Publication number
- CN219266946U CN219266946U CN202223499454.7U CN202223499454U CN219266946U CN 219266946 U CN219266946 U CN 219266946U CN 202223499454 U CN202223499454 U CN 202223499454U CN 219266946 U CN219266946 U CN 219266946U
- Authority
- CN
- China
- Prior art keywords
- test
- test board
- board card
- output circuit
- input circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 161
- 238000004891 communication Methods 0.000 claims abstract description 37
- 230000006870 function Effects 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 4
- 238000002347 injection Methods 0.000 description 3
- 239000007924 injection Substances 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000013522 software testing Methods 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000002405 diagnostic procedure Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000007493 shaping process Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000000243 solution Substances 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The application provides a test board card and a test system; the test board card includes: the device comprises a controller, an input circuit, an output circuit and a communication interface; the controller is respectively connected with the input circuit, the output circuit and the communication interface; the communication interface is used for realizing communication with external equipment; analog digital quantity and/or analog quantity input through the input circuit and analog digital quantity and/or analog quantity output through the output circuit are used for realizing the test of the tested equipment; in the application, the input circuit and the output circuit are integrated on the test board, so that the digital quantity input and output functions, the analog quantity output function and the like can be realized, and the test of the ECU can be realized by using the test board; the test board card has small volume and light weight, and is convenient to move and carry.
Description
Technical Field
The application belongs to the technical field of software testing, relates to a board, and particularly relates to a testing board and a testing system.
Background
Software testing accompanies the whole ECU development process, and communication diagnosis and peripheral testing of the ECU are also unavoidable topics for the automotive industry.
In the test process of the ECU, it is often necessary to power up and power down the ECU, detect external digital quantity input or manufacture some faults (fault injection) through digital quantity output, and sometimes even detect external analog quantity input and output analog quantity.
One solution to the above-mentioned needs is to use an HIL cabinet, where the product is generally bulky, multiple boards are integrated inside, the function of each board is single, and the above-mentioned test function is realized by integrating multiple boards, which results in a high weight of the HIL cabinet, and inconvenient movement and carrying.
Disclosure of Invention
The utility model aims at providing a test board card and test system for solve the problem that current equipment that is used for realizing the ECU test exists weight big, inconvenient removal and carry.
In a first aspect, the present application provides a test board comprising: the device comprises a controller, an input circuit, an output circuit and a communication interface; the controller is respectively connected with the input circuit, the output circuit and the communication interface; the communication interface is used for realizing communication with external equipment; and the analog digital quantity and/or the analog quantity are input through the input circuit and the analog digital quantity and/or the analog quantity are output through the output circuit, so that the test of the tested equipment is realized.
In the application, the input circuit and the output circuit are integrated on the test board, so that the digital quantity input and output functions, the analog quantity output function and the like can be realized, and the test of the ECU can be realized by using the test board; the test board card has small volume and light weight, and is convenient to move and carry.
In an implementation manner of the first aspect, the input circuit includes at least any one of the following circuits: voltage input circuit, digital quantity input circuit.
In an implementation manner of the first aspect, the output circuit includes at least any one of the following circuits: relay output circuit, high side output circuit and low side output circuit.
In the implementation manner, various kinds of peripheral devices (corresponding to the input circuit and the output circuit) can be designed for the test board card according to practical application requirements.
In one implementation manner of the first aspect, the test board further includes: a power supply; the power supply is respectively connected with the controller, the input circuit and the output circuit.
In one implementation manner of the first aspect, the controller includes: an MCU; the MCU is respectively connected with the input circuit, the output circuit and the communication interface.
In an implementation manner of the first aspect, the communication interface is a USB interface or a network cable interface.
In the implementation manner, when the communication interface of the test board is a USB interface, communication between the test board and external equipment can be facilitated, no driving and interface conversion work is needed, and the theoretical speed of USB 3.0 can reach 5Gbps per second, so that the test board can have better instantaneity by using the USB.
In an implementation manner of the first aspect, the communication interface is configured to connect to an external device storing a DLL file, so as to integrate the test board card in a software development environment where the tested device is located based on the DLL file.
In the implementation mode, the DLL file is provided by the external equipment connected with the test board card, so that the test board card is conveniently integrated in the software development environments developed by various manufacturers, and the applicability of the test board card is improved.
In a second aspect, the present application provides a test system, comprising: external equipment, tested equipment and the test board card; the test board card is respectively connected with the external equipment and the tested equipment.
In the application, the test board card is applied to a test system, so that the software test of the tested device can be realized by combining the test board card with external equipment.
In one implementation manner of the second aspect, the test system further includes: CAN test equipment; the CAN test equipment is respectively connected with the external equipment and the tested equipment, and is used for simulating a CAN communication node, receiving a test instruction from the external equipment and sending the test instruction to the tested equipment.
In the implementation mode, the CAN test equipment is provided, so that the test function of receiving and transmitting the CAN communication node and the test instruction of the tested equipment CAN be realized.
In one implementation manner of the second aspect, the external device stores a DLL file; the DLL file is used for integrating the test board card in a software development environment where the tested equipment is located so as to realize the test of the tested equipment based on the test board card; tested equipment under different software development environments and corresponding DLL files are different; and/or the external device is a computer.
In the implementation manner, the DLL file with corresponding specification is provided for the software development environment of the tested equipment through the external equipment, so that the test board card can be smoothly integrated into the software development environment of the tested equipment, and further the software test of the tested equipment is realized through the test board card.
As described above, the test board card and the test system have the following beneficial effects:
the application provides a test board card, wherein an input circuit and an output circuit are integrated on the test board card; the test of the tested equipment can be realized through the input of the analog digital quantity and/or the analog quantity of the input circuit and the output of the analog digital quantity and/or the analog quantity of the output circuit.
Drawings
Fig. 1 is a schematic structural diagram of a test board according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a test system according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a test system according to another embodiment of the present application.
Description of element reference numerals
101. Controller for controlling a power supply
102. Input circuit
1021. Voltage input circuit
1022. Digital quantity input circuit
103. Output circuit
1031. Relay output circuit
1032. High-side output circuit
1033. Low-side output circuit
104. Communication interface
105. Power supply
201. External device
202. Device under test
203. Test board card
204 CAN test equipment
301 PC
302. Test board card
303 CAN test equipment
304. Device under test
Detailed Description
Other advantages and effects of the present application will become apparent to those skilled in the art from the present disclosure, when the following description of the embodiments is taken in conjunction with the accompanying drawings. The present application may be embodied or carried out in other specific embodiments, and the details of the present application may be modified or changed from various points of view and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
It should be noted that, the illustrations provided in the following embodiments merely illustrate the basic concepts of the application by way of illustration, and only the components related to the application are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complex.
The technical names referred to in the hardware background of the present application are defined or explained as follows.
ECU, (Electronic Control Unit) electronic control unit, also called "car running computer", "car carrying computer", etc. It is composed of Micro Controller (MCU), memory (ROM, RAM), input/output interface (I/O), A/D converter (A/D) and shaping and driving large scale integrated circuits.
The HIL cabinet is a 19-inch cabinet, and real-time simulation hardware (also called an HIL test cabinet) is to simulate a real controlled object as realistic as possible so as to effectively "fool" the controller, and let the controller control a real controlled object.
The embodiment below provides a test board card and a test system, and an input circuit capable of inputting analog digital quantity and/or analog quantity and an output circuit capable of outputting analog digital quantity and/or analog quantity are integrated on the test board card, so that the test board card can be directly used for testing tested equipment, and the problems that the existing equipment for realizing ECU test is large in weight and inconvenient to move and carry are effectively solved.
The principle and implementation of a test board and a test system according to the present embodiment will be described in detail below with reference to the accompanying drawings, so that those skilled in the art can understand the test board and the test system according to the present embodiment without creative labor.
As shown in fig. 1, in one embodiment, the test board card of the present application includes a controller 101, an input circuit 102, an output circuit 103, and a communication interface 104.
Specifically, the controller 101 is connected to the input circuit 102, the output circuit 103, and the communication interface 104, respectively; wherein the communication interface 104 is configured to communicate with an external device 201.
In this application, the input circuit 102 is used for inputting analog digital quantity and/or analog quantity, and the output circuit 103 is used for outputting analog digital quantity and/or analog quantity, so as to implement the test of the tested device 202.
It should be noted that, in the controller 101, on the one hand, a control instruction sent by the external device 201 is received (according to the actual requirement of the device under test 202, the external device 201 generates a corresponding control instruction and sends the corresponding control instruction to the controller 101 through the communication interface 104), so as to control the output circuit 103 to output a corresponding signal to the device under test 202 based on the control instruction; on the other hand, the controller 101 receives a signal collected by the input circuit 102 and transmits the signal to the external device 201.
In the prior art, a plurality of boards are integrated in the HIL cabinet and are respectively used for realizing analog digital quantity and/or analog quantity input, analog digital quantity and/or analog quantity output and the like, namely, each board has only one function, so that the HIL cabinet has large weight and is inconvenient to move and carry; in the application, the input circuit 102 capable of inputting analog digital quantity and/or analog quantity and the output circuit 103 capable of outputting analog digital quantity and/or analog quantity are integrated on the test board at the same time, so that a software test function (such as application in the test process of the ECU) can be realized by using the test board only; the test board card has small volume and low cost (2000 Yuan Ren coin; HIL cabinet is about hundreds of thousands to two millions of different), is convenient to move and carry, and can be applied to application environments of various software tests.
In one embodiment, the input circuit 102 includes at least, but is not limited to, any one of the following: voltage input circuits 1021 of different ranges, and a digital quantity input circuit 1022 with adjustable threshold.
In one embodiment, the output circuit 103 includes at least, but is not limited to, any one of the following: relay output circuit 1031, high-side output circuit 1032, and low-side output circuit 1033.
It should be noted that, the above-mentioned "voltage input circuit 1021" with different measuring ranges, "digital value input circuit 1022" with adjustable threshold value, "relay output circuit 1031", "high-side output circuit 1032" and "low-side output circuit 1033", the specific circuit structure and working principle are conventional technical means in the field, and these conventional techniques (such as circuit diagram) can be obtained through simple searching, so that the present application is not limited, and the present application is not repeated herein, and in practical application, a suitable input circuit and output circuit can be selected according to the specific application scenario.
In a specific application scenario, the input circuit 102 and the output circuit 103 may be designed according to actual requirements, so as to meet the functional requirements of the test board card in the application scenario.
In one embodiment, the test board further comprises: a power supply 105.
Specifically, the power supply 105 is connected to the controller 101, the input circuit 102, and the output circuit 103, respectively, and is configured to supply power to the controller 101, the input circuit 102, and the output circuit 103.
In one embodiment, the controller 101 includes: and (3) an MCU.
Specifically, the MCU is connected to the input circuit 102, the output circuit 103, and the communication interface 104, respectively.
In one embodiment, the communication interface 104 is a USB interface or a network cable interface.
When the communication interface 104 is a USB interface, communication between the test board and an external device can be facilitated, no driving and interface conversion are required, and considering that the theoretical speed of USB 3.0 can reach 5Gbps per second, the test board can have better real-time performance by using USB.
In an embodiment, the communication interface 104 is configured to connect to an external device 201 storing a DLL file, so as to integrate the test board in a software development environment where the tested device 202 is located based on the DLL file.
DLL (Dynamic Link Library), a dynamic link library, is also known as an application extension. A DLL file is an executable file that allows programs to share code and other resources necessary to perform a particular task. The DLL file provided by Windows contains many functions and resources that allow the Windows-based program to operate in a Windows environment.
In the prior art, the HIL cabinet is generally matched with the software development environment of the original factory, is inconvenient to integrate into the software of a third party, and is difficult to be compatible with equipment of other factories; in this application, specifically, the DLL file is provided by the external device 201 connected to the test board, so that each manufacturer can integrate the test board in the respective software development environments, that is, the test board of this application can be integrated in the test environments of each manufacturer, such as CANoe, veccle spin, etc.
In this embodiment, DLL files of corresponding specifications are designed for different manufacturers.
The test board card has small volume and low cost, and can realize digital input and output functions, analog output functions and the like.
As shown in fig. 2, in one embodiment, the test system of the present application includes: external device 201, device under test 202, and test board 203 described above.
Specifically, the test board 203 is connected to the external device 201 and the device under test 202, respectively.
It should be noted that, when the above test board 203 is applied to the test system of the present application, the specific test principle is the same as the software test principle of the above test board, so detailed descriptions thereof are omitted herein.
As shown in fig. 2, in an embodiment, the test system further includes: CAN test equipment 204.
Specifically, the CAN test device 204 is connected to the external device 201 and the device under test 202, respectively, for emulating a CAN communication node, and for receiving test instructions from the external device 201, and for transmitting the test instructions to the device under test 202.
In this embodiment, the test function of receiving and transmitting the CAN communication node and the test command of the device under test 202 CAN be realized by the CAN test device 204.
In one embodiment, the external device 201 stores a DLL file.
In this embodiment, the DLL file is used to integrate the test board 203 in a software development environment where the device under test 202 is located, so as to implement a test on the device under test 202 based on the test board 203.
In this embodiment, the tested devices 202 in different software development environments have different corresponding DLL files.
In an embodiment, according to the software development environment where the tested device 202 is actually located, the user stores the written DLL file in the external device 201, so as to integrate the test board 203 in the software development environment, and further realize the software test of the test board 203 on the tested device 202.
In one embodiment, the external device 201 is a computer.
The test system of the present application is further illustrated by the following specific examples.
As shown in fig. 3, in one embodiment, the external device is a PC301.
PC, english: personal Computer, chinese translation: a personal computer refers to a multipurpose computer that is sized, priced, and performance suitable for personal use. Desktop computers, notebook computers, small notebook computers, tablet computers, ultrabooks, and the like all belong to personal computers.
In this embodiment, the test board 302 and the CAN test device 303 are connected to the PC301 through USB, and DLL files with different specifications are pre-stored on the PC301 for different CAN test devices 303, so that each manufacturer CAN integrate the test board 302 in respective development environments conveniently, the CAN test device 303 is used for simulating the sending and receiving of CAN communication nodes and diagnostic test instructions, and the test board 302 is used for simulating various relay outputs, high-side outputs, low-side outputs, voltage inputs with different ranges, digital quantity inputs with adjustable thresholds, and the like.
When the tested device (DUT, english full name: device Under Test) 304 needs fault injection, the test board card 302 opens the corresponding output to the DUT, after the fault injection is successful, the CAN test device 303 is used for sending a diagnosis instruction to the DUT, and the DTC of the DUT is read.
DTC, english full name: diagnostic Trouble Code, chinese translation: the diagnostic trouble code is a 4-byte value that identifies the type of trouble, the associated trouble mode, and the number of occurrences.
When the test board 302 needs to receive the output of the DUT, the corresponding input port of the test board 302 will monitor the current state of the DUT in real time, and the host computer (i.e., PC 301) of the CAN test device 303 will access the input port state of the test board 302 through the script to support the execution of the automated test.
The description of the corresponding structures in the above drawings has emphasis, and for the part of a structure that is not described in detail, reference may be made to the related description of other structures.
The foregoing embodiments are merely illustrative of the principles of the present application and their effectiveness, and are not intended to limit the application. Modifications and variations may be made to the above-described embodiments by those of ordinary skill in the art without departing from the spirit and scope of the present application. Accordingly, it is intended that all equivalent modifications and variations which may be accomplished by persons skilled in the art without departing from the spirit and technical spirit of the disclosure be covered by the claims of this application.
Claims (10)
1. A test board card, the test board card comprising: the device comprises a controller, an input circuit, an output circuit and a communication interface; wherein,,
the controller is respectively connected with the input circuit, the output circuit and the communication interface;
the communication interface is used for realizing communication with external equipment;
and the analog digital quantity and/or the analog quantity are input through the input circuit and the analog digital quantity and/or the analog quantity are output through the output circuit, so that the test of the tested equipment is realized.
2. The test board card of claim 1, wherein the input circuit comprises at least any one of the following: voltage input circuit, digital quantity input circuit.
3. The test board card of claim 1, wherein the output circuit comprises at least any one of the following: relay output circuit, high side output circuit and low side output circuit.
4. The test board card of claim 1, wherein the test board card further comprises: a power supply;
the power supply is respectively connected with the controller, the input circuit and the output circuit.
5. The test board card of claim 1, wherein the controller comprises: an MCU;
the MCU is respectively connected with the input circuit, the output circuit and the communication interface.
6. The test board card of claim 1, wherein the communication interface is a USB interface or a network cable interface.
7. The test board card of claim 1, wherein the communication interface is configured to enable connection with an external device.
8. A test system, the test system comprising: external device, device under test, test board according to any one of claims 1 to 7; wherein,,
the test board card is respectively connected with the external equipment and the tested equipment.
9. The test system of claim 8, wherein the test system further comprises: CAN test equipment;
the CAN test equipment is respectively connected with the external equipment and the tested equipment, and is used for simulating a CAN communication node, receiving a test instruction from the external equipment and sending the test instruction to the tested equipment.
10. The test system of claim 8, wherein the external device is a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202223499454.7U CN219266946U (en) | 2022-12-27 | 2022-12-27 | Test board card and test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202223499454.7U CN219266946U (en) | 2022-12-27 | 2022-12-27 | Test board card and test system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN219266946U true CN219266946U (en) | 2023-06-27 |
Family
ID=86862261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202223499454.7U Active CN219266946U (en) | 2022-12-27 | 2022-12-27 | Test board card and test system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN219266946U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118012024A (en) * | 2024-04-02 | 2024-05-10 | 深圳市卓驭科技有限公司 | Vehicle-mounted reliability test system and method, control method of upper computer, computer device, computer-readable storage medium and computer program product |
-
2022
- 2022-12-27 CN CN202223499454.7U patent/CN219266946U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118012024A (en) * | 2024-04-02 | 2024-05-10 | 深圳市卓驭科技有限公司 | Vehicle-mounted reliability test system and method, control method of upper computer, computer device, computer-readable storage medium and computer program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107562038B (en) | Automatic test system for vehicle-mounted controller | |
US10389458B2 (en) | Method and apparatus for testing RF performance of a satellite wiring harness and signal processing units | |
CN103235593B (en) | A kind of blower fan master control hardware Auto-Test System and method of testing based on PLC | |
JP3954639B2 (en) | Method and apparatus for testing integrated circuits | |
CN206400286U (en) | A kind of test system based on hardware in loop equipment | |
KR102364055B1 (en) | Automatic circuit board test system and automatic circuit board test method applied therein | |
US7548828B2 (en) | Automatic test equipment platform architecture using parallel user computers | |
US20130268708A1 (en) | Motherboard test device and connection module thereof | |
CN107907814B (en) | Method for improving mass production test efficiency of chips | |
CN106201803B (en) | A kind of general automation test macro and method based on tested object model | |
US8489381B1 (en) | Method and system for simulating test instruments and instrument functions | |
JP2006518460A5 (en) | ||
CN219266946U (en) | Test board card and test system | |
CN102854877A (en) | Function test system and test method of automobile body control module | |
CN112526966B (en) | Automatic test method and system for HIL (high-performance liquid chromatography) of controller | |
Zhang et al. | Remote FPGA lab platform for computer system curriculum | |
CN114578790A (en) | Unmanned aerial vehicle flight control automatic test method, system, equipment and medium | |
CN111025046A (en) | Test system, method for controlling matrix switch and storage medium | |
CN107479411B (en) | Device and method for field programmable control of chip IO | |
CN202854605U (en) | Function test system of automotive body control model | |
CN110844114B (en) | Portable aerostat test system | |
CN115048308A (en) | Chip simulation method and system based on automobile software test | |
CN211375588U (en) | Multi-debugging interface switching circuit | |
CN113204225A (en) | Automobile load simulation device and test method | |
Moure et al. | Educational application of virtual instruments based on reconfigurable logic |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |