CN115047926A - Automatic testing system and method for reliability of electric edge environment - Google Patents

Automatic testing system and method for reliability of electric edge environment Download PDF

Info

Publication number
CN115047926A
CN115047926A CN202210602916.9A CN202210602916A CN115047926A CN 115047926 A CN115047926 A CN 115047926A CN 202210602916 A CN202210602916 A CN 202210602916A CN 115047926 A CN115047926 A CN 115047926A
Authority
CN
China
Prior art keywords
test
temperature
environment
voltage
power supply
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.)
Pending
Application number
CN202210602916.9A
Other languages
Chinese (zh)
Inventor
彭学枝
狄鹏
胡莽
刘金梁
陆从杭
许霞丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI FIORENTINI GAS EQUIPMENT CO Ltd
Original Assignee
SHANGHAI FIORENTINI GAS EQUIPMENT CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI FIORENTINI GAS EQUIPMENT CO Ltd filed Critical SHANGHAI FIORENTINI GAS EQUIPMENT CO Ltd
Priority to CN202210602916.9A priority Critical patent/CN115047926A/en
Publication of CN115047926A publication Critical patent/CN115047926A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D23/00Control of temperature
    • G05D23/19Control of temperature characterised by the use of electric means
    • G05D23/30Automatic controllers with an auxiliary heating device affecting the sensing element, e.g. for anticipating change of temperature

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)

Abstract

The invention provides an automatic test system for reliability of an electrical edge environment, which comprises: the operation control end, the adaptable test end and the equipment end comprise a programmable temperature control box, a data adjustable power supply, a motor and an accumulator; the adaptable testing end is connected with the operation control end and the intelligent gas meter single plate to test the intelligent gas meter single plate; the operation control end is connected with the programmable temperature control box and the data adjustable power supply and is used for controlling the temperature of the programmable temperature control box and the output voltage of the data adjustable power supply so as to enable the single plate of the intelligent gas meter to be in a preset test environment; the operation control end is connected with the motor and used for reading an initial value of an accumulator of the single plate of the intelligent gas meter and defining rotation parameters of the motor so as to control the motor to simulate counting of the accumulator; and the operation control end is used for reading the test value of the accumulator when the motor finishes rotating, and comparing and analyzing the difference value of the initial value of the accumulator and the test value of the accumulator to output the test result. The invention realizes the automatic test of the reliability of the electrical edge environment.

Description

