Lỗi real time simulation failed to start trong proteus năm 2024

Joined Mar 26, 2010 Messages 231 Helped 50 Reputation 102 Reaction score 39 Trophy points 1,308 Location Pakistan Activity points 2,414

Anyone has come up with a solution of avoiding real time simulation problem in ISIS. I was making frequency counter using PIC18F452, it works fine in KHz range but gives error "Excess CPU load simulation cannot run in real time" in MHz range. I am working on Intel Core i7 2.2GHz with turbo boost upto 3.10 GHz.

  • 2

Lỗi real time simulation failed to start trong proteus năm 2024

Joined Mar 12, 2010 Messages 9,821 Helped 2,350 Reputation 4,694 Reaction score 2,272 Trophy points 1,413 Location Southwest, USA Activity points 62,380

Not being able to run Proteus simulations in real time is fairly typical, no matter how fast the host system.

To accomplish the task would require a high degree of concurrency, higher than available on a Quad Core and Windows based system.

You can use the simulation clock in the lower corner to track critical timings.

BigDog

  • 3

Lỗi real time simulation failed to start trong proteus năm 2024

Joined Mar 16, 2008 Messages 11,888 Helped 2,021 Reputation 4,158 Reaction score 2,031 Trophy points 1,393 Location Greece Activity points 64,371

Try to simplify the circuit as much as you can. For example remove any dividers or filters from the input and use a square wave source directly to check your code. Limit the analog circuitry to a minimum. There is also a simulation setting that can be set for speed or accuracy.

  • 4

Lỗi real time simulation failed to start trong proteus năm 2024

Joined Mar 26, 2010 Messages 231 Helped 50 Reputation 102 Reaction score 39 Trophy points 1,308 Location Pakistan Activity points 2,414

Re: Proteus Error" Excess CPU load simulation cannot run in real time"

I think in real hardware it will work fine. Anyhow Labcenter Electronics should take notice on this problem.

- - - Updated - - -

Try to simplify the circuit as much as you can. For example remove any dividers or filters from the input and use a square wave source directly to check your code. Limit the analog circuitry to a minimum. There is also a simulation setting that can be set for speed or accuracy.

My circuit only have PIC18f452 and clock source connected to RA4 (Timer 0). How to do the simulation settings?

  • 5

Lỗi real time simulation failed to start trong proteus năm 2024

Joined Mar 12, 2010 Messages 9,821 Helped 2,350 Reputation 4,694 Reaction score 2,272 Trophy points 1,413 Location Southwest, USA Activity points 62,380

Simulations of digital systems has always been a challenge, when the added complexity of analog systems is inserted into the simulation, it becomes extremely difficult to simulate the entire system in real time.

I'm afraid it is more of a limitation of the host system, then the simulation software.

Notice if real time simulations of digital hardware are required, they are typically implemented on a FPGA platform, not emulated on another processor/OS system.

As the clock/timing of system under simulation increases, the analysis time quanta decreases to a point it is no longer possible to simulate the multitude of simultaneous/concurrent events in the given quanta.

Therefore this is why a digital/analog mix system which can be simulated in "real time" in the kHz range, cannot be simulated in "real time" in the MHz range.

BigDog

  • 6

Lỗi real time simulation failed to start trong proteus năm 2024

Joined Mar 16, 2008 Messages 11,888 Helped 2,021 Reputation 4,158 Reaction score 2,031 Trophy points 1,393 Location Greece Activity points 64,371

Re: Proteus Error" Excess CPU load simulation cannot run in real time"

How to do the simulation settings?

Actually I'm not sure if it gives better speed but it gives better converge. The setting is at system -> set simulation options.

  • 7

Joined Dec 6, 2009 Messages 9 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,367