CN115343942A - Air pump control system, PID parameter setting method, device and medium - Google Patents

Air pump control system, PID parameter setting method, device and medium Download PDF

Info

Publication number
CN115343942A
CN115343942A CN202210954911.2A CN202210954911A CN115343942A CN 115343942 A CN115343942 A CN 115343942A CN 202210954911 A CN202210954911 A CN 202210954911A CN 115343942 A CN115343942 A CN 115343942A
Authority
CN
China
Prior art keywords
control board
main control
pid
pid parameter
data information
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
CN202210954911.2A
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.)
Henan Xiangyu Medical Equipment Co Ltd
Original Assignee
Henan Xiangyu Medical Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Henan Xiangyu Medical Equipment Co Ltd filed Critical Henan Xiangyu Medical Equipment Co Ltd
Priority to CN202210954911.2A priority Critical patent/CN115343942A/en
Publication of CN115343942A publication Critical patent/CN115343942A/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
    • G05B11/00Automatic controllers
    • G05B11/01Automatic controllers electric
    • G05B11/36Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential
    • G05B11/42Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential for obtaining a characteristic which is both proportional and time-dependent, e.g. P.I., P.I.D.

Abstract

The application relates to the technical field of automatic control, and discloses an air pump control system, a PID parameter setting method, a device and a medium. The client device sends the PID parameters input by the user to the main control board so that the main control board modifies the PID parameters to be set in the program of the main control board; receiving data information sent by a main control board; and confirming whether the PID parameter to be set is completely set according to the data information. By adopting the technical scheme, the client equipment sends the modification instruction to the main control board, so that the PID parameter in the main control board is in a modifiable state, and then the PID parameter input by the user is sent to the main control board through the client equipment, is modified by the main control board, and receives the data information sent by the main control board. And the user can judge whether the PID parameter setting is finished according to the data information.

Description

