CN117055328A - Method, device, equipment and medium for adjusting controller parameters based on bird diagram - Google Patents

Method, device, equipment and medium for adjusting controller parameters based on bird diagram Download PDF

Info

Publication number
CN117055328A
CN117055328A CN202310910485.7A CN202310910485A CN117055328A CN 117055328 A CN117055328 A CN 117055328A CN 202310910485 A CN202310910485 A CN 202310910485A CN 117055328 A CN117055328 A CN 117055328A
Authority
CN
China
Prior art keywords
frequency
determining
current
control system
circuit
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
CN202310910485.7A
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.)
Shenzhen Hello Tech Energy Co Ltd
Original Assignee
Shenzhen Hello Tech Energy 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 Shenzhen Hello Tech Energy Co Ltd filed Critical Shenzhen Hello Tech Energy Co Ltd
Priority to CN202310910485.7A priority Critical patent/CN117055328A/en
Publication of CN117055328A publication Critical patent/CN117055328A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B11/00Automatic controllers
    • G05B11/01Automatic controllers electric
    • G05B11/36Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential
    • G05B11/42Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential for obtaining a characteristic which is both proportional and time-dependent, e.g. P. I., P. I. D.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)

Abstract

The application discloses a method, a device, equipment and a medium for adjusting controller parameters based on a bird diagram. The method comprises the following steps: acquiring a circuit bode diagram and a controller bode diagram of a circuit control system, and determining a system amplitude-frequency curve of the circuit control system based on the circuit bode diagram and the controller bode diagram, wherein the bode diagram comprises an amplitude-frequency curve which is used for describing a curve of amplitude along with frequency change; determining the current crossing frequency of the circuit control system, and determining the current phase margin of the circuit control system based on the current crossing frequency and a system amplitude-frequency curve; and determining the target controller parameters according to the comparison result of the current phase margin and the preset phase margin. According to the scheme, the current crossing frequency of the circuit control system is adjusted, the current phase margin corresponding to the current crossing frequency is obtained, and the parameters of the controller are accurately determined through judging the current phase margin, so that the parameters of the PI controller are accurately and efficiently adjusted.

Description

