Control method, system, storage medium and computer device of target device

The fuzzy algorithm is used to perform feedforward control of disturbance sources, which solves the problem of response lag of the automated control system when facing multiple disturbance sources, and improves the user experience and operating efficiency of the target equipment.

CN113777921BActive Publication Date: 2024-09-06SHENZHEN ENVICOOL INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110997891.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-27
Publication Date
2024-09-06
Estimated Expiration
2041-08-27

AI Technical Summary

Technical Problem

When faced with multiple sources of disturbance, the automated control system is unable to sense and respond in a timely manner, resulting in lagging temperature regulation of target equipment such as air conditioners and poor user experience.

Method used

Use a pre-built fuzzy algorithm to calculate the disturbance parameters of the disturbance source, generate feedforward data, and generate main output data combined with the operating parameters of the target equipment. The current output data is obtained through superposition, which is used to control the operating status of the target equipment in real time, reducing the The impact of disturbance sources on automated control.

Benefits of technology

Through the feedforward control of the fuzzy algorithm, the disturbance source can be adjusted in time to reduce its impact on the target device, improve user experience, reduce device failure rate and energy consumption, and improve the response speed of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113777921B
    Figure CN113777921B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a control method, system, storage medium and computer device for a target device, the method comprising: using a pre-built fuzzy algorithm to calculate the disturbance parameters of the disturbance source to generate feedforward data; using a pre-built target device control algorithm to calculate the operating parameters of the target device to generate main output data, the main output data being data for controlling the operating parameters of the target device to run to the target operating value when the operating parameters are collected; superimposing the feedforward data and the main output data to obtain the current output data; and using the current output data to control the operating state of the target device. The target device can be feedforward controlled for the disturbance source, thereby improving the user experience of the target device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of device control technology, and in particular to a control method, system, storage medium and computer device for a target device. Background Art

[0002] With the development of science and technology, some target devices are becoming more and more automated. However, during the automated control, there will be some disturbance sources that prevent the target devices from being automatically controlled in a timely manner, resulting in a poor user experience. Take the temperature control of the air conditioner in the scene as an example. If the scene is a carriage, when the subway arrives at the station, the number of people in the carriage changes rapidly within a few seconds, causing severe disturbances to the heat load in the carriage. However, the automatic control system at this time does not sense that the heat load has changed, or how much the change is. Only when the temperature at the return air outlet of the air conditioner reaches the change threshold, the control system will control the air conditioner to cool down and adjust. Due to the lag of temperature change, the temperature change at the return air outlet of the air conditioner often lags behind the load change, which will cause the air conditioner to respond in time, eventually causing temperature fluctuations in the carriage and a poor passenger experience.

[0003] Therefore, how to reduce the impact of multiple disturbance sources on the automatic control of the target device is of great significance to improving the user experience of the target device. Summary of the invention

[0004] Based on this, it is necessary to propose a control method, system, storage medium and computer device for a target device in order to address the above problems.

[0005] A first aspect of the present invention provides a control method for a target device, comprising: using a pre-constructed fuzzy algorithm to calculate disturbance parameters of a disturbance source to generate feedforward data; using a pre-constructed target device control algorithm to calculate operating parameters of the target device to generate main output data, wherein the main output data is data required to control the target device to operate from the operating parameters to the target operating value; superimposing the feedforward data and the main output data to obtain current output data; and using the current output data to control the operating state of the target device.

[0006] Wherein, the fuzzy algorithm at least includes: a first membership function, a fuzzy rule table and a second membership function, the number of the first membership functions is not less than the number of the disturbance sources, and each disturbance parameter has at least one corresponding first membership function; the use of the pre-generated fuzzy algorithm to calculate the disturbance parameters to generate feedforward data includes: obtaining the disturbance parameters of the disturbance source; using the first membership function to fuzzify all the disturbance parameters respectively to generate an input fuzzy subset corresponding to each disturbance parameter, one input fuzzy subset represents one input fuzzy data; selecting an output subset in the fuzzy rule table, one output subset represents one output fuzzy data, and the output fuzzy data is mapped with the input fuzzy data; using the second membership function to defuzzify the selected output subset to generate the feedforward data.

