From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

using labview cosimulation, how to control PWM duty cycle in multisim

Solved!
Go to solution

I am new to using Multisim with LabVIEW using cosimulation. I want to ask if there is a PWM component in Multisim that can have its duty cycle be controlled using LabVIEW? I have an algorithm in LabVIEW that outputs duty cycle values from 0 to 1, representing duty cycle percentages.

 

How do I control the PWM duty cycle in Multisim using LabVIEW cosimulation?

 

Many thanks,

SPECTRE

0 Kudos
Message 1 of 5
(5,352 Views)
Solution
Accepted by topic author SPECTRE

Hi Spectre,

 

In Multisim, search for the parts base on functionality, there are some PWM models in the database.  Have a look at this knowledge base  if you don't know how to search for parts:

http://digital.ni.com/public.nsf/allkb/7309A5CABC677296862577ED006EC99E

 

Aslo, have a look at this knowledgebase:

http://digital.ni.com/public.nsf/allkb/EF391C48CF71AE4F862571B900644F84

 

This article shows how you can get Mutlisim and LabVIEW to co-simiualte:

http://www.ni.com/white-paper/13663/en

 

I hope this helps

Tien P.

National Instruments
0 Kudos
Message 2 of 5
(5,338 Views)

Can You make me understand this? please


@SPECTRE
0 Kudos
Message 3 of 5
(2,671 Views)

Here is a screen shot of the basic PWM function.  In order to control the PWM duty cycle you input a voltage from 0 to 1.0 proportional to the desired duty cycle.

 

The PWM frequency and output voltage amplitude and rise/fall time are all settings of the PWM function.

 

image.png

 

Message 4 of 5
(2,663 Views)

Thank Dear, 

0 Kudos
Message 5 of 5
(2,653 Views)