CN116540671A - Automatic production test fixture device and method for street lamp terminal controller - Google Patents

Automatic production test fixture device and method for street lamp terminal controller Download PDF

Info

Publication number
CN116540671A
CN116540671A CN202310523568.0A CN202310523568A CN116540671A CN 116540671 A CN116540671 A CN 116540671A CN 202310523568 A CN202310523568 A CN 202310523568A CN 116540671 A CN116540671 A CN 116540671A
Authority
CN
China
Prior art keywords
test
equipment
instruction
street lamp
software
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
CN202310523568.0A
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.)
Xiamen Iotcomm Technology Co ltd
Original Assignee
Xiamen Iotcomm Technology 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 Xiamen Iotcomm Technology Co ltd filed Critical Xiamen Iotcomm Technology Co ltd
Priority to CN202310523568.0A priority Critical patent/CN116540671A/en
Publication of CN116540671A publication Critical patent/CN116540671A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention provides a street lamp terminal controller automated production test fixture device and a method, comprising the following steps: the method comprises the steps that test equipment, external equipment, control equipment and acquisition equipment are all installed in tooling equipment, the test equipment is externally provided with a network interface capable of being controlled to access, the test equipment is used for controlling the external equipment, and the acquisition equipment is used for acquiring data parameters of the external equipment; the test software is electrically connected with the test equipment through the network interface, and sends a first instruction to the control equipment through the serial port to execute power supply/power off operation, and sends a second instruction to the acquisition equipment through the serial port to execute information inquiry operation; the test software carries out training test on the functions of the test equipment by sending the first instruction and the second instruction, automatically judges the test result according to the returned data information, and records and stores the final test result. The invention automatically performs functional test on each test item, can test equipment in batches, and greatly improves the test efficiency.

Description