Method, device, equipment and medium for adjusting controller parameters based on bird diagram
Technical Field
The application relates to the technical field of industrial automation, in particular to a method, a device, equipment and a medium for adjusting controller parameters based on a bird chart.
Background
The industrial modern development level is an important factor for measuring the national comprehensive national force level, the motor is a power source of industrial equipment and is a guarantee for normal operation of the equipment, so that the research on motor control is urgent, and the development of the PI controller with high position precision, high response speed and high reliability becomes a research hotspot.
Currently, there are two general methods for adjusting parameters of PI controllers: trial parameters and mathematical modeling. The method for testing parameters is to try different parameters in actual debugging, and then select parameters with relatively good effects according to experience. The method for debugging parameters through mathematical modeling is specifically to carry out mathematical modeling according to parameters of each device of a circuit to obtain an accurate system transfer function and calculate proper parameters, but if the circuit is complex and the devices are many, the difficulty of mathematical modeling is increased exponentially, and a high mathematical skill is required to obtain the accurate system function, so that the difficulty of parameter adjustment determination is improved.
Therefore, it is important how to accurately and efficiently adjust the parameters of the PI controller.
Disclosure of Invention
The application provides a method, a device, equipment and a medium for adjusting parameters of a controller based on a bird chart, so as to realize accurate and efficient adjustment of the parameters of a PI controller.
According to an aspect of the present application, there is provided a method of adjusting a controller parameter based on a bode plot, the method comprising:
acquiring a circuit bode diagram and a controller bode diagram of a circuit control system, and determining a system amplitude-frequency curve of the circuit control system based on the circuit bode diagram and the controller bode diagram, wherein the bode diagram comprises an amplitude-frequency curve which is used for describing a curve of amplitude changing along with frequency;
determining the current crossing frequency of the circuit control system, and determining the current phase margin of the circuit control system based on the current crossing frequency and the system amplitude-frequency curve;
and determining a target controller parameter according to a comparison result of the current phase margin and a preset phase margin.
According to another aspect of the present application, there is provided an apparatus for adjusting a controller parameter based on a bode plot, the apparatus comprising:
the amplitude-frequency curve determining module is used for acquiring a circuit bode diagram and a controller bode diagram of the circuit control system and determining a system amplitude-frequency curve of the circuit control system based on the circuit bode diagram and the controller bode diagram, wherein the bode diagram comprises an amplitude-frequency curve, and the amplitude-frequency curve is used for describing a curve of amplitude changing along with frequency;
the phase margin determining module is used for determining the current crossing frequency of the circuit control system and determining the current phase margin of the circuit control system based on the current crossing frequency and the system amplitude-frequency curve;
and the controller parameter determining module is used for determining a target controller parameter according to the comparison result of the current phase margin and the preset phase margin.
According to another aspect of the present application, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of adjusting controller parameters based on the bode plot of any one of the embodiments of the present application.
According to another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a method for adjusting a controller parameter based on a bird's eye diagram according to any one of the embodiments of the present application.
According to the technical scheme, a circuit bode diagram and a controller bode diagram of a circuit control system are obtained, a system amplitude-frequency curve of the circuit control system is determined based on the circuit bode diagram and the controller bode diagram, the bode diagram comprises an amplitude-frequency curve, and the amplitude-frequency curve is used for describing a curve of amplitude changing along with frequency; further acquiring the current crossing frequency of the circuit control system, and determining the current phase margin of the circuit control system based on the current crossing frequency and a system amplitude-frequency curve; and finally, determining the target controller parameters according to the comparison result of the current phase margin and the preset phase margin. According to the scheme, the current crossing frequency of the circuit control system is adjusted, the current phase margin corresponding to the current crossing frequency is obtained, and the parameters of the controller are accurately determined through judging the current phase margin, so that the parameters of the PI controller are accurately and efficiently adjusted.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1a is a flow chart of a method for adjusting controller parameters based on a bird's nest, according to an embodiment of the present application;
FIG. 1b is a schematic diagram of a control principle of a circuit control system according to an embodiment of the present application;
FIG. 1c is a flow chart of a method for adjusting controller parameters based on a bird's nest, according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of an apparatus for adjusting parameters of a controller based on a bird's nest according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device implementing a method for adjusting controller parameters based on a bode diagram according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the term "present" and the like in the description of the present application and the claims and the above-described drawings are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a method for adjusting parameters of a controller based on a bode diagram, which is applicable to the case of adjusting parameters of a PI controller, and the application is widely applicable to control loop parameter adjustment of a micro inverter, a home energy storage inverter, a string inverter, and the like. As shown in fig. 1, the method includes:
s110, acquiring a circuit bode diagram and a controller bode diagram of the circuit control system, and determining a system amplitude-frequency curve of the circuit control system based on the circuit bode diagram and the controller bode diagram, wherein the bode diagram comprises an amplitude-frequency curve which is used for describing a curve of amplitude changing along with frequency.
Specifically, as shown in the schematic structural diagram of the control principle of the circuit control system shown in fig. 1b, the circuit control system is composed of a PI controller and a main control circuit, R(s) is an input signal, C(s) is a transfer function of the PI controller, G(s) is a transfer function of the main control circuit, and Y(s) is an output signal. Then a circuit bode diagram and a PI controller bode diagram of the circuit control system need to be acquired, where the PI controller bode diagram is well known in the art, and the method for acquiring the circuit bode diagram may be: determining a simulation model of the circuit, determining pulse data of the circuit based on the simulation model, wherein the pulse data at least comprises amplitude and frequency, determining a circuit bode diagram of a circuit control system based on the pulse data, and further superposing the circuit bode diagram and a controller bode diagram to determine a system amplitude-frequency curve of the circuit control system so as to facilitate the subsequent determination of a phase margin. In addition, the oscillograph or vector network analyzer is used for carrying out sweep frequency analysis on the physical circuit to obtain the circuit bode diagram.
S120, determining the current crossing frequency of the circuit control system, and determining the current phase margin of the circuit control system based on the current crossing frequency and a system amplitude-frequency curve.
Specifically, the current crossing frequency of a circuit control system is obtained, and the current controller parameters are determined according to the current crossing frequency and a system amplitude-frequency curve; and determining a phase frequency curve of the circuit control system according to the current controller parameters, wherein the phase frequency curve is used for describing a curve of the phase changing along with the frequency, and then determining the current phase margin of the circuit control system based on the current crossing frequency and the phase frequency curve. After the current crossing frequency is obtained, the current crossing frequency and the system amplitude frequency curve are combined to obtain the current controller parameter under the current crossing frequency, and the phase frequency curve is also a function related to the controller parameter, so that the phase frequency curve of the circuit control system can be accurately determined by combining the current controller parameter, and the phase margin can be obtained according to the phase frequency curve and the current crossing frequency, so that the current phase margin of the circuit control system is determined based on the current crossing frequency and the system amplitude frequency curve, and the current phase margin is conveniently compared with the preset phase margin to adjust the controller parameter.
The first acquired current crossing frequency is the product of the switching frequency of the circuit control system and a preset value. For example, a factor of 10 of the switching frequency can be selected as the first acquired current crossover frequency, because of the higher immunity of such a system. The controller parameters may be a proportional coefficient Kp and an integral coefficient Ki.
S130, determining a target controller parameter according to a comparison result of the current phase margin and the preset phase margin.
The preset phase margin is set according to the actual test situation, and the preset phase margin is as large as possible to ensure the stability of the system, for example, may be set to 20.
Specifically, whether the current phase margin is larger than or equal to a preset phase margin is detected; if yes, the current controller parameter corresponding to the current crossing frequency is the target controller parameter; if not, the current crossing frequency is reduced according to the preset adjusting value, the adjusted current phase margin under the adjusted current crossing frequency is redetermined until the adjusted current phase margin is greater than or equal to the preset phase margin, and the adjusted current controller parameter corresponding to the adjusted current crossing frequency is the target controller parameter.
For example, as shown in fig. 1c, a simulation model of a circuit is determined, pulse data of the circuit is determined based on the simulation model, the pulse data at least includes amplitude and frequency, then a circuit bode diagram of a circuit control system is determined based on the pulse data, the circuit bode diagram and the controller bode diagram are further overlapped to determine a system amplitude-frequency curve of the circuit control system, for system stability, the current crossing frequency obtained for the first time is a product of a switching frequency of the circuit control system and a preset value, if 10 times of the switching frequency can be selected as the current crossing frequency obtained for the first time, then a current phase margin of the circuit control system is determined according to the current crossing frequency and the system amplitude-frequency curve, further judging whether the current phase margin is larger than or equal to a preset phase margin, if yes, then a current controller parameter corresponding to the current crossing frequency is a target controller parameter, if no, then the current crossing frequency is reduced according to the preset adjustment value, and the adjusted current phase margin is re-determined again, judging whether the current phase margin is larger than or equal to the preset phase margin, repeating the above processes until the current phase margin is larger than or equal to the preset phase margin, and then the current phase margin is determined to be the target controller parameter corresponding to the current controller parameter.
According to the technical scheme, a circuit bode diagram and a controller bode diagram of a circuit control system are obtained, a system amplitude-frequency curve of the circuit control system is determined based on the circuit bode diagram and the controller bode diagram, the bode diagram comprises an amplitude-frequency curve, and the amplitude-frequency curve is used for describing a curve of amplitude changing along with frequency; further acquiring the current crossing frequency of the circuit control system, and determining the current phase margin of the circuit control system based on the current crossing frequency and a system amplitude-frequency curve; and finally, determining the target controller parameters according to the comparison result of the current phase margin and the preset phase margin. According to the scheme of the application, the current crossing frequency of the circuit control system is adjusted, the current phase margin corresponding to the current crossing frequency is obtained, the controller parameter is accurately determined through judging the current phase margin, and the accurate and efficient adjustment of the parameter of the PI controller is realized.
Example two
Fig. 2 is a schematic structural diagram of an apparatus for adjusting parameters of a controller based on a bode diagram according to an embodiment of the present application. As shown in fig. 2, the apparatus includes:
the amplitude-frequency curve determining module 210 is configured to obtain a circuit bode diagram and a controller bode diagram of the circuit control system, and determine a system amplitude-frequency curve of the circuit control system based on the circuit bode diagram and the controller bode diagram, where the bode diagram includes an amplitude-frequency curve, and the amplitude-frequency curve is used to describe a curve of amplitude changing with frequency;
a phase margin determining module 220, configured to determine a current crossing frequency of the circuit control system, and determine a current phase margin of the circuit control system based on the current crossing frequency and the system amplitude-frequency curve;
the controller parameter determining module 230 is configured to determine a target controller parameter according to a comparison result of the current phase margin and a preset phase margin.
Optionally, the amplitude-frequency curve determining module includes a bode diagram acquiring unit, specifically configured to:
determining a simulation model of the circuit, and determining pulse data of the circuit based on the simulation model, wherein the pulse data at least comprises amplitude and frequency;
and determining a circuit bode diagram of a circuit control system based on the pulse data.
Optionally, the amplitude-frequency curve determining module is specifically configured to:
and superposing the circuit bode diagram and the controller bode diagram to determine a system amplitude-frequency curve of the circuit control system.
Optionally, the phase margin determining module is specifically configured to:
determining current controller parameters according to the current crossing frequency and the system amplitude-frequency curve;
determining a phase frequency curve of a circuit control system according to the current controller parameters, wherein the phase frequency curve is used for describing a curve of phase variation along with frequency;
and determining a current phase margin of a circuit control system based on the current crossing frequency and the phase frequency curve.
Optionally, the controller parameter determining module is specifically configured to:
detecting whether the current phase margin is greater than or equal to a preset phase margin;
if yes, the current controller parameter corresponding to the current crossing frequency is the target controller parameter;
if not, the current crossing frequency is reduced according to the preset adjusting value, the adjusted current phase margin under the adjusted current crossing frequency is redetermined until the adjusted current phase margin is larger than or equal to the preset phase margin, and the adjusted current controller parameter corresponding to the adjusted current crossing frequency is the target controller parameter.
Optionally, determining the current crossing frequency of the circuit control system includes: the first acquired current crossing frequency is the product of the switching frequency of the circuit control system and a preset value.
The device for adjusting the controller parameters based on the bird's nest provided by the embodiment of the application can execute the method for adjusting the controller parameters based on the bird's nest provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of the executing method.
Example III
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 3 shows a schematic structural diagram of an electronic device that may be used to implement the method of adjusting controller parameters based on a bode plot of an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as adjusting the controller parameters based on the bode plot.
In some embodiments, the method of adjusting controller parameters based on the bode plot may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the method of adjusting controller parameters based on a bode plot described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method of adjusting the controller parameters based on the bode plot in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present application, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present application are achieved, and the present application is not limited herein.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (10)

