CN112346429A - Testing method and device of variable frequency control equipment and storage medium - Google Patents

Testing method and device of variable frequency control equipment and storage medium Download PDF

Info

Publication number
CN112346429A
CN112346429A CN201910720265.1A CN201910720265A CN112346429A CN 112346429 A CN112346429 A CN 112346429A CN 201910720265 A CN201910720265 A CN 201910720265A CN 112346429 A CN112346429 A CN 112346429A
Authority
CN
China
Prior art keywords
command
variable frequency
frequency control
sending
parameters
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
CN201910720265.1A
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.)
Tianjin Optical Electrical Communication Technology Co Ltd
Original Assignee
Tianjin Optical Electrical Communication 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 Tianjin Optical Electrical Communication Technology Co Ltd filed Critical Tianjin Optical Electrical Communication Technology Co Ltd
Priority to CN201910720265.1A priority Critical patent/CN112346429A/en
Publication of CN112346429A publication Critical patent/CN112346429A/en
Pending legal-status Critical Current

Links

Images

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/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides a test method, a test device and a storage medium of variable frequency control equipment, wherein the method comprises the following steps: receiving command information input in a test control interface; converting the command information into a corresponding command; and sending the command to a variable frequency control device, so that the variable frequency control device executes the command and returns corresponding parameters, and displaying the parameters on the control interface. Various operating parameters of the variable frequency control equipment can be obtained by directly inputting corresponding command information, and the query of various parameters can be realized without complex commands. And various parameters can be comprehensively compared, so that the error of the remote control program can be conveniently determined. Meanwhile, the error prompt under various special conditions can be aimed at, and the test usability is enhanced.

Description

