CN110412976A - A functional testing system and testing method of a motor controller PCBA board - Google Patents
A functional testing system and testing method of a motor controller PCBA board Download PDFInfo
- Publication number
- CN110412976A CN110412976A CN201910801290.2A CN201910801290A CN110412976A CN 110412976 A CN110412976 A CN 110412976A CN 201910801290 A CN201910801290 A CN 201910801290A CN 110412976 A CN110412976 A CN 110412976A
- Authority
- CN
- China
- Prior art keywords
- test
- connector
- pcba board
- module
- electric machine
- 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.)
- Granted
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
本发明涉及电机控制器测试系统领域,特别是一种电机控制器PCBA板的功能测试系统及其测试方法,电机控制器PCBA板的功能测试系统,包括电机控制器PCBA板、工装、功能测试转接板、加载模块、继电器模块、程控电源、信号发生器、CAN卡、台式万用表、开关电源和测试上位机,本发明的电机控制器PCBA板的功能测试系统及其测试方法,基于旋变模块模拟电机产生旋变信号,通过对继电器的控制,实现了电机控制器PCBA板的旋变解调模块的功能测试;通过增添加载模块的实时状态回读功能,实时统计加载模块的各个通道状态切换次数,实现了对各个继电器的健康状态的监控,利于及时发现并解决因继电器频繁切换达到寿命而导致测试失败的问题,提高了测试效率与测试系统稳定性。
The invention relates to the field of motor controller test systems, in particular to a function test system and a test method for a motor controller PCBA board, and a function test system for a motor controller PCBA board, including a motor controller PCBA board, tooling, and a function test switch. Connecting 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 and test method of the motor controller PCBA board of the present invention, based on the resolver module Simulate the motor to generate the resolver signal, and realize the function test of the resolver demodulation module of the motor controller PCBA board through the control of the relay; by adding the real-time status readback function of the loading module, the status switching of each channel of the loading module can be counted in real time The number of times realizes the monitoring of the health status of each relay, which is beneficial to timely discover and solve the problem of test failure caused by frequent switching of relays reaching the end of life, and improves the test efficiency and test system stability.
Description
技术领域technical field
本发明涉及电机控制器测试系统领域,特别是一种电机控制器PCBA板的功能测试系统及其测试方法。The invention relates to the field of motor controller test systems, in particular to a function test system and a test method 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 functional test (Function Test, FCT), that is, to load the motor controller PCBA board with a suitable stimulus, and check the wiring of the motor controller PCBA board. On and off, measure whether the output response meets the requirements.
现有的测试系统中,有采用继电器模块、完善的测量显示功能的万用表,通过数据采集器对若干继电器进行切换控制,来搭建不同测试环境,通过PCBA测试转接板将以上技术联结起来实现对电机控制器PCBA板的功能测试的测试系统。但现有的测试系统有以下不足之处:由于继电器有一定的机械寿命和电气寿命,多次测试中,测试转接板上继电器的频繁切换使得其达到其寿命时,继电器出现异常,导致测试系统不稳定,测试失败。测试系统较简单化,测试功能较单一化。批量生产的电机控制器PCBA板预设的部分功能需求不能得到验证,部分出现缺焊、虚焊、短路等现象的不良电机控制器PCBA板未被筛选出来,增加重工和返工率,且后续的测试设备和方法的介入,既降低测试效率,又提高测试成本。In the existing test system, there are multimeters that use relay modules and perfect measurement and display functions. Through the data collector, a number of relays are switched and controlled to build different test environments. The above technologies are connected through the PCBA test adapter board. Test system for functional testing of motor controller PCBA boards. However, the existing test system has the following disadvantages: 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 the relay abnormal when it reaches its life, which leads to the test The system is unstable and the test failed. The test system is simpler, and the test function is more simplistic. Part of the preset functional requirements of mass-produced motor controller PCBA boards cannot be verified, and some bad motor controller PCBA boards with phenomena such as lack of soldering, virtual soldering, and short circuit have not been screened out, increasing rework and rework rates, and subsequent The intervention of test equipment and methods not only reduces test efficiency, but also increases test cost.
综上,该测试系统有必要进行改进。In summary, the test system needs to be improved.
发明内容Contents of the invention
针对上述问题,本发明的一个目的是提供一种电机控制器PCBA板的功能测试系统,在现有的功能测试基础上,扩充了测试功能,较大程度地保证批量生产的电机控制器PCBA板预设的功能需求得到验证,提高了测试的准确率,并且能够实现对各个继电器的健康状态的监控,有利于及时发现并解决因继电器频繁切换达到寿命而导致测试失败的问题,提高了测试效率与测试系统稳定性。In view of the above problems, an object of the present invention is to provide a functional test system of a motor controller PCBA board, on the basis of the existing functional test, the test function is expanded, and the motor controller PCBA board of mass production is guaranteed to a large extent. The preset functional requirements are 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 test failure caused by frequent switching of relays reaching the end of life, and improves the test efficiency. and test system stability.
本发明的另一个目的是提供一种利用所述电机控制器PCBA板的功能测试系统的测试方法。Another object of the present invention is to provide a testing method using the function testing system of the motor controller PCBA board.
本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:
一种电机控制器PCBA板的功能测试系统,包括电机控制器PCBA板,所述功能测试系统还包括工装、功能测试转接板、加载模块、继电器模块、程控电源、信号发生器、CAN卡、台式万用表、开关电源和测试上位机,其中,A functional testing system of a motor controller PCBA board, including a motor controller PCBA board, the functional testing system also includes a tooling, a functional testing 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替代模块连接;Connector C3 includes C30, C31 and C32, where C30 and C31 are the connectors of the motor controller PCBA board, C32 is the connector of the tooling, and C31 is also connected to 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 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, and is used to detect whether the resolver demodulation module on the PCBA board of the motor controller is abnormal; the resolver module includes two multipliers of AD633R, and the leads of the two multipliers 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 a relay to connect to 2.5V and 0V or 0V and 2.5V, the switching control is realized by a double-pole double-throw relay; after multiplied 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 the button on side of the DIP switch are sequentially connected to the digital input channel of the loading module WP8024;
所述加载模块包括1个WP8024和多个WP8027,加载模块的通讯端与测试上位机相连,其中,The loading module includes 1 WP8024 and multiple WP8027, and the communication terminal 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 connected to the input drive terminal 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 via the connector C7 on the function test adapter board;
继电器模块包括多个继电器,其输入驱动端与功能测试转接板上的连接器C8相连,输出信号端连接到功能测试转接板上的连接器C9,连接器C9分别与连接器C1、C3、C5、C6以及输出电压3.3/5V模块相连;The relay module includes a plurality of relays, the input drive end of which is connected to the connector C8 on the function test adapter board, 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 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 connectors C1, C9 and C30;
开关电源与功能测试转接板上的连接器C2相连,直接或者间接地为继电器模块、DCDC模块和IGBT替代模块等用于功能测试的设备供电;The switching power supply is connected to the connector C2 on the functional test adapter board, directly or indirectly supplying power to devices 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, measure the voltage and current value of each test point connected to the desktop multimeter;
信号发生器连接到功能测试转接板上的连接器C6;The signal generator is connected to the connector C6 on the functional test adapter board;
CAN卡与功能测试转接板上的连接器C4相连,再通过连接器C30连接到电机控制器PCBA板,实现测试上位机与电机控制器PCBA板上的单片机的通信;The CAN card is connected to the connector C4 on the function test adapter board, and then connected to the motor controller PCBA board through the connector C30, so as to realize the communication between the test host computer and the single-chip microcomputer on the motor controller PCBA board;
测试上位机连接程控电源、台式万用表、信号发生器、加载模块和CAN卡;Test the host computer to connect the program-controlled power supply, desktop multimeter, signal generator, loading module and CAN card;
工装包括多个按钮和指示灯,均通过连接器C32分别连接到加载模块WP8024的数字量输入通道和继电器输出通道。The tooling includes multiple buttons and indicator lights, all of which are respectively connected to the digital input channel and relay output channel of the loading module WP8024 through the 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 function 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 through the connector C31 on the function test adapter board and the motor controller PCBA board connect.
WP8024数字量输入通道也同拨码开关相连。The WP8024 digital input channel is also connected with the DIP switch.
所述程控电源采用GWPSP-405可编程开关直流电源,输出电压默认控制为13V。The programmable power supply adopts 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 a Kvaser Leaf Light V2 CAN analyzer.
所述信号发生器采用GWAFG-2000系列信号发生器。The signal generator adopts GWAFG-2000 series signal generator.
一种利用所述的电机控制器PCBA板的功能测试系统的测试方法,所述方法包括以下步骤:A method of testing utilizing the functional testing system of the motor controller PCBA board, the method may further comprise the steps:
1、连接设备,设备初始化;1. Connect the device and initialize the device;
2、测试上位机控制信号发生器输出特定波形,通过连接器C6、C9和C30,加载到电机控制器PCBA板,若电机控制器PCBA板检验该加载波形与设定的波形一致,则电机控制器PCBA板进入测试模式;否则测试失败,终止测试;2. Test the specific waveform output by the host computer control signal generator, 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 device PCBA board enters the test mode; otherwise, the test fails and the test is terminated;
3、启动测试,按下工装启动测试按钮或者通过测试上位机启动测试;3. To start the test, press the tooling start test button or start the test through the test host computer;
4、测试上位机顺序发出测试文件指令,对该功能测试系统进行输入输出控制,搭建各项功能测试环境并进行测试;同时在测试文件中记录台式万用表、电机控制器PCBA板上的单片机向测试上位机的反馈值,并将所述反馈值与理论值作对比:若反馈值与理论值吻合或在理论值规定范围内,则该项的测试结果记为通过,否则记为未通过;4. Test the host computer to issue test file instructions sequentially, control the input and output of the functional test system, build various functional test environments and conduct tests; at the same time, record the direction test of the desktop multimeter and the single-chip microcomputer on the PCBA board of the motor controller in the test file The feedback value of the host computer, 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, 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 for the test to start again;
6、测试过程中,测试上位机实时监控各个加载模块的信号输入与输出通道状态,实时统计加载模块WP8024数字量输入、继电器输出通道及WP8027数字量输出通道的状态切换次数,即为加载模块控制的各个继电器的使用次数,并实时显示在测试界面上;6. During the test process, 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 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 number of times each relay is used and displayed on the test interface in real time;
将各个继电器的使用次数与继电器的使用寿命作比较,当出现至少一个继电器的使用次数大于或等于使用寿命时,提示某个地址的加载模块的某一路通道控制的继电器已到达使用寿命,并终止测试,否则继续执行测试。Compare the number of times of use of each relay with the service life of the relay. When at least one relay is used that is greater than or equal to the service life, it will prompt that the relay controlled by a certain channel of the loading module at a certain address has reached the service life and terminate the service life. test, otherwise continue with the test.
步骤4中,所述功能测试还包括电机控制器PCBA板的旋变解调模块的测试,包括以下步骤: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. The test host computer sends a command to read the resolver value to the single-chip microcomputer of the motor controller PCBA board through the connectors C4 and C30 in the form of CAN messages. The single-chip microcomputer outputs the excitation source signals EXCP and EXCN, and the signal is input to the The resolver module of the function test adapter board, the resolver output signal is transmitted to the motor controller PCBA board by the connector C30, the output resolver value is calculated by the resolver demodulation module of the motor controller PCBA board, and finally the single chip is connected to The converter C4 feeds back the output resolver value to the test host computer;
4.2、测试上位机记录并将旋变值与理论值作对比,若旋变值与理论值吻合或在理论值规定范围内,则该项的测试结果记为通过,否则记为未通过。4.2. Test the records of the 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.
本发明的有益效果在于:The beneficial effects of the present invention are:
1、同现有的测试系统相比较,本发明的电机控制器PCBA板的功能测试系统及其测试方法,通过增添加载模块的信号输入与输出通道的实时状态回读功能,实时统计加载模块的各个信号输入与输出通道状态切换次数,即为加载模块控制的各个继电器的使用次数,进而实现对各个继电器的健康状态的监控。有利于及时发现并解决因继电器频繁切换达到寿命而导致测试失败的问题,提高了测试效率与测试系统稳定性。1. Compared with the existing test system, the functional test system and the test method thereof of the motor controller PCBA board of the present invention, by adding the signal input of the loading module and the real-time state readback function of the output channel, 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, and then realizes the monitoring of the health status of each relay. It is beneficial to timely discover and solve the problem of test failure caused by frequent switching of relays reaching the service 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 function test method and system of the motor controller PCBA board of the present invention have greatly expanded test functions, including generating resolver signals based on a resolver module simulating the motor, and loading the module For relay switching control, the function test of the resolver demodulation module of the motor controller PCBA board is realized, and the preset functional requirements of the mass-produced motor controller PCBA board are verified to a large extent, and the accuracy of the test is improved. Necessary rework testing, while avoiding the intervention of subsequent testing equipment and methods, improving testing efficiency and reducing testing costs.
附图说明Description of drawings
图1为本发明的电机控制器PCBA板的功能测试系统结构示意图;Fig. 1 is the functional test system structural representation of motor controller PCBA board of the present invention;
图2为本发明实施例中连接器C1~C6的引脚图;Fig. 2 is the pin figure of connector C1~C6 in the embodiment of the present invention;
图3为本发明实施例中连接器C7的引脚图;Fig. 3 is the pin figure of connector C7 in the embodiment of the present invention;
图4A和4B为本发明实施例中连接器C8、C9的引脚图;4A and 4B are pin diagrams of connectors C8 and C9 in the embodiment of the present invention;
图5为本发明实施例中的旋变模块的电路原理图。Fig. 5 is a schematic circuit diagram of the resolver module in the embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.
一种电机控制器PCBA板的功能测试系统,所述功能测试用于检查电机控制器PCBA板线路的通断,以及测量其各网络节点的电气波形是否符合预期。A function test system of a motor controller PCBA board, the function test is used to check whether the circuit of the motor controller PCBA board is on or off, and to measure whether the electrical waveforms of its network nodes meet 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, tooling, a functional test adapter board, a loading module, a relay module, a programmable power supply, a signal generator, a CAN card, and a desktop multimeter , switching power supply and test host computer, among them,
功能测试转接板上包括连接器、旋变模块、输出电压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 function 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 equipment.
如图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 connected to the motor controller PCBA board through 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, the pins Y1 and Y2 of the two multipliers respectively receive the excitation signals EXCP and EXCN; 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 by the multiplier, the pin W outputs the resolver signal respectively SINP and COSP are loaded to the motor controller PCBA board through connector C30; signals SINN and COSN are connected to 2.5V, and are also loaded to the motor controller PCBA board through connector C30.
所述拨码开关的按键on一侧的引脚依次与加载模块WP8024的数字量输入通道相连。在调试功能测试系统时,拨码开关为加载模块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. 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 signal input of the tooling button 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 function test adapter board, and the switching power supply is connected to the DCDC module to generate a 48V power supply. Used 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 signals, and the input of a given voltage.
所述加载模块包括1个WP8024和多个WP8027,加载模块的通讯端与测试上位机相连,其中,The loading module includes 1 WP8024 and multiple WP8027, and the communication terminal 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 connected to the input drive terminal of the relay module through the connector C8.
WP8024数字量输入通道、继电器输出通道经由功能测试转接板上的连接器C7,直接与连接器C32连接到工装。为方便调试,WP8024数字量输入通道也同拨码开关相连。WP8024 digital input channels and relay output channels are directly connected to the tooling with connector C32 via connector C7 on the function test adapter board. For the convenience of debugging, the digital input channel of WP8024 is also connected with the DIP switch.
加载模块WP8027根据测试上位机命令做出相应开关动作对继电器进行切换控制,对电机控制器PCBA板加载相应的开关量、电压及电阻型信号,并得到台式万用表所测信号的环境,使台式万用表处于工作状态或者处于非工作状态。加载模块WP8024通过接收测试上位机命令或者工装按钮动作信号,在工装上显示功能测试系统的预留动作及测试状态。The loading module WP8027 makes the corresponding switching action according to the test host computer command to switch the relay, load the corresponding switching value, voltage and resistance signal to the motor controller PCBA board, and obtain 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 from 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 drive end of which is connected to the connector C8 on the function test adapter board, 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 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 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 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, measure the voltage and current value of each test point connected to the desktop multimeter.
信号发生器连接到功能测试转接板上的连接器C6,由测试上位机控制产生特定波形使电机控制器PCBA板进入测试模式。The signal generator is connected to the connector C6 on the functional test adapter board, and the test host computer controls 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 function test adapter board, and then connected to the motor controller PCBA board through the connector C30, so as to realize the communication between the test host computer and the single-chip microcomputer 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 RS232, RS485 and other hardware interfaces.
工装包括多个按钮和指示灯,均通过连接器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 the connector C32, which are respectively related to the start-up test and display the test status of the functional test system, including test start and end , The test is in progress.
优选地,所述继电器模块采用多个16路继电器模块,即一个继电器模块上包含16个继电器。Preferably, the relay module adopts multiple 16-way relay modules, that is, one relay module contains 16 relays.
优选地,所述程控电源采用GWPSP-405可编程开关直流电源,输出电压默认控制为13V。Preferably, the programmable 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 uses a Kvaser Leaf Light V2 CAN analyzer.
优选地,所述信号发生器采用GWAFG-2000系列信号发生器。Preferably, the signal generator is 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 Agilent33401A digital multimeter.
优选地,所述单片机为Infineon-AURIX-TC277单片机。Preferably, the single-chip microcomputer is an Infineon-AURIX-TC277 single-chip microcomputer.
优选地,测试上位机采用软件LabVIEW制作测试界面,主要有以下作用:Preferably, the test host computer adopts software LabVIEW to make the test interface, which mainly has the following effects:
1、启动测试,运行功能测试系统测试程序,对该功能测试系统进行输入输出控制,暂停或终止测试;1. Start the test, run the test program of the functional test system, control the input and output of the functional test system, and suspend or terminate the test;
2、实时监控加载模块的信号输入与输出通道状态;2. Real-time monitoring of the signal input and output channel status of the loading module;
3、实时显示功能测试系统的运行信息;3. Display the running information of the functional test system in real time;
4、基于加载模块的信号输入与输出通道状态回读功能,实时统计加载模块的各个信号输入输出通道状态切换次数,进而实现对各个继电器的健康状态的监控。4. Based on the status readback function of the signal input and output channels of the loading module, the status switching times of each signal input and output channel of the loading module are counted in real time, and then the health status of each relay is monitored.
本发明的一种电机控制器PCBA板的功能测试系统的测试方法,包括以下步骤:The testing method of the functional testing system of a kind of motor controller PCBA board of the present invention, 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 by the host computer control signal generator, 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. To 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 test file instructions in sequence, controls the input and output of the functional test system, builds various functional test environments and conducts tests. At the same time, record the feedback value of the desktop multimeter and the single-chip microcomputer on the motor controller PCBA board to the test host computer in the test file, and compare the feedback value with the theoretical value: if the feedback value matches 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.
优选地,步骤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. The test host computer sends a command to read the resolver value to the single-chip microcomputer of the motor controller PCBA board through the connectors C4 and C30 in the form of CAN messages. The single-chip microcomputer outputs the excitation source signals EXCP and EXCN, and the signal is input to the The resolver module of the function test adapter board, the resolver output signal is loaded to the motor controller PCBA board by the connector C30, the output resolver value is calculated through the resolver demodulation module of the motor controller PCBA board, and finally the single chip is connected to The converter C4 feeds back the output resolver value to the test host computer;
4.2、测试上位机记录并将旋变值与理论值作对比,若旋变值与理论值吻合或在理论值规定范围内,则该项的测试结果记为通过,否则记为未通过。4.2. Test the records of the 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 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 for the test to start again.
6、测试过程中,测试上位机实时监控各个加载模块的信号输入与输出通道状态,实时统计加载模块WP8024数字量输入、继电器输出通道及WP8027数字量输出通道的状态切换次数,即为加载模块控制的各个继电器的使用次数,并实时显示在测试界面上。6. During the test process, 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 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 number of times each relay is used and displayed on the test interface in real time.
将各个继电器的使用次数与继电器的使用寿命作比较,当出现至少一个继电器的使用次数大于或等于使用寿命时,提示某个地址的加载模块的某一路通道控制的继电器已到达使用寿命,并终止测试,否则继续执行测试。Compare the number of times of use of each relay with the service life of the relay. When at least one relay is used that is greater than or equal to the service life, it will prompt that the relay controlled by a certain channel of the loading module at a certain address has reached the service life and terminate the service life. test, otherwise continue with the test.
以上是对本发明实施例进行了具体的说明,但本发明创造并不限于以上所述实施例。对于任何在本发明精神和原则的前提下做出若干等同的变形或替换以及改进均包含在本申请权利要求所限定的范围内。The above is a specific description of the embodiments of the present invention, but the invention of the present invention is not limited to the above-mentioned embodiments. Any equivalent modifications or replacements and improvements made on the premise of the spirit and principles of the present invention are included within the scope defined by the claims of the present application.
Claims (10)
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 true CN110412976A (en) | 2019-11-05 |
CN110412976B 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) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110988648A (en) * | 2019-11-15 | 2020-04-10 | 武汉光庭科技有限公司 | PCBA automatic detection system and method |
CN112345862A (en) * | 2020-11-05 | 2021-02-09 | 山东山大电力技术股份有限公司 | Test tool system and method for three-terminal isolation sampling module |
CN113325823A (en) * | 2021-05-31 | 2021-08-31 | 重庆川仪速达机电有限公司 | Automatic testing system and method for diesel engine monitor |
CN113687214A (en) * | 2021-08-03 | 2021-11-23 | 浙江台运汽车科技有限公司 | LabVIEW-based assembled 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 |
CN114690737A (en) * | 2020-12-30 | 2022-07-01 | 中车时代电动汽车股份有限公司 | Test system of motor control panel |
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 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110988648A (en) * | 2019-11-15 | 2020-04-10 | 武汉光庭科技有限公司 | PCBA automatic detection system and method |
CN112345862A (en) * | 2020-11-05 | 2021-02-09 | 山东山大电力技术股份有限公司 | 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 |
CN113687214A (en) * | 2021-08-03 | 2021-11-23 | 浙江台运汽车科技有限公司 | LabVIEW-based assembled 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 |
Also Published As
Publication number | Publication date |
---|---|
CN110412976B (en) | 2024-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110412976A (en) | A functional testing system and testing method of a motor controller PCBA board | |
CN101937222B (en) | Board Level Test System | |
CN103869260B (en) | A kind of power detecting system and method | |
CN110165782B (en) | High-integration satellite centralized power supply monitoring equipment | |
CN103543399A (en) | Car CAN bus module fully-automatic detection system and method based on PCI board card | |
CN101778007B (en) | System and method for automatically testing I/O pin of CAN bus control module | |
CN108761328A (en) | Electric tool switch test device and system | |
CN210038541U (en) | Function test system of motor controller PCBA board | |
CN104965133A (en) | 1553B data bus network test system | |
CN215219508U (en) | A test fixture for motor controller | |
CN115079076A (en) | A measuring device, method, terminal and storage medium for component aging equipment | |
CN113608514A (en) | A test fixture for machine controller | |
CN111458592A (en) | Auto Lamp Drive Module Automatic Detection System | |
CN117406054A (en) | IGBT driving chip test system | |
CN109885437A (en) | Baseboard management controller BMC, terminal and power-up state diagnotic module, method | |
CN215116573U (en) | Capacitor aging test system | |
CN209728111U (en) | A kind of single-board testing equipment | |
CN113671932A (en) | ECU offline testing device and method | |
CN114397873A (en) | A Comprehensive Test System for Controllers | |
CN116859894B (en) | Automatic test method for helicopter internal electronic regulator based on multi-agent technology | |
CN209624707U (en) | A kind of ICT tester system | |
CN208596211U (en) | A kind of automobile fuse performance detection device | |
CN113204225A (en) | Automobile load simulation device and test method | |
CN221977004U (en) | Test system of battery management system | |
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 |