Electric control board testing method and testing system

Through simple electric control board testing methods and test systems, using matching test fixtures and human-computer interactive interfaces, the problem of long development and debugging of electric control board test systems in the existing technology is solved, and rapid line change and flexibility are achieved Configuration, suitable for small batch production, improves production efficiency and line change speed.

CN111366835BActive Publication Date: 2025-01-07GUANGDONG CHICO ELECTRONIC INC +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010093151.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-14
Publication Date
2025-01-07
Estimated Expiration
2040-02-14

AI Technical Summary

Technical Problem

The development and commissioning of existing electronic control board test systems is long, which is difficult to meet the production needs of electronic control boards with diverse functional combinations, and is not conducive to small-scale production, high production costs, and low line replacement efficiency.

Method used

Using simple electronic control board testing methods and testing systems, through matching test fixtures and human-computer interactive interfaces, rapid wire change and flexible configuration of test items and thresholds are achieved. The independent control board and electronic control board communicate with each other, which is suitable for different Production of functional combination control board.

Benefits of technology

It improves product line replacement speed and production efficiency, saves development time and cost, is suitable for small batch production, and is convenient for real-time viewing of test results and analyzing the causes of defects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111366835B_ABST
    Figure CN111366835B_ABST
Patent Text Reader

Abstract

The present application discloses a method and system for testing an electric control board. The method includes the following steps: placing the electric control board into a test fixture; the functional module of the control board is connected to the detection port signal of the electric control board through the test fixture; the processor of the control board is connected to the MCU of the electric control board through the test fixture; the processor runs the test program, and the MCU runs the self-test program; the test items and test thresholds are set to the test program through the human-computer interaction interface; the start button is pressed to start the automatic test; the test program sends a test instruction to the self-test program, and controls the functional module to output and / or read the test signal; the self-test program parses and executes the test instruction, and feeds back the test result to the test program; the human-computer interaction interface displays the test status and test result. The test system based on the above method is suitable for electric control board products with various functional combinations, which can save the development time of the test system and meet the production needs of small batches of electric control boards.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a test method and a test system for an electric control board. Background Art

[0002] Electronic control boards are mainly used to control heat pumps, air conditioners and other electrical appliances. In the production of electronic control boards, a general FCT system is usually used to perform functional tests on the electronic control board PCBA after SMT to prevent defective products from flowing to the next process. Usually, a set of FCT systems needs to be developed for an electronic control board product. The development and debugging of the FCT system takes a long time, and it is difficult to train production line workers. It cannot meet the production needs of electronic control boards with diverse functional combinations. In addition, the use of a general FCT system has high production costs, which is not conducive to the production of small batches of electronic control boards. Summary of the invention

