![]() | ![]() | ![]() |
| |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
![]() |
| | Tools |
| | #1 |
|
Ok this may be easy or very complex. First up go easy on the tech stuff as i only have a basic understanding of circuit function but im capable of making most things and have no problem understanding components etc. what i need is a simple square wave generator and i have found many using 555 gate etc or even 2 transistors, but what i also need is a separate secondary wave that is set at a multiple frequency of the primary, none of the circuits i found have component values and i dont know how to calculate the exact signals i require ok here are the specs: primary signal (a) wants to be about 16Hz and very short duty cycle like 2% and the secondary signal (b) needs to be exactly 24x(a)Hz with duty cycle around 30% and about 6-9v for both would be fine and the wave shape is not critical I know the counting thing will be the killer and ideally they would be stable and accurately counted but not synchronised. i know this is asking a lot so if its too complex we can compromise and just make the secondary signal tuneable with strategically placed variable resistor and I can set it up with a 2 channel scope etc. Ok explanation WHY! i play with aftermarket ECU's and i often need dummy engine signals to simulate the engine running while i scope the ECU outputs and set up and zero in multi coil ignitions etc. most engines have a multi tooth trigger on the crank and a single tooth trigger on the camshaft, so this will simulate these signals, if i have a 24&1 signal i can set up the ECU for any 4, 6 or 8cyl engine | |
| |
| | #2 |
|
the easiest for me would be use PIC device (12F675 for example) driving a couple opto coupler to output the signal. But that requires a little bit upfront investment / learning curve. otherwise, try 555's. they are pretty reliable and it shouldn't be that difficult to wire them up. | |
| |
| | #3 |
|
Set the 1st 555 to run at the frequency you need, the use that to trigger a 2nd 555 running at the frequency you need and adjust the timing components for the duty cycle.. Attached is a zipped spreadsheet that may help
__________________ Eccentric millionaire financed by 'er indoors | |
| |
| | #4 |
|
The best way to do this is to make the 384Hz oscillator first (probably using a 555), and then use a divide-by-24 digital counter using CMOS logic to create the 16Hz signal. I dont have time right now, but later today I will come up with a schematic if this will work for you.
| |
| |
| | #5 |
|
I'm with Mike. The divide-by-24 digital counter is the way to go. It's stable and no tweaking required except, perhaps, to adjust the 384Hz frequency.
__________________ Carl Curmudgeon Elektroniker | |
| |
| | #6 |
|
How accurate? For 16Hz a 32768Hz watch crystal oscillator followed by a 2^11 divider.
__________________ I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong. Please ask on the open forum if you have a question and I'll be happy to help, if I know the answer. | |
| |
| | #7 | |
| Quote:
cheers, this looks looks the most simple and capable for me. can you help me with a little more plain detail.... ie exact circuit sketches with component values i know your zip file has most of the information but like i say im a bit sketchy on the technical stuffthe fast signal needs to stay reasonably consistant, will i just need to finely adjust the frequency with a scope to phase them corectly so the trigger point wont upset the signal at every reset. We can bring the low frequency down to 6-8hz this will be better anyway, like the engine is idling and make it less sensitive to set up | ||
| |
| | #8 | |
| Quote:
| ||
| |
| | #9 |
| Stare at this. 555s and 4017 counters are readily available.
| |
| |
| | #10 |
| hey thanks this looks awsome! and i recon i can build it no problem, will it run on 12v? thinking further about it, the whole thing needs to be slowed down to about half or even less 160 - 190Hz is perfect, the camshaft turns at half engine speed so the syncronising puls is only read at every second engine rev what variations will this require and can we make it adjustable with a variable resistor without upsetting anything? lastly can i get different divider intervals by simply using different pins from the 4017 counters? again without upsetting anything, this would be handy for engines with different numbers of trigger teeth. cheers | |
| |
| | #11 |
|
Just a further thought looking at how those counter/dividers work, can we do away with the second 555 circuit? the duty cycle is not critical so can we reduce the primary duty to about 20% and then just use that output straight from the counter for the secondary output?? and will it have the same duty time as the primary signal but every 24th puls as required??.... am i making sense???
| |
| |
| | #12 | |||
| Quote:
Quote:
Quote:
Yes, the first divider can be strapped to divide by 1, 2, 3, 4, ..., 10, and so can the second divider, just by moving the feed back tap that goes to the R (reset) input. This means you can get any total divide ratio which can be expressed as the product of two integers from 1 to 10. For example it the first divided by 7 and the second by 5, you would get a total divide of 35... | ||||
| |
| | #13 | |
| Quote:
| ||
| |
| | #14 |
|
cheers thats excelent explinations, i did a bit of research on the workings of both the 555 and the counters so understand and see what is happening a bit better, the counter stays high untill the next signal not for the duration if the initial input signal so that will bump my duty cycle way up as you say. sorry for all the questions but i love finding out how things work and building stuff, this project is getting better all the time, ie rotery switch to change counting settings etc. and speed controll so i can also set up things like boost controllers and shift lights etc. for speed controll 50% duty cycle is fine for the primary signal, so can i then use a single variable resistor for that? and lastly can we offset the signals slightly by driving the counters from the falling edge of the primary wave or from the inverse pin 5?? from the first 555, or is this just a low signal or -ve drive? this is because an ecu cant have the two 2 rising edges coinciding, or is there some other way to do this? i can adjust the settings in the ecu so one reads the rising and the other reads the falling to make it work but its much better if i dont have to cheers | |
| |
| | #15 | |
| Quote:
Since that left a couple of sections of the hex inverter/buffer, I added a pulse delay and a pulse width circuits to the final SingleTooth output so that its edges are not coincident with the MultiTooth signal and so that it was narrow. You can play with the R and C values in this section to move those edges around. The 4049 has more output current than a standard CMOS output, so the two outputs should drive your ECU. New circuit and simulations attached, including the close-up of the relative timing between MultiTooth and SingleTooth. | ||
| |
|
| Tags |
| duel, generator, making, signal |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Need help with pm generator signal | buddrow | General Electronics Chat | 8 | 24th November 2008 02:37 AM |
| making an NTSC signal | Hank Fletcher | General Electronics Chat | 7 | 5th June 2008 09:39 PM |
| 1 to 200 Hz signal generator | phyxit | Electronic Projects Design/Ideas/Reviews | 3 | 8th December 2007 10:04 PM |
| RF signal generator | meetkushal_c2004 | Electronic Projects Design/Ideas/Reviews | 3 | 12th August 2004 12:12 PM |
| signal generator | andy257 | General Electronics Chat | 1 | 23rd March 2004 11:07 PM |