Automatic production test fixture device and method for street lamp terminal controller
Technical Field
The application relates to the technical field of urban intelligent lighting, in particular to an automatic production test tool and method for a street lamp terminal controller.
Background
With the rapid increase of urban population scale and the increase of human activity range and frequency, the number of urban lighting facilities is rapidly increased, and the urban lighting facilities are one of the most dense and most abundant municipal facilities. The lighting facilities tend to be intelligently managed more and more, so that the functions of equipment equipped in the lighting facilities are more and more rich, the types of equipment are more and more rich, so that more equipment needs to be subjected to detailed functional test before production and delivery to ensure complete and normal functions, the detection efficiency and accuracy of products can influence the productivity and the product quality of the equipment to a great extent, and an automatic test system becomes an indispensable function in tool test. However, current production tests have the following problems:
(1) Complicated wiring: the equipment generally needs to be connected with a system wire, including a power wire, a gps antenna, a network wire, a serial port wire and the like;
(2) Manual test efficiency is low: the manual test mode requires a large amount of manual operations, such as issuing instructions, controlling equipment, waiting to return manual check data or whether the state of the equipment is correct, and the like, the process is too tedious, and detection errors are easy to occur in manual detection;
(3) The result statistics is troublesome: after the test is finished, the test result and various test information are generally required to be stored or updated, and manual recording and storing of the information are very complicated and inefficient.
Aiming at the problems, the application provides an automatic production test fixture device and method for a street lamp terminal controller, which can greatly improve the test efficiency.
Disclosure of Invention
In order to solve the problems of complicated wiring, low manual testing efficiency, troublesome statistical result and the like in the function test of the existing lighting equipment, the application provides an automatic production test tool device and method for a street lamp terminal controller, and aims to solve the technical defect.
According to one aspect of the invention, an automatic production test method for a street lamp terminal controller is provided, which comprises the following steps:
s1, loading test equipment, external equipment, control equipment and acquisition equipment into tooling equipment, wherein the test equipment is externally provided with a network interface capable of controlling access, the test equipment is used for controlling the external equipment, and the acquisition equipment is used for acquiring data parameters of the external equipment;
s2, the test software is electrically connected with the test equipment through a network interface, the test software sends a first instruction to the control equipment through the serial port to execute power supply/power off operation, and the test software sends a second instruction to the acquisition equipment through the serial port to execute information inquiry operation;
and S3, the test software carries out training test on the functions of the test equipment by sending the first instruction and the second instruction, automatically judges the test result according to the returned data information, and records and stores the final test result.
Through the technical scheme, the test equipment can be directly installed in the tool equipment, and complex manual wiring is simplified. The system can automatically test various functions and batch test, reduces participation of personnel in the test process, simplifies manual operation, and enables the test result to be more efficient and accurate. And can save and count the result automatically, further provide the test efficiency.
In a specific embodiment, in step S3, the test software performs a training test on the function of the test device by sending a first instruction and a second instruction, including the following sub-steps:
s311, initializing tooling equipment after equipment to be tested is online;
s312, acquiring a test item to be detected of the test equipment, and executing a test flow of the test item;
s313, judging whether the time for executing the test flow in the step S312 exceeds the preset time length, if not, executing the step S314, and if so, executing the step S315;
s314, updating the test result of the current test item, and jumping to the step S312;
s315, judging whether the overtime test times of the current test item are smaller than a preset threshold value, and retesting the current test item if the overtime test times of the current test item are smaller than the preset threshold value; if not, ending the test operation of the current test item;
s316, repeatedly executing the steps S312 to S315 until all test items of the test equipment are tested.
Through the technical scheme, the plurality of test items can be automatically tested through the test software.
In a specific embodiment, in step S3, the test software performs a training test on the function of the test device by sending a first instruction and a second instruction, including the following sub-steps:
s321, acquiring a list of test equipment, and starting test software for testing;
s322, acquiring a to-be-detected test device, and testing all test items of the test device;
s323, after the current test equipment is tested, updating the test result and statistical information of the current test equipment;
s324, repeatedly executing the steps S322 to S323 until all the test devices have completed the test.
Through the technical scheme, batch test of the test equipment can be realized, and the automatic test efficiency is greatly improved.
In a specific embodiment, in step S3, automatically determining the test result according to the returned data information, and recording and saving the final test result includes the following sub-steps:
s331, pre-configuring detection range data, and judging whether returned data information is in the range of the detection range data;
s332, responding to the fact that the returned data information is in the range of the detection range data, if the test result is successful, recording and storing the test result;
s333, responding to the fact that the returned data information is not in the range of the detection range data, if the test result is failed, recording and storing the test result and marking the test result as red;
and S334, in response to the fact that the test equipment is not responded after overtime, the obtained test result is also failure, the test result is recorded and saved, and the test result is marked as red.
Through the technical scheme, the detection range data can be configured by user definition, and the data can be conveniently adjusted. The automatic record and the storage and the marking of the test result can facilitate the user to check whether the test result is successful or not and quickly inquire the test item which fails to be detected.
In a specific embodiment, each test software is configured with a different serial port to connect with different tooling equipment, and the test software communicates with the test equipment through the serial port control communication module.
Through the technical scheme, multiple sets of tool equipment can be tested on one computer at the same time.
In a specific embodiment, the test equipment comprises a concentrator, a monitoring box and a street lamp terminal controller, and the external equipment comprises a lamp and a sensor.
In a specific embodiment, the data information returned in step S3 includes:
the test software sends first data returned after the first instruction executes the power supply/outage operation to the control equipment through the serial port, sends second data returned after the second instruction executes the information inquiry operation to the acquisition equipment through the serial port, and directly sends third data returned by the third instruction to the test equipment.
Through the technical scheme, the test software can obtain the returned data information in different modes according to the test requirements, and then verify and judge whether the returned data information is normal or not.
In a second aspect, the present application provides an automated production test fixture device for a street lamp terminal controller, including:
an external device;
a test device configured with a network interface for controllable access, and for controlling the external device;
the acquisition device is used for acquiring data parameters of the external device;
a control device for performing a power on/off operation;
the tool body is used for accommodating the external equipment, the testing equipment, the acquisition equipment and the control equipment; further comprises:
the test software is electrically connected with the test equipment through the network interface, and is used for sending a first instruction to the control equipment through the serial port to execute power supply/power off operation and sending a second instruction to the acquisition equipment through the serial port to execute information inquiry operation; and performing training test on the function of the test equipment by sending the first instruction and the second instruction, automatically judging a test result according to the returned data information, and recording and storing the final test result.
In a third aspect, the present application provides a terminal device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of any one of the street lamp terminal controller automated production test methods described above when executing the computer program.
In a fourth aspect, the present application provides a computer readable storage medium storing a computer program, which when executed by a processor, implements the steps of any one of the street lamp terminal controller automated production test methods described above.
Compared with the prior art, the invention has the beneficial effects that:
(1) And the test equipment, the external equipment, the control equipment and the acquisition equipment are directly installed into the tooling equipment, so that complex manual wiring is simplified.
(2) The function test of each test item can be automatically carried out, including issuing instructions, control equipment, data acquisition, data verification and the like, and each detection range data can be configured, so that the manual operation is simplified, and the system is more efficient and accurate.
(3) And the test results are automatically stored and counted, so that the test efficiency is improved.
(4) Batch test is carried out, so that participation of personnel in a test process is reduced, and labor cost is reduced.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading the detailed description of non-limiting embodiments made with reference to the following drawings in which:
FIG. 1 is a flow chart of a street lamp terminal controller automated production test method according to the present application;
fig. 2 is a schematic diagram of a system structure for automated production testing of a street lamp terminal controller according to the present application;
FIG. 3 is a schematic diagram of communication connections of a street lamp terminal controller automated production test method according to the present application;
FIG. 4 is a schematic diagram of interactions between test software, control devices, acquisition devices, test devices according to the present application;
FIG. 5 is a schematic diagram of a test flow for all test items in a single test device according to the present application;
FIG. 6 is a schematic diagram of a test list of a test apparatus according to the present application;
FIG. 7 is a schematic diagram of a test flow for batch testing by multiple test devices according to the present application;
FIG. 8 is a schematic diagram of a test list for batch testing by multiple test equipment according to the present application;
FIG. 9 is a schematic illustration of automatic save to excel sheet of test results according to the present application;
FIG. 10 is a schematic diagram of an ammeter data determination test result according to the present application;
FIG. 11 is a schematic diagram of a test list of a concentrator according to the present application;
FIG. 12 is a schematic diagram of a test list of a monitor box according to the present application;
fig. 13 is a schematic diagram of a test list of a street lamp terminal controller according to the present application;
fig. 14 is a schematic diagram of a computer system suitable for use in implementing embodiments of the present application.
Detailed Description
The present application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to greatly improve the test efficiency of the street lamp terminal controller, the application provides an automatic production test fixture device and method for the street lamp terminal controller, and a mode of 'single machine deployment of multiple application software' and 'single Bao Duowei diagnosis' is adopted, and explanation is carried out below.
Single machine deploys multiple application software: in order to test multiple sets of tooling equipment on a computer (PC) at the same time, multiple software correspondingly runs on the computer (PC), so that different serial ports are configured on each test software, and the multiple sets of tooling equipment can be tested in parallel.
Single Bao Duowei diagnostics: because the communication technology adopted by the terminal controller at present is mostly a low-speed technical scheme, the communication efficiency is low, the millisecond level cannot be achieved, if the single instruction is adopted for single-function test, the efficiency is low, a certain packet loss rate exists, and a certain time is wasted in each packet loss retransmission, so that a single Bao Duowei diagnosis scheme is provided. The single Bao Duowei is issued to the equipment through specific protocol instructions according to the terminal controllers with different functions, the corresponding multiple functions are automatically detected once after the equipment decodes, and data to be verified are packaged and returned together, so that the delivery times are reduced, and the efficiency is further improved.
Fig. 1 shows a flowchart of the automatic production test method of the street lamp terminal controller, fig. 2 shows a system structure schematic diagram of the automatic production test of the street lamp terminal controller, and referring to fig. 1 and 2 in combination, the method comprises the following steps:
s1, loading test equipment, external equipment, control equipment and acquisition equipment into tool equipment, wherein the test equipment is externally provided with a network interface with controllable access, the test equipment is used for controlling the external equipment, and the acquisition equipment is used for acquiring data parameters of the external equipment.
In this embodiment, the test device includes a concentrator, a monitor box, and a street lamp terminal controller, and the external device includes a lamp and a sensor. The external device is connected with the testing device and is controlled by the testing device. The main purpose of setting up the frock equipment is to simplify equipment wiring flow, can realize automatic wiring after directly pressing in a plurality of equipment frock equipment, including automatic wiring such as power, external equipment (bulb, sensor etc.), control equipment, collection equipment. Each test software is configured with different serial ports to connect different tooling devices so that multiple sets of tooling devices can be tested simultaneously on a computer. Preferably, the test software communicates directly with the tooling device via an ethernet network (e.g., tcp, http, mq service, etc.).
Fig. 3 shows a communication connection schematic diagram of the automatic production test method of the street lamp terminal controller, as shown in fig. 3, part of test equipment adopts a communication module to communicate, a communication module (a corresponding communication model needs to be added at a pc end) needs to be connected to a test software platform, the communication module is connected with a machine where test software is located through a usb serial port, and the test software can control the communication module (such as plc, dual mode, wisun and the like) to communicate with the test equipment through the serial port.
S2, the test software is electrically connected with the test equipment through the network interface, the test software sends a first instruction to the control equipment through the serial port to execute power supply/power off operation, and the test software sends a second instruction to the acquisition equipment through the serial port to execute information inquiry operation.
In this embodiment, the control device is connected to a machine where the test software is located through a usb serial port, and the test software may send an instruction to the control device through the serial port to implement operations such as power-on and power-off. The acquisition equipment is connected with a machine where the test software is located through a usb serial port, and the test software can send instructions to the acquisition equipment through the serial port to inquire information such as analog quantity (such as current, voltage and the like) and state quantity (such as switch state).
And S3, the test software carries out training test on the functions of the test equipment by sending the first instruction and the second instruction, automatically judges the test result according to the returned data information, and records and stores the final test result.
In step S3, the returned data information includes: the test software sends first data returned after the first instruction executes the power supply/outage operation to the control equipment through the serial port, sends second data returned after the second instruction executes the information inquiry operation to the acquisition equipment through the serial port, and directly sends third data returned by the third instruction to the test equipment.
FIG. 4 shows an interaction schematic diagram among the test software, the control device, the acquisition device and the test device, wherein the test software sends a lamp-on instruction to the test device, and the test device returns data information, and the function is used for testing whether the lamp-on is normal or not, as shown in FIG. 4; the test software sends an instruction for acquiring the analog quantity of the acquisition equipment to the acquisition equipment, the acquisition equipment returns data information, the test equipment performs result verification on the returned data information, the function is mainly to test whether power failure is successful or not, the current on a loop becomes 0 after the lamp is turned off, at the moment, the test software can acquire the analog quantity (namely the current value of the acquisition circuit) through the acquisition equipment, and then whether the test software is correct or not is judged according to the configured range; the test software sends a control power-off instruction to the control equipment, the control equipment returns data information, and the test software performs result verification on the returned data information. The function mainly tests whether the power-off alarming function of the test equipment is normal or not, after the test software cuts off the power supply of the test equipment through the controller, the test equipment continues to supply power through the battery (the function of the test equipment) and the test equipment detects that the power supply is cut off, at the moment, the test equipment reports the power-off alarming information to the test software, if the power-off alarming information is received, the power-off alarming function is considered to be correct, otherwise, if the power-off alarming information is not received after overtime, the function is considered to have a problem.
The street lamp terminal controller automatic production test method provided by the application can test all test items in a single test device and can test a plurality of test devices. For multiple test devices, which are similar to testing a single test device, test software tests all test items in each test device.
Fig. 5 shows a schematic test flow diagram of all test items in a single test device of the present application, and as shown in fig. 5, the test software performs a training test on the function of the test device by sending a first instruction and a second instruction, including the following substeps:
s311, initializing tooling equipment after equipment to be tested is online;
s312, acquiring a test item to be detected of the test equipment, and executing a test flow of the test item;
s313, judging whether the time for executing the test flow in the step S312 exceeds the preset time length, if not, executing the step S314, and if so, executing the step S315;
s314, after updating the test result of the current test item, jumping to a step S312;
s315, judging whether the overtime test times of the current test item are smaller than a preset threshold value, and retesting the current test item if the overtime test times of the current test item are smaller than the preset threshold value; if not, ending the test operation of the current test item;
s316, repeatedly executing the steps S312 to S315 until all test items of the test equipment are tested.
The test software supports the automatic test of a plurality of test items, and the next function is automatically tested after each function test is finished. Each test item contains a timeout time and a timeout number, the item is retested when the timeout time is reached, and the next item is directly failed to be tested when the retest number reaches the specified number.
In the following description, by taking the test device UIDd2908 as an example, fig. 6 shows a schematic diagram of a test list of one test device (UIDd 2908) in the present application, and as shown in fig. 6, test software formulates a test item list according to functions to be tested by the test device, and after the test software begins, the test software starts to execute from the first item of the test item list, and each item has different test flow and is implemented by codes. The test device UIDd2908 expands the test as follows: and (3) starting the item 1, sending a configuration information instruction by the test software, and passing the item 1 if the tooling equipment returns to be successful. And (2) starting the item 2, sending the query ammeter specification by the test software, returning data by the tool equipment, and checking the data by the test software to obtain a checking result to indicate that the item 2 passes or fails. Beginning item 3, and so on, after one test item is finished at a time, the test software automatically acquires the next test item to be tested from the list and executes the test flow of the test item, and if all the test items are tested, the test result is recorded.
Fig. 7 shows a schematic test flow chart of batch test performed by a plurality of test devices, and as shown in fig. 7, the test software performs training test on functions of the test devices by sending a first instruction and a second instruction, and the method comprises the following substeps:
s321, acquiring a list of test equipment, and starting test software for testing;
s322, acquiring a to-be-detected test device, and testing all test items of the test device;
s323, after the current test equipment is tested, updating the test result and statistical information of the current test equipment;
s324, repeatedly executing the steps S322 to S323 until all the test devices have completed the test.
Fig. 8 is a schematic diagram of a test list of batch tests performed by a plurality of test devices according to the present application, and as shown in fig. 8, a user may perform batch tests by autonomously selecting/inputting a test device UID to be tested.
Further, the test software may further automatically determine the test result according to the returned data information, and record and save the final test result (fig. 9 shows a schematic diagram of automatically saving the test result to an excel table in the present application), which specifically includes the following substeps:
s331, pre-configuring detection range data, and judging whether returned data information is in the range of the detection range data;
s332, in response to determining that the returned data information is within the range of the detection range data, measuring
The test result is successful, and the test result is recorded and stored;
s333, responding to the fact that the returned data information is not in the range of the detection range data, if the test result is failed, recording and storing the test result and marking the test result as red;
and S334, in response to the fact that the test equipment is not responded after overtime, the obtained test result is also failure, the test result is recorded and saved, and the test result is marked as red.
In the following description, the detection result of the ammeter data is taken as an example to be expanded, fig. 10 shows a schematic diagram of the detection result of the ammeter data judgment in the present application, and as shown in fig. 10, a test item of data query is taken as an example, wherein an ammeter data area is data information returned by query, and a detection configuration area is configured detection range data. The judgment of the data testing result of the ammeter is realized by the following steps: the test software sends data query, the tool equipment returns data, the test software detects various data values and compares the ranges according to the detection configuration, if the data values are not in the range, the test fails, the result is marked as red, and if the equipment is overtime and does not respond, the failure is also marked. For example, the returned voltage is 237.884, the value is in the configured detection range data (the configured voltage range is 220-240), and the voltage test judgment result is successful. And after the test is finished, automatically storing the test result and the test information (such as a tester and test time) into an excel table.
Different test equipment functions are different, and the corresponding test functions of the test equipment are required to be customized in a targeted manner, but the automatic flow and the principle are similar. The corresponding test software functions of the test equipment are all different. The display information of each test item is different, and the respective detection range data can be configured. Fig. 11 shows a schematic diagram of a test list of a concentrator of the present application, as shown in fig. 9, the test items of the concentrator include: 485-1 ammeter setting, information inquiry, 485-2 inquiry, GPS inquiry, DO opening, DI state inquiry, ammeter data inquiry, RTC timing, 485-1 ammeter inquiry, 220V power-off alarm, 220V power restoration inquiry, SD card state inquiry, parameter issuing and resetting, factory parameter setting and resetting. Fig. 12 shows a schematic diagram of a test list of the monitor box of the present application, and as shown in fig. 12, test items of the monitor box include: inquiring AI is closed, an AI switch is opened, information inquiry, RTC timing, ammeter data inquiry, DO is opened, DO is closed, a terminal is turned on, a terminal is turned off, a terminal PLC channel, a terminal wireless channel, inquiring AI is opened, an AI switch is closed, 220V power-off alarm is given out, 220V power restoration inquiry is carried out, SD card state is inquired, voltage and current inquiry, parameter issuing, resetting, factory parameter setting and GPS inquiry are carried out. Fig. 13 shows a schematic diagram of a test list of the street lamp terminal controller of the present application, and as shown in fig. 13, test items of the street lamp terminal controller include: configuration, data inquiry, leakage current inquiry, dimming 70%, RTC timing, version inquiry, inclination inquiry, dimming AI detection, lamp turning-off, GPS data inquiry, RTC timing, wireless test and lamp turning-off state inquiry.
As the implementation of the method, the application provides an embodiment of the automatic production test fixture device for the street lamp terminal controller, and the device can be particularly applied to various electronic equipment. The device comprises the following modules:
an external device;
a test device configured with a network interface for controllable access, and for controlling the external device;
the acquisition device is used for acquiring data parameters of the external device;
a control device for performing a power on/off operation;
the tool body is used for accommodating the external equipment, the testing equipment, the acquisition equipment and the control equipment; further comprises:
the test software is electrically connected with the test equipment through the network interface, and is used for sending a first instruction to the control equipment through the serial port to execute power supply/power off operation and sending a second instruction to the acquisition equipment through the serial port to execute information inquiry operation; and performing training test on the function of the test equipment by sending the first instruction and the second instruction, automatically judging a test result according to the returned data information, and recording and storing the final test result.
According to the street lamp terminal controller automated production test tool device and the street lamp terminal controller automated production test tool method, test equipment, external equipment, control equipment and acquisition equipment are directly installed in the tool equipment, and complex manual wiring is simplified. The function test of each test item can be automatically carried out, including issuing instructions, controlling equipment, data acquisition, data verification and the like, and each detection parameter can be configured, so that the manual operation is simplified, and the system is more efficient and accurate. And the test results are automatically stored and counted, so that the test efficiency is improved. Batch test is carried out, so that participation of personnel in a test process is reduced, and labor cost is reduced. The intelligent device testing system can be widely applied to testing various intelligent devices in the field of road illumination, and various devices need to formulate own testing items according to respective functions.
Referring now to FIG. 14, there is illustrated a schematic diagram of a computer system 500 suitable for use in implementing an electronic device of an embodiment of the present application. The electronic device shown in fig. 14 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present application.
As shown in fig. 14, the computer system 500 includes a Central Processing Unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input section 506 including a keyboard, a mouse, and the like; an output portion 507 including a Liquid Crystal Display (LCD) or the like, a speaker or the like; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The drive 510 is also connected to the I/O interface 505 as needed. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as needed so that a computer program read therefrom is mounted into the storage section 508 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 509, and/or installed from the removable media 511. The above-described functions defined in the method of the present application are performed when the computer program is executed by a Central Processing Unit (CPU) 501.
It should be noted that the computer readable storage medium described in the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by software, or may be implemented by hardware. The described units may also be provided in a processor, for example, described as: a processor includes a first determination unit, a second determination unit, a generation unit, a first extraction unit, and a first storage unit. The names of these units do not constitute a limitation on the unit itself in some cases, and for example, the first determination unit may also be described as "a unit that determines whether or not newly added event information exists in a preset event information list".
As another aspect, the present application also provides a computer-readable storage medium that may be included in the electronic device described in the above embodiments; or may exist alone without being incorporated into the electronic device. The computer-readable storage medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: determining whether newly added event information exists in a preset event information list, wherein each piece of event information in the event information list comprises event description information; determining the newly added event information as target event information in response to determining that the new event information exists; identifying event description information of target event information, and generating a label of the target event information; extracting element information sets from target event information; and storing the target event information, the element information set and the label association into a preset event information base.
The foregoing description is only of the preferred embodiments of the present application and is presented as a description of the principles of the technology being utilized. It will be appreciated by persons skilled in the art that the scope of the invention referred to in this application is not limited to the specific combinations of features described above, but it is intended to cover other embodiments in which any combination of features described above or equivalents thereof is possible without departing from the spirit of the invention. Such as the above-described features and technical features having similar functions (but not limited to) disclosed in the present application are replaced with each other.