[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a simple electric control board testing method and testing system, which can facilitate line change of production line, improve product line change speed and be suitable for small batch production of electric control boards.

[0004] According to the first aspect of the present application, the electric control board testing method includes the following steps:

[0005] Place the electronic control board into the test fixture;

[0006] The functional module of the control board is connected to the monitoring module of the electric control board by signal through the test fixture and the detection port of the electric control board;

[0007] The processor of the control board is communicatively connected with the MCU of the electric control board through the test fixture;

[0008] The processor runs a test program, and the MCU runs a self-test program;

[0009] Setting test items and test thresholds for the test program through a human-computer interaction interface;

[0010] Press the start button to start the automatic test;

[0011] The test program sends a test instruction to the self-test program, and controls the functional module to output and / or read a test signal;

[0012] The self-test program parses and executes the test instructions, controls the MCU and the monitoring module to perform the test actions, and feeds back the test results to the test program;

[0013] The human-computer interaction interface displays the test status and test results.

[0014] The electric control board testing method according to the first aspect of the present application has at least the following beneficial effects:

[0015] By using test fixtures that match the electric control board, different fixtures can be replaced according to different products without replacing the entire set of test equipment, which is convenient for product line change; by setting test items and test thresholds, test items can be selected according to actual needs, which is suitable for electric control boards with different functional combinations, without replacing test equipment and re-debugging test programs, improving production efficiency. The human-computer interaction interface makes it easy to set test items and test thresholds, allowing users to view test results in real time.

[0016] According to some embodiments of the present application, the test items include phase sequence detection, electrical characteristics detection, switch detection, expansion valve detection, storage chip detection and communication port detection, and the functional module includes a phase sequence switching unit, an electrical characteristics unit, a switch unit and an electronic expansion valve unit.

[0017] According to some embodiments of the present application, the phase sequence detection includes the following steps:

[0018] The test program sends a phase sequence detection instruction to the self-test program;

[0019] The phase sequence switching unit outputs a positive phase sequence to a phase sequence input terminal of the detection port, and the self-test program detects a signal at the phase sequence input terminal;

[0020] The phase sequence switching unit outputs a reverse phase sequence to the phase sequence input terminal, and the self-test program detects a signal from the phase sequence input terminal;

[0021] The phase sequence switching unit outputs a phase-loss signal to the phase sequence input terminal, and the self-test program detects the signal at the phase sequence input terminal;

[0022] The self-test program sends the test results to the test program.

[0023] According to some embodiments of the present application, the electrical characteristic detection includes temperature detection, voltage detection and current detection;

[0024] The temperature detection comprises the following steps:

[0025] The test fixture is connected to a resistor of a specific resistance value at the temperature input terminal of the monitoring module;

[0026] The test program sends a temperature detection instruction to the self-test program;

[0027] The self-test program measures the resistance of the resistor and calculates the corresponding temperature value through a characteristic curve of temperature and resistance;

[0028] The self-test program sends the test results to the test program;

[0029] The voltage detection comprises the following steps:

[0030] The electrical characteristic unit is signal-connected to the voltage output terminal of the detection port;

[0031] The test procedure measures a voltage value at the voltage output terminal;

[0032] The current detection comprises the following steps:

[0033] The electrical characteristic unit outputs an analog voltage to the current input terminal of the detection port;

[0034] The test program sends a current detection instruction to the self-test program;

[0035] The self-checking program measures the analog voltage of the current input terminal and calculates the corresponding current value;

[0036] The self-test program sends the test results to the test program.

[0037] According to some embodiments of the present application, the switch detection includes dip switch detection, relay detection and switch input detection;

[0038] The dip switch detection comprises the following steps:

[0039] Setting the DIP switch on the electric control panel to a specific position;

[0040] The test program sends a DIP switch detection instruction to the self-test program;

[0041] The self-test program reads the state of the dip switch and sends the state of the dip switch to the test program;

[0042] The relay detection comprises the following steps:

[0043] The switch unit is signal-connected to the relay output terminal of the detection port;

[0044] The test program sends a relay detection instruction to the self-test program;

[0045] The self-checking program controls the relay output terminal to output a closing signal to the switch unit;

[0046] The test program reads the state of the relay output terminal through the switch unit;

[0047] The switch input detection comprises the following steps:

[0048] The analog switch of the switch unit is signal-connected to the switch input terminal of the detection port;

[0049] The test program controls the analog switch to be disconnected;

[0050] The test program sends a test instruction to the self-test program, and the self-test program reads the state of the switch input terminal;

[0051] The test program controls the analog switch to close. If the self-check program detects that the switch input terminal is in a closed state, the switch input function of the electric control board is normal.

[0052] The self-test program sends the test results to the test program.

[0053] According to some embodiments of the present application, the electronic expansion valve detection includes the following steps:

[0054] The input end of the electronic expansion valve unit is signal-connected to the drive output end of the detection port;

[0055] The test program sends a test instruction to the self-test program, requesting the drive output end to output a four-phase eight-beat drive pulse;

[0056] The driving output terminal outputs the driving pulse;

[0057] The electronic expansion valve unit detects whether the driving pulse is a four-phase eight-beat pulse signal;

[0058] The test program reads the test result of the electronic expansion valve unit.

[0059] According to some embodiments of the present application, the memory chip detection includes the following steps:

[0060] The test program sends a memory chip test instruction to the self-test program;

[0061] The self-test program writes reference data into the storage chip of the electric control board;

[0062] The self-test program reads out data from the storage chip;

[0063] The self-checking program compares whether the read data and the reference data are consistent;

[0064] The self-test program sends the test results to the test program.

[0065] According to some embodiments of the present application, the communication port detection includes the following steps:

[0066] The test program sends a communication port test instruction to the self-test program;

[0067] The self-test program sends protocol data containing raw data to the test program;

[0068] The test program extracts parsed data from the protocol data according to the communication protocol. If the parsed data is the same as the original data, it is determined that the communication protocol is correctly executed and the communication port functions normally.

[0069] A test system according to an embodiment of the second aspect of the present application includes:

[0070] A control panel, the control panel comprising a processor, a first storage medium, a functional module, a touch screen, a first power module, a start button and an emergency stop button, the processor is connected to the first storage medium, the functional module, the touch screen, the first power module, the start button and the emergency stop button signals, the first power module is connected to the touch screen, the first storage medium and the functional module, the test program of the first aspect embodiment is stored in the first storage medium, and the processor executes the test program;

[0071] An electric control board, wherein the electric control board is provided with an MCU, a second storage medium, a second power module, a monitoring module and a detection port, the MCU is connected to the second storage medium, the second power module and the monitoring module, the second power module is connected to the second storage medium, the monitoring module and the detection port, the monitoring module is connected to the detection port, the self-test program of the above-mentioned first aspect embodiment is stored in the second storage medium, and the MCU executes the self-test program;

[0072] The test fixture is provided with a temperature simulation resistor, the processor is communicatively connected with the MCU through the test fixture, and the functional module is connected with the detection port through the test fixture.

[0073] The test system according to the second aspect of the present application has at least the following beneficial effects:

[0074] The control board and the electric control board are independent of each other and communicate with each other. When the product line is changed, the test fixture can be simply replaced to match the electric control board with different shapes and detection ports, which is convenient and easy to use. For electric control boards with different functional combinations, the test items of the control board can be set through the touch screen without recompiling the test program, saving the development time and development cost of the test system, which is suitable for small-batch production of electric control boards. At the same time, the test results can also be viewed through the touch screen, which is convenient for analyzing the causes of defects and improving production efficiency.

[0075] According to some embodiments of the present application, the test system further includes an intelligent terminal device, which is communicatively connected to the control board and is used to store, count and generate reports on the test results.

[0076] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0078] Figure 1 A flow chart of an electric control board testing method provided for one embodiment of the present application;

