🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Simcode Variable frequency PWM

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

I'd like to do produce a variable frequency PWM using simcoder. I'd like to let the PWM be 100 kHz in one period, 200 kHz in next period, then repeat.
I used the variable frequency PWM block to achieve it. However, the simulation message always say the variable frequency PWM block is ignored.

image

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Rhonda_20369"
    New Altair Community Member
    Updated by Rhonda_20369

    Please make sure the name in the "1-ph PWM" block is the same as in the "Variable Frequency PWM" block.

    User: "AndreyB"
    New Altair Community Member
    Updated by AndreyB

    Hello. 

    I do not want to create a separate thread for a related question, so I ask in this thread.

    I need to create two Variable Frequency PWM blocks with 180 phase shift between each other. They work fine when the input of variable frequncy blocks is 1. But, once it changes, the 180 degree phase shift (on PWM2) becomes glitched in the simulation and changes to some other value.

    P.S. Once uploaded to the DSP it is actually working well.

    Thanks in advance!

    image