Announcement

Collapse
No announcement yet.

Question for Randy (or anyone) about the XJ TCI!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Question for Randy (or anyone) about the XJ TCI!!

    Randy - I was thinking about the XJ tci again, wondering how I could make a replacment for it. Wondering how, if I were yamaha, I might do it.

    If yamaha did it the way I am thinking it might not be as hard to replace the TCI as I thought...



    Ok - no mechanical advance, all done with the black box. If you are yamaha, how do you implement the advance? You use timing, miliseconds, and fire the coil a predetermined amount of time before or after the pulse from the pickup coil.

    All this time I was thinking that the pickup coil is positioned so that when top dead center passes, the key on the crank is aligned with the pickup coil. I then thought that in order to advance the timing curve, the box would measure the rpm and then fire on the NEXT REVOLUTION in advance of the key passing pickup coil, hence getting your ignition advance.

    What if yamaha did it a different way, a simpler way?

    What if the key on the crank and the pickup coil align at the engine's maximum advance and not at TDC? Now all the TCI has to do is insert a delay, x number of miliseconds, based on rpm, and fire the spark. The closer the bike gets to maximum spark advance, the shorter the delay gets until it reaches 0, then full advance is reached! When the bike is at low RPM's, the delay is larger.

    Instant advance computer! it would be a relatively simple circuit compared to some crazy prediction scheme based on how quickly the engine is capable of revving, etc!

    The vaccum sensor must modify the delay, probably subtracting from the final delay derived from the RPM derived delay.

    Is this possible?

    An alternative would be that the the delay is calculated from the point that the crank key passes the opposite cylinder's pickup coil. Basically the same idea as above but a little reversed.

    Now if you could easily seperate the coil driver circuit from the VR sensor circuit inside an HEI you'd have a cheap, assembled, available building block. You'd just need to put the a timer connected to an rpm counter in between and figure out the best ratio.

    Does anyone have the actually curve of the XJ ignition advance, minus the vaccum?

    Dan
    Home of ENIAC

    Kinda like a MANIAC with 2 letters difference & a computer on board

  • #2
    Sounds like a plan, Dan.

    I did a similar setup as you with the LX-301 iggy module last year, using a stock set of coils. Did it more or less to prove to myself that it would work, cause since spare TCI's are still readily available, didn't pursue it further.

    Have no clue how Yammy did the advance (retard?), but the delay scheme would be far easier to engineer than advance.

    Interesting work you're doing!

    Comment


    • #3
      Check out RCUniverse and RCGroups and search for electronic ignition. This has been discussed in regard to upgrading weedwacker motors to CDI for model airplane use. I seem to recall that there is even some source code for a PIC advance controller there somewhere.

      Either way works, with advantages and disadvantages either way. Triggering on full advance requires some care that the spark is retarded on startup.

      Steve
      80 XS1100G Standard - YammerHammer
      73 Yamaha DT3 - DirtyHairy
      62 Norton Atlas - AgileFragile (Dunstalled) waiting reassembly
      Norton Electra - future restore
      CZ 400 MX'er
      68 Ducati Scrambler
      RC Planes and Helis

      Comment


      • #4
        I have no experience with a PIC or assembly language so I just bought a Stamp module.

        My next step will be to see if I can use the 7 pin hei module with a stamp to provide the advance/retard needed to run the bike pretty well. then I'll see about adding the vaccum and possibly moving the code over to a pic. I think there are programs that can compile stamp basic to run on a pic, aren't there?

        Dan
        Home of ENIAC

        Kinda like a MANIAC with 2 letters difference & a computer on board

        Comment


        • #5
          The XJ uses a 'Boost Sensor' to determine vacuum load on the engine, and sends a signal to the ignition module on how much advance (or retard) is required. This boost signal (vacuum) is taken off #2 carb body, where the XS has the vacuum line for the vacuum advance unit.

          Comment


          • #6
            Ya looked at SDCC yet? Its a opensource C compiler for embedded controllers for linux. You don't have to know the processor or assembly to use it. Works for PICS and other microcontrollers.

            Not sure, but the basic interpreter in the stamp might be a bit slow for this application, but might work.

            Steve
            80 XS1100G Standard - YammerHammer
            73 Yamaha DT3 - DirtyHairy
            62 Norton Atlas - AgileFragile (Dunstalled) waiting reassembly
            Norton Electra - future restore
            CZ 400 MX'er
            68 Ducati Scrambler
            RC Planes and Helis

            Comment


            • #7
              The stamp is going to be to slow. The stamp version I have takes 1/2 millisecond to execute an instruction.

              At full RPM I'll have maybe around 6 or 7 milliseconds to do what I need to. I got on the stamp website and they said it might be possible but I'd be "on the edge" and it probably would be to slow.

              You (LoserShoes) have experience with the 8051 right?

              If I'm going to invest my time and money into this thing I want to get experience on a platform that will be of further use to me down the road in other projects.

              The megasquirt uses the Motorola 68HC08 and development for that looks like a nightmare for someone just starting out. I'd like to right the code in basic, it makes it a lot easier for someone else to take my code and modify it, quicker for me to get the job done, etc.

              I also have to keep it cheap enough for folks here to afford it - otherwise they'd buy the $600 MSD system ;-)

              What do you say LoserShoes?

              Dan
              Home of ENIAC

              Kinda like a MANIAC with 2 letters difference & a computer on board

              Comment


              • #8
                ok I'm looking at the SDCC page. I'll have to do some research.

                I'm sure I'll find this one the website but, how does SDCC handle chip specific functions like ADC or PWM?

                Are there chip specific libraries?

                Dan
                Home of ENIAC

                Kinda like a MANIAC with 2 letters difference & a computer on board

                Comment


                • #9
                  There are various include files for alot of the different flavors of 8051's. Look in the "include" subdirectory and look at ".h" files for processors. Like "AT89C55".

                  Can't go far wrong with the 805X series, lots of info and examples out there.

                  "C" is pretty much the unversal language for embedded design. Go to the Keil complier site for lots of embedded "C" info and design examples.

                  Keil C is pretty much the standard, but $$$, SDCC is free. Some differences but Kiel is easy to port to SDCC.

                  If you don't know "C" and want to get serious with embedded design, now is the time to learn. Not really that hard, it's far superior to anything you can do in Basic. In fact most "Basics"'s are becoming very "C" like.

                  Steve
                  80 XS1100G Standard - YammerHammer
                  73 Yamaha DT3 - DirtyHairy
                  62 Norton Atlas - AgileFragile (Dunstalled) waiting reassembly
                  Norton Electra - future restore
                  CZ 400 MX'er
                  68 Ducati Scrambler
                  RC Planes and Helis

                  Comment


                  • #10
                    From your handle I assume you have a Linux system, so you can use GCC and I would suggest Emacs or Xemacs to learn to use "C". You can use the same setup with SDCC. Don't know the extent of you programming skills, so if you have questions don't hesitate to ask.

                    Right now at work I am developing a remote weather station that uses a 8052 at the remote location. I am useing some 900mhz rf modules for communication, and it will be powered by a solar panel.

                    We have a similar setup now, but it's all propriatry and getting unreliable. There's just no substitute for haveing all the schematics and source code when you have to fix something.

                    Steve
                    80 XS1100G Standard - YammerHammer
                    73 Yamaha DT3 - DirtyHairy
                    62 Norton Atlas - AgileFragile (Dunstalled) waiting reassembly
                    Norton Electra - future restore
                    CZ 400 MX'er
                    68 Ducati Scrambler
                    RC Planes and Helis

                    Comment


                    • #11
                      Losershoes, what do you guys use for 8051 boards? Do you make your own or buy premade boards?

                      I looked at a lot of microcontrollers (alot) and your advice makes a lot of sense to me. I'd like to loose my microcontroller virginity to the 8051!



                      Dan
                      Home of ENIAC

                      Kinda like a MANIAC with 2 letters difference & a computer on board

                      Comment


                      • #12
                        The 8051's are really so complete by themselves, all you really need is a crystal and a couple of caps, that I just wire wrap a board to prototype whatever it is I am designing.

                        Get some .1x.1 perf board and some wire wrap sockets, and wire. One of the hand wrapping tools is all I use, the power ones are more trouble then their worth.

                        A good source I use is Jameco Electronics.

                        Use a 12v wall wart and a 7805 for the power supply. National Semiconductor site is a good source for data sheets.

                        Probably want to get the Intel book on the 8051. Has a lot details on timers and serial ports you'll need eventually.

                        Takes a bit or work to get eveything setup and working, but it's worth it.

                        Good luck

                        Steve
                        80 XS1100G Standard - YammerHammer
                        73 Yamaha DT3 - DirtyHairy
                        62 Norton Atlas - AgileFragile (Dunstalled) waiting reassembly
                        Norton Electra - future restore
                        CZ 400 MX'er
                        68 Ducati Scrambler
                        RC Planes and Helis

                        Comment


                        • #13
                          8051 users manual can be downloaded from Intel Here
                          80 XS1100G Standard - YammerHammer
                          73 Yamaha DT3 - DirtyHairy
                          62 Norton Atlas - AgileFragile (Dunstalled) waiting reassembly
                          Norton Electra - future restore
                          CZ 400 MX'er
                          68 Ducati Scrambler
                          RC Planes and Helis

                          Comment

                          Working...
                          X