CN116540681A - Controller interface function test system and test method - Google Patents

Controller interface function test system and test method Download PDF

Info

Publication number
CN116540681A
CN116540681A CN202310812362.XA CN202310812362A CN116540681A CN 116540681 A CN116540681 A CN 116540681A CN 202310812362 A CN202310812362 A CN 202310812362A CN 116540681 A CN116540681 A CN 116540681A
Authority
CN
China
Prior art keywords
test
interface
signal
upper computer
power domain
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.)
Pending
Application number
CN202310812362.XA
Other languages
Chinese (zh)
Inventor
请求不公布姓名
王跃
成相如
钟晨光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hozon New Energy Automobile Co Ltd
Original Assignee
Hozon New Energy Automobile Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hozon New Energy Automobile Co Ltd filed Critical Hozon New Energy Automobile Co Ltd
Priority to CN202310812362.XA priority Critical patent/CN116540681A/en
Publication of CN116540681A publication Critical patent/CN116540681A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The application discloses a controller interface function test system and a test method, wherein the test system comprises a test circuit, a waveform generator, an oscilloscope and an upper computer, wherein the upper computer is used for controlling the waveform generator to generate an excitation signal for signal input function test and also used for generating a test instruction for signal output function test; the test circuit is used for being electrically connected with the PDCS to be tested, transmitting an excitation signal and a test instruction to the PDCS, receiving sampling data generated by the PDCS in response to the excitation signal and a response signal output by the PDCS in response to the test instruction, transmitting the sampling data to the upper computer, and transmitting the response signal to the oscilloscope; the oscilloscope is used for acquiring characteristic parameters of the response signals and sending the characteristic parameters to the upper computer; the upper computer is also used for judging whether the signal input function of the input interface is normal or not according to the sampling data and judging whether the signal output function of the output interface is normal or not according to the characteristic parameters of the response signals. The test system can simplify the complexity of the test circuit and reduce the hardware cost.

Description

