[go: up one dir, main page]

CN210038541U - Function test system of motor controller PCBA board - Google Patents

Function test system of motor controller PCBA board Download PDF

Info

Publication number
CN210038541U
CN210038541U CN201921409687.9U CN201921409687U CN210038541U CN 210038541 U CN210038541 U CN 210038541U CN 201921409687 U CN201921409687 U CN 201921409687U CN 210038541 U CN210038541 U CN 210038541U
Authority
CN
China
Prior art keywords
motor controller
connector
test
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
Application number
CN201921409687.9U
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.)
China Agricultural University
Original Assignee
China Agricultural University
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 China Agricultural University filed Critical China Agricultural University
Priority to CN201921409687.9U priority Critical patent/CN210038541U/en
Application granted granted Critical
Publication of CN210038541U publication Critical patent/CN210038541U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

本实用新型涉及电机控制器测试系统领域,特别是一种电机控制器PCBA板的功能测试系统,电机控制器PCBA板的功能测试系统,包括电机控制器PCBA板、工装、功能测试转接板、加载模块、继电器模块、程控电源、信号发生器、CAN卡、台式万用表、开关电源和测试上位机,本实用新型的电机控制器PCBA板的功能测试系统,基于旋变模块模拟电机产生旋变信号,通过对继电器的控制,实现了电机控制器PCBA板的旋变解调模块的功能测试;通过增添加载模块的实时状态回读功能,实时统计加载模块的各个通道状态切换次数,实现了对各个继电器的健康状态的监控,利于及时发现并解决因继电器频繁切换达到寿命而导致测试失败的问题,提高了测试效率与测试系统稳定性。

Figure 201921409687

The utility model relates to the field of motor controller test systems, in particular to a function test system of a motor controller PCBA board, and a function test system of the motor controller PCBA board, comprising a motor controller PCBA board, a tool, a function test adapter board, Loading module, relay module, program-controlled power supply, signal generator, CAN card, desktop multimeter, switching power supply and test host computer, the function test system of the motor controller PCBA board of the utility model, based on the resolver module simulates the motor to generate resolver signals , through the control of the relay, the functional test of the resolver demodulation module of the motor controller PCBA board is realized; by adding the real-time state readback function of the loading module, the number of state switching times of each channel of the loading module is counted in real time, and the The monitoring of the health status of the relay is conducive to timely finding and solving the problem of test failure caused by the frequent switching of the relay to reach its life, and improves the test efficiency and the stability of the test system.

Figure 201921409687

Description

一种电机控制器PCBA板的功能测试系统A functional test system for motor controller PCBA board

技术领域technical field

本实用新型涉及电机控制器测试系统领域,特别是一种电机控制器PCBA板的功能测试系统。The utility model relates to the field of motor controller test systems, in particular to a function test system of a motor controller PCBA board.

背景技术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 function test (Function Test, FCT), that is, load appropriate excitations on the motor controller PCBA board, and check the circuit of the motor controller PCBA board. On and off, measure whether the response of the output terminal meets the requirements.

现有的测试系统中,有采用继电器模块、完善的测量显示功能的万用表,通过数据采集器对若干继电器进行切换控制,来搭建不同测试环境,通过PCBA测试转接板将以上技术联结起来实现对电机控制器PCBA板的功能测试的测试系统。但现有的测试系统有以下不足之处:由于继电器有一定的机械寿命和电气寿命,多次测试中,测试转接板上继电器的频繁切换使得其达到其寿命时,继电器出现异常,导致测试系统不稳定,测试失败。测试系统较简单化,测试功能较单一化。批量生产的电机控制器PCBA板预设的部分功能需求不能得到验证,部分出现缺焊、虚焊、短路等现象的不良电机控制器PCBA板未被筛选出来,增加重工和返工率,且后续的测试设备和方法的介入,既降低测试效率,又提高测试成本。In the existing test system, there are multimeters with relay modules and perfect measurement and display functions. Several relays are switched and controlled by the data collector to build different test environments. A test system for functional testing of motor controller PCBA boards. However, the existing test system has the following shortcomings: because the relay has a certain mechanical life and electrical life, in many tests, the frequent switching of the relay on the test adapter board makes it reach its life, the relay is abnormal, resulting in the test The system is unstable and the test fails. The test system is simpler and the test function is simpler. Part of the preset functional requirements of the mass-produced motor controller PCBA board cannot be verified, and some defective motor controller PCBA boards with phenomena such as lack of soldering, virtual soldering, and short circuit have not been screened out, which increases the rework and rework rate, and the subsequent The intervention of test equipment and methods not only reduces the test efficiency, but also increases the test cost.

