Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Electronics

Electronics

Topics related to HFSS, Maxwell, SIwave, Icepak, Electronics Enterprise and more.

how should i write the equation for a square wave with 50% duty cycle as coil input in maxwell?

TAGGED: 

    • iamhsafi
      Subscriber

      hello! i am simulating a high power transformer in maxwell and i have to give a square wave with 50% duty cycle as an input to the coil terminals. I would really appreciate it if you could write it in the exact words as i am supposed to write it in maxwell. The frequency is 20khz.

    • Navya Chode
      Forum Moderator
      Hi @iamhsafi you can use a pwl function to define the square voltage.
      You can look at the following forum discussion for how to define a pwl function. Change units appropriatly
      /forum/discussion/comment/116644#Comment_116644
      Please refer to Maxwell help document for more detail on defining pwl functions.

      Regards Navya
    • Kyrylo Kalashnikov
      Subscriber

      Hello! Thanks for the help. However, it looks like the link that you are referring is not working anymore?

    • GLUO
      Ansys Employee

      Hello, 

      Method 1 insert a dataset and use pwl(datasetname, time)

      Method 2 use sgn(sin(2*pi*time*Freq))

      Method 3 use external circuit and pulse source

      GL

    • GLUO
      Ansys Employee

      Hi,

      Correction Method 2 use 0.5*(sgn(sin(2*pi*time*Freq))+1)

      GL

Viewing 4 reply threads
  • The topic ‘how should i write the equation for a square wave with 50% duty cycle as coil input in maxwell?’ is closed to new replies.
[bingo_chatbox]