CN115411989A - Control parameter setting method, device, equipment and computer readable storage medium - Google Patents

Control parameter setting method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN115411989A
CN115411989A CN202211049961.2A CN202211049961A CN115411989A CN 115411989 A CN115411989 A CN 115411989A CN 202211049961 A CN202211049961 A CN 202211049961A CN 115411989 A CN115411989 A CN 115411989A
Authority
CN
China
Prior art keywords
vector control
fitness
air conditioner
control model
conditioner compressor
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
CN202211049961.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.)
Guangdong TCL Intelligent HVAC Equipment Co Ltd
Original Assignee
Guangdong TCL Intelligent HVAC 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 Guangdong TCL Intelligent HVAC Equipment Co Ltd filed Critical Guangdong TCL Intelligent HVAC Equipment Co Ltd
Priority to CN202211049961.2A priority Critical patent/CN115411989A/en
Publication of CN115411989A publication Critical patent/CN115411989A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/0003Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04BPOSITIVE-DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS
    • F04B49/00Control, e.g. of pump delivery, or pump pressure of, or safety measures for, machines, pumps, or pumping installations, not otherwise provided for, or of interest apart from, groups F04B1/00 - F04B47/00
    • F04B49/06Control using electricity
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25BREFRIGERATION MACHINES, PLANTS OR SYSTEMS; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS
    • F25B49/00Arrangement or mounting of control or safety devices
    • F25B49/02Arrangement or mounting of control or safety devices for compression type machines, plants or systems
    • F25B49/022Compressor control arrangements
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P25/00Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
    • H02P25/02Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the kind of motor
    • H02P25/022Synchronous motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2207/00Indexing scheme relating to controlling arrangements characterised by the type of motor
    • H02P2207/05Synchronous machines, e.g. with permanent magnets or DC excitation

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

The embodiment of the application provides a control parameter setting method, a control parameter setting device, control parameter setting equipment and a computer readable storage medium, wherein the method comprises the following steps: obtaining phase current of an air conditioner compressor and the temperature of a condensation pipe corresponding to the air conditioner compressor; determining the initial fitness corresponding to the air conditioner compressor according to the phase current, the temperature of the condenser pipe and a preset fitness function; and updating the initial control parameters in the vector control model according to the initial fitness. In the embodiment of the application, in the process of controlling the air conditioning compressor by using the vector control model, the fitness for describing the effect of the vector control model is determined by acquiring the motor phase current for describing the running state of the motor and the temperature of the condenser pipe for describing the stable state of the air conditioning system, the closed-loop feedback and the iterative update of the control parameters in the vector control model are completed, the control effect of the vector control model can be effectively improved, and the control precision and the robustness of the air conditioning system are improved.

Description

