Go Back   ChinaRiders Forums > Technical/Performance > Street
Register FAQ Community Calendar Today's Posts Search
Reply
 
Thread Tools Search this Thread Display Modes
Old 04-04-2019, 12:04 PM   #76
bogieboy   bogieboy is offline
 
bogieboy's Avatar
 
Join Date: May 2013
Location: finger lakes NY
Posts: 2,042
on the positive/negative signal, is it possible that the signal is going negative due to the inductive field collapsing, and causing a reverse voltage spike?


 
Reply With Quote
Old 04-04-2019, 12:48 PM   #77
glavey   glavey is offline
 
Join Date: Oct 2018
Posts: 74
Yes, VR sensors by design, use that collapsing field and reversing voltage to give a very precise, short, sharp polarity change exactly when the center of the little "magnet bump" crosses the center of the sensor. A microcontroller with signal conditioning circuitry can use that zero-crossing point as a very accurate timing trigger.


 
Reply With Quote
Old 04-06-2019, 02:24 PM   #78
glavey   glavey is offline
 
Join Date: Oct 2018
Posts: 74
Small update.


My ADHD-induced fyper focus (focus on something so much, so hard, and for so long you literally forget to eat) has already made me miss a meal, not realize that my hands are so cold I cannot type very well or fast. That is how much I am simultaneously drooling with excitement and pooing my britches with anxiety.


I got the bike out of the house; had to go through the patio door and the backyard. I got the tank filled with fuel. No observable or touchable leaks. Lots of fuel odor, so finding a leak with my nose will be impossible. Fuel pressure gets up to about 40 psi and stays there while the pump is running. When the pump shuts off, it instantly goes back down to about 25 and then over the course of about 5 minutes goes to 0. There is definitely some air trapped in the high-pressure side; that is going to be a recurring issue with the dead-head fuel line to the injector.


With my laptop recording, fire extinguisher nearby, but not within fuel-leaking range, fingers crossed I turned the engine over.


BANG!


An air/fuel charge was ignited within the engine, but with the intake port still open some amount (or opened shortly after). Sounded like what I imagine a gun shot sounds like. My guess is incorrect timing, a spark that was triggered by noise on the crank VR signal, the ECU unable to correctly calculate engine rpm, and fired the spark plug sometime when it wasn't supposed to, or the ignition coil going into "save the coil mode" where it will fire the spark plug if the ignition coil has been charging for >~8ms.


Through some change-something-and-see-what-happens troubleshooting, I got the noise on the crank VR signal reduced quite a bit. I tried cranking the engine again.


The engine turns over, but doesn't fire.