综上,该测试系统有必要进行改进。In conclusion, it is necessary to improve the test system.

发明内容SUMMARY OF THE INVENTION

针对上述问题,本实用新型的一个目的是提供一种电机控制器PCBA板的功能测试系统,在现有的功能测试基础上,扩充了测试功能,较大程度地保证批量生产的电机控制器PCBA板预设的功能需求得到验证,提高了测试的准确率,并且能够实现对各个继电器的健康状态的监控,有利于及时发现并解决因继电器频繁切换达到寿命而导致测试失败的问题,提高了测试效率与测试系统稳定性。In view of the above-mentioned problems, an object of the present invention is to provide a functional testing system of a motor controller PCBA board, which expands the testing function on the basis of the existing functional testing and ensures the mass-produced motor controller PCBA to a large extent. The preset functional requirements of the board have been verified, which improves the accuracy of the test, and can monitor the health status of each relay, which is conducive to timely discovery and resolution of the problem of test failure caused by the frequent switching of the relay to reach its life, and improves the test Efficiency and test system stability.

本实用新型的目的是通过以下技术方案实现的:The purpose of this utility model is to realize through the following technical solutions:

一种电机控制器PCBA板的功能测试系统,包括电机控制器PCBA板,所述功能测试系统还包括工装、功能测试转接板、加载模块、继电器模块、程控电源、信号发生器、CAN卡、台式万用表、开关电源和测试上位机,其中,A functional test system for a motor controller PCBA board, comprising a motor controller PCBA board, the functional test system further includes tooling, a functional test adapter board, a loading module, a relay module, a program-controlled power supply, a signal generator, a CAN card, Desktop multimeter, switching power supply and test host computer, among which,

功能测试转接板上包括连接器、旋变模块、拨码开关;The functional test adapter board includes connectors, resolver modules, and DIP switches;

所述连接器包括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替代模块连接;The connector C3 includes C30, C31 and C32, wherein, C30 and C31 are the connectors of the motor controller PCBA board, C32 is the connector of the tooling, and C31 is also connected with the IGBT replacement module;

连接器C4是DB9型CAN连接器,其与测试上位机连接,通过连接器C30与电机控制器PCBA板相连;Connector C4 is a DB9-type CAN connector, which is connected to the test host computer, and is 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 a 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, two multipliers lead The pins Y1 and Y2 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 the relay to be connected to 2.5V and 0V or 0V and 2.5V, the switching control is realized by a double-pole double-throw relay; after the multiplication operation by 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 is connected to 2.5V, and is also loaded to the motor controller PCBA board through connector C30;

所述拨码开关的按键on一侧的引脚依次与加载模块WP8024的数字量输入通道相连;The pins on one side of the button on of the DIP switch are sequentially connected with the digital input channel of the loading module WP8024;

所述加载模块包括1个WP8024和多个WP8027,加载模块的通讯端与测试上位机相连,其中,The loading module includes one WP8024 and a plurality of WP8027, and the communication end of the loading module is connected with the test host computer, wherein,

WP8027数字量输出通道连接到功能测试转接板上的连接器C7,通过连接器C8与继电器模块的输入驱动端相连;The WP8027 digital output channel is connected to the connector C7 on the functional test adapter board, and is connected to the input drive end of the relay module through the connector C8;

WP8024数字量输入通道、继电器输出通道经由功能测试转接板上的连接器C7,直接与连接器C32连接到工装;The WP8024 digital input channel and relay output channel are directly connected to the tooling with the connector C32 through the connector C7 on the functional test adapter board;

继电器模块包括多个继电器,其输入驱动端与功能测试转接板上的连接器C8相连,输出信号端连接到功能测试转接板上的连接器C9,连接器C9分别与连接器C1、C3、C5、C6以及输出电压3.3/5V模块相连;The relay module includes a plurality of relays, the input driving end of which is connected to the connector C8 on the functional test adapter board, and the output signal end is connected to the connector C9 on the functional test adapter board, and the connector C9 is respectively connected with the connectors C1 and C3. , C5, C6 and the output voltage 3.3/5V module are connected;

