News:

📋 Model Histories / Paint Codes etc:
https://pure2strokespirit.net/
📒 All Manual and Resource Downloads:
Google Drive

💡 Paypal to admin[at]pure2strokespirit.net for donations that go toward the hosting costs :) Add your forum username in the message to get a forum supporter tag (-P)

Main Menu
avatar_Louis

The IC inside the CDI

Started by Louis, October 21, 2013, 12:16:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Louis

Olivierrrrrrrr that is fantastic.

Really like the testing possibility for the ypvs motor. (easy in control)
Also noticed possibilities for more options ;) (TPS, Speed)

I'm a bid used to the ignitech layout.
How do I set a pv/ignition curve on your software?
(Normally) I choose rpm scale agents opening percent's scale
For the Ignition curve
rpm scale agents advance scale

The control for the airjets, would that also be in a curve setting possibility?

Ones we have this all working, think it will be copied allot as its universal
All Yamaha 2ma's, 2xt's,, tdr's 3ma's could work with it 8)

Great progress
King off all twostrokes ''TZR250 3MA''

tzr-v4

Back home.
Parcel received from PICCIRCUIT... testing all the parts

Maybe you could look at this (made nearby you in NL)
http://www.edutechsoft.nl/TestiCP12.html

Mainboard to test ICP12



Will post back my testing in the new hardware.

My 2 ICP12 boards will be:
- one kept stock to test the software downloaded from seller
- one modified to make the CDI CPU 
Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...

Louis

Hello Olivier,

Ok have downloaded the program to :)
It is connected, but that is it.


Don't have any software to put on it. ;D

Will wait until you got some.

Cheers
King off all twostrokes ''TZR250 3MA''

tzr-v4

I'll do some testing and post some tutorials  ;D
Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...

tzr-v4

#169
Back on business again after some computer upgrades (not yet finished).
Manage to work while I was helping students on their projects.

I've done a PC software to help testing the CDI firmware.
PC communicates with an arduino board to emulate the pickup signal from 500rpm to 13000rpm
The signal from Aduino board is send to the CDI board using a little cable.

Now I can focus on capturing the signal with the PIC.

Next step (tomorrow while waiting for questions from students  ;D )
- Capturing the time between two consecutive rising edges of the pickup signal
- Write the data to the PC using the serial link
- Computing the RPM from signal period
- Compare the RPM received from PIC to the one send to Arduino

Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...

tzr-v4

A little update of my progress :
- Capturing the time between two consecutive rising edges of the pickup signal DONE
- Write the data to the PC using the serial link DONE
- Computing the RPM from signal period DONE
- Compare the RPM received from PIC to the one send to Arduino DONE

Manage to find a nice gauge control for the application  ;)

Next steps:
- Compute YPVS position from RPM value
- Compute Ignition retard from RPM value
- ...
Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...

Louis

That is looking great Olivier.

Have a feeling we are getting close.

I had orders from my superior to move my lab outside the living room ::). (ehe she didn't mentioned Lab was more like cr....) :-\
Anyhow, have made some room in my workshop so it could stand permanently. Will fill it more with some tools and small stuff etc.
But finally have my own little Electronics corner :)


Will connect everything this Saturday so will have my lab back 8)

Waiting on your orders now Olivier

Cheers
King off all twostrokes ''TZR250 3MA''

tzr-v4

#172
OK so little progress today...

Manage to setup the PIC program to drive the ignition signal.
Ignition signal is HIGH in normal state and set to LOW for 1mS.

On pictures below, yellow signal is the captured pickup signal and the blue the ignition one.
Ignition is fired after a constant delay from the rising edge (and the falling edge).

First picture could be a 3XV CDI each rising edge of the pickup fires the ignition (same frequency)
The two others are 3MA or 2MA CDI with waisted spark (two lobes) so the rising and the falling edges of the yellow signal fire the ignition. Blue signal frequency is the double of yellow signal.

Next step next week as I going snowboarding for a 4 days weekend with family  ;D
Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...

Louis

#173
So after connecting everything up, one problem needs to be solved first.

The charging system was asking to much from my electro motor. It was holding the revs back.
Have tried different setups (big battery, battery external charged, compensator, etc) it did not work.
It kept charging, witch holds the rpm down.

Drastic  action was needed, Removed all wires from the coils/spools


So finally only the HV coils had there wires :)