1. A method for adjusting a controller parameter based on a bode plot, comprising:
acquiring a circuit bode diagram and a controller bode diagram of a circuit control system, and determining a system amplitude-frequency curve of the circuit control system based on the circuit bode diagram and the controller bode diagram;
determining the current crossing frequency of the circuit control system, and determining the current phase margin of the circuit control system based on the current crossing frequency and the system amplitude-frequency curve;
and determining a target controller parameter according to a comparison result of the current phase margin and a preset phase margin.
2. The method of claim 1, wherein the obtaining a circuit bode plot of a circuit control system comprises:
determining a simulation model of the circuit, and determining pulse data of the circuit based on the simulation model, wherein the pulse data at least comprises amplitude and frequency;
and determining a circuit bode diagram of a circuit control system based on the pulse data.
3. The method of claim 1, wherein the determining a system amplitude-frequency curve of a circuit control system based on the circuit bode plot and the controller bode plot comprises:
and superposing the circuit bode diagram and the controller bode diagram to determine a system amplitude-frequency curve of the circuit control system.
4. The method of claim 1, wherein the determining a current phase margin of a circuit control system based on the current crossover frequency and the amplitude-frequency curve comprises:
determining current controller parameters according to the current crossing frequency and the system amplitude-frequency curve;
determining a phase frequency curve of a circuit control system according to the current controller parameters, wherein the phase frequency curve is used for describing a curve of phase variation along with frequency;
and determining a current phase margin of a circuit control system based on the current crossing frequency and the phase frequency curve.
5. The method of claim 1, wherein determining the target controller parameter based on the comparison of the current phase margin and a preset phase margin comprises:
detecting whether the current phase margin is greater than or equal to a preset phase margin;
if yes, the current controller parameter corresponding to the current crossing frequency is the target controller parameter;
if not, the current crossing frequency is reduced according to the preset adjusting value, the adjusted current phase margin under the adjusted current crossing frequency is redetermined until the adjusted current phase margin is larger than or equal to the preset phase margin, and the adjusted current controller parameter corresponding to the adjusted current crossing frequency is the target controller parameter.
6. The method of claim 1, wherein determining a current crossover frequency of the circuit control system comprises:
the first acquired current crossing frequency is the product of the switching frequency of the circuit control system and a preset value.
7. An apparatus for adjusting a controller parameter based on a bode plot, comprising:
the amplitude-frequency curve determining module is used for acquiring a circuit bode diagram and a controller bode diagram of the circuit control system and determining a system amplitude-frequency curve of the circuit control system based on the circuit bode diagram and the controller bode diagram;
the phase margin determining module is used for determining the current crossing frequency of the circuit control system and determining the current phase margin of the circuit control system based on the current crossing frequency and the system amplitude-frequency curve;
and the controller parameter determining module is used for determining a target controller parameter according to the comparison result of the current phase margin and the preset phase margin.
8. The apparatus of claim 7, wherein the amplitude-frequency curve determining module comprises a bode plot acquiring unit, specifically configured to:
determining a simulation model of the circuit, and determining pulse data of the circuit based on the simulation model, wherein the pulse data at least comprises amplitude and frequency;
and determining a circuit bode diagram of a circuit control system based on the pulse data.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of adjusting controller parameters based on the bode plot of any of claims 1-6.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the method of adjusting controller parameters based on a bode plot of any of claims 1-6 when executed.
CN202310910485.7A 2023-07-21 2023-07-21 Method, device, equipment and medium for adjusting controller parameters based on bird diagram Pending CN117055328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310910485.7A CN117055328A (en) 2023-07-21 2023-07-21 Method, device, equipment and medium for adjusting controller parameters based on bird diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310910485.7A CN117055328A (en) 2023-07-21 2023-07-21 Method, device, equipment and medium for adjusting controller parameters based on bird diagram

