Automatic testing method, device and automatic testing system for air conditioner
By adopting automated testing methods in air conditioning testing, and using upper and lower computer systems to generate and execute test commands, the existing problems of accurate and low efficiency of manual testing are solved, and a more comprehensive and efficient air conditioning equipment testing is achieved.
Patent Information
- Application Number
- CN202210589618.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-27
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2042-05-27
AI Technical Summary
The existing methods of manual testing of air conditioners have problems with accuracy and low efficiency, which are prone to human operation errors and require personnel to be equipped, resulting in low testing efficiency.
The automated testing method is adopted, through a combination of the upper computer system and the lower computer system, a test command is generated and the control signal is simulated to be generated, the air conditioner to be tested is controlled, the feedback signal is obtained, the air conditioner working status is determined, and the test report is output.
It realizes automated testing of air-conditioning equipment, with more comprehensive testing functions and shorter testing cycles, improving the accuracy and efficiency of air-conditioning equipment testing and reducing the rate of manual errors.
Smart Images

Figure CN115128390B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automatic testing of air conditioners, and in particular to an automatic testing method, device and automatic testing system for air conditioners. Background Art
[0002] The air-conditioning industry is developing rapidly and the competition in the air-conditioning industry is becoming increasingly fierce. It is becoming increasingly important for air-conditioning manufacturers to conduct factory inspections on air-conditioners. At present, air-conditioning tests often use existing test regulations and manual operations to detect problems with air-conditioning logic, which also exposes a series of problems. First, human operation errors are prone to cause serious mismatches in data parameters, and the accuracy of the test is low; second, manual operation requires people to be around to perform adjustments all the time, resulting in one operator for each machine, which greatly reduces the efficiency of the test. Summary of the invention
[0003] The present invention solves the problem of low accuracy and efficiency in the existing manual testing method for air conditioners.
[0004] To solve the above problems, an embodiment of the present invention provides an automated testing method for an air conditioner, which is applied to an automated testing tool, wherein the automated testing tool includes a host computer system and a slave computer system; the method includes: the host computer system generates a corresponding test command according to the test items input by the user and sends the test command to the slave computer system; the slave computer system simulates and generates a control signal according to the test command, and sends the control signal to the air conditioner to be tested; the control signal includes at least one of the following: a power control signal, a temperature control signal, a remote control simulation signal, and a wire controller simulation signal; the slave computer system obtains a feedback signal of the air conditioner to be tested, and sends the feedback signal to the host computer system; the feedback signal includes at least one of the following: an expansion valve feedback signal, a motor feedback signal, and a high and low pressure detection signal; the host computer system determines whether the working status of the air conditioner to be tested is normal according to the feedback signal.
[0005] In the embodiment of the present invention, the upper computer system can generate corresponding test commands according to the test items input by the user, and the lower computer system can simulate the generation of control signals according to the test commands to control the operation of the air conditioner to be tested, thereby realizing automated testing, with more comprehensive test functions and shorter test cycles, thereby improving the accuracy and efficiency of air conditioning equipment testing.
[0006] Optionally, the lower computer system simulates and generates a control signal according to the test command, including: the lower computer system simulates and generates a temperature control signal according to the temperature test command, and the temperature control signal includes a temperature analog quantity corresponding to the temperature test command; the lower computer system simulates and generates a remote control simulation signal and / or a wire controller simulation signal according to the control test command, and the remote control simulation signal includes a remote controller simulation quantity corresponding to the control test command, and the wire controller simulation signal includes a wire controller simulation quantity corresponding to the control test command.
[0007] In the embodiment of the present invention, the lower computer system can comprehensively test the air conditioning equipment by simulating and generating control signals.
[0008] Optionally, the host computer system generates corresponding test commands according to the test items input by the user, including: the host computer system arranges and combines the test items input by the user as needed to generate multiple test cases; each of the test cases includes at least one test command for controlling the lower computer system.
[0009] In the embodiment of the present invention, the host computer system generates different test logics through system arrangement and combination to meet the specific test requirements of the air conditioner, thereby ensuring the test coverage and avoiding retesting and missing tests.
[0010] Optionally, the method further includes: the host computer system performing modification, addition, and copying operations on the test case to obtain a new test case; or, the host computer system performing a deletion operation on the test case.
[0011] In the embodiment of the present invention, operations such as modification can also be performed on it to facilitate test case management.
[0012] Optionally, the method further includes: the host computer system outputting a test report according to the feedback signal and the working status of the air conditioner to be tested.
[0013] In the embodiment of the present invention, the host computer system can perform software monitoring on the test and automatically output the test, thereby reducing the manual error rate and improving the test efficiency.
[0014] An embodiment of the present invention provides an automated testing device for an air conditioner, characterized in that it is applied to an automated testing tool, the automated testing tool comprising a host computer system and a slave computer system; the device comprises: a test command module, for generating corresponding test commands according to test items input by a user and sending the test commands to the slave computer system; a command control module, for simulating the generation of control signals according to the test commands, and sending the control signals to the air conditioner to be tested; the control signals comprise at least one of the following: a power control signal, a temperature control signal, a remote control simulation signal, and a wire controller simulation signal; a feedback module, for obtaining a feedback signal of the air conditioner to be tested, and sending the feedback signal to the host computer system; the feedback signal comprises at least one of the following: an expansion valve feedback signal, a motor feedback signal, and a high and low pressure detection signal; a working status judgment module, for determining whether the working status of the air conditioner to be tested is normal according to the feedback signal.
[0015] Optionally, the command control module is specifically used to: simulate and generate a temperature control signal according to a temperature test command, the temperature control signal including a temperature analog quantity corresponding to the temperature test command; simulate and generate a remote control simulation signal and / or a wire controller simulation signal according to a control test command, the remote control simulation signal including a remote control analog quantity corresponding to the control test command, and the wire controller simulation signal including a wire controller analog quantity corresponding to the control test command.
[0016] Optionally, the test command module is specifically used to: arrange and combine the test items input by the user as needed to generate multiple test cases; each of the test cases includes at least one test command for controlling the lower computer system.
[0017] An embodiment of the present invention provides an automatic testing system for an air conditioner, comprising a host computer system and a slave computer system; the host computer system comprises a test item input module, a test command generation module, a test report generation module and a communication module; the slave computer system comprises a voltage regulation module, an analog temperature output module, an analog infrared output module, a communication module, an expansion valve detection module, a high and low pressure detection module, a high and low pressure control module, and a motor feedback signal detection module; the host computer system and the slave computer system are used to execute the above method.
[0018] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor, the above method is implemented.
[0019] The automatic testing device and the automatic testing system of the air conditioner provided by the present invention can achieve the same technical effect as the automatic testing method of the air conditioner mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of the entire system of the air conditioning test tool provided by an embodiment of the present invention;
[0021] Figure 2 A schematic flow chart of an automatic testing method for an air conditioner provided in an embodiment of the present invention;
[0022] Figure 3 A schematic diagram of a host computer function list of a test tool provided in an embodiment of the present invention;
[0023] Figure 4 A schematic diagram of the hardware principle of the lower computer of the test tooling provided in an embodiment of the present invention;
[0024] Figure 5 It is a structural schematic diagram of an automatic testing device for an air conditioner provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0026] In order to solve the problems of low efficiency and accuracy of existing manual testing and poor test applicability, the embodiment of the present invention specially designs a special test tooling board for air conditioners. Through the automated testing method, the efficiency of manual errors is greatly reduced, achieving twice the result with half the effort. The embodiment of the present invention will realize the method of automated testing of air conditioners through a full-stage test tooling.
[0027] Figure 1 It is a schematic diagram of the entire system of the air-conditioning test tool in the embodiment of the present invention, showing the upper computer system, the lower computer system and the indoor and outdoor units (control panels) of the air-conditioning to be tested.
[0028] Among them, the upper computer can receive test cases manually input by the user and automatically output test reports. The upper computer and the lower computer can use 485 bus communication. The lower computer can communicate with the indoor and outdoor units of the air conditioner to be tested through 485 bus communication or fire zero communication. The lower computer can output power control signals, temperature control signals, remote control analog signals, wire controller analog signals, etc., and obtain expansion valve feedback signals, motor feedback signals (including PG motor, DC fan detection signals, etc.), high and low voltage detection signals.
[0029] Figure 2 The present invention is a schematic flow chart of an automatic test method for an air conditioner in an embodiment of the present invention. The method is applied to an automatic test tool, and the automatic test tool includes a host computer system and a slave computer system. The method includes the following steps:
[0030] S202: The upper computer system generates corresponding test commands according to the test items input by the user and sends the test commands to the lower computer system.
[0031] The upper computer system may include desktop software for communicating with the lower computer, including sending test commands, receiving test command feedback, sending test commands, etc. For example, the upper computer sends a certain temperature value, the lower computer receives this data, and outputs a voltage value to the internal and external machines through the simulated temperature automatic output module. The internal and external machines operate based on this voltage value, and the lower computer collects various data during its operation and uploads it to the upper computer for the upper computer to determine whether it is working properly.
[0032] The user can manually input the test items, and then the host system generates test cases based on the following method: the host system arranges and combines the test items input by the user as needed to generate multiple test cases; each test case includes at least one test command to control the lower computer system. The host system generates different test logics through system arrangement and combination to meet the specific test requirements of the air conditioner, thereby ensuring test coverage and avoiding retesting and missing tests.
[0033] After the host computer system generates the test case, it can also modify it to facilitate test case management. Based on this, the above method can also include: the host computer system modifies, adds, and copies the test case to obtain a new test case; or the host computer system deletes the test case.
[0034] S204, the lower computer system simulates and generates a control signal according to the test command, and sends the control signal to the air conditioner to be tested.
[0035] Optionally, the control signal may include: a power control signal, a temperature control signal, a remote control simulation signal, and a wire controller simulation signal. Exemplarily, the power control signal may control the power supply of the air conditioner to be tested, such as whether it is powered on or not, the power supply characteristics, etc.; the remote control simulation signal is used to simulate various control processes of the remote controller controlling the air conditioner to be tested; the wire controller simulation signal is used to simulate various control processes of the wire controller controlling the air conditioner to be tested. The lower computer system can comprehensively test the air conditioner equipment by simulating and generating control signals.
[0036] Exemplarily, the lower computer system may simulate and generate a temperature control signal according to the temperature test command, and the temperature control signal includes a temperature simulation value corresponding to the temperature test command;
[0037] Exemplarily, the lower computer system can simulate and generate a remote control simulation signal and / or a wire controller simulation signal according to the control test command, the remote control simulation signal includes a remote control simulation quantity corresponding to the control test command, and the wire controller simulation signal includes a wire controller simulation quantity corresponding to the control test command.
[0038] After the air conditioner to be tested receives the above control signal, it operates based on the above control signal, and the lower computer system can collect the operating status data of the air conditioner to be tested in real time.
[0039] S206, the lower computer system obtains the feedback signal of the air conditioner to be tested, and sends the feedback signal to the upper computer system.
[0040] Specifically, the feedback signal may include: an expansion valve feedback signal, a motor feedback signal, and a high and low voltage detection signal. The motor feedback signal may include a PG motor detection signal and a DC fan detection signal.
[0041] S208, the host computer system determines whether the working status of the air conditioner to be tested is normal according to the feedback signal.
[0042] Furthermore, the host computer system can output a test report based on the feedback signal and the determined working state of the air conditioner to be tested. The host computer system can perform software monitoring on the test and automatically output the test results, thereby reducing the manual error rate and improving the test efficiency.
[0043] The automated testing method for air conditioners provided in an embodiment of the present invention is that the upper computer system can generate corresponding test commands according to the test items input by the user, and the lower computer system can simulate the generation of control signals according to the test commands to control the operation of the air conditioner to be tested, thereby realizing automated testing, with more comprehensive test functions and shorter test cycles, thereby improving the accuracy and efficiency of air conditioning equipment testing.
[0044] Figure 3 This is a schematic diagram of the host computer function list of the test tooling in the embodiment of the present invention, showing the administrator and user management modules, which include the following multiple functional submodules: general configuration submodule, use case management submodule, test management submodule, historical data submodule and user management submodule. Among them, the general configuration submodule includes a channel selection function and a corresponding relationship table; the use case management submodule includes functions such as generation, modification, addition, deletion, copying, and loading; the test management submodule includes functions such as automatic testing, manual debugging, fault backtracking, automatic reporting, data display, and addition; the historical data submodule includes data loading and data display functions; the user management submodule includes functions such as management authority and user authority.
[0045] In this embodiment, a test fixture for air-conditioning equipment is used, which includes the following parts: a communication circuit for connecting to a host computer to receive a test command issued by the host computer. A main chip for generating a control command according to the test command, for controlling the output of a simulated temperature value or a 38KHZ infrared carrier according to the control command, and obtaining a feedback signal of the internal and external units through the module circuit, including an expansion valve feedback signal, a motor feedback signal, and a high and low voltage detection signal to monitor data in real time, thereby controlling the operation of the air-conditioning equipment, completing the test of the air-conditioning equipment to ensure the test coverage, avoiding retesting and missing tests, realizing automated testing to shorten the test cycle, solving the problem of low test efficiency of the air-conditioning equipment, and thereby achieving the effect of improving the test efficiency of the air-conditioning equipment.
[0046] Exemplarily, the lower computer of the test tooling may include: voltage regulation module, simulated temperature automatic output module, simulated infrared automatic output module, real-time communication module, expansion valve detection module, high and low pressure detection module, high and low pressure control module, motor feedback signal detection module. Combined with a set of upper computer software, it can simulate the actual working conditions under various working conditions, so as to obtain the test results, and combine the above modules to solve the technical problems of air conditioning automation testing.
[0047] Figure 4 This is a schematic diagram of the hardware principle of the lower computer of the test tooling in the embodiment of the present invention, showing that the L and N incoming lines pass through the EMI (Electromagnetic Interference) module to supply power to the switch power supply. The switch power supply is connected to the main chip of the lower computer, and the main chip is connected to the following functional modules: dial code selection, PG signal detection, DC signal detection, high voltage and low voltage detection, expansion valve, stepper motor detection, infrared emission, analog signal output, 485 communication, fire zero communication, Hbus communication module, etc.
[0048] The test tool provided in the embodiment of the present invention has more comprehensive test functions and is provided with a matching set of editable host computer software, which can be arranged and combined into a series of test cases as required, and the manual error rate can be reduced through software monitoring.
[0049] Figure 5 1 is a schematic diagram of the structure of an automatic test device for an air conditioner in an embodiment of the present invention, which is applied to an automatic test tool. The automatic test tool includes a host computer system and a slave computer system. The device includes:
[0050] The test command module 501 is used to generate corresponding test commands according to the test items input by the user and send the test commands to the lower computer system;
[0051] The command control module 502 is used to simulate and generate a control signal according to the test command, and send the control signal to the air conditioner to be tested; the control signal includes at least one of the following: a power control signal, a temperature control signal, a remote control simulation signal, and a wire controller simulation signal;
[0052] Feedback module 503, used to obtain the feedback signal of the air conditioner to be tested, and send the feedback signal to the host computer system; the feedback signal includes at least one of the following: expansion valve feedback signal, motor feedback signal, high and low pressure detection signal;
[0053] The working state judgment module 504 is used to determine whether the working state of the air conditioner to be tested is normal according to the feedback signal.
[0054] The automatic testing device for air conditioners provided in the embodiment of the present invention can generate corresponding test commands according to the test items input by the user, and the lower computer system can simulate the generation of control signals according to the test commands to control the operation of the air conditioner to be tested, thereby realizing automatic testing, with more comprehensive test functions and shorter test cycles, thereby improving the accuracy and efficiency of air conditioning equipment testing.
[0055] Optionally, as an embodiment, the command control module is specifically used to: simulate and generate a temperature control signal according to a temperature test command, the temperature control signal including a temperature analog quantity corresponding to the temperature test command; simulate and generate a remote control simulation signal and / or a wire controller simulation signal according to a control test command, the remote control simulation signal including a remote control analog quantity corresponding to the control test command, and the wire controller simulation signal including a wire controller analog quantity corresponding to the control test command.
[0056] Optionally, as an embodiment, the test command module is specifically used to: arrange and combine the test items input by the user as needed to generate multiple test cases; each of the test cases includes at least one test command for controlling the lower computer system.
[0057] Optionally, as an embodiment, it also includes a test case management module, which is used to: modify, add, and copy the test case to obtain a new test case; or the host computer system deletes the test case.
[0058] Optionally, as an embodiment, the working status judgment module is further used to: output a test report according to the feedback signal and the working status of the air conditioner to be tested.
[0059] An embodiment of the present invention provides an automatic testing system for an air conditioner, comprising a host computer system and a slave computer system; the host computer system comprises a test item input module, a test command generation module, a test report generation module and a communication module; the slave computer system comprises a voltage regulation module, an analog temperature output module, an analog infrared output module, a communication module, an expansion valve detection module, a high and low pressure detection module, a high and low pressure control module, and a motor feedback signal detection module; the host computer system and the slave computer system are used to execute the above-mentioned automatic testing method for the air conditioner.
[0060] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor, the above-mentioned automatic testing method of the air conditioner is implemented.
[0061] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the control device through a computer, and the program can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the above-mentioned method embodiments, wherein the storage medium may be a memory, a disk, an optical disk, etc.
[0062] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
[0063] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0064] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. An automatic testing method for an air conditioner, characterized in that: Applied to an automated testing tool, the automated testing tool includes a host computer system and a slave computer system; the method includes: The upper computer system generates corresponding test commands according to the test items input by the user and sends the test commands to the lower computer system; The lower computer system simulates and generates a control signal according to the test command, and sends the control signal to the air conditioner to be tested; the control signal includes at least one of the following: a power control signal, a temperature control signal, a remote control simulation signal, and a wire controller simulation signal; The lower computer system obtains the feedback signal of the air conditioner to be tested, and sends the feedback signal to the upper computer system; the feedback signal includes at least one of the following: an expansion valve feedback signal, a motor feedback signal, and a high and low pressure detection signal; The host computer system determines whether the working state of the air conditioner to be tested is normal according to the feedback signal; The motor feedback signal includes a PG motor detection signal and a DC fan detection signal.
2. The method according to claim 1, characterized in that The lower computer system simulates and generates a control signal according to the test command, including: The lower computer system simulates and generates a temperature control signal according to the temperature test command, and the temperature control signal includes a temperature simulation value corresponding to the temperature test command; The lower computer system simulates and generates a remote control simulation signal and / or a wire controller simulation signal according to the control test command, wherein the remote control simulation signal includes a remote controller simulation quantity corresponding to the control test command, and the wire controller simulation signal includes a wire controller simulation quantity corresponding to the control test command.
3. The method according to claim 1, characterized in that The host computer system generates corresponding test commands according to the test items input by the user, including: The upper computer system arranges and combines the test items input by the user as needed to generate a plurality of test cases; each of the test cases includes at least one test command to control the lower computer system.
4. The method according to claim 3, characterized in that The method further comprises: The host computer system modifies, adds, or copies the test case to obtain a new test case; or The host computer system deletes the test case.
5. The method according to claim 3, characterized in that The method further comprises: The host computer system outputs a test report according to the feedback signal and the working status of the air conditioner to be tested.
6. An automatic testing device for air conditioner, characterized in that: Applied to automated testing equipment, the automated testing equipment includes a host computer system and a slave computer system; the device includes: A test command module is used to generate corresponding test commands according to the test items input by the user and send the test commands to the lower computer system; A command control module, used to simulate and generate a control signal according to the test command, and send the control signal to the air conditioner to be tested; the control signal includes at least one of the following: a power control signal, a temperature control signal, a remote control simulation signal, and a wire controller simulation signal; A feedback module, used for obtaining a feedback signal of the air conditioner to be tested, and sending the feedback signal to the host computer system; the feedback signal includes at least one of the following: an expansion valve feedback signal, a motor feedback signal, and a high and low pressure detection signal; A working state judgment module, used for determining whether the working state of the air conditioner to be tested is normal according to the feedback signal; The motor feedback signal includes a PG motor detection signal and a DC fan detection signal.
7. The device according to claim 6, characterized in that The command control module is specifically used for: Generate a temperature control signal according to the temperature test command, wherein the temperature control signal includes a temperature simulation value corresponding to the temperature test command; A remote control simulation signal and / or a wire controller simulation signal is simulated and generated according to the control test command, wherein the remote control simulation signal includes a remote controller simulation quantity corresponding to the control test command, and the wire controller simulation signal includes a wire controller simulation quantity corresponding to the control test command.
8. The device according to claim 6, characterized in that The test command module is specifically used for: The test items input by the user are arranged and combined as needed to generate multiple test cases; each of the test cases includes at least one test command to control the lower computer system.
9. An automatic test system for air conditioner, characterized in that: Including upper computer system and lower computer system; The host computer system includes a test item input module, a test command generation module, a test report generation module and a communication module; The lower computer system includes a voltage regulation module, an analog temperature output module, an analog infrared output module, a communication module, an expansion valve detection module, a high and low voltage detection module, a high and low voltage control module, and a motor feedback signal detection module; The host computer system and the slave computer system are used to execute the method according to any one of claims 1-5.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Air conditioner controller automatic testing system and testing method thereof
CN103984338A