Control parameter setting method, device, equipment and computer readable storage medium
Technical Field
The embodiment of the application relates to the technical field of motor parameter control, in particular to a control parameter setting method, a control parameter setting device, control parameter setting equipment and a computer readable storage medium.
Background
The air conditioning system is important to control a permanent magnet synchronous motor used by an external compressor of the air conditioner in order to stably operate. The current control method for the permanent magnet synchronous motor generally adopts vector control, a PI regulator is required to be introduced, and the operation stability of the motor can be directly influenced by control parameters of the PI regulator.
At present, the control parameters of the PI regulator are usually obtained based on a traditional formula method or manual debugging. However, the parameter setting method has strong limitations and cannot adapt to different parameters along with environment change, so that the compressor of the air conditioner external unit cannot guarantee high operation stability under various working conditions, and the control accuracy and robustness of the air conditioning system are insufficient.
Disclosure of Invention
The embodiment of the application provides a control parameter setting method, a control parameter setting device, control parameter setting equipment and a computer readable storage medium, and aims to solve the problem that the control precision and robustness of an air conditioning system are insufficient due to limitation of a PI parameter setting mode in the prior art.
On one hand, an embodiment of the present application provides a control parameter setting method, which is applied to an air conditioner compressor with dual closed-loop vector control, and the method includes:
obtaining phase current of the air conditioner compressor and temperature of a condensation pipe corresponding to the air conditioner compressor;
determining the initial fitness corresponding to the air conditioner compressor according to the phase current, the temperature of the condenser pipe and a preset fitness function;
and updating initial control parameters in the vector control model according to the initial fitness until the fitness corresponding to the air conditioner compressor meets a preset condition when the air conditioner compressor is controlled by the updated vector control model.
As a feasible embodiment of the present application, the updating of the initial control parameter in the vector control model according to the initial fitness until the updated vector control model is used to control the air condition compressor satisfies the preset condition with the corresponding fitness of the air condition compressor, including:
acquiring reference fitness corresponding to the air conditioner compressor when each reference vector control model controls the air conditioner compressor and reference control parameters in the reference vector control models;
respectively weighting the difference value between each reference control parameter and the initial control parameter according to the weight corresponding to the ratio of each reference fitness to the initial fitness to obtain a parameter updating amount;
updating initial control parameters in the vector control model according to the parameter updating amount to obtain an updated vector control model;
and controlling the air conditioner compressor by using the updated vector control model until the difference between the updated fitness of the air conditioner compressor under the control of the updated vector control model and the updated fitness of the air conditioner compressor under the control of the vector control model before updating is smaller than a preset threshold.
As a possible embodiment of the present application, after the initial control parameter in the vector control model is updated according to the parameter update amount to obtain an updated vector control model, the method includes:
if the control parameter in the updated vector control model is greater than a preset first threshold, adjusting the control parameter in the updated vector control model to be the first threshold;
and if the control parameter in the updated vector control model is smaller than a preset second threshold, adjusting the control parameter in the updated vector control model to be the second threshold.
As a feasible embodiment of the present application, the updating of the initial control parameter in the vector control model according to the initial fitness until the updated vector control model is used to control the air condition compressor satisfies the preset condition with the corresponding fitness of the air condition compressor, including:
updating a q-axis current loop proportional coefficient and a q-axis current loop integral coefficient in initial control parameters in a vector control model according to the initial fitness, and setting the updated vector control model as a first vector control model until the fitness corresponding to the air conditioner compressor meets a preset condition when the updated vector control model is used for controlling the air conditioner compressor;
updating a d-axis current loop proportional coefficient and a d-axis current loop integral coefficient in the first vector control model according to a first fitness corresponding to the first vector control model, and setting the updated vector control model as a second vector control model until the fitness corresponding to the air conditioner compressor meets a preset condition when the updated vector control model is used for controlling the air conditioner compressor;
and updating the speed loop proportionality coefficient and the speed loop integral coefficient in the second vector control model according to the second fitness corresponding to the second vector control model until the fitness corresponding to the air conditioner compressor meets the preset condition when the air conditioner compressor is controlled by using the updated vector control model.
As a possible embodiment of the present application, the determining the initial fitness corresponding to the air conditioning compressor according to the phase current, the condenser pipe temperature and a preset fitness function includes:
decomposing the phase current to obtain an x-axis current and a y-axis current;
carrying out Fourier transform on the x-axis current to obtain an x-axis current characteristic quantity;
detecting the peak current of the y-axis current to obtain a y-axis current characteristic quantity;
and inputting the x-axis current characteristic quantity, the y-axis current characteristic quantity and the temperature of the condenser pipe into a preset fitness function to obtain the initial fitness corresponding to the air-conditioning compressor.
As a possible embodiment of the present application, before obtaining the phase current of the air conditioner compressor and the corresponding condenser temperature of the air conditioner compressor, the method includes:
acquiring a d-axis inductor, a q-axis inductor, a current loop bandwidth, a line-to-line resistance, a damping coefficient, a natural frequency and a pole pair number corresponding to the air-conditioning compressor;
setting initial control parameters in the vector control model according to the d-axis inductance, the q-axis inductance, the current loop bandwidth, the line-to-line resistance, the damping coefficient, the natural frequency and the pole pair number;
and if the stabilization time corresponding to the air conditioner compressor is greater than a preset time threshold, executing the step of obtaining the phase current of the air conditioner compressor and the temperature of a condensation pipe corresponding to the air conditioner compressor.
As a possible embodiment of the present application, before determining the initial fitness corresponding to the air conditioning compressor according to the phase current, the condenser tube temperature, and a preset fitness function, the method includes:
acquiring environmental information;
querying a preset database to obtain an association function corresponding to the environment information;
setting the correlation function as the fitness function.
On the other hand, an embodiment of the present application further provides a control parameter setting device, which is disposed in an air conditioning compressor with dual closed-loop vector control, and includes:
the acquisition module is used for acquiring the phase current of the air conditioner compressor and the temperature of a condensation pipe corresponding to the air conditioner compressor;
the calculation module is used for inputting the phase current and the temperature of the condenser pipe into a preset fitness function to obtain the initial fitness corresponding to the air-conditioning compressor;
and the updating module is used for updating the initial control parameters in the vector control model according to the initial fitness until the fitness corresponding to the air conditioner compressor meets the preset condition when the updated vector control model is used for controlling the air conditioner compressor.
On the other hand, an embodiment of the present application further provides a control parameter tuning apparatus, where the control parameter tuning apparatus includes a processor, a memory, and a control parameter tuning program that is stored in the memory and is operable on the processor, and the processor executes the control parameter tuning program to implement the steps in the control parameter tuning method.
In another aspect, an embodiment of the present application further provides a computer-readable storage medium, where a control parameter setting program is stored on the computer-readable storage medium, and the control parameter setting program is executed by a processor to implement the steps in the control parameter setting method.
According to the control parameter setting method provided by the embodiment of the application, in the process of controlling the air-conditioning compressor by using the vector control model, the fitness for describing the effect of the vector control model is determined by acquiring the motor phase current for describing the motor running state and the temperature of the condenser pipe for describing the stable state of the air-conditioning system, and the control parameters in the vector control model are subjected to closed-loop feedback and iterative update based on the fitness, so that the real-time control and global optimization of the control parameters in a reliable range are realized, the control effect of the vector control model can be effectively improved, and the control precision and robustness of the air-conditioning system are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic view of an implementation scenario of a control parameter tuning method provided in an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a control logic of an air conditioner compressor according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating a procedure of a control parameter tuning method according to an embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a step of updating a control parameter according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a step of adjusting a parameter based on a threshold according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a step of sequentially updating parameters according to an embodiment of the present disclosure;
fig. 7 is a flowchart illustrating a step of determining fitness according to an embodiment of the present application;
FIG. 8 is a flowchart illustrating a procedure for setting initial control parameters according to an embodiment of the present disclosure;
fig. 9 is a flowchart illustrating a procedure of obtaining a fitness function according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a control parameter tuning device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a control parameter tuning device according to an embodiment of the present application.
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 a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any inventive step, are within the scope of the present invention.
In the embodiments of the present application, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and processes are not set forth in detail in order to avoid obscuring the description of the present invention with unnecessary detail. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed in the embodiments herein.
The embodiments of the present application provide a method, an apparatus, a device and a computer-readable storage medium for controlling parameter tuning, which are described in detail below.
In the embodiment of the application, the control parameter tuning method is deployed on the control parameter tuning device in the form of a program, the control parameter tuning device is installed in the control parameter tuning equipment in the form of a processor, and the control parameter tuning device in the control parameter tuning equipment executes the following steps by operating the program corresponding to the control parameter tuning method: obtaining phase current of an air conditioner compressor and the temperature of a condensation pipe corresponding to the air conditioner compressor; determining the initial fitness corresponding to the air conditioner compressor according to the phase current, the temperature of the condenser pipe and a preset fitness function; and updating the initial control parameters in the vector control model according to the initial fitness until the fitness corresponding to the air-conditioner compressor when the updated vector control model is used for controlling the air-conditioner compressor meets the preset condition, thereby completing the self-tuning optimization of the control parameters in the vector control model of the air-conditioner compressor.
As shown in fig. 1, fig. 1 is a schematic view of an implementation scenario of a control parameter tuning method provided in an embodiment of the present application, and may also be understood as a schematic structural view of an air conditioner compressor control system. The implementation scenario illustration provided by the embodiment of the present application includes a control parameter setting device 100 and an air conditioner compressor 200.
The air conditioner compressor 200 is a permanent magnet synchronous motor, and is controlled in a vector control manner. Furthermore, a PI regulator needs to be introduced into the vector control, and the parameters of the regulator can be understood as control parameters in the vector control model. For convenience of description, the subsequent control parameters refer to parameters to be subjected to PI. The control parameter tuning device 100 may update the control parameters in the vector control model by acquiring the working parameters of the system or the compressor. Specifically, the control parameter tuning apparatus 100 involves three processes of feature extraction of the working parameter, identification of system stability, and control of reference.
It should be noted that the scene schematic diagram of the control parameter setting method shown in fig. 1 is only an example, and the scene of the control parameter setting method described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided by the embodiment of the present application.
For clarity of understanding, according to the embodiment of the present application, a control logic for controlling an air conditioner compressor by using a vector control model is provided, as shown in fig. 2, fig. 2 is a schematic diagram of a control logic for an air conditioner compressor according to the embodiment of the present application.
Compared with a conventional Control logic schematic diagram, the Control logic schematic diagram of the air-conditioning compressor provided in the embodiment of the present application additionally includes a Control parameter setting device that is composed of a characteristic quantity Extraction function module (State Extraction), a Stability recognition function module (Stability recognition) and a parameter Control function module (Parameters Control). The characteristic quantity extraction function module is mainly used for extracting characteristic quantity information, the stability identification function module is mainly used for calculating fitness to judge the stability of the system, and the parameter control function module is mainly used for adjusting PI parameters. In addition, for other parts in the control logic schematic diagram, since they belong to constituent parts in a conventional control logic schematic diagram, the embodiments of the present application are not described herein again.
Based on the implementation scene schematic diagram of the control parameter setting method and the control logic schematic diagram of the air conditioner compressor, a specific embodiment of the control parameter setting method is provided.
As shown in fig. 3, fig. 3 is a schematic flow chart illustrating steps of a control parameter setting method provided in an embodiment of the present application, where the control parameter setting method in the embodiment of the present application includes steps 301 to 303:
301, obtaining phase current of the air conditioner compressor and temperature of a condensation pipe corresponding to the air conditioner compressor.
In this application embodiment, the phase current of the air conditioner compressor may be obtained by sampling according to a preset sampling period through a current sampling machine installed on the compressor, and the temperature of the condenser pipe corresponding to the air conditioner compressor is the temperature of the condenser pipe in the air conditioning system where the air conditioner compressor is located, and may be obtained by collecting through a temperature sensor installed on the condenser pipe. Specifically, the phase current and the temperature of the condensation pipe may also be acquired by other methods, which are not described herein again in this embodiment of the present application.
Further, in consideration of the fact that the control parameter setting method provided in the embodiment of the present application needs to adaptively adjust the control parameter in the vector control model when the environment changes, so as to ensure the control accuracy and robustness of the air conditioning system, it is also necessary to determine whether the current control parameter can ensure the stability of the air conditioning system before the control parameter setting method provided in the embodiment of the present application. Specifically, as a possible embodiment of the present application, an initial control parameter may be set according to a conventional formula method, and the air conditioner compressor may be controlled, and when it is detected that the air conditioner compressor has a short stabilization time under the control logic, it may be considered that the control effect of the control parameter at this time is not ideal, that is, the control parameter in the vector control model needs to be updated, and a specific implementation scheme may refer to the content of the following fig. 8 and its explanation.
302, determining an initial fitness corresponding to the air conditioner compressor according to the phase current, the condenser pipe temperature and a preset fitness function.
In the embodiment of the application, the phase current of the air conditioner compressor can describe the running state of the motor, and the temperature of the condenser pipe can describe the stability of the air conditioning system, so the fitness describing the vector control effect can be obtained by utilizing the phase current, the temperature of the condenser pipe and a set fitness function.
Specifically, the fitness function describes a functional relationship between the fitness corresponding to the air-conditioning compressor and the phase current and the condenser pipe temperature, for example, as a conventional implementation scheme, the fitness is obtained by weighting a characteristic quantity related to the phase current and the condenser pipe temperature according to a set weight, wherein the specific weight may be set based on an actual situation, and by setting different weight coefficients, the weight of the influence of the phase current and the condenser pipe temperature on the fitness describing the system stability may be adjusted, so as to implement different optimization effects. Therefore, as an optional embodiment of the present application, in the practical application process, for different environment information, corresponding weight coefficients may be preset and stored in the database, so that different optimization effects may be achieved in different environments. The specific implementation scheme can refer to the content of the following fig. 9 and the explanation thereof.
Further, as an alternative embodiment of the present application, by extracting the characteristics of the phase current of the air conditioner compressor on the x axis and the y axis, the characteristic quantity describing the frequency stability of the motor and the characteristic quantity describing the torque regulation stability can be obtained for the subsequent fitness calculation, and the specific implementation scheme may refer to the following fig. 7 and the content explained by the following fig. 7.
303, updating the initial control parameters in the vector control model according to the initial fitness until the fitness corresponding to the air conditioner compressor meets a preset condition when the updated vector control model is used to control the air conditioner compressor.
In the embodiment of the present application, the air-conditioning compressor is controlled based on the dual closed-loop vector, and therefore, the initial control parameter in the vector control model includes a d-axis current loop proportionality coefficient k pd D-axis current loop integral coefficient k id Q axis current loop proportionality coefficient k pq Q-axis current loop integral coefficient k iq Velocity ring ratio coefficient k ps And velocity loop integral coefficient k is Six kinds of the Chinese herbal medicines are adopted. Since double closed-loop vector control belongs to the prior art, the embodiments of the present application are not described herein again.
In this application embodiment, the initial control parameters in the vector control model are updated to gradually increase the fitness of the air conditioner compressor obtained through calculation, wherein, in combination with the foregoing description, the initial control parameters in the vector control model can be obtained by setting in advance through a formula method, which is not repeated herein. When the control parameters in the vector control model are close to the optimal values, the fitness corresponding to the air-conditioning compressor can be converged to a certain value, therefore, the preset condition can be related to the fitness corresponding to the air-conditioning compressor when the updated vector control model is used for controlling the air-conditioning compressor, and the error between the fitness corresponding to the air-conditioning compressor when the vector control model is used for controlling the air-conditioning compressor before being updated, namely when the error is smaller than a preset error threshold value in the continuous updating process for a plurality of times, namely when the fitness describing the system stability is in a stable state, the control parameters in the vector control model can be considered to be updated.
It should be noted that there are many feasible optimization algorithms for updating the control parameters in the vector control model by using the fitness. Specifically, in order to improve the optimization efficiency of the control parameters, as a possible embodiment of the present application, the control parameters may be updated based on the idea of the particle swarm optimization algorithm, and the specific implementation scheme may refer to the content of the following fig. 4 and its explanation.
Further, considering the embodiments of the present application, the control parameter to be optimized includes a d-axis current loop proportionality coefficient k pd D-axis current loop integral coefficient k id Q-axis current loop proportionality coefficient k pq Q-axis current loop integral coefficient k iq Velocity ring ratio coefficient k ps And velocity loop integral coefficient k is Sixthly, in order to further improve the optimization effect of the control parameters, in the process of actually updating the control parameters, according to the overall control principle, the control parameters may be sequentially optimized based on the sequence of the q-axis current loop correlation coefficient, the d-axis current loop correlation coefficient and the speed loop correlation coefficient, and the specific implementation scheme may refer to the content of the following fig. 6 and the explanation thereof.
According to the control parameter setting method provided by the embodiment of the application, in the process of controlling the air-conditioning compressor by using the vector control model, the fitness for describing the effect of the vector control model is determined by acquiring the motor phase current for describing the motor running state and the condenser pipe temperature for describing the stable state of the air-conditioning system, and the control parameters in the vector control model are subjected to closed-loop feedback and iterative update based on the fitness, so that the real-time control and global optimization of the control parameters in a reliable range are realized, the control effect of the vector control model can be effectively improved, and the control precision and robustness of the air-conditioning system are improved.
As shown in fig. 4, fig. 4 is a flowchart illustrating a step of updating a control parameter according to an embodiment of the present application, which is described in detail below.
In the embodiment of the present application, an implementation scheme for updating control parameters based on the idea of a particle swarm optimization algorithm is provided, which specifically includes steps 401 to 404:
401, obtaining a reference fitness corresponding to the air conditioner compressor when each reference vector control model controls the air conditioner compressor, and a reference control parameter in the reference vector control model.
In the embodiment of the application, the reference vector control model generally refers to a vector control model used in a historical process for controlling the air compressor, and meanwhile, the corresponding reference fitness of the reference vector control model is stored in association with the control parameters in the reference vector control model, so that a plurality of groups of reference control parameters and the reference fitness corresponding to each group of reference control parameters can be directly obtained. Certainly, the reference vector control model can also be obtained by dividing the value range of the control parameter and sampling the control parameter from the divided interval, and the phase current and the condenser pipe temperature can be obtained by utilizing the reference vector control model to control the air conditioner compressor in real time, so that the reference fitness corresponding to the reference vector control model is obtained in real time.
And 402, respectively weighting the difference value between each reference control parameter and the initial control parameter according to the weight corresponding to the ratio of each reference fitness to the initial fitness to obtain a parameter updating amount.
In the embodiment of the present application, it can be known by combining the foregoing related description that each group of reference control parameters can be regarded as a particle in a particle swarm algorithm, and further, based on a magnitude relationship between the fitness degrees corresponding to the reference control parameters, the reference control parameters are used for guiding a parameter update amount for the particle. Specifically, as a feasible implementation scheme of the present application, the weights corresponding to the ratio of the reference fitness to the initial fitness may be used to weight the difference between each reference control parameter and the initial control parameter, that is, for the particles with greater fitness, the influence of the particles on the initial control parameter is greater, so as to ensure that the particles with higher reference fitness tend to approach the control parameter array with higher reference fitness in the process of updating the initial control parameter, thereby achieving the effect of particle swarm optimization. The parameter update amount is an amount of change in updating the parameter.
And 403, updating the initial control parameters in the vector control model according to the parameter updating amount to obtain an updated vector control model.
In the embodiment of the application, the initial control parameters in the vector control model are updated according to the parameter updating amount, so that the updated vector control model can be obtained.
In the embodiment of the application, furthermore, in order to avoid a state without solution of system hardware reasons, or an overcurrent or over-high temperature fault damage system in the optimization process, in the actual optimization process, the control parameters are also limited based on a manual test mode. Therefore, after the control parameters in the vector control model are updated to obtain an updated vector control model, the control parameters are also controlled based on the aforementioned limitations, and a specific implementation scheme can refer to the content of the following fig. 5 and the explanation thereof.
And 404, controlling the air conditioner compressor by using the updated vector control model until the difference between the updated fitness of the air conditioner compressor under the control of the updated vector control model and the updated fitness of the air conditioner compressor under the control of the vector control model before updating is smaller than a preset threshold value.
In the embodiment of the application, when the updated fitness of the air conditioner compressor under the control of the updated vector control model and the difference between the updated fitness of the air conditioner compressor under the control of the updated vector control model is smaller than a preset threshold value, the air conditioner system is indicated to be in a stable operation state, and the updated vector control model is used for controlling the air conditioner compressor at the moment.
Specifically, it should be noted that the steps provided in the embodiment of the present application may be understood as a cyclic iterative update process, that is, after the control parameters are updated each time, each group of reference control parameters and their corresponding reference fitness are also updated step by step, and then the particles are updated based on the fitness of each particle in the particle swarm and the individual optimal solution and the global optimal solution of the particle swarm to obtain new particles, that is, new control parameters, until the final optimization condition is satisfied. Since particle swarm optimization belongs to a conventional optimization algorithm, the embodiment of the application is not described herein again.
As shown in fig. 5, fig. 5 is a flowchart illustrating a step of adjusting a parameter based on a threshold according to an embodiment of the present application, which is described in detail below.
In the embodiment of the present application, an implementation scheme is provided for limiting a control parameter in an updated vector control model based on a parameter threshold obtained by a manual debugging method, and specifically includes steps 501 to 502:
and 501, if the control parameter in the updated vector control model is larger than a preset first threshold, adjusting the control parameter in the updated vector control model to the first threshold.
In the embodiment of the present application, the first threshold refers to an upper limit value of a control parameter obtained by a manual debugging method in advance, that is, when the control parameter is greater than the upper limit value, a system fault is easily caused in an actual process, and therefore, if the control parameter in the updated vector control model is greater than a preset first threshold, the control parameter in the updated vector control model is adjusted to the first threshold.
502, if the control parameter in the updated vector control model is smaller than a preset second threshold, adjusting the control parameter in the updated vector control model to the second threshold.
In the embodiment of the present application, similar to the first threshold, the second threshold is a lower limit of a control parameter obtained by a manual debugging method in advance, that is, when the control parameter is smaller than the lower limit, a system fault is easily caused in an actual process, and therefore, if the control parameter in the updated vector control model is smaller than the preset second threshold, the control parameter in the updated vector control model is adjusted to the first threshold.
As shown in fig. 6, fig. 6 is a schematic flowchart of a step of sequentially updating parameters according to an embodiment of the present application, which is described in detail below.
In order to further improve the optimization effect of the control parameters, in the embodiment of the present application, an implementation scheme is provided for sequentially updating each control parameter according to an overall control principle in the process of updating the control parameters, and includes steps 601 to 603:
and 601, updating a q-axis current loop proportional coefficient and a q-axis current loop integral coefficient in initial control parameters in the vector control model according to the initial fitness to obtain the first vector control model.
In the embodiment of the present application, in the process of updating the control parameter, the control parameter setting device may update the q-axis current loop proportional coefficient and the q-axis current loop integral coefficient first, that is, may keep the remaining parameters, such as the axis current loop proportional coefficient, the d-axis current loop integral coefficient, the speed loop proportional coefficient, and the speed loop integral coefficient, in the control parameter unchanged. Specifically, a q-axis current loop proportional coefficient and a q-axis current loop integral coefficient in initial control parameters in the vector control model are updated according to the initial fitness, and the updated vector control model is set as the first vector control model when the fitness corresponding to the air-conditioning compressor meets a preset condition when the air-conditioning compressor is controlled by the updated vector control model.
Regardless of whether the control parameters are updated integrally or the q-axis current loop proportional coefficient and the q-axis current loop integral coefficient in the control parameters are updated separately, the updating and optimizing methods adopted by the methods may be the same, and the details of the embodiments of the present application are not repeated herein.
And 602, updating a d-axis current loop proportionality coefficient and a d-axis current loop integral coefficient in the first vector control model according to a first fitness corresponding to the first vector control model to obtain a second vector control model.
In the embodiment of the application, after the q-axis current loop proportional coefficient and the q-axis current loop integral coefficient in the control parameter are updated to obtain the first vector control model, the control parameter setting device further updates the d-axis current loop proportional coefficient and the d-axis current loop integral coefficient in the first vector control model by using the first fitness corresponding to the first vector control model, and simultaneously keeps the remaining parameters, that is, the q-axis current loop proportional coefficient, the q-axis current loop integral coefficient, the speed loop proportional coefficient and the speed loop integral coefficient unchanged. Specifically, a d-axis current loop proportional coefficient and a d-axis current loop integral coefficient in the first vector control model are updated according to a first fitness corresponding to the first vector control model, and the updated vector control model is set as a second vector control model when the fitness corresponding to the space-time air-conditioning compressor is controlled by the updated vector control model and meets a preset condition.
Of course, similar to the foregoing, the update optimization method used for updating the d-axis current loop proportionality coefficient and the d-axis current loop integral coefficient in the control parameter separately may also follow the foregoing scheme, and the embodiments of the present application are not described herein again.
603, updating the speed loop proportionality coefficient and the speed loop integral coefficient in the second vector control model according to the second fitness corresponding to the second vector control model until the fitness corresponding to the air conditioner compressor meets the preset condition when the updated vector control model is used for controlling the air conditioner compressor.
In the embodiment of the application, after the d-axis current loop proportional coefficient and the d-axis current loop integral coefficient in the control parameter are updated to obtain the second vector control model, the control parameter setting device further updates the speed loop proportional coefficient and the speed loop integral coefficient in the second vector control model by using a second fitness corresponding to the second vector control model, and simultaneously keeps the remaining parameters, namely the q-axis current loop proportional coefficient, the q-axis current loop integral coefficient, the d-axis current loop proportional coefficient and the d-axis current loop integral coefficient unchanged. Specifically, the speed loop proportionality coefficient and the speed loop integral coefficient in the second vector control model are updated according to the second fitness corresponding to the second vector control model until the fitness corresponding to the air-conditioning compressor when the air-conditioning compressor is controlled by the updated vector control model meets the preset condition, and the updated vector control model is the target vector control model finally used for the air-conditioning compressor to perform vector control.
Similarly, similarly to the foregoing, the update optimization method for independently updating the speed loop proportionality coefficient and the speed loop integral coefficient in the control parameter may also follow the scheme provided in the foregoing, and the embodiment of the present application is not described herein again.
In addition, since different control parameters have different degrees of influence on the local and overall systems, the weight coefficients used in the updating process are also finely adjusted based on different control parameters in the actual updating process of each control parameter.
As shown in fig. 7, fig. 7 is a flowchart illustrating a step of determining fitness according to an embodiment of the present application, which is described in detail below.
In the embodiment of the present application, an implementation scheme for processing phase currents to extract different feature quantities is provided, which specifically includes steps 701 to 704:
701, resolving the phase currents to obtain an x-axis current and a y-axis current.
In the embodiment of the application, the sampled phase currents are decomposed according to the directions of the x axis and the y axis, so that the current of the x axis and the current of the y axis can be obtained. The embodiments of the present application are not described herein again.
And 702, performing Fourier transform on the x-axis current to obtain the characteristic quantity of the x-axis current.
In the embodiment of the application, the Fourier transform is performed on the x-axis current, so that the relevant characteristic quantity of the x-axis current can be extracted and obtained, and the characteristic quantity can be used for reflecting the frequency stability of the motor.
703, detecting the peak current of the y-axis current to obtain the characteristic quantity of the y-axis current.
In the embodiment of the application, peak current detection is carried out on the y-axis current, relevant characteristic quantity of the y-axis current can be extracted and obtained, and the characteristic quantity can be used for reflecting the torque regulation stability of the motor.
And 704, inputting the characteristic quantity of the x-axis current, the characteristic quantity of the y-axis current and the temperature of the condenser pipe into a preset fitness function to obtain the initial fitness corresponding to the air-conditioning compressor.
In the embodiment of the application, in combination with the foregoing related description, the fitness function describes a functional relationship between the fitness and the x-axis current characteristic quantity, the y-axis current characteristic quantity, and the temperature of the condenser pipe, so that the x-axis current characteristic quantity, the y-axis current characteristic quantity, and the temperature of the condenser pipe are input to the fitness function, and the initial fitness corresponding to the air conditioner compressor can be obtained, and the fitness describes the overall stability of the operation of the air conditioning system.
As shown in fig. 8, fig. 8 is a schematic flowchart of a step of setting an initial control parameter provided in the embodiment of the present application, which is described in detail below.
In the embodiment of the present application, specifically, the method includes steps 801 to 803:
801, obtaining d-axis inductance, q-axis inductance, current loop bandwidth, line-to-line resistance, damping coefficient, natural frequency and pole pair number corresponding to the air conditioner compressor.
In the embodiment of the present application, the d-axis inductance, the q-axis inductance, the current loop bandwidth, the line-to-line resistance, the damping coefficient, the natural frequency, and the number of pole pairs belong to the inherent properties of the air conditioning compressor, and can be directly obtained, which is not repeated herein.
And 802, setting initial control parameters in the vector control model according to the d-axis inductance, the q-axis inductance, the current loop bandwidth, the line-to-line resistance, the damping coefficient, the natural frequency and the pole pair number.
In the embodiment of the present application, an implementation scheme for setting an initial control parameter in a vector control model specifically according to a d-axis inductance, a q-axis inductance, a current loop bandwidth, a line-to-line resistance, a damping coefficient, a natural frequency, and a pole pair number is as follows:
k pq =l q *w c
k pd =l d *w c
k iq =k id =R s *w s
Figure BDA0003823399840000141
Figure BDA0003823399840000142
wherein l q 、l d D-axis inductance, q-axis inductance, ω, respectively c Is the current loop bandwidth, R s Is line-to-line resistance, ξ s As damping coefficient, w s Is the natural frequency, p n Is a pole pair number.
And 803, if the stabilization time corresponding to the air conditioner compressor is less than a preset time threshold, obtaining the phase current of the air conditioner compressor and the temperature of the condenser pipe corresponding to the air conditioner compressor.
In this application embodiment, if under the initial control parameter, the stabilization time that air condition compressor corresponds is less than preset time threshold, that is to say when showing that air conditioning system's stability is not enough, then show that air condition compressor's control parameter updates, that is to say carries out the scheme that this application embodiment provided, acquires air condition compressor's phase current under this state promptly to and the condenser pipe temperature that air condition compressor corresponds.
As shown in fig. 9, fig. 9 is a flowchart illustrating a step of obtaining a fitness function according to an embodiment of the present application, which is described in detail below.
In the embodiment of the present application, an implementation scheme for setting different fitness functions based on environment information is provided, which specifically includes steps 901 to 903:
901, obtaining environment information.
In the embodiment of the present application, the environment information generally includes the temperature and humidity that greatly affect the performance of the air conditioner compressor, and may also include other environment information, which is not described herein again.
And 902, querying a preset database to obtain the association function corresponding to the environment information.
In the embodiment of the application, for different environmental information, the optimization requirements of the environmental information on the motor control parameters are different, so that the corresponding correlation function can be obtained by inquiring the preset database, and the subsequent different optimization effects on the motor control parameters can be realized.
And 903, setting the association function as the fitness function.
In the embodiment of the present application, the correlation function corresponding to the environmental information is a fitness function subsequently used for realizing a corresponding optimization effect.
In order to better implement the control parameter setting method provided by the embodiment of the application, on the basis of the control parameter setting method, the embodiment of the application also provides a control parameter setting device. As shown in fig. 10, fig. 10 is a schematic structural diagram of a control parameter tuning apparatus provided in an embodiment of the present application. Specifically, the control parameter setting device includes:
an obtaining module 1001, configured to obtain phase current of the air conditioner compressor and a temperature of a condenser pipe corresponding to the air conditioner compressor;
the calculating module 1002 is configured to input the phase current and the condenser pipe temperature into a preset fitness function, so as to obtain an initial fitness corresponding to the air-conditioning compressor;
an updating module 1003, configured to update an initial control parameter in a vector control model according to the initial fitness until the fitness corresponding to the air conditioner compressor meets a preset condition when the updated vector control model is used to control the air conditioner compressor.
As a feasible embodiment of the present application, the method further includes updating initial control parameters in the vector control model according to the initial fitness, until the updated vector control model is used to control the air condition compressor, where the fitness corresponding to the air condition compressor meets a preset condition, and includes:
acquiring reference fitness corresponding to the air conditioner compressor when each reference vector control model controls the air conditioner compressor and reference control parameters in the reference vector control models;
according to the weight corresponding to the ratio of each reference fitness to the initial fitness, respectively weighting the difference between each reference control parameter and the initial control parameter to obtain a parameter updating amount;
updating initial control parameters in the vector control model according to the parameter updating amount to obtain an updated vector control model;
and controlling the air conditioner compressor by using the updated vector control model until the difference between the updated fitness of the air conditioner compressor under the control of the updated vector control model and the updated fitness of the air conditioner compressor under the control of the vector control model before updating is smaller than a preset threshold.
As a possible embodiment of the present application, after the initial control parameter in the vector control model is updated according to the parameter update amount to obtain an updated vector control model, the method includes:
if the control parameter in the updated vector control model is larger than a preset first threshold, adjusting the control parameter in the updated vector control model to the first threshold;
and if the control parameter in the updated vector control model is smaller than a preset second threshold, adjusting the control parameter in the updated vector control model to be the second threshold.
As a feasible embodiment of the present application, the updating of the initial control parameter in the vector control model according to the initial fitness until the updated vector control model is used to control the air condition compressor satisfies the preset condition with the corresponding fitness of the air condition compressor, including:
updating a q-axis current loop proportional coefficient and a q-axis current loop integral coefficient in initial control parameters in a vector control model according to the initial fitness, and setting the updated vector control model as a first vector control model until the fitness corresponding to the air conditioner compressor meets a preset condition when the updated vector control model is used for controlling the air conditioner compressor;
updating a d-axis current loop proportional coefficient and a d-axis current loop integral coefficient in the first vector control model according to a first fitness corresponding to the first vector control model until the fitness corresponding to the air conditioner compressor meets a preset condition when the air conditioner compressor is controlled by the updated vector control model, and setting the updated vector control model as a second vector control model;
and updating the speed loop proportionality coefficient and the speed loop integral coefficient in the second vector control model according to the second fitness corresponding to the second vector control model until the fitness corresponding to the air conditioner compressor meets the preset condition when the air conditioner compressor is controlled by using the updated vector control model.
As a possible embodiment of the present application, the determining the initial fitness corresponding to the air conditioning compressor according to the phase current, the condenser pipe temperature and a preset fitness function includes:
decomposing the phase current to obtain an x-axis current and a y-axis current;
carrying out Fourier transform on the x-axis current to obtain an x-axis current characteristic quantity;
carrying out peak current detection on the y-axis current to obtain a y-axis current characteristic quantity;
and inputting the x-axis current characteristic quantity, the y-axis current characteristic quantity and the temperature of the condenser pipe into a preset fitness function to obtain the initial fitness corresponding to the air-conditioning compressor.
As a possible embodiment of the present application, before obtaining the phase current of the air conditioner compressor and the corresponding condenser temperature of the air conditioner compressor, the method includes:
acquiring a d-axis inductor, a q-axis inductor, a current loop bandwidth, a line-to-line resistance, a damping coefficient, a natural frequency and a pole pair number corresponding to the air conditioner compressor;
setting initial control parameters in the vector control model according to the d-axis inductance, the q-axis inductance, the current loop bandwidth, the line-to-line resistance, the damping coefficient, the natural frequency and the pole pair number;
and if the stabilization time corresponding to the air conditioner compressor is greater than a preset time threshold, executing the step of obtaining the phase current of the air conditioner compressor and the temperature of a condensation pipe corresponding to the air conditioner compressor.
As a possible embodiment of the present application, before determining the initial fitness corresponding to the air conditioning compressor according to the phase current, the condenser tube temperature, and a preset fitness function, the method includes:
acquiring environmental information;
querying a preset database to obtain a correlation function corresponding to the environment information;
setting the correlation function as the fitness function.
An embodiment of the present application further provides a control parameter setting device, as shown in fig. 11, where fig. 11 is a schematic structural diagram of the control parameter setting device provided in the embodiment of the present application.
The control parameter setting device comprises a memory, a processor and a control parameter setting program which is stored in the memory and can run on the processor, and the steps of the control parameter setting method provided by any embodiment of the application are realized when the processor executes the control parameter setting program.
Specifically, the method comprises the following steps: the control parameter tuning device may include components such as a processor 1101 of one or more processing cores, a memory 1102 of one or more storage media, a power supply 1103, and an input unit 1104. Those skilled in the art will appreciate that the control parameter tuning device configuration shown in FIG. 11 does not constitute a limitation of a control parameter tuning device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components. Wherein:
the processor 1101 is a control center of the control parameter tuning apparatus, connects various parts of the entire control parameter tuning apparatus by using various interfaces and lines, and executes various functions and processing data of the control parameter tuning apparatus by operating or executing software programs and/or modules stored in the memory 1102 and calling data stored in the memory 1102, thereby performing overall monitoring of the control parameter tuning apparatus. Optionally, processor 1101 may include one or more processing cores; preferably, the processor 1101 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1101.
The memory 1102 may be used to store software programs and modules, and the processor 1101 executes various functional applications and data processing by operating the software programs and modules stored in the memory 1102. The memory 1102 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created from use of the control parameter tuning device, and the like. Further, the memory 1102 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 1102 may also include a memory controller to provide the processor 1101 with access to the memory 1102.
The control parameter tuning device further comprises a power supply 1103 for supplying power to each component, and preferably, the power supply 1103 may be logically connected to the processor 1101 through a power management system, so as to implement functions of managing charging, discharging, power consumption, and the like through the power management system. The power supply 1103 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The control parameter tuning apparatus may further include an input unit 1104, and the input unit 1104 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the control parameter tuning apparatus may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 1101 in the X control parameter tuning device loads an executable file corresponding to a process of one or more application programs into the memory 1102 according to the following instruction, and the processor 1101 runs the application programs stored in the memory 1102, thereby implementing the steps in the control parameter tuning method provided in any embodiment of the present application.
To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like. The computer readable storage medium has a control parameter tuning program stored thereon, and the control parameter tuning program, when executed by the processor, implements the steps in the control parameter tuning method provided in any embodiment of the present application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed descriptions of other embodiments, which are not described herein again.
In a specific implementation, each unit or structure may be implemented as an independent entity, or may be combined arbitrarily to be implemented as one or several entities, and the specific implementation of each unit or structure may refer to the foregoing method embodiment, which is not described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The control parameter tuning method provided by the embodiment of the present application is described in detail above, and a specific example is applied in the description to explain the principle and the implementation manner of the present invention, and the description of the embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A control parameter setting method is applied to an air conditioner compressor with double closed-loop vector control, and comprises the following steps:
obtaining phase current of the air conditioner compressor and the temperature of a condensation pipe corresponding to the air conditioner compressor;
determining the initial fitness corresponding to the air-conditioning compressor according to the phase current, the temperature of the condenser pipe and a preset fitness function;
and updating initial control parameters in the vector control model according to the initial fitness until the fitness corresponding to the air conditioner compressor meets a preset condition when the air conditioner compressor is controlled by the updated vector control model.
2. The control parameter setting method according to claim 1, wherein the updating the initial control parameters in the vector control model according to the initial fitness until the fitness corresponding to the air conditioning compressor meets a preset condition when the updated vector control model is used to control the air conditioning compressor comprises:
acquiring reference fitness corresponding to the air conditioner compressor when each reference vector control model controls the air conditioner compressor and reference control parameters in the reference vector control models;
according to the weight corresponding to the ratio of each reference fitness to the initial fitness, respectively weighting the difference between each reference control parameter and the initial control parameter to obtain a parameter updating amount;
updating initial control parameters in the vector control model according to the parameter updating amount to obtain an updated vector control model;
and controlling the air conditioner compressor by using the updated vector control model until the difference between the updated fitness of the air conditioner compressor under the control of the updated vector control model and the updated fitness of the air conditioner compressor under the control of the vector control model before updating is smaller than a preset threshold.
3. The control parameter tuning method according to claim 2, wherein after the initial control parameters in the vector control model are updated according to the parameter update amount to obtain an updated vector control model, the method comprises:
if the control parameter in the updated vector control model is larger than a preset first threshold, adjusting the control parameter in the updated vector control model to the first threshold;
and if the control parameter in the updated vector control model is smaller than a preset second threshold value, adjusting the control parameter in the updated vector control model to the second threshold value.
4. The method for controlling parameter tuning according to claim 1, wherein the updating initial control parameters in a vector control model according to the initial fitness until the fitness corresponding to the air conditioner compressor meets a preset condition when the air conditioner compressor is controlled by using the updated vector control model comprises:
updating a q-axis current loop proportional coefficient and a q-axis current loop integral coefficient in initial control parameters in a vector control model according to the initial fitness, and setting the updated vector control model as a first vector control model until the fitness corresponding to the air conditioner compressor meets a preset condition when the updated vector control model is used for controlling the air conditioner compressor;
updating a d-axis current loop proportional coefficient and a d-axis current loop integral coefficient in the first vector control model according to a first fitness corresponding to the first vector control model, and setting the updated vector control model as a second vector control model until the fitness corresponding to the air conditioner compressor meets a preset condition when the updated vector control model is used for controlling the air conditioner compressor;
and updating the speed loop proportional coefficient and the speed loop integral coefficient in the second vector control model according to the second fitness corresponding to the second vector control model until the fitness corresponding to the air conditioner compressor meets the preset condition when the air conditioner compressor is controlled by utilizing the updated vector control model.
5. The method for setting the control parameters according to claim 1, wherein the determining the initial fitness corresponding to the air conditioner compressor according to the phase current, the temperature of the condenser pipe and a preset fitness function comprises:
decomposing the phase current to obtain an x-axis current and a y-axis current;
performing Fourier transform on the x-axis current to obtain an x-axis current characteristic quantity;
detecting the peak current of the y-axis current to obtain a y-axis current characteristic quantity;
and inputting the x-axis current characteristic quantity, the y-axis current characteristic quantity and the temperature of the condenser pipe into a preset fitness function to obtain the initial fitness corresponding to the air-conditioning compressor.
6. The control parameter setting method according to claim 1, wherein before the phase current of the air-conditioning compressor and the temperature of the corresponding condenser pipe of the air-conditioning compressor are obtained, the method comprises:
acquiring a d-axis inductor, a q-axis inductor, a current loop bandwidth, a line-to-line resistance, a damping coefficient, a natural frequency and a pole pair number corresponding to the air-conditioning compressor;
setting initial control parameters in the vector control model according to the d-axis inductance, the q-axis inductance, the current loop bandwidth, the line-to-line resistance, the damping coefficient, the natural frequency and the pole pair number;
and if the stabilization time corresponding to the air conditioner compressor is greater than a preset time threshold, executing the step of obtaining the phase current of the air conditioner compressor and the temperature of a condensation pipe corresponding to the air conditioner compressor.
7. The control parameter setting method according to any one of claims 1 to 6, wherein before determining the initial fitness corresponding to the air conditioning compressor according to the phase current, the condenser tube temperature and a preset fitness function, the method comprises:
acquiring environmental information;
querying a preset database to obtain a correlation function corresponding to the environment information;
and setting the association function as the fitness function.
8. A control parameter setting device is characterized by being arranged in an air conditioner compressor with double closed-loop vector control, and the device comprises:
the acquisition module is used for acquiring the phase current of the air conditioner compressor and the temperature of a condensation pipe corresponding to the air conditioner compressor;
the calculation module is used for inputting the phase current and the temperature of the condenser pipe into a preset fitness function to obtain the initial fitness corresponding to the air-conditioning compressor;
and the updating module is used for updating the initial control parameters in the vector control model according to the initial fitness until the fitness corresponding to the air conditioner compressor meets the preset condition when the updated vector control model is used for controlling the air conditioner compressor.
9. A control parameter tuning apparatus, characterized in that the control parameter tuning apparatus comprises a processor, a memory, and a control parameter tuning program stored in the memory and operable on the processor, the processor executing the control parameter tuning program to implement the steps in the control parameter tuning method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a control parameter tuning program, which is executed by a processor to implement the steps in the control parameter tuning method of any one of claims 1 to 7.
CN202211049961.2A 2022-08-30 2022-08-30 Control parameter setting method, device, equipment and computer readable storage medium Pending CN115411989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211049961.2A CN115411989A (en) 2022-08-30 2022-08-30 Control parameter setting method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211049961.2A CN115411989A (en) 2022-08-30 2022-08-30 Control parameter setting method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115411989A true CN115411989A (en) 2022-11-29