[0007] Among them, the method of using the first membership function to perform fuzzy processing on all the disturbance parameters respectively to generate an input fuzzy subset corresponding to each disturbance parameter includes: using the first membership function to calculate the membership of all the disturbance parameters respectively; from a preset first number of input subsets, selecting input subsets whose membership is the same as the maximum membership value of each disturbance parameter and whose parameter data is the same as the disturbance parameter to obtain input fuzzy data corresponding to each disturbance parameter, the input subset comprising membership, input fuzzy data and parameter data; and setting each selected input subset as the input fuzzy subset corresponding to each disturbance parameter.

[0008] Wherein, the filtering of an output subset in the fuzzy rule table comprises: obtaining a fuzzy rule table, and obtaining a mapping relationship between output fuzzy data represented by each output subset and input fuzzy data represented by an input fuzzy subset of each disturbance parameter in the fuzzy rule table; comparing the input fuzzy data in the input fuzzy subset corresponding to each disturbance parameter with the output fuzzy data of the output subset in the fuzzy rule table according to the mapping relationship; filtering out output fuzzy data mapped to the input fuzzy data represented by each input fuzzy subset in the fuzzy rule table, and filtering the output subset corresponding to the output fuzzy data.

[0009] Among them, the method of using the second membership function to defuzzify the screened output subset to generate the feedforward data includes: using the second membership function to calculate the membership of all the output subsets; within a preset third number of output fuzzy subsets, respectively screening output fuzzy subsets with the same membership and output fuzzy data as the output subset, the output fuzzy subsets including membership, output fuzzy data, and feedforward data for controlling the target device; and selecting the feedforward data in the output fuzzy subset with the smallest membership among all the screened output fuzzy subsets for output.

[0010] Among them, the method for obtaining the disturbance parameters includes: obtaining at least two factor sensor signals that directly or indirectly reflect the disturbance of the operating state of the target device; converting different types of the factor sensor signals into disturbance values ​​reflecting the disturbance generated by the target device in different dimensions, and generating disturbance parameters.

[0011] The acquisition of the disturbance parameter and the operating parameter is performed periodically at preset time intervals.

[0012] The second aspect of the present invention provides a control system for a target device, the system comprising: a data generation module, used to use a pre-built fuzzy algorithm to calculate each of the disturbance parameters to generate feedforward data; use a pre-built target device control algorithm to calculate the operating parameters to generate main output data, the main output data being the data required to control the target device to run from the operating parameters to the target operating value; a data superposition module, used to superimpose the feedforward data and the main output data to obtain current output data; and a data output module, used to use the current output data to control the operating state of the target device.

[0013] A third aspect of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:

[0014] A first aspect of the present invention provides a control method for a target device, comprising: using a pre-constructed fuzzy algorithm to calculate disturbance parameters of a disturbance source to generate feedforward data; using a pre-constructed target device control algorithm to calculate operating parameters of the target device to generate main output data, wherein the main output data is data required to control the target device to operate from the operating parameters to the target operating value; superimposing the feedforward data and the main output data to obtain current output data; and using the current output data to control the operating state of the target device.

[0015] A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:

[0016] A first aspect of the present invention provides a control method for a target device, comprising: using a pre-constructed fuzzy algorithm to calculate disturbance parameters of a disturbance source to generate feedforward data; using a pre-constructed target device control algorithm to calculate operating parameters of the target device to generate main output data, wherein the main output data is data required to control the target device to operate from the operating parameters to the target operating value; superimposing the feedforward data and the main output data to obtain current output data; and using the current output data to control the operating state of the target device.

[0017] The embodiments of the present invention have the following beneficial effects:

[0018] By using fuzzy algorithms to calculate the disturbance parameters of the disturbance source and generate feedforward data, the current output data finally calculated can make feedforward control of the target device according to the disturbance source, thereby reducing the impact of the disturbance source on the automatic control of the target device and improving the user experience of the target device. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] in:

[0021] Figure 1 is a flow chart of a method for controlling a target device in one embodiment;

[0022] Figure 2 is a schematic diagram of a first membership function in a two-dimensional coordinate system in one embodiment;

[0023] Figure 3 is a schematic diagram of a second membership function in a two-dimensional coordinate system in one embodiment;

[0024] Figure 4 A flowchart of subway car air conditioning temperature control in one embodiment;

[0025] Figure 5 A schematic diagram of a three-dimensional fuzzy rule table used for temperature control of an air conditioner in a subway car in one embodiment;

[0026] Figure 6A schematic diagram of a second membership function used for subway car air conditioning temperature control in a two-dimensional coordinate system in one embodiment;