Air pump control system, PID parameter setting method, device and medium
Technical Field
The application relates to the technical field of automatic control, in particular to an air pump control system, a PID parameter setting method, a PID parameter setting device and a medium.
Background
In industrial process control, a control system for controlling the proportion, the Integral and the differential of errors generated by comparing the real-time data acquisition information of a controlled object with a given value is called a PID (Proportional Integral Derivative) control system for short. The PID control has the advantages of simple principle, strong robustness, wide practical range and the like, and is a control system with mature technology and most wide application.
In a specific implementation, the PID parameters need to be tuned according to the reaction of the control object to achieve the desired control effect. For example, in controlling the output air pressure of the medical air pump, the PID parameter needs to be adjusted according to the output air pressure of the air pump. In the prior art, the main control board needs to be controlled to stop working, the PID parameters in the program of the main control board are modified, then the main control board is restarted, whether the output air pressure after the PID parameters are modified meets the expected control requirements or not is observed, and the steps are repeatedly executed when the output air pressure does not meet the expected control requirements, so that the PID parameters are adjusted. The method needs to stop the work of the main control board, and delays the service.
Therefore, how to avoid the shutdown of the main control board to realize the setting of the PID parameters is an urgent problem to be solved by the technical personnel in the field.
Disclosure of Invention
The application aims to provide an air pump control system, a PID parameter setting method, a PID parameter setting device and a medium, which are used for avoiding the halt of a main control board and realizing the setting of PID parameters.
In order to solve the technical problem, the present application provides a PID parameter tuning method applied to an air pump control system, which is applied to a client device, and the method includes:
sending a modification instruction to a main control board so that the main control board carries out parameterization processing on PID parameters to be set in a main control board program to facilitate modification;
the PID parameters input by a user are sent to the main control board so that the main control board modifies the PID parameters to be set in the program of the main control board;
receiving data information sent by the main control board; the data information is information generated after the main control board modifies the PID parameter to be set;
and confirming whether the PID parameter to be set is set completely according to the data information.
Preferably, the determining whether the setting of the PID parameter to be set is completed according to the data information includes:
reading the data information, and judging whether the data information is air pump air pressure data or not;
if yes, extracting air pressure data of the air pump and storing the air pressure data to a preset array;
drawing a chart according to the air pump air pressure data in the preset array to display the air pump air pressure value;
and confirming whether the PID parameter to be set is completely set according to the chart.
Preferably, before the step of sending the PID parameter input by the user to the main control board so that the main control board modifies the PID parameter to be tuned in the program of the main control board, the method further includes:
creating a serial port receiving thread for receiving data information sent by the main control board;
creating a timed processing function for refreshing the graph at preset time intervals;
creating a main form to store a program;
constructing a first frame control in the main form as a parameter control container;
constructing a second frame control as a coordinate system container;
creating a label control to display the version of the main control board;
creating a coordinate system in the second frame control to display the air pump air pressure value;
creating a first input control in the first frame control to obtain a proportional parameter P, creating a second input control to obtain an integral parameter I, and creating a third input control to obtain a differential parameter D;
creating a button control for transmission of the PID parameters.
Preferably, the method further comprises the following steps:
and after receiving the closing information, stopping receiving the data information sent by the main control board.
In order to solve the above technical problem, the present application further provides another PID parameter tuning method applied to an air pump control system, which is applied to a main control board, and the method includes:
receiving a modification instruction sent by client equipment to parameterize PID parameters to be set in a main control board program;
receiving a PID parameter sent by the client device and modifying the PID parameter to be set in the main control board program according to the PID parameter;
sending data information to the client device so that the client device can confirm whether the PID parameter to be set is set completely according to the data information; and the data information is information generated after the PID parameters to be set are modified.
In order to solve the technical problem, the application further provides an air pump control system, which comprises a main control board, an air pump control assembly and client equipment;
the client device is used for sending a modification instruction to the main control board so that the main control board parameterizes PID parameters to be set in a main control board program to facilitate modification; the PID parameter setting module is also used for sending a PID parameter input by a user to the main control board so that the main control board modifies the PID parameter to be set in the program of the main control board;
the main control board is used for sending data information generated after the PID parameter to be set is modified to the client device, so that the client device can confirm whether the PID parameter to be set is set according to the data information.
In order to solve the above technical problem, the present application further provides a PID parameter setting device applied to an air pump control system, which is applied to a client device, the device includes:
the first sending module is used for sending a modification instruction to the main control board so that the main control board can carry out parameterization processing on PID parameters to be set in a program of the main control board so as to facilitate modification;
the second sending module is used for sending the PID parameters input by the user to the main control board so that the main control board modifies the PID parameters to be adjusted in the program of the main control board;
the receiving module is used for receiving the data information sent by the main control board; the data information is information generated after the main control board modifies the PID parameter to be set;
and the confirmation module is used for confirming whether the PID parameter to be set is set completely according to the data information.
In order to solve the above technical problem, the present application further provides another PID parameter setting device applied to an air pump control system, which is applied to a main control board, the device includes:
the first receiving module is used for receiving a modification instruction sent by the client device so as to parameterize PID parameters to be set in a main control board program;
the second receiving module is used for receiving the PID parameters sent by the client device and modifying the PID parameters to be set in the main control board program according to the PID parameters;
the sending module is used for sending data information to the client device so that the client device can confirm whether the PID parameter to be set is set or not according to the data information; and the data information is information generated after the PID parameter to be set is modified.
In order to solve the technical problem, the application also provides another PID parameter setting device applied to an air pump control system, which comprises a memory, a controller and a controller, wherein the memory is used for storing a computer program;
a processor for implementing the steps of the PID parameter tuning method as applied to the air pump control system as described above when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the PID parameter tuning method applied to the air pump control system as described above.
The PID parameter setting method applied to the air pump control system is applied to the client side, and the modification instruction is sent to the main control board, so that the main control board carries out parameterization processing on PID parameters to be set in the main control board program to facilitate modification. The PID parameters input by the user are sent to the main control board so that the main control board modifies the PID parameters to be set in the program of the main control board; receiving data information sent by a main control board; and confirming whether the PID parameter to be set is completely set according to the data information. By adopting the technical scheme, the client equipment sends the modification instruction to the main control board, so that the PID parameter in the main control board is in a modifiable state, and then the PID parameter input by the user is sent to the main control board through the client equipment, is modified by the main control board, and receives the data information sent by the main control board. And the user can judge whether the PID parameter setting is finished according to the data information.
In addition, the air pump control system, the PID parameter setting device and medium applied to the air pump control system, and the PID parameter setting method applied to the main control board correspond to the PID parameter setting method applied to the client, and the effects are the same as above.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a PID parameter tuning method applied to an air pump control system according to an embodiment of the present application;
FIG. 2 is a flowchart of another PID parameter tuning method applied to an air pump control system according to an embodiment of the present disclosure;
FIG. 3 is a block diagram of a control system for an air pump according to an embodiment of the present application;
fig. 4 is a structural diagram of a PID parameter setting device applied to an air pump control system according to an embodiment of the present application;
fig. 5 is a structural diagram of another PID parameter tuning device applied to an air pump control system according to an embodiment of the present application;
fig. 6 is a structural diagram of another PID parameter tuning device applied to an air pump control system according to an embodiment of the present application;
the reference numbers are as follows: 1 is a client, 2 is a main control board, 3 is an air pump driving board, 4 is an air pump, 5 is an air chamber, 6 is an air pressure sensor, 10 is a first sending module, 11 is a second sending module, 12 is a receiving module, 13 is a confirming module, 14 is a first receiving module, 15 is a second receiving module, 16 is a sending module, 20 is a memory, 21 is a processor, 201 is a computer program, 202 is an operating system, 203 is data, 22 is a display screen, 23 is an input/output interface, 24 is a communication interface, 25 is a power supply, and 26 is a communication bus.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
Air pumps are devices that remove air from an enclosed space or add air to an enclosed space. In the medical industry, gas pumps also play a significant role in providing medical gas to a patient or other medical device or in evacuating exhaust gas, such as oxygen, carbon dioxide, etc.
In industrial process control, a control system for controlling according to proportion, integral and differential of errors generated by comparing real-time data acquisition information of a controlled object with a given value is called a PID (Proportional Integral Derivative) control system for short. The PID control has the advantages of simple principle, strong robustness, wide practical range and the like, and is a control system with mature technology and most wide application.
In a specific implementation, the PID parameters need to be tuned according to the reaction of the control object to achieve the desired control effect. For example, in controlling the output air pressure of the medical air pump, the PID parameter needs to be adjusted according to the output air pressure of the air pump. In the prior art, the main control board needs to be controlled to stop working, the PID parameters in the program of the main control board are modified, then the main control board is restarted, whether the output air pressure after the PID parameters are modified meets the expected control requirements or not is observed, and the steps are repeatedly executed when the output air pressure does not meet the expected control requirements, so that the PID parameters are adjusted. The method needs to stop the work of the main control board, and delays the service.
The core of the application is to provide an air pump control system, a PID parameter setting method, a PID parameter setting device and a medium, which are used for avoiding the halt of a main control board and realizing the setting of PID parameters.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
Fig. 1 is a flowchart of a PID parameter tuning method applied to an air pump control system according to an embodiment of the present application, and is applied to a client device, as shown in fig. 1, the method includes:
s10: and sending a modification instruction to the main control board so that the main control board performs parameterization processing on PID parameters to be set in the main control board program to facilitate modification.
S11: and sending the PID parameters input by the user to the main control board so that the main control board modifies the PID parameters to be set in the program of the main control board.
S12: receiving data information sent by a main control board; the data information is information generated after the main control board modifies the PID parameters to be set.
S13: and confirming whether the PID parameter to be set is set completely according to the data information.
The executing subject in the present embodiment may be a PID parameter tuning device applied to the air pump control system, which is typically a processor in a client device. The client device in this embodiment is a component device in the air pump control system, and the air pump control system further includes a main control board, an air pump, and other devices. The user can send the PID parameter to the main control board through the client device, and the main control board can control the air pump and other devices to work and react according to the main control board program.
In specific implementation, after a user starts the client device, the client device performs operations such as initialization and the like, and sends a modification instruction to the main control board, so that the main control board performs parameterization processing on PID parameters to be set in a program of the main control board to facilitate modification. After that, the user may input a corresponding PID parameter at a designated location of the client device, and it may be understood that, in the PID tuning process, parameters that need to be modified at the same time are not comprehensive, and only a few of P, I, and D are often adjusted for each tuning. By adding the sending button, the PID parameters can be timely sent to the main control board. Similarly, a close button may be included on the client to not send the PID parameters entered by the user to the main control board. Thereby ending the tuning of the PID parameters.
The client in this embodiment is further configured to receive data information returned by the main control board, where the data information is information generated by the main control board after the PID parameters to be set are modified, and reflects a result of the PID setting. A display device may be included in the client device to display data information from which a technician may decide whether to complete tuning of the PID parameters.
The PID parameter setting method applied to the air pump control system, provided by the embodiment of the application, is applied to the client, and the modification instruction is sent to the main control board, so that the main control board carries out parameterization processing on the PID parameter to be set in the main control board program, and modification is facilitated. The PID parameters input by a user are sent to the main control board so that the main control board modifies the PID parameters to be set in the program of the main control board; receiving data information sent by a main control board; and confirming whether the PID parameter to be set is completely set according to the data information. By adopting the technical scheme, the client device sends the modification instruction to the main control board to enable the PID parameter in the main control board to be in a modifiable state, and then the client device sends the PID parameter input by the user to the main control board, and the main control board modifies the PID parameter and receives the data information sent by the main control board. And the user can judge whether the PID parameter setting is finished according to the data information.
In specific implementation, the data information received by the client device and sent by the main control board includes not only information representing a setting result, but also other related information such as information transmission, so that in order to facilitate observation and understanding of technicians, the data information needs to be screened.
On the basis of the foregoing embodiment, in this embodiment, determining whether the PID parameter to be tuned is tuned according to the data information includes:
reading data information, and judging whether the data information is air pressure data of the air pump;
if yes, extracting air pressure data of the air pump and storing the air pressure data to a preset array;
drawing a chart according to the air pump air pressure data in the preset array to display the air pump air pressure value;
and confirming whether the PID parameter to be set is completely set according to the chart.
The PID parameter setting method applied to the air pump control system provided by the embodiment of the application screens data information received from a main control board to find air pump air pressure data, and draws the air pump air pressure data into a chart to confirm whether the PID parameter to be set is finished.
On the basis of the foregoing embodiment, this embodiment further provides a method for creating a client in a client device, where before the step of sending a PID parameter input by a user to a main control board to enable the main control board to modify a PID parameter to be tuned in a program of the main control board, the method further includes:
creating a serial port receiving thread for receiving data information sent by a main control board;
creating a timing processing function for refreshing the graph at intervals of a preset time;
creating a main form to store a program;
constructing a first frame control in a main form as a parameter control container;
constructing a second frame control as a coordinate system container;
creating a label control to display the master control board version;
creating a coordinate system in the second frame control to display the air pump air pressure value;
creating a first input control in the first frame control to obtain a proportional parameter P, creating a second input control to obtain an integral parameter I, and creating a third input control to obtain a differential parameter D;
a button control is created for the transmission of PID parameters.
The embodiment provides a method for establishing a client, which realizes the input of a PID and the display of air pressure of an air pump by establishing different controls to store PID parameters and charts, and can also display the version of a main control panel.
Fig. 2 is a flowchart of another PID parameter tuning method applied to an air pump control system according to an embodiment of the present application, and is applied to a main control board, as shown in fig. 2, the method includes:
s20: receiving a modification instruction sent by client equipment to parameterize PID parameters to be set in a main control board program;
s21: receiving a PID parameter sent by the client device and modifying the PID parameter to be set in the main control board program according to the PID parameter;
s22: sending data information to the client device so that the client device can confirm whether the PID parameter to be set is set according to the data information; and the data information is information generated after the PID parameters to be set are modified.
The PID parameter setting method applied to the air pump control system is applied to a main control board, parameterization processing is carried out on PID parameters to be set in a main control board program by receiving modification instructions sent by client equipment, the PID parameters sent by the client equipment are received, the PID parameters to be set in the main control board program are modified according to the PID parameters, and data information is sent to the client equipment so that the client equipment can confirm whether the PID parameters to be set are completely set according to the data information; and the data information is information generated after the PID parameters to be set are modified. By adopting the technical scheme, the PID parameter in the main control board is in a modifiable state by receiving the modification instruction sent by the client, the PID parameter input by the user and sent by the client device is received, the main control board modifies the PID parameter and sends the data information to the client device, and the user can judge whether the PID parameter is completely tuned according to the data information.
Fig. 3 is a structural diagram of an air pump control system according to an embodiment of the present application, and as shown in fig. 3, the system includes a main control board 2 and an air pump control assembly, and is characterized by further including a client device 1;
the client device 1 is configured to send a modification instruction to the main control board 2, so that the main control board 2 parameterizes a PID parameter to be set in a main control board program to facilitate modification; the PID parameter setting module is also used for sending the PID parameter input by the user to the main control board 2 so that the main control board 2 modifies the PID parameter to be set in the program of the main control board;
the main control board 2 is configured to send data information generated after the PID parameters to be set are modified to the client device 1, so that the client device 1 determines whether the PID parameters to be set are set according to the data information.
The air pump control assembly in this embodiment includes an air pump drive plate 3, an air pump 4, an air chamber 5, and an air pressure sensor 6.
According to the air pump control system provided by the embodiment of the application, the client device sends the modification instruction to the main control board, so that the PID parameter in the main control board is in a modifiable state, the client device sends the PID parameter input by a user to the main control board, the main control board modifies the PID parameter and receives data information sent by the main control board. And the user can judge whether the PID parameter setting is finished according to the data information.
In the above embodiments, the PID parameter setting method applied to the air pump control system is described in detail, and the present application also provides embodiments corresponding to the PID parameter setting device applied to the air pump control system. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Fig. 4 is a structural diagram of a PID parameter tuning apparatus applied to an air pump control system according to an embodiment of the present application, and is applied to a client device, as shown in fig. 4, the apparatus includes:
the first sending module 10 is configured to send a modification instruction to the main control board, so that the main control board parameterizes a PID parameter to be set in a program of the main control board to facilitate modification;
the second sending module 11 is configured to send the PID parameters input by the user to the main control board, so that the main control board modifies the PID parameters to be set in the program of the main control board;
the receiving module 12 is configured to receive data information sent by the main control board; the data information is generated after the main control board modifies the PID parameter to be set;
and the confirming module 13 is used for confirming whether the PID parameter to be set is set completely according to the data information.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The PID parameter setting device applied to the air pump control system, provided by the embodiment of the application, is applied to the client, and the modification instruction is sent to the main control board, so that the main control board carries out parameterization processing on PID parameters to be set in a program of the main control board, and modification is facilitated. The PID parameters input by a user are sent to the main control board so that the main control board modifies the PID parameters to be set in the program of the main control board; receiving data information sent by a main control board; and confirming whether the PID parameter to be set is set completely according to the data information. By adopting the technical scheme, the client device sends the modification instruction to the main control board to enable the PID parameter in the main control board to be in a modifiable state, and then the client device sends the PID parameter input by the user to the main control board, and the main control board modifies the PID parameter and receives the data information sent by the main control board. And the user can judge whether the PID parameter setting is finished according to the data information.
Fig. 5 is a structural diagram of another PID parameter tuning device applied to an air pump control system according to an embodiment of the present application, and is applied to a main control board, as shown in fig. 5, the device includes:
the first receiving module 14 is configured to receive a modification instruction sent by the client device, so as to perform parameterization on a PID parameter to be set in a main control board program;
the second receiving module 15 is configured to receive the PID parameters sent by the client device and modify the PID parameters to be set in the main control board program according to the PID parameters;
the sending module 16 is configured to send data information to the client device so that the client device determines whether the setting of the PID parameter to be set is completed according to the data information; the data information is information generated after PID parameters to be set are modified.
The PID parameter setting device applied to the air pump control system is applied to a main control board, parameterization processing is carried out on PID parameters to be set in a main control board program by receiving a modification instruction sent by client equipment, the PID parameters sent by the client equipment are received, the PID parameters to be set in the main control board program are modified according to the PID parameters, and data information is sent to the client equipment so that the client equipment can confirm whether the PID parameters to be set are set according to the data information; the data information is information generated after PID parameters to be set are modified. By adopting the technical scheme, the PID parameter in the main control board is in a modifiable state by receiving the modification instruction sent by the client, the PID parameter input by the user and sent by the client equipment is received, the main control board modifies the PID parameter and sends data information to the client equipment, and the user can judge whether the PID parameter is set according to the data information.
Fig. 6 is a structural diagram of another PID parameter tuning device applied to an air pump control system according to an embodiment of the present application, and as shown in fig. 6, the device includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the PID parameter tuning method applied to the air pump control system as described in the above embodiments when executing the computer program.
The PID parameter setting device applied to the air pump control system provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in hardware using at least one of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computing operations related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, wherein after being loaded and executed by the processor 21, the computer program is capable of implementing relevant steps of the PID parameter tuning method applied to the air pump control system disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among other things, windows, unix, linux, etc. The data 203 may include, but is not limited to, PID parameters and the like.
In some embodiments, the PID parameter tuning device applied to the air pump control system may further include a display screen 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in FIG. 6 does not constitute a limitation on the PID parameter tuning arrangement applied to the air pump control system, and may include more or fewer components than those shown.
The PID parameter setting device applied to the air pump control system provided in the embodiment of the present application includes a memory and a processor, and when the processor executes a program stored in the memory, the following method can be implemented: the PID parameter setting method is applied to an air pump control system.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program, which when executed by a processor implements the steps described in the above-described method embodiments (which may be a method corresponding to the client device side, a method corresponding to the dashboard side, or a method corresponding to the client device side and the dashboard side).
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The air pump control system, the PID parameter setting method, the PID parameter setting device, and the medium provided by the present application are described in detail above. The embodiments are described in a progressive mode in the specification, the emphasis of each embodiment is on the difference from the other embodiments, and the same and similar parts among the embodiments can be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A PID parameter setting method applied to an air pump control system is characterized by being applied to client equipment, and the method comprises the following steps:
sending a modification instruction to a main control board so that the main control board carries out parameterization processing on PID parameters to be set in a main control board program to facilitate modification;
sending PID parameters input by a user to the main control board so that the main control board modifies PID parameters to be set in the program of the main control board;
receiving data information sent by the main control board; the data information is information generated after the main control board modifies the PID parameter to be set;
and confirming whether the PID parameter to be set is set completely according to the data information.
2. The PID parameter tuning method applied to the air pump control system according to claim 1, wherein the determining whether the PID parameter to be tuned is tuned according to the data information comprises:
reading the data information, and judging whether the data information is air pump air pressure data or not;
if yes, extracting air pressure data of the air pump and storing the air pressure data to a preset array;
drawing a chart according to the air pump air pressure data in the preset array to display the air pump air pressure value;
and confirming whether the PID parameter to be set is set completely according to the chart.
3. The PID parameter tuning method applied to an air pump control system according to claim 2, wherein before the step of sending the PID parameter inputted by the user to the main control board to make the main control board modify the PID parameter to be tuned in the program of the main control board, the method further comprises:
creating a serial port receiving thread for receiving data information sent by the main control board;
creating a timed processing function for refreshing the graph at preset time intervals;
creating a main form to store a program;
constructing a first frame control in the main form as a parameter control container;
constructing a second frame control as a coordinate system container;
creating a label control to display the version of the main control board;
creating a coordinate system in the second frame control to display the air pump air pressure value;
creating a first input control in the first frame control to obtain a proportional parameter P, creating a second input control to obtain an integral parameter I, and creating a third input control to obtain a differential parameter D;
a button control is created for transmission of the PID parameters.
4. The PID parameter tuning method applied to an air pump control system according to claim 1, further comprising:
and after receiving the closing information, stopping receiving the data information sent by the main control board.
5. A PID parameter setting method applied to an air pump control system is characterized by being applied to a main control board, and the method comprises the following steps:
receiving a modification instruction sent by client equipment to parameterize PID parameters to be set in a main control board program;
receiving a PID parameter sent by the client device and modifying the PID parameter to be set in the main control board program according to the PID parameter;
sending data information to the client device so that the client device can confirm whether the PID parameter to be set is set completely according to the data information; and the data information is information generated after the PID parameter to be set is modified.
6. The air pump control system comprises a main control board and an air pump control assembly, and is characterized by further comprising client equipment;
the client device is used for sending a modification instruction to the main control board so that the main control board parameterizes PID parameters to be set in a main control board program to facilitate modification; the PID parameter input by a user is sent to the main control board so that the main control board modifies the PID parameter to be set in the program of the main control board;
the main control board is used for sending data information generated after the PID parameter to be set is modified to the client device, so that the client device can confirm whether the PID parameter to be set is set according to the data information.
7. A PID parameter setting device applied to an air pump control system is characterized by being applied to client equipment, and the device comprises:
the first sending module is used for sending a modification instruction to the main control board so that the main control board can carry out parameterization processing on PID parameters to be set in a program of the main control board so as to facilitate modification;
the second sending module is used for sending the PID parameters input by the user to the main control board so that the main control board modifies the PID parameters to be set in the program of the main control board;
the receiving module is used for receiving the data information sent by the main control board; the data information is information generated after the main control board modifies the PID parameter to be set;
and the confirmation module is used for confirming whether the PID parameter to be set is set completely according to the data information.
8. The utility model provides a PID parameter setting device for air pump control system which characterized in that is applied to the main control board, the device includes:
the first receiving module is used for receiving a modification instruction sent by the client device so as to parameterize PID parameters to be set in a main control board program;
the second receiving module is used for receiving the PID parameters sent by the client device and modifying the PID parameters to be set in the main control board program according to the PID parameters;
the sending module is used for sending data information to the client device so that the client device can confirm whether the PID parameter to be set is set or not according to the data information; and the data information is information generated after the PID parameter to be set is modified.
9. A PID parameter setting device applied to an air pump control system is characterized by comprising a memory, a controller and a controller, wherein the memory is used for storing a computer program;
a processor for implementing the steps of the PID parameter tuning method applied to the air pump control system according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program, which when executed by a processor, implements the steps of the PID parameter tuning method applied to an air pump control system according to any of claims 1 to 5.
CN202210954911.2A 2022-08-10 2022-08-10 Air pump control system, PID parameter setting method, device and medium Pending CN115343942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210954911.2A CN115343942A (en) 2022-08-10 2022-08-10 Air pump control system, PID parameter setting method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210954911.2A CN115343942A (en) 2022-08-10 2022-08-10 Air pump control system, PID parameter setting method, device and medium

