All About Circuits Forum  

Go Back   All About Circuits Forum > Software, Microcomputing, and Communications Forums > Programmer's Corner

Notices

Programmer's Corner Discussion forum for all aspects of programming and software engineering. Any software programming language welcome: C, C++, C#, Fortran, Java, Matlab, etc.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 11-19-2009, 04:20 AM
vijayashekar vijayashekar is offline
New Member
 
Join Date: Aug 2009
Posts: 1
Unhappy Design Pulse Generator with varying duty cycle based on input voltage

hi i am vijayashekar, i have a friend who is doing Boost Converter for PV module,
the formula for duty cycle is (1-Vin/12)*100 where Vin will vary between 0 to 8 volts. i want to set this expression as the input for the duty cycle in a pulse generator.

i tried using square function in a User Defined Function in Simulink but getting errors. will update this thread with specific errors and sample code and even the closed circuit model file.

in the meantime please give your opinions.

my questions are:

is it possible to program a pulse generator in runtime without using blocks?

how to implement square function in a simulation?

i am able to generate the plots using the demo waveform generation in matlab help. but that is only possible in design time. not runtime.

please help! the review is only a couple of days away.

we are lost.

thanks in advance.

vijay
Reply With Quote
Reply   Post New Thread

Tags
, , , , , , , , , , , ,


Related Site Pages
Section Title
Worksheet Microcontroller principles
Worksheet Flip-flop circuits
Worksheet Timer circuits
Worksheet Design Project: Pulse-Width Modulation (PWM) signal generator
Worksheet Signal modulation
Worksheet Power conversion circuits
Worksheet Bipolar junction transistors as switches
Worksheet Clipper and clamper circuits
Textbook The "operational" amplifier : Operational Amplifiers
Textbook Biasing techniques : Bipolar Junction Transistors


Similar Threads
Thread Thread Starter Forum Replies Last Post
varying 0-5v controlled duty cycle PWM of 12v relay to ground, help elRey General Electronics Chat 12 09-13-2009 03:54 AM
PWM duty cycle and current limiting damianhealey The Projects Forum 7 09-25-2008 11:17 PM
tachometer input blue6x General Electronics Chat 2 04-26-2005 02:43 AM
tachometer input blue6x General Electronics Chat 0 04-25-2005 04:57 AM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:17 PM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.