Search

CN-122021511-A - Converter simulation system, simulation method and electronic equipment based on FPGA

CN122021511ACN 122021511 ACN122021511 ACN 122021511ACN-122021511-A

Abstract

The application relates to the technical field of real-time simulation, and discloses an inverter simulation system, an inverter simulation method and electronic equipment based on an FPGA. The converter simulation system based on the FPGA comprises a development host and a simulation device, wherein an FPGA chip is arranged in the simulation device, the development host is used for constructing a topological structure of a real converter, performing equivalent processing on the topological structure to obtain an equivalent topological model, and deploying the equivalent topological model to the simulation device, wherein the equivalent topological model is provided with an alternating-current side port and a direct-current side port, the alternating-current side port consists of two parallel branches, each branch comprises a controlled voltage source and a diode, the direct-current side port consists of a controlled current source structure, the simulation device is in communication connection with the development host, and the simulation device is used for running the equivalent topological model based on the FPGA chip. The application aims to reduce the number of switching devices of the converter topology, reduce simulation resources and increase simulation precision through an equivalent modeling method.

Inventors

  • Request for anonymity
  • Request for anonymity
  • Request for anonymity
  • Request for anonymity

Assignees

  • 上海科梁信息科技股份有限公司

Dates

Publication Date
20260512
Application Date
20251230

Claims (10)

  1. 1. The converter simulation system based on the FPGA is characterized by comprising a development host and a simulation device, wherein an FPGA chip is configured in the simulation device; The development host is used for constructing a topological structure of a real converter, performing equivalent processing on the topological structure to obtain an equivalent topological model, and deploying the equivalent topological model to the simulation device, wherein the equivalent topological model is configured with an alternating current side port and a direct current side port, the alternating current side port consists of two parallel branches, and each branch comprises a controlled voltage source and a diode; The simulation device is in communication connection with the development host, and is used for running the equivalent topology model based on the FPGA chip.
  2. 2. The FPGA-based inverter simulation system of claim 1, wherein the simulation device is configured with a switching function logic module and an equivalent physical circuit module; The switch function logic module is configured to set a switch pulse signal of the direct current side of the real converter, a current signal of the alternating current side of the real converter and a voltage signal of the direct current side of the real converter, and determine a voltage control signal and a current control signal according to the switch pulse signal, the current signal, the voltage signal and a preset voltage-current control relation; the equivalent physical circuit module is configured to input the voltage control signal to the controlled voltage source and the current control signal to the controlled current source structure.
  3. 3. The FPGA-based inverter simulation system of claim 2, wherein when the equivalent topology model is a two-level inverter model, the structure of the equivalent topology model is configured to: the controlled current source structure is configured as a single controlled current source, and a resistor in parallel with the controlled current source; the cathodes of the two controlled voltage sources of the alternating current side port are connected with the cathodes of the controlled current sources.
  4. 4. A FPGA-based converter simulation system according to claim 3, wherein when the equivalent topology model is a two-level converter model, the equivalent physical circuit module is specifically configured to input the voltage control signal to the two controlled voltage sources simultaneously, and to input the current control signal to the controlled current sources.
  5. 5. The FPGA-based inverter simulation system of claim 4, wherein when the equivalent topology model is a two-level inverter model, the preset voltage-current control relationship includes the following settings: When the switch pulse signal is that the upper tube is conducted, the voltage control signal is the voltage signal, and the current control signal is the current signal; when the switch pulse signal is that the lower tube is conducted, the voltage control signal is zero, and the current control signal is zero; When the switch pulse signal is fully turned off and the current signal is greater than or equal to zero, the voltage control signal is the voltage signal, and the current control signal is the current signal; When the switch pulse signal is fully off and the current signal is less than zero, the voltage control signal is zero and the current control signal is zero.
  6. 6. The FPGA-based inverter simulation system of claim 2, wherein when the equivalent topology model is a three-level inverter model, the structure of the equivalent topology model is configured to: The controlled current source structure is configured as a first controlled current source and a second controlled current source which are connected in series, wherein the connection point of the first controlled current source and the second controlled current source is led out as a neutral point, and the neutral point is connected with the cathodes of the two controlled voltage sources of the alternating current side port.
  7. 7. The FPGA-based inverter simulation system of claim 6, wherein when the equivalent topology model is a three-level inverter model, the switch function logic module is further specifically configured to set a switch pulse signal on a dc side of the real inverter, a current signal on an ac side of the real inverter, and a first voltage signal and a second voltage signal on the dc side of the real inverter, and determine the voltage control signal, the first current control signal, and the second current control signal according to the switch pulse signal, the first voltage signal, the second voltage signal, the current signal, and a preset voltage-current control relationship; The equivalent physical circuit module is further specifically configured to input the first current control signal and the second current control signal to the first controlled current source and the second controlled current source, respectively, and input the voltage control signal to the two controlled voltage sources.
  8. 8. The FPGA based inverter simulation system of claim 7, wherein when the equivalent topology model is a three-level inverter model, the preset voltage-current control relationship further comprises the following settings: the switch pulse signal is in a positive voltage state, the current signal is larger than zero, the voltage control signal is the first voltage signal, the first current control signal is the current signal, and the second current control signal is zero; The switch pulse signal is in a positive voltage state, the current signal is smaller than zero, the voltage control signal is the second voltage signal, the first current control signal is zero, and the second current control signal is a negative value of the current signal; the switch pulse signal is in a negative voltage state, the current signal is larger than zero, the voltage control signal is the second voltage signal, the first current control signal is the negative value of the current signal, and the second current control signal is zero; The switch pulse signal is in a negative voltage state, the current signal is smaller than zero, the voltage control signal is the second voltage signal, the first current control signal is the current signal, and the second current control signal is zero; The switch pulse signal is in a 0-voltage state, the current signal is greater than zero, the voltage control signal is zero, the first current control signal is zero, and the second current control signal is a negative value of the current signal; the switch pulse signal is in a 0-voltage state, the current signal is smaller than zero, the voltage control signal is zero, the first current control signal is zero, and the second current control signal is the current signal; The switch pulse signal is in an uncontrolled rectification state, the current signal is greater than zero, the voltage control signal is the first voltage signal, the first current control signal is the current signal, and the second current control signal is the negative value of the current signal; The switch pulse signal is in an uncontrolled rectification state, the current signal is smaller than zero, the voltage control signal is the first voltage signal, the first current control signal is a negative value of the current signal, and the second current control signal is the current signal.
  9. 9. An FPGA-based inverter simulation method applied to the FPGA-based inverter simulation system of any one of claims 1 to 8, the method comprising: Developing a host to construct a topological structure of a real converter, performing equivalent processing on the topological structure to obtain an equivalent topological model, and deploying the equivalent topological model to the simulation device, wherein the equivalent topological model is configured with an alternating current side port and a direct current side port, the alternating current side port consists of two parallel branches, and each branch comprises a controlled voltage source and a diode; the simulation device runs the equivalent topology model based on the FPGA chip.
  10. 10. An electronic device, comprising: at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the FPGA-based inverter simulation method of claim 9.