[0027] Figure 7 is a structural block diagram of a control system of a target device in one embodiment;

[0028] Figure 8 FIG. 4 is a structural block diagram of a computer device in one embodiment. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] like Figure 1 As shown, in one embodiment, a method for controlling a target device is provided, comprising the following steps:

[0031] S101, using a pre-built fuzzy algorithm to calculate the disturbance parameters of the disturbance source to generate feedforward data; using a pre-built target device control algorithm to calculate the operating parameters of the target device to generate main output data;

[0032] S102, superimposing the feedforward data and the main output data to obtain current output data;

[0033] S103: Use the current output data to control the operating state of the target device.

[0034] In step S101, disturbance parameters of different dimensions can be used, which represent disturbance sources of different dimensions. The collection of disturbance parameters of these disturbance sources can be parameters collected by the target device or parameters collected by devices other than the target device. Taking the temperature control of the air conditioner in the scene as an example, if the scene is a subway car and the target device is the air conditioner in the subway car, then the reasons for the change in the heat load of the subway car can all become disturbance sources. Each reason represents a disturbance source of one dimension, such as the temperature outside the car, the station temperature, and the change in car weight, which can all become disturbance sources. The disturbance parameters caused by these disturbance sources collected have different dimensions, and it is necessary to use devices other than the target device to collect the interference parameters.

[0035] In step S101, the operating parameters of the target device are the actual operating data of the operating status of the target device when executing step S101; the target operating value is the preset target operating data that the target device needs to achieve; when collecting the operating parameters and disturbance parameters, a method of periodic acquisition at intervals of a preset time is adopted. In this embodiment, the preset time can be a shorter time such as 1 millisecond, 2 milliseconds, 3 milliseconds, etc. Within a shorter time period, the operating parameters and disturbance parameters are obtained, which can be approximately regarded as real-time acquisition, so that the operating parameters and disturbance parameters can be calculated in time, and feedforward control is performed on the operating status of the target device.

[0036] In step S101, the fuzzy algorithm at least includes: a first membership function, a fuzzy rule table and a second membership function, which are used to calculate the disturbance parameters of all dimensions. The calculation process mainly includes three parts: using the first membership function, the fuzzy rule table and the second membership function to fuzzify, fuzzy reason and clarify the disturbance parameters respectively; wherein, the number of first membership functions is not less than the number of disturbance sources, and each disturbance parameter has at least one corresponding first membership function; in this embodiment, the number of first membership functions is the same as the number of disturbance sources, and the first membership functions correspond to the disturbance parameters one by one.

[0037] Among them, there are multiple first membership functions, the specific number may be equal to the number of disturbance sources, one first membership function corresponds to one disturbance parameter, and is used to calculate the membership of the corresponding disturbance parameter. It can be known that since the disturbance sources of the disturbance parameters are different, the first membership function corresponding to each disturbance parameter may also be different.

[0038] In step S101, the generated feedforward data is used for feedforward control of the impact of the disturbance source on the target device. The main output data is the data required to control the target device to run from the operating parameters to the target operating value when the operating parameters are collected. For example, at this time, due to reasons other than the disturbance source, the sensor of the target device detects an abnormality and needs to be controlled to adjust the operating parameters of the target device. The main output data can be adjusted according to the difference between the operating parameters detected by the sensor of the target device and the target operating value.

[0039] In step S102, the feedforward data is superimposed on the main output data to obtain the current output data with feedforward control. In step S103, the current output data is used to perform feedforward control on the target device based on multiple disturbance sources, thereby reducing the impact of multiple disturbance sources on the target device.

[0040] The control method of the target device provided in this embodiment calculates the disturbance parameters of the disturbance source by using a fuzzy algorithm to generate feedforward data, so that the current output data finally calculated can perform feedforward control on the target device with respect to the disturbance source, thereby reducing the influence of the disturbance source on the automatic control of the target device and improving the user experience of the target device.

[0041] In one embodiment, there are at least two disturbance sources with different dimensions. When there are at least two disturbance sources with different dimensions, the disturbance parameters of the at least two disturbance sources are calculated by using a fuzzy algorithm to generate feedforward data so that the current output data finally calculated can perform feedforward control on the target device for the at least two disturbance sources, thereby reducing the impact of the at least two disturbance sources on the automatic control of the target device, improving the user experience of the target device, reducing the impact on the life of the target device, reducing energy consumption, and reducing the probability of failure of the target device.