[0079] Figure 2 A functional block diagram of a test system provided for one embodiment of the present application;

[0080] Figure 3 A schematic diagram of the connection between a control board and an electric control board provided for one embodiment of the present application;

[0081] Figure 4 A phase sequence detection flow chart provided for one embodiment of the present application;

[0082] Figure 5 An electrical characteristics detection flow chart provided for one embodiment of the present application;

[0083] Figure 6 A switch detection flow chart provided for one embodiment of the present application;

[0084] Figure 7 An expansion valve detection flow chart provided for one embodiment of the present application;

[0085] Figure 8 A memory chip detection flow chart provided for one embodiment of the present application;

[0086] Fig. 9 A communication port detection flow chart provided for one embodiment of the present application;

[0087] Fig.10 A schematic diagram of a parameter setting interface in a human-computer interaction interface provided by an embodiment of the present application;

[0088] Fig.11 A schematic diagram of a test configuration interface in a human-computer interaction interface provided by an embodiment of the present application;

[0089] Fig.12 A schematic diagram of a fault query interface in a human-computer interaction interface provided for one embodiment of the present application. DETAILED DESCRIPTION

[0090] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.

[0091] In the description of this application, if there is a description of first or second, it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0092] In the description of this application, unless otherwise clearly defined, words such as setting and connecting should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above words in this application based on the specific content of the technical solution.

[0093] The electric control board testing method according to the first aspect of the present application is described in detail below with reference to the accompanying drawings.