Automatic testing system and method for reliability of electric edge environment
Technical Field
The invention relates to the field of electrical testing, in particular to an automatic testing system and method for reliability of an electrical edge environment.
Background
The electric edge environment refers to a specific environment with voltage and temperature within a boundary value range, and in the scheme, the specific environment is a test environment under different temperature and voltage combinations, including high temperature and high pressure, high temperature and low pressure, low temperature and high pressure, and low temperature and low pressure.
The existing reliability test of the electrical edge environment needs to manually set a test environment to verify the environmental stability of a test object, and due to the limitation of equipment and environmental conditions, the test object cannot be operated in time to simulate use during the test, so that the correctness of a test result is influenced.
Disclosure of Invention
In order to solve the problems, the invention is realized by the following technologies:
an automated test system for electrical fringe environment reliability, comprising: the method comprises the following steps of operating a control end, an adaptable testing end and an equipment end; the equipment end comprises a programmable temperature control box, a data adjustable power supply, a motor and an accumulator;
the adaptable testing end is connected with the operation control end and the intelligent gas meter single plate so as to be used for an automatic testing system to test the intelligent gas meter single plate;
the operation control end is connected with the programmable temperature control box and the data adjustable power supply and is used for controlling the temperature of the programmable temperature control box and the output voltage of the data adjustable power supply so as to enable the intelligent gas meter single plate to be in a preset test environment;
the operation control end is connected with the motor and used for reading an initial value of an accumulator of the single plate of the intelligent gas meter and defining a rotation parameter of the motor so as to control the motor to simulate the counting of the accumulator;
and the operation control end is used for reading the test value of the accumulator when the motor finishes rotating, and comparing and analyzing the difference value between the initial value of the accumulator and the test value of the accumulator so as to output the test result.
In some embodiments, the device side further includes a relay connected to the intelligent gas meter single board;
the operation control terminal is used for controlling a first path of simulation button switch operation test of the relay by sending a relay control command, wherein the button switch operation test comprises a button point screen test and a button reporting data test;
the operation control end is connected with the relay and is also used for simulating button abnormity tests by controlling a second path of the relay, and the button abnormity tests comprise triggering an abnormal uncapping button test and operating an abnormal uncapping event test.
In some embodiments, the predetermined testing environment includes a high temperature and high pressure testing environment, a high temperature and low pressure testing environment, a low temperature and high pressure testing environment, and a low temperature and low pressure testing environment.
In some embodiments, the causing the smart gas meter single board to be in a preset test environment includes:
the operation control end is used for sending a first temperature control command to the programmable temperature control box so as to control the programmable temperature control box to start and set temperature parameters and control the temperature of the programmable temperature control box to be kept for a preset time when reaching a first preset temperature;
the operation control end is further used for sending a first voltage control command to the data adjustable power supply so as to control the data adjustable power supply to output a first voltage, and therefore the data adjustable power supply can enter a high-temperature high-voltage test environment.
In some embodiments, the causing the smart gas meter single board to be in a preset test environment includes:
the operation control end is further used for sending a second voltage control command to the data adjustable power supply so as to control the data adjustable power supply to output a second voltage, so that the data adjustable power supply enters a high-temperature low-voltage test environment;
wherein the first voltage is greater than the second voltage.
In some embodiments, the causing the smart gas meter single board to be in a preset test environment includes:
the operation control end is used for sending a second temperature control command to the programmable temperature control box when the data adjustable power supply outputs the first voltage so as to control the temperature of the programmable temperature control box to reach a second preset temperature, so that the programmable temperature control box enters a low-temperature high-voltage test environment;
or;
the operation control end is used for sending a first voltage control command to the data adjustable power supply when the temperature of the programmable temperature control box reaches the second temperature so as to control the data adjustable power supply to output a second voltage, so that the data adjustable power supply enters a low-temperature high-voltage test environment;
wherein the second temperature is lower than the first temperature.
In some embodiments, the causing the smart gas meter single board to be in a preset test environment includes:
the operation control end is used for sending a second temperature control command to the programmable temperature control box when the data adjustable power supply outputs the second voltage so as to control the temperature of the programmable temperature control box to reach a second preset temperature, so that the programmable temperature control box enters a low-temperature and low-voltage test environment;
or;
and the operation control end is used for sending a second voltage control command to the data adjustable power supply when the temperature of the programmable temperature control box reaches the second temperature so as to control the data adjustable power supply to output a second voltage, so that the data adjustable power supply enters a low-temperature and low-voltage test environment.
In some embodiments, the operation control terminal comprises a display terminal for displaying real-time temperature and real-time voltage during testing.
In some embodiments, the device side comprises: and the remote server is used for sending the test report generated according to the test result to the monitoring end.
An automated testing method for reliability of an electrical edge environment, comprising:
the adaptable testing end is connected with the operation control end and the intelligent gas meter single plate so as to be used for an automatic testing system to test the intelligent gas meter single plate;
the operation control end is connected with a programmable temperature control box and a data adjustable power supply, and controls the temperature of the programmable temperature control box and the output voltage of the data adjustable power supply so as to enable the single plate of the intelligent gas meter to be in a preset test environment;
the operation control end is connected with a motor, reads an initial value of an accumulator of the single plate of the intelligent gas meter, and defines a rotation parameter of the motor so as to control the motor to simulate the counting of the accumulator;
and the operation control end reads the test value of the accumulator when the motor finishes rotating, and compares and analyzes the difference value between the initial value of the accumulator and the test value of the accumulator to output the test result.
The automatic test system and method for reliability of electrical edge environment provided by the invention at least have the following beneficial effects:
the automatic test system for the reliability of the electrical edge environment realizes real-time monitoring full-automatic test, utilizes an external device to simulate an application scene, and applies Python development language according to a related equipment communication protocol to form a visual real-time monitoring automatic test system.
The system is automatically completed from operation test, result recording, test statistics, report sending and the like, manual intervention is not needed in the whole process, full-automatic unattended operation is realized, and repeated processes are reduced to save time, cost and workload; the method solves the problems of low efficiency and low test coverage rate of manual test, is timely and efficient, and improves the correctness of the test process.
Drawings
The above features, technical features, advantages and implementations of an automated testing system for reliability of electrical fringe environments are further described in the following detailed description of preferred embodiments in a clearly understandable manner, in conjunction with the accompanying drawings.
FIG. 1 is a schematic diagram of one embodiment of an automated test system for electrical fringe environment reliability in the present invention;
FIG. 2 is a schematic diagram of one embodiment of an automated test system for electrical fringe environment reliability in the present invention;
FIG. 3 is an operating software interface of the present invention;
FIG. 4 is a schematic diagram of an embodiment of a method for automated testing of reliability of an electrical edge environment in accordance with the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. Moreover, in the interest of brevity and understanding, only one of the components having the same structure or function is illustrated schematically or designated in some of the drawings. In this document, "a" means not only "only one of this but also a case of" more than one ".
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
In one embodiment, as shown in fig. 1 and 3, the present invention provides an automated testing system for reliability of an electrical edge environment, comprising: the system comprises an operation control end 1, an adaptive test end 2 and an equipment end 3; the equipment end 3 comprises a programmable temperature control box, a data adjustable power supply, a motor and an accumulator.
The adaptable testing end 2 is connected with the operation control end 1 and the intelligent gas meter single board so as to be used for an automatic testing system to test the intelligent gas meter single board.
The operation control terminal 1 is connected with the programmable temperature control box and the data-adjustable power supply, and is used for controlling the temperature of the programmable temperature control box and the output voltage of the data-adjustable power supply, so that the intelligent gas meter single board is in a preset test environment.
And the operation control end 1 is connected with the motor and used for reading an initial value of an accumulator of the intelligent gas meter single plate and defining a rotation parameter of the motor so as to control the motor to simulate the counting of the accumulator.
And the operation control terminal 1 is used for reading a test value of the accumulator when the motor finishes rotating, and comparing and analyzing a difference value between the initial value of the accumulator and the test value of the accumulator to output a test result.
Specifically, a construction task is created for the test system in jenkins, and a GIT address of a firmware code acquisition branch, a test script triggering condition, a test execution process and a test result state are defined in the construction task, so that related personnel can be displayed and sent in time.
1. And the firmware code developer submits own code to the code hosting platform. Jenkins is triggered by the submitted code and will respond to the build task. And in the case of no submission, submitting the starting test through the operation interface of the system.
2. The jenkins client in the computer host responds to the jenkins construction task, automatically triggered to download, compile and burn a firmware program to the intelligent gas meter circuit board, the test developer develops and designs the automatic test system, and the jenkins construction task automatically executes the test system.
3. The test system in the computer host sends and receives serial port commands to each connecting device to control operation.
3.1 connecting the temperature control box, sending a control command through a serial port according to a programmable temperature control box communication protocol to operate the starting of the temperature control box, setting temperature parameters and the like, and setting temperature and temperature duration time on a visual interface of a test system, such as setting the maximum temperature of the temperature control box to be 55 ℃ and continuously operating for 2 hours. And when the temperature reaches 55 ℃, entering a test condition to run the test case.
3.2, connecting the numerical control adjustable power supply, sending a control command through a serial port according to a communication protocol to operate the output of the power supply voltage of the intelligent gas meter, if the set temperature is reached, setting the highest voltage to be 6.5V, automatically running a test case, and completing the test of high temperature and high pressure. And setting the lowest voltage to be 4.8V, and automatically running the test case to finish the test of high temperature and low pressure.
3.3 after the temperature and the voltage reach set values, the motor communication serial port is connected in the test case, and a motor command is sent according to a defined protocol, so that the motor gear rotates to drive the accumulator of the intelligent meter device to rotate, and the gas consumption of a user in the temperature and voltage environment is simulated.
4. The display screen displays the current test system running state, and can output the current temperature and voltage value and the current test case execution state in real time.
5. And after executing all the defined test cases, automatically generating a test report, and visually sending the test result to a mailbox of a related person in a chart form.
In an embodiment, the device end 3 further includes a relay, and is connected to the intelligent gas meter single board.
The operation control terminal 1 is configured to control a first analog button switch operation test of the relay by sending a relay control command, where the button switch operation test includes a button point screen test and a button data reporting test.
The operation control terminal 1 is connected with the relay and is also used for simulating button abnormity tests by controlling a second path of the relay, and the button abnormity tests comprise triggering an abnormal uncapping button test and operating an abnormal uncapping event test.
Specifically, 3.4 the relay switch circuit is controlled to be 01-way by sending a relay related command, and the relay is connected with a circuit board button, so that a test case of button switch operation is simulated, such as pressing a button to click a screen, and reporting data by the button.
And 3.5, simulating and triggering an abnormal uncovering button by controlling the relay 02-way switch and the relay 02-way switch to be closed, and running a test case of an abnormal uncovering event.
In one embodiment, the predetermined testing environment includes a high temperature and high pressure testing environment, a high temperature and low pressure testing environment, a low temperature and high pressure testing environment, and a low temperature and low pressure testing environment.
In an embodiment, the enabling the intelligent gas meter single board to be in a preset test environment includes:
the operation control end 1 is used for sending a first temperature control command to the programmable temperature control box so as to control the programmable temperature control box to start and set temperature parameters and control the temperature of the programmable temperature control box to be kept for a preset time when reaching a first preset temperature;
the operation control terminal 1 is further configured to send a first voltage control command to the data-adjustable power supply to control the data-adjustable power supply to output a first voltage, so as to enter a high-temperature and high-voltage test environment.
In an embodiment, the enabling the intelligent gas meter single board to be in a preset test environment includes:
the operation control terminal 1 is further configured to send a second voltage control command to the data-adjustable power supply to control the data-adjustable power supply to output a second voltage, so as to enter a high-temperature low-voltage test environment;
wherein the first voltage is greater than the second voltage.
In an embodiment, the enabling the intelligent gas meter single board to be in a preset test environment includes:
the operation control terminal 1 is configured to send a second temperature control command to the programmable temperature control box when the data-adjustable power supply outputs the first voltage, so as to control the temperature of the programmable temperature control box to reach a second preset temperature, so that the programmable temperature control box enters a low-temperature high-voltage test environment;
or;
the operation control end 1 is used for sending a first voltage control command to the data adjustable power supply when the temperature of the programmable temperature control box reaches the second temperature so as to control the data adjustable power supply to output a second voltage, so that the data adjustable power supply enters a low-temperature high-voltage test environment;
wherein the second temperature is lower than the first temperature.
In an embodiment, the enabling the intelligent gas meter single board to be in a preset test environment includes:
the operation control terminal 1 is configured to send a second temperature control command to the programmable temperature control box when the data-adjustable power supply outputs the second voltage, so as to control the temperature of the programmable temperature control box to reach a second preset temperature, so that the programmable temperature control box enters a low-temperature and low-voltage test environment;
or;
and the operation control end 1 is used for sending a second voltage control command to the data adjustable power supply when the temperature of the programmable temperature control box reaches the second temperature so as to control the data adjustable power supply to output a second voltage, so that the data adjustable power supply enters a low-temperature and low-voltage test environment.
In one embodiment, the operation control terminal 1 includes a display terminal for displaying real-time temperature and real-time voltage during testing.
Specifically, the display screen displays the current running state of the test system, and can output the current temperature and voltage values and the current test case execution state in real time.
In one embodiment, the device side 3 includes: and the remote server is used for sending the test report generated according to the test result to the monitoring end.
Specifically, after all the defined test cases are executed, a test report is automatically generated, and the test result is intuitively sent to a mailbox of a relevant person in a chart form.
In one embodiment, as shown in fig. 2, the present invention provides an automated testing system for reliability of an electrical edge environment, comprising:
the automatic system consists of hardware and software parts, wherein the hardware consists of three parts: the device comprises an adaptable test terminal 2, an operation control terminal 1 and an external equipment terminal 3.
Figure BDA0003670359700000091
Figure BDA0003670359700000101
1. Adaptable test end: the device is made of high-temperature and low-temperature resistant materials, is connected with the single plate connecting point of the intelligent gas meter by the adapter plate and is connected to the computer host end through the DB25 interface, so that the device can be flexibly adapted to different versions of intelligent gas meter single plates, and is placed in a temperature control box to test the functions and performances of objects to be tested in different temperature environments.
2. Operating the control end: the system consists of a display screen and a microcomputer host which are embedded and installed, and an independently developed test system is installed and used for displaying, operating and controlling the whole system. The display screen is arranged on the cover plate and can be unfolded and folded, so that the space is reasonably utilized.
3. The equipment end: the intelligent gas meter consists of an intelligent gas meter part and an external device part, wherein the intelligent gas meter part comprises an intelligent gas meter valve, an accumulator and the like, and is one of the intelligent gas meters. The external equipment is other auxiliary equipment used in the process, and mainly comprises:
1) switching power supply: and a 24V power supply is provided for equipment in the test box and comprises a relay, a motor and the like.
2) Numerical control adjustable power supply: the intelligent gas meter provides power for a test object, and the voltage can be set through programming.
3) Programmable temperature control box: programmable, and the temperature environment in the box can be controlled through the serial port according to the communication protocol.
4) A relay: the output end of the relay is connected to a gas meter button and is connected to a PC client through an RS232 serial port, a test script program in the PC client sends a corresponding command to control opening and closing, and pressing of the button is simulated.
5) A motor: and the test script program in the PC client controls the rotation time and speed of the motor, and the lower gear of the motor rotates to drive the lower gear of the accumulator, so that the rotation of the accumulator is simulated.
6) The remote server: the method is used for code hosting, version management and running of the continuous integration platform server.
The software of the automatic system consists of 2 parts: an open source continuous integration platform and a self-development test system.
Figure BDA0003670359700000111
1. Integrating code submission, downloading and burning, and integrating a test environment and a test process by using an open source Jenkins continuous integration platform;
2. the self-development visual test system designs and compiles test cases, and sends commands to the equipment electronic board by using the serial port to perform verification test on the functions and the performance of the product. After the test is finished, a test report is automatically generated and automatically and timely sent to corresponding personnel.
In this embodiment, the system can simulate a real use scene, and solve the problem that part of test items cannot be tested manually. And the test precision can be improved, and the limit temperature and the voltage can be accurately controlled.
In this embodiment, the test method for performing a test by the present system includes:
the test computer host is connected with the gas meter to be tested through usb-to-TTL, the test code is bound with the control serial port, and a related command is sent to a circuit board interface of the gas meter to be tested based on communication protocol content defined inside. And (3) placing the test end provided with the single plate of the intelligent meter to be tested into a temperature control box, connecting the temperature control box and the adjustable power supply through a serial port, and setting different temperature and voltage edge value environments according to a communication protocol. According to the difference of each test function, different test cases are designed to cover the test requirements, so that the defect in the aspect of function design can be found in time. And testing the functions, the performances and the like of intelligent gas meter equipment at different temperatures and voltages according to the using environment and scene of the gas meter.
The code processing logic of the test case in the high-temperature and high-pressure environment is as follows:
1) setting the high temperature of a temperature control box to be 55 ℃, and the input voltage of the single board to be 6.4V;
2) the system circularly reads the temperature of the temperature control box in real time, and runs the test after the temperature reaches the set required temperature;
3) testing whether the intelligent gas meter measures correctly:
in the test script code, opening a serial port of the circuit board, reading an initial flow value of an accumulator based on a custom protocol, and analyzing and calculating the initial flow value into a readable value;
and opening a bound motor serial port, defining the rotation direction, the rotation speed and the rotation time length of the motor according to a communication protocol defined by the motor, driving the gear to rotate after the motor is driven, and simulating counting of an accumulator.
Closing all serial ports; reading the accumulator value again in the test script, analyzing and calculating to be readable, comparing and calculating the accumulator flow value read in the previous 2 times and the accumulator flow value read in the next 2 times, judging whether the difference value is within a specified range, if so, setting the test result as pass, otherwise, setting the test result as fail;
4) testing the communication reporting function on the intelligent gas meter:
controlling 2 paths of the relay according to a relay self-defining protocol, continuously attracting for 2 seconds, disconnecting, and simulating the reporting operation of a button on the gas meter; staying for 1 minute to wait for reporting the success of communication; and automatically logging in a web background by using a webdriver technology in python, and capturing data such as the currently displayed gas use total amount and the currently reported meter reading time of the meter. And acquiring local current time and the reading of an accumulator, comparing and calculating the locally acquired data with the data captured by the background, wherein if the difference value is within a specified range, the test result is passed, and otherwise, the test result is failed.
5) And storing the test result value into the test report data.
The code logic of the high-temperature low-pressure environment test case is as follows:
1) and is connected with a numerical control adjustable power supply through a serial port.
2) Different voltage values, such as 4.8 volts, are designed according to the test scenario defined in the test case.
3) And setting and reading the numerical control adjustable power supply voltage value according to the protocol construction command.
4) After the test operation, the tested device is operated under different voltage environments, and the correctness and the stability of the function and the performance of the tested device are verified.
5) And writing a test result and generating a test report.
6) And writing the test report content into the text of the mailbox and sending the test report content to related personnel to finish the test.
The system has a continuously integrated test environment, and can automatically complete firmware version acquisition, version installation, test execution and report sending without manual intervention. Under the unattended condition, the system automatically completes the test process for hours, and resources are better utilized.
Meanwhile, the complicated tasks are automated, the accuracy and the enthusiasm of testing personnel can be improved, and testing technicians are relieved to put more attention into designing better test cases. Some tests are not suitable for automatic tests and are only suitable for manual tests, and after the tests capable of being automatically tested are automated, testers can be concentrated on the manual test part, so that the efficiency of the manual tests is improved.
The system tests consistently and repeatedly. Because the test is automatically executed, the consistency of the result of each test and the executed content can be guaranteed, and the repeatable effect of the test can be achieved.
The reusability of the test system is improved. Because the automatic test usually adopts a script technology and a layered design mode, the bottom packaging application layer is called, the same framework is used in different test processes, and the reusability of the test system is improved.
The system can increase the trust level of products. Since the test is performed automatically, there are no negligence and errors in the execution process, depending entirely on the design quality of the test. Once the software passes the powerful automatic test, the trust level of the product naturally increases.
In one embodiment, as shown in fig. 4, a method for automated testing of reliability of an electrical edge environment, comprises:
s101, the adaptable testing end is connected with the operation control end and the intelligent gas meter single board so that an automatic testing system can test the intelligent gas meter single board.
S102, the operation control end is connected with a programmable temperature control box and a data adjustable power supply, and the temperature of the programmable temperature control box and the output voltage of the data adjustable power supply are controlled, so that the intelligent gas meter single plate is in a preset test environment.
S103, the operation control end is connected with a motor, an initial value of an accumulator of the single plate of the intelligent gas meter is read, and rotation parameters of the motor are defined so as to control the motor to simulate counting of the accumulator.
S104, the operation control end reads the test value of the accumulator when the motor finishes rotating, and compares and analyzes the difference value between the initial value of the accumulator and the test value of the accumulator to output the test result.
The automatic test method for the reliability of the electrical edge environment provided by the invention realizes real-time monitoring full-automatic test, utilizes an external device to simulate an application scene, and applies Python development language according to a related equipment communication protocol to form a visual real-time monitoring automatic test system.
The method is automatically completed from operation test, result recording, test statistics, report sending and the like, manual intervention is not needed in the whole process, full-automatic unattended operation is realized, and repeated processes are reduced to save time, cost and workload; the method solves the problems of low efficiency and low test coverage rate of manual test, is timely and efficient, and improves the correctness of the test process.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of program modules is illustrated, and in practical applications, the above-described distribution of functions may be performed by different program modules, that is, the internal structure of the apparatus may be divided into different program units or modules to perform all or part of the above-described functions. Each program module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one processing unit, and the integrated unit may be implemented in a form of hardware, or may be implemented in a form of software program unit. In addition, the specific names of the program modules are only used for distinguishing the program modules from one another, and are not used for limiting the protection scope of the application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or recited in detail in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely exemplary, and the division of the modules or units is merely an example of a logical division, and there may be other divisions when the actual implementation is performed, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. An automated test system for electrical fringe environment reliability, comprising: the method comprises the following steps of operating a control end, an adaptable testing end and an equipment end; the equipment end comprises a programmable temperature control box, a data adjustable power supply, a motor and an accumulator;
the adaptable testing end is connected with the operation control end and the intelligent gas meter single plate so as to be used for an automatic testing system to test the intelligent gas meter single plate;
the operation control end is connected with the programmable temperature control box and the data adjustable power supply and is used for controlling the temperature of the programmable temperature control box and the output voltage of the data adjustable power supply so as to enable the intelligent gas meter single plate to be in a preset test environment;
the operation control end is connected with the motor and used for reading an initial value of an accumulator of the single plate of the intelligent gas meter and defining a rotation parameter of the motor so as to control the motor to simulate the counting of the accumulator;
and the operation control end is used for reading a test value of the accumulator when the motor finishes rotating, and comparing and analyzing a difference value between an initial value of the accumulator and the test value of the accumulator to output a test result.
2. The automatic test system for reliability of electrical edge environment according to claim 1, wherein the equipment end further comprises a relay connected with the intelligent gas meter single board;
the operation control terminal is used for controlling a first path of simulation button switch operation test of the relay by sending a relay control command, wherein the button switch operation test comprises a button point screen test and a button reporting data test;
the operation control end is connected with the relay and is also used for simulating button abnormity tests by controlling a second path of the relay, and the button abnormity tests comprise triggering an abnormal uncapping button test and operating an abnormal uncapping event test.
3. The automated electrical margining environment reliability testing system of claim 1, wherein the predetermined testing environment comprises a high temperature high pressure testing environment, a high temperature low pressure testing environment, a low temperature high pressure testing environment, and a low temperature low pressure testing environment.
4. The automated testing system for reliability of an electrical edge environment according to claim 3, wherein the enabling of the intelligent gas meter single board to be in a preset testing environment comprises:
the operation control end is used for sending a first temperature control command to the programmable temperature control box so as to control the programmable temperature control box to start and set temperature parameters and control the temperature of the programmable temperature control box to be kept for a preset time when reaching a first preset temperature;
the operation control end is further used for sending a first voltage control command to the data adjustable power supply so as to control the data adjustable power supply to output a first voltage, and therefore the data adjustable power supply can enter a high-temperature high-voltage test environment.
5. The automated testing system for reliability of an electrical edge environment according to claim 4, wherein the enabling the smart gas meter board to be in a preset testing environment includes:
the operation control end is further used for sending a second voltage control command to the data adjustable power supply so as to control the data adjustable power supply to output a second voltage, so that the data adjustable power supply enters a high-temperature low-voltage test environment;
wherein the first voltage is greater than the second voltage.
6. The system for automatically testing the reliability of the electrical edge environment according to claim 5, wherein the enabling the smart gas meter board to be in a preset test environment includes:
the operation control end is used for sending a second temperature control command to the programmable temperature control box when the data adjustable power supply outputs the first voltage so as to control the temperature of the programmable temperature control box to reach a second preset temperature, so that the programmable temperature control box enters a low-temperature high-voltage test environment;
or;
the operation control end is used for sending a first voltage control command to the data adjustable power supply when the temperature of the programmable temperature control box reaches the second temperature so as to control the data adjustable power supply to output a second voltage, so that the data adjustable power supply enters a low-temperature high-voltage test environment;
wherein the second temperature is lower than the first temperature.
7. The automated testing system for reliability of an electrical edge environment according to claim 6, wherein the enabling the intelligent gas meter single board to be in a preset testing environment comprises:
the operation control end is used for sending a second temperature control command to the programmable temperature control box when the data adjustable power supply outputs the second voltage so as to control the temperature of the programmable temperature control box to reach a second preset temperature, so that the programmable temperature control box enters a low-temperature and low-voltage test environment;
or;
and the operation control end is used for sending a second voltage control command to the data adjustable power supply when the temperature of the programmable temperature control box reaches the second temperature so as to control the data adjustable power supply to output a second voltage, so that the data adjustable power supply enters a low-temperature and low-voltage test environment.
8. The system for automated testing of electrical fringe environment reliability of any one of claims 1-7, wherein said operational control terminal comprises a display terminal for displaying real-time temperature and real-time voltage during testing.
9. The automated electrical fringe environment reliability testing system of claim 8, wherein the equipment side comprises: and the remote server is used for sending the test report generated according to the test result to the monitoring end.
10. An automated testing method for reliability of an electrical edge environment, comprising:
the adaptable testing end is connected with the operation control end and the intelligent gas meter single plate so as to be used for an automatic testing system to test the intelligent gas meter single plate;
the operation control end is connected with a programmable temperature control box and a data adjustable power supply, and controls the temperature of the programmable temperature control box and the output voltage of the data adjustable power supply so as to enable the single plate of the intelligent gas meter to be in a preset test environment;
the operation control end is connected with a motor, reads an initial value of an accumulator of the single plate of the intelligent gas meter, and defines a rotation parameter of the motor so as to control the motor to simulate the counting of the accumulator;
and the operation control end reads the test value of the accumulator when the motor finishes rotating, and compares and analyzes the difference value between the initial value of the accumulator and the test value of the accumulator to output the test result.
CN202210602916.9A 2022-05-30 2022-05-30 Automatic testing system and method for reliability of electric edge environment Pending CN115047926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210602916.9A CN115047926A (en) 2022-05-30 2022-05-30 Automatic testing system and method for reliability of electric edge environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210602916.9A CN115047926A (en) 2022-05-30 2022-05-30 Automatic testing system and method for reliability of electric edge environment

