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.

tzr-v4

Louis I think you are wright  ;)

My firmware is working on falling edge so the problem did not come from there.  :(

I think the problem comes from the grey zone.
In my code I've used a delay of 1ms at 0v but a delay instruction freezes the processor.

I'll try to have a timer counting the 1ms on its own and at the end put the ignition signal back to 5v.

Here my setup  :D
I'll try to start the bike at low rpm but I'll need timing light to adjust.



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

Louis

#286
QuoteI'll try to start the bike at low rpm but I'll need timing light to adjust.
Your firmware was close to 18 degrees if I remember it right, your bike will start on it ;)

QuoteMy firmware is working on falling edge so the problem did not come from there.
Falling edge has still the traveling time from the lob in it (distance off the lobe) while the starting edge is always the same
Would the time to calculate it not be to short if the ICP12 has to calculate it at the falling edge?
It has more time when he starts at the rising edge (just a thought)

Can it be adjust/rewrite easy so it triggers at the starting of the lobe (rising edge?)
If its easy, I can test it here if it helps, have the ignition tester/setup ready.

another idea that perhaps could bring you useful information.

I have a another ICP12 here witch i can use as a two channel oscilloscope.
Step one:
Measure the incoming and outgoing signal on the oem IC at 2000rpm 3000rpm 4000rpm

Step two:
Measure the incoming and outgoing signal on the ICP12 at 2000rpm 3000rpm 4000rpm

Compare the measured values and see where it is different
Would that be helpful to you, as I need to make that setup (takes some time)

QuoteI'll try to have a timer counting the 1ms on its own and at the end put the ignition signal back to 5v.
You let it sound that easy :)
King off all twostrokes ''TZR250 3MA''

Louis

Quoteanother idea that perhaps could bring you useful information.
I didn't thought about that one so well. :-[

We are focusing us on the 19 degrees flat curve, the Oem Ic does not have that.
So we Can only measure it on the rpm range from +/-750 rpm till 1500rpm (ware we have a flat 19 degree)

Lets say when your bike runs idle.

Don't know if that oscilloscope have a recording function, if it does that could be handy.

You can record a idle part with oem IC and one with the ICP12.
Find a part on the recorded where both IC's has the same rpm, then you would have a good comparising material

Just a thought

King off all twostrokes ''TZR250 3MA''

tzr-v4

#288
Yes Louis, my PC oscilloscope have image capture and video recording so I can catch things and compare them later.

I'll try recording at 2000, 2500, 3000 rpm on tacho.

Working on loom to get a good setup form testing.
Next step is making a main-board for ICP12  ;)




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

Louis

Looking good

Think you will be the first one that is riding a bike with the iCP12 :)
Seeing you have the ignition and pv's connected


King off all twostrokes ''TZR250 3MA''

tzr-v4

#290
I'll try to make a card for the main board when I'll be back at work.
I'll draw it with board maker and print it on our little CNC machine.
But I'll make it for the 3MA with all the signals not only for the 2YK or 2XT.

;)







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

tzr-v4

#291
TESTS

>:(
Battery power was very BIG consumption due to YPVS motor
To be checked : motor off is maybe 0v on both pin ?

;D
After a small hack on the new loom, the bike starts like with the OEM CDI
Test 1 = with 12V power supply from ATX PC Power supply  :)
Test 2 = without battery only a battery eliminator  :D

Download the video and play it  ;D

ICP12 powered => Green led blink
Video_ICP12_01.mp4

Bike stars => red led blinks when ignition is trigged  ;D ;D
Video_ICP12_02.mp4
Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...

Louis

QuoteTo be checked : motor off is maybe 0v on both pin
I believe it is indeed 0V on both pins after the cleaning cycle
Will need to check that to

Could be me, but I think you posted two the same movies
I only see the led blinking, the rengadeng I can't see/hear :)

You are flying now ;D
King off all twostrokes ''TZR250 3MA''

tzr-v4

#293
Edited my previous message.

Will check too the OEM IC on the YPVS pin 5 and 6

I found the pin 7 and 8 are also involved in YPVS driving  :o

Pin 5 and 8 work together


Pin 6 and 7 work together


Pin 5 and 6 work in opposition

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

tzr-v4

This is confirmed :
- pin 5 and 8 work together
- pin 6 and 7 work together

Soldered on the IC emulator the pins together.

I powered the CDI and the ICP12 and :
- no more heat building the the STA434A IC (double H-Bridge)
- ICP12 fully powered
- neutral light very bright
- oil light bright too.

Tomorrow I hope to test YPVS operating  ;)
Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...

Louis

That is a great found Olivier :)

I'm a bid limited with my equiptmend to measure. (don't have a two channel oscilloscope)
Have start looking on eBay to find one in order to measure more in the future.
Seen two interesting ones, but they all needs to be paid :-[ 
Will see how that goes.

Quoteno more heat building the the STA434A IC (double H-Bridge)
Eh, the What? ;D
King off all twostrokes ''TZR250 3MA''

tzr-v4

H-bridge is use when you want to pilot a dc electric motor.

The motor contains coils so lot of inductive and when you want the reverse the rotation youdge are facing problems with inductive current...

The H bridge manage the connections to the motor
   1 and 4 => rotation forward
   2 and 3 => rotation backward

http://en.wikipedia.org/wiki/H_bridge
in red
Olivier.
TZR250 2MA & 2XT, RD500s et TZR-V4 building...

tzr-v4

#297
Quote from: Louis on August 25, 2014, 11:05:18 PM
Have start looking on eBay to find one in order to measure more in the future.
Seen two interesting ones, but they all needs to be paid

I'm using and USB one taken from the school of engineering  ;)
Not as good as the old fashion ones but free for me  ;D

Easy to grab print screen and record videos.

check this  at 115 USD
http://www.dx.com/fr/p/h301-portable-48mhz-usb-digital-oscilloscope-82005

I'll look at too

Think to look at is at least en English based software  :D

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

Louis

Thanks Olivier,

The H-bride starts to ring a bell. ;D
A year back at a training at the GM-academy (I'm working for Opel)
They used a newer version (Peek frequent controlled) to stop the motor (from the car whipers) faster. (like a brake)
Will have to read that again to know how it exactly went.

I'll will have a look at your link.

Have seen something link this
http://www.ebay.co.uk/itm/Hantek-6022BE-PC-Based-USB-Digital-Storage-Oscilloscope-20MHz-Bandwidth-48MSa-s-/331245851756?pt=UK_BOI_Electrical_Test_Measurement_Equipment_ET&hash=item4d1fca946c

What a hobby we have ::) ;D
King off all twostrokes ''TZR250 3MA''

tzr-v4

The one from ebay has a  sampling frequency of 20MHz and the one from my link 48MHz.

The higher it is the higher frequency signals you can look at.

On bikes frequency are quite low on the signals we look at.

15000rpm with 2 lobes (3MA or 2XT) is only 500 Hz  :D

15000rpm is not good for cranks  ::)

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