[0094] Reference Figure 1 and Figure 2As shown, an embodiment of the present application provides an electric control board testing method, comprising the following steps: placing the electric control board 300 into a test fixture 100; the functional module 220 of the control board 200 is connected to the monitoring module 340 of the electric control board 300 through the test fixture 100 and the detection port 320 of the electric control board 300 by signal; the processor 210 of the control board 200 is connected to the MCU310 of the electric control board 300 through the test fixture 100; the processor 210 runs the test program, and the MCU310 runs the self-test program; the test items and test thresholds are set to the test program through the human-computer interaction interface; the start button 240 is pressed to start the automatic test; the test program sends a test instruction to the self-test program, and controls the functional module 220 to output and / or read the test signal; the self-test program parses and executes the test instruction, controls the MCU310 and the monitoring module 340 to perform the test action, and feeds back the test result to the test program; the human-computer interaction interface displays the test status and test result. The test fixture 100 serves to fix the electric control board 300 and connect the electric control board 300 with the control board 200. The input pins and output pins of the functional module 220 of the control board 200 are connected to the test fixture 100 through a flat cable. The test fixture 100 is provided with a pin connected to the flat cable signal. The pin contacts the detection port 320 of the electric control board 300. The functional module 220 outputs a test signal to the detection port 320 and reads the output signal of the detection port 320 through the flat cable and the pin. The MCU 310 of the electric control board 300 and the processor 210 of the control board 200 use a 485 communication interface for wired communication. The processor 210 sends test instructions and test data to the MCU 310 through the 485 communication interface, and the MCU 310 sends test results to the processor 210 through the 485 communication interface. The human-computer interaction interface provides a user interface for selecting test items and setting test thresholds. The control board 200 feeds back the test status and test results on the human-computer interaction interface. In addition, the test program executed by the processor 210 is stored in the first storage medium 230 of the control board 200; the self-test program executed by the MCU310 is stored in the second storage medium 330 of the electric control board 300. It should also be noted that before the test, the control board 200 is connected to the external power supply 500, and the electric control board 300 is connected to the power supply through the control board 200 and the test fixture 100. Through this embodiment, in the production of the electric control board 300, the corresponding test fixture 100 is replaced according to different models of the electric control board 300, and there is no need to replace the entire test system, which can facilitate the replacement of products on the production line; secondly, by setting the test items and test thresholds through the human-computer interaction interface, the test items can be selected according to actual needs, so that the test system is suitable for electric control boards 300 with different functions, saving time in developing new test systems; in addition, the human-computer interaction interface can facilitate viewing of test results, which is helpful for defect analysis.

[0095] refer to Fig.10 , Fig.11 and Fig.12 Another embodiment of the present application provides a human-computer interaction interface, including a parameter setting interface, a test configuration interface and a fault query interface. The test threshold of the test item can be set through the parameter setting interface. When the test result is within the test threshold range, the test program determines that the test result is normal. When the test result is not within the test threshold range, the test program determines that the test result is abnormal. The test configuration interface is used to select the items to be tested, and the test program can execute the corresponding test items according to the functions of the electric control board. The fault query interface is used to view the modules with bad electric control boards in the test results.

[0096] refer to Figure 2 and Figure 3 Another embodiment of the present application provides an electric control board test method, wherein the test items include phase sequence detection, electrical characteristic detection, switch detection, expansion valve detection, storage chip detection and communication port detection, and correspondingly, the functional module 220 on the control board 200 is provided with a phase sequence switching unit 221, an electrical characteristic unit 222, a switch unit 223 and an electronic expansion valve unit 224. Through this embodiment, corresponding test items can be selected according to the actual situation of the electric control board, avoiding the need to develop a new test system due to different product functions, and saving the development time and development cost of new products.

[0097] refer to Figure 2 , Figure 3 and Figure 4 Another embodiment of the present application provides a phase sequence detection method, comprising the following steps: the test program sends a phase sequence detection instruction to the self-test program; the phase sequence switching unit 221 outputs a positive phase sequence to the phase sequence input terminal 321 of the detection port 320, and the self-test program detects the signal of the phase sequence input terminal 321; the phase sequence switching unit 221 outputs a negative phase sequence to the phase sequence input terminal 321 of the detection port 320, and the self-test program detects the signal of the phase sequence input terminal 321; the phase sequence switching unit 221 outputs a missing phase signal to the phase sequence input terminal 321 of the detection port 320, and the self-test program detects the signal of the phase sequence input terminal 321; the self-test program sends the test result to the test program. Among them, the input end of the phase sequence switching unit 221 is connected to the three-phase power supply of the mains, the three-phase power supply outputs the positive phase sequence at the output end of the phase sequence switching unit 221 through the positive phase AC contactor, the three-phase power supply outputs the reverse phase sequence at the output end of the phase sequence switching unit 221 through the staggered phase AC contactor, and the three-phase power supply outputs the missing phase sequence at the output end of the phase sequence switching unit 221 through the missing phase AC contactor. Through this embodiment, it can be judged whether the electric control board 300 has the ability to detect the positive phase sequence, the reverse phase sequence and the missing phase sequence.