Controller interface function test system and test method
Technical Field
The application relates to the technical field of vehicles, in particular to a controller interface function test system and a test method.
Background
With the upgrade of the vehicle's intelligentization, the interface functions of the power domain controllers (Powertrain Domain Control System, PDCS) are becoming increasingly rich and complex. In the testing process of the product design verification (Design Validation Test, DV), the observation, recording and analysis of data are still manually operated by a testing engineer, the degree of automation is low, the function detection coverage rate of the existing testing system is low, and the testing of redundant function items is relatively simple.
The DV test of PDCS in the industry at present mostly adopts the parallel test mode of interface to test the signal input and output function of PDCS, and this test mode requires that the test system has a large number of signal generators and signal detection equipment, just can reach the purpose of parallel test a plurality of interfaces, so greatly increased the cost of test equipment.
In addition, in life and durability tests, because the PDCS needs to be monitored for a long period of time, it is difficult for a test engineer to observe the test process beside the test equipment at each moment, which results in inconvenience in analyzing the cause of the test abnormality because the test engineer cannot observe the abnormal state of the current test in percentage if the abnormality occurs in the test, and the test environment is changed when the test abnormality is found.
Accordingly, there is a need to provide an improved solution to overcome the above technical problems in the prior art.
Disclosure of Invention
In view of the above problems, an object of the present application is to provide a controller interface function test system and a test method, which can simplify the complexity of the test system, reduce the hardware cost of the test system, and avoid the missing problem of abnormal test items.
The application provides a controller interface function test system which is used for testing signal input and output functions of a power domain controller, wherein the test system comprises a test circuit, a waveform generator, an oscilloscope and an upper computer, the test circuit, the waveform generator and the oscilloscope are all electrically connected with the upper computer, and the waveform generator and the oscilloscope are also electrically connected with the test circuit respectively;
the upper computer is used for controlling the waveform generator to generate an excitation signal for testing the signal input function of the power domain controller and also used for generating a test instruction for testing the signal output function of the power domain controller;
the test circuit is used for being electrically connected with a tested power domain controller, transmitting the excitation signal and the test instruction to the power domain controller, receiving sampling data generated by the power domain controller in response to the excitation signal and response signals output by the power domain controller in response to the test instruction, transmitting the sampling data to the upper computer, and transmitting the response signals to the oscilloscope;
the oscilloscope is used for acquiring characteristic parameters of the response signals and sending the characteristic parameters to the upper computer;
the upper computer is also used for judging whether the signal input function of the input interface is normal or not according to the sampling data and judging whether the signal output function of the output interface is normal or not according to the characteristic parameters of the response signals.
Further, the waveform generator includes a first output channel and a second output channel, the excitation signal includes an analog excitation signal and a digital excitation signal, the first output channel of the waveform generator is used for outputting the digital excitation signal, and the second output channel of the waveform generator is used for outputting the analog excitation signal.
Further, the test circuit further comprises a first BNC card, a second BNC card, and a third BNC card;
one end of the first BNC plug-in is electrically connected with a first output channel of the waveform generator;
one end of the second BNC plug-in is electrically connected with a second output channel of the waveform generator;
and one end of the third BNC plug-in is electrically connected with the input channel of the oscilloscope.
Further, the test circuit further comprises a relay array, wherein the relay array comprises a 485-to-USB module electrically connected with the upper computer, and a plurality of relays respectively electrically connected with the input interface and the output interface of the power domain controller;
the input interfaces of the power domain controller comprise an analog signal input interface and a digital signal input interface, the input ends of all relays connected with the digital signal input interface are electrically connected with the other end of the first BNC plug-in unit, the input ends of all relays connected with the analog signal input interface are electrically connected with the other end of the second BNC plug-in unit, and the output ends of all relays connected with the output interface are electrically connected with the other end of the third BNC plug-in unit;
the 485-to-USB module is used for closing the corresponding relay under the control of the upper computer.
Further, the test circuit further comprises a CAN-to-USB module and a USB expansion module which are connected with the power domain controller;
the CAN-to-USB module is used for converting the test instruction issued by the upper computer through a USB interface into a CAN communication format and sending the CAN communication format to the power domain controller, and converting a CAN message which is output by the power domain controller and contains the sampling data into a USB communication format and uploading the USB communication format to the upper computer;
the USB expansion module is used for converging the interface of the 485-to-USB module and the interface of the CAN-to-USB module into one module and is connected with the upper computer through a USB cable.
Further, the system also comprises a communication module, wherein the communication module is electrically connected with the upper computer and is used for sending alarm information when the test is abnormal.
The application also provides a controller input interface function test method for the controller interface function test system, which comprises the following steps:
controlling the waveform generator to generate an excitation signal for signal input functional testing of the power domain controller;
transmitting the excitation signal to an input interface of a power domain controller under test through the test circuit;
the power domain controller sends sampling data generated based on the excitation signal to an upper computer;
and judging whether the signal input function of the input interface is normal or not according to the sampling data.
Further, the controller input interface function test method further includes: and sending alarm information when the sampling data of the excitation signal is abnormal.
The application also provides a controller output interface function test method, which is used for the controller output interface function test system, and comprises the following steps:
generating a test instruction for testing the signal output function of the power domain controller through the upper computer;
transmitting the test instruction to a tested power domain controller through the test circuit;
transmitting a response signal generated by the power domain controller at an output interface in response to the test instruction to an oscilloscope, acquiring characteristic parameters of the response signal through the oscilloscope and transmitting the characteristic parameters to the upper computer;
judging whether the signal output function of the output interface is normal or not according to the characteristic parameters of the response signals.
Further, the controller output interface function test method further includes: and sending alarm information when the characteristic parameters of the response signals are abnormal.
According to the controller interface function test system and the test method, the waveform generator is used as the excitation signal generation module, the oscilloscope is used as the response signal detection module, devices which need to generate excitation signals and devices which need to detect signals are integrated in the test equipment, the cost of the test equipment is reduced, the existing relay array is connected with a plurality of interfaces which need to be tested at the same time, serial tests are respectively carried out on the plurality of tested interfaces, the complexity of a test circuit is simplified, the hardware cost of the test equipment is reduced, and when the test abnormality occurs, an alarm short message is timely sent to prompt a corresponding test engineer through the communication module, so that the problem of missing of test abnormal items is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a PDCS interface functional test system according to an embodiment of the present application.
Fig. 2 is a flow chart of a PDCS input interface function test method according to an embodiment of the present application.
Fig. 3 is a flow chart of a PDCS output interface functional test method according to an embodiment of the present application.
Detailed Description
The foregoing and other features, aspects and advantages of the present application will become more apparent from the following detailed description of the preferred embodiments, which proceeds with reference to the accompanying drawings. While the specification and efficacy of the present application may be shown in a more complete and detailed description, it is to be understood that the invention is not limited to the details of construction and the arrangements of the parts so described, but is merely set forth in the following description of the invention. Like elements are denoted by like reference numerals throughout the various figures. For clarity, the various features of the drawings are not drawn to scale.
Fig. 1 is a schematic structural diagram of a PDCS interface functional test system according to an embodiment of the present application.
As shown in fig. 1, the controller interface function test system includes a test circuit 110, a waveform generator 120, an oscilloscope 130, and a host computer 140. The test circuit 110, the waveform generator 120 and the oscilloscope 130 are electrically connected with the host computer 140, and the waveform generator 120 and the oscilloscope 130 are also electrically connected with the test circuit 110.
The upper computer 140 is used for controlling the waveform generator 120 to generate an excitation signal for testing the signal input function of the power domain controller, and is also used for generating a test command for testing the signal output function of the power domain controller. In this embodiment, the upper computer 140 is a high-performance computer capable of running self-developed test upper computer software, and the upper computer 140 serves as a central control platform of the whole test system, and is connected with other modules of the test system to send control instructions to the modules, and can also read data uploaded by the modules.
The test circuit 110 is electrically connected to the power domain controller to be tested, transmits an excitation signal and a test command to the power domain controller, receives sampling data generated by the power domain controller in response to the excitation signal and a response signal output by the power domain controller in response to the test command, sends the sampling data to the host computer 140, and sends the response signal to the oscilloscope 130. In this embodiment, the test circuit 110 is connected to interfaces of the PDCS to-be-tested functions, and the interfaces of the PDCS to-be-tested functions can be divided into: n digital signal input interfaces (Din.1-Din.N), N analog signal input interfaces (Ain.1-Ain.N), N digital signal output interfaces (Dout.1-Dout.N), N adjustable duty cycle pulse signal output interfaces (PWM out.1-PWM out.N), and CAN communication interfaces. The test circuit 110 provides an excitation signal required by a signal input function test to an input interface to be tested of the PDCS, provides a test instruction required by a signal output function test to a CAN communication interface of the PDCS, samples the excitation signal input from the tested input interface through the PDCS to obtain sampling data, converts the sampling data into a CAN message and outputs the CAN message to the test circuit 110 from the CAN communication interface, outputs a response signal generated by the PDCS in response to the test instruction from the tested output interface to the test circuit 110, and the test circuit 110 uploads the obtained sampling data to the upper computer 140 and transmits the obtained response signal to the oscilloscope 130.
The oscilloscope 130 is used for acquiring characteristic parameters of the response signal and sending the characteristic parameters to the upper computer 140. In this embodiment, the oscilloscope 130 may be a digital Oscilloscope (OSC), which is a general purpose instrument and meter device that complies with the VISA standard. The digital oscilloscope can be directly connected with a corresponding interface of the test circuit 110, and the response signal input from the test circuit 110 is detected to obtain characteristic parameters of the response signal, wherein the characteristic parameters of the response signal comprise voltage, frequency, duty ratio and the like of the signal. The universal oscilloscope can avoid integrating devices for detecting signals in the test circuit, so that the complexity of the test circuit is simplified, and the design cost of the test circuit is reduced.
The upper computer 140 is further configured to determine whether a signal input function of the input interface is normal according to the sampling data, and determine whether a signal output function of the output interface is normal according to a characteristic parameter of the response signal.
In this embodiment, the excitation signals include analog excitation signals and digital excitation signals, so a general waveform generator (AWG) conforming to the VISA standard may be selected to generate corresponding analog excitation signals and digital excitation signals according to the test parameters sent by the host computer 140. In this embodiment, a 2-channel waveform generator 120 is selected, a first output channel (Out 1-BNC) of the waveform generator 120 is used for outputting a digital excitation signal, and a second output channel (Out 2-BNC) of the waveform generator 120 is used for outputting an analog excitation signal. By using a general oscilloscope, the integration of devices for generating excitation signals in the test circuit can be avoided, the complexity of the test circuit is simplified, and the design cost of the test circuit is further reduced.
In this embodiment, the test circuit 110 further includes a first BNC card (BNC 1), a second BNC card (BNC 2), and a third BNC card (BNC 3), so that the test circuit 110 is connected to the waveform generator 120 and the oscilloscope 130 through coaxial cables, respectively. Wherein one end of the first BNC plug-in (BNC 1) is electrically connected with the first output channel (Out 1-BNC) of the waveform generator 120; one end of the second BNC plug-in (BNC 2) is electrically connected with a second output channel (Out 2-BNC) of the waveform generator 120; one end of the third BNC plug-IN (BNC 3) is electrically connected to the input channel (IN-BNC) of oscilloscope 130.
In this embodiment, the test circuit 110 further includes a relay array 111, where the relay array 111 includes a 485-to-USB module electrically connected to the host computer 140, and a plurality of relays electrically connected to the input interface and the output interface of the power domain controller, respectively; as shown in fig. 1, the input ends of all the relays (rdi.1 to rdi.n) connected with the digital signal input interfaces (din.1 to din.n) are electrically connected with the other end of the first BNC plug-in (BNC 1); the input ends of all relays (RAI.1-RAI.N) connected with analog signal input interfaces (Ain.1-Ain.N) are electrically connected with the other end of the second BNC plug-in unit (BNC 2), and the output ends of all relays (RDO.1-RDO.N and RFO.1-RFO.N) connected with output interfaces (including Dout.1-Dout.N and PWM out.1-PWM out.N) are electrically connected with the other end of the third BNC plug-in unit (BNC 3); the 485-to-USB module is used for closing the corresponding relay under the control of the upper computer 140. In this embodiment, the upper computer 140 is connected to the relay array 111 through the 485-to-USB module, so that under the control of the upper computer 140, the relays in the relay array 111 are respectively gated, for example, when testing the signal input function of the input interface ain.n of PDCS, the upper computer 140 controls the relay rai.n in the relay array 111 to be closed and turned on through the 485-to-USB module, the analog excitation signal of the waveform generator 120 is transmitted from the turned-on relay rai.n to the input interface ain.n to be tested through the first BNC plug-in unit (BNC 1), and when testing different PDCS interfaces to be tested, the upper computer 140 controls the corresponding relay to be turned on through the 485-to-USB module, so as to ensure that the excitation signal and the response signal in the test can be accurately transmitted to the corresponding module. In addition, serial testing of the PDCS interfaces to be tested is achieved through the gating mode of the relay array 111, so that the problem that a large number of signal generators and signal detection equipment are needed in a parallel testing system is avoided.
In this embodiment, the test circuit 110 further includes a CAN-to-USB module 112 and a USB extension module 113 connected to the power domain controller; the CAN-to-USB module 112 is used for converting a test instruction issued by the upper computer 140 through a USB interface into a CAN communication format and transmitting the CAN communication format to the power domain controller, and is also used for converting a CAN message which is output by the power domain controller and contains sampling data into the USB communication format and uploading the USB communication format to the upper computer 140; the USB extension module 113 is configured to collect the interface from 485 to USB module and the interface from CAN to USB module 112 into one module, and connect with the host computer 140 through a USB cable, thereby saving USB interface resources of the host computer.
In this embodiment, the controller interface function test system further includes a communication module 150, where the communication module 150 is electrically connected to the host computer 140, and is configured to send alarm information when the test is abnormal. In this embodiment, the communication module 150 adopts a GSM module, and can send an alarm message to a test engineer when the test is abnormal even under the condition that there is no internet.
According to the controller interface function test system provided by the embodiment of the application, two conventional instruments and meter devices such as a waveform generator and a digital oscilloscope are used as an excitation signal generation module and a response signal detection module, so that corresponding devices can be conveniently found when the PDCS interface function is tested, the complex excitation signal generation device and signal detection device are prevented from being integrated in the test device, the cost of the test device is reduced, the conventional relay array is connected with a plurality of interfaces to be tested simultaneously, serial tests are respectively carried out on the plurality of tested interfaces, the complexity of a test circuit is simplified, the hardware cost of the test device is further reduced, and alarm prompt short messages are timely sent to corresponding test engineers when the test abnormality occurs through the communication module, so that the problem of missing of test abnormal items can be avoided.
Fig. 2 is a flow chart of a PDCS input interface function test method according to an embodiment of the present application.
As shown in fig. 2, an embodiment of the present application provides a method for testing a controller input interface function, for a controller input interface function testing system as described above, the method including the steps of:
step S11: controlling the waveform generator to generate an excitation signal for signal input function test of the power domain controller;
specifically, when the PDCS input interface function test is performed, the input interface to be tested needs to be selected first, the upper computer sends corresponding test data to the waveform generator according to the type and the function of the input interface to be tested, the waveform generator generates an excitation signal of a corresponding waveform according to the test data sent by the upper computer, and if the input interface to be tested is a digital signal input interface, the upper computer controls a first output channel of the waveform generator to output a required digital excitation signal, such as a high level signal or a low level signal, and if the input interface to be tested is an analog signal input interface, the upper computer controls a second output channel of the waveform generator to output a required analog excitation signal, such as an analog voltage signal with a continuous waveform, and the like.
Step S12: transmitting an excitation signal to an input interface of a power domain controller to be tested through the test circuit;
specifically, the upper computer controls the relay connected with the tested input interface in the relay array to be closed, so that the excitation signal of the corresponding waveform output by the waveform generator can be transmitted to the tested input interface of the PDCS. After receiving the excitation signal with the corresponding waveform, the PDCS samples the excitation signal, and the obtained sampled data is processed by the processor of the PDCS to form a CAN message containing the sampled data, and the CAN message is output to the test circuit through the CAN communication interface of the PDCS.
Step S13: the power domain controller sends sampling data generated based on the excitation signal to an upper computer;
specifically, after receiving a CAN message containing sampling data generated by the PDCS based on an excitation signal, the test circuit converts the CAN message containing the sampling data into a USB communication format through a CAN-to-USB module and uploads the USB communication format to an upper computer.
Step S14: and judging whether the signal input function of the input interface is normal or not according to the sampling data.
Specifically, after the upper computer receives the corresponding message, analyzing the sampling data generated by the PDCS in the message, displaying the sampling data in a corresponding window, comparing the sampling data with expected data in a database, if the data are consistent, the signal input function of the tested input interface is normal, and the test is finished to test the next interface. If the data are inconsistent, the corresponding indicator lamp of the test in the upper computer software interface changes from green to red, and reminds a test engineer of abnormal data, namely abnormal signal input function of the tested interface, and abnormal data can be automatically stored in a local folder.
In another embodiment, the controller input interface function test method further includes step S15: and sending alarm information when the sampling data of the excitation signal is abnormal.
Specifically, after the host computer stores the abnormal data, judging the overall test type, and if the test is not environment durable test, continuing to test the next PDCS interface; if the environment durability test is performed, the upper computer sends alarm information to the mobile phone of the test engineer through the communication module, and meanwhile, the whole test is stopped, the current test site is saved, and the engineer can conveniently analyze the abnormal reasons. In the environment durability test, because the test period is long and the test content is single, a test engineer often ignores certain test abnormal items due to the fact that attention is not concentrated in the test process.
Fig. 3 is a flow chart of a PDCS output interface functional test method according to an embodiment of the present application.
As shown in fig. 3, the embodiment of the present application further provides a method for testing the function of a controller output interface, which is used for the controller interface function testing system as described above, and the method includes the following steps:
step S21: generating a test instruction for testing the signal output function of the power domain controller through the upper computer;
specifically, when PDCS output interface function test is performed, a tested output interface needs to be selected first, and the upper computer generates a corresponding test instruction according to the type and function of the tested output interface.
Step S22: transmitting a test instruction to a tested power domain controller through a test circuit;
specifically, the upper computer transmits corresponding test instructions to the tested power domain controller through a CAN communication interface through a CAN-to-USB module of the test circuit. It should be noted that, after the PDCS receives the corresponding test instruction, the tested output interface of the PDCS is controlled to continuously output the response signal in response to the test instruction.
Step S23: transmitting a response signal generated by the power domain controller at the output interface in response to the test instruction to the oscilloscope, acquiring characteristic parameters of the response signal through the oscilloscope and transmitting the characteristic parameters to the upper computer;
specifically, the upper computer controls the relay connected with the tested output interface in the relay array to be closed through the 485-to-USB module of the test circuit, so that the response signal output by the PDCS tested output interface can be transmitted to the oscilloscope for detecting the signal. And the oscilloscope calculates corresponding characteristic parameters such as voltage, frequency, duty ratio and the like according to the received response signals, and uploads the obtained characteristic parameters to the upper computer.
Step S24: and judging whether the signal output function of the output interface is normal or not according to the characteristic parameters of the response signals.
Specifically, after the upper computer receives the characteristic parameters of the response signals, the characteristic parameters are compared with expected parameters in a database, if the data are consistent, the signal output function of the tested output interface is normal, the test is ended, and the test of the next interface is carried out; if the data are inconsistent, the corresponding indicator lamp of the test in the upper computer software interface changes from green to red, and reminds a test engineer of abnormal data, namely abnormal signal output function of the tested interface, and abnormal data can be automatically stored in a local folder.
In another embodiment, the controller output interface function test method further includes step S25: and sending alarm information when the characteristic parameters of the response signals are abnormal.
Specifically, after the host computer stores the abnormal data, judging the overall test type, and if the test is not environment durable test, continuing to test the next PDCS interface; if the environment durability test is performed, the upper computer sends alarm information to the mobile phone of the test engineer through the communication module, and meanwhile, the whole test is stopped, the current test site is stored, and the engineer can conveniently analyze the abnormal reasons, so that the missing problem of the abnormal test item is avoided.
The test system and the test method in the embodiments of the present application will be described below through a test procedure of an accelerator pedal signal input function of PDCS.
First, a PDCS input interface corresponding to an accelerator pedal signal is determined. The accelerator pedal signals of the vehicle are generally arranged in two paths, and the two paths of accelerator pedal signals belong to analog signals, and an PDCS input interface corresponding to the first path of accelerator pedal signals is an ain.1 and an PDCS input interface corresponding to the second path of accelerator pedal signals is an ain.2. The test data point data_tx related to the accelerator pedal signal is sent to the waveform generator through the upper computer, and the second output channel (Out 2-BNC) of the waveform generator is controlled to output the triangular wave signal generated according to the test data point data_tx. The upper computer controls the relay array to close the relay RAI.1 connected with the input interface Ain.1 through the 485-to-USB module, so that the triangular wave signal output by the waveform generator can be transmitted to the input interface Ain.1 of the PDCS, and the rest relays of the relay array are still in an open state at the moment. The processor of the PDCS samples the received triangular wave signal to obtain discrete data points data_rx of the triangular wave signal, the discrete data data_rx is uploaded to the upper computer through the CAN-to-USB module of the test circuit, and the upper computer compares the discrete data data_rx uploaded by the received PDCS with test data data_tx sent to the waveform generator by the upper computer. The data are consistent, the accelerator pedal signal input function of the input interface ain.1 of the PDCS is proved to be normal, the data are inconsistent, and the accelerator pedal signal input function of the input interface ain.1 of the PDCS is proved to be abnormal. Then, the upper computer controls the relay array to open the relay RAI.1, close the relay RAI.2 connected with the PDCS input interface Ain.2 corresponding to the second path of accelerator pedal signal, detect the accelerator pedal signal input function of the PDCS input interface Ain.2, and the testing steps are the same as the detection process of Ain.1, and are not repeated here.
In summary, the controller interface function test system and the test method provided by the application use the waveform generator to generate the excitation signal, use the oscilloscope to detect the response signal, avoid integrating the device which needs to generate the excitation signal and the device which needs to detect the signal in the test equipment, reduce the cost of the test equipment, realize the serial test of a plurality of tested interfaces by controlling the relay gating in the relay array, simplify the complexity of the test circuit, further reduce the hardware cost of the test equipment, and timely send the alarm short message to prompt the corresponding test engineer when the test abnormality occurs through the communication module, thereby avoiding the missing problem of the test abnormal item.
In the description of the present application, unless explicitly stated and limited otherwise, the terms "disposed," "mounted," "connected," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium. The specific meaning of the terms described above will be understood to those of ordinary skill in the art in a specific context. The terms "first," "second," "third," and the like, are merely used for distinguishing between similar elements and not necessarily for indicating or implying a relative importance or order. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a list of elements does not include only those elements but may include other elements not expressly listed.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions easily conceivable by those skilled in the art within the technical scope of the present application should be covered in the scope of the present application.