Publications (1)

Publication Number Publication Date
CN117055328A true CN117055328A (en) 2023-11-14

Family

ID=88661597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310910485.7A Pending CN117055328A (en) 2023-07-21 2023-07-21 Method, device, equipment and medium for adjusting controller parameters based on bird diagram

Country Status (1)

Country Link
CN (1) CN117055328A (en)

Similar Documents

Publication Publication Date Title
CN113343803B (en) Model training method, device, equipment and storage medium
CN115598505A (en) Chip detection method, device, equipment and storage medium
CN115685109A (en) Method, device and equipment for testing millimeter wave radar and storage medium
CN114417780B (en) State synchronization method and device, electronic equipment and storage medium
CN117055328A (en) Method, device, equipment and medium for adjusting controller parameters based on bird diagram
CN116467161A (en) Application testing method and device, electronic equipment and storage medium
CN115599438A (en) Method, device, equipment and medium for constructing application program publishing package
CN112835007B (en) Point cloud data conversion method and device, electronic equipment and storage medium
CN114563045B (en) Detection method and device for hospital logistics system, electronic equipment and medium
CN115576902B (en) Method, device, equipment and medium for processing calibration description file
CN116524165B (en) Migration method, migration device, migration equipment and migration storage medium for three-dimensional expression model
CN117576077A (en) Defect detection method, device, equipment and storage medium
CN117724980A (en) Method and device for testing software framework performance, electronic equipment and storage medium
CN116932348A (en) Intelligent algorithm performance analysis method and device, electronic equipment and medium
CN117892547A (en) Wind farm equivalent modeling method, device, equipment and medium
CN116663295A (en) Automatic testing method and device for clutch, upper computer, medium and system
CN117471211A (en) Method, device, equipment and storage medium for determining reference neutral point
CN116691341A (en) Vehicle speed adjusting method, device, equipment and storage medium based on vehicle accelerator
CN116796620A (en) Method, device, equipment and storage medium for predicting oil temperature of pumped storage unit
CN116973636A (en) S parameter testing method, device, equipment and storage medium
CN117194018A (en) Processing method and device of system temperature control algorithm in multi-core and multi-chip environment
CN117833208A (en) Power distribution network state deduction method and device, electronic equipment and storage medium
CN117472774A (en) Interface testing method, device, electronic equipment and storage medium
CN116961229A (en) Transformer substation fault positioning method and device, electronic equipment and storage medium
CN115361308A (en) Industrial control network data risk determination method, device, equipment and 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