[0098] refer to Figure 2 , Figure 3 and Figure 5Another embodiment of the present application provides an electrical characteristic detection method, wherein the electrical characteristic detection includes temperature detection, voltage detection and current detection.

[0099] Temperature detection includes the following steps: the test fixture 100 connects a resistor of a specific resistance value to the temperature input terminal of the monitoring module 340; the test program sends a temperature detection instruction to the self-test program; the self-test program measures the resistance value of the resistor and calculates the corresponding temperature value through the characteristic curve of temperature and resistance value; the self-test program sends the test result to the test program. Among them, the temperature simulation resistor 110 is used to simulate the resistance value of the thermistor at a specific temperature. For example, the resistance value of the thermistor is 5.1K ohms at 25°C. If a 5.1K ohm temperature simulation resistor 110 is connected to the temperature input terminal of the monitoring module 340, the self-test program calculates the temperature to be 25°C. Through this embodiment, it can be judged whether the temperature detection function of the electric control board 300 is normal.

[0100] The voltage detection includes the following steps: the electrical characteristic unit 222 is connected to the voltage output terminal 323 of the detection port 320 by signal; the test program measures the voltage value of the voltage output terminal 323. The test program compares the voltage test value with the test threshold value, and when the voltage test value is within the threshold value range, it is determined that the working voltage of the electric control board 300 is normal. Through this embodiment, it is possible to detect whether the working voltage of the electric control board 300 is normal.

[0101] The current detection includes the following steps: the electrical characteristic unit 222 outputs an analog voltage to the current input terminal 324 of the detection port 320; the test program sends a current detection instruction to the self-test program; the self-test program measures the analog voltage of the current input terminal 324 and calculates the corresponding current value; the self-test program sends the test result to the test program. Among them, the test program compares the test value of the current with the test threshold value. When the test value of the current is within the threshold range, it is determined that the current detection function of the electric control board 300 is normal. Through this embodiment, it is possible to detect whether the current detection function of the electric control board 300 is normal.

[0102] refer to Figure 2 , Figure 3 and Figure 6 Another embodiment of the present application provides a switch detection method, wherein the switch detection includes a dip switch detection, a relay detection and a switch input detection.

[0103] The detection of the dip switch includes the following steps: setting the dip switch on the electric control board 300 to a specific position; the test program sends a dip switch detection instruction to the self-test program; the self-test program reads the state of the dip switch and sends the state of the dip switch to the test program. When the key value of the dip switch is in the on state, the state value read by the self-test program should be 1, and when the key value of the dip switch is in the off state, the state value read by the self-test program is 0; the state value of the dip switch is set in the test program, such as 10101010, and each key of the dip switch is set to on, off, on, off, on, off, on, off states according to the state value preset in the test program. When the state value of the dip switch read by the self-test program is the same as the preset value in the test program, it is determined that the function of the dip switch is normal. Through this embodiment, it is possible to detect whether the dip switch of the electric control board 300 is working normally.

[0104] The relay detection includes the following steps: the switch unit 223 is connected to the relay output terminal 325 of the detection port 320 by signal; the test program sends a relay detection instruction to the self-test program; the self-test program controls the relay output terminal 325 to output a closing signal to the switch unit 223; the test program reads the state of the relay output terminal 325 through the switch unit 223. Through this embodiment, it is possible to detect whether the relay of the electric control board 300 can work normally.

[0105] The switch input detection includes the following steps: the analog switch of the switch unit 223 is connected to the switch input terminal 326 of the detection port 320 by signal; the test program controls the analog switch to be disconnected; the test program sends a test instruction to the self-test program, and the self-test program reads the state of the switch input terminal 326; the test program controls the analog switch to be closed, and if the self-test program detects that the switch input terminal 326 is in a closed state, the switch input function of the electric control board is normal. Through this embodiment, it can be checked whether the electric control board 300 can detect the switch signal.