Claims (10)

1. The controller interface function test system is used for testing the signal input function of an input interface and the signal output function of an output interface of a power domain controller and is characterized by comprising a test circuit, a waveform generator, an oscilloscope and an upper computer, wherein the test circuit, the waveform generator and the oscilloscope are electrically connected with the upper computer, and the waveform generator and the oscilloscope are also electrically connected with the test circuit respectively;
the upper computer is used for controlling the waveform generator to generate an excitation signal for testing the signal input function of the power domain controller and also used for generating a test instruction for testing the signal output function of the power domain controller;
the test circuit is used for being electrically connected with a tested power domain controller, transmitting the excitation signal and the test instruction to the power domain controller, receiving sampling data generated by the power domain controller in response to the excitation signal and response signals output by the power domain controller in response to the test instruction, transmitting the sampling data to the upper computer, and transmitting the response signals to the oscilloscope;
the oscilloscope is used for acquiring characteristic parameters of the response signals and sending the characteristic parameters to the upper computer;
the upper computer is also used for judging whether the signal input function of the input interface is normal or not according to the sampling data and judging whether the signal output function of the output interface is normal or not according to the characteristic parameters of the response signals.
2. The controller interface function test system of claim 1, wherein the waveform generator comprises a first output channel and a second output channel, the stimulus signal comprising an analog stimulus signal and a digital stimulus signal, the first output channel of the waveform generator for outputting the digital stimulus signal, the second output channel of the waveform generator for outputting the analog stimulus signal.
3. The controller interface function test system of claim 2, wherein the test circuit further comprises a first BNC card, a second BNC card, and a third BNC card;
one end of the first BNC plug-in is electrically connected with a first output channel of the waveform generator;
one end of the second BNC plug-in is electrically connected with a second output channel of the waveform generator;
and one end of the third BNC plug-in is electrically connected with the input channel of the oscilloscope.
4. The controller interface function test system of claim 3, wherein the test circuit further comprises a relay array comprising a 485-to-USB module electrically connected to the host computer, and a plurality of relays electrically connected to the power domain controller input interface and the output interface, respectively;
the input interfaces of the power domain controller comprise an analog signal input interface and a digital signal input interface, the input ends of all relays connected with the digital signal input interface are electrically connected with the other end of the first BNC plug-in unit, the input ends of all relays connected with the analog signal input interface are electrically connected with the other end of the second BNC plug-in unit, and the output ends of all relays connected with the output interface are electrically connected with the other end of the third BNC plug-in unit;
the 485-to-USB module is used for closing the corresponding relay under the control of the upper computer.
5. The controller interface function test system of claim 4, wherein the test circuit further comprises a CAN-to-USB module and a USB extension module connected to the power domain controller;
the CAN-to-USB module is used for converting the test instruction issued by the upper computer through a USB interface into a CAN communication format and sending the CAN communication format to the power domain controller, and converting a CAN message which is output by the power domain controller and contains the sampling data into a USB communication format and uploading the USB communication format to the upper computer;
the USB expansion module is used for converging the interface of the 485-to-USB module and the interface of the CAN-to-USB module into one module and is connected with the upper computer through a USB cable.
6. The controller interface function test system of claim 1, further comprising a communication module electrically coupled to the upper computer for sending an alarm message when a test is abnormal.
7. A controller input interface function test method for a controller interface function test system according to any one of claims 1-6, the method comprising:
controlling the waveform generator to generate an excitation signal for signal input functional testing of the power domain controller;
transmitting the excitation signal to an input interface of a power domain controller under test through the test circuit;
the power domain controller sends sampling data generated based on the excitation signal to an upper computer;
and judging whether the signal input function of the input interface is normal or not according to the sampling data.
8. The method for testing the functionality of a controller input interface of claim 7, further comprising:
and sending alarm information when the sampling data of the excitation signal is abnormal.
9. A controller output interface function test method for a controller interface function test system according to any one of claims 1 to 6, the method comprising:
generating a test instruction for testing the signal output function of the power domain controller through the upper computer;
transmitting the test instruction to a tested power domain controller through the test circuit;
transmitting a response signal generated by the power domain controller at an output interface in response to the test instruction to an oscilloscope, acquiring characteristic parameters of the response signal through the oscilloscope and transmitting the characteristic parameters to the upper computer;
judging whether the signal output function of the output interface is normal or not according to the characteristic parameters of the response signals.
10. The controller output interface function test method according to claim 9, further comprising:
and sending alarm information when the characteristic parameters of the response signals are abnormal.
CN202310812362.XA 2023-07-04 2023-07-04 Controller interface function test system and test method Pending CN116540681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310812362.XA CN116540681A (en) 2023-07-04 2023-07-04 Controller interface function test system and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310812362.XA CN116540681A (en) 2023-07-04 2023-07-04 Controller interface function test system and test method