[0042] In one embodiment, in step S101, each disturbance parameter is calculated using a pre-generated fuzzy algorithm to generate feedforward data, including:

[0043] S1011, obtaining disturbance parameters of the disturbance source;

[0044] S1012, using the first membership function to perform fuzzification processing on all disturbance parameters respectively, to generate an input fuzzy subset corresponding to each disturbance parameter, where one input fuzzy subset represents one input fuzzy data;

[0045] S1013, selecting an output subset in the fuzzy rule table;

[0046] S1014: Use the second membership function to perform defuzzification processing on the screened output subset to generate feedforward data.

[0047] In this embodiment, the construction method of the fuzzy algorithm at least includes: constructing a first membership function for calculating disturbance parameters of different dimensions; constructing a fuzzy rule table; constructing a second membership function; the first membership function is used to fuzzify the disturbance parameters to obtain an input fuzzy subset; the fuzzy rule table is formulated and generated by expert experience, and contains a second number of output subsets, each output subset represents an output fuzzy data; the output fuzzy data represented by a screened output subset is mapped to the input fuzzy data represented by the input fuzzy subset corresponding to each disturbance parameter, so in step S1013, a screened output subset represents an output fuzzy data, and the output fuzzy data is mapped to the input fuzzy data.

[0048] The shapes of the first membership function and the second membership function in the two-dimensional coordinate system may be a triangle, a bell, or the like.

[0049] In one embodiment, in step S1012, all disturbance parameters are fuzzified using the first membership function to generate an input fuzzy subset corresponding to each disturbance parameter, including:

[0050] S10121, using the first membership function to calculate the membership of all disturbance parameters respectively;

[0051] S10122. From a preset first number of input subsets, select input subsets whose memberships are the same as the maximum membership of each disturbance parameter and whose parameter data are the same as the disturbance parameter, respectively, to obtain input fuzzy data corresponding to each disturbance parameter, the input subsets comprising memberships, input fuzzy data and parameter data;

[0052] S10123. Set each selected input subset as the input fuzzy subset corresponding to each disturbance parameter.

[0053] In this embodiment, if Figure 2 As shown, Figure 2 It represents a first membership function, the horizontal axis is the specific value of the disturbance parameter, the vertical axis is the membership, and the input fuzzy subset includes Figure 2 The letters and numbers in the table are as follows: P stands for "positive" and N stands for "negative". For example, the fuzzy data represented by P1 indicates that the disturbance parameter is slightly large, the fuzzy data represented by P2 indicates that the disturbance parameter is large, the fuzzy data represented by Z indicates that the disturbance parameter is neither large nor small, the fuzzy data represented by N1 indicates that the disturbance parameter is slightly small, and the fuzzy data represented by N2 indicates that the disturbance parameter is small. Taking point A with a disturbance parameter of 8 as an example, according to Figure 2 It can be seen that it belongs to both P1 and P2, and the corresponding membership degrees are 0.75 and 0.25 respectively.

[0054] After the membership of the disturbance parameter is calculated in step S10121, as described above, one disturbance parameter may correspond to a third number of subsets. In this embodiment, the third number is two. At this time, an input subset with the largest membership is screened out.

[0055] Since the input subset corresponding to each disturbance parameter is different, it is necessary to use S10123 to use the screened input subset as the input fuzzy subset to complete the fuzzification process.

[0056] In one embodiment, in step S1013, an output subset is screened in the fuzzy rule table, including:

[0057] S10131, obtaining a fuzzy rule table, and obtaining a mapping relationship between output fuzzy data represented by each output subset and input fuzzy data represented by an input fuzzy subset of each disturbance parameter in the fuzzy rule table;

[0058] S10132. According to the mapping relationship, compare the input fuzzy data in the input fuzzy subset corresponding to each disturbance parameter with the output fuzzy data of the output subset in the fuzzy rule table;

[0059] S10133. Filter out output fuzzy data that maps the input fuzzy data represented by each input fuzzy subset in the fuzzy rule table, and filter out the output subset corresponding to the output fuzzy data.