程控电源连接到功能测试转接板上的连接器C1,由测试上位机控制输出电压,电压信号顺序通过连接器C1、C9以及C30为电机控制器PCBA板供电;The program-controlled power supply is connected to the connector C1 on the function test adapter board, and the output voltage is controlled by the test host computer, and the voltage signal sequentially supplies power to the motor controller PCBA board through the connectors C1, C9 and C30;

开关电源与功能测试转接板上的连接器C2相连,直接或者间接地为继电器模块、DCDC模块和IGBT替代模块等用于功能测试的设备供电;The switching power supply is connected to the connector C2 on the functional test adapter board, and directly or indirectly supplies power to the equipment used for functional testing such as relay modules, DCDC modules and IGBT replacement modules;

台式万用表连接到功能测试转接板上的连接器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 realize the communication between the test host computer and the microcontroller on the motor controller PCBA board;

测试上位机连接程控电源、台式万用表、信号发生器、加载模块和CAN卡;Test that the host computer is connected to the program-controlled power supply, desktop multimeter, signal generator, loading module and CAN card;

工装包括多个按钮和指示灯,均通过连接器C32分别连接到加载模块WP8024的数字量输入通道和继电器输出通道。The tooling includes a number of buttons and indicator lights, which are connected to the digital input channel and relay output channel of the loading module WP8024 through the connector C32, respectively.

功能测试转接板上还包括输出电压3.3/5V模块。The function 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. connect.

WP8024数字量输入通道也同拨码开关相连。The WP8024 digital input channel is also connected with the DIP switch.

所述程控电源采用GWPSP-405可编程开关直流电源,输出电压默认控制为13V。The program-controlled power supply adopts GWPSP-405 programmable switching DC power supply, and the output voltage is controlled to be 13V by default.

所述CAN卡采用Kvaser Leaf Light V2 CAN分析仪。The CAN card adopts Kvaser Leaf Light V2 CAN analyzer.

所述信号发生器采用GWAFG-2000系列信号发生器。The signal generator adopts GWAFG-2000 series signal generator.

本实用新型的有益效果在于:The beneficial effects of the present utility model are:

1、同现有的测试系统相比较,本实用新型的电机控制器PCBA板的功能测试系统及其测试方法,通过增添加载模块的信号输入与输出通道的实时状态回读功能,实时统计加载模块的各个信号输入与输出通道状态切换次数,即为加载模块控制的各个继电器的使用次数,进而实现对各个继电器的健康状态的监控。有利于及时发现并解决因继电器频繁切换达到寿命而导致测试失败的问题,提高了测试效率与测试系统稳定性。1. Compared with the existing test system, the function test system of the motor controller PCBA board of the present utility model and the test method thereof, by adding the real-time state readback function of the signal input and output channels of the loading module, the real-time statistics of the loading module The number of state switching times of each signal input and output channel is the number of times of use of each relay controlled by the loading module, so as to monitor the health status of each relay. It is beneficial to discover and solve the problem of test failure caused by the frequent switching of relays to reach the service life in time, and improves the test efficiency and the stability of the test system.

2、同现有的测试系统相比较,本实用新型的电机控制器PCBA板的功能测试方法及系统,测试功能有较大扩充,包括基于一种旋变模块模拟电机产生旋变信号,通过加载模块对继电器切换控制,实现电机控制器PCBA板的旋变解调模块的功能测试,较大程度地保证批量生产的电机控制器PCBA板预设的功能需求得到验证,提高测试的准确率,规避不必要的返工测试,同时避免后续的测试设备和方法的介入,提升测试效率,降低测试成本。2. Compared with the existing test system, the function test method and system of the motor controller PCBA board of the present invention has a large expansion of the test function, including simulating a motor based on a resolver module to generate a resolver signal, and by loading The module controls the relay switching, realizes the functional test of the resolver demodulation module of the motor controller PCBA board, and ensures that the preset functional requirements of the mass-produced motor controller PCBA board are verified to a large extent, improving the test accuracy and avoiding Unnecessary rework tests, while avoiding the intervention of subsequent test equipment and methods, improve test efficiency and reduce test costs.

附图说明Description of drawings

图1为本实用新型的电机控制器PCBA板的功能测试系统结构示意图;Fig. 1 is the functional test system structure schematic diagram of the motor controller PCBA board of the utility model;

图2为本实用新型实施例中连接器C1~C6的引脚图;Fig. 2 is the pin diagram of connectors C1-C6 in the embodiment of the utility model;