[0106] refer to Figure 2 , Figure 3 and Figure 7 Another embodiment of the present application provides an electronic expansion valve detection method, which includes the following steps: the input end of the electronic expansion valve unit 224 is connected to the drive output end 327 of the detection port 320 by signal; the test program sends a test instruction to the self-test program, requesting the drive output end 327 to output a four-phase eight-beat drive pulse; the drive output end 327 outputs the drive pulse; the electronic expansion valve unit 224 detects whether the drive pulse is a four-phase eight-beat pulse signal; the test program reads the test result of the electronic expansion valve unit 224. Through this embodiment, it can be detected whether the electric control board 300 has the driving ability to drive the electronic expansion valve.

[0107] refer to Figure 2 and Figure 8 Another embodiment of the present application provides a memory chip detection method, which includes the following steps: the test program sends a memory chip test instruction to the self-test program; the self-test program writes reference data to the second storage medium 330 of the electric control board 300; the self-test program reads the read data from the second storage medium 330; the self-test program compares whether the read data and the reference data are consistent; the self-test program sends the test result to the test program. Through this embodiment, it can be detected whether the memory chip of the electric control board 300 can work normally.

[0108] refer to Figure 2 and Fig. 9 Another embodiment of the present application provides a communication port detection method, the communication port detection includes the following steps: the test program sends a communication port test instruction to the self-test program; the self-test program sends protocol data containing original data to the test program; the test program extracts parsed data from the protocol data according to the communication protocol, if the parsed data is the same as the original data, it is determined that the communication protocol is correctly executed and the communication port function is normal. Through this embodiment, it can be detected whether the communication port function of the electric control board 300 is normal.

[0109] The test system of the second embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0110] refer to Figure 2 One embodiment of the present application provides a test system, including a test fixture 100, a control board 200 and an electric control board 300. The test fixture 100 is used to fix the electric control board 300 and to connect the control board 200 and the electric control board 300. The test fixture 100 is provided with a temperature simulation resistor 110 for detecting whether the temperature test function of the electric control board 300 is normal. The temperature simulation resistor 110 is connected to the monitoring module 340 of the electric control board 300 by signal.

[0111] The control board 200 includes a processor 210, a first storage medium 230, a first power module 270, a functional module 220, a start button 240, a touch screen 250 and an emergency stop button 260, and the electric control board 300 includes an MCU 310, a second storage medium 330, a detection port 320, a monitoring module 340 and a second power module 350.

[0112] The processor 210 of the control board 200 is connected to the function module 220 by signal, and the processor 210 controls the function module 220 to complete the test action on the electric control board 300; the processor 210 is connected to the start button 240 by signal, and the start button 240 is used to start the automatic test; the processor 210 and the MCU310 are connected by communication through the test fixture 100, and the communication interface adopts the 485 communication interface. The processor 210 sends test instructions to the MCU310 and receives the test results sent by the MCU310 through the 485 communication interface; the first power supply module 270 provides working voltage for the processor 210, the first storage medium 230, the function module 220 and the touch screen 250; the function module 220 and the first power supply module 270 are connected to the detection port 320 by signal through the test fixture 100, and the output end of the first power supply module 270 and the input / output pin of the function module 220 are connected to the test fixture by wiring. The test fixture 100 is provided with a pin connected to the wiring signal, the pin contacts the detection port 320 of the electric control board 300, and the functional module 220 outputs a test signal or reads a test signal to the detection port 320 through the wiring and the pin under the control of the processor 210. The first power module 270 provides a test voltage to the monitoring module 340 of the electric control board 300 through the detection port 320; the first storage medium 230 is connected to the processor 210 and integrated inside the processor 210, the test program is stored in the first storage medium 230, the processor 210 runs the test program and controls the functional module 220 to perform the test task; the touch screen 250 is connected to the processor 210 signal, and the touch screen 250 is used to realize the human-computer interaction interface. The test items and test thresholds of the control board 200 can be set through the human-computer interaction interface, and the test results and test status of each test item can also be viewed through the human-computer interaction interface.

