Construction method, system and equipment of lead phase compensator and medium
By building a leading phase compensator, the problem of large phase fluctuations in the output of existing phase compensators is solved, and a constant hysteresis or leading phase compensation effect is achieved.
Patent Information
- Application Number
- CN202510210424.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-25
- Publication Date
- 2025-06-06
AI Technical Summary
The output of existing phase compensators has a large phase fluctuation range and cannot provide constant hysteresis compensation or advance compensation.
By presetting the leading phase value and filtering time constant, the cascade filter is constructed, and the filter is combined, and the leading phase compensator is constructed.
The output phase fluctuation range of the leading phase compensator is implemented with a very small output phase fluctuation range, which can provide constant hysteresis or leading phase compensation.
Smart Images

Figure CN120103694A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of industrial process control technology, and in particular to a construction method, system, device and medium of a leading phase compensator. Background Art
[0002] Lead-lag compensator is a component in the control system that can improve the feedback or the undesirable frequency response in the control system. It is a basic component in classical control theory. In the automatic control of industrial parameters with pure lag, such as compressed air temperature control in compressed air energy storage system, in order to obtain better lead compensation, the filter is required to provide a constant lead phase. However, the phase fluctuation range of the output of the existing phase compensator is large and cannot provide constant lag compensation or lead compensation. Therefore, it is urgent to design a phase compensator with a constant lag phase or a constant lead phase. Summary of the invention
[0003] The present application provides a method, system, device and medium for constructing a leading phase compensator, which is used to solve the problem that the phase fluctuation range of the existing phase compensator output is large and constant lag compensation or leading compensation cannot be provided.
[0004] In view of this, the first aspect of the present application provides a method for constructing a leading phase compensator, the method comprising:
[0005] Preset leading phase value and filtering time constant;
[0006] Constructing a cascade filter according to the preset filtering time constant;
[0007] Constructing a combined filter according to the preset leading phase value and the cascade filter;
[0008] Based on the combined filter, a leading phase compensator is constructed.
[0009] Optionally, the expression of the cascade filter is:
[0010] ;
[0011] In the formula, is the filtering time constant; is the preset number of segments; is the preset magnification; is the preset cascade number; The filtering time constant is divided into segments according to the preset number of segments; is the Laplace transfer function of the cascade filter; is the Laplace transfer function of the first-order filter, is the Laplace transfer function of the second-order filter, is the Laplace transfer function of the third-order filter, For the The Laplace transfer function of the first-order filter is, For the Laplace transfer function of the first-order filter.
[0012] Optionally, the expression of the combined filter is:
[0013] ;
[0014] In the formula, is the leading phase value, ; is the Laplace transfer function of the combined filter; is the preset magnification; is the preset cascade number; is the preset number of segments; is the Laplace transfer function of the first stage, is the Laplace transfer function of the second-order filter, is the Laplace transfer function of the third-order filter, For the The Laplace transfer function of the first-order filter is, For the Laplace transfer function of the first-order filter.
[0015] Optionally, the expression of the leading phase compensator is:
[0016] ;
[0017] in, ;
[0018] In the formula, is the Lass transfer function of the leading phase compensator; is the Laplace transfer function of the combined filter; is the Laplace transfer function of the first-order filter; is the filtering time constant of the first-order filter.
[0019] A second aspect of the present application provides a system for constructing an advanced phase compensator, the system comprising:
[0020] A preset unit, used for preset an advance phase value and a filter time constant;
[0021] A first construction unit, configured to construct a cascade filter according to the preset filtering time constant;
[0022] A second construction unit, configured to construct a combined filter according to the preset leading phase value and the cascade filter;
[0023] The third construction unit is used to construct an advanced phase compensator based on the combined filter.
[0024] Optionally, the expression of the cascade filter is:
[0025] ;
[0026] In the formula, is the filtering time constant; is the preset number of segments; is the preset magnification; is the preset cascade number; The filtering time constant is divided into segments according to the preset number of segments; is the Laplace transfer function of the cascade filter; is the Laplace transfer function of the first-order filter, is the Laplace transfer function of the second-order filter, is the Laplace transfer function of the third-order filter, For the The Laplace transfer function of the first-order filter is, For the Laplace transfer function of the first-order filter.
[0027] Optionally, the expression of the combined filter is:
[0028] ;
[0029] In the formula, is the leading phase value, ; is the Laplace transfer function of the combined filter; is the preset magnification; is the preset cascade number; is the preset number of segments; is the Laplace transfer function of the first stage, is the Laplace transfer function of the second-order filter, is the Laplace transfer function of the third-order filter, For the The Laplace transfer function of the first-order filter is, For the Laplace transfer function of the first-order filter.
[0030] Optionally, the expression of the leading phase compensator is:
[0031] ;
[0032] in, ;
[0033] In the formula, is the Lass transfer function of the leading phase compensator; is the Laplace transfer function of the combined filter; is the Laplace transfer function of the first-order filter; is the filtering time constant of the first-order filter.
[0034] A third aspect of the present application provides a device for constructing an advanced phase compensator, the device comprising a processor and a memory:
[0035] The memory is used to store program code and transmit the program code to the processor;
[0036] The processor is used to execute the steps of the method for constructing the leading phase compensator as described in the first aspect according to the instructions in the program code.
[0037] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to execute the method for constructing the leading phase compensator described in the first aspect above.
[0038] It can be seen from the above technical solutions that this application has the following advantages:
[0039] The present application provides a method for constructing a lead phase compensator, including: presetting a lead phase value and a filtering time constant; constructing a cascade filter according to the preset filtering time constant; constructing a combined filter according to the preset lead phase value and the cascade filter; and constructing a lead phase compensator based on the combined filter. Experiments show that the output phase fluctuation range of the lead phase compensator designed in the present application is very small, thereby solving the problem that the output phase fluctuation range of the existing phase compensator is large and cannot provide constant lag compensation or lead compensation. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A schematic flow chart of a method for constructing an advanced phase compensator provided in an embodiment of the present application;
[0041] Figure 2 A schematic diagram of designing the leading phase compensator of the present application in an inter-stage temperature control system of a compressed air energy storage compressor provided in an embodiment of the present application;
[0042] Figure 3A schematic diagram of the frequency characteristics of the leading phase compensator provided in an embodiment of the present application;
[0043] Figure 4 A schematic diagram of the structure of a system for constructing an advanced phase compensator provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] See also Figure 1 , a method for constructing an advanced phase compensator provided in an embodiment of the present application includes:
[0046] Step 101: preset an advance phase value and a filtering time constant.
[0047] Step 102: construct a cascade filter according to a preset filtering time constant.
[0048] Step 103: construct a combined filter according to the preset leading phase value and the cascade filters.
[0049] Step 104: construct an advanced phase compensator based on the combined filter.
[0050] In one embodiment, the expression of the cascade filter in step 102 is:
[0051] ;
[0052] In the formula, is the filtering time constant; is the preset number of segments, and the unit is dimensionless; is the preset magnification, the unit is dimensionless; is the preset cascade number, which is a dimensionless positive integer; The filtering time constant is divided into segments according to a preset number of segments; is the Laplace transfer function of the cascade filter; is the Laplace transfer function of the first-order filter, is the Laplace transfer function of the second-order filter, is the Laplace transfer function of the third-order filter, For the The Laplace transfer function of the first-order filter is, For the Laplace transfer function of the first-order filter.
[0053] In one embodiment, the expression of the combined filter in step 103 is:
[0054] ;
[0055] In the formula, is the leading phase value, ; is the Laplace transfer function of the combined filter; is the preset magnification, the unit is dimensionless; is the preset cascade number, which is a dimensionless positive integer; is the preset number of segments, and the unit is dimensionless; is the Laplace transfer function of the first stage, is the Laplace transfer function of the second-order filter, is the Laplace transfer function of the third-order filter, For the The Laplace transfer function of the first-order filter is, For the Laplace transfer function of the first-order filter.
[0056] In one embodiment, the expression of the leading phase compensator in step 103 is:
[0057] ;
[0058] in, ;
[0059] In the formula, is the Lass transfer function of the leading phase compensator; is the Laplace transfer function of the combined filter; is the Laplace transfer function of the first-order filter; It is the filtering time constant of the first-order filter, in s.
[0060] The following is an application description of the leading phase compensator of this application:
[0061] In an embodiment of an advanced phase compensator for obtaining a constant phase in an interstage temperature control system of a compressed air energy storage compressor, as Figure 2 .
[0062] In one embodiment, the preset number of cascades n=8, the preset magnification K=3, the preset leading phase value φ=45°, and the preset filtering time constant T F =1000s, time constant T of first-order filter SOF= 0.1s, and the frequency characteristics of the leading phase compensator are obtained, such as Figure 3 shown.
[0063] Figure 3 In, P LO (ω) is the phase-frequency characteristic of the leading phase compensator, G LO (ω) is the amplitude-frequency characteristic of the leading phase compensator.
[0064] In the frequency range of 0.003rad / s-1rad / s, the output phase of the lead phase compensator = 45°±3°; in the frequency range of 0.005rad / s-0.5rad / s, the output phase of the lead phase compensator = 45°±1.5°. Obviously, the output phase fluctuation range of the lead phase compensator designed in the present application is very small. Therefore, it can be known that the lead phase compensator designed in the present application can provide a constant lagging phase or a constant leading phase.
[0065] The present application provides a method for constructing a lead phase compensator, including: presetting a lead phase value and a filtering time constant; constructing a cascade filter according to the preset filtering time constant; constructing a combined filter according to the preset lead phase value and the cascade filter; and constructing a lead phase compensator based on the combined filter. Experiments show that the output phase fluctuation range of the lead phase compensator designed in the present application is very small, thereby solving the problem that the output phase fluctuation range of the existing phase compensator is large and cannot provide constant lag compensation or lead compensation.
[0066] The above is a method for constructing a leading phase compensator provided in an embodiment of the present application, and the following is a system for constructing a leading phase compensator provided in an embodiment of the present application.
[0067] See also Figure 4 , a system for constructing an advanced phase compensator provided in an embodiment of the present application includes:
[0068] The preset unit 201 is used to preset the leading phase value and the filtering time constant.
[0069] The first constructing unit 202 is configured to construct a cascade filter according to a preset filtering time constant.
[0070] The second constructing unit 203 is used to construct a combined filter according to a preset leading phase value and a cascade filter.
[0071] The third constructing unit 204 is configured to construct an advanced phase compensator based on the combined filter.
[0072] Furthermore, an embodiment of the present application also provides a device for constructing an advanced phase compensator, the device comprising a processor and a memory:
[0073] The memory is used to store program code and transmit the program code to the processor;
[0074] The processor is used to execute the steps of the method for constructing the leading phase compensator as described in the above method embodiment according to the instructions in the program code.
[0075] Furthermore, a computer-readable storage medium is provided in an embodiment of the present application, and the computer-readable storage medium is used to store program code, and the program code is used to execute the method for constructing the leading phase compensator described in the above method embodiment.
[0076] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0077] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0078] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0079] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0080] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0081] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0082] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program codes.
[0083] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for constructing an advanced phase compensator, characterized in that: include: Preset leading phase value and filtering time constant; Constructing a cascade filter according to the preset filtering time constant; Constructing a combined filter according to the preset leading phase value and the cascade filter; Based on the combined filter, a leading phase compensator is constructed.
2. The method for constructing an advanced phase compensator according to claim 1, characterized in that: The expression of the cascade filter is: ; In the formula, is the filtering time constant; is the preset number of segments; is the preset magnification; is the preset cascade number; The filtering time constant is divided into segments according to the preset number of segments; is the Laplace transfer function of the cascade filter; is the Laplace transfer function of the first-order filter, is the Laplace transfer function of the second-order filter, is the Laplace transfer function of the third-order filter, For the The Laplace transfer function of the first-order filter is, For the Laplace transfer function of the first-order filter.
3. The method for constructing an advanced phase compensator according to claim 1, characterized in that: The expression of the combined filter is: ; In the formula, is the leading phase value, ; is the Laplace transfer function of the combined filter; is the preset magnification; is the preset cascade number, which is a dimensionless positive integer; is the preset number of segments; is the Laplace transfer function of the first stage, is the Laplace transfer function of the second-order filter, is the Laplace transfer function of the third-order filter, For the The Laplace transfer function of the first-order filter is, For the Laplace transfer function of the first-order filter.
4. The method for constructing an advanced phase compensator according to claim 1, characterized in that: The expression of the leading phase compensator is: ; in, ; In the formula, is the Lass transfer function of the leading phase compensator; is the Laplace transfer function of the combined filter; is the Laplace transfer function of the first-order filter; is the filtering time constant of the first-order filter.
5. A system for constructing an advanced phase compensator, characterized in that: include: A preset unit, used for preset an advance phase value and a filter time constant; A first construction unit, configured to construct a cascade filter according to the preset filtering time constant; A second construction unit, configured to construct a combined filter according to the preset leading phase value and the cascade filter; The third construction unit is used to construct an advanced phase compensator based on the combined filter.
6. The system for constructing an advanced phase compensator according to claim 5, characterized in that: The expression of the cascade filter is: ; In the formula, is the filtering time constant; is the preset number of segments; is the preset magnification; is the preset cascade number; The filtering time constant is divided into segments according to the preset number of segments; is the Laplace transfer function of the cascade filter; is the Laplace transfer function of the first-order filter, is the Laplace transfer function of the second-order filter, is the Laplace transfer function of the third-order filter, For the The Laplace transfer function of the first-order filter is, For the Laplace transfer function of the first-order filter.
7. The system for constructing an advanced phase compensator according to claim 5, characterized in that: The expression of the combined filter is: ; In the formula, is the leading phase value, ; is the Laplace transfer function of the combined filter; is the preset magnification; is the preset cascade number, which is a dimensionless positive integer; is the preset number of segments; is the Laplace transfer function of the first stage, is the Laplace transfer function of the second-order filter, is the Laplace transfer function of the third-order filter, For the The Laplace transfer function of the first-order filter is, For the Laplace transfer function of the first-order filter.
8. The system for constructing an advanced phase compensator according to claim 5, characterized in that: The expression of the leading phase compensator is: ; in, ; In the formula, is the Lass transfer function of the leading phase compensator; is the Laplace transfer function of the combined filter; is the Laplace transfer function of the first-order filter; is the filtering time constant of the first-order filter.
9. A device for constructing an advanced phase compensator, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the method for constructing the leading phase compensator according to any one of claims 1 to 4 according to the instructions in the program code.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes, and the program codes are used to execute the method for constructing the leading phase compensator according to any one of claims 1 to 4.