Family

ID=84162893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211049961.2A Pending CN115411989A (en) 2022-08-30 2022-08-30 Control parameter setting method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115411989A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117097227A (en) * 2023-10-17 2023-11-21 深圳市华科科技有限公司 Speed regulation control method and related device for motor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117097227A (en) * 2023-10-17 2023-11-21 深圳市华科科技有限公司 Speed regulation control method and related device for motor
CN117097227B (en) * 2023-10-17 2024-01-26 深圳市华科科技有限公司 Speed regulation control method and related device for motor

Similar Documents

Publication Publication Date Title
Du et al. Research on active disturbance rejection control with parameter autotune mechanism for induction motors based on adaptive particle swarm optimization algorithm with dynamic inertia weight
Yin et al. A review of nonlinear Kalman filter appling to sensorless control for AC motor drives
CN112255492B (en) Single-phase grounding high-resistance fault identification method for power distribution network under strong noise background
CN115411989A (en) Control parameter setting method, device, equipment and computer readable storage medium
CN110412867A (en) A kind of magnetic levitation control moment gyroscope frame system high-precision angular speed control method based on parameter optimization extended state observer
CN113191253A (en) Non-invasive load identification method based on feature fusion under edge machine learning
Tan et al. Chaos synchronization control for stochastic nonlinear systems of interior PMSMs based on fixed-time stability theorem
Prakasa et al. Power system stabilizer tuning improvement for single-machine infinite bus using equilibrium optimizer algorithm
CN109377052B (en) Power load matching method, device, equipment and readable storage medium
CN109494787A (en) A kind of more feed-in electric system grid connection capacity Limit Calculation Methods of photovoltaic
CN112564557A (en) Control method, device and equipment of permanent magnet synchronous motor and storage medium
CN109061354A (en) A kind of electrical energy power quality disturbance recognition methods based on improvement PSO and SVM
CN116938066A (en) Permanent magnet synchronous motor parameter identification method based on dung beetle optimization algorithm
CN111293693A (en) Doubly-fed wind turbine converter control parameter identification method based on extended Kalman filtering
CN111737919A (en) Direct-drive wind power plant grouping method suitable for subsynchronous oscillation analysis
CN116486232A (en) Load identification method and system based on deep learning theory
CN117057284A (en) Conversion data processing equivalent adjustment method and device for electromagnetic transient model
WO2023045292A1 (en) Range hood and testing method and testing apparatus therefor
Liu et al. State of charge estimation of battery based on a new equivalent model
CN109669353B (en) Product robustness analysis method based on parameter range matching
CN113158446A (en) Non-invasive electric load identification method
CN112332734A (en) Ultrahigh-speed electric air compressor variable voltage stability expansion control system and method for improving large-range speed regulation response capability
CN113964875B (en) Stability analysis method for voltage source control type grid-connected converter
CN113719972B (en) Control parameter setting method, device, equipment and computer readable storage medium
CN113726243B (en) Air conditioner motor control method and device, air conditioner and readable storage medium

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