EveryCircuit
Contact
Reviews
Home
ferlop
modified 9 years ago

My signature

3
23
153
00:11:24
Ground symbol not really my signature, but I would like to be able to post a similar logo as selman and hurz have posted by using fft and reverse fft of their signatures. Question: @hurz or anyone who would like to help. 1. A svg file is large even when the inkscape drawing is a small thing, how do you reduce the file down to be able to input the data into EC? 2. Do you do a fft on the big x-y data file or do you compress it somehow? I have extracted the X-Y data of the svg file but end up with 500 plus data pairs, I input the data into excel for viewing in a plot and it shows the graph of the inkscape drawing and it looks fine. Thank you.
published 9 years ago
abobaker
9 years ago
I have used the ccc_win library in C++ to end up with around 100 points + it's easier than writing a program to exract path data from svg and also easier to draw your shape
abobaker
9 years ago
http://everycircuit.com/circuit/6392051110772736
abobaker
9 years ago
If you want the compiled program and the source code, I could email them to you or whatever
ferlop
9 years ago
Thank you very much for your response, the big guru! no answer! that is all right. ............Yeah it would be great if you share the sc, but I don't want to post my e-mail here. although if you guide me through the steps, it would be fantastic, and end the monopoly that the big gurus have on the technology to do this, as well as help others learn the procedure as well. I will try ccc win in c++ see how it goes. I think humans are always learning from others when they share knowledge. If you give me a fish, I can eat one time, if you teach me to fish, I will eat every day.
ferlop
9 years ago
abobaker, your signature looks very good, nothing wrong with it.
abobaker
9 years ago
:D thank you, don't be mad at them though, maybe they just haven't seen your post yet
abobaker
9 years ago
Ok I'll go through the entire process for anyone who doesn't know what you already know
abobaker
9 years ago
Well the steps are fairly simple .. You need to draw a path that is closed, that you can draw on paper without lefting your pen off the paper (to match the periodic nature of the simulation) otherwise there'll be sharp jumps in your final EC graph .. Then you need to decompose your path into an X function and a Y function, so for each point on your path you need to find the (X,Y) data for a finite no. Of points and then separate the X's together and the Y's together .. Now assuming these X's are points of some function that you want to find its frequency components, so taking the FFT of them using MATLAB (just google it) you'll end up with the frequency spectrum of your X signal, same goes for Y and note that you want them in the form of magnitude and phase not (real+i*imaginary) also using MATLAB you can convert them easily .. Now ignor the DC value of X and Y (e.g. frequency=0) and you'll have (say for X) the value or amplitude of each sineusoid at each frequency in your (X) signal, put those in every circuit as AC sources that have the amplitude from the magnitude of X and have the phase from the phase of X that you already have from MATLAB, Keep putting AC sources until you reach low amplitudes that won't make much difference
abobaker
9 years ago
If you don't have MATLAB and you can't get it (it's a very useful tool) I think you can find lots of online FFT calculators that will handle the exact syntax used In MATLAB .. Also use MATLAB for your plots instead of excel, it's much easier
abobaker
9 years ago
As for the ccc_win library, you can find useful data on how to use it online, so use it to make a program that will take the points when you click with mouse [using get_mouse("") function] and draw the on the screen and output the X data and Y data in two separate files on the computer .. And use the program to draw your path in the form of points
abobaker
9 years ago
That's it .. So all you need is MATLAB (or any equivalent), ccc_win, and some effort ... Hope this helps someone, if you have quistions you can ask here or google it
hurz
9 years ago
Hey hey. Have you ever seen i dont share my knowledge? Get in contact with Igor and tell him to forward your eMail and i will send you my messy scripts. But im not sure to find time for reverse engeeniering of my own code ;-)
ferlop
9 years ago
Yeah, thanks anyway hurz, i probably won't live long enough to reverse engineer your code but thanks anyway, I will do as much as I can with abobakr's help.
hurz
9 years ago
It has to be a little challenge, right? Using a full automated generator wont be fun. Yes, from what i saw @abobaker knows howto do it.
roops1967
9 years ago
Looking forward to seeing your John Hancock ;)
ferlop
9 years ago
don't hold your breath to long, it might take a while. :((
abobaker
9 years ago
What stage are you in right now ?
ferlop
9 years ago
I just installed visual studio 15, going to use C++, and refresh C++ to be able to utilize ccc_win libraries.
abobaker
9 years ago
That's great, keep going .. and again if I may help with anything don't hesitate to ask
ferlop
9 years ago
Thanks a lot abobaker.
hurz
9 years ago
Hola
selman
8 years ago
Hey ferlop are you still there ?
hurz
8 years ago
Seems to be gone. What a pitty

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy