Thanks for your answer, @Harald Kapp. That problem is solved, now we'are thinking about how to calculate the frequency having this output sine wave. Do you have any idea?
The output wave: https://www.dropbox.com/s/9ce297vr7b77d19/out.png?dl=0
Moderators note : embeded reduced image