|
|
|
|
United States, ID
Joined Sep 2011
290 Posts
|
Glad to see people are working on the spreadsheet. I probably never should have made it so complicated. It seems like minor changes tend to break something or other and it's been a big PITA.
I hope everyone is checking things over and not just blindly relying on the buttons and macros. Those are only to make certain tasks easier, you should always check to make sure you're putting reasonable values into the code. As for the timing issues... in the pics Gompy posted in the other thread look like there's several errors in different places. There certainly can be problems with different Excel versions. I use Excel 2007. There's really no way for me to test things on every version and then fix all of Micro$ofts bugs. For the next version I'll try to make a more basic spreadsheet without all the troublesome macros. I don't know what's going on with the timing problems Rob is having. It's probably do to the problems he's having with the spreadsheet. I have run v1.0 on a real engine. The video is here... http://www.youtube.com/watch?feature...&v=_xVTrjYXT10 The only timing problem I've had is that there seems to be a little bit of retarding as the RPMs increase. The calculations are correct, so there is either some delay in the hall signal or in the output circuitry, or in both. I haven't had a RPM readout and a timing light running at the same time to take any real-world measurements, so maybe somebody can help with that. To me it looks like around .5-1 deg, per 1-2K RPM. When we get some measurements we can calculate it out in the spreadsheet. There is a maximum RPM limit due to the nature of the system. I usually simulate things and make sure it can handle 15k or better. In my simulations it seems it should do around 16k, but the real-world limit may be lower if there is delay in the hall sensor. There must be some sort of delay which becomes more important as RPMs increase. I test on a Homelite 25cc 2-stroke engine. It can't do that high of RPMs so I'm kind of limited in how high I can test things. For now, it looks from Gompy's tests that there may be a limit around 12k RPM, so I highly suggest not exceeding this until we can figure things out better. I never thought people would be spinning props over 10k, so I haven't put much work into testing these high RPMs. I'm working on switching over to on-the-fly calculations instead of the table lookup scheme, and I think there are some performance gains that can be had this way. It will certainly simplify the spreadsheet. I don't see any reason to have pull-ups disabled, but if you want to turn off the hall sensor pullup it is easy enough to do. I just suggest that you do with the WPU (or WPUA) register rather than turning them off globally. I don't like the idea of using the MCLR pin as a reset pin. It simply wastes that pin and you risk EMI or power supply problems resetting the processor. Reset pins are just a bad idea all around. If you want to reset the processor I suggest just interrupting the power supply. You can even put a switch in to do it. The code isn't written to be reset, there should never be a reason to reset the processor. If you are having to reset the processor then there is probably a problem with your hardware. There's no software problems that should require a reset and there are no changes the software makes that would be cleared by resetting it. I've got some time off for X-mas, so I'll hopefully get another major version finished during that time. I've now got a prop ready for my engine and I'm also planning to try and make some sort of fan-boat and play around with that in the snow and water. That should give me some real-world data to work off of. -Jake |
|
|
|
|
|
|
|
|
Joined Dec 2012
27 Posts
|
This was the problem with that ignition system. I build a few versions of the CDI systems trying to trace the problem. Dug the whole lot out again a few months ago for another attempt but ended just the same as before. The software was written by someone who would not release the source code and therefore no one else could attempt to fix the software which many said was root of the problem. I read many things about the 16F628A which said they were a rather sensitive micro so for me and many others it still remains a mystery. This was initially the main reason to switch to another system, and John developed a simple CDI unit with others using a 12F683 chip. This system works absolutely flawlessly, however, when one wants to change the ignition curve, it is a bit involved.
This was when Jake became involved to try to write software firstly, for the 12F683.This works but there are small problems to do with high revs apparently.The whole objective is to transfer the code into a 12F1840 chip which has more resources for future developement such as telemetry. If you go here you will see the end of the era so-to-speak on the 16F628A http://www.rcuniverse.com/forum/m_98...23/key_/tm.htm And in this area from pages 1 to about page 5 I think, you will find details on John's original 12F683 version http://www.rcuniverse.com/forum/m_10..._1/key_/tm.htm This expands to it's present 43 pages to include the new system from Jake. A lot of reading but many have been working on this for many years. A lot of improvements and versions, and few mistakes. |
|
|
|
|
Joined Dec 2012
27 Posts
|
Uninstalled everything, after that,went into the "programs" folder and deleted complete "microchip" folder.
Tried to delete the "microchip" folder in registry but it would not allow it. Went to the archives ... http://www.microchip.com/stellent/id...cName=en023073 Downloaded and installed MplabX v1.10 and xc8 v1.00. All installed ok without any errors so maybe ok now. Thanks Jake....... |
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Discussion CD Ignition lead and fixed plug .... | solentlife | Engines | 4 | Nov 15, 2012 06:40 AM |
| For Sale NIB 52cc Gas engine w/CD-Ignition 3.2kw | kukntra | Aircraft - Fuel - Engines and Accessories (FS/W) | 4 | Jul 23, 2012 08:10 AM |
| Discussion Best open source autopilot vs commercial solution | syncra | Multirotor Talk | 0 | Apr 12, 2012 01:35 PM |
| Discussion Any Open Source / CC CAD Files for gliders? | DrFragnasty | Composites Fabrication | 8 | Apr 09, 2012 05:36 AM |
| Discussion I'm designing an open source quad frame. Inclusions anyone? | Physics_Dude | Multirotor Talk | 3 | Mar 11, 2012 12:22 PM |