CN-122018884-A - Digital power supply graphical development platform and method
Abstract
The invention discloses a digital power graphical development platform and a digital power graphical development method, which relate to the technical field of digital power development and comprise a main development interface and a program operation background, wherein a power configuration interface of the main development interface is provided with a power control chip and a plurality of corresponding chip peripheral devices, a power programming interface of the main development interface is provided with a main circulation program canvas, an interrupt service program canvas and a plurality of power programming components, the power programming components are respectively configured in the main circulation program canvas and the interrupt service program canvas according to power development requirements and are logically connected, the working parameters of a functional program of each power programming component are set to form a graphical program, and the program operation background is used for converting the formed graphical program into a computer language code and then compiling the computer language code to generate a power control program code, and then the compiled power control program code is downloaded to a power control chip of an entity. The invention obviously improves the development efficiency of the digital power supply and reduces the development threshold of the digital power supply.
Inventors
- LIU SHUANG
- ZHENG RONGQIN
- LIU LI
- Gu Daiting
Assignees
- 武汉森木磊石科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260414
Claims (10)
- 1. A digital power supply graphical development platform, comprising: a main development interface, comprising: A power configuration interface configured with a power control chip and a corresponding plurality of chip peripheral devices, wherein the model of the power control chip, the peripheral configuration interface and the operating parameters of each of the chip peripheral devices are settable; the power programming interface is provided with a main circulation program canvas, an interrupt service routine canvas and a plurality of power programming components, wherein each power programming component is provided with a corresponding standardized functional program, the power programming components are respectively configured in the main circulation program canvas and the interrupt service routine canvas according to power development requirements and are logically connected, and the working parameters of the functional program of each power programming component are set to form a graphical program; And the program running background is used for converting the formed graphical program into a computer language code, compiling the computer language code to generate a power control program code, and downloading the compiled power control program code to a power control chip of the entity.
- 2. The digital power graphical development platform of claim 1, wherein: Each power programming component is provided with a component input-output terminal and a component parameter setting window, the component input-output terminal of each power programming component is used for being logically connected with other power programming components according to power development requirements, and the component parameter setting window of each power programming component is used for setting working parameters of a functional program of the power programming component.
- 3. The digital power graphical development platform of claim 1, wherein: The power supply programming assembly at least comprises a basic programming assembly, a power supply control assembly and a logic nesting assembly, wherein the basic programming assembly is used for realizing a basic programming function, the power supply control assembly is used for realizing a power supply control function, and the logic nesting assembly is used for realizing a logic nesting function.
- 4. The digital power graphical development platform of claim 1, wherein: The program running background comprises a code generation module which is used for converting the graphical programs formed in the main circulation program canvas and the interrupt service program canvas into computer language codes according to a preset graphical logic protocol.
- 5. The digital power graphical development platform of claim 4, wherein: The program running background further comprises a program compiling module, wherein the program compiling module is provided with a compiling tool chain and a compiling configuration file, and the compiling tool chain is used for compiling and generating power control program codes according to the converted computer language codes and the compiling configuration file.
- 6. The digital power graphical development platform of claim 5, wherein: The program running background further comprises a program burning module, wherein the program burning module is used for downloading the power control program codes compiled and generated by the program compiling module to a power control chip of the entity.
- 7. The digital power graphical development platform of claim 1, wherein: The power control chip at least comprises an ARM architecture, a DSP architecture and a Risc-V architecture.
- 8. The digital power graphical development platform of claim 7, wherein: the power supply configuration interface unifies peripheral configuration interfaces of power supply control chips with different architectures through a preset chip configuration protocol.
- 9. The digital power graphical development platform of claim 1, wherein: The chip peripheral device at least comprises PWM, ADC, GPIO, DAC, CMP, USART and a CAN.
- 10. A digital power supply graphical development method using the digital power supply graphical development platform of claim 1, comprising the steps of: setting the model of a power control chip, a peripheral configuration interface and working parameters of corresponding chip peripheral devices in a power configuration interface; Respectively configuring a plurality of power programming components in a main circulation program canvas and an interrupt service routine canvas of a power programming interface according to power development requirements, performing logic connection, and setting working parameters of functional programs of each power programming component to form a graphical program; Converting the formed graphical program into a computer language code, compiling to generate a power control program code, and downloading the compiled power control program code to a power control chip of the entity.
Description
Digital power supply graphical development platform and method Technical Field The invention relates to the technical field of digital power supply development, in particular to a digital power supply graphical development platform and a digital power supply graphical development method. Background At present, the digital power supply carries out real-time calculation and control based on a processor, and the dynamic response is rapid and accurate through digital communication configuration parameters, the control strategy is flexible and intelligent, and finer power management, remote monitoring and fault diagnosis functions are realized through digitalization, so that the reliability and the energy efficiency ratio of the system are remarkably improved. With the increasing demands for complexity and intellectualization of power electronic systems, the duty ratio of digital power supplies in high-end applications has been increasing year by year, especially in the fields of 5G, new energy, etc. In the prior art, the development of the digital power supply mainly depends on a traditional programming mode, so that obvious pain points exist that a developer needs to deeply grasp the details of a hardware bottom layer (such as register configuration and interrupt processing) and realize the implementation of a sophisticated algorithm (such as digital loop control), so that the development of the digital power supply has the problems of high threshold, long development period and strong dependence on experience. Disclosure of Invention The embodiment of the invention provides a digital power supply graphical development platform and a digital power supply graphical development method, which are used for solving the technical problems that the existing digital power supply development in the related technology mainly depends on a traditional programming mode, and has high entry threshold, long development period and strong dependence on experience. In a first aspect, a digital power supply graphical development platform is provided, including: a main development interface, comprising: A power configuration interface configured with a power control chip and a corresponding plurality of chip peripheral devices, wherein the model of the power control chip, the peripheral configuration interface and the operating parameters of each of the chip peripheral devices are settable; the power programming interface is provided with a main circulation program canvas, an interrupt service routine canvas and a plurality of power programming components, wherein each power programming component is provided with a corresponding standardized functional program, the power programming components are respectively configured in the main circulation program canvas and the interrupt service routine canvas according to power development requirements and are logically connected, and the working parameters of the functional program of each power programming component are set to form a graphical program; And the program running background is used for converting the formed graphical program into a computer language code, compiling the computer language code to generate a power control program code, and downloading the compiled power control program code to a power control chip of the entity. In some embodiments, each power supply programming component is provided with a component input-output terminal and a component parameter setting window, the component input-output terminal of each power supply programming component is used for being logically connected with another power supply programming component according to power supply development requirements, and the component parameter setting window of each power supply programming component is used for setting working parameters of a functional program of the power supply programming component. In some embodiments, the power programming component includes at least three types of basic programming components for implementing basic programming functions, power control components for implementing power control functions, and logic nesting components for implementing logic nesting functions. In some embodiments, the program execution background includes a code generation module for converting the graphical programs formed in the main loop program canvas and the interrupt service program canvas into computer language code according to a preset graphical logic protocol. In some embodiments, the program running background further includes a program compiling module, where the program compiling module is provided with a compiling tool chain and a compiling configuration file, and the compiling tool chain is configured to compile and generate power control program code according to the converted computer language code and the compiling configuration file. In some embodiments, the program running background further includes a program burning module, where the program burning module is configured to dow