Testing method and device of variable frequency control equipment and storage medium
Technical Field
The invention belongs to the technical field of variable frequency control equipment, and particularly relates to a test method and a test device of variable frequency control equipment and a storage medium.
Background
The frequency conversion control equipment is mainly used for adjusting the working frequency of the equipment, reducing energy loss, stably starting the equipment and reducing the damage of large current generated when the equipment is directly started to a motor. Meanwhile, the device is provided with analog quantity input (for speed control or feedback signals), PID control, pump switching control (for constant pressure), a communication function, a macro function (different parameter settings aiming at different occasions), multi-speed and the like.
The frequency conversion control device is the main body of the whole system, and can be remotely controlled through network communication through various control software. When various control software is developed and tested, various operating parameters of the variable frequency control equipment need to be monitored, and various problems are conveniently found. And optimization and debugging of control software are realized.
In the prior art, various remote commands are usually used for acquiring the operating parameters and feedback of the variable frequency control equipment, however, this method requires testers to know various instructions, and only one kind of information can be acquired at a time, and it is not easy to comprehensively use various information to debug the control software.
Disclosure of Invention
The embodiment of the invention provides a method and a device for testing variable frequency control equipment and a storage medium, which are used for solving at least one of the technical problems.
In a first aspect, an embodiment of the present invention provides a method for testing a variable frequency control device, including:
receiving command information input in a test control interface;
converting the command information into a corresponding command;
and sending the command to a variable frequency control device, so that the variable frequency control device executes the command and returns corresponding parameters, and displaying the parameters on the control interface.
Further, the command includes:
control commands, select commands, query commands, and output select commands.
Further, the sending the command to the variable frequency control device includes:
the command is sent using the encapsulation class TcpClass.
Further, before receiving the command information input at the test control interface, the method further includes:
receiving selection operation of a frequency converter;
correspondingly, the sending the command to the variable frequency control device includes:
and sending a command matched with the variable frequency control equipment to the variable frequency control equipment.
Further, the method further comprises:
and when the command is wrong, sending an error prompt.
Further, before receiving a selection operation of the variable frequency controller, the method further includes:
establishing connection with the variable frequency controller according to the input IP address and the port number;
and when the connection establishment is unsuccessful, sending an unsuccessful prompt.
Still further, the method further comprises:
receiving channel selection operation, and determining a baud rate according to the selected channel;
correspondingly, the step of converting the command information into a corresponding command comprises;
sending the command at the baud rate.
In a second aspect, an embodiment of the present invention further provides a testing apparatus for a variable frequency control device, including:
the receiving module is used for receiving command information input on a test control interface;
the conversion module is used for converting the command information into a corresponding command;
and the sending module is used for sending the command to the variable frequency control equipment, so that the variable frequency control equipment executes the command and returns corresponding parameters, and the parameters are displayed on the control interface.
Further, the sending module is configured to:
the command is sent using the encapsulation class TcpClass.
Further, the apparatus further comprises:
the selection operation receiving module is used for receiving selection operation of the frequency converter;
correspondingly, the sending module includes:
and the matching command sending unit is used for sending a command matched with the variable frequency control equipment to the variable frequency control equipment.
Further, the apparatus further comprises:
and the prompting module is used for sending out an error prompt when the command is wrong.
Further, the apparatus further comprises:
the establishing module is used for establishing connection with the variable frequency controller according to the input IP address and the port number;
and the connection success prompting module is used for sending out unsuccessful prompts when the connection is established unsuccessfully.
Still further, the apparatus further comprises:
and the channel selection module is used for receiving channel selection operation and determining the baud rate according to the selected channel.
Correspondingly, the sending module comprises;
and the sending unit is used for sending the command at the baud rate.
In a third aspect, a storage medium contains computer-executable instructions which, when executed by a computer processor, are operable to perform a method of testing a variable frequency control apparatus as described in any one of the above.
According to the test method, the test device and the storage medium of the variable frequency control equipment provided by the embodiment of the invention, command information input in a test control interface is received; converting the command information into a corresponding command; and sending the command to a variable frequency control device, so that the variable frequency control device executes the command and returns corresponding parameters, and displaying the parameters on the control interface. Various operating parameters of the variable frequency control equipment can be obtained by directly inputting corresponding command information, and the query of various parameters can be realized without complex commands. And various parameters can be comprehensively compared, so that the error of the remote control program can be conveniently determined. Meanwhile, the error prompt under various special conditions can be aimed at, and the test usability is enhanced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be 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 only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic flowchart of a testing method of a variable frequency control device according to an embodiment of the present invention;
fig. 2 is an interface schematic diagram of a VFD control in the test method for the variable frequency control device according to the first embodiment of the present invention;
fig. 3 is a schematic view of a channel selection interface in the testing method of the variable frequency control device according to the first embodiment of the present invention;
fig. 4 is a schematic structural diagram of a testing apparatus of a variable frequency control device according to a second embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, 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.
Example one
Fig. 1 is a flowchart of a method for testing a variable frequency control device according to an embodiment of the present invention, where the method is applicable to a case of testing a program of the variable frequency control device, and the method can be executed by a testing apparatus of the variable frequency control device, where the apparatus can be implemented in a software/hardware manner and can be integrated in a computer device or a terminal for testing.
Referring to fig. 1, the method for testing the variable frequency control device includes:
and S110, receiving command information input in the test control interface.
The frequency conversion control device software is an indispensable application for providing remote control and function test for the device, and a reasonable design is needed to adapt to test scenes of different control programs.
In this embodiment, the test method of the variable frequency control device runs depending on the control. The control provides corresponding forms and dialog boxes, and various information can be conveniently input.
In particular, the control may be implemented by a VFD control. The VFD control completes basic interface design and provides different channel constructors to complete interface multiplexing. The VFD control is a small control which is simple, easy to use and reusable and is packaged for all functions of one channel. Fig. 2 is an interface schematic diagram of a VFD control in the method for testing a variable frequency control device according to an embodiment of the present invention. As can be seen from FIG. 2, the control is simple and easy to use and convenient to operate.
Since different frequency conversion control devices receive and transmit different baud rates of information, an 8-channel solution is provided. Fig. 3 is a schematic view of a channel selection interface in a testing method of a variable frequency control device according to an embodiment of the present invention. Referring to fig. 3, a total of 8 channels are provided for the selection interface, the interface is divided into two pages, each page has four groups, and VFD controls packaged 8 times are used. Each control enables docking to a device. And a reference source is also arranged in the page of each channel and used for comparing with the normally received test information. It is convenient to determine whether an anomaly exists.
Meanwhile, a frequency converter can be selected, the equipment number is fixed and written without being selected by a user, and the user needs to select different equipment. After the device for selecting the ip address, the port number and the address number on the frequency conversion device is manually filled, filling the ip address and the port number; and simultaneously, the address number below the equipment number is selected to be convenient for connecting with the frequency conversion control equipment. Commands in the agreed upon format are filled in the command box. The VFD control can provide various construction functions for instantiation of the whole VFD control, and has the functions of completing the establishment of switch control, canceling connection, displaying received data on an interface, sending command verification and the like
Illustratively, the above-mentioned partial functions may be implemented by the following codes:
Figure BDA0002156929030000061
Figure BDA0002156929030000071
Figure BDA0002156929030000081
Figure BDA0002156929030000091
and S120, converting the command information into a corresponding command.
Illustratively, the commands include: control commands, select commands, query commands, and output select commands. The specific command format is as follows:
Figure BDA0002156929030000092
Figure BDA0002156929030000101
Figure BDA0002156929030000111
Figure BDA0002156929030000121
and can issue corresponding prompt when the input command is incorrect.
S130, the command is sent to the variable frequency control equipment, so that the variable frequency control equipment executes the command and returns corresponding parameters, and the parameters are displayed on the control interface.
And after converting the command information into a corresponding command, sending the command to the variable frequency control equipment. Illustratively, the connection may be established through an encapsulated TcpClass and device. The TcpClient under the net platform is utilized through TcpClass for secondary encapsulation; the functions of connection, logout, data sending, data receiving and online judgment are realized. And can give out a prompt when the device is not on line.
The codes for realizing the partial functions are as follows:
Figure BDA0002156929030000131
Figure BDA0002156929030000141
Figure BDA0002156929030000151
Figure BDA0002156929030000161
and various parameters returned by the frequency conversion control equipment can be received by utilizing the TcpClass. And realizing parameter display by using the VFD control.
The test method of the variable frequency control equipment provided by the embodiment of the invention receives the command information input in the test control interface; converting the command information into a corresponding command; and sending the command to a variable frequency control device, so that the variable frequency control device executes the command and returns corresponding parameters, and displaying the parameters on the control interface. Various operating parameters of the variable frequency control equipment can be obtained by directly inputting corresponding command information, and the query of various parameters can be realized without complex commands. And various parameters can be comprehensively compared, so that the error of the remote control program can be conveniently determined. Meanwhile, the error prompt under various special conditions can be aimed at, and the test usability is enhanced.
Example two
Fig. 4 is a schematic structural diagram of a testing apparatus of a variable frequency control device according to a second embodiment of the present invention, and as shown in fig. 4, the apparatus includes:
a receiving module 210, configured to receive command information input in a test control interface;
a conversion module 220, configured to convert the command information into a corresponding command;
a sending module 230, configured to send the command to a variable frequency control device, so that the variable frequency control device executes the command and returns a corresponding parameter, and displays the parameter on the control interface.
The embodiment of the invention provides a testing device of variable frequency control equipment, which receives command information input in a test control interface; converting the command information into a corresponding command; and sending the command to a variable frequency control device, so that the variable frequency control device executes the command and returns corresponding parameters, and displaying the parameters on the control interface. Various operating parameters of the variable frequency control equipment can be obtained by directly inputting corresponding command information, and the query of various parameters can be realized without complex commands. And various parameters can be comprehensively compared, so that the error of the remote control program can be conveniently determined. Meanwhile, the error prompt under various special conditions can be aimed at, and the test usability is enhanced.
On the basis of the above embodiments, the command includes:
control commands, select commands, query commands, and output select commands.
On the basis of the above embodiments, the apparatus further includes:
the selection operation receiving module is used for receiving selection operation of the frequency converter;
correspondingly, the sending module includes:
and the matching command sending unit is used for sending a command matched with the variable frequency control equipment to the variable frequency control equipment.
On the basis of the above embodiments, the apparatus further includes:
and the prompting module is used for sending out an error prompt when the command is wrong.
On the basis of the above embodiments, the apparatus further includes:
the establishing module is used for establishing connection with the variable frequency controller according to the input IP address and the port number;
and the connection success prompting module is used for sending out unsuccessful prompts when the connection is established unsuccessfully.
On the basis of the above embodiments, the apparatus further includes:
and the channel selection module is used for receiving channel selection operation and determining the baud rate according to the selected channel.
Correspondingly, the sending module includes:
and the sending unit is used for sending the command at the baud rate.
The test device of the frequency conversion control equipment provided by the embodiment of the invention can execute the test method of the frequency conversion control equipment provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
The computer storage media provided by embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable 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 medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like 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 computers. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a readable storage medium in a computing device that can perform computing functions. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A test method of variable frequency control equipment is characterized by comprising the following steps:
receiving command information input in a test control interface;
converting the command information into a corresponding command;
and sending the command to a variable frequency control device, so that the variable frequency control device executes the command and returns corresponding parameters, and displaying the parameters on the control interface.
2. The method of claim 1, wherein the command comprises:
control commands, select commands, query commands, and output select commands.
3. The method of claim 1, wherein the sending the command to a variable frequency control device comprises:
the command is sent using the encapsulation class TcpClass.
4. The method of claim 1, prior to receiving the command information entered at the test control interface, further comprising:
receiving selection operation of a frequency converter;
correspondingly, the sending the command to the variable frequency control device includes:
and sending a command matched with the variable frequency control equipment to the variable frequency control equipment.
5. The method of claim 1, further comprising:
and when the command is wrong, sending an error prompt.
6. The method of claim 1, wherein prior to receiving a selection operation of a variable frequency controller, the method further comprises:
establishing connection with the variable frequency controller according to the input IP address and the port number;
and when the connection establishment is unsuccessful, sending an unsuccessful prompt.
7. The method of claim 1, further comprising:
receiving channel selection operation, and determining a baud rate according to the selected channel;
correspondingly, the sending the command to the variable frequency control device includes:
sending the command at the baud rate.
8. A testing device of variable frequency control equipment is characterized by comprising:
the receiving module is used for receiving command information input on a test control interface;
the conversion module is used for converting the command information into a corresponding command;
and the sending module is used for sending the command to the variable frequency control equipment, so that the variable frequency control equipment executes the command and returns corresponding parameters, and the parameters are displayed on the control interface.
9. The apparatus of claim 7, wherein the command comprises:
control commands, select commands, query commands, and output select commands.
10. A storage medium containing computer executable instructions for performing a method of testing a variable frequency control device according to any one of claims 1 to 7 when executed by a computer processor.
CN201910720265.1A 2019-08-06 2019-08-06 Testing method and device of variable frequency control equipment and storage medium Pending CN112346429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910720265.1A CN112346429A (en) 2019-08-06 2019-08-06 Testing method and device of variable frequency control equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910720265.1A CN112346429A (en) 2019-08-06 2019-08-06 Testing method and device of variable frequency control equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112346429A true CN112346429A (en) 2021-02-09

Family

ID=74366420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910720265.1A Pending CN112346429A (en) 2019-08-06 2019-08-06 Testing method and device of variable frequency control equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112346429A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200993666Y (en) * 2007-01-15 2007-12-19 宁茂企业股份有限公司 Frequency converter power load measuring equipment with energy-saving effect
CN102842343A (en) * 2011-06-20 2012-12-26 鸿富锦精密工业(深圳)有限公司 System and method for execution of different baud rate test instruction in CLI (command-line interface)
CN203117334U (en) * 2013-03-13 2013-08-07 深圳市四方电气技术有限公司 Frequency converter whole machine detecting system
CN103728518A (en) * 2014-01-13 2014-04-16 广州七喜工控科技有限公司 System and method for debugging frequency converter
CN205665569U (en) * 2016-03-04 2016-10-26 北京贝恩斯特电气科技有限责任公司 A industry control experiment machine for converter test
CN108267659A (en) * 2018-03-09 2018-07-10 上海辛格林纳新时达电机有限公司 A kind of frequency converter test platform and frequency converter test method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200993666Y (en) * 2007-01-15 2007-12-19 宁茂企业股份有限公司 Frequency converter power load measuring equipment with energy-saving effect
CN102842343A (en) * 2011-06-20 2012-12-26 鸿富锦精密工业(深圳)有限公司 System and method for execution of different baud rate test instruction in CLI (command-line interface)
CN203117334U (en) * 2013-03-13 2013-08-07 深圳市四方电气技术有限公司 Frequency converter whole machine detecting system
CN103728518A (en) * 2014-01-13 2014-04-16 广州七喜工控科技有限公司 System and method for debugging frequency converter
CN205665569U (en) * 2016-03-04 2016-10-26 北京贝恩斯特电气科技有限责任公司 A industry control experiment machine for converter test
CN108267659A (en) * 2018-03-09 2018-07-10 上海辛格林纳新时达电机有限公司 A kind of frequency converter test platform and frequency converter test method