Publications (1)

Publication Number Publication Date
CN115047926A true CN115047926A (en) 2022-09-13

Family

ID=83158808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210602916.9A Pending CN115047926A (en) 2022-05-30 2022-05-30 Automatic testing system and method for reliability of electric edge environment

Country Status (1)

Country Link
CN (1) CN115047926A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777172A (en) * 2013-12-27 2014-05-07 珠海中慧微电子有限公司 Reliability testing system of intelligent electric meter and method thereof
CN107728601A (en) * 2017-09-18 2018-02-23 杭州先锋电子技术股份有限公司 A kind of system that integration testing is carried out to intelligent gas meter controller
CN109141588A (en) * 2018-09-05 2019-01-04 上海飞奥燃气设备有限公司 Gas meter, flow meter automatic analog test system
CN109274555A (en) * 2018-10-11 2019-01-25 深圳市菲菱科思通信技术股份有限公司 Interchanger automatic test device and test method
CN110887518A (en) * 2018-09-11 2020-03-17 广州汽车集团股份有限公司 Test method of combination instrument
CN210982692U (en) * 2019-09-18 2020-07-10 南方电网科学研究院有限责任公司 Reliability testing device for power supply unit of intelligent electric meter
CN212229071U (en) * 2020-05-09 2020-12-25 厦门宇电自动化科技有限公司 Instrument aging testing cabinet
CN113791297A (en) * 2021-09-18 2021-12-14 深圳市中科源电子有限公司 Multifunctional test equipment with thermal stress test function and test method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777172A (en) * 2013-12-27 2014-05-07 珠海中慧微电子有限公司 Reliability testing system of intelligent electric meter and method thereof
CN107728601A (en) * 2017-09-18 2018-02-23 杭州先锋电子技术股份有限公司 A kind of system that integration testing is carried out to intelligent gas meter controller
CN109141588A (en) * 2018-09-05 2019-01-04 上海飞奥燃气设备有限公司 Gas meter, flow meter automatic analog test system
CN110887518A (en) * 2018-09-11 2020-03-17 广州汽车集团股份有限公司 Test method of combination instrument
CN109274555A (en) * 2018-10-11 2019-01-25 深圳市菲菱科思通信技术股份有限公司 Interchanger automatic test device and test method
CN210982692U (en) * 2019-09-18 2020-07-10 南方电网科学研究院有限责任公司 Reliability testing device for power supply unit of intelligent electric meter
CN212229071U (en) * 2020-05-09 2020-12-25 厦门宇电自动化科技有限公司 Instrument aging testing cabinet
CN113791297A (en) * 2021-09-18 2021-12-14 深圳市中科源电子有限公司 Multifunctional test equipment with thermal stress test function and test method thereof