Publications (1)

Publication Number Publication Date
CN116540681A true CN116540681A (en) 2023-08-04

Family

ID=87443925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310812362.XA Pending CN116540681A (en) 2023-07-04 2023-07-04 Controller interface function test system and test method

Country Status (1)

Country Link
CN (1) CN116540681A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116908751A (en) * 2023-09-13 2023-10-20 合肥安迅精密技术有限公司 Test board for detecting peripheral interfaces of industrial system, detection system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201757767U (en) * 2009-05-31 2011-03-09 广州飞机维修工程有限公司 General comprehensive automatic test system of airplane electronic part
CN102890503A (en) * 2012-10-18 2013-01-23 重庆长安汽车股份有限公司 Automatic CAN (Controller Area Network) interface function test system and test analysis method
CN103376777A (en) * 2012-04-13 2013-10-30 珠海格力电器股份有限公司 Testing method for Modbus communication interface of controller and host computer
CN107024652A (en) * 2017-05-10 2017-08-08 中车大连电力牵引研发中心有限公司 Board level testing system
CN111475358A (en) * 2020-03-31 2020-07-31 北京经纬恒润科技有限公司 Automatic testing method and device for controller interface
CN114428192A (en) * 2020-10-29 2022-05-03 北京小米移动软件有限公司 Testing device, testing method, equipment and medium
CN115599076A (en) * 2022-11-07 2023-01-13 上海纳恩汽车技术股份有限公司(Cn) Test system and test method for vehicle body area controller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201757767U (en) * 2009-05-31 2011-03-09 广州飞机维修工程有限公司 General comprehensive automatic test system of airplane electronic part
CN103376777A (en) * 2012-04-13 2013-10-30 珠海格力电器股份有限公司 Testing method for Modbus communication interface of controller and host computer
CN102890503A (en) * 2012-10-18 2013-01-23 重庆长安汽车股份有限公司 Automatic CAN (Controller Area Network) interface function test system and test analysis method
CN107024652A (en) * 2017-05-10 2017-08-08 中车大连电力牵引研发中心有限公司 Board level testing system
CN111475358A (en) * 2020-03-31 2020-07-31 北京经纬恒润科技有限公司 Automatic testing method and device for controller interface
CN114428192A (en) * 2020-10-29 2022-05-03 北京小米移动软件有限公司 Testing device, testing method, equipment and medium
CN115599076A (en) * 2022-11-07 2023-01-13 上海纳恩汽车技术股份有限公司(Cn) Test system and test method for vehicle body area controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116908751A (en) * 2023-09-13 2023-10-20 合肥安迅精密技术有限公司 Test board for detecting peripheral interfaces of industrial system, detection system and method
CN116908751B (en) * 2023-09-13 2024-04-19 合肥安迅精密技术有限公司 Test board for detecting peripheral interfaces of industrial system, detection system and method

Similar Documents

Publication Publication Date Title
KR101846195B1 (en) Motor status monitoring system and method thereof
RU2008146085A (en) SYSTEM AUTOMATION SYSTEM TESTS AT SYSTEMIC LEVEL
CN116540681A (en) Controller interface function test system and test method
CN110716535A (en) Automobile diagnosis device, system and method
CN112810837B (en) Flight parameter recorder test system and test method
CN111769890B (en) Transponder production detecting system
CN113484698A (en) Partial discharge detection system based on environmental data feedback
KR20120133711A (en) Apparatus and method for providing vehicle data for testing product
CN107884737A (en) The live capacitive apparatus on-line monitoring check system and method for wireless high-precise synchronization
CN110703736A (en) Automobile diagnosis device, system and method
CN113242532B (en) Vehicle communication device, wiFi connection method and vehicle diagnosis system
CN106603338A (en) Method, device and system for testing response time of intelligent terminal
CN109254214B (en) Automatic test system and method for valve-based electronic equipment
JP2015095265A (en) Method for testing wireless output of smart device and wireless transmission network analysis tool
CN112269364A (en) Fault positioning self-testing system and method
CN215728764U (en) Integrated calibration system of transformer equipment insulation on-line monitoring device
CN114489026B (en) Test system of whole vehicle controller of new energy vehicle
CN112162226B (en) Measurement characteristic separation testing device and method and terminal equipment
CN202886581U (en) Line fault indicator detecting system
CN210895121U (en) Automobile diagnosis equipment and system
CN114460464A (en) Motor calibration method and device
CN109283457B (en) Method for detecting electrical performance of M-BUS communication interface
CN104062673A (en) Nuclear analyzer self-diagnosis system
KR101701733B1 (en) Apparatus For Test and Evaluation of Condition Monitoring and Diagnosis Device
CN110379442A (en) A kind of onboard instruments buzzing detection method, apparatus and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20230804

RJ01 Rejection of invention patent application after publication