Showing posts with label math. Show all posts
Showing posts with label math. Show all posts

Sunday, November 22, 2009

Timing Part 1

Timing Part 1- Theory

Introduction:
Ignition timing is a frequently misunderstood and misinformed topic in the moped community. A basic understanding of the physical principles occurring in the combustion process, and the system by which the spark plug motivates this controlled combustion, will allow the tuner to adjust ignition timing to the optimal point in the combustion cycle for maximum power. This article is the first of two parts, detailing the theoretical role of ignition in the power cycle, and the implications various performance modifications have on optimal ignition timing.

To begin, lets look at the role of the spark in the combustion cycle. The ignition event occurs between the compression and power strokes. After fuel and air has been forced into a small volume and raised to a higher pressure, the spark ignites that volatile mixture and the resultant heat and pressure force the piston down to provide motive force (powahhh!!). This at the outset seems like a fairly simple proposition, but in reality there is quite a bit happening in the few milliseconds during which the piston approaches top dead center, and begins its decent.

Overview:
In reality, considering the spark and combustion of fuel as a finite event (happening all at once), is an oversimplification. The piston is traveling at such a high speed, if you were to slow things down to a comprehensible speed, the movement of the flame itself through the combustible mixture in the cylinder, would seem to happen very slowly. This ‘flame front’ speed is based on the pressure of the mixture of gasses, which is changing as the piston nears top dead center, it is also based on the fuel/air ratio, and the temperature of the gasses in the cylinder.

Going back to the cylinder now, the piston is coming up from bottom dead center, the cylinder is full of air and fuel mixed. As the piston nears the top, the points will close, breaking the flow of current through them, and diverting the electricity to the spark plug. The point at which the points ‘break’ or open, is the point used to determine timing using a timing strobe, a test lamp, or a cigarette paper. There can be a little bit of dwell downstream in the system also, from 1-3 degrees. A hotter plug will spark more readily, also a smaller gap will jump faster, so if you change these, your timing might change incrementally.

When the spark jumps across the electrode gap, the mixture, which by now should be at a very high pressure, will ignite. If the fuel mix is correct, and the piston is still traveling upwards, the flame will burn up the fuel and air mixture in the cylinder just as the piston is passing top dead center (the most powerful combustion will occur when the pressure in the cylinder is highest- e.g. top dead center), and maximum power will be achieved as the pressure from the burning gasses pushes down the piston.

Combustion theory and implications:
Now perhaps it is a bit clearer why ignition timing is so important. If the timing is off by even the slightest fraction of a millimeter, peak power won’t be achieved. This is why many people will say ‘the power is in the points’. In fact there is no power whatsoever ‘in the points’ unless they are set wrong for your particular application. Understanding the various effects modifications can have on the ignition timing, will facilitate better ‘guesstimating’ as to the optimum setting of the points. The key is the relationship between the fuel, exhaust, and temperature conditions and their contribution to flame propagation.

Flame propagation in the cylinder is a relatively simple concept when we go back to thinking of the combustion in super-slow motion. Chemistry tells us that the rate of any chemical reaction is proportionate to the initial energy. In the engine, that energy manifests itself as temperature and pressure. We assume no change in temp. We started with an initial volume of fuel/air mix and compressed it by the compression ratio to get our final pressure. Compression ratio has a huge effect on final pressure, and reaction time- read flame propagation time, but its not the only factor.

The initial amount of fuel/air in the cylinder is called volumetric efficiency, the amount of the cylinder displacement that is filled when the piston closes the exhaust port. A more efficient intake and transfer tract, along with a pipe, or the timing can all change the volumetric efficiency. Anything that increases the VE, will make the flame propagate faster, and will require ignition retard. When a pipe comes ‘on’ the powerband, it is pumping more effectively, and increasing VE. Port timing also can contribute to varying VE at different points in the powerband.

The other major contributor to flame propagation is cylinder bore diameter. For the fuel to all be burned the flame must cross the entire surface of the bore. It might seem small, but going to a larger bore requires more time to burn the fuel.

There is a delicate balance when adding performance parts or modifying your bike. Everything has the potential to change the timing, and we have very little recourse with the simple points magneto system most stock bikes have. The original design is for a relatively constant powerband between 1000-3000 rpm. Wild variations in the efficiency of various parts at various speeds can require dramatically different timings.

Common problems:
Some commonly occurring problems with timing are pretty obvious, but the small, silent loss of power at various speeds that is frequently cited by the ‘power in the points’ crowd, is something that can only be avoided by painstaking tuning. In fact, points magneto systems aren’t nearly accurate or tuneable enough to deliver peak power at all ranges, but usually a happy medium can be found that allows for good performance across a wide powerband.

Should the spark jump too soon, a condition known as detonation occurs. This is frequently referred to as ‘knocking’ or ‘pinging’ and in a highly tuned moped engine sounds a lot like a tin can full of marbles being shook. It is confusing to troubleshoot because of its sibling condition, pre-ignition, which shows up in exactly the same way. Its hard to tell the difference because they both cause the same effect, the noise you are hearing is the fuel/air mixture in the cylinder igniting before the piston reaches the top of its stroke, so the upward movement of the piston is met with a downward explosion.

