Go Back  RCU Forums > Glow Engines, Gas Engines, Fuel & Mfg Support Forums > Engine Conversions
Reload this Page >

New CDI - opensource project JMJ and Bigboat

Community
Search
Notices
Engine Conversions Discuss all aspects of engine conversions in this forum

New CDI - opensource project JMJ and Bigboat

Thread Tools
 
Search this Thread
 
Old 04-05-2010, 12:03 PM
  #1101  
nyemi
Senior Member
 
Join Date: Feb 2010
Location: szarvas, HUNGARY
Posts: 133
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

Link:www.elektroworld.info/ftp/index.php
Old 04-06-2010, 10:36 PM
  #1102  
Bigboat
Senior Member
Thread Starter
 
Join Date: Dec 2005
Location: Alkmaar, NETHERLANDS
Posts: 548
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

New hardware (again), but (still) no new software.
I don't make new pcb's befor we have the software too.

There is no progress from Ton or Elmar of the Dutch-forum.
I think it was to diffecult to make a new program, or the boys don't like it anymore.
Old 04-07-2010, 03:17 AM
  #1103  
Rallyfinnen
Senior Member
 
Join Date: Dec 2009
Location: , SWEDEN
Posts: 106
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

Nice to see things are happening here again!

Is there somebody who has extra pcb's for the current (old?) version?
I would like to make a few controllers for the car engines, but i will not make pcb's. Tried that with mixed results before, so if soembody wants to sell a few, send me a PM!
Old 04-08-2010, 12:30 PM
  #1104  
SparkyGSX
Junior Member
 
Join Date: Feb 2010
Location: , NETHERLANDS
Posts: 18
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

Jpanhalt is absolutely correct on the MOSFET body diodes. There are, however, MOSFETs with enhanced body diodes, and for applications like this, I always prefer MOSFET with proper avalanche rating. This means the MOSFET can break down (avalanche), and survive, provided you designed the circuit in such a way that the integral of the current through the MOSFET, while in avalanche mode, is sufficiently small.

EDIT:Iforgot; zener diodes are completely useless for limiting large voltage spikes, because they are simply to slow to react to a high voltage condition. Transorb diodes are much better in this application, and are specificially designed for such duties.

I truely don't have a clue as to what Nyemi is trying to say. It is just me, or are his posts completely devoid of anything sensible to all of you?


As I already told bigboat on the dutch forum, such things tend to take a while, because I always have many concurrent projects.

I have a nearly complete design in text, and I think I have everything covered. It's just waiting to be implemented now, which shouldn't be to hard; the design is the important and difficult part, the implementation should be relatively easy, if the design is good and complete.

With a little luck, I'll receive some PIC development tools tomorrow, otherwise I'll probably get them on monday.


Old 04-10-2010, 04:57 PM
  #1105  
Bigboat
Senior Member
Thread Starter
 
Join Date: Dec 2005
Location: Alkmaar, NETHERLANDS
Posts: 548
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

Where is everybody ?
In the mean time I learn to play a instrument, a kazoo
Old 04-11-2010, 01:59 AM
  #1106  
gr8flyer55
Senior Member
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 805
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

I've been converting my cdi boards back to using the CH Synchro Spark timer since we no longer have software for our now obsolete timer boards..a pity since I built 12 of them and wasted all my time.

John
Old 04-11-2010, 03:55 PM
  #1107  
COM
Senior Member
 
Join Date: Jun 2009
Location: Ga, GA
Posts: 396
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

Hello John,

Can't you use the existing code?


Charlie
Old 04-11-2010, 09:22 PM
  #1108  
gr8flyer55
Senior Member
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 805
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

I have been using it to test my engines Charlie...the thing is it jumps timing all over the place after about 2000 rpms... making the engines run hot..and I get preignition noise. When I went back to the Synchro Spark, all the problems go away. So it's either not tracking rpm correctly or the table values are wrong, which I can't change since I am not that good at the excell sheet with copy and paste. It's got to be a steady increase in timing advance up to mid rpm range..just seems odd that it jumps back and forth at a small rpm increase.

John
Old 04-12-2010, 06:19 AM
  #1109  
COM
Senior Member
 
Join Date: Jun 2009
Location: Ga, GA
Posts: 396
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

Hi John,

I wasn't sure if it worked or not.
Old 04-12-2010, 10:52 AM
  #1110  
Bigboat
Senior Member
Thread Starter
 
Join Date: Dec 2005
Location: Alkmaar, NETHERLANDS
Posts: 548
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

If I read the comment of John, not the software is a problem but he can't copy/past.