It certainly worked, but it might be not good enough :(

As I found out that the tacho meter used is one coming from a tzr125 4dl
Have turned it at the back to get a logical rpm reading, but its not accurate.
Don't know how 10000rpm sounds on a electromotor with this setup.
Will try to get a cheap digital rpm meter, with should give a better reading

Here you have the new setup, now with working coil and plug to measure timing with the use off a scope

Solved one thing today ;D

(sadly) The 3MA-00 CDI has only four stored ignition curves.
Had hoped there could be room for one more, but no it does not have it.

Here you have a movie with steady rpm, and me moving the TPS sensor.
You can see clearly, it has four curves.
http://www.youtube.com/watch?v=qH7LPcapuQU&feature=c4-overview&list=UUJ-OK_OH_WZ_QFL6eqcVPMA

Next steps:

- find a usable rpm reader.
- set base advange on 19 degrees
- measure the ignition curves

King off all twostrokes ''TZR250 3MA''

jools

Hi Louis & Olivier

impressive progress you guys.

Does that motor stay where it is at 10,000RPM ?
Perhaps you could bolt it down vertically using the mounting brackets?
Plus ce la change, plus ce la memchose

ybk

Awesome work guys! I did some signal processing back in my uni days so this i find interesting...wish we decoded CDI's back then for assignments! ;D

tzr-v4

#176
thanks guys  :D

Louis, I've got the tacho electonics drawing at home or maybe on the web somewhere with how to adapt 3XV (non waisted spark) to 3MA.

Your readings should be twice the real ones.

R3 is 12KOhms for the 3MA and 10kOhms for the 3XV







Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...

Louis

#177
Thanks guys appreciate it. :)

Olivier.
Have noticed the rear adjustable resistance, have already turn ad it. (tuning the tacho ;D)
But I had no reference to set it correct, only on sound that is not good enough :(

Today had a idea witch might work, was walking around with it for the whole day.
So tonight after evening meal, I ran to my work shop.

It was like this:
I let the ignition machine run at a certain rpm, only to power the cdi (high voltage coils)
Disconnected the pickup, and let my function generator put a 100Hz on pin 22 (incoming pickup signal)
Well that worked, now I could adjust the tacho to 6000rpm
(100Hz should be around 6000rpm)
Hopefully did it right, Olivier let me know if not :o

Here you have my calibration result movie.
http://www.youtube.com/watch?v=usoARPAJPiM

I also discovered that my rpm controller (phase movement) for the testing machine is holding power back when turned at 100 procent.
(perhaps it has to do with the design off the controller)
With the controller, Max rpm the electromotor could make was around 8000rpm (on the now calibrated tacho)
When plugged directly on the net power (220v) it rotated to 9500rpm
(need to ''tuning the electro motor'' for about 1500rpm more ;D ;D)

Next thing to do is making a calibration point to set the 19 degrees bace advange and make a degrees setting on the flywheel.
Then I should be able to get some data from the ignition curves stored in the IC.
Will give it a try this weekend.

What a hobby whe have
King off all twostrokes ''TZR250 3MA''

Louis

As always after good news comes bad news :-[

I have miss understood Oliviers feedback. Instead of the adjustable resistance he mend R3 (12KOhms)

Thought about it today, the calibration idea was not that bad, but was forgotten the two lobs on the flywheel.
(Measured values divided by two)

Have found a working 3MA tacho, and the results where disappointing for me.
A picture says more then a 1000 words



Here you have the ignition tester at full rpm. Sadly only 45000rpm (it sounds like a lot more)
http://www.youtube.com/watch?v=Wtw_WLJm-IA&feature=c4-overview&list=UUJ-OK_OH_WZ_QFL6eqcVPMA

So this machine will be good for powering the 3MA-00 cdi's for testing and/or development
But it will not have the power to read out the ignition curves

More to come
King off all twostrokes ''TZR250 3MA''

tzr-v4

#179
Quote from: Louis on February 25, 2014, 10:37:27 PM
It was like this:
I let the ignition machine run at a certain rpm, only to power the cdi (high voltage coils)
Disconnected the pickup, and let my function generator put a 100Hz on pin 22 (incoming pickup signal)
Well that worked, now I could adjust the tacho to 6000rpm
(100Hz should be around 6000rpm)
Hopefully did it right, Olivier let me know if not :o

Remember that 3MA like 2MA are 2 lobes flywheel... (waisted sparks)
One spark every 180°.

6000rpm <=> 100Hz frequency BUT 200Hz for the pickup signal and the ignition signal.

To convert a 3XC or 4DL tacho to 3MA or 2MA you need to change the R3 resistor and then adjust the variable resistor to calibrate the tacho.
3000rpm -> signal frequency 100Hz
6000rpm -> signal frequency 200Hz
12000rpm -> signal frequency 400Hz

I could make an Arduino based signal generator with a PC program.
Picture to follow  :D


The tachometer has to be calibrated at double frequency.

In the picture
-> in RED Arduino GUI for signal generator
-> in GREEN PIC GUI from the CDI processor
Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...