Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

A MATLAB/Simulink Problem - What's wrong with this PWM generation method?

Status
Not open for further replies.

powersys

Advanced Member level 1
Joined
Nov 29, 2005
Messages
439
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Activity points
4,981
[Simulation Settings]
- Unless otherwise stated, the following simulation settings were used in all the simulations listed below.





[Block Parameters]
- Unless otherwise stated, the following block parameters were used in all the simulations listed below.





[Case-A]
- Note that the first input of the "Relational Operator" block is left open.





[Case-B]
- Note that the first input of the "Relational Operator" block is connected to the output of the "Repeating Sequence" block.
- Note that the output of the "Repeating Sequence" block is clamped at 0.1 and 0.9.





[Case-C]
- Note that the "Enable zero-crossing detection" of the "Relational Operator" block is UNCHECKED.
- Note that the output of the "Repeating Sequence" block is correct now.
- Note that the squareware shown in this case is slightly delayed compared to that of Case-B.





Questions

[a] Why is the output of the "Repeating Sequence" block distorted when it's connected to the "Relational Operator" block?

Why does the output of the "Repeating Sequence" block become OK when the "Enable zero-crossing detection" is UNCHECKED?

[c] Simulation file (*.mdl) is attached.


Cheers.
 

Attachments

  • pwm_generation.rar
    6.4 KB · Views: 54

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top