[0060] In this embodiment, the fuzzy rule table is specified and generated by expert experience. For example, the fuzzy rule table shown in Table 1 is a two-dimensional fuzzy rule table, and its corresponding interference parameters are also two in different dimensions, namely the first interference parameter and the second interference parameter. If, after the above embodiment, the first interference parameter and the second interference parameter are fuzzified respectively, the input fuzzy subset P1 corresponding to the first interference parameter and the input fuzzy subset P2 corresponding to the second interference parameter are obtained, then in step S10132, step S10133 can be performed by comparing the two parameters and the corresponding input fuzzy subsets P1 and P2 with the fuzzy rule table, and the output subset N3 is screened out.

[0061] Table 1 Two-dimensional fuzzy rule table

[0062]

[0063] After fuzzy reasoning, an output subset N3 corresponding to an output value is obtained. N3 represents an output fuzzy data, which is not an exact value and cannot be directly output for control. The final step of "clarification" (also called "defuzzification") is required, that is, converting the fuzzy output subset into a specific value. This step needs to be implemented according to the membership function of the output quantity.

[0064] In one embodiment, in step S1014, the second membership function is used to perform defuzzification processing on the screened output subset to generate feedforward data, including:

[0065] S10141. Calculate the membership of all output subsets using a second membership function;

[0066] S10142. Select output fuzzy subsets having the same membership degree and output fuzzy data as the output subsets from the preset third number of output fuzzy subsets, respectively. The output fuzzy subsets include membership degree, output fuzzy data, and feedforward data for controlling the target device.

[0067] S10143. Select the feedforward data in the output fuzzy subset with the smallest membership among all the screened output fuzzy subsets for output.

[0068] In step S10142, the third number may be 13, or other numbers, such as any number from 5 to 12, or 14 to 21.

[0069] In this embodiment, the output subset is Figure 3 For example, N3 in the figure has a membership degree of 0.8 after being calculated by S10141. Figure 3 It represents the second membership function, which has 13 subsets, namely N6-N1, Z, P1-P6. Figure 3 It can be seen that for the N3 output subset with a membership degree of 0.8, the corresponding horizontal coordinate - output parameter is -16. Assuming that the output unit is %, the result can be expressed as: the output of the target device "decreases by 16%" or "negatively increases by 16%". The specific statement depends on the specific situation of the target device. For example, if the target device is an air conditioner, the above result can be expressed as a negative increase of 16% in temperature.

[0070] In one embodiment, the disturbance parameter can be obtained by using a sensor, or by obtaining disturbance parameters collected manually.

[0071] In this embodiment, the method for obtaining disturbance parameters can be obtained using sensors. Specifically, the method for obtaining disturbance parameters includes: obtaining at least two factor sensor signals that can directly or indirectly reflect the disturbance in the operating state of the target device; converting different types of factor sensor signals into disturbance values ​​that reflect the disturbance generated by the target device in different dimensions, and generating disturbance parameters.

[0072] In other embodiments, the method for acquiring disturbance parameters includes: receiving disturbance parameters collected manually.

[0073] In this embodiment, by collecting at least two factor sensor signals, these factor sensor signals can be converted into disturbance parameters of different dimensions for collection. Still taking the temperature control of the air conditioner in the scene as an example, if the scene is a subway car and the target device is the air conditioner in the subway, the factor sensor can be a weight sensor for collecting the weight change signal of the car, and the factor sensor can also be different temperature sensors for collecting the temperature change signal outside the car and the temperature change signal of the station respectively; these change signals are converted to generate disturbance parameters of different dimensions.

[0074] In one embodiment, the method also includes: determining whether the target device has ended operation; if so, ending control of the operating state of the target device; if not, collecting operating parameters and disturbance parameters of the target device to generate current output data using the operating parameters and disturbance parameters, and using the current output data to control the operating state of the target device.

[0075] In this embodiment, the operating state of the target device is judged, and when the target device is turned off, there is no need to collect operating parameters and disturbance parameters, and the operating state of the target device is not controlled, thereby reducing energy consumption.

[0076] In one embodiment, taking the temperature control of the air conditioner in the scene as an example, if the scene is a subway car, the target device is the air conditioner in the subway. Since the subway is equipped with sensors to measure the weight of the car, changes in the weight of the car can indirectly reflect changes in people, and the heat carried by the human body will affect the temperature of the car, so the signal can be used as a disturbance signal.

[0077] In addition, since the human body surface, clothing, luggage, etc. have a certain heat storage effect, the higher the outdoor temperature, the more heat people who have just boarded the train tend to carry. In addition, the opening of the carriage door will cause the station heat load to flow in, which is also a disturbance factor that cannot be ignored. Therefore, this embodiment performs fuzzy reasoning from three dimensions: the change in carriage weight, the outdoor temperature difference (outdoor temperature-carriage temperature), and the station temperature difference (station temperature-carriage temperature), and uses the output of the fuzzy algorithm as feedforward to make the air conditioner act in advance.

[0078] In this embodiment, it is necessary to add feedforward control on the basis of target device control. Feedforward control only compensates the output of the actuator in advance when a sudden strong disturbance occurs in the system, so as to achieve the purpose of weakening system fluctuations. Therefore, the input parameters are all parameters that are strongly correlated with the disturbance.

[0079] Since the fuzzy reasoning process is not strongly dependent on the number of dimensions of the fuzzy rule table, it is easy to add new dimensions without changing the existing fuzzy reasoning rules and keep the overall algorithm framework unchanged. In this embodiment, the fuzzy rule table is a three-dimensional table, as shown in Table 2:

[0080] Table 2 Three-dimensional fuzzy rule table

[0081]

[0082] Fuzzy algorithms are mainly divided into three parts: fuzzification, fuzzy reasoning, and defuzzification. The fuzzification process is based on the membership function of each input parameter. Common membership functions include triangle and bell shapes. The fuzzy reasoning process is based on the fuzzy rule table. Expert experience is also mainly reflected in this link, because the fuzzy rule table is customized according to expert experience. The quality of the fuzzy rule table largely determines the quality of the entire fuzzy control algorithm. The fuzzification process is based on the membership function of the output parameter, which is equivalent to the reverse process of fuzzification. The shape of the membership function and the number of fuzzy subsets can be determined according to expert experience. This case adopts the triangular function. The input parameters define 5 input fuzzy subsets, and the output parameters define 13 output fuzzy subsets. The fuzzification process is as follows: Figure 4As shown, when performing fuzzy reasoning, the fuzzy rule table used is as follows Figure 5 As shown, when clarifying, the second membership function used is as follows Figure 6 shown.

[0083] exist Figure 4 and Figure 6 In the input fuzzy subset and output fuzzy subset, P represents positive, N represents negative, Z represents no change, and the number represents the degree. For example, for the degree of change in the weight of the carriage, P2 represents "the carriage is much heavier", N1 represents "the carriage is a little lighter", and Z represents "the weight of the carriage is basically unchanged".

[0084] See also Figure 7 In one embodiment, the present invention also provides a control system for a target device, including: a data generation module 1, a data superposition module 2 and a data output module 3; the data generation module 1 is used to use a pre-built fuzzy algorithm to calculate each disturbance parameter to generate feedforward data; and use a pre-built target device control algorithm to calculate the operating parameters to generate main output data, which is the data required to control the target device to run from the operating parameters to the target operating value; the data superposition module 2 is used to superimpose the feedforward data and the main output data to obtain the current output data; the data output module 3 is used to control the operating state of the target device using the current output data.

[0085] The control system of the target device of this embodiment calculates the disturbance parameters of the disturbance source by using a fuzzy algorithm to generate feedforward data, so that the current output data finally calculated can perform feedforward control on the target device with respect to the disturbance source, thereby reducing the impact of the disturbance source on the automated control of the target device and improving the user experience of the target device.

[0086] In one embodiment, the fuzzy algorithm includes at least: a first membership function, a fuzzy rule table and a second membership function.

[0087] The data generation module 1 includes: a data acquisition unit, a fuzzy processing unit, a fuzzy reasoning unit and a defuzzification unit; the data acquisition unit is used to obtain the disturbance parameters of the disturbance source; the fuzzy processing unit is used to use the first membership function to perform fuzzification processing on all the disturbance parameters respectively, and generate an input fuzzy subset corresponding to each disturbance parameter, and an input fuzzy subset represents an input fuzzy data; the fuzzy reasoning unit is used to screen an output subset in the fuzzy rule table, and the above-mentioned output subset represents an output fuzzy data, and the above-mentioned output fuzzy data is mapped with the input fuzzy data; the defuzzification unit is used to use the second membership function to perform defuzzification processing on the screened output subset to generate feedforward data.