图3为本实用新型实施例中连接器C7的引脚图;Fig. 3 is the pin diagram of the connector C7 in the embodiment of the utility model;

图4A和4B为本实用新型实施例中连接器C8、C9的引脚图;4A and 4B are pin diagrams of connectors C8 and C9 in an embodiment of the present invention;

图5为本实用新型实施例中的旋变模块的电路原理图。FIG. 5 is a schematic circuit diagram of a resolver module in an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例,对本实用新型的具体实施方式作进一步详细描述。The specific embodiments of the present utility model will be described in further detail below with reference to the accompanying drawings and embodiments.

一种电机控制器PCBA板的功能测试系统,所述功能测试用于检查电机控制器PCBA板线路的通断,以及测量其各网络节点的电气波形是否符合预期。A functional test system of a motor controller PCBA board, the functional test is used to check the continuity of the circuit of the motor controller PCBA board, and to measure whether the electrical waveform of each network node of the motor controller conforms to expectations.

如图1所示,一种电机控制器PCBA板的功能测试系统包括电机控制器PCBA板、工装、功能测试转接板、加载模块、继电器模块、程控电源、信号发生器、CAN卡、台式万用表、开关电源和测试上位机,其中,As shown in Figure 1, a functional test system of a motor controller PCBA board includes a motor controller PCBA board, tooling, a functional test adapter board, a loading module, a relay module, a program-controlled power supply, a signal generator, a CAN card, and a desktop multimeter. , switching power supply and test host computer, among which,

功能测试转接板上包括连接器、旋变模块、输出电压3.3/5V模块、拨码开关、DCDC模块和IGBT替代模块,其中,The functional test adapter board includes connectors, resolver modules, output voltage 3.3/5V modules, DIP switches, DCDC modules and IGBT replacement modules, among which,

功能测试转接板用于将电机控制器PCBA板、台式万用表、信号发生器等设备连接在一起,保证设备间正常通信。The functional test adapter board is used to connect the motor controller PCBA board, desktop multimeter, signal generator and other equipment together to ensure normal communication between the devices.

如图2、3、4A和4B所示,所述连接器包括C1、C2、C3、C4、C5、C6、C7、C8和C9。As shown in Figures 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替代模块连接。The connector C3 includes C30, C31 and C32, wherein, C30 and C31 are the connectors of the motor controller PCBA board, C32 is the connector of the tooling, and C31 is also connected with the IGBT replacement module.

连接器C4是DB9型CAN连接器,其与测试上位机连接,通过连接器C30与电机控制器PCBA板相连,保证测试上位机与电机控制器PCBA板的网络通信。Connector C4 is a DB9 type CAN connector, which is connected to the test host computer, and is connected to the motor controller PCBA board through the connector C30 to ensure the 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 FIG. 5 , the resolver module simulates a motor to generate a resolver signal, which is used to detect whether the resolver demodulation module on the PCBA board of the motor controller 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 other The pins X1 and X2 of the multiplier are connected to 2.5V and 0V or 0V and 2.5V by the 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 signal respectively SINP and COSP 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 key on side of the DIP switch are sequentially connected with the digital input channel of the loading module WP8024. When debugging the function test system, the DIP switch provides signal input for the loading module WP8024 to start the test, which is used to replace the tool button signal input during the actual test.

所述DCDC模块包括两个电压转换模块,分别为IGBT替代模块和旋变模块提供48V、15V和2.5V电压输入。The DCDC module includes two voltage conversion modules, which respectively provide 48V, 15V and 2.5V voltage inputs for the IGBT replacement module and the resolver module.

所述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, and 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 pull-up and pull-down of signals, and input of a given voltage.

所述加载模块包括1个WP8024和多个WP8027,加载模块的通讯端与测试上位机相连,其中,The loading module includes one WP8024 and a plurality of WP8027, and the communication end of the loading module is connected with the test host computer, wherein,

WP8027数字量输出通道连接到功能测试转接板上的连接器C7,通过连接器C8与继电器模块的输入驱动端相连。The WP8027 digital output channel is connected to the connector C7 on the function test adapter board, and is connected to the input drive end of the relay module through the connector C8.

WP8024数字量输入通道、继电器输出通道经由功能测试转接板上的连接器C7,直接与连接器C32连接到工装。为方便调试,WP8024数字量输入通道也同拨码开关相连。The WP8024 digital input channel and relay output channel are directly connected to the tooling with the connector C32 through the connector C7 on the function test adapter board. For the convenience of debugging, the WP8024 digital input channel is also connected with the DIP switch.