Claims (10)

1. The automatic production test method for the street lamp terminal controller is characterized by comprising the following steps of:
s1, loading test equipment, external equipment, control equipment and acquisition equipment into tooling equipment, wherein the test equipment is externally provided with a network interface capable of controlling access, the test equipment is used for controlling the external equipment, and the acquisition equipment is used for acquiring data parameters of the external equipment;
s2, test software is electrically connected with the test equipment through the network interface, the test software sends a first instruction to the control equipment through a serial port to execute power supply/power off operation, and the test software sends a second instruction to the acquisition equipment through the serial port to execute information inquiry operation;
and S3, the test software carries out training test on the functions of the test equipment by sending the first instruction and the second instruction, automatically judges the test result according to the returned data information, and records and stores the final test result.
2. The automatic production test method of a street lamp terminal controller according to claim 1, wherein in step S3, the test software performs a training test on the function of the test device by sending the first instruction and the second instruction, comprising the following sub-steps:
s311, initializing the tool equipment after the test equipment is on line;
s312, acquiring a test item to be detected of the test equipment, and executing a test flow of the test item;
s313, judging whether the time for executing the test flow in the step S312 exceeds a preset time length, if not, executing the step S314, and if so, executing the step S315;
s314, updating the test result of the current test item, and jumping to the step S312;
s315, judging whether the overtime test times of the current test item are smaller than a preset threshold value, and retesting the current test item if the overtime test times of the current test item are smaller than the preset threshold value; if not, ending the test operation of the current test item;
s316, repeating the steps S312 to S315 until all test items of the test equipment are tested.
3. The automatic production test method of a street lamp terminal controller according to claim 1, wherein in step S3, the test software performs a training test on the function of the test device by sending the first instruction and the second instruction, comprising the following sub-steps:
s321, acquiring a list of the test equipment, and starting the test software for testing;
s322, acquiring the test equipment to be detected, and testing all test items of the test equipment;
s323, after the test of the current test equipment is completed, updating the test result and statistical information of the current test equipment;
s324, repeatedly executing the steps S322 to S323 until all the test devices are tested.
4. The automatic production test method of a street lamp terminal controller according to claim 1, wherein in step S3, the test result is automatically judged according to the returned data information, and recording and saving the final test result includes the following sub-steps:
s331, pre-configuring detection range data, and judging whether the returned data information is in the range of the detection range data;
s332, responding to the fact that the returned data information is in the range of the detection range data, and recording and storing the test result if the test result is successful;
s333, in response to determining that the returned data information is not in the range of the detection range data, the test result is failed, recording and storing the test result and marking the test result as red;
and S334, in response to determining that the test equipment is not responded after overtime, the obtained test result is also failure, recording and storing the test result and marking the test result as red.
5. The automated production test method of the street lamp terminal controller according to claim 1, wherein each test software is configured with a different serial port to connect with a different tooling device, and the test software communicates with the test device through a serial port control communication module.
6. The method of claim 1, wherein the test equipment comprises a concentrator, a monitor box, and a street lamp terminal controller, and the external equipment comprises a lamp and a sensor.
7. The automated production test method of the street lamp terminal controller according to claim 1, wherein the data information returned in step S3 includes:
the test software sends first data returned after the first instruction executes the power supply/power off operation to the control equipment through the serial port, sends second data returned after the second instruction executes the information query operation to the acquisition equipment through the serial port, and directly sends third data returned by the third instruction to the test equipment.
8. Automatic production test fixture device of street lamp terminal controller, its characterized in that includes:
an external device;
a test device configured with a network interface for controllable access, and for controlling the external device;
the acquisition device is used for acquiring data parameters of the external device;
a control device for performing a power on/off operation;
the tool body is used for accommodating the external equipment, the testing equipment, the acquisition equipment and the control equipment; further comprises:
the test software is electrically connected with the test equipment through the network interface, and is used for sending a first instruction to the control equipment through the serial port to execute power supply/power off operation and sending a second instruction to the acquisition equipment through the serial port to execute information inquiry operation; and performing training test on the function of the test equipment by sending the first instruction and the second instruction, automatically judging a test result according to the returned data information, and recording and storing the final test result.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, realizes the steps of the street lamp terminal controller automated production test method according to any one of claims 1 to 7.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the street lamp terminal controller automated production testing method according to any one of claims 1 to 7.
CN202310523568.0A 2023-05-10 2023-05-10 Automatic production test fixture device and method for street lamp terminal controller Pending CN116540671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310523568.0A CN116540671A (en) 2023-05-10 2023-05-10 Automatic production test fixture device and method for street lamp terminal controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310523568.0A CN116540671A (en) 2023-05-10 2023-05-10 Automatic production test fixture device and method for street lamp terminal controller

