IMPLEMENTATION OF GENERIC DSP COMPONENT WITHIN TYPHOON HIL SOFTWARE FOR MODELING POWER CIRCUITS SCHEMES

  • Alen Suljkanović TyphoonHil, Novi Sad
  • Gordana Milosavljević Fakultet tehničkih nauka, Univerzitet u Novom Sadu
  • Dušan Majstorović TyphoonHil, Novi Sad
  • Igor Dejanović Fakultet tehničkih nauka, Univerzitet u Novom Sadu
Keywords: CodeBlock, code generation, DSP, parsing , Python, PEG, grammar, graphic editor, scheme generation

Abstract

The need for electricity in the world is increasing, which necessitates more efficient production and distribution of electricity, which is achieved through rigorous and continuous testing of power systems of this type. Tests are performed on specific devices, where the real system is replaced with a model. This type of testing is much more efficient, cheaper and safer than testing the real system. The company TyphoonHIL produces series of HIL (Hardware-in-the-loop) devices for testing the controllers in the field of Power Electronics and technology of Digital Signal Processing. Because of the wide range of applications of Digital Signal Processing, it is not possible to determine a finite set of DSP components required by a user, which is why there was a need for the implementation of generic DSP component. This paper presents the implementation of a generic DSP component as CodeBlock component. The user selects the appearance of component and describes its functionality by using a modified subset of the C language. CodeBlock component is implemented by using Arpeggio parser, relying on Jinja2 template engine for code generation. The solution presented in this paper is integrated within Typhoon Schematic Editor, which is part of the TyphoonHIL hardware/software tool-chain. The solution makes Typhoon Schematic Editor a lot more flexible to the needs of the user.
Published
2019-01-15
Section
Articles