CN108983083B - Electric tool switch debugging control method, device and system - Google Patents
Electric tool switch debugging control method, device and system Download PDFInfo
- Publication number
- CN108983083B CN108983083B CN201810882703.XA CN201810882703A CN108983083B CN 108983083 B CN108983083 B CN 108983083B CN 201810882703 A CN201810882703 A CN 201810882703A CN 108983083 B CN108983083 B CN 108983083B
- Authority
- CN
- China
- Prior art keywords
- test
- module
- electric tool
- sub
- factor
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/327—Testing of circuit interrupters, switches or circuit-breakers
- G01R31/3277—Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Programmable Controllers (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a method, a device and a system for debugging and controlling an electric tool switch, which relate to the technical field of electric tools and are used for receiving a debugging instruction of an electric tool switch to be debugged, which is sent by a user through a touch screen monitoring module; the debugging instruction comprises a call instruction for the test sub-factor; analyzing the debugging instruction to obtain corresponding execution content, so that the main controller controls the motor module to perform simulated manual operation on the electric tool switch to be debugged and controls the corresponding test module to perform signal acquisition on the electric tool switch to be debugged; and receiving a test result returned by the test module based on the acquired signal, and displaying the test result through the touch screen monitoring module. The invention can enable a user to freely combine various test conditions in a touch mode, and debugs different electric tool switches based on the debugging instruction of the user, thereby shortening the development period, greatly improving the test efficiency of products and meeting the development requirements of a small amount of customers.
Description
Technical Field
The invention relates to the technical field of electric tools, in particular to a method, a device and a system for debugging and controlling a switch of an electric tool.
Background
The existing test systems for finished or semi-finished switches of power tools are generally designed individually according to the specific functions of the board to be tested. When a production department performs production line operation and assembly test, a supplier needs to design one or more types of test machines for each type of electronic product even if the functions are similar. Under the circumstances, the cost of a user in designing and maintaining a test machine is too high, the development period of a test platform is prolonged, and a universal electric tool switch test method and a universal electric tool switch test system are urgently needed for the situations of small and various customers at present.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, an apparatus, and a system for controlling debugging of an electric tool switch, which enable a user to freely combine multiple test conditions in a touch manner, debug different electric tool switches based on a debugging instruction of the user, shorten a development cycle, greatly improve test efficiency of a product, and meet a small and large development demand of customers.
In a first aspect, an embodiment of the present invention provides a method for controlling a switch of an electric tool, where the method includes:
receiving a debugging instruction of an electric tool switch to be debugged, which is sent by a user through a touch screen monitoring module; the debugging instruction comprises a call instruction for the test sub-factor; the test sub-factors include: at least one of IO control sub-factor, LED test sub-factor, AD, DA sub-factor, motor motion sub-factor and instrument communication sub-factor;
analyzing the debugging instruction to obtain corresponding execution content, so that the main controller controls the motor module to perform simulated manual operation on the electric tool switch to be debugged and controls the corresponding test module to perform signal acquisition on the electric tool switch to be debugged;
and receiving a test result returned by the test module based on the acquired signal, and displaying the test result through the touch screen monitoring module.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where before receiving a debugging instruction of a switch of an electric tool to be debugged, where the debugging instruction is sent by a user through a touch screen monitoring module, the method further includes:
receiving a login request sent by a user through a touch screen monitoring module; the login request comprises the following steps: a user name and a password input by a user;
and executing login operation according to the login request, and controlling the touch screen monitoring module to display the switch test interface of the electric tool.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where before receiving a debugging instruction of a switch of an electric tool to be debugged, where the debugging instruction is sent by a user through a touch screen monitoring module, the method further includes:
receiving production test information sent by a user through a touch screen monitoring module; the production test information includes: the name of the workshop, the number of a production line, the number of a worker and the test model;
and starting a test sequence according to the production test information, and displaying test state information through the touch screen monitoring module.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the third possible implementation manner further includes:
receiving a data viewing request sent by a user through a touch screen monitoring module;
and displaying corresponding data to the user through the touch screen monitoring module according to the viewing request.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the method further includes:
receiving a test item adjusting instruction sent by a user through a touch screen monitoring module;
configuring a test sequence according to the test item adjusting instruction; the test sequence includes: step list, detection step, corresponding parameters and operation information.
In a second aspect, an embodiment of the present invention further provides a device for debugging and controlling a switch of an electric tool, where the device includes:
the instruction receiving module is used for receiving a debugging instruction of the electric tool switch to be debugged, which is sent by a user through the touch screen monitoring module; the debugging instruction comprises a call instruction for the test sub-factor; the test sub-factors include: at least one of IO control sub-factor, LED test sub-factor, AD, DA sub-factor, motor motion sub-factor and instrument communication sub-factor;
the instruction analysis module is used for analyzing the debugging instruction to obtain corresponding execution content so that the main controller controls the motor module to perform simulated manual operation on the electric tool switch to be debugged and controls the corresponding test module to perform signal acquisition on the electric tool switch to be debugged;
and the test result receiving module is used for receiving a test result returned by the test module based on the acquired signal and displaying the test result through the touch screen monitoring module.
In a third aspect, an embodiment of the present invention further provides a power tool switch debugging control system, including: the device comprises an upper computer, a main controller, a switching board, a motor module and a test module;
a touch screen monitoring module is arranged on the upper computer; the upper computer is also provided with an electric tool switch debugging control device in the second aspect; the upper computer, the motor module and the test module are respectively connected with the main controller; the test module is connected with the switch of the electric tool to be debugged through the adapter plate; the main controller is connected with the matrix switch circuit;
the upper computer is used for receiving a debugging instruction of the electric tool switch to be debugged, which is sent by a user through the touch screen monitoring module; the debugging instruction comprises a call instruction for the test sub-factor; the test sub-factors include: at least one of IO control sub-factor, LED test sub-factor, AD, DA sub-factor, motor motion sub-factor and instrument communication sub-factor;
the upper computer is also used for analyzing the debugging instruction to obtain corresponding execution content, so that the main controller controls the motor module to perform simulated manual operation on the electric tool switch to be debugged and controls the corresponding test module to perform signal acquisition on the electric tool switch to be debugged;
the upper computer is also used for receiving a test result returned by the test module based on the acquired signal and displaying the test result through the touch screen monitoring module.
With reference to the third aspect, an embodiment of the present invention provides a first possible implementation manner of the third aspect, where the method further includes: the system comprises a program-controlled power supply, a contactor module and a relay module;
the programmable power supply is respectively connected with the main controller and the contactor module;
the relay module is respectively connected with the main controller and the contactor module;
the main controller controls the working state of the contactor module through the relay module so that the programmable power supply supplies power to the electric tool switch to be debugged.
With reference to the third aspect, an embodiment of the present invention provides a second possible implementation manner of the third aspect, where the test module includes: at least one of a laser displacement sensor, a pressure sensor, an LED detection module, a voltage acquisition circuit, a digital input circuit and a digital output circuit.
In a fourth aspect, the present invention also provides a computer readable medium having non-volatile program code executable by a processor, where the program code causes the processor to execute the method according to the first aspect.
The embodiment of the invention has the following beneficial effects:
in the debugging control method of the electric tool switch provided by the embodiment of the invention, firstly, a debugging instruction of the electric tool switch to be debugged, which is sent by a user through a touch screen monitoring module, is received; the debugging instruction comprises a call instruction for the test sub-factor; the test sub-factors include: at least one of IO control sub-factor, LED test sub-factor, AD, DA sub-factor, motor motion sub-factor and instrument communication sub-factor; analyzing the debugging instruction to obtain corresponding execution content, so that the main controller controls the motor module to perform simulated manual operation on the electric tool switch to be debugged and controls the corresponding test module to perform signal acquisition on the electric tool switch to be debugged; and receiving a test result returned by the test module based on the acquired signal, and displaying the test result through the touch screen monitoring module. The embodiment of the invention can enable a user to freely combine various test conditions in a touch mode, and debug different electric tool switches based on the debugging instruction of the user, thereby shortening the development period, greatly improving the test efficiency of products and meeting the development requirements of a small amount of customers.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for debugging and controlling a switch of an electric tool according to a first embodiment of the present invention;
fig. 2 is a flowchart of another method for debugging and controlling a switch of an electric tool according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for controlling the debugging of the switch of the power tool according to the first embodiment of the present invention;
fig. 4 is a flowchart of another method for debugging and controlling a switch of an electric tool according to an embodiment of the present invention;
fig. 5 is a flowchart of another method for controlling the debugging of the switch of the power tool according to the first embodiment of the present invention;
fig. 6 is a schematic diagram of a switch debugging control device of an electric tool according to a second embodiment of the present invention;
fig. 7 is a schematic diagram of a switch debugging control system of an electric tool according to a third embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The existing test system for the finished or semi-finished switch of the electric tool is generally a system designed independently according to the specific functions of a tested board, so that the cost of a user in designing and maintaining a test machine table is too high, and the development period of the test platform is prolonged. Based on this, embodiments of the present invention provide a method, an apparatus, and a system for controlling debugging of an electric tool switch, which enable a user to freely combine multiple test conditions in a touch manner, and debug different electric tool switches based on a debugging instruction of the user, thereby shortening a development cycle, greatly improving test efficiency of a product, and meeting a development requirement of a small number of customers.
To facilitate understanding of the present embodiment, a detailed description will be given to a method for debugging and controlling a switch of an electric tool disclosed in the present embodiment.
The first embodiment is as follows:
an embodiment of the present invention provides a method for controlling the debugging of a switch of an electric tool, where the method is executed at an upper computer end, and as shown in fig. 1, the method includes the following steps:
s101: and receiving a debugging instruction of the electric tool switch to be debugged, which is sent by a user through the touch screen monitoring module.
When the debugging method is concretely realized, firstly, a user connects an electric tool switch to be debugged with a testing device and the like, and then sends a debugging instruction of the electric tool switch to be debugged to an upper computer through a touch screen monitoring module, wherein the debugging instruction comprises a calling instruction of a testing sub-factor; the test sub-factors include: at least one of IO control sub-factor, LED test sub-factor, AD, DA sub-factor, motor motion sub-factor and instrument communication sub-factor. The user can select one of the test sub-factors to test according to the requirement.
S102: and analyzing the debugging instruction to obtain corresponding execution content so that the main controller controls the motor module to perform simulated manual operation on the electric tool switch to be debugged and controls the corresponding test module to perform signal acquisition on the electric tool switch to be debugged.
The host computer is after receiving above-mentioned debugging instruction, and to this debugging instruction analysis, obtain corresponding execution content to control main control unit, so that main control unit control motor module treats debugging electric tool switch and simulates manual operation, and control corresponding test module treats debugging electric tool switch and carries out signal acquisition. The test module comprises: at least one of a laser displacement sensor, a pressure sensor, an LED detection module, a voltage acquisition circuit, a digital input circuit and a digital output circuit.
For example, the debugging instruction includes a call instruction for the LED test sub-factor, and the upper computer analyzes the debugging instruction to obtain corresponding execution content for the LED detection module, and further controls the main controller to execute the LED detection operation on the LED detection module through the execution content, and further collects a relevant signal of the switch of the electric tool to be debugged through the LED detection module.
S103: and receiving a test result returned by the test module based on the acquired signal, and displaying the test result through the touch screen monitoring module.
The test module transmits the signals to the main controller after collecting the corresponding signals, and the main controller further transmits the signals to the upper computer so that the upper computer displays the signals, namely the test result, through the touch screen monitoring module, and a user can refer, judge or perform other steps.
In executing step S101: before receiving a debugging instruction of the electric tool switch to be debugged, which is sent by a user through the touch screen monitoring module, the method further includes the following steps, as shown in fig. 2:
s201: and receiving a login request sent by a user through the touch screen monitoring module.
The login request includes: a user name and password entered by the user.
S202: and executing login operation according to the login request, and controlling the touch screen monitoring module to display the switch test interface of the electric tool.
Before the user carries out electric tool switch test, open user at first and log in management system APP, can pop out user's login information input box voluntarily, specifically include: after the user completes the filling (usually only the user name and the password need to be filled), a login button is clicked, a login request is sent to the upper computer, the upper computer executes login operation according to the login request after the user name and the password are successfully matched, and then the touch screen monitoring module is controlled to display an electric tool switch test interface.
Further, before the actual power tool switch test, the above method further comprises the following production test information entry process, see fig. 3:
s301: and receiving production test information sent by a user through the touch screen monitoring module.
S302: and starting a test sequence according to the production test information, and displaying test state information through the touch screen monitoring module.
Specifically, after the login process is completed, the system automatically pops up a production information dialog test interface, wherein the production test information includes: workshop name, production line number, employee job number, test model. After the user completes the filling of the production information according to the production information dialog box, the user clicks the confirmation button to start the test sequence, and the filled production information can be displayed right above the interface through the touch screen monitoring module.
In addition, in order to facilitate the user to perform data query, the method further includes the following steps, as shown in fig. 4:
s401: and receiving a data viewing request sent by a user through the touch screen monitoring module.
S402: and displaying corresponding data to the user through the touch screen monitoring module according to the viewing request.
Specifically, when the user needs to check the test data for various reasons, the user can click a data checking option in the menu, enter a data checking interface, and further select an option meeting the self requirement in the existing history record, for example, a test report of 10 months and 30 days in 2017, so that the corresponding data checking can be performed.
Further, the method further comprises the following steps, as shown in fig. 5:
s501: and receiving a test item adjusting instruction sent by a user through the touch screen monitoring module.
S502: and configuring a test sequence according to the test item adjusting instruction.
Specifically, if a user needs to adjust an original test item according to production needs, or needs to adjust specific parameters of a certain test item, an editing option may be selected, and then the parameters that need to be adjusted are modified or test sub-factors are added or deleted. The upper computer reconfigures a test sequence according to the edited content of the user, wherein the test sequence generally comprises: step list, detection step, corresponding parameters and operation information.
The embodiment of the invention can enable a user to freely combine various test conditions in a touch mode, and debug different electric tool switches based on the debugging instruction of the user, thereby shortening the development period, greatly improving the test efficiency of products and meeting the development requirements of a small amount of customers.
Example two:
an embodiment of the present invention further provides a device for debugging and controlling a switch of an electric tool, as shown in fig. 6, the device includes: an instruction receiving module 61, an instruction analyzing module 62 and a test result receiving module 63.
The instruction receiving module 61 is used for receiving a debugging instruction of the switch of the electric tool to be debugged, which is sent by a user through the touch screen monitoring module; the debugging instruction comprises a call instruction for the test sub-factor; the test sub-factors include: at least one of IO control sub-factor, LED test sub-factor, AD, DA sub-factor, motor motion sub-factor and instrument communication sub-factor; the instruction analysis module 62 is used for analyzing the debugging instruction to obtain corresponding execution content, so that the main controller controls the motor module to perform simulated manual operation on the electric tool switch to be debugged, and controls the corresponding test module to perform signal acquisition on the electric tool switch to be debugged; and the test result receiving module 63 is configured to receive a test result returned by the test module based on the acquired signal, and display the test result through the touch screen monitoring module.
In the electric tool switch debugging control device provided by the embodiment of the invention, each module has the same technical characteristics as the electric tool switch debugging control method, so that the functions can be realized in the same way. The specific working process of each module in the device refers to the above method embodiment, and is not described herein again.
Example three:
an embodiment of the present invention further provides a system for debugging and controlling a switch of an electric tool, as shown in fig. 7, the system includes: the device comprises an upper computer 101, a main controller 102, an adapter plate 106, a motor module 104 and a test module 105.
Wherein, the upper computer 101 is provided with a touch screen monitoring module 1012; the upper computer 101 is also provided with an electric tool switch debugging control device 1011 as described in the second embodiment; the upper computer 101, the motor module 104 and the test module 105 are respectively connected with the main controller 102; the test module 105 is connected with an electric tool switch 107 to be debugged through an adapter plate 106; the main controller 102 is connected to a matrix switch circuit 103.
The upper computer 101 is used for receiving a debugging instruction of the electric tool switch 107 to be debugged, which is sent by a user through the touch screen monitoring module 1012; the debugging instruction comprises a call instruction for the test sub-factor; the test sub-factors include: at least one of IO control sub-factor, LED test sub-factor, AD, DA sub-factor, motor motion sub-factor and instrument communication sub-factor. The upper computer 101 is further configured to analyze the debugging instruction to obtain corresponding execution content, so that the main controller 102 controls the motor module 104 to perform simulated manual operation on the to-be-debugged electric tool switch 107, and controls the corresponding test module 105 to perform signal acquisition on the to-be-debugged electric tool switch 107. The upper computer 101 is further configured to receive a test result returned by the test module 105 based on the acquired signal, and display the test result through the touch screen monitoring module 1012.
Among them, the test module 105 includes: at least one of a laser displacement sensor, a pressure sensor, an LED detection module, a voltage acquisition circuit, a digital input circuit and a digital output circuit.
In a specific implementation, the touch screen monitoring module 1012 can be implemented by using various types of display screens, for example: LCD display screens or OLED display screens, etc. A man-machine debugging interface can be provided for a user through the display screen, each debugging function is displayed by adopting an independent page in the man-machine debugging interface, and interface buttons such as debugging options and scanning options are arranged below the man-machine debugging interface. And the interface button can be used for switching to different functional interfaces. The debug options include: I/O control, motor control, resistance acquisition, voltage acquisition, diode test, oscilloscope, signal generator, parameter setting and the like. The motor control further comprises: motor forward, motor reverse, stop running, motor running, return to origin, etc. The user can debug according to the content displayed by the human-computer debugging interface and send a debugging instruction to the upper computer 101.
The main controller 102 is implemented by an ARM-STM32F103VET6 main chip. The main controller 102 is connected with a matrix switch circuit 103, in this embodiment, the matrix switch circuit 103 is implemented by a matrix switch AD75019, the matrix switch AD75019 is 256 analog switches arranged in a 106X106 array, and a user can send a debugging instruction of an electric tool switch 107 to be debugged to the upper computer 101 through a human-computer debugging interface provided by the touch screen monitoring module 1012, where the debugging instruction includes a call instruction of a test sub-factor; the test sub-factors include: at least one of IO control sub-factor, LED test sub-factor, AD, DA sub-factor, motor motion sub-factor and instrument communication sub-factor.
After the upper computer 101 analyzes the debugging instructions, corresponding execution contents are obtained, including control instructions for the plurality of analog switches, and the main controller 102 is further controlled to execute test operations. By different combinations of the plurality of analog switches, a plurality of different test conditions can be realized. The main controller 102 controls the motor module 104 connected thereto to work, the motor module 104 further drives the to-be-debugged electric tool switch 107 to move, and meanwhile, the main controller 102 performs various signal acquisition on the to-be-debugged electric tool switch 107 through the testing module 105 connected thereto, for example: voltage signals, pressure signals, displacement signals, frequency signals, and output linearity, duty cycle output characteristics, etc. during movement of the power tool switch 107 to be debugged. After the test module 105 collects the test data, the test data is sent to the main controller 102, the main controller 102 uploads the test data to the upper computer 101, so that the upper computer 101 stores the test data, and the test result is displayed through the touch screen monitoring module 1012, so that a user can judge or further debug the to-be-debugged electric tool switch 107 according to the test result.
The patch board 106 in this embodiment can be flexibly configured according to different external conditions required by a test product, and other circuits and connectors are not required to be added, and all changes are mainly concentrated on the patch cord of the universal patch board 106. The on-line debugging and testing of various different electric tool switches are realized through different combinations of the analog switches and different circuit combinations of the adapter plate 106.
Further, the above system further comprises: a program-controlled power supply, a contactor module and a relay module. The programmable power supply is respectively connected with the main controller 102 and the contactor module; the relay module is respectively connected with the main controller 102 and the contactor module; the main controller 102 controls the working state of the contactor module through the relay module, so that the programmable power supply supplies power to the electric tool switch 107 to be debugged.
According to the electric tool switch debugging control system provided by the embodiment of the invention, when the electric tool switch is debugged, a hardware circuit is not required to be built again, various testing conditions can be freely combined through the upper computer 101, the main controller 102, the matrix switch circuit 103, the motor module 104 and the testing module 105, various different electric tool switches can be debugged through various adapter plates 106, and the debugging efficiency is greatly improved.
The computer program product of the power tool switch debugging control method provided by the embodiment of the present invention includes a computer readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and will not be described herein again.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and the electronic device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. 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.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, 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 devices or units through some communication interfaces, 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 invention 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (9)
1. A power tool switch commissioning control method, the method comprising:
receiving a debugging instruction of an electric tool switch to be debugged, which is sent by a user through a touch screen monitoring module; the debugging instruction comprises a calling instruction for the test sub-factor; the test sub-factors include: at least one of IO control sub-factor, LED test sub-factor, AD, DA sub-factor, motor motion sub-factor and instrument communication sub-factor;
analyzing the debugging instruction to obtain corresponding execution content, so that the main controller controls a motor module to perform simulated manual operation on the electric tool switch to be debugged, and controls a corresponding test module to perform signal acquisition on the electric tool switch to be debugged;
receiving a test result returned by the test module based on the acquired signal, and displaying the test result through the touch screen monitoring module;
the method further comprises the following steps:
receiving a test item adjusting instruction sent by a user through the touch screen monitoring module;
configuring a test sequence according to the test item adjusting instruction; the test sequence includes: step list, detection step, corresponding parameters and operation information.
2. The method according to claim 1, wherein before the receiving the debugging command of the power tool switch to be debugged sent by the user through the touch screen monitoring module, the method further comprises:
receiving a login request sent by a user through the touch screen monitoring module; the login request comprises: a user name and a password input by a user;
and executing login operation according to the login request, and controlling the touch screen monitoring module to display a switch test interface of the electric tool.
3. The method according to claim 1, wherein before the receiving the debugging command of the power tool switch to be debugged sent by the user through the touch screen monitoring module, the method further comprises:
receiving production test information sent by a user through the touch screen monitoring module; the production test information includes: the name of the workshop, the number of a production line, the number of a worker and the test model;
and starting a test sequence according to the production test information, and displaying test state information through the touch screen monitoring module.
4. The method of claim 1, further comprising:
receiving a data viewing request sent by a user through the touch screen monitoring module;
and displaying corresponding data to a user through the touch screen monitoring module according to the viewing request.
5. A power tool switch commissioning control apparatus, said apparatus comprising:
the instruction receiving module is used for receiving a debugging instruction of the electric tool switch to be debugged, which is sent by a user through the touch screen monitoring module; the debugging instruction comprises a calling instruction for the test sub-factor; the test sub-factors include: at least one of IO control sub-factor, LED test sub-factor, AD, DA sub-factor, motor motion sub-factor and instrument communication sub-factor;
the instruction analysis module is used for analyzing the debugging instruction to obtain corresponding execution content so that the main controller controls the motor module to perform simulated manual operation on the electric tool switch to be debugged and controls the corresponding test module to perform signal acquisition on the electric tool switch to be debugged;
the test result receiving module is used for receiving a test result returned by the test module based on the acquired signal and displaying the test result through the touch screen monitoring module;
the instruction receiving module is also used for receiving a test item adjusting instruction sent by a user through the touch screen monitoring module;
the instruction analysis module is also used for configuring a test sequence according to the test item adjusting instruction; the test sequence includes: step list, detection step, corresponding parameters and operation information.
6. A power tool switch commissioning control system, comprising: the device comprises an upper computer, a main controller, a switching board, a motor module and a test module;
the upper computer is provided with a touch screen monitoring module; the upper computer is also provided with an electric tool switch debugging control device as claimed in claim 5; the upper computer, the motor module and the test module are respectively connected with the main controller; the test module is connected with an electric tool switch to be debugged through the adapter plate; the main controller is connected with the matrix switch circuit;
the upper computer is used for receiving a debugging instruction of the electric tool switch to be debugged, which is sent by a user through the touch screen monitoring module; the debugging instruction comprises a calling instruction for the test sub-factor; the test sub-factors include: at least one of IO control sub-factor, LED test sub-factor, AD, DA sub-factor, motor motion sub-factor and instrument communication sub-factor;
the upper computer is also used for analyzing the debugging instruction to obtain corresponding execution content so that the main controller controls the motor module to perform simulated manual operation on the electric tool switch to be debugged and controls the corresponding test module to perform signal acquisition on the electric tool switch to be debugged;
the upper computer is also used for receiving a test result returned by the test module based on the acquired signal and displaying the test result through the touch screen monitoring module.
7. The system of claim 6, further comprising: the system comprises a program-controlled power supply, a contactor module and a relay module;
the programmable power supply is respectively connected with the main controller and the contactor module;
the relay module is respectively connected with the main controller and the contactor module;
the main controller controls the working state of the contactor module through the relay module so that the programmable power supply supplies power to the electric tool switch to be debugged.
8. The system of claim 6, wherein the testing module comprises: at least one of a laser displacement sensor, a pressure sensor, an LED detection module, a voltage acquisition circuit, a digital input circuit and a digital output circuit.
9. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810882703.XA CN108983083B (en) | 2018-08-03 | 2018-08-03 | Electric tool switch debugging control method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810882703.XA CN108983083B (en) | 2018-08-03 | 2018-08-03 | Electric tool switch debugging control method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108983083A CN108983083A (en) | 2018-12-11 |
CN108983083B true CN108983083B (en) | 2021-04-13 |
Family
ID=64555530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810882703.XA Active CN108983083B (en) | 2018-08-03 | 2018-08-03 | Electric tool switch debugging control method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108983083B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113532833A (en) * | 2021-07-30 | 2021-10-22 | 德丰电创科技股份有限公司 | Life test device and system |
CN114326571B (en) * | 2021-12-23 | 2024-07-19 | 中国船舶重工集团公司第七0九研究所 | Method and device for testing master-slave redundancy switching performance of PLC |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1428611A (en) * | 2002-12-24 | 2003-07-09 | 申明 | Multifunctional integrated power virtual test analysis method and its test analysis apparatus |
CN101435842A (en) * | 2008-12-12 | 2009-05-20 | 江西洪都航空工业集团有限责任公司 | Multifunctional integrated test system |
CN102455414A (en) * | 2010-10-18 | 2012-05-16 | 台达电子工业股份有限公司 | Automatic test system and method thereof |
CN104007348A (en) * | 2014-06-10 | 2014-08-27 | 紫光测控有限公司 | Automated testing system and method thereof |
CN205485601U (en) * | 2016-01-04 | 2016-08-17 | 科诺伟业风能设备(北京)有限公司 | Wind -powered electricity generation becomes oar control system simulating measurement setup |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI273252B (en) * | 2005-06-16 | 2007-02-11 | Via Tech Inc | Remote testing system and method |
-
2018
- 2018-08-03 CN CN201810882703.XA patent/CN108983083B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1428611A (en) * | 2002-12-24 | 2003-07-09 | 申明 | Multifunctional integrated power virtual test analysis method and its test analysis apparatus |
CN101435842A (en) * | 2008-12-12 | 2009-05-20 | 江西洪都航空工业集团有限责任公司 | Multifunctional integrated test system |
CN102455414A (en) * | 2010-10-18 | 2012-05-16 | 台达电子工业股份有限公司 | Automatic test system and method thereof |
CN104007348A (en) * | 2014-06-10 | 2014-08-27 | 紫光测控有限公司 | Automated testing system and method thereof |
CN205485601U (en) * | 2016-01-04 | 2016-08-17 | 科诺伟业风能设备(北京)有限公司 | Wind -powered electricity generation becomes oar control system simulating measurement setup |
Also Published As
Publication number | Publication date |
---|---|
CN108983083A (en) | 2018-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109634728B (en) | Job scheduling method and device, terminal equipment and readable storage medium | |
US20170068229A1 (en) | Control system, method, program, and information processing device | |
JP7110415B2 (en) | Fault injection method, device, electronic equipment, storage medium, and program | |
CN104123219A (en) | Method and device for testing software | |
US9984244B2 (en) | Controller, information processing apparatus, and recording medium | |
CN111240973B (en) | Equipment testing method and system based on simulation and readable storage medium | |
JP2001236115A (en) | Remote diagnostic system and method | |
CN110197698B (en) | Method and device for automatically testing influence of different power states of SSD (solid State drive) | |
CN108983083B (en) | Electric tool switch debugging control method, device and system | |
CN107170218B (en) | Remote assistance method and system for debugging fire alarm system | |
CN110659198A (en) | Application program test case execution method and device and software test system | |
CN113190443A (en) | Test method, test device, computer equipment and storage medium | |
CN115408228B (en) | Automatic testing method, device and system for touch screen equipment | |
CN109597475A (en) | A kind of server power supply information processing method, apparatus and system | |
JP6442131B2 (en) | Control system and control device | |
CN116414640A (en) | Communication terminal hardware testing method and complete machine testing flow | |
CN108710692A (en) | A kind of automobile part production line test system and method | |
CN112416805A (en) | Test management cloud platform and method | |
CN110990177A (en) | Fault repairing method, device, system, storage medium and electronic equipment | |
CN114637669A (en) | Device management method, device and storage medium | |
CN112530615B (en) | Variable forcing method and system suitable for nuclear power station equipment | |
CN110335637B (en) | Method and device for testing storage equipment and equipment | |
JPH0511834A (en) | Remote diagnostic system for machine | |
JP2013105218A (en) | Display device | |
CN101819419B (en) | Active plc intelligent liquid crystal display |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |