CN110412976B - A functional test system and test method for a motor controller PCBA board - Google Patents
A functional test system and test method for a motor controller PCBA board Download PDFInfo
- Publication number
- CN110412976B CN110412976B CN201910801290.2A CN201910801290A CN110412976B CN 110412976 B CN110412976 B CN 110412976B CN 201910801290 A CN201910801290 A CN 201910801290A CN 110412976 B CN110412976 B CN 110412976B
- Authority
- CN
- China
- Prior art keywords
- test
- motor controller
- connector
- module
- pcba board
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0218—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
- G05B23/0221—Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Control Of Electric Motors In General (AREA)
- Testing Electric Properties And Detecting Electric Faults (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及电机控制器测试系统领域,特别是一种电机控制器PCBA板的功能测试系统及其测试方法。The present invention relates to the field of motor controller testing systems, in particular to a motor controller PCBA board function testing system and a testing method thereof.
背景技术Background technique
为保证批量生产的电机控制器PCBA板满足预设的功能需求,需要对其进行功能测试(Function Test,FCT),即对电机控制器PCBA板加载合适的激励,检查电机控制器PCBA板线路的通断,测量其输出端响应是否合乎要求。In order to ensure that the mass-produced motor controller PCBA board meets the preset functional requirements, it is necessary to perform a functional test (FCT) on it, that is, load appropriate excitation on the motor controller PCBA board, check the continuity of the motor controller PCBA board circuit, and measure whether its output response meets the requirements.
现有的测试系统中,有采用继电器模块、完善的测量显示功能的万用表,通过数据采集器对若干继电器进行切换控制,来搭建不同测试环境,通过PCBA测试转接板将以上技术联结起来实现对电机控制器PCBA板的功能测试的测试系统。但现有的测试系统有以下不足之处:由于继电器有一定的机械寿命和电气寿命,多次测试中,测试转接板上继电器的频繁切换使得其达到其寿命时,继电器出现异常,导致测试系统不稳定,测试失败。测试系统较简单化,测试功能较单一化。批量生产的电机控制器PCBA板预设的部分功能需求不能得到验证,部分出现缺焊、虚焊、短路等现象的不良电机控制器PCBA板未被筛选出来,增加重工和返工率,且后续的测试设备和方法的介入,既降低测试效率,又提高测试成本。In the existing test system, there is a multimeter with relay modules and perfect measurement and display functions. A data collector is used to switch and control several relays to build different test environments. The above technologies are connected through the PCBA test adapter to realize the test system of the functional test of the motor controller PCBA board. However, the existing test system has the following shortcomings: Since the relay has a certain mechanical life and electrical life, the frequent switching of the relay on the test adapter makes it abnormal when it reaches its life in multiple tests, resulting in instability of the test system and test failure. The test system is relatively simple and the test function is relatively single. Some of the preset functional requirements of the mass-produced motor controller PCBA boards cannot be verified, and some defective motor controller PCBA boards with lack of soldering, cold soldering, short circuit and other phenomena are not screened out, which increases the rework and rework rate, and the intervention of subsequent test equipment and methods not only reduces the test efficiency, but also increases the test cost.
综上,该测试系统有必要进行改进。In summary, it is necessary to improve the test system.
发明内容Summary of the invention
针对上述问题,本发明的一个目的是提供一种电机控制器PCBA板的功能测试系统,在现有的功能测试基础上,扩充了测试功能,较大程度地保证批量生产的电机控制器PCBA板预设的功能需求得到验证,提高了测试的准确率,并且能够实现对各个继电器的健康状态的监控,有利于及时发现并解决因继电器频繁切换达到寿命而导致测试失败的问题,提高了测试效率与测试系统稳定性。In view of the above problems, an object of the present invention is to provide a functional testing system for a motor controller PCBA board. On the basis of the existing functional test, the test function is expanded to ensure that the preset functional requirements of the mass-produced motor controller PCBA board are verified to a large extent, improve the test accuracy, and can realize the monitoring of the health status of each relay, which is conducive to timely discovering and solving the problem of test failure caused by frequent switching of relays and reaching the end of their life, thereby improving the test efficiency and the stability of the test system.
本发明的另一个目的是提供一种利用所述电机控制器PCBA板的功能测试系统的测试方法。Another object of the present invention is to provide a testing method of a functional testing system using the motor controller PCBA board.
本发明的目的是通过以下技术方案实现的:The objective of the present invention is achieved through the following technical solutions:
一种电机控制器PCBA板的功能测试系统,包括电机控制器PCBA板,所述功能测试系统还包括工装、功能测试转接板、加载模块、继电器模块、程控电源、信号发生器、CAN卡、台式万用表、开关电源和测试上位机,其中,A functional test system for a motor controller PCBA board includes a motor controller PCBA board, the functional test system also includes a tool, a functional test adapter board, a loading module, a relay module, a programmable power supply, a signal generator, a CAN card, a desktop multimeter, a switching power supply and a test host computer, wherein:
功能测试转接板上包括连接器、旋变模块、拨码开关;The functional test adapter board includes a connector, a resolver module, and a dip switch;
所述连接器包括C1、C2、C3、C4、C5、C6、C7、C8和C9;The connectors include C1, C2, C3, C4, C5, C6, C7, C8 and C9;
连接器C3包括C30、C31和C32,其中,C30和C31是电机控制器PCBA板的连接器,C32是工装的连接器,C31还与IGBT替代模块连接;Connector C3 includes C30, C31 and C32, among which C30 and C31 are connectors of the motor controller PCBA board, C32 is a connector of the tooling, and C31 is also connected to the IGBT replacement module;
连接器C4是DB9型CAN连接器,其与测试上位机连接,通过连接器C30与电机控制器PCBA板相连;Connector C4 is a DB9 CAN connector, which is connected to the test host computer and connected to the motor controller PCBA board through connector C30;
所述旋变模块模拟电机产生旋变信号,用于检测电机控制器PCBA板上的旋变解调模块是否有异常;所述旋变模块包括两个AD633R的乘法器,两个乘法器的引脚Y1、Y2分别接收激励信号EXCP和EXCN;一个乘法器的引脚X1、X2固定接入2.5V和0V,另一个乘法器的引脚X1、X2由继电器控制接入2.5V和0V或者0V和2.5V,切换控制由一个双刀双掷继电器实现;通过乘法器相乘操作后,引脚W分别输出旋变信号SINP和COSP,通过连接器C30加载至电机控制器PCBA板;信号SINN和COSN接2.5V,也通过连接器C30加载至电机控制器PCBA板;The resolver module simulates the motor to generate a resolver signal, which is used to detect whether the resolver demodulation module on the motor controller PCBA board is abnormal; the resolver module includes two AD633R multipliers, and the pins Y1 and Y2 of the two multipliers receive the excitation signals EXCP and EXCN respectively; the pins X1 and X2 of one multiplier are fixedly connected to 2.5V and 0V, and the pins X1 and X2 of the other multiplier are controlled by a relay to connect to 2.5V and 0V or 0V and 2.5V, and the switching control is realized by a double-pole double-throw relay; after the multiplication operation by the multiplier, the pins W output the resolver signals SINP and COSP respectively, which are loaded to the motor controller PCBA board through the connector C30; the signals SINN and COSN are connected to 2.5V, and are also loaded to the motor controller PCBA board through the connector C30;
所述拨码开关的按键on一侧的引脚依次与加载模块WP8024的数字量输入通道相连;The pins on the button-on side of the dip switch are sequentially connected to the digital input channels of the loading module WP8024;
所述加载模块包括1个WP8024和多个WP8027,加载模块的通讯端与测试上位机相连,其中,The loading module includes one WP8024 and multiple WP8027, and the communication end of the loading module is connected to the test host computer, wherein:
WP8027数字量输出通道连接到功能测试转接板上的连接器C7,通过连接器C8与继电器模块的输入驱动端相连;The WP8027 digital output channel is connected to connector C7 on the functional test adapter board and connected to the input drive end of the relay module through connector C8;
WP8024数字量输入通道、继电器输出通道经由功能测试转接板上的连接器C7,直接与连接器C32连接到工装;The WP8024 digital input channel and relay output channel are directly connected to the tooling through connector C7 on the function test adapter board and connector C32;
继电器模块包括多个继电器,其输入驱动端与功能测试转接板上的连接器C8相连,输出信号端连接到功能测试转接板上的连接器C9,连接器C9分别与连接器C1、C3、C5、C6以及输出电压3.3/5V模块相连;The relay module includes multiple relays, whose input drive end is connected to the connector C8 on the function test adapter board, and the output signal end is connected to the connector C9 on the function test adapter board, and the connector C9 is respectively connected to the connectors C1, C3, C5, C6 and the output voltage 3.3/5V module;
程控电源连接到功能测试转接板上的连接器C1,由测试上位机控制输出电压,电压信号顺序通过连接器C1、C9以及C30为电机控制器PCBA板供电;The program-controlled power supply is connected to the connector C1 on the functional test adapter board. The output voltage is controlled by the test host computer. The voltage signal sequentially powers the motor controller PCBA board through connectors C1, C9 and C30.
开关电源与功能测试转接板上的连接器C2相连,直接或者间接地为继电器模块、DCDC模块和IGBT替代模块等用于功能测试的设备供电;The switching power supply is connected to the connector C2 on the functional test adapter board to directly or indirectly power the devices used for functional testing, such as the relay module, the DCDC module and the IGBT replacement module;
台式万用表连接到功能测试转接板上的连接器C5,连接器C5与C9相连,在测试上位机的控制下,测量接入台式万用表各个测试点的电压、电流值;The desktop multimeter is connected to the connector C5 on the functional test adapter board, and the connector C5 is connected to C9. Under the control of the test host computer, the voltage and current values of each test point connected to the desktop multimeter are measured;
信号发生器连接到功能测试转接板上的连接器C6;The signal generator is connected to connector C6 on the functional test adapter board;
CAN卡与功能测试转接板上的连接器C4相连,再通过连接器C30连接到电机控制器PCBA板,实现测试上位机与电机控制器PCBA板上的单片机的通信;The CAN card is connected to the connector C4 on the functional test adapter board, and then connected to the motor controller PCBA board through the connector C30 to achieve communication between the test host computer and the microcontroller on the motor controller PCBA board;
测试上位机连接程控电源、台式万用表、信号发生器、加载模块和CAN卡;The test host computer is connected to the programmable power supply, desktop multimeter, signal generator, loading module and CAN card;
工装包括多个按钮和指示灯,均通过连接器C32分别连接到加载模块WP8024的数字量输入通道和继电器输出通道。The tooling includes multiple buttons and indicator lights, which are respectively connected to the digital input channels and relay output channels of the loading module WP8024 through connector C32.
功能测试转接板上还包括输出电压3.3/5V模块。The functional test adapter board also includes an output voltage 3.3/5V module.
功能测试转接板上还包括DCDC模块。The functional test adapter board also includes a DCDC module.
功能测试转接板上还包括IGBT替代模块,所述IGBT替代模块用来替代电机控制器内部真实的三相桥IGBT模块,并通过功能测试转接板上的连接器C31与电机控制器PCBA板连接。The functional test adapter board also includes an IGBT replacement module, which is used to replace the real three-phase bridge IGBT module inside the motor controller and is connected to the motor controller PCBA board through the connector C31 on the functional test adapter board.
WP8024数字量输入通道也同拨码开关相连。The WP8024 digital input channel is also connected to the DIP switch.
所述程控电源采用GWPSP-405可编程开关直流电源,输出电压默认控制为13V。The program-controlled power supply adopts a GWPSP-405 programmable switching DC power supply, and the output voltage is controlled to 13V by default.
所述CAN卡采用Kvaser Leaf Light V2 CAN分析仪。The CAN card uses the Kvaser Leaf Light V2 CAN analyzer.
所述信号发生器采用GWAFG-2000系列信号发生器。The signal generator adopts GWAFG-2000 series signal generator.
一种利用所述的电机控制器PCBA板的功能测试系统的测试方法,所述方法包括以下步骤:A testing method of a functional testing system of a motor controller PCBA board using the above method comprises the following steps:
1、连接设备,设备初始化;1. Connect the device and initialize it;
2、测试上位机控制信号发生器输出特定波形,通过连接器C6、C9和C30,加载到电机控制器PCBA板,若电机控制器PCBA板检验该加载波形与设定的波形一致,则电机控制器PCBA板进入测试模式;否则测试失败,终止测试;2. Test that the host computer controls the signal generator to output a specific waveform, and load it to the motor controller PCBA board through connectors C6, C9 and C30. If the motor controller PCBA board verifies that the loaded waveform is consistent with the set waveform, the motor controller PCBA board enters the test mode; otherwise, the test fails and the test is terminated;
3、启动测试,按下工装启动测试按钮或者通过测试上位机启动测试;3. Start the test, press the tooling start test button or start the test through the test host computer;
4、测试上位机顺序发出测试文件指令,对该功能测试系统进行输入输出控制,搭建各项功能测试环境并进行测试;同时在测试文件中记录台式万用表、电机控制器PCBA板上的单片机向测试上位机的反馈值,并将所述反馈值与理论值作对比:若反馈值与理论值吻合或在理论值规定范围内,则该项的测试结果记为通过,否则记为未通过;4. The test host computer issues test file instructions in sequence, performs input and output control on the functional test system, builds various functional test environments and performs tests; at the same time, the feedback values from the desktop multimeter and the microcontroller on the motor controller PCBA board to the test host computer are recorded in the test file, and the feedback values are compared with the theoretical values: if the feedback values match the theoretical values or are within the specified range of the theoretical values, the test result of this item is recorded as passed, otherwise it is recorded as failed;
5、若测试文件中每一项的测试结果均为通过,则该电机控制器PCBA板合格,否则,该电机控制器PCBA板为不合格;持续等待再次启动测试;5. If the test results of each item in the test file are passed, the motor controller PCBA board is qualified, otherwise, the motor controller PCBA board is unqualified; continue to wait and start the test again;
6、测试过程中,测试上位机实时监控各个加载模块的信号输入与输出通道状态,实时统计加载模块WP8024数字量输入、继电器输出通道及WP8027数字量输出通道的状态切换次数,即为加载模块控制的各个继电器的使用次数,并实时显示在测试界面上;6. During the test, the test host computer monitors the signal input and output channel status of each loading module in real time, and counts the state switching times of the loading module WP8024 digital input, relay output channel and WP8027 digital output channel in real time, that is, the usage times of each relay controlled by the loading module, and displays it in real time on the test interface;
将各个继电器的使用次数与继电器的使用寿命作比较,当出现至少一个继电器的使用次数大于或等于使用寿命时,提示某个地址的加载模块的某一路通道控制的继电器已到达使用寿命,并终止测试,否则继续执行测试。The number of times each relay is used is compared with the service life of the relay. When the number of times at least one relay is used is greater than or equal to the service life, it is prompted that the relay controlled by a channel of a loading module at a certain address has reached its service life and the test is terminated, otherwise the test continues.
步骤4中,所述功能测试还包括电机控制器PCBA板的旋变解调模块的测试,包括以下步骤:In step 4, the functional test also includes testing of the resolver demodulation module of the motor controller PCBA board, including the following steps:
4.1、测试上位机通过连接器C4、C30以CAN报文的形式向电机控制器PCBA板的单片机发出读取旋变值指令,单片机输出激励源信号EXCP和EXCN,通过连接器C30将信号输入至功能测试转接板的旋变模块,其旋变输出信号由连接器C30传递至电机控制器PCBA板,通过电机控制器PCBA板的旋变解调模块计算输出旋变值,最后由单片机通过连接器C4将输出旋变值反馈至测试上位机;4.1. The test host computer sends a command to read the resolver value to the single-chip microcomputer of the motor controller PCBA board in the form of CAN messages through connectors C4 and C30. The single-chip microcomputer outputs excitation source signals EXCP and EXCN, and inputs the signal to the resolver module of the functional test adapter board through connector C30. The resolver output signal is transmitted to the motor controller PCBA board by connector C30, and the output resolver value is calculated by the resolver demodulation module of the motor controller PCBA board. Finally, the output resolver value is fed back to the test host computer by the single-chip microcomputer through connector C4;
4.2、测试上位机记录并将旋变值与理论值作对比,若旋变值与理论值吻合或在理论值规定范围内,则该项的测试结果记为通过,否则记为未通过。4.2. The test host computer records and compares the resolver value with the theoretical value. If the resolver value is consistent with the theoretical value or is within the specified range of the theoretical value, the test result of this item is recorded as passed, otherwise it is recorded as failed.
本发明的有益效果在于:The beneficial effects of the present invention are:
1、同现有的测试系统相比较,本发明的电机控制器PCBA板的功能测试系统及其测试方法,通过增添加载模块的信号输入与输出通道的实时状态回读功能,实时统计加载模块的各个信号输入与输出通道状态切换次数,即为加载模块控制的各个继电器的使用次数,进而实现对各个继电器的健康状态的监控。有利于及时发现并解决因继电器频繁切换达到寿命而导致测试失败的问题,提高了测试效率与测试系统稳定性。1. Compared with the existing test system, the functional test system and test method of the motor controller PCBA board of the present invention, by adding the real-time state readback function of the signal input and output channels of the loading module, counts the number of state switching of each signal input and output channel of the loading module in real time, that is, the number of times each relay controlled by the loading module is used, thereby realizing the monitoring of the health status of each relay. It is conducive to timely discovering and solving the problem of test failure caused by frequent switching of relays reaching the end of their life, and improves the test efficiency and the stability of the test system.
2、同现有的测试系统相比较,本发明的电机控制器PCBA板的功能测试方法及系统,测试功能有较大扩充,包括基于一种旋变模块模拟电机产生旋变信号,通过加载模块对继电器切换控制,实现电机控制器PCBA板的旋变解调模块的功能测试,较大程度地保证批量生产的电机控制器PCBA板预设的功能需求得到验证,提高测试的准确率,规避不必要的返工测试,同时避免后续的测试设备和方法的介入,提升测试效率,降低测试成本。2. Compared with the existing test system, the functional testing method and system of the motor controller PCBA board of the present invention have greatly expanded testing functions, including simulating a motor to generate a resolver signal based on a resolver module, and controlling the relay switching by a loading module to realize the functional test of the resolver demodulation module of the motor controller PCBA board, thereby ensuring to a large extent that the preset functional requirements of the mass-produced motor controller PCBA boards are verified, improving the test accuracy, avoiding unnecessary rework testing, and avoiding the intervention of subsequent testing equipment and methods, thereby improving test efficiency and reducing test costs.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明的电机控制器PCBA板的功能测试系统结构示意图;FIG1 is a schematic diagram of the structure of a functional test system for a motor controller PCBA board of the present invention;
图2为本发明实施例中连接器C1~C6的引脚图;FIG2 is a pin diagram of connectors C1 to C6 according to an embodiment of the present invention;
图3为本发明实施例中连接器C7的引脚图;FIG3 is a pin diagram of a connector C7 according to an embodiment of the present invention;
图4A和4B为本发明实施例中连接器C8、C9的引脚图;4A and 4B are pin diagrams of connectors C8 and C9 according to an embodiment of the present invention;
图5为本发明实施例中的旋变模块的电路原理图。FIG. 5 is a circuit schematic diagram of a resolver module in an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。The specific implementation of the present invention is further described in detail below in conjunction with the drawings and examples.
一种电机控制器PCBA板的功能测试系统,所述功能测试用于检查电机控制器PCBA板线路的通断,以及测量其各网络节点的电气波形是否符合预期。A functional test system for a motor controller PCBA board, wherein the functional test is used to check the continuity of the motor controller PCBA board circuit and to measure whether the electrical waveform of each network node thereof meets expectations.
如图1所示,一种电机控制器PCBA板的功能测试系统包括电机控制器PCBA板、工装、功能测试转接板、加载模块、继电器模块、程控电源、信号发生器、CAN卡、台式万用表、开关电源和测试上位机,其中,As shown in Figure 1, a functional test system for a motor controller PCBA board includes a motor controller PCBA board, a tooling, a functional test adapter board, a loading module, a relay module, a programmable power supply, a signal generator, a CAN card, a desktop multimeter, a switching power supply and a test host computer, wherein:
功能测试转接板上包括连接器、旋变模块、输出电压3.3/5V模块、拨码开关、DCDC模块和IGBT替代模块,其中,The functional test adapter board includes a connector, a resolver module, an output voltage 3.3/5V module, a dip switch, a DCDC module and an IGBT replacement module.
功能测试转接板用于将电机控制器PCBA板、台式万用表、信号发生器等设备连接在一起,保证设备间正常通信。The functional test adapter board is used to connect the motor controller PCBA board, desktop multimeter, signal generator and other devices together to ensure normal communication between devices.
如图2、3、4A和4B所示,所述连接器包括C1、C2、C3、C4、C5、C6、C7、C8和C9。As shown in FIGS. 2 , 3 , 4A and 4B , the connectors include C1 , C2 , C3 , C4 , C5 , C6 , C7 , C8 and C9 .
连接器C3包括C30、C31和C32,其中,C30和C31是电机控制器PCBA板的连接器,C32是工装的连接器,C31还与IGBT替代模块连接。Connector C3 includes C30, C31 and C32, among which C30 and C31 are connectors of the motor controller PCBA board, C32 is a connector of the tooling, and C31 is also connected to the IGBT replacement module.
连接器C4是DB9型CAN连接器,其与测试上位机连接,通过连接器C30与电机控制器PCBA板相连,保证测试上位机与电机控制器PCBA板的网络通信。Connector C4 is a DB9 CAN connector, which is connected to the test host computer and connected to the motor controller PCBA board through connector C30 to ensure network communication between the test host computer and the motor controller PCBA board.
如图5所示,所述旋变模块模拟电机产生旋变信号,用于检测电机控制器PCBA板上的旋变解调模块是否有异常。所述旋变模块包括两个AD633R的乘法器,两个乘法器的引脚Y1、Y2分别接收激励信号EXCP和EXCN;一个乘法器的引脚X1、X2固定接入2.5V和0V,另一个乘法器的引脚X1、X2由继电器控制接入2.5V和0V或者0V和2.5V,切换控制由一个双刀双掷继电器实现;通过乘法器相乘操作后,引脚W分别输出旋变信号SINP和COSP,通过连接器C30加载至电机控制器PCBA板;信号SINN和COSN接2.5V,也通过连接器C30加载至电机控制器PCBA板。As shown in Figure 5, the resolver module simulates the motor to generate a resolver signal, which is used to detect whether the resolver demodulation module on the motor controller PCBA board is abnormal. The resolver module includes two AD633R multipliers, and the pins Y1 and Y2 of the two multipliers receive the excitation signals EXCP and EXCN respectively; the pins X1 and X2 of one multiplier are fixedly connected to 2.5V and 0V, and the pins X1 and X2 of the other multiplier are connected to 2.5V and 0V or 0V and 2.5V by relay control, and the switching control is realized by a double-pole double-throw relay; after the multiplication operation of the multiplier, the pin W outputs the resolver signals SINP and COSP respectively, which are loaded to the motor controller PCBA board through the connector C30; the signals SINN and COSN are connected to 2.5V, and are also loaded to the motor controller PCBA board through the connector C30.
所述拨码开关的按键on一侧的引脚依次与加载模块WP8024的数字量输入通道相连。在调试功能测试系统时,拨码开关为加载模块WP8024提供信号输入,启动测试,用来代替实际测试时工装按钮信号输入。The pins on the button side of the DIP switch are sequentially connected to the digital input channels of the loading module WP8024. When debugging the functional test system, the DIP switch provides signal input for the loading module WP8024 to start the test, which is used to replace the tooling button signal input during the actual test.
所述DCDC模块包括两个电压转换模块,分别为IGBT替代模块和旋变模块提供48V、15V和2.5V电压输入。The DCDC module includes two voltage conversion modules, which provide 48V, 15V and 2.5V voltage inputs for the IGBT replacement module and the resolver module respectively.
所述IGBT替代模块用来替代电机控制器内部真实的三相桥IGBT模块,并通过功能测试转接板上的连接器C31与电机控制器PCBA板连接,开关电源与DCDC模块相连生成48V电源,用于三相桥母线电压模拟。The IGBT replacement module is used to replace the real three-phase bridge IGBT module inside the motor controller, and is connected to the motor controller PCBA board through the connector C31 on the functional test adapter board. The switching power supply is connected to the DCDC module to generate a 48V power supply for three-phase bridge bus voltage simulation.
所述输出电压3.3/5V模块用于实现对信号的上拉和下拉,以及给定电压输入。The output voltage 3.3/5V module is used to realize the pull-up and pull-down of the signal, as well as the given voltage input.
所述加载模块包括1个WP8024和多个WP8027,加载模块的通讯端与测试上位机相连,其中,The loading module includes one WP8024 and multiple WP8027, and the communication end of the loading module is connected to the test host computer, wherein:
WP8027数字量输出通道连接到功能测试转接板上的连接器C7,通过连接器C8与继电器模块的输入驱动端相连。The WP8027 digital output channel is connected to connector C7 on the functional test adapter board and connected to the input drive end of the relay module through connector C8.
WP8024数字量输入通道、继电器输出通道经由功能测试转接板上的连接器C7,直接与连接器C32连接到工装。为方便调试,WP8024数字量输入通道也同拨码开关相连。The WP8024 digital input channel and relay output channel are directly connected to the tooling through connector C7 on the function test adapter board and connector C32. To facilitate debugging, the WP8024 digital input channel is also connected to the DIP switch.
加载模块WP8027根据测试上位机命令做出相应开关动作对继电器进行切换控制,对电机控制器PCBA板加载相应的开关量、电压及电阻型信号,并得到台式万用表所测信号的环境,使台式万用表处于工作状态或者处于非工作状态。加载模块WP8024通过接收测试上位机命令或者工装按钮动作信号,在工装上显示功能测试系统的预留动作及测试状态。The loading module WP8027 makes corresponding switch actions to switch the relay according to the test host computer command, loads the corresponding switch quantity, voltage and resistance type signals to the motor controller PCBA board, and obtains the environment of the signal measured by the desktop multimeter, so that the desktop multimeter is in working state or in non-working state. The loading module WP8024 displays the reserved actions and test status of the functional test system on the tooling by receiving the test host computer command or the tooling button action signal.
继电器模块包括多个继电器,其输入驱动端与功能测试转接板上的连接器C8相连,输出信号端连接到功能测试转接板上的连接器C9,连接器C9分别与连接器C1、C3、C5、C6以及输出电压3.3/5V模块相连。The relay module includes multiple relays, whose input drive end is connected to connector C8 on the function test adapter board, and the output signal end is connected to connector C9 on the function test adapter board. Connector C9 is respectively connected to connectors C1, C3, C5, C6 and the output voltage 3.3/5V module.
程控电源连接到功能测试转接板上的连接器C1,由测试上位机控制输出电压,电压信号顺序通过连接器C1、C9以及C30为电机控制器PCBA板供电。The program-controlled power supply is connected to connector C1 on the functional test adapter board. The output voltage is controlled by the test host computer. The voltage signal sequentially powers the motor controller PCBA board through connectors C1, C9 and C30.
开关电源与功能测试转接板上的连接器C2相连,直接或者间接地为继电器模块、DCDC模块和IGBT替代模块等用于功能测试的设备供电,开关电源输出电压为12V。The switching power supply is connected to the connector C2 on the functional test adapter board, and directly or indirectly supplies power to devices used for functional testing, such as relay modules, DCDC modules, and IGBT replacement modules. The output voltage of the switching power supply is 12V.
台式万用表连接到功能测试转接板上的连接器C5,连接器C5与C9相连,在测试上位机的控制下,测量接入台式万用表各个测试点的电压、电流值。The desktop multimeter is connected to connector C5 on the functional test adapter board, and connector C5 is connected to C9. Under the control of the test host computer, the voltage and current values of each test point connected to the desktop multimeter are measured.
信号发生器连接到功能测试转接板上的连接器C6,由测试上位机控制产生特定波形使电机控制器PCBA板进入测试模式。The signal generator is connected to the connector C6 on the functional test adapter board, and the test host computer controls the generation of a specific waveform to put the motor controller PCBA board into the test mode.
CAN卡与功能测试转接板上的连接器C4相连,再通过连接器C30连接到电机控制器PCBA板,实现测试上位机与电机控制器PCBA板上的单片机的通信。The CAN card is connected to the connector C4 on the functional test adapter board, and then connected to the motor controller PCBA board through the connector C30 to realize the communication between the test host computer and the microcontroller on the motor controller PCBA board.
测试上位机通过RS232、RS485等硬件接口连接程控电源、台式万用表、信号发生器、加载模块和CAN卡。The test host computer is connected to the programmable power supply, desktop multimeter, signal generator, loading module and CAN card through hardware interfaces such as RS232 and RS485.
工装包括多个按钮和指示灯,均通过连接器C32分别连接到加载模块WP8024的数字量输入通道和继电器输出通道,分别与启动测试相关以及显示该功能测试系统的测试状态,包括测试开始、结束、测试进行中。The tooling includes multiple buttons and indicator lights, which are respectively connected to the digital input channel and relay output channel of the loading module WP8024 through connector C32, and are respectively related to the startup test and display the test status of the functional test system, including test start, end, and test in progress.
优选地,所述继电器模块采用多个16路继电器模块,即一个继电器模块上包含16个继电器。Preferably, the relay module adopts a plurality of 16-way relay modules, that is, one relay module includes 16 relays.
优选地,所述程控电源采用GWPSP-405可编程开关直流电源,输出电压默认控制为13V。Preferably, the programmable power supply adopts a GWPSP-405 programmable switching DC power supply, and the output voltage is controlled to 13V by default.
优选地,所述CAN卡采用Kvaser Leaf Light V2 CAN分析仪。Preferably, the CAN card adopts Kvaser Leaf Light V2 CAN analyzer.
优选地,所述信号发生器采用GWAFG-2000系列信号发生器。Preferably, the signal generator adopts a GWAFG-2000 series signal generator.
优选地,所述电机控制器PCBA板进入测试模式的特定波形频率为1.7(+/-0.1)kHz,占空比为37%(+/-1%);Preferably, the specific waveform frequency of the motor controller PCBA board entering the test mode is 1.7 (+/- 0.1) kHz, and the duty cycle is 37% (+/- 1%);
优选地,所述台式万用表采用Agilent33401A数字万用表。Preferably, the desktop multimeter is an Agilent 33401A digital multimeter.
优选地,所述单片机为Infineon-AURIX-TC277单片机。Preferably, the single chip microcomputer is an Infineon-AURIX-TC277 single chip microcomputer.
优选地,测试上位机采用软件LabVIEW制作测试界面,主要有以下作用:Preferably, the test host computer uses the software LabVIEW to create the test interface, which mainly has the following functions:
1、启动测试,运行功能测试系统测试程序,对该功能测试系统进行输入输出控制,暂停或终止测试;1. Start the test, run the functional test system test program, perform input and output control on the functional test system, and pause or terminate the test;
2、实时监控加载模块的信号输入与输出通道状态;2. Real-time monitoring of the signal input and output channel status of the loading module;
3、实时显示功能测试系统的运行信息;3. Real-time display of the operation information of the functional test system;
4、基于加载模块的信号输入与输出通道状态回读功能,实时统计加载模块的各个信号输入输出通道状态切换次数,进而实现对各个继电器的健康状态的监控。4. Based on the signal input and output channel status readback function of the loading module, the number of state switching of each signal input and output channel of the loading module is counted in real time, thereby realizing the monitoring of the health status of each relay.
本发明的一种电机控制器PCBA板的功能测试系统的测试方法,包括以下步骤:A testing method of a functional testing system of a motor controller PCBA board of the present invention comprises the following steps:
1、连接设备,设备初始化;1. Connect the device and initialize it;
2、测试上位机控制信号发生器输出特定波形,通过连接器C6、C9和C30,加载到电机控制器PCBA板,若电机控制器PCBA板检验该加载波形与设定的波形一致,则电机控制器PCBA板进入测试模式;否则测试失败,终止测试。2. Test that the host computer controls the signal generator to output a specific waveform, which is loaded into the motor controller PCBA board through connectors C6, C9 and C30. If the motor controller PCBA board verifies that the loaded waveform is consistent with the set waveform, the motor controller PCBA board enters the test mode; otherwise, the test fails and the test is terminated.
3、启动测试,按下工装启动测试按钮或者通过测试上位机启动测试。3. Start the test by pressing the start test button on the tooling or starting the test through the test host computer.
4、测试上位机顺序发出测试文件指令,对该功能测试系统进行输入输出控制,搭建各项功能测试环境并进行测试。同时在测试文件中记录台式万用表、电机控制器PCBA板上的单片机向测试上位机的反馈值,并将所述反馈值与理论值作对比:若反馈值与理论值吻合或在理论值规定范围内,则该项的测试结果记为通过,否则记为未通过。4. The test host computer issues test file instructions in sequence, performs input and output control on the functional test system, builds various functional test environments and performs tests. At the same time, the feedback values from the desktop multimeter and the microcontroller on the motor controller PCBA board to the test host computer are recorded in the test file, and the feedback values are compared with the theoretical values: if the feedback values match the theoretical values or are within the specified range of the theoretical values, the test result of this item is recorded as passed, otherwise it is recorded as failed.
优选地,步骤4中,所述功能测试还包括电机控制器PCBA板的旋变解调模块的测试,包括以下步骤:Preferably, in step 4, the functional test also includes testing of the resolver demodulation module of the motor controller PCBA board, including the following steps:
4.1、测试上位机通过连接器C4、C30以CAN报文的形式向电机控制器PCBA板的单片机发出读取旋变值指令,单片机输出激励源信号EXCP和EXCN,通过连接器C30将信号输入至功能测试转接板的旋变模块,其旋变输出信号由连接器C30加载至电机控制器PCBA板,通过电机控制器PCBA板的旋变解调模块计算输出旋变值,最后由单片机通过连接器C4将输出旋变值反馈至测试上位机;4.1. The test host computer sends a command to read the resolver value to the microcontroller of the motor controller PCBA board in the form of CAN messages through connectors C4 and C30. The microcontroller outputs excitation source signals EXCP and EXCN, and inputs the signal to the resolver module of the functional test adapter board through connector C30. The resolver output signal is loaded to the motor controller PCBA board through connector C30, and the output resolver value is calculated by the resolver demodulation module of the motor controller PCBA board. Finally, the output resolver value is fed back to the test host computer by the microcontroller through connector C4;
4.2、测试上位机记录并将旋变值与理论值作对比,若旋变值与理论值吻合或在理论值规定范围内,则该项的测试结果记为通过,否则记为未通过。4.2. The test host computer records and compares the resolver value with the theoretical value. If the resolver value is consistent with the theoretical value or is within the specified range of the theoretical value, the test result of this item is recorded as passed, otherwise it is recorded as failed.
优选地,所述单片机为Infineon-AURIX-TC277单片机。Preferably, the single chip microcomputer is an Infineon-AURIX-TC277 single chip microcomputer.
5、若测试文件中每一项的测试结果均为通过,则该电机控制器PCBA板合格,否则,该电机控制器PCBA板为不合格;持续等待再次启动测试。5. If the test results of each item in the test file are passed, the motor controller PCBA board is qualified, otherwise, the motor controller PCBA board is unqualified; continue to wait and start the test again.
6、测试过程中,测试上位机实时监控各个加载模块的信号输入与输出通道状态,实时统计加载模块WP8024数字量输入、继电器输出通道及WP8027数字量输出通道的状态切换次数,即为加载模块控制的各个继电器的使用次数,并实时显示在测试界面上。6. During the test, the test host computer monitors the signal input and output channel status of each loading module in real time, and counts the number of state switching of the loading module WP8024 digital input, relay output channel and WP8027 digital output channel, that is, the number of times each relay controlled by the loading module is used, and displays it in real time on the test interface.
将各个继电器的使用次数与继电器的使用寿命作比较,当出现至少一个继电器的使用次数大于或等于使用寿命时,提示某个地址的加载模块的某一路通道控制的继电器已到达使用寿命,并终止测试,否则继续执行测试。The number of times each relay is used is compared with the service life of the relay. When the number of times at least one relay is used is greater than or equal to the service life, it is prompted that the relay controlled by a channel of a loading module at a certain address has reached its service life and the test is terminated, otherwise the test continues.
以上是对本发明实施例进行了具体的说明,但本发明创造并不限于以上所述实施例。对于任何在本发明精神和原则的前提下做出若干等同的变形或替换以及改进均包含在本申请权利要求所限定的范围内。The above is a specific description of the embodiments of the present invention, but the invention is not limited to the above embodiments. Any equivalent modifications or substitutions and improvements made under the spirit and principle of the present invention are included in the scope defined by the claims of this application.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910801290.2A CN110412976B (en) | 2019-08-28 | 2019-08-28 | A functional test system and test method for a motor controller PCBA board |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910801290.2A CN110412976B (en) | 2019-08-28 | 2019-08-28 | A functional test system and test method for a motor controller PCBA board |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110412976A CN110412976A (en) | 2019-11-05 |
CN110412976B true CN110412976B (en) | 2024-05-28 |
Family
ID=68368958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910801290.2A Active CN110412976B (en) | 2019-08-28 | 2019-08-28 | A functional test system and test method for a motor controller PCBA board |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110412976B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110988648A (en) * | 2019-11-15 | 2020-04-10 | 武汉光庭科技有限公司 | PCBA automatic detection system and method |
CN112345862B (en) * | 2020-11-05 | 2021-10-22 | 山东山大电力技术股份有限公司 | Test tool system and method for three-terminal isolation sampling module |
CN114690737A (en) * | 2020-12-30 | 2022-07-01 | 中车时代电动汽车股份有限公司 | Test system of motor control panel |
CN113325823A (en) * | 2021-05-31 | 2021-08-31 | 重庆川仪速达机电有限公司 | Automatic testing system and method for diesel engine monitor |
CN113687214B (en) * | 2021-08-03 | 2024-07-09 | 浙江台运汽车科技有限公司 | LabVIEW-based assembly printed circuit board detection device and method thereof |
CN113848462A (en) * | 2021-10-27 | 2021-12-28 | 特变电工西安电气科技有限公司 | A kind of automatic test platform and test method for PCBA single board in power electronics industry |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201965484U (en) * | 2011-03-22 | 2011-09-07 | 上海金脉电子科技有限公司 | Simulator for simulating motor resolver signal by multiplier |
CN102566568A (en) * | 2012-02-21 | 2012-07-11 | 奇瑞汽车股份有限公司 | Intelligent testing system and testing method for motor controller of electric vehicle |
CN102854452A (en) * | 2012-08-09 | 2013-01-02 | 宁波恒力达科技有限公司 | Printed circuit board assembly (PCBA) function testing device and testing method thereof |
CN104198868A (en) * | 2014-09-23 | 2014-12-10 | 厦门雅迅网络股份有限公司 | Intelligent tool capable of being flexibly expanded and dynamically configured |
CN105738130A (en) * | 2014-12-08 | 2016-07-06 | 联创汽车电子有限公司 | Electric power steering controller hardware function test board |
CN205844473U (en) * | 2016-05-13 | 2016-12-28 | 广州市思林杰自动化科技有限公司 | A kind of device for testing functions for testing PCBA |
CN107515370A (en) * | 2017-09-11 | 2017-12-26 | 欣旺达电动汽车电池有限公司 | A kind of PCBA detection means and detection method |
CN108181573A (en) * | 2017-12-29 | 2018-06-19 | 深圳怡化电脑股份有限公司 | The test device of PCBA |
WO2018120207A1 (en) * | 2016-12-30 | 2018-07-05 | 深圳配天智能技术研究院有限公司 | Pcba functional testing device and method |
CN207764345U (en) * | 2017-12-13 | 2018-08-24 | 武汉合康电驱动技术有限公司 | A kind of frequency converter PCBA Auto-Test Systems |
CN208399646U (en) * | 2018-07-10 | 2019-01-18 | 上海金脉电子科技有限公司 | Line testing device under motor control panel |
CN210038541U (en) * | 2019-08-28 | 2020-02-07 | 中国农业大学 | Function test system of motor controller PCBA board |
-
2019
- 2019-08-28 CN CN201910801290.2A patent/CN110412976B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201965484U (en) * | 2011-03-22 | 2011-09-07 | 上海金脉电子科技有限公司 | Simulator for simulating motor resolver signal by multiplier |
CN102566568A (en) * | 2012-02-21 | 2012-07-11 | 奇瑞汽车股份有限公司 | Intelligent testing system and testing method for motor controller of electric vehicle |
CN102854452A (en) * | 2012-08-09 | 2013-01-02 | 宁波恒力达科技有限公司 | Printed circuit board assembly (PCBA) function testing device and testing method thereof |
CN104198868A (en) * | 2014-09-23 | 2014-12-10 | 厦门雅迅网络股份有限公司 | Intelligent tool capable of being flexibly expanded and dynamically configured |
CN105738130A (en) * | 2014-12-08 | 2016-07-06 | 联创汽车电子有限公司 | Electric power steering controller hardware function test board |
CN205844473U (en) * | 2016-05-13 | 2016-12-28 | 广州市思林杰自动化科技有限公司 | A kind of device for testing functions for testing PCBA |
WO2018120207A1 (en) * | 2016-12-30 | 2018-07-05 | 深圳配天智能技术研究院有限公司 | Pcba functional testing device and method |
CN107515370A (en) * | 2017-09-11 | 2017-12-26 | 欣旺达电动汽车电池有限公司 | A kind of PCBA detection means and detection method |
CN207764345U (en) * | 2017-12-13 | 2018-08-24 | 武汉合康电驱动技术有限公司 | A kind of frequency converter PCBA Auto-Test Systems |
CN108181573A (en) * | 2017-12-29 | 2018-06-19 | 深圳怡化电脑股份有限公司 | The test device of PCBA |
CN208399646U (en) * | 2018-07-10 | 2019-01-18 | 上海金脉电子科技有限公司 | Line testing device under motor control panel |
CN210038541U (en) * | 2019-08-28 | 2020-02-07 | 中国农业大学 | Function test system of motor controller PCBA board |
Also Published As
Publication number | Publication date |
---|---|
CN110412976A (en) | 2019-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110412976B (en) | A functional test system and test method for a motor controller PCBA board | |
CN101937222B (en) | Board Level Test System | |
CN103869260B (en) | A kind of power detecting system and method | |
CN205067685U (en) | Verification device of chip | |
CN108761328A (en) | Electric tool switch test device and system | |
CN103412203A (en) | Motor variable-frequency driver aging test device and test method thereof | |
CN210038541U (en) | Function test system of motor controller PCBA board | |
CN114966384A (en) | Relay durability test method, device, equipment and storage medium | |
CN105929278A (en) | System and method for high voltage testing of converting module | |
CN115079076A (en) | A measuring device, method, terminal and storage medium for component aging equipment | |
CN105606922A (en) | Multi-frequency-converter aging test method and system based on LabVIEW | |
CN117406054A (en) | IGBT driving chip test system | |
CN100416287C (en) | A method and device for testing UPS control unit | |
CN216209527U (en) | GPIO interface state testing device | |
CN206696311U (en) | A test system and test fixture for a fast charger | |
CN204964642U (en) | Automatic test platform's test system | |
CN209215495U (en) | Aircraft battery charging current limiter device automatic testing stand | |
CN209728111U (en) | A kind of single-board testing equipment | |
CN208596211U (en) | A kind of automobile fuse performance detection device | |
CN116859894B (en) | Automatic test method for helicopter internal electronic regulator based on multi-agent technology | |
CN215375496U (en) | Intelligent test platform of converter voltage endurance ability | |
CN222734678U (en) | A hard disk tester with one-button control of power on and off | |
CN221977004U (en) | Test system of battery management system | |
RU230027U1 (en) | POWER MODULE TEST BENCH | |
CN221551114U (en) | Controller detecting 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |