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.

Need Help About the Simulink Counter Mask, Thanks!

Status
Not open for further replies.

gzanta

Newbie level 1
Joined
May 8, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
Im using the simulink counter mask,

Here is what I am tring to do with it:
111.jpg

I integrate the signal in the 3rd window, the result is shown in the 4th window;
When the result in the 4th window is >= 1, the signal in 1st window becomes 1, and I will reset the integrator after the output reaches 1 with a fixed delay.

then I send the signal in the 1st window to the counter, rising edge triggered, count to 100,
the result is shown in 5th window.

and the problem is:

in the 5th window, when the counter reaches 5, it jump to 7 at the next rising edge, then jump to 10 at the next rising edge.


can anyone tell me what coused that plz?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top