In detonation conditions, the spark is jumping too soon or the flame is propagating too quickly (same thing, relatively speaking). This is why some bikes with aggressive porting or exhausts require more ignition retard than stock, or some bikes need retarded at higher speeds. As the pipe hits or the ports work more effectively, the amount of air in the cylinder (volumetric efficiency) can increase with a supercharging effect, causing the flame to travel faster throughout the cylinder.

In pre-ignition, the condition is being caused by hot surfaces inside the engine due to the wrong heat range spark plug, high cylinder temps, or too low of octane fuel for the compression. While both conditions result in the same effect, the causes are dramatically different, and the solution is as well. Due to the extreme risk of engine damage these need to be understood and correctly diagnosed.

On the other side of the coin, backfiring and power loss are telltale signs of the timing being too retarded. If the combustion occurs as the piston is already heading back down, it doesn’t take much time at all for the burning gasses to blow right out the exhaust. If this happens, the combustion only acts on the piston for a brief instant, and the piston cant harness the burning fuel. Backfiring can occur in extreme cases where the flames either blow out the exhaust, or even back down into the crankcase when the transfer ports open. Typically in cases where the timing is only very slightly retarded, the bike will have poor or no throttle response, or loose throttle response under load, but maintain it when it is on the kickstand. When there isn’t anything to push, it can rev up, but once load is applied the short amount of time the gasses push on the piston before blowing out the exhaust, isn’t enough to overcome resistance. The transfer ports can even flow backwards or stall depending on the extent of porting or the pipe.

In conclusion..
Timing need not be a mystery, or entirely guess and check. We are just starting to see the types of programmable CDI units that would allow us to dial in perfect timing, but in the meantime, the points magneto systems are perfectly workable, reliable, and offer a very simple, direct type of tuning. Having a good idea going into it about the effects other performance parts can have can facilitate easier tuning, and a better understanding of our bikes.

Thursday, November 19, 2009

Crankcase compression: theory and implications

EDIT: MAY 2014:  
This is an article I wrote 5 years ago, since then I've learned a lot and realized that primary compression is a lot more complicated in its overall effect on an engine.

I don't necessarily agree with all the comments, but I don't really have time (and still probably don't know enough) to properly discuss or refute them. At face value this is a pretty basic article describing the basic crankcase pumping operation on a two stroke. I could take it down, but it helps to remember how far I've come and how much I still have to learn, so I'll leave it, but use it at your own risk.

________________________________________________________________________


I originally wrote this for a moped army forum thread located here: http://www.mopedarmy.com/forums/discuss/7/189038/189038/

With the increase of availability of moped parts here in the U.S., we've seen a huge boom in the technical sophistication of domestic tuners. With this availability, everyone seems to be pushing the envelope further, trying to squeeze out every last iota of power from our little machines.

A good example of this is the availability of 'stuffed' cranks. Many of us have purchased them for absurdly cheap through the US moped parts sellers, having only a vague idea of what it really means to 'stuff' a crankcase, why it can produce more power, and what the implications are for the rest of the engine.

Crankcase stuffing is decreasing the volume of the crankcase to improve what is called the 'primary compression ratio'- the compression ratio for the system comprising the bottom of the piston, crankcase, and transfer ports up to the edge of the piston.

Primary compression is defined as Vi/Vf which is:
volume final divided by volume iniitial.
final volume is the displacement volume of the piston plus the volume of the case. initial volume is just the volume of the case.
when doing this for a cylinder, the head volume is relatively small, so we can achieve 11:1 (11/1 = 50cc disp + 5 cc head volume/ 5 cc head vol.) or better. When we do this same thing in the case by either increasing the displacement, or decreasing the crankcase volume (say, by stuffing the crank) we can get better compression ratios...

so what? right? why does changing the compression ratio help us?
having a higher crankcase compression ratio lets us get more air in during the intake phase, and creates higher pressure pushing that air through the transfers.
This is obvious when we go back to high school chemistry and remember PV=T(nr): Pressure times volume equals temperature, if you decrease the volume of an area, the pressure or temperature MUST increase to compensate. In the very short time that the piston is going up and down, we can assume the temp cant change much.
This makes sense for the second part, the transfer pressure. The higher pressure from a smaller final volume will push the air through the transfer ports at a higher velocity, improving scavenging, and transferring more air in the very short time the ports are open. But this only makes sense if we are getting more air in the crankcase in the first place. The displacement of the piston isn't changing, so we cant change how much air gets into the crankcase right? Wrong.

The higher ratio means that when the piston goes up and creates a vaccum in the crankcase, the vaccum is stronger. Even though transfer pressures can be as high as 50 PSI, the intake pressure pushing air through the carb and past your reeds is only 1 bar, because it is being pushed in by the atmosphere. You want to get as close to a perfect vaccuum as possible to get air to transfer as quickly as possible. (This is why piston port engines can blast reeds at the top end, the piston port has much less resistance to flow, but i digress. ) Having a compression ratio of infinity, as in 0 crankcase volume, with no leaks, would create a 'perfect' vaccuum, This would provide 32 PSI across your intake tract from the air filter in. In reality this is impossible, the ratio drops very quickly with increase in volume in the case, and the potential transfer pressure drops from 32 even faster, by PV=T. The time your piston is going up is limited by your RPMs, and the amount of air that can transfer is limited by the pressure, restrictions in the intake, and time. Therefore, if you can make more pressure (by improving the vaccuum in the case) you can get more air in the case on each stroke, which means you get more air into your cylinder, and can burn more fuel.