🎉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

Making a square wave by pwm with variable frequency

User: "reza hakimi_20486"
Altair Community Member
Updated by reza hakimi_20486

Hello
I am going to make a square wave with a duty cycle of 0.5 using pwm so that the frequency of this wave is determined by another part of the circuit.
I will send the basic circuit diagram
What solution do you suggest to implement this program?

Find more posts tagged with

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

    Hi, Reza,

    Many of your questions can be answered by clicking PSIM's "Help >> Index" and search for the keyword.

    There is a PSIM element: "Variable Frequency PWM" in every target of SimCoder. This element can be used to control the frequency of a PWM block.

     

    In this element, you can specify which PWM block is controlled. The input of this block will control the frequency of the PWM block.

     

    The frequency range is from 0.25 to 4 times of the sampling frequency specified in PWM block parameters. If the input of the "Variable Frequency PWM" is outside this range, the values would be clamped.

    image