Description

Converter simulation system, simulation method and electronic equipment based on FPGA Technical Field The application relates to the technical field of real-time simulation, in particular to an inverter simulation system, an inverter simulation method and electronic equipment based on an FPGA. Background With the rapid development of new energy industry, the permeability of the power electronic converter in the power grid continuously rises, novel stability problems such as broadband oscillation and harmonic pollution are increasingly outstanding, a high-precision simulation means is needed to capture the transient process of the high-frequency switch, and stringent requirements of microseconds to nanoseconds are provided for the simulation step length. Modeling simulation based on a Field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) is a mainstream choice because of the advantage of resource adaptability, wherein LC modeling can effectively reduce the calculated amount by equivalent of a switching device into a small inductance (when closed) and a small capacitance (when open), and is an equivalent method widely applied in power electronics simulation. The related LC modeling technology has obvious limitations that on one hand, in FPGA-based LC modeling, L (inductance) and C (capacitance) are used as energy storage elements, virtual loss is generated when a switching state is switched, and when the switching frequency is increased to tens or hundreds of kHz, the loss is more serious, and the model precision is directly influenced, on the other hand, the CPU-based detailed value modeling has higher precision but is limited by state space matrix calculation, the increase of switching devices can cause the calculation amount to be greatly increased, and the simulation step length is limited by CPU performance, only 20-50 us, the minimum step length requirement of a high-frequency scene cannot be met, and the real-time operation difficulty is high. Both methods have difficulty in meeting the requirements of precision and efficiency of high-frequency simulation. Disclosure of Invention The application aims to provide an FPGA-based converter simulation system, a simulation method and electronic equipment, and aims to reduce the number of switching devices of a converter topological structure, reduce the model scale, reduce virtual loss, further reduce simulation resources required by a model and increase simulation precision through an equivalent modeling method. In order to solve the problems, one or more embodiments of the present disclosure provide an FPGA-based inverter simulation system, which includes a development host and a simulation device, wherein an FPGA chip is configured in the simulation device, the development host is configured to construct a topology structure of a real inverter, perform equivalent processing on the topology structure to obtain an equivalent topology model, and deploy the equivalent topology model to the simulation device, where the equivalent topology model is configured with an ac side port and a dc side port, the ac side port is formed by two parallel branches, each branch includes a controlled voltage source and a diode, the dc side port is formed by a controlled current source structure, and the simulation device is in communication connection with the development host, and is configured to operate the equivalent topology model based on the FPGA chip. One or more embodiments of the present disclosure provide an FPGA-based converter simulation method, which is applied to an FPGA-based converter simulation system as described above, and the method includes developing a topology structure of a real converter by a host, performing equivalent processing on the topology structure to obtain an equivalent topology model, and deploying the equivalent topology model to the simulation device, where the equivalent topology model is configured with an ac side port and a dc side port, the ac side port is formed by two parallel branches, each branch includes a controlled voltage source and a diode, the dc side port is formed by a controlled current source structure, and the simulation device runs the equivalent topology model based on the FPGA chip. One or more embodiments of the present specification provide an electronic device comprising at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the FPGA-based inverter simulation method described above. The embodiment of the application builds and simulates an equivalent topological model based on an FPGA-based converter simulation system, wherein an alternating current side in a core structure of the model is provided with two parallel branches (a controlled voltage source and a diode), and a direct current side is provided with a controlled current source st