加载模块WP8027根据测试上位机命令做出相应开关动作对继电器进行切换控制,对电机控制器PCBA板加载相应的开关量、电压及电阻型信号,并得到台式万用表所测信号的环境,使台式万用表处于工作状态或者处于非工作状态。加载模块WP8024通过接收测试上位机命令或者工装按钮动作信号,在工装上显示功能测试系统的预留动作及测试状态。The loading module WP8027 makes corresponding switching actions to control the relay according to the command of the test host computer, loads the corresponding switching value, voltage and resistance type signal to the PCBA board of the motor controller, and obtains the environment of the signal measured by the desktop multimeter, so that the desktop multimeter In working state or in non-working state. The loading module WP8024 displays the reserved action and test status of the functional test system on the tooling by receiving the command of the test host computer or the action signal of the tooling button.

继电器模块包括多个继电器,其输入驱动端与功能测试转接板上的连接器C8相连,输出信号端连接到功能测试转接板上的连接器C9,连接器C9分别与连接器C1、C3、C5、C6以及输出电压3.3/5V模块相连。The relay module includes a plurality of relays, the input driving end of which is connected to the connector C8 on the functional test adapter board, and the output signal end is connected to the connector C9 on the functional test adapter board, and the connector C9 is respectively connected with the connectors C1 and C3. , C5, C6 and the output voltage 3.3/5V module are connected.

程控电源连接到功能测试转接板上的连接器C1,由测试上位机控制输出电压,电压信号顺序通过连接器C1、C9以及C30为电机控制器PCBA板供电。The program-controlled power supply is connected to the connector C1 on the function test adapter board, and the output voltage is controlled by the test host computer. The voltage signal sequentially supplies power to the motor controller PCBA board through the 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 the equipment 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 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,由测试上位机控制产生特定波形使电机控制器PCBA板进入测试模式。The signal generator is connected to the connector C6 on the functional test adapter board, and is controlled by the test host computer to generate a specific waveform to make the motor controller PCBA board enter 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 program-controlled power supply, desktop multimeter, signal generator, loading module and CAN card through hardware interfaces such as RS232 and RS485.

工装包括多个按钮和指示灯,均通过连接器C32分别连接到加载模块WP8024的数字量输入通道和继电器输出通道,分别与启动测试相关以及显示该功能测试系统的测试状态,包括测试开始、结束、测试进行中。The tooling includes a number of buttons and indicator lights, which are connected to the digital input channel and relay output channel of the load module WP8024 through the connector C32, respectively, which are related to the start-up test and display the test status of the functional test system, including the start and end of the test. , the test is in progress.

优选地,所述继电器模块采用多个16路继电器模块,即一个继电器模块上包含16个继电器。Preferably, the relay module adopts a plurality of 16-channel relay modules, that is, one relay module includes 16 relays.

优选地,所述程控电源采用GWPSP-405可编程开关直流电源,输出电压默认控制为13V。Preferably, the program-controlled power supply adopts GWPSP-405 programmable switching DC power supply, and the output voltage is controlled to be 13V by default.

优选地,所述CAN卡采用Kvaser Leaf Light V2 CAN分析仪。Preferably, the CAN card adopts a Kvaser Leaf Light V2 CAN analyzer.

优选地,所述信号发生器采用GWAFG-2000系列信号发生器。Preferably, the signal generator adopts 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 adopts an Agilent 33401A digital multimeter.

优选地,所述单片机为Infineon-AURIX-TC277单片机。Preferably, the microcontroller is an Infineon-AURIX-TC277 microcontroller.

优选地,测试上位机采用软件LabVIEW制作测试界面,主要有以下作用:Preferably, the test host computer uses the software LabVIEW to make the test interface, which mainly has the following functions:

1、启动测试,运行功能测试系统测试程序,对该功能测试系统进行输入输出控制,暂停或终止测试;1. Start the test, run the functional test system test program, control the input and output of the functional test system, and suspend or terminate the test;

2、实时监控加载模块的信号输入与输出通道状态;2. Monitor the signal input and output channel status of the loading module in real time;

3、实时显示功能测试系统的运行信息;3. Real-time display of the operation information of the functional test system;