Publications (1)

Publication Number Publication Date
CN115343942A true CN115343942A (en) 2022-11-15

Family

ID=83951207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210954911.2A Pending CN115343942A (en) 2022-08-10 2022-08-10 Air pump control system, PID parameter setting method, device and medium

Country Status (1)

Country Link
CN (1) CN115343942A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6980869B1 (en) * 2000-11-20 2005-12-27 National Instruments Corporation System and method for user controllable PID autotuning and associated graphical user interface
CN105896555A (en) * 2016-04-18 2016-08-24 中国矿业大学 Static var generator control device capable of modifying parameters in on-line manner based on FPGA
CN109100934A (en) * 2018-08-14 2018-12-28 湖北新冶钢特种钢管有限公司 Analogue system generation method for pid parameter adjusting
CN110609478A (en) * 2019-10-21 2019-12-24 常州大学 Air pressure self-adaptive online PID (proportion integration differentiation) setting method based on improved genetic algorithm
CN111103790A (en) * 2019-12-05 2020-05-05 珠海格力电器股份有限公司 Parameter setting method and device of PID controller, storage medium, terminal and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6980869B1 (en) * 2000-11-20 2005-12-27 National Instruments Corporation System and method for user controllable PID autotuning and associated graphical user interface
CN105896555A (en) * 2016-04-18 2016-08-24 中国矿业大学 Static var generator control device capable of modifying parameters in on-line manner based on FPGA
CN109100934A (en) * 2018-08-14 2018-12-28 湖北新冶钢特种钢管有限公司 Analogue system generation method for pid parameter adjusting
CN110609478A (en) * 2019-10-21 2019-12-24 常州大学 Air pressure self-adaptive online PID (proportion integration differentiation) setting method based on improved genetic algorithm
CN111103790A (en) * 2019-12-05 2020-05-05 珠海格力电器股份有限公司 Parameter setting method and device of PID controller, storage medium, terminal and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙静;陈伟;: "改进型单神经元自适应PID控制器在LabVIEW下的实现", 西安文理学院学报(自然科学版), no. 04, pages 51 - 54 *