The spark plug is firing (and yes, I did remember to screw the plug back into the engine). I noticed that the MAP sensor is only showing about 67 kPa. Either the decompression valve in the 190 might be messing with the MAP reading, or the way the ECU is calculating the MAP signal is wrong (since this engine has effectively no intake plenum, the pressure/vacuum inside the intake manifold changes with every stroke of the engine, with next-to-no mechanical smoothing that a large volume of space would cause.


I'll have to mess with the ECU's MAP sensor readings tonight/tomorrow.


I have been cranking the engine over quite a bit as well as restarting the ECU. That means a lot of "priming pulses" of fuel were sent into the intake manifold. Maybe enough to flood the engine. The microsquirt has a flood clear mode which I have enabled; it will not inject any fuel into the engine when the throttle is held above 70% while cranking. I held the throttle wide open and cranked the engine.


BANG!


Apparently in flood clear mode, the spark plug still fires. That seems a little... odd.


At this point I realized my stomach hurt, my hands were shaking, and I couldn't think straight. There's the hunger and cold my body has been trying to get my mind to realize. I went inside and made a sandwich and sat down to write this post and do some research on if there is ANYWAY to get a CDI to work with the microsquirt.


 
Reply With Quote
Old 04-07-2019, 10:58 AM   #79
bogieboy   bogieboy is offline
 
bogieboy's Avatar
 
Join Date: May 2013
Location: finger lakes NY
Posts: 2,042
From the sounds of things, could your timing be 180° out? I forget what all you are using for timing, i know most megasquirt builds in the car world use a crank and cam signal to verify engine timing... are you using just the crank trigger or? Im not too familiar with the microsquirt and what all it wants to see... its been a few years too since i was investigating MS for my truck...LOL


 
Reply With Quote
Old 04-07-2019, 11:02 AM   #80
bogieboy   bogieboy is offline
 
bogieboy's Avatar
 
Join Date: May 2013
Location: finger lakes NY
Posts: 2,042
Also, i dont see why a cdi WOULDNT work with MS... how many people run aftermarket ignitions in thier cars with MS... most of them run accel or msd ignitions... however, i wonder if the built in timing curve of the cdi for our motors is throwing things out... i wonder if you need to just run a coil driver off the microsquirt, straight to the coil... or like previously mentioned run the ms for fuel only, and use the cdi somehow isolating the signal between the 2...


 
Reply With Quote
Old 04-08-2019, 03:19 PM   #81
glavey   glavey is offline
 
Join Date: Oct 2018
Posts: 74
A few things happened; good and bad. Problems; good and bad, were mostly sorted out.

1. I realized that the injector and/or the throttle body were poorly made (mostly the part where the injector in seated) and the spray from the injector (if it is even spraying and not dribbling) is hitting the walls of the TB and running past the throttle vane and right out to the air filter. After seeing that for the first time, I took the whole intake/TB assy. off and felt the bottom of the intake - bone dry. If there is fuel getting into the engine (there must be to get a BANG out of it), it is dribbling off of the walls into the intake port in no controlled manner. To remedy this, I will need to buy a new throttle body without a injector seat glued to it as well as have a hole in the intake manifold precision drilled and honed for the injector to sit in, so it can spray fuel directly on to the back of the intake valve. Both of those will take a considerable amount of time and some money as well.

2. I under-estimated the NEED to go out and ride in warm weather. This is my first motorcycle, I bought it last year around July. This was my first winter project and this will be my first spring where I have something to look forward to when the weather gets nice, instead of doing yard work and getting bitten by mosquitoes.

3. This is my first attempt at an EFI conversion and attempt at non-oem EFI in general. I should have started with something that had FI to begin with, then I would hopefully be able to focus on tuning (which is what attracted me to EFI in the first place - tuning, not circuit diagnostics and parts compatibility) instead of troubleshooting.

4. You all have seen how many things I have had to order for this project. I am very near the limit of what I want to spend on this project, this year

5. I am working on something that I love to use. When I get frustrated with something in the EFI system, I want to be able to go out and have a good ride to clear my head; I can't do that if the EFI system is ON by only bike. Having the bike be unrideable for large portions of time while waiting for parts to arrive is no good.

6. (a bit emotional) This thread, while I have thoroughly enjoyed sharing my findings, discoveries, and insights, has caused me some anxiety; I feel like I have to do something so I have something to post about and I have to post about what I have been doing. I know I don't really have to, no one has a gun to my head, but I started this thread and if I stop posting to it, I'll feel like I let people who browse this forum down. I realize this is all in my head and isn't correct, but I am mentally unable to let go of those feelings.

It is for these reasons that I am suspending, NOT CANCELLING the EFI portion of this project. To get the EFI system into good working order as described in #1 above, I need to either buy all of the things that will allow me to drill a precise hole in the intake manifold for the injector AND buy another TB (or remove the injector seat and patch the massive hole that is left in its place) without a injector seat AND wait around 1-2 weeks for everything to arrive AND then spend time installing everything. That is no fun when there are roads out there waiting to be torn up and sunshine waiting to make me feel nice and warm while giving me skin cancer.

Luckily, I made the EFI wiring harness in such a way that I can and have removed it from the bike along with most of the supporting parts in an evening (~4 hours) and installed the carb and CDI back on. Since it only took about 4 hours to take off, it should only take 8 hours to re-install, now that I know where everything needs to go and all the connectors are already there in the correct location.

I will still probably keep an eye on this thread (for things specific to this bike) and on the forum in general (for everything else) and answer questions and post my usual lengthy review/walk-through/write-up on things that I am doing or have done to my bike. I still have a few more somewhat inexpensive things I want to do like re-pack the exhaust with a quality packing material, not the wafer-thin sheet of fiberglass that they have in them from the factory, the $15 grom shock mod, and replace the rear-shock-shaped-object with an oem honda grom one.

bogieboy; I am using wasted spark on this engine. There is only a single tooth on the flywheel/magneto that triggers once per 360 degrees, so the ECU and CDI can only fire the spark plug once per 360 degrees (at the end of the compression stroke and the end of the exhaust stroke), not once per 720 degrees, as would be needed for non-wasted spark. Also, I have had the engine spinning using the starter motor and have synced the timing that the ECU says it should be and what it is on the engine. 10 degrees BTDC on the engine matches the ECU's 10 degree base timing.

Those aftermarket CDI boxes for automotive engines probably have a tachometer output wire that can give a signal to the ECU and they probably don't mess with potentially shared signals like crank speed by grounding one of the leads. The 190's CDI could be used with the microsquirt if I could build a small circuit that could duplicate the crank VR sensor's signal into two separate, isolated outputs. But, I don't have the skills to do that; I already have difficulty with arduinos, making something that is used to assist in the control of an engine is way beyond me.

Also, those ignition boxes will probably accept a 5v square wave input from an ECU or sensor; our motorcycle CDIs need a signal that goes high, crosses 0 volts, and goes negative (again something that I could build, but my lack of skills are stopping me). The microsquirt only has logic-level outputs for sparks; you cannot directly drive a coil from it without hardware modifications.

Sorry to stop progress on this so abruptly, but I must ride, be it with injectors or carbs.

If anyone has any questions that they wanted answered with regards to anything I did or said I was going to do with my bike, please go ahead and ask.

EDIT: Just had the bike started up for the first time. Loud even with the silencer in. Vibrates like a harley at idle. Big-ass smile on my face. I'm gonna miss the counterbalancing the 125 had. I'm letting it cool down so I can do an oil change and then take the new engine for its first inaugural ride. I'm keeping the wideband controller installed on the bike; once I get/make a gauge that will display the AFR, I'll add the sensor back into the exhaust to aid my tuning. I'll try (no promises) to take a short video showing how the bike sounds.


 
Reply With Quote
Old 04-08-2019, 03:31 PM   #82
bogieboy   bogieboy is offline
 
bogieboy's Avatar
 
Join Date: May 2013
Location: finger lakes NY
Posts: 2,042
hope all goes well with the bike Glavey, totally understand wanting to ride it.... on the coil driver side of things, i wonder... if you went to a junkyard and found an automotive coil, say an LS1 coil-near-plug setup, that would get its own 12v supply, and would only need a 5v trigger from the microsquirt, and just use the MS for everything, bypassing the CDI all together....

just bouncing ideas right now...LOL


 
Reply With Quote
Old 04-08-2019, 08:02 PM   #83
glavey   glavey is offline
 
Join Date: Oct 2018
Posts: 74
Actually, that is very nearly the exact ignition system I used with the ECU; a GM "truck" coil with a built-in ignitor that used logic level signals for dwell and spark. The reason I even considered the CDI instead of having the microsquirt deal with the ignition was because the CDI has a known-good and safe spark advance curve for the 190 engine. I wanted to leave the spark timing to the CDI and just run the ECU in fuel only mode because I didn't trust my ignition timing guesswork.


 
Reply With Quote
Old 04-09-2019, 08:27 AM   #84
bogieboy   bogieboy is offline
 
bogieboy's Avatar
 
Join Date: May 2013
Location: finger lakes NY
Posts: 2,042
hmm.... start conservative and creep up on it, when you hear any detonation, back it off a few degrees....LOL its not too terribly hard... not trying to be an ass or anything, its just really simple (at least to me, but i have been researching timing maps for car stuff since my first truck, back in 05)


 
Reply With Quote
Old 04-09-2019, 10:34 AM   #85
glavey   glavey is offline
 
Join Date: Oct 2018
Posts: 74
It does make sense that it would be simple like that, but still I don't trust myself. I had contacted support @ tboltusa about the max advance in the 190 CDIs. They came back and said it was around 30 degrees at maximum, so I put a 27 degree max advance in the ignition table in the microsquirt and tapered it down from 27 at about 6krpm to 10 at 1krpm. That is what I was using when I got the BANGS from the attempted engine start.

I'm not out for maximum power on this engine; I don't want to tune the ignition table for max. timing before torque drop off, I just want a good amount of power without worrying about knocking, pinging, pre-ignition, or detonation.

Also, I was and still will be struggling with low-rpm erroneous spark firings. Anything below about 500rpm and I get lots of extra sparks not apparently correlating to any specific position on the engine. I'm guessing that is due in part to the crappy signal VR sensors can give when measuring low speeds, not to mention there was only one "point" of information per revolution on crank positioning.

I have been thinking about getting a toothed wheel cut to size and epoxying it to the flywheel/magneto where it won't be interfering with anything that is already there and using a hall effect sensor to detect crank speed. That would give up to 36 (35 really, the wheel has to have a missing tooth) points of timing information per 360 degrees of crank rotation. Even if that still resulted in fewer, bit still some erroneous sparks, I could then run the microsquirt in fuel only mode if I choose, as I would have a separate crank speed input for the ECU, independent from the one used by the CDI.

Don't worry you aren't sounding mean at all, just throwing ideas around.


 
Reply With Quote
Old 04-09-2019, 10:47 AM   #86
bogieboy   bogieboy is offline
 
bogieboy's Avatar
 
Join Date: May 2013
Location: finger lakes NY
Posts: 2,042
i think the 36-1 tooth wheel would be a great idea, when you have free time, since thats what the majority of MS users run. even a lot of OEMs use a similar setup, with a 32-1 or a 36-1 wheel on the crank... if you could somehow couple a cam sensor in the mix as well, that would be even better, but a royal pain in the butt to get working....a dual signal=full sync, and can be traced to a VERY small percentage of the rotation of the engine, I.E. more accurate timing.....LOL


 
Reply With Quote
Old 04-09-2019, 06:57 PM   #87
RedCrowRides   RedCrowRides is offline
 
Join Date: Jun 2018
Location: Florida
Posts: 759
None of my business but i'd put a carb back on it and ride hell out of it this spring n summer and revisit this EFI deal when it turns too cool to ride again. You are NOT having fun at this point, versus riding it, which WOULD be fun. Stop looking at it and RIDE IT.
__________________
2001 Mustang GT
2004 Sportster
2018 VADER
2020 Orion RXB250L


 
Reply With Quote
Old 04-09-2019, 11:15 PM   #88
glavey   glavey is offline
 
Join Date: Oct 2018
Posts: 74
That's what I've done; yesterday I hooked up the carb and the CDI and went out for an inaugural ride. Other than the clutch friction zone being right at the beginning of the lever travel, causing more then a few embarrassing stalls at intersections, everything went swimmingly. I even met someone on a modded ruckus. I really want to quiet down the exhaust with a combination of new packing material, baffles, and modifying the exhaust silencer.



I really needed that ride and after coming back from it I didn't regret my decision to pause the EFI and put the carb on one bit.


 
Reply With Quote
Old 04-15-2019, 06:14 PM   #89
glavey   glavey is offline
 
Join Date: Oct 2018
Posts: 74
I think I've discovered the reason guys who name bikes, cars, trucks, etc use female names... I was going to name by bike something really unusual, like... Bob. Then I realized if I was ever asked what I was doing all weekend long, I'll have to answer, "Oh man, I was riding Bob all weekend. He's a real screamer. I couldn't walk right for a while after getting off of him."

On a less sarcastic note, I took Bob out for a brisk ride today. About 50F, but with clear skies and sunlight to warm you up. I adjusted the clutch so I can actually start from a stop and not stall 5 times. I had read that the gearbox in this engine is quite smooth, but damn it really is. This bike is an excellent candidate for a quick shifter. I'm not sure if this is the correct terminology, but the gears are close ratio, meaning... for example lets say you are at 5000rpm in third gear, you shift into fourth and the revs only go down to... maybe 3700-4000rpm. Not a lot of drive line shock will happen going between those revs.

I have been looking for a wideband gauge that has the numerical AFR readout as well as a row/bar/graph/ring of LEDs that at a quick glance can give you a rough idea of what your mixture is. I could only find gauges with integrated sensor controllers for >$125. Nope, I already bought a controller and I'm not buying another just for a gauge. So I set out to make my own.

2 or 3 years ago, I made a dashboard for my scooter (pictured). Everything on it worked as it should (needles moved, numbers were displayed), but I had a problem with getting a reliable, clean signal for the engine rpm and the speedometer. I stopped working on it because I had one of those moments where you work hard on something, and in the end it was all for naught, combined with me not really riding it enough to warrant caring about it.

I dissected dashboard and preformed an display-ectome. I took out the 16x2 character display (blue rectangular display) and the two 7-segment, 4 digit displays. Organ harvesting done, I started trying to imagine what the gauge could look like with what I had to work with. The 7 segment display fit in the center of a gauge face I had (in a previous life, the gauge was for oil temperature on my scooter) with enough room around it to line the gauge face with LEDs.

I like the wideband gauges that have, from left to right, yellow LEDs for rich, green for stoichiometric, and red for lean. I wanted to copy that in my gauge, so I gathered some LEDs out of my electronics project box and glued them in a ring to the inside of the gauge face along with one of the 7 segment displays (pictured). I wanted to have two 7 segment displays and the LEDs, but the chip I am using to drive them can only do 2x 7 segment 4 digit displays (maximum of 8 digits) OR one 7 segment 4 digit display and the LED ring that I just glued in. I went with a 7 segment 4 digit display with the LEDs. I did have another driver chip in the scooter dashboard, but when I tried to de-solder it, I killed it.

After much soldering, gluing, and back-ache from being hunched over a desk, I got all of the LEDs and the display connected to an arduino nano and used a example program to test out all of the individual sections of the display and LEDs.



Success! Now, on to actually programming the arduino to make the display and the LEDs show meaningful data. After about 2 days, on and off (I'm not very good or fast at programming) I had working code that interpreted a 0-5 volt signal into 10.00 to 20.00 AFR on the display, and individual LEDs would light to indicate AFR within a given range (attached to this post, if you have the arduino IDE, you can just double click the afr.ino file to open it in the arduino IDE. If you don't have the arduino IDE installed, you can open the afr.txt file. Both filesa re exactly the same, just with different file extensions). Now that I had working gauge electronics, I had to cram and stuff them into the gauge housing. In the end I got everything in; the gauge face and everything glued to it, the arduino, all of the wiring, and a 5 volt step-down voltage converter. I plugged in the arduino using a USB cable and nothing happened and then I saw a small whiff of magic electronic smoke escape from the voltage converter. It appears that the converter was not able to have 5v applied to the output when there wasn't any voltage on the input side. I tried using a diode on the 5v output, but it was too late, the patient had died. Now I can either make a voltage regulator (it would get real hot inside a gauge case) or buy some different, better made voltage converters(like the one I used in the bluetooth case).

Thats about it for this post.
Attached Images
File Type: jpg IMG_20190409_095905431.jpg (70.0 KB, 419 views)
File Type: jpg IMG_20190409_105004408.jpg (94.9 KB, 417 views)
File Type: jpg IMG_20190411_161301973.jpg (78.9 KB, 425 views)
File Type: jpg gauge build.jpg (59.9 KB, 414 views)
Attached Files
File Type: zip afr.zip (1.7 KB, 60 views)



Last edited by glavey; 04-15-2019 at 07:23 PM.
 
Reply With Quote
Old 04-16-2019, 11:48 AM   #90
loganlexow   loganlexow is offline
 
loganlexow's Avatar
 
Join Date: May 2018
Location: Mountlake Terrace
Posts: 23
Dude, this is effing sweeeeeeeet! You have gathered so much info and shared it, and all the rad trial and error is just inspiring! I get discouraged too when trying to make something but fail. Please know you aren't alone there or with anxiety. Keep updating when you can please!


 
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.