Similar Documents

Publication Publication Date Title
CN107018523A (en) WIFI module testing method and device
CN105338550B (en) A kind of management method and device of the connection for wireless network
US8395394B2 (en) System and method for power system component testing
CN113360144B (en) Auxiliary processing method, device, storage medium and program product for software development
CN104376711B (en) A kind of method and device of rapid configuration mobile terminal IR remote controller
CN101447119A (en) Household appliance and control method thereof
CN106951248A (en) Add method, device and the readable storage medium storing program for executing of code
WO2021120544A1 (en) Method and apparatus for debugging device
KR20230088252A (en) Method and apparatus for generating and applying deep learning model based on deep learning framework
KR101243441B1 (en) Simulator based on reconfigurable components
KR101587279B1 (en) Functional safety testing device having user interface for msc input and testing method thereof
CN112346429A (en) Testing method and device of variable frequency control equipment and storage medium
CN113064618A (en) System and method for simulating new energy vehicle conformance detection
CN113138937A (en) Test method and device
KR20120061588A (en) Apparatus and method for automatically generating parameters of a satellite operation procedure
CN102007471A (en) Method and apparatus for designing device-to-device configurations suitable to be used in a power system
CN109861884A (en) Communication performance test method, the device and system of automated driving system
CN105227407A (en) A kind of protocol debugging method, Apparatus and system
CN103064789B (en) A kind of automated testing method of software control
CN115220367A (en) Virtual satellite measurement and control simulation method and device
CN105407124A (en) Server control method and user terminal
CN114064025A (en) Generation method, device, equipment and storage medium of training pipeline model
CN105550408A (en) System for analysis and visualization of flow result under BPA operation mode
CN109120427B (en) Operation and maintenance auditing method and device
CN106444488B (en) Configuration method and configuration device for redundancy device in direct-current transmission project

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210209

RJ01 Rejection of invention patent application after publication