4、基于加载模块的信号输入与输出通道状态回读功能,实时统计加载模块的各个信号输入输出通道状态切换次数,进而实现对各个继电器的健康状态的监控。4. Based on the readback function of the signal input and output channel status of the loading module, the status switching times of each signal input and output channel of the loading module are counted in real time, thereby realizing the monitoring of the health status of each relay.

本实用新型的一种电机控制器PCBA板的功能测试系统的测试方法,包括以下步骤:A test method for a function test system of a motor controller PCBA board of the utility model comprises the following steps:

1、连接设备,设备初始化;1. Connect the device and initialize the device;

2、测试上位机控制信号发生器输出特定波形,通过连接器C6、C9和C30,加载到电机控制器PCBA板,若电机控制器PCBA板检验该加载波形与设定的波形一致,则电机控制器PCBA板进入测试模式;否则测试失败,终止测试。2. Test the specific waveform output from the control signal generator of the host computer, and load it to the motor controller PCBA board through connectors C6, C9 and C30. If the motor controller PCBA board checks that the loaded waveform is consistent with the set waveform, the motor control The 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 sends out the test file instructions in sequence, controls the input and output of the functional test system, builds and tests various functional test environments. At the same time, record the feedback value of the desktop multimeter and the single-chip microcomputer on the PCBA board of the motor controller to the test host computer in the test file, and compare the feedback value with the theoretical value: if the feedback value is consistent with the theoretical value or within the specified range of the theoretical value within, 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 the test 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. Test the host computer through the connectors C4 and C30 to send the read resolver value command to the single-chip microcomputer of the motor controller PCBA board in the form of CAN messages. The single-chip microcomputer outputs the excitation source signals EXCP and EXCN, and inputs the signals to The resolver module of the functional test adapter board, the resolver output signal is loaded to the motor controller PCBA board by the connector C30, and the output resolver value is calculated by the resolver demodulation module of the motor controller PCBA board, and finally connected by the single chip microcomputer. The device C4 feeds back the output resolver value to the test host computer;

4.2、测试上位机记录并将旋变值与理论值作对比,若旋变值与理论值吻合或在理论值规定范围内,则该项的测试结果记为通过,否则记为未通过。4.2. Record the test host computer and compare the resolver value with the theoretical value. If the resolver value is consistent with the theoretical value or 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 microcontroller is an Infineon-AURIX-TC277 microcontroller.

5、若测试文件中每一项的测试结果均为通过,则该电机控制器PCBA板合格,否则,该电机控制器PCBA板为不合格;持续等待再次启动测试。5. If the test result of each item in the test file is passed, the motor controller PCBA board is qualified, otherwise, the motor controller PCBA board is unqualified; continue to wait for the test to be started 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, which is the loading module control The usage times of each relay is displayed on the test interface in real time.

将各个继电器的使用次数与继电器的使用寿命作比较,当出现至少一个继电器的使用次数大于或等于使用寿命时,提示某个地址的加载模块的某一路通道控制的继电器已到达使用寿命,并终止测试,否则继续执行测试。Compare the use times of each relay with the service life of the relays. When the use times of at least one relay is greater than or equal to the service life, it will prompt that the relay controlled by a certain channel of the load module of a certain address has reached the service life and terminates. test, otherwise continue with the test.

以上是对本实用新型实施例进行了具体的说明,但本实用新型创造并不限于以上所述实施例。对于任何在本实用新型精神和原则的前提下做出若干等同的变形或替换以及改进均包含在本申请权利要求所限定的范围内。The embodiments of the present invention are described above in detail, but the invention of the present invention is not limited to the above-mentioned embodiments. Any equivalent modifications or substitutions and improvements made on the premise of the spirit and principle of the present invention are included within the scope defined by the claims of the present application.

Claims (8)