[0113] The second power supply module 350 of the electric control board 300 is electrically connected to the MCU 310, the monitoring module 340, and the second storage medium 330, and provides working voltage for the MCU 310, the monitoring module 340, and the second storage medium 330; the second storage medium 330 is signal-connected to the MCU 310, the self-test program is stored in the second storage medium 330, and the MCU 310 runs the self-test program in the second storage medium 330 and performs a test action according to the test instruction sent by the processor 210; the MCU 310 is signal-connected to the monitoring module 340, and the monitoring module 340 is used to control and monitor controlled equipment such as air conditioners or heat pumps under the control of the MCU 310, and can realize the functions of phase sequence monitoring, current monitoring, temperature monitoring, relay control, switch detection and expansion valve driving; the input / output port of the monitoring module 340 is signal-connected to the detection port 320, and the output end of the second power supply module 350 is signal-connected to the detection port 320, so the working voltage of the electric control board 300 and the function of the monitoring module 340 can be detected through the detection port 320. Whether it is normal.

[0114] In addition, the first power module 270 of the control board 200 is electrically connected to the external power supply 500, and the second power module 350 of the electric control board 300 is connected to the power supply through the control board 200 and the test fixture 100. An emergency stop button 260 is provided on the control board 200, and the emergency stop button 260 is connected to the processor 210 signal. When an emergency occurs, the emergency stop button 260 is pressed to trigger the processor 210 to stop executing the test program and cut off the power supply of the electric control board 300.

[0115] In the test system of this embodiment, the electric control board 300 is connected to the control board 200 through the test fixture 100. When a new product needs to be produced, the electric control board 300 with different shapes and detection ports 320 can be matched by replacing the test fixture 100. For electric control boards 300 with different functions, the test items of the control board 200 can be set through the touch screen 250. It can be seen that this embodiment is convenient for application in the production of different types of electric control boards 300, which can save the development time and cost of the test system. At the same time, the test results can be viewed through the touch screen 250, which is convenient for analyzing the causes of defects and improving production efficiency.

[0116] refer to Figure 2 Another embodiment of the present application provides a test system, which also includes an intelligent terminal device 400. The intelligent terminal device 400 is connected to the processor 210 of the control panel 200 through a UART communication interface. The intelligent terminal device 400 and the processor 210 can send and receive data through the UART communication interface. The intelligent terminal device 400 is used to store and count the test results, and can export Excel reports. Through this embodiment, the test results can be stored in a storage medium other than the control panel 200, and the computing power of the intelligent terminal device 400 can be used to count the bad conditions and generate intuitive production status reports, which can reduce the workload of the control panel 200 while facilitating analysis.

[0117] The embodiments of the present application are described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above embodiments. Various changes can be made within the knowledge scope of ordinary technicians in the technical field without departing from the purpose of the present application.

Claims

1. A method for testing an electric control board, characterized in that: The following steps are involved: Place the electronic control board into the test fixture; The functional module of the control board is connected to the monitoring module of the electric control board by signal through the test fixture and the detection port of the electric control board; The processor of the control board is communicatively connected with the MCU of the electric control board through the test fixture; The processor runs a test program, and the MCU runs a self-test program; Setting test items and test thresholds for the test program through a human-computer interaction interface; Press the start button to start the automatic test; The test program sends a test instruction to the self-test program, and controls the functional module to output and / or read a test signal; The self-test program parses and executes the test instructions, controls the MCU and the monitoring module to perform the test actions, and feeds back the test results to the test program; The human-computer interaction interface displays the test status and test results.

2. The electric control board testing method according to claim 1, characterized in that: The test items include phase sequence detection, electrical characteristics detection, switch detection, expansion valve detection, storage chip detection and communication port detection, and the functional module includes a phase sequence switching unit, an electrical characteristics unit, a switch unit and an electronic expansion valve unit.

3. The electric control board testing method according to claim 2, characterized in that: The phase sequence detection comprises the following steps: The test program sends a phase sequence detection instruction to the self-test program; The phase sequence switching unit outputs a positive phase sequence to a phase sequence input terminal of the detection port, and the self-test program detects a signal at the phase sequence input terminal; The phase sequence switching unit outputs a reverse phase sequence to the phase sequence input terminal, and the self-test program detects a signal from the phase sequence input terminal; The phase sequence switching unit outputs a phase-loss signal to the phase sequence input terminal, and the self-test program detects the signal at the phase sequence input terminal; The self-test program sends the test results to the test program.