Similar Documents

Publication Publication Date Title
EP3640793B1 (en) Automation objects for integrated design environments
US9317397B2 (en) Programmable logic controller (PLC) simulation system, PLC simulator, recording medium, and simulation method
CN109144511B (en) Method and system for automatically generating numerical simulation graphical user interface
EP3979148A1 (en) Method and system for displaying machine learning automatic modeling procedure
CN108170425B (en) Program code modification method and device and terminal equipment
CN110851297B (en) Method, device, system and medium for processing interface jitter state
CN111191161B (en) Page display method, storage medium, electronic device and system
CN106331892B (en) Module screen adjusting method and device of television and television
CN115343942A (en) Air pump control system, PID parameter setting method, device and medium
CN107729107B (en) Modal dialog box processing method and device
CA3206547A1 (en) Software host construction method, software host construction system, software host, and simulation device
CN115169294A (en) Data conversion method, device and medium
CN113835835B (en) Method, device and computer readable storage medium for creating consistency group
CN114937118A (en) Model conversion method, apparatus, device and medium
CN115145634A (en) System management software self-adaption method, device and medium
EP3629149A1 (en) Project autonomy in industrial automation design environments
EP3629266A1 (en) Multi-user collaboration across domains for industrial automation design
EP3629115B1 (en) Intelligent binding and selection of hardware via automation control objects
CN117148801B (en) Controller adaptation method, device, electronic equipment and medium
CN108427567B (en) Automatic upgrading method for device driver package
CN111221264B (en) Grip customization method, system, device and storage medium
CN112948051A (en) Cutter head driving data processing method, device and medium
CN116204166A (en) Program configuration file switching method and device and electronic equipment
CN114022105A (en) Data processing method and device, electronic equipment and readable storage medium
CN114265579A (en) Nonstandard equipment control architecture construction method, system, medium and electronic equipment

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