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 2 Guests are viewing this topic.

tzr-v4

I'll try OEM pins description after garden maintenance  ;)
Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...

Louis

Quoteafter garden maintenance  ;)

Hope you don't have a big garden ;D ;)
King off all twostrokes ''TZR250 3MA''

Paul

Quote from: Louis on August 16, 2014, 07:52:37 PM
Quoteafter garden maintenance  ;)

Hope you don't have a big garden ;D ;)

Whaaaahahaha
the twins:-
TZR250 3xv
TZ250 4DP2

tzr-v4

#273
Done the garden very quick and when to the garage  ;D

Balance : TDR250 has same pins as the 3MA in the IC

Louis can you check please if it is OK

NAME -> PIC Pin         <=> OEM IC | bike
// Power
VDD (5V) -> Pin 20      <=> Pin 42 | 3MA + 2YK
VSS  (0V) -> PIN 19     <=> Pin 21 | 3MA + 2YK
// Analogic To Digital
ADC_YPVS     ->   AN0  <=> Pin 36 | 3MA + 2YK
ADC_TPS      ->   AN1   <=> Pin 35 | 3MA
ADC_SPEED    ->   AN2 <=> Pin 33 | 3MA
// Logical Outputs
BLINK_LED    -> RB5    (blinking led to see that PIC is running)
YPVS_OPEN    -> RA3    <=> Pin 5 or 6 | 3MA + 2YK
YPVS_CLOSE   -> RA5    <=> Pin 5 or 6 | 3MA + 2YK
AIR_JET1     -> RC1       <=> Pin 27 or 26 | 3MA
AIR_JET2     -> RC2       <=> Pin 27 or 26 | 3MA
IGNITION     -> RC0       <=> Pin 22 | 3MA + 2YK
// Interrupt
PICKUP       -> RB0      <=> Pin 13 | 3MA + 2YK

Here my setup


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

Louis

#274
QuoteLouis can you check please if it is OK
Yes just did :) its the same

Oem IC (3MA and 2YK)

Voltage and Mass.
Pin 42-----5V (3MA and 2YK)
Pin 21-----0V (3MA and 2YK)

Analogic To Digital
Pin 36-----YPVS (3MA and 2YK)
Pin 35-----TPS High (3MA)
Pin 34-----SPEED Low (3MA)
Pin 33-----SPEED High (3MA)

Logical Outputs
Pin (5 - 6) ----- YPVS (open - close) (3MA and 2YK)
Pin (5 - 6) ----- YPVS (close - open) (3MA and 2YK)
Pin 27 ---------- AIRJET 1 (3MA)
Pin 26 ---------- AIRJET 2 (3MA)
Pin 13 ---------- IGNITION (3MA and 2YK)

Logical Input
Pin 22 ---------- PICKUP (3MA and 2YK)

We can use the signal's (pin 33 and 34) from the Speedlimiter for extra functions.
Those wires go from IC to clocks. (coming out in a three way connector witch has a nice mass signal to)
Just some info: http://www.tzr3ma.com/speed-limiter.html







King off all twostrokes ''TZR250 3MA''

tzr-v4

Some work done at the school electronic lab  ;)















All the components to compare OEM to programmable


Wires to be soldered on the adaptor to connect the ICP12
Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...

Louis

Looking promising 8)

Can't wait for the results :)
Do you have some nice ideas for the software? What can we make adjustable? And what options do we have programming it?
(By mobile phone)
King off all twostrokes ''TZR250 3MA''

xracer

 Without doubt you two guys are something else. Your knowledge and ingenuity never cease to amaze me . Just to confirm what I think is going on, is the end result going to be a fully programmable ignition / power valve controller that will replace the 3ma unit and possibly the 2ma as well. If so , Ill buy one !!!

tzr-v4

#278
Tested OEM CDI with my piggyback IC  :D

The bike runs and YPVS cleaning is operating.

I'll plug the oscilloscope to get the signal shapes

Can the sliding could come from the use of pickup falling edge signal not the rising edge?

Could be easy to change and test... Louis

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

Louis

QuoteThe bike runs and YPVS cleaning is operating.
The IC it self seems to be quit strong, my desoldering what probably less advanced as yours :-[
No less after all my heating the IC still worked :)

QuoteCan the sliding could come from the use of pickup falling edge signal not the rising edge?
I was wondering what signal you used?
The rising edge would be more steady than the falling edge (I think) do to the speeding up wile traveling over the flywheel lobe.
(the Lob on a 3MA3 flywheel is quit longer than the 3MA1)


Theoretical it should not be different, but you never know :-\

QuoteCould be easy to change and test... Louis
Ill make my test bench ready for some new software ;)
King off all twostrokes ''TZR250 3MA''

tzr-v4

I've been a little in the garage and the setup is building up
- PC
- USB Oscilloscope
- PC power supply to provide 12V
- OEM CDI

Here some results on the pickup signal.
Will do more tomorrow  :)







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

Louis

Looking good Olivier 8)

Think your equipment is better then mine, have a similar image measuring on pin 13


I don't had that peek at the beginning off the signal, think your's is more accurate :)


King off all twostrokes ''TZR250 3MA''

tzr-v4

I'll check if the lower part (0v) change in length (or time) with rpm.

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

tzr-v4

Quick tests after home maintenance  ;D

Legend
- Green is pickup signal on the IC
- White is the ignition order from the IC
- RPM around 3000 at the tachometer

Pickup frequency is about 87Hz so 2610 rpm.
Seems OK as we all know the tacho is cheating  ;)



Lower part (0v) of pickup signal varies with RPM so impacted by the lobe length  :)
We can see that ignition signal starts after the falling edge of pickup signal.

I'll change my code to detect the falling edge of the pickup signal not the raising edge.

More to come  :D
Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...

Louis

#284
Hello Olivier,

Great that you have spotted the problem :)
But I like to see it to, and dont see it. (sorry)

Here is mine point a few, perhaps I'm seeing it wrong


Red line:
Start of the pickup signal (digital incoming signal, not analog)

Blue line:
End of the Pickup signal (the back edge off the lobe passing the pickup)

Purple
The distance between, is the length off the lobe. (digital incomming signal, not anolog)

Yellow line:
Start of the ignition signal coming from the IC

Grey:
The calculated time for giving a usable signal to different components on the CDI board (to work correct)

Green:
Calculated delay time to give ignition signal

What do I see wrong?, like to join you with the correct thoughts :)
Or does it fires when the ignition signal is at 0V, then I see exactly what you mean (brown arrow)

King off all twostrokes ''TZR250 3MA''