Publications (1)

Publication Number Publication Date
CN116540671A true CN116540671A (en) 2023-08-04

Family

ID=87443157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310523568.0A Pending CN116540671A (en) 2023-05-10 2023-05-10 Automatic production test fixture device and method for street lamp terminal controller

Country Status (1)

Country Link
CN (1) CN116540671A (en)

Similar Documents

Publication Publication Date Title
CN107907815B (en) Single-board dual-channel FT (FT) mass production test and yield analysis system and method
CN106771972B (en) Automatic testing device, system and method for POS machine mainboard
CN104198911B (en) A kind of chip pin method of testing of DTU and circuit
CN104007340A (en) Electronic product aging test system and aging test method
CN110308385A (en) A kind of PCBA Online Transaction Processing and method
CN112230095B (en) Load identification module hardware interface detection equipment and automatic detection method thereof
CN103995197A (en) Aging test equipment for electronic products
CN111983546B (en) Ammeter detection configuration device and method
CN110895405A (en) Finished vehicle controller VCU offline detection system and method
CN103914361B (en) Detection jig and detection method of computer device
CN113063454A (en) Detection system and detection method for batch detection of water immersion sensors
CN111880516A (en) Automatic detection device and method based on lithium battery controller of electric vehicle
CN110032481B (en) Wireless product testing method, wireless product testing system and electronic equipment
CN213403040U (en) Detection system for automobile mobile phone Bluetooth key
CN111458592A (en) Automatic detection system for car lamp driving module
CN100476753C (en) System for realizing main-board envirnoment test
CN116540671A (en) Automatic production test fixture device and method for street lamp terminal controller
CN116087867A (en) Method for testing operation reliability of intelligent electric energy meter
CN203606698U (en) Test equipment of dual-machine hot standby switching board
CN112463479B (en) Automatic testing method and system for VR abnormal power failure detection positioning function
CN110865324B (en) Automatic setting method and system for line fault indicator
CN214669306U (en) Non-invasive load identification module detection device
CN105676024A (en) Aging test method and device for electronic product
CN112441255B (en) Automatic testing device and method for flight parameter quick-taking recording system
CN114859769A (en) Electronic product batch test method based on RTOS

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