[0088] In one embodiment, the fuzzy processing unit includes: a first membership calculation subunit, a first screening subunit and an input fuzzy subset setting subunit; the first membership calculation subunit is used to use the first membership function to respectively calculate the membership of all disturbance parameters; the first screening subunit is used to select input subsets whose membership is the same as the maximum membership value of each disturbance parameter and whose parameter data is the same as the disturbance parameter from a preset first number of input subsets, to obtain input fuzzy data corresponding to each disturbance parameter, the input subset including the membership, input fuzzy data and parameter data; the input fuzzy subset setting subunit is used to respectively set the selected input subsets as the input fuzzy subsets corresponding to each disturbance parameter.

[0089] In one embodiment, the fuzzy reasoning unit includes: an acquisition subunit, a comparison subunit and a second screening subunit; the acquisition subunit is used to acquire a fuzzy rule table, and acquire a mapping relationship between output fuzzy data represented by each output subset and input fuzzy data represented by an input fuzzy subset of each disturbance parameter in the fuzzy rule table; the comparison subunit is used to compare the input fuzzy data in the input fuzzy subset corresponding to each disturbance parameter with the output fuzzy data of the output subset in the fuzzy rule table according to the mapping relationship; the second screening subunit is used to screen out output fuzzy data that maps the input fuzzy data represented by each input fuzzy subset in the fuzzy rule table, and screen the output subset corresponding to the output fuzzy data.

[0090] In one embodiment, the defuzzification unit includes: a second membership calculation subunit, a third screening subunit and a feedforward data selection subunit; the second membership calculation subunit is used to calculate the membership of all output subsets using a second membership function; the third screening subunit is used to screen output fuzzy subsets with the same membership and output fuzzy data as the output subsets within a preset third number of output fuzzy subsets, and the output fuzzy subsets include membership, output fuzzy data, and feedforward data for controlling the target device; the feedforward data selection subunit is used to select the feedforward data in the output fuzzy subset with the smallest membership among all the screened output fuzzy subsets for output.

[0091] In one embodiment, the data acquisition unit includes: a signal acquisition subunit and a parameter generation subunit; the signal acquisition subunit is used to acquire at least two factor sensor signals that directly or indirectly reflect the disturbance of the operating state of the target device; the parameter generation subunit is used to convert different types of factor sensor signals into disturbance values ​​that reflect the disturbance generated by the target device in different dimensions, and generate disturbance parameters.

[0092] In one embodiment, the control system of the target device also includes: a judgment module and an execution module, the judgment module is used to judge whether the target device has ended its operation; the execution module is used to end the control of the operating state of the target device if the judgment module judges that it is yes; if the judgment module judges that it is no, the operating parameters and disturbance parameters of the target device are collected to generate current output data using the operating parameters and disturbance parameters, and the current output data is used to control the operating state of the target device.

[0093] Figure 8 FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may be a terminal or a server. Figure 8 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement the control method of the target device. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may implement the control method of the target device. Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0094] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:

[0095] The first aspect of the present invention provides a control method for a target device, comprising: using a pre-constructed fuzzy algorithm to calculate disturbance parameters of a disturbance source to generate feedforward data; using a pre-constructed target device control algorithm to calculate operating parameters of the target device to generate main output data, the main output data being data required to control the target device to run from operating parameters to target operating values; superimposing the feedforward data and the main output data to obtain current output data; and using the current output data to control the operating state of the target device.

[0096] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor performs the following steps:

[0097] The first aspect of the present invention provides a control method for a target device, comprising: using a pre-constructed fuzzy algorithm to calculate disturbance parameters of a disturbance source to generate feedforward data; using a pre-constructed target device control algorithm to calculate operating parameters of the target device to generate main output data, the main output data being data required to control the target device to run from operating parameters to target operating values; superimposing the feedforward data and the main output data to obtain current output data; and using the current output data to control the operating state of the target device.

[0098] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0099] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0100] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for controlling a target device, It is characterized in that The method comprises: The disturbance parameters of the disturbance source are calculated using a pre-built fuzzy algorithm to generate feedforward data; the target device is an air conditioner in a subway car; the disturbance source includes at least one of the temperature outside the car, the station temperature, and the weight change of the car; Calculating the operating parameters of the target device using a pre-built target device control algorithm to generate primary output data, where the primary output data is data required to control the target device to operate from the operating parameters to a target operating value; Superimposing the feedforward data and the main output data to obtain current output data; Using the current output data to control the operating state of the target device; The fuzzy algorithm at least includes: a first membership function, a fuzzy rule table and a second membership function, the number of the first membership functions is not less than the number of the disturbance sources, and each disturbance parameter has at least one corresponding first membership function; The method of calculating the disturbance parameters using the pre-generated fuzzy algorithm to generate feedforward data includes: Obtain disturbance parameters of the disturbance source; Using the first membership function to perform fuzzification processing on all the disturbance parameters respectively, generating an input fuzzy subset corresponding to each disturbance parameter, wherein one input fuzzy subset represents one input fuzzy data; Selecting an output subset in the fuzzy rule table, wherein the output subset represents an output fuzzy data, and the output fuzzy data is mapped to the input fuzzy data; The second membership function is used to perform defuzzification processing on the screened output subset to generate the feedforward data.