Similar Documents

Publication Publication Date Title
CN108205308B (en) Automatic diagnosis test system based on automobile body domain controller
CN102184749B (en) A kind of automatic test approach of DCS switch board
CN203759532U (en) Aeroengine general emulator
CN109324601A (en) The test platform of robot controller or control system based on hardware in loop
CN205301987U (en) Electric motor car machine controller hardware is in ring testing system
CN104699068A (en) Universal simulator for aircraft engines
EP2113898A1 (en) Training simulators for engineering projects
CN104460652B (en) The application method of board aging equipment and board aging equipment
EP1166136B1 (en) Simulator cart
CN102722107A (en) Intelligent integrated development and test system for high-voltage frequency converter and establishment method thereof
CN103869260A (en) Power supply test system and method
CN102236054A (en) Power on/off test device and method
CA2917240C (en) Programmable actuator simulation card
CN109141588B (en) Automatic simulation test system for gas meter
CN103149495A (en) Comprehensive test instrument for testing multi-path conducting wire\connector
CN104090186A (en) Analog quantity automatic check system based on safety instrument
CN207541496U (en) A kind of automated diagnostic tester device based on vehicle body domain controller
CN100476753C (en) System for realizing main-board envirnoment test
WO2010005724A2 (en) Systems and methods for automated simulation of a propulsion system and testing of propulsion control systems
CN115047926A (en) Automatic testing system and method for reliability of electric edge environment
CN110837035A (en) Software and hardware testing system and method for air conditioning system
CN109507571B (en) Testing device and testing system
CN203659446U (en) Portable full-plant DCS debugging device for nuclear power plant
CN113094256A (en) BMS software testing method and electronic equipment
CN110968490A (en) General detection platform for atmospheric data computer

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