Created by
Created October 31, 2012
Last modified October 31, 2012
Tags No tags.

Summary

The ASIN function appears to periodically miscalculate the results from a sinusoidal input.


Description

V2, LB1 and V3 form a phase continuous voltage controlled sine wave generator, modulated by V1.

V4 is the same sine wave generator as V3 but with the ASIN function applied to it to generate a triangle wave output.

The triangle wave should be continuous but shows periodic glitches.

V6 shows an example of the same behaviour on a CL signal source.

The results are very dependent on Stop Time vs. Time Step.

However, simply reducing the Time Step does not remove the glitches.

This suggests that there may be a problem with the implementation of the ASIN function.

Simulate > Time Domain > Run Time-Domain Simulation

Note that although CL says in:

https://www.circuitlab.com/docs/circuit-elements/#laplace

that 1/s in the Laplace block creates an integrator, in practice a small constant is also required for the simulation to work.


Comments

No comments yet. Be the first!

Leave a Comment

Please sign in or create an account to comment.

Revision History

Only the circuit's creator can access stored revision history.