1.一种电机控制器PCBA板的功能测试系统,包括电机控制器PCBA板,其特征在于:1. a functional test system of a motor controller PCBA board, comprising a motor controller PCBA board, is characterized in that: 所述功能测试系统还包括工装、功能测试转接板、加载模块、继电器模块、程控电源、信号发生器、CAN卡、台式万用表、开关电源和测试上位机,其中,The functional test system also includes tooling, functional test adapter board, loading module, relay module, program-controlled power supply, signal generator, CAN card, desktop multimeter, switching power supply and test host computer, wherein, 功能测试转接板上包括连接器、旋变模块、拨码开关;The functional test adapter board includes connectors, resolver modules, and DIP switches; 所述连接器包括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替代模块连接;The connector C3 includes C30, C31 and C32, wherein, C30 and C31 are the connectors of the motor controller PCBA board, C32 is the connector of the tooling, and C31 is also connected with the IGBT replacement module; 连接器C4是DB9型CAN连接器,其与测试上位机连接,通过连接器C30与电机控制器PCBA板相连;Connector C4 is a DB9-type CAN connector, which is connected to the test host computer, and is 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 a motor to generate a resolver signal, which is used to detect whether the resolver demodulation module on the PCBA board of the motor controller is abnormal; the resolver module includes two AD633R multipliers, two multiplier leads The pins Y1 and Y2 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 the relay to be connected to 2.5V and 0V or 0V and 2.5V, the switching control is realized by a double-pole double-throw relay; after the multiplication operation by 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 is connected to 2.5V, and is also loaded to the motor controller PCBA board through connector C30; 所述拨码开关的按键on一侧的引脚依次与加载模块WP8024的数字量输入通道相连;The pins on one side of the button on of the DIP switch are sequentially connected with the digital input channel of the loading module WP8024; 所述加载模块包括1个WP8024和多个WP8027,加载模块的通讯端与测试上位机相连,其中,The loading module includes one WP8024 and a plurality of WP8027, and the communication end of the loading module is connected with the test host computer, wherein, WP8027数字量输出通道连接到功能测试转接板上的连接器C7,通过连接器C8与继电器模块的输入驱动端相连;The WP8027 digital output channel is connected to the connector C7 on the functional test adapter board, and is connected to the input drive end of the relay module through the connector C8; WP8024数字量输入通道、继电器输出通道经由功能测试转接板上的连接器C7,直接与连接器C32连接到工装;The WP8024 digital input channel and relay output channel are directly connected to the tooling with the connector C32 through the connector C7 on the functional test adapter board; 继电器模块包括多个继电器,其输入驱动端与功能测试转接板上的连接器C8相连,输出信号端连接到功能测试转接板上的连接器C9,连接器C9分别与连接器C1、C3、C5、C6以及输出电压3.3/5V模块相连;The relay module includes a plurality of relays, the input driving end of which is connected to the connector C8 on the functional test adapter board, and the output signal end is connected to the connector C9 on the functional test adapter board, and the connector C9 is respectively connected with the connectors C1 and C3. , C5, C6 and the output voltage 3.3/5V module are connected; 程控电源连接到功能测试转接板上的连接器C1,由测试上位机控制输出电压,电压信号顺序通过连接器C1、C9以及C30为电机控制器PCBA板供电;The program-controlled power supply is connected to the connector C1 on the function test adapter board, and the output voltage is controlled by the test host computer, and the voltage signal sequentially supplies power to the motor controller PCBA board through the connectors C1, C9 and C30; 开关电源与功能测试转接板上的连接器C2相连,直接或者间接地为继电器模块、DCDC模块和IGBT替代模块等用于功能测试的设备供电;The switching power supply is connected to the connector C2 on the functional test adapter board, and directly or indirectly supplies power to the equipment used for functional testing such as relay modules, DCDC modules and IGBT replacement modules; 台式万用表连接到功能测试转接板上的连接器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 realize the communication between the test host computer and the microcontroller on the motor controller PCBA board; 测试上位机连接程控电源、台式万用表、信号发生器、加载模块和CAN卡;Test that the host computer is connected to the program-controlled power supply, desktop multimeter, signal generator, loading module and CAN card; 工装包括多个按钮和指示灯,均通过连接器C32分别连接到加载模块WP8024的数字量输入通道和继电器输出通道。The tooling includes a number of buttons and indicator lights, which are connected to the digital input channel and relay output channel of the loading module WP8024 through the connector C32, respectively. 2.如权利要求1所述的电机控制器PCBA板的功能测试系统,其特征在于:功能测试转接板上还包括输出电压3.3/5V模块。2 . The functional testing system of the motor controller PCBA board according to claim 1 , wherein the functional testing adapter board further comprises an output voltage 3.3/5V module. 3 . 3.如权利要求1所述的电机控制器PCBA板的功能测试系统,其特征在于:功能测试转接板上还包括DCDC模块。3 . The functional testing system of the motor controller PCBA board according to claim 1 , wherein the functional testing adapter board further comprises a DCDC module. 4 . 4.如权利要求1所述的电机控制器PCBA板的功能测试系统,其特征在于:功能测试转接板上还包括IGBT替代模块,所述IGBT替代模块用来替代电机控制器内部真实的三相桥IGBT模块,并通过功能测试转接板上的连接器C31与电机控制器PCBA板连接。4. the function test system of the motor controller PCBA board as claimed in claim 1, is characterized in that: the function test adapter plate also comprises IGBT substitute module, and described IGBT substitute module is used to substitute the real three inside the motor controller. The phase bridge IGBT module is connected to the motor controller PCBA board through the connector C31 on the functional test adapter board. 5.如权利要求1所述的电机控制器PCBA板的功能测试系统,其特征在于:WP8024数字量输入通道也同拨码开关相连。5. The functional testing system of the motor controller PCBA board as claimed in claim 1, wherein the WP8024 digital input channel is also connected with the DIP switch. 6.如权利要求1所述的电机控制器PCBA板的功能测试系统,其特征在于:所述程控电源采用GWPSP-405可编程开关直流电源,输出电压默认控制为13V。6. The functional testing system of the motor controller PCBA board according to claim 1, wherein the program-controlled power supply adopts GWPSP-405 programmable switching DC power supply, and the output voltage is controlled to be 13V by default. 7.如权利要求1所述的电机控制器PCBA板的功能测试系统,其特征在于:所述CAN卡采用Kvaser Leaf Light V2CAN分析仪。7. The functional testing system of the motor controller PCBA board as claimed in claim 1, wherein the CAN card adopts a Kvaser Leaf Light V2CAN analyzer. 8.如权利要求1所述的电机控制器PCBA板的功能测试系统,其特征在于:所述信号发生器采用GWAFG-2000系列信号发生器。8. The functional testing system of the motor controller PCBA board according to claim 1, wherein the signal generator adopts the GWAFG-2000 series signal generator.
CN201921409687.9U 2019-08-28 2019-08-28 Function test system of motor controller PCBA board Active CN210038541U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921409687.9U CN210038541U (en) 2019-08-28 2019-08-28 Function test system of motor controller PCBA board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921409687.9U CN210038541U (en) 2019-08-28 2019-08-28 Function test system of motor controller PCBA board