2. The method for controlling a target device according to claim 1, It is characterized in that The using the first membership function to perform fuzzy processing on all the disturbance parameters respectively to generate an input fuzzy subset corresponding to each disturbance parameter includes: Calculating the membership of all the disturbance parameters respectively using the first membership function; In a preset first number of input subsets, input subsets whose membership is the same as the maximum membership value of each disturbance parameter and whose parameter data is the same as the disturbance parameter are respectively selected, wherein the input subsets include membership, input fuzzy data and parameter data; and each selected input subset is respectively set as the input fuzzy subset corresponding to each disturbance parameter.

3. The method for controlling a target device according to claim 1, It is characterized in that The step of selecting an output subset in the fuzzy rule table includes: Obtaining a fuzzy rule table, and obtaining a mapping relationship between output fuzzy data represented by each output subset and input fuzzy data represented by an input fuzzy subset of each disturbance parameter in the fuzzy rule table; According to the mapping relationship, comparing the input fuzzy data in the input fuzzy subset corresponding to each disturbance parameter with the output fuzzy data of the output subset in the fuzzy rule table; An output fuzzy data mapping the input fuzzy data represented by each of the input fuzzy subsets is screened out in the fuzzy rule table, and the output subset corresponding to the output fuzzy data is screened.

4. The method for controlling a target device according to claim 1, It is characterized in that The step of performing defuzzification processing on the selected output subset by using the second membership function to generate the feedforward data includes: Calculating the membership of all the output subsets using the second membership function; Selecting output fuzzy subsets having the same membership degree and output fuzzy data as the output subsets from among the preset third number of output fuzzy subsets, respectively, wherein the output fuzzy subsets include membership degree, output fuzzy data, and feedforward data for controlling the target device; The feedforward data in the output fuzzy subset with the smallest membership among all the screened output fuzzy subsets is selected for output.

5. The method for controlling a target device according to claim 1, It is characterized in that The method for obtaining the disturbance parameters includes: Acquire at least two sensor signals that directly or indirectly reflect disturbances in the operating state of the target device; The different types of factor sensor signals are converted into disturbance values ​​reflecting the disturbances generated by the target device in different dimensions to generate disturbance parameters.

6. The method for controlling a target device according to claim 1, It is characterized in that The acquisition of the disturbance parameter and the operating parameter is performed periodically at preset time intervals.

7. A control system for a target device, It is characterized in that The system comprises: A data generation module is used to calculate the disturbance parameters using a pre-built fuzzy algorithm to generate feedforward data; the target device is an air conditioner in a subway car; the disturbance source includes at least one of the temperature outside the car, the station temperature, and the change in the weight of the car; the operation parameters are calculated using a pre-built target device control algorithm to generate main output data, and the main output data is the data required to control the target device to operate from the operation parameters to the target operation value; the fuzzy algorithm includes at least: a first membership function, a fuzzy rule table, and a second membership function, and the number of the first membership function is not less than the number of the disturbance The number of sources, each of the disturbance parameters has at least one corresponding first membership function; obtain the disturbance parameters of the disturbance source; use the first membership function to perform fuzzification processing on all the disturbance parameters respectively, and generate an input fuzzy subset corresponding to each disturbance parameter, one of the input fuzzy subsets represents an input fuzzy data; select an output subset in the fuzzy rule table, one of the output subsets represents an output fuzzy data, and the output fuzzy data is mapped with the input fuzzy data; use the second membership function to perform defuzzification processing on the selected output subset to generate the feedforward data; A data superposition module, used for superimposing the feedforward data and the main output data to obtain current output data; A data output module is used to control the operating state of the target device using the current output data.

8. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the control method of the target device according to any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the method for controlling a target device according to any one of claims 1 to 6.