| Created by | |
| Created | October 31, 2012 |
| Last modified | October 31, 2012 |
| Tags | No tags. |
The ASIN function appears to periodically miscalculate the results from a sinusoidal input.
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.
No comments yet. Be the first!
Please sign in or create an account to comment.
Only the circuit's creator can access stored revision history.