Publications (1)

Publication Number Publication Date
CN210038541U true CN210038541U (en) 2020-02-07

Family

ID=69351293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921409687.9U Active CN210038541U (en) 2019-08-28 2019-08-28 Function test system of motor controller PCBA board

Country Status (1)

Country Link
CN (1) CN210038541U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110412976A (en) * 2019-08-28 2019-11-05 中国农业大学 A functional testing system and testing method of a motor controller PCBA board
CN112904112A (en) * 2021-01-18 2021-06-04 深圳市科创奇科技有限公司 Test system and test method of scooter controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110412976A (en) * 2019-08-28 2019-11-05 中国农业大学 A functional testing system and testing method of a motor controller PCBA board
CN110412976B (en) * 2019-08-28 2024-05-28 中国农业大学 A functional test system and test method for a motor controller PCBA board
CN112904112A (en) * 2021-01-18 2021-06-04 深圳市科创奇科技有限公司 Test system and test method of scooter controller

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
CN108983082A (en) Matrix switch device and system
CN202600108U (en) Testing system for printed circuit board
KR102554814B1 (en) testing system and portable device for charging apparatus of electric vehicle
CN101778007B (en) System and method for automatically testing I/O pin of CAN bus control module
CN102565563A (en) Automated integration test system and method for automotive electronic and electric appliance system
KR102288798B1 (en) testing simulator for charging apparatus of electric vehicle
CN108761328A (en) Electric tool switch test device and system
CN210038541U (en) Function test system of motor controller PCBA board
CN207424668U (en) A kind of HIL real-time testing systems suitable for car body controller
CN106841708A (en) A test method, test fixture and system for a fast charger
CN104965133A (en) 1553B data bus network test system
CN113608514A (en) A test fixture for machine controller
CN117406054A (en) IGBT driving chip test system
CN111458592A (en) Auto Lamp Drive Module Automatic Detection System
CN100416287C (en) A method and device for testing UPS control unit
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
CN113204225A (en) Automobile load simulation device and test method
CN114397873A (en) A Comprehensive Test System for Controllers
CN114441941A (en) Aging test system for linear voltage-stabilizing power supply chip
CN209624707U (en) A kind of ICT tester system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant