CN117706337A - A fault location location method and system based on HALT and HIL - Google Patents
A fault location location method and system based on HALT and HIL Download PDFInfo
- Publication number
- CN117706337A CN117706337A CN202410016787.4A CN202410016787A CN117706337A CN 117706337 A CN117706337 A CN 117706337A CN 202410016787 A CN202410016787 A CN 202410016787A CN 117706337 A CN117706337 A CN 117706337A
- Authority
- CN
- China
- Prior art keywords
- fault
- hil
- detection
- halt
- piece
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000012360 testing method Methods 0.000 claims abstract description 194
- 238000001514 detection method Methods 0.000 claims abstract description 106
- 238000001310 location test Methods 0.000 claims abstract description 10
- 238000004891 communication Methods 0.000 claims description 25
- 230000035882 stress Effects 0.000 claims description 14
- 230000032683 aging Effects 0.000 claims description 3
- 230000002159 abnormal effect Effects 0.000 claims 3
- 239000000295 fuel oil Substances 0.000 claims 2
- 238000012545 processing Methods 0.000 abstract description 8
- 230000007547 defect Effects 0.000 abstract description 4
- 238000011161 development Methods 0.000 abstract description 4
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 abstract description 4
- 238000004904 shortening Methods 0.000 abstract description 2
- 230000008859 change Effects 0.000 description 11
- 230000005856 abnormality Effects 0.000 description 9
- 239000000446 fuel Substances 0.000 description 6
- 230000018109 developmental process Effects 0.000 description 3
- 230000008676 import Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000013024 troubleshooting Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006355 external stress Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000009662 stress testing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/2832—Specific tests of electronic circuits not provided for elsewhere
- G01R31/2834—Automated test systems [ATE]; using microprocessors or computers
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/08—Locating faults in cables, transmission lines, or networks
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)
Abstract
本发明提供一种基于HALT和HIL的故障位置定位方法及系统,涉及故障检测技术领域;方法包括:搭建故障定位测试平台,故障定位测试平台包括HALT箱和HIL测试组件;系统包括:测试平台搭建模块、HALT检测模块和HIL故障定位模块。本发明基于HALT箱和HIL测试组件相结合的方式来搭建故障定位测试平台,通过HALT箱对被测件施加应力,使其暴露缺陷,再利用HIL测试组件强大的信号发生和接收处理的功能,快速定位被测件的故障位置,而不必全盘定位故障位置,因此可以大幅缩短硬件开发和升级的时间,提升工作效率。
The invention provides a fault location locating method and system based on HALT and HIL, which relates to the technical field of fault detection; the method includes: building a fault locating test platform, the fault locating test platform includes a HALT box and a HIL test component; the system includes: building a test platform module, HALT detection module and HIL fault location module. The present invention builds a fault location test platform based on the combination of HALT box and HIL test components. The HALT box applies stress to the component under test to expose defects, and then utilizes the powerful signal generation and reception processing functions of the HIL test component. Quickly locate the fault location of the device under test instead of completely locating the fault location, thus greatly shortening the time for hardware development and upgrades and improving work efficiency.
Description
技术领域Technical field
本发明主要涉及故障检测技术领域,具体涉及一种基于HALT和HIL的故障位置定位方法及系统。The present invention mainly relates to the technical field of fault detection, and specifically relates to a fault location locating method and system based on HALT and HIL.
背景技术Background technique
当前各行各业都在向机械化、自动化和智能化方向发展,尤其在高温、低温和振动加速度大的极端和危险环境下,用机器人代替人工作业是大势所趋。因此,对被测件(例如芯片和电路板)的极限应力的耐受性要求也越来越高,相应的对芯片和电路板应力测试要求也越来越高。目前主流的硬件测试方法是通过HALT高加速寿命试验来验证和提升电路板的性能,但是此设备只能施加应力,功能测试需要外加电路和信号发生的检测设备。现有的方法是在控制器里编写测试程序,使控制器不间断发出信号,此方法仅可以实时测试控制器输出模块的芯片是否正常工作,不能对控制器功能做到全面覆盖的测试,存在一定的局限性。At present, all walks of life are developing in the direction of mechanization, automation and intelligence. Especially in extreme and dangerous environments with high temperatures, low temperatures and high vibration acceleration, it is a general trend to use robots to replace manual operations. Therefore, the requirements for the ultimate stress tolerance of the components under test (such as chips and circuit boards) are getting higher and higher, and accordingly the requirements for stress testing of chips and circuit boards are also getting higher and higher. The current mainstream hardware testing method is to verify and improve the performance of circuit boards through HALT highly accelerated life testing. However, this equipment can only apply stress, and functional testing requires additional circuits and signal generation detection equipment. The existing method is to write a test program in the controller so that the controller sends out signals continuously. This method can only test in real time whether the chip of the controller output module is working normally, and cannot fully cover the controller functions. There are Certain limitations.
发明内容Contents of the invention
本发明所要解决的技术问题是针对现有技术的不足,提供一种基于HALT和HIL的故障位置定位方法及系统。The technical problem to be solved by the present invention is to provide a fault location locating method and system based on HALT and HIL in view of the shortcomings of the existing technology.
本发明解决上述技术问题的技术方案如下:一种基于HALT和HIL的故障位置定位方法,包括:The technical solution of the present invention to solve the above technical problems is as follows: a fault location locating method based on HALT and HIL, including:
搭建故障定位测试平台,所述故障定位测试平台包括HALT箱和HIL测试组件;Build a fault location test platform, which includes a HALT box and HIL test components;
通过所述HALT箱对预先放置在所述HALT箱内的被测件施加应力,若发生故障,则根据故障现象生成故障位置检测信号;The HALT box applies stress to the component under test placed in the HALT box in advance. If a fault occurs, a fault location detection signal is generated based on the fault phenomenon;
当所述HIL测试组件接收到所述故障位置检测信号时,将所述HIL测试组件与所述被测件建立连接,并通过所述HIL测试组件对被测件进行CAN通信模块检测,若CAN通信模块无故障,则根据预设HIL检测列表中的检测项目对所述被测件进行元器件故障检测,得到被测件的故障位置定位信息,并将所述故障位置定位信息显示。When the HIL test component receives the fault location detection signal, the HIL test component establishes a connection with the device under test, and performs CAN communication module detection on the device under test through the HIL test component. If CAN If there is no fault in the communication module, component fault detection will be performed on the component under test based on the detection items in the preset HIL detection list, the fault location location information of the component under test will be obtained, and the fault location location information will be displayed.
本发明的有益效果是:基于HALT箱和HIL测试组件相结合的方式来搭建故障定位测试平台,通过HALT箱对被测件施加应力,使其暴露缺陷,再利用HIL测试组件强大的信号发生和接收处理的功能,快速定位被测件的故障位置,而不必全盘定位故障位置,因此可以大幅缩短硬件开发和升级的时间,提升工作效率。The beneficial effects of the present invention are: building a fault location test platform based on the combination of HALT box and HIL test components, applying stress to the tested component through the HALT box to expose defects, and then utilizing the powerful signal generation and The function of receiving and processing can quickly locate the fault location of the device under test without having to completely locate the fault location. Therefore, it can greatly shorten the time of hardware development and upgrade and improve work efficiency.
在上述技术方案的基础上,本发明还可以做如下改进。On the basis of the above technical solution, the present invention can also make the following improvements.
进一步,将所述HIL测试组件与所述被测件建立连接的步骤中,包括:Further, the step of establishing connection between the HIL test component and the device under test includes:
导入预设HIL检测列表和被测件针脚信息,所述预设HIL检测列表中包括多个元器件的检测项目和各个检测项目对应的检测参数,基于所述预设HIL检测列表和被测件针脚信息搭建simulink整车模型,通过所述simulink整车模型建立所述HIL测试组件与所述被测件的连接。Import the preset HIL detection list and the pin information of the device under test. The preset HIL detection list includes detection items of multiple components and the detection parameters corresponding to each detection item. Based on the preset HIL detection list and the device under test The pin information is used to build a simulink vehicle model, and the connection between the HIL test component and the device under test is established through the simulink vehicle model.
进一步,通过所述HIL测试组件对被测件进行CAN通信模块检测的步骤中,包括:Further, the step of testing the CAN communication module of the device under test through the HIL test component includes:
通过所述HIL测试组件检测是否接收到被测件的CAN信号,若接收到被测件的CAN信号,则进入被测件的元器件故障检测的步骤;Use the HIL test component to detect whether the CAN signal of the device under test is received. If the CAN signal of the device under test is received, enter the step of detecting component failure of the device under test;
若未接收到被测件的CAN信号,则对被测件的电源模块进行通电检测,若得到电源模块存在故障的信息,则故障位置定位为被测件的电源模块存在故障,若得到电源模块正常的信息,则故障位置定位为CAN通信存在故障。If the CAN signal of the device under test is not received, the power module of the device under test is powered on and detected. If the information that the power module is faulty is obtained, the fault location is located as the power module of the device under test is faulty. If the power module is detected, If the information is normal, the fault location is located as there is a fault in CAN communication.
进一步,根据预设HIL检测列表中的检测项目对所述被测件进行元器件故障检测的步骤中,包括:Further, the step of detecting component faults on the device under test according to the detection items in the preset HIL detection list includes:
通过所述simulink整车模型对所述被测件进行电阻类元器件故障检测,若整车燃油液位模型读数显示异常,且整车燃油液位模型读数显示不随HIL测试组件输入的不同阻值信号而变化,则故障位置定位为电阻类元器件故障。Use the simulink vehicle model to perform resistance component fault detection on the device under test. If the vehicle fuel level model reading shows abnormality, and the vehicle fuel level model reading shows a different resistance value that is not input by the HIL test component. If the signal changes, the fault location is located as a resistive component fault.
进一步,根据预设HIL检测列表中的检测项目对所述被测件进行元器件故障检测的步骤中,还包括:Further, the step of detecting component faults on the device under test according to the detection items in the preset HIL detection list also includes:
通过所述simulink整车模型对所述被测件进行转速采集芯片故障检测,若整车滚筒转速模块读数显示异常,且整车滚筒转速模块读数显示不随HIL测试组件输入的不同PWM信号而变化,则故障位置定位为转速采集芯片故障。Use the simulink vehicle model to perform speed acquisition chip fault detection on the tested part. If the vehicle drum speed module reading shows abnormality, and the vehicle drum speed module reading does not change with the different PWM signals input by the HIL test component, Then the fault location is located as the fault of the speed acquisition chip.
进一步,根据预设HIL检测列表中的检测项目对所述被测件进行元器件故障检测的步骤中,还包括:Further, the step of detecting component faults on the device under test according to the detection items in the preset HIL detection list also includes:
通过所述simulink整车模型对所述被测件进行电压采集芯片故障检测,若整车手柄电压读数显示异常,且整车手柄电压读数显示不随HIL测试组件输入的不同电压信号而变化,则故障位置定位为电压采集芯片故障。Use the simulink vehicle model to perform voltage acquisition chip fault detection on the device under test. If the vehicle handle voltage reading shows abnormality, and the vehicle handle voltage reading does not change with the different voltage signals input by the HIL test component, then there is a fault. The location is located as a voltage acquisition chip failure.
进一步,在通过所述HALT箱对预先放置在所述HALT箱内的被测件施加应力,若发生故障,则根据故障现象生成故障位置检测信号的步骤中,还包括:Further, in the step of applying stress to the component under test pre-placed in the HALT box through the HALT box, and if a fault occurs, generating a fault location detection signal according to the fault phenomenon, it also includes:
通过所述HALT箱对被测件进行高加速寿命老化检测,验证被测件的振动极限和高、低温极限是否达到或超过所要求的值,若达到要求的值并且没有故障,则检测通过;若被测件在达到要求前发生故障,则根据故障现象生成故障位置检测信号。Use the HALT box to perform a highly accelerated life aging test on the tested part to verify whether the vibration limit and high and low temperature limits of the tested part reach or exceed the required values. If the required values are reached and there are no faults, the test is passed; If the device under test fails before meeting the requirements, a fault location detection signal is generated based on the fault phenomenon.
本发明解决上述技术问题的另一技术方案如下:一种基于HALT和HIL的故障位置定位系统,包括:Another technical solution of the present invention to solve the above technical problems is as follows: a fault location positioning system based on HALT and HIL, including:
测试平台搭建模块,用于搭建故障定位测试平台,所述故障定位测试平台包括HALT箱和HIL测试组件;A test platform building module is used to build a fault location test platform, which includes a HALT box and HIL test components;
HALT检测模块,用于通过所述HALT箱对预先放置在所述HALT箱内的被测件施加应力,若发生故障,则根据故障现象生成故障位置检测信号;A HALT detection module, used to apply stress to the tested component pre-placed in the HALT box through the HALT box, and if a fault occurs, generate a fault location detection signal based on the fault phenomenon;
HIL故障定位模块,用于当所述HIL测试组件接收到所述故障位置检测信号时,将所述HIL测试组件与所述被测件建立连接,并通过所述HIL测试组件对被测件进行CAN通信模块检测,若CAN通信模块无故障,则根据预设HIL检测列表中的检测项目对所述被测件进行元器件故障检测,得到被测件的故障位置定位信息,并将所述故障位置定位信息显示。A HIL fault location module, configured to establish a connection between the HIL test component and the device under test when the HIL test component receives the fault location detection signal, and to conduct testing on the device under test through the HIL test component. CAN communication module detection, if there is no fault in the CAN communication module, the component fault detection is performed on the component under test according to the detection items in the preset HIL detection list, the fault location information of the component under test is obtained, and the fault location is obtained Location information is displayed.
附图说明Description of the drawings
图1为本发明实施例提供的故障位置定位方法的流程示意图之一;Figure 1 is one of the flow diagrams of a fault location locating method provided by an embodiment of the present invention;
图2为本发明实施例提供的故障位置定位方法的流程示意图之二;Figure 2 is a second schematic flowchart of a fault location locating method provided by an embodiment of the present invention;
图3为本发明实施例提供的故障位置定位装置的功能模块框图。Figure 3 is a functional module block diagram of a fault location locating device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, rather than all embodiments. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.
因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。Therefore, the following detailed description of the embodiments of the invention provided in the appended drawings is not intended to limit the scope of the claimed invention, but rather to represent selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present invention.
在本发明的描述中,还需要说明的是,除非另有明确的规定和限定,若出现术语“设置”、“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should also be noted that, unless otherwise clearly stated and limited, if the terms "set", "installation", "connected" and "connected" appear, they should be understood in a broad sense. For example, they can be fixed The connection may be a detachable connection or an integral connection; it may be a mechanical connection or an electrical connection; it may be a direct connection or an indirect connection through an intermediate medium; it may be an internal connection between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood on a case-by-case basis.
如图1、图2所示,本发明实施例提供的一种基于HALT和HIL的故障位置定位方法,包括:As shown in Figures 1 and 2, a fault location locating method based on HALT and HIL provided by an embodiment of the present invention includes:
搭建故障定位测试平台,所述故障定位测试平台包括HALT箱和HIL测试组件。Build a fault location test platform, which includes a HALT box and HIL test components.
通过所述HALT箱对预先放置在所述HALT箱内的被测件施加应力,若发生故障,则根据故障现象生成故障位置检测信号;具体地,将被测件放入HALT箱固定,通过HALT箱本身功能施加温度、加速度等应力,或者提供电阻、电压、电流、频率等各种信号,测试被测件(如控制器)性能,使整个电路板功能异常,暴露硬件缺陷,也可以监测被测件的各种输出信号。应理解地,故障现象包括虚接脱落、内部失效等。The HALT box applies stress to the component under test placed in the HALT box in advance. If a fault occurs, a fault location detection signal is generated according to the fault phenomenon; specifically, the component under test is placed in the HALT box and fixed, and the component under test is fixed through the HALT box. The function of the box itself is to apply stresses such as temperature and acceleration, or to provide various signals such as resistance, voltage, current, frequency, etc., to test the performance of the device under test (such as a controller), causing the entire circuit board to function abnormally and exposing hardware defects. It can also monitor the device under test (such as a controller). Various output signals of the test piece. It should be understood that fault phenomena include virtual connections falling off, internal failures, etc.
当所述HIL测试组件接收到所述故障位置检测信号时,将所述HIL测试组件与所述被测件建立连接,并通过所述HIL测试组件对被测件进行CAN通信模块检测,若CAN通信模块无故障,则根据预设HIL检测列表中的检测项目对所述被测件进行元器件故障检测,得到被测件的故障位置定位信息,并将所述故障位置定位信息显示。When the HIL test component receives the fault location detection signal, the HIL test component establishes a connection with the device under test, and performs CAN communication module detection on the device under test through the HIL test component. If CAN If there is no fault in the communication module, component fault detection will be performed on the component under test based on the detection items in the preset HIL detection list, the fault location location information of the component under test will be obtained, and the fault location location information will be displayed.
本实施例中,基于HALT箱和HIL测试组件相结合的方式来搭建故障定位测试平台,通过HALT箱对被测件施加应力,使其暴露缺陷,发现故障现象,再利用HIL测试组件强大的信号发生和接收处理的功能,快速定位被测件具体的故障位置,而不必全盘定位故障位置,因此可以大幅缩短硬件开发和升级的时间,提升工作效率。In this embodiment, a fault location test platform is built based on the combination of HALT box and HIL test components. The HALT box applies stress to the component under test to expose defects and discover fault phenomena, and then uses the powerful signal of the HIL test component. The functions of generating and receiving processing can quickly locate the specific fault location of the device under test without having to completely locate the fault location. Therefore, it can greatly shorten the time of hardware development and upgrade and improve work efficiency.
具体地,在通过所述HALT箱对预先放置在所述HALT箱内的被测件施加应力,若发生故障,则根据故障现象生成故障位置检测信号的步骤中,还包括:Specifically, in the step of applying stress to the component under test pre-placed in the HALT box through the HALT box, and if a fault occurs, generating a fault location detection signal according to the fault phenomenon, it also includes:
通过所述HALT箱对被测件进行高加速寿命老化检测,验证被测件的振动极限和高、低温极限是否达到或超过所要求的值,若达到要求的值并且没有故障,则检测通过;若被测件在达到要求前发生故障,则根据故障现象生成故障位置检测信号。Use the HALT box to perform a highly accelerated life aging test on the tested part to verify whether the vibration limit and high and low temperature limits of the tested part reach or exceed the required values. If the required values are reached and there are no faults, the test is passed; If the device under test fails before meeting the requirements, a fault location detection signal is generated based on the fault phenomenon.
本实施例中,如果施加外部应力超过HALT箱规格仍然没有故障,则被测件通过试验。In this embodiment, if the external stress exceeds the HALT box specification and there is still no failure, the device under test passes the test.
具体地,将所述HIL测试组件与所述被测件建立连接的步骤中,包括:Specifically, the step of establishing a connection between the HIL test component and the device under test includes:
导入预设HIL检测列表和被测件针脚信息,所述预设HIL检测列表中包括多个元器件的检测项目和各个检测项目对应的检测参数,基于所述预设HIL检测列表和被测件针脚信息搭建simulink整车模型,通过所述simulink整车模型建立所述HIL测试组件与所述被测件的连接。Import the preset HIL detection list and the pin information of the device under test. The preset HIL detection list includes detection items of multiple components and the detection parameters corresponding to each detection item. Based on the preset HIL detection list and the device under test The pin information is used to build a simulink vehicle model, and the connection between the HIL test component and the device under test is established through the simulink vehicle model.
应理解地,根据被测件程序和针脚定义,搭建simulink模型。利用HIL的ConfigerationDesk让待测控制器(即被测件)与HIL台架(即HIL测试组件)通过搭建好的simulink整车模型建立连接。It should be understood that the simulink model is built according to the program and pin definition of the device under test. Use HIL's ConfigurationDesk to establish a connection between the controller under test (i.e. the device under test) and the HIL bench (i.e. HIL test component) through the built simulink vehicle model.
ConfigerationDesk为HIL的一个工具,可以利用它设置各种待测控制器所需的PWM、电流、电阻、电压、CAN等输入输出接口,同样可以通过这些接口接收待测控制器的反馈信号(例如:CAN报文、PWM、电压等),同时,搭建好与此适配的simulink整车模型,并通过这些接口将待测控制器和HIL台架进行连接,如此可以发送任意待测控制器所需信号并实时监测待测控制器反馈数据;通过simulink整车模型的逻辑计算,在HIL台架的参数显示区域把待测控制器反馈结果显示出来,以达到实时监测HALT试验过程中待测控制器的状态。ConfigerationDesk is a tool of HIL. You can use it to set the PWM, current, resistance, voltage, CAN and other input and output interfaces required by various controllers under test. You can also receive feedback signals from the controller under test through these interfaces (for example: CAN message, PWM, voltage, etc.), at the same time, build a simulink vehicle model that adapts to this, and connect the controller to be tested and the HIL bench through these interfaces, so that any required controller to be tested can be sent signal and monitor the feedback data of the controller under test in real time; through the logic calculation of the simulink vehicle model, the feedback results of the controller under test are displayed in the parameter display area of the HIL bench to achieve real-time monitoring of the controller under test during the HALT test. status.
为了提高采集信号的可读性,方便在ControlDesk的控制台中更好的显示,需要对检测参数进行配置。可对电流、电阻、电压等信号进行逻辑处理,比如采集的电压单位为V,但是读数很小,可以在simulink整车模型里将输出值乘1000,转换为mV,比如0.01V转换为10mV,提高可读性,不易出错。In order to improve the readability of the collected signals and facilitate better display in the ControlDesk console, the detection parameters need to be configured. Logical processing of current, resistance, voltage and other signals can be performed. For example, the unit of voltage collected is V, but the reading is very small. You can multiply the output value by 1000 in the simulink vehicle model and convert it into mV, for example, 0.01V is converted into 10mV. Improve readability and make it less error-prone.
本实施例中,通过搭建simulink整车模型将HIL测试组件与被测件建立连接,并通过simulink整车模型对被测件进行故障检测与定位。In this embodiment, the HIL test component is connected to the device under test by building a simulink vehicle model, and fault detection and location of the device under test are performed through the simulink vehicle model.
具体地,通过所述HIL测试组件对被测件进行CAN通信模块检测的步骤中,包括:Specifically, the step of testing the CAN communication module of the device under test through the HIL test component includes:
通过所述HIL测试组件检测是否接收到被测件的CAN信号,若接收到被测件的CAN信号,则进入被测件的元器件故障检测的步骤;Use the HIL test component to detect whether the CAN signal of the device under test is received. If the CAN signal of the device under test is received, enter the step of detecting component failure of the device under test;
若未接收到被测件的CAN信号,则对被测件的电源模块进行通电检测,若得到电源模块存在故障的信息,则故障位置定位为被测件的电源模块存在故障,若得到电源模块正常的信息,则故障位置定位为CAN通信存在故障。If the CAN signal of the device under test is not received, the power module of the device under test is powered on and detected. If the information that the power module is faulty is obtained, the fault location is located as the power module of the device under test is faulty. If the power module is detected, If the information is normal, the fault location is located as there is a fault in CAN communication.
应理解地,在HALT试验过程中,发现CAN所有信号不再更新,不能利用CAN发送指令,但是所有硬线类信号等非CAN信号不受影响,比如手柄推到前进位置,前进电磁阀信号会有输出,则是CAN模块的某一芯片或元器件故障。It should be understood that during the HALT test, it was found that all CAN signals are no longer updated and CAN cannot be used to send instructions. However, all hard-wired signals and other non-CAN signals are not affected. For example, when the handle is pushed to the forward position, the forward solenoid valve signal will If there is an output, it means that a certain chip or component of the CAN module is faulty.
本实施例中,将待测控制器(即被测件)与HIL台架(即HIL测试组件)连接,放入HALT箱内固定好,验证待测控制器功能正常,再进行HALT试验,当发生故障后,再通过HIL台架对待测控制器定位故障位置。In this embodiment, the controller to be tested (i.e., the device under test) is connected to the HIL bench (i.e., the HIL test component), placed in the HALT box and fixed, and the controller to be tested is verified to function normally, and then the HALT test is performed. After a fault occurs, the fault location is located on the controller under test through the HIL bench.
如图2所示,下面举例说明,在HIL测试组件中对被测件进行元器件故障进行数据分析的过程:As shown in Figure 2, the following example illustrates the process of data analysis of component failures of the device under test in the HIL test component:
故障类型之一,电阻类元器件故障:One of the fault types, resistor component failure:
通过所述simulink整车模型对所述被测件进行电阻类元器件故障检测,若整车燃油液位模型读数显示异常,且整车燃油液位模型读数显示不随HIL测试组件输入的不同阻值信号而变化,则故障位置定位为电阻类元器件故障。Use the simulink vehicle model to perform resistance component fault detection on the device under test. If the vehicle fuel level model reading shows abnormality, and the vehicle fuel level model reading shows a different resistance value that is not input by the HIL test component. If the signal changes, the fault location is located as a resistive component fault.
应理解地,若控制器电源模块和CAN通信模块正常工作:如果整车燃油液位模型读数显示异常,且读数不随HIL输入阻值信号改变而改变,则控制器燃油液位阻值计算芯片或电阻故障。It should be understood that if the controller power module and CAN communication module work normally: If the vehicle fuel level model reading shows abnormality, and the reading does not change with the change of the HIL input resistance signal, the controller fuel level resistance calculation chip or Resistor failure.
例如:油量信号不随输入改变,则判定为油量模块故障。For example, if the oil quantity signal does not change with the input, it is determined that the oil quantity module is faulty.
故障类型之二,转速采集芯片故障:Fault type two, speed acquisition chip failure:
通过所述simulink整车模型对所述被测件进行转速采集芯片故障检测,若整车滚筒转速模块读数显示异常,且整车滚筒转速模块读数显示不随HIL测试组件输入的不同PWM信号而变化,则故障位置定位为转速采集芯片故障。Use the simulink vehicle model to perform speed acquisition chip fault detection on the tested part. If the vehicle drum speed module reading shows abnormality, and the vehicle drum speed module reading does not change with the different PWM signals input by the HIL test component, Then the fault location is located as the fault of the speed acquisition chip.
应理解地,若控制器电源模块和CAN通信模块正常工作:如果整车滚筒转速模块读数显示异常,且读数不随HIL输入PWM信号改变而改变,则控制器转速采集引脚或转速逻辑处理芯片故障。It should be understood that if the controller power module and CAN communication module work normally: If the vehicle drum speed module reading shows abnormality and the reading does not change with the change of the HIL input PWM signal, the controller speed acquisition pin or speed logic processing chip is faulty. .
例如:滚筒转速显示错误,则判定为转速处理芯片故障。For example, if the drum speed display is wrong, it is determined that the speed processing chip is faulty.
控制器内采集的转速单位一般为rpm/s,而整车的显示转速单位是rpm/min,为了提高测试的可读性,需要将此类信号在模型中进行逻辑处理。即将采集的转速信号乘60显示出来,将输出信号除以60发送给控制器。The speed unit collected in the controller is generally rpm/s, while the displayed speed unit of the vehicle is rpm/min. In order to improve the readability of the test, such signals need to be logically processed in the model. The collected speed signal is multiplied by 60 and displayed, and the output signal is divided by 60 and sent to the controller.
故障类型之三,电压采集芯片故障:Fault type three, voltage acquisition chip failure:
通过所述simulink整车模型对所述被测件进行电压采集芯片故障检测,若整车手柄电压读数显示异常,且整车手柄电压读数显示不随HIL测试组件输入的不同电压信号而变化,则故障位置定位为电压采集芯片故障。Use the simulink vehicle model to perform voltage acquisition chip fault detection on the device under test. If the vehicle handle voltage reading shows abnormality, and the vehicle handle voltage reading does not change with the different voltage signals input by the HIL test component, then there is a fault. The location is located as a voltage acquisition chip failure.
应理解地,若控制器电源模块和CAN通信模块正常工作:如果整车手柄电压读数显示异常,且读数不随HIL输入电压信号改变而改变,则控制器电压信号采集引脚或电压处理芯片故障。It should be understood that if the controller power module and CAN communication module work normally: if the vehicle handle voltage reading shows abnormality and the reading does not change with the change of the HIL input voltage signal, the controller voltage signal acquisition pin or voltage processing chip is faulty.
例如:手柄电压显示错误,则判定为电压采集芯片故障。For example, if the voltage display of the handle is wrong, it is determined that the voltage acquisition chip is faulty.
应理解地,故障类型很多,并不局限于上述实例。It should be understood that there are many types of faults and are not limited to the above examples.
上述的多个实施例中,所有故障都可以根据搭建的故障定位测试平台接收到被测件的反馈信息,直接精准地确定是哪一模块出现故障,进一步可通过simulink模型查询预设HIL检测列表中对应故障现象的检测项目在被测件上实施定位故障排查,缩短排查定位故障位置所耗时间,提升工作效率,同时利用HIL强大的信号发生和接收处理的功能,可以实现功能全覆盖监测HALT试验中被测件的状态,这是目前在被测件(如PCB板)上刷写测试程序等手段所不能实现的。In the above-mentioned embodiments, all faults can be received based on the feedback information of the device under test based on the built fault location test platform, and directly and accurately determine which module has failed. Further, the preset HIL detection list can be queried through the simulink model. The detection project corresponding to the fault phenomenon is implemented on the tested part to locate the fault, shortening the time spent on troubleshooting and locating the fault location, and improving work efficiency. At the same time, HIL's powerful signal generation and reception processing functions can be used to achieve full functional coverage monitoring HALT The status of the device under test during the test is something that currently cannot be achieved by flashing test programs on the device under test (such as PCB board).
如图3所示,本发明实施例提供的一种基于HALT和HIL的故障位置定位系统,包括:As shown in Figure 3, an embodiment of the present invention provides a fault location locating system based on HALT and HIL, including:
测试平台搭建模块,用于搭建故障定位测试平台,所述故障定位测试平台包括HALT箱和HIL测试组件;A test platform building module is used to build a fault location test platform, which includes a HALT box and HIL test components;
HALT检测模块,用于通过所述HALT箱对预先放置在所述HALT箱内的被测件施加应力,若发生故障,则根据故障现象生成故障位置检测信号;A HALT detection module, used to apply stress to the tested component pre-placed in the HALT box through the HALT box, and if a fault occurs, generate a fault location detection signal based on the fault phenomenon;
HIL故障定位模块,用于当所述HIL测试组件接收到所述故障位置检测信号时,将所述HIL测试组件与所述被测件建立连接,并通过所述HIL测试组件对被测件进行CAN通信模块检测,若CAN通信模块无故障,则根据预设HIL检测列表中的检测项目对所述被测件进行元器件故障检测,得到被测件的故障位置定位信息,并将所述故障位置定位信息显示。A HIL fault location module, configured to establish a connection between the HIL test component and the device under test when the HIL test component receives the fault location detection signal, and to conduct testing on the device under test through the HIL test component. CAN communication module detection, if there is no fault in the CAN communication module, the component fault detection is performed on the component under test according to the detection items in the preset HIL detection list, the fault location information of the component under test is obtained, and the fault location is obtained Location information is displayed.
具体地,所述HIL故障定位模块中,将所述HIL测试组件与所述被测件建立连接,具体为:Specifically, in the HIL fault location module, the HIL test component is connected to the device under test, specifically as follows:
导入预设HIL检测列表和被测件针脚信息,所述预设HIL检测列表中包括多个元器件的检测项目和各个检测项目对应的检测参数,基于所述预设HIL检测列表和被测件针脚信息搭建simulink整车模型,通过所述simulink整车模型建立所述HIL测试组件与所述被测件的连接。Import the preset HIL detection list and the pin information of the device under test. The preset HIL detection list includes detection items of multiple components and the detection parameters corresponding to each detection item. Based on the preset HIL detection list and the device under test The pin information is used to build a simulink vehicle model, and the connection between the HIL test component and the device under test is established through the simulink vehicle model.
具体地,所述HIL故障定位模块中,通过所述HIL测试组件对被测件进行CAN通信模块检测,具体为:Specifically, in the HIL fault location module, the CAN communication module detection of the device under test is performed through the HIL test component, specifically as follows:
通过所述HIL测试组件检测是否接收到被测件的CAN信号,若接收到被测件的CAN信号,则进入被测件的元器件故障检测的步骤;Use the HIL test component to detect whether the CAN signal of the device under test is received. If the CAN signal of the device under test is received, enter the step of detecting component failure of the device under test;
若未接收到被测件的CAN信号,则对被测件的电源模块进行通电检测,若得到电源模块存在故障的信息,则故障位置定位为被测件的电源模块存在故障,若得到电源模块正常的信息,则故障位置定位为CAN通信存在故障。If the CAN signal of the device under test is not received, the power module of the device under test is powered on and detected. If the information that the power module is faulty is obtained, the fault location is located as the power module of the device under test is faulty. If the power module is detected, If the information is normal, the fault location is located as there is a fault in CAN communication.
本发明利用HIL台架建模与控制器连接,可以实现提供被测件全部类型的输入信号以及监控被测件的全部输出信号,不仅真正实现测试被测件100%的功能,避免忽略HALT试验暴露出较隐晦难以发现的故障,而且还能与被测件实时交互,根据监测数据精准定位故障位置,缩小排查范围,大大缩短故障排查所耗费的时间,提升电路PCB板的开发效率。The present invention uses HIL bench modeling to connect with the controller, which can provide all types of input signals of the device under test and monitor all output signals of the device under test. It not only truly realizes 100% of the functions of testing the device under test, but also avoids neglecting the HALT test. It exposes obscure and difficult-to-find faults, and can interact with the device under test in real time, accurately locate the fault location based on monitoring data, narrow the scope of troubleshooting, greatly shorten the time spent on troubleshooting, and improve the development efficiency of circuit PCB boards.
相比较而言,在HALT试验时在PCB板上烧录专用测试程序,不仅无法实现被测件100%功能全覆盖测试,即不能避免忽略难以发现的故障;也不能与被测件实时交互,进而定位故障位置,只能判断被测件是否还在正常工作。In comparison, burning a special test program on the PCB board during the HALT test not only fails to achieve 100% functional coverage of the device under test, that is, it cannot avoid ignoring hard-to-find faults; it also cannot interact with the device under test in real time. Then to locate the fault location, we can only determine whether the component under test is still working normally.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations are mutually exclusive. any such actual relationship or sequence exists between them. Furthermore, the terms "comprises," "comprises," or any other variations thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410016787.4A CN117706337A (en) | 2024-01-05 | 2024-01-05 | A fault location location method and system based on HALT and HIL |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410016787.4A CN117706337A (en) | 2024-01-05 | 2024-01-05 | A fault location location method and system based on HALT and HIL |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117706337A true CN117706337A (en) | 2024-03-15 |
Family
ID=90144446
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410016787.4A Pending CN117706337A (en) | 2024-01-05 | 2024-01-05 | A fault location location method and system based on HALT and HIL |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117706337A (en) |
-
2024
- 2024-01-05 CN CN202410016787.4A patent/CN117706337A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9157942B2 (en) | Electrical power diagnostic system and methods | |
CN107797050B (en) | Method for positioning abnormal power-on time sequence state of server mainboard | |
CN109491910B (en) | Visual simulation debugging method and system for protection logic and control logic | |
CN104598373B (en) | A kind of embedded software test method of multi-technical fusion | |
CN210666480U (en) | Vehicle test system | |
CN110412976B (en) | Function test system and test method of PCBA (printed circuit board assembly) of motor controller | |
WO2017193763A1 (en) | Testing method, apparatus and system | |
CN103017812A (en) | Automobile instrument networked testing system and testing method thereof | |
CN113924532B (en) | Method and system for monitoring condition of drive | |
CN117706337A (en) | A fault location location method and system based on HALT and HIL | |
CN112505529A (en) | Board-level automatic test system | |
CN117310589A (en) | Abnormality detection method, device and medium for wafer test system | |
CN106019021B (en) | Universal test tool for electronic equipment test device and test method thereof | |
CN101520660A (en) | Simulation device and simulation method for monitoring sensor signals in general environment | |
CN115932553A (en) | Circuit board detection method and detection device without drawing | |
CN222212895U (en) | Motor test system | |
CN221992742U (en) | Test system | |
CN116859894B (en) | Automatic test method for helicopter internal electronic regulator based on multi-agent technology | |
CN219871510U (en) | Testing device for battery pack | |
CN113138889B (en) | Test circuit and server | |
CN111382045A (en) | Fill electric pile software test system | |
CN118483990A (en) | Integrated HIL test system for body domain of commercial vehicle truck | |
CN119319935A (en) | A helicopter intelligent detection system and detection equipment | |
WO2018023362A1 (en) | Fault detection system for power supply counter | |
Kirkland et al. | Recurrent TPS development issues or ascertaining the excellence of an automated unit test |
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 |