4. The electric control board testing method according to claim 2, characterized in that: The electrical characteristic detection includes temperature detection, voltage detection and current detection; The temperature detection comprises the following steps: The test fixture is connected to a resistor of a specific resistance value at the temperature input terminal of the monitoring module; The test program sends a temperature detection instruction to the self-test program; The self-test program measures the resistance of the resistor and calculates the corresponding temperature value through a characteristic curve of temperature and resistance; The self-test program sends the test results to the test program; The voltage detection comprises the following steps: The electrical characteristic unit is signal-connected to the voltage output terminal of the detection port; The test procedure measures a voltage value at the voltage output terminal; The current detection comprises the following steps: The electrical characteristic unit outputs an analog voltage to the current input terminal of the detection port; The test program sends a current detection instruction to the self-test program; The self-checking program measures the analog voltage of the current input terminal and calculates the corresponding current value; The self-test program sends the test results to the test program.

5. The electric control board testing method according to claim 2, characterized in that: The switch detection includes dip switch detection, relay detection and switch input detection; The dip switch detection comprises the following steps: Setting the DIP switch on the electric control panel to a specific position; The test program sends a DIP switch detection instruction to the self-test program; The self-test program reads the state of the dip switch and sends the state of the dip switch to the test program; The relay detection comprises the following steps: The switch unit is signal-connected to the relay output terminal of the detection port; The test program sends a relay detection instruction to the self-test program; The self-checking program controls the relay output terminal to output a closing signal to the switch unit; The test program reads the state of the relay output terminal through the switch unit; The switch input detection comprises the following steps: The analog switch of the switch unit is signal-connected to the switch input terminal of the detection port; The test program controls the analog switch to be disconnected; The test program sends a test instruction to the self-test program, and the self-test program reads the state of the switch input terminal; The test program controls the analog switch to close. If the self-check program detects that the switch input terminal is in a closed state, the switch input function of the electric control board is normal. The self-test program sends the test results to the test program.

6. The electric control board testing method according to claim 2, characterized in that: The electronic expansion valve detection comprises the following steps: The input end of the electronic expansion valve unit is signal-connected to the drive output end of the detection port; The test program sends a test instruction to the self-test program, requesting the drive output end to output a four-phase eight-beat drive pulse; The driving output terminal outputs the driving pulse; The electronic expansion valve unit detects whether the driving pulse is a four-phase eight-beat pulse signal; The test program reads the test result of the electronic expansion valve unit.

7. The electric control board testing method according to claim 2, characterized in that: The memory chip detection comprises the following steps: The test program sends a memory chip test instruction to the self-test program; The self-test program writes reference data into the storage chip of the electric control board; The self-test program reads out data from the storage chip; The self-checking program compares whether the read data and the reference data are consistent; The self-test program sends the test results to the test program.

8. The electric control board testing method according to claim 2, characterized in that: The communication port detection comprises the following steps: The test program sends a communication port test instruction to the self-test program; The self-test program sends protocol data including raw data to the test program; The test program extracts parsed data from the protocol data according to the communication protocol. If the parsed data is the same as the original data, it is determined that the communication protocol is correctly executed and the communication port functions normally.

9. A testing system, characterized in that: include: A control panel, the control panel comprising a processor, a first storage medium, a functional module, a touch screen, a first power module, a start button and an emergency stop button, the processor is connected to the first storage medium, the functional module, the touch screen, the first power module, the start button and the emergency stop button signals, the first power module is connected to the touch screen, the first storage medium and the functional module, the test program according to any one of claims 1 to 8 is stored in the first storage medium, and the processor executes the test program; An electric control board, wherein the electric control board is provided with an MCU, a second storage medium, a second power module, a monitoring module and a detection port, the MCU is connected to the second storage medium, the second power module and the monitoring module, the second power module is connected to the second storage medium, the monitoring module and the detection port, the monitoring module is connected to the detection port, the self-test program according to any one of claims 1 to 8 is stored in the second storage medium, and the MCU executes the self-test program; The test fixture is provided with a temperature simulation resistor, the processor is communicatively connected with the MCU through the test fixture, and the functional module is connected with the detection port through the test fixture.

10. The test system according to claim 9, characterized in that: It also includes an intelligent terminal device, which is communicatively connected to the control panel and is used for storing, counting and forming reports of the test results.

Citation Information

Patent Citations

  • Electric control board, control board and test system

    CN211928099U