@John, do can try a straight curve to test.
If you know the normal ignitionpoint of the engine, I can make a straight curve for you.
I use the ignition on 3 engines, but I don't have thoose problems you have.
Maybe the magnets or sensors are not the one you need.
Don't use *supermagnets* and don't use bipolair sensors.
The *supermagnets* have a to big magneticfeeld and bipolair sensors need a south- and northmagnet.

I hope Ton can start to day to test his program.
If the program runs, it takes maybe one or two weeks to get the little vaults out.
Old 04-12-2010, 11:01 AM
  #1111  
Rallyfinnen
Senior Member
 
Join Date: Dec 2009
Location: , SWEDEN
Posts: 106
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat


ORIGINAL: gr8flyer55

I have been using it to test my engines Charlie...the thing is it jumps timing all over the place after about 2000 rpms... making the engines run hot..and I get preignition noise. When I went back to the Synchro Spark, all the problems go away. So it's either not tracking rpm correctly or the table values are wrong, which I can't change since I am not that good at the excell sheet with copy and paste. It's got to be a steady increase in timing advance up to mid rpm range..just seems odd that it jumps back and forth at a small rpm increase.

John
The old code worked for me, the only problem was lag and bad presicion on high rpm, but should be usable on low rpm plane engines.
I think you have a code/compilation problem?

PM me if you want to sell the old timer boards.

Old 04-12-2010, 11:08 AM
  #1112  
Evert1969
Member
 
Join Date: Sep 2006
Location: Steenwijkerwold, NETHERLANDS
Posts: 34
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat


I've started to build this cdi for using it at my converted saito FA80 four stroke engine.
In the excel sheet for setting the curve i noticed that the point of pick up is set at 40 degrees. Why is that a fixed value?
What is meant by the point of pick up? Is it the point were the magnet passes the hall sensor? So at 40 degrees means when the piston is at tdc the magnet is 40 degrees before the hallsensor?
Old 04-12-2010, 11:16 AM
  #1113  
Bigboat
Senior Member
Thread Starter
 
Join Date: Dec 2005
Location: Alkmaar, NETHERLANDS
Posts: 548
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

The magnet must be placed at TDC, the sensor at 40 degrees BTDC.
The old program is never finished and now we hope Ton will do the job.
This is not mean the old program will do the job, but it's not the program wat can do we want.
Old 04-12-2010, 12:02 PM
  #1114  
SparkyGSX
Junior Member
 
Join Date: Feb 2010
Location: , NETHERLANDS
Posts: 18
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

Hey everybody,

Some good news: I have received a new logic analyser today, and with it came a load of PIC stuff. Some test boards, a PICKIT 1 and 2 (programmer/debuggers), and a whole lot of different controllers. This means I can finally start writing code.

I also got a license for a professional compiler, but I think I'll stick to the freely available one from Microchip, so that others can change and recompile the code if they need to.

But, because of the huge number of posts in this topic, I'm having some trouble getting a few things clear: which processor and hardware design are (most of you) using? I see a lot of people referring to "old designs", but which is the correct "old design" they are referring to?

Ofcourse, the software can be ported to other controllers (even non-PIC, or a different PIC series controller) later, but for initial development and testing, it would be very unpractical if we're using different controllers.
Old 04-12-2010, 12:25 PM
  #1115  
Bigboat
Senior Member
Thread Starter
 
Join Date: Dec 2005
Location: Alkmaar, NETHERLANDS
Posts: 548
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

This is the CDI we all use http://www.modelbouw.gompy.net/newcdi/index.htm
Only the HV-boards can be differend http://www.electronics.gompy.net/cditci/
Old 04-12-2010, 05:25 PM
  #1116  
SparkyGSX
Junior Member
 
Join Date: Feb 2010
Location: , NETHERLANDS
Posts: 18
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

Ok, that's nice, because I got two 16F628 PIC's in the package today.

I just found out the 16F62x doesn't support bootloaders, so it won't be possible to load the code without a programmer. It should, however, be possible to load parameters (like the spark advance table) trough the serial port in the future. The 16F628 only has 128 bytes of EEPROM, so the size of the table might be a bit limited.

For good and consistent results, I think hardware timing periferals should be used (input capture, output compare modules). Unfortunately, the 16F628 only seems to have 1 timer that can do either, but only one of them at a time. Also, even more unfortunate is the fact that the documentation for this rather ancient controller ROYALLY SUCKS (sorry, I just had to get that out).

I'll try to get it to work in this controller, because quite a few people have already build the hardware, but I do thing it would be a good idea to design a new board, and fix some other mistakes in the hardware as well.
Old 04-12-2010, 05:40 PM
  #1117  
gr8flyer55
Senior Member
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 805
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

The normal ignition setting should be 28 degrees of advance. I tried to set the low at 6 degrees for idle per TKG. He mentioned it in the engine conversion forum. When I do that with the Synchro Spark module, everything is perfect and I get easy starts...so it should be possible to set ours for the same advance / retard. I'm not sure what I did but as I said earlier, mine jumps all over when I tested it with the timing light, causing problems. Most if not all my engines were using the same exact settings..so it should be fine.
Thanks Rob...

John
Old 04-12-2010, 05:59 PM
  #1118  
COM
Senior Member
 
Join Date: Jun 2009
Location: Ga, GA
Posts: 396
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

Hi Sparky,

You should look at a 18F1220 or a 18F1320. (2) 16 bit timers and lots of code space. Or if you want to stick with a 16F pic look at a 16F88. Its the 628s big brother.
Old 04-13-2010, 02:33 AM
  #1119  
nyemi
Senior Member
 
Join Date: Feb 2010
Location: szarvas, HUNGARY
Posts: 133
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

I want you to simulate the program on and write an opinion. Thank you nyemi.
Old 04-13-2010, 10:21 AM
  #1120  
Bigboat
Senior Member
Thread Starter
 
Join Date: Dec 2005
Location: Alkmaar, NETHERLANDS
Posts: 548
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat


ORIGINAL: nyemi

I want you to simulate the program on and write an opinion. Thank you nyemi.
Wat program do you mean ?
Old 04-13-2010, 11:23 AM
  #1121  
SparkyGSX
Junior Member
 
Join Date: Feb 2010
Location: , NETHERLANDS
Posts: 18
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

I'm not really worried about code space, the EEPROM size is more of alimitation, because that determines the maximum size of the sparkadvance table, if we want to be able to update the table through theUART without reprogramming the chip. Alternatively, a bootloader couldbe used, but the smaller and older PICs can't support bootloaderfunctionality.

If we're going to use a different board anyway (in the future), wecould also use a different controller (not even necessarily a PIC, itcould also be an AVR, or something completely different), and use theon-board peripherals.

I think I'll try to use the input capture function, but also provide a(less accurate) polling-based alternative, and use a timer interruptfor the output timing. I could correct for the interrupt latency when setting up the timer.

Does anyone know if there is a PIC that is pin compatible (for the pins that matter; mostly, the power supply) with the 16F628? If so, and if the alternative has the features we want, the existing boards could still be used, with a replacement controller.
Old 04-13-2010, 01:14 PM
  #1122  
Bigboat
Senior Member
Thread Starter
 
Join Date: Dec 2005
Location: Alkmaar, NETHERLANDS
Posts: 548
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

This one I think is pincompattible.(PIC16F/LF1826/27)
http://ww1.microchip.com/downloads/e...Doc/41391B.pdf
Old 04-13-2010, 01:20 PM
  #1123  
COM
Senior Member
 
Join Date: Jun 2009
Location: Ga, GA
Posts: 396
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

the 16F88 is pin compatable.
Old 04-13-2010, 01:37 PM
  #1124  
Bigboat
Senior Member
Thread Starter
 
Join Date: Dec 2005
Location: Alkmaar, NETHERLANDS
Posts: 548
Likes: 0
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

16F1826
Enhanced Mid-range Core with 49 Instruction, 16 Stack Levels
Flash Program Memory with self read/write capability
Internal 32MHz oscillator
Integrated Capacitive mTouch Sensing Module
Data Signal Modulator Module
MI2C, SPI, EUSART w/auto baud
2 ECCP & 2 CCP (Enhanced/Capture Compare PWM)
Comparators with selectable Voltage Reference
12 Channel 10b ADC with Voltage Reference
25mA Source/Sink current I/O
Four 8-bit Timers (TMR0/TMR2/TMR4/TMR6)
One 16-bit Timer (TMR1)
Extended Watchdog Timer (EWDT)
Enhanced Power-On/Off-Reset
Brown-Out Reset (BOR)
In Circuit Serial Programming (ICSP)
On Board In-Circuit Debug
Wide Operating Voltage (1.8V – 5.5V)
Low Power PIC16LF182x variants (1.8V – 3.6V)
Standby Current (PIC16LF182X): 30 nA @ 1.8V, typical

16F88 is hard to get and cost twice the price a 1826
Old 04-13-2010, 05:17 PM
  #1125  
COM
Senior Member
 
Join Date: Jun 2009
Location: Ga, GA
Posts: 396
Received 0 Likes on 0 Posts
Default RE: New CDI - opensource project JMJ and Bigboat

The 16F1826 and so on Some compilers don't